]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/play/gomoku.el: Don't use intangible property. Use lexical-binding.
[gnu-emacs] / lisp / ChangeLog
1 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
4 (gomoku--last-pos): New var.
5 (gomoku--intangible-chars): New const.
6 (gomoku--intangible): New function.
7 (gomoku-mode): Use it. Derive from special-mode.
8 (gomoku-move-up): Adjust line count.
9 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
10 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
11 Simplify accordingly.
12
13 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
14 Remove blink-cursor code.
15 (blink-cursor-timer-function, blink-cursor-suspend):
16 Don't special-case GUIs.
17 (blink-cursor-mode): Use focus-in/out-hook.
18
19 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
20
21 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
22 work when annotation is invisible (Bug#13886).
23
24 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
25
26 * json.el (json-alist-p): Only return non-nil if the alist has
27 simple keys (Bug#13518).
28
29 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
30
31 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
32 when control-statement is the first statement in a buffer (Bug#15956).
33
34 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
35
36 * imenu.el (imenu-generic-skip-comments-and-strings):
37 New option (Bug#15560).
38 (imenu--generic-function): Use it.
39
40 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
41
42 * minibuffer.el (completion--in-region-1): Scroll the correct
43 window. (Bug#13898)
44
45 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
46
47 * emacs-lisp/helpers.el: Add some string helpers.
48 (string-trim-left): Removes leading whitespace.
49 (string-trim-right): Removes trailing whitespace.
50 (string-trim): Removes leading and trailing whitespace.
51
52 * subr.el (string-suffix-p): New function.
53
54 2013-11-23 Glenn Morris <rgm@gnu.org>
55
56 * progmodes/python.el (python-shell-send-file):
57 Add option to delete file when done. (Bug#15647)
58 (python-shell-send-string, python-shell-send-region): Use it.
59
60 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
61
62 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
63 to set buffer-read-only to t, never to nil. (Bug#15938)
64
65 * textmodes/tex-mode.el (latex-noindent-environments):
66 Add safe-local-variable property. (Bug#15936)
67
68 2013-11-23 Glenn Morris <rgm@gnu.org>
69
70 * textmodes/enriched.el (enriched-mode): Doc fix.
71 * emacs-lisp/authors.el (authors-renamed-files-alist):
72 Add enriched.doc -> enriched.txt.
73
74 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
75
76 2013-11-22 Leo Liu <sdl.web@gmail.com>
77
78 * progmodes/octave.el (inferior-octave-startup): Spit out error
79 message.
80
81 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
82
83 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
84 Improve docstring.
85 Add :version.
86 (ruby-encoding-magic-comment-style): Add :version.
87
88 2013-11-22 Leo Liu <sdl.web@gmail.com>
89
90 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
91 (Bug#15076)
92 (octave-help-mode): Adapt to change to help-mode-finish to use
93 derived-mode-p on 2013-09-17.
94 (inferior-octave-prompt): Also match octave-gui.
95 (octave-kill-process): Don't ask twice. (Bug#10564)
96
97 2013-11-22 Leo Liu <sdl.web@gmail.com>
98
99 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
100 (inferior-octave-startup, inferior-octave-check-process)
101 (inferior-octave-track-window-width-change)
102 (octave-completion-at-point, octave-eldoc-function): Use it.
103 (octave-kill-process): Provide confirmation. (Bug#10564)
104
105 2013-11-21 Leo Liu <sdl.web@gmail.com>
106
107 * progmodes/octave.el (octave-mode, inferior-octave-mode):
108 Fix obsolete variable comment-use-global-state.
109
110 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
111
112 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
113 Add `octave-source-file'.
114 (octave-source-file): New function. (Bug#15935)
115
116 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
117
118 * net/eww.el (eww-local-regex): New variable.
119 (eww): Use it to detect localhost and similar.
120
121 2013-11-21 Leo Liu <sdl.web@gmail.com>
122
123 Add completion for command `ag'.
124 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
125 (pcomplete/ag): New function.
126 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
127
128 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
131 (bug#14646).
132 (make-obsolete): Remove interactive spec.
133
134 2013-11-21 Glenn Morris <rgm@gnu.org>
135
136 * startup.el (command-line-1): Use path-separator with -L.
137
138 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
139
140 * emacs-lisp/package.el (describe-package-1): Add package archive
141 to shown fields.
142
143 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
144
145 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
146 Change default to "# encoding: %s" to differentiate it from the
147 default Ruby encoding comment template.
148
149 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
150
151 * ses.el (ses-mode): Doc fix. (Bug#14748)
152
153 2013-11-20 Leo Liu <sdl.web@gmail.com>
154
155 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
156
157 2013-11-19 Dan Nicolaescu <dann@gnu.org>
158
159 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
160 when rebase or bisect are in progress.
161
162 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
163
164 * filenotify.el (file-notify-add-watch): Doc fix.
165
166 2013-11-19 Leo Liu <sdl.web@gmail.com>
167
168 * obsolete/rcompile.el: Mark obsolete.
169
170 * progmodes/compile.el (compilation-start)
171 (compilation-goto-locus, compilation-find-file):
172 Pass no-display-ok and handle nil value from display-buffer.
173 (Bug#13594)
174
175 * window.el (display-buffer-alist, display-buffer): Document the
176 new parameter no-display-ok.
177
178 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * electric.el (electric-indent-mode-map): Remove.
181 (electric-indent-mode): Change the global-map instead (bug#15915).
182
183 * textmodes/text-mode.el (paragraph-indent-minor-mode):
184 Use add-function.
185
186 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
187
188 * emacs-lisp/nadvice.el (remove-function): Align with
189 add-function's behavior.
190
191 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
192 (gdb--string-regexp): New constant.
193 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
194 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
195 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
196 submatch 1.
197 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
198 Adjust use accordingly.
199 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
200
201 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
202
203 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
204 interpolation curlies (Bug#15914).
205
206 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
207
208 * calc/calc.el (calc-context-sensitive-enter): New variable.
209 (calc-enter): Use `calc-context-sensitive-enter'.
210
211 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
212
213 * progmodes/cfengine.el: Version bump.
214 (cfengine-cf-promises): New defcustom to locate cf-promises.
215 (cfengine3-vartypes): Add new "data" type.
216 (cfengine3--current-word): New function to get current name-like
217 word or its bounds.
218 (cfengine3--current-function): New function to look up a CFEngine
219 function's definition.
220 (cfengine3-format-function-docstring): New function.
221 (cfengine3-make-syntax-cache): New function.
222 (cfengine3-documentation-function): New function: ElDoc glue.
223 (cfengine3-completion-function): New function: completion glue.
224 (cfengine3-mode): Set `compile-command',
225 `eldoc-documentation-function', and add to
226 `completion-at-point-functions'.
227
228 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
229
230 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
231 `tramp-current-connection'.
232
233 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
234
235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
236 nil/self/true/false with "end of symbol".
237
238 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
239
240 * subr.el (version-regexp-alist): Fix a typo.
241
242 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
243
244 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
245 "en_US.utf8" and "LC_CTYPE" to "".
246 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
247 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
248
249 2013-11-15 Leo Liu <sdl.web@gmail.com>
250
251 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
252
253 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * progmodes/gud.el (ctl-x-map):
256 Remove C-x SPC binding. (Bug#12342)
257 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
258
259 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
260
261 * subr.el (version-regexp-alist):
262 Recognize hg, svn and darcs versions as snapshot versions.
263
264 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
265 Add the ability to always insert an utf-8 encoding comment.
266 Fix and simplify coding comment update logic.
267
268 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
269
270 * net/tramp-gvfs.el (top): Run init code only when
271 `tramp-gvfs-enabled' is not nil.
272 (tramp-gvfs-enabled): Check also :system bus.
273
274 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
275
276 Sync with upstream verilog-mode revision 78e66ba.
277 * progmodes/verilog-mode.el (verilog-end-of-defun)
278 (verilog-type-completion, verilog-get-list): Remove unused funcs.
279 (verilog-get-end-of-defun): Remove unused argument.
280 (verilog-comment-depth): Remove unused local `e'.
281 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
282 Don't pass arg to verilog-get-end-of-defun.
283
284 2013-11-14 Glenn Morris <rgm@gnu.org>
285
286 * obsolete/assoc.el (aget): Prefix dynamic variable.
287
288 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
289
290 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
291
292 * widget.el, hfy-cmap.el: Remove bogus package version number.
293
294 2013-11-13 Glenn Morris <rgm@gnu.org>
295
296 * replace.el (replace-eval-replacement):
297 Try to give more helpful error message. (Bug#15836)
298
299 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
300 (archive-7z-update): Avoid custom type mismatches.
301
302 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
303
304 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
305
306 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
307 address can be empty.
308
309 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
310 Accept nil SWITCHES.
311 (tramp-gvfs-handle-write-region): Implement APPEND.
312
313 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
314
315 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
316 binary "|" operator and closing block args delimiter.
317 Remove FIXME comment referring to Ruby 1.8-only syntax.
318 (ruby-smie--implicit-semi-p): Not after "|" operator.
319 (ruby-smie--closing-pipe-p): New function.
320 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
321 (ruby-smie-rules): Indent after "|".
322
323 2013-11-12 Glenn Morris <rgm@gnu.org>
324
325 * ps-print.el (ps-face-attribute-list):
326 Handle anonymous faces. (Bug#15827)
327
328 2013-11-12 Martin Rudalics <rudalics@gmx.at>
329
330 * window.el (display-buffer-other-frame): Fix doc-string.
331 (Bug#15868)
332
333 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * subr.el (force-mode-line-update): Delete, move to buffer.c.
336
337 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
338
339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
340 (tramp-sh-handle-file-local-copy): Don't write a message when
341 saving temporary files.
342
343 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
344 both directories are remote.
345 (tramp-smb-handle-directory-files): Do not return double entries.
346 Do not expand full file names.
347 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
348 (tramp-smb-handle-write-region): Implement APPEND.
349 (tramp-smb-get-stat-capability): Fix a stupid bug.
350
351 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
354
355 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
356
357 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
358 throwing error over malformed let/let* (bug#15814).
359
360 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * iswitchb.el (iswitchb-mode): Mark obsolete.
363
364 2013-11-11 Glenn Morris <rgm@gnu.org>
365
366 * international/uni-bidi.el, international/uni-category.el:
367 * international/uni-name.el, international/uni-numeric.el:
368 Regenerate for Unicode 6.3.0.
369
370 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
371
372 * net/tramp.el (tramp-methods):
373 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
374 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
375
376 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
377
378 * progmodes/sh-script.el (sh-font-lock-keywords-var):
379 Force highlighting text after Summary keyword in doc face for rpm.
380
381 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
382
383 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
384 available and the word has no wildcards, append one to the grep pattern.
385 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
386 (ispell-complete-word): Call `ispell-lookup-words' with the value
387 independent of `ispell-look-p'.
388
389 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
390
391 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
392 Not after "||".
393 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
394 their parent.
395
396 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
399 (ruby-font-lock-keywords): Use backquote.
400
401 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
402
403 * progmodes/ruby-mode.el (ruby-smie--forward-token)
404 (ruby-smie--backward-token): Only consider full-string matches.
405
406 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
407
408 * faces.el (describe-face): Add distant-foreground.
409
410 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
411
412 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
413 Use `ruby-encoding-magic-comment-style' to control the
414 style of the auto-inserted encoding comment.
415
416 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
417
418 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
419 Use `smie-backward-sexp' with token argument.
420
421 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
422
423 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
424 Remove instrumentation code.
425
426 2013-11-08 Glenn Morris <rgm@gnu.org>
427
428 * progmodes/autoconf.el (autoconf-mode):
429 Tweak comment-start-skip. (Bug#15822)
430
431 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
434 at bobp (bug#15826).
435 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
436
437 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
438
439 * man.el (Man-start-calling): New macro, extracted from
440 Man-getpage-in-background.
441 (Man-getpage-in-background): Use it.
442 (Man-update-manpage): New command.
443 (Man-mode-map): Bind it.
444
445 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
448 of "and", "or", "&&" and "||".
449 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
450 argument. Prohibit opening curly brace because it could only be a
451 block opener in that position.
452 (ruby-smie--forward-token, ruby-smie--backward-token):
453 Separate "|" from "&" or "*" going after it. That can happen in block
454 arguments.
455 (ruby-smie--indent-to-stmt): New function, seeks the end of
456 previous statement or beginning of buffer.
457 (ruby-smie-rules): Use it.
458 (ruby-smie-rules): Check if there's a ":" before a curly block
459 opener candidate; if there is, it's a hash.
460
461 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
464 (cl--block-wrapper): Fix last accidental change.
465
466 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
467
468 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
469 Instrument, in order to hunt failure on hydra.
470
471 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
472
473 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
474 malformed bindings form (bug#15814).
475
476 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
477
478 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
479 "." compared to " @ ". This incidentally fixes some indentation
480 examples with "do".
481 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
482 (ruby-smie-grammar): New tokens: "and" and "or".
483 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
484 Exclude "and" and "or". Remove "do" in order to work around token
485 priorities.
486 (ruby-smie-rules): Add all infix tokens. Handle the case of
487 beginning-of-buffer.
488
489 2013-11-06 Glenn Morris <rgm@gnu.org>
490
491 * Makefile.in (setwins_almost, setwins_for_subdirs):
492 Avoid accidental matches.
493
494 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * menu-bar.el (popup-menu): Use key-binding.
497
498 2013-11-06 Eli Zaretskii <eliz@gnu.org>
499
500 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
501 menus, support also the menus produced by minor modes.
502 (Bug#15817)
503
504 2013-11-06 Leo Liu <sdl.web@gmail.com>
505
506 * thingatpt.el (thing-at-point-looking-at): Add optional arg
507 DISTANCE to bound the search. All uses changed. (Bug#15808)
508
509 2013-11-06 Glenn Morris <rgm@gnu.org>
510
511 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
512 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
513 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
514
515 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * electric.el (electric-indent-just-newline): New command.
518 (electric-indent-mode-map): New keymap.
519 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
520 Re-add :group which weren't redundant.
521
522 * electric.el (electric-indent-local-mode): New minor mode.
523 (electric-indent-functions-without-reindent): New var.
524 (electric-indent-post-self-insert-function): Use it.
525 * emacs-lisp/gv.el (buffer-local-value): Add setter.
526
527 2013-11-05 Eli Zaretskii <eliz@gnu.org>
528
529 * international/quail.el (quail-help): Be more explicit about the
530 meaning of the labels shown on the keys. (Bug#15800)
531
532 * startup.el (normal-top-level): Load the subdirs.el files before
533 setting the locale environment. (Bug#15805)
534
535 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
538 via arguments so as to get the right ones (bug#15418).
539
540 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
541
542 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
543
544 Fix problems found while writing a test suite.
545
546 * net/tramp-compat.el (tramp-compat-load): New defun.
547 * net/tramp.el (tramp-handle-load): Use it.
548
549 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
550 "(numberp ok-if-already-exists)" correctly.
551
552 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
553
554 * international/characters.el (glyphless-char-display-control):
555 Add usage note.
556
557 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
558
559 * progmodes/python.el (python-mode):
560 * progmodes/scheme.el (scheme-mode):
561 * progmodes/prolog.el (prolog-mode):
562 * progmodes/ruby-mode.el (ruby-mode):
563 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
564 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
565
566 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
567
568 * rect.el (rectangle--highlight-for-redisplay):
569 * emacs-lisp/smie.el (smie--next-indent-change):
570 Use buffer-chars-modified-tick.
571
572 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
573
574 * electric.el (electric-indent-post-self-insert-function):
575 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
576
577 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
578
579 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
580
581 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
582
583 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
584 (bug#15786).
585
586 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
589
590 * progmodes/python.el: Fix up last change.
591 (python-shell--save-temp-file): New function.
592 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
593 `string' comes from the current buffer.
594 (python-shell-send-string-no-output): Remove `msg' arg.
595 (python--use-fake-loc): New var.
596 (python-shell-buffer-substring): Obey it. Try to compensate for the
597 extra coding line added by python-shell--save-temp-file.
598 (python-shell-send-region): Use python-shell--save-temp-file and
599 python-shell-send-file directly. Add `nomain' argument.
600 (python-shell-send-buffer): Use python-shell-send-region.
601 (python-electric-pair-string-delimiter): New function.
602 (python-mode): Use it.
603
604 2013-11-04 Eli Zaretskii <eliz@gnu.org>
605
606 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
607 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
608 environment and decoding all of the default-directory's to here
609 from command-line.
610 (command-line): Decode also argv[0].
611
612 * loadup.el: Error out if default-directory is a multibyte string
613 when we are dumping.
614
615 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
616
617 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
618
619 * emacs-lisp/package.el (package-menu-mode)
620 (package-menu--print-info, package-menu--archive-predicate):
621 Add Archive column to package list.
622
623 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
624
625 Fix problems found while writing a test suite.
626
627 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
628 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
629 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
630 to nil when running original file name handler. Otherwise,
631 there are problems with constructs like "$$FOO".
632
633 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
634 for `localname'.
635
636 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
637
638 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
639
640 * subr.el (version<, version<=, version=):
641 Update docstrings with information for snapshot versions.
642
643 * helpers.el: New library for misc helper functions.
644 (hash-table-keys): New function returning a list of hash keys.
645 (hash-table-values): New function returning a list of hash values.
646
647 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
648
649 * progmodes/ruby-mode.el (ruby-smie--forward-token)
650 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
651
652 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
653
654 * textmodes/fill.el (fill-single-char-nobreak-p): New function
655 checking whether point is after a 1-letter word.
656
657 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
658
659 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
660 Don't infloop when expanding region over `multiline' syntax-type that
661 begins a line (bug#15778).
662
663 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
666 Make it into a proper minor mode.
667 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
668 (rectangle-mark-mode-map): New keymap.
669 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
670
671 2013-11-04 Glenn Morris <rgm@gnu.org>
672
673 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
674
675 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
678 (ruby-smie-rules): Use smie-rule-parent instead.
679
680 * emacs-lisp/smie.el (smie-rule-parent): Always call
681 smie-indent-virtual rather than only for hanging tokens.
682 (smie--next-indent-change): New helper command.
683
684 2013-11-03 Glenn Morris <rgm@gnu.org>
685
686 * Makefile.in (abs_srcdir): Remove.
687 (emacs): Unset EMACSLOADPATH.
688
689 2013-11-02 Glenn Morris <rgm@gnu.org>
690
691 * Makefile.in (EMACS): Use a relative filename.
692 (abs_top_builddir): Remove.
693 (custom-deps, finder-data, autoloads): Use --chdir.
694
695 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
696
697 Use relative filenames in TAGS files.
698 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
699 (lisptagsfiles4, TAGS): Use relative file names.
700 (TAGS-LISP): Remove.
701 (maintainer-clean): No more TAGS-LISP file.
702
703 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
704 (lisptagsfiles4): Use absolute filenames again.
705 (TAGS, TAGS-LISP): Not everything needs to run in one line.
706 Remove all *loaddefs files, not just the first. Remove esh-groups.
707 (maintainer-clean): Delete TAGS, TAGS-LISP.
708
709 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
710
711 * emacs-lisp/package.el (package-version-join):
712 Recognize snapshot versions.
713
714 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
715
716 * subr.el (version-regexp-alist): Add support for snapshot versions.
717
718 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
719
720 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
721 New function, replacement for `smie-rule-parent' for when we want to
722 skip over our direct parent if it's an assignment token..
723 (ruby-smie-rules): Use it.
724
725 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
726
727 * progmodes/ruby-mode.el Use `syntax-propertize-function'
728 unconditionally. Remove now unnecessary forward declarations.
729 Remove XEmacs-specific setup.
730 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
731 (ruby-font-lock-syntactic-keywords)
732 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
733 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
734 (ruby-here-doc-end-syntax): Remove.
735 (ruby-mode): Don't check whether `syntax-propertize-rules' is
736 defined as function.
737
738 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
739
740 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
741
742 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
743
744 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
745 table and abbrev table, `define-derived-mode' does that for us
746 anyway.
747
748 2013-11-01 Glenn Morris <rgm@gnu.org>
749
750 * Makefile.in: Remove manual mh-e dependencies (writing .elc
751 files is atomic for some time, so no parallel compilation issues).
752
753 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
754
755 * faces.el (face-x-resources): Add :distant-foreground.
756 (region): Use :distant-foreground for gtk and ns.
757
758 2013-11-01 Tassilo Horn <tsdh@gnu.org>
759
760 Allow multiple bibliographies when BibLaTeX is used rather than
761 BibTeX.
762 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
763 (reftex-locate-bibliography-files): Us it.
764
765 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
766
767 * image.el (image-type-header-regexps): Fix the 'pbm' part to
768 allow comments in pbm files.
769
770 * term/w32-win.el (dynamic-library-alist): Support newer versions
771 of libjpeg starting with v7: look only for the DLL from the
772 version against which Emacs was built.
773 Support versions of libpng beyond 1.4.x.
774 Support libtiff v4.x.
775
776 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
777
778 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
779 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
780 Add property :safe.
781 (ruby-deep-arglist): Add property :type.
782
783 2013-10-31 Glenn Morris <rgm@gnu.org>
784
785 * Makefile.in (custom-deps, finder-data): No need to setq the target
786 variables, we are in the right directory and the defaults work fine.
787
788 2013-10-30 Glenn Morris <rgm@gnu.org>
789
790 * Makefile.in (autoloads): Do not use abs_lisp.
791
792 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
793 `newline' does not respect `standard-output', so use `princ'.
794
795 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
796
797 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
798 * buff-menu.el (Buffer-menu--unmark): New function.
799 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
800
801 2013-10-30 Glenn Morris <rgm@gnu.org>
802
803 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
804
805 * emacs-lisp/package.el (lm-homepage): Declare.
806
807 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
808 Fix doc typos.
809
810 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
811
812 * Makefile.in (finder-data, autoloads, update-subdirs)
813 (compile-main, compile-clean, compile-always, bootstrap-clean):
814 Check return value of cd.
815 (compile-calc): Remove.
816
817 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
818
819 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
820
821 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
822 (byte-compile-and-folded): New function.
823 (=, <, >, <=, >=): Use it.
824
825 * dos-w32.el (minibuffer-history-case-insensitive-variables)
826 (path-separator, null-device, buffer-file-coding-system)
827 (lpr-headers-switches): Check system-type before modifying them.
828 (find-buffer-file-type-coding-system): Mark obsolete.
829 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
830 find-file-not-found-set-buffer-file-coding-system.
831 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
832 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
833 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
834 (w32-direct-print-region-helper, w32-direct-print-region-function)
835 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
836 * startup.el (normal-top-level-add-subdirs-to-load-path):
837 * ps-print.el (ps-print-region-function):
838 * lpr.el (print-region-function): Use new name.
839
840 * subr.el (custom-declare-variable-early): Remove function.
841 (custom-declare-variable-list): Remove var.
842 (error, user-error): Remove `while' loop.
843 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
844 (user-emacs-directory-warning, locate-user-emacs-file):
845 Move to files.el.
846 * simple.el (read-quoted-char-radix, read-quoted-char):
847 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
848 Move from subr.el.
849 * custom.el (custom-declare-variable-list): Don't process
850 custom-declare-variable-list.
851
852 * progmodes/python.el (python-shell-get-buffer): New function.
853 (python-shell-get-process): Use it.
854 (python-shell-send-string): Always use utf-8 and add a cookie to tell
855 Python which encoding was used. Don't split-string since we only care
856 about the first line. Return the temp-file, if applicable.
857 (python-shell-send-region): Tell compile.el how to turn locations in
858 the temp-file into locations in the source buffer.
859
860 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * subr.el (undefined): Add missing behavior from the C code for
863 unbound keys.
864
865 * rect.el: Use lexical-binding. Add new rectangular region support.
866 (rectangle-mark): New command.
867 (rectangle--region): New var.
868 (deactivate-mark-hook): Reset rectangle--region.
869 (rectangle--extract-region, rectangle--insert-for-yank)
870 (rectangle--highlight-for-redisplay)
871 (rectangle--unhighlight-for-redisplay): New functions.
872 (region-extract-function, redisplay-unhighlight-region-function)
873 (redisplay-highlight-region-function): Use them to handle
874 rectangular region.
875 * simple.el (region-extract-function): New var.
876 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
877 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
878 (kill-region): Replace obsolete `yank-handler' arg with `region'.
879 (copy-region-as-kill, kill-ring-save): Add `region' argument.
880 (redisplay-unhighlight-region-function)
881 (redisplay-highlight-region-function): New vars.
882 (redisplay--update-region-highlight): New function.
883 (pre-redisplay-function): Use it.
884 (exchange-point-and-mark): Don't deactivate the mark before
885 reactivate-it anyway.
886 * comint.el (comint-kill-region): Remove yank-handler argument.
887 * delsel.el (delete-backward-char, backward-delete-char-untabify)
888 (delete-char): Remove property, since it's now part of their
889 default behavior.
890 (self-insert-iso): Remove property since this command doesn't exist.
891
892 * emacs-lisp/package.el (package--download-one-archive)
893 (describe-package-1): Don't query the user about final newline.
894
895 2013-10-29 Daniel Colascione <dancol@dancol.org>
896
897 * net/tramp.el (tramp-methods): Document new functionality.
898 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
899 tramp-hostname-checker if method provides one instead of scanning
900 argument list for "%h" to decide hostname acceptability.
901
902 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
903
904 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
905 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
906 Handle COPY-CONTENTS. (Bug#15737)
907
908 2013-10-28 Daiki Ueno <ueno@gnu.org>
909
910 * epa-file.el
911 (epa-file-cache-passphrase-for-symmetric-encryption):
912 Document that this option has no effect with GnuPG 2.0 (bug#15552).
913
914 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
915
916 * image.el (defimage):
917 (image-load-path): Doc fixes.
918
919 2013-10-27 Alan Mackenzie <acm@muc.de>
920
921 Indent statements in macros following "##" correctly.
922 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
923 Modify the "#" arm of a cond form to handle "#" and "##" operators.
924
925 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
926
927 * linum.el (linum-update-window): Fix boundary test (bug#13446).
928
929 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
930
931 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
932 after `=' is probably a new expression.
933
934 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
935
936 * man.el (man-imenu-title): New option.
937 (Man-mode-map): Add menu. (Bug#15722)
938 (Man-mode): Add imenu to menu.
939
940 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
941
942 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
943 specific in what the first arg can be: a non-keyword word,
944 string/regexp/percent literal opener, opening paren, or unary
945 operator followed directly by word.
946
947 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
950 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
951 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
952 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
953 Remove vars, they do not apply any more.
954 (prolog-mode-abbrev-table): Remove redundant declaration.
955 (prolog-upper-case-string, prolog-lower-case-string): Remove.
956 (prolog-use-smie): Remove.
957 (prolog-smie-rules): Add indentation rule for the if-then-else layout
958 supported by prolog-electric-if-then-else-flag.
959 (prolog-mode-variables, prolog-menu): Use setq-local.
960 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
961 Remove binding to `Backspace' since this key doesn't exist anyway.
962 Remove bindings for electric self-inserting keys.
963 (prog-mode): Assume it's defined.
964 (prolog-post-self-insert): New function.
965 (prolog-mode): Use it.
966 (prolog-indent-line, prolog-indent-level)
967 (prolog-find-indent-of-matching-paren)
968 (prolog-indentation-level-of-line, prolog-goto-comment-column)
969 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
970 (prolog-goto-next-paren, prolog-in-string-or-comment)
971 (prolog-tokenize, prolog-inside-mline-comment)
972 (prolog-find-start-of-mline-comment): Remove functions.
973 (prolog-find-unmatched-paren, prolog-clause-end)
974 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
975 (prolog-electric--if-then-else): Rename from
976 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
977 (prolog-tokenize-searchkey): Remove const.
978 (prolog-clause-info): Use forward-sexp.
979 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
980 (prolog-electric-if-then-else): Remove commands.
981 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
982 for use in post-self-insert-hook.
983 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
984 for use in post-self-insert-hook.
985 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
986 for use in post-self-insert-hook.
987 (prolog-electric--underscore): Rename from prolog-electric--underscore;
988 adapt it for use in post-self-insert-hook.
989
990 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
991
992 * emacs-lisp/ert.el (ert-run-tests-interactively):
993 Use `completing-read'. (Bug#9756)
994
995 2013-10-25 Eli Zaretskii <eliz@gnu.org>
996
997 * simple.el (line-move): Call line-move-1 instead of
998 line-move-visual when the current window hscroll is zero, but
999 temporary-goal-column indicates we will need to hscroll as result
1000 of the movement. (Bug#15712)
1001
1002 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1005 capitalization. Use :visible instead of :active.
1006 Fix `ruby-indent-exp' reference. Add menu items for the generic
1007 commands that are used with SMIE.
1008 (ruby-do-end-to-brace): Insert space after `{'.
1009
1010 2013-10-25 John Anthony <john@jo.hnanthony.com>
1011
1012 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1013
1014 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1015
1016 2013-10-25 Glenn Morris <rgm@gnu.org>
1017
1018 * vc/vc.el (vc-print-log): Don't use a working revision unless
1019 one was explicitly specified. (Bug#15322)
1020
1021 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * subr.el (add-to-list): Preserve return value in compiler-macro
1024 (bug#15692).
1025
1026 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1027
1028 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1029 result. Ask user to retry using '-all' flag. (Bug#15701)
1030
1031 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * emacs-lisp/smie.el: New smie-config system.
1034 (smie-config): New defcustom.
1035 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1036 (smie-config-guess, smie-config-save): New commands.
1037 (smie-config--mode-local, smie-config--buffer-local)
1038 (smie-config--trace, smie-config--modefuns): New vars.
1039 (smie-config--advice, smie-config--mode-hook)
1040 (smie-config--setter, smie-config-local, smie-config--get-trace)
1041 (smie-config--guess-value, smie-config--guess): New functions.
1042 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1043 text properties. Treat "string fence" syntax like string syntax.
1044
1045 * progmodes/sh-script.el (sh-use-smie): Change default.
1046 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1047 (sh-var-value): Simplify by CSE.
1048 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1049 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1050 is used.
1051 (sh-guess-basic-offset): Use cl-incf.
1052 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1053
1054 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1055
1056 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1057 (bug#15699).
1058
1059 2013-10-24 Glenn Morris <rgm@gnu.org>
1060
1061 * Makefile.in (abs_top_srcdir): Remove.
1062 (update-subdirs): Use relative path to update-subdirs.
1063
1064 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1065
1066 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1067 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1068 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1069 Call unmsys--file-name before expand-file-name, not after it.
1070
1071 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1072
1073 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1074 (ert-test-skipped): New error.
1075 (ert-skip, ert-stats-skipped): New defuns.
1076 (ert--skip-unless): New macro.
1077 (ert-test-skipped): New struct.
1078 (ert--run-test-debugger, ert-test-result-type-p)
1079 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1080 (ert--stats-set-test-and-result, ert-char-for-test-result)
1081 (ert-string-for-test-result, ert-run-tests-batch)
1082 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1083 Handle skipped tests. (Bug#9803)
1084
1085 2013-10-24 Glenn Morris <rgm@gnu.org>
1086
1087 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1088
1089 * Makefile.in (abs_top_srcdir): New, set by configure.
1090 (update-subdirs): Correct build-aux location.
1091
1092 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1093
1094 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1095 value, whether we could auto-deduce `backend', or not.
1096
1097 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1098 with parameters" example. Simplify the "is it block or is it
1099 hash" check, but also make it more thorough.
1100
1101 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1102
1103 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1104
1105 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1108 { if it is hanging.
1109
1110 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1111 :before ";".
1112
1113 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1114
1115 * progmodes/compile.el (compilation-directory-matcher)
1116 (compilation-page-delimiter):
1117 Support GNU Make-4.0 directory quoting. (Bug#15678)
1118
1119 2013-10-23 Leo Liu <sdl.web@gmail.com>
1120
1121 * ido.el (ido-tidy): Handle read-only text.
1122
1123 2013-10-23 Glenn Morris <rgm@gnu.org>
1124
1125 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1126 (emacs, compile, compile-always):
1127 Quote entities that might contain whitespace.
1128 (custom-deps, finder-data, autoloads): Use abs_lisp.
1129 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1130 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1131 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1132
1133 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1134
1135 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1136 Use `following-char'.
1137
1138 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1141 * progmodes/ruby-mode.el (ruby-smie-rules):
1142 Remove corresponding workaround. Fix indentation rule of ";" so it
1143 also applies when ";" is the parent.
1144
1145 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1146
1147 * frame.el (display-screens, display-pixel-height)
1148 (display-pixel-width, display-mm-width, display-backing-store)
1149 (display-save-under, display-planes, display-color-cells)
1150 (display-visual-class, display-monitor-attributes-list):
1151 Mention the optional ‘display’ argument in doc strings.
1152
1153 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1154
1155 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1156 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1157
1158 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1159
1160 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1161 TODO. Add "." after " @ ".
1162 (ruby-smie--at-dot-call): New function. Checks if point at method
1163 call with explicit target.
1164 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1165 to the method name tokens when it precedes them.
1166 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1167 (ruby-smie-rules): Add rule for indentation before and after "."
1168 token.
1169
1170 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * textmodes/remember.el (remember-diary-extract-entries):
1173 Avoid add-to-list.
1174
1175 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1176 an instruction.
1177
1178 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1179
1180 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1181 (ruby-smie--implicit-semi-p): Add new operator chars.
1182
1183 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1184 `smie-down-list'.
1185 (ruby-smie--args-separator-p): Check that there's no newline
1186 between method call and its arguments.
1187
1188 2013-10-20 Alan Mackenzie <acm@muc.de>
1189
1190 Allow comma separated lists after Java "implements".
1191
1192 * progmodes/cc-engine.el (c-backward-over-enum-header):
1193 Parse commas.
1194 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1195 from a "disallowed" list in enum fontification.
1196
1197 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1198
1199 * startup.el (default-frame-background-mode): Remove unused defvar.
1200
1201 * progmodes/verilog-mode.el (verilog-mode): Don't set
1202 comment-indent-function globally.
1203
1204 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1205
1206 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1207 Move Info menu item creation to ns-win.el.
1208
1209 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1210 in menu bar.
1211
1212 * menu-bar.el: Move GNUStep specific menus...
1213
1214 * term/ns-win.el (ns-initialize-window-system): ... to here.
1215
1216 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1217
1218 * simple.el (newline): Only run post-self-insert-hook when
1219 called interactively.
1220
1221 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1222
1223 * icomplete.el (icomplete-with-completion-tables): Add :version.
1224
1225 2013-10-19 Alan Mackenzie <acm@muc.de>
1226
1227 Fix fontification bugs with constructors and const.
1228
1229 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1230 CASE 2) Remove the check for the absence of a suffix construct
1231 after a function declaration with only types (no identifiers) in
1232 the parentheses. Also, accept a function declaration with just a
1233 type inside the parentheses, if this type can be positively
1234 recognised as such, or if a prefix keyword like "explicit" nails
1235 down the construct as a declaration.
1236
1237 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1238
1239 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1240 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1241 the problem whereby selecting a menu item that leads to a
1242 minibuffer prompt moves the cursor out of the minibuffer window,
1243 making it hard to type at the prompt. Suggested by Stefan Monnier
1244 <monnier@iro.umontreal.ca>.
1245
1246 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1247
1248 * menu-bar.el: Don't make Services menu.
1249
1250 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1251
1252 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1253 (ffap-alist): Use ffap-c++-mode for c++-mode.
1254 (ffap-c++-path): New variable.
1255 (ffap-c++-mode): New function.
1256
1257 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1258
1259 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1260
1261 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1262
1263 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1264 introduced on 2013-09-08, which results in an infinite loop
1265 requesting a password.
1266
1267 2013-10-18 Glenn Morris <rgm@gnu.org>
1268
1269 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1270
1271 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1272
1273 Sync with upstream verilog-mode revision 1a6ecec7.
1274 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1275 (verilog-mode-release-date): Remove.
1276 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1277 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1278 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1279 (verilog-auto-tieoff-ignore-regexp)
1280 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1281 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1282 (verilog-signals-with, verilog-dir-cache-preserving)
1283 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1284 Doc fixes.
1285 (verilog-case-fold): New option, to control case folding in
1286 regexp searches, bug597.
1287 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1288 (verilog-string-match-fold, verilog-in-paren-count)
1289 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1290 (verilog-at-close-struct-p): New functions.
1291 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1292 (verilog-forward-sexp, verilog-set-auto-endcomments):
1293 (verilog-leap-to-case-head): Handle "unique0" case.
1294 (verilog-in-constraint-re): New constant.
1295 (verilog-keywords, verilog-type-font-keywords):
1296 Add some SystemVerilog 1800-2012 keywords.
1297 (verilog-label-be): Remove unimplemented argument, bug669.
1298 (verilog-batch-execute-func): When batch expanding clear
1299 create-lockfiles to prevent spurious user locks when a file ends
1300 up not changing.
1301 (verilog-calculate-indent, verilog-calc-1)
1302 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1303 (verilog-do-indent): Fix indentation of nested constraints
1304 and structures.
1305 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1306 (verilog-auto-inst-param): Use verilog-string-match-fold.
1307 (verilog-read-inst-module-matcher):
1308 Fix AUTOINST on gate primitives with #1.
1309 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1310 Reads all user-defined typed variables.
1311 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1312 (verilog-signals-matching-regexp)
1313 (verilog-signals-not-matching-regexp, verilog-auto):
1314 Respect verilog-case-fold.
1315 (verilog-diff-report): Fix line count.
1316 (verilog-auto-assign-modport): Remove unused local `modi'.
1317 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1318 better handle multidimensional arrays.
1319 Fix packed array ports misadding bit index in AUTOINST, bug637.
1320 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1321 to not double-declare existing outputs and inputs, respectively.
1322 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1323 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1324 (verilog-sk-uvm-component): New skeleton.
1325 (verilog-submit-bug-report): Add verilog-case-fold,
1326 remove verilog-mode-release-date.
1327
1328 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1329
1330 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1331 as before.
1332
1333 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1334
1335 * textmodes/remember.el (remember): set buffer-offer-save in
1336 remember buffers (bug#13566).
1337
1338 2013-10-18 Daniel Colascione <dancol@dancol.org>
1339
1340 When evaluating forms in ielm, direct standard output to ielm
1341 buffer. Add new ielm-return-for-effect command. Remove trailing
1342 whitespace throughout.
1343
1344 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1345 (ielm-return-for-effect): New command.
1346 (ielm-send-input): Accept optional `for-effect' parameter.
1347 (ielm-eval-input): Accept optional `for-effect' parameter.
1348 Bind `standard-output' to stream we create using
1349 `ielm-standard-output-impl'. Suppress printing result when
1350 `for-effect'.
1351 (ielm-standard-output-impl): New function.
1352 (inferior-emacs-lisp-mode): Explain new features in documentation.
1353
1354 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1355
1356 Code cleanup.
1357
1358 * net/tramp.el (tramp-debug-message): Do not check for connection
1359 buffer.
1360 (tramp-message): Use "vector" connection property.
1361
1362 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1363 (tramp-equal-remote, tramp-eshell-directory-change)
1364 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1365 (tramp-adb-handle-rename-file)
1366 * net/tramp-cmds.el (tramp-list-remote-buffers)
1367 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1368 * net/tramp-compat.el (tramp-compat-process-running-p)
1369 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1370 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1371 (tramp-gvfs-handle-rename-file)
1372 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1373 (tramp-set-file-uid-gid)
1374 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1375 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1376 of `file-remote-p'.
1377
1378 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1379 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1380 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1381 (tramp-gw-open-network-stream): Suppress unrelated traces.
1382
1383 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1384 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1385 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1387 connection property.
1388
1389 * net/tramp-cache.el (top): Suppress traces when reading
1390 persistency file.
1391
1392 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1393 Refactor common code. Improve debug message.
1394 (tramp-maybe-open-connection)
1395 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1396 connection buffer too early.
1397
1398 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1399 from `tramp-smb-actions-with-acl'.
1400 (tramp-smb-actions-set-acl): New defconst.
1401 (tramp-smb-handle-copy-directory)
1402 (tramp-smb-action-get-acl): New defun, renamed from
1403 `tramp-smb-action-with-acl'.
1404 (tramp-smb-action-set-acl): New defun.
1405 (tramp-smb-handle-set-file-acl): Rewrite.
1406
1407 2013-10-17 Glenn Morris <rgm@gnu.org>
1408
1409 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1410
1411 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * skeleton.el (skeleton-newline): Remove.
1414 (skeleton-internal-1): Use (insert "\n") instead.
1415
1416 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1417 let-bindings.
1418
1419 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1420 forward-sexp-function while we redo its job (bug#15613).
1421
1422 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1423
1424 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1425 represented by lists.
1426
1427 2013-10-16 Glenn Morris <rgm@gnu.org>
1428
1429 * tmm.el (tmm--history): New dynamic variable.
1430 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1431
1432 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1433
1434 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1435 (tramp-smb-errors): Add error messages.
1436 (tramp-smb-actions-with-acl): New defconst.
1437 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1438 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1439 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1440 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1441 (tramp-smb-get-stat-capability): Fix tests.
1442
1443 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1444
1445 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1446 (bug#15580).
1447
1448 2013-10-16 Glenn Morris <rgm@gnu.org>
1449
1450 * ansi-color.el (ansi-color-drop-regexp):
1451 Add 1J, 1K, 2K. (Bug#15617)
1452
1453 * files.el (hack-local-variables--warned-lexical): New.
1454 (hack-local-variables):
1455 Warn about misplaced lexical-binding. (Bug#15616)
1456
1457 * net/eww.el (eww-render): Always set eww-current-url,
1458 and update header line. (Bug#15622)
1459 (eww-display-html): ... Rather than just doing it here.
1460
1461 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1462
1463 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1464 menu navigations commands.
1465
1466 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1467
1468 * progmodes/subword.el (subword-capitalize): Be careful when
1469 the search for [[:alpha:]] fails (bug#15580).
1470
1471 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1472
1473 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1474 to commands that scroll the menu.
1475
1476 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1477
1478 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1479 Handle methods ending with `?' and `!'.
1480
1481 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1482
1483 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1484 `japanese-cp932' to `cp932' to fix the problem where saving a
1485 source file written in Shift_JIS twice would end up having
1486 `coding: japanese-cp932' which Ruby could not recognize.
1487 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1488 in `ruby-encoding-map'.
1489 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1490 doesn't need to be explicitly declared in magic comment.
1491 (ruby-encoding-map): Add type declaration for better customize UI.
1492
1493 2013-10-13 Glenn Morris <rgm@gnu.org>
1494
1495 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1496 Occur buffers are read-only. http://bugs.debian.org/720775
1497
1498 * emacs-lisp/authors.el (authors-fixed-entries):
1499 Comment out old alpha stuff.
1500
1501 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1502
1503 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1504 to `after-save-hook' instead of `before-save-hook'.
1505 (ruby-mode-set-encoding): Use the value of coding system used to
1506 write the file. Call `basic-save-buffer-1' after modifying the
1507 buffer.
1508
1509 2013-10-13 Alan Mackenzie <acm@muc.de>
1510
1511 Fix indentation/fontification of Java enum with
1512 "implements"/generic.
1513
1514 * progmodes/cc-engine.el (c-backward-over-enum-header):
1515 Extracted from the three other places and enhanced to handle generics.
1516 (c-inside-bracelist-p): Uses new function above.
1517 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1518 function above.
1519 (c-font-lock-enum-tail): Uses new function above.
1520
1521 2013-10-13 Kenichi Handa <handa@gnu.org>
1522
1523 * international/mule-cmds.el (select-safe-coding-system): Remove a
1524 superfluous condition in chekcing whether a coding system is safe
1525 or not.
1526
1527 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1528
1529 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1530
1531 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1532
1533 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1534
1535 2013-10-13 Glenn Morris <rgm@gnu.org>
1536
1537 * menu-bar.el (menu-bar-update-buffers):
1538 Unify Buffers menu prompt string. (Bug#15576)
1539
1540 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1541
1542 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1543 Add some entries.
1544 (authors-fixed-entries): Use accented form of name.
1545
1546 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1549 method calls (bug#15594).
1550 (ruby-smie--args-separator-p): New function.
1551 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1552 recognize paren-free method calls.
1553
1554 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1555 internals of universal-argument.
1556
1557 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1558
1559 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1560 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1561 dropped menu on second mouse click on the menu bar.
1562
1563 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1566 (explicit-shell-file-name): Declare.
1567 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1568 (sh-completion-at-point-function): New function.
1569 (sh-mode): Use it.
1570 (sh-smie--keyword-p): Remove unused argument.
1571 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1572 vars.
1573 (sh-set-shell): Always setup SMIE, even if we use the
1574 old indentation code.
1575
1576 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1577
1578 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1579 cases of ? and =.
1580 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1581 predicate would return nil are almost non-existent.
1582 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1583
1584 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1585 cache also after commands that modify the buffer but don't move
1586 point.
1587
1588 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1589
1590 * env.el (substitute-env-in-file-name): New function.
1591 (substitute-env-vars): Extend the meaning of the optional arg.
1592
1593 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1594
1595 * term/w32-win.el (dynamic-library-alist): Define separate lists
1596 of GIF DLLs for versions before and after 5.0.0 of giflib.
1597 (Bug#15531)
1598
1599 2013-10-10 João Távora <joaotavora@gmail.com>
1600
1601 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1602 not locked, use last revision and current source as
1603 defaults. (Bug#15569)
1604
1605 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1606
1607 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1608 menu-bar is hidden.
1609
1610 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1611
1612 * window.el (pop-to-buffer-same-window): Fix doc-string.
1613 (Bug#15492)
1614
1615 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1618
1619 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1620
1621 * calendar/icalendar.el (icalendar-import-file):
1622 Fix interactive spec. (Bug#15482)
1623
1624 2013-10-10 Glenn Morris <rgm@gnu.org>
1625
1626 * desktop.el (desktop-save): Default to saving in .emacs.d,
1627 since PWD is no longer in desktop-path by default. (Bug#15319)
1628
1629 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1630 now that text mode has a menu with the same entry.
1631 (menu-bar-text-mode-auto-fill): Remove now unused func.
1632 * textmodes/text-mode.el (text-mode-map):
1633 Use auto-fill help text from menu-bar.el.
1634
1635 2013-10-10 John Anthony <john@jo.hnanthony.com>
1636
1637 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1638
1639 2013-10-09 Juri Linkov <juri@jurta.org>
1640
1641 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1642 instead of this-command-keys. Add universal-argument-more and
1643 universal-argument-minus to the list of prefix commands. (Bug#15568)
1644
1645 2013-10-09 Glenn Morris <rgm@gnu.org>
1646
1647 * vc/vc-svn.el (vc-svn-create-repo):
1648 Expand paths in file://... url. (Bug#15446)
1649
1650 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1651 Add some entries.
1652 (authors): Remove unused local variables.
1653
1654 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1655
1656 * profiler.el: Create a more coherent calltree from partial backtraces.
1657 (profiler-format): Hide the tail with `invisible' so that C-s can still
1658 find the hidden elements.
1659 (profiler-calltree-depth): Don't recurse so enthusiastically.
1660 (profiler-function-equal): New hash-table-test.
1661 (profiler-calltree-build-unified): New function.
1662 (profiler-calltree-build): Use it.
1663 (profiler-report-make-name-part): Indent the calltree less.
1664 (profiler-report-mode): Add visibility specs for profiler-format.
1665 (profiler-report-expand-entry, profiler-report-toggle-entry):
1666 Expand the whole subtree when provided with a prefix arg.
1667
1668 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1669
1670 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1671 iuwu-mod token.
1672 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1673 hanging iuwu-mod token.
1674 (ruby-smie--forward-token): Do not include a dot after a token in
1675 that token.
1676 (ruby-smie--backward-token): Likewise.
1677
1678 2013-10-08 Juri Linkov <juri@jurta.org>
1679
1680 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1681 to isearch-other-control-char.
1682 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1683 and isearch-post-command-hook to post-command-hook.
1684 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1685 and isearch-post-command-hook from post-command-hook.
1686 (isearch-unread-key-sequence)
1687 (isearch-reread-key-sequence-naturally)
1688 (isearch-lookup-scroll-key, isearch-other-control-char)
1689 (isearch-other-meta-char): Remove functions.
1690 (isearch-pre-command-hook, isearch-post-command-hook):
1691 New functions based on isearch-other-meta-char rewritten
1692 relying on the new behavior of overriding-terminal-local-map
1693 that does not replace the local keymaps any more. (Bug#15200)
1694
1695 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1696
1697 Support menus on text-mode terminals.
1698 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1699 functionality.
1700
1701 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1702
1703 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1704 Move here from mouse.el.
1705 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1706 and arrow keys.
1707 (tty-menu-navigation-map): New map for TTY menu navigation.
1708
1709 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1710
1711 * frame.el (display-mouse-p): Report text-mode mouse as available
1712 on w32.
1713 (display-popup-menus-p): Report availability if mouse is
1714 available; don't condition on window-system.
1715
1716 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1717 (tty-menu-selected-face): New faces.
1718
1719 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1722 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1723 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1724 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1725 New constants.
1726 (lisp-mode-variables): New `elisp' argument.
1727 (emacs-lisp-mode): Use it.
1728 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1729 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1730
1731 * indent.el: Use lexical-binding.
1732 (indent-region): Add progress reporter.
1733 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1734 last step.
1735 (indent--next-tab-stop): New function to implement this behavior.
1736 (tab-to-tab-stop, move-to-tab-stop): Use it.
1737
1738 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1739
1740 * indent.el (indent-rigidly--current-indentation): New function.
1741 (indent-rigidly-map): New var.
1742 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1743
1744 2013-10-08 Bastien Guerry <bzg@gnu.org>
1745
1746 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1747
1748 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1749
1750 * progmodes/perl-mode.el: Use lexical-binding.
1751 Remove redundant :group args.
1752 (perl-nochange): Change default to be closer to other major modes's
1753 standard behavior.
1754 (perl-indent-line): Don't consider text on current line as a
1755 valid beginning of function from which to indent.
1756
1757 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1758 with more than one argument (bug#15538).
1759
1760 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1761
1762 * vc/pcvs.el: Use lexical-binding.
1763 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1764 environment of `eval'.
1765 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1766 than a list of expressions. Adjust callers.
1767 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1768
1769 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1770
1771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1772 case of the dot in a chained method call being on the following line.
1773
1774 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1775
1776 * electric.el (electric-indent-inhibit): New var.
1777 (electric-indent-post-self-insert-function): Use it.
1778 * progmodes/python.el (python-mode): Set it.
1779
1780 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1781 open braces.
1782
1783 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1784
1785 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1786 (css-mode): Use electric-indent-chars.
1787
1788 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1789 (font-lock-beg, font-lock-end): Move before first use.
1790 (nxml-mode): Use syntax-propertize-function.
1791 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1792 (nxml-extend-after-change-region): Remove.
1793 * nxml/xmltok.el: Use lexical-binding.
1794 (xmltok-save): Use `declare'.
1795 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1796 * nxml/nxml-util.el: Use lexical-binding.
1797 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1798 Use `declare'.
1799 * nxml/nxml-ns.el: Use lexical-binding.
1800 (nxml-ns-save): Use `declare'.
1801 (nxml-ns-prefixes-for): Avoid add-to-list.
1802 * nxml/rng-match.el: Use lexical-binding.
1803 (rng--ipattern): Use cl-defstruct.
1804 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1805 (rng-cons-group-after, rng-subst-group-after)
1806 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1807 Use closures instead of `(lambda...).
1808
1809 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1810
1811 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1812 of BEG and END.
1813
1814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1815 Use `tramp-handle-insert-file-contents'.
1816 (tramp-gvfs-handle-insert-file-contents): Remove function.
1817
1818 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1819 Use `save-restriction' in order to keep markers.
1820
1821 * net/trampver.el: Update release number.
1822
1823 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * progmodes/compile.el (compilation-parse-errors):
1826 Use compilation--put-prop.
1827 (compilation--ensure-parse): Check compilation-multiline.
1828
1829 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1830
1831 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1832 lexical-binding.
1833
1834 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1835
1836 * progmodes/ruby-mode.el: Fix recently added tests.
1837 (ruby-smie-grammar): Add - and +.
1838 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1839 (ruby-smie--backward-id): New functions.
1840 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1841 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1842 any more.
1843
1844 2013-10-07 Leo Liu <sdl.web@gmail.com>
1845
1846 * register.el (register-preview-delay)
1847 (register-preview-functions): New variables.
1848 (register-read-with-preview, register-preview)
1849 (register-describe-oneline): New functions.
1850 (point-to-register, window-configuration-to-register)
1851 (frame-configuration-to-register, jump-to-register)
1852 (number-to-register, view-register, insert-register)
1853 (copy-to-register, append-to-register, prepend-to-register)
1854 (copy-rectangle-to-register): Use register-read-with-preview to
1855 read register. (Bug#15525)
1856
1857 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1858
1859 * net/network-stream.el (network-stream-open-starttls): Don't add
1860 --insecure if it's already present, because that gnutls-cli
1861 rejects getting that parameter twice.
1862
1863 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1864
1865 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1866 keyword, too.
1867
1868 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1869
1870 * newcomment.el (comment-use-global-state): Change default value
1871 to t, mark obsolete (Bug#15251).
1872 (comment-beginning): In addition to `comment-to-syntax', check the
1873 value of `comment-use-global-state'.
1874
1875 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1878 (ruby-comment-column): Follow the global default, by default.
1879 (ruby-smie-grammar): Add assignment syntax.
1880 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1881 open-paren, a comma, or a \.
1882 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1883 and line continuations.
1884 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1885 followed by implicit semi-colons. Add rule for string concatenation
1886 and for indentation at BOB.
1887 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1888
1889 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1890 calling next-sexp, since next-token may have skipped chars which
1891 next-sexp doesn't know should be skipped!
1892
1893 2013-10-05 Leo Liu <sdl.web@gmail.com>
1894
1895 * progmodes/octave.el (octave-send-region):
1896 Call compilation-forget-errors.
1897
1898 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1899
1900 * vc/vc-svn.el (vc-svn-find-admin-dir):
1901 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1902 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1903 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1904 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1905
1906 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1909
1910 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * subr.el (read-passwd): Hide chars even when called within a context
1913 where after-change-functions is disabled (bug#15501).
1914 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1915 until we removed ourself from overriding-terminal-local-map.
1916
1917 2013-10-04 Leo Liu <sdl.web@gmail.com>
1918
1919 * progmodes/octave.el (inferior-octave-mode):
1920 Call compilation-forget-errors.
1921
1922 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1923
1924 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1925
1926 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1927
1928 * net/secrets.el (secrets-create-collection): Add optional
1929 argument ALIAS. Use proper Label keyword. Append ALIAS as
1930 dbus-call-method argument. (Bug#15516)
1931
1932 2013-10-04 Leo Liu <sdl.web@gmail.com>
1933
1934 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1935 (inferior-octave-compilation-font-lock-keywords): New variables.
1936 (compilation-error-regexp-alist)
1937 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1938 (inferior-octave-mode): Use compilation-shell-minor-mode.
1939
1940 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1941
1942 * minibuffer.el (completion--replace): Be careful that `end' might be
1943 a marker.
1944
1945 2013-10-03 Daiki Ueno <ueno@gnu.org>
1946
1947 Add support for package signature checking.
1948 * emacs-lisp/package.el (url-http-file-exists-p)
1949 (epg-make-context, epg-context-set-home-directory)
1950 (epg-verify-string, epg-context-result-for)
1951 (epg-signature-status, epg-signature-to-string)
1952 (epg-check-configuration, epg-configuration)
1953 (epg-import-keys-from-file): Declare.
1954 (package-check-signature): New user option.
1955 (package-unsigned-archives): New user option.
1956 (package-desc): Add `signed' field.
1957 (package-load-descriptor): Set `signed' field if .signed file exists.
1958 (package--archive-file-exists-p): New function.
1959 (package--check-signature): New function.
1960 (package-install-from-archive): Check package signature.
1961 (package--download-one-archive): Check archive signature.
1962 (package-delete): Remove .signed file.
1963 (package-import-keyring): New command.
1964 (package-refresh-contents): Import default keyring.
1965 (package-desc-status): Add "unsigned" status.
1966 (describe-package-1, package-menu--print-info)
1967 (package-menu-mark-delete, package-menu--find-upgrades)
1968 (package-menu--status-predicate): Support "unsigned" status.
1969
1970 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1973 the new compilation scheme using the new byte-codes.
1974
1975 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1976 (byte-pophandler): New byte codes.
1977 (byte-goto-ops): Adjust accordingly.
1978 (byte-compile--use-old-handlers): New var.
1979 (byte-compile-catch): Use new byte codes depending on
1980 byte-compile--use-old-handlers.
1981 (byte-compile-condition-case--old): Rename from
1982 byte-compile-condition-case.
1983 (byte-compile-condition-case--new): New function.
1984 (byte-compile-condition-case): New function that dispatches depending
1985 on byte-compile--use-old-handlers.
1986 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1987 when we can.
1988
1989 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1990 Optimize under `condition-case' and `catch' if
1991 byte-compile--use-old-handlers is nil.
1992 (disassemble-offset): Handle new bytecodes.
1993
1994 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * subr.el (error): Use `declare'.
1997 (decode-char, encode-char): Use advertised-calling-convention instead
1998 of the docstring to discourage use of the `restriction' arg.
1999
2000 2013-10-03 Daiki Ueno <ueno@gnu.org>
2001
2002 * epg.el (epg-verify-file): Add a comment saying that it does not
2003 notify verification error as a return value nor a signal.
2004 (epg-verify-string): Ditto.
2005
2006 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2007
2008 * progmodes/compile.el (compilation-start): Try globbing the arg to
2009 `cd' (bug#15417).
2010
2011 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2012
2013 Sync with Tramp 2.2.8.
2014
2015 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2016 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2017 * net/trampver.el: Update release number.
2018
2019 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2020
2021 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2022 and default-process-coding-system for darwin only.
2023
2024 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2027
2028 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2029
2030 * vc/vc-git.el (vc-git-grep): Disable pager.
2031
2032 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2035 Use :url instead of :homepage, as per
2036 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2037
2038 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2039 non-nil, use `syntax-ppss' (Bug#15251).
2040
2041 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2042
2043 * progmodes/octave.el (inferior-octave-startup-file):
2044 Prefer ~/.emacs.d/init_octave.m.
2045
2046 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2047
2048 * emacs-lisp/package.el (package-desc-from-define):
2049 Accept additional arguments as plist, convert them to an alist and store
2050 them in the `extras' slot.
2051 (package-generate-description-file): Convert extras alist back to
2052 plist and append to the `define-package' form arguments.
2053 (package--alist-to-plist): New function.
2054 (package--ac-desc): Add `extras' slot.
2055 (package--add-to-archive-contents): Check if the archive-contents
2056 vector is long enough, and if it is, pass its `extras' slot value
2057 to `package-desc-create'.
2058 (package-buffer-info): Call `lm-homepage', pass the returned value
2059 to `package-desc-from-define'.
2060 (describe-package-1): Render the homepage button (Bug#13291).
2061
2062 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2063 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2064
2065 2013-09-29 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 to utf-8-unix (Bug#15402).
2069
2070 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2071
2072 * subr.el (looking-back): Do not recommend using looking-back.
2073
2074 2013-09-28 Alan Mackenzie <acm@muc.de>
2075
2076 Fix indentation/fontification of Java enum with "implements".
2077
2078 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2079 regexp which matches "implements", etc., in Java.
2080 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2081 specifier clauses coming after "enum".
2082 * progmodes/cc-fonts.el (c-font-lock-declarations)
2083 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2084 after "enum".
2085
2086 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2087
2088 * faces.el (region): Change ns_selection_color to
2089 ns_selection_fg_color, add ns_selection_bg_color.
2090
2091 2013-09-28 Leo Liu <sdl.web@gmail.com>
2092
2093 * progmodes/octave.el (inferior-octave-completion-table)
2094 (inferior-octave-completion-at-point): Minor tweaks.
2095
2096 * textmodes/ispell.el (ispell-lookup-words): Rename from
2097 lookup-words. (Bug#15460)
2098 (lookup-words): Obsolete.
2099 (ispell-complete-word, ispell-command-loop): All uses changed.
2100
2101 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2102
2103 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2104 (octave-mode-menu): Add octave-send-buffer.
2105 (octave-send-buffer): New function.
2106
2107 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2108
2109 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2110 octave-lookfor.
2111 (octave-mode-menu): Add octave-lookfor.
2112 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2113 octave-lookfor.
2114 (octave-lookfor): New function.
2115
2116 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/cl-macs.el:
2119 (cl--loop-destr-temps): Remove.
2120 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2121 its convention.
2122 (cl--loop-set-iterator-function): New function.
2123 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2124 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2125 Bind `it' with `let' instead of substituting it with `cl-subst'.
2126 (cl--unused-var-p): New function.
2127 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2128 Eliminate some unused variable warnings (bug#15326).
2129
2130 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2131
2132 * doc-view.el (doc-view-scale-reset): Rename from
2133 `doc-view-reset-zoom-level'.
2134 (doc-view-scale-adjust): New command.
2135 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2136 `doc-view-scale-adjust'.
2137
2138 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2139
2140 * doc-view.el (doc-view-reset-zoom-level): New command.
2141 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2142 zoom commands (bug#15466).
2143
2144 2013-09-26 Kenichi Handa <handa@gnu.org>
2145
2146 * international/quail.el (quail-help): Make it not a command.
2147
2148 2013-09-26 Leo Liu <sdl.web@gmail.com>
2149
2150 * minibuffer.el (completion-all-sorted-completions): Make args
2151 optional as they are.
2152
2153 2013-09-25 Daniel Colascione <dancol@dancol.org>
2154
2155 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2156 specs are and that they're not evaluated.
2157
2158 2013-09-24 Sam Steingold <sds@gnu.org>
2159
2160 * midnight.el (clean-buffer-list-kill-regexps)
2161 (clean-buffer-list-kill-buffer-names): Update for the new Man
2162 buffer naming which includes the object name.
2163
2164 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2167 (eshell-parse-command, eshell-parse-pipeline): Use it since
2168 eshell-separate-commands requires a dynamic scoped var.
2169 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2170
2171 2013-09-23 Leo Liu <sdl.web@gmail.com>
2172
2173 * autoinsert.el (auto-insert-alist): Make the value of
2174 lexical-binding match its file setting.
2175
2176 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2177
2178 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2179
2180 * autoarg.el (autoarg-kp-digit-argument):
2181 * electric.el (Electric-command-loop):
2182 * kmacro.el (kmacro-step-edit-insert):
2183 Do not set universal-argument-num-events.
2184
2185 2013-09-22 Leo Liu <sdl.web@gmail.com>
2186
2187 * files.el (interpreter-mode-alist): Add octave.
2188
2189 2013-09-21 Alan Mackenzie <acm@muc.de>
2190
2191 C++: fontify identifier in declaration following "public:" correctly.
2192 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2193 to match "public", etc.
2194 (c-decl-prefix-re): Add ":" into the C++ value.
2195 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2196 bit. Add a check for a ":" preceded by "public", etc.
2197
2198 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2199
2200 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2201 recognized by GDB 7.5 and later.
2202
2203 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2204
2205 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2206
2207 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2208
2209 * subr.el (internal--call-interactively): New const.
2210 (called-interactively-p): Use it (bug#3984).
2211
2212 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2213
2214 * vc/pcvs.el (cvs-mode-ignore):
2215 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2216 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2217
2218 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2219
2220 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2221 (eshell-ls-orig-insert-directory): Remove.
2222 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2223 (eshell-ls-use-in-dired): Use advice-add/remove.
2224 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2225 Add `orig-fun' arg for use in :around advice.
2226 Make it check (redundantly) eshell-ls-use-in-dired.
2227
2228 2013-09-19 Glenn Morris <rgm@gnu.org>
2229
2230 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2231
2232 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2233
2234 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2235
2236 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2237
2238 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2239 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2240 (tramp-get-remote-python): New defuns.
2241 (tramp-get-remote-uid-with-perl)
2242 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2243 contributed by yary <not.com@gmail.com> (tiny change).
2244 (tramp-get-remote-uid-with-python)
2245 (tramp-get-remote-gid-with-python): New defuns. Python code
2246 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2247 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2248
2249 2013-09-19 Glenn Morris <rgm@gnu.org>
2250
2251 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2252
2253 * eshell/em-unix.el (eshell-remove-entries):
2254 Rename argument to avoid name-clash with global `top-level'.
2255
2256 * eshell/esh-proc.el (eshell-kill-process-function):
2257 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2258 (eshell-reset-after-proc): Remove unused arg `proc'.
2259
2260 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2261 (directory-files-and-attributes): Mark unused arg.
2262
2263 * eshell/em-unix.el (eshell-remove-entries):
2264 Remove unused arg `path'. Update callers.
2265
2266 * eshell/em-hist.el (eshell-hist-parse-arguments):
2267 Remove unused arg `silent'. Update callers.
2268
2269 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2270 Fix (f)boundp mix-up.
2271
2272 * eshell/em-smart.el (eshell-smart-scroll-window)
2273 (eshell-disable-after-change):
2274 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2275
2276 2013-09-18 Alan Mackenzie <acm@muc.de>
2277
2278 Fix fontification of type when followed by "const".
2279 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2280 "known" types from fontification.
2281
2282 2013-09-18 Glenn Morris <rgm@gnu.org>
2283
2284 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2285 (chart-face-list): Drop Emacsen without display-color-p.
2286
2287 * net/eww.el (libxml-parse-html-region): Declare.
2288 (eww-display-html): Explicit error if no libxml2 support.
2289
2290 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2291
2292 * image.el (image-type-from-buffer, image-multi-frame-p):
2293 Remove --without-x warning/error.
2294
2295 * mouse.el (mouse-yank-primary):
2296 * term.el (term-mouse-paste):
2297 Reorder to silence --without-x compilation.
2298
2299 * mpc.el (doc-view-mode): Silence --without-x compilation.
2300
2301 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2302 Silence --without-x compilation.
2303
2304 * progmodes/gud.el (gud-find-file, gud-mode):
2305 Silence --without-x compilation.
2306 (tooltip-mode): Declare.
2307
2308 * wdired.el (dired-backup-overwrite): Remove declaration.
2309 (wdired-mode-map): Add doc string.
2310
2311 * custom.el (x-get-resource): Declare.
2312
2313 * eshell/em-glob.el (ange-cache):
2314 * eshell/em-unix.el (ange-cache): Declare.
2315
2316 * faces.el (x-display-list, x-open-connection, x-get-resource):
2317 Declare.
2318
2319 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2320 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2321 Declare.
2322
2323 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2324
2325 * net/gnutls.el (gnutls-log-level): Declare.
2326
2327 * net/shr.el (image-size, image-animate): Declare.
2328
2329 * simple.el (font-info): Declare.
2330
2331 * subr.el (x-popup-dialog): Declare.
2332
2333 * term/common-win.el (x-select-enable-primary)
2334 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2335 Declare.
2336
2337 * term/ns-win.el (x-handle-args): Declare.
2338
2339 * term/x-win.el (x-select-enable-clipboard): Declare.
2340
2341 * term/w32-win.el (create-default-fontset): Declare.
2342
2343 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2344 Declare.
2345
2346 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2347 (fit-frame-to-buffer): Explicit error if --without-x.
2348 (mouse-autoselect-window-select): Silence compiler.
2349
2350 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2351
2352 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2353 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2354 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2355 * eshell/esh-util.el (eshell-sublist):
2356 Remove unused local variables.
2357
2358 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2359
2360 * textmodes/two-column.el: Make 2C-split work for --without-x.
2361 (scroll-bar-columns): Autoload.
2362 (top-level): Require fringe when compiling.
2363
2364 2013-09-18 Leo Liu <sdl.web@gmail.com>
2365
2366 * subr.el (add-hook): Robustify to handle closure as well.
2367
2368 2013-09-17 Glenn Morris <rgm@gnu.org>
2369
2370 * simple.el (messages-buffer-mode-map): Unbind "g".
2371
2372 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * help-mode.el (help-mode-finish): Use derived-mode-p.
2375 Remove obsolete highlighting.
2376
2377 * play/life.el (life-mode): Use define-derived-mode. Derive from
2378 special-mode.
2379 (life): Let-bind inhibit-read-only.
2380 (life-setup): Avoid `setq'. Use `life-mode'.
2381
2382 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2383 which should not be needed any more.
2384 (package-menu-refresh, package-menu-describe-package): Use user-error.
2385
2386 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2387 (eshell-post-rewrite-command-hook): Make obsolete.
2388 (eshell-parse-command): Simplify.
2389 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2390 (eshell--cmd): Declare.
2391 (eshell-parse-pipeline): Remove unused var `final-p'.
2392 Pass a dynvar to eshell-post-rewrite-command-hook.
2393 Implement the new eshell-post-rewrite-command-function.
2394 (eshell-invoke-directly): Remove unused arg `input'.
2395 * eshell/esh-io.el (eshell-io-initialize):
2396 Use eshell-post-rewrite-command-function (bug#15399).
2397 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2398 adjust to new calling convention.
2399 (eshell-create-handles): Rename args to avoid clashing with dynvar
2400 `standard-output'.
2401
2402 2013-09-17 Glenn Morris <rgm@gnu.org>
2403
2404 * simple.el (messages-buffer-mode): New major mode.
2405 (messages-buffer): New function.
2406 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2407 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2408 (ert-run-test): Use `messages-buffer' function.
2409 (ert--force-message-log-buffer-truncation): Ignore read-only.
2410 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2411 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2412
2413 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2416
2417 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2418
2419 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2420
2421 * icomplete.el (icomplete-in-buffer): New var.
2422 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2423 vars and replace them with functions.
2424 (icomplete-minibuffer-setup): Adjust accordingly.
2425 (icomplete--completion-table, icomplete--completion-predicate)
2426 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2427 New functions.
2428 (icomplete-forward-completions, icomplete-backward-completions)
2429 (icomplete-simple-completing-p, icomplete-exhibit)
2430 (icomplete-completions): Use them.
2431 (icomplete--in-region-buffer): New var.
2432 (icomplete--in-region-setup): New function.
2433 (icomplete-mode): Use it.
2434
2435 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2436 (bug#15379).
2437 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2438 return args and options.
2439 (eshell-eval-using-options): Use the new return value of
2440 eshell--do-opts to set the options's vars in their scope.
2441 (eshell--set-option): Rename from eshell-set-option.
2442 Add arg `opt-vals'.
2443 (eshell--process-option): Rename from eshell-process-option.
2444 Add arg `opt-vals'.
2445 (eshell--process-args): Use an `opt-vals' alist to store the options's
2446 values during their processing and return them additionally to the
2447 remaining args.
2448
2449 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2450
2451 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2452 continuation character an operator, as far as indentation is
2453 concerned (Bug#15369).
2454
2455 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2456
2457 * window.el (window--state-put-2): Don't process buffer state
2458 when buffer doesn't exist any more (Bug#15382).
2459
2460 2013-09-15 Glenn Morris <rgm@gnu.org>
2461
2462 * eshell/em-unix.el (eshell/rm):
2463 Make -f ignore missing files. (Bug#15373)
2464
2465 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2466 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2467 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2468
2469 2013-09-14 Glenn Morris <rgm@gnu.org>
2470
2471 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2472
2473 2013-09-13 Glenn Morris <rgm@gnu.org>
2474
2475 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2476 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2477
2478 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2479
2480 * frame.el (x-focus-frame): Mark as declared in frame.c.
2481
2482 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * ls-lisp.el: Use advice-add.
2485 (original-insert-directory): Remove.
2486 (ls-lisp--insert-directory): Rename from insert-directory; add
2487 `orig-fun' argument.
2488 (insert-directory): Advise.
2489
2490 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2491
2492 * term.el (term-emulate-terminal): Decode the command string
2493 before passing it to term-command-hook. (Bug#15337)
2494
2495 2013-09-13 Glenn Morris <rgm@gnu.org>
2496
2497 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2498
2499 * eshell/esh-ext.el (eshell-search-path): Declare.
2500
2501 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2502 Otherwise an error occurs if eshell-dirs module not loaded.
2503
2504 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2505
2506 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2507
2508 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2509 `tramp-check-proper-host'. Check for a valid method name.
2510
2511 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2512 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2513 * net/tramp-sh.el (tramp-maybe-open-connection):
2514 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2515
2516 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2517 also for hash values.
2518
2519 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * term/ns-win.el (parameters): Don't declare as dynamic.
2522 (before-make-frame-hook): Don't add ineffective function.
2523
2524 * eshell/*.el: Use lexical-binding (bug#15231).
2525
2526 2013-09-12 Kenichi Handa <handa@gnu.org>
2527
2528 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2529
2530 2013-09-12 Glenn Morris <rgm@gnu.org>
2531
2532 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2533 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2534
2535 * subr.el (do-after-load-evaluation): Also give compiler warnings
2536 when obsolete files are used (except by obsolete files).
2537
2538 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2539 in the status output, assume `filename' is the first. (Bug#15322)
2540
2541 * vc/vc.el (vc-deduce-fileset): Doc fix.
2542
2543 * calc/calc-help.el (Info-goto-node):
2544 * progmodes/cperl-mode.el (Info-find-node):
2545 * vc/ediff.el (Info-goto-node): Update declarations.
2546
2547 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2548
2549 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2550 (vc-bzr-pull): Require vc-dispatcher.
2551 * vc/vc-git.el (vc-compilation-mode): Declare.
2552 (vc-git-pull): Require vc-dispatcher.
2553
2554 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2555
2556 * progmodes/octave.el (help-button-action): Declare.
2557
2558 * shell.el (shell-directory-tracker): Output error as a message
2559 rather than just returning it as a string.
2560 (shell-process-pushd): Remove useless use of message.
2561
2562 * dframe.el (dframe-timer-fn):
2563 * files.el (dir-locals-read-from-file):
2564 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2565 (mpc-format):
2566 * reveal.el (reveal-post-command):
2567 * saveplace.el (load-save-place-alist-from-file):
2568 * shell.el (shell-resync-dirs):
2569 * w32-common-fns.el (x-get-selection-value):
2570 * emacs-lisp/copyright.el (copyright-find-copyright):
2571 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2572 * emulation/tpu-edt.el (tpu-copy-keyfile):
2573 * play/bubbles.el (bubbles--mark-neighbourhood):
2574 * progmodes/executable.el
2575 (executable-make-buffer-file-executable-if-script-p):
2576 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2577
2578 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2579
2580 Cleanup Eshell to rely less on dynamic scoping.
2581 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2582 last-value, and ext-command here. Bind `args' closer to `body'.
2583 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2584 (eshell--args): Declare new dynamic var.
2585 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2586 last-value, and ext-command. Pass `args' to `body'.
2587 (eshell-process-args): Bind eshell--args.
2588 (eshell-set-option): Use eshell--args.
2589 * eshell/eshell.el (eshell): Use derived-mode-p.
2590 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2591 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2592 (eshell-glob-function): Declare.
2593 * eshell/esh-util.el: Require cl-lib.
2594 (eshell-read-hosts-file): Avoid add-to-list.
2595 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2596 `err'.
2597 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2598 Declare.
2599 (eshell/diff): Remove unused var `err'.
2600 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2601 `killflag'.
2602 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2603 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2604 first use.
2605 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2606 Move declaration before first use.
2607 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2608 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2609 rely on cl-return.
2610
2611 2013-09-12 Glenn Morris <rgm@gnu.org>
2612
2613 * term/ns-win.el (global-map): Remove binding for ispell-next,
2614 deleted 1999-05-29. (Bug#15357)
2615
2616 2013-09-11 Glenn Morris <rgm@gnu.org>
2617
2618 * echistory.el (electric-command-history): Remove call to deleted func.
2619
2620 * play/landmark.el (landmark-mode): Fix typos.
2621
2622 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2623 Check cvs-sort-ignore-file is bound.
2624
2625 * savehist.el: No need for cl when compiling on Emacs.
2626
2627 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2628
2629 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2630 (bug#15338).
2631 (eshell-self-insert-command, eshell-send-invisible):
2632 Remove unused argument.
2633 (eshell-handle-control-codes): Remove unused var `orig'.
2634 Avoid delete-backward-char.
2635
2636 * files.el (set-auto-mode): Simplify a bit further.
2637
2638 2013-09-11 Glenn Morris <rgm@gnu.org>
2639
2640 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2641 (set-auto-mode): Don't regexp-quote elements.
2642 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2643 * progmodes/cc-mode.el (interpreter-mode-alist):
2644 * progmodes/ruby-mode.el (interpreter-mode-alist):
2645 Revert previous change.
2646
2647 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2648
2649 * play/snake.el (snake-mode):
2650 * play/mpuz.el (mpuz-mode):
2651 * play/landmark.el (lm-mode):
2652 * play/blackbox.el (blackbox-mode):
2653 * play/5x5.el (5x5-mode):
2654 * obsolete/options.el (Edit-options-mode):
2655 * net/quickurl.el (quickurl-list-mode):
2656 * net/newst-treeview.el (newsticker-treeview-mode):
2657 * mail/rmailsum.el (rmail-summary-mode):
2658 * mail/mspools.el (mspools-mode):
2659 * locate.el (locate-mode):
2660 * ibuffer.el (ibuffer-mode):
2661 * emulation/ws-mode.el (wordstar-mode):
2662 * emacs-lisp/debug.el (debugger-mode):
2663 * array.el (array-mode):
2664 * net/eudc.el (eudc-mode): Use define-derived-mode.
2665 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2666 Move initialization into declaration.
2667 (mairix-searches-mode): Use define-derived-mode.
2668 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2669 (eudc-edit-hotlist): Use dolist.
2670 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2671 (Man-mode): Use define-derived-mode.
2672 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2673 (Info-edit-mode): Use define-derived-mode.
2674 (Info-cease-edit): Use Info-mode.
2675 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2676 into declaration.
2677 (eshell-mode): Use define-derived-mode.
2678 * chistory.el (command-history-mode-map): Rename from
2679 command-history-map.
2680 (command-history-mode): Use define-derived-mode.
2681 (Command-history-setup): Remove function.
2682 * calc/calc.el (calc-trail-mode-map): New var.
2683 (calc-trail-mode): Use define-derived-mode.
2684 (calc-trail-buffer): Set calc-main-buffer manually.
2685 * bookmark.el (bookmark-insert-annotation): New function.
2686 (bookmark-edit-annotation): Use it.
2687 (bookmark-edit-annotation-mode): Make it a proper major mode.
2688 (bookmark-send-edited-annotation): Use derived-mode-p.
2689 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2690 closer to its ideal place. Use \' to match EOS.
2691
2692 * profiler.el (profiler-calltree-find): Use function-equal.
2693
2694 2013-09-10 Glenn Morris <rgm@gnu.org>
2695
2696 * files.el (interpreter-mode-alist): Convert to regexps.
2697 (set-auto-mode): Adapt for this. (Bug#15306)
2698 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2699 Comment out unused variable.
2700 * progmodes/cc-mode.el (interpreter-mode-alist):
2701 * progmodes/python.el (interpreter-mode-alist):
2702 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2703 * progmodes/sh-script.el (sh-set-shell):
2704 No longer use interpreter-mode-alist to get list of shells.
2705
2706 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2707
2708 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2709
2710 * simple.el: Use set-temporary-overlay-map for universal-argument.
2711 (universal-argument-map): Don't use default-bindings (bug#15317).
2712 Bind switch-frame explicitly. Replace universal-argument-minus with
2713 a conditional binding.
2714 (universal-argument-num-events, saved-overriding-map): Remove.
2715 (restore-overriding-map): Remove.
2716 (universal-argument--mode): Rename from save&set-overriding-map,
2717 and rewrite.
2718 (universal-argument, universal-argument-more, negative-argument)
2719 (digit-argument): Adjust accordingly.
2720 (universal-argument-minus): Remove.
2721 (universal-argument-other-key): Remove.
2722
2723 * subr.el (with-demoted-errors): Add `format' argument.
2724
2725 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2726
2727 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2728 `tramp-cleanup-connection'.
2729
2730 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2731 parameters KEEP-DEBUG and KEEP-PASSWORD.
2732
2733 * net/tramp.el (tramp-file-name-handler):
2734 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2735 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2736 (tramp-maybe-open-connection):
2737 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2738 Use `tramp-cleanup-connection'.
2739
2740 * net/tramp-sh.el (tramp-maybe-open-connection):
2741 Catch 'uname-changed inside the progress reporter.
2742
2743 2013-09-10 Glenn Morris <rgm@gnu.org>
2744
2745 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2746
2747 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2748 returns "alternate access method" in mode (eg "-rw-r--r--.").
2749
2750 2013-09-08 Glenn Morris <rgm@gnu.org>
2751
2752 * saveplace.el (load-save-place-alist-from-file):
2753 Demote errors. (Bug#15305)
2754
2755 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2756
2757 Improve compatibility with older Emacsen, and XEmacs.
2758
2759 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2760 only if it is bound. It isn't for XEmacs.
2761 (with-tramp-progress-reporter): Do not let-bind `result'.
2762 This yields to scoping errors in XEmacs.
2763 (tramp-handle-make-auto-save-file-name): New function, moved from
2764 tramp-sh.el.
2765
2766 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2767 for `make-auto-save-file-name'.
2768 (tramp-adb--gnu-switches-to-ash):
2769 Use `tramp-compat-replace-regexp-in-string'.
2770
2771 * net/tramp-cache.el (tramp-cache-print): Call
2772 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2773
2774 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2775 bound. It isn't for XEmacs.
2776
2777 * net/tramp-compat.el (tramp-compat-copy-file):
2778 Catch `wrong-number-of-arguments' error.
2779 (tramp-compat-replace-regexp-in-string): New defun.
2780
2781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2782 for `make-auto-save-file-name'.
2783 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2784 `copy-file'.
2785 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2786 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2787 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2788
2789 * net/tramp-gw.el (tramp-gw-open-network-stream):
2790 Use `tramp-compat-replace-regexp-in-string'.
2791
2792 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2793 Call `tramp-handle-make-auto-save-file-name'.
2794 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2795 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2796 (tramp-sh-file-inotifywait-process-filter):
2797 Use `tramp-compat-replace-regexp-in-string'.
2798 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2799
2800 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2801 for `make-auto-save-file-name'.
2802 (tramp-smb-handle-copy-directory):
2803 Call `tramp-compat-replace-regexp-in-string'.
2804 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2805 (tramp-smb-handle-copy-file): Improve error message.
2806 (tramp-smb-handle-rename-file): Rename directly only in case
2807 `newname' does not exist yet. This is a restriction of smbclient.
2808 (tramp-smb-maybe-open-connection): Rerun the function only when
2809 `auth-sources' is non-nil.
2810
2811 2013-09-08 Kenichi Handa <handa@gnu.org>
2812
2813 * international/characters.el: Set category "^" (Combining) for
2814 more characters.
2815
2816 2013-09-07 Alan Mackenzie <acm@muc.de>
2817
2818 Correctly fontify Java class constructors.
2819 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2820 in Java Mode.
2821 (c-recognize-typeless-decls): Set the Java value to t.
2822 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2823 While handling a "(", add a check for, effectively, Java, and handle a
2824 "typeless" declaration there.
2825
2826 2013-09-07 Roland Winkler <winkler@gnu.org>
2827
2828 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2829 field subtitle for entry type book.
2830
2831 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * minibuffer.el: Make minibuffer-complete call completion-in-region
2834 rather than other way around.
2835 (completion--some, completion-pcm--find-all-completions):
2836 Don't delay signals when debugging.
2837 (minibuffer-completion-contents): Beware fields within the
2838 minibuffer contents.
2839 (completion-all-sorted-completions): Use defvar-local.
2840 (completion--do-completion, completion--cache-all-sorted-completions)
2841 (completion-all-sorted-completions, minibuffer-force-complete):
2842 Add args `beg' and `end'.
2843 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2844 (minibuffer-complete): Use completion-in-region.
2845 (completion-complete-and-exit): New fun, extracted from
2846 minibuffer-complete-and-exit.
2847 (minibuffer-complete-and-exit): Use it.
2848 (completion--complete-and-exit): Rename from
2849 minibuffer--complete-and-exit.
2850 (completion-in-region--single-word): New function, extracted from
2851 minibuffer-complete-word.
2852 (minibuffer-complete-word): Use it.
2853 (display-completion-list): Make `common-substring' argument obsolete.
2854 (completion--in-region): Call completion--in-region-1 instead of
2855 minibuffer-complete.
2856 (completion-help-at-point): Pass boundaries to
2857 minibuffer-completion-help as args rather than via an overlay.
2858 (completion-pcm--string->pattern): Use `any-delim'.
2859 (completion-pcm--optimize-pattern): New function.
2860 (completion-pcm--pattern->regex): Handle `any-delim'.
2861 * icomplete.el (icomplete-forward-completions)
2862 (icomplete-backward-completions, icomplete-completions):
2863 Adjust calls to completion-all-sorted-completions and
2864 completion--cache-all-sorted-completions.
2865 (icomplete-with-completion-tables): Default to t.
2866 * emacs-lisp/crm.el (crm--current-element): Rename from
2867 crm--select-current-element. Don't put an overlay but return the
2868 boundaries instead.
2869 (crm--completion-command): Take two new args to bind to the boundaries.
2870 (crm-completion-help): Adjust accordingly.
2871 (crm-complete): Use completion-in-region.
2872 (crm-complete-word): Use completion-in-region--single-word.
2873 (crm-complete-and-exit): Use completion-complete-and-exit.
2874
2875 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2878 than dynamically.
2879
2880 2013-09-06 Juri Linkov <juri@jurta.org>
2881
2882 * info.el (Info-display-images-node): When image file doesn't exist
2883 display text version of the image if it's provided in the Info file.
2884 Otherwise, display the location of missing image from SRC attribute.
2885 Add help-echo text property from ALT attribute. (Bug#15279)
2886
2887 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2890 (edit-abbrevs-mode): Use define-derived-mode.
2891
2892 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2893 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2894 that it's defined.
2895 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2896 Use define-derived-mode.
2897
2898 * epg.el (epg-start-encrypt): Minor CSE simplification.
2899
2900 2013-09-06 William Xu <william.xwl@gmail.com>
2901
2902 * arc-mode.el: Add support for 7za (bug#15264).
2903 (archive-7z-program): New var.
2904 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2905 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2906 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2907
2908 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2909
2910 Remove URL syntax.
2911
2912 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2913 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2914 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2915 (tramp-postfix-host-format, tramp-file-name-regexp)
2916 (tramp-completion-file-name-regexp)
2917 (tramp-completion-dissect-file-name)
2918 (tramp-handle-substitute-in-file-name): Remove 'url case.
2919 (tramp-file-name-regexp-url)
2920 (tramp-completion-file-name-regexp-url): Remove constants.
2921
2922 2013-09-06 Glenn Morris <rgm@gnu.org>
2923
2924 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2925
2926 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2927
2928 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2929 keywords" below "here-doc beginnings" (Bug#15270).
2930
2931 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * subr.el (pop): Use `car-safe'.
2934 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2935 to detect unused `pop' return value.
2936
2937 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2938 var `block-regexp'.
2939 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2940 (python-fill-string): Remove unused var `marker'.
2941 (python-skeleton-add-menu-items): Remove unused var `items'.
2942
2943 * international/mule-cmds.el: Require CL.
2944 (find-coding-systems-for-charsets): Avoid add-to-list.
2945 (sanitize-coding-system-list): New function, extracted from
2946 select-safe-coding-system-interactively.
2947 (select-safe-coding-system-interactively): Use it.
2948 (read-input-method-name): Accept symbols for `default'.
2949
2950 * emacs-lisp/advice.el (defadvice): Add indent rule.
2951
2952 2013-09-05 Daniel Hackney <dan@haxney.org>
2953
2954 * dired-x.el:
2955 * net/ange-ftp.el:
2956 * net/browse-url.el:
2957 * net/dbus.el:
2958 * net/eudc.el:
2959 * net/eudcb-ldap.el:
2960 * net/eww.el:
2961 * net/imap.el:
2962 * printing.el:
2963 * vc/ediff-diff.el:
2964 * vc/ediff-init.el:
2965 * vc/ediff-merg.el:
2966 * vc/ediff-mult.el:
2967 * vc/ediff-util.el:
2968 * vc/ediff-wind.el:
2969 * vc/ediff.el:
2970 * vc/emerge.el:
2971 * vc/pcvs.el:
2972 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2973 byte compiler. Remove some unused let-bound variables.
2974
2975 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2976
2977 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2978 a "ref-cell", since it gets better optimized (bug#14883).
2979
2980 2013-09-05 Glenn Morris <rgm@gnu.org>
2981
2982 * progmodes/cc-awk.el (c-forward-sws): Declare.
2983
2984 2013-09-04 Glenn Morris <rgm@gnu.org>
2985
2986 * generic-x.el [rul-generic-mode]: Require cc-mode.
2987 (c++-mode-syntax-table): Declare.
2988 (rul-generic-mode-syntax-table): Init in the defvar.
2989
2990 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2993 (vc-do-command, vc-set-async-update):
2994 * vc/vc-mtn.el (vc-mtn-dir-status):
2995 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2996 (vc-hg-pull, vc-hg-merge-branch):
2997 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2998 (vc-git-merge-branch):
2999 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3000 (vc-cvs-dir-status-files):
3001 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3002 (vc-bzr-dir-status-files):
3003 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3004 * vc/vc-annotate.el: Use lexical-binding.
3005 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3006 (vc-sentinel-movepoint): Declare.
3007 (vc-annotate): Don't use `goto-line'.
3008 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3009 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3010 (vc-sentinel-movepoint): Declare.
3011 * vc/vc-svn.el: Use lexical-binding.
3012 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3013 * vc/vc-sccs.el:
3014 * vc/vc-rcs.el: Use lexical-binding.
3015
3016 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3017 `deleted'. Don't drop errors silently.
3018
3019 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3020
3021 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3022
3023 * vc/vc.el (vc-ignore): Rewrite.
3024 (vc-default-ignore): New function.
3025 (vc-default-ignore-completion-table): Use find-ignore-file.
3026
3027 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3028 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3029 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3030 Remove. Most code moved to vc.el.
3031
3032 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3035 * net/tramp-smb.el (tramp-smb-get-file-entries):
3036 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3037 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3038
3039 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3040 Update call to it.
3041 (eww-change-select): Remove unused var `properties'.
3042 (eww-make-unique-file-name): Remove unused var `base'.
3043
3044 * finder.el (finder-compile-keywords): Don't mess with windows.
3045
3046 * calculator.el (calculator-funcall): Fix typo in last change.
3047
3048 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3049
3050 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3051 <pkg>-autoloads.el file stop us.
3052
3053 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3054 warnings, and factor out common code.
3055
3056 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3057
3058 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3059 two-character operators and whether the character preceding them
3060 changes their meaning (Bug#15208).
3061
3062 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3063
3064 Format code sent to Python shell for robustness.
3065 * progmodes/python.el (python-shell-buffer-substring):
3066 New function.
3067 (python-shell-send-region, python-shell-send-buffer): Use it.
3068
3069 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3070
3071 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3072 * net/tramp.el (tramp-user-error): ... here.
3073 (tramp-find-method, tramp-check-proper-host)
3074 (tramp-dissect-file-name, tramp-debug-message)
3075 (tramp-handle-shell-command):
3076 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3077 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3078
3079 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3080
3081 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3082
3083 * avoid.el (mouse-avoidance-point-position)
3084 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3085 returns nil.
3086
3087 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3088
3089 * progmodes/python.el (python-shell-completion-get-completions):
3090 Drop use of deleted `comint-last-prompt-overlay'.
3091 (python-nav-if-name-main): New command.
3092
3093 2013-09-01 Glenn Morris <rgm@gnu.org>
3094
3095 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3096 Avoid leading space in $wins. Otherwise the sed command used by
3097 eg compile-main ends up containing "/*.el". (Bug#15170)
3098
3099 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3100
3101 2013-08-30 Glenn Morris <rgm@gnu.org>
3102
3103 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3104 Fix is-this-a-directory logic. (Bug#15220)
3105
3106 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * textmodes/css-mode.el: Use SMIE.
3109 (css-smie-grammar): New var.
3110 (css-smie--forward-token, css-smie--backward-token)
3111 (css-smie-rules): New functions.
3112 (css-mode): Use them.
3113 (css-navigation-syntax-table): Remove var.
3114 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3115 (css-indent-calculate, css-indent-line): Remove functions.
3116
3117 Misc changes to reduce use of `(lambda...); and other cleanups.
3118 * cus-edit.el: Use lexical-binding.
3119 (customize-push-and-save, customize-apropos)
3120 (custom-buffer-create-internal): Use closures.
3121 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3122 * progmodes/ada-xref.el: Use setq.
3123 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3124 * dframe.el: Use lexical-binding.
3125 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3126 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3127 * descr-text.el: Use lexical-binding.
3128 (describe-text-widget, describe-text-sexp, describe-property-list):
3129 Use closures.
3130 * comint.el (comint-history-isearch-push-state): Use a closure.
3131 * calculator.el: Use lexical-binding.
3132 (calculator-number-to-string): Make it work with lexical-binding.
3133 (calculator-funcall): Same and use cl-letf.
3134
3135 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3136 (lisp--company-doc-string, lisp--company-location): New functions.
3137 (lisp-completion-at-point): Use them to improve Company support.
3138
3139 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3140 params of lambda expressions.
3141 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3142 (ruby-smie--opening-pipe-p): New function.
3143 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3144 symbols and matched |...| for formal params.
3145 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3146 from being treated as hanging. Handle "rescue".
3147
3148 2013-08-29 Glenn Morris <rgm@gnu.org>
3149
3150 * progmodes/cc-engine.el (c-pull-open-brace):
3151 Move definition before use.
3152
3153 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3156 are immutable. Don't use `unsafe' any more.
3157 (cl--defsubst-expand): Don't substitute at the same time as keeping
3158 a residual unused let-binding. Don't use `unsafe' any more.
3159
3160 2013-08-29 Glenn Morris <rgm@gnu.org>
3161
3162 * calendar/cal-china.el (calendar-chinese-year-cache):
3163 Recenter on 2015.
3164
3165 * nxml/nxml-util.el (nxml-debug-clear-inside):
3166 Use cl-loop rather than loop.
3167
3168 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3169
3170 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3171
3172 2013-08-28 Glenn Morris <rgm@gnu.org>
3173
3174 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3175
3176 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3177
3178 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3179
3180 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * simple.el (repeat-complex-command--called-interactively-skip):
3183 New function.
3184 (repeat-complex-command): Use it (bug#14136).
3185
3186 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3187 (c-define-abbrev-table): Add `doc' argument.
3188 (c-mode-abbrev-table, c++-mode-abbrev-table)
3189 (objc-mode-abbrev-table, java-mode-abbrev-table)
3190 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3191 (awk-mode-abbrev-table): Use it.
3192 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3193 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3194 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3195 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3196 Move initialization into the declaration; and remove any
3197 autoload cookie.
3198
3199 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3200 and dynamic let binding.
3201
3202 * vc/smerge-mode.el: Remove redundant :group args.
3203
3204 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3205 to load-path.
3206
3207 2013-08-28 Juri Linkov <juri@jurta.org>
3208
3209 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3210 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3211 (isearch-other-meta-char): Handle an undefined shifted printing
3212 character by downshifting it. (Bug#15200)
3213
3214 2013-08-28 Juri Linkov <juri@jurta.org>
3215
3216 * isearch.el (isearch-search): Change regexp error message for
3217 non-regexp searches. (Bug#15166)
3218
3219 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3220
3221 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3222 for portability to hosts where /bin/sh has problems.
3223
3224 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3227
3228 2013-08-27 Juri Linkov <juri@jurta.org>
3229
3230 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3231 in the keyboard macro. (Bug#15126)
3232
3233 2013-08-27 Juri Linkov <juri@jurta.org>
3234
3235 * isearch.el (isearch-quote-char): Comment out converting unibyte
3236 to multibyte, thus syncing with its `quoted-insert' counterpart.
3237 (Bug#15166)
3238
3239 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3240
3241 * window.el (display-buffer-use-some-window): Add missing
3242 argument in call of get-largest-window (Bug#15185).
3243 Reported by Stephen Leake.
3244
3245 2013-08-27 Glenn Morris <rgm@gnu.org>
3246
3247 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3248
3249 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3252 from a matcher-function unless there's no more matches (bug#15161).
3253
3254 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * minibuffer.el: Revert change from 2013-08-20.
3257
3258 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3259 with text property `tramp-default', if appropriate.
3260 (tramp-check-proper-host): New defun.
3261 (tramp-dissect-file-name): Do not check hostname. Revert change
3262 of 2013-03-18.
3263 (tramp-backtrace): Make VEC-OR-PROC optional.
3264
3265 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3266 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3267 * net/tramp-sh.el (tramp-maybe-open-connection):
3268 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3269 Apply `tramp-check-proper-host'.
3270
3271 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3272
3273 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3274 lambda expression in order to have `describe-variable' display it.
3275
3276 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3277
3278 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3279 BUF can be optional. (Bug#15186)
3280
3281 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3282
3283 * progmodes/flymake.el (flymake-get-real-file-name-function):
3284 Fix broken customization. (Bug#15184)
3285
3286 2013-08-25 Alan Mackenzie <acm@muc.de>
3287
3288 Improve indentation of bracelists defined by macros (without "=").
3289
3290 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3291 expansion begins with "{", regard it as bracelist when it doesn't
3292 contain a ";".
3293
3294 Parse C++ inher-intro when there's a template split over 2 lines.
3295
3296 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3297 rigorously the search for "class" etc. followed by ":".
3298
3299 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3300 random languages a regexp which never matches rather than nil.
3301
3302 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3303
3304 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3305 (c-awk-regexp-one-line-possibly-open-char-list-re)
3306 (c-awk-one-line-possibly-open-regexp-re)
3307 (c-awk-one-line-non-syn-ws*-re): Remove.
3308 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3309 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3310 (c-awk-space*-unclosed-regexp-/-re): New constants.
3311 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3312 aren't regexp delimiters.
3313
3314 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3315 handling for a rare situation in AWK Mode involving unterminated
3316 strings/regexps.
3317
3318 2013-08-23 Glenn Morris <rgm@gnu.org>
3319
3320 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3321
3322 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3323
3324 * files.el (create-file-buffer): If the result would begin with
3325 spaces, prepend a "|" instead of removing them. (Bug#15162)
3326
3327 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3330 text-properties (bug#15155).
3331
3332 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3333 exist any more.
3334 (calc-keypad-redraw): Remove unused var `pad'.
3335 (calc-keypad-press): Remove unused var `menu'.
3336
3337 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3338
3339 * window.el (display-buffer-pop-up-frame):
3340 Call pop-up-frame-function with BUFFER current so `make-frame' will
3341 use it as the new frame's buffer (Bug#15133).
3342
3343 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * calendar/timeclock.el: Minor cleanups.
3346 (timeclock-ask-before-exiting, timeclock-use-display-time):
3347 Use `symbol'.
3348 (timeclock-modeline-display): Define as alias before the
3349 actual definition.
3350 (timeclock-mode-line-display): Use define-minor-mode.
3351 (timeclock-day-list-template): Make it a function, add an argument.
3352 (timeclock-day-list-required, timeclock-day-list-length)
3353 (timeclock-day-list-debt, timeclock-day-list-span)
3354 (timeclock-day-list-break): Adjust calls accordingly.
3355
3356 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3357
3358 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3359 Use read--expression so that completion works again.
3360
3361 2013-08-21 Sam Steingold <sds@gnu.org>
3362
3363 Add rudimentary inferior shell interaction
3364 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3365 (sh-set-shell): Reset it.
3366 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3367 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3368
3369 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * align.el: Use lexical-binding.
3372 (align-region): Simplify accordingly.
3373
3374 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3375
3376 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3377
3378 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3379 `non-essential' up.
3380
3381 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3382
3383 * net/tramp.el:
3384 * net/tramp-adb.el:
3385 * net/tramp-cmds.el:
3386 * net/tramp-ftp.el:
3387 * net/tramp-gvfs.el:
3388 * net/tramp-gw.el:
3389 * net/tramp-sh.el: Don't wrap external variable declarations by
3390 `eval-when-compile'.
3391
3392 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3393
3394 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3395 now that Emacs supports ImageMagick animations.
3396
3397 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3398
3399 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3400 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3401
3402 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3403
3404 * window.el (mouse-autoselect-window-select): Do autoselect when
3405 mouse pointer is on margin.
3406
3407 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3408
3409 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3410
3411 2013-08-16 Glenn Morris <rgm@gnu.org>
3412
3413 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3414 Handle "Remote Directory" response of some clients. (Bug#15058)
3415
3416 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3417 Tweak warning. (Bug#14926)
3418
3419 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3420 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3421
3422 * image-mode.el (image-mode-map): Add menu items to reverse,
3423 increase, decrease, reset animation speed.
3424 (image--set-speed, image-increase-speed, image-decrease-speed)
3425 (image-reverse-speed, image-reset-speed): New functions.
3426 (image-mode-map): Add bindings for speed commands.
3427
3428 * image.el (image-animate-get-speed, image-animate-set-speed):
3429 New functions.
3430 (image-animate-timeout): Respect image :speed property.
3431
3432 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3435 previous line (bug#15101).
3436 (debugger-eval-expression, debugger-record-expression):
3437 Use read--expression (bug#15102).
3438
3439 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3440
3441 Remove byte compiler warnings, visible when compiling with
3442 `byte-compile-force-lexical-warnings' set to t.
3443
3444 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3445 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3446 (tramp-handle-unhandled-file-name-directory)
3447 (tramp-handle-file-notify-add-watch, tramp-action-login)
3448 (tramp-action-succeed, tramp-action-permission-denied)
3449 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3450 arguments with "_".
3451
3452 * net/tramp-adb.el (tramp-adb-parse-device-names)
3453 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3454 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3455 (tramp-adb-handle-file-truename): Remove unused arguments.
3456
3457 * net/tramp-cache.el (tramp-flush-directory-property)
3458 (tramp-flush-connection-property, tramp-list-connections)
3459 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3460
3461 * net/tramp-compat.el (tramp-compat-make-temp-file):
3462 Rename FILENAME to F.
3463
3464 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3465 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3466 (tramp-zeroconf-parse-workstation-device-names)
3467 (tramp-zeroconf-parse-webdav-device-names)
3468 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3469
3470 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3471 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3472
3473 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3474 arguments.
3475 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3476 (tramp-sh-handle-insert-file-contents-literally)
3477 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3478 with "_".
3479 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3480 Remove unused variables.
3481
3482 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3483 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3484 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3485
3486 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3487 Make them a defconst.
3488 (tramp-uuencode-region): Remove unused variable.
3489
3490 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * frameset.el (frameset--prop-setter): New function.
3493 (frameset-prop): Add gv-setter declaration.
3494 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3495 parameter was already set in FILTERED. Doc fix.
3496 (frameset--record-minibuffer-relationships): Allow saving a
3497 minibufferless frame without its corresponding minibuffer frame.
3498 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3499 frame, if the frame id matches.
3500 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3501 frames before orphaned ones.
3502 (frameset-restore): Warn about orphaned windows, instead of error out.
3503
3504 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3505
3506 * window.el (window-make-atom): Don't overwrite parameter
3507 already present.
3508 (display-buffer-in-atom-window): Handle special case where we
3509 split an already atomic window.
3510 (window--major-non-side-window, display-buffer-in-side-window)
3511 (window--side-check): Ignore minibuffer window when walking
3512 window tree.
3513 (window-deletable-p): Return 'frame only if no other frame uses
3514 our minibuffer window.
3515 (record-window-buffer): Run buffer-list-update-hook.
3516 (split-window): Make sure window--check-frame won't destroy an
3517 existing atomic window in case the new window gets nested
3518 inside.
3519 (display-buffer-at-bottom): Ignore minibuffer window when
3520 walking window tree. Don't split a side window.
3521 (pop-to-buffer): Don't set-buffer here, the select-window call
3522 should do that.
3523 (mouse-autoselect-window-select): Autoselect only if we are in the
3524 text portion of the window.
3525
3526 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3527
3528 * net/shr.el (shr-parse-image-data): New function to grab both the
3529 data itself and the Content-Type.
3530 (shr-put-image): Use it.
3531
3532 * net/eww.el (eww-display-image): Ditto.
3533
3534 * image.el (image-content-type-suffixes): New variable.
3535
3536 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3537
3538 * progmodes/python.el (python-imenu--build-tree)
3539 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3540
3541 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3542
3543 * simple.el (backward-word): Mention the optional argument.
3544
3545 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3546
3547 * frameset.el (frameset--make): Rename constructor from make-frameset.
3548 (frameset-p, frameset-valid-p): Don't autoload.
3549 (frameset-valid-p): Use normal accessors.
3550
3551 2013-08-13 Glenn Morris <rgm@gnu.org>
3552
3553 * progmodes/compile.el (compile-command): Tweak example in doc.
3554 * obsolete/scribe.el (scribe-mode):
3555 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3556
3557 * mail/feedmail.el (feedmail-confirm-outgoing)
3558 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3559
3560 * cus-start.el (truncate-partial-width-windows): Fix type.
3561
3562 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3563
3564 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3565
3566 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * emacs-lisp/timer.el (timer--time-setter): New function.
3569 (timer--time): Use it as gv-setter.
3570
3571 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3572 setter is not a symbol.
3573
3574 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3575
3576 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3577 if sending fails. This makes debugging easier.
3578
3579 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3580
3581 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3582 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3583 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3584
3585 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3586
3587 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3588
3589 2013-08-12 Glenn Morris <rgm@gnu.org>
3590
3591 * format.el (format-annotate-function):
3592 Handle read-only text properties in the source. (Bug#14887)
3593
3594 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3595
3596 * net/eww.el (eww-display-html): Ignore coding system errors.
3597 One web site uses "utf-8lias" as the coding system.
3598
3599 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3600
3601 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3602
3603 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3604
3605 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3606 (tutorial--detailed-help): Remove unused local variables.
3607 (tutorial--save-tutorial-to): Use ignore-errors.
3608 (help-with-tutorial): Use looking-at-p.
3609
3610 * view.el (view-buffer-other-window, view-buffer-other-frame):
3611 Mark unused arguments.
3612
3613 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3614 (woman-select-symbol-fonts, woman, woman-find-file)
3615 (woman-insert-file-contents, woman-non-underline-faces):
3616 Use string-match-p.
3617 (woman1-unquote): Move declaration.
3618
3619 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3620 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3621 argument. Remove unused local variable.
3622 (xml-parse-elem-type): Use string-match-p.
3623 (xml-substitute-numeric-entities): Use ignore-errors.
3624
3625 * calculator.el (calculator): Mark unused argument.
3626 (calculator-paste, calculator-quit, calculator-integer-p):
3627 Use ignore-errors.
3628 (calculator-string-to-number, calculator-decimal, calculator-exp)
3629 (calculator-op-or-exp): Use string-match-p.
3630
3631 * dired.el (dired-buffer-more-recently-used-p): Declare.
3632 (dired-insert-set-properties, dired-insert-old-subdirs):
3633 Use ignore-errors.
3634
3635 * dired-aux.el (dired-compress): Use ignore-errors.
3636 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3637 (dired-do-async-shell-command, dired-do-shell-command)
3638 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3639 (dired-insert-subdir-validate): Use string-match-p.
3640 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3641 (dired-add-entry): Use string-match-p, looking-at-p.
3642 (dired-insert-subdir-newpos): Remove unused local variable.
3643
3644 * filenotify.el (file-notify-callback): Remove unused local variable.
3645
3646 * filesets.el (filesets-error): Mark unused argument.
3647 (filesets-which-command-p, filesets-filter-dir-names)
3648 (filesets-directory-files, filesets-get-external-viewer)
3649 (filesets-ingroup-get-data): Use string-match-p.
3650
3651 * find-file.el (ff-other-file-name, ff-other-file-name)
3652 (ff-find-the-other-file, ff-cc-hh-converter):
3653 Remove unused local variables.
3654 (ff-get-file-name): Use string-match-p.
3655 (ff-all-dirs-under): Use ignore-errors.
3656
3657 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3658 (follow-select-if-visible): Remove unused local variable.
3659
3660 * forms.el (read-file-filter): Move declaration.
3661 (forms--make-format, forms--make-parser, forms-insert-record):
3662 Quote function with #'.
3663 (forms--update): Use string-match-p. Quote function with #'.
3664
3665 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3666 (help-make-xrefs): Use looking-at-p.
3667 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3668
3669 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3670 (ibuffer-confirm-operation-on): Use string-match-p.
3671
3672 * msb.el (msb-item-handler, msb-dired-item-handler):
3673 Mark unused arguments.
3674
3675 * ses.el (ses-decode-cell-symbol)
3676 (ses-kill-override): Remove unused local variable.
3677 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3678 (ses-load): Use ignore-errors, looking-at-p.
3679 (ses-jump-safe): Use ignore-errors.
3680 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3681
3682 * tabify.el (untabify, tabify): Mark unused arguments.
3683
3684 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3685 Mark unused argument.
3686 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3687 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3688
3689 * emacs-lisp/timer.el (timer--time): Define setter with
3690 gv-define-setter to avoid deprecation warning.
3691
3692 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3693 (*record-cmpl-statistics-p*): Remove (was commented out).
3694 (cmpl-statistics-block): Remove (body was commented out).
3695 All callers changed.
3696 (add-completions-from-buffer, load-completions-from-file):
3697 Remove unused variables.
3698
3699 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3700
3701 * filecache.el (file-cache-delete-file-list):
3702 Print message only when told so.
3703 (file-cache-files-matching): Use #' in mapconcat argument.
3704
3705 * ffap.el (ffap-url-at-point): Fix reference to variable
3706 thing-at-point-default-mail-uri-scheme.
3707
3708 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * subr.el (define-error): New function.
3711 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3712 error-file-not-found and define with define-error.
3713 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3714 and define with define-error.
3715 * userlock.el (file-locked, file-supersession):
3716 * simple.el (mark-inactive):
3717 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3718 * progmodes/ada-mode.el (ada-mode-errors):
3719 * play/life.el (life-extinct):
3720 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3721 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3722 * nxml/rng-util.el (rng-error):
3723 * nxml/rng-uri.el (rng-uri-error):
3724 * nxml/rng-match.el (rng-compile-error):
3725 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3726 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3727 * nxml/nxml-rap.el (nxml-scan-error):
3728 * nxml/nxml-outln.el (nxml-outline-error):
3729 * net/soap-client.el (soap-error):
3730 * net/gnutls.el (gnutls-error):
3731 * net/ange-ftp.el (ftp-error):
3732 * mpc.el (mpc-proc-error):
3733 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3734 (json-number-format, json-string-escape, json-string-format)
3735 (json-key-format, json-object-format):
3736 * jka-compr.el (compression-error):
3737 * international/quail.el (quail-error):
3738 * international/kkc.el (kkc-error):
3739 * emacs-lisp/ert.el (ert-test-failed):
3740 * calc/calc.el (calc-error, inexact-result, math-overflow)
3741 (math-underflow):
3742 * bookmark.el (bookmark-error-no-filename):
3743 * epg.el (epg-error): Define with define-error.
3744
3745 * time.el (display-time-event-handler)
3746 (display-time-next-load-average): Don't call sit-for since it seems
3747 unnecessary (bug#15045).
3748
3749 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3750 Use #' instead of ' to quote functions.
3751 (checkdoc-output-mode): Use setq-local.
3752 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3753 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3754 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3755 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3756 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3757 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3758 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3759 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3760
3761 * ido.el (ido-completion-help): Fix up compiler warning.
3762
3763 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3764
3765 * frameset.el (frameset-p): Add autoload cookie.
3766 (frameset--jump-to-register): New function, based on code moved from
3767 register.el.
3768 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3769
3770 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3771 (frameset-restore, frameset-save, frameset-session-filter-alist):
3772 Remove declarations.
3773 (register-alist): Doc fix.
3774 (frameset-to-register): Move to frameset.el.
3775 (jump-to-register, describe-register-1): Remove frameset-specific code.
3776
3777 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3778
3779 * allout-widgets.el (allout-widgets-pre-command-business)
3780 (allout-widgets-post-command-business)
3781 (allout-widgets-after-change-handler)
3782 (allout-decorate-item-and-context, allout-set-boundary-marker)
3783 (allout-body-modification-handler)
3784 (allout-graphics-modification-handler): Mark ignored arguments.
3785 (allout-widgets-post-command-business)
3786 (allout-widgets-exposure-change-processor)
3787 (allout-widgets-exposure-undo-processor)
3788 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3789 (allout-parse-item-at-point, allout-decorate-item-guides)
3790 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3791 * allout.el (epa-passphrase-callback-function): Declare.
3792 (allout-overlay-insert-in-front-handler)
3793 (allout-overlay-interior-modification-handler)
3794 (allout-isearch-end-handler, allout-chart-siblings)
3795 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3796 (allout-yank-processing, allout-process-exposed)
3797 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3798 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3799 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3800 (lisp-indent-defform): Mark ignored arguments.
3801 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3802 (calculate-lisp-indent): Remove unused variables.
3803 * international/characters.el (indian-2-column, arabic-2-column)
3804 (tibetan): Mark ignored arguments.
3805 (use-cjk-char-width-table): Mark ignored arguments.
3806 Remove unused variables.
3807 * international/fontset.el (build-default-fontset-data)
3808 (x-compose-font-name, create-fontset-from-fontset-spec):
3809 Mark ignored arguments.
3810 (fontset-plain-name): Remove unused variables.
3811 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3812 (keyboard-coding-system): Mark ignored arguments.
3813 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3814 * help.el (resize-temp-buffer-window):
3815 * window.el (display-buffer-in-major-side-window)
3816 (display-buffer-in-side-window, display-buffer-in-previous-window):
3817 Remove unused variables.
3818 * isearch.el (isearch-forward-symbol):
3819 * version.el (emacs-bzr-version-bzr):
3820 * international/mule-cmds.el (current-language-environment):
3821 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3822 (x-handle-display):
3823 * term/pc-win.el (x-list-fonts, x-display-planes)
3824 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3825 (x-server-version, x-display-screens, x-display-mm-height)
3826 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3827 (x-selection-owner-p, x-own-selection-internal)
3828 (x-disown-selection-internal, x-get-selection-internal)
3829 (msdos-initialize-window-system):
3830 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3831 * term/x-win.el (x-handle-no-bitmap-icon):
3832 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3833 (vc-default-find-file-hook, vc-default-extra-menu):
3834 Mark ignored arguments.
3835
3836 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3837
3838 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3839 break-condition in the context of the debugged code (bug#12685).
3840
3841 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3842
3843 * comint.el:
3844 Do not use an overlay to highlight the last prompt. (Bug#14744)
3845 (comint-mode): Make comint-last-prompt buffer local.
3846 (comint-last-prompt): New variable.
3847 (comint-last-prompt-overlay): Remove. Superseded by
3848 comint-last-prompt.
3849 (comint-snapshot-last-prompt, comint-output-filter):
3850 Use comint-last-prompt.
3851
3852 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3853
3854 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3855 (frameset-save): Check validity of the resulting frameset.
3856
3857 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3858
3859 * ido.el (ido-record-command): Add doc string.
3860
3861 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3862
3863 * frameset.el (frameset): Do not disable creation of the default
3864 frameset-p predicate. Doc fix.
3865 (frameset-valid-p): New function, copied from the old predicate-p.
3866 Add additional checks.
3867 (frameset-restore): Check with frameset-valid-p.
3868 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3869 (frameset-name, frameset-description, frameset-properties)
3870 (frameset-states): Add docstring.
3871 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3872 (frameset-filter-alist): Doc fixes.
3873
3874 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3875
3876 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3877
3878 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3879
3880 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3881 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3882 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3883 (byte-compile-normal-call): Remove obsolescence check.
3884
3885 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3886
3887 * frameset.el (frameset-restore): Doc fix.
3888
3889 * register.el (frameset-frame-id, frameset-frame-with-id)
3890 (frameset-p, frameset-restore, frameset-save): Declare.
3891 (register-alist): Document framesets.
3892 (frameset-session-filter-alist): Declare.
3893 (frameset-to-register): New function.
3894 (jump-to-register): Implement jumping to framesets. Doc fix.
3895 (describe-register-1): Describe framesets.
3896
3897 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3898
3899 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3902 Use lexical-binding.
3903
3904 * frameset.el (frameset): Use type vector, not list (incompatible
3905 change). Do not declare a new constructor, use the default one.
3906 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3907 `name' and `description', respectively, and add read-only slot
3908 `timestamp'. Doc fixes.
3909 (frameset-copy, frameset-persistent-filter-alist)
3910 (frameset-filter-alist, frameset-switch-to-gui-p)
3911 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3912 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3913 (frameset-filter-iconified, frameset-keep-original-display-p):
3914 Doc fixes.
3915 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3916 Rename from frameset-filter-(save|restore)-param. All callers changed.
3917 Doc fix.
3918 (frameset-p): Adapt to change to vector and be more thorough.
3919 Change arg name to OBJECT. Doc fix.
3920 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3921 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3922 All callers changed.
3923 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3924 All callers changed.
3925 (frameset--record-minibuffer-relationships): Rename from
3926 frameset--process-minibuffer-frames. All callers changed.
3927 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3928 Use new default constructor (again). Doc fix.
3929 (frameset--find-frame-if): Rename from `frameset--find-frame.
3930 All callers changed.
3931 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3932 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3933 Doc fix.
3934 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3935 PARAMETERS and WINDOW-STATE, respectively.
3936 (frameset-restore): Add new keyword argument PREDICATE.
3937 Reset frameset--target-display to nil. Doc fix.
3938
3939 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3940
3941 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3942 (bat-mode): Use it.
3943 (bat-mode-syntax-table): Mark \n as end-of-comment.
3944 (bat-font-lock-keywords): Remove comment rule.
3945
3946 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3947 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3948
3949 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3950 (byte-compile-callargs-warn): Use `push'.
3951 (byte-compile-arglist-warn): Ignore higher-order "calls".
3952 (byte-compile-file-form-autoload): Use `pcase'.
3953 (byte-compile-function-form): If quoting a symbol, check that it exists.
3954
3955 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3956
3957 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3958 and add a few popular commands found in batch files.
3959 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3960 (dos-mode): Doc fixes.
3961
3962 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3963
3964 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3965 (dos-mode): Use setq-local. Add space after "rem".
3966 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3967 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3968
3969 2013-08-07 Arni Magnusson <arnima@hafro.is>
3970
3971 * progmodes/dos.el: New file.
3972 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3973 dos-mode.
3974
3975 2013-08-06 Glenn Morris <rgm@gnu.org>
3976
3977 * calendar/calendar.el: Add new faces, and day-header-array.
3978 (calendar-weekday-header, calendar-weekend-header)
3979 (calendar-month-header): New faces.
3980 (calendar-day-header-construct): New function.
3981 (calendar-day-header-width): Also :set calendar-day-header-array.
3982 (calendar-american-month-header, calendar-european-month-header)
3983 (calendar-iso-month-header): Use calendar- faces.
3984 (calendar-generate-month):
3985 Use calendar-day-header-array for day headers; apply faces to them.
3986 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3987 (calendar-abbrev-construct): Add optional maxlen argument.
3988 (calendar-day-name-array): Doc fix.
3989 (calendar-day-name-array, calendar-abbrev-length)
3990 (calendar-day-abbrev-array):
3991 Also :set calendar-day-header-array, and maybe redraw.
3992 (calendar-day-header-array): New option. (Bug#15007)
3993 (calendar-font-lock-keywords): Set to nil and make obsolete.
3994 (calendar-day-name): Add option to use header array.
3995
3996 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3997
3998 * net/shr.el (shr-render-td): Remove debugging.
3999 (shr-render-td): Make width computation consistent by defaulting
4000 all zero-width columns to 10 characters. This may not be optimal,
4001 but it's at least consistent.
4002 (shr-make-table-1): Redo last change to fix the real problem in
4003 colspan handling.
4004
4005 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4006
4007 * files.el (cache-long-line-scans):
4008 Make obsolete alias to `cache-long-scans'.
4009
4010 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4011
4012 * frameset.el (frameset, frameset-filter-alist)
4013 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4014 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4015 (frameset-compute-pos): Rename from frameset--compute-pos,
4016 and add docstring.
4017 (frameset-move-onscreen): Use frameset-compute-pos.
4018 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4019
4020 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4021 Fix typos in docstrings.
4022
4023 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4024
4025 * frame.el (get-other-frame): Tiny cleanup.
4026
4027 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4028
4029 * vc/vc.el (vc-default-ignore-completion-table):
4030 Silence byte-compiler warning.
4031
4032 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4033 slot , which can indeed be nil.
4034 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4035 Move entry for `left' from persistent to live filter alist.
4036 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4037 Doc fixes.
4038 (frameset-filter-params): When restoring a frame, copy items added to
4039 `filtered', to avoid unwittingly modifying the original parameters.
4040 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4041 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4042
4043 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4044 to use looking-at-p instead of looking-at. (Bug#15028)
4045
4046 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4047
4048 Revert introduction of isearch-filter-predicates (bug#14714).
4049 Rely on add-function instead.
4050 * isearch.el (isearch-filter-predicates): Rename it back to
4051 isearch-filter-predicate.
4052 (isearch-message-prefix): Use advice-function-mapc and advice
4053 properties to get the isearch-message-prefix.
4054 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4055 instead of run-hook-with-args-until-failure.
4056 (isearch-filter-visible): Not obsolete any more.
4057 * loadup.el: Preload nadvice.
4058 * replace.el (perform-replace): Revert to funcall
4059 instead of run-hook-with-args-until-failure.
4060 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4061 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4062 dired-isearch-filenames-toggle; make it into a proper minor mode.
4063 Use add/remove-function.
4064 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4065 Call the minor-mode rather than add/remove-hook.
4066 (dired-isearch-filter-filenames):
4067 Remove isearch-message-prefix property.
4068 * info.el (Info--search-loop): New function, extracted from Info-search.
4069 Funcall isearch-filter-predicate instead of
4070 run-hook-with-args-until-failure isearch-filter-predicates.
4071 (Info-search): Use it.
4072 (Info-mode): Use isearch-filter-predicate instead of
4073 isearch-filter-predicates.
4074
4075 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4076
4077 Do not call to `selected-window' where it is assumed by default.
4078 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4079 `window-hscroll', `window-width', `window-height', `window-buffer',
4080 `window-frame', `window-start', `window-point', `next-window'
4081 and `window-display-table'.
4082 * abbrev.el (abbrev--default-expand):
4083 * bs.el (bs--show-with-configuration):
4084 * buff-menu.el (Buffer-menu-mouse-select):
4085 * calc/calc.el (calc):
4086 * calendar/calendar.el (calendar-generate-window):
4087 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4088 (diary-make-entry):
4089 * comint.el (send-invisible, comint-dynamic-complete-filename)
4090 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4091 * completion.el (complete):
4092 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4093 * disp-table.el (describe-current-display-table):
4094 * doc-view.el (doc-view-insert-image):
4095 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4096 * ehelp.el (with-electric-help):
4097 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4098 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4099 * emacs-lisp/helper.el (Helper-help-scroller):
4100 * emulation/cua-base.el (cua--post-command-handler-1):
4101 * eshell/esh-mode.el (eshell-output-filter):
4102 * ffap.el (ffap-gnus-wrapper):
4103 * help-macro.el (make-help-screen):
4104 * hilit-chg.el (highlight-compare-buffers):
4105 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4106 * hl-line.el (global-hl-line-highlight):
4107 * icomplete.el (icomplete-simple-completing-p):
4108 * isearch.el (isearch-done):
4109 * jit-lock.el (jit-lock-stealth-fontify):
4110 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4111 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4112 * mpc.el (mpc-tagbrowser, mpc):
4113 * net/rcirc.el (rcirc-any-buffer):
4114 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4115 * play/landmark.el (landmark-max-width, landmark-max-height):
4116 * play/zone.el (zone):
4117 * progmodes/compile.el (compilation-goto-locus):
4118 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4119 * progmodes/etags.el (find-tag-other-window):
4120 * progmodes/fortran.el (fortran-column-ruler):
4121 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4122 * progmodes/verilog-mode.el (verilog-point-text):
4123 * reposition.el (reposition-window):
4124 * rot13.el (toggle-rot13-mode):
4125 * server.el (server-switch-buffer):
4126 * shell.el (shell-dynamic-complete-command)
4127 (shell-dynamic-complete-environment-variable):
4128 * simple.el (insert-buffer, set-selective-display)
4129 (delete-completion-window):
4130 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4131 (speedbar-recenter):
4132 * startup.el (fancy-splash-head):
4133 * textmodes/ispell.el (ispell-command-loop):
4134 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4135 * tutorial.el (help-with-tutorial):
4136 * vc/add-log.el (add-change-log-entry):
4137 * vc/compare-w.el (compare-windows):
4138 * vc/ediff-help.el (ediff-indent-help-message):
4139 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4140 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4141 (ediff-setup-control-frame):
4142 * vc/emerge.el (emerge-position-region):
4143 * vc/pcvs-util.el (cvs-bury-buffer):
4144 * window.el (walk-windows, mouse-autoselect-window-select):
4145 * winner.el (winner-set-conf, winner-undo): Related users changed.
4146
4147 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4148
4149 * frameset.el (frameset--set-id): Doc fix.
4150 (frameset-frame-id, frameset-frame-id-equal-p)
4151 (frameset-locate-frame-id): New functions.
4152 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4153 (frameset-restore): Use them.
4154
4155 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4156
4157 Do not call to `selected-frame' where it is assumed by default.
4158 Affected functions are `raise-frame', `redraw-frame',
4159 `frame-first-window', `frame-terminal' and `delete-frame'.
4160 * calendar/appt.el (appt-disp-window):
4161 * epg.el (epg-wait-for-completion):
4162 * follow.el (follow-delete-other-windows-and-split)
4163 (follow-avoid-tail-recenter):
4164 * international/mule.el (set-terminal-coding-system):
4165 * mail/rmail.el (rmail-mail-return):
4166 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4167 * progmodes/f90.el (f90-add-imenu-menu):
4168 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4169 * server.el (server-switch-buffer):
4170 * simple.el (delete-completion-window):
4171 * talk.el (talk):
4172 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4173 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4174 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4175 * vc/ediff.el (ediff-documentation): Related users changed.
4176 * frame.el (selected-terminal): Remove the leftover.
4177
4178 2013-08-05 Glenn Morris <rgm@gnu.org>
4179
4180 * calendar/calendar.el (calendar-generate-month):
4181 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4182 (calendar-generate-month, calendar-font-lock-keywords):
4183 Fix for calendar-day-header-width > length of any day name.
4184
4185 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4186
4187 * desktop.el (desktop-clear): Use new name of sort predicate.
4188
4189 * frameset.el (frameset): Add docstring. Move :version property to its
4190 own `version' slot.
4191 (frameset-copy): Rename from copy-frameset.
4192 (frameset-p): Check more thoroughly.
4193 (frameset-prop): Do not check for :version, which is no longer a prop.
4194 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4195 Use new :never value instead of t.
4196 (frameset-filter-alist): Expand and clarify docstring.
4197 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4198 (frameset-filter-minibuffer, frameset-filter-save-param)
4199 (frameset-filter-restore-param, frameset-filter-iconified):
4200 Add pointer to docstring of frameset-filter-alist.
4201 (frameset-filter-params): Rename filter values to be more meaningful:
4202 :never instead of t, and reverse the meanings of :save and :restore.
4203 (frameset--process-minibuffer-frames): Clarify error message.
4204 (frameset-save): Avoid unnecessary and confusing call to framep.
4205 Use new BOA constructor for framesets.
4206 (frameset--reuse-list): Doc fix.
4207 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4208 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4209 (frameset-minibufferless-first-p): Doc fix.
4210 Rename from frameset-sort-frames-for-deletion.
4211 (frameset-restore): Doc fixes. Use new function names.
4212 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4213
4214 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4215
4216 * desktop.el (desktop-restore-forces-onscreen)
4217 (desktop-restore-reuses-frames): Document :keyword constant values.
4218 (desktop-filter-parameters-alist): Remove, now identical to
4219 frameset-filter-alist.
4220 (desktop--filter-tty*): Remove, moved to frameset.el.
4221 (desktop-save-frameset, desktop-restore-frameset):
4222 Do not pass :filters argument.
4223
4224 * frameset.el (frameset-live-filter-alist)
4225 (frameset-persistent-filter-alist): New variables.
4226 (frameset-filter-alist): Use them. Add autoload cookie.
4227 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4228 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4229 `frameset--id' (it's supposed to be internal to frameset.el).
4230 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4231 (frameset--initial-params): New function.
4232 (frameset--get-frame): Use it. Doc fix.
4233 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4234 Accept :all, not 'all.
4235 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4236 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4237 with fbound symbols. Fix frame id matching, and remove matching ids if
4238 the frame being restored is deleted. Obey :delete.
4239
4240 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4241
4242 * subr.el (macrop): New function.
4243 (text-clone--maintaining): New var.
4244 (text-clone--maintain): Rename from text-clone-maintain. Use it
4245 instead of inhibit-modification-hooks.
4246
4247 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4248 a proxy, so as handle autoloads and redefinitions of the target.
4249 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4250
4251 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4252 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4253 (pcase--mutually-exclusive-p): New function.
4254 (pcase--split-consp): Use it.
4255 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4256 mutually exclusive with the current predicate.
4257
4258 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4259 (edebug-macrop): Remove. Use `macrop' instead.
4260 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4261 (ad-macro-p):
4262 * eshell/esh-cmd.el (eshell-macrop):
4263 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4264
4265 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4268 (advice-mapc): New function, using it.
4269 (advice-function-member-p): New function.
4270 (advice--normalize): Store the cdr in advice--saved-rewrite since
4271 that's the part that will be changed.
4272 (advice--symbol-function): New function.
4273 (advice-remove): Handle removal before the function is defined.
4274 Adjust to new advice--saved-rewrite.
4275 (advice-member-p): Use advice-function-member-p and
4276 advice--symbol-function.
4277
4278 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4279
4280 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4281 (frameset-filter-minibuffer): Doc fix.
4282 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4283 (frameset--set-id, frameset--process-minibuffer-frames)
4284 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4285 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4286
4287 * desktop.el (desktop-clear): Only delete frames when called
4288 interactively and desktop-restore-frames is non-nil. Doc fix.
4289 (desktop-read): Set desktop-saved-frameset to nil.
4290
4291 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4292
4293 * vc/vc.el (vc-ignore): Rewrite.
4294 (vc-default-ignore-completion-table):
4295 (vc--read-lines):
4296 (vc--add-line, vc--remove-regexp): New functions.
4297
4298 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4299 (vc-svn-ignore-completion-table): New function.
4300
4301 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4302 (vc-hg-ignore-completion-table):
4303 (vc-hg-find-ignore-file): New functions.
4304
4305 * vc/vc-git.el (vc-git-ignore): Rewrite.
4306 (vc-git-ignore-completion-table):
4307 (vc-git-find-ignore-file): New functions.
4308
4309 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4310
4311 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4312 (vc-bzr-ignore-completion-table):
4313 (vc-bzr-find-ignore-file): New functions.
4314
4315 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4316
4317 * frameset.el (frameset-prop): New function and setter.
4318 (frameset-save): Do not modify frame list passed by the caller.
4319
4320 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4323
4324 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4327 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4328
4329 * custom.el (custom-initialize-default, custom-initialize-set)
4330 (custom-initialize-reset, custom-initialize-changed): Affect the
4331 toplevel-default-value (bug#6275, bug#14586).
4332 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4333 for bug#6275.
4334
4335 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4336
4337 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4338 Add cl-def* expressions.
4339
4340 * frameset.el (frameset-filter-params): Fix order of arguments.
4341
4342 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4343
4344 Move code related to saving frames to frameset.el.
4345 * desktop.el: Require frameset.
4346 (desktop-restore-frames): Doc fix.
4347 (desktop-restore-reuses-frames): Rename from
4348 desktop-restoring-reuses-frames.
4349 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4350 (desktop-clear): Clear frames too.
4351 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4352 (desktop--filter-tty*, desktop-save, desktop-read):
4353 Use frameset functions.
4354 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4355 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4356 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4357 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4358 (desktop--process-minibuffer-frames, desktop-save-frames)
4359 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4360 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4361 (desktop--sort-states, desktop-restoring-frames-p)
4362 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4363 (desktop-restoring-frameset-p, desktop-restore-frameset)
4364 (desktop--check-dont-save, desktop-save-frameset): New functions.
4365 (desktop--app-id): New constant.
4366 (desktop-first-buffer, desktop-buffer-ok-count)
4367 (desktop-buffer-fail-count): Move before first use.
4368 * frameset.el: New file.
4369
4370 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * files.el: Use lexical-binding.
4373 (dir-locals-read-from-file): Remove unused `err' variable.
4374 (hack-dir-local-variables--warned-coding): New var.
4375 (hack-dir-local-variables): Use it to avoid repeated warnings.
4376 (make-backup-file-name--default-function): New function.
4377 (make-backup-file-name-function): Use it as default.
4378 (buffer-stale--default-function): New function.
4379 (buffer-stale-function): Use it as default.
4380 (revert-buffer-insert-file-contents--default-function): New function.
4381 (revert-buffer-insert-file-contents-function): Use it as default.
4382 (insert-directory): Avoid add-to-list.
4383
4384 * autorevert.el (auto-revert-handler): Simplify.
4385 Use buffer-stale--default-function.
4386
4387 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4388
4389 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4390
4391 * whitespace.el (whitespace-ensure-local-variables): New function.
4392 (whitespace-cleanup-region): Call it.
4393 (whitespace-turn-on): Call it.
4394
4395 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4396
4397 Complete file name handlers.
4398
4399 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4400 (tramp-handle-verify-visited-file-modtime)
4401 (tramp-handle-file-notify-rm-watch): New functions.
4402 (tramp-call-process): Do not bind `default-directory'.
4403
4404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4405 Order alphabetically.
4406 [access-file, add-name-to-file, dired-call-process]:
4407 [dired-compress-file, file-acl, file-notify-rm-watch]:
4408 [file-ownership-preserved-p, file-selinux-context]:
4409 [make-directory-internal, make-symbolic-link, set-file-acl]:
4410 [set-file-selinux-context, set-visited-file-modtime]:
4411 [verify-visited-file-modtime]: Add handler.
4412 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4413
4414 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4415 [file-notify-add-watch, file-notify-rm-watch]:
4416 [set-file-times, set-visited-file-modtime]:
4417 [verify-visited-file-modtime]: Add handler.
4418 (with-tramp-gvfs-error-message)
4419 (tramp-gvfs-handle-set-visited-file-modtime)
4420 (tramp-gvfs-fuse-file-name): Remove.
4421 (tramp-gvfs-handle-file-notify-add-watch)
4422 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4423 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4424
4425 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4426 Order alphabetically.
4427 [file-notify-rm-watch ]: Use default Tramp handler.
4428 [executable-find]: Remove private handler.
4429 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4430 `default-directory'.
4431 (tramp-sh-handle-executable-find)
4432 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4433 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4434 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4435 Do not use `format' in `tramp-message'.
4436
4437 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4438 [file-notify-rm-watch, set-visited-file-modtime]:
4439 [verify-visited-file-modtime]: Add handler.
4440 (tramp-smb-call-winexe): Do not bind `default-directory'.
4441
4442 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4443
4444 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4445
4446 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4447
4448 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4449 use it.
4450 (log-view-diff-changeset): Same.
4451 (log-view-diff-common): Call backend command `previous-revision'
4452 to find out the previous revision, in both cases. Swap the
4453 variables `to' and `fr', so that `fr' usually refers to the
4454 earlier revision (Bug#14989).
4455
4456 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4457
4458 * ibuf-ext.el (ibuffer-filter-by-filename):
4459 Make it work with dired buffers too.
4460
4461 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4462
4463 * emacs-lisp/re-builder.el (reb-color-display-p):
4464 * files.el (save-buffers-kill-terminal):
4465 * net/browse-url.el (browse-url):
4466 * server.el (server-save-buffers-kill-terminal):
4467 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4468 Prefer nil to selected-frame for the first arg of frame-parameter.
4469
4470 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4471
4472 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4473
4474 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4475
4476 * minibuffer.el (completion--twq-all): Try and preserve each
4477 completion's case choice (bug#14907).
4478
4479 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4480
4481 * net/network-stream.el (open-network-stream): Mention the new
4482 :nogreeting parameter.
4483 (network-stream-open-starttls): Use the :nogreeting parameter
4484 (bug#14938).
4485
4486 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4487
4488 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4489 more natural than popping.
4490
4491 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4492 (shr-urlify): Highlight under mouse.
4493
4494 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4495
4496 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4497
4498 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4499
4500 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4501 buffer for output.
4502
4503 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4504 point-min==1. Fix search string. Fix parentheses missing.
4505
4506 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4507 assume point-min==1. Fix search string. Fix parentheses missing.
4508
4509 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4510
4511 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4512 buffer for output.
4513
4514 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4515
4516 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4517 initial frame is minibuffer-less. (Bug#14841)
4518
4519 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4520
4521 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4522 option.
4523
4524 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4525 (tramp-maybe-open-connection): Use it.
4526
4527 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4528
4529 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4530 minimal set of parameters passed when creating a frame, because
4531 the minibuffer status of a frame cannot be changed later.
4532
4533 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4534
4535 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4536 replace-regexp-in-string and inadvertent omissions in previous change.
4537 (todo-filter-items): Ensure only file names are comma-separated in
4538 name of filtered items buffer.
4539
4540 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4541
4542 * desktop.el: Optionally force offscreen frames back onscreen.
4543 (desktop-restoring-reuses-frames): New option.
4544 (desktop--compute-pos, desktop--move-onscreen): New functions.
4545 (desktop--make-frame): Use desktop--move-onscreen.
4546
4547 2013-07-27 Alan Mackenzie <acm@muc.de>
4548
4549 Fontify a Java generic method as a function.
4550 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4551 value to t.
4552
4553 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4554
4555 * calendar/todo-mode.el: Add command to rename todo files.
4556 (todo-rename-file): New command.
4557 (todo-key-bindings-t): Add key binding for it. Change the
4558 bindings of todo-filter-regexp-items(-multifile) to use `x'
4559 instead of `r', since the latter is better suited to the new
4560 renaming command.
4561
4562 2013-07-27 Alan Mackenzie <acm@muc.de>
4563
4564 Make Java try-with-resources statement parse properly.
4565 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4566 (c-block-stmt-1-2-key): New language constants/variables.
4567 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4568 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4569 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4570 with c-block-stmt-1-2-key.
4571
4572 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4573
4574 * desktop.el (desktop--make-frame): Apply most frame parameters after
4575 creating the frame to force (partially or totally) offscreen frames to
4576 be restored as such.
4577
4578 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4579
4580 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4581 (Bug#14948)
4582
4583 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4586 `base' arg of backtrace-frame.
4587
4588 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4589
4590 * simple.el (list-processes): Doc fix.
4591
4592 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4593
4594 * desktop.el (desktop--select-frame):
4595 Try harder to reuse existing frames.
4596
4597 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4598
4599 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4600 (edebug-eval): Use backtrace-eval.
4601 (edebug--display, edebug--recursive-edit): Don't let-bind the
4602 edebug-outer-* vars that keep track of variables we locally let-bind.
4603 (edebug-outside-excursion): Don't restore outside values of locally
4604 let-bound vars.
4605 (edebug--display): Use user-error.
4606 (cl-lexical-debug, cl-debug-env): Remove.
4607
4608 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4609
4610 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4611 are restored to be sure that they are visible before deleting any
4612 remaining ones.
4613
4614 2013-07-26 Matthias Meulien <orontee@gmail.com>
4615
4616 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4617 vc-print-root-log. (Bug#14948)
4618
4619 2013-07-26 Richard Stallman <rms@gnu.org>
4620
4621 Add aliases for encrypting mail.
4622 * epa.el (epa-mail-aliases): New option.
4623 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4624 Bind inhibit-read-only so read-only text doesn't ruin everything.
4625 (epa-mail-default-recipients): New subroutine broken out.
4626 Handle epa-mail-aliases.
4627
4628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 Add support for lexical variables to the debugger's `e' command.
4631 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4632 vars, except for debugger-outer-match-data.
4633 (debugger-frame-number): Move check for "on a function call" from
4634 callers into it. Add `skip-base' argument.
4635 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4636 (debugger-env-macro): Only reset the state stored in non-variables,
4637 i.e. current-buffer and match-data.
4638 (debugger-eval-expression): Rewrite using backtrace-eval.
4639 * subr.el (internal--called-interactively-p--get-frame): Remove.
4640 (called-interactively-p):
4641 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4642 `base' arg of backtrace-frame instead.
4643
4644 2013-07-26 Glenn Morris <rgm@gnu.org>
4645
4646 * align.el (align-regexp): Doc fix. (Bug#14857)
4647 (align-region): Explicit error if subexpression missing/does not match.
4648
4649 * simple.el (global-visual-line-mode):
4650 Do not duplicate the mode lighter. (Bug#14858)
4651
4652 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4653
4654 * window.el (display-buffer): In display-buffer bind
4655 split-window-keep-point to t, bug#14829.
4656
4657 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4658
4659 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4660 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4661 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4662 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4663 Change accordingly.
4664 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4665 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4666
4667 2013-07-25 Glenn Morris <rgm@gnu.org>
4668
4669 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4670
4671 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4672
4673 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4674 parameter to modify-frame-parameters if the value has not changed;
4675 this is a workaround for bug#14949.
4676 (desktop--make-frame): On cl-delete-if call, check parameter name,
4677 not full parameter.
4678
4679 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4680
4681 * vc/vc.el (vc-ignore): New function.
4682
4683 * vc/vc-svn.el (vc-svn-ignore): New function.
4684
4685 * vc/vc-hg.el (vc-hg-ignore): New function.
4686
4687 * vc/vc-git.el (vc-git-ignore): New function.
4688
4689 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4690 (vc-dir-ignore): New function.
4691
4692 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4693 (cvs-append-to-ignore): Move here from pcvs.el.
4694
4695 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4696
4697 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4698
4699 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4700
4701 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4702 (desktop-restore-frames): Warn when deleting an existing frame failed.
4703
4704 2013-07-24 Glenn Morris <rgm@gnu.org>
4705
4706 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4707
4708 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4709
4710 * filenotify.el (file-notify-supported-p):
4711 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4712 Remove functions.
4713
4714 * autorevert.el (auto-revert-use-notify):
4715 (auto-revert-notify-add-watch):
4716 * net/tramp.el (tramp-file-name-for-operation):
4717 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4718 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4719 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4720 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4721 Remove `file-notify-supported-p' entry.
4722
4723 2013-07-24 Glenn Morris <rgm@gnu.org>
4724
4725 * printing.el: Replace all uses of deleted ps-windows-system,
4726 ps-lp-system, ps-flatten-list with lpr- versions.
4727
4728 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4731 checked with memq (bug#14935).
4732
4733 * files.el (revert-buffer-function): Use a non-nil default.
4734 (revert-buffer-preserve-modes): Declare var to
4735 provide access to the `preserve-modes' argument.
4736 (revert-buffer): Let-bind it.
4737 (revert-buffer--default): New function, extracted from revert-buffer.
4738
4739 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * lpr.el: Signal print errors more prominently.
4742 (print-region-function): Don't default to nil.
4743 (lpr-print-region): New function, extracted from print-region-1.
4744 Check lpr's return value and signal an error in case of problem.
4745 (print-region-1): Use it.
4746 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4747 versions instead.
4748 (ps-printer-name): Default to nil.
4749 (ps-printer-name-option): Default to lpr-printer-switch.
4750 (ps-print-region-function): Don't default to nil.
4751 (ps-postscript-code-directory): Simplify default.
4752 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4753 (ps-string-list, ps-eval-switch, ps-flatten-list)
4754 (ps-flatten-list-1): Remove.
4755 (ps-multibyte-buffer): Avoid setq.
4756 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4757 (print-region-function, ps-print-region-function): Don't set them here.
4758
4759 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4760
4761 * ido.el (ido-fractionp):
4762 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4763 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4764 (ido-max-directory-size, ido-max-dir-file-cache)
4765 (ido-decorations): Doc fix.
4766
4767 * ansi-color.el: Fix old URL.
4768
4769 2013-07-23 Michael R. Mauger <michael@mauger.com>
4770
4771 * progmodes/sql.el: Version 3.3
4772 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4773 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4774 (sql-interactive-remove-continuation-prompt): Rewrite, use
4775 functions above. Fix continuation prompt and complete output line
4776 handling.
4777 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4778 redirected output buffer.
4779 (sql-mode): Restore deleted code (Bug#13591).
4780
4781 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4782
4783 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4784
4785 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4786
4787 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4788
4789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4790 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4791 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4792
4793 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * desktop.el (desktop-clear): Simplify; remove useless checks
4796 against invalid buffer names.
4797 (desktop-list*): Use cl-list*.
4798 (desktop-buffer-info, desktop-create-buffer): Simplify.
4799
4800 2013-07-23 Leo Liu <sdl.web@gmail.com>
4801
4802 * bookmark.el (bookmark-make-record): Restore NAME as a default
4803 value. (Bug#14933)
4804
4805 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4806
4807 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4808 extracted from autoload--insert-text.
4809 (autoload--insert-text): Remove.
4810 (autoload--print-cookie-text): New function, extracted from
4811 autoload--insert-cookie-text.
4812 (autoload--insert-cookie-text): Remove.
4813 (autoload-generate-file-autoloads): Adjust calls accordingly.
4814
4815 * winner.el (winner-hook-installed-p): Remove.
4816 (winner-mode): Simplify accordingly.
4817
4818 * subr.el (add-to-list): Fix compiler-macro when `append' is
4819 not constant. Don't use `cl-member' for the base case.
4820
4821 * progmodes/subword.el: Fix boundary case (bug#13758).
4822 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4823 own group.
4824 (subword-backward-regexp): Make it a constant.
4825 (subword-forward-internal): Don't treat a trailing capital as the
4826 beginning of a word.
4827
4828 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4829
4830 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4831 global value of tabulated-list-revert-hook (bug#14930).
4832
4833 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4834
4835 * desktop.el: Require 'cl-lib.
4836 (desktop-before-saving-frames-functions): New hook.
4837 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4838 for frames being saved. Rename from desktop--save-minibuffer-frames.
4839 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4840 Do not save frames with non-nil `desktop-dont-save' parameter.
4841 Filter out deleted frames.
4842 (desktop--find-frame): Use cl-find-if.
4843 (desktop--select-frame): Use cl-(first|second|third) to access values
4844 of desktop-mini.
4845 (desktop--make-frame): Use cl-delete-if.
4846 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4847 (desktop-restore-frames): Use cl-(first|second|third) to access values
4848 of desktop-mini. Look for visible frame at the end, not while
4849 restoring frames.
4850
4851 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4852 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4853 Use string-match-p, looking-at-p (bug#14927).
4854
4855 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4856
4857 * desktop.el (desktop-saved-frame-states):
4858 Rename from desktop--saved-states; all users changed.
4859 (desktop-save-frames): Rename from desktop--save-frames.
4860 Do not save state to desktop file.
4861 (desktop-save): Save desktop-saved-frame-states to desktop file
4862 and reset to nil.
4863 (desktop-restoring-frames-p): New function.
4864 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4865 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4866 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4867
4868 * desktop.el: Correctly restore iconified frames.
4869 (desktop--filter-iconified-position): New function.
4870 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4871
4872 2013-07-20 Glenn Morris <rgm@gnu.org>
4873
4874 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4875 Let `message' do the formatting.
4876 (def-gdb-preempt-display-buffer): Add explicit format.
4877
4878 * image-dired.el (image-dired-track-original-file):
4879 Use with-current-buffer.
4880 (image-dired-track-thumbnail): Use with-current-buffer.
4881 Avoid changing point of wrong window.
4882
4883 * image-dired.el (image-dired-track-original-file):
4884 Avoid changing point of wrong window. (Bug#14909)
4885
4886 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4887
4888 * progmodes/gdb-mi.el (gdb-done-or-error):
4889 Guard against "%" in gdb output. (Bug#14127)
4890
4891 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4892
4893 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4894 (Bug#14826)
4895
4896 * international/mule.el (coding-system-iso-2022-flags): Fix last
4897 change.
4898
4899 2013-07-20 Kenichi Handa <handa@gnu.org>
4900
4901 * international/mule.el (coding-system-iso-2022-flags):
4902 Add `8-bit-level-4'. (Bug#8522)
4903
4904 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4905
4906 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4907 (bug#14815).
4908
4909 * net/eww.el (eww-process-text-input): Allow inputting when the
4910 point is at the start of the line, as the properties aren't
4911 front-sticky.
4912
4913 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4914 degenerate widths.
4915
4916 2013-07-19 Richard Stallman <rms@gnu.org>
4917
4918 * epa.el (epa-popup-info-window): Doc fix.
4919
4920 * subr.el (split-string): New arg TRIM.
4921
4922 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4923
4924 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4925 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4926
4927 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * filenotify.el (file-notify--library): Rename from
4930 `file-notify-support'. Do not autoload. Adapt all uses.
4931 (file-notify-supported-p): New defun.
4932
4933 * autorevert.el (auto-revert-use-notify):
4934 Use `file-notify-supported-p' instead of `file-notify-support'.
4935 Adapt docstring.
4936 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4937
4938 * net/tramp.el (tramp-file-name-for-operation):
4939 Add `file-notify-supported-p'.
4940
4941 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4942 New defun.
4943 (tramp-sh-file-name-handler-alist): Add it as handler for
4944 `file-notify-supported-p '.
4945
4946 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4948 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4949 Add `ignore' as handler for `file-notify-*' functions.
4950
4951 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4952
4953 * simple.el (line-move-partial, line-move): Don't start vscroll or
4954 scroll-up if the current line is not taller than the window.
4955 (Bug#14881)
4956
4957 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4958
4959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4960 highlight question marks in the method names as strings.
4961 (ruby-block-beg-keywords): Inline.
4962 (ruby-font-lock-keyword-beg-re): Extract from
4963 `ruby-font-lock-keywords'.
4964
4965 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4966
4967 * frame.el (blink-cursor-blinks): New defcustom.
4968 (blink-cursor-blinks-done): New defvar.
4969 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4970 (blink-cursor-timer-function): Check if number of blinks has been
4971 done on X and NS.
4972 (blink-cursor-suspend, blink-cursor-check): New defuns.
4973
4974 2013-07-15 Glenn Morris <rgm@gnu.org>
4975
4976 * edmacro.el (edmacro-format-keys): Fix previous change.
4977
4978 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4979
4980 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4981 The hack didn't work outside English locales anyway.
4982
4983 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * simple.el (define-alternatives): Rename from alternatives-define,
4986 per RMS' suggestion.
4987
4988 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * desktop.el (desktop-restore-frames): Change default to t.
4991 (desktop-restore-in-current-display): Now offer more options.
4992 (desktop-restoring-reuses-frames): New customization option.
4993 (desktop--saved-states): Doc fix.
4994 (desktop-filter-parameters-alist): New variable, renamed and expanded
4995 from desktop--excluded-frame-parameters.
4996 (desktop--target-display): New variable.
4997 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4998 (desktop--filter-tty*, desktop--filter-*-color)
4999 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5000 (desktop--filter-save-desktop-parm)
5001 (desktop-restore-in-original-display-p): New functions.
5002 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5003 (desktop--save-minibuffer-frames): New function, inspired by a similar
5004 function from Martin Rudalics.
5005 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5006 (desktop--restore-in-this-display-p): Remove.
5007 (desktop--find-frame): Rename from desktop--find-frame-in-display
5008 and add predicate argument.
5009 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5010 (desktop--reuse-list): New variable.
5011 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5012 New functions.
5013 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5014
5015 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5016
5017 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5018
5019 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5020
5021 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5022 Highlight conversion methods on Kernel.
5023
5024 2013-07-13 Alan Mackenzie <acm@muc.de>
5025
5026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5027 and comment it out. This out-commenting enables certain C++
5028 declarations to be parsed correctly.
5029
5030 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5031
5032 * international/mule.el (define-coding-system): Doc fix.
5033
5034 * simple.el (default-font-height): Don't call font-info if the
5035 frame's default font didn't change since the frame was created.
5036 (Bug#14838)
5037
5038 2013-07-13 Leo Liu <sdl.web@gmail.com>
5039
5040 * ido.el (ido-read-file-name): Guard against non-symbol value.
5041
5042 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5043
5044 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5045 in nested defuns.
5046
5047 2013-07-13 Leo Liu <sdl.web@gmail.com>
5048
5049 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5050 ido-set-matches call. (Bug#6852)
5051
5052 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5053
5054 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5055 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5056 Ruby 2.0.
5057 (ruby-font-lock-keywords): Distinguish calls to functions with
5058 module-like names from module references. Highlight character
5059 literals.
5060
5061 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5062
5063 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5064 (gdb-send): Handle continued commands. (Bug#14847)
5065
5066 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5067
5068 * desktop.el (desktop--v2s): Remove unused local variable.
5069 (desktop-save-buffer): Make defvar-local; adjust docstring.
5070 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5071 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5072
5073 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5074
5075 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5076
5077 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5078
5079 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5080 (Bug#14842)
5081
5082 2013-07-12 Glenn Morris <rgm@gnu.org>
5083
5084 * doc-view.el: Require cl-lib at runtime too.
5085 (doc-view-remove-if): Remove.
5086 (doc-view-search-next-match, doc-view-search-previous-match):
5087 Use cl-remove-if.
5088
5089 * edmacro.el: Require cl-lib at runtime too.
5090 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5091 (edmacro-mismatch, edmacro-subseq): Remove.
5092
5093 * shadowfile.el: Require cl-lib.
5094 (shadow-remove-if): Remove.
5095 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5096 Use cl-remove-if.
5097
5098 * wid-edit.el: Require cl-lib.
5099 (widget-choose): Use cl-remove-if.
5100 (widget-remove-if): Remove.
5101
5102 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5103 (ebrowse-delete-if-not): Remove.
5104 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5105 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5106 Use cl-delete-if-not.
5107
5108 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5109
5110 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5111 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5112
5113 2013-07-12 Leo Liu <sdl.web@gmail.com>
5114
5115 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5116
5117 2013-07-11 Glenn Morris <rgm@gnu.org>
5118
5119 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5120 (edebug-gensym-index, edebug-gensym):
5121 Remove reimplementation of cl-gensym.
5122 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5123
5124 * thumbs.el: Require cl-lib at run-time too.
5125 (thumbs-gensym-counter, thumbs-gensym):
5126 Remove reimplementation of cl-gensym.
5127 (thumbs-temp-file): Use cl-gensym.
5128
5129 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5130 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5131 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5132 (ert--union, ert--gensym-counter, ert--gensym-counter)
5133 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5134 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5135 (ert-make-test-unbound, ert--expand-should-1)
5136 (ert--expand-should, ert--should-error-handle-error)
5137 (should-error, ert--explain-equal-rec)
5138 (ert--plist-difference-explanation, ert-select-tests)
5139 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5140 Use cl-lib functions rather than reimplementations.
5141
5142 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5143
5144 * net/tramp.el (tramp-methods): Extend docstring.
5145 (tramp-connection-timeout): New defcustom.
5146 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5147 (with-tramp-progress-reporter): Simplify.
5148 (tramp-process-actions): Improve messages.
5149
5150 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5151 * net/tramp-sh.el (tramp-maybe-open-connection):
5152 Use `tramp-connection-timeout'.
5153 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5154 (Bug#14808)
5155
5156 2013-07-11 Leo Liu <sdl.web@gmail.com>
5157
5158 * ido.el (ido-read-file-name): Conform to the requirements of
5159 read-file-name. (Bug#11861)
5160 (ido-read-directory-name): Conform to the requirements of
5161 read-directory-name.
5162
5163 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5164
5165 * subr.el (delay-warning): New function.
5166
5167 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5168
5169 * simple.el (default-line-height): New function.
5170 (line-move-partial, line-move): Use it instead of computing the
5171 line height inline.
5172 (line-move-partial): Always compute ROWH. If the last line is
5173 partially-visible, but its text is completely visible, allow
5174 cursor to enter such a partially-visible line.
5175
5176 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5177
5178 Improve error messages. (Bug#14808)
5179
5180 * net/tramp.el (tramp-current-connection): New defvar, moved from
5181 tramp-sh.el.
5182 (tramp-message-show-progress-reporter-message): Remove, not
5183 needed anymore.
5184 (tramp-error-with-buffer): Show message in minibuffer.
5185 Discard input before waiting. Reset connection timestamp.
5186 (with-tramp-progress-reporter): Improve messages.
5187 (tramp-process-actions): Use progress reporter. Delete process in
5188 case of error. Improve messages.
5189
5190 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5191 Call `tramp-error-with-buffer' with vector and buffer.
5192 (tramp-current-connection): Remove.
5193 (tramp-maybe-open-connection): The car of
5194 `tramp-current-connection' are the first 3 slots of the vector.
5195
5196 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5197
5198 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5199 inside continued strings.
5200
5201 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5202
5203 Timestamp fixes for undo (Bug#14824).
5204 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5205
5206 2013-07-10 Leo Liu <sdl.web@gmail.com>
5207
5208 * files.el (require-final-newline): Allow safe local value.
5209 (Bug#14834)
5210
5211 2013-07-09 Leo Liu <sdl.web@gmail.com>
5212
5213 * ido.el (ido-read-directory-name): Handle fallback.
5214 (ido-read-file-name): Update DIR to ido-current-directory.
5215 (Bug#1516)
5216 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5217
5218 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5219
5220 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5221 "autoload". Remove "warn lower camel case" section, previously
5222 commented out. Highlight negation char. Do not highlight the
5223 target in singleton method definitions.
5224
5225 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 * faces.el (tty-setup-hook): Declare the hook.
5228
5229 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5230 and detect when a guard/pred depends on local vars (bug#14773).
5231 (pcase--u1): Adjust caller.
5232
5233 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5234
5235 * simple.el (line-move-partial, line-move): Account for
5236 line-spacing.
5237 (line-move-partial): Avoid setting vscroll when the last
5238 partially-visible line in window is of default height.
5239
5240 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5241
5242 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5243 been used a while.
5244
5245 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5246
5247 * subr.el (read-quoted-char): Remove unused local variable `char'.
5248
5249 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5250
5251 * ediff.el (ediff-version): Version update.
5252 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5253 (ediff-merge-with-ancestor-command, ediff-directories-command)
5254 (ediff-directories3-command, ediff-merge-directories-command)
5255 (ediff-merge-directories-with-ancestor-command): New functions.
5256 All are command-line interfaces to ediff: to facilitate calling
5257 Emacs with the appropriate ediff functions invoked.
5258
5259 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5260 (viper-save-kill-buffer): Check if buffer is modified.
5261
5262 * viper.el (viper-version): Version update.
5263 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5264
5265 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5268 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5269 (viper-intercept-ESC-key): Simplify.
5270 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5271 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5272 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5273 (viper-setup-ESC-to-escape): New functions.
5274 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5275 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5276
5277 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5278
5279 * simple.el (default-font-height, window-screen-lines):
5280 New functions.
5281 (line-move, line-move-partial): Use them instead of
5282 frame-char-height and window-text-height. This makes scrolling
5283 text smoother when the buffer's default face uses a font that is
5284 different from the frame's default font.
5285
5286 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5287
5288 * files.el (write-file): Do not display confirm dialog for NS,
5289 it does its own dialog, which can't be cancelled (Bug#14578).
5290
5291 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5292
5293 * simple.el (line-move-partial): Adjust the row returned by
5294 posn-at-point for the current window-vscroll. (Bug#14567)
5295
5296 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5297
5298 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5299 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5300 spaces.
5301
5302 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5303
5304 * window.el (window-state-put-stale-windows): New variable.
5305 (window--state-put-2): Save list of windows without matching buffer.
5306 (window-state-put): Remove "bufferless" windows if possible.
5307
5308 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5309
5310 * simple.el (alternatives-define): Remove leftover :group keyword.
5311 Tweak docstring.
5312
5313 2013-07-06 Leo Liu <sdl.web@gmail.com>
5314
5315 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5316 (ido-enable-virtual-buffers): New variable.
5317 (ido-buffer-internal, ido-toggle-virtual-buffers)
5318 (ido-make-buffer-list): Use it.
5319 (ido-exhibit): Support turning on and off virtual buffers
5320 automatically.
5321
5322 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5323
5324 * simple.el (alternatives-define): New macro.
5325
5326 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * subr.el (read-quoted-char): Use read-key.
5329 (sit-for): Let read-event decode tty input (bug#14782).
5330
5331 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5332
5333 * calendar/todo-mode.el: Add handling of file deletion, both by
5334 mode command and externally. Fix various related bugs.
5335 Clarify Commentary and improve some documentation strings and code.
5336 (todo-delete-file): New command.
5337 (todo-check-file): New function.
5338 (todo-show): Handle external deletion of the file we're trying to
5339 show (bug#14688). Replace called-interactively-p by an optional
5340 prefix argument to avoid problematic interaction with catch form
5341 when byte compiled (bug#14702).
5342 (todo-quit): Handle external deletion of the archive's todo file.
5343 Make sure the buffer that was visiting the archive file is still
5344 live before trying to bury it.
5345 (todo-category-completions): Handle external deletion of any
5346 category completion files.
5347 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5348 of todo files, in case of external deletion.
5349 (todo-add-file): Replace unnecessary setq by let-binding.
5350 (todo-find-archive): Check whether there are any archives.
5351 Replace unnecessary setq by let-binding.
5352 (todo-archive-done-item): Use find-file-noselect to get the
5353 archive buffer whether or not the archive already exists.
5354 Remove superfluous code. Use file size instead of buffer-file-name to
5355 check if the archive is new; if it is, update list of archives.
5356 (todo-default-todo-file): Allow nil to be a valid value for when
5357 there are no todo files.
5358 (todo-reevaluate-default-file-defcustom): Use corrected definition
5359 of todo-default-todo-file.
5360 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5361 (todo-delete-category, todo-show-categories-table)
5362 (todo-category-number): Clarify comment.
5363 (todo-filter-items): Clarify documentation string.
5364 (todo-show-current-file, todo-display-as-todo-file)
5365 (todo-reset-and-enable-done-separator): Tweak documentation string.
5366 (todo-done-separator): Make separator length window-width, since
5367 bug#2749 is now fixed.
5368
5369 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5370
5371 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5372 Support both "gvfs-monitor-dir" and "inotifywait".
5373 (tramp-sh-file-inotifywait-process-filter): Rename from
5374 `tramp-sh-file-notify-process-filter'.
5375 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5376 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5377
5378 2013-07-05 Leo Liu <sdl.web@gmail.com>
5379
5380 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5381
5382 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5383
5384 * frame.el (display-pixel-height, display-pixel-width)
5385 (display-mm-height, display-mm-width): Mention behavior on
5386 multi-monitor setups in docstrings.
5387 (w32-display-monitor-attributes-list): Declare function.
5388 (display-monitor-attributes-list): Use it.
5389
5390 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5391
5392 * filenotify.el: New package.
5393
5394 * autorevert.el (top): Require filenotify.el.
5395 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5396 instead.
5397 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5398 (auto-revert-notify-handler): Use `file-notify-*' functions.
5399
5400 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5401
5402 * net/tramp.el (tramp-file-name-for-operation):
5403 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5404
5405 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5406 for `file-notify-add-watch' and `file-notify-rm-watch'.
5407 (tramp-process-sentinel): Improve trace.
5408 (tramp-sh-handle-file-notify-add-watch)
5409 (tramp-sh-file-notify-process-filter)
5410 (tramp-sh-handle-file-notify-rm-watch)
5411 (tramp-get-remote-inotifywait): New defuns.
5412
5413 2013-07-03 Juri Linkov <juri@jurta.org>
5414
5415 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5416 call of `occur-read-primary-args' to interactive spec.
5417
5418 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5419 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5420
5421 2013-07-03 Matthias Meulien <orontee@gmail.com>
5422
5423 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5424 `Buffer-menu-multi-occur'. Add it to the menu.
5425 (Buffer-menu-mode): Document it in docstring.
5426 (Buffer-menu-multi-occur): New command. (Bug#14673)
5427
5428 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5429
5430 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5431 keywords and built-ins.
5432
5433 2013-07-03 Glenn Morris <rgm@gnu.org>
5434
5435 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5436
5437 Make info-xref checks case-sensitive by default
5438 * info.el (Info-find-node, Info-find-in-tag-table)
5439 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5440 Add option for exact case matching of nodes.
5441 * info-xref.el (info-xref): New custom group.
5442 (info-xref-case-fold): New option.
5443 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5444
5445 2013-07-03 Leo Liu <sdl.web@gmail.com>
5446
5447 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5448
5449 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5450
5451 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5452 middle of block statement initially, lower the depth. Remove
5453 FIXME comment, not longer valid. Remove middle of block statement
5454 detection, no need to do that anymore since we've been using
5455 `ruby-parse-region' here.
5456
5457 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5458
5459 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5460
5461 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5462
5463 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5464
5465 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5468 (desktop-restore-in-current-display): New customization option.
5469 (desktop--excluded-frame-parameters): Add `font'.
5470 (desktop--save-frames): Rename from desktop--save-windows.
5471 (desktop--restore-in-this-display-p): New function.
5472 (desktop--make-full-frame): Remove unwanted width/height from
5473 full(width|height) frames.
5474 (desktop--restore-frames): Rename from desktop--restore-windows.
5475 Obey desktop-restore-current-display. Do not delete old frames or
5476 select a new frame unless we were able to restore at least one frame.
5477
5478 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5479
5480 * files.el (find-file-noselect): Simplify conditional expression.
5481
5482 * remember.el (remember-append-to-file):
5483 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5484
5485 Add `remember-notes' function to store random notes across Emacs
5486 restarts.
5487 * remember.el (remember-data-file): Add :set callback to affect
5488 notes buffer (if any).
5489 (remember-notes): New command.
5490 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5491 New defcustoms for the `remember-notes' function.
5492 (remember-notes-save-and-bury-buffer): New command.
5493 (remember-notes-mode-map): New variable.
5494 (remember-mode): New minor mode.
5495 (remember-notes--kill-buffer-query): New function.
5496 * startup.el (initial-buffer-choice): Add notes to custom type.
5497
5498 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5499
5500 * bindings.el (right-char, left-char): Don't call sit-for, this is
5501 no longer needed. Use arithmetic comparison only for numerical
5502 arguments.
5503
5504 * international/mule-cmds.el (select-safe-coding-system):
5505 Handle the case of FROM being a string correctly. (Bug#14755)
5506
5507 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5508
5509 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5510 progression on degenerate tables.
5511 (shr-rescale-image): ImageMagick animated images currently don't work.
5512
5513 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5514
5515 Some fixes and improvements for desktop frame restoration.
5516 It is still experimental and disabled by default.
5517 * desktop.el (desktop--save-windows): Put the selected frame at
5518 the head of the list.
5519 (desktop--make-full-frame): New function.
5520 (desktop--restore-windows): Try to re-select the frame that was
5521 selected upon saving. Do not abort if some frames fail to restore,
5522 just show an error message and continue. Set up maximized frames
5523 so they have default non-maximized dimensions.
5524
5525 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5526
5527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5528 Don't start heredoc inside a string or comment.
5529
5530 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5531
5532 * bindings.el (visual-order-cursor-movement): New defcustom.
5533 (right-char, left-char): Provide visual-order cursor motion by
5534 calling move-point-visually. Update the doc strings.
5535
5536 2013-06-28 Kenichi Handa <handa@gnu.org>
5537
5538 * international/mule.el (define-coding-system): New coding system
5539 properties :inhibit-null-byte-detection,
5540 :inhibit-iso-escape-detection, and :prefer-utf-8.
5541 (set-buffer-file-coding-system): If :charset-list property of
5542 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5543 appropriate for setting.
5544
5545 * international/mule-cmds.el (select-safe-coding-system):
5546 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5547 multibyte characters, return utf-8 (or one of its siblings).
5548
5549 * international/mule-conf.el (prefer-utf-8): New coding system.
5550 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5551 files.
5552
5553 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5554
5555 * net/shr.el (shr-render-region): New function.
5556
5557 * net/eww.el: Autoload `eww-browse-url'.
5558
5559 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5560
5561 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5562 Adapt to `package-desc-version' being a list.
5563 Use `package--ac-desc-version' to retrieve version from a package
5564 archive element.
5565
5566 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5567
5568 New experimental feature to save&restore window and frame setup.
5569 * desktop.el (desktop-save-windows): New defcustom.
5570 (desktop--saved-states): New var.
5571 (desktop--excluded-frame-parameters): New defconst.
5572 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5573 (desktop--restore-windows, desktop--save-windows): New functions.
5574 (desktop-save): Call `desktop--save-windows'.
5575 (desktop-read): Call `desktop--restore-windows'.
5576
5577 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5578
5579 * net/shr.el (add-face-text-property): Remove compat definition.
5580
5581 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5582
5583 * info.el (Info-try-follow-nearest-node): Move search for footnote
5584 above search for node name to prevent missing a footnote (bug#14717).
5585
5586 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5587
5588 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5589
5590 2013-06-27 Leo Liu <sdl.web@gmail.com>
5591
5592 * net/eww.el (eww-read-bookmarks): Check file size.
5593
5594 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5595
5596 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5597 advice--pending if newdef is nil or an autoload (bug#13820).
5598 (advice-mapc): New function.
5599
5600 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5601
5602 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5603 probably.
5604 (eww-mode-map): Add a menu bar.
5605 (eww-add-bookmark): New command.
5606 (eww-bookmark-mode): New mode and commands.
5607 (eww-add-bookmark): Remove newlines from the title.
5608 (eww-bookmark-browse): Don't bug out if it's the only window.
5609
5610 2013-06-26 Glenn Morris <rgm@gnu.org>
5611
5612 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5613 (hfy-size): Handle ttys. (Bug#14668)
5614
5615 * info-xref.el: Update for Texinfo 5 change in *note format.
5616 (info-xref-node-re, info-xref-note-re): New constants.
5617 (info-xref-check-buffer): Use info-xref-note-re.
5618
5619 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5620
5621 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5622
5623 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5624 nil terminate the loop (bug#14718).
5625
5626 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5627
5628 * net/eww.el: Rework history traversal. When going forward/back,
5629 put these actions into the history, too, so that they can be
5630 replayed.
5631 (eww-render): Move the history reset to the correct buffer.
5632
5633 2013-06-25 Juri Linkov <juri@jurta.org>
5634
5635 * files-x.el (modify-dir-local-variable): Change the header comment
5636 in the file with directory local variables. (Bug#14692)
5637
5638 * files-x.el (read-file-local-variable-value): Add `default'.
5639 (Bug#14710)
5640
5641 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5642
5643 * net/eww.el (eww-make-unique-file-name): Create a unique file
5644 name before saving to entering `y' accidentally asynchronously.
5645
5646 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5647
5648 * net/eww.el (eww-download): New command and keystroke.
5649
5650 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5651
5652 * net/eww.el (eww-copy-page-url): Change name of command.
5653
5654 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5655 be more consistent with Info and dired.
5656
5657 * net/eww.el (eww-mode-map): Ditto.
5658
5659 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5662 packages from archives.
5663 (package-archive-contents): Change format; include obsolete packages.
5664 (package-desc): Use `dir' to mark builtin packages.
5665 (package--from-builtin): Set the `dir' field to `builtin'.
5666 (generated-autoload-file, version-control): Declare.
5667 (package-compute-transaction): Change first arg and return value to be
5668 lists of package-descs. Adjust to new package-archive-contents format.
5669 (package--add-to-archive-contents): Adjust to new
5670 package-archive-contents format.
5671 (package-download-transaction): Arg is now a list of package-descs.
5672 (package-install): If `pkg' is a package name, pass it as
5673 a requirement, so it is subject to the usual (e.g. disabled) checks.
5674 (describe-package): Accept package-desc as well.
5675 (describe-package-1): Describe a specific package-desc. Add links to
5676 other package-descs for the same package name.
5677 (package-menu-describe-package): Pass the actual package-desc.
5678 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5679 works correctly.
5680 (package-desc-status): New function.
5681 (package-menu--refresh): New function, extracted
5682 from package-menu--generate.
5683 (package-menu--generate): Use it.
5684 (package-delete): Update package-alist.
5685 (package-menu-execute): Don't call package-initialize.
5686
5687 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5688 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5689 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5690 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5691 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5692 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5693
5694 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5695
5696 * window.el (window--state-get-1): Workaround for bug#14527.
5697 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5698
5699 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700
5701 * net/eww.el (eww-back-url): Implement the history by stashing all
5702 the data into a list.
5703 (eww-forward-url): Allow going forward in the history, too.
5704
5705 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5706
5707 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5708 for values and use read--expression for expressions (bug#14710).
5709 (read-file-local-variable): Avoid setq.
5710 (read-file-local-variable-mode): Use minor-mode-list.
5711
5712 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5713
5714 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5715 for DOI URLs.
5716
5717 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5718
5719 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5720 Update imenu-support when dialect changes.
5721
5722 2013-06-25 Leo Liu <sdl.web@gmail.com>
5723
5724 * ido.el (ido-read-internal): Allow forward slash on windows.
5725
5726 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5727
5728 * net/eww.el (eww): Start of strings is \\`, not ^.
5729
5730 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5731
5732 * net/shr.el (shr-browse-url): Fix interactive spec.
5733
5734 * net/eww.el (eww): Add a trailing slash to domain names.
5735
5736 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5737
5738 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5739
5740 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5741
5742 * net/shr.el (shr-browse-url): Use an external browser if given a
5743 prefix.
5744
5745 * net/eww.el (eww-external-browser): Move to shr.
5746
5747 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5748
5749 * net/eww.el (eww): Work more correctly for file: URLs.
5750 (eww-detect-charset): Allow quoted charsets.
5751 (eww-yank-page-url): New command and keystroke.
5752
5753 2013-06-24 Daiki Ueno <ueno@gnu.org>
5754
5755 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5756 file name of gpg executable.
5757 (epg-context-program): New function.
5758 (epg-context-home-directory): New function.
5759 (epg-context-set-program): New function.
5760 (epg-context-set-home-directory): New function.
5761 (epg--start): Use `epg-context-program' instead of
5762 'epg-gpg-program'.
5763 (epg--list-keys-1): Likewise.
5764
5765 2013-06-24 Leo Liu <sdl.web@gmail.com>
5766
5767 * ido.el (ido-read-internal): Fix bug#14620.
5768
5769 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5770
5771 * faces.el (face-documentation): Simplify.
5772 (read-face-attribute, tty-find-type, x-resolve-font-name):
5773 Use `string-match-p'.
5774 (list-faces-display): Use `string-match-p'. Simplify.
5775 (face-spec-recalc): Check face to avoid face alias loops.
5776 (read-color): Use `string-match-p' and non-capturing parenthesis.
5777
5778 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5779
5780 * net/shr.el (shr-rescale-image): Use the new
5781 :max-width/:max-height functionality.
5782
5783 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5784
5785 * net/eww.el (eww-search-prefix): New variable.
5786 (eww): Use it.
5787 (eww-external-browser): New variable.
5788 (eww-mode-map): New keystroke.
5789 (eww-browse-with-external-browser): New command.
5790
5791 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5792
5793 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5794
5795 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5796 Don't skip aligning the next header field when padding is 0;
5797 otherwise, field width is not respected unless the title is as
5798 wide as the field.
5799
5800 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/package.el (package-el-version): Remove.
5803 (package-process-define-package): Fix inf-loop.
5804 (package-install): Allow symbols as arguments again.
5805
5806 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5809 add some more keyword-like methods.
5810 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5811
5812 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * bs.el (bs-buffer-show-mark): Make defvar-local.
5815 (bs-mode): Use setq-local.
5816
5817 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5818 (emacs-lock--try-unlocking): Make defvar-local.
5819
5820 2013-06-22 Glenn Morris <rgm@gnu.org>
5821
5822 * play/cookie1.el (cookie-apropos): Minor simplification.
5823
5824 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5825
5826 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5827
5828 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5829 `regexp-opt', it breaks the build during dumping.
5830
5831 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5832
5833 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5834 Highlight keyword-like methods on Kernel and Module with
5835 font-lock-builtin-face.
5836 (auto-mode-alist): Consolidate different entries into one regexp
5837 and add more *file-s.
5838
5839 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5840
5841 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5842
5843 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5844 (diary-entry): Use it in the action of this button type instead of
5845 diary-goto-entry.
5846
5847 * calendar/todo-mode.el: New version.
5848 (todo-add-category): Append new category to end of file and give
5849 it the highest number, instead of putting it at the beginning and
5850 giving it 0. Incorporate noninteractive functionality.
5851 (todo-forward-category): Adapt to 1-based category numbering.
5852 Allow skipping over archived categories.
5853 (todo-backward-category): Derive from todo-forward-category.
5854 (todo-backward-item, todo-forward-item): Make noninteractive and
5855 delegate interactive part to new commands. Make sensitive to done items.
5856 (todo-categories): Make value an alist of category names and
5857 vectors of item counts.
5858 (todo-category-beg): Make a defconst.
5859 (todo-category-number): Use 1 instead of 0 as initial value.
5860 (todo-category-select): Make sensitive to overlays, optional item
5861 highlighting and done items.
5862 (todo-delete-item): Make sensitive to overlays and marked and done items.
5863 (todo-edit-item): Make sensitive to overlays and editing of
5864 date/time header optional. Add format checks.
5865 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5866 no-op if point is not on an item. Advertise using todo-edit-quit.
5867 (todo-edit-mode): Make sensitive to new format, font-locking, and
5868 multiple todo files.
5869 (todo-insert-item, todo-insert-item-here): Derive from
5870 todo-basic-insert-item and extend functionality.
5871 (todo-item-end, todo-item-start): Make sensitive to done items.
5872 (todo-item-string): Don't return text properties. Restore point.
5873 (todo-jump-to-category): Make sensitive to multiple todo files and
5874 todo archives. Use extended category completion.
5875 (todo-lower-item, todo-raise-item): Rename to *-priority and
5876 derive from todo-set-item-priority.
5877 (todo-mode): Derive from special-mode. Make sensitive to new
5878 format, font-locking and multiple todo files. Make read-only.
5879 (todo-mode-map): Don't suppress digit keys, so they can supply
5880 prefix arguments. Add many new key bindings.
5881 (todo-prefix): Insert as an overlay instead of file text.
5882 Change semantics from diary date expression to purely visual mark.
5883 (todo-print): Rename to todo-print-buffer. Make buffer display
5884 features printable. Remove option to restrict number of items
5885 printed. Add option to print to file.
5886 (todo-print-function): Rename to todo-print-buffer-function.
5887 (todo-quit): Extend to handle exiting new todo modes.
5888 (todo-remove-item): Make sensitive to overlays.
5889 (todo-save): Extend to buffers of filtered items.
5890 (todo-show): Make sensitive to done items, multiple todo files and
5891 new todo modes. Offer to convert legacy todo file before creating
5892 first new todo file.
5893 (todo-show-priorities): Rename to todo-top-priorities.
5894 Change semantics of value 0.
5895 (todo-top-priorities): Rename to todo-filter-top-priorities,
5896 derive from todo-filter-items and extend functionality.
5897 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5898 and extend functionality to other types of filtered items.
5899 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5900 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5901 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5902 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5903 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5904 (todo-edit-mode-hook, todo-entry-prefix-function)
5905 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5906 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5907 (todo-initials, todo-insert-threshold, todo-item-string-start)
5908 (todo-line-string, todo-menu, todo-mode-hook)
5909 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5910 (todo-print-priorities, todo-remove-separator)
5911 (todo-save-top-priorities-too, todo-string-count-lines)
5912 (todo-string-multiline-p, todo-time-string-format)
5913 (todo-tmp-buffer-name): Remove.
5914 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5915 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5916 (todo-edit-category-diary-inclusion)
5917 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5918 (todo-edit-file, todo-edit-item-date-day)
5919 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5920 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5921 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5922 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5923 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5924 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5925 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5926 (todo-filter-top-priorities-multifile, todo-find-archive)
5927 (todo-find-filtered-items-file, todo-go-to-source-item)
5928 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5929 (todo-jump-to-archive-category, todo-lower-category)
5930 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5931 (todo-move-category, todo-move-item, todo-next-button)
5932 (todo-next-item, todo-padded-string, todo-powerset)
5933 (todo-previous-button, todo-previous-item)
5934 (todo-print-buffer-to-file, todo-raise-category)
5935 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5936 (todo-set-category-number, todo-set-item-priority)
5937 (todo-set-top-priorities-in-category)
5938 (todo-set-top-priorities-in-file, todo-show-categories-table)
5939 (todo-sort-categories-alphabetically-or-numerically)
5940 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5941 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5942 (todo-toggle-item-header, todo-toggle-item-highlighting)
5943 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5944 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5945 (todo-unarchive-items, todo-unmark-category): New commands.
5946 (todo-absolute-file-name, todo-add-to-buffer-list)
5947 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5948 (todo-basic-insert-item, todo-category-completions)
5949 (todo-category-number, todo-category-string-matcher-1)
5950 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5951 (todo-check-format, todo-clear-matches)
5952 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5953 (todo-current-category, todo-date-string-matcher)
5954 (todo-define-insertion-command, todo-diary-expired-matcher)
5955 (todo-diary-goto-entry, todo-diary-item-p)
5956 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5957 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5958 (todo-done-item-section-p, todo-done-separator)
5959 (todo-done-string-matcher, todo-files, todo-filter-items)
5960 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5961 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5962 (todo-insert-category-line, todo-insert-item-from-calendar)
5963 (todo-insert-sort-button, todo-insert-with-overlays)
5964 (todo-insertion-command-name, todo-insertion-key-bindings)
5965 (todo-label-to-key, todo-longest-category-name-length)
5966 (todo-make-categories-list, todo-mode-external-set)
5967 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5968 (todo-modes-set-3, todo-multiple-filter-files)
5969 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5970 (todo-read-category, todo-read-date, todo-read-dayname)
5971 (todo-read-file-name, todo-read-time)
5972 (todo-reevaluate-category-completions-files-defcustom)
5973 (todo-reevaluate-default-file-defcustom)
5974 (todo-reevaluate-filelist-defcustoms)
5975 (todo-reevaluate-filter-files-defcustom)
5976 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5977 (todo-reset-done-separator, todo-reset-done-separator-string)
5978 (todo-reset-done-string, todo-reset-global-current-todo-file)
5979 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5980 (todo-reset-prefix, todo-set-categories)
5981 (todo-set-date-from-calendar, todo-set-show-current-file)
5982 (todo-set-top-priorities, todo-short-file-name)
5983 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5984 (todo-total-item-counts, todo-update-buffer-list)
5985 (todo-update-categories-display, todo-update-categories-sexp)
5986 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5987 New functions.
5988 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5989 New major modes.
5990 (todo-categories, todo-display, todo-edit, todo-faces)
5991 (todo-filtered): New defgroups.
5992 (todo-archived-only, todo-button, todo-category-string, todo-date)
5993 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5994 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5995 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5996 (todo-add-item-if-new-category, todo-always-add-time-string)
5997 (todo-categories-align, todo-categories-archived-label)
5998 (todo-categories-category-label, todo-categories-diary-label)
5999 (todo-categories-done-label, todo-categories-number-separator)
6000 (todo-categories-todo-label, todo-categories-totals-label)
6001 (todo-category-completions-files, todo-completion-ignore-case)
6002 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6003 (todo-done-separator-string, todo-done-string)
6004 (todo-files-function, todo-filter-done-items, todo-filter-files)
6005 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6006 (todo-initial-category, todo-initial-file, todo-item-mark)
6007 (todo-legacy-date-time-regexp, todo-mode-line-function)
6008 (todo-nondiary-marker, todo-number-prefix)
6009 (todo-print-buffer-function, todo-show-current-file)
6010 (todo-show-done-only, todo-show-first, todo-show-with-done)
6011 (todo-skip-archived-categories, todo-top-priorities-overrides)
6012 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6013 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6014 New defcustoms.
6015 (todo-category-done, todo-date-pattern, todo-date-string-start)
6016 (todo-diary-items-buffer, todo-done-string-start)
6017 (todo-filtered-items-buffer, todo-item-start)
6018 (todo-month-abbrev-array, todo-month-name-array)
6019 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6020 (todo-top-priorities-buffer): New defconsts.
6021 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6022 (todo-categories-with-marks, todo-category-string-face)
6023 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6024 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6025 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6026 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6027 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6028 (todo-font-lock-keywords, todo-global-current-todo-file)
6029 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6030 (todo-insertion-commands-args)
6031 (todo-insertion-commands-args-genlist)
6032 (todo-insertion-commands-names, todo-insertion-map)
6033 (todo-key-bindings-t, todo-key-bindings-t+a)
6034 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6035 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6036 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6037 (todo-visited): New variables.
6038
6039 2013-06-21 Glenn Morris <rgm@gnu.org>
6040
6041 * play/cookie1.el (cookie-apropos): Add optional display argument.
6042 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6043 (psychoanalyze-pinhead): Use cookie-doctor.
6044
6045 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * emacs-lisp/package.el (tar-get-file-descriptor)
6048 (tar--extract): Declare.
6049
6050 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6051
6052 Extend flymake's warning predicate to be a function (bug#14217).
6053 * progmodes/flymake.el (flymake-warning-predicate): New.
6054 (flymake-parse-line): Use it.
6055 (flymake-warning-re): Make obsolete alias to
6056 `flymake-warning-predicate'.
6057
6058 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6061 (package-obsolete-list): Remove.
6062 (package-activate): Remove min-version argument. Add `force' argument.
6063 Adjust to new package-alist format.
6064 (package-mark-obsolete): Remove.
6065 (package-unpack): Force reload of the package's autoloads.
6066 (package-installed-p): Check builtins if the installed package is not
6067 recent enough.
6068 (package-initialize): Don't reset package-obsolete-list.
6069 Don't specify which package version to activate.
6070 (package-process-define-package, describe-package-1)
6071 (package-menu--generate): Adjust to new package-alist format.
6072
6073 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6074
6075 * allout-widgets.el (allout-widgets-mode-off)
6076 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6077 (allout-widgets-post-command-business)
6078 (allout-widgets-after-copy-or-kill-function)
6079 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6080 (allout-decorate-item-and-context)
6081 (allout-graphics-modification-handler): Fix typos in docstrings.
6082 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6083
6084 * cmuscheme.el (scheme-start-file): Doc fix.
6085 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6086 (scheme-input-filter): Use `string-match-p'.
6087
6088 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6089
6090 * dired-x.el: Use Dired consistently in docstrings.
6091
6092 * dired.el: Use Dired consistently in docstrings.
6093 (dired-readin, dired-mode): Use `setq-local'.
6094 (dired-switches-alist): Make defvar-local.
6095 (dired-buffers-for-dir): Use `zerop'.
6096 (dired-safe-switches-p, dired-switches-escape-p)
6097 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6098 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6099 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6100 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6101 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6102 (dired-toggle-marks, dired-mark-files-containing-regexp)
6103 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6104 (dired-flag-auto-save-files, dired-flag-backup-files):
6105 Use `looking-at-p'.
6106 (dired-mark-files-regexp, dired-build-subdir-alist):
6107 Use `string-match-p', `looking-at-p'.
6108
6109 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6110 (direct-print-region-helper): Use `string-match-p'.
6111
6112 2013-06-21 Leo Liu <sdl.web@gmail.com>
6113
6114 * comint.el (comint-redirect-results-list-from-process):
6115 Fix infinite loop.
6116
6117 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6118
6119 * net/eww.el (eww-update-header-line-format): Quote % characters.
6120
6121 2013-06-21 Glenn Morris <rgm@gnu.org>
6122
6123 * play/cookie1.el (cookie): New custom group.
6124 (cookie-file): New option.
6125 (cookie-check-file): New function.
6126 (cookie): Make it interactive. Make start and end messages optional.
6127 Interactively, display the result. Default to cookie-file.
6128 (cookie-insert): Default to cookie-file.
6129 (cookie-snarf): Make start and end messages optional.
6130 Default to cookie-file. Use with-temp-buffer.
6131 (cookie-read): Rename from read-cookie.
6132 Make start and end messages optional. Default to cookie-file.
6133 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6134 Do not autoload it.
6135 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6136 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6137
6138 2013-06-21 Leo Liu <sdl.web@gmail.com>
6139
6140 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6141
6142 2013-06-21 Glenn Morris <rgm@gnu.org>
6143
6144 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6145
6146 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6147 Daniel Hackney <dan@haxney.org>
6148
6149 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6150 Consolidate the single-file vs tarball code.
6151 (package-desc-suffix): New function.
6152 (package-desc-full-name): Don't bother inlining it.
6153 (package-load-descriptor): Return the new package-desc.
6154 (package-mark-obsolete): Remove unused arg `package'.
6155 (package-unpack): Make it work for single files as well.
6156 Make it update package-alist.
6157 (package--make-autoloads-and-stuff): Rename from
6158 package--make-autoloads-and-compile. Don't compile any more.
6159 (package--compile): New function.
6160 (package-generate-description-file): New function, extracted from
6161 package-unpack-single.
6162 (package-unpack-single): Remove.
6163 (package--with-work-buffer): Add indentation and debugging info.
6164 (package-download-single): Remove.
6165 (package-install-from-archive): Rename from package-download-tar, make
6166 it take a pkg-desc, and make it work for single files as well.
6167 (package-download-transaction): Simplify.
6168 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6169 external tar program.
6170 (package-install-from-buffer): Remove `pkg-desc' argument.
6171 Use package-tar-file-info for tar-mode buffers.
6172 (package-install-file): Simplify accordingly.
6173 (package-archive-base): Change to take a pkg-desc.
6174 * tar-mode.el (tar--check-descriptor): New function, extracted from
6175 tar-get-descriptor.
6176 (tar-get-descriptor): Use it.
6177 (tar-get-file-descriptor): New function.
6178 (tar--extract): New function, extracted from tar-extract.
6179 (tar--extract): Use it.
6180 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6181 case the summary uses non-ascii. Adjust to new calling convention of
6182 package-tar-file-info.
6183
6184 2013-06-21 Leo Liu <sdl.web@gmail.com>
6185
6186 * comint.el (comint-redirect-results-list-from-process):
6187 Fix random delay. (Bug#14681)
6188
6189 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6190
6191 * profiler.el (profiler-format-number): Use log, not log10.
6192
6193 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6194
6195 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6196
6197 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6200 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6201 yet available.
6202 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6203 (AUTOGENEL): ... here.
6204 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6205 (cl--defsubst-expand): Use it.
6206
6207 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6208
6209 * subr.el (log10): Move here from C code, and declare as obsolete.
6210 All uses of (log10 X) replaced with (log X 10).
6211
6212 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6213
6214 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6215 Declare with `defvar-local'.
6216 (tabulated-list-use-header-line, tabulated-list-entries)
6217 (tabulated-list-padding, tabulated-list-printer)
6218 (tabulated-list-sort-key): Declare with `defvar-local'.
6219 (tabulated-list-init-header, tabulated-list-print-fake-header):
6220 Use `setq-local'.
6221
6222 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6223
6224 * arc-mode.el (archive-mode): Add `archive-write-file' to
6225 `write-contents-functions' also for remote files. (Bug#14652)
6226
6227 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6228
6229 * cus-edit.el (custom-commands): Fix typos.
6230 (custom-display): Fix tooltip text.
6231 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6232 Fix typos in docstrings.
6233 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6234 (custom-unlispify-menu-entry, custom-magic-value-create)
6235 (custom-add-see-also, custom-group-value-create): Use ?\s.
6236 (custom-guess-type, customize-apropos, editable-field)
6237 (custom-face-value-create): Use `string-match-p'.
6238 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6239
6240 * custom.el (custom-load-symbol): Use `string-match-p'.
6241
6242 * ansi-color.el: Convert to lexical binding.
6243 (ansi-colors): Fix URL.
6244 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6245 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6246 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6247
6248 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6249
6250 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6251
6252 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6253
6254 2013-06-19 Tom Tromey <tromey@redhat.com>
6255
6256 * net/eww.el (eww-top-url): Remove.
6257 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6258 (eww-render): Set new variables. Don't set eww-top-url.
6259 (eww-handle-link): Handle "prev", "home", and "contents".
6260 Downcase the rel text.
6261 (eww-top-url): Choose best top URL.
6262
6263 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264
6265 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6266 relying in widget.el. Using widget.el leads to too many
6267 user interface inconsistencies.
6268 (eww-self-insert): Implement entering commands in text fields.
6269 (eww-process-text-input): New function to make text input field editing
6270 work.
6271 (eww-submit): Rewrite to use the new-style form methods.
6272 (eww-select-display): Display the correct selected item.
6273 (eww-change-select): Implement changing the select value.
6274 (eww-toggle-checkbox): Implement radio/checkboxes.
6275 (eww-update-field): Fix compilation error.
6276 (eww-tag-textarea): Implement <textarea>.
6277
6278 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6279 we don't shadow mode-specific bindings.
6280
6281 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6282 nothing to push.
6283
6284 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6285
6286 2013-06-19 Glenn Morris <rgm@gnu.org>
6287
6288 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6289
6290 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6291
6292 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6293 not needed.
6294
6295 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6296
6297 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6298
6299 * net/browse-url.el (browse-url-browser-function):
6300 `eww-browse-url' has the right calling signature, `eww' does not.
6301
6302 2013-06-19 Glenn Morris <rgm@gnu.org>
6303
6304 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6305 Only eval autoloaded macros.
6306 (byte-compile-autoload): Only give the macro warning for macros.
6307
6308 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6309 (ps-underlined-faces): Declare.
6310
6311 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6312 (speedbar-add-supported-extension): Declare.
6313
6314 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6315 Don't include a date stamp in the header of the generated file;
6316 it leads to needless differences between output files.
6317
6318 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * net/secrets.el (secrets-struct-secret-content-type):
6321 Replace check of introspection data by a test call of "CreateItem".
6322 Some servers do not offer introspection.
6323
6324 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6325
6326 * electric.el (electric-pair-mode): Improve interaction with
6327 electric-layout-mode.
6328 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6329 (electric-pair-syntax): Use text-mode-syntax-table in comments
6330 and strings.
6331 (electric-pair--insert): New function.
6332 (electric-pair-post-self-insert-function): Use it and
6333 electric--after-char-pos.
6334
6335 2013-06-19 Leo Liu <sdl.web@gmail.com>
6336
6337 * progmodes/octave.el (octave-help): Fix regexp.
6338
6339 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6340
6341 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6342 (shr-table-horizontal-line): Allow nil as a value, and change the
6343 default.
6344 (shr-insert-table-ruler): Respect the nil value.
6345
6346 2013-06-18 Tom Tromey <tromey@barimba>
6347
6348 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6349 New defvars.
6350 (eww-open-file): New defun.
6351 (eww-render): Initialize new variables.
6352 (eww-display-html): Handle "link" and "a".
6353 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6354 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6355 (eww-back-url): Rename from eww-previous-url.
6356 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6357 New defuns.
6358
6359 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6360
6361 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6362 Distinguish ternary operator tokens from slash symbol and slash
6363 char literal.
6364
6365 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6366
6367 Convert symbol prettification into minor mode and global minor mode.
6368
6369 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6370 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6371 (prettify-symbols--keywords): Rename from
6372 `prog-prettify-symbols-alist' and make a local defvar.
6373 (prettify-symbols--compose-symbol): Rename from
6374 `prog--prettify-font-lock-compose-symbol'.
6375 (prettify-symbols--make-keywords): Rename from
6376 `prog-prettify-font-lock-symbols-keywords' and simplify.
6377 (prog-prettify-install): Remove.
6378 (prettify-symbols-mode): New minor mode, based on
6379 `prog-prettify-install'.
6380 (turn-on-prettify-symbols-mode): New function.
6381 (global-prettify-symbols-mode): New globalized minor mode.
6382
6383 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6384 * progmodes/cfengine.el (cfengine3-mode):
6385 * progmodes/perl-mode.el (perl-mode): Don't call
6386 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6387
6388 2013-06-18 Juri Linkov <juri@jurta.org>
6389
6390 * files-x.el (modify-file-local-variable-message): New function.
6391 (modify-file-local-variable)
6392 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6393 and call `modify-file-local-variable-message' when it's non-nil.
6394 (add-file-local-variable, delete-file-local-variable)
6395 (add-file-local-variable-prop-line)
6396 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6397 and use it. (Bug#9820)
6398
6399 2013-06-18 Juri Linkov <juri@jurta.org>
6400
6401 * emulation/vi.el (vi-shell-op):
6402 * emulation/vip.el (vip-execute-com, ex-command):
6403 * emulation/viper-cmd.el (viper-exec-bang):
6404 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6405 the call of `shell-command-on-region'. (Bug#14637)
6406
6407 * simple.el (shell-command-on-region): Doc fix.
6408
6409 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6412 (bug#14633).
6413
6414 2013-06-18 Glenn Morris <rgm@gnu.org>
6415
6416 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6417
6418 * newcomment.el (comment-search-forward, comment-search-backward):
6419 Doc fix. (Bug#14376)
6420
6421 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6424 (buffer-face-mode-invoke): Doc fix.
6425
6426 2013-06-18 Matthias Meulien <orontee@gmail.com>
6427
6428 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6429 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6430
6431 2013-06-18 Glenn Morris <rgm@gnu.org>
6432
6433 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6434 Replace obsolete function generic-make-keywords with its expansion.
6435
6436 * progmodes/python.el (ffap-alist): Declare.
6437
6438 * textmodes/reftex.el (bibtex-mode-map): Declare.
6439
6440 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6441
6442 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6443 (package-unpack, package-unpack-single): Return the pkg-dir.
6444 (package-download-transaction): Use it to update package-alist.
6445
6446 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6447
6448 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6449 possible choice.
6450
6451 2013-06-17 Juri Linkov <juri@jurta.org>
6452
6453 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6454
6455 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6456
6457 * emacs-lisp/package.el (package-load-descriptor):
6458 Remove `with-syntax-table' call, `read' doesn't need it.
6459 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6460
6461 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6462
6463 * startup.el (command-line): Expand package name returned by
6464 `package--description-file' (bug#14639).
6465
6466 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6467
6468 * emacs-lisp/package.el (package-load-descriptor): Do not call
6469 `emacs-lisp-mode', just use its syntax table.
6470
6471 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6472
6473 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6474 `font-lock-extra-managed-props' if any prettifying keyword is added.
6475 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6476 (prog-mode): Use `setq-local'.
6477
6478 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * international/characters.el (standard-case-table): Set syntax of ?»
6481 and ?« to punctuation.
6482
6483 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6484
6485 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6486 Save relevant match data before calling `syntax-ppss' (bug#14595).
6487
6488 2013-06-15 Juri Linkov <juri@jurta.org>
6489
6490 * files-x.el (modify-file-local-variable-prop-line): Add local
6491 variables to the end of the existing comment on the first line.
6492 Use `file-auto-mode-skip' to skip interpreter magic line,
6493 and also skip XML declaration.
6494
6495 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * startup.el (package--builtin-versions): New var.
6498 (package-subdirectory-regexp): Remove.
6499 (package--description-file): Hard code its value instead.
6500
6501 * emacs-lisp/package.el: Don't activate packages older than builtin.
6502 (package-obsolete-list): Rename from package-obsolete-alist, and make
6503 it into a simple list of package-desc.
6504 (package-strip-version): Remove.
6505 (package-built-in-p): Use package--builtin-versions.
6506 (package-mark-obsolete): Simplify.
6507 (package-process-define-package): Mark it obsolete if older than the
6508 builtin version.
6509 (package-handle-response): Use line-end-position.
6510 (package-read-archive-contents, package--download-one-archive):
6511 Simplify.
6512 (package--add-to-archive-contents): Skip if older than the builtin or
6513 installed version.
6514 (package-menu-describe-package): Fix last change.
6515 (package-list-unversioned): New var.
6516 (package-menu--generate): Use it.
6517
6518 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6519 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6520 (autoload-builtin-package-versions): New variable.
6521 (autoload-generate-file-autoloads): Use them.
6522 Remove the list of autoloaded functions/macros from the
6523 (autoload...) comments.
6524
6525 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6526
6527 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6528
6529 * simple.el (line-move-partial): Don't jump to the next screen
6530 line as soon as it becomes visible. Instead, continue enlarging
6531 the vscroll until the portion of a tall screen line that's left on
6532 display is about the height of the frame's default font.
6533 (Bug#14567)
6534
6535 2013-06-15 Glenn Morris <rgm@gnu.org>
6536
6537 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6538 compilation-error-regexp-alist void, or local while let-bound.
6539
6540 * progmodes/make-mode.el (makefile-mode-syntax-table):
6541 Treat "=" as punctuation. (Bug#14614)
6542
6543 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6544
6545 * help-fns.el (describe-variable):
6546 Add extra line for permanent-local variables.
6547
6548 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6549
6550 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6551 Add export, import, library. (Bug#9164)
6552 (library): Set indent function.
6553
6554 2013-06-14 Glenn Morris <rgm@gnu.org>
6555
6556 * term/xterm.el (xterm--query):
6557 Stop after first matching handler. (Bug#14615)
6558
6559 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6560
6561 Add support for dired in saveplace.
6562 * dired.el (dired-initial-position-hook): New variable.
6563 (dired-initial-position): Call hook to place cursor position.
6564 * saveplace.el (save-place-to-alist): Add dired position.
6565 (save-place-dired-hook): New function.
6566
6567 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6568
6569 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6570 through a symbol rather than letrec.
6571
6572 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6573 (package-desc): Add `dir' field.
6574 (package-desc-full-name): New function.
6575 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6576 (package-maybe-load-descriptor): Remove.
6577 (package-load-all-descriptors): Just call package-load-descriptor.
6578 (package--disabled-p): New function.
6579 (package-desc-vers, package-desc-doc): Remove aliases.
6580 (package--dir): Remove function.
6581 (package-activate): Check if a package is disabled.
6582 (package-process-define-package): New function, extracted from
6583 define-package.
6584 (define-package): Turn into a place holder.
6585 (package-unpack-single, package-tar-file-info):
6586 Use package--description-file.
6587 (package-compute-transaction): Use package--disabled-p.
6588 (package-download-transaction): Don't call
6589 package-maybe-load-descriptor since they're all loaded anyway.
6590 (package-install): Change argument to be a pkg-desc.
6591 (package-delete): Use a single pkg-desc argument.
6592 (describe-package-1): Use package-desc-dir instead of package--dir.
6593 Use package-desc property instead of package-symbol.
6594 (package-install-button-action): Adjust accordingly.
6595 (package--push): Rewrite.
6596 (package-menu--print-info): Adjust accordingly. Change the ID format
6597 to be a pkg-desc.
6598 (package-menu-describe-package, package-menu-get-status)
6599 (package-menu--find-upgrades, package-menu-mark-upgrades)
6600 (package-menu-execute, package-menu--name-predicate):
6601 Adjust accordingly.
6602 * startup.el (package--description-file): New function.
6603 (command-line): Use it.
6604 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6605 Use package-desc-version.
6606
6607 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6608 (byte-compile-preprocess): Use it.
6609 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6610 can't quite recognize.
6611 (byte-compile-add-to-list): Remove.
6612 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6613 (cconv-closure-convert): Add assertion.
6614
6615 * emacs-lisp/map-ynp.el: Use lexical-binding.
6616 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6617 Factor out some repeated code.
6618
6619 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * subr.el (with-eval-after-load): New macro.
6622 (eval-after-load): Allow form to be a function.
6623 take advantage of lexical-binding.
6624 (do-after-load-evaluation): Use dolist and adjust to new format.
6625 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6626
6627 2013-06-13 Juri Linkov <juri@jurta.org>
6628
6629 * replace.el (perform-replace): Display "symbol " and other search
6630 modes from `isearch-message-prefix' in the *Help* buffer.
6631
6632 * isearch.el (isearch-query-replace): Add " symbol" and other
6633 possible search modes from `isearch-message-prefix' to the prompt.
6634 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6635 when reading a regexp to collect.
6636
6637 2013-06-13 Juri Linkov <juri@jurta.org>
6638
6639 * isearch.el (word-search-regexp): Match whitespace if the search
6640 string begins or ends in whitespace. The LAX arg is applied to
6641 both ends of the search string. Use `regexp-quote' and explicit
6642 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6643 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6644 boundaries are replaced with symbol boundaries, and characters
6645 between symbols match non-word non-symbol syntax. (Bug#14602)
6646
6647 2013-06-13 Juri Linkov <juri@jurta.org>
6648
6649 * isearch.el (isearch-del-char): Don't exceed the length of
6650 `isearch-string' by the prefix arg. (Bug#14563)
6651
6652 2013-06-13 Juri Linkov <juri@jurta.org>
6653
6654 * isearch.el (isearch-yank-word, isearch-yank-line)
6655 (isearch-char-by-name, isearch-quote-char)
6656 (isearch-printing-char, isearch-process-search-char):
6657 Add optional count prefix arg. (Bug#14563)
6658
6659 * international/isearch-x.el
6660 (isearch-process-search-multibyte-characters):
6661 Add optional count prefix arg.
6662
6663 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6666 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6667 lexical-binding.
6668
6669 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6670
6671 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6672
6673 2013-06-13 Glenn Morris <rgm@gnu.org>
6674
6675 * startup.el (tty-handle-args):
6676 Don't just discard "--" and anything after. (Bug#14608)
6677
6678 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6679
6680 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6681
6682 Implement changes in Secret Service API. Make it backward compatible.
6683 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6684 (secrets-create-item): Use it. Prefix properties with interface.
6685
6686 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6687
6688 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6689 (term-emulate-terminal): Respect term-suppress-hard-newline.
6690
6691 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6692
6693 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6694 Only remove a `thumb-file' overlay. (Bug#14548)
6695
6696 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6697
6698 * mail/reporter.el (reporter-submit-bug-report):
6699 Handle missing package-name. (Bug#14600)
6700
6701 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6702
6703 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6704 (reftex-citation-prompt, reftex-default-bibliography)
6705 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6706 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6707 (reftex-bib-sort-author, reftex-bib-sort-year)
6708 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6709 (reftex-extract-bib-entries-from-thebibliography)
6710 (reftex-get-bibkey-default, reftex-get-bib-names)
6711 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6712 (reftex-format-bib-entry, reftex-parse-bibitem)
6713 (reftex-format-bibitem, reftex-do-citation)
6714 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6715 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6716 (reftex-insert-bib-matches, reftex-format-citation)
6717 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6718 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6719 existing comments into docstrings.
6720
6721 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6722
6723 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6724
6725 2013-06-12 Andreas Schwab <schwab@suse.de>
6726
6727 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6728 for auto-save files.
6729
6730 2013-06-12 Glenn Morris <rgm@gnu.org>
6731
6732 * ido.el (ido-delete-ignored-files): Remove.
6733 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6734 Go back to calling ido-ignore-item-p directly.
6735
6736 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6737
6738 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6739
6740 * ido.el (ido-delete-ignored-files): New function,
6741 split from ido-make-file-list-1.
6742 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6743 (ido-make-file-list-1): Use ido-delete-ignored-files.
6744
6745 2013-06-12 Leo Liu <sdl.web@gmail.com>
6746
6747 * progmodes/octave.el (inferior-octave-startup)
6748 (inferior-octave-completion-table)
6749 (inferior-octave-track-window-width-change)
6750 (octave-eldoc-function-signatures, octave-help)
6751 (octave-find-definition): Use single quoted strings.
6752 (inferior-octave-startup-args): Change default value.
6753 (inferior-octave-startup): Do not hard code "-i" and
6754 "--no-line-editing".
6755 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6756 (inferior-octave-directory-tracker): Use it.
6757 (octave-goto-function-definition): Robustify.
6758 (octave-help): Support highlighting operators in 'See also'.
6759 (octave-find-definition): Find subfunctions only in Octave mode.
6760
6761 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6762
6763 * help-fns.el (help-fns--compiler-macro): If the handler function is
6764 named, then put a link to it.
6765 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6766 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6767 (cl-typep): Use it.
6768 (cl-eval-when): Simplify debug spec.
6769 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6770 compiler-macro function instead of setting `compiler-macro-file'.
6771
6772 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6773
6774 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6775 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6776
6777 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6778 Daniel Hackney <dan@haxney.org>
6779
6780 First part of Daniel Hackney's patch to package.el.
6781 * emacs-lisp/package.el: Use defstruct.
6782 (package-desc): New, main struct.
6783 (package--bi-desc, package--ac-desc): New structs, used to describe the
6784 format in external files.
6785 (package-desc-vers): Replace with package-desc-version accessor.
6786 (package-desc-doc): Replace with package-desc-summary accessor.
6787 (package-activate-1): Remove `package' arg since the pkg-vec now
6788 includes the name.
6789 (define-package): Use package-desc-from-define.
6790 (package-unpack-single): Change file-name arg to be a symbol.
6791 (package--add-to-archive-contents): Use package-desc-create and new
6792 accessor functions to package--ac-desc.
6793 (package-buffer-info, package-tar-file-info): Return a package-desc.
6794 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6795 arg to be a package-desc.
6796 (package-install-file): Adjust accordingly. Use \' to match EOS.
6797 (package--from-builtin): New function.
6798 (describe-package-1, package-menu--generate): Use it.
6799 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6800 (package-generate-autoloads): Idem and return the name of the file.
6801 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6802 Change pkg-info arg to be a package-desc.
6803 Use package-make-ac-desc.
6804 (package-upload-file): Use \' to match EOS.
6805 * finder.el (finder-compile-keywords): Use package-make-builtin.
6806
6807 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6808
6809 * vc/vc.el (vc-deduce-fileset): Change error message.
6810 (vc-read-backend): New function.
6811 (vc-next-action): Use it.
6812
6813 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6814
6815 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6816 (prolog-font-lock-keywords): Use regexp-opt instead.
6817 Don't manually highlight strings.
6818 (prolog-mode-variables): Simplify comment-start-skip.
6819 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6820
6821 * emacs-lisp/generic.el (generic--normalise-comments)
6822 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6823 (generic-mode-set-comments): Use them.
6824 (generic-bracket-support): Use setq-local.
6825 (generic-make-keywords-list): Declare obsolete.
6826
6827 2013-06-11 Glenn Morris <rgm@gnu.org>
6828
6829 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6830 Prettify after setting font-lock-defaults. (Bug#14574)
6831
6832 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6833
6834 * replace.el (query-replace, occur-read-regexp-defaults-function)
6835 (replace-search):
6836 * subr.el (declare-function, number-sequence, local-set-key)
6837 (substitute-key-definition, locate-user-emacs-file)
6838 (with-silent-modifications, split-string, eval-after-load):
6839 Fix typos, remove unneeded backslashes and reflow some docstrings.
6840
6841 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6844 default for Elisp files.
6845
6846 2013-06-11 Glenn Morris <rgm@gnu.org>
6847
6848 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6849 although define-derived-mode was doing this anyway. (Bug#14583)
6850
6851 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6852
6853 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6854 Fix make-variable-buffer-local call to refer to the correct variable.
6855
6856 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6857
6858 * eshell/em-term.el (eshell-visual-commands)
6859 (eshell-visual-subcommands, eshell-visual-options):
6860 Add summary line to docstrings. Add cross-references.
6861
6862 2013-06-10 Glenn Morris <rgm@gnu.org>
6863
6864 * epa.el (epa-read-file-name): New function. (Bug#14510)
6865 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6866
6867 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6868
6869 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6870 output redirection to be ignored with visual commands.
6871
6872 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6873
6874 * eshell/em-term.el (eshell-visual-command-p): New function.
6875 (eshell-term-initialize): Move long lambda to separate function
6876 eshell-visual-command-p.
6877 * eshell/em-dirs.el (eshell-dirs-initialise):
6878 * eshell/em-script.el (eshell-script-initialize):
6879 Add missing #' to lambda.
6880
6881 2013-06-08 Leo Liu <sdl.web@gmail.com>
6882
6883 * progmodes/octave.el (octave-add-log-current-defun): New function.
6884 (octave-mode): Set add-log-current-defun-function.
6885 (octave-goto-function-definition): Do not move point if not found.
6886 (octave-find-definition): Enhance to try subfunctions first.
6887
6888 2013-06-08 Glenn Morris <rgm@gnu.org>
6889
6890 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6891 (byte-compile-backward-char, byte-compile-backward-word):
6892 Improve previous change, to handle non-explicit nil.
6893
6894 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6895
6896 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6897 (smie--opener/closer-at-point): New function.
6898 (smie--matching-block-data): Use it. Don't match from right after an
6899 opener or right before a closer. Obey smie-blink-matching-inners.
6900 Don't signal a mismatch for repeated inners like "switch..case..case".
6901
6902 2013-06-07 Leo Liu <sdl.web@gmail.com>
6903
6904 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6905 to t. (Bug#14303)
6906 (octave-function-header-regexp): Fix. (Bug#14570)
6907 (octave-help-mode-finish-hook, octave-help-mode-finish):
6908 Remove. Just use temp-buffer-show-hook.
6909
6910 * newcomment.el (comment-search-backward): Revert last change.
6911 (Bug#14434)
6912
6913 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6914
6915 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6916
6917 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6918 through xargs, to avoid failure due to MS-Windows limitations on
6919 command-line length.
6920
6921 2013-06-06 Glenn Morris <rgm@gnu.org>
6922
6923 * font-lock.el (lisp-font-lock-keywords-2):
6924 Treat user-error like error.
6925
6926 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6927 (byte-compile-backward-char, byte-compile-backward-word):
6928 Handle explicit nil arguments. (Bug#14565)
6929
6930 2013-06-05 Alan Mackenzie <acm@muc.de>
6931
6932 * isearch.el (isearch-allow-prefix): New user option.
6933 (isearch-other-meta-char): Don't exit isearch when a prefix
6934 argument is typed whilst `isearch-allow-prefix' is non-nil.
6935 (Bug#9706)
6936
6937 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6938
6939 * autorevert.el (auto-revert-notify-handler): Use memq.
6940 Hide assertion failure.
6941
6942 * skeleton.el: Use cl-lib.
6943 (skeleton-further-elements): Use defvar-local.
6944 (skeleton-insert): Use cl-progv.
6945
6946 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6947
6948 * progmodes/prog-mode.el (prog-prettify-symbols)
6949 (prog-prettify-install): Update docstrings.
6950
6951 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * simple.el: Move all the prog-mode code to prog-mode.el.
6954 * progmodes/prog-mode.el: New file.
6955 * loadup.el: Add prog-mode.el.
6956
6957 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6958
6959 * simple.el (prog-prettify-symbols): Add version.
6960 (prog-prettify-install): Add convenience function to prettify symbols.
6961
6962 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6963 (perl--augmented-font-lock-keywords-1)
6964 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6965 variables and use it.
6966
6967 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6968 (cfengine3-mode): Remove unneeded variable and use it.
6969
6970 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6971 (lisp--augmented-font-lock-keywords-1)
6972 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6973 Remove unneeded variables and use it.
6974
6975 2013-06-05 João Távora <joaotavora@gmail.com>
6976
6977 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6978 to point when opening the connection. (Bug#14380)
6979
6980 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * subr.el (load-history-regexp, load-history-filename-element)
6983 (eval-after-load, after-load-functions, do-after-load-evaluation)
6984 (eval-next-after-load, display-delayed-warnings)
6985 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6986 definition of save-match-data.
6987 (overriding-local-map): Remove accidental obsolescence declaration.
6988
6989 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6990
6991 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6992
6993 Generalize symbol prettify support to prog-mode and implement it
6994 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6995 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6996 (prog--prettify-font-lock-compose-symbol)
6997 (prog-prettify-font-lock-symbols-keywords): New variables and
6998 functions to support symbol prettification.
6999 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7000 (lisp--augmented-font-lock-keywords-1)
7001 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7002 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7003 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7004 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7005 Implement prettify of -> => :: strings.
7006 * progmodes/perl-mode.el (perl-prettify-symbols)
7007 (perl--font-lock-compose-symbol)
7008 (perl--font-lock-symbols-keywords): Move to prog-mode.
7009 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7010 (perl-font-lock-keywords-1)
7011 (perl-font-lock-keywords-2): Remove explicit prettify support.
7012 (perl--augmented-font-lock-keywords)
7013 (perl--augmented-font-lock-keywords-1)
7014 (perl--augmented-font-lock-keywords-2, perl-mode):
7015 Implement prettify support.
7016
7017 2013-06-05 Leo Liu <sdl.web@gmail.com>
7018
7019 Re-implement smie matching block highlight using
7020 show-paren-data-function. (Bug#14395)
7021 * emacs-lisp/smie.el (smie-matching-block-highlight)
7022 (smie--highlight-matching-block-overlay)
7023 (smie--highlight-matching-block-lastpos)
7024 (smie-highlight-matching-block)
7025 (smie-highlight-matching-block-mode): Remove.
7026 (smie--matching-block-data-cache): New variable.
7027 (smie--matching-block-data): New function.
7028 (smie-setup): Use smie--matching-block-data for
7029 show-paren-data-function.
7030
7031 * progmodes/octave.el (octave-mode-menu): Fix.
7032 (octave-find-definition): Skip garbage lines.
7033
7034 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 Fix compilation error with simultaneous dynamic+lexical scoping.
7037 Add warning when a defvar appears after the first let-binding.
7038 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7039 (byte-compile-close-variables): Initialize it.
7040 (byte-compile--declare-var): New function.
7041 (byte-compile-file-form-defvar)
7042 (byte-compile-file-form-define-abbrev-table)
7043 (byte-compile-file-form-custom-declare-variable): Use it.
7044 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7045 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7046 (byte-compile-bind): Handle dynamic bindings that shadow
7047 lexical bindings.
7048 (byte-compile-unbind): Make arg non-optional.
7049 (byte-compile-let): Simplify.
7050 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7051 (cconv--analyse-function, cconv-analyse-form): Populate it.
7052 Protect byte-compile-bound-variables to limit the scope of defvars.
7053 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7054 Remove unneeded rule for `declare'.
7055
7056 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7057 so as to avoid depending on cl-adjoin at run-time.
7058 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7059
7060 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7061 (macroexp--warn-and-return): Use it.
7062
7063 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7064
7065 * lisp/subr.el: Convert to lexical binding.
7066 (overriding-local-map): Make obsolete.
7067 (add-to-list): Doc fix. Add compiler macro.
7068 (read-key): Swap values of local maps.
7069
7070 2013-06-05 Leo Liu <sdl.web@gmail.com>
7071
7072 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7073
7074 2013-06-04 Leo Liu <sdl.web@gmail.com>
7075
7076 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7077 (compilation-auto-jump): Suppress the "Mark set" message to give
7078 way to exit message.
7079
7080 2013-06-04 Alan Mackenzie <acm@muc.de>
7081
7082 Remove faulty optimisation from indentation calculation.
7083 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7084 search limit based on 2000 characters back from indent-point.
7085
7086 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7087
7088 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7089
7090 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * emacs-lisp/lisp.el: Use lexical-binding.
7093 (lisp--local-variables-1, lisp--local-variables): New functions.
7094 (lisp--local-variables-completion-table): New var.
7095 (lisp-completion-at-point): Use it complete let-bound vars.
7096
7097 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7098 eagerly (bug#14422).
7099
7100 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7101
7102 * autorevert.el (auto-revert-notify-enabled)
7103 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7104 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7105 (auto-revert-notify-handler): Handle also gfilenotify.
7106
7107 * subr.el (file-notify-handle-event): New defun. Replacing ...
7108 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7109 Remove.
7110
7111 2013-06-03 Juri Linkov <juri@jurta.org>
7112
7113 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7114 `M-s h .'. (Bug#14427)
7115
7116 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7117 command `hi-lock-face-symbol-at-point'.
7118 (hi-lock-face-symbol-at-point): New command.
7119 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7120 (hi-lock-menu): Add `highlight-symbol-at-point'.
7121 (hi-lock-mode): Doc fix.
7122
7123 * isearch.el (isearch-forward-symbol-at-point): New command.
7124 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7125 (isearch-highlight-regexp): Add a regexp which matches
7126 words/symbols for word/symbol mode.
7127
7128 * subr.el (find-tag-default-bounds): New function with the body
7129 mostly moved from `find-tag-default'.
7130 (find-tag-default): Move most code to `find-tag-default-bounds',
7131 call it and apply `buffer-substring-no-properties' afterwards.
7132
7133 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7134
7135 * eshell/em-term.el (eshell-term-initialize):
7136 Use `cl-intersection' rather than `intersection'.
7137
7138 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7139
7140 * vc/log-view.el: Doc fix.
7141 (log-view-mode-map): Copy keymap from `special-mode-map'.
7142
7143 2013-06-02 Eric Ludlam <zappo@gnu.org>
7144
7145 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7146 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7147 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7148 (eieio-unbound, eieio-default-superclass)
7149 (eieio--define-field-accessors, method-static, method-before)
7150 (method-primary, method-after, method-num-lists)
7151 (method-generic-before, method-generic-primary)
7152 (method-generic-after, method-num-slots)
7153 (eieio-specialized-key-to-generic-key)
7154 (eieio--check-type, class-v, class-p)
7155 (eieio-class-name, define-obsolete-function-alias)
7156 (eieio-class-parents-fast, eieio-class-children-fast)
7157 (same-class-fast-p, class-constructor, generic-p)
7158 (generic-primary-only-p, generic-primary-only-one-p)
7159 (class-option-assoc, class-option, eieio-object-p)
7160 (class-abstract-p, class-method-invocation-order)
7161 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7162 (eieio-class-un-autoload, eieio-defclass)
7163 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7164 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7165 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7166 (eieio-defgeneric-reset-generic-form)
7167 (eieio-defgeneric-form-primary-only)
7168 (eieio-defgeneric-reset-generic-form-primary-only)
7169 (eieio-defgeneric-form-primary-only-one)
7170 (eieio-defgeneric-reset-generic-form-primary-only-one)
7171 (eieio-unbind-method-implementations)
7172 (eieio--defmethod, eieio--typep)
7173 (eieio-perform-slot-validation, eieio-validate-slot-value)
7174 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7175 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7176 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7177 (eieio-slot-name-index, eieio-class-slot-name-index)
7178 (eieio-set-defaults, eieio-initarg-to-attribute)
7179 (eieio-attribute-to-initarg, eieio-c3-candidate)
7180 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7181 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7182 (eieio-class-precedence-list, eieio-generic-call-methodname)
7183 (eieio-generic-call-arglst, eieio-generic-call-key)
7184 (eieio-generic-call-next-method-list)
7185 (eieio-pre-method-execution-functions, eieio-generic-call)
7186 (eieio-generic-call-primary-only, eieiomt-method-list)
7187 (eieiomt-optimizing-obarray, eieiomt-install)
7188 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7189 (eieio-generic-form, eieio-defmethod, make-obsolete)
7190 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7191 (defclass): Remove `eval-and-compile' from macro.
7192 (call-next-method, shared-initialize): Instead of using
7193 `scoped-class' variable, use new eieio--scoped-class, and
7194 eieio--with-scoped-class.
7195 (initialize-instance): Rename local variable 'scoped-class' to
7196 'this-class' to remove ambiguitity from old global.
7197
7198 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7199 eieio.el.
7200 (eieio--scoped-class-stack): New variable.
7201 (eieio--scoped-class): New fcn.
7202 (eieio--with-scoped-class): New scoping macro.
7203 (eieio-defclass): Use pushnew instead of add-to-list.
7204 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7205 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7206 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7207 `scoped-class' variable, use new eieio--scoped-class, and
7208 eieio--with-scoped-class.
7209
7210 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7211
7212 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7213
7214 * eshell/esh-ext.el (eshell-external-command): Pass args to
7215 `eshell-find-interpreter'.
7216 (eshell-find-interpreter): Add new second parameter ARGS.
7217
7218 * eshell/em-script.el (eshell-script-initialize): Add second arg
7219 to the function added as MATCH to `eshell-interpreter-alist'.
7220
7221 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7222 the function added as MATCH to `eshell-interpreter-alist'.
7223
7224 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7225 (eshell-visual-options): New defcustom.
7226 (eshell-escape-control-x): Adapt docstring.
7227 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7228 `eshell-visual-options' in addition to `eshell-visual-commands'.
7229 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7230
7231 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7232
7233 * progmodes/python.el (python-indent-block-enders): Add break,
7234 continue and raise keywords.
7235
7236 2013-06-01 Glenn Morris <rgm@gnu.org>
7237
7238 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7239
7240 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7241 * progmodes/cc-cmds.el (delete-forward-p):
7242 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7243 * progmodes/cc-engine.el (buffer-syntactic-context):
7244 * progmodes/cc-fonts.el (face-property-instance):
7245 * progmodes/cc-mode.el (set-keymap-parents):
7246 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7247 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7248 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7249 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7250 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7251
7252 * progmodes/cc-vars.el (other): Emacs has this widget since
7253 at least 21.1, so don't (re)define it.
7254
7255 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7256 Replace the obsolete alias pcomplete-arg-quote-list.
7257
7258 2013-06-01 Leo Liu <sdl.web@gmail.com>
7259
7260 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7261 punctuation syntax.
7262 (inferior-octave-minimal-columns)
7263 (inferior-octave-last-column-width): New variables.
7264 (inferior-octave-track-window-width-change): New function.
7265 (inferior-octave-mode): Adjust column width so that Octave output,
7266 for example from 'ls', can fit into the window nicely.
7267
7268 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7269
7270 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7271 Highlight expansions inside regexp literals.
7272
7273 2013-05-31 Glenn Morris <rgm@gnu.org>
7274
7275 * obsolete/sym-comp.el (symbol-complete):
7276 Replace obsolete completion-annotate-function.
7277
7278 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7279
7280 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7281
7282 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7283 New function, checks if point is inside a literal that allows
7284 expression expansion.
7285 (ruby-syntax-propertize-expansion): Use it.
7286 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7287 around the body.
7288
7289 2013-05-30 Juri Linkov <juri@jurta.org>
7290
7291 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7292 to "\M-si".
7293 (isearch-invisible): New variable.
7294 (isearch-forward): Doc fix.
7295 (isearch-mode): Set `isearch-invisible'
7296 to the value of `search-invisible'.
7297 (isearch-toggle-case-fold): Doc fix.
7298 (isearch-toggle-invisible): New command.
7299 (isearch-query-replace): Let-bind `search-invisible'
7300 to the value of `isearch-invisible'.
7301 (isearch-search): Use `isearch-invisible' instead of
7302 `search-invisible'. Let-bind `search-invisible'
7303 to the value of `isearch-invisible'. (Bug#11378)
7304
7305 2013-05-30 Juri Linkov <juri@jurta.org>
7306
7307 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7308 call when `query-flag' is nil and `search-invisible' is non-nil.
7309 (Bug#11746)
7310
7311 2013-05-30 Glenn Morris <rgm@gnu.org>
7312
7313 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7314
7315 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7316 (cc-require): Suppress spurious "noruntime" warnings.
7317 (cc-require-when-compile): Use fboundp, for sake of compiler.
7318
7319 * progmodes/cc-mode.el: Move load of cc-vars before that of
7320 cc-langs (which in turn loads cc-vars), to quieten compiler.
7321
7322 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * paren.el: Simplify the code.
7325 (show-paren-mode): Always start the timer.
7326 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7327 (show-paren--overlay, show-paren--overlay-1): Rename from
7328 show-paren-overlay and show-paren-overlay-1, and initialize to an
7329 overlay rather than to nil.
7330 (show-paren-function): Misc cleanup and simplifications.
7331
7332 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7333
7334 * paren.el (show-paren-data-function): New hook.
7335 (show-paren--default): New function, extracted from show-paren-function.
7336 (show-paren-function): Use show-paren-data-function.
7337
7338 2013-05-30 Glenn Morris <rgm@gnu.org>
7339
7340 * ielm.el (ielm-map, ielm-complete-symbol):
7341 Use completion-at-point rather than obsolete functions.
7342 (inferior-emacs-lisp-mode): Doc fix.
7343 Set completion-at-point-functions, rather than
7344 comint-dynamic-complete-functions.
7345
7346 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7347 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7348 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7349
7350 * image.el (image-animated-p): Tweak definition.
7351
7352 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7353 (rlogin-process-connection-type): Tweak default. Add set-after.
7354 (rlogin-host): Doc fix.
7355 (rlogin): Tweak prompt.
7356 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7357
7358 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7359 * progmodes/tcl.el (inferior-tcl-mode-map):
7360 Use completion-at-point rather than obsolete alias.
7361
7362 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7363
7364 * minibuffer.el (read-file-name-completion-ignore-case):
7365 Move before completion--in-region, for eager macro expansion.
7366
7367 2013-05-29 Juri Linkov <juri@jurta.org>
7368
7369 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7370 for total count of matching lines. Add `global-matches' for total
7371 count of matches. Rename `matches' to `lines' for count of
7372 matching lines. Add `matches' for count of matches.
7373 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7374 to `prev-line' for line number of prev match endpt.
7375 Increment `matches' for every match. Print the number of
7376 matching lines in the header.
7377 (occur-context-lines): Rename `lines' to `curr-line'.
7378 Rename `prev-lines' to `prev-line'. (Bug#14017)
7379
7380 2013-05-29 Juri Linkov <juri@jurta.org>
7381
7382 * replace.el (perform-replace): Add `skip-read-only-count',
7383 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7384 Increment them for corresponding conditions and report the number
7385 of skipped occurrences in the final message. (Bug#11746)
7386 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7387 (replace-string, replace-regexp): Doc fix.
7388
7389 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7390
7391 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7392
7393 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7394 prog-mode-map (bug#14504).
7395
7396 2013-05-29 Leo Liu <sdl.web@gmail.com>
7397
7398 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7399 (octave-help): Small simplification.
7400
7401 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7402 off the highlight first.
7403
7404 2013-05-29 Glenn Morris <rgm@gnu.org>
7405
7406 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7407 Handle idlwave-last-system-routine-info-cons-cell being nil.
7408
7409 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7410 (idlwave-write-paths): Simplify via with-temp-buffer.
7411
7412 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7413 * emulation/cua-rect.el: Also load cua-base at run time.
7414
7415 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7416 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7417 (cperl-imenu-on-info): Require imenu.
7418
7419 2013-05-28 Alan Mackenzie <acm@muc.de>
7420
7421 Handle "capitalised keywords" correctly.
7422 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7423
7424 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7425
7426 * eshell/em-unix.el: Add -r option to cp.
7427
7428 2013-05-28 Glenn Morris <rgm@gnu.org>
7429
7430 * vc/vc-arch.el (vc-exec-after): Declare.
7431 (vc-switches): Autoload.
7432 * vc/vc-bzr.el: No need to require vc when compiling.
7433 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7434 (vc-resynch-buffer, vc-dir-refresh): Declare.
7435 (vc-setup-buffer, vc-switches): Autoload.
7436 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7437 (vc-resynch-buffer): Declare.
7438 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7439 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7440 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7441 (grep-read-regexp, grep-read-files, grep-expand-template)
7442 (vc-dir-refresh): Declare.
7443 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7444 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7445 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7446 * vc/vc-mtn.el (vc-exec-after): Declare.
7447 (vc-switches): Autoload.
7448 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7449 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7450 (vc-file-tree-walk): Declare.
7451 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7452 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7453 (vc-tag-precondition, vc-rename-master): Autoload.
7454 * vc/vc-svn.el (vc-exec-after): Declare.
7455 (vc-switches, vc-setup-buffer): Autoload.
7456 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7457 Autoload.
7458 (vc-resynch-buffer): Declare.
7459
7460 * obsolete/fast-lock.el (byte-compile-warnings):
7461 Don't warn about obsolete features in this obsolete file.
7462
7463 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7464 Move definition before use.
7465
7466 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7467 (dun-unix-verbs): Remove dun-zippy.
7468 (dun-zippy): Remove function.
7469
7470 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7471
7472 2013-05-27 Juri Linkov <juri@jurta.org>
7473
7474 * replace.el (replace-search): New function with code moved out
7475 from `perform-replace'.
7476 (replace-highlight, replace-dehighlight): Move function definitions
7477 up closer to `replace-search'. (Bug#11746)
7478
7479 2013-05-27 Juri Linkov <juri@jurta.org>
7480
7481 * replace.el (perform-replace): Ignore invisible matches.
7482 In addition to checking `query-replace-skip-read-only', also
7483 filter out matches by calling `run-hook-with-args-until-failure'
7484 on `isearch-filter-predicates', and also check `search-invisible'
7485 for t or call `isearch-range-invisible'.
7486 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7487
7488 2013-05-27 Juri Linkov <juri@jurta.org>
7489
7490 * isearch.el (isearch-filter-predicates): Rename from
7491 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7492 (isearch-message-prefix): Display text from the property
7493 `isearch-message-prefix' of the currently active filters.
7494 (isearch-search): Don't compare `isearch-filter-predicate' with
7495 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7496 on `isearch-filter-predicates'. Also check `search-invisible' for t
7497 or call `isearch-range-invisible'.
7498 (isearch-filter-visible): Make obsolete.
7499 (isearch-lazy-highlight-search):
7500 Call `run-hook-with-args-until-failure' on
7501 `isearch-filter-predicates' and use `isearch-range-invisible'.
7502
7503 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7504 `isearch-filter-predicates' instead of `funcall'ing
7505 `isearch-filter-predicate'.
7506 (Info-mode): Set `Info-isearch-filter' to
7507 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7508
7509 * dired-aux.el (dired-isearch-filter-predicate-orig):
7510 Remove variable.
7511 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7512 (dired-isearch-filenames-end): Add and remove
7513 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7514 instead of changing the value of `isearch-filter-predicate'.
7515 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7516 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7517 Put property `isearch-message-prefix' to "filename " on
7518 `dired-isearch-filter-filenames'.
7519
7520 * wdired.el (wdired-change-to-wdired-mode):
7521 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7522 locally instead of changing `isearch-filter-predicate'.
7523 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7524
7525 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7526
7527 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7528 return the commit hash (Bug#14459). Also set the
7529 `vc-git-detached' property.
7530 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7531 (vc-git-mode-line-string): Use the same help-echo format whether
7532 in detached mode or not, because we know the actual revision now.
7533 When in detached mode, shorten the revision to 7 chars.
7534
7535 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7536
7537 * emacs-lisp/easy-mmode.el (define-minor-mode):
7538 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7539 mode hook and provide a docstring.
7540
7541 2013-05-27 Alan Mackenzie <acm@muc.de>
7542
7543 Remove spurious syntax-table text properties inserted by C-y.
7544 * progmodes/cc-mode.el (c-after-change): Also clear hard
7545 syntax-table property with value nil.
7546
7547 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7550 when reading the events; the buffer layout shall not be changed.
7551
7552 2013-05-27 Leo Liu <sdl.web@gmail.com>
7553
7554 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7555 New variable.
7556 (inferior-octave-directory-tracker): Automatically re-sync
7557 default-directory.
7558 (octave-help): Improve handling of 'See also'.
7559
7560 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * doc-view.el: Minor naming convention tweaks.
7563 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7564
7565 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7566 even if there's no `display' property yet (bug#14435).
7567
7568 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7569
7570 * subr.el (unmsys--file-name): Rename from reveal-filename.
7571
7572 * Makefile.in (custom-deps, finder-data, autoloads)
7573 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7574 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7575 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7576
7577 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7578
7579 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7580 error-completion on the first 2 args of condition-case (bug#14446).
7581 Don't burp at EOB.
7582
7583 2013-05-25 Leo Liu <sdl.web@gmail.com>
7584
7585 * comint.el (comint-previous-matching-input): Do not flood the
7586 *Messages* buffer with trivial messages.
7587
7588 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7589
7590 * progmodes/flymake.el (flymake-nop): Don't return a string.
7591 (flymake-set-at): Fix typo.
7592
7593 * simple.el (read--expression): New function, extracted from
7594 eval-expression. Set completion-at-point-functions (bug#14465).
7595 (eval-expression, eval-minibuffer): Use it.
7596
7597 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7598
7599 * progmodes/flymake.el (flymake-save-buffer-in-file)
7600 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7601 (flymake-selected-frame, flymake-log, flymake-ins-after)
7602 (flymake-set-at, flymake-get-buildfile-from-cache)
7603 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7604 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7605 Refine the doc string.
7606 (flymake-get-file-name-mode-and-masks): Reformat.
7607 (flymake-get-real-file-name-function): Fix a minor bug.
7608
7609 2013-05-24 Juri Linkov <juri@jurta.org>
7610
7611 * progmodes/grep.el (grep-mode-font-lock-keywords):
7612 Support =linenumber= format used by git-grep for lines with
7613 function names. (Bug#13549)
7614
7615 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7618 0 after a semi-colon; it works better for smie-auto-fill.
7619 (octave--indent-new-comment-line): New function.
7620 (octave-indent-new-comment-line): Use it (indirectly).
7621 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7622 modify comment-line-break-function.
7623
7624 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7625 (smie-setup): Use add-function to set it.
7626
7627 2013-05-24 Sam Steingold <sds@gnu.org>
7628
7629 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7630 argument (before the `interactive' argument).
7631
7632 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7633
7634 * image-mode.el (image-mode-winprops): Add winprops to
7635 image-mode-winprops-alist before running
7636 image-mode-new-window-functions.
7637 * doc-view.el (doc-view-new-window-function): Don't delay
7638 doc-view-goto-page via timers (bug#14435).
7639
7640 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7641
7642 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7643 (doc-view-desktop-save-buffer): New function.
7644 (doc-view-restore-desktop-buffer): New function.
7645 (desktop-buffer-mode-handlers):
7646 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7647 handler.
7648 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7649 `desktop-save-buffer' function.
7650
7651 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7652
7653 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7654 (tramp-gvfs-file-name-handler): Raise a user error when
7655 `tramp-gvfs-enabled' is nil.
7656 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7657 Do not raise a user error when loading package. (Bug#14447)
7658
7659 * net/xesam.el: Move to obsolete/.
7660
7661 2013-05-24 Glenn Morris <rgm@gnu.org>
7662
7663 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7664
7665 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7666
7667 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7668 (Info-find-node, Man-getpage-in-background): Declare.
7669
7670 * mail/unrmail.el (unrmail):
7671 Replace obsolete detect-coding-with-priority.
7672
7673 * net/socks.el (socks-split-string): Use this rather than split-string.
7674 (socks-nslookup-host): Update for above change.
7675 (dynamic-choice, s5-dynamic-choice-match)
7676 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7677 Comment out unused code.
7678
7679 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7680 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7681 (gud-tooltip-echo-area): Make obsolete.
7682 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7683
7684 * progmodes/js.el (js--optimize-arglist): Declare.
7685
7686 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7687
7688 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7689 (ediff-window-C): Declare.
7690
7691 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7692 Tweak requires to silence compiler.
7693
7694 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7695 (he-search-string, he-tried-table, he-expand-list)
7696 (he-init-string, he-string-member, he-substitute-string)
7697 (he-reset-string): Declare.
7698
7699 * obsolete/options.el (list-options): Use custom-variable-p,
7700 rather than obsolete alias.
7701
7702 2013-05-23 Sam Steingold <sds@gnu.org>
7703
7704 * simple.el (shell-command-on-region): Pass the `replace' argument
7705 down to `call-process-region' to comply with the doc as reported on
7706 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7707
7708 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * emacs-lisp/smie.el (smie-indent-forward-token)
7711 (smie-indent-backward-token): Handle string tokens (bug#14381).
7712
7713 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7714
7715 * ielm.el (ielm-menu): New menu.
7716 (inferior-emacs-lisp-mode): Set comment-start.
7717
7718 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7719
7720 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7721 Fix deactivate action.
7722
7723 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7724 Add cleveref macros.
7725
7726 * lisp/textmodes/reftex-parse.el
7727 (reftex-locate-bibliography-files): Accept options for
7728 bibliography commands.
7729 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7730 Add addbibresource. Basic Biblatex support.
7731
7732 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7733
7734 * net/tramp-gvfs.el (top):
7735 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7736 when loading package. (Bug#14447)
7737
7738 2013-05-23 Glenn Morris <rgm@gnu.org>
7739
7740 * progmodes/js.el: No need to load comint when compiling.
7741 (ring-insert, comint-send-string, comint-send-input)
7742 (comint-last-input-end, ido-chop): Declare.
7743
7744 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7745 * vc/ediff-mult.el: Adjust requires.
7746 (ediff-directories-internal, ediff-directory-revisions-internal)
7747 (ediff-patch-file-internal): Declare.
7748 * vc/ediff-ptch.el: Adjust requires.
7749 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7750 (ediff-find-file): Autoload.
7751 * vc/ediff-util.el: No need to load ediff when compiling.
7752 (ediff-regions-internal): Declare.
7753 * vc/ediff-wind.el: Adjust requires.
7754 (ediff-compute-toolbar-width): Define when compiling.
7755 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7756 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7757 (dired-get-filename, dired-get-marked-files)
7758 (ediff-last-dir-patch, ediff-patch-default-directory)
7759 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7760 (ediff-patch-buffer-internal): Declare.
7761
7762 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7763 (ispell-process, ispell-buffer-local-words, lm-summary)
7764 (lm-section-start, lm-section-end): Declare.
7765 (checkdoc-ispell-init): Simplify.
7766
7767 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7768 (he-string-member, he-reset-string, he-substitute-string): Declare.
7769
7770 * eshell/em-ls.el: Adjust requires.
7771 (eshell-glob-regexp): Declare.
7772 * eshell/em-tramp.el: Adjust requires.
7773 (eshell-parse-command): Autoload.
7774 * eshell/em-xtra.el: Adjust requires.
7775 (eshell-parse-command): Autoload.
7776 * eshell/esh-ext.el: Adjust requires.
7777 (eshell-parse-command, eshell-close-handles): Autoload.
7778 * eshell/esh-io.el: Adjust requires.
7779 (eshell-output-filter): Autoload.
7780 * eshell/esh-util.el: No need to load tramp when compiling.
7781 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7782 Declare.
7783 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7784 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7785 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7786 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7787 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7788 * eshell/esh-opt.el, eshell/esh-proc.el:
7789 * eshell/esh-var.el: Adjust requires.
7790 * eshell/eshell.el: Do not require esh-util twice.
7791 (eshell-add-input-to-history): Declare.
7792 (eshell-command): Check history module is active before using it.
7793
7794 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7795
7796 2013-05-22 Leo Liu <sdl.web@gmail.com>
7797
7798 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7799
7800 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * autorevert.el (auto-revert-notify-add-watch)
7803 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7804 it indicates changes in file modification time.
7805
7806 2013-05-22 Glenn Morris <rgm@gnu.org>
7807
7808 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7809 Always delete the autoloaded function from the noruntime and
7810 unresolved functions lists.
7811
7812 * allout.el: No need to load epa, epg, overlay when compiling.
7813 (epg-context-set-passphrase-callback, epg-list-keys)
7814 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7815 (epg-key-user-id-list): Declare.
7816
7817 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7818 (viper-set-parsing-style-toggling-macro)
7819 (viper-set-emacs-state-searchstyle-macros):
7820 Use called-interactively-p on Emacs.
7821 (viper-looking-back): Make it an obsolete alias. Update callers.
7822 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7823 Use looking-back rather than viper-looking-back.
7824 (viper-tmp-insert-at-eob, viper-enlarge-region)
7825 (viper-read-string-with-history, viper-register-to-point)
7826 (viper-append-to-register, viper-change-state-to-vi)
7827 (viper-backward-char-carefully, viper-forward-char-carefully)
7828 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7829 (viper-change-state-to-emacs): Declare.
7830 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7831 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7832 * emulation/viper-mous.el: Do not load viper-cmd.
7833 (viper-backward-char-carefully, viper-forward-char-carefully)
7834 (viper-forward-word, viper-adjust-window): Declare.
7835
7836 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7837
7838 * progmodes/idlw-help.el (idlwave-help-fontify):
7839 Use called-interactively-p.
7840
7841 * term/w32console.el (w32-get-console-codepage)
7842 (w32-get-console-output-codepage): Declare.
7843
7844 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7845 Remove unnecessary declarations.
7846 (dframe-message): Doc fix.
7847
7848 * info.el (dframe-select-attached-frame, dframe-current-frame):
7849 Declare.
7850
7851 * speedbar.el (speedbar-message): Make it an obsolete alias.
7852 Update all callers.
7853 (speedbar-with-attached-buffer)
7854 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7855 (speedbar-with-writable): Use backquote.
7856 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7857 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7858 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7859 rather than speedbar- aliases.
7860 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7861 (speedbar-make-specialized-keymap, speedbar-insert-button)
7862 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7863 (speedbar-do-function-pointer): Declare.
7864 (rmail-speedbar-button, rmail-speedbar-find-file)
7865 (rmail-speedbar-move-message):
7866 Use dframe-with-attached-buffer rather than speedbar- alias.
7867 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7868 (dframe-message, speedbar-make-specialized-keymap)
7869 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7870 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7871 (speedbar-insert-button, dframe-select-attached-frame)
7872 (dframe-maybee-jump-to-attached-frame)
7873 (speedbar-change-initial-expansion-list)
7874 (speedbar-previously-used-expansion-list-name): Declare.
7875 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7876 Use dframe-message, dframe-with-attached-buffer rather than
7877 speedbar- aliases.
7878 (gud-sentinel): Silence compiler.
7879 * progmodes/vhdl-mode.el (speedbar-refresh)
7880 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7881 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7882 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7883 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7884 (speedbar-file-lists, speedbar-make-tag-line)
7885 (speedbar-line-directory, speedbar-goto-this-file)
7886 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7887 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7888 (speedbar-make-button, speedbar-reset-scanners)
7889 (speedbar-files-item-info, speedbar-line-text)
7890 (speedbar-find-file-in-frame, speedbar-set-timer)
7891 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7892 (speedbar-with-writable): Do not (re)define it.
7893 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7894 rather than speedbar- alias.
7895
7896 2013-05-21 Leo Liu <sdl.web@gmail.com>
7897
7898 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7899 menu items.
7900 (octave-mode): Tweak fill-nobreak-predicate.
7901 (inferior-octave-startup): Check process to avoid infinite loop.
7902 (inferior-octave): Pop to buffer first to show abornmal process
7903 exit information.
7904
7905 2013-05-21 Glenn Morris <rgm@gnu.org>
7906
7907 * printing.el (pr-menu-bar): Define when compiling.
7908
7909 2013-05-21 Leo Liu <sdl.web@gmail.com>
7910
7911 * progmodes/octave.el (octave-auto-fill): Remove.
7912 (octave-indent-new-comment-line): Improve.
7913 (octave-mode): Use auto fill mode through
7914 comment-line-break-function and fill-nobreak-predicate.
7915 (octave-goto-function-definition): Support DEFUN_DLD.
7916 (octave-beginning-of-defun): Small tweak.
7917 (octave-help): Show parent directory.
7918
7919 2013-05-21 Glenn Morris <rgm@gnu.org>
7920
7921 * files.el (dired-unmark):
7922 * progmodes/gud.el (gdb-input): Update declarations.
7923
7924 * calculator.el (electric, ehelp): No need to load when compiling.
7925 (Electric-command-loop, electric-describe-mode): Declare.
7926
7927 * doc-view.el (doc-view-current-converter-processes): Move before use.
7928
7929 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7930 Move MODE-set-explicitly definition before use.
7931
7932 * international/mule-diag.el (mule-diag):
7933 Don't use obsolete window-system-version.
7934
7935 * mail/feedmail.el (smtpmail): No need to load when compiling.
7936 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7937
7938 * mail/mail-utils.el (rfc822): No need to load when compiling.
7939 (rfc822-addresses): Autoload it.
7940 (mail-strip-quoted-names): Trivial simplification.
7941
7942 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7943 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7944
7945 * net/snmp-mode.el (tempo): Don't duplicate requires.
7946
7947 * progmodes/prolog.el (info): No need to load when compiling.
7948 (comint): Require before shell requires it.
7949 (Info-goto-node): Autoload it.
7950 (Info-follow-nearest-node): Declare.
7951 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7952
7953 * textmodes/artist.el (picture-mode-exit): Declare.
7954
7955 * textmodes/reftex-parse.el (reftex-parse-from-file):
7956 Trivial rewrite so the compiler can parse it better.
7957
7958 2013-05-20 Leo Liu <sdl.web@gmail.com>
7959
7960 * progmodes/octave.el (octave-help-mode-map)
7961 (octave-help-mode-finish-hook): New variables.
7962 (octave-help-mode, octave-help-mode-finish): New functions.
7963 (octave-help): Use octave-help-mode.
7964
7965 2013-05-20 Glenn Morris <rgm@gnu.org>
7966
7967 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7968
7969 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7970
7971 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7972 start at point, so that expansion starting right after opening
7973 slash in a regexp is recognized.
7974 (ruby-syntax-before-regexp-re): New defvar, extracted from
7975 ruby-syntax-propertize-function. Since the value of this regexp
7976 is looked up at runtime now, we should be able to turn
7977 `ruby-syntax-methods-before-regexp' into a defcustom later.
7978 (ruby-syntax-propertize-function): Split regexp matching into two
7979 parts, for opening and closing slashes. That allows us to skip
7980 over string interpolations and support multiline regexps.
7981 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7982 for them, which calls `ruby-syntax-propertize-expansion'.
7983 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7984 call to `ruby-syntax-propertize-function'.
7985 (ruby-syntax-propertize-expansion): Extracted from
7986 `ruby-syntax-propertize-expansions'. Handles one expansion.
7987 (ruby-syntax-propertize-percent-literal): Leave point right after
7988 the percent symbol, so that the expression expansion rule can
7989 propertize the contents.
7990 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7991 heredoc openers.
7992 (ruby-syntax-propertize-expansions): Remove.
7993
7994 2013-05-18 Juri Linkov <juri@jurta.org>
7995
7996 * man.el (Man-default-man-entry): Remove `-' from the end
7997 of the default value. (Bug#14400)
7998
7999 2013-05-18 Glenn Morris <rgm@gnu.org>
8000
8001 * comint.el (comint-password-prompt-regexp):
8002 Allow "password for XXX" where XXX contains colons (eg https://...).
8003
8004 2013-05-18 Leo Liu <sdl.web@gmail.com>
8005
8006 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8007 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8008 (octave-source-directories): Don't check process.
8009 (octave-source-directories, octave-find-definition): Doc fix.
8010
8011 2013-05-18 Glenn Morris <rgm@gnu.org>
8012
8013 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8014 Remove backspace/delete bindings. (Bug#14392)
8015
8016 * cus-dep.el (custom-make-dependencies): Sort the output.
8017 (custom-versions-load-alist): Convert comment to doc.
8018
8019 2013-05-17 Leo Liu <sdl.web@gmail.com>
8020
8021 * newcomment.el (comment-search-backward): Stricter in finding
8022 comment start. (Bug#14303)
8023
8024 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8025 (octave-comment-start-skip): Properly anchored.
8026
8027 2013-05-17 Leo Liu <sdl.web@gmail.com>
8028
8029 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8030 Clean up when turned off. (Bug#14395)
8031 (smie--highlight-matching-block-overlay): No longer buffer-local.
8032 (smie-highlight-matching-block): Adjust.
8033
8034 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8035
8036 Doc string fix for "nanoseconds" (Bug#14406).
8037 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8038 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8039
8040 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8041
8042 * calc/calc-units.el (math-extract-units): Preserve powers
8043 of units.
8044
8045 2013-05-17 Leo Liu <sdl.web@gmail.com>
8046
8047 * subr.el (delete-consecutive-dups): New function.
8048 * ido.el (ido-set-matches-1): Use it.
8049 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8050 * ido.el (ido-remove-consecutive-dups): Remove.
8051
8052 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8053
8054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8055 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8056 regexp-opt's `words'.
8057
8058 2013-05-16 Leo Liu <sdl.web@gmail.com>
8059
8060 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8061 (smie--highlight-matching-block-overlay)
8062 (smie--highlight-matching-block-lastpos)
8063 (smie--highlight-matching-block-timer): New variables.
8064 (smie-highlight-matching-block): New function.
8065 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8066 (smie-setup): Conditionally enable smie-blink-matching-open.
8067
8068 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8069
8070 Sync with upstream verilog-mode r840.
8071 * progmodes/verilog-mode.el (verilog-mode-version)
8072 (verilog-mode-release-date): Update.
8073 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8074 (verilog-sig-tieoff): Fix string error on
8075 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8076 (verilog-read-decls): Fix parameters confusing
8077 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8078
8079 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8080
8081 * subr.el (reveal-filename): New function.
8082
8083 * loadup.el: Compute Emacs executable versions on MS-Windows,
8084 where executables have the .exe extension. Add a hard link
8085 emacs-XX.YY.ZZ.exe on MS-Windows.
8086
8087 * Makefile.in (XARGS_LIMIT): New variable.
8088 (custom-deps, finder-data, autoloads)
8089 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8090 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8091 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8092 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8093
8094 2013-05-16 Leo Liu <sdl.web@gmail.com>
8095
8096 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8097 (octave-mode-menu, octave-mode-map): Remove its uses.
8098
8099 2013-05-16 Reto Zimmermann <reto@gnu.org>
8100
8101 Sync with upstream vhdl mode v3.34.2.
8102 * progmodes/vhdl-mode.el: Use `push' throughout.
8103 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8104 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8105 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8106 (vhdl-actual-generic-name): New option to derive actual generic name.
8107 (vhdl-port-paste-signals): Replace formal by actual generics.
8108 (vhdl-beautify): New name for old group vhdl-align. Update users.
8109 (vhdl-beautify-options): New option.
8110 (vhdl-last-input-event): New compat alias. Use throughout.
8111 (vhdl-goto-line): Replace user level function `goto-line'.
8112 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8113 vhdl-fix-statement-buffer.
8114 (vhdl-create-mode-menu): Add some entries.
8115 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8116 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8117 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8118 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8119 to force statements on one line.
8120 (vhdl-remove-trailing-spaces-region):
8121 New, split from vhdl-remove-trailing-spaces.
8122 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8123 Respect vhdl-beautify-options.
8124 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8125 (vhdl-update-sensitivity-list): Not add with index if exists without.
8126 Not include array index with signal. Ignore keywords in comments.
8127 (vhdl-get-visible-signals): Regexp tweaks.
8128 (vhdl-template-component-inst): Handle empty library.
8129 (vhdl-template-type): Add template for 'enum' type.
8130 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8131 Use vhdl-replace-string.
8132 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8133 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8134 (vhdl-speedbar-initialize): Update for above name change.
8135 (vhdl-compose-wire-components): Fix in handling of constants.
8136 (vhdl-error-regexp-emacs-alist): New variable.
8137 (vhdl-error-regexp-add-emacs): New function;
8138 adds support for new compile.el (Emacs 22+)
8139 (vhdl-generate-makefile-1): Change target order for single lib. units.
8140 Allow use of absolute file names.
8141
8142 2013-05-16 Leo Liu <sdl.web@gmail.com>
8143
8144 * simple.el (prog-indent-sexp): Indent enclosing defun.
8145
8146 2013-05-15 Glenn Morris <rgm@gnu.org>
8147
8148 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8149 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8150 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8151 (whitespace-highlight): Move to whitespace group.
8152
8153 * comint.el (comint-source):
8154 * pcmpl-linux.el (pcmpl-linux):
8155 * shell.el (shell-faces):
8156 * eshell/esh-opt.el (eshell-opt):
8157 * international/ccl.el (ccl): Remove empty custom groups.
8158
8159 * completion.el (dynamic-completion-mode):
8160 * jit-lock.el (jit-lock-debug-mode):
8161 * minibuffer.el (completion-in-region-mode):
8162 * type-break.el (type-break-mode-line-message-mode)
8163 (type-break-query-mode):
8164 * emulation/tpu-edt.el (tpu-edt-mode):
8165 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8166 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8167 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8168
8169 * term/xterm.el (xterm): Change parent group to terminals.
8170
8171 * master.el (master): Remove empty custom group.
8172 (master-mode): Remove unused :group argument.
8173 * textmodes/refill.el (refill): Remove empty custom group.
8174 (refill-mode): Remove unused :group argument.
8175
8176 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8177
8178 * cus-dep.el: Provide a feature.
8179 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8180 Don't mistakenly ignore files whose basenames match a basename
8181 from preloaded-file-list (eg cedet/ede/simple.el).
8182 Add a fallback method for getting :group.
8183
8184 2013-05-15 Juri Linkov <juri@jurta.org>
8185
8186 * isearch.el (isearch-char-by-name): Rename from
8187 `isearch-insert-char-by-name'. Doc fix.
8188 (isearch-forward): Mention `isearch-char-by-name' in
8189 the docstring. (Bug#13348)
8190
8191 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8192 `exit-minibuffer' instead of
8193 `isearch-nonincremental-exit-minibuffer'.
8194 (isearch-edit-string): Remove mention of
8195 `isearch-nonincremental-exit-minibuffer' from docstring.
8196 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8197 (isearch-forward-exit-minibuffer)
8198 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8199
8200 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * loadup.el: Just use unversioned DOC.
8203
8204 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8205 literals as extending to EOB.
8206 (nxml-last-fontify-end): Remove unused variable.
8207 (nxml-after-change1): Use with-silent-modifications.
8208 (nxml-extend-after-change-region): Simplify.
8209 (nxml-extend-after-change-region1): Remove function.
8210 (nxml-after-change1): Don't adjust for dependent regions.
8211 (nxml-fontify-matcher): Simplify.
8212 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8213 (xmltok-add-dependent): Remove function.
8214 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8215 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8216 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8217 unclosed <[[, <?, comment, and other literals as extending to EOB.
8218 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8219 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8220 Remove functions.
8221 (rng-do-some-validation-1): Don't mark dependent regions.
8222 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8223 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8224 (nxml-clear-dependent-regions): Remove functions.
8225 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8226 (nxml-ensure-scan-up-to-date):
8227 Don't clear&mark dependent regions.
8228
8229 2013-05-15 Leo Liu <sdl.web@gmail.com>
8230
8231 * progmodes/octave.el (octave-goto-function-definition):
8232 Improve and fix callers.
8233
8234 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8237 the setter (bug#14387).
8238
8239 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8240 surrounding group (bug#14402).
8241
8242 2013-05-14 Juri Linkov <juri@jurta.org>
8243
8244 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8245 (Bug#14390)
8246
8247 2013-05-14 Glenn Morris <rgm@gnu.org>
8248
8249 * progmodes/f90.el (f90-imenu-generic-expression):
8250 Fix typo in 2013-05-08 change. (Bug#14402)
8251
8252 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8253
8254 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8255 Remove signals for which replies are never received.
8256
8257 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8258
8259 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8260 (gdb-handler-alist, gdb-handler-number): Remove variables.
8261 (gdb-handler-list): New variable.
8262 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8263 (gdb-pending-handler-p, gdb-handle-reply)
8264 (gdb-remove-all-pending-triggers): New functions.
8265 (gdb-discard-unordered-replies): New defcustom.
8266 (gdb-handler): New defstruct.
8267 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8268 instead of gdb-pending-triggers. Update docstring.
8269 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8270 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8271 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8272 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8273 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8274 (gdb-frame-handler): Pending triggers are now automatically managed.
8275 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8276 Remove argument.
8277 (gdb-input): Automatically handles pending triggers. Update docstring.
8278 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8279 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8280 Update comments.
8281 (gdb-done-or-error): Now use gdb-handle-reply.
8282
8283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8284
8285 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8286 gdb-debug-log.
8287
8288 2013-05-14 Glenn Morris <rgm@gnu.org>
8289
8290 * subr.el (user-emacs-directory-warning): New option.
8291 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8292
8293 2013-05-14 Leo Liu <sdl.web@gmail.com>
8294
8295 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8296 during redisplay.
8297 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8298 (octave-font-lock-texinfo-comment): Fix invalid search bound
8299 error: wrong side of point.
8300
8301 2013-05-14 Glenn Morris <rgm@gnu.org>
8302
8303 * progmodes/flymake.el (flymake-xml-program): New option.
8304 (flymake-xml-init): Use it.
8305
8306 * term/xterm.el: Provide a feature.
8307
8308 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8309
8310 2013-05-13 Glenn Morris <rgm@gnu.org>
8311
8312 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8313 Add compat aliases as a hack workaround. (Bug#14384)
8314
8315 2013-05-13 Leo Liu <sdl.web@gmail.com>
8316
8317 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8318 ###, and %!.
8319 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8320 C-M-q.
8321 (octave-comment-start-skip): Include %!.
8322 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8323
8324 2013-05-12 Leo Liu <sdl.web@gmail.com>
8325
8326 * progmodes/octave.el (inferior-octave-startup): Store the value
8327 of __octave_srcdir__ for octave-source-directories.
8328 (inferior-octave-check-process): New function refactored out of
8329 inferior-octave-send-list-and-digest.
8330 (octave-source-directories)
8331 (octave-find-definition-filename-function): New variables.
8332 (octave-source-directories)
8333 (octave-find-definition-default-filename): New functions.
8334 (octave-find-definition): Improve to find functions implemented in C++.
8335
8336 2013-05-12 Glenn Morris <rgm@gnu.org>
8337
8338 * calendar/diary-lib.el (diary-outlook-format-1):
8339 Don't include dayname in the output. (Bug#14349)
8340
8341 2013-05-11 Glenn Morris <rgm@gnu.org>
8342
8343 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8344
8345 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8346 Treat cc-provide like provide.
8347
8348 2013-05-11 Kevin Ryde <user42@zip.com.au>
8349
8350 * cus-dep.el (custom-make-dependencies):
8351 Use generated-autoload-load-name for the sake of files such
8352 such cedet/semantic/bovine/c.el, where the base file name
8353 is not in load-path. (Bug#5277)
8354
8355 2013-05-11 Glenn Morris <rgm@gnu.org>
8356
8357 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8358 Provide features.
8359
8360 2013-05-11 Leo Liu <sdl.web@gmail.com>
8361
8362 * progmodes/octave.el (octave-indent-comment): Improve.
8363 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8364 (octave-eldoc-function-signatures, octave-eldoc-function):
8365 New functions.
8366 (octave-mode, inferior-octave-mode): Add eldoc support.
8367
8368 2013-05-11 Richard Stallman <rms@gnu.org>
8369
8370 * epa.el (epa-decrypt-file): Take output file name as argument
8371 and read it using `interactive'.
8372
8373 2013-05-11 Leo Liu <sdl.web@gmail.com>
8374
8375 * progmodes/octave.el (octave-beginning-of-line)
8376 (octave-end-of-line): Check before using up-list because it jumps
8377 out of more syntactic contructs since moving to smie.
8378 (octave-indent-comment): New function.
8379 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8380 (octave-begin-keywords, octave-end-keywords)
8381 (octave-reserved-words, octave-smie-bnf-table)
8382 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8383
8384 2013-05-11 Glenn Morris <rgm@gnu.org>
8385
8386 * faces.el (internal-face-x-get-resource):
8387 * frame.el (ns-display-monitor-attributes-list):
8388 * calc/calc-aent.el (math-to-radians-2):
8389 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8390 Fix declarations.
8391
8392 * calc/calc-menu.el: Make it loadable in isolation.
8393
8394 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8395 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8396 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8397 (eudc-bbdb-query-internal): Require 'bbdb.
8398
8399 * lpr.el (lpr-headers-switches):
8400 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8401
8402 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8403
8404 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8405
8406 * term.el (term-set-escape-char): Make it idempotent.
8407
8408 2013-05-10 Leo Liu <sdl.web@gmail.com>
8409
8410 * progmodes/octave.el (inferior-octave-completion-table):
8411 No longer a function and all uses changed. Use cache to speed up
8412 completion due to bug#11906.
8413 (octave-beginning-of-defun): Re-write to be more general.
8414
8415 2013-05-10 Glenn Morris <rgm@gnu.org>
8416
8417 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8418
8419 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * comint.el (comint-redirect-send-command-to-process): Use :around
8422 rather than :override for comint-redirect-filter.
8423 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8424 Call it instead of comint-redirect-original-filter-function (which
8425 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8426
8427 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8428
8429 * frame.el (display-monitor-attributes-list): Add NS case.
8430 (ns-display-monitor-attributes-list): Declare.
8431
8432 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8433
8434 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8435
8436 2013-05-09 Glenn Morris <rgm@gnu.org>
8437
8438 * international/fontset.el (vertical-centering-font-regexp):
8439 Set standard-value.
8440
8441 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8442
8443 * bookmark.el (bookmark-search-delay):
8444 * cus-start.el (vertical-centering-font-regexp):
8445 * ps-mule.el (ps-mule-font-info-database-default):
8446 * ps-print.el (ps-default-fg, ps-default-bg):
8447 * type-break.el (type-break-good-break-interval):
8448 * whitespace.el (whitespace-indentation-regexp)
8449 (whitespace-space-after-tab-regexp):
8450 * emacs-lisp/testcover.el (testcover-1value-functions)
8451 (testcover-noreturn-functions, testcover-progn-functions)
8452 (testcover-prog1-functions):
8453 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8454 * eshell/em-glob.el (eshell-glob-translate-alist):
8455 * play/tetris.el (tetris-tty-colors):
8456 * progmodes/cpp.el (cpp-face-default-list):
8457 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8458 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8459 (idlwave-help-browser-generic-args):
8460 * progmodes/make-mode.el (makefile-special-targets-list):
8461 * progmodes/python.el (python-shell-virtualenv-path):
8462 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8463 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8464 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8465 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8466 * textmodes/reftex-vars.el (reftex-format-label-function):
8467 * textmodes/remember.el (remember-diary-file): Fix custom types.
8468
8469 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8470 Add :version.
8471
8472 2013-05-09 Leo Liu <sdl.web@gmail.com>
8473
8474 * progmodes/octave.el (inferior-octave-completion-at-point):
8475 Restore file completion. (Bug#14300)
8476 (inferior-octave-startup): Fix incorrect highlighting for the
8477 first prompt.
8478
8479 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * progmodes/ruby-mode.el: First cut at SMIE support.
8482 (ruby-use-smie): New var.
8483 (ruby-smie-grammar): New constant.
8484 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8485 (ruby-smie--forward-token, ruby-smie--backward-token)
8486 (ruby-smie-rules): New functions.
8487 (ruby-mode-variables): Setup SMIE if applicable.
8488
8489 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8490
8491 * simple.el (line-move-visual): Signal beginning/end of buffer
8492 only if vertical-motion moved less than it was requested. Avoids
8493 silly incorrect error messages when there are display strings with
8494 multiple newlines at EOL.
8495
8496 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8499 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8500 (prolog-char-quote-workaround):
8501 * progmodes/cperl-mode.el (cperl-under-as-char):
8502 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8503 Mark as obsolete.
8504 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8505 their declaration.
8506 (vhdl-mode-syntax-table-init): Remove.
8507
8508 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8509 last change.
8510
8511 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8512 syntax for "_".
8513 (ld-script-font-lock-keywords):
8514 Change regexps to use things like \_< and \_>.
8515
8516 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8517 Change all regexps to use things like \_< and \_>.
8518
8519 * progmodes/autoconf.el (autoconf-definition-regexp)
8520 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8521 Handle a _ with symbol syntax.
8522 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8523
8524 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8525 Consolidate declaration.
8526 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8527 the declaration.
8528 (ada-create-syntax-table): Remove.
8529 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8530 already has the right syntax nowadays.
8531 (ada-goto-next-word): Don't change the syntax of "_".
8532
8533 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8534 with-wrapper-hook.
8535
8536 2013-05-08 Sam Steingold <sds@gnu.org>
8537
8538 * thingatpt.el (thing-at-point): Accept optional second argument
8539 NO-PROPERTIES to strip the text properties from the return value.
8540 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8541 to `thing-at-point' instead of stripping the properties ourselves.
8542 Also, when `thing-at-point' fails to find a url, prepend "http://"
8543 to the filename at point on the assumption that the user is
8544 pointing at something like gnu.org/gnu.
8545
8546 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8547
8548 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8549 * faces.el (crm-separator):
8550 Silence byte-compiler.
8551
8552 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8553 (tool-bar-map): Remove unneeded defvars.
8554
8555 2013-05-08 Leo Liu <sdl.web@gmail.com>
8556
8557 Re-work a fix for bug#10994 based on Le Wang's patch.
8558 * ido.el (ido-remove-consecutive-dups): New helper.
8559 (ido-completing-read): Use it.
8560 (ido-chop): Revert fix for bug#10994.
8561
8562 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8563
8564 * cus-edit.el (custom-save-variables):
8565 Pretty-print long values. (Bug#14187)
8566
8567 2013-05-08 Glenn Morris <rgm@gnu.org>
8568
8569 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8570 (m4-mode-syntax-table): Init in the defvar.
8571 (m4-mode-abbrev-table): Let define-derived-mode define it.
8572
8573 2013-05-08 Tom Tromey <tromey@redhat.com>
8574
8575 * progmodes/m4-mode.el (m4-mode-syntax-table):
8576 Do not treat "_" as word constituent. (Bug#14167)
8577
8578 2013-05-07 Glenn Morris <rgm@gnu.org>
8579
8580 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8581 Remove explicit eshell-isearch-cancel-map.
8582
8583 * progmodes/f90.el (f90-smart-end-names): New option.
8584 (f90-smart-end): Doc fix.
8585 (f90-end-block-optional-name): New constant.
8586 (f90-block-match): Respect f90-smart-end-names.
8587
8588 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8591 about implicit semi-colons (bug#14218).
8592
8593 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8594
8595 * frame.el (display-monitor-attributes-list)
8596 (frame-monitor-attributes): New functions.
8597
8598 2013-05-06 Leo Liu <sdl.web@gmail.com>
8599
8600 * progmodes/octave.el (octave-syntax-propertize-function): Change
8601 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8602 (octave-font-lock-keywords): Use octave-operator-regexp.
8603 (octave-completion-at-point): Rename from
8604 octave-completion-at-point-function.
8605 (inferior-octave-directory-tracker): Robustify.
8606 (octave-text-functions): Remove and fix its uses. No such things
8607 any more.
8608
8609 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8610
8611 * emacs-lisp/trace.el (trace--display-buffer): New function.
8612 (trace-make-advice): Use it.
8613
8614 2013-05-06 Juri Linkov <juri@jurta.org>
8615
8616 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8617 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8618 Doc fix.
8619 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8620 in the help string. (Bug#12985)
8621
8622 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8623
8624 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8625
8626 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * progmodes/perl-mode.el: Add support for here documents.
8629 (perl-syntax-propertize-function): Match here-doc markers.
8630 (perl-syntax-propertize-special-constructs): Find their end.
8631 (perl-imenu-generic-expression): Use [:alnum:].
8632
8633 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8634 (advice--add-function): Refresh the advice if already present
8635 (bug#14317).
8636
8637 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8638
8639 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8640
8641 2013-05-06 Glenn Morris <rgm@gnu.org>
8642
8643 * w32-fns.el (w32-charset-info-alist): Declare.
8644
8645 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8646 of its defcustom properties.
8647 (eshell-cmpl-initialize): No need to load pcomplete.
8648
8649 * generic-x.el: No need to require comint when compiling.
8650
8651 * net/eudc-export.el: Make it loadable without bbdb.
8652 (top-level): Use require rather than load-library.
8653 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8654 (eudc-batch-export-records-to-bbdb)
8655 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8656 Require bbdb.
8657
8658 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8659
8660 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8661 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8662 some tweaks, instead.
8663
8664 2013-05-05 Leo Liu <sdl.web@gmail.com>
8665
8666 * progmodes/octave.el (octave-font-lock-keywords)
8667 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8668 (inferior-octave-send-list-and-digest): Improve error message.
8669 (octave-mode, inferior-octave-mode): Use setq-local.
8670 (octave-help): Set info-lookup-mode.
8671
8672 2013-05-05 Richard Stallman <rms@gnu.org>
8673
8674 * vc/compare-w.el (compare-windows-whitespace):
8675 Treat no-break space as whitespace.
8676
8677 * mail/rmailsum.el (rmail-summary-rmail-update):
8678 Detect empty summary and don't change selected message.
8679 (rmail-summary-goto-msg): Likewise.
8680
8681 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8682 Doc fixes, rename args.
8683
8684 2013-05-05 Alan Mackenzie <acm@muc.de>
8685
8686 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8687
8688 2013-05-05 Juri Linkov <juri@jurta.org>
8689
8690 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8691 to not add the length of the summary segment to the return value.
8692 (Bug#14125)
8693
8694 2013-05-05 Leo Liu <sdl.web@gmail.com>
8695
8696 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8697 (inferior-octave-output-filter): Remove.
8698 (octave-send-region, inferior-octave-startup): Fix callers.
8699 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8700 (octave-binary-file-extensions): New user variable.
8701 (octave-find-definition): Confirm if opening binary files.
8702 (octave-help-file): Use octave-find-definition to get the binary
8703 confirmation.
8704 (octave-help): Adjust for octave-help-file change.
8705
8706 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8707
8708 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8709 Merge the two entries that handle function definitions.
8710 (pascal--syntax-propertize): New const.
8711 (pascal-mode): Use it. Use setq-local.
8712
8713 2013-05-04 Glenn Morris <rgm@gnu.org>
8714
8715 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8716 (diary-from-outlook): Respect diary-from-outlook-function.
8717
8718 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8721 Move the declaration from C.
8722 (read-minibuffer, eval-minibuffer): Move from C.
8723 (completion-setup-function): Avoid minibuffer-completion-contents.
8724
8725 2013-05-03 Leo Liu <sdl.web@gmail.com>
8726
8727 * progmodes/octave.el (octave-font-lock-keywords): Do not
8728 dehighlight 'end' in comments or strings.
8729 (octave-completing-read, octave-goto-function-definition):
8730 New helpers.
8731 (octave-help-buffer): New user variable.
8732 (octave-help-file, octave-help-function): New button types.
8733 (octave-help): New command and bind it to C-h ;.
8734 (octave-find-definition): New command and bind it to M-.
8735 (user-error): Alias to error if not defined.
8736
8737 2013-05-02 Leo Liu <sdl.web@gmail.com>
8738
8739 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8740 for \. (bug#14332)
8741 (octave-font-lock-keywords): Include [ and {.
8742
8743 2013-05-02 Leo Liu <sdl.web@gmail.com>
8744
8745 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8746 (inferior-octave): Remove calling comint-mode and return the buffer.
8747 (inferior-octave-startup): Cosmetic changes.
8748
8749 2013-05-02 Leo Liu <sdl.web@gmail.com>
8750
8751 * progmodes/octave.el (octave-syntax-propertize-function):
8752 Include the case when ' is at line beginning. (Bug#14336)
8753
8754 2013-05-02 Glenn Morris <rgm@gnu.org>
8755
8756 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8757 * desktop.el (vc-dir-mode): Just autoload it here.
8758
8759 2013-05-02 Alan Mackenzie <acm@muc.de>
8760
8761 Eliminate variable c-standard-font-lock-fontify-region-function.
8762 * progmodes/cc-mode.el
8763 (c-standard-font-lock-fontify-region-function): Remove.
8764 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8765
8766 2013-05-01 Leo Liu <sdl.web@gmail.com>
8767
8768 * progmodes/octave.el: Compatible with older emacs-24 releases.
8769 (inferior-octave-has-built-in-variables): Remove. Built-in
8770 variables were removed from Octave in 2007.
8771 (inferior-octave-startup): Fix uses.
8772 (comint-line-beginning-position): Remove compatibility code for
8773 emacs 21.
8774
8775 2013-05-01 Juri Linkov <juri@jurta.org>
8776
8777 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8778
8779 2013-05-01 Juri Linkov <juri@jurta.org>
8780
8781 * comint.el (comint-previous-matching-input): Don't print message
8782 "History item: %d" when `isearch-mode' is active.
8783 (comint-history-isearch-message): Print message "History item: %d"
8784 when `comint-input-ring-index' is not empty and this function is
8785 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8786
8787 2013-05-01 Leo Liu <sdl.web@gmail.com>
8788
8789 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8790 definitions. Use completion-at-point to insert keywords.
8791 (octave-abbrev-start): Remove.
8792 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8793
8794 2013-04-30 Leo Liu <sdl.web@gmail.com>
8795
8796 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8797 change.
8798
8799 2013-04-30 Alan Mackenzie <acm@muc.de>
8800
8801 Handle arbitrarily long C++ member initialisation lists.
8802 * progmodes/cc-engine.el (c-back-over-member-initializers):
8803 new function.
8804 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8805 (most) member init lists.
8806
8807 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8808
8809 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8810 variable.
8811
8812 2013-04-30 Leo Liu <sdl.web@gmail.com>
8813
8814 * progmodes/octave.el (octave-variables): Remove. No builtin
8815 variables any more. All converted to functions.
8816 (octave-font-lock-keywords, octave-completion-at-point-function):
8817 Fix uses.
8818 (octave-font-lock-texinfo-comment): New user variable.
8819 (octave-texinfo-font-lock-keywords): New variable for texinfo
8820 comment block.
8821 (octave-function-comment-block): New face.
8822 (octave-font-lock-texinfo-comment): New function.
8823 (octave-mode): Font lock texinfo comment block.
8824
8825 2013-04-29 Leo Liu <sdl.web@gmail.com>
8826
8827 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8828 indexing expression.
8829 (octave-continuation-string): Do not use \.
8830 (inferior-octave-complete-impossible): Remove.
8831 (inferior-octave-completion-table)
8832 (inferior-octave-completion-at-point): Remove its uses.
8833 (inferior-octave-startup): completion_matches was introduced to
8834 Octave in 1996 so safe to assume it.
8835 (octave-function-file-comment): Improve to follow how Octave does it.
8836 (octave-update-function-file-comment): Tweak.
8837
8838 2013-04-29 Leo Liu <sdl.web@gmail.com>
8839
8840 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8841 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8842 (octave-function-file-comment): Fix typo.
8843 (octave-sync-function-file-names): Use read-char-choice.
8844
8845 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8846
8847 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8848 to t for the less important warnings.
8849
8850 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8851
8852 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8853
8854 2013-04-27 Glenn Morris <rgm@gnu.org>
8855
8856 * vc/log-view.el (log-view-current-entry):
8857 Treat "---" separator lines as part of the following rev. (Bug#14169)
8858
8859 2013-04-27 Juri Linkov <juri@jurta.org>
8860
8861 * subr.el (read-number): Doc fix about using it by interactive
8862 code letter `n'. (Bug#14254)
8863
8864 2013-04-27 Juri Linkov <juri@jurta.org>
8865
8866 * desktop.el (desktop-auto-save-timeout): New option.
8867 (desktop-file-checksum): New variable.
8868 (desktop-save): Add optional arg `auto-save' and don't auto-save
8869 if nothing changed.
8870 (desktop-auto-save-timer): New variable.
8871 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8872 (after-init-hook): Call `desktop-auto-save-set-timer'.
8873 Suggested by Reuben Thomas <rrt@sc3d.org> in
8874 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8875
8876 2013-04-27 Leo Liu <sdl.web@gmail.com>
8877
8878 * progmodes/octave.el (octave-function-file-p)
8879 (octave-skip-comment-forward, octave-function-file-comment)
8880 (octave-update-function-file-comment): New functions.
8881 (octave-mode-map): Bind C-c ; to
8882 octave-update-function-file-comment.
8883 (octave-mode-menu): Add octave-update-function-file-comment.
8884 (octave-mode, inferior-octave-mode): Fix doc-string.
8885 (octave-insert-defun): Conform to Octave's coding convention.
8886 (Bug#14285)
8887
8888 * files.el (basic-save-buffer): Don't let errors in
8889 before-save-hook prevent saving buffer.
8890
8891 2013-04-20 Roland Winkler <winkler@gnu.org>
8892
8893 * faces.el (read-face-name): Use completing-read if arg multiple
8894 is nil.
8895
8896 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8897
8898 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8899 displayed, move point to after the totals line.
8900 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8901 for the details.
8902
8903 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8906 Add current dir to the load-path.
8907 (package-generate-autoloads): Don't rely on
8908 autoload-ensure-default-file.
8909
8910 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8911
8912 * textmodes/remember.el (remember-store-in-files): Document that
8913 the file name format is passed to `format-time-string'.
8914
8915 2013-04-26 Leo Liu <sdl.web@gmail.com>
8916
8917 * progmodes/octave.el (octave-sync-function-file-names): New function.
8918 (octave-mode): Use it in before-save-hook.
8919
8920 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8921
8922 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8923 (bug#14274).
8924
8925 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8926 \n and comment, even if it's not an implicit ; (bug#14218).
8927
8928 2013-04-26 Glenn Morris <rgm@gnu.org>
8929
8930 * subr.el (read-number): Once more use `read' rather than
8931 `string-to-number', to trap non-numeric input. (Bug#14254)
8932
8933 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8934
8935 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8936 Use `syntax-multiline' text property consistently instead of
8937 `font-lock-multiline'. (Bug#14237)
8938
8939 2013-04-26 Glenn Morris <rgm@gnu.org>
8940
8941 * emacs-lisp/shadow.el (list-load-path-shadows):
8942 No longer necessary to check for duplicate simple.el, since
8943 2012-07-07 change to init_lread to not include installation lisp
8944 directories in load-path when running uninstalled. (Bug#14270)
8945
8946 2013-04-26 Leo Liu <sdl.web@gmail.com>
8947
8948 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8949 (octave-mode, inferior-octave-mode): Use setq-local.
8950 (octave-not-in-string-or-comment-p): Rename to
8951 octave-in-string-or-comment-p.
8952 (octave-in-comment-p, octave-in-string-p)
8953 (octave-in-string-or-comment-p): Replace defsubst with defun.
8954
8955 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8956
8957 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8958
8959 2013-04-25 Bastien Guerry <bzg@gnu.org>
8960
8961 * textmodes/remember.el (remember-data-directory)
8962 (remember-directory-file-name-format): Fix custom types.
8963
8964 2013-04-25 Leo Liu <sdl.web@gmail.com>
8965
8966 * progmodes/octave.el (octave-completion-at-point-function):
8967 Make use of inferior octave process.
8968 (octave-initialize-completions): Remove.
8969 (inferior-octave-completion-table): New function.
8970 (inferior-octave-completion-at-point): Use it.
8971 (octave-completion-alist): Remove.
8972
8973 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8976 (opascal-mode-syntax-table): New var.
8977 (opascal-literal-kind, opascal-is-literal-end)
8978 (opascal-literal-token-at): Rewrite.
8979 (opascal--literal-start-re, opascal-font-lock-keywords)
8980 (opascal--syntax-propertize): New constants.
8981 (opascal-font-lock-defaults): Adjust.
8982 (opascal-mode): Use them. Set comment-<foo> variables as well.
8983 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8984 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8985 (delphi-other-face, opascal-other-face): Remove face variables.
8986 (opascal-save-state): Remove macro.
8987 (opascal-fontifying-progress-step): Remove constant.
8988 (opascal--ignore-changes): Remove var.
8989 (opascal-set-token-property, opascal-parse-next-literal)
8990 (opascal-is-stable-literal, opascal-complete-literal)
8991 (opascal-is-literal-start, opascal-face-of)
8992 (opascal-parse-region, opascal-parse-region-until-stable)
8993 (opascal-fontify-region, opascal-after-change)
8994 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8995 (opascal-debug-parse-region, opascal-debug-parse-window)
8996 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8997 (opascal-debug-fontify-buffer): Remove.
8998 (opascal-debug-mode-map): Adjust accordingly.
8999
9000 2013-04-25 Leo Liu <sdl.web@gmail.com>
9001
9002 Merge octave-mod.el and octave-inf.el into octave.el with some
9003 cleanups.
9004 * progmodes/octave.el: New file renamed from octave-mod.el.
9005 * progmodes/octave-inf.el: Merged into octave.el.
9006 * progmodes/octave-mod.el: Renamed to octave.el.
9007
9008 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9009
9010 * textmodes/reftex-vars.el
9011 (reftex-label-ignored-macros-and-environments): New defcustom.
9012
9013 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9014
9015 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9018 (smie-indent-keyword): Improve the check to ensure that the next
9019 comment is really on the same line.
9020 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9021
9022 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9023 semi-colons if the line is not otherwise empty (bug#14218).
9024
9025 2013-04-25 Glenn Morris <rgm@gnu.org>
9026
9027 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9028
9029 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * progmodes/opascal.el (opascal-set-token-property): Rename from
9032 opascal-set-text-properties and only set `token' (bug#14134).
9033 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9034 (opascal-literal-text-properties): Remove.
9035 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9036 Adjust callers.
9037
9038 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9039
9040 * textmodes/remember.el (remember-handler-functions): Add an
9041 option for a new handler `remember-store-in-files'.
9042 (remember-data-directory, remember-directory-file-name-format):
9043 New options.
9044 (remember-store-in-files): New function to store remember notes
9045 as separate files within a directory.
9046
9047 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9048
9049 * progmodes/compile.el (compilation-next-error-function):
9050 Pass "formats" to compilation-find-file (bug#11777).
9051
9052 2013-04-24 Glenn Morris <rgm@gnu.org>
9053
9054 * vc/vc-bzr.el (vc-bzr-print-log):
9055 * vc/vc-hg.el (vc-hg-print-log):
9056 * vc/vc-svn.el (vc-svn-print-log):
9057 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9058
9059 * vc/vc-bzr.el (vc-bzr-print-log):
9060 * vc/vc-cvs.el (vc-cvs-print-log):
9061 * vc/vc-git.el (vc-git-print-log):
9062 * vc/vc-hg.el (vc-hg-print-log):
9063 * vc/vc-mtn.el (vc-mtn-print-log):
9064 * vc/vc-rcs.el (vc-rcs-print-log):
9065 * vc/vc-sccs.el (vc-sccs-print-log):
9066 * vc/vc-svn.el (vc-svn-print-log):
9067 * vc/vc.el (vc-print-log-internal): Doc fixes.
9068
9069 2013-04-23 Glenn Morris <rgm@gnu.org>
9070
9071 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9072 Remove venerable code attempting to avoid substitute-command-keys.
9073
9074 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9075
9076 * textmodes/reftex-vars.el (reftex-label-regexps):
9077 Call `reftex-compile-variables' after changes to this variable.
9078
9079 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9080
9081 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9082 Use lexical-binding.
9083 (jit-lock-force-redisplay): Use markers, check buffer's continued
9084 existence and beware narrowed buffers.
9085 (jit-lock-fontify-now): Adjust call accordingly.
9086
9087 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9090 to avoid misleading the user.
9091
9092 2013-04-22 Leo Liu <sdl.web@gmail.com>
9093
9094 * info-look.el: Prefer latex2e.info. (Bug#14240)
9095
9096 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9097
9098 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9099
9100 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9101 * net/tramp.el (tramp-call-process): ... here.
9102 (tramp-set-completion-function, tramp-parse-putty):
9103 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9104 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9105 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9106 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9107 (tramp-call-local-coding-command): Use `tramp-call-process'
9108 instead of `tramp-compat-call-process'.
9109
9110 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9111 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9112 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9113 (tramp-find-inline-compress): Improve traces.
9114 (tramp-maybe-send-script): Check for Perl binary.
9115 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9116
9117 2013-04-22 Daiki Ueno <ueno@gnu.org>
9118
9119 * epg.el (epg-context-pinentry-mode): New function.
9120 (epg-context-set-pinentry-mode): New function.
9121 (epg--start): Pass --pinentry-mode option to gpg command.
9122
9123 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9124
9125 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9126 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9127 `completion-at-point'. (Bug#13774)
9128
9129 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9130 default key binding for `describe-distribution' has been moved to
9131 `C-h C-o'. (Bug#13970)
9132
9133 2013-04-21 Glenn Morris <rgm@gnu.org>
9134
9135 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9136 Add doc strings.
9137 (vc-print-log): Clarify interactive prompt.
9138
9139 2013-04-20 Glenn Morris <rgm@gnu.org>
9140
9141 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9142 No longer include timestamp etc information.
9143
9144 2013-04-20 Roland Winkler <winkler@gnu.org>
9145
9146 * faces.el (read-face-name): Bug fix, return just one face if arg
9147 multiple is nil. (Bug#14209)
9148
9149 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9150
9151 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9152 (remove-function): Autoload.
9153
9154 * comint.el (comint-redirect-original-filter-function): Remove.
9155 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9156 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9157 (vc-cvs-annotate-command):
9158 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9159 * progmodes/prolog.el (prolog-consult-compile):
9160 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9161 Use add/remove-function instead.
9162 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9163 (gud-tooltip-process-output, gud-tooltip-tips):
9164 Use add/remove-function instead.
9165 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9166 (scheme-interaction-mode, exit-scheme-interaction-mode):
9167 Use add/remove-function instead.
9168
9169 * vc/vc-dispatcher.el: Use lexical-binding.
9170 (vc--process-sentinel): Rename from vc-process-sentinel.
9171 Change last arg to be the code to run. Don't use vc-previous-sentinel
9172 and vc-sentinel-commands any more.
9173 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9174 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9175
9176 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9177
9178 * progmodes/sh-script.el (sh-imenu-generic-expression):
9179 Handle function names with a single character. (Bug#14111)
9180
9181 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9182
9183 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9184 for subroutines defined in an eval (bug#14182).
9185
9186 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9187
9188 * bookmark.el (bookmark-completing-read): Improve handling of empty
9189 string (bug#14176).
9190
9191 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9194
9195 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9196
9197 New faster Imenu implementation (bug#14058).
9198 * progmodes/python.el:
9199 (python-imenu-prev-index-position):
9200 (python-imenu-format-item-label-function)
9201 (python-imenu-format-parent-item-label-function)
9202 (python-imenu-format-parent-item-jump-label-function):
9203 New vars.
9204 (python-imenu-format-item-label)
9205 (python-imenu-format-parent-item-label)
9206 (python-imenu-format-parent-item-jump-label)
9207 (python-imenu--put-parent, python-imenu--build-tree)
9208 (python-imenu-create-index, python-imenu-create-flat-index)
9209 (python-util-popn): New functions.
9210 (python-mode): Set imenu-create-index-function to
9211 python-imenu-create-index.
9212
9213 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * winner.el (winner-active-region): Use region-active-p, activate-mark
9216 and deactivate-mark (bug#14225).
9217
9218 * simple.el (deactivate-mark): Don't inline it.
9219
9220 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9223
9224 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9225
9226 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9227 file extensions from the archive-mode entry in order to prefer
9228 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9229
9230 2013-04-18 Leo Liu <sdl.web@gmail.com>
9231
9232 * bindings.el (help-event-list): Add ?\?.
9233
9234 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * subr.el (with-wrapper-hook): Declare obsolete.
9237 * simple.el (filter-buffer-substring-function): New hook.
9238 (filter-buffer-substring): Use it.
9239 (filter-buffer-substring-functions): Mark obsolete.
9240 * minibuffer.el (completion-in-region-function): New hook.
9241 (completion-in-region): Use it.
9242 (completion-in-region-functions): Mark obsolete.
9243 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9244 * abbrev.el (abbrev-expand-function): New hook.
9245 (expand-abbrev): Use it.
9246 (abbrev-expand-functions): Mark obsolete.
9247 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9248 and :filter-return.
9249
9250 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9251
9252 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9253 and do not care about match data.
9254
9255 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9258 completion tables when completing error conditions and
9259 `declare' arguments.
9260 (lisp-complete-symbol, field-complete): Mark as obsolete.
9261 (check-parens): Unmatched parens are user errors.
9262 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9263
9264 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9265
9266 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9267 command changed buffer (ie. `flyspell-pre-buffer' is not current
9268 buffer), which prevents making decisions based on invalid value of
9269 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9270 cause an error when `flyspell-pre-point' was nil after switching
9271 buffers.
9272 (flyspell-post-command-hook): No longer needs to change buffers when
9273 checking pre-word. While at it remove unnecessary progn.
9274
9275 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9276
9277 * textmodes/ispell.el (ispell-add-per-file-word-list):
9278 Fix `flyspell-correct-word-before-point' error when accepting
9279 words and `coment-padding' is an integer by using
9280 `comment-normalize-vars' (Bug #14214).
9281
9282 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9283
9284 New defun movement commands.
9285 * progmodes/python.el (python-nav--syntactically)
9286 (python-nav--forward-defun, python-nav-backward-defun)
9287 (python-nav-forward-defun): New functions.
9288
9289 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9290
9291 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9292 (python-syntax-context): Use named compiler-macro for backwards
9293 compatibility with Emacs 24.x.
9294
9295 2013-04-17 Leo Liu <sdl.web@gmail.com>
9296
9297 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9298 octave-hide-process-buffer.
9299
9300 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9303 (bug#14216).
9304
9305 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9306
9307 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9308 Fix adjustment of offset when receiving incomplete responses from GDB
9309 (bug#14129).
9310
9311 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9314 python-mode-abbrev-table.
9315 (python-skeleton-define): Adjust accordingly.
9316 (python-mode-abbrev-table): New table that inherits from it so that
9317 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9318
9319 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9320 (abbrev-symbol): Use it.
9321 (abbrev--before-point): Use it since we already handle inheritance.
9322
9323 2013-04-16 Leo Liu <sdl.web@gmail.com>
9324
9325 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9326 binding to info-lookup-symbol.
9327
9328 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9329
9330 * minibuffer.el (completion--twq-all):
9331 * term/ns-win.el (ns-initialize-window-system):
9332 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9333
9334 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9335
9336 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9337 global bindings.
9338
9339 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9340
9341 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9342
9343 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9344 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9345 to nil.
9346 (ruby-end-of-defun): Remove the unused arg, change the docstring
9347 to reflect that this function is only used as the value of
9348 `end-of-defun-function'.
9349 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9350 to reflect an earlier change that beginning/end-of-defun functions
9351 jump between methods in a class definition, as well as top-level
9352 functions.
9353
9354 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * minibuffer.el (minibuffer-complete): Don't just scroll
9357 a *Completions* that's been iconified.
9358 (minibuffer-force-complete): Make sure repetitions do cycle when going
9359 through completion-in-region -> minibuffer-complete.
9360
9361 2013-04-15 Alan Mackenzie <acm@muc.de>
9362
9363 Correct the placement of c-cpp-delimiters when there're #s not at
9364 col 0.
9365
9366 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9367 place a submatch around the #.
9368 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9369 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9370 on the #, not BOL.
9371
9372 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9375 (advice--member-p): New arg `name'.
9376 (advice--add-function, advice-member-p): Use it (bug#14202).
9377
9378 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9379
9380 Reformulate java imenu-generic-expression.
9381 The old expression contained ill formed regexps.
9382
9383 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9384 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9385 (cc-imenu-java-method-arg-regexp): New defconsts.
9386 (cc-imenu-java-build-type-args-regex): New defun.
9387 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9388 handling of spaces in the regexp.
9389
9390 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9391
9392 * textmodes/ispell.el (ispell-command-loop): Remove
9393 flyspell highlight of a word when ispell accepts it (bug #14178).
9394
9395 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9398 uses code from the previous `ange-ftp-run-real-handler'.
9399 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9400 only in case that function exist. This is needed for proper
9401 unloading of Tramp.
9402
9403 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9404
9405 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9406
9407 * textmodes/reftex.el (reftex-compile-variables): Use it.
9408
9409 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * files.el (normal-mode): Only use default major-mode if no other mode
9412 was specified.
9413
9414 * emacs-lisp/trace.el (trace-values): New function.
9415
9416 * files.el: Allow : in local variables (bug#14089).
9417 (hack-local-variable-regexp): New var.
9418 (hack-local-variables-prop-line, hack-local-variables): Use it.
9419
9420 2013-04-13 Roland Winkler <winkler@gnu.org>
9421
9422 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9423 data before it gets modified by bibtex-beginning-of-entry.
9424
9425 2013-04-13 Roland Winkler <winkler@gnu.org>
9426
9427 * textmodes/bibtex.el (bibtex-url): Doc fix.
9428
9429 2013-04-13 Roland Winkler <winkler@gnu.org>
9430
9431 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9432 does not visit a BibTeX file, exclude it from the list of buffers
9433 returned by bibtex-initialize.
9434
9435 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9436
9437 * window.el (split-window): Remove interactive form, since as a
9438 command this function is a special case of split-window-below.
9439 Correct doc string.
9440
9441 2013-04-12 Roland Winkler <winkler@gnu.org>
9442
9443 * faces.el (read-face-name): Do not override value of arg default.
9444 Allow single faces and strings as default values. Remove those
9445 elements from return value that are not faces.
9446 (describe-face): Simplify.
9447 (face-at-point): New optional args thing and multiple so that this
9448 function can provide the same functionality previously provided by
9449 read-face-name.
9450 (make-face-bold, make-face-unbold, make-face-italic)
9451 (make-face-unitalic, make-face-bold-italic, invert-face)
9452 (modify-face, read-face-and-attribute): Use face-at-point.
9453
9454 * cus-edit.el (customize-face, customize-face-other-window)
9455 * cus-theme.el (custom-theme-add-face)
9456 * face-remap.el (buffer-face-set)
9457 * facemenu.el (facemenu-set-face): Use face-at-point.
9458
9459 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9460
9461 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9462
9463 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9464
9465 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9466 off leading { and trailing } from field values.
9467
9468 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 * emacs-lisp/timer.el (timer--check): New function.
9471 (timer--time, timer-set-function, timer-event-handler): Use it.
9472 (timer-set-idle-time): Simplify.
9473 (timer--activate): CSE.
9474 (timer-event-handler): Give more info in error message.
9475 (internal-timer-start-idle): New function, moved from C.
9476
9477 * mpc.el (mpc-proc): Add `restart' argument.
9478 (mpc-proc-cmd): Use it.
9479 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9480 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9481 less often.
9482
9483 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9484
9485 * progmodes/sh-script.el: Implement `sh-mode' own
9486 `add-log-current-defun-function' (bug#14112).
9487 (sh-current-defun-name): New function.
9488 (sh-mode): Use the function.
9489
9490 2013-04-09 Bastien Guerry <bzg@gnu.org>
9491
9492 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9493
9494 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9497
9498 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9499 timer (bug#14156).
9500
9501 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9502
9503 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9504 declaration.
9505
9506 2013-04-07 Leo Liu <sdl.web@gmail.com>
9507
9508 * pcmpl-x.el: New file.
9509
9510 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9511
9512 Do not set x-display-name until X connection is established.
9513 This is needed to prevent from weird situation described at
9514 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9515 * frame.el (make-frame): Set x-display-name after call to
9516 window system initialization function, not before.
9517 * term/x-win.el (x-initialize-window-system): Add optional
9518 display argument and use it.
9519 * term/w32-win.el (w32-initialize-window-system):
9520 * term/ns-win.el (ns-initialize-window-system):
9521 * term/pc-win.el (msdos-initialize-window-system):
9522 Add compatible optional display argument.
9523
9524 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9525
9526 * files.el (normal-backup-enable-predicate): On MS-Windows and
9527 MS-DOS compare truenames of temporary-file-directory and of the
9528 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9529 don't fail comparison by compare-strings. Also, compare file
9530 names case-insensitively on MS-Windows and MS-DOS.
9531
9532 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9533
9534 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9535 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9536
9537 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9538
9539 * whitespace.el (whitespace-color-on, whitespace-color-off):
9540 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9541
9542 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9543
9544 * ispell.el (ispell-set-spellchecker-params):
9545 Really set `ispell-args' for all equivs.
9546
9547 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * ido.el (ido-completions): Use extra elements of ido-decorations
9550 (bug#14143).
9551 (ido-decorations): Update docstring.
9552
9553 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9554
9555 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9556 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9557 nil during initialization, in order not to miss changes since the
9558 file was opened. (Bug#14140)
9559
9560 2013-04-05 Leo Liu <sdl.web@gmail.com>
9561
9562 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9563
9564 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9565
9566 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9567
9568 2013-04-04 Glenn Morris <rgm@gnu.org>
9569
9570 * electric.el (electric-pair-inhibit-predicate): Add :version.
9571
9572 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9575 when a package is required several times (bug#14082).
9576
9577 2013-04-04 Roland Winkler <winkler@gnu.org>
9578
9579 * faces.el (read-face-name): Behave as promised by the docstring.
9580 Assume that arg default is a list of faces.
9581 (describe-face): Call read-face-name with list of default faces.
9582
9583 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9584
9585 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9586 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9587 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9588 the header.
9589 (bookmark-exit-hook-internal): Save even if list is empty.
9590
9591 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9592
9593 * emacs-lisp/package.el (package-pinned-packages): New var.
9594 (package--add-to-archive-contents): Obey it (bug#14118).
9595
9596 2013-04-03 Alan Mackenzie <acm@muc.de>
9597
9598 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9599 Also adapt to the new values of element 7 of a parse state.
9600
9601 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9602 parameter `not-in-delimiter'. Handle being inside comment opener.
9603 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9604 character in case we're typing a '*' after a '/'.
9605 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9606 instead by passing the parameter to c-state-pp-to-literal.
9607
9608 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9609 for elt. 7 of a parse state.
9610
9611 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9612
9613 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9614 * international/latin1-disp.el, international/mule-util.el:
9615 * language/cyril-util.el, language/european.el, language/ind-util.el:
9616 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9617 * language/tibetan.el, language/viet-util.el:
9618 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9619
9620 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9623 (electric-pair-post-self-insert-function): Use it.
9624 (electric-pair-default-inhibit): New function, extracted from
9625 electric-pair-post-self-insert-function.
9626
9627 2013-03-31 Roland Winkler <winkler@gnu.org>
9628
9629 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9630
9631 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9634
9635 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9636
9637 Un-indent after "pass" and "return" statements (Bug#13888)
9638 * progmodes/python.el (python-indent-block-enders): New var.
9639 (python-indent-calculate-indentation): Use it.
9640
9641 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9642
9643 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9644 defun. Defining it as defalias could introduce too eager
9645 byte-compiler optimization. (Bug#14030)
9646
9647 2013-03-30 Chong Yidong <cyd@gnu.org>
9648
9649 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9650
9651 2013-03-30 Leo Liu <sdl.web@gmail.com>
9652
9653 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9654 (kmacro-execute-from-register): Pass the keyboard macro to
9655 kmacro-call-macro or repeating won't work correctly.
9656
9657 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9658
9659 * progmodes/subword.el: Back to using `forward-symbol'.
9660
9661 * subr.el (forward-whitespace, forward-symbol)
9662 (forward-same-syntax): Move from thingatpt.el.
9663
9664 2013-03-29 Leo Liu <sdl.web@gmail.com>
9665
9666 * kmacro.el (kmacro-to-register): New command.
9667 (kmacro-execute-from-register): New function.
9668 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9669
9670 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9671
9672 * mpc.el: Use defvar-local and setq-local.
9673 (mpc--proc-connect): Connection failures are not bugs.
9674 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9675 (mpc-volume-map): Bind to the up-events.
9676
9677 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9678
9679 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9680 instead of `forward-symbol'.
9681
9682 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9685 (edebug--recursive-edit): Use it.
9686 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9687 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9688
9689 2013-03-28 Leo Liu <sdl.web@gmail.com>
9690
9691 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9692
9693 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9694
9695 * facemenu.el (list-colors-callback): New defvar.
9696 (list-colors-redisplay): New function.
9697 (list-colors-display): Install list-colors-redisplay as the
9698 revert-buffer-function. (Bug#14063)
9699
9700 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9703 and suffixes don't overlap (bug#14061).
9704
9705 * case-table.el: Use lexical-binding.
9706 (case-table-get-table): New function.
9707 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9708
9709 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9710
9711 * progmodes/subword.el: Add `superword-mode' to do word motion
9712 over symbol_words (parallels and leverages `subword-mode' which
9713 does word motion inside MixedCaseWords).
9714
9715 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9716
9717 * eshell/em-unix.el: Move su and sudo to...
9718 * eshell/em-tramp.el: ...Eshell tramp module.
9719
9720 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9723 Change return value to be a sexp. Delay `get-buffer' to after
9724 restoring the desktop (bug#13951).
9725
9726 2013-03-26 Leo Liu <sdl.web@gmail.com>
9727
9728 * register.el: Move semantic tag handling back to
9729 cedet/semantic/senator.el. (Bug#14052)
9730
9731 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9734 into the prompt either (bug#13963).
9735
9736 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9737
9738 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9739 part of "(error-foo)".
9740
9741 2013-03-24 Juri Linkov <juri@jurta.org>
9742
9743 * replace.el (list-matching-lines-prefix-face): New defcustom.
9744 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9745 `occur-engine' if `face-differs-from-default-p' returns t.
9746 (occur-engine): Add `,' inside backquote construct to evaluate
9747 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9748 Pass `prefix-face' to the functions `occur-context-lines' and
9749 `occur-engine-add-prefix'.
9750 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9751 `prefix-face' and propertize the prefix with `prefix-face'.
9752 (Bug#14017)
9753
9754 2013-03-24 Leo Liu <sdl.web@gmail.com>
9755
9756 * nxml/rng-valid.el (rng-validate-while-idle)
9757 (rng-validate-quick-while-idle): Guard against deleted buffer.
9758 (Bug#13999)
9759
9760 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9761 is the last entry in kill-buffer-hook.
9762
9763 * files.el (kill-buffer-hook): Doc fix.
9764
9765 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9766
9767 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9768 Make it safe-local.
9769
9770 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9771
9772 2013-03-23 Leo Liu <sdl.web@gmail.com>
9773
9774 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9775 Remove.
9776
9777 * nxml/rng-valid.el (rng-validate-mode)
9778 (rng-after-change-function, rng-do-some-validation):
9779 * nxml/rng-maint.el (rng-validate-buffer):
9780 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9781 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9782 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9783 (nxml-extend-after-change-region): Use with-silent-modifications.
9784
9785 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9786 timer-idle-list.
9787
9788 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9789 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9790 timer-idle-list. (Bug#13999)
9791
9792 2013-03-23 Juri Linkov <juri@jurta.org>
9793
9794 * info.el (info-index-match): New face.
9795 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9796 main pattern and add text properties with the new face to matches
9797 in index entries relative to the beginning of the index entry.
9798 (Bug#14015)
9799
9800 2013-03-21 Eric Ludlam <zappo@gnu.org>
9801
9802 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9803 Inhibit read only while inserting objects.
9804
9805 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9806
9807 * progmodes/cfengine.el: Update docs to mention
9808 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9809 symbol motion. Remove "_" from the word syntax.
9810
9811 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9812
9813 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9814 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9815
9816 2013-03-20 Juri Linkov <juri@jurta.org>
9817
9818 * info.el (Info-next-reference-or-link)
9819 (Info-prev-reference-or-link): New functions.
9820 (Info-next-reference, Info-prev-reference): Use them.
9821 (Info-try-follow-nearest-node): Handle footnote navigation.
9822 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9823
9824 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9825
9826 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9827 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9828
9829 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9830
9831 Suppress unnecessary non-ASCII chatter during build process.
9832 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9833 (batch-skkdic-convert): Suppress most of the chatter.
9834 It's not needed so much now that machines are faster,
9835 and its non-ASCII component was confusing; see Dmitry Gutov in
9836 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9837
9838 2013-03-20 Leo Liu <sdl.web@gmail.com>
9839
9840 * ido.el (ido-chop): Fix bug#10994.
9841
9842 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9843
9844 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9845 Remove vars.
9846 (whitespace-color-on, whitespace-color-off):
9847 Use `font-lock-fontify-buffer' (Bug#13817).
9848
9849 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9850
9851 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9852 remapping in mode-line.
9853 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9854
9855 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9856
9857 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9858 value for `whitespace-line' face (Bug#13875).
9859 (whitespace-font-lock-keywords): Change description.
9860 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9861 the constructed keywords instead.
9862 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9863
9864 2013-03-19 Leo Liu <sdl.web@gmail.com>
9865
9866 * progmodes/compile.el (compilation-display-error): New command.
9867 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9868 C-o. (Bug#13992)
9869
9870 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9871
9872 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9873
9874 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9875
9876 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9877
9878 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9879
9880 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9881
9882 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9883 * net/tramp-gvfs.el (top):
9884 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9885 (tramp-handle-shell-command): Use it.
9886 (tramp-dissect-file-name): Raise an error when hostname is a
9887 method name, and neither method nor user is specified.
9888
9889 * net/trampver.el: Update release number.
9890
9891 2013-03-18 Leo Liu <sdl.web@gmail.com>
9892
9893 Make sure eldoc can be turned off properly.
9894 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9895 eldoc-mode.
9896 (eldoc-display-message-p): Revert last change.
9897 (eldoc-display-message-no-interference-p)
9898 (eldoc-print-current-symbol-info): Tweak.
9899
9900 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9901
9902 * doc-view.el (doc-view-new-window-function): Check the new window
9903 overlay's display property instead the char property of the
9904 buffer's first char. Use `with-selected-window' instead of
9905 `save-window-excursion' with `select-window'.
9906 (doc-view-document->bitmap): Check the current doc-view overlay's
9907 display property instead the char property of the buffer's first char.
9908
9909 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9910
9911 Automate the build of ja-dic.el (Bug#13984).
9912 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9913 from the input, rather than assume that it's been done for us by the
9914 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9915 the current date into a ja-dic.el comment, as that complicates
9916 regression testing.
9917
9918 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9919
9920 * whitespace.el: Fix double evaluation.
9921 (whitespace-space, whitespace-hspace, whitespace-tab)
9922 (whitespace-newline, whitespace-trailing, whitespace-line)
9923 (whitespace-space-before-tab, whitespace-indentation)
9924 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9925 obsolete defvars.
9926 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9927 (whitespace-color-on): Use a single font-lock-add-keywords call.
9928 Fix double-evaluation of face variables.
9929
9930 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9931
9932 * net/tramp-adb.el (tramp-adb-parse-device-names):
9933 Use `start-process' instead of `call-process'. Otherwise, the
9934 function might be blocked under MS Windows. (Bug#13299)
9935
9936 2013-03-17 Leo Liu <sdl.web@gmail.com>
9937
9938 Extend eldoc to display info in the mode-line. (Bug#13978)
9939 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9940 (eldoc-mode-line-string): New variable.
9941 (eldoc-minibuffer-message): New function.
9942 (eldoc-message-function): New variable.
9943 (eldoc-message): Use it.
9944 (eldoc-display-message-p)
9945 (eldoc-display-message-no-interference-p):
9946 Support eldoc-post-insert-mode.
9947
9948 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9949 (eval-expression): Run it.
9950
9951 2013-03-17 Roland Winkler <winkler@gnu.org>
9952
9953 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9954 strings in the list of return values.
9955
9956 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9957
9958 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9959 radix before checking for HMS forms.
9960
9961 2013-03-16 Leo Liu <sdl.web@gmail.com>
9962
9963 * progmodes/scheme.el: Add indentation and font-locking for λ.
9964 (Bug#13975)
9965
9966 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9969 token before point (bug#13942).
9970
9971 2013-03-16 Leo Liu <sdl.web@gmail.com>
9972
9973 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9974
9975 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9976
9977 * startup.el (command-line-normalize-file-name): Fix handling of
9978 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9979 <xfq.free@gmail.com> in
9980 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9981
9982 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9983
9984 Sync with Tramp 2.2.7.
9985
9986 * net/trampver.el: Update release number.
9987
9988 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9989
9990 * doc-view.el: Fix bug#13887.
9991 (doc-view-insert-image): Don't modify overlay associated to
9992 non-live windows, and implement horizontal centering of image in
9993 case it's smaller than the window.
9994 (doc-view-new-window-function): Force redisplay of new windows on
9995 doc-view buffers.
9996
9997 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9998
9999 * saveplace.el (save-place-alist-to-file): Don't sort
10000 `save-place-alist', just pretty-print it (bug#13882).
10001
10002 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10003
10004 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10005 Check whether `default-file-name-coding-system' is bound.
10006 It isn't in XEmacs.
10007
10008 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10011 backquotes for `obsolete' (bug#13929).
10012
10013 * international/mule.el (find-auto-coding): Include file name in
10014 obsolescence warning (bug#13922).
10015
10016 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10017
10018 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10019 for CFEngine 3-specific indentation.
10020 (cfengine3-indent-line): Use it. Fix up category regex.
10021 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10022
10023 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10024
10025 * type-break.el (type-break-file-name):
10026 * textmodes/remember.el (remember-data-file):
10027 * strokes.el (strokes-file):
10028 * shadowfile.el (shadow-initialize):
10029 * saveplace.el (save-place-file):
10030 * ps-bdf.el (bdf-cache-file):
10031 * progmodes/idlwave.el (idlwave-config-directory):
10032 * net/quickurl.el (quickurl-url-file):
10033 * international/kkc.el (kkc-init-file-name):
10034 * ido.el (ido-save-directory-list-file):
10035 * emulation/viper.el (viper-custom-file-name):
10036 * emulation/vip.el (vip-startup-file):
10037 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10038 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10039
10040 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10041
10042 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10043 * language/thai-word.el: Switch to UTF-8.
10044
10045 See ChangeLog.16 for earlier changes.
10046
10047 ;; Local Variables:
10048 ;; coding: utf-8
10049 ;; End:
10050
10051 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10052
10053 This file is part of GNU Emacs.
10054
10055 GNU Emacs is free software: you can redistribute it and/or modify
10056 it under the terms of the GNU General Public License as published by
10057 the Free Software Foundation, either version 3 of the License, or
10058 (at your option) any later version.
10059
10060 GNU Emacs is distributed in the hope that it will be useful,
10061 but WITHOUT ANY WARRANTY; without even the implied warranty of
10062 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10063 GNU General Public License for more details.
10064
10065 You should have received a copy of the GNU General Public License
10066 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.