* lisp/progmodes/python.el (python-indent-guess-indent-offset):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-26 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/python.el (python-indent-guess-indent-offset):
4 Avoid corner-case error. (Bug#15975)
5
6 Preload leim-list.el. (Bug#4789)
7 * loadup.el: Load leim-list.el when found.
8 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
9
10 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
11
12 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
13
14 * emacs-lisp/helpers.el (string-join): New function.
15
16 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com>
17
18 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19 Mark as obsolete and replace it with a symbol property.
20 (byte-compile-form): Use new 'interactive-only property.
21 * comint.el, files.el, replace.el, simple.el:
22 Apply new 'interactive-only properly.
23
24 2013-11-25 Martin Rudalics <rudalics@gmx.at>
25
26 * window.el (display-buffer-at-bottom): Make sure that
27 split-window-sensibly creates the new window on bottom
28 (Bug#15961).
29
30 2013-11-23 David Kastrup <dak@gnu.org>
31
32 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
33 on the conflict markers when available.
34 (smerge--get-marker): New function.
35 (smerge-end-re, smerge-base-re): Add subgroup.
36
37 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * frame.el (handle-focus-in, handle-focus-out): Add missing
40 interactive spec.
41
42 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
45 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
46
47 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
50 (gomoku--last-pos): New var.
51 (gomoku--intangible-chars): New const.
52 (gomoku--intangible): New function.
53 (gomoku-mode): Use it. Derive from special-mode.
54 (gomoku-move-up): Adjust line count.
55 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
56 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
57 Simplify accordingly.
58
59 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
60 Remove blink-cursor code.
61 (blink-cursor-timer-function, blink-cursor-suspend):
62 Don't special-case GUIs.
63 (blink-cursor-mode): Use focus-in/out-hook.
64
65 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
66
67 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
68 work when annotation is invisible (Bug#13886).
69
70 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
71
72 * json.el (json-alist-p): Only return non-nil if the alist has
73 simple keys (Bug#13518).
74
75 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
76
77 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
78 when control-statement is the first statement in a buffer (Bug#15956).
79
80 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
81
82 * imenu.el (imenu-generic-skip-comments-and-strings):
83 New option (Bug#15560).
84 (imenu--generic-function): Use it.
85
86 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
87
88 * minibuffer.el (completion--in-region-1): Scroll the correct
89 window. (Bug#13898)
90
91 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
92
93 * emacs-lisp/helpers.el: Add some string helpers.
94 (string-trim-left): Removes leading whitespace.
95 (string-trim-right): Removes trailing whitespace.
96 (string-trim): Removes leading and trailing whitespace.
97
98 * subr.el (string-suffix-p): New function.
99
100 2013-11-23 Glenn Morris <rgm@gnu.org>
101
102 * progmodes/python.el (python-shell-send-file):
103 Add option to delete file when done. (Bug#15647)
104 (python-shell-send-string, python-shell-send-region): Use it.
105
106 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
107
108 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
109 to set buffer-read-only to t, never to nil. (Bug#15938)
110
111 * textmodes/tex-mode.el (latex-noindent-environments):
112 Add safe-local-variable property. (Bug#15936)
113
114 2013-11-23 Glenn Morris <rgm@gnu.org>
115
116 * textmodes/enriched.el (enriched-mode): Doc fix.
117 * emacs-lisp/authors.el (authors-renamed-files-alist):
118 Add enriched.doc -> enriched.txt.
119
120 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
121
122 2013-11-22 Leo Liu <sdl.web@gmail.com>
123
124 * progmodes/octave.el (inferior-octave-startup): Spit out error
125 message.
126
127 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
128
129 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
130 Improve docstring.
131 Add :version.
132 (ruby-encoding-magic-comment-style): Add :version.
133
134 2013-11-22 Leo Liu <sdl.web@gmail.com>
135
136 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
137 (Bug#15076)
138 (octave-help-mode): Adapt to change to help-mode-finish to use
139 derived-mode-p on 2013-09-17.
140 (inferior-octave-prompt): Also match octave-gui.
141 (octave-kill-process): Don't ask twice. (Bug#10564)
142
143 2013-11-22 Leo Liu <sdl.web@gmail.com>
144
145 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
146 (inferior-octave-startup, inferior-octave-check-process)
147 (inferior-octave-track-window-width-change)
148 (octave-completion-at-point, octave-eldoc-function): Use it.
149 (octave-kill-process): Provide confirmation. (Bug#10564)
150
151 2013-11-21 Leo Liu <sdl.web@gmail.com>
152
153 * progmodes/octave.el (octave-mode, inferior-octave-mode):
154 Fix obsolete variable comment-use-global-state.
155
156 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
157
158 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
159 Add `octave-source-file'.
160 (octave-source-file): New function. (Bug#15935)
161
162 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
163
164 * net/eww.el (eww-local-regex): New variable.
165 (eww): Use it to detect localhost and similar.
166
167 2013-11-21 Leo Liu <sdl.web@gmail.com>
168
169 Add completion for command `ag'.
170 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
171 (pcomplete/ag): New function.
172 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
173
174 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
177 (bug#14646).
178 (make-obsolete): Remove interactive spec.
179
180 2013-11-21 Glenn Morris <rgm@gnu.org>
181
182 * startup.el (command-line-1): Use path-separator with -L.
183
184 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
185
186 * emacs-lisp/package.el (describe-package-1): Add package archive
187 to shown fields.
188
189 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
190
191 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
192 Change default to "# encoding: %s" to differentiate it from the
193 default Ruby encoding comment template.
194
195 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
196
197 * ses.el (ses-mode): Doc fix. (Bug#14748)
198
199 2013-11-20 Leo Liu <sdl.web@gmail.com>
200
201 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
202
203 2013-11-19 Dan Nicolaescu <dann@gnu.org>
204
205 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
206 when rebase or bisect are in progress.
207
208 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
209
210 * filenotify.el (file-notify-add-watch): Doc fix.
211
212 2013-11-19 Leo Liu <sdl.web@gmail.com>
213
214 * obsolete/rcompile.el: Mark obsolete.
215
216 * progmodes/compile.el (compilation-start)
217 (compilation-goto-locus, compilation-find-file):
218 Pass no-display-ok and handle nil value from display-buffer.
219 (Bug#13594)
220
221 * window.el (display-buffer-alist, display-buffer): Document the
222 new parameter no-display-ok.
223
224 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * electric.el (electric-indent-mode-map): Remove.
227 (electric-indent-mode): Change the global-map instead (bug#15915).
228
229 * textmodes/text-mode.el (paragraph-indent-minor-mode):
230 Use add-function.
231
232 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * emacs-lisp/nadvice.el (remove-function): Align with
235 add-function's behavior.
236
237 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
238 (gdb--string-regexp): New constant.
239 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
240 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
241 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
242 submatch 1.
243 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
244 Adjust use accordingly.
245 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
246
247 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
248
249 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
250 interpolation curlies (Bug#15914).
251
252 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
253
254 * calc/calc.el (calc-context-sensitive-enter): New variable.
255 (calc-enter): Use `calc-context-sensitive-enter'.
256
257 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
258
259 * progmodes/cfengine.el: Version bump.
260 (cfengine-cf-promises): New defcustom to locate cf-promises.
261 (cfengine3-vartypes): Add new "data" type.
262 (cfengine3--current-word): New function to get current name-like
263 word or its bounds.
264 (cfengine3--current-function): New function to look up a CFEngine
265 function's definition.
266 (cfengine3-format-function-docstring): New function.
267 (cfengine3-make-syntax-cache): New function.
268 (cfengine3-documentation-function): New function: ElDoc glue.
269 (cfengine3-completion-function): New function: completion glue.
270 (cfengine3-mode): Set `compile-command',
271 `eldoc-documentation-function', and add to
272 `completion-at-point-functions'.
273
274 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
275
276 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
277 `tramp-current-connection'.
278
279 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
280
281 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
282 nil/self/true/false with "end of symbol".
283
284 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
285
286 * subr.el (version-regexp-alist): Fix a typo.
287
288 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
289
290 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
291 "en_US.utf8" and "LC_CTYPE" to "".
292 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
293 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
294
295 2013-11-15 Leo Liu <sdl.web@gmail.com>
296
297 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
298
299 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * progmodes/gud.el (ctl-x-map):
302 Remove C-x SPC binding. (Bug#12342)
303 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
304
305 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
306
307 * subr.el (version-regexp-alist):
308 Recognize hg, svn and darcs versions as snapshot versions.
309
310 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
311 Add the ability to always insert an utf-8 encoding comment.
312 Fix and simplify coding comment update logic.
313
314 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
315
316 * net/tramp-gvfs.el (top): Run init code only when
317 `tramp-gvfs-enabled' is not nil.
318 (tramp-gvfs-enabled): Check also :system bus.
319
320 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 Sync with upstream verilog-mode revision 78e66ba.
323 * progmodes/verilog-mode.el (verilog-end-of-defun)
324 (verilog-type-completion, verilog-get-list): Remove unused funcs.
325 (verilog-get-end-of-defun): Remove unused argument.
326 (verilog-comment-depth): Remove unused local `e'.
327 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
328 Don't pass arg to verilog-get-end-of-defun.
329
330 2013-11-14 Glenn Morris <rgm@gnu.org>
331
332 * obsolete/assoc.el (aget): Prefix dynamic variable.
333
334 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
335
336 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
337
338 * widget.el, hfy-cmap.el: Remove bogus package version number.
339
340 2013-11-13 Glenn Morris <rgm@gnu.org>
341
342 * replace.el (replace-eval-replacement):
343 Try to give more helpful error message. (Bug#15836)
344
345 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
346 (archive-7z-update): Avoid custom type mismatches.
347
348 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
349
350 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
351
352 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
353 address can be empty.
354
355 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
356 Accept nil SWITCHES.
357 (tramp-gvfs-handle-write-region): Implement APPEND.
358
359 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
360
361 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
362 binary "|" operator and closing block args delimiter.
363 Remove FIXME comment referring to Ruby 1.8-only syntax.
364 (ruby-smie--implicit-semi-p): Not after "|" operator.
365 (ruby-smie--closing-pipe-p): New function.
366 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
367 (ruby-smie-rules): Indent after "|".
368
369 2013-11-12 Glenn Morris <rgm@gnu.org>
370
371 * ps-print.el (ps-face-attribute-list):
372 Handle anonymous faces. (Bug#15827)
373
374 2013-11-12 Martin Rudalics <rudalics@gmx.at>
375
376 * window.el (display-buffer-other-frame): Fix doc-string.
377 (Bug#15868)
378
379 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
380
381 * subr.el (force-mode-line-update): Delete, move to buffer.c.
382
383 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
386 (tramp-sh-handle-file-local-copy): Don't write a message when
387 saving temporary files.
388
389 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
390 both directories are remote.
391 (tramp-smb-handle-directory-files): Do not return double entries.
392 Do not expand full file names.
393 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
394 (tramp-smb-handle-write-region): Implement APPEND.
395 (tramp-smb-get-stat-capability): Fix a stupid bug.
396
397 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
398
399 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
400
401 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
402
403 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
404 throwing error over malformed let/let* (bug#15814).
405
406 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * iswitchb.el (iswitchb-mode): Mark obsolete.
409
410 2013-11-11 Glenn Morris <rgm@gnu.org>
411
412 * international/uni-bidi.el, international/uni-category.el:
413 * international/uni-name.el, international/uni-numeric.el:
414 Regenerate for Unicode 6.3.0.
415
416 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
417
418 * net/tramp.el (tramp-methods):
419 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
420 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
421
422 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
423
424 * progmodes/sh-script.el (sh-font-lock-keywords-var):
425 Force highlighting text after Summary keyword in doc face for rpm.
426
427 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
428
429 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
430 available and the word has no wildcards, append one to the grep pattern.
431 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
432 (ispell-complete-word): Call `ispell-lookup-words' with the value
433 independent of `ispell-look-p'.
434
435 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
436
437 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
438 Not after "||".
439 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
440 their parent.
441
442 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
443
444 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
445 (ruby-font-lock-keywords): Use backquote.
446
447 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
448
449 * progmodes/ruby-mode.el (ruby-smie--forward-token)
450 (ruby-smie--backward-token): Only consider full-string matches.
451
452 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
453
454 * faces.el (describe-face): Add distant-foreground.
455
456 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
457
458 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
459 Use `ruby-encoding-magic-comment-style' to control the
460 style of the auto-inserted encoding comment.
461
462 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
463
464 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
465 Use `smie-backward-sexp' with token argument.
466
467 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
468
469 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
470 Remove instrumentation code.
471
472 2013-11-08 Glenn Morris <rgm@gnu.org>
473
474 * progmodes/autoconf.el (autoconf-mode):
475 Tweak comment-start-skip. (Bug#15822)
476
477 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
480 at bobp (bug#15826).
481 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
482
483 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
484
485 * man.el (Man-start-calling): New macro, extracted from
486 Man-getpage-in-background.
487 (Man-getpage-in-background): Use it.
488 (Man-update-manpage): New command.
489 (Man-mode-map): Bind it.
490
491 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
492
493 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
494 of "and", "or", "&&" and "||".
495 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
496 argument. Prohibit opening curly brace because it could only be a
497 block opener in that position.
498 (ruby-smie--forward-token, ruby-smie--backward-token):
499 Separate "|" from "&" or "*" going after it. That can happen in block
500 arguments.
501 (ruby-smie--indent-to-stmt): New function, seeks the end of
502 previous statement or beginning of buffer.
503 (ruby-smie-rules): Use it.
504 (ruby-smie-rules): Check if there's a ":" before a curly block
505 opener candidate; if there is, it's a hash.
506
507 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
510 (cl--block-wrapper): Fix last accidental change.
511
512 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
513
514 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
515 Instrument, in order to hunt failure on hydra.
516
517 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
518
519 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
520 malformed bindings form (bug#15814).
521
522 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
523
524 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
525 "." compared to " @ ". This incidentally fixes some indentation
526 examples with "do".
527 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
528 (ruby-smie-grammar): New tokens: "and" and "or".
529 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
530 Exclude "and" and "or". Remove "do" in order to work around token
531 priorities.
532 (ruby-smie-rules): Add all infix tokens. Handle the case of
533 beginning-of-buffer.
534
535 2013-11-06 Glenn Morris <rgm@gnu.org>
536
537 * Makefile.in (setwins_almost, setwins_for_subdirs):
538 Avoid accidental matches.
539
540 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * menu-bar.el (popup-menu): Use key-binding.
543
544 2013-11-06 Eli Zaretskii <eliz@gnu.org>
545
546 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
547 menus, support also the menus produced by minor modes.
548 (Bug#15817)
549
550 2013-11-06 Leo Liu <sdl.web@gmail.com>
551
552 * thingatpt.el (thing-at-point-looking-at): Add optional arg
553 DISTANCE to bound the search. All uses changed. (Bug#15808)
554
555 2013-11-06 Glenn Morris <rgm@gnu.org>
556
557 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
558 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
559 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
560
561 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * electric.el (electric-indent-just-newline): New command.
564 (electric-indent-mode-map): New keymap.
565 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
566 Re-add :group which weren't redundant.
567
568 * electric.el (electric-indent-local-mode): New minor mode.
569 (electric-indent-functions-without-reindent): New var.
570 (electric-indent-post-self-insert-function): Use it.
571 * emacs-lisp/gv.el (buffer-local-value): Add setter.
572
573 2013-11-05 Eli Zaretskii <eliz@gnu.org>
574
575 * international/quail.el (quail-help): Be more explicit about the
576 meaning of the labels shown on the keys. (Bug#15800)
577
578 * startup.el (normal-top-level): Load the subdirs.el files before
579 setting the locale environment. (Bug#15805)
580
581 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
582
583 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
584 via arguments so as to get the right ones (bug#15418).
585
586 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
587
588 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
589
590 Fix problems found while writing a test suite.
591
592 * net/tramp-compat.el (tramp-compat-load): New defun.
593 * net/tramp.el (tramp-handle-load): Use it.
594
595 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
596 "(numberp ok-if-already-exists)" correctly.
597
598 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
599
600 * international/characters.el (glyphless-char-display-control):
601 Add usage note.
602
603 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
604
605 * progmodes/python.el (python-mode):
606 * progmodes/scheme.el (scheme-mode):
607 * progmodes/prolog.el (prolog-mode):
608 * progmodes/ruby-mode.el (ruby-mode):
609 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
610 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
611
612 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * rect.el (rectangle--highlight-for-redisplay):
615 * emacs-lisp/smie.el (smie--next-indent-change):
616 Use buffer-chars-modified-tick.
617
618 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
619
620 * electric.el (electric-indent-post-self-insert-function):
621 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
622
623 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
624
625 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
626
627 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
628
629 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
630 (bug#15786).
631
632 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
633
634 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
635
636 * progmodes/python.el: Fix up last change.
637 (python-shell--save-temp-file): New function.
638 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
639 `string' comes from the current buffer.
640 (python-shell-send-string-no-output): Remove `msg' arg.
641 (python--use-fake-loc): New var.
642 (python-shell-buffer-substring): Obey it. Try to compensate for the
643 extra coding line added by python-shell--save-temp-file.
644 (python-shell-send-region): Use python-shell--save-temp-file and
645 python-shell-send-file directly. Add `nomain' argument.
646 (python-shell-send-buffer): Use python-shell-send-region.
647 (python-electric-pair-string-delimiter): New function.
648 (python-mode): Use it.
649
650 2013-11-04 Eli Zaretskii <eliz@gnu.org>
651
652 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
653 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
654 environment and decoding all of the default-directory's to here
655 from command-line.
656 (command-line): Decode also argv[0].
657
658 * loadup.el: Error out if default-directory is a multibyte string
659 when we are dumping.
660
661 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
662
663 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
664
665 * emacs-lisp/package.el (package-menu-mode)
666 (package-menu--print-info, package-menu--archive-predicate):
667 Add Archive column to package list.
668
669 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
670
671 Fix problems found while writing a test suite.
672
673 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
674 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
675 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
676 to nil when running original file name handler. Otherwise,
677 there are problems with constructs like "$$FOO".
678
679 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
680 for `localname'.
681
682 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
683
684 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
685
686 * subr.el (version<, version<=, version=):
687 Update docstrings with information for snapshot versions.
688
689 * helpers.el: New library for misc helper functions.
690 (hash-table-keys): New function returning a list of hash keys.
691 (hash-table-values): New function returning a list of hash values.
692
693 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
694
695 * progmodes/ruby-mode.el (ruby-smie--forward-token)
696 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
697
698 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
699
700 * textmodes/fill.el (fill-single-char-nobreak-p): New function
701 checking whether point is after a 1-letter word.
702
703 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
704
705 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
706 Don't infloop when expanding region over `multiline' syntax-type that
707 begins a line (bug#15778).
708
709 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
710
711 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
712 Make it into a proper minor mode.
713 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
714 (rectangle-mark-mode-map): New keymap.
715 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
716
717 2013-11-04 Glenn Morris <rgm@gnu.org>
718
719 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
720
721 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
724 (ruby-smie-rules): Use smie-rule-parent instead.
725
726 * emacs-lisp/smie.el (smie-rule-parent): Always call
727 smie-indent-virtual rather than only for hanging tokens.
728 (smie--next-indent-change): New helper command.
729
730 2013-11-03 Glenn Morris <rgm@gnu.org>
731
732 * Makefile.in (abs_srcdir): Remove.
733 (emacs): Unset EMACSLOADPATH.
734
735 2013-11-02 Glenn Morris <rgm@gnu.org>
736
737 * Makefile.in (EMACS): Use a relative filename.
738 (abs_top_builddir): Remove.
739 (custom-deps, finder-data, autoloads): Use --chdir.
740
741 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
742
743 Use relative filenames in TAGS files.
744 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
745 (lisptagsfiles4, TAGS): Use relative file names.
746 (TAGS-LISP): Remove.
747 (maintainer-clean): No more TAGS-LISP file.
748
749 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
750 (lisptagsfiles4): Use absolute filenames again.
751 (TAGS, TAGS-LISP): Not everything needs to run in one line.
752 Remove all *loaddefs files, not just the first. Remove esh-groups.
753 (maintainer-clean): Delete TAGS, TAGS-LISP.
754
755 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
756
757 * emacs-lisp/package.el (package-version-join):
758 Recognize snapshot versions.
759
760 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
761
762 * subr.el (version-regexp-alist): Add support for snapshot versions.
763
764 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
765
766 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
767 New function, replacement for `smie-rule-parent' for when we want to
768 skip over our direct parent if it's an assignment token..
769 (ruby-smie-rules): Use it.
770
771 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
772
773 * progmodes/ruby-mode.el Use `syntax-propertize-function'
774 unconditionally. Remove now unnecessary forward declarations.
775 Remove XEmacs-specific setup.
776 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
777 (ruby-font-lock-syntactic-keywords)
778 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
779 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
780 (ruby-here-doc-end-syntax): Remove.
781 (ruby-mode): Don't check whether `syntax-propertize-rules' is
782 defined as function.
783
784 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
785
786 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
787
788 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
789
790 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
791 table and abbrev table, `define-derived-mode' does that for us
792 anyway.
793
794 2013-11-01 Glenn Morris <rgm@gnu.org>
795
796 * Makefile.in: Remove manual mh-e dependencies (writing .elc
797 files is atomic for some time, so no parallel compilation issues).
798
799 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
800
801 * faces.el (face-x-resources): Add :distant-foreground.
802 (region): Use :distant-foreground for gtk and ns.
803
804 2013-11-01 Tassilo Horn <tsdh@gnu.org>
805
806 Allow multiple bibliographies when BibLaTeX is used rather than
807 BibTeX.
808 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
809 (reftex-locate-bibliography-files): Us it.
810
811 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
812
813 * image.el (image-type-header-regexps): Fix the 'pbm' part to
814 allow comments in pbm files.
815
816 * term/w32-win.el (dynamic-library-alist): Support newer versions
817 of libjpeg starting with v7: look only for the DLL from the
818 version against which Emacs was built.
819 Support versions of libpng beyond 1.4.x.
820 Support libtiff v4.x.
821
822 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
823
824 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
825 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
826 Add property :safe.
827 (ruby-deep-arglist): Add property :type.
828
829 2013-10-31 Glenn Morris <rgm@gnu.org>
830
831 * Makefile.in (custom-deps, finder-data): No need to setq the target
832 variables, we are in the right directory and the defaults work fine.
833
834 2013-10-30 Glenn Morris <rgm@gnu.org>
835
836 * Makefile.in (autoloads): Do not use abs_lisp.
837
838 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
839 `newline' does not respect `standard-output', so use `princ'.
840
841 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
842
843 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
844 * buff-menu.el (Buffer-menu--unmark): New function.
845 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
846
847 2013-10-30 Glenn Morris <rgm@gnu.org>
848
849 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
850
851 * emacs-lisp/package.el (lm-homepage): Declare.
852
853 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
854 Fix doc typos.
855
856 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
857
858 * Makefile.in (finder-data, autoloads, update-subdirs)
859 (compile-main, compile-clean, compile-always, bootstrap-clean):
860 Check return value of cd.
861 (compile-calc): Remove.
862
863 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
866
867 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
868 (byte-compile-and-folded): New function.
869 (=, <, >, <=, >=): Use it.
870
871 * dos-w32.el (minibuffer-history-case-insensitive-variables)
872 (path-separator, null-device, buffer-file-coding-system)
873 (lpr-headers-switches): Check system-type before modifying them.
874 (find-buffer-file-type-coding-system): Mark obsolete.
875 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
876 find-file-not-found-set-buffer-file-coding-system.
877 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
878 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
879 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
880 (w32-direct-print-region-helper, w32-direct-print-region-function)
881 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
882 * startup.el (normal-top-level-add-subdirs-to-load-path):
883 * ps-print.el (ps-print-region-function):
884 * lpr.el (print-region-function): Use new name.
885
886 * subr.el (custom-declare-variable-early): Remove function.
887 (custom-declare-variable-list): Remove var.
888 (error, user-error): Remove `while' loop.
889 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
890 (user-emacs-directory-warning, locate-user-emacs-file):
891 Move to files.el.
892 * simple.el (read-quoted-char-radix, read-quoted-char):
893 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
894 Move from subr.el.
895 * custom.el (custom-declare-variable-list): Don't process
896 custom-declare-variable-list.
897
898 * progmodes/python.el (python-shell-get-buffer): New function.
899 (python-shell-get-process): Use it.
900 (python-shell-send-string): Always use utf-8 and add a cookie to tell
901 Python which encoding was used. Don't split-string since we only care
902 about the first line. Return the temp-file, if applicable.
903 (python-shell-send-region): Tell compile.el how to turn locations in
904 the temp-file into locations in the source buffer.
905
906 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * subr.el (undefined): Add missing behavior from the C code for
909 unbound keys.
910
911 * rect.el: Use lexical-binding. Add new rectangular region support.
912 (rectangle-mark): New command.
913 (rectangle--region): New var.
914 (deactivate-mark-hook): Reset rectangle--region.
915 (rectangle--extract-region, rectangle--insert-for-yank)
916 (rectangle--highlight-for-redisplay)
917 (rectangle--unhighlight-for-redisplay): New functions.
918 (region-extract-function, redisplay-unhighlight-region-function)
919 (redisplay-highlight-region-function): Use them to handle
920 rectangular region.
921 * simple.el (region-extract-function): New var.
922 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
923 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
924 (kill-region): Replace obsolete `yank-handler' arg with `region'.
925 (copy-region-as-kill, kill-ring-save): Add `region' argument.
926 (redisplay-unhighlight-region-function)
927 (redisplay-highlight-region-function): New vars.
928 (redisplay--update-region-highlight): New function.
929 (pre-redisplay-function): Use it.
930 (exchange-point-and-mark): Don't deactivate the mark before
931 reactivate-it anyway.
932 * comint.el (comint-kill-region): Remove yank-handler argument.
933 * delsel.el (delete-backward-char, backward-delete-char-untabify)
934 (delete-char): Remove property, since it's now part of their
935 default behavior.
936 (self-insert-iso): Remove property since this command doesn't exist.
937
938 * emacs-lisp/package.el (package--download-one-archive)
939 (describe-package-1): Don't query the user about final newline.
940
941 2013-10-29 Daniel Colascione <dancol@dancol.org>
942
943 * net/tramp.el (tramp-methods): Document new functionality.
944 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
945 tramp-hostname-checker if method provides one instead of scanning
946 argument list for "%h" to decide hostname acceptability.
947
948 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
949
950 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
951 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
952 Handle COPY-CONTENTS. (Bug#15737)
953
954 2013-10-28 Daiki Ueno <ueno@gnu.org>
955
956 * epa-file.el
957 (epa-file-cache-passphrase-for-symmetric-encryption):
958 Document that this option has no effect with GnuPG 2.0 (bug#15552).
959
960 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
961
962 * image.el (defimage):
963 (image-load-path): Doc fixes.
964
965 2013-10-27 Alan Mackenzie <acm@muc.de>
966
967 Indent statements in macros following "##" correctly.
968 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
969 Modify the "#" arm of a cond form to handle "#" and "##" operators.
970
971 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
972
973 * linum.el (linum-update-window): Fix boundary test (bug#13446).
974
975 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
976
977 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
978 after `=' is probably a new expression.
979
980 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
981
982 * man.el (man-imenu-title): New option.
983 (Man-mode-map): Add menu. (Bug#15722)
984 (Man-mode): Add imenu to menu.
985
986 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
987
988 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
989 specific in what the first arg can be: a non-keyword word,
990 string/regexp/percent literal opener, opening paren, or unary
991 operator followed directly by word.
992
993 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
994
995 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
996 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
997 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
998 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
999 Remove vars, they do not apply any more.
1000 (prolog-mode-abbrev-table): Remove redundant declaration.
1001 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1002 (prolog-use-smie): Remove.
1003 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1004 supported by prolog-electric-if-then-else-flag.
1005 (prolog-mode-variables, prolog-menu): Use setq-local.
1006 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1007 Remove binding to `Backspace' since this key doesn't exist anyway.
1008 Remove bindings for electric self-inserting keys.
1009 (prog-mode): Assume it's defined.
1010 (prolog-post-self-insert): New function.
1011 (prolog-mode): Use it.
1012 (prolog-indent-line, prolog-indent-level)
1013 (prolog-find-indent-of-matching-paren)
1014 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1015 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1016 (prolog-goto-next-paren, prolog-in-string-or-comment)
1017 (prolog-tokenize, prolog-inside-mline-comment)
1018 (prolog-find-start-of-mline-comment): Remove functions.
1019 (prolog-find-unmatched-paren, prolog-clause-end)
1020 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1021 (prolog-electric--if-then-else): Rename from
1022 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1023 (prolog-tokenize-searchkey): Remove const.
1024 (prolog-clause-info): Use forward-sexp.
1025 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1026 (prolog-electric-if-then-else): Remove commands.
1027 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1028 for use in post-self-insert-hook.
1029 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1030 for use in post-self-insert-hook.
1031 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1032 for use in post-self-insert-hook.
1033 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1034 adapt it for use in post-self-insert-hook.
1035
1036 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1037
1038 * emacs-lisp/ert.el (ert-run-tests-interactively):
1039 Use `completing-read'. (Bug#9756)
1040
1041 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1042
1043 * simple.el (line-move): Call line-move-1 instead of
1044 line-move-visual when the current window hscroll is zero, but
1045 temporary-goal-column indicates we will need to hscroll as result
1046 of the movement. (Bug#15712)
1047
1048 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1049
1050 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1051 capitalization. Use :visible instead of :active.
1052 Fix `ruby-indent-exp' reference. Add menu items for the generic
1053 commands that are used with SMIE.
1054 (ruby-do-end-to-brace): Insert space after `{'.
1055
1056 2013-10-25 John Anthony <john@jo.hnanthony.com>
1057
1058 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1059
1060 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1061
1062 2013-10-25 Glenn Morris <rgm@gnu.org>
1063
1064 * vc/vc.el (vc-print-log): Don't use a working revision unless
1065 one was explicitly specified. (Bug#15322)
1066
1067 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * subr.el (add-to-list): Preserve return value in compiler-macro
1070 (bug#15692).
1071
1072 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1073
1074 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1075 result. Ask user to retry using '-all' flag. (Bug#15701)
1076
1077 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1078
1079 * emacs-lisp/smie.el: New smie-config system.
1080 (smie-config): New defcustom.
1081 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1082 (smie-config-guess, smie-config-save): New commands.
1083 (smie-config--mode-local, smie-config--buffer-local)
1084 (smie-config--trace, smie-config--modefuns): New vars.
1085 (smie-config--advice, smie-config--mode-hook)
1086 (smie-config--setter, smie-config-local, smie-config--get-trace)
1087 (smie-config--guess-value, smie-config--guess): New functions.
1088 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1089 text properties. Treat "string fence" syntax like string syntax.
1090
1091 * progmodes/sh-script.el (sh-use-smie): Change default.
1092 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1093 (sh-var-value): Simplify by CSE.
1094 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1095 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1096 is used.
1097 (sh-guess-basic-offset): Use cl-incf.
1098 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1099
1100 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1101
1102 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1103 (bug#15699).
1104
1105 2013-10-24 Glenn Morris <rgm@gnu.org>
1106
1107 * Makefile.in (abs_top_srcdir): Remove.
1108 (update-subdirs): Use relative path to update-subdirs.
1109
1110 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1111
1112 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1113 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1114 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1115 Call unmsys--file-name before expand-file-name, not after it.
1116
1117 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1120 (ert-test-skipped): New error.
1121 (ert-skip, ert-stats-skipped): New defuns.
1122 (ert--skip-unless): New macro.
1123 (ert-test-skipped): New struct.
1124 (ert--run-test-debugger, ert-test-result-type-p)
1125 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1126 (ert--stats-set-test-and-result, ert-char-for-test-result)
1127 (ert-string-for-test-result, ert-run-tests-batch)
1128 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1129 Handle skipped tests. (Bug#9803)
1130
1131 2013-10-24 Glenn Morris <rgm@gnu.org>
1132
1133 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1134
1135 * Makefile.in (abs_top_srcdir): New, set by configure.
1136 (update-subdirs): Correct build-aux location.
1137
1138 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1141 value, whether we could auto-deduce `backend', or not.
1142
1143 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1144 with parameters" example. Simplify the "is it block or is it
1145 hash" check, but also make it more thorough.
1146
1147 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1148
1149 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1150
1151 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1154 { if it is hanging.
1155
1156 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1157 :before ";".
1158
1159 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1160
1161 * progmodes/compile.el (compilation-directory-matcher)
1162 (compilation-page-delimiter):
1163 Support GNU Make-4.0 directory quoting. (Bug#15678)
1164
1165 2013-10-23 Leo Liu <sdl.web@gmail.com>
1166
1167 * ido.el (ido-tidy): Handle read-only text.
1168
1169 2013-10-23 Glenn Morris <rgm@gnu.org>
1170
1171 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1172 (emacs, compile, compile-always):
1173 Quote entities that might contain whitespace.
1174 (custom-deps, finder-data, autoloads): Use abs_lisp.
1175 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1176 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1177 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1178
1179 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1180
1181 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1182 Use `following-char'.
1183
1184 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1187 * progmodes/ruby-mode.el (ruby-smie-rules):
1188 Remove corresponding workaround. Fix indentation rule of ";" so it
1189 also applies when ";" is the parent.
1190
1191 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1192
1193 * frame.el (display-screens, display-pixel-height)
1194 (display-pixel-width, display-mm-width, display-backing-store)
1195 (display-save-under, display-planes, display-color-cells)
1196 (display-visual-class, display-monitor-attributes-list):
1197 Mention the optional ‘display’ argument in doc strings.
1198
1199 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1200
1201 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1202 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1203
1204 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1205
1206 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1207 TODO. Add "." after " @ ".
1208 (ruby-smie--at-dot-call): New function. Checks if point at method
1209 call with explicit target.
1210 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1211 to the method name tokens when it precedes them.
1212 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1213 (ruby-smie-rules): Add rule for indentation before and after "."
1214 token.
1215
1216 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * textmodes/remember.el (remember-diary-extract-entries):
1219 Avoid add-to-list.
1220
1221 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1222 an instruction.
1223
1224 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1225
1226 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1227 (ruby-smie--implicit-semi-p): Add new operator chars.
1228
1229 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1230 `smie-down-list'.
1231 (ruby-smie--args-separator-p): Check that there's no newline
1232 between method call and its arguments.
1233
1234 2013-10-20 Alan Mackenzie <acm@muc.de>
1235
1236 Allow comma separated lists after Java "implements".
1237
1238 * progmodes/cc-engine.el (c-backward-over-enum-header):
1239 Parse commas.
1240 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1241 from a "disallowed" list in enum fontification.
1242
1243 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1244
1245 * startup.el (default-frame-background-mode): Remove unused defvar.
1246
1247 * progmodes/verilog-mode.el (verilog-mode): Don't set
1248 comment-indent-function globally.
1249
1250 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1251
1252 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1253 Move Info menu item creation to ns-win.el.
1254
1255 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1256 in menu bar.
1257
1258 * menu-bar.el: Move GNUStep specific menus...
1259
1260 * term/ns-win.el (ns-initialize-window-system): ... to here.
1261
1262 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1263
1264 * simple.el (newline): Only run post-self-insert-hook when
1265 called interactively.
1266
1267 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1268
1269 * icomplete.el (icomplete-with-completion-tables): Add :version.
1270
1271 2013-10-19 Alan Mackenzie <acm@muc.de>
1272
1273 Fix fontification bugs with constructors and const.
1274
1275 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1276 CASE 2) Remove the check for the absence of a suffix construct
1277 after a function declaration with only types (no identifiers) in
1278 the parentheses. Also, accept a function declaration with just a
1279 type inside the parentheses, if this type can be positively
1280 recognised as such, or if a prefix keyword like "explicit" nails
1281 down the construct as a declaration.
1282
1283 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1284
1285 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1286 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1287 the problem whereby selecting a menu item that leads to a
1288 minibuffer prompt moves the cursor out of the minibuffer window,
1289 making it hard to type at the prompt. Suggested by Stefan Monnier
1290 <monnier@iro.umontreal.ca>.
1291
1292 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1293
1294 * menu-bar.el: Don't make Services menu.
1295
1296 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1297
1298 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1299 (ffap-alist): Use ffap-c++-mode for c++-mode.
1300 (ffap-c++-path): New variable.
1301 (ffap-c++-mode): New function.
1302
1303 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1304
1305 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1306
1307 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1310 introduced on 2013-09-08, which results in an infinite loop
1311 requesting a password.
1312
1313 2013-10-18 Glenn Morris <rgm@gnu.org>
1314
1315 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1316
1317 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1318
1319 Sync with upstream verilog-mode revision 1a6ecec7.
1320 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1321 (verilog-mode-release-date): Remove.
1322 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1323 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1324 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1325 (verilog-auto-tieoff-ignore-regexp)
1326 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1327 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1328 (verilog-signals-with, verilog-dir-cache-preserving)
1329 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1330 Doc fixes.
1331 (verilog-case-fold): New option, to control case folding in
1332 regexp searches, bug597.
1333 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1334 (verilog-string-match-fold, verilog-in-paren-count)
1335 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1336 (verilog-at-close-struct-p): New functions.
1337 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1338 (verilog-forward-sexp, verilog-set-auto-endcomments):
1339 (verilog-leap-to-case-head): Handle "unique0" case.
1340 (verilog-in-constraint-re): New constant.
1341 (verilog-keywords, verilog-type-font-keywords):
1342 Add some SystemVerilog 1800-2012 keywords.
1343 (verilog-label-be): Remove unimplemented argument, bug669.
1344 (verilog-batch-execute-func): When batch expanding clear
1345 create-lockfiles to prevent spurious user locks when a file ends
1346 up not changing.
1347 (verilog-calculate-indent, verilog-calc-1)
1348 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1349 (verilog-do-indent): Fix indentation of nested constraints
1350 and structures.
1351 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1352 (verilog-auto-inst-param): Use verilog-string-match-fold.
1353 (verilog-read-inst-module-matcher):
1354 Fix AUTOINST on gate primitives with #1.
1355 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1356 Reads all user-defined typed variables.
1357 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1358 (verilog-signals-matching-regexp)
1359 (verilog-signals-not-matching-regexp, verilog-auto):
1360 Respect verilog-case-fold.
1361 (verilog-diff-report): Fix line count.
1362 (verilog-auto-assign-modport): Remove unused local `modi'.
1363 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1364 better handle multidimensional arrays.
1365 Fix packed array ports misadding bit index in AUTOINST, bug637.
1366 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1367 to not double-declare existing outputs and inputs, respectively.
1368 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1369 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1370 (verilog-sk-uvm-component): New skeleton.
1371 (verilog-submit-bug-report): Add verilog-case-fold,
1372 remove verilog-mode-release-date.
1373
1374 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1375
1376 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1377 as before.
1378
1379 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1380
1381 * textmodes/remember.el (remember): set buffer-offer-save in
1382 remember buffers (bug#13566).
1383
1384 2013-10-18 Daniel Colascione <dancol@dancol.org>
1385
1386 When evaluating forms in ielm, direct standard output to ielm
1387 buffer. Add new ielm-return-for-effect command. Remove trailing
1388 whitespace throughout.
1389
1390 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1391 (ielm-return-for-effect): New command.
1392 (ielm-send-input): Accept optional `for-effect' parameter.
1393 (ielm-eval-input): Accept optional `for-effect' parameter.
1394 Bind `standard-output' to stream we create using
1395 `ielm-standard-output-impl'. Suppress printing result when
1396 `for-effect'.
1397 (ielm-standard-output-impl): New function.
1398 (inferior-emacs-lisp-mode): Explain new features in documentation.
1399
1400 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1401
1402 Code cleanup.
1403
1404 * net/tramp.el (tramp-debug-message): Do not check for connection
1405 buffer.
1406 (tramp-message): Use "vector" connection property.
1407
1408 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1409 (tramp-equal-remote, tramp-eshell-directory-change)
1410 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1411 (tramp-adb-handle-rename-file)
1412 * net/tramp-cmds.el (tramp-list-remote-buffers)
1413 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1414 * net/tramp-compat.el (tramp-compat-process-running-p)
1415 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1416 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1417 (tramp-gvfs-handle-rename-file)
1418 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1419 (tramp-set-file-uid-gid)
1420 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1421 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1422 of `file-remote-p'.
1423
1424 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1425 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1426 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1427 (tramp-gw-open-network-stream): Suppress unrelated traces.
1428
1429 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1430 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1431 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1432 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1433 connection property.
1434
1435 * net/tramp-cache.el (top): Suppress traces when reading
1436 persistency file.
1437
1438 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1439 Refactor common code. Improve debug message.
1440 (tramp-maybe-open-connection)
1441 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1442 connection buffer too early.
1443
1444 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1445 from `tramp-smb-actions-with-acl'.
1446 (tramp-smb-actions-set-acl): New defconst.
1447 (tramp-smb-handle-copy-directory)
1448 (tramp-smb-action-get-acl): New defun, renamed from
1449 `tramp-smb-action-with-acl'.
1450 (tramp-smb-action-set-acl): New defun.
1451 (tramp-smb-handle-set-file-acl): Rewrite.
1452
1453 2013-10-17 Glenn Morris <rgm@gnu.org>
1454
1455 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1456
1457 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * skeleton.el (skeleton-newline): Remove.
1460 (skeleton-internal-1): Use (insert "\n") instead.
1461
1462 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1463 let-bindings.
1464
1465 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1466 forward-sexp-function while we redo its job (bug#15613).
1467
1468 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1469
1470 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1471 represented by lists.
1472
1473 2013-10-16 Glenn Morris <rgm@gnu.org>
1474
1475 * tmm.el (tmm--history): New dynamic variable.
1476 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1477
1478 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1479
1480 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1481 (tramp-smb-errors): Add error messages.
1482 (tramp-smb-actions-with-acl): New defconst.
1483 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1484 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1485 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1486 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1487 (tramp-smb-get-stat-capability): Fix tests.
1488
1489 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1490
1491 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1492 (bug#15580).
1493
1494 2013-10-16 Glenn Morris <rgm@gnu.org>
1495
1496 * ansi-color.el (ansi-color-drop-regexp):
1497 Add 1J, 1K, 2K. (Bug#15617)
1498
1499 * files.el (hack-local-variables--warned-lexical): New.
1500 (hack-local-variables):
1501 Warn about misplaced lexical-binding. (Bug#15616)
1502
1503 * net/eww.el (eww-render): Always set eww-current-url,
1504 and update header line. (Bug#15622)
1505 (eww-display-html): ... Rather than just doing it here.
1506
1507 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1508
1509 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1510 menu navigations commands.
1511
1512 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1513
1514 * progmodes/subword.el (subword-capitalize): Be careful when
1515 the search for [[:alpha:]] fails (bug#15580).
1516
1517 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1518
1519 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1520 to commands that scroll the menu.
1521
1522 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1523
1524 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1525 Handle methods ending with `?' and `!'.
1526
1527 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1528
1529 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1530 `japanese-cp932' to `cp932' to fix the problem where saving a
1531 source file written in Shift_JIS twice would end up having
1532 `coding: japanese-cp932' which Ruby could not recognize.
1533 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1534 in `ruby-encoding-map'.
1535 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1536 doesn't need to be explicitly declared in magic comment.
1537 (ruby-encoding-map): Add type declaration for better customize UI.
1538
1539 2013-10-13 Glenn Morris <rgm@gnu.org>
1540
1541 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1542 Occur buffers are read-only. http://bugs.debian.org/720775
1543
1544 * emacs-lisp/authors.el (authors-fixed-entries):
1545 Comment out old alpha stuff.
1546
1547 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1548
1549 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1550 to `after-save-hook' instead of `before-save-hook'.
1551 (ruby-mode-set-encoding): Use the value of coding system used to
1552 write the file. Call `basic-save-buffer-1' after modifying the
1553 buffer.
1554
1555 2013-10-13 Alan Mackenzie <acm@muc.de>
1556
1557 Fix indentation/fontification of Java enum with
1558 "implements"/generic.
1559
1560 * progmodes/cc-engine.el (c-backward-over-enum-header):
1561 Extracted from the three other places and enhanced to handle generics.
1562 (c-inside-bracelist-p): Uses new function above.
1563 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1564 function above.
1565 (c-font-lock-enum-tail): Uses new function above.
1566
1567 2013-10-13 Kenichi Handa <handa@gnu.org>
1568
1569 * international/mule-cmds.el (select-safe-coding-system): Remove a
1570 superfluous condition in chekcing whether a coding system is safe
1571 or not.
1572
1573 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1574
1575 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1576
1577 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1578
1579 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1580
1581 2013-10-13 Glenn Morris <rgm@gnu.org>
1582
1583 * menu-bar.el (menu-bar-update-buffers):
1584 Unify Buffers menu prompt string. (Bug#15576)
1585
1586 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1587
1588 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1589 Add some entries.
1590 (authors-fixed-entries): Use accented form of name.
1591
1592 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1595 method calls (bug#15594).
1596 (ruby-smie--args-separator-p): New function.
1597 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1598 recognize paren-free method calls.
1599
1600 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1601 internals of universal-argument.
1602
1603 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1604
1605 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1606 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1607 dropped menu on second mouse click on the menu bar.
1608
1609 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1610
1611 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1612 (explicit-shell-file-name): Declare.
1613 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1614 (sh-completion-at-point-function): New function.
1615 (sh-mode): Use it.
1616 (sh-smie--keyword-p): Remove unused argument.
1617 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1618 vars.
1619 (sh-set-shell): Always setup SMIE, even if we use the
1620 old indentation code.
1621
1622 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1623
1624 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1625 cases of ? and =.
1626 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1627 predicate would return nil are almost non-existent.
1628 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1629
1630 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1631 cache also after commands that modify the buffer but don't move
1632 point.
1633
1634 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * env.el (substitute-env-in-file-name): New function.
1637 (substitute-env-vars): Extend the meaning of the optional arg.
1638
1639 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1640
1641 * term/w32-win.el (dynamic-library-alist): Define separate lists
1642 of GIF DLLs for versions before and after 5.0.0 of giflib.
1643 (Bug#15531)
1644
1645 2013-10-10 João Távora <joaotavora@gmail.com>
1646
1647 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1648 not locked, use last revision and current source as
1649 defaults. (Bug#15569)
1650
1651 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1652
1653 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1654 menu-bar is hidden.
1655
1656 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1657
1658 * window.el (pop-to-buffer-same-window): Fix doc-string.
1659 (Bug#15492)
1660
1661 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1664
1665 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1666
1667 * calendar/icalendar.el (icalendar-import-file):
1668 Fix interactive spec. (Bug#15482)
1669
1670 2013-10-10 Glenn Morris <rgm@gnu.org>
1671
1672 * desktop.el (desktop-save): Default to saving in .emacs.d,
1673 since PWD is no longer in desktop-path by default. (Bug#15319)
1674
1675 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1676 now that text mode has a menu with the same entry.
1677 (menu-bar-text-mode-auto-fill): Remove now unused func.
1678 * textmodes/text-mode.el (text-mode-map):
1679 Use auto-fill help text from menu-bar.el.
1680
1681 2013-10-10 John Anthony <john@jo.hnanthony.com>
1682
1683 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1684
1685 2013-10-09 Juri Linkov <juri@jurta.org>
1686
1687 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1688 instead of this-command-keys. Add universal-argument-more and
1689 universal-argument-minus to the list of prefix commands. (Bug#15568)
1690
1691 2013-10-09 Glenn Morris <rgm@gnu.org>
1692
1693 * vc/vc-svn.el (vc-svn-create-repo):
1694 Expand paths in file://... url. (Bug#15446)
1695
1696 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1697 Add some entries.
1698 (authors): Remove unused local variables.
1699
1700 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * profiler.el: Create a more coherent calltree from partial backtraces.
1703 (profiler-format): Hide the tail with `invisible' so that C-s can still
1704 find the hidden elements.
1705 (profiler-calltree-depth): Don't recurse so enthusiastically.
1706 (profiler-function-equal): New hash-table-test.
1707 (profiler-calltree-build-unified): New function.
1708 (profiler-calltree-build): Use it.
1709 (profiler-report-make-name-part): Indent the calltree less.
1710 (profiler-report-mode): Add visibility specs for profiler-format.
1711 (profiler-report-expand-entry, profiler-report-toggle-entry):
1712 Expand the whole subtree when provided with a prefix arg.
1713
1714 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1715
1716 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1717 iuwu-mod token.
1718 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1719 hanging iuwu-mod token.
1720 (ruby-smie--forward-token): Do not include a dot after a token in
1721 that token.
1722 (ruby-smie--backward-token): Likewise.
1723
1724 2013-10-08 Juri Linkov <juri@jurta.org>
1725
1726 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1727 to isearch-other-control-char.
1728 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1729 and isearch-post-command-hook to post-command-hook.
1730 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1731 and isearch-post-command-hook from post-command-hook.
1732 (isearch-unread-key-sequence)
1733 (isearch-reread-key-sequence-naturally)
1734 (isearch-lookup-scroll-key, isearch-other-control-char)
1735 (isearch-other-meta-char): Remove functions.
1736 (isearch-pre-command-hook, isearch-post-command-hook):
1737 New functions based on isearch-other-meta-char rewritten
1738 relying on the new behavior of overriding-terminal-local-map
1739 that does not replace the local keymaps any more. (Bug#15200)
1740
1741 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1742
1743 Support menus on text-mode terminals.
1744 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1745 functionality.
1746
1747 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1748
1749 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1750 Move here from mouse.el.
1751 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1752 and arrow keys.
1753 (tty-menu-navigation-map): New map for TTY menu navigation.
1754
1755 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1756
1757 * frame.el (display-mouse-p): Report text-mode mouse as available
1758 on w32.
1759 (display-popup-menus-p): Report availability if mouse is
1760 available; don't condition on window-system.
1761
1762 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1763 (tty-menu-selected-face): New faces.
1764
1765 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1768 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1769 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1770 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1771 New constants.
1772 (lisp-mode-variables): New `elisp' argument.
1773 (emacs-lisp-mode): Use it.
1774 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1775 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1776
1777 * indent.el: Use lexical-binding.
1778 (indent-region): Add progress reporter.
1779 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1780 last step.
1781 (indent--next-tab-stop): New function to implement this behavior.
1782 (tab-to-tab-stop, move-to-tab-stop): Use it.
1783
1784 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1785
1786 * indent.el (indent-rigidly--current-indentation): New function.
1787 (indent-rigidly-map): New var.
1788 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1789
1790 2013-10-08 Bastien Guerry <bzg@gnu.org>
1791
1792 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1793
1794 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * progmodes/perl-mode.el: Use lexical-binding.
1797 Remove redundant :group args.
1798 (perl-nochange): Change default to be closer to other major modes's
1799 standard behavior.
1800 (perl-indent-line): Don't consider text on current line as a
1801 valid beginning of function from which to indent.
1802
1803 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1804 with more than one argument (bug#15538).
1805
1806 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1807
1808 * vc/pcvs.el: Use lexical-binding.
1809 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1810 environment of `eval'.
1811 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1812 than a list of expressions. Adjust callers.
1813 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1814
1815 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1818 case of the dot in a chained method call being on the following line.
1819
1820 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * electric.el (electric-indent-inhibit): New var.
1823 (electric-indent-post-self-insert-function): Use it.
1824 * progmodes/python.el (python-mode): Set it.
1825
1826 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1827 open braces.
1828
1829 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1830
1831 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1832 (css-mode): Use electric-indent-chars.
1833
1834 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1835 (font-lock-beg, font-lock-end): Move before first use.
1836 (nxml-mode): Use syntax-propertize-function.
1837 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1838 (nxml-extend-after-change-region): Remove.
1839 * nxml/xmltok.el: Use lexical-binding.
1840 (xmltok-save): Use `declare'.
1841 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1842 * nxml/nxml-util.el: Use lexical-binding.
1843 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1844 Use `declare'.
1845 * nxml/nxml-ns.el: Use lexical-binding.
1846 (nxml-ns-save): Use `declare'.
1847 (nxml-ns-prefixes-for): Avoid add-to-list.
1848 * nxml/rng-match.el: Use lexical-binding.
1849 (rng--ipattern): Use cl-defstruct.
1850 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1851 (rng-cons-group-after, rng-subst-group-after)
1852 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1853 Use closures instead of `(lambda...).
1854
1855 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1858 of BEG and END.
1859
1860 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1861 Use `tramp-handle-insert-file-contents'.
1862 (tramp-gvfs-handle-insert-file-contents): Remove function.
1863
1864 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1865 Use `save-restriction' in order to keep markers.
1866
1867 * net/trampver.el: Update release number.
1868
1869 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * progmodes/compile.el (compilation-parse-errors):
1872 Use compilation--put-prop.
1873 (compilation--ensure-parse): Check compilation-multiline.
1874
1875 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1876
1877 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1878 lexical-binding.
1879
1880 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1881
1882 * progmodes/ruby-mode.el: Fix recently added tests.
1883 (ruby-smie-grammar): Add - and +.
1884 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1885 (ruby-smie--backward-id): New functions.
1886 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1887 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1888 any more.
1889
1890 2013-10-07 Leo Liu <sdl.web@gmail.com>
1891
1892 * register.el (register-preview-delay)
1893 (register-preview-functions): New variables.
1894 (register-read-with-preview, register-preview)
1895 (register-describe-oneline): New functions.
1896 (point-to-register, window-configuration-to-register)
1897 (frame-configuration-to-register, jump-to-register)
1898 (number-to-register, view-register, insert-register)
1899 (copy-to-register, append-to-register, prepend-to-register)
1900 (copy-rectangle-to-register): Use register-read-with-preview to
1901 read register. (Bug#15525)
1902
1903 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1904
1905 * net/network-stream.el (network-stream-open-starttls): Don't add
1906 --insecure if it's already present, because that gnutls-cli
1907 rejects getting that parameter twice.
1908
1909 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1910
1911 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1912 keyword, too.
1913
1914 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1915
1916 * newcomment.el (comment-use-global-state): Change default value
1917 to t, mark obsolete (Bug#15251).
1918 (comment-beginning): In addition to `comment-to-syntax', check the
1919 value of `comment-use-global-state'.
1920
1921 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1922
1923 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1924 (ruby-comment-column): Follow the global default, by default.
1925 (ruby-smie-grammar): Add assignment syntax.
1926 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1927 open-paren, a comma, or a \.
1928 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1929 and line continuations.
1930 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1931 followed by implicit semi-colons. Add rule for string concatenation
1932 and for indentation at BOB.
1933 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1934
1935 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1936 calling next-sexp, since next-token may have skipped chars which
1937 next-sexp doesn't know should be skipped!
1938
1939 2013-10-05 Leo Liu <sdl.web@gmail.com>
1940
1941 * progmodes/octave.el (octave-send-region):
1942 Call compilation-forget-errors.
1943
1944 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1945
1946 * vc/vc-svn.el (vc-svn-find-admin-dir):
1947 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1948 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1949 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1950 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1951
1952 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1955
1956 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1957
1958 * subr.el (read-passwd): Hide chars even when called within a context
1959 where after-change-functions is disabled (bug#15501).
1960 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1961 until we removed ourself from overriding-terminal-local-map.
1962
1963 2013-10-04 Leo Liu <sdl.web@gmail.com>
1964
1965 * progmodes/octave.el (inferior-octave-mode):
1966 Call compilation-forget-errors.
1967
1968 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1969
1970 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1971
1972 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/secrets.el (secrets-create-collection): Add optional
1975 argument ALIAS. Use proper Label keyword. Append ALIAS as
1976 dbus-call-method argument. (Bug#15516)
1977
1978 2013-10-04 Leo Liu <sdl.web@gmail.com>
1979
1980 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1981 (inferior-octave-compilation-font-lock-keywords): New variables.
1982 (compilation-error-regexp-alist)
1983 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1984 (inferior-octave-mode): Use compilation-shell-minor-mode.
1985
1986 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1987
1988 * minibuffer.el (completion--replace): Be careful that `end' might be
1989 a marker.
1990
1991 2013-10-03 Daiki Ueno <ueno@gnu.org>
1992
1993 Add support for package signature checking.
1994 * emacs-lisp/package.el (url-http-file-exists-p)
1995 (epg-make-context, epg-context-set-home-directory)
1996 (epg-verify-string, epg-context-result-for)
1997 (epg-signature-status, epg-signature-to-string)
1998 (epg-check-configuration, epg-configuration)
1999 (epg-import-keys-from-file): Declare.
2000 (package-check-signature): New user option.
2001 (package-unsigned-archives): New user option.
2002 (package-desc): Add `signed' field.
2003 (package-load-descriptor): Set `signed' field if .signed file exists.
2004 (package--archive-file-exists-p): New function.
2005 (package--check-signature): New function.
2006 (package-install-from-archive): Check package signature.
2007 (package--download-one-archive): Check archive signature.
2008 (package-delete): Remove .signed file.
2009 (package-import-keyring): New command.
2010 (package-refresh-contents): Import default keyring.
2011 (package-desc-status): Add "unsigned" status.
2012 (describe-package-1, package-menu--print-info)
2013 (package-menu-mark-delete, package-menu--find-upgrades)
2014 (package-menu--status-predicate): Support "unsigned" status.
2015
2016 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2019 the new compilation scheme using the new byte-codes.
2020
2021 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2022 (byte-pophandler): New byte codes.
2023 (byte-goto-ops): Adjust accordingly.
2024 (byte-compile--use-old-handlers): New var.
2025 (byte-compile-catch): Use new byte codes depending on
2026 byte-compile--use-old-handlers.
2027 (byte-compile-condition-case--old): Rename from
2028 byte-compile-condition-case.
2029 (byte-compile-condition-case--new): New function.
2030 (byte-compile-condition-case): New function that dispatches depending
2031 on byte-compile--use-old-handlers.
2032 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2033 when we can.
2034
2035 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2036 Optimize under `condition-case' and `catch' if
2037 byte-compile--use-old-handlers is nil.
2038 (disassemble-offset): Handle new bytecodes.
2039
2040 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2041
2042 * subr.el (error): Use `declare'.
2043 (decode-char, encode-char): Use advertised-calling-convention instead
2044 of the docstring to discourage use of the `restriction' arg.
2045
2046 2013-10-03 Daiki Ueno <ueno@gnu.org>
2047
2048 * epg.el (epg-verify-file): Add a comment saying that it does not
2049 notify verification error as a return value nor a signal.
2050 (epg-verify-string): Ditto.
2051
2052 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2053
2054 * progmodes/compile.el (compilation-start): Try globbing the arg to
2055 `cd' (bug#15417).
2056
2057 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2058
2059 Sync with Tramp 2.2.8.
2060
2061 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2062 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2063 * net/trampver.el: Update release number.
2064
2065 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2066
2067 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2068 and default-process-coding-system for darwin only.
2069
2070 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2073
2074 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2075
2076 * vc/vc-git.el (vc-git-grep): Disable pager.
2077
2078 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2079
2080 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2081 Use :url instead of :homepage, as per
2082 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2083
2084 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2085 non-nil, use `syntax-ppss' (Bug#15251).
2086
2087 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2088
2089 * progmodes/octave.el (inferior-octave-startup-file):
2090 Prefer ~/.emacs.d/init_octave.m.
2091
2092 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2093
2094 * emacs-lisp/package.el (package-desc-from-define):
2095 Accept additional arguments as plist, convert them to an alist and store
2096 them in the `extras' slot.
2097 (package-generate-description-file): Convert extras alist back to
2098 plist and append to the `define-package' form arguments.
2099 (package--alist-to-plist): New function.
2100 (package--ac-desc): Add `extras' slot.
2101 (package--add-to-archive-contents): Check if the archive-contents
2102 vector is long enough, and if it is, pass its `extras' slot value
2103 to `package-desc-create'.
2104 (package-buffer-info): Call `lm-homepage', pass the returned value
2105 to `package-desc-from-define'.
2106 (describe-package-1): Render the homepage button (Bug#13291).
2107
2108 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2109 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2110
2111 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2112
2113 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2114 and default-process-coding-system to utf-8-unix (Bug#15402).
2115
2116 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2117
2118 * subr.el (looking-back): Do not recommend using looking-back.
2119
2120 2013-09-28 Alan Mackenzie <acm@muc.de>
2121
2122 Fix indentation/fontification of Java enum with "implements".
2123
2124 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2125 regexp which matches "implements", etc., in Java.
2126 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2127 specifier clauses coming after "enum".
2128 * progmodes/cc-fonts.el (c-font-lock-declarations)
2129 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2130 after "enum".
2131
2132 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2133
2134 * faces.el (region): Change ns_selection_color to
2135 ns_selection_fg_color, add ns_selection_bg_color.
2136
2137 2013-09-28 Leo Liu <sdl.web@gmail.com>
2138
2139 * progmodes/octave.el (inferior-octave-completion-table)
2140 (inferior-octave-completion-at-point): Minor tweaks.
2141
2142 * textmodes/ispell.el (ispell-lookup-words): Rename from
2143 lookup-words. (Bug#15460)
2144 (lookup-words): Obsolete.
2145 (ispell-complete-word, ispell-command-loop): All uses changed.
2146
2147 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2148
2149 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2150 (octave-mode-menu): Add octave-send-buffer.
2151 (octave-send-buffer): New function.
2152
2153 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2154
2155 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2156 octave-lookfor.
2157 (octave-mode-menu): Add octave-lookfor.
2158 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2159 octave-lookfor.
2160 (octave-lookfor): New function.
2161
2162 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/cl-macs.el:
2165 (cl--loop-destr-temps): Remove.
2166 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2167 its convention.
2168 (cl--loop-set-iterator-function): New function.
2169 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2170 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2171 Bind `it' with `let' instead of substituting it with `cl-subst'.
2172 (cl--unused-var-p): New function.
2173 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2174 Eliminate some unused variable warnings (bug#15326).
2175
2176 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2177
2178 * doc-view.el (doc-view-scale-reset): Rename from
2179 `doc-view-reset-zoom-level'.
2180 (doc-view-scale-adjust): New command.
2181 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2182 `doc-view-scale-adjust'.
2183
2184 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2185
2186 * doc-view.el (doc-view-reset-zoom-level): New command.
2187 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2188 zoom commands (bug#15466).
2189
2190 2013-09-26 Kenichi Handa <handa@gnu.org>
2191
2192 * international/quail.el (quail-help): Make it not a command.
2193
2194 2013-09-26 Leo Liu <sdl.web@gmail.com>
2195
2196 * minibuffer.el (completion-all-sorted-completions): Make args
2197 optional as they are.
2198
2199 2013-09-25 Daniel Colascione <dancol@dancol.org>
2200
2201 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2202 specs are and that they're not evaluated.
2203
2204 2013-09-24 Sam Steingold <sds@gnu.org>
2205
2206 * midnight.el (clean-buffer-list-kill-regexps)
2207 (clean-buffer-list-kill-buffer-names): Update for the new Man
2208 buffer naming which includes the object name.
2209
2210 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2213 (eshell-parse-command, eshell-parse-pipeline): Use it since
2214 eshell-separate-commands requires a dynamic scoped var.
2215 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2216
2217 2013-09-23 Leo Liu <sdl.web@gmail.com>
2218
2219 * autoinsert.el (auto-insert-alist): Make the value of
2220 lexical-binding match its file setting.
2221
2222 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2223
2224 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2225
2226 * autoarg.el (autoarg-kp-digit-argument):
2227 * electric.el (Electric-command-loop):
2228 * kmacro.el (kmacro-step-edit-insert):
2229 Do not set universal-argument-num-events.
2230
2231 2013-09-22 Leo Liu <sdl.web@gmail.com>
2232
2233 * files.el (interpreter-mode-alist): Add octave.
2234
2235 2013-09-21 Alan Mackenzie <acm@muc.de>
2236
2237 C++: fontify identifier in declaration following "public:" correctly.
2238 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2239 to match "public", etc.
2240 (c-decl-prefix-re): Add ":" into the C++ value.
2241 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2242 bit. Add a check for a ":" preceded by "public", etc.
2243
2244 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2245
2246 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2247 recognized by GDB 7.5 and later.
2248
2249 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2250
2251 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2252
2253 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * subr.el (internal--call-interactively): New const.
2256 (called-interactively-p): Use it (bug#3984).
2257
2258 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2259
2260 * vc/pcvs.el (cvs-mode-ignore):
2261 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2262 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2263
2264 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2267 (eshell-ls-orig-insert-directory): Remove.
2268 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2269 (eshell-ls-use-in-dired): Use advice-add/remove.
2270 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2271 Add `orig-fun' arg for use in :around advice.
2272 Make it check (redundantly) eshell-ls-use-in-dired.
2273
2274 2013-09-19 Glenn Morris <rgm@gnu.org>
2275
2276 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2277
2278 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2279
2280 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2281
2282 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2285 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2286 (tramp-get-remote-python): New defuns.
2287 (tramp-get-remote-uid-with-perl)
2288 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2289 contributed by yary <not.com@gmail.com> (tiny change).
2290 (tramp-get-remote-uid-with-python)
2291 (tramp-get-remote-gid-with-python): New defuns. Python code
2292 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2293 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2294
2295 2013-09-19 Glenn Morris <rgm@gnu.org>
2296
2297 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2298
2299 * eshell/em-unix.el (eshell-remove-entries):
2300 Rename argument to avoid name-clash with global `top-level'.
2301
2302 * eshell/esh-proc.el (eshell-kill-process-function):
2303 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2304 (eshell-reset-after-proc): Remove unused arg `proc'.
2305
2306 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2307 (directory-files-and-attributes): Mark unused arg.
2308
2309 * eshell/em-unix.el (eshell-remove-entries):
2310 Remove unused arg `path'. Update callers.
2311
2312 * eshell/em-hist.el (eshell-hist-parse-arguments):
2313 Remove unused arg `silent'. Update callers.
2314
2315 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2316 Fix (f)boundp mix-up.
2317
2318 * eshell/em-smart.el (eshell-smart-scroll-window)
2319 (eshell-disable-after-change):
2320 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2321
2322 2013-09-18 Alan Mackenzie <acm@muc.de>
2323
2324 Fix fontification of type when followed by "const".
2325 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2326 "known" types from fontification.
2327
2328 2013-09-18 Glenn Morris <rgm@gnu.org>
2329
2330 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2331 (chart-face-list): Drop Emacsen without display-color-p.
2332
2333 * net/eww.el (libxml-parse-html-region): Declare.
2334 (eww-display-html): Explicit error if no libxml2 support.
2335
2336 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2337
2338 * image.el (image-type-from-buffer, image-multi-frame-p):
2339 Remove --without-x warning/error.
2340
2341 * mouse.el (mouse-yank-primary):
2342 * term.el (term-mouse-paste):
2343 Reorder to silence --without-x compilation.
2344
2345 * mpc.el (doc-view-mode): Silence --without-x compilation.
2346
2347 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2348 Silence --without-x compilation.
2349
2350 * progmodes/gud.el (gud-find-file, gud-mode):
2351 Silence --without-x compilation.
2352 (tooltip-mode): Declare.
2353
2354 * wdired.el (dired-backup-overwrite): Remove declaration.
2355 (wdired-mode-map): Add doc string.
2356
2357 * custom.el (x-get-resource): Declare.
2358
2359 * eshell/em-glob.el (ange-cache):
2360 * eshell/em-unix.el (ange-cache): Declare.
2361
2362 * faces.el (x-display-list, x-open-connection, x-get-resource):
2363 Declare.
2364
2365 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2366 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2367 Declare.
2368
2369 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2370
2371 * net/gnutls.el (gnutls-log-level): Declare.
2372
2373 * net/shr.el (image-size, image-animate): Declare.
2374
2375 * simple.el (font-info): Declare.
2376
2377 * subr.el (x-popup-dialog): Declare.
2378
2379 * term/common-win.el (x-select-enable-primary)
2380 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2381 Declare.
2382
2383 * term/ns-win.el (x-handle-args): Declare.
2384
2385 * term/x-win.el (x-select-enable-clipboard): Declare.
2386
2387 * term/w32-win.el (create-default-fontset): Declare.
2388
2389 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2390 Declare.
2391
2392 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2393 (fit-frame-to-buffer): Explicit error if --without-x.
2394 (mouse-autoselect-window-select): Silence compiler.
2395
2396 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2397
2398 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2399 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2400 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2401 * eshell/esh-util.el (eshell-sublist):
2402 Remove unused local variables.
2403
2404 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2405
2406 * textmodes/two-column.el: Make 2C-split work for --without-x.
2407 (scroll-bar-columns): Autoload.
2408 (top-level): Require fringe when compiling.
2409
2410 2013-09-18 Leo Liu <sdl.web@gmail.com>
2411
2412 * subr.el (add-hook): Robustify to handle closure as well.
2413
2414 2013-09-17 Glenn Morris <rgm@gnu.org>
2415
2416 * simple.el (messages-buffer-mode-map): Unbind "g".
2417
2418 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2419
2420 * help-mode.el (help-mode-finish): Use derived-mode-p.
2421 Remove obsolete highlighting.
2422
2423 * play/life.el (life-mode): Use define-derived-mode. Derive from
2424 special-mode.
2425 (life): Let-bind inhibit-read-only.
2426 (life-setup): Avoid `setq'. Use `life-mode'.
2427
2428 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2429 which should not be needed any more.
2430 (package-menu-refresh, package-menu-describe-package): Use user-error.
2431
2432 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2433 (eshell-post-rewrite-command-hook): Make obsolete.
2434 (eshell-parse-command): Simplify.
2435 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2436 (eshell--cmd): Declare.
2437 (eshell-parse-pipeline): Remove unused var `final-p'.
2438 Pass a dynvar to eshell-post-rewrite-command-hook.
2439 Implement the new eshell-post-rewrite-command-function.
2440 (eshell-invoke-directly): Remove unused arg `input'.
2441 * eshell/esh-io.el (eshell-io-initialize):
2442 Use eshell-post-rewrite-command-function (bug#15399).
2443 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2444 adjust to new calling convention.
2445 (eshell-create-handles): Rename args to avoid clashing with dynvar
2446 `standard-output'.
2447
2448 2013-09-17 Glenn Morris <rgm@gnu.org>
2449
2450 * simple.el (messages-buffer-mode): New major mode.
2451 (messages-buffer): New function.
2452 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2453 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2454 (ert-run-test): Use `messages-buffer' function.
2455 (ert--force-message-log-buffer-truncation): Ignore read-only.
2456 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2457 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2458
2459 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2460
2461 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2462
2463 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2464
2465 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * icomplete.el (icomplete-in-buffer): New var.
2468 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2469 vars and replace them with functions.
2470 (icomplete-minibuffer-setup): Adjust accordingly.
2471 (icomplete--completion-table, icomplete--completion-predicate)
2472 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2473 New functions.
2474 (icomplete-forward-completions, icomplete-backward-completions)
2475 (icomplete-simple-completing-p, icomplete-exhibit)
2476 (icomplete-completions): Use them.
2477 (icomplete--in-region-buffer): New var.
2478 (icomplete--in-region-setup): New function.
2479 (icomplete-mode): Use it.
2480
2481 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2482 (bug#15379).
2483 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2484 return args and options.
2485 (eshell-eval-using-options): Use the new return value of
2486 eshell--do-opts to set the options's vars in their scope.
2487 (eshell--set-option): Rename from eshell-set-option.
2488 Add arg `opt-vals'.
2489 (eshell--process-option): Rename from eshell-process-option.
2490 Add arg `opt-vals'.
2491 (eshell--process-args): Use an `opt-vals' alist to store the options's
2492 values during their processing and return them additionally to the
2493 remaining args.
2494
2495 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2496
2497 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2498 continuation character an operator, as far as indentation is
2499 concerned (Bug#15369).
2500
2501 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2502
2503 * window.el (window--state-put-2): Don't process buffer state
2504 when buffer doesn't exist any more (Bug#15382).
2505
2506 2013-09-15 Glenn Morris <rgm@gnu.org>
2507
2508 * eshell/em-unix.el (eshell/rm):
2509 Make -f ignore missing files. (Bug#15373)
2510
2511 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2512 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2513 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2514
2515 2013-09-14 Glenn Morris <rgm@gnu.org>
2516
2517 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2518
2519 2013-09-13 Glenn Morris <rgm@gnu.org>
2520
2521 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2522 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2523
2524 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2525
2526 * frame.el (x-focus-frame): Mark as declared in frame.c.
2527
2528 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2529
2530 * ls-lisp.el: Use advice-add.
2531 (original-insert-directory): Remove.
2532 (ls-lisp--insert-directory): Rename from insert-directory; add
2533 `orig-fun' argument.
2534 (insert-directory): Advise.
2535
2536 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2537
2538 * term.el (term-emulate-terminal): Decode the command string
2539 before passing it to term-command-hook. (Bug#15337)
2540
2541 2013-09-13 Glenn Morris <rgm@gnu.org>
2542
2543 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2544
2545 * eshell/esh-ext.el (eshell-search-path): Declare.
2546
2547 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2548 Otherwise an error occurs if eshell-dirs module not loaded.
2549
2550 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2551
2552 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2555 `tramp-check-proper-host'. Check for a valid method name.
2556
2557 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2558 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2559 * net/tramp-sh.el (tramp-maybe-open-connection):
2560 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2561
2562 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2563 also for hash values.
2564
2565 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2566
2567 * term/ns-win.el (parameters): Don't declare as dynamic.
2568 (before-make-frame-hook): Don't add ineffective function.
2569
2570 * eshell/*.el: Use lexical-binding (bug#15231).
2571
2572 2013-09-12 Kenichi Handa <handa@gnu.org>
2573
2574 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2575
2576 2013-09-12 Glenn Morris <rgm@gnu.org>
2577
2578 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2579 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2580
2581 * subr.el (do-after-load-evaluation): Also give compiler warnings
2582 when obsolete files are used (except by obsolete files).
2583
2584 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2585 in the status output, assume `filename' is the first. (Bug#15322)
2586
2587 * vc/vc.el (vc-deduce-fileset): Doc fix.
2588
2589 * calc/calc-help.el (Info-goto-node):
2590 * progmodes/cperl-mode.el (Info-find-node):
2591 * vc/ediff.el (Info-goto-node): Update declarations.
2592
2593 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2594
2595 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2596 (vc-bzr-pull): Require vc-dispatcher.
2597 * vc/vc-git.el (vc-compilation-mode): Declare.
2598 (vc-git-pull): Require vc-dispatcher.
2599
2600 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2601
2602 * progmodes/octave.el (help-button-action): Declare.
2603
2604 * shell.el (shell-directory-tracker): Output error as a message
2605 rather than just returning it as a string.
2606 (shell-process-pushd): Remove useless use of message.
2607
2608 * dframe.el (dframe-timer-fn):
2609 * files.el (dir-locals-read-from-file):
2610 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2611 (mpc-format):
2612 * reveal.el (reveal-post-command):
2613 * saveplace.el (load-save-place-alist-from-file):
2614 * shell.el (shell-resync-dirs):
2615 * w32-common-fns.el (x-get-selection-value):
2616 * emacs-lisp/copyright.el (copyright-find-copyright):
2617 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2618 * emulation/tpu-edt.el (tpu-copy-keyfile):
2619 * play/bubbles.el (bubbles--mark-neighbourhood):
2620 * progmodes/executable.el
2621 (executable-make-buffer-file-executable-if-script-p):
2622 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2623
2624 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 Cleanup Eshell to rely less on dynamic scoping.
2627 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2628 last-value, and ext-command here. Bind `args' closer to `body'.
2629 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2630 (eshell--args): Declare new dynamic var.
2631 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2632 last-value, and ext-command. Pass `args' to `body'.
2633 (eshell-process-args): Bind eshell--args.
2634 (eshell-set-option): Use eshell--args.
2635 * eshell/eshell.el (eshell): Use derived-mode-p.
2636 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2637 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2638 (eshell-glob-function): Declare.
2639 * eshell/esh-util.el: Require cl-lib.
2640 (eshell-read-hosts-file): Avoid add-to-list.
2641 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2642 `err'.
2643 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2644 Declare.
2645 (eshell/diff): Remove unused var `err'.
2646 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2647 `killflag'.
2648 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2649 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2650 first use.
2651 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2652 Move declaration before first use.
2653 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2654 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2655 rely on cl-return.
2656
2657 2013-09-12 Glenn Morris <rgm@gnu.org>
2658
2659 * term/ns-win.el (global-map): Remove binding for ispell-next,
2660 deleted 1999-05-29. (Bug#15357)
2661
2662 2013-09-11 Glenn Morris <rgm@gnu.org>
2663
2664 * echistory.el (electric-command-history): Remove call to deleted func.
2665
2666 * play/landmark.el (landmark-mode): Fix typos.
2667
2668 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2669 Check cvs-sort-ignore-file is bound.
2670
2671 * savehist.el: No need for cl when compiling on Emacs.
2672
2673 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2674
2675 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2676 (bug#15338).
2677 (eshell-self-insert-command, eshell-send-invisible):
2678 Remove unused argument.
2679 (eshell-handle-control-codes): Remove unused var `orig'.
2680 Avoid delete-backward-char.
2681
2682 * files.el (set-auto-mode): Simplify a bit further.
2683
2684 2013-09-11 Glenn Morris <rgm@gnu.org>
2685
2686 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2687 (set-auto-mode): Don't regexp-quote elements.
2688 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2689 * progmodes/cc-mode.el (interpreter-mode-alist):
2690 * progmodes/ruby-mode.el (interpreter-mode-alist):
2691 Revert previous change.
2692
2693 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * play/snake.el (snake-mode):
2696 * play/mpuz.el (mpuz-mode):
2697 * play/landmark.el (lm-mode):
2698 * play/blackbox.el (blackbox-mode):
2699 * play/5x5.el (5x5-mode):
2700 * obsolete/options.el (Edit-options-mode):
2701 * net/quickurl.el (quickurl-list-mode):
2702 * net/newst-treeview.el (newsticker-treeview-mode):
2703 * mail/rmailsum.el (rmail-summary-mode):
2704 * mail/mspools.el (mspools-mode):
2705 * locate.el (locate-mode):
2706 * ibuffer.el (ibuffer-mode):
2707 * emulation/ws-mode.el (wordstar-mode):
2708 * emacs-lisp/debug.el (debugger-mode):
2709 * array.el (array-mode):
2710 * net/eudc.el (eudc-mode): Use define-derived-mode.
2711 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2712 Move initialization into declaration.
2713 (mairix-searches-mode): Use define-derived-mode.
2714 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2715 (eudc-edit-hotlist): Use dolist.
2716 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2717 (Man-mode): Use define-derived-mode.
2718 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2719 (Info-edit-mode): Use define-derived-mode.
2720 (Info-cease-edit): Use Info-mode.
2721 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2722 into declaration.
2723 (eshell-mode): Use define-derived-mode.
2724 * chistory.el (command-history-mode-map): Rename from
2725 command-history-map.
2726 (command-history-mode): Use define-derived-mode.
2727 (Command-history-setup): Remove function.
2728 * calc/calc.el (calc-trail-mode-map): New var.
2729 (calc-trail-mode): Use define-derived-mode.
2730 (calc-trail-buffer): Set calc-main-buffer manually.
2731 * bookmark.el (bookmark-insert-annotation): New function.
2732 (bookmark-edit-annotation): Use it.
2733 (bookmark-edit-annotation-mode): Make it a proper major mode.
2734 (bookmark-send-edited-annotation): Use derived-mode-p.
2735 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2736 closer to its ideal place. Use \' to match EOS.
2737
2738 * profiler.el (profiler-calltree-find): Use function-equal.
2739
2740 2013-09-10 Glenn Morris <rgm@gnu.org>
2741
2742 * files.el (interpreter-mode-alist): Convert to regexps.
2743 (set-auto-mode): Adapt for this. (Bug#15306)
2744 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2745 Comment out unused variable.
2746 * progmodes/cc-mode.el (interpreter-mode-alist):
2747 * progmodes/python.el (interpreter-mode-alist):
2748 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2749 * progmodes/sh-script.el (sh-set-shell):
2750 No longer use interpreter-mode-alist to get list of shells.
2751
2752 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2753
2754 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * simple.el: Use set-temporary-overlay-map for universal-argument.
2757 (universal-argument-map): Don't use default-bindings (bug#15317).
2758 Bind switch-frame explicitly. Replace universal-argument-minus with
2759 a conditional binding.
2760 (universal-argument-num-events, saved-overriding-map): Remove.
2761 (restore-overriding-map): Remove.
2762 (universal-argument--mode): Rename from save&set-overriding-map,
2763 and rewrite.
2764 (universal-argument, universal-argument-more, negative-argument)
2765 (digit-argument): Adjust accordingly.
2766 (universal-argument-minus): Remove.
2767 (universal-argument-other-key): Remove.
2768
2769 * subr.el (with-demoted-errors): Add `format' argument.
2770
2771 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2774 `tramp-cleanup-connection'.
2775
2776 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2777 parameters KEEP-DEBUG and KEEP-PASSWORD.
2778
2779 * net/tramp.el (tramp-file-name-handler):
2780 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2781 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2782 (tramp-maybe-open-connection):
2783 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2784 Use `tramp-cleanup-connection'.
2785
2786 * net/tramp-sh.el (tramp-maybe-open-connection):
2787 Catch 'uname-changed inside the progress reporter.
2788
2789 2013-09-10 Glenn Morris <rgm@gnu.org>
2790
2791 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2792
2793 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2794 returns "alternate access method" in mode (eg "-rw-r--r--.").
2795
2796 2013-09-08 Glenn Morris <rgm@gnu.org>
2797
2798 * saveplace.el (load-save-place-alist-from-file):
2799 Demote errors. (Bug#15305)
2800
2801 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2802
2803 Improve compatibility with older Emacsen, and XEmacs.
2804
2805 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2806 only if it is bound. It isn't for XEmacs.
2807 (with-tramp-progress-reporter): Do not let-bind `result'.
2808 This yields to scoping errors in XEmacs.
2809 (tramp-handle-make-auto-save-file-name): New function, moved from
2810 tramp-sh.el.
2811
2812 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2813 for `make-auto-save-file-name'.
2814 (tramp-adb--gnu-switches-to-ash):
2815 Use `tramp-compat-replace-regexp-in-string'.
2816
2817 * net/tramp-cache.el (tramp-cache-print): Call
2818 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2819
2820 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2821 bound. It isn't for XEmacs.
2822
2823 * net/tramp-compat.el (tramp-compat-copy-file):
2824 Catch `wrong-number-of-arguments' error.
2825 (tramp-compat-replace-regexp-in-string): New defun.
2826
2827 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2828 for `make-auto-save-file-name'.
2829 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2830 `copy-file'.
2831 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2832 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2833 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2834
2835 * net/tramp-gw.el (tramp-gw-open-network-stream):
2836 Use `tramp-compat-replace-regexp-in-string'.
2837
2838 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2839 Call `tramp-handle-make-auto-save-file-name'.
2840 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2841 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2842 (tramp-sh-file-inotifywait-process-filter):
2843 Use `tramp-compat-replace-regexp-in-string'.
2844 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2845
2846 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2847 for `make-auto-save-file-name'.
2848 (tramp-smb-handle-copy-directory):
2849 Call `tramp-compat-replace-regexp-in-string'.
2850 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2851 (tramp-smb-handle-copy-file): Improve error message.
2852 (tramp-smb-handle-rename-file): Rename directly only in case
2853 `newname' does not exist yet. This is a restriction of smbclient.
2854 (tramp-smb-maybe-open-connection): Rerun the function only when
2855 `auth-sources' is non-nil.
2856
2857 2013-09-08 Kenichi Handa <handa@gnu.org>
2858
2859 * international/characters.el: Set category "^" (Combining) for
2860 more characters.
2861
2862 2013-09-07 Alan Mackenzie <acm@muc.de>
2863
2864 Correctly fontify Java class constructors.
2865 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2866 in Java Mode.
2867 (c-recognize-typeless-decls): Set the Java value to t.
2868 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2869 While handling a "(", add a check for, effectively, Java, and handle a
2870 "typeless" declaration there.
2871
2872 2013-09-07 Roland Winkler <winkler@gnu.org>
2873
2874 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2875 field subtitle for entry type book.
2876
2877 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * minibuffer.el: Make minibuffer-complete call completion-in-region
2880 rather than other way around.
2881 (completion--some, completion-pcm--find-all-completions):
2882 Don't delay signals when debugging.
2883 (minibuffer-completion-contents): Beware fields within the
2884 minibuffer contents.
2885 (completion-all-sorted-completions): Use defvar-local.
2886 (completion--do-completion, completion--cache-all-sorted-completions)
2887 (completion-all-sorted-completions, minibuffer-force-complete):
2888 Add args `beg' and `end'.
2889 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2890 (minibuffer-complete): Use completion-in-region.
2891 (completion-complete-and-exit): New fun, extracted from
2892 minibuffer-complete-and-exit.
2893 (minibuffer-complete-and-exit): Use it.
2894 (completion--complete-and-exit): Rename from
2895 minibuffer--complete-and-exit.
2896 (completion-in-region--single-word): New function, extracted from
2897 minibuffer-complete-word.
2898 (minibuffer-complete-word): Use it.
2899 (display-completion-list): Make `common-substring' argument obsolete.
2900 (completion--in-region): Call completion--in-region-1 instead of
2901 minibuffer-complete.
2902 (completion-help-at-point): Pass boundaries to
2903 minibuffer-completion-help as args rather than via an overlay.
2904 (completion-pcm--string->pattern): Use `any-delim'.
2905 (completion-pcm--optimize-pattern): New function.
2906 (completion-pcm--pattern->regex): Handle `any-delim'.
2907 * icomplete.el (icomplete-forward-completions)
2908 (icomplete-backward-completions, icomplete-completions):
2909 Adjust calls to completion-all-sorted-completions and
2910 completion--cache-all-sorted-completions.
2911 (icomplete-with-completion-tables): Default to t.
2912 * emacs-lisp/crm.el (crm--current-element): Rename from
2913 crm--select-current-element. Don't put an overlay but return the
2914 boundaries instead.
2915 (crm--completion-command): Take two new args to bind to the boundaries.
2916 (crm-completion-help): Adjust accordingly.
2917 (crm-complete): Use completion-in-region.
2918 (crm-complete-word): Use completion-in-region--single-word.
2919 (crm-complete-and-exit): Use completion-complete-and-exit.
2920
2921 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2924 than dynamically.
2925
2926 2013-09-06 Juri Linkov <juri@jurta.org>
2927
2928 * info.el (Info-display-images-node): When image file doesn't exist
2929 display text version of the image if it's provided in the Info file.
2930 Otherwise, display the location of missing image from SRC attribute.
2931 Add help-echo text property from ALT attribute. (Bug#15279)
2932
2933 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2934
2935 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2936 (edit-abbrevs-mode): Use define-derived-mode.
2937
2938 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2939 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2940 that it's defined.
2941 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2942 Use define-derived-mode.
2943
2944 * epg.el (epg-start-encrypt): Minor CSE simplification.
2945
2946 2013-09-06 William Xu <william.xwl@gmail.com>
2947
2948 * arc-mode.el: Add support for 7za (bug#15264).
2949 (archive-7z-program): New var.
2950 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2951 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2952 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2953
2954 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2955
2956 Remove URL syntax.
2957
2958 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2959 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2960 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2961 (tramp-postfix-host-format, tramp-file-name-regexp)
2962 (tramp-completion-file-name-regexp)
2963 (tramp-completion-dissect-file-name)
2964 (tramp-handle-substitute-in-file-name): Remove 'url case.
2965 (tramp-file-name-regexp-url)
2966 (tramp-completion-file-name-regexp-url): Remove constants.
2967
2968 2013-09-06 Glenn Morris <rgm@gnu.org>
2969
2970 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2971
2972 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2975 keywords" below "here-doc beginnings" (Bug#15270).
2976
2977 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * subr.el (pop): Use `car-safe'.
2980 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2981 to detect unused `pop' return value.
2982
2983 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2984 var `block-regexp'.
2985 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2986 (python-fill-string): Remove unused var `marker'.
2987 (python-skeleton-add-menu-items): Remove unused var `items'.
2988
2989 * international/mule-cmds.el: Require CL.
2990 (find-coding-systems-for-charsets): Avoid add-to-list.
2991 (sanitize-coding-system-list): New function, extracted from
2992 select-safe-coding-system-interactively.
2993 (select-safe-coding-system-interactively): Use it.
2994 (read-input-method-name): Accept symbols for `default'.
2995
2996 * emacs-lisp/advice.el (defadvice): Add indent rule.
2997
2998 2013-09-05 Daniel Hackney <dan@haxney.org>
2999
3000 * dired-x.el:
3001 * net/ange-ftp.el:
3002 * net/browse-url.el:
3003 * net/dbus.el:
3004 * net/eudc.el:
3005 * net/eudcb-ldap.el:
3006 * net/eww.el:
3007 * net/imap.el:
3008 * printing.el:
3009 * vc/ediff-diff.el:
3010 * vc/ediff-init.el:
3011 * vc/ediff-merg.el:
3012 * vc/ediff-mult.el:
3013 * vc/ediff-util.el:
3014 * vc/ediff-wind.el:
3015 * vc/ediff.el:
3016 * vc/emerge.el:
3017 * vc/pcvs.el:
3018 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3019 byte compiler. Remove some unused let-bound variables.
3020
3021 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3022
3023 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3024 a "ref-cell", since it gets better optimized (bug#14883).
3025
3026 2013-09-05 Glenn Morris <rgm@gnu.org>
3027
3028 * progmodes/cc-awk.el (c-forward-sws): Declare.
3029
3030 2013-09-04 Glenn Morris <rgm@gnu.org>
3031
3032 * generic-x.el [rul-generic-mode]: Require cc-mode.
3033 (c++-mode-syntax-table): Declare.
3034 (rul-generic-mode-syntax-table): Init in the defvar.
3035
3036 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3037
3038 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3039 (vc-do-command, vc-set-async-update):
3040 * vc/vc-mtn.el (vc-mtn-dir-status):
3041 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3042 (vc-hg-pull, vc-hg-merge-branch):
3043 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3044 (vc-git-merge-branch):
3045 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3046 (vc-cvs-dir-status-files):
3047 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3048 (vc-bzr-dir-status-files):
3049 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3050 * vc/vc-annotate.el: Use lexical-binding.
3051 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3052 (vc-sentinel-movepoint): Declare.
3053 (vc-annotate): Don't use `goto-line'.
3054 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3055 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3056 (vc-sentinel-movepoint): Declare.
3057 * vc/vc-svn.el: Use lexical-binding.
3058 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3059 * vc/vc-sccs.el:
3060 * vc/vc-rcs.el: Use lexical-binding.
3061
3062 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3063 `deleted'. Don't drop errors silently.
3064
3065 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3066
3067 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3068
3069 * vc/vc.el (vc-ignore): Rewrite.
3070 (vc-default-ignore): New function.
3071 (vc-default-ignore-completion-table): Use find-ignore-file.
3072
3073 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3074 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3075 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3076 Remove. Most code moved to vc.el.
3077
3078 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3081 * net/tramp-smb.el (tramp-smb-get-file-entries):
3082 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3083 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3084
3085 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3086 Update call to it.
3087 (eww-change-select): Remove unused var `properties'.
3088 (eww-make-unique-file-name): Remove unused var `base'.
3089
3090 * finder.el (finder-compile-keywords): Don't mess with windows.
3091
3092 * calculator.el (calculator-funcall): Fix typo in last change.
3093
3094 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3095
3096 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3097 <pkg>-autoloads.el file stop us.
3098
3099 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3100 warnings, and factor out common code.
3101
3102 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3103
3104 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3105 two-character operators and whether the character preceding them
3106 changes their meaning (Bug#15208).
3107
3108 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3109
3110 Format code sent to Python shell for robustness.
3111 * progmodes/python.el (python-shell-buffer-substring):
3112 New function.
3113 (python-shell-send-region, python-shell-send-buffer): Use it.
3114
3115 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3116
3117 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3118 * net/tramp.el (tramp-user-error): ... here.
3119 (tramp-find-method, tramp-check-proper-host)
3120 (tramp-dissect-file-name, tramp-debug-message)
3121 (tramp-handle-shell-command):
3122 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3124
3125 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3126
3127 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3128
3129 * avoid.el (mouse-avoidance-point-position)
3130 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3131 returns nil.
3132
3133 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3134
3135 * progmodes/python.el (python-shell-completion-get-completions):
3136 Drop use of deleted `comint-last-prompt-overlay'.
3137 (python-nav-if-name-main): New command.
3138
3139 2013-09-01 Glenn Morris <rgm@gnu.org>
3140
3141 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3142 Avoid leading space in $wins. Otherwise the sed command used by
3143 eg compile-main ends up containing "/*.el". (Bug#15170)
3144
3145 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3146
3147 2013-08-30 Glenn Morris <rgm@gnu.org>
3148
3149 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3150 Fix is-this-a-directory logic. (Bug#15220)
3151
3152 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * textmodes/css-mode.el: Use SMIE.
3155 (css-smie-grammar): New var.
3156 (css-smie--forward-token, css-smie--backward-token)
3157 (css-smie-rules): New functions.
3158 (css-mode): Use them.
3159 (css-navigation-syntax-table): Remove var.
3160 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3161 (css-indent-calculate, css-indent-line): Remove functions.
3162
3163 Misc changes to reduce use of `(lambda...); and other cleanups.
3164 * cus-edit.el: Use lexical-binding.
3165 (customize-push-and-save, customize-apropos)
3166 (custom-buffer-create-internal): Use closures.
3167 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3168 * progmodes/ada-xref.el: Use setq.
3169 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3170 * dframe.el: Use lexical-binding.
3171 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3172 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3173 * descr-text.el: Use lexical-binding.
3174 (describe-text-widget, describe-text-sexp, describe-property-list):
3175 Use closures.
3176 * comint.el (comint-history-isearch-push-state): Use a closure.
3177 * calculator.el: Use lexical-binding.
3178 (calculator-number-to-string): Make it work with lexical-binding.
3179 (calculator-funcall): Same and use cl-letf.
3180
3181 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3182 (lisp--company-doc-string, lisp--company-location): New functions.
3183 (lisp-completion-at-point): Use them to improve Company support.
3184
3185 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3186 params of lambda expressions.
3187 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3188 (ruby-smie--opening-pipe-p): New function.
3189 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3190 symbols and matched |...| for formal params.
3191 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3192 from being treated as hanging. Handle "rescue".
3193
3194 2013-08-29 Glenn Morris <rgm@gnu.org>
3195
3196 * progmodes/cc-engine.el (c-pull-open-brace):
3197 Move definition before use.
3198
3199 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3202 are immutable. Don't use `unsafe' any more.
3203 (cl--defsubst-expand): Don't substitute at the same time as keeping
3204 a residual unused let-binding. Don't use `unsafe' any more.
3205
3206 2013-08-29 Glenn Morris <rgm@gnu.org>
3207
3208 * calendar/cal-china.el (calendar-chinese-year-cache):
3209 Recenter on 2015.
3210
3211 * nxml/nxml-util.el (nxml-debug-clear-inside):
3212 Use cl-loop rather than loop.
3213
3214 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3215
3216 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3217
3218 2013-08-28 Glenn Morris <rgm@gnu.org>
3219
3220 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3221
3222 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3223
3224 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3225
3226 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * simple.el (repeat-complex-command--called-interactively-skip):
3229 New function.
3230 (repeat-complex-command): Use it (bug#14136).
3231
3232 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3233 (c-define-abbrev-table): Add `doc' argument.
3234 (c-mode-abbrev-table, c++-mode-abbrev-table)
3235 (objc-mode-abbrev-table, java-mode-abbrev-table)
3236 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3237 (awk-mode-abbrev-table): Use it.
3238 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3239 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3240 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3241 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3242 Move initialization into the declaration; and remove any
3243 autoload cookie.
3244
3245 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3246 and dynamic let binding.
3247
3248 * vc/smerge-mode.el: Remove redundant :group args.
3249
3250 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3251 to load-path.
3252
3253 2013-08-28 Juri Linkov <juri@jurta.org>
3254
3255 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3256 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3257 (isearch-other-meta-char): Handle an undefined shifted printing
3258 character by downshifting it. (Bug#15200)
3259
3260 2013-08-28 Juri Linkov <juri@jurta.org>
3261
3262 * isearch.el (isearch-search): Change regexp error message for
3263 non-regexp searches. (Bug#15166)
3264
3265 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3266
3267 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3268 for portability to hosts where /bin/sh has problems.
3269
3270 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3271
3272 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3273
3274 2013-08-27 Juri Linkov <juri@jurta.org>
3275
3276 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3277 in the keyboard macro. (Bug#15126)
3278
3279 2013-08-27 Juri Linkov <juri@jurta.org>
3280
3281 * isearch.el (isearch-quote-char): Comment out converting unibyte
3282 to multibyte, thus syncing with its `quoted-insert' counterpart.
3283 (Bug#15166)
3284
3285 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3286
3287 * window.el (display-buffer-use-some-window): Add missing
3288 argument in call of get-largest-window (Bug#15185).
3289 Reported by Stephen Leake.
3290
3291 2013-08-27 Glenn Morris <rgm@gnu.org>
3292
3293 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3294
3295 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3298 from a matcher-function unless there's no more matches (bug#15161).
3299
3300 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3301
3302 * minibuffer.el: Revert change from 2013-08-20.
3303
3304 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3305 with text property `tramp-default', if appropriate.
3306 (tramp-check-proper-host): New defun.
3307 (tramp-dissect-file-name): Do not check hostname. Revert change
3308 of 2013-03-18.
3309 (tramp-backtrace): Make VEC-OR-PROC optional.
3310
3311 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3312 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3313 * net/tramp-sh.el (tramp-maybe-open-connection):
3314 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3315 Apply `tramp-check-proper-host'.
3316
3317 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3318
3319 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3320 lambda expression in order to have `describe-variable' display it.
3321
3322 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3323
3324 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3325 BUF can be optional. (Bug#15186)
3326
3327 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3328
3329 * progmodes/flymake.el (flymake-get-real-file-name-function):
3330 Fix broken customization. (Bug#15184)
3331
3332 2013-08-25 Alan Mackenzie <acm@muc.de>
3333
3334 Improve indentation of bracelists defined by macros (without "=").
3335
3336 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3337 expansion begins with "{", regard it as bracelist when it doesn't
3338 contain a ";".
3339
3340 Parse C++ inher-intro when there's a template split over 2 lines.
3341
3342 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3343 rigorously the search for "class" etc. followed by ":".
3344
3345 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3346 random languages a regexp which never matches rather than nil.
3347
3348 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3349
3350 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3351 (c-awk-regexp-one-line-possibly-open-char-list-re)
3352 (c-awk-one-line-possibly-open-regexp-re)
3353 (c-awk-one-line-non-syn-ws*-re): Remove.
3354 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3355 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3356 (c-awk-space*-unclosed-regexp-/-re): New constants.
3357 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3358 aren't regexp delimiters.
3359
3360 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3361 handling for a rare situation in AWK Mode involving unterminated
3362 strings/regexps.
3363
3364 2013-08-23 Glenn Morris <rgm@gnu.org>
3365
3366 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3367
3368 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3369
3370 * files.el (create-file-buffer): If the result would begin with
3371 spaces, prepend a "|" instead of removing them. (Bug#15162)
3372
3373 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3376 text-properties (bug#15155).
3377
3378 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3379 exist any more.
3380 (calc-keypad-redraw): Remove unused var `pad'.
3381 (calc-keypad-press): Remove unused var `menu'.
3382
3383 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3384
3385 * window.el (display-buffer-pop-up-frame):
3386 Call pop-up-frame-function with BUFFER current so `make-frame' will
3387 use it as the new frame's buffer (Bug#15133).
3388
3389 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3390
3391 * calendar/timeclock.el: Minor cleanups.
3392 (timeclock-ask-before-exiting, timeclock-use-display-time):
3393 Use `symbol'.
3394 (timeclock-modeline-display): Define as alias before the
3395 actual definition.
3396 (timeclock-mode-line-display): Use define-minor-mode.
3397 (timeclock-day-list-template): Make it a function, add an argument.
3398 (timeclock-day-list-required, timeclock-day-list-length)
3399 (timeclock-day-list-debt, timeclock-day-list-span)
3400 (timeclock-day-list-break): Adjust calls accordingly.
3401
3402 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3403
3404 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3405 Use read--expression so that completion works again.
3406
3407 2013-08-21 Sam Steingold <sds@gnu.org>
3408
3409 Add rudimentary inferior shell interaction
3410 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3411 (sh-set-shell): Reset it.
3412 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3413 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3414
3415 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * align.el: Use lexical-binding.
3418 (align-region): Simplify accordingly.
3419
3420 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3423
3424 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3425 `non-essential' up.
3426
3427 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3428
3429 * net/tramp.el:
3430 * net/tramp-adb.el:
3431 * net/tramp-cmds.el:
3432 * net/tramp-ftp.el:
3433 * net/tramp-gvfs.el:
3434 * net/tramp-gw.el:
3435 * net/tramp-sh.el: Don't wrap external variable declarations by
3436 `eval-when-compile'.
3437
3438 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3439
3440 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3441 now that Emacs supports ImageMagick animations.
3442
3443 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3446 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3447
3448 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (mouse-autoselect-window-select): Do autoselect when
3451 mouse pointer is on margin.
3452
3453 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3454
3455 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3456
3457 2013-08-16 Glenn Morris <rgm@gnu.org>
3458
3459 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3460 Handle "Remote Directory" response of some clients. (Bug#15058)
3461
3462 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3463 Tweak warning. (Bug#14926)
3464
3465 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3466 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3467
3468 * image-mode.el (image-mode-map): Add menu items to reverse,
3469 increase, decrease, reset animation speed.
3470 (image--set-speed, image-increase-speed, image-decrease-speed)
3471 (image-reverse-speed, image-reset-speed): New functions.
3472 (image-mode-map): Add bindings for speed commands.
3473
3474 * image.el (image-animate-get-speed, image-animate-set-speed):
3475 New functions.
3476 (image-animate-timeout): Respect image :speed property.
3477
3478 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3479
3480 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3481 previous line (bug#15101).
3482 (debugger-eval-expression, debugger-record-expression):
3483 Use read--expression (bug#15102).
3484
3485 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3486
3487 Remove byte compiler warnings, visible when compiling with
3488 `byte-compile-force-lexical-warnings' set to t.
3489
3490 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3491 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3492 (tramp-handle-unhandled-file-name-directory)
3493 (tramp-handle-file-notify-add-watch, tramp-action-login)
3494 (tramp-action-succeed, tramp-action-permission-denied)
3495 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3496 arguments with "_".
3497
3498 * net/tramp-adb.el (tramp-adb-parse-device-names)
3499 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3500 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3501 (tramp-adb-handle-file-truename): Remove unused arguments.
3502
3503 * net/tramp-cache.el (tramp-flush-directory-property)
3504 (tramp-flush-connection-property, tramp-list-connections)
3505 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3506
3507 * net/tramp-compat.el (tramp-compat-make-temp-file):
3508 Rename FILENAME to F.
3509
3510 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3511 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3512 (tramp-zeroconf-parse-workstation-device-names)
3513 (tramp-zeroconf-parse-webdav-device-names)
3514 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3515
3516 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3517 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3518
3519 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3520 arguments.
3521 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3522 (tramp-sh-handle-insert-file-contents-literally)
3523 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3524 with "_".
3525 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3526 Remove unused variables.
3527
3528 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3529 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3530 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3531
3532 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3533 Make them a defconst.
3534 (tramp-uuencode-region): Remove unused variable.
3535
3536 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3537
3538 * frameset.el (frameset--prop-setter): New function.
3539 (frameset-prop): Add gv-setter declaration.
3540 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3541 parameter was already set in FILTERED. Doc fix.
3542 (frameset--record-minibuffer-relationships): Allow saving a
3543 minibufferless frame without its corresponding minibuffer frame.
3544 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3545 frame, if the frame id matches.
3546 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3547 frames before orphaned ones.
3548 (frameset-restore): Warn about orphaned windows, instead of error out.
3549
3550 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3551
3552 * window.el (window-make-atom): Don't overwrite parameter
3553 already present.
3554 (display-buffer-in-atom-window): Handle special case where we
3555 split an already atomic window.
3556 (window--major-non-side-window, display-buffer-in-side-window)
3557 (window--side-check): Ignore minibuffer window when walking
3558 window tree.
3559 (window-deletable-p): Return 'frame only if no other frame uses
3560 our minibuffer window.
3561 (record-window-buffer): Run buffer-list-update-hook.
3562 (split-window): Make sure window--check-frame won't destroy an
3563 existing atomic window in case the new window gets nested
3564 inside.
3565 (display-buffer-at-bottom): Ignore minibuffer window when
3566 walking window tree. Don't split a side window.
3567 (pop-to-buffer): Don't set-buffer here, the select-window call
3568 should do that.
3569 (mouse-autoselect-window-select): Autoselect only if we are in the
3570 text portion of the window.
3571
3572 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3573
3574 * net/shr.el (shr-parse-image-data): New function to grab both the
3575 data itself and the Content-Type.
3576 (shr-put-image): Use it.
3577
3578 * net/eww.el (eww-display-image): Ditto.
3579
3580 * image.el (image-content-type-suffixes): New variable.
3581
3582 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3583
3584 * progmodes/python.el (python-imenu--build-tree)
3585 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3586
3587 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3588
3589 * simple.el (backward-word): Mention the optional argument.
3590
3591 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * frameset.el (frameset--make): Rename constructor from make-frameset.
3594 (frameset-p, frameset-valid-p): Don't autoload.
3595 (frameset-valid-p): Use normal accessors.
3596
3597 2013-08-13 Glenn Morris <rgm@gnu.org>
3598
3599 * progmodes/compile.el (compile-command): Tweak example in doc.
3600 * obsolete/scribe.el (scribe-mode):
3601 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3602
3603 * mail/feedmail.el (feedmail-confirm-outgoing)
3604 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3605
3606 * cus-start.el (truncate-partial-width-windows): Fix type.
3607
3608 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3609
3610 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3611
3612 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3613
3614 * emacs-lisp/timer.el (timer--time-setter): New function.
3615 (timer--time): Use it as gv-setter.
3616
3617 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3618 setter is not a symbol.
3619
3620 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3621
3622 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3623 if sending fails. This makes debugging easier.
3624
3625 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3626
3627 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3628 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3629 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3630
3631 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3632
3633 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3634
3635 2013-08-12 Glenn Morris <rgm@gnu.org>
3636
3637 * format.el (format-annotate-function):
3638 Handle read-only text properties in the source. (Bug#14887)
3639
3640 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3641
3642 * net/eww.el (eww-display-html): Ignore coding system errors.
3643 One web site uses "utf-8lias" as the coding system.
3644
3645 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3646
3647 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3648
3649 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3650
3651 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3652 (tutorial--detailed-help): Remove unused local variables.
3653 (tutorial--save-tutorial-to): Use ignore-errors.
3654 (help-with-tutorial): Use looking-at-p.
3655
3656 * view.el (view-buffer-other-window, view-buffer-other-frame):
3657 Mark unused arguments.
3658
3659 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3660 (woman-select-symbol-fonts, woman, woman-find-file)
3661 (woman-insert-file-contents, woman-non-underline-faces):
3662 Use string-match-p.
3663 (woman1-unquote): Move declaration.
3664
3665 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3666 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3667 argument. Remove unused local variable.
3668 (xml-parse-elem-type): Use string-match-p.
3669 (xml-substitute-numeric-entities): Use ignore-errors.
3670
3671 * calculator.el (calculator): Mark unused argument.
3672 (calculator-paste, calculator-quit, calculator-integer-p):
3673 Use ignore-errors.
3674 (calculator-string-to-number, calculator-decimal, calculator-exp)
3675 (calculator-op-or-exp): Use string-match-p.
3676
3677 * dired.el (dired-buffer-more-recently-used-p): Declare.
3678 (dired-insert-set-properties, dired-insert-old-subdirs):
3679 Use ignore-errors.
3680
3681 * dired-aux.el (dired-compress): Use ignore-errors.
3682 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3683 (dired-do-async-shell-command, dired-do-shell-command)
3684 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3685 (dired-insert-subdir-validate): Use string-match-p.
3686 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3687 (dired-add-entry): Use string-match-p, looking-at-p.
3688 (dired-insert-subdir-newpos): Remove unused local variable.
3689
3690 * filenotify.el (file-notify-callback): Remove unused local variable.
3691
3692 * filesets.el (filesets-error): Mark unused argument.
3693 (filesets-which-command-p, filesets-filter-dir-names)
3694 (filesets-directory-files, filesets-get-external-viewer)
3695 (filesets-ingroup-get-data): Use string-match-p.
3696
3697 * find-file.el (ff-other-file-name, ff-other-file-name)
3698 (ff-find-the-other-file, ff-cc-hh-converter):
3699 Remove unused local variables.
3700 (ff-get-file-name): Use string-match-p.
3701 (ff-all-dirs-under): Use ignore-errors.
3702
3703 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3704 (follow-select-if-visible): Remove unused local variable.
3705
3706 * forms.el (read-file-filter): Move declaration.
3707 (forms--make-format, forms--make-parser, forms-insert-record):
3708 Quote function with #'.
3709 (forms--update): Use string-match-p. Quote function with #'.
3710
3711 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3712 (help-make-xrefs): Use looking-at-p.
3713 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3714
3715 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3716 (ibuffer-confirm-operation-on): Use string-match-p.
3717
3718 * msb.el (msb-item-handler, msb-dired-item-handler):
3719 Mark unused arguments.
3720
3721 * ses.el (ses-decode-cell-symbol)
3722 (ses-kill-override): Remove unused local variable.
3723 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3724 (ses-load): Use ignore-errors, looking-at-p.
3725 (ses-jump-safe): Use ignore-errors.
3726 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3727
3728 * tabify.el (untabify, tabify): Mark unused arguments.
3729
3730 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3731 Mark unused argument.
3732 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3733 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3734
3735 * emacs-lisp/timer.el (timer--time): Define setter with
3736 gv-define-setter to avoid deprecation warning.
3737
3738 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3739 (*record-cmpl-statistics-p*): Remove (was commented out).
3740 (cmpl-statistics-block): Remove (body was commented out).
3741 All callers changed.
3742 (add-completions-from-buffer, load-completions-from-file):
3743 Remove unused variables.
3744
3745 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3746
3747 * filecache.el (file-cache-delete-file-list):
3748 Print message only when told so.
3749 (file-cache-files-matching): Use #' in mapconcat argument.
3750
3751 * ffap.el (ffap-url-at-point): Fix reference to variable
3752 thing-at-point-default-mail-uri-scheme.
3753
3754 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3755
3756 * subr.el (define-error): New function.
3757 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3758 error-file-not-found and define with define-error.
3759 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3760 and define with define-error.
3761 * userlock.el (file-locked, file-supersession):
3762 * simple.el (mark-inactive):
3763 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3764 * progmodes/ada-mode.el (ada-mode-errors):
3765 * play/life.el (life-extinct):
3766 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3767 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3768 * nxml/rng-util.el (rng-error):
3769 * nxml/rng-uri.el (rng-uri-error):
3770 * nxml/rng-match.el (rng-compile-error):
3771 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3772 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3773 * nxml/nxml-rap.el (nxml-scan-error):
3774 * nxml/nxml-outln.el (nxml-outline-error):
3775 * net/soap-client.el (soap-error):
3776 * net/gnutls.el (gnutls-error):
3777 * net/ange-ftp.el (ftp-error):
3778 * mpc.el (mpc-proc-error):
3779 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3780 (json-number-format, json-string-escape, json-string-format)
3781 (json-key-format, json-object-format):
3782 * jka-compr.el (compression-error):
3783 * international/quail.el (quail-error):
3784 * international/kkc.el (kkc-error):
3785 * emacs-lisp/ert.el (ert-test-failed):
3786 * calc/calc.el (calc-error, inexact-result, math-overflow)
3787 (math-underflow):
3788 * bookmark.el (bookmark-error-no-filename):
3789 * epg.el (epg-error): Define with define-error.
3790
3791 * time.el (display-time-event-handler)
3792 (display-time-next-load-average): Don't call sit-for since it seems
3793 unnecessary (bug#15045).
3794
3795 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3796 Use #' instead of ' to quote functions.
3797 (checkdoc-output-mode): Use setq-local.
3798 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3799 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3800 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3801 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3802 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3803 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3804 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3805 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3806
3807 * ido.el (ido-completion-help): Fix up compiler warning.
3808
3809 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3810
3811 * frameset.el (frameset-p): Add autoload cookie.
3812 (frameset--jump-to-register): New function, based on code moved from
3813 register.el.
3814 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3815
3816 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3817 (frameset-restore, frameset-save, frameset-session-filter-alist):
3818 Remove declarations.
3819 (register-alist): Doc fix.
3820 (frameset-to-register): Move to frameset.el.
3821 (jump-to-register, describe-register-1): Remove frameset-specific code.
3822
3823 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3824
3825 * allout-widgets.el (allout-widgets-pre-command-business)
3826 (allout-widgets-post-command-business)
3827 (allout-widgets-after-change-handler)
3828 (allout-decorate-item-and-context, allout-set-boundary-marker)
3829 (allout-body-modification-handler)
3830 (allout-graphics-modification-handler): Mark ignored arguments.
3831 (allout-widgets-post-command-business)
3832 (allout-widgets-exposure-change-processor)
3833 (allout-widgets-exposure-undo-processor)
3834 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3835 (allout-parse-item-at-point, allout-decorate-item-guides)
3836 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3837 * allout.el (epa-passphrase-callback-function): Declare.
3838 (allout-overlay-insert-in-front-handler)
3839 (allout-overlay-interior-modification-handler)
3840 (allout-isearch-end-handler, allout-chart-siblings)
3841 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3842 (allout-yank-processing, allout-process-exposed)
3843 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3844 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3845 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3846 (lisp-indent-defform): Mark ignored arguments.
3847 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3848 (calculate-lisp-indent): Remove unused variables.
3849 * international/characters.el (indian-2-column, arabic-2-column)
3850 (tibetan): Mark ignored arguments.
3851 (use-cjk-char-width-table): Mark ignored arguments.
3852 Remove unused variables.
3853 * international/fontset.el (build-default-fontset-data)
3854 (x-compose-font-name, create-fontset-from-fontset-spec):
3855 Mark ignored arguments.
3856 (fontset-plain-name): Remove unused variables.
3857 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3858 (keyboard-coding-system): Mark ignored arguments.
3859 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3860 * help.el (resize-temp-buffer-window):
3861 * window.el (display-buffer-in-major-side-window)
3862 (display-buffer-in-side-window, display-buffer-in-previous-window):
3863 Remove unused variables.
3864 * isearch.el (isearch-forward-symbol):
3865 * version.el (emacs-bzr-version-bzr):
3866 * international/mule-cmds.el (current-language-environment):
3867 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3868 (x-handle-display):
3869 * term/pc-win.el (x-list-fonts, x-display-planes)
3870 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3871 (x-server-version, x-display-screens, x-display-mm-height)
3872 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3873 (x-selection-owner-p, x-own-selection-internal)
3874 (x-disown-selection-internal, x-get-selection-internal)
3875 (msdos-initialize-window-system):
3876 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3877 * term/x-win.el (x-handle-no-bitmap-icon):
3878 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3879 (vc-default-find-file-hook, vc-default-extra-menu):
3880 Mark ignored arguments.
3881
3882 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3883
3884 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3885 break-condition in the context of the debugged code (bug#12685).
3886
3887 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3888
3889 * comint.el:
3890 Do not use an overlay to highlight the last prompt. (Bug#14744)
3891 (comint-mode): Make comint-last-prompt buffer local.
3892 (comint-last-prompt): New variable.
3893 (comint-last-prompt-overlay): Remove. Superseded by
3894 comint-last-prompt.
3895 (comint-snapshot-last-prompt, comint-output-filter):
3896 Use comint-last-prompt.
3897
3898 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3899
3900 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3901 (frameset-save): Check validity of the resulting frameset.
3902
3903 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3904
3905 * ido.el (ido-record-command): Add doc string.
3906
3907 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3908
3909 * frameset.el (frameset): Do not disable creation of the default
3910 frameset-p predicate. Doc fix.
3911 (frameset-valid-p): New function, copied from the old predicate-p.
3912 Add additional checks.
3913 (frameset-restore): Check with frameset-valid-p.
3914 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3915 (frameset-name, frameset-description, frameset-properties)
3916 (frameset-states): Add docstring.
3917 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3918 (frameset-filter-alist): Doc fixes.
3919
3920 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3921
3922 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3923
3924 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3927 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3928 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3929 (byte-compile-normal-call): Remove obsolescence check.
3930
3931 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3932
3933 * frameset.el (frameset-restore): Doc fix.
3934
3935 * register.el (frameset-frame-id, frameset-frame-with-id)
3936 (frameset-p, frameset-restore, frameset-save): Declare.
3937 (register-alist): Document framesets.
3938 (frameset-session-filter-alist): Declare.
3939 (frameset-to-register): New function.
3940 (jump-to-register): Implement jumping to framesets. Doc fix.
3941 (describe-register-1): Describe framesets.
3942
3943 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3944
3945 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3946
3947 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3948 Use lexical-binding.
3949
3950 * frameset.el (frameset): Use type vector, not list (incompatible
3951 change). Do not declare a new constructor, use the default one.
3952 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3953 `name' and `description', respectively, and add read-only slot
3954 `timestamp'. Doc fixes.
3955 (frameset-copy, frameset-persistent-filter-alist)
3956 (frameset-filter-alist, frameset-switch-to-gui-p)
3957 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3958 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3959 (frameset-filter-iconified, frameset-keep-original-display-p):
3960 Doc fixes.
3961 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3962 Rename from frameset-filter-(save|restore)-param. All callers changed.
3963 Doc fix.
3964 (frameset-p): Adapt to change to vector and be more thorough.
3965 Change arg name to OBJECT. Doc fix.
3966 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3967 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3968 All callers changed.
3969 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3970 All callers changed.
3971 (frameset--record-minibuffer-relationships): Rename from
3972 frameset--process-minibuffer-frames. All callers changed.
3973 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3974 Use new default constructor (again). Doc fix.
3975 (frameset--find-frame-if): Rename from `frameset--find-frame.
3976 All callers changed.
3977 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3978 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3979 Doc fix.
3980 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3981 PARAMETERS and WINDOW-STATE, respectively.
3982 (frameset-restore): Add new keyword argument PREDICATE.
3983 Reset frameset--target-display to nil. Doc fix.
3984
3985 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3986
3987 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3988 (bat-mode): Use it.
3989 (bat-mode-syntax-table): Mark \n as end-of-comment.
3990 (bat-font-lock-keywords): Remove comment rule.
3991
3992 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3993 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3994
3995 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3996 (byte-compile-callargs-warn): Use `push'.
3997 (byte-compile-arglist-warn): Ignore higher-order "calls".
3998 (byte-compile-file-form-autoload): Use `pcase'.
3999 (byte-compile-function-form): If quoting a symbol, check that it exists.
4000
4001 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4002
4003 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4004 and add a few popular commands found in batch files.
4005 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4006 (dos-mode): Doc fixes.
4007
4008 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4009
4010 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4011 (dos-mode): Use setq-local. Add space after "rem".
4012 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4013 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4014
4015 2013-08-07 Arni Magnusson <arnima@hafro.is>
4016
4017 * progmodes/dos.el: New file.
4018 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4019 dos-mode.
4020
4021 2013-08-06 Glenn Morris <rgm@gnu.org>
4022
4023 * calendar/calendar.el: Add new faces, and day-header-array.
4024 (calendar-weekday-header, calendar-weekend-header)
4025 (calendar-month-header): New faces.
4026 (calendar-day-header-construct): New function.
4027 (calendar-day-header-width): Also :set calendar-day-header-array.
4028 (calendar-american-month-header, calendar-european-month-header)
4029 (calendar-iso-month-header): Use calendar- faces.
4030 (calendar-generate-month):
4031 Use calendar-day-header-array for day headers; apply faces to them.
4032 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4033 (calendar-abbrev-construct): Add optional maxlen argument.
4034 (calendar-day-name-array): Doc fix.
4035 (calendar-day-name-array, calendar-abbrev-length)
4036 (calendar-day-abbrev-array):
4037 Also :set calendar-day-header-array, and maybe redraw.
4038 (calendar-day-header-array): New option. (Bug#15007)
4039 (calendar-font-lock-keywords): Set to nil and make obsolete.
4040 (calendar-day-name): Add option to use header array.
4041
4042 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043
4044 * net/shr.el (shr-render-td): Remove debugging.
4045 (shr-render-td): Make width computation consistent by defaulting
4046 all zero-width columns to 10 characters. This may not be optimal,
4047 but it's at least consistent.
4048 (shr-make-table-1): Redo last change to fix the real problem in
4049 colspan handling.
4050
4051 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4052
4053 * files.el (cache-long-line-scans):
4054 Make obsolete alias to `cache-long-scans'.
4055
4056 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4057
4058 * frameset.el (frameset, frameset-filter-alist)
4059 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4060 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4061 (frameset-compute-pos): Rename from frameset--compute-pos,
4062 and add docstring.
4063 (frameset-move-onscreen): Use frameset-compute-pos.
4064 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4065
4066 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4067 Fix typos in docstrings.
4068
4069 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4070
4071 * frame.el (get-other-frame): Tiny cleanup.
4072
4073 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * vc/vc.el (vc-default-ignore-completion-table):
4076 Silence byte-compiler warning.
4077
4078 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4079 slot , which can indeed be nil.
4080 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4081 Move entry for `left' from persistent to live filter alist.
4082 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4083 Doc fixes.
4084 (frameset-filter-params): When restoring a frame, copy items added to
4085 `filtered', to avoid unwittingly modifying the original parameters.
4086 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4087 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4088
4089 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4090 to use looking-at-p instead of looking-at. (Bug#15028)
4091
4092 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4093
4094 Revert introduction of isearch-filter-predicates (bug#14714).
4095 Rely on add-function instead.
4096 * isearch.el (isearch-filter-predicates): Rename it back to
4097 isearch-filter-predicate.
4098 (isearch-message-prefix): Use advice-function-mapc and advice
4099 properties to get the isearch-message-prefix.
4100 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4101 instead of run-hook-with-args-until-failure.
4102 (isearch-filter-visible): Not obsolete any more.
4103 * loadup.el: Preload nadvice.
4104 * replace.el (perform-replace): Revert to funcall
4105 instead of run-hook-with-args-until-failure.
4106 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4107 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4108 dired-isearch-filenames-toggle; make it into a proper minor mode.
4109 Use add/remove-function.
4110 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4111 Call the minor-mode rather than add/remove-hook.
4112 (dired-isearch-filter-filenames):
4113 Remove isearch-message-prefix property.
4114 * info.el (Info--search-loop): New function, extracted from Info-search.
4115 Funcall isearch-filter-predicate instead of
4116 run-hook-with-args-until-failure isearch-filter-predicates.
4117 (Info-search): Use it.
4118 (Info-mode): Use isearch-filter-predicate instead of
4119 isearch-filter-predicates.
4120
4121 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4122
4123 Do not call to `selected-window' where it is assumed by default.
4124 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4125 `window-hscroll', `window-width', `window-height', `window-buffer',
4126 `window-frame', `window-start', `window-point', `next-window'
4127 and `window-display-table'.
4128 * abbrev.el (abbrev--default-expand):
4129 * bs.el (bs--show-with-configuration):
4130 * buff-menu.el (Buffer-menu-mouse-select):
4131 * calc/calc.el (calc):
4132 * calendar/calendar.el (calendar-generate-window):
4133 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4134 (diary-make-entry):
4135 * comint.el (send-invisible, comint-dynamic-complete-filename)
4136 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4137 * completion.el (complete):
4138 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4139 * disp-table.el (describe-current-display-table):
4140 * doc-view.el (doc-view-insert-image):
4141 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4142 * ehelp.el (with-electric-help):
4143 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4144 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4145 * emacs-lisp/helper.el (Helper-help-scroller):
4146 * emulation/cua-base.el (cua--post-command-handler-1):
4147 * eshell/esh-mode.el (eshell-output-filter):
4148 * ffap.el (ffap-gnus-wrapper):
4149 * help-macro.el (make-help-screen):
4150 * hilit-chg.el (highlight-compare-buffers):
4151 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4152 * hl-line.el (global-hl-line-highlight):
4153 * icomplete.el (icomplete-simple-completing-p):
4154 * isearch.el (isearch-done):
4155 * jit-lock.el (jit-lock-stealth-fontify):
4156 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4157 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4158 * mpc.el (mpc-tagbrowser, mpc):
4159 * net/rcirc.el (rcirc-any-buffer):
4160 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4161 * play/landmark.el (landmark-max-width, landmark-max-height):
4162 * play/zone.el (zone):
4163 * progmodes/compile.el (compilation-goto-locus):
4164 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4165 * progmodes/etags.el (find-tag-other-window):
4166 * progmodes/fortran.el (fortran-column-ruler):
4167 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4168 * progmodes/verilog-mode.el (verilog-point-text):
4169 * reposition.el (reposition-window):
4170 * rot13.el (toggle-rot13-mode):
4171 * server.el (server-switch-buffer):
4172 * shell.el (shell-dynamic-complete-command)
4173 (shell-dynamic-complete-environment-variable):
4174 * simple.el (insert-buffer, set-selective-display)
4175 (delete-completion-window):
4176 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4177 (speedbar-recenter):
4178 * startup.el (fancy-splash-head):
4179 * textmodes/ispell.el (ispell-command-loop):
4180 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4181 * tutorial.el (help-with-tutorial):
4182 * vc/add-log.el (add-change-log-entry):
4183 * vc/compare-w.el (compare-windows):
4184 * vc/ediff-help.el (ediff-indent-help-message):
4185 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4186 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4187 (ediff-setup-control-frame):
4188 * vc/emerge.el (emerge-position-region):
4189 * vc/pcvs-util.el (cvs-bury-buffer):
4190 * window.el (walk-windows, mouse-autoselect-window-select):
4191 * winner.el (winner-set-conf, winner-undo): Related users changed.
4192
4193 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * frameset.el (frameset--set-id): Doc fix.
4196 (frameset-frame-id, frameset-frame-id-equal-p)
4197 (frameset-locate-frame-id): New functions.
4198 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4199 (frameset-restore): Use them.
4200
4201 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4202
4203 Do not call to `selected-frame' where it is assumed by default.
4204 Affected functions are `raise-frame', `redraw-frame',
4205 `frame-first-window', `frame-terminal' and `delete-frame'.
4206 * calendar/appt.el (appt-disp-window):
4207 * epg.el (epg-wait-for-completion):
4208 * follow.el (follow-delete-other-windows-and-split)
4209 (follow-avoid-tail-recenter):
4210 * international/mule.el (set-terminal-coding-system):
4211 * mail/rmail.el (rmail-mail-return):
4212 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4213 * progmodes/f90.el (f90-add-imenu-menu):
4214 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4215 * server.el (server-switch-buffer):
4216 * simple.el (delete-completion-window):
4217 * talk.el (talk):
4218 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4219 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4220 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4221 * vc/ediff.el (ediff-documentation): Related users changed.
4222 * frame.el (selected-terminal): Remove the leftover.
4223
4224 2013-08-05 Glenn Morris <rgm@gnu.org>
4225
4226 * calendar/calendar.el (calendar-generate-month):
4227 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4228 (calendar-generate-month, calendar-font-lock-keywords):
4229 Fix for calendar-day-header-width > length of any day name.
4230
4231 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * desktop.el (desktop-clear): Use new name of sort predicate.
4234
4235 * frameset.el (frameset): Add docstring. Move :version property to its
4236 own `version' slot.
4237 (frameset-copy): Rename from copy-frameset.
4238 (frameset-p): Check more thoroughly.
4239 (frameset-prop): Do not check for :version, which is no longer a prop.
4240 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4241 Use new :never value instead of t.
4242 (frameset-filter-alist): Expand and clarify docstring.
4243 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4244 (frameset-filter-minibuffer, frameset-filter-save-param)
4245 (frameset-filter-restore-param, frameset-filter-iconified):
4246 Add pointer to docstring of frameset-filter-alist.
4247 (frameset-filter-params): Rename filter values to be more meaningful:
4248 :never instead of t, and reverse the meanings of :save and :restore.
4249 (frameset--process-minibuffer-frames): Clarify error message.
4250 (frameset-save): Avoid unnecessary and confusing call to framep.
4251 Use new BOA constructor for framesets.
4252 (frameset--reuse-list): Doc fix.
4253 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4254 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4255 (frameset-minibufferless-first-p): Doc fix.
4256 Rename from frameset-sort-frames-for-deletion.
4257 (frameset-restore): Doc fixes. Use new function names.
4258 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4259
4260 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4261
4262 * desktop.el (desktop-restore-forces-onscreen)
4263 (desktop-restore-reuses-frames): Document :keyword constant values.
4264 (desktop-filter-parameters-alist): Remove, now identical to
4265 frameset-filter-alist.
4266 (desktop--filter-tty*): Remove, moved to frameset.el.
4267 (desktop-save-frameset, desktop-restore-frameset):
4268 Do not pass :filters argument.
4269
4270 * frameset.el (frameset-live-filter-alist)
4271 (frameset-persistent-filter-alist): New variables.
4272 (frameset-filter-alist): Use them. Add autoload cookie.
4273 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4274 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4275 `frameset--id' (it's supposed to be internal to frameset.el).
4276 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4277 (frameset--initial-params): New function.
4278 (frameset--get-frame): Use it. Doc fix.
4279 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4280 Accept :all, not 'all.
4281 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4282 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4283 with fbound symbols. Fix frame id matching, and remove matching ids if
4284 the frame being restored is deleted. Obey :delete.
4285
4286 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * subr.el (macrop): New function.
4289 (text-clone--maintaining): New var.
4290 (text-clone--maintain): Rename from text-clone-maintain. Use it
4291 instead of inhibit-modification-hooks.
4292
4293 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4294 a proxy, so as handle autoloads and redefinitions of the target.
4295 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4296
4297 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4298 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4299 (pcase--mutually-exclusive-p): New function.
4300 (pcase--split-consp): Use it.
4301 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4302 mutually exclusive with the current predicate.
4303
4304 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4305 (edebug-macrop): Remove. Use `macrop' instead.
4306 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4307 (ad-macro-p):
4308 * eshell/esh-cmd.el (eshell-macrop):
4309 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4310
4311 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4312
4313 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4314 (advice-mapc): New function, using it.
4315 (advice-function-member-p): New function.
4316 (advice--normalize): Store the cdr in advice--saved-rewrite since
4317 that's the part that will be changed.
4318 (advice--symbol-function): New function.
4319 (advice-remove): Handle removal before the function is defined.
4320 Adjust to new advice--saved-rewrite.
4321 (advice-member-p): Use advice-function-member-p and
4322 advice--symbol-function.
4323
4324 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4325
4326 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4327 (frameset-filter-minibuffer): Doc fix.
4328 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4329 (frameset--set-id, frameset--process-minibuffer-frames)
4330 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4331 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4332
4333 * desktop.el (desktop-clear): Only delete frames when called
4334 interactively and desktop-restore-frames is non-nil. Doc fix.
4335 (desktop-read): Set desktop-saved-frameset to nil.
4336
4337 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4338
4339 * vc/vc.el (vc-ignore): Rewrite.
4340 (vc-default-ignore-completion-table):
4341 (vc--read-lines):
4342 (vc--add-line, vc--remove-regexp): New functions.
4343
4344 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4345 (vc-svn-ignore-completion-table): New function.
4346
4347 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4348 (vc-hg-ignore-completion-table):
4349 (vc-hg-find-ignore-file): New functions.
4350
4351 * vc/vc-git.el (vc-git-ignore): Rewrite.
4352 (vc-git-ignore-completion-table):
4353 (vc-git-find-ignore-file): New functions.
4354
4355 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4356
4357 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4358 (vc-bzr-ignore-completion-table):
4359 (vc-bzr-find-ignore-file): New functions.
4360
4361 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4362
4363 * frameset.el (frameset-prop): New function and setter.
4364 (frameset-save): Do not modify frame list passed by the caller.
4365
4366 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4367
4368 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4369
4370 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4373 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4374
4375 * custom.el (custom-initialize-default, custom-initialize-set)
4376 (custom-initialize-reset, custom-initialize-changed): Affect the
4377 toplevel-default-value (bug#6275, bug#14586).
4378 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4379 for bug#6275.
4380
4381 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4382
4383 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4384 Add cl-def* expressions.
4385
4386 * frameset.el (frameset-filter-params): Fix order of arguments.
4387
4388 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4389
4390 Move code related to saving frames to frameset.el.
4391 * desktop.el: Require frameset.
4392 (desktop-restore-frames): Doc fix.
4393 (desktop-restore-reuses-frames): Rename from
4394 desktop-restoring-reuses-frames.
4395 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4396 (desktop-clear): Clear frames too.
4397 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4398 (desktop--filter-tty*, desktop-save, desktop-read):
4399 Use frameset functions.
4400 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4401 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4402 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4403 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4404 (desktop--process-minibuffer-frames, desktop-save-frames)
4405 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4406 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4407 (desktop--sort-states, desktop-restoring-frames-p)
4408 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4409 (desktop-restoring-frameset-p, desktop-restore-frameset)
4410 (desktop--check-dont-save, desktop-save-frameset): New functions.
4411 (desktop--app-id): New constant.
4412 (desktop-first-buffer, desktop-buffer-ok-count)
4413 (desktop-buffer-fail-count): Move before first use.
4414 * frameset.el: New file.
4415
4416 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * files.el: Use lexical-binding.
4419 (dir-locals-read-from-file): Remove unused `err' variable.
4420 (hack-dir-local-variables--warned-coding): New var.
4421 (hack-dir-local-variables): Use it to avoid repeated warnings.
4422 (make-backup-file-name--default-function): New function.
4423 (make-backup-file-name-function): Use it as default.
4424 (buffer-stale--default-function): New function.
4425 (buffer-stale-function): Use it as default.
4426 (revert-buffer-insert-file-contents--default-function): New function.
4427 (revert-buffer-insert-file-contents-function): Use it as default.
4428 (insert-directory): Avoid add-to-list.
4429
4430 * autorevert.el (auto-revert-handler): Simplify.
4431 Use buffer-stale--default-function.
4432
4433 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4434
4435 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4436
4437 * whitespace.el (whitespace-ensure-local-variables): New function.
4438 (whitespace-cleanup-region): Call it.
4439 (whitespace-turn-on): Call it.
4440
4441 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4442
4443 Complete file name handlers.
4444
4445 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4446 (tramp-handle-verify-visited-file-modtime)
4447 (tramp-handle-file-notify-rm-watch): New functions.
4448 (tramp-call-process): Do not bind `default-directory'.
4449
4450 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4451 Order alphabetically.
4452 [access-file, add-name-to-file, dired-call-process]:
4453 [dired-compress-file, file-acl, file-notify-rm-watch]:
4454 [file-ownership-preserved-p, file-selinux-context]:
4455 [make-directory-internal, make-symbolic-link, set-file-acl]:
4456 [set-file-selinux-context, set-visited-file-modtime]:
4457 [verify-visited-file-modtime]: Add handler.
4458 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4459
4460 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4461 [file-notify-add-watch, file-notify-rm-watch]:
4462 [set-file-times, set-visited-file-modtime]:
4463 [verify-visited-file-modtime]: Add handler.
4464 (with-tramp-gvfs-error-message)
4465 (tramp-gvfs-handle-set-visited-file-modtime)
4466 (tramp-gvfs-fuse-file-name): Remove.
4467 (tramp-gvfs-handle-file-notify-add-watch)
4468 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4469 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4470
4471 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4472 Order alphabetically.
4473 [file-notify-rm-watch ]: Use default Tramp handler.
4474 [executable-find]: Remove private handler.
4475 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4476 `default-directory'.
4477 (tramp-sh-handle-executable-find)
4478 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4479 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4480 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4481 Do not use `format' in `tramp-message'.
4482
4483 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4484 [file-notify-rm-watch, set-visited-file-modtime]:
4485 [verify-visited-file-modtime]: Add handler.
4486 (tramp-smb-call-winexe): Do not bind `default-directory'.
4487
4488 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4489
4490 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4491
4492 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4493
4494 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4495 use it.
4496 (log-view-diff-changeset): Same.
4497 (log-view-diff-common): Call backend command `previous-revision'
4498 to find out the previous revision, in both cases. Swap the
4499 variables `to' and `fr', so that `fr' usually refers to the
4500 earlier revision (Bug#14989).
4501
4502 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4503
4504 * ibuf-ext.el (ibuffer-filter-by-filename):
4505 Make it work with dired buffers too.
4506
4507 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4508
4509 * emacs-lisp/re-builder.el (reb-color-display-p):
4510 * files.el (save-buffers-kill-terminal):
4511 * net/browse-url.el (browse-url):
4512 * server.el (server-save-buffers-kill-terminal):
4513 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4514 Prefer nil to selected-frame for the first arg of frame-parameter.
4515
4516 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4517
4518 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4519
4520 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4521
4522 * minibuffer.el (completion--twq-all): Try and preserve each
4523 completion's case choice (bug#14907).
4524
4525 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4526
4527 * net/network-stream.el (open-network-stream): Mention the new
4528 :nogreeting parameter.
4529 (network-stream-open-starttls): Use the :nogreeting parameter
4530 (bug#14938).
4531
4532 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4533
4534 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4535 more natural than popping.
4536
4537 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4538 (shr-urlify): Highlight under mouse.
4539
4540 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4541
4542 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4543
4544 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4545
4546 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4547 buffer for output.
4548
4549 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4550 point-min==1. Fix search string. Fix parentheses missing.
4551
4552 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4553 assume point-min==1. Fix search string. Fix parentheses missing.
4554
4555 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4556
4557 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4558 buffer for output.
4559
4560 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4561
4562 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4563 initial frame is minibuffer-less. (Bug#14841)
4564
4565 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4566
4567 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4568 option.
4569
4570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4571 (tramp-maybe-open-connection): Use it.
4572
4573 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4574
4575 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4576 minimal set of parameters passed when creating a frame, because
4577 the minibuffer status of a frame cannot be changed later.
4578
4579 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4580
4581 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4582 replace-regexp-in-string and inadvertent omissions in previous change.
4583 (todo-filter-items): Ensure only file names are comma-separated in
4584 name of filtered items buffer.
4585
4586 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4587
4588 * desktop.el: Optionally force offscreen frames back onscreen.
4589 (desktop-restoring-reuses-frames): New option.
4590 (desktop--compute-pos, desktop--move-onscreen): New functions.
4591 (desktop--make-frame): Use desktop--move-onscreen.
4592
4593 2013-07-27 Alan Mackenzie <acm@muc.de>
4594
4595 Fontify a Java generic method as a function.
4596 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4597 value to t.
4598
4599 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4600
4601 * calendar/todo-mode.el: Add command to rename todo files.
4602 (todo-rename-file): New command.
4603 (todo-key-bindings-t): Add key binding for it. Change the
4604 bindings of todo-filter-regexp-items(-multifile) to use `x'
4605 instead of `r', since the latter is better suited to the new
4606 renaming command.
4607
4608 2013-07-27 Alan Mackenzie <acm@muc.de>
4609
4610 Make Java try-with-resources statement parse properly.
4611 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4612 (c-block-stmt-1-2-key): New language constants/variables.
4613 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4614 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4615 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4616 with c-block-stmt-1-2-key.
4617
4618 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4619
4620 * desktop.el (desktop--make-frame): Apply most frame parameters after
4621 creating the frame to force (partially or totally) offscreen frames to
4622 be restored as such.
4623
4624 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4625
4626 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4627 (Bug#14948)
4628
4629 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4632 `base' arg of backtrace-frame.
4633
4634 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4635
4636 * simple.el (list-processes): Doc fix.
4637
4638 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4639
4640 * desktop.el (desktop--select-frame):
4641 Try harder to reuse existing frames.
4642
4643 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4646 (edebug-eval): Use backtrace-eval.
4647 (edebug--display, edebug--recursive-edit): Don't let-bind the
4648 edebug-outer-* vars that keep track of variables we locally let-bind.
4649 (edebug-outside-excursion): Don't restore outside values of locally
4650 let-bound vars.
4651 (edebug--display): Use user-error.
4652 (cl-lexical-debug, cl-debug-env): Remove.
4653
4654 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4655
4656 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4657 are restored to be sure that they are visible before deleting any
4658 remaining ones.
4659
4660 2013-07-26 Matthias Meulien <orontee@gmail.com>
4661
4662 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4663 vc-print-root-log. (Bug#14948)
4664
4665 2013-07-26 Richard Stallman <rms@gnu.org>
4666
4667 Add aliases for encrypting mail.
4668 * epa.el (epa-mail-aliases): New option.
4669 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4670 Bind inhibit-read-only so read-only text doesn't ruin everything.
4671 (epa-mail-default-recipients): New subroutine broken out.
4672 Handle epa-mail-aliases.
4673
4674 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 Add support for lexical variables to the debugger's `e' command.
4677 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4678 vars, except for debugger-outer-match-data.
4679 (debugger-frame-number): Move check for "on a function call" from
4680 callers into it. Add `skip-base' argument.
4681 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4682 (debugger-env-macro): Only reset the state stored in non-variables,
4683 i.e. current-buffer and match-data.
4684 (debugger-eval-expression): Rewrite using backtrace-eval.
4685 * subr.el (internal--called-interactively-p--get-frame): Remove.
4686 (called-interactively-p):
4687 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4688 `base' arg of backtrace-frame instead.
4689
4690 2013-07-26 Glenn Morris <rgm@gnu.org>
4691
4692 * align.el (align-regexp): Doc fix. (Bug#14857)
4693 (align-region): Explicit error if subexpression missing/does not match.
4694
4695 * simple.el (global-visual-line-mode):
4696 Do not duplicate the mode lighter. (Bug#14858)
4697
4698 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4699
4700 * window.el (display-buffer): In display-buffer bind
4701 split-window-keep-point to t, bug#14829.
4702
4703 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4704
4705 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4706 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4707 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4708 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4709 Change accordingly.
4710 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4711 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4712
4713 2013-07-25 Glenn Morris <rgm@gnu.org>
4714
4715 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4716
4717 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4718
4719 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4720 parameter to modify-frame-parameters if the value has not changed;
4721 this is a workaround for bug#14949.
4722 (desktop--make-frame): On cl-delete-if call, check parameter name,
4723 not full parameter.
4724
4725 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4726
4727 * vc/vc.el (vc-ignore): New function.
4728
4729 * vc/vc-svn.el (vc-svn-ignore): New function.
4730
4731 * vc/vc-hg.el (vc-hg-ignore): New function.
4732
4733 * vc/vc-git.el (vc-git-ignore): New function.
4734
4735 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4736 (vc-dir-ignore): New function.
4737
4738 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4739 (cvs-append-to-ignore): Move here from pcvs.el.
4740
4741 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4742
4743 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4744
4745 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4746
4747 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4748 (desktop-restore-frames): Warn when deleting an existing frame failed.
4749
4750 2013-07-24 Glenn Morris <rgm@gnu.org>
4751
4752 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4753
4754 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4755
4756 * filenotify.el (file-notify-supported-p):
4757 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4758 Remove functions.
4759
4760 * autorevert.el (auto-revert-use-notify):
4761 (auto-revert-notify-add-watch):
4762 * net/tramp.el (tramp-file-name-for-operation):
4763 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4764 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4765 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4766 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4767 Remove `file-notify-supported-p' entry.
4768
4769 2013-07-24 Glenn Morris <rgm@gnu.org>
4770
4771 * printing.el: Replace all uses of deleted ps-windows-system,
4772 ps-lp-system, ps-flatten-list with lpr- versions.
4773
4774 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4775
4776 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4777 checked with memq (bug#14935).
4778
4779 * files.el (revert-buffer-function): Use a non-nil default.
4780 (revert-buffer-preserve-modes): Declare var to
4781 provide access to the `preserve-modes' argument.
4782 (revert-buffer): Let-bind it.
4783 (revert-buffer--default): New function, extracted from revert-buffer.
4784
4785 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4786
4787 * lpr.el: Signal print errors more prominently.
4788 (print-region-function): Don't default to nil.
4789 (lpr-print-region): New function, extracted from print-region-1.
4790 Check lpr's return value and signal an error in case of problem.
4791 (print-region-1): Use it.
4792 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4793 versions instead.
4794 (ps-printer-name): Default to nil.
4795 (ps-printer-name-option): Default to lpr-printer-switch.
4796 (ps-print-region-function): Don't default to nil.
4797 (ps-postscript-code-directory): Simplify default.
4798 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4799 (ps-string-list, ps-eval-switch, ps-flatten-list)
4800 (ps-flatten-list-1): Remove.
4801 (ps-multibyte-buffer): Avoid setq.
4802 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4803 (print-region-function, ps-print-region-function): Don't set them here.
4804
4805 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4806
4807 * ido.el (ido-fractionp):
4808 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4809 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4810 (ido-max-directory-size, ido-max-dir-file-cache)
4811 (ido-decorations): Doc fix.
4812
4813 * ansi-color.el: Fix old URL.
4814
4815 2013-07-23 Michael R. Mauger <michael@mauger.com>
4816
4817 * progmodes/sql.el: Version 3.3
4818 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4819 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4820 (sql-interactive-remove-continuation-prompt): Rewrite, use
4821 functions above. Fix continuation prompt and complete output line
4822 handling.
4823 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4824 redirected output buffer.
4825 (sql-mode): Restore deleted code (Bug#13591).
4826
4827 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4828
4829 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4830
4831 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4832
4833 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4834
4835 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4836 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4838
4839 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4840
4841 * desktop.el (desktop-clear): Simplify; remove useless checks
4842 against invalid buffer names.
4843 (desktop-list*): Use cl-list*.
4844 (desktop-buffer-info, desktop-create-buffer): Simplify.
4845
4846 2013-07-23 Leo Liu <sdl.web@gmail.com>
4847
4848 * bookmark.el (bookmark-make-record): Restore NAME as a default
4849 value. (Bug#14933)
4850
4851 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4854 extracted from autoload--insert-text.
4855 (autoload--insert-text): Remove.
4856 (autoload--print-cookie-text): New function, extracted from
4857 autoload--insert-cookie-text.
4858 (autoload--insert-cookie-text): Remove.
4859 (autoload-generate-file-autoloads): Adjust calls accordingly.
4860
4861 * winner.el (winner-hook-installed-p): Remove.
4862 (winner-mode): Simplify accordingly.
4863
4864 * subr.el (add-to-list): Fix compiler-macro when `append' is
4865 not constant. Don't use `cl-member' for the base case.
4866
4867 * progmodes/subword.el: Fix boundary case (bug#13758).
4868 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4869 own group.
4870 (subword-backward-regexp): Make it a constant.
4871 (subword-forward-internal): Don't treat a trailing capital as the
4872 beginning of a word.
4873
4874 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4875
4876 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4877 global value of tabulated-list-revert-hook (bug#14930).
4878
4879 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * desktop.el: Require 'cl-lib.
4882 (desktop-before-saving-frames-functions): New hook.
4883 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4884 for frames being saved. Rename from desktop--save-minibuffer-frames.
4885 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4886 Do not save frames with non-nil `desktop-dont-save' parameter.
4887 Filter out deleted frames.
4888 (desktop--find-frame): Use cl-find-if.
4889 (desktop--select-frame): Use cl-(first|second|third) to access values
4890 of desktop-mini.
4891 (desktop--make-frame): Use cl-delete-if.
4892 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4893 (desktop-restore-frames): Use cl-(first|second|third) to access values
4894 of desktop-mini. Look for visible frame at the end, not while
4895 restoring frames.
4896
4897 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4898 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4899 Use string-match-p, looking-at-p (bug#14927).
4900
4901 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4902
4903 * desktop.el (desktop-saved-frame-states):
4904 Rename from desktop--saved-states; all users changed.
4905 (desktop-save-frames): Rename from desktop--save-frames.
4906 Do not save state to desktop file.
4907 (desktop-save): Save desktop-saved-frame-states to desktop file
4908 and reset to nil.
4909 (desktop-restoring-frames-p): New function.
4910 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4911 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4912 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4913
4914 * desktop.el: Correctly restore iconified frames.
4915 (desktop--filter-iconified-position): New function.
4916 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4917
4918 2013-07-20 Glenn Morris <rgm@gnu.org>
4919
4920 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4921 Let `message' do the formatting.
4922 (def-gdb-preempt-display-buffer): Add explicit format.
4923
4924 * image-dired.el (image-dired-track-original-file):
4925 Use with-current-buffer.
4926 (image-dired-track-thumbnail): Use with-current-buffer.
4927 Avoid changing point of wrong window.
4928
4929 * image-dired.el (image-dired-track-original-file):
4930 Avoid changing point of wrong window. (Bug#14909)
4931
4932 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4933
4934 * progmodes/gdb-mi.el (gdb-done-or-error):
4935 Guard against "%" in gdb output. (Bug#14127)
4936
4937 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4938
4939 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4940 (Bug#14826)
4941
4942 * international/mule.el (coding-system-iso-2022-flags): Fix last
4943 change.
4944
4945 2013-07-20 Kenichi Handa <handa@gnu.org>
4946
4947 * international/mule.el (coding-system-iso-2022-flags):
4948 Add `8-bit-level-4'. (Bug#8522)
4949
4950 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4951
4952 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4953 (bug#14815).
4954
4955 * net/eww.el (eww-process-text-input): Allow inputting when the
4956 point is at the start of the line, as the properties aren't
4957 front-sticky.
4958
4959 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4960 degenerate widths.
4961
4962 2013-07-19 Richard Stallman <rms@gnu.org>
4963
4964 * epa.el (epa-popup-info-window): Doc fix.
4965
4966 * subr.el (split-string): New arg TRIM.
4967
4968 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4969
4970 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4971 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4972
4973 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4974
4975 * filenotify.el (file-notify--library): Rename from
4976 `file-notify-support'. Do not autoload. Adapt all uses.
4977 (file-notify-supported-p): New defun.
4978
4979 * autorevert.el (auto-revert-use-notify):
4980 Use `file-notify-supported-p' instead of `file-notify-support'.
4981 Adapt docstring.
4982 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4983
4984 * net/tramp.el (tramp-file-name-for-operation):
4985 Add `file-notify-supported-p'.
4986
4987 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4988 New defun.
4989 (tramp-sh-file-name-handler-alist): Add it as handler for
4990 `file-notify-supported-p '.
4991
4992 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4994 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4995 Add `ignore' as handler for `file-notify-*' functions.
4996
4997 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4998
4999 * simple.el (line-move-partial, line-move): Don't start vscroll or
5000 scroll-up if the current line is not taller than the window.
5001 (Bug#14881)
5002
5003 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5004
5005 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5006 highlight question marks in the method names as strings.
5007 (ruby-block-beg-keywords): Inline.
5008 (ruby-font-lock-keyword-beg-re): Extract from
5009 `ruby-font-lock-keywords'.
5010
5011 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5012
5013 * frame.el (blink-cursor-blinks): New defcustom.
5014 (blink-cursor-blinks-done): New defvar.
5015 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5016 (blink-cursor-timer-function): Check if number of blinks has been
5017 done on X and NS.
5018 (blink-cursor-suspend, blink-cursor-check): New defuns.
5019
5020 2013-07-15 Glenn Morris <rgm@gnu.org>
5021
5022 * edmacro.el (edmacro-format-keys): Fix previous change.
5023
5024 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5025
5026 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5027 The hack didn't work outside English locales anyway.
5028
5029 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5030
5031 * simple.el (define-alternatives): Rename from alternatives-define,
5032 per RMS' suggestion.
5033
5034 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5035
5036 * desktop.el (desktop-restore-frames): Change default to t.
5037 (desktop-restore-in-current-display): Now offer more options.
5038 (desktop-restoring-reuses-frames): New customization option.
5039 (desktop--saved-states): Doc fix.
5040 (desktop-filter-parameters-alist): New variable, renamed and expanded
5041 from desktop--excluded-frame-parameters.
5042 (desktop--target-display): New variable.
5043 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5044 (desktop--filter-tty*, desktop--filter-*-color)
5045 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5046 (desktop--filter-save-desktop-parm)
5047 (desktop-restore-in-original-display-p): New functions.
5048 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5049 (desktop--save-minibuffer-frames): New function, inspired by a similar
5050 function from Martin Rudalics.
5051 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5052 (desktop--restore-in-this-display-p): Remove.
5053 (desktop--find-frame): Rename from desktop--find-frame-in-display
5054 and add predicate argument.
5055 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5056 (desktop--reuse-list): New variable.
5057 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5058 New functions.
5059 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5060
5061 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5062
5063 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5064
5065 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5066
5067 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5068 Highlight conversion methods on Kernel.
5069
5070 2013-07-13 Alan Mackenzie <acm@muc.de>
5071
5072 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5073 and comment it out. This out-commenting enables certain C++
5074 declarations to be parsed correctly.
5075
5076 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5077
5078 * international/mule.el (define-coding-system): Doc fix.
5079
5080 * simple.el (default-font-height): Don't call font-info if the
5081 frame's default font didn't change since the frame was created.
5082 (Bug#14838)
5083
5084 2013-07-13 Leo Liu <sdl.web@gmail.com>
5085
5086 * ido.el (ido-read-file-name): Guard against non-symbol value.
5087
5088 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5089
5090 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5091 in nested defuns.
5092
5093 2013-07-13 Leo Liu <sdl.web@gmail.com>
5094
5095 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5096 ido-set-matches call. (Bug#6852)
5097
5098 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5099
5100 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5101 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5102 Ruby 2.0.
5103 (ruby-font-lock-keywords): Distinguish calls to functions with
5104 module-like names from module references. Highlight character
5105 literals.
5106
5107 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5108
5109 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5110 (gdb-send): Handle continued commands. (Bug#14847)
5111
5112 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * desktop.el (desktop--v2s): Remove unused local variable.
5115 (desktop-save-buffer): Make defvar-local; adjust docstring.
5116 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5117 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5118
5119 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5120
5121 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5122
5123 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5124
5125 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5126 (Bug#14842)
5127
5128 2013-07-12 Glenn Morris <rgm@gnu.org>
5129
5130 * doc-view.el: Require cl-lib at runtime too.
5131 (doc-view-remove-if): Remove.
5132 (doc-view-search-next-match, doc-view-search-previous-match):
5133 Use cl-remove-if.
5134
5135 * edmacro.el: Require cl-lib at runtime too.
5136 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5137 (edmacro-mismatch, edmacro-subseq): Remove.
5138
5139 * shadowfile.el: Require cl-lib.
5140 (shadow-remove-if): Remove.
5141 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5142 Use cl-remove-if.
5143
5144 * wid-edit.el: Require cl-lib.
5145 (widget-choose): Use cl-remove-if.
5146 (widget-remove-if): Remove.
5147
5148 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5149 (ebrowse-delete-if-not): Remove.
5150 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5151 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5152 Use cl-delete-if-not.
5153
5154 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5155
5156 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5157 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5158
5159 2013-07-12 Leo Liu <sdl.web@gmail.com>
5160
5161 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5162
5163 2013-07-11 Glenn Morris <rgm@gnu.org>
5164
5165 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5166 (edebug-gensym-index, edebug-gensym):
5167 Remove reimplementation of cl-gensym.
5168 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5169
5170 * thumbs.el: Require cl-lib at run-time too.
5171 (thumbs-gensym-counter, thumbs-gensym):
5172 Remove reimplementation of cl-gensym.
5173 (thumbs-temp-file): Use cl-gensym.
5174
5175 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5176 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5177 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5178 (ert--union, ert--gensym-counter, ert--gensym-counter)
5179 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5180 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5181 (ert-make-test-unbound, ert--expand-should-1)
5182 (ert--expand-should, ert--should-error-handle-error)
5183 (should-error, ert--explain-equal-rec)
5184 (ert--plist-difference-explanation, ert-select-tests)
5185 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5186 Use cl-lib functions rather than reimplementations.
5187
5188 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5189
5190 * net/tramp.el (tramp-methods): Extend docstring.
5191 (tramp-connection-timeout): New defcustom.
5192 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5193 (with-tramp-progress-reporter): Simplify.
5194 (tramp-process-actions): Improve messages.
5195
5196 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5197 * net/tramp-sh.el (tramp-maybe-open-connection):
5198 Use `tramp-connection-timeout'.
5199 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5200 (Bug#14808)
5201
5202 2013-07-11 Leo Liu <sdl.web@gmail.com>
5203
5204 * ido.el (ido-read-file-name): Conform to the requirements of
5205 read-file-name. (Bug#11861)
5206 (ido-read-directory-name): Conform to the requirements of
5207 read-directory-name.
5208
5209 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5210
5211 * subr.el (delay-warning): New function.
5212
5213 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5214
5215 * simple.el (default-line-height): New function.
5216 (line-move-partial, line-move): Use it instead of computing the
5217 line height inline.
5218 (line-move-partial): Always compute ROWH. If the last line is
5219 partially-visible, but its text is completely visible, allow
5220 cursor to enter such a partially-visible line.
5221
5222 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5223
5224 Improve error messages. (Bug#14808)
5225
5226 * net/tramp.el (tramp-current-connection): New defvar, moved from
5227 tramp-sh.el.
5228 (tramp-message-show-progress-reporter-message): Remove, not
5229 needed anymore.
5230 (tramp-error-with-buffer): Show message in minibuffer.
5231 Discard input before waiting. Reset connection timestamp.
5232 (with-tramp-progress-reporter): Improve messages.
5233 (tramp-process-actions): Use progress reporter. Delete process in
5234 case of error. Improve messages.
5235
5236 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5237 Call `tramp-error-with-buffer' with vector and buffer.
5238 (tramp-current-connection): Remove.
5239 (tramp-maybe-open-connection): The car of
5240 `tramp-current-connection' are the first 3 slots of the vector.
5241
5242 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5243
5244 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5245 inside continued strings.
5246
5247 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5248
5249 Timestamp fixes for undo (Bug#14824).
5250 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5251
5252 2013-07-10 Leo Liu <sdl.web@gmail.com>
5253
5254 * files.el (require-final-newline): Allow safe local value.
5255 (Bug#14834)
5256
5257 2013-07-09 Leo Liu <sdl.web@gmail.com>
5258
5259 * ido.el (ido-read-directory-name): Handle fallback.
5260 (ido-read-file-name): Update DIR to ido-current-directory.
5261 (Bug#1516)
5262 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5263
5264 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5265
5266 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5267 "autoload". Remove "warn lower camel case" section, previously
5268 commented out. Highlight negation char. Do not highlight the
5269 target in singleton method definitions.
5270
5271 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * faces.el (tty-setup-hook): Declare the hook.
5274
5275 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5276 and detect when a guard/pred depends on local vars (bug#14773).
5277 (pcase--u1): Adjust caller.
5278
5279 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5280
5281 * simple.el (line-move-partial, line-move): Account for
5282 line-spacing.
5283 (line-move-partial): Avoid setting vscroll when the last
5284 partially-visible line in window is of default height.
5285
5286 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5287
5288 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5289 been used a while.
5290
5291 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5292
5293 * subr.el (read-quoted-char): Remove unused local variable `char'.
5294
5295 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5296
5297 * ediff.el (ediff-version): Version update.
5298 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5299 (ediff-merge-with-ancestor-command, ediff-directories-command)
5300 (ediff-directories3-command, ediff-merge-directories-command)
5301 (ediff-merge-directories-with-ancestor-command): New functions.
5302 All are command-line interfaces to ediff: to facilitate calling
5303 Emacs with the appropriate ediff functions invoked.
5304
5305 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5306 (viper-save-kill-buffer): Check if buffer is modified.
5307
5308 * viper.el (viper-version): Version update.
5309 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5310
5311 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5314 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5315 (viper-intercept-ESC-key): Simplify.
5316 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5317 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5318 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5319 (viper-setup-ESC-to-escape): New functions.
5320 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5321 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5322
5323 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5324
5325 * simple.el (default-font-height, window-screen-lines):
5326 New functions.
5327 (line-move, line-move-partial): Use them instead of
5328 frame-char-height and window-text-height. This makes scrolling
5329 text smoother when the buffer's default face uses a font that is
5330 different from the frame's default font.
5331
5332 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5333
5334 * files.el (write-file): Do not display confirm dialog for NS,
5335 it does its own dialog, which can't be cancelled (Bug#14578).
5336
5337 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5338
5339 * simple.el (line-move-partial): Adjust the row returned by
5340 posn-at-point for the current window-vscroll. (Bug#14567)
5341
5342 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5343
5344 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5345 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5346 spaces.
5347
5348 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5349
5350 * window.el (window-state-put-stale-windows): New variable.
5351 (window--state-put-2): Save list of windows without matching buffer.
5352 (window-state-put): Remove "bufferless" windows if possible.
5353
5354 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5355
5356 * simple.el (alternatives-define): Remove leftover :group keyword.
5357 Tweak docstring.
5358
5359 2013-07-06 Leo Liu <sdl.web@gmail.com>
5360
5361 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5362 (ido-enable-virtual-buffers): New variable.
5363 (ido-buffer-internal, ido-toggle-virtual-buffers)
5364 (ido-make-buffer-list): Use it.
5365 (ido-exhibit): Support turning on and off virtual buffers
5366 automatically.
5367
5368 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5369
5370 * simple.el (alternatives-define): New macro.
5371
5372 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5373
5374 * subr.el (read-quoted-char): Use read-key.
5375 (sit-for): Let read-event decode tty input (bug#14782).
5376
5377 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5378
5379 * calendar/todo-mode.el: Add handling of file deletion, both by
5380 mode command and externally. Fix various related bugs.
5381 Clarify Commentary and improve some documentation strings and code.
5382 (todo-delete-file): New command.
5383 (todo-check-file): New function.
5384 (todo-show): Handle external deletion of the file we're trying to
5385 show (bug#14688). Replace called-interactively-p by an optional
5386 prefix argument to avoid problematic interaction with catch form
5387 when byte compiled (bug#14702).
5388 (todo-quit): Handle external deletion of the archive's todo file.
5389 Make sure the buffer that was visiting the archive file is still
5390 live before trying to bury it.
5391 (todo-category-completions): Handle external deletion of any
5392 category completion files.
5393 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5394 of todo files, in case of external deletion.
5395 (todo-add-file): Replace unnecessary setq by let-binding.
5396 (todo-find-archive): Check whether there are any archives.
5397 Replace unnecessary setq by let-binding.
5398 (todo-archive-done-item): Use find-file-noselect to get the
5399 archive buffer whether or not the archive already exists.
5400 Remove superfluous code. Use file size instead of buffer-file-name to
5401 check if the archive is new; if it is, update list of archives.
5402 (todo-default-todo-file): Allow nil to be a valid value for when
5403 there are no todo files.
5404 (todo-reevaluate-default-file-defcustom): Use corrected definition
5405 of todo-default-todo-file.
5406 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5407 (todo-delete-category, todo-show-categories-table)
5408 (todo-category-number): Clarify comment.
5409 (todo-filter-items): Clarify documentation string.
5410 (todo-show-current-file, todo-display-as-todo-file)
5411 (todo-reset-and-enable-done-separator): Tweak documentation string.
5412 (todo-done-separator): Make separator length window-width, since
5413 bug#2749 is now fixed.
5414
5415 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5416
5417 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5418 Support both "gvfs-monitor-dir" and "inotifywait".
5419 (tramp-sh-file-inotifywait-process-filter): Rename from
5420 `tramp-sh-file-notify-process-filter'.
5421 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5422 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5423
5424 2013-07-05 Leo Liu <sdl.web@gmail.com>
5425
5426 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5427
5428 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5429
5430 * frame.el (display-pixel-height, display-pixel-width)
5431 (display-mm-height, display-mm-width): Mention behavior on
5432 multi-monitor setups in docstrings.
5433 (w32-display-monitor-attributes-list): Declare function.
5434 (display-monitor-attributes-list): Use it.
5435
5436 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5437
5438 * filenotify.el: New package.
5439
5440 * autorevert.el (top): Require filenotify.el.
5441 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5442 instead.
5443 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5444 (auto-revert-notify-handler): Use `file-notify-*' functions.
5445
5446 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5447
5448 * net/tramp.el (tramp-file-name-for-operation):
5449 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5450
5451 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5452 for `file-notify-add-watch' and `file-notify-rm-watch'.
5453 (tramp-process-sentinel): Improve trace.
5454 (tramp-sh-handle-file-notify-add-watch)
5455 (tramp-sh-file-notify-process-filter)
5456 (tramp-sh-handle-file-notify-rm-watch)
5457 (tramp-get-remote-inotifywait): New defuns.
5458
5459 2013-07-03 Juri Linkov <juri@jurta.org>
5460
5461 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5462 call of `occur-read-primary-args' to interactive spec.
5463
5464 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5465 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5466
5467 2013-07-03 Matthias Meulien <orontee@gmail.com>
5468
5469 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5470 `Buffer-menu-multi-occur'. Add it to the menu.
5471 (Buffer-menu-mode): Document it in docstring.
5472 (Buffer-menu-multi-occur): New command. (Bug#14673)
5473
5474 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5475
5476 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5477 keywords and built-ins.
5478
5479 2013-07-03 Glenn Morris <rgm@gnu.org>
5480
5481 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5482
5483 Make info-xref checks case-sensitive by default
5484 * info.el (Info-find-node, Info-find-in-tag-table)
5485 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5486 Add option for exact case matching of nodes.
5487 * info-xref.el (info-xref): New custom group.
5488 (info-xref-case-fold): New option.
5489 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5490
5491 2013-07-03 Leo Liu <sdl.web@gmail.com>
5492
5493 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5494
5495 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5496
5497 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5498 middle of block statement initially, lower the depth. Remove
5499 FIXME comment, not longer valid. Remove middle of block statement
5500 detection, no need to do that anymore since we've been using
5501 `ruby-parse-region' here.
5502
5503 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5504
5505 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5506
5507 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5508
5509 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5510
5511 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5512
5513 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5514 (desktop-restore-in-current-display): New customization option.
5515 (desktop--excluded-frame-parameters): Add `font'.
5516 (desktop--save-frames): Rename from desktop--save-windows.
5517 (desktop--restore-in-this-display-p): New function.
5518 (desktop--make-full-frame): Remove unwanted width/height from
5519 full(width|height) frames.
5520 (desktop--restore-frames): Rename from desktop--restore-windows.
5521 Obey desktop-restore-current-display. Do not delete old frames or
5522 select a new frame unless we were able to restore at least one frame.
5523
5524 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5525
5526 * files.el (find-file-noselect): Simplify conditional expression.
5527
5528 * remember.el (remember-append-to-file):
5529 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5530
5531 Add `remember-notes' function to store random notes across Emacs
5532 restarts.
5533 * remember.el (remember-data-file): Add :set callback to affect
5534 notes buffer (if any).
5535 (remember-notes): New command.
5536 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5537 New defcustoms for the `remember-notes' function.
5538 (remember-notes-save-and-bury-buffer): New command.
5539 (remember-notes-mode-map): New variable.
5540 (remember-mode): New minor mode.
5541 (remember-notes--kill-buffer-query): New function.
5542 * startup.el (initial-buffer-choice): Add notes to custom type.
5543
5544 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5545
5546 * bindings.el (right-char, left-char): Don't call sit-for, this is
5547 no longer needed. Use arithmetic comparison only for numerical
5548 arguments.
5549
5550 * international/mule-cmds.el (select-safe-coding-system):
5551 Handle the case of FROM being a string correctly. (Bug#14755)
5552
5553 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5554
5555 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5556 progression on degenerate tables.
5557 (shr-rescale-image): ImageMagick animated images currently don't work.
5558
5559 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5560
5561 Some fixes and improvements for desktop frame restoration.
5562 It is still experimental and disabled by default.
5563 * desktop.el (desktop--save-windows): Put the selected frame at
5564 the head of the list.
5565 (desktop--make-full-frame): New function.
5566 (desktop--restore-windows): Try to re-select the frame that was
5567 selected upon saving. Do not abort if some frames fail to restore,
5568 just show an error message and continue. Set up maximized frames
5569 so they have default non-maximized dimensions.
5570
5571 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5572
5573 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5574 Don't start heredoc inside a string or comment.
5575
5576 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5577
5578 * bindings.el (visual-order-cursor-movement): New defcustom.
5579 (right-char, left-char): Provide visual-order cursor motion by
5580 calling move-point-visually. Update the doc strings.
5581
5582 2013-06-28 Kenichi Handa <handa@gnu.org>
5583
5584 * international/mule.el (define-coding-system): New coding system
5585 properties :inhibit-null-byte-detection,
5586 :inhibit-iso-escape-detection, and :prefer-utf-8.
5587 (set-buffer-file-coding-system): If :charset-list property of
5588 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5589 appropriate for setting.
5590
5591 * international/mule-cmds.el (select-safe-coding-system):
5592 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5593 multibyte characters, return utf-8 (or one of its siblings).
5594
5595 * international/mule-conf.el (prefer-utf-8): New coding system.
5596 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5597 files.
5598
5599 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5600
5601 * net/shr.el (shr-render-region): New function.
5602
5603 * net/eww.el: Autoload `eww-browse-url'.
5604
5605 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5606
5607 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5608 Adapt to `package-desc-version' being a list.
5609 Use `package--ac-desc-version' to retrieve version from a package
5610 archive element.
5611
5612 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5613
5614 New experimental feature to save&restore window and frame setup.
5615 * desktop.el (desktop-save-windows): New defcustom.
5616 (desktop--saved-states): New var.
5617 (desktop--excluded-frame-parameters): New defconst.
5618 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5619 (desktop--restore-windows, desktop--save-windows): New functions.
5620 (desktop-save): Call `desktop--save-windows'.
5621 (desktop-read): Call `desktop--restore-windows'.
5622
5623 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5624
5625 * net/shr.el (add-face-text-property): Remove compat definition.
5626
5627 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5628
5629 * info.el (Info-try-follow-nearest-node): Move search for footnote
5630 above search for node name to prevent missing a footnote (bug#14717).
5631
5632 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5633
5634 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5635
5636 2013-06-27 Leo Liu <sdl.web@gmail.com>
5637
5638 * net/eww.el (eww-read-bookmarks): Check file size.
5639
5640 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5641
5642 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5643 advice--pending if newdef is nil or an autoload (bug#13820).
5644 (advice-mapc): New function.
5645
5646 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5647
5648 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5649 probably.
5650 (eww-mode-map): Add a menu bar.
5651 (eww-add-bookmark): New command.
5652 (eww-bookmark-mode): New mode and commands.
5653 (eww-add-bookmark): Remove newlines from the title.
5654 (eww-bookmark-browse): Don't bug out if it's the only window.
5655
5656 2013-06-26 Glenn Morris <rgm@gnu.org>
5657
5658 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5659 (hfy-size): Handle ttys. (Bug#14668)
5660
5661 * info-xref.el: Update for Texinfo 5 change in *note format.
5662 (info-xref-node-re, info-xref-note-re): New constants.
5663 (info-xref-check-buffer): Use info-xref-note-re.
5664
5665 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5666
5667 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5668
5669 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5670 nil terminate the loop (bug#14718).
5671
5672 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5673
5674 * net/eww.el: Rework history traversal. When going forward/back,
5675 put these actions into the history, too, so that they can be
5676 replayed.
5677 (eww-render): Move the history reset to the correct buffer.
5678
5679 2013-06-25 Juri Linkov <juri@jurta.org>
5680
5681 * files-x.el (modify-dir-local-variable): Change the header comment
5682 in the file with directory local variables. (Bug#14692)
5683
5684 * files-x.el (read-file-local-variable-value): Add `default'.
5685 (Bug#14710)
5686
5687 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * net/eww.el (eww-make-unique-file-name): Create a unique file
5690 name before saving to entering `y' accidentally asynchronously.
5691
5692 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5693
5694 * net/eww.el (eww-download): New command and keystroke.
5695
5696 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5697
5698 * net/eww.el (eww-copy-page-url): Change name of command.
5699
5700 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5701 be more consistent with Info and dired.
5702
5703 * net/eww.el (eww-mode-map): Ditto.
5704
5705 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5708 packages from archives.
5709 (package-archive-contents): Change format; include obsolete packages.
5710 (package-desc): Use `dir' to mark builtin packages.
5711 (package--from-builtin): Set the `dir' field to `builtin'.
5712 (generated-autoload-file, version-control): Declare.
5713 (package-compute-transaction): Change first arg and return value to be
5714 lists of package-descs. Adjust to new package-archive-contents format.
5715 (package--add-to-archive-contents): Adjust to new
5716 package-archive-contents format.
5717 (package-download-transaction): Arg is now a list of package-descs.
5718 (package-install): If `pkg' is a package name, pass it as
5719 a requirement, so it is subject to the usual (e.g. disabled) checks.
5720 (describe-package): Accept package-desc as well.
5721 (describe-package-1): Describe a specific package-desc. Add links to
5722 other package-descs for the same package name.
5723 (package-menu-describe-package): Pass the actual package-desc.
5724 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5725 works correctly.
5726 (package-desc-status): New function.
5727 (package-menu--refresh): New function, extracted
5728 from package-menu--generate.
5729 (package-menu--generate): Use it.
5730 (package-delete): Update package-alist.
5731 (package-menu-execute): Don't call package-initialize.
5732
5733 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5734 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5735 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5736 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5737 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5738 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5739
5740 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5741
5742 * window.el (window--state-get-1): Workaround for bug#14527.
5743 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5744
5745 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5746
5747 * net/eww.el (eww-back-url): Implement the history by stashing all
5748 the data into a list.
5749 (eww-forward-url): Allow going forward in the history, too.
5750
5751 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5754 for values and use read--expression for expressions (bug#14710).
5755 (read-file-local-variable): Avoid setq.
5756 (read-file-local-variable-mode): Use minor-mode-list.
5757
5758 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5759
5760 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5761 for DOI URLs.
5762
5763 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5764
5765 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5766 Update imenu-support when dialect changes.
5767
5768 2013-06-25 Leo Liu <sdl.web@gmail.com>
5769
5770 * ido.el (ido-read-internal): Allow forward slash on windows.
5771
5772 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773
5774 * net/eww.el (eww): Start of strings is \\`, not ^.
5775
5776 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5777
5778 * net/shr.el (shr-browse-url): Fix interactive spec.
5779
5780 * net/eww.el (eww): Add a trailing slash to domain names.
5781
5782 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5783
5784 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5785
5786 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5787
5788 * net/shr.el (shr-browse-url): Use an external browser if given a
5789 prefix.
5790
5791 * net/eww.el (eww-external-browser): Move to shr.
5792
5793 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5794
5795 * net/eww.el (eww): Work more correctly for file: URLs.
5796 (eww-detect-charset): Allow quoted charsets.
5797 (eww-yank-page-url): New command and keystroke.
5798
5799 2013-06-24 Daiki Ueno <ueno@gnu.org>
5800
5801 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5802 file name of gpg executable.
5803 (epg-context-program): New function.
5804 (epg-context-home-directory): New function.
5805 (epg-context-set-program): New function.
5806 (epg-context-set-home-directory): New function.
5807 (epg--start): Use `epg-context-program' instead of
5808 'epg-gpg-program'.
5809 (epg--list-keys-1): Likewise.
5810
5811 2013-06-24 Leo Liu <sdl.web@gmail.com>
5812
5813 * ido.el (ido-read-internal): Fix bug#14620.
5814
5815 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5816
5817 * faces.el (face-documentation): Simplify.
5818 (read-face-attribute, tty-find-type, x-resolve-font-name):
5819 Use `string-match-p'.
5820 (list-faces-display): Use `string-match-p'. Simplify.
5821 (face-spec-recalc): Check face to avoid face alias loops.
5822 (read-color): Use `string-match-p' and non-capturing parenthesis.
5823
5824 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5825
5826 * net/shr.el (shr-rescale-image): Use the new
5827 :max-width/:max-height functionality.
5828
5829 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5830
5831 * net/eww.el (eww-search-prefix): New variable.
5832 (eww): Use it.
5833 (eww-external-browser): New variable.
5834 (eww-mode-map): New keystroke.
5835 (eww-browse-with-external-browser): New command.
5836
5837 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5838
5839 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5840
5841 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5842 Don't skip aligning the next header field when padding is 0;
5843 otherwise, field width is not respected unless the title is as
5844 wide as the field.
5845
5846 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * emacs-lisp/package.el (package-el-version): Remove.
5849 (package-process-define-package): Fix inf-loop.
5850 (package-install): Allow symbols as arguments again.
5851
5852 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5853
5854 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5855 add some more keyword-like methods.
5856 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5857
5858 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5859
5860 * bs.el (bs-buffer-show-mark): Make defvar-local.
5861 (bs-mode): Use setq-local.
5862
5863 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5864 (emacs-lock--try-unlocking): Make defvar-local.
5865
5866 2013-06-22 Glenn Morris <rgm@gnu.org>
5867
5868 * play/cookie1.el (cookie-apropos): Minor simplification.
5869
5870 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5871
5872 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5873
5874 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5875 `regexp-opt', it breaks the build during dumping.
5876
5877 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5878
5879 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5880 Highlight keyword-like methods on Kernel and Module with
5881 font-lock-builtin-face.
5882 (auto-mode-alist): Consolidate different entries into one regexp
5883 and add more *file-s.
5884
5885 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5886
5887 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5888
5889 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5890 (diary-entry): Use it in the action of this button type instead of
5891 diary-goto-entry.
5892
5893 * calendar/todo-mode.el: New version.
5894 (todo-add-category): Append new category to end of file and give
5895 it the highest number, instead of putting it at the beginning and
5896 giving it 0. Incorporate noninteractive functionality.
5897 (todo-forward-category): Adapt to 1-based category numbering.
5898 Allow skipping over archived categories.
5899 (todo-backward-category): Derive from todo-forward-category.
5900 (todo-backward-item, todo-forward-item): Make noninteractive and
5901 delegate interactive part to new commands. Make sensitive to done items.
5902 (todo-categories): Make value an alist of category names and
5903 vectors of item counts.
5904 (todo-category-beg): Make a defconst.
5905 (todo-category-number): Use 1 instead of 0 as initial value.
5906 (todo-category-select): Make sensitive to overlays, optional item
5907 highlighting and done items.
5908 (todo-delete-item): Make sensitive to overlays and marked and done items.
5909 (todo-edit-item): Make sensitive to overlays and editing of
5910 date/time header optional. Add format checks.
5911 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5912 no-op if point is not on an item. Advertise using todo-edit-quit.
5913 (todo-edit-mode): Make sensitive to new format, font-locking, and
5914 multiple todo files.
5915 (todo-insert-item, todo-insert-item-here): Derive from
5916 todo-basic-insert-item and extend functionality.
5917 (todo-item-end, todo-item-start): Make sensitive to done items.
5918 (todo-item-string): Don't return text properties. Restore point.
5919 (todo-jump-to-category): Make sensitive to multiple todo files and
5920 todo archives. Use extended category completion.
5921 (todo-lower-item, todo-raise-item): Rename to *-priority and
5922 derive from todo-set-item-priority.
5923 (todo-mode): Derive from special-mode. Make sensitive to new
5924 format, font-locking and multiple todo files. Make read-only.
5925 (todo-mode-map): Don't suppress digit keys, so they can supply
5926 prefix arguments. Add many new key bindings.
5927 (todo-prefix): Insert as an overlay instead of file text.
5928 Change semantics from diary date expression to purely visual mark.
5929 (todo-print): Rename to todo-print-buffer. Make buffer display
5930 features printable. Remove option to restrict number of items
5931 printed. Add option to print to file.
5932 (todo-print-function): Rename to todo-print-buffer-function.
5933 (todo-quit): Extend to handle exiting new todo modes.
5934 (todo-remove-item): Make sensitive to overlays.
5935 (todo-save): Extend to buffers of filtered items.
5936 (todo-show): Make sensitive to done items, multiple todo files and
5937 new todo modes. Offer to convert legacy todo file before creating
5938 first new todo file.
5939 (todo-show-priorities): Rename to todo-top-priorities.
5940 Change semantics of value 0.
5941 (todo-top-priorities): Rename to todo-filter-top-priorities,
5942 derive from todo-filter-items and extend functionality.
5943 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5944 and extend functionality to other types of filtered items.
5945 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5946 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5947 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5948 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5949 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5950 (todo-edit-mode-hook, todo-entry-prefix-function)
5951 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5952 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5953 (todo-initials, todo-insert-threshold, todo-item-string-start)
5954 (todo-line-string, todo-menu, todo-mode-hook)
5955 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5956 (todo-print-priorities, todo-remove-separator)
5957 (todo-save-top-priorities-too, todo-string-count-lines)
5958 (todo-string-multiline-p, todo-time-string-format)
5959 (todo-tmp-buffer-name): Remove.
5960 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5961 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5962 (todo-edit-category-diary-inclusion)
5963 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5964 (todo-edit-file, todo-edit-item-date-day)
5965 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5966 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5967 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5968 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5969 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5970 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5971 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5972 (todo-filter-top-priorities-multifile, todo-find-archive)
5973 (todo-find-filtered-items-file, todo-go-to-source-item)
5974 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5975 (todo-jump-to-archive-category, todo-lower-category)
5976 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5977 (todo-move-category, todo-move-item, todo-next-button)
5978 (todo-next-item, todo-padded-string, todo-powerset)
5979 (todo-previous-button, todo-previous-item)
5980 (todo-print-buffer-to-file, todo-raise-category)
5981 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5982 (todo-set-category-number, todo-set-item-priority)
5983 (todo-set-top-priorities-in-category)
5984 (todo-set-top-priorities-in-file, todo-show-categories-table)
5985 (todo-sort-categories-alphabetically-or-numerically)
5986 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5987 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5988 (todo-toggle-item-header, todo-toggle-item-highlighting)
5989 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5990 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5991 (todo-unarchive-items, todo-unmark-category): New commands.
5992 (todo-absolute-file-name, todo-add-to-buffer-list)
5993 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5994 (todo-basic-insert-item, todo-category-completions)
5995 (todo-category-number, todo-category-string-matcher-1)
5996 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5997 (todo-check-format, todo-clear-matches)
5998 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5999 (todo-current-category, todo-date-string-matcher)
6000 (todo-define-insertion-command, todo-diary-expired-matcher)
6001 (todo-diary-goto-entry, todo-diary-item-p)
6002 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6003 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6004 (todo-done-item-section-p, todo-done-separator)
6005 (todo-done-string-matcher, todo-files, todo-filter-items)
6006 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6007 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6008 (todo-insert-category-line, todo-insert-item-from-calendar)
6009 (todo-insert-sort-button, todo-insert-with-overlays)
6010 (todo-insertion-command-name, todo-insertion-key-bindings)
6011 (todo-label-to-key, todo-longest-category-name-length)
6012 (todo-make-categories-list, todo-mode-external-set)
6013 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6014 (todo-modes-set-3, todo-multiple-filter-files)
6015 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6016 (todo-read-category, todo-read-date, todo-read-dayname)
6017 (todo-read-file-name, todo-read-time)
6018 (todo-reevaluate-category-completions-files-defcustom)
6019 (todo-reevaluate-default-file-defcustom)
6020 (todo-reevaluate-filelist-defcustoms)
6021 (todo-reevaluate-filter-files-defcustom)
6022 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6023 (todo-reset-done-separator, todo-reset-done-separator-string)
6024 (todo-reset-done-string, todo-reset-global-current-todo-file)
6025 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6026 (todo-reset-prefix, todo-set-categories)
6027 (todo-set-date-from-calendar, todo-set-show-current-file)
6028 (todo-set-top-priorities, todo-short-file-name)
6029 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6030 (todo-total-item-counts, todo-update-buffer-list)
6031 (todo-update-categories-display, todo-update-categories-sexp)
6032 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6033 New functions.
6034 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6035 New major modes.
6036 (todo-categories, todo-display, todo-edit, todo-faces)
6037 (todo-filtered): New defgroups.
6038 (todo-archived-only, todo-button, todo-category-string, todo-date)
6039 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6040 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6041 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6042 (todo-add-item-if-new-category, todo-always-add-time-string)
6043 (todo-categories-align, todo-categories-archived-label)
6044 (todo-categories-category-label, todo-categories-diary-label)
6045 (todo-categories-done-label, todo-categories-number-separator)
6046 (todo-categories-todo-label, todo-categories-totals-label)
6047 (todo-category-completions-files, todo-completion-ignore-case)
6048 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6049 (todo-done-separator-string, todo-done-string)
6050 (todo-files-function, todo-filter-done-items, todo-filter-files)
6051 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6052 (todo-initial-category, todo-initial-file, todo-item-mark)
6053 (todo-legacy-date-time-regexp, todo-mode-line-function)
6054 (todo-nondiary-marker, todo-number-prefix)
6055 (todo-print-buffer-function, todo-show-current-file)
6056 (todo-show-done-only, todo-show-first, todo-show-with-done)
6057 (todo-skip-archived-categories, todo-top-priorities-overrides)
6058 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6059 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6060 New defcustoms.
6061 (todo-category-done, todo-date-pattern, todo-date-string-start)
6062 (todo-diary-items-buffer, todo-done-string-start)
6063 (todo-filtered-items-buffer, todo-item-start)
6064 (todo-month-abbrev-array, todo-month-name-array)
6065 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6066 (todo-top-priorities-buffer): New defconsts.
6067 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6068 (todo-categories-with-marks, todo-category-string-face)
6069 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6070 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6071 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6072 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6073 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6074 (todo-font-lock-keywords, todo-global-current-todo-file)
6075 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6076 (todo-insertion-commands-args)
6077 (todo-insertion-commands-args-genlist)
6078 (todo-insertion-commands-names, todo-insertion-map)
6079 (todo-key-bindings-t, todo-key-bindings-t+a)
6080 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6081 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6082 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6083 (todo-visited): New variables.
6084
6085 2013-06-21 Glenn Morris <rgm@gnu.org>
6086
6087 * play/cookie1.el (cookie-apropos): Add optional display argument.
6088 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6089 (psychoanalyze-pinhead): Use cookie-doctor.
6090
6091 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6092
6093 * emacs-lisp/package.el (tar-get-file-descriptor)
6094 (tar--extract): Declare.
6095
6096 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6097
6098 Extend flymake's warning predicate to be a function (bug#14217).
6099 * progmodes/flymake.el (flymake-warning-predicate): New.
6100 (flymake-parse-line): Use it.
6101 (flymake-warning-re): Make obsolete alias to
6102 `flymake-warning-predicate'.
6103
6104 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6105
6106 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6107 (package-obsolete-list): Remove.
6108 (package-activate): Remove min-version argument. Add `force' argument.
6109 Adjust to new package-alist format.
6110 (package-mark-obsolete): Remove.
6111 (package-unpack): Force reload of the package's autoloads.
6112 (package-installed-p): Check builtins if the installed package is not
6113 recent enough.
6114 (package-initialize): Don't reset package-obsolete-list.
6115 Don't specify which package version to activate.
6116 (package-process-define-package, describe-package-1)
6117 (package-menu--generate): Adjust to new package-alist format.
6118
6119 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6120
6121 * allout-widgets.el (allout-widgets-mode-off)
6122 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6123 (allout-widgets-post-command-business)
6124 (allout-widgets-after-copy-or-kill-function)
6125 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6126 (allout-decorate-item-and-context)
6127 (allout-graphics-modification-handler): Fix typos in docstrings.
6128 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6129
6130 * cmuscheme.el (scheme-start-file): Doc fix.
6131 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6132 (scheme-input-filter): Use `string-match-p'.
6133
6134 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6135
6136 * dired-x.el: Use Dired consistently in docstrings.
6137
6138 * dired.el: Use Dired consistently in docstrings.
6139 (dired-readin, dired-mode): Use `setq-local'.
6140 (dired-switches-alist): Make defvar-local.
6141 (dired-buffers-for-dir): Use `zerop'.
6142 (dired-safe-switches-p, dired-switches-escape-p)
6143 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6144 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6145 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6146 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6147 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6148 (dired-toggle-marks, dired-mark-files-containing-regexp)
6149 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6150 (dired-flag-auto-save-files, dired-flag-backup-files):
6151 Use `looking-at-p'.
6152 (dired-mark-files-regexp, dired-build-subdir-alist):
6153 Use `string-match-p', `looking-at-p'.
6154
6155 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6156 (direct-print-region-helper): Use `string-match-p'.
6157
6158 2013-06-21 Leo Liu <sdl.web@gmail.com>
6159
6160 * comint.el (comint-redirect-results-list-from-process):
6161 Fix infinite loop.
6162
6163 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6164
6165 * net/eww.el (eww-update-header-line-format): Quote % characters.
6166
6167 2013-06-21 Glenn Morris <rgm@gnu.org>
6168
6169 * play/cookie1.el (cookie): New custom group.
6170 (cookie-file): New option.
6171 (cookie-check-file): New function.
6172 (cookie): Make it interactive. Make start and end messages optional.
6173 Interactively, display the result. Default to cookie-file.
6174 (cookie-insert): Default to cookie-file.
6175 (cookie-snarf): Make start and end messages optional.
6176 Default to cookie-file. Use with-temp-buffer.
6177 (cookie-read): Rename from read-cookie.
6178 Make start and end messages optional. Default to cookie-file.
6179 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6180 Do not autoload it.
6181 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6182 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6183
6184 2013-06-21 Leo Liu <sdl.web@gmail.com>
6185
6186 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6187
6188 2013-06-21 Glenn Morris <rgm@gnu.org>
6189
6190 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6191
6192 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6193 Daniel Hackney <dan@haxney.org>
6194
6195 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6196 Consolidate the single-file vs tarball code.
6197 (package-desc-suffix): New function.
6198 (package-desc-full-name): Don't bother inlining it.
6199 (package-load-descriptor): Return the new package-desc.
6200 (package-mark-obsolete): Remove unused arg `package'.
6201 (package-unpack): Make it work for single files as well.
6202 Make it update package-alist.
6203 (package--make-autoloads-and-stuff): Rename from
6204 package--make-autoloads-and-compile. Don't compile any more.
6205 (package--compile): New function.
6206 (package-generate-description-file): New function, extracted from
6207 package-unpack-single.
6208 (package-unpack-single): Remove.
6209 (package--with-work-buffer): Add indentation and debugging info.
6210 (package-download-single): Remove.
6211 (package-install-from-archive): Rename from package-download-tar, make
6212 it take a pkg-desc, and make it work for single files as well.
6213 (package-download-transaction): Simplify.
6214 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6215 external tar program.
6216 (package-install-from-buffer): Remove `pkg-desc' argument.
6217 Use package-tar-file-info for tar-mode buffers.
6218 (package-install-file): Simplify accordingly.
6219 (package-archive-base): Change to take a pkg-desc.
6220 * tar-mode.el (tar--check-descriptor): New function, extracted from
6221 tar-get-descriptor.
6222 (tar-get-descriptor): Use it.
6223 (tar-get-file-descriptor): New function.
6224 (tar--extract): New function, extracted from tar-extract.
6225 (tar--extract): Use it.
6226 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6227 case the summary uses non-ascii. Adjust to new calling convention of
6228 package-tar-file-info.
6229
6230 2013-06-21 Leo Liu <sdl.web@gmail.com>
6231
6232 * comint.el (comint-redirect-results-list-from-process):
6233 Fix random delay. (Bug#14681)
6234
6235 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6236
6237 * profiler.el (profiler-format-number): Use log, not log10.
6238
6239 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6240
6241 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6242
6243 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6244
6245 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6246 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6247 yet available.
6248 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6249 (AUTOGENEL): ... here.
6250 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6251 (cl--defsubst-expand): Use it.
6252
6253 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6254
6255 * subr.el (log10): Move here from C code, and declare as obsolete.
6256 All uses of (log10 X) replaced with (log X 10).
6257
6258 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6261 Declare with `defvar-local'.
6262 (tabulated-list-use-header-line, tabulated-list-entries)
6263 (tabulated-list-padding, tabulated-list-printer)
6264 (tabulated-list-sort-key): Declare with `defvar-local'.
6265 (tabulated-list-init-header, tabulated-list-print-fake-header):
6266 Use `setq-local'.
6267
6268 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6269
6270 * arc-mode.el (archive-mode): Add `archive-write-file' to
6271 `write-contents-functions' also for remote files. (Bug#14652)
6272
6273 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6274
6275 * cus-edit.el (custom-commands): Fix typos.
6276 (custom-display): Fix tooltip text.
6277 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6278 Fix typos in docstrings.
6279 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6280 (custom-unlispify-menu-entry, custom-magic-value-create)
6281 (custom-add-see-also, custom-group-value-create): Use ?\s.
6282 (custom-guess-type, customize-apropos, editable-field)
6283 (custom-face-value-create): Use `string-match-p'.
6284 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6285
6286 * custom.el (custom-load-symbol): Use `string-match-p'.
6287
6288 * ansi-color.el: Convert to lexical binding.
6289 (ansi-colors): Fix URL.
6290 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6291 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6292 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6293
6294 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6295
6296 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6297
6298 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6299
6300 2013-06-19 Tom Tromey <tromey@redhat.com>
6301
6302 * net/eww.el (eww-top-url): Remove.
6303 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6304 (eww-render): Set new variables. Don't set eww-top-url.
6305 (eww-handle-link): Handle "prev", "home", and "contents".
6306 Downcase the rel text.
6307 (eww-top-url): Choose best top URL.
6308
6309 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6310
6311 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6312 relying in widget.el. Using widget.el leads to too many
6313 user interface inconsistencies.
6314 (eww-self-insert): Implement entering commands in text fields.
6315 (eww-process-text-input): New function to make text input field editing
6316 work.
6317 (eww-submit): Rewrite to use the new-style form methods.
6318 (eww-select-display): Display the correct selected item.
6319 (eww-change-select): Implement changing the select value.
6320 (eww-toggle-checkbox): Implement radio/checkboxes.
6321 (eww-update-field): Fix compilation error.
6322 (eww-tag-textarea): Implement <textarea>.
6323
6324 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6325 we don't shadow mode-specific bindings.
6326
6327 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6328 nothing to push.
6329
6330 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6331
6332 2013-06-19 Glenn Morris <rgm@gnu.org>
6333
6334 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6335
6336 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6337
6338 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6339 not needed.
6340
6341 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6342
6343 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6344
6345 * net/browse-url.el (browse-url-browser-function):
6346 `eww-browse-url' has the right calling signature, `eww' does not.
6347
6348 2013-06-19 Glenn Morris <rgm@gnu.org>
6349
6350 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6351 Only eval autoloaded macros.
6352 (byte-compile-autoload): Only give the macro warning for macros.
6353
6354 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6355 (ps-underlined-faces): Declare.
6356
6357 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6358 (speedbar-add-supported-extension): Declare.
6359
6360 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6361 Don't include a date stamp in the header of the generated file;
6362 it leads to needless differences between output files.
6363
6364 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6365
6366 * net/secrets.el (secrets-struct-secret-content-type):
6367 Replace check of introspection data by a test call of "CreateItem".
6368 Some servers do not offer introspection.
6369
6370 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * electric.el (electric-pair-mode): Improve interaction with
6373 electric-layout-mode.
6374 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6375 (electric-pair-syntax): Use text-mode-syntax-table in comments
6376 and strings.
6377 (electric-pair--insert): New function.
6378 (electric-pair-post-self-insert-function): Use it and
6379 electric--after-char-pos.
6380
6381 2013-06-19 Leo Liu <sdl.web@gmail.com>
6382
6383 * progmodes/octave.el (octave-help): Fix regexp.
6384
6385 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6386
6387 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6388 (shr-table-horizontal-line): Allow nil as a value, and change the
6389 default.
6390 (shr-insert-table-ruler): Respect the nil value.
6391
6392 2013-06-18 Tom Tromey <tromey@barimba>
6393
6394 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6395 New defvars.
6396 (eww-open-file): New defun.
6397 (eww-render): Initialize new variables.
6398 (eww-display-html): Handle "link" and "a".
6399 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6400 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6401 (eww-back-url): Rename from eww-previous-url.
6402 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6403 New defuns.
6404
6405 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6406
6407 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6408 Distinguish ternary operator tokens from slash symbol and slash
6409 char literal.
6410
6411 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6412
6413 Convert symbol prettification into minor mode and global minor mode.
6414
6415 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6416 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6417 (prettify-symbols--keywords): Rename from
6418 `prog-prettify-symbols-alist' and make a local defvar.
6419 (prettify-symbols--compose-symbol): Rename from
6420 `prog--prettify-font-lock-compose-symbol'.
6421 (prettify-symbols--make-keywords): Rename from
6422 `prog-prettify-font-lock-symbols-keywords' and simplify.
6423 (prog-prettify-install): Remove.
6424 (prettify-symbols-mode): New minor mode, based on
6425 `prog-prettify-install'.
6426 (turn-on-prettify-symbols-mode): New function.
6427 (global-prettify-symbols-mode): New globalized minor mode.
6428
6429 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6430 * progmodes/cfengine.el (cfengine3-mode):
6431 * progmodes/perl-mode.el (perl-mode): Don't call
6432 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6433
6434 2013-06-18 Juri Linkov <juri@jurta.org>
6435
6436 * files-x.el (modify-file-local-variable-message): New function.
6437 (modify-file-local-variable)
6438 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6439 and call `modify-file-local-variable-message' when it's non-nil.
6440 (add-file-local-variable, delete-file-local-variable)
6441 (add-file-local-variable-prop-line)
6442 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6443 and use it. (Bug#9820)
6444
6445 2013-06-18 Juri Linkov <juri@jurta.org>
6446
6447 * emulation/vi.el (vi-shell-op):
6448 * emulation/vip.el (vip-execute-com, ex-command):
6449 * emulation/viper-cmd.el (viper-exec-bang):
6450 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6451 the call of `shell-command-on-region'. (Bug#14637)
6452
6453 * simple.el (shell-command-on-region): Doc fix.
6454
6455 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6458 (bug#14633).
6459
6460 2013-06-18 Glenn Morris <rgm@gnu.org>
6461
6462 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6463
6464 * newcomment.el (comment-search-forward, comment-search-backward):
6465 Doc fix. (Bug#14376)
6466
6467 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6470 (buffer-face-mode-invoke): Doc fix.
6471
6472 2013-06-18 Matthias Meulien <orontee@gmail.com>
6473
6474 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6475 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6476
6477 2013-06-18 Glenn Morris <rgm@gnu.org>
6478
6479 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6480 Replace obsolete function generic-make-keywords with its expansion.
6481
6482 * progmodes/python.el (ffap-alist): Declare.
6483
6484 * textmodes/reftex.el (bibtex-mode-map): Declare.
6485
6486 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6487
6488 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6489 (package-unpack, package-unpack-single): Return the pkg-dir.
6490 (package-download-transaction): Use it to update package-alist.
6491
6492 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6493
6494 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6495 possible choice.
6496
6497 2013-06-17 Juri Linkov <juri@jurta.org>
6498
6499 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6500
6501 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6502
6503 * emacs-lisp/package.el (package-load-descriptor):
6504 Remove `with-syntax-table' call, `read' doesn't need it.
6505 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6506
6507 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * startup.el (command-line): Expand package name returned by
6510 `package--description-file' (bug#14639).
6511
6512 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6513
6514 * emacs-lisp/package.el (package-load-descriptor): Do not call
6515 `emacs-lisp-mode', just use its syntax table.
6516
6517 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6518
6519 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6520 `font-lock-extra-managed-props' if any prettifying keyword is added.
6521 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6522 (prog-mode): Use `setq-local'.
6523
6524 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * international/characters.el (standard-case-table): Set syntax of ?»
6527 and ?« to punctuation.
6528
6529 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6532 Save relevant match data before calling `syntax-ppss' (bug#14595).
6533
6534 2013-06-15 Juri Linkov <juri@jurta.org>
6535
6536 * files-x.el (modify-file-local-variable-prop-line): Add local
6537 variables to the end of the existing comment on the first line.
6538 Use `file-auto-mode-skip' to skip interpreter magic line,
6539 and also skip XML declaration.
6540
6541 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * startup.el (package--builtin-versions): New var.
6544 (package-subdirectory-regexp): Remove.
6545 (package--description-file): Hard code its value instead.
6546
6547 * emacs-lisp/package.el: Don't activate packages older than builtin.
6548 (package-obsolete-list): Rename from package-obsolete-alist, and make
6549 it into a simple list of package-desc.
6550 (package-strip-version): Remove.
6551 (package-built-in-p): Use package--builtin-versions.
6552 (package-mark-obsolete): Simplify.
6553 (package-process-define-package): Mark it obsolete if older than the
6554 builtin version.
6555 (package-handle-response): Use line-end-position.
6556 (package-read-archive-contents, package--download-one-archive):
6557 Simplify.
6558 (package--add-to-archive-contents): Skip if older than the builtin or
6559 installed version.
6560 (package-menu-describe-package): Fix last change.
6561 (package-list-unversioned): New var.
6562 (package-menu--generate): Use it.
6563
6564 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6565 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6566 (autoload-builtin-package-versions): New variable.
6567 (autoload-generate-file-autoloads): Use them.
6568 Remove the list of autoloaded functions/macros from the
6569 (autoload...) comments.
6570
6571 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6572
6573 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6574
6575 * simple.el (line-move-partial): Don't jump to the next screen
6576 line as soon as it becomes visible. Instead, continue enlarging
6577 the vscroll until the portion of a tall screen line that's left on
6578 display is about the height of the frame's default font.
6579 (Bug#14567)
6580
6581 2013-06-15 Glenn Morris <rgm@gnu.org>
6582
6583 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6584 compilation-error-regexp-alist void, or local while let-bound.
6585
6586 * progmodes/make-mode.el (makefile-mode-syntax-table):
6587 Treat "=" as punctuation. (Bug#14614)
6588
6589 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6590
6591 * help-fns.el (describe-variable):
6592 Add extra line for permanent-local variables.
6593
6594 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6595
6596 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6597 Add export, import, library. (Bug#9164)
6598 (library): Set indent function.
6599
6600 2013-06-14 Glenn Morris <rgm@gnu.org>
6601
6602 * term/xterm.el (xterm--query):
6603 Stop after first matching handler. (Bug#14615)
6604
6605 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6606
6607 Add support for dired in saveplace.
6608 * dired.el (dired-initial-position-hook): New variable.
6609 (dired-initial-position): Call hook to place cursor position.
6610 * saveplace.el (save-place-to-alist): Add dired position.
6611 (save-place-dired-hook): New function.
6612
6613 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6614
6615 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6616 through a symbol rather than letrec.
6617
6618 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6619 (package-desc): Add `dir' field.
6620 (package-desc-full-name): New function.
6621 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6622 (package-maybe-load-descriptor): Remove.
6623 (package-load-all-descriptors): Just call package-load-descriptor.
6624 (package--disabled-p): New function.
6625 (package-desc-vers, package-desc-doc): Remove aliases.
6626 (package--dir): Remove function.
6627 (package-activate): Check if a package is disabled.
6628 (package-process-define-package): New function, extracted from
6629 define-package.
6630 (define-package): Turn into a place holder.
6631 (package-unpack-single, package-tar-file-info):
6632 Use package--description-file.
6633 (package-compute-transaction): Use package--disabled-p.
6634 (package-download-transaction): Don't call
6635 package-maybe-load-descriptor since they're all loaded anyway.
6636 (package-install): Change argument to be a pkg-desc.
6637 (package-delete): Use a single pkg-desc argument.
6638 (describe-package-1): Use package-desc-dir instead of package--dir.
6639 Use package-desc property instead of package-symbol.
6640 (package-install-button-action): Adjust accordingly.
6641 (package--push): Rewrite.
6642 (package-menu--print-info): Adjust accordingly. Change the ID format
6643 to be a pkg-desc.
6644 (package-menu-describe-package, package-menu-get-status)
6645 (package-menu--find-upgrades, package-menu-mark-upgrades)
6646 (package-menu-execute, package-menu--name-predicate):
6647 Adjust accordingly.
6648 * startup.el (package--description-file): New function.
6649 (command-line): Use it.
6650 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6651 Use package-desc-version.
6652
6653 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6654 (byte-compile-preprocess): Use it.
6655 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6656 can't quite recognize.
6657 (byte-compile-add-to-list): Remove.
6658 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6659 (cconv-closure-convert): Add assertion.
6660
6661 * emacs-lisp/map-ynp.el: Use lexical-binding.
6662 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6663 Factor out some repeated code.
6664
6665 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * subr.el (with-eval-after-load): New macro.
6668 (eval-after-load): Allow form to be a function.
6669 take advantage of lexical-binding.
6670 (do-after-load-evaluation): Use dolist and adjust to new format.
6671 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6672
6673 2013-06-13 Juri Linkov <juri@jurta.org>
6674
6675 * replace.el (perform-replace): Display "symbol " and other search
6676 modes from `isearch-message-prefix' in the *Help* buffer.
6677
6678 * isearch.el (isearch-query-replace): Add " symbol" and other
6679 possible search modes from `isearch-message-prefix' to the prompt.
6680 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6681 when reading a regexp to collect.
6682
6683 2013-06-13 Juri Linkov <juri@jurta.org>
6684
6685 * isearch.el (word-search-regexp): Match whitespace if the search
6686 string begins or ends in whitespace. The LAX arg is applied to
6687 both ends of the search string. Use `regexp-quote' and explicit
6688 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6689 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6690 boundaries are replaced with symbol boundaries, and characters
6691 between symbols match non-word non-symbol syntax. (Bug#14602)
6692
6693 2013-06-13 Juri Linkov <juri@jurta.org>
6694
6695 * isearch.el (isearch-del-char): Don't exceed the length of
6696 `isearch-string' by the prefix arg. (Bug#14563)
6697
6698 2013-06-13 Juri Linkov <juri@jurta.org>
6699
6700 * isearch.el (isearch-yank-word, isearch-yank-line)
6701 (isearch-char-by-name, isearch-quote-char)
6702 (isearch-printing-char, isearch-process-search-char):
6703 Add optional count prefix arg. (Bug#14563)
6704
6705 * international/isearch-x.el
6706 (isearch-process-search-multibyte-characters):
6707 Add optional count prefix arg.
6708
6709 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6710
6711 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6712 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6713 lexical-binding.
6714
6715 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6716
6717 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6718
6719 2013-06-13 Glenn Morris <rgm@gnu.org>
6720
6721 * startup.el (tty-handle-args):
6722 Don't just discard "--" and anything after. (Bug#14608)
6723
6724 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6725
6726 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6727
6728 Implement changes in Secret Service API. Make it backward compatible.
6729 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6730 (secrets-create-item): Use it. Prefix properties with interface.
6731
6732 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6733
6734 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6735 (term-emulate-terminal): Respect term-suppress-hard-newline.
6736
6737 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6738
6739 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6740 Only remove a `thumb-file' overlay. (Bug#14548)
6741
6742 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6743
6744 * mail/reporter.el (reporter-submit-bug-report):
6745 Handle missing package-name. (Bug#14600)
6746
6747 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6748
6749 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6750 (reftex-citation-prompt, reftex-default-bibliography)
6751 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6752 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6753 (reftex-bib-sort-author, reftex-bib-sort-year)
6754 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6755 (reftex-extract-bib-entries-from-thebibliography)
6756 (reftex-get-bibkey-default, reftex-get-bib-names)
6757 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6758 (reftex-format-bib-entry, reftex-parse-bibitem)
6759 (reftex-format-bibitem, reftex-do-citation)
6760 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6761 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6762 (reftex-insert-bib-matches, reftex-format-citation)
6763 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6764 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6765 existing comments into docstrings.
6766
6767 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6768
6769 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6770
6771 2013-06-12 Andreas Schwab <schwab@suse.de>
6772
6773 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6774 for auto-save files.
6775
6776 2013-06-12 Glenn Morris <rgm@gnu.org>
6777
6778 * ido.el (ido-delete-ignored-files): Remove.
6779 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6780 Go back to calling ido-ignore-item-p directly.
6781
6782 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6783
6784 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6785
6786 * ido.el (ido-delete-ignored-files): New function,
6787 split from ido-make-file-list-1.
6788 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6789 (ido-make-file-list-1): Use ido-delete-ignored-files.
6790
6791 2013-06-12 Leo Liu <sdl.web@gmail.com>
6792
6793 * progmodes/octave.el (inferior-octave-startup)
6794 (inferior-octave-completion-table)
6795 (inferior-octave-track-window-width-change)
6796 (octave-eldoc-function-signatures, octave-help)
6797 (octave-find-definition): Use single quoted strings.
6798 (inferior-octave-startup-args): Change default value.
6799 (inferior-octave-startup): Do not hard code "-i" and
6800 "--no-line-editing".
6801 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6802 (inferior-octave-directory-tracker): Use it.
6803 (octave-goto-function-definition): Robustify.
6804 (octave-help): Support highlighting operators in 'See also'.
6805 (octave-find-definition): Find subfunctions only in Octave mode.
6806
6807 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * help-fns.el (help-fns--compiler-macro): If the handler function is
6810 named, then put a link to it.
6811 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6812 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6813 (cl-typep): Use it.
6814 (cl-eval-when): Simplify debug spec.
6815 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6816 compiler-macro function instead of setting `compiler-macro-file'.
6817
6818 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6819
6820 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6821 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6822
6823 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6824 Daniel Hackney <dan@haxney.org>
6825
6826 First part of Daniel Hackney's patch to package.el.
6827 * emacs-lisp/package.el: Use defstruct.
6828 (package-desc): New, main struct.
6829 (package--bi-desc, package--ac-desc): New structs, used to describe the
6830 format in external files.
6831 (package-desc-vers): Replace with package-desc-version accessor.
6832 (package-desc-doc): Replace with package-desc-summary accessor.
6833 (package-activate-1): Remove `package' arg since the pkg-vec now
6834 includes the name.
6835 (define-package): Use package-desc-from-define.
6836 (package-unpack-single): Change file-name arg to be a symbol.
6837 (package--add-to-archive-contents): Use package-desc-create and new
6838 accessor functions to package--ac-desc.
6839 (package-buffer-info, package-tar-file-info): Return a package-desc.
6840 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6841 arg to be a package-desc.
6842 (package-install-file): Adjust accordingly. Use \' to match EOS.
6843 (package--from-builtin): New function.
6844 (describe-package-1, package-menu--generate): Use it.
6845 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6846 (package-generate-autoloads): Idem and return the name of the file.
6847 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6848 Change pkg-info arg to be a package-desc.
6849 Use package-make-ac-desc.
6850 (package-upload-file): Use \' to match EOS.
6851 * finder.el (finder-compile-keywords): Use package-make-builtin.
6852
6853 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * vc/vc.el (vc-deduce-fileset): Change error message.
6856 (vc-read-backend): New function.
6857 (vc-next-action): Use it.
6858
6859 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6860
6861 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6862 (prolog-font-lock-keywords): Use regexp-opt instead.
6863 Don't manually highlight strings.
6864 (prolog-mode-variables): Simplify comment-start-skip.
6865 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6866
6867 * emacs-lisp/generic.el (generic--normalise-comments)
6868 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6869 (generic-mode-set-comments): Use them.
6870 (generic-bracket-support): Use setq-local.
6871 (generic-make-keywords-list): Declare obsolete.
6872
6873 2013-06-11 Glenn Morris <rgm@gnu.org>
6874
6875 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6876 Prettify after setting font-lock-defaults. (Bug#14574)
6877
6878 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6879
6880 * replace.el (query-replace, occur-read-regexp-defaults-function)
6881 (replace-search):
6882 * subr.el (declare-function, number-sequence, local-set-key)
6883 (substitute-key-definition, locate-user-emacs-file)
6884 (with-silent-modifications, split-string, eval-after-load):
6885 Fix typos, remove unneeded backslashes and reflow some docstrings.
6886
6887 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6890 default for Elisp files.
6891
6892 2013-06-11 Glenn Morris <rgm@gnu.org>
6893
6894 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6895 although define-derived-mode was doing this anyway. (Bug#14583)
6896
6897 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6900 Fix make-variable-buffer-local call to refer to the correct variable.
6901
6902 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6903
6904 * eshell/em-term.el (eshell-visual-commands)
6905 (eshell-visual-subcommands, eshell-visual-options):
6906 Add summary line to docstrings. Add cross-references.
6907
6908 2013-06-10 Glenn Morris <rgm@gnu.org>
6909
6910 * epa.el (epa-read-file-name): New function. (Bug#14510)
6911 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6912
6913 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6914
6915 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6916 output redirection to be ignored with visual commands.
6917
6918 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6919
6920 * eshell/em-term.el (eshell-visual-command-p): New function.
6921 (eshell-term-initialize): Move long lambda to separate function
6922 eshell-visual-command-p.
6923 * eshell/em-dirs.el (eshell-dirs-initialise):
6924 * eshell/em-script.el (eshell-script-initialize):
6925 Add missing #' to lambda.
6926
6927 2013-06-08 Leo Liu <sdl.web@gmail.com>
6928
6929 * progmodes/octave.el (octave-add-log-current-defun): New function.
6930 (octave-mode): Set add-log-current-defun-function.
6931 (octave-goto-function-definition): Do not move point if not found.
6932 (octave-find-definition): Enhance to try subfunctions first.
6933
6934 2013-06-08 Glenn Morris <rgm@gnu.org>
6935
6936 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6937 (byte-compile-backward-char, byte-compile-backward-word):
6938 Improve previous change, to handle non-explicit nil.
6939
6940 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6943 (smie--opener/closer-at-point): New function.
6944 (smie--matching-block-data): Use it. Don't match from right after an
6945 opener or right before a closer. Obey smie-blink-matching-inners.
6946 Don't signal a mismatch for repeated inners like "switch..case..case".
6947
6948 2013-06-07 Leo Liu <sdl.web@gmail.com>
6949
6950 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6951 to t. (Bug#14303)
6952 (octave-function-header-regexp): Fix. (Bug#14570)
6953 (octave-help-mode-finish-hook, octave-help-mode-finish):
6954 Remove. Just use temp-buffer-show-hook.
6955
6956 * newcomment.el (comment-search-backward): Revert last change.
6957 (Bug#14434)
6958
6959 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6960
6961 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6962
6963 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6964 through xargs, to avoid failure due to MS-Windows limitations on
6965 command-line length.
6966
6967 2013-06-06 Glenn Morris <rgm@gnu.org>
6968
6969 * font-lock.el (lisp-font-lock-keywords-2):
6970 Treat user-error like error.
6971
6972 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6973 (byte-compile-backward-char, byte-compile-backward-word):
6974 Handle explicit nil arguments. (Bug#14565)
6975
6976 2013-06-05 Alan Mackenzie <acm@muc.de>
6977
6978 * isearch.el (isearch-allow-prefix): New user option.
6979 (isearch-other-meta-char): Don't exit isearch when a prefix
6980 argument is typed whilst `isearch-allow-prefix' is non-nil.
6981 (Bug#9706)
6982
6983 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * autorevert.el (auto-revert-notify-handler): Use memq.
6986 Hide assertion failure.
6987
6988 * skeleton.el: Use cl-lib.
6989 (skeleton-further-elements): Use defvar-local.
6990 (skeleton-insert): Use cl-progv.
6991
6992 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6993
6994 * progmodes/prog-mode.el (prog-prettify-symbols)
6995 (prog-prettify-install): Update docstrings.
6996
6997 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * simple.el: Move all the prog-mode code to prog-mode.el.
7000 * progmodes/prog-mode.el: New file.
7001 * loadup.el: Add prog-mode.el.
7002
7003 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7004
7005 * simple.el (prog-prettify-symbols): Add version.
7006 (prog-prettify-install): Add convenience function to prettify symbols.
7007
7008 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7009 (perl--augmented-font-lock-keywords-1)
7010 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7011 variables and use it.
7012
7013 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7014 (cfengine3-mode): Remove unneeded variable and use it.
7015
7016 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7017 (lisp--augmented-font-lock-keywords-1)
7018 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7019 Remove unneeded variables and use it.
7020
7021 2013-06-05 João Távora <joaotavora@gmail.com>
7022
7023 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7024 to point when opening the connection. (Bug#14380)
7025
7026 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * subr.el (load-history-regexp, load-history-filename-element)
7029 (eval-after-load, after-load-functions, do-after-load-evaluation)
7030 (eval-next-after-load, display-delayed-warnings)
7031 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7032 definition of save-match-data.
7033 (overriding-local-map): Remove accidental obsolescence declaration.
7034
7035 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7036
7037 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7038
7039 Generalize symbol prettify support to prog-mode and implement it
7040 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7041 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7042 (prog--prettify-font-lock-compose-symbol)
7043 (prog-prettify-font-lock-symbols-keywords): New variables and
7044 functions to support symbol prettification.
7045 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7046 (lisp--augmented-font-lock-keywords-1)
7047 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7048 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7049 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7050 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7051 Implement prettify of -> => :: strings.
7052 * progmodes/perl-mode.el (perl-prettify-symbols)
7053 (perl--font-lock-compose-symbol)
7054 (perl--font-lock-symbols-keywords): Move to prog-mode.
7055 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7056 (perl-font-lock-keywords-1)
7057 (perl-font-lock-keywords-2): Remove explicit prettify support.
7058 (perl--augmented-font-lock-keywords)
7059 (perl--augmented-font-lock-keywords-1)
7060 (perl--augmented-font-lock-keywords-2, perl-mode):
7061 Implement prettify support.
7062
7063 2013-06-05 Leo Liu <sdl.web@gmail.com>
7064
7065 Re-implement smie matching block highlight using
7066 show-paren-data-function. (Bug#14395)
7067 * emacs-lisp/smie.el (smie-matching-block-highlight)
7068 (smie--highlight-matching-block-overlay)
7069 (smie--highlight-matching-block-lastpos)
7070 (smie-highlight-matching-block)
7071 (smie-highlight-matching-block-mode): Remove.
7072 (smie--matching-block-data-cache): New variable.
7073 (smie--matching-block-data): New function.
7074 (smie-setup): Use smie--matching-block-data for
7075 show-paren-data-function.
7076
7077 * progmodes/octave.el (octave-mode-menu): Fix.
7078 (octave-find-definition): Skip garbage lines.
7079
7080 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 Fix compilation error with simultaneous dynamic+lexical scoping.
7083 Add warning when a defvar appears after the first let-binding.
7084 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7085 (byte-compile-close-variables): Initialize it.
7086 (byte-compile--declare-var): New function.
7087 (byte-compile-file-form-defvar)
7088 (byte-compile-file-form-define-abbrev-table)
7089 (byte-compile-file-form-custom-declare-variable): Use it.
7090 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7091 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7092 (byte-compile-bind): Handle dynamic bindings that shadow
7093 lexical bindings.
7094 (byte-compile-unbind): Make arg non-optional.
7095 (byte-compile-let): Simplify.
7096 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7097 (cconv--analyse-function, cconv-analyse-form): Populate it.
7098 Protect byte-compile-bound-variables to limit the scope of defvars.
7099 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7100 Remove unneeded rule for `declare'.
7101
7102 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7103 so as to avoid depending on cl-adjoin at run-time.
7104 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7105
7106 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7107 (macroexp--warn-and-return): Use it.
7108
7109 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * lisp/subr.el: Convert to lexical binding.
7112 (overriding-local-map): Make obsolete.
7113 (add-to-list): Doc fix. Add compiler macro.
7114 (read-key): Swap values of local maps.
7115
7116 2013-06-05 Leo Liu <sdl.web@gmail.com>
7117
7118 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7119
7120 2013-06-04 Leo Liu <sdl.web@gmail.com>
7121
7122 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7123 (compilation-auto-jump): Suppress the "Mark set" message to give
7124 way to exit message.
7125
7126 2013-06-04 Alan Mackenzie <acm@muc.de>
7127
7128 Remove faulty optimisation from indentation calculation.
7129 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7130 search limit based on 2000 characters back from indent-point.
7131
7132 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7133
7134 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7135
7136 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7137
7138 * emacs-lisp/lisp.el: Use lexical-binding.
7139 (lisp--local-variables-1, lisp--local-variables): New functions.
7140 (lisp--local-variables-completion-table): New var.
7141 (lisp-completion-at-point): Use it complete let-bound vars.
7142
7143 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7144 eagerly (bug#14422).
7145
7146 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7147
7148 * autorevert.el (auto-revert-notify-enabled)
7149 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7150 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7151 (auto-revert-notify-handler): Handle also gfilenotify.
7152
7153 * subr.el (file-notify-handle-event): New defun. Replacing ...
7154 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7155 Remove.
7156
7157 2013-06-03 Juri Linkov <juri@jurta.org>
7158
7159 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7160 `M-s h .'. (Bug#14427)
7161
7162 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7163 command `hi-lock-face-symbol-at-point'.
7164 (hi-lock-face-symbol-at-point): New command.
7165 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7166 (hi-lock-menu): Add `highlight-symbol-at-point'.
7167 (hi-lock-mode): Doc fix.
7168
7169 * isearch.el (isearch-forward-symbol-at-point): New command.
7170 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7171 (isearch-highlight-regexp): Add a regexp which matches
7172 words/symbols for word/symbol mode.
7173
7174 * subr.el (find-tag-default-bounds): New function with the body
7175 mostly moved from `find-tag-default'.
7176 (find-tag-default): Move most code to `find-tag-default-bounds',
7177 call it and apply `buffer-substring-no-properties' afterwards.
7178
7179 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7180
7181 * eshell/em-term.el (eshell-term-initialize):
7182 Use `cl-intersection' rather than `intersection'.
7183
7184 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7185
7186 * vc/log-view.el: Doc fix.
7187 (log-view-mode-map): Copy keymap from `special-mode-map'.
7188
7189 2013-06-02 Eric Ludlam <zappo@gnu.org>
7190
7191 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7192 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7193 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7194 (eieio-unbound, eieio-default-superclass)
7195 (eieio--define-field-accessors, method-static, method-before)
7196 (method-primary, method-after, method-num-lists)
7197 (method-generic-before, method-generic-primary)
7198 (method-generic-after, method-num-slots)
7199 (eieio-specialized-key-to-generic-key)
7200 (eieio--check-type, class-v, class-p)
7201 (eieio-class-name, define-obsolete-function-alias)
7202 (eieio-class-parents-fast, eieio-class-children-fast)
7203 (same-class-fast-p, class-constructor, generic-p)
7204 (generic-primary-only-p, generic-primary-only-one-p)
7205 (class-option-assoc, class-option, eieio-object-p)
7206 (class-abstract-p, class-method-invocation-order)
7207 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7208 (eieio-class-un-autoload, eieio-defclass)
7209 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7210 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7211 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7212 (eieio-defgeneric-reset-generic-form)
7213 (eieio-defgeneric-form-primary-only)
7214 (eieio-defgeneric-reset-generic-form-primary-only)
7215 (eieio-defgeneric-form-primary-only-one)
7216 (eieio-defgeneric-reset-generic-form-primary-only-one)
7217 (eieio-unbind-method-implementations)
7218 (eieio--defmethod, eieio--typep)
7219 (eieio-perform-slot-validation, eieio-validate-slot-value)
7220 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7221 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7222 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7223 (eieio-slot-name-index, eieio-class-slot-name-index)
7224 (eieio-set-defaults, eieio-initarg-to-attribute)
7225 (eieio-attribute-to-initarg, eieio-c3-candidate)
7226 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7227 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7228 (eieio-class-precedence-list, eieio-generic-call-methodname)
7229 (eieio-generic-call-arglst, eieio-generic-call-key)
7230 (eieio-generic-call-next-method-list)
7231 (eieio-pre-method-execution-functions, eieio-generic-call)
7232 (eieio-generic-call-primary-only, eieiomt-method-list)
7233 (eieiomt-optimizing-obarray, eieiomt-install)
7234 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7235 (eieio-generic-form, eieio-defmethod, make-obsolete)
7236 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7237 (defclass): Remove `eval-and-compile' from macro.
7238 (call-next-method, shared-initialize): Instead of using
7239 `scoped-class' variable, use new eieio--scoped-class, and
7240 eieio--with-scoped-class.
7241 (initialize-instance): Rename local variable 'scoped-class' to
7242 'this-class' to remove ambiguitity from old global.
7243
7244 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7245 eieio.el.
7246 (eieio--scoped-class-stack): New variable.
7247 (eieio--scoped-class): New fcn.
7248 (eieio--with-scoped-class): New scoping macro.
7249 (eieio-defclass): Use pushnew instead of add-to-list.
7250 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7251 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7252 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7253 `scoped-class' variable, use new eieio--scoped-class, and
7254 eieio--with-scoped-class.
7255
7256 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7257
7258 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7259
7260 * eshell/esh-ext.el (eshell-external-command): Pass args to
7261 `eshell-find-interpreter'.
7262 (eshell-find-interpreter): Add new second parameter ARGS.
7263
7264 * eshell/em-script.el (eshell-script-initialize): Add second arg
7265 to the function added as MATCH to `eshell-interpreter-alist'.
7266
7267 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7268 the function added as MATCH to `eshell-interpreter-alist'.
7269
7270 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7271 (eshell-visual-options): New defcustom.
7272 (eshell-escape-control-x): Adapt docstring.
7273 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7274 `eshell-visual-options' in addition to `eshell-visual-commands'.
7275 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7276
7277 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7278
7279 * progmodes/python.el (python-indent-block-enders): Add break,
7280 continue and raise keywords.
7281
7282 2013-06-01 Glenn Morris <rgm@gnu.org>
7283
7284 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7285
7286 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7287 * progmodes/cc-cmds.el (delete-forward-p):
7288 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7289 * progmodes/cc-engine.el (buffer-syntactic-context):
7290 * progmodes/cc-fonts.el (face-property-instance):
7291 * progmodes/cc-mode.el (set-keymap-parents):
7292 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7293 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7294 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7295 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7296 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7297
7298 * progmodes/cc-vars.el (other): Emacs has this widget since
7299 at least 21.1, so don't (re)define it.
7300
7301 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7302 Replace the obsolete alias pcomplete-arg-quote-list.
7303
7304 2013-06-01 Leo Liu <sdl.web@gmail.com>
7305
7306 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7307 punctuation syntax.
7308 (inferior-octave-minimal-columns)
7309 (inferior-octave-last-column-width): New variables.
7310 (inferior-octave-track-window-width-change): New function.
7311 (inferior-octave-mode): Adjust column width so that Octave output,
7312 for example from 'ls', can fit into the window nicely.
7313
7314 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7315
7316 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7317 Highlight expansions inside regexp literals.
7318
7319 2013-05-31 Glenn Morris <rgm@gnu.org>
7320
7321 * obsolete/sym-comp.el (symbol-complete):
7322 Replace obsolete completion-annotate-function.
7323
7324 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7325
7326 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7327
7328 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7329 New function, checks if point is inside a literal that allows
7330 expression expansion.
7331 (ruby-syntax-propertize-expansion): Use it.
7332 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7333 around the body.
7334
7335 2013-05-30 Juri Linkov <juri@jurta.org>
7336
7337 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7338 to "\M-si".
7339 (isearch-invisible): New variable.
7340 (isearch-forward): Doc fix.
7341 (isearch-mode): Set `isearch-invisible'
7342 to the value of `search-invisible'.
7343 (isearch-toggle-case-fold): Doc fix.
7344 (isearch-toggle-invisible): New command.
7345 (isearch-query-replace): Let-bind `search-invisible'
7346 to the value of `isearch-invisible'.
7347 (isearch-search): Use `isearch-invisible' instead of
7348 `search-invisible'. Let-bind `search-invisible'
7349 to the value of `isearch-invisible'. (Bug#11378)
7350
7351 2013-05-30 Juri Linkov <juri@jurta.org>
7352
7353 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7354 call when `query-flag' is nil and `search-invisible' is non-nil.
7355 (Bug#11746)
7356
7357 2013-05-30 Glenn Morris <rgm@gnu.org>
7358
7359 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7360
7361 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7362 (cc-require): Suppress spurious "noruntime" warnings.
7363 (cc-require-when-compile): Use fboundp, for sake of compiler.
7364
7365 * progmodes/cc-mode.el: Move load of cc-vars before that of
7366 cc-langs (which in turn loads cc-vars), to quieten compiler.
7367
7368 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * paren.el: Simplify the code.
7371 (show-paren-mode): Always start the timer.
7372 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7373 (show-paren--overlay, show-paren--overlay-1): Rename from
7374 show-paren-overlay and show-paren-overlay-1, and initialize to an
7375 overlay rather than to nil.
7376 (show-paren-function): Misc cleanup and simplifications.
7377
7378 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * paren.el (show-paren-data-function): New hook.
7381 (show-paren--default): New function, extracted from show-paren-function.
7382 (show-paren-function): Use show-paren-data-function.
7383
7384 2013-05-30 Glenn Morris <rgm@gnu.org>
7385
7386 * ielm.el (ielm-map, ielm-complete-symbol):
7387 Use completion-at-point rather than obsolete functions.
7388 (inferior-emacs-lisp-mode): Doc fix.
7389 Set completion-at-point-functions, rather than
7390 comint-dynamic-complete-functions.
7391
7392 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7393 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7394 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7395
7396 * image.el (image-animated-p): Tweak definition.
7397
7398 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7399 (rlogin-process-connection-type): Tweak default. Add set-after.
7400 (rlogin-host): Doc fix.
7401 (rlogin): Tweak prompt.
7402 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7403
7404 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7405 * progmodes/tcl.el (inferior-tcl-mode-map):
7406 Use completion-at-point rather than obsolete alias.
7407
7408 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7409
7410 * minibuffer.el (read-file-name-completion-ignore-case):
7411 Move before completion--in-region, for eager macro expansion.
7412
7413 2013-05-29 Juri Linkov <juri@jurta.org>
7414
7415 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7416 for total count of matching lines. Add `global-matches' for total
7417 count of matches. Rename `matches' to `lines' for count of
7418 matching lines. Add `matches' for count of matches.
7419 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7420 to `prev-line' for line number of prev match endpt.
7421 Increment `matches' for every match. Print the number of
7422 matching lines in the header.
7423 (occur-context-lines): Rename `lines' to `curr-line'.
7424 Rename `prev-lines' to `prev-line'. (Bug#14017)
7425
7426 2013-05-29 Juri Linkov <juri@jurta.org>
7427
7428 * replace.el (perform-replace): Add `skip-read-only-count',
7429 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7430 Increment them for corresponding conditions and report the number
7431 of skipped occurrences in the final message. (Bug#11746)
7432 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7433 (replace-string, replace-regexp): Doc fix.
7434
7435 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7436
7437 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7438
7439 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7440 prog-mode-map (bug#14504).
7441
7442 2013-05-29 Leo Liu <sdl.web@gmail.com>
7443
7444 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7445 (octave-help): Small simplification.
7446
7447 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7448 off the highlight first.
7449
7450 2013-05-29 Glenn Morris <rgm@gnu.org>
7451
7452 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7453 Handle idlwave-last-system-routine-info-cons-cell being nil.
7454
7455 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7456 (idlwave-write-paths): Simplify via with-temp-buffer.
7457
7458 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7459 * emulation/cua-rect.el: Also load cua-base at run time.
7460
7461 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7462 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7463 (cperl-imenu-on-info): Require imenu.
7464
7465 2013-05-28 Alan Mackenzie <acm@muc.de>
7466
7467 Handle "capitalised keywords" correctly.
7468 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7469
7470 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7471
7472 * eshell/em-unix.el: Add -r option to cp.
7473
7474 2013-05-28 Glenn Morris <rgm@gnu.org>
7475
7476 * vc/vc-arch.el (vc-exec-after): Declare.
7477 (vc-switches): Autoload.
7478 * vc/vc-bzr.el: No need to require vc when compiling.
7479 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7480 (vc-resynch-buffer, vc-dir-refresh): Declare.
7481 (vc-setup-buffer, vc-switches): Autoload.
7482 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7483 (vc-resynch-buffer): Declare.
7484 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7485 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7486 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7487 (grep-read-regexp, grep-read-files, grep-expand-template)
7488 (vc-dir-refresh): Declare.
7489 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7490 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7491 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7492 * vc/vc-mtn.el (vc-exec-after): Declare.
7493 (vc-switches): Autoload.
7494 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7495 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7496 (vc-file-tree-walk): Declare.
7497 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7498 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7499 (vc-tag-precondition, vc-rename-master): Autoload.
7500 * vc/vc-svn.el (vc-exec-after): Declare.
7501 (vc-switches, vc-setup-buffer): Autoload.
7502 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7503 Autoload.
7504 (vc-resynch-buffer): Declare.
7505
7506 * obsolete/fast-lock.el (byte-compile-warnings):
7507 Don't warn about obsolete features in this obsolete file.
7508
7509 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7510 Move definition before use.
7511
7512 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7513 (dun-unix-verbs): Remove dun-zippy.
7514 (dun-zippy): Remove function.
7515
7516 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7517
7518 2013-05-27 Juri Linkov <juri@jurta.org>
7519
7520 * replace.el (replace-search): New function with code moved out
7521 from `perform-replace'.
7522 (replace-highlight, replace-dehighlight): Move function definitions
7523 up closer to `replace-search'. (Bug#11746)
7524
7525 2013-05-27 Juri Linkov <juri@jurta.org>
7526
7527 * replace.el (perform-replace): Ignore invisible matches.
7528 In addition to checking `query-replace-skip-read-only', also
7529 filter out matches by calling `run-hook-with-args-until-failure'
7530 on `isearch-filter-predicates', and also check `search-invisible'
7531 for t or call `isearch-range-invisible'.
7532 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7533
7534 2013-05-27 Juri Linkov <juri@jurta.org>
7535
7536 * isearch.el (isearch-filter-predicates): Rename from
7537 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7538 (isearch-message-prefix): Display text from the property
7539 `isearch-message-prefix' of the currently active filters.
7540 (isearch-search): Don't compare `isearch-filter-predicate' with
7541 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7542 on `isearch-filter-predicates'. Also check `search-invisible' for t
7543 or call `isearch-range-invisible'.
7544 (isearch-filter-visible): Make obsolete.
7545 (isearch-lazy-highlight-search):
7546 Call `run-hook-with-args-until-failure' on
7547 `isearch-filter-predicates' and use `isearch-range-invisible'.
7548
7549 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7550 `isearch-filter-predicates' instead of `funcall'ing
7551 `isearch-filter-predicate'.
7552 (Info-mode): Set `Info-isearch-filter' to
7553 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7554
7555 * dired-aux.el (dired-isearch-filter-predicate-orig):
7556 Remove variable.
7557 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7558 (dired-isearch-filenames-end): Add and remove
7559 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7560 instead of changing the value of `isearch-filter-predicate'.
7561 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7562 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7563 Put property `isearch-message-prefix' to "filename " on
7564 `dired-isearch-filter-filenames'.
7565
7566 * wdired.el (wdired-change-to-wdired-mode):
7567 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7568 locally instead of changing `isearch-filter-predicate'.
7569 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7570
7571 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7572
7573 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7574 return the commit hash (Bug#14459). Also set the
7575 `vc-git-detached' property.
7576 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7577 (vc-git-mode-line-string): Use the same help-echo format whether
7578 in detached mode or not, because we know the actual revision now.
7579 When in detached mode, shorten the revision to 7 chars.
7580
7581 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7582
7583 * emacs-lisp/easy-mmode.el (define-minor-mode):
7584 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7585 mode hook and provide a docstring.
7586
7587 2013-05-27 Alan Mackenzie <acm@muc.de>
7588
7589 Remove spurious syntax-table text properties inserted by C-y.
7590 * progmodes/cc-mode.el (c-after-change): Also clear hard
7591 syntax-table property with value nil.
7592
7593 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7594
7595 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7596 when reading the events; the buffer layout shall not be changed.
7597
7598 2013-05-27 Leo Liu <sdl.web@gmail.com>
7599
7600 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7601 New variable.
7602 (inferior-octave-directory-tracker): Automatically re-sync
7603 default-directory.
7604 (octave-help): Improve handling of 'See also'.
7605
7606 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7607
7608 * doc-view.el: Minor naming convention tweaks.
7609 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7610
7611 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7612 even if there's no `display' property yet (bug#14435).
7613
7614 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7615
7616 * subr.el (unmsys--file-name): Rename from reveal-filename.
7617
7618 * Makefile.in (custom-deps, finder-data, autoloads)
7619 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7620 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7621 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7622
7623 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7624
7625 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7626 error-completion on the first 2 args of condition-case (bug#14446).
7627 Don't burp at EOB.
7628
7629 2013-05-25 Leo Liu <sdl.web@gmail.com>
7630
7631 * comint.el (comint-previous-matching-input): Do not flood the
7632 *Messages* buffer with trivial messages.
7633
7634 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7635
7636 * progmodes/flymake.el (flymake-nop): Don't return a string.
7637 (flymake-set-at): Fix typo.
7638
7639 * simple.el (read--expression): New function, extracted from
7640 eval-expression. Set completion-at-point-functions (bug#14465).
7641 (eval-expression, eval-minibuffer): Use it.
7642
7643 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7644
7645 * progmodes/flymake.el (flymake-save-buffer-in-file)
7646 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7647 (flymake-selected-frame, flymake-log, flymake-ins-after)
7648 (flymake-set-at, flymake-get-buildfile-from-cache)
7649 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7650 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7651 Refine the doc string.
7652 (flymake-get-file-name-mode-and-masks): Reformat.
7653 (flymake-get-real-file-name-function): Fix a minor bug.
7654
7655 2013-05-24 Juri Linkov <juri@jurta.org>
7656
7657 * progmodes/grep.el (grep-mode-font-lock-keywords):
7658 Support =linenumber= format used by git-grep for lines with
7659 function names. (Bug#13549)
7660
7661 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7662
7663 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7664 0 after a semi-colon; it works better for smie-auto-fill.
7665 (octave--indent-new-comment-line): New function.
7666 (octave-indent-new-comment-line): Use it (indirectly).
7667 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7668 modify comment-line-break-function.
7669
7670 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7671 (smie-setup): Use add-function to set it.
7672
7673 2013-05-24 Sam Steingold <sds@gnu.org>
7674
7675 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7676 argument (before the `interactive' argument).
7677
7678 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7679
7680 * image-mode.el (image-mode-winprops): Add winprops to
7681 image-mode-winprops-alist before running
7682 image-mode-new-window-functions.
7683 * doc-view.el (doc-view-new-window-function): Don't delay
7684 doc-view-goto-page via timers (bug#14435).
7685
7686 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7687
7688 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7689 (doc-view-desktop-save-buffer): New function.
7690 (doc-view-restore-desktop-buffer): New function.
7691 (desktop-buffer-mode-handlers):
7692 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7693 handler.
7694 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7695 `desktop-save-buffer' function.
7696
7697 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7698
7699 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7700 (tramp-gvfs-file-name-handler): Raise a user error when
7701 `tramp-gvfs-enabled' is nil.
7702 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7703 Do not raise a user error when loading package. (Bug#14447)
7704
7705 * net/xesam.el: Move to obsolete/.
7706
7707 2013-05-24 Glenn Morris <rgm@gnu.org>
7708
7709 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7710
7711 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7712
7713 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7714 (Info-find-node, Man-getpage-in-background): Declare.
7715
7716 * mail/unrmail.el (unrmail):
7717 Replace obsolete detect-coding-with-priority.
7718
7719 * net/socks.el (socks-split-string): Use this rather than split-string.
7720 (socks-nslookup-host): Update for above change.
7721 (dynamic-choice, s5-dynamic-choice-match)
7722 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7723 Comment out unused code.
7724
7725 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7726 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7727 (gud-tooltip-echo-area): Make obsolete.
7728 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7729
7730 * progmodes/js.el (js--optimize-arglist): Declare.
7731
7732 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7733
7734 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7735 (ediff-window-C): Declare.
7736
7737 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7738 Tweak requires to silence compiler.
7739
7740 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7741 (he-search-string, he-tried-table, he-expand-list)
7742 (he-init-string, he-string-member, he-substitute-string)
7743 (he-reset-string): Declare.
7744
7745 * obsolete/options.el (list-options): Use custom-variable-p,
7746 rather than obsolete alias.
7747
7748 2013-05-23 Sam Steingold <sds@gnu.org>
7749
7750 * simple.el (shell-command-on-region): Pass the `replace' argument
7751 down to `call-process-region' to comply with the doc as reported on
7752 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7753
7754 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * emacs-lisp/smie.el (smie-indent-forward-token)
7757 (smie-indent-backward-token): Handle string tokens (bug#14381).
7758
7759 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7760
7761 * ielm.el (ielm-menu): New menu.
7762 (inferior-emacs-lisp-mode): Set comment-start.
7763
7764 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7765
7766 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7767 Fix deactivate action.
7768
7769 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7770 Add cleveref macros.
7771
7772 * lisp/textmodes/reftex-parse.el
7773 (reftex-locate-bibliography-files): Accept options for
7774 bibliography commands.
7775 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7776 Add addbibresource. Basic Biblatex support.
7777
7778 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7779
7780 * net/tramp-gvfs.el (top):
7781 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7782 when loading package. (Bug#14447)
7783
7784 2013-05-23 Glenn Morris <rgm@gnu.org>
7785
7786 * progmodes/js.el: No need to load comint when compiling.
7787 (ring-insert, comint-send-string, comint-send-input)
7788 (comint-last-input-end, ido-chop): Declare.
7789
7790 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7791 * vc/ediff-mult.el: Adjust requires.
7792 (ediff-directories-internal, ediff-directory-revisions-internal)
7793 (ediff-patch-file-internal): Declare.
7794 * vc/ediff-ptch.el: Adjust requires.
7795 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7796 (ediff-find-file): Autoload.
7797 * vc/ediff-util.el: No need to load ediff when compiling.
7798 (ediff-regions-internal): Declare.
7799 * vc/ediff-wind.el: Adjust requires.
7800 (ediff-compute-toolbar-width): Define when compiling.
7801 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7802 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7803 (dired-get-filename, dired-get-marked-files)
7804 (ediff-last-dir-patch, ediff-patch-default-directory)
7805 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7806 (ediff-patch-buffer-internal): Declare.
7807
7808 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7809 (ispell-process, ispell-buffer-local-words, lm-summary)
7810 (lm-section-start, lm-section-end): Declare.
7811 (checkdoc-ispell-init): Simplify.
7812
7813 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7814 (he-string-member, he-reset-string, he-substitute-string): Declare.
7815
7816 * eshell/em-ls.el: Adjust requires.
7817 (eshell-glob-regexp): Declare.
7818 * eshell/em-tramp.el: Adjust requires.
7819 (eshell-parse-command): Autoload.
7820 * eshell/em-xtra.el: Adjust requires.
7821 (eshell-parse-command): Autoload.
7822 * eshell/esh-ext.el: Adjust requires.
7823 (eshell-parse-command, eshell-close-handles): Autoload.
7824 * eshell/esh-io.el: Adjust requires.
7825 (eshell-output-filter): Autoload.
7826 * eshell/esh-util.el: No need to load tramp when compiling.
7827 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7828 Declare.
7829 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7830 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7831 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7832 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7833 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7834 * eshell/esh-opt.el, eshell/esh-proc.el:
7835 * eshell/esh-var.el: Adjust requires.
7836 * eshell/eshell.el: Do not require esh-util twice.
7837 (eshell-add-input-to-history): Declare.
7838 (eshell-command): Check history module is active before using it.
7839
7840 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7841
7842 2013-05-22 Leo Liu <sdl.web@gmail.com>
7843
7844 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7845
7846 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7847
7848 * autorevert.el (auto-revert-notify-add-watch)
7849 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7850 it indicates changes in file modification time.
7851
7852 2013-05-22 Glenn Morris <rgm@gnu.org>
7853
7854 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7855 Always delete the autoloaded function from the noruntime and
7856 unresolved functions lists.
7857
7858 * allout.el: No need to load epa, epg, overlay when compiling.
7859 (epg-context-set-passphrase-callback, epg-list-keys)
7860 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7861 (epg-key-user-id-list): Declare.
7862
7863 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7864 (viper-set-parsing-style-toggling-macro)
7865 (viper-set-emacs-state-searchstyle-macros):
7866 Use called-interactively-p on Emacs.
7867 (viper-looking-back): Make it an obsolete alias. Update callers.
7868 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7869 Use looking-back rather than viper-looking-back.
7870 (viper-tmp-insert-at-eob, viper-enlarge-region)
7871 (viper-read-string-with-history, viper-register-to-point)
7872 (viper-append-to-register, viper-change-state-to-vi)
7873 (viper-backward-char-carefully, viper-forward-char-carefully)
7874 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7875 (viper-change-state-to-emacs): Declare.
7876 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7877 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7878 * emulation/viper-mous.el: Do not load viper-cmd.
7879 (viper-backward-char-carefully, viper-forward-char-carefully)
7880 (viper-forward-word, viper-adjust-window): Declare.
7881
7882 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7883
7884 * progmodes/idlw-help.el (idlwave-help-fontify):
7885 Use called-interactively-p.
7886
7887 * term/w32console.el (w32-get-console-codepage)
7888 (w32-get-console-output-codepage): Declare.
7889
7890 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7891 Remove unnecessary declarations.
7892 (dframe-message): Doc fix.
7893
7894 * info.el (dframe-select-attached-frame, dframe-current-frame):
7895 Declare.
7896
7897 * speedbar.el (speedbar-message): Make it an obsolete alias.
7898 Update all callers.
7899 (speedbar-with-attached-buffer)
7900 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7901 (speedbar-with-writable): Use backquote.
7902 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7903 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7904 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7905 rather than speedbar- aliases.
7906 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7907 (speedbar-make-specialized-keymap, speedbar-insert-button)
7908 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7909 (speedbar-do-function-pointer): Declare.
7910 (rmail-speedbar-button, rmail-speedbar-find-file)
7911 (rmail-speedbar-move-message):
7912 Use dframe-with-attached-buffer rather than speedbar- alias.
7913 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7914 (dframe-message, speedbar-make-specialized-keymap)
7915 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7916 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7917 (speedbar-insert-button, dframe-select-attached-frame)
7918 (dframe-maybee-jump-to-attached-frame)
7919 (speedbar-change-initial-expansion-list)
7920 (speedbar-previously-used-expansion-list-name): Declare.
7921 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7922 Use dframe-message, dframe-with-attached-buffer rather than
7923 speedbar- aliases.
7924 (gud-sentinel): Silence compiler.
7925 * progmodes/vhdl-mode.el (speedbar-refresh)
7926 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7927 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7928 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7929 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7930 (speedbar-file-lists, speedbar-make-tag-line)
7931 (speedbar-line-directory, speedbar-goto-this-file)
7932 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7933 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7934 (speedbar-make-button, speedbar-reset-scanners)
7935 (speedbar-files-item-info, speedbar-line-text)
7936 (speedbar-find-file-in-frame, speedbar-set-timer)
7937 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7938 (speedbar-with-writable): Do not (re)define it.
7939 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7940 rather than speedbar- alias.
7941
7942 2013-05-21 Leo Liu <sdl.web@gmail.com>
7943
7944 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7945 menu items.
7946 (octave-mode): Tweak fill-nobreak-predicate.
7947 (inferior-octave-startup): Check process to avoid infinite loop.
7948 (inferior-octave): Pop to buffer first to show abornmal process
7949 exit information.
7950
7951 2013-05-21 Glenn Morris <rgm@gnu.org>
7952
7953 * printing.el (pr-menu-bar): Define when compiling.
7954
7955 2013-05-21 Leo Liu <sdl.web@gmail.com>
7956
7957 * progmodes/octave.el (octave-auto-fill): Remove.
7958 (octave-indent-new-comment-line): Improve.
7959 (octave-mode): Use auto fill mode through
7960 comment-line-break-function and fill-nobreak-predicate.
7961 (octave-goto-function-definition): Support DEFUN_DLD.
7962 (octave-beginning-of-defun): Small tweak.
7963 (octave-help): Show parent directory.
7964
7965 2013-05-21 Glenn Morris <rgm@gnu.org>
7966
7967 * files.el (dired-unmark):
7968 * progmodes/gud.el (gdb-input): Update declarations.
7969
7970 * calculator.el (electric, ehelp): No need to load when compiling.
7971 (Electric-command-loop, electric-describe-mode): Declare.
7972
7973 * doc-view.el (doc-view-current-converter-processes): Move before use.
7974
7975 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7976 Move MODE-set-explicitly definition before use.
7977
7978 * international/mule-diag.el (mule-diag):
7979 Don't use obsolete window-system-version.
7980
7981 * mail/feedmail.el (smtpmail): No need to load when compiling.
7982 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7983
7984 * mail/mail-utils.el (rfc822): No need to load when compiling.
7985 (rfc822-addresses): Autoload it.
7986 (mail-strip-quoted-names): Trivial simplification.
7987
7988 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7989 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7990
7991 * net/snmp-mode.el (tempo): Don't duplicate requires.
7992
7993 * progmodes/prolog.el (info): No need to load when compiling.
7994 (comint): Require before shell requires it.
7995 (Info-goto-node): Autoload it.
7996 (Info-follow-nearest-node): Declare.
7997 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7998
7999 * textmodes/artist.el (picture-mode-exit): Declare.
8000
8001 * textmodes/reftex-parse.el (reftex-parse-from-file):
8002 Trivial rewrite so the compiler can parse it better.
8003
8004 2013-05-20 Leo Liu <sdl.web@gmail.com>
8005
8006 * progmodes/octave.el (octave-help-mode-map)
8007 (octave-help-mode-finish-hook): New variables.
8008 (octave-help-mode, octave-help-mode-finish): New functions.
8009 (octave-help): Use octave-help-mode.
8010
8011 2013-05-20 Glenn Morris <rgm@gnu.org>
8012
8013 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8014
8015 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8016
8017 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8018 start at point, so that expansion starting right after opening
8019 slash in a regexp is recognized.
8020 (ruby-syntax-before-regexp-re): New defvar, extracted from
8021 ruby-syntax-propertize-function. Since the value of this regexp
8022 is looked up at runtime now, we should be able to turn
8023 `ruby-syntax-methods-before-regexp' into a defcustom later.
8024 (ruby-syntax-propertize-function): Split regexp matching into two
8025 parts, for opening and closing slashes. That allows us to skip
8026 over string interpolations and support multiline regexps.
8027 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8028 for them, which calls `ruby-syntax-propertize-expansion'.
8029 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8030 call to `ruby-syntax-propertize-function'.
8031 (ruby-syntax-propertize-expansion): Extracted from
8032 `ruby-syntax-propertize-expansions'. Handles one expansion.
8033 (ruby-syntax-propertize-percent-literal): Leave point right after
8034 the percent symbol, so that the expression expansion rule can
8035 propertize the contents.
8036 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8037 heredoc openers.
8038 (ruby-syntax-propertize-expansions): Remove.
8039
8040 2013-05-18 Juri Linkov <juri@jurta.org>
8041
8042 * man.el (Man-default-man-entry): Remove `-' from the end
8043 of the default value. (Bug#14400)
8044
8045 2013-05-18 Glenn Morris <rgm@gnu.org>
8046
8047 * comint.el (comint-password-prompt-regexp):
8048 Allow "password for XXX" where XXX contains colons (eg https://...).
8049
8050 2013-05-18 Leo Liu <sdl.web@gmail.com>
8051
8052 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8053 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8054 (octave-source-directories): Don't check process.
8055 (octave-source-directories, octave-find-definition): Doc fix.
8056
8057 2013-05-18 Glenn Morris <rgm@gnu.org>
8058
8059 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8060 Remove backspace/delete bindings. (Bug#14392)
8061
8062 * cus-dep.el (custom-make-dependencies): Sort the output.
8063 (custom-versions-load-alist): Convert comment to doc.
8064
8065 2013-05-17 Leo Liu <sdl.web@gmail.com>
8066
8067 * newcomment.el (comment-search-backward): Stricter in finding
8068 comment start. (Bug#14303)
8069
8070 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8071 (octave-comment-start-skip): Properly anchored.
8072
8073 2013-05-17 Leo Liu <sdl.web@gmail.com>
8074
8075 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8076 Clean up when turned off. (Bug#14395)
8077 (smie--highlight-matching-block-overlay): No longer buffer-local.
8078 (smie-highlight-matching-block): Adjust.
8079
8080 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8081
8082 Doc string fix for "nanoseconds" (Bug#14406).
8083 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8084 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8085
8086 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8087
8088 * calc/calc-units.el (math-extract-units): Preserve powers
8089 of units.
8090
8091 2013-05-17 Leo Liu <sdl.web@gmail.com>
8092
8093 * subr.el (delete-consecutive-dups): New function.
8094 * ido.el (ido-set-matches-1): Use it.
8095 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8096 * ido.el (ido-remove-consecutive-dups): Remove.
8097
8098 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8101 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8102 regexp-opt's `words'.
8103
8104 2013-05-16 Leo Liu <sdl.web@gmail.com>
8105
8106 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8107 (smie--highlight-matching-block-overlay)
8108 (smie--highlight-matching-block-lastpos)
8109 (smie--highlight-matching-block-timer): New variables.
8110 (smie-highlight-matching-block): New function.
8111 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8112 (smie-setup): Conditionally enable smie-blink-matching-open.
8113
8114 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8115
8116 Sync with upstream verilog-mode r840.
8117 * progmodes/verilog-mode.el (verilog-mode-version)
8118 (verilog-mode-release-date): Update.
8119 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8120 (verilog-sig-tieoff): Fix string error on
8121 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8122 (verilog-read-decls): Fix parameters confusing
8123 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8124
8125 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8126
8127 * subr.el (reveal-filename): New function.
8128
8129 * loadup.el: Compute Emacs executable versions on MS-Windows,
8130 where executables have the .exe extension. Add a hard link
8131 emacs-XX.YY.ZZ.exe on MS-Windows.
8132
8133 * Makefile.in (XARGS_LIMIT): New variable.
8134 (custom-deps, finder-data, autoloads)
8135 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8136 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8137 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8138 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8139
8140 2013-05-16 Leo Liu <sdl.web@gmail.com>
8141
8142 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8143 (octave-mode-menu, octave-mode-map): Remove its uses.
8144
8145 2013-05-16 Reto Zimmermann <reto@gnu.org>
8146
8147 Sync with upstream vhdl mode v3.34.2.
8148 * progmodes/vhdl-mode.el: Use `push' throughout.
8149 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8150 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8151 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8152 (vhdl-actual-generic-name): New option to derive actual generic name.
8153 (vhdl-port-paste-signals): Replace formal by actual generics.
8154 (vhdl-beautify): New name for old group vhdl-align. Update users.
8155 (vhdl-beautify-options): New option.
8156 (vhdl-last-input-event): New compat alias. Use throughout.
8157 (vhdl-goto-line): Replace user level function `goto-line'.
8158 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8159 vhdl-fix-statement-buffer.
8160 (vhdl-create-mode-menu): Add some entries.
8161 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8162 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8163 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8164 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8165 to force statements on one line.
8166 (vhdl-remove-trailing-spaces-region):
8167 New, split from vhdl-remove-trailing-spaces.
8168 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8169 Respect vhdl-beautify-options.
8170 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8171 (vhdl-update-sensitivity-list): Not add with index if exists without.
8172 Not include array index with signal. Ignore keywords in comments.
8173 (vhdl-get-visible-signals): Regexp tweaks.
8174 (vhdl-template-component-inst): Handle empty library.
8175 (vhdl-template-type): Add template for 'enum' type.
8176 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8177 Use vhdl-replace-string.
8178 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8179 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8180 (vhdl-speedbar-initialize): Update for above name change.
8181 (vhdl-compose-wire-components): Fix in handling of constants.
8182 (vhdl-error-regexp-emacs-alist): New variable.
8183 (vhdl-error-regexp-add-emacs): New function;
8184 adds support for new compile.el (Emacs 22+)
8185 (vhdl-generate-makefile-1): Change target order for single lib. units.
8186 Allow use of absolute file names.
8187
8188 2013-05-16 Leo Liu <sdl.web@gmail.com>
8189
8190 * simple.el (prog-indent-sexp): Indent enclosing defun.
8191
8192 2013-05-15 Glenn Morris <rgm@gnu.org>
8193
8194 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8195 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8196 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8197 (whitespace-highlight): Move to whitespace group.
8198
8199 * comint.el (comint-source):
8200 * pcmpl-linux.el (pcmpl-linux):
8201 * shell.el (shell-faces):
8202 * eshell/esh-opt.el (eshell-opt):
8203 * international/ccl.el (ccl): Remove empty custom groups.
8204
8205 * completion.el (dynamic-completion-mode):
8206 * jit-lock.el (jit-lock-debug-mode):
8207 * minibuffer.el (completion-in-region-mode):
8208 * type-break.el (type-break-mode-line-message-mode)
8209 (type-break-query-mode):
8210 * emulation/tpu-edt.el (tpu-edt-mode):
8211 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8212 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8213 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8214
8215 * term/xterm.el (xterm): Change parent group to terminals.
8216
8217 * master.el (master): Remove empty custom group.
8218 (master-mode): Remove unused :group argument.
8219 * textmodes/refill.el (refill): Remove empty custom group.
8220 (refill-mode): Remove unused :group argument.
8221
8222 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8223
8224 * cus-dep.el: Provide a feature.
8225 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8226 Don't mistakenly ignore files whose basenames match a basename
8227 from preloaded-file-list (eg cedet/ede/simple.el).
8228 Add a fallback method for getting :group.
8229
8230 2013-05-15 Juri Linkov <juri@jurta.org>
8231
8232 * isearch.el (isearch-char-by-name): Rename from
8233 `isearch-insert-char-by-name'. Doc fix.
8234 (isearch-forward): Mention `isearch-char-by-name' in
8235 the docstring. (Bug#13348)
8236
8237 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8238 `exit-minibuffer' instead of
8239 `isearch-nonincremental-exit-minibuffer'.
8240 (isearch-edit-string): Remove mention of
8241 `isearch-nonincremental-exit-minibuffer' from docstring.
8242 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8243 (isearch-forward-exit-minibuffer)
8244 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8245
8246 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * loadup.el: Just use unversioned DOC.
8249
8250 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8251 literals as extending to EOB.
8252 (nxml-last-fontify-end): Remove unused variable.
8253 (nxml-after-change1): Use with-silent-modifications.
8254 (nxml-extend-after-change-region): Simplify.
8255 (nxml-extend-after-change-region1): Remove function.
8256 (nxml-after-change1): Don't adjust for dependent regions.
8257 (nxml-fontify-matcher): Simplify.
8258 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8259 (xmltok-add-dependent): Remove function.
8260 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8261 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8262 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8263 unclosed <[[, <?, comment, and other literals as extending to EOB.
8264 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8265 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8266 Remove functions.
8267 (rng-do-some-validation-1): Don't mark dependent regions.
8268 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8269 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8270 (nxml-clear-dependent-regions): Remove functions.
8271 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8272 (nxml-ensure-scan-up-to-date):
8273 Don't clear&mark dependent regions.
8274
8275 2013-05-15 Leo Liu <sdl.web@gmail.com>
8276
8277 * progmodes/octave.el (octave-goto-function-definition):
8278 Improve and fix callers.
8279
8280 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8281
8282 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8283 the setter (bug#14387).
8284
8285 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8286 surrounding group (bug#14402).
8287
8288 2013-05-14 Juri Linkov <juri@jurta.org>
8289
8290 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8291 (Bug#14390)
8292
8293 2013-05-14 Glenn Morris <rgm@gnu.org>
8294
8295 * progmodes/f90.el (f90-imenu-generic-expression):
8296 Fix typo in 2013-05-08 change. (Bug#14402)
8297
8298 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8299
8300 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8301 Remove signals for which replies are never received.
8302
8303 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8304
8305 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8306 (gdb-handler-alist, gdb-handler-number): Remove variables.
8307 (gdb-handler-list): New variable.
8308 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8309 (gdb-pending-handler-p, gdb-handle-reply)
8310 (gdb-remove-all-pending-triggers): New functions.
8311 (gdb-discard-unordered-replies): New defcustom.
8312 (gdb-handler): New defstruct.
8313 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8314 instead of gdb-pending-triggers. Update docstring.
8315 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8316 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8317 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8318 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8319 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8320 (gdb-frame-handler): Pending triggers are now automatically managed.
8321 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8322 Remove argument.
8323 (gdb-input): Automatically handles pending triggers. Update docstring.
8324 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8325 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8326 Update comments.
8327 (gdb-done-or-error): Now use gdb-handle-reply.
8328
8329 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8330
8331 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8332 gdb-debug-log.
8333
8334 2013-05-14 Glenn Morris <rgm@gnu.org>
8335
8336 * subr.el (user-emacs-directory-warning): New option.
8337 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8338
8339 2013-05-14 Leo Liu <sdl.web@gmail.com>
8340
8341 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8342 during redisplay.
8343 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8344 (octave-font-lock-texinfo-comment): Fix invalid search bound
8345 error: wrong side of point.
8346
8347 2013-05-14 Glenn Morris <rgm@gnu.org>
8348
8349 * progmodes/flymake.el (flymake-xml-program): New option.
8350 (flymake-xml-init): Use it.
8351
8352 * term/xterm.el: Provide a feature.
8353
8354 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8355
8356 2013-05-13 Glenn Morris <rgm@gnu.org>
8357
8358 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8359 Add compat aliases as a hack workaround. (Bug#14384)
8360
8361 2013-05-13 Leo Liu <sdl.web@gmail.com>
8362
8363 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8364 ###, and %!.
8365 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8366 C-M-q.
8367 (octave-comment-start-skip): Include %!.
8368 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8369
8370 2013-05-12 Leo Liu <sdl.web@gmail.com>
8371
8372 * progmodes/octave.el (inferior-octave-startup): Store the value
8373 of __octave_srcdir__ for octave-source-directories.
8374 (inferior-octave-check-process): New function refactored out of
8375 inferior-octave-send-list-and-digest.
8376 (octave-source-directories)
8377 (octave-find-definition-filename-function): New variables.
8378 (octave-source-directories)
8379 (octave-find-definition-default-filename): New functions.
8380 (octave-find-definition): Improve to find functions implemented in C++.
8381
8382 2013-05-12 Glenn Morris <rgm@gnu.org>
8383
8384 * calendar/diary-lib.el (diary-outlook-format-1):
8385 Don't include dayname in the output. (Bug#14349)
8386
8387 2013-05-11 Glenn Morris <rgm@gnu.org>
8388
8389 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8390
8391 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8392 Treat cc-provide like provide.
8393
8394 2013-05-11 Kevin Ryde <user42@zip.com.au>
8395
8396 * cus-dep.el (custom-make-dependencies):
8397 Use generated-autoload-load-name for the sake of files such
8398 such cedet/semantic/bovine/c.el, where the base file name
8399 is not in load-path. (Bug#5277)
8400
8401 2013-05-11 Glenn Morris <rgm@gnu.org>
8402
8403 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8404 Provide features.
8405
8406 2013-05-11 Leo Liu <sdl.web@gmail.com>
8407
8408 * progmodes/octave.el (octave-indent-comment): Improve.
8409 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8410 (octave-eldoc-function-signatures, octave-eldoc-function):
8411 New functions.
8412 (octave-mode, inferior-octave-mode): Add eldoc support.
8413
8414 2013-05-11 Richard Stallman <rms@gnu.org>
8415
8416 * epa.el (epa-decrypt-file): Take output file name as argument
8417 and read it using `interactive'.
8418
8419 2013-05-11 Leo Liu <sdl.web@gmail.com>
8420
8421 * progmodes/octave.el (octave-beginning-of-line)
8422 (octave-end-of-line): Check before using up-list because it jumps
8423 out of more syntactic contructs since moving to smie.
8424 (octave-indent-comment): New function.
8425 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8426 (octave-begin-keywords, octave-end-keywords)
8427 (octave-reserved-words, octave-smie-bnf-table)
8428 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8429
8430 2013-05-11 Glenn Morris <rgm@gnu.org>
8431
8432 * faces.el (internal-face-x-get-resource):
8433 * frame.el (ns-display-monitor-attributes-list):
8434 * calc/calc-aent.el (math-to-radians-2):
8435 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8436 Fix declarations.
8437
8438 * calc/calc-menu.el: Make it loadable in isolation.
8439
8440 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8441 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8442 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8443 (eudc-bbdb-query-internal): Require 'bbdb.
8444
8445 * lpr.el (lpr-headers-switches):
8446 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8447
8448 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8449
8450 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8451
8452 * term.el (term-set-escape-char): Make it idempotent.
8453
8454 2013-05-10 Leo Liu <sdl.web@gmail.com>
8455
8456 * progmodes/octave.el (inferior-octave-completion-table):
8457 No longer a function and all uses changed. Use cache to speed up
8458 completion due to bug#11906.
8459 (octave-beginning-of-defun): Re-write to be more general.
8460
8461 2013-05-10 Glenn Morris <rgm@gnu.org>
8462
8463 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8464
8465 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8466
8467 * comint.el (comint-redirect-send-command-to-process): Use :around
8468 rather than :override for comint-redirect-filter.
8469 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8470 Call it instead of comint-redirect-original-filter-function (which
8471 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8472
8473 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8474
8475 * frame.el (display-monitor-attributes-list): Add NS case.
8476 (ns-display-monitor-attributes-list): Declare.
8477
8478 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8479
8480 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8481
8482 2013-05-09 Glenn Morris <rgm@gnu.org>
8483
8484 * international/fontset.el (vertical-centering-font-regexp):
8485 Set standard-value.
8486
8487 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8488
8489 * bookmark.el (bookmark-search-delay):
8490 * cus-start.el (vertical-centering-font-regexp):
8491 * ps-mule.el (ps-mule-font-info-database-default):
8492 * ps-print.el (ps-default-fg, ps-default-bg):
8493 * type-break.el (type-break-good-break-interval):
8494 * whitespace.el (whitespace-indentation-regexp)
8495 (whitespace-space-after-tab-regexp):
8496 * emacs-lisp/testcover.el (testcover-1value-functions)
8497 (testcover-noreturn-functions, testcover-progn-functions)
8498 (testcover-prog1-functions):
8499 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8500 * eshell/em-glob.el (eshell-glob-translate-alist):
8501 * play/tetris.el (tetris-tty-colors):
8502 * progmodes/cpp.el (cpp-face-default-list):
8503 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8504 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8505 (idlwave-help-browser-generic-args):
8506 * progmodes/make-mode.el (makefile-special-targets-list):
8507 * progmodes/python.el (python-shell-virtualenv-path):
8508 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8509 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8510 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8511 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8512 * textmodes/reftex-vars.el (reftex-format-label-function):
8513 * textmodes/remember.el (remember-diary-file): Fix custom types.
8514
8515 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8516 Add :version.
8517
8518 2013-05-09 Leo Liu <sdl.web@gmail.com>
8519
8520 * progmodes/octave.el (inferior-octave-completion-at-point):
8521 Restore file completion. (Bug#14300)
8522 (inferior-octave-startup): Fix incorrect highlighting for the
8523 first prompt.
8524
8525 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8526
8527 * progmodes/ruby-mode.el: First cut at SMIE support.
8528 (ruby-use-smie): New var.
8529 (ruby-smie-grammar): New constant.
8530 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8531 (ruby-smie--forward-token, ruby-smie--backward-token)
8532 (ruby-smie-rules): New functions.
8533 (ruby-mode-variables): Setup SMIE if applicable.
8534
8535 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8536
8537 * simple.el (line-move-visual): Signal beginning/end of buffer
8538 only if vertical-motion moved less than it was requested. Avoids
8539 silly incorrect error messages when there are display strings with
8540 multiple newlines at EOL.
8541
8542 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8545 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8546 (prolog-char-quote-workaround):
8547 * progmodes/cperl-mode.el (cperl-under-as-char):
8548 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8549 Mark as obsolete.
8550 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8551 their declaration.
8552 (vhdl-mode-syntax-table-init): Remove.
8553
8554 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8555 last change.
8556
8557 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8558 syntax for "_".
8559 (ld-script-font-lock-keywords):
8560 Change regexps to use things like \_< and \_>.
8561
8562 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8563 Change all regexps to use things like \_< and \_>.
8564
8565 * progmodes/autoconf.el (autoconf-definition-regexp)
8566 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8567 Handle a _ with symbol syntax.
8568 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8569
8570 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8571 Consolidate declaration.
8572 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8573 the declaration.
8574 (ada-create-syntax-table): Remove.
8575 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8576 already has the right syntax nowadays.
8577 (ada-goto-next-word): Don't change the syntax of "_".
8578
8579 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8580 with-wrapper-hook.
8581
8582 2013-05-08 Sam Steingold <sds@gnu.org>
8583
8584 * thingatpt.el (thing-at-point): Accept optional second argument
8585 NO-PROPERTIES to strip the text properties from the return value.
8586 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8587 to `thing-at-point' instead of stripping the properties ourselves.
8588 Also, when `thing-at-point' fails to find a url, prepend "http://"
8589 to the filename at point on the assumption that the user is
8590 pointing at something like gnu.org/gnu.
8591
8592 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8593
8594 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8595 * faces.el (crm-separator):
8596 Silence byte-compiler.
8597
8598 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8599 (tool-bar-map): Remove unneeded defvars.
8600
8601 2013-05-08 Leo Liu <sdl.web@gmail.com>
8602
8603 Re-work a fix for bug#10994 based on Le Wang's patch.
8604 * ido.el (ido-remove-consecutive-dups): New helper.
8605 (ido-completing-read): Use it.
8606 (ido-chop): Revert fix for bug#10994.
8607
8608 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8609
8610 * cus-edit.el (custom-save-variables):
8611 Pretty-print long values. (Bug#14187)
8612
8613 2013-05-08 Glenn Morris <rgm@gnu.org>
8614
8615 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8616 (m4-mode-syntax-table): Init in the defvar.
8617 (m4-mode-abbrev-table): Let define-derived-mode define it.
8618
8619 2013-05-08 Tom Tromey <tromey@redhat.com>
8620
8621 * progmodes/m4-mode.el (m4-mode-syntax-table):
8622 Do not treat "_" as word constituent. (Bug#14167)
8623
8624 2013-05-07 Glenn Morris <rgm@gnu.org>
8625
8626 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8627 Remove explicit eshell-isearch-cancel-map.
8628
8629 * progmodes/f90.el (f90-smart-end-names): New option.
8630 (f90-smart-end): Doc fix.
8631 (f90-end-block-optional-name): New constant.
8632 (f90-block-match): Respect f90-smart-end-names.
8633
8634 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8635
8636 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8637 about implicit semi-colons (bug#14218).
8638
8639 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8640
8641 * frame.el (display-monitor-attributes-list)
8642 (frame-monitor-attributes): New functions.
8643
8644 2013-05-06 Leo Liu <sdl.web@gmail.com>
8645
8646 * progmodes/octave.el (octave-syntax-propertize-function): Change
8647 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8648 (octave-font-lock-keywords): Use octave-operator-regexp.
8649 (octave-completion-at-point): Rename from
8650 octave-completion-at-point-function.
8651 (inferior-octave-directory-tracker): Robustify.
8652 (octave-text-functions): Remove and fix its uses. No such things
8653 any more.
8654
8655 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * emacs-lisp/trace.el (trace--display-buffer): New function.
8658 (trace-make-advice): Use it.
8659
8660 2013-05-06 Juri Linkov <juri@jurta.org>
8661
8662 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8663 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8664 Doc fix.
8665 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8666 in the help string. (Bug#12985)
8667
8668 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8669
8670 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8671
8672 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8673
8674 * progmodes/perl-mode.el: Add support for here documents.
8675 (perl-syntax-propertize-function): Match here-doc markers.
8676 (perl-syntax-propertize-special-constructs): Find their end.
8677 (perl-imenu-generic-expression): Use [:alnum:].
8678
8679 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8680 (advice--add-function): Refresh the advice if already present
8681 (bug#14317).
8682
8683 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8684
8685 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8686
8687 2013-05-06 Glenn Morris <rgm@gnu.org>
8688
8689 * w32-fns.el (w32-charset-info-alist): Declare.
8690
8691 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8692 of its defcustom properties.
8693 (eshell-cmpl-initialize): No need to load pcomplete.
8694
8695 * generic-x.el: No need to require comint when compiling.
8696
8697 * net/eudc-export.el: Make it loadable without bbdb.
8698 (top-level): Use require rather than load-library.
8699 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8700 (eudc-batch-export-records-to-bbdb)
8701 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8702 Require bbdb.
8703
8704 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8707 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8708 some tweaks, instead.
8709
8710 2013-05-05 Leo Liu <sdl.web@gmail.com>
8711
8712 * progmodes/octave.el (octave-font-lock-keywords)
8713 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8714 (inferior-octave-send-list-and-digest): Improve error message.
8715 (octave-mode, inferior-octave-mode): Use setq-local.
8716 (octave-help): Set info-lookup-mode.
8717
8718 2013-05-05 Richard Stallman <rms@gnu.org>
8719
8720 * vc/compare-w.el (compare-windows-whitespace):
8721 Treat no-break space as whitespace.
8722
8723 * mail/rmailsum.el (rmail-summary-rmail-update):
8724 Detect empty summary and don't change selected message.
8725 (rmail-summary-goto-msg): Likewise.
8726
8727 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8728 Doc fixes, rename args.
8729
8730 2013-05-05 Alan Mackenzie <acm@muc.de>
8731
8732 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8733
8734 2013-05-05 Juri Linkov <juri@jurta.org>
8735
8736 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8737 to not add the length of the summary segment to the return value.
8738 (Bug#14125)
8739
8740 2013-05-05 Leo Liu <sdl.web@gmail.com>
8741
8742 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8743 (inferior-octave-output-filter): Remove.
8744 (octave-send-region, inferior-octave-startup): Fix callers.
8745 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8746 (octave-binary-file-extensions): New user variable.
8747 (octave-find-definition): Confirm if opening binary files.
8748 (octave-help-file): Use octave-find-definition to get the binary
8749 confirmation.
8750 (octave-help): Adjust for octave-help-file change.
8751
8752 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8755 Merge the two entries that handle function definitions.
8756 (pascal--syntax-propertize): New const.
8757 (pascal-mode): Use it. Use setq-local.
8758
8759 2013-05-04 Glenn Morris <rgm@gnu.org>
8760
8761 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8762 (diary-from-outlook): Respect diary-from-outlook-function.
8763
8764 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8765
8766 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8767 Move the declaration from C.
8768 (read-minibuffer, eval-minibuffer): Move from C.
8769 (completion-setup-function): Avoid minibuffer-completion-contents.
8770
8771 2013-05-03 Leo Liu <sdl.web@gmail.com>
8772
8773 * progmodes/octave.el (octave-font-lock-keywords): Do not
8774 dehighlight 'end' in comments or strings.
8775 (octave-completing-read, octave-goto-function-definition):
8776 New helpers.
8777 (octave-help-buffer): New user variable.
8778 (octave-help-file, octave-help-function): New button types.
8779 (octave-help): New command and bind it to C-h ;.
8780 (octave-find-definition): New command and bind it to M-.
8781 (user-error): Alias to error if not defined.
8782
8783 2013-05-02 Leo Liu <sdl.web@gmail.com>
8784
8785 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8786 for \. (bug#14332)
8787 (octave-font-lock-keywords): Include [ and {.
8788
8789 2013-05-02 Leo Liu <sdl.web@gmail.com>
8790
8791 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8792 (inferior-octave): Remove calling comint-mode and return the buffer.
8793 (inferior-octave-startup): Cosmetic changes.
8794
8795 2013-05-02 Leo Liu <sdl.web@gmail.com>
8796
8797 * progmodes/octave.el (octave-syntax-propertize-function):
8798 Include the case when ' is at line beginning. (Bug#14336)
8799
8800 2013-05-02 Glenn Morris <rgm@gnu.org>
8801
8802 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8803 * desktop.el (vc-dir-mode): Just autoload it here.
8804
8805 2013-05-02 Alan Mackenzie <acm@muc.de>
8806
8807 Eliminate variable c-standard-font-lock-fontify-region-function.
8808 * progmodes/cc-mode.el
8809 (c-standard-font-lock-fontify-region-function): Remove.
8810 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8811
8812 2013-05-01 Leo Liu <sdl.web@gmail.com>
8813
8814 * progmodes/octave.el: Compatible with older emacs-24 releases.
8815 (inferior-octave-has-built-in-variables): Remove. Built-in
8816 variables were removed from Octave in 2007.
8817 (inferior-octave-startup): Fix uses.
8818 (comint-line-beginning-position): Remove compatibility code for
8819 emacs 21.
8820
8821 2013-05-01 Juri Linkov <juri@jurta.org>
8822
8823 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8824
8825 2013-05-01 Juri Linkov <juri@jurta.org>
8826
8827 * comint.el (comint-previous-matching-input): Don't print message
8828 "History item: %d" when `isearch-mode' is active.
8829 (comint-history-isearch-message): Print message "History item: %d"
8830 when `comint-input-ring-index' is not empty and this function is
8831 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8832
8833 2013-05-01 Leo Liu <sdl.web@gmail.com>
8834
8835 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8836 definitions. Use completion-at-point to insert keywords.
8837 (octave-abbrev-start): Remove.
8838 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8839
8840 2013-04-30 Leo Liu <sdl.web@gmail.com>
8841
8842 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8843 change.
8844
8845 2013-04-30 Alan Mackenzie <acm@muc.de>
8846
8847 Handle arbitrarily long C++ member initialisation lists.
8848 * progmodes/cc-engine.el (c-back-over-member-initializers):
8849 new function.
8850 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8851 (most) member init lists.
8852
8853 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8854
8855 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8856 variable.
8857
8858 2013-04-30 Leo Liu <sdl.web@gmail.com>
8859
8860 * progmodes/octave.el (octave-variables): Remove. No builtin
8861 variables any more. All converted to functions.
8862 (octave-font-lock-keywords, octave-completion-at-point-function):
8863 Fix uses.
8864 (octave-font-lock-texinfo-comment): New user variable.
8865 (octave-texinfo-font-lock-keywords): New variable for texinfo
8866 comment block.
8867 (octave-function-comment-block): New face.
8868 (octave-font-lock-texinfo-comment): New function.
8869 (octave-mode): Font lock texinfo comment block.
8870
8871 2013-04-29 Leo Liu <sdl.web@gmail.com>
8872
8873 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8874 indexing expression.
8875 (octave-continuation-string): Do not use \.
8876 (inferior-octave-complete-impossible): Remove.
8877 (inferior-octave-completion-table)
8878 (inferior-octave-completion-at-point): Remove its uses.
8879 (inferior-octave-startup): completion_matches was introduced to
8880 Octave in 1996 so safe to assume it.
8881 (octave-function-file-comment): Improve to follow how Octave does it.
8882 (octave-update-function-file-comment): Tweak.
8883
8884 2013-04-29 Leo Liu <sdl.web@gmail.com>
8885
8886 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8887 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8888 (octave-function-file-comment): Fix typo.
8889 (octave-sync-function-file-names): Use read-char-choice.
8890
8891 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8892
8893 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8894 to t for the less important warnings.
8895
8896 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8897
8898 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8899
8900 2013-04-27 Glenn Morris <rgm@gnu.org>
8901
8902 * vc/log-view.el (log-view-current-entry):
8903 Treat "---" separator lines as part of the following rev. (Bug#14169)
8904
8905 2013-04-27 Juri Linkov <juri@jurta.org>
8906
8907 * subr.el (read-number): Doc fix about using it by interactive
8908 code letter `n'. (Bug#14254)
8909
8910 2013-04-27 Juri Linkov <juri@jurta.org>
8911
8912 * desktop.el (desktop-auto-save-timeout): New option.
8913 (desktop-file-checksum): New variable.
8914 (desktop-save): Add optional arg `auto-save' and don't auto-save
8915 if nothing changed.
8916 (desktop-auto-save-timer): New variable.
8917 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8918 (after-init-hook): Call `desktop-auto-save-set-timer'.
8919 Suggested by Reuben Thomas <rrt@sc3d.org> in
8920 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8921
8922 2013-04-27 Leo Liu <sdl.web@gmail.com>
8923
8924 * progmodes/octave.el (octave-function-file-p)
8925 (octave-skip-comment-forward, octave-function-file-comment)
8926 (octave-update-function-file-comment): New functions.
8927 (octave-mode-map): Bind C-c ; to
8928 octave-update-function-file-comment.
8929 (octave-mode-menu): Add octave-update-function-file-comment.
8930 (octave-mode, inferior-octave-mode): Fix doc-string.
8931 (octave-insert-defun): Conform to Octave's coding convention.
8932 (Bug#14285)
8933
8934 * files.el (basic-save-buffer): Don't let errors in
8935 before-save-hook prevent saving buffer.
8936
8937 2013-04-20 Roland Winkler <winkler@gnu.org>
8938
8939 * faces.el (read-face-name): Use completing-read if arg multiple
8940 is nil.
8941
8942 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8943
8944 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8945 displayed, move point to after the totals line.
8946 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8947 for the details.
8948
8949 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8950
8951 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8952 Add current dir to the load-path.
8953 (package-generate-autoloads): Don't rely on
8954 autoload-ensure-default-file.
8955
8956 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8957
8958 * textmodes/remember.el (remember-store-in-files): Document that
8959 the file name format is passed to `format-time-string'.
8960
8961 2013-04-26 Leo Liu <sdl.web@gmail.com>
8962
8963 * progmodes/octave.el (octave-sync-function-file-names): New function.
8964 (octave-mode): Use it in before-save-hook.
8965
8966 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8969 (bug#14274).
8970
8971 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8972 \n and comment, even if it's not an implicit ; (bug#14218).
8973
8974 2013-04-26 Glenn Morris <rgm@gnu.org>
8975
8976 * subr.el (read-number): Once more use `read' rather than
8977 `string-to-number', to trap non-numeric input. (Bug#14254)
8978
8979 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8980
8981 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8982 Use `syntax-multiline' text property consistently instead of
8983 `font-lock-multiline'. (Bug#14237)
8984
8985 2013-04-26 Glenn Morris <rgm@gnu.org>
8986
8987 * emacs-lisp/shadow.el (list-load-path-shadows):
8988 No longer necessary to check for duplicate simple.el, since
8989 2012-07-07 change to init_lread to not include installation lisp
8990 directories in load-path when running uninstalled. (Bug#14270)
8991
8992 2013-04-26 Leo Liu <sdl.web@gmail.com>
8993
8994 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8995 (octave-mode, inferior-octave-mode): Use setq-local.
8996 (octave-not-in-string-or-comment-p): Rename to
8997 octave-in-string-or-comment-p.
8998 (octave-in-comment-p, octave-in-string-p)
8999 (octave-in-string-or-comment-p): Replace defsubst with defun.
9000
9001 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9004
9005 2013-04-25 Bastien Guerry <bzg@gnu.org>
9006
9007 * textmodes/remember.el (remember-data-directory)
9008 (remember-directory-file-name-format): Fix custom types.
9009
9010 2013-04-25 Leo Liu <sdl.web@gmail.com>
9011
9012 * progmodes/octave.el (octave-completion-at-point-function):
9013 Make use of inferior octave process.
9014 (octave-initialize-completions): Remove.
9015 (inferior-octave-completion-table): New function.
9016 (inferior-octave-completion-at-point): Use it.
9017 (octave-completion-alist): Remove.
9018
9019 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9022 (opascal-mode-syntax-table): New var.
9023 (opascal-literal-kind, opascal-is-literal-end)
9024 (opascal-literal-token-at): Rewrite.
9025 (opascal--literal-start-re, opascal-font-lock-keywords)
9026 (opascal--syntax-propertize): New constants.
9027 (opascal-font-lock-defaults): Adjust.
9028 (opascal-mode): Use them. Set comment-<foo> variables as well.
9029 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9030 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9031 (delphi-other-face, opascal-other-face): Remove face variables.
9032 (opascal-save-state): Remove macro.
9033 (opascal-fontifying-progress-step): Remove constant.
9034 (opascal--ignore-changes): Remove var.
9035 (opascal-set-token-property, opascal-parse-next-literal)
9036 (opascal-is-stable-literal, opascal-complete-literal)
9037 (opascal-is-literal-start, opascal-face-of)
9038 (opascal-parse-region, opascal-parse-region-until-stable)
9039 (opascal-fontify-region, opascal-after-change)
9040 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9041 (opascal-debug-parse-region, opascal-debug-parse-window)
9042 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9043 (opascal-debug-fontify-buffer): Remove.
9044 (opascal-debug-mode-map): Adjust accordingly.
9045
9046 2013-04-25 Leo Liu <sdl.web@gmail.com>
9047
9048 Merge octave-mod.el and octave-inf.el into octave.el with some
9049 cleanups.
9050 * progmodes/octave.el: New file renamed from octave-mod.el.
9051 * progmodes/octave-inf.el: Merged into octave.el.
9052 * progmodes/octave-mod.el: Renamed to octave.el.
9053
9054 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9055
9056 * textmodes/reftex-vars.el
9057 (reftex-label-ignored-macros-and-environments): New defcustom.
9058
9059 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9060
9061 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9064 (smie-indent-keyword): Improve the check to ensure that the next
9065 comment is really on the same line.
9066 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9067
9068 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9069 semi-colons if the line is not otherwise empty (bug#14218).
9070
9071 2013-04-25 Glenn Morris <rgm@gnu.org>
9072
9073 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9074
9075 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * progmodes/opascal.el (opascal-set-token-property): Rename from
9078 opascal-set-text-properties and only set `token' (bug#14134).
9079 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9080 (opascal-literal-text-properties): Remove.
9081 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9082 Adjust callers.
9083
9084 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9085
9086 * textmodes/remember.el (remember-handler-functions): Add an
9087 option for a new handler `remember-store-in-files'.
9088 (remember-data-directory, remember-directory-file-name-format):
9089 New options.
9090 (remember-store-in-files): New function to store remember notes
9091 as separate files within a directory.
9092
9093 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9094
9095 * progmodes/compile.el (compilation-next-error-function):
9096 Pass "formats" to compilation-find-file (bug#11777).
9097
9098 2013-04-24 Glenn Morris <rgm@gnu.org>
9099
9100 * vc/vc-bzr.el (vc-bzr-print-log):
9101 * vc/vc-hg.el (vc-hg-print-log):
9102 * vc/vc-svn.el (vc-svn-print-log):
9103 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9104
9105 * vc/vc-bzr.el (vc-bzr-print-log):
9106 * vc/vc-cvs.el (vc-cvs-print-log):
9107 * vc/vc-git.el (vc-git-print-log):
9108 * vc/vc-hg.el (vc-hg-print-log):
9109 * vc/vc-mtn.el (vc-mtn-print-log):
9110 * vc/vc-rcs.el (vc-rcs-print-log):
9111 * vc/vc-sccs.el (vc-sccs-print-log):
9112 * vc/vc-svn.el (vc-svn-print-log):
9113 * vc/vc.el (vc-print-log-internal): Doc fixes.
9114
9115 2013-04-23 Glenn Morris <rgm@gnu.org>
9116
9117 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9118 Remove venerable code attempting to avoid substitute-command-keys.
9119
9120 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9121
9122 * textmodes/reftex-vars.el (reftex-label-regexps):
9123 Call `reftex-compile-variables' after changes to this variable.
9124
9125 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9128 Use lexical-binding.
9129 (jit-lock-force-redisplay): Use markers, check buffer's continued
9130 existence and beware narrowed buffers.
9131 (jit-lock-fontify-now): Adjust call accordingly.
9132
9133 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9136 to avoid misleading the user.
9137
9138 2013-04-22 Leo Liu <sdl.web@gmail.com>
9139
9140 * info-look.el: Prefer latex2e.info. (Bug#14240)
9141
9142 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9143
9144 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9145
9146 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9147 * net/tramp.el (tramp-call-process): ... here.
9148 (tramp-set-completion-function, tramp-parse-putty):
9149 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9150 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9151 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9152 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9153 (tramp-call-local-coding-command): Use `tramp-call-process'
9154 instead of `tramp-compat-call-process'.
9155
9156 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9157 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9158 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9159 (tramp-find-inline-compress): Improve traces.
9160 (tramp-maybe-send-script): Check for Perl binary.
9161 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9162
9163 2013-04-22 Daiki Ueno <ueno@gnu.org>
9164
9165 * epg.el (epg-context-pinentry-mode): New function.
9166 (epg-context-set-pinentry-mode): New function.
9167 (epg--start): Pass --pinentry-mode option to gpg command.
9168
9169 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9170
9171 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9172 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9173 `completion-at-point'. (Bug#13774)
9174
9175 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9176 default key binding for `describe-distribution' has been moved to
9177 `C-h C-o'. (Bug#13970)
9178
9179 2013-04-21 Glenn Morris <rgm@gnu.org>
9180
9181 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9182 Add doc strings.
9183 (vc-print-log): Clarify interactive prompt.
9184
9185 2013-04-20 Glenn Morris <rgm@gnu.org>
9186
9187 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9188 No longer include timestamp etc information.
9189
9190 2013-04-20 Roland Winkler <winkler@gnu.org>
9191
9192 * faces.el (read-face-name): Bug fix, return just one face if arg
9193 multiple is nil. (Bug#14209)
9194
9195 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9198 (remove-function): Autoload.
9199
9200 * comint.el (comint-redirect-original-filter-function): Remove.
9201 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9202 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9203 (vc-cvs-annotate-command):
9204 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9205 * progmodes/prolog.el (prolog-consult-compile):
9206 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9207 Use add/remove-function instead.
9208 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9209 (gud-tooltip-process-output, gud-tooltip-tips):
9210 Use add/remove-function instead.
9211 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9212 (scheme-interaction-mode, exit-scheme-interaction-mode):
9213 Use add/remove-function instead.
9214
9215 * vc/vc-dispatcher.el: Use lexical-binding.
9216 (vc--process-sentinel): Rename from vc-process-sentinel.
9217 Change last arg to be the code to run. Don't use vc-previous-sentinel
9218 and vc-sentinel-commands any more.
9219 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9220 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9221
9222 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9223
9224 * progmodes/sh-script.el (sh-imenu-generic-expression):
9225 Handle function names with a single character. (Bug#14111)
9226
9227 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9228
9229 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9230 for subroutines defined in an eval (bug#14182).
9231
9232 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9233
9234 * bookmark.el (bookmark-completing-read): Improve handling of empty
9235 string (bug#14176).
9236
9237 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9240
9241 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9242
9243 New faster Imenu implementation (bug#14058).
9244 * progmodes/python.el:
9245 (python-imenu-prev-index-position):
9246 (python-imenu-format-item-label-function)
9247 (python-imenu-format-parent-item-label-function)
9248 (python-imenu-format-parent-item-jump-label-function):
9249 New vars.
9250 (python-imenu-format-item-label)
9251 (python-imenu-format-parent-item-label)
9252 (python-imenu-format-parent-item-jump-label)
9253 (python-imenu--put-parent, python-imenu--build-tree)
9254 (python-imenu-create-index, python-imenu-create-flat-index)
9255 (python-util-popn): New functions.
9256 (python-mode): Set imenu-create-index-function to
9257 python-imenu-create-index.
9258
9259 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9260
9261 * winner.el (winner-active-region): Use region-active-p, activate-mark
9262 and deactivate-mark (bug#14225).
9263
9264 * simple.el (deactivate-mark): Don't inline it.
9265
9266 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9267
9268 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9269
9270 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9271
9272 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9273 file extensions from the archive-mode entry in order to prefer
9274 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9275
9276 2013-04-18 Leo Liu <sdl.web@gmail.com>
9277
9278 * bindings.el (help-event-list): Add ?\?.
9279
9280 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * subr.el (with-wrapper-hook): Declare obsolete.
9283 * simple.el (filter-buffer-substring-function): New hook.
9284 (filter-buffer-substring): Use it.
9285 (filter-buffer-substring-functions): Mark obsolete.
9286 * minibuffer.el (completion-in-region-function): New hook.
9287 (completion-in-region): Use it.
9288 (completion-in-region-functions): Mark obsolete.
9289 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9290 * abbrev.el (abbrev-expand-function): New hook.
9291 (expand-abbrev): Use it.
9292 (abbrev-expand-functions): Mark obsolete.
9293 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9294 and :filter-return.
9295
9296 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9297
9298 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9299 and do not care about match data.
9300
9301 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9304 completion tables when completing error conditions and
9305 `declare' arguments.
9306 (lisp-complete-symbol, field-complete): Mark as obsolete.
9307 (check-parens): Unmatched parens are user errors.
9308 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9309
9310 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9311
9312 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9313 command changed buffer (ie. `flyspell-pre-buffer' is not current
9314 buffer), which prevents making decisions based on invalid value of
9315 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9316 cause an error when `flyspell-pre-point' was nil after switching
9317 buffers.
9318 (flyspell-post-command-hook): No longer needs to change buffers when
9319 checking pre-word. While at it remove unnecessary progn.
9320
9321 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9322
9323 * textmodes/ispell.el (ispell-add-per-file-word-list):
9324 Fix `flyspell-correct-word-before-point' error when accepting
9325 words and `coment-padding' is an integer by using
9326 `comment-normalize-vars' (Bug #14214).
9327
9328 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9329
9330 New defun movement commands.
9331 * progmodes/python.el (python-nav--syntactically)
9332 (python-nav--forward-defun, python-nav-backward-defun)
9333 (python-nav-forward-defun): New functions.
9334
9335 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9336
9337 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9338 (python-syntax-context): Use named compiler-macro for backwards
9339 compatibility with Emacs 24.x.
9340
9341 2013-04-17 Leo Liu <sdl.web@gmail.com>
9342
9343 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9344 octave-hide-process-buffer.
9345
9346 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9349 (bug#14216).
9350
9351 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9352
9353 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9354 Fix adjustment of offset when receiving incomplete responses from GDB
9355 (bug#14129).
9356
9357 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9360 python-mode-abbrev-table.
9361 (python-skeleton-define): Adjust accordingly.
9362 (python-mode-abbrev-table): New table that inherits from it so that
9363 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9364
9365 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9366 (abbrev-symbol): Use it.
9367 (abbrev--before-point): Use it since we already handle inheritance.
9368
9369 2013-04-16 Leo Liu <sdl.web@gmail.com>
9370
9371 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9372 binding to info-lookup-symbol.
9373
9374 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9375
9376 * minibuffer.el (completion--twq-all):
9377 * term/ns-win.el (ns-initialize-window-system):
9378 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9379
9380 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9383 global bindings.
9384
9385 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9386
9387 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9388
9389 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9390 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9391 to nil.
9392 (ruby-end-of-defun): Remove the unused arg, change the docstring
9393 to reflect that this function is only used as the value of
9394 `end-of-defun-function'.
9395 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9396 to reflect an earlier change that beginning/end-of-defun functions
9397 jump between methods in a class definition, as well as top-level
9398 functions.
9399
9400 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9401
9402 * minibuffer.el (minibuffer-complete): Don't just scroll
9403 a *Completions* that's been iconified.
9404 (minibuffer-force-complete): Make sure repetitions do cycle when going
9405 through completion-in-region -> minibuffer-complete.
9406
9407 2013-04-15 Alan Mackenzie <acm@muc.de>
9408
9409 Correct the placement of c-cpp-delimiters when there're #s not at
9410 col 0.
9411
9412 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9413 place a submatch around the #.
9414 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9415 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9416 on the #, not BOL.
9417
9418 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9421 (advice--member-p): New arg `name'.
9422 (advice--add-function, advice-member-p): Use it (bug#14202).
9423
9424 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9425
9426 Reformulate java imenu-generic-expression.
9427 The old expression contained ill formed regexps.
9428
9429 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9430 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9431 (cc-imenu-java-method-arg-regexp): New defconsts.
9432 (cc-imenu-java-build-type-args-regex): New defun.
9433 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9434 handling of spaces in the regexp.
9435
9436 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9437
9438 * textmodes/ispell.el (ispell-command-loop): Remove
9439 flyspell highlight of a word when ispell accepts it (bug #14178).
9440
9441 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9442
9443 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9444 uses code from the previous `ange-ftp-run-real-handler'.
9445 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9446 only in case that function exist. This is needed for proper
9447 unloading of Tramp.
9448
9449 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9450
9451 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9452
9453 * textmodes/reftex.el (reftex-compile-variables): Use it.
9454
9455 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9456
9457 * files.el (normal-mode): Only use default major-mode if no other mode
9458 was specified.
9459
9460 * emacs-lisp/trace.el (trace-values): New function.
9461
9462 * files.el: Allow : in local variables (bug#14089).
9463 (hack-local-variable-regexp): New var.
9464 (hack-local-variables-prop-line, hack-local-variables): Use it.
9465
9466 2013-04-13 Roland Winkler <winkler@gnu.org>
9467
9468 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9469 data before it gets modified by bibtex-beginning-of-entry.
9470
9471 2013-04-13 Roland Winkler <winkler@gnu.org>
9472
9473 * textmodes/bibtex.el (bibtex-url): Doc fix.
9474
9475 2013-04-13 Roland Winkler <winkler@gnu.org>
9476
9477 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9478 does not visit a BibTeX file, exclude it from the list of buffers
9479 returned by bibtex-initialize.
9480
9481 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9482
9483 * window.el (split-window): Remove interactive form, since as a
9484 command this function is a special case of split-window-below.
9485 Correct doc string.
9486
9487 2013-04-12 Roland Winkler <winkler@gnu.org>
9488
9489 * faces.el (read-face-name): Do not override value of arg default.
9490 Allow single faces and strings as default values. Remove those
9491 elements from return value that are not faces.
9492 (describe-face): Simplify.
9493 (face-at-point): New optional args thing and multiple so that this
9494 function can provide the same functionality previously provided by
9495 read-face-name.
9496 (make-face-bold, make-face-unbold, make-face-italic)
9497 (make-face-unitalic, make-face-bold-italic, invert-face)
9498 (modify-face, read-face-and-attribute): Use face-at-point.
9499
9500 * cus-edit.el (customize-face, customize-face-other-window)
9501 * cus-theme.el (custom-theme-add-face)
9502 * face-remap.el (buffer-face-set)
9503 * facemenu.el (facemenu-set-face): Use face-at-point.
9504
9505 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9508
9509 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9510
9511 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9512 off leading { and trailing } from field values.
9513
9514 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9515
9516 * emacs-lisp/timer.el (timer--check): New function.
9517 (timer--time, timer-set-function, timer-event-handler): Use it.
9518 (timer-set-idle-time): Simplify.
9519 (timer--activate): CSE.
9520 (timer-event-handler): Give more info in error message.
9521 (internal-timer-start-idle): New function, moved from C.
9522
9523 * mpc.el (mpc-proc): Add `restart' argument.
9524 (mpc-proc-cmd): Use it.
9525 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9526 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9527 less often.
9528
9529 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9530
9531 * progmodes/sh-script.el: Implement `sh-mode' own
9532 `add-log-current-defun-function' (bug#14112).
9533 (sh-current-defun-name): New function.
9534 (sh-mode): Use the function.
9535
9536 2013-04-09 Bastien Guerry <bzg@gnu.org>
9537
9538 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9539
9540 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9541
9542 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9543
9544 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9545 timer (bug#14156).
9546
9547 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9548
9549 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9550 declaration.
9551
9552 2013-04-07 Leo Liu <sdl.web@gmail.com>
9553
9554 * pcmpl-x.el: New file.
9555
9556 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9557
9558 Do not set x-display-name until X connection is established.
9559 This is needed to prevent from weird situation described at
9560 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9561 * frame.el (make-frame): Set x-display-name after call to
9562 window system initialization function, not before.
9563 * term/x-win.el (x-initialize-window-system): Add optional
9564 display argument and use it.
9565 * term/w32-win.el (w32-initialize-window-system):
9566 * term/ns-win.el (ns-initialize-window-system):
9567 * term/pc-win.el (msdos-initialize-window-system):
9568 Add compatible optional display argument.
9569
9570 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9571
9572 * files.el (normal-backup-enable-predicate): On MS-Windows and
9573 MS-DOS compare truenames of temporary-file-directory and of the
9574 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9575 don't fail comparison by compare-strings. Also, compare file
9576 names case-insensitively on MS-Windows and MS-DOS.
9577
9578 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9581 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9582
9583 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9584
9585 * whitespace.el (whitespace-color-on, whitespace-color-off):
9586 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9587
9588 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9589
9590 * ispell.el (ispell-set-spellchecker-params):
9591 Really set `ispell-args' for all equivs.
9592
9593 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9594
9595 * ido.el (ido-completions): Use extra elements of ido-decorations
9596 (bug#14143).
9597 (ido-decorations): Update docstring.
9598
9599 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9600
9601 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9602 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9603 nil during initialization, in order not to miss changes since the
9604 file was opened. (Bug#14140)
9605
9606 2013-04-05 Leo Liu <sdl.web@gmail.com>
9607
9608 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9609
9610 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9611
9612 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9613
9614 2013-04-04 Glenn Morris <rgm@gnu.org>
9615
9616 * electric.el (electric-pair-inhibit-predicate): Add :version.
9617
9618 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9619
9620 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9621 when a package is required several times (bug#14082).
9622
9623 2013-04-04 Roland Winkler <winkler@gnu.org>
9624
9625 * faces.el (read-face-name): Behave as promised by the docstring.
9626 Assume that arg default is a list of faces.
9627 (describe-face): Call read-face-name with list of default faces.
9628
9629 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9630
9631 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9632 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9633 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9634 the header.
9635 (bookmark-exit-hook-internal): Save even if list is empty.
9636
9637 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9638
9639 * emacs-lisp/package.el (package-pinned-packages): New var.
9640 (package--add-to-archive-contents): Obey it (bug#14118).
9641
9642 2013-04-03 Alan Mackenzie <acm@muc.de>
9643
9644 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9645 Also adapt to the new values of element 7 of a parse state.
9646
9647 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9648 parameter `not-in-delimiter'. Handle being inside comment opener.
9649 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9650 character in case we're typing a '*' after a '/'.
9651 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9652 instead by passing the parameter to c-state-pp-to-literal.
9653
9654 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9655 for elt. 7 of a parse state.
9656
9657 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9658
9659 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9660 * international/latin1-disp.el, international/mule-util.el:
9661 * language/cyril-util.el, language/european.el, language/ind-util.el:
9662 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9663 * language/tibetan.el, language/viet-util.el:
9664 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9665
9666 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9669 (electric-pair-post-self-insert-function): Use it.
9670 (electric-pair-default-inhibit): New function, extracted from
9671 electric-pair-post-self-insert-function.
9672
9673 2013-03-31 Roland Winkler <winkler@gnu.org>
9674
9675 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9676
9677 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9678
9679 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9680
9681 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9682
9683 Un-indent after "pass" and "return" statements (Bug#13888)
9684 * progmodes/python.el (python-indent-block-enders): New var.
9685 (python-indent-calculate-indentation): Use it.
9686
9687 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9688
9689 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9690 defun. Defining it as defalias could introduce too eager
9691 byte-compiler optimization. (Bug#14030)
9692
9693 2013-03-30 Chong Yidong <cyd@gnu.org>
9694
9695 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9696
9697 2013-03-30 Leo Liu <sdl.web@gmail.com>
9698
9699 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9700 (kmacro-execute-from-register): Pass the keyboard macro to
9701 kmacro-call-macro or repeating won't work correctly.
9702
9703 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9704
9705 * progmodes/subword.el: Back to using `forward-symbol'.
9706
9707 * subr.el (forward-whitespace, forward-symbol)
9708 (forward-same-syntax): Move from thingatpt.el.
9709
9710 2013-03-29 Leo Liu <sdl.web@gmail.com>
9711
9712 * kmacro.el (kmacro-to-register): New command.
9713 (kmacro-execute-from-register): New function.
9714 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9715
9716 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9717
9718 * mpc.el: Use defvar-local and setq-local.
9719 (mpc--proc-connect): Connection failures are not bugs.
9720 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9721 (mpc-volume-map): Bind to the up-events.
9722
9723 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9724
9725 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9726 instead of `forward-symbol'.
9727
9728 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9731 (edebug--recursive-edit): Use it.
9732 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9733 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9734
9735 2013-03-28 Leo Liu <sdl.web@gmail.com>
9736
9737 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9738
9739 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9740
9741 * facemenu.el (list-colors-callback): New defvar.
9742 (list-colors-redisplay): New function.
9743 (list-colors-display): Install list-colors-redisplay as the
9744 revert-buffer-function. (Bug#14063)
9745
9746 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9749 and suffixes don't overlap (bug#14061).
9750
9751 * case-table.el: Use lexical-binding.
9752 (case-table-get-table): New function.
9753 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9754
9755 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9756
9757 * progmodes/subword.el: Add `superword-mode' to do word motion
9758 over symbol_words (parallels and leverages `subword-mode' which
9759 does word motion inside MixedCaseWords).
9760
9761 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9762
9763 * eshell/em-unix.el: Move su and sudo to...
9764 * eshell/em-tramp.el: ...Eshell tramp module.
9765
9766 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9769 Change return value to be a sexp. Delay `get-buffer' to after
9770 restoring the desktop (bug#13951).
9771
9772 2013-03-26 Leo Liu <sdl.web@gmail.com>
9773
9774 * register.el: Move semantic tag handling back to
9775 cedet/semantic/senator.el. (Bug#14052)
9776
9777 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9778
9779 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9780 into the prompt either (bug#13963).
9781
9782 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9783
9784 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9785 part of "(error-foo)".
9786
9787 2013-03-24 Juri Linkov <juri@jurta.org>
9788
9789 * replace.el (list-matching-lines-prefix-face): New defcustom.
9790 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9791 `occur-engine' if `face-differs-from-default-p' returns t.
9792 (occur-engine): Add `,' inside backquote construct to evaluate
9793 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9794 Pass `prefix-face' to the functions `occur-context-lines' and
9795 `occur-engine-add-prefix'.
9796 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9797 `prefix-face' and propertize the prefix with `prefix-face'.
9798 (Bug#14017)
9799
9800 2013-03-24 Leo Liu <sdl.web@gmail.com>
9801
9802 * nxml/rng-valid.el (rng-validate-while-idle)
9803 (rng-validate-quick-while-idle): Guard against deleted buffer.
9804 (Bug#13999)
9805
9806 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9807 is the last entry in kill-buffer-hook.
9808
9809 * files.el (kill-buffer-hook): Doc fix.
9810
9811 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9812
9813 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9814 Make it safe-local.
9815
9816 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9817
9818 2013-03-23 Leo Liu <sdl.web@gmail.com>
9819
9820 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9821 Remove.
9822
9823 * nxml/rng-valid.el (rng-validate-mode)
9824 (rng-after-change-function, rng-do-some-validation):
9825 * nxml/rng-maint.el (rng-validate-buffer):
9826 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9827 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9828 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9829 (nxml-extend-after-change-region): Use with-silent-modifications.
9830
9831 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9832 timer-idle-list.
9833
9834 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9835 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9836 timer-idle-list. (Bug#13999)
9837
9838 2013-03-23 Juri Linkov <juri@jurta.org>
9839
9840 * info.el (info-index-match): New face.
9841 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9842 main pattern and add text properties with the new face to matches
9843 in index entries relative to the beginning of the index entry.
9844 (Bug#14015)
9845
9846 2013-03-21 Eric Ludlam <zappo@gnu.org>
9847
9848 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9849 Inhibit read only while inserting objects.
9850
9851 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9852
9853 * progmodes/cfengine.el: Update docs to mention
9854 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9855 symbol motion. Remove "_" from the word syntax.
9856
9857 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9858
9859 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9860 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9861
9862 2013-03-20 Juri Linkov <juri@jurta.org>
9863
9864 * info.el (Info-next-reference-or-link)
9865 (Info-prev-reference-or-link): New functions.
9866 (Info-next-reference, Info-prev-reference): Use them.
9867 (Info-try-follow-nearest-node): Handle footnote navigation.
9868 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9869
9870 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9871
9872 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9873 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9874
9875 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9876
9877 Suppress unnecessary non-ASCII chatter during build process.
9878 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9879 (batch-skkdic-convert): Suppress most of the chatter.
9880 It's not needed so much now that machines are faster,
9881 and its non-ASCII component was confusing; see Dmitry Gutov in
9882 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9883
9884 2013-03-20 Leo Liu <sdl.web@gmail.com>
9885
9886 * ido.el (ido-chop): Fix bug#10994.
9887
9888 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9889
9890 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9891 Remove vars.
9892 (whitespace-color-on, whitespace-color-off):
9893 Use `font-lock-fontify-buffer' (Bug#13817).
9894
9895 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9896
9897 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9898 remapping in mode-line.
9899 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9900
9901 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9902
9903 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9904 value for `whitespace-line' face (Bug#13875).
9905 (whitespace-font-lock-keywords): Change description.
9906 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9907 the constructed keywords instead.
9908 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9909
9910 2013-03-19 Leo Liu <sdl.web@gmail.com>
9911
9912 * progmodes/compile.el (compilation-display-error): New command.
9913 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9914 C-o. (Bug#13992)
9915
9916 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9917
9918 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9919
9920 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9921
9922 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9923
9924 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9925
9926 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9927
9928 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9929 * net/tramp-gvfs.el (top):
9930 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9931 (tramp-handle-shell-command): Use it.
9932 (tramp-dissect-file-name): Raise an error when hostname is a
9933 method name, and neither method nor user is specified.
9934
9935 * net/trampver.el: Update release number.
9936
9937 2013-03-18 Leo Liu <sdl.web@gmail.com>
9938
9939 Make sure eldoc can be turned off properly.
9940 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9941 eldoc-mode.
9942 (eldoc-display-message-p): Revert last change.
9943 (eldoc-display-message-no-interference-p)
9944 (eldoc-print-current-symbol-info): Tweak.
9945
9946 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9947
9948 * doc-view.el (doc-view-new-window-function): Check the new window
9949 overlay's display property instead the char property of the
9950 buffer's first char. Use `with-selected-window' instead of
9951 `save-window-excursion' with `select-window'.
9952 (doc-view-document->bitmap): Check the current doc-view overlay's
9953 display property instead the char property of the buffer's first char.
9954
9955 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9956
9957 Automate the build of ja-dic.el (Bug#13984).
9958 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9959 from the input, rather than assume that it's been done for us by the
9960 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9961 the current date into a ja-dic.el comment, as that complicates
9962 regression testing.
9963
9964 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9965
9966 * whitespace.el: Fix double evaluation.
9967 (whitespace-space, whitespace-hspace, whitespace-tab)
9968 (whitespace-newline, whitespace-trailing, whitespace-line)
9969 (whitespace-space-before-tab, whitespace-indentation)
9970 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9971 obsolete defvars.
9972 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9973 (whitespace-color-on): Use a single font-lock-add-keywords call.
9974 Fix double-evaluation of face variables.
9975
9976 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9977
9978 * net/tramp-adb.el (tramp-adb-parse-device-names):
9979 Use `start-process' instead of `call-process'. Otherwise, the
9980 function might be blocked under MS Windows. (Bug#13299)
9981
9982 2013-03-17 Leo Liu <sdl.web@gmail.com>
9983
9984 Extend eldoc to display info in the mode-line. (Bug#13978)
9985 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9986 (eldoc-mode-line-string): New variable.
9987 (eldoc-minibuffer-message): New function.
9988 (eldoc-message-function): New variable.
9989 (eldoc-message): Use it.
9990 (eldoc-display-message-p)
9991 (eldoc-display-message-no-interference-p):
9992 Support eldoc-post-insert-mode.
9993
9994 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9995 (eval-expression): Run it.
9996
9997 2013-03-17 Roland Winkler <winkler@gnu.org>
9998
9999 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10000 strings in the list of return values.
10001
10002 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10003
10004 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10005 radix before checking for HMS forms.
10006
10007 2013-03-16 Leo Liu <sdl.web@gmail.com>
10008
10009 * progmodes/scheme.el: Add indentation and font-locking for λ.
10010 (Bug#13975)
10011
10012 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10015 token before point (bug#13942).
10016
10017 2013-03-16 Leo Liu <sdl.web@gmail.com>
10018
10019 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10020
10021 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10022
10023 * startup.el (command-line-normalize-file-name): Fix handling of
10024 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10025 <xfq.free@gmail.com> in
10026 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10027
10028 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10029
10030 Sync with Tramp 2.2.7.
10031
10032 * net/trampver.el: Update release number.
10033
10034 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10035
10036 * doc-view.el: Fix bug#13887.
10037 (doc-view-insert-image): Don't modify overlay associated to
10038 non-live windows, and implement horizontal centering of image in
10039 case it's smaller than the window.
10040 (doc-view-new-window-function): Force redisplay of new windows on
10041 doc-view buffers.
10042
10043 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10044
10045 * saveplace.el (save-place-alist-to-file): Don't sort
10046 `save-place-alist', just pretty-print it (bug#13882).
10047
10048 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10049
10050 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10051 Check whether `default-file-name-coding-system' is bound.
10052 It isn't in XEmacs.
10053
10054 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10057 backquotes for `obsolete' (bug#13929).
10058
10059 * international/mule.el (find-auto-coding): Include file name in
10060 obsolescence warning (bug#13922).
10061
10062 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10063
10064 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10065 for CFEngine 3-specific indentation.
10066 (cfengine3-indent-line): Use it. Fix up category regex.
10067 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10068
10069 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * type-break.el (type-break-file-name):
10072 * textmodes/remember.el (remember-data-file):
10073 * strokes.el (strokes-file):
10074 * shadowfile.el (shadow-initialize):
10075 * saveplace.el (save-place-file):
10076 * ps-bdf.el (bdf-cache-file):
10077 * progmodes/idlwave.el (idlwave-config-directory):
10078 * net/quickurl.el (quickurl-url-file):
10079 * international/kkc.el (kkc-init-file-name):
10080 * ido.el (ido-save-directory-list-file):
10081 * emulation/viper.el (viper-custom-file-name):
10082 * emulation/vip.el (vip-startup-file):
10083 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10084 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10085
10086 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10087
10088 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10089 * language/thai-word.el: Switch to UTF-8.
10090
10091 See ChangeLog.16 for earlier changes.
10092
10093 ;; Local Variables:
10094 ;; coding: utf-8
10095 ;; End:
10096
10097 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10098
10099 This file is part of GNU Emacs.
10100
10101 GNU Emacs is free software: you can redistribute it and/or modify
10102 it under the terms of the GNU General Public License as published by
10103 the Free Software Foundation, either version 3 of the License, or
10104 (at your option) any later version.
10105
10106 GNU Emacs is distributed in the hope that it will be useful,
10107 but WITHOUT ANY WARRANTY; without even the implied warranty of
10108 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10109 GNU General Public License for more details.
10110
10111 You should have received a copy of the GNU General Public License
10112 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.