Make the `interactive-only' bytecomp warning like the `obsolete' one
[bpt/emacs.git] / lisp / ChangeLog
1 2013-11-30 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-form):
4 Make the `interactive-only' warning like the `obsolete' one.
5 * comint.el (comint-run):
6 * files.el (insert-file-literally, insert-file):
7 * replace.el (replace-string, replace-regexp):
8 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
9 (goto-line, insert-buffer, next-line, previous-line):
10 Tweak `interactive-only' spec.
11
12 Stop keeping (most) generated cedet grammar files in the repository.
13 * Makefile.in (semantic): New.
14 (compile-main): Depend on semantic.
15
16 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
19 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
20
21 * uniquify.el (uniquify-buffer-name-style): Change default.
22
23 * loadup.el: Preload "uniquify".
24
25 * time.el (display-time-update): Update all mode lines (bug#15999).
26
27 * electric.el (electric-indent-mode): Enable by default.
28 * loadup.el: Preload "electric".
29
30 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
31
32 * emacs-lisp/helpers.el (string-empty-p): New function.
33 (string-blank-p): New function.
34
35 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
36
37 * imenu.el (imenu--index-alist): Add missing dot to the docstring
38 (Bug#14029).
39
40 2013-11-29 Andreas Politz <politza@fh-trier.de>
41 * imenu.el (imenu--subalist-p): Don't error on non-conses and
42 allow non-lambda lists as functions.
43 (imenu--in-alist): Don't recurse into non-subalists.
44 (imenu): Don't pass function itself as an argument (Bug#14029).
45
46 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * progmodes/python.el (python-mode-map): Remove binding for ":".
49 (python-indent-electric-colon): Remove command.
50 (python-indent-post-self-insert-function): Integrate the previous code
51 of python-indent-electric-colon. Make it conditional on
52 electric-indent-mode.
53 (python-mode): Add ?: to electric-indent-chars.
54 Move python-indent-post-self-insert-function to the end of
55 post-self-insert-hook.
56
57 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * doc-view.el (doc-view-goto-page): Update mode-line.
60
61 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
62
63 2013-11-27 Glenn Morris <rgm@gnu.org>
64
65 * international/charprop.el, international/uni-bidi.el:
66 * international/uni-category.el, international/uni-combining.el:
67 * international/uni-comment.el, international/uni-decimal.el:
68 * international/uni-decomposition.el, international/uni-digit.el:
69 * international/uni-lowercase.el, international/uni-mirrored.el:
70 * international/uni-name.el, international/uni-numeric.el:
71 * international/uni-old-name.el, international/uni-titlecase.el:
72 * international/uni-uppercase.el:
73 Remove generated files from VCS repository.
74
75 2013-11-27 Eli Zaretskii <eliz@gnu.org>
76
77 * filenotify.el (file-notify-add-watch): Don't special-case
78 w32notify when computing the directory to watch.
79
80 2013-11-27 Glenn Morris <rgm@gnu.org>
81
82 Make bootstrap without generated uni-*.el files possible again.
83 * loadup.el: Update command-line-args checking for unidata-gen.
84 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
85 * composite.el, international/characters.el:
86 Handle unicode tables being undefined.
87
88 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
89 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
90 (compile-main): Depend on leim rule.
91 (leim): New rule.
92 * loadup.el: Move leim-list.el to leim/ subdirectory.
93 * startup.el (normal-top-level): No more leim directory.
94 * international/ja-dic-cnv.el (skkdic-convert):
95 Disable version-control and autoloads in output files.
96 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
97 Disable version-control and autoloads in output files.
98 * leim/quail: Move here from ../leim.
99 * leim/quail/hangul.el (hangul-input-method-activate):
100 Add autoload cookie.
101 (generated-autoload-load-name): Set file-local value.
102 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
103 (generated-autoload-load-name): Set file-local value.
104
105 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
106
107 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
108 (eww-add-bookmark): ask confirmation when add to bookmarks
109 (eww-quit): ask confirmation before quitting eww
110
111 2013-11-26 Eli Zaretskii <eliz@gnu.org>
112
113 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
114 reading output from Diff on MS-Windows and MS-DOS.
115
116 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
117
118 * emacs-lisp/helpers.el (string-reverse): New function.
119
120 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
121
122 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
123 names on MS Windows, like "/[::1]:".
124
125 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
126 SWITCHES.
127
128 2013-11-26 Glenn Morris <rgm@gnu.org>
129
130 * progmodes/python.el (python-indent-guess-indent-offset):
131 Avoid corner-case error. (Bug#15975)
132
133 Preload leim-list.el. (Bug#4789)
134 * loadup.el: Load leim-list.el when found.
135 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
136
137 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
138
139 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
140
141 * emacs-lisp/helpers.el (string-join): New function.
142
143 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
144
145 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
146 Mark as obsolete and replace it with a symbol property.
147 (byte-compile-form): Use new 'interactive-only property.
148 * comint.el, files.el, replace.el, simple.el:
149 Apply new 'interactive-only properly.
150
151 2013-11-25 Martin Rudalics <rudalics@gmx.at>
152
153 * window.el (display-buffer-at-bottom): Make sure that
154 split-window-sensibly creates the new window on bottom
155 (Bug#15961).
156
157 2013-11-23 David Kastrup <dak@gnu.org>
158
159 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
160 on the conflict markers when available.
161 (smerge--get-marker): New function.
162 (smerge-end-re, smerge-base-re): Add subgroup.
163
164 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * frame.el (handle-focus-in, handle-focus-out): Add missing
167 interactive spec.
168
169 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
172 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
173
174 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
177 (gomoku--last-pos): New var.
178 (gomoku--intangible-chars): New const.
179 (gomoku--intangible): New function.
180 (gomoku-mode): Use it. Derive from special-mode.
181 (gomoku-move-up): Adjust line count.
182 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
183 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
184 Simplify accordingly.
185
186 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
187 Remove blink-cursor code.
188 (blink-cursor-timer-function, blink-cursor-suspend):
189 Don't special-case GUIs.
190 (blink-cursor-mode): Use focus-in/out-hook.
191
192 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
193
194 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
195 work when annotation is invisible (Bug#13886).
196
197 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
198
199 * json.el (json-alist-p): Only return non-nil if the alist has
200 simple keys (Bug#13518).
201
202 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
203
204 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
205 when control-statement is the first statement in a buffer (Bug#15956).
206
207 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
208
209 * imenu.el (imenu-generic-skip-comments-and-strings):
210 New option (Bug#15560).
211 (imenu--generic-function): Use it.
212
213 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
214
215 * minibuffer.el (completion--in-region-1): Scroll the correct
216 window. (Bug#13898)
217
218 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
219
220 * emacs-lisp/helpers.el: Add some string helpers.
221 (string-trim-left): Removes leading whitespace.
222 (string-trim-right): Removes trailing whitespace.
223 (string-trim): Removes leading and trailing whitespace.
224
225 * subr.el (string-suffix-p): New function.
226
227 2013-11-23 Glenn Morris <rgm@gnu.org>
228
229 * progmodes/python.el (python-shell-send-file):
230 Add option to delete file when done. (Bug#15647)
231 (python-shell-send-string, python-shell-send-region): Use it.
232
233 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
234
235 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
236 to set buffer-read-only to t, never to nil. (Bug#15938)
237
238 * textmodes/tex-mode.el (latex-noindent-environments):
239 Add safe-local-variable property. (Bug#15936)
240
241 2013-11-23 Glenn Morris <rgm@gnu.org>
242
243 * textmodes/enriched.el (enriched-mode): Doc fix.
244 * emacs-lisp/authors.el (authors-renamed-files-alist):
245 Add enriched.doc -> enriched.txt.
246
247 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
248
249 2013-11-22 Leo Liu <sdl.web@gmail.com>
250
251 * progmodes/octave.el (inferior-octave-startup): Spit out error
252 message.
253
254 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
255
256 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
257 Improve docstring.
258 Add :version.
259 (ruby-encoding-magic-comment-style): Add :version.
260
261 2013-11-22 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
264 (Bug#15076)
265 (octave-help-mode): Adapt to change to help-mode-finish to use
266 derived-mode-p on 2013-09-17.
267 (inferior-octave-prompt): Also match octave-gui.
268 (octave-kill-process): Don't ask twice. (Bug#10564)
269
270 2013-11-22 Leo Liu <sdl.web@gmail.com>
271
272 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
273 (inferior-octave-startup, inferior-octave-check-process)
274 (inferior-octave-track-window-width-change)
275 (octave-completion-at-point, octave-eldoc-function): Use it.
276 (octave-kill-process): Provide confirmation. (Bug#10564)
277
278 2013-11-21 Leo Liu <sdl.web@gmail.com>
279
280 * progmodes/octave.el (octave-mode, inferior-octave-mode):
281 Fix obsolete variable comment-use-global-state.
282
283 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
284
285 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
286 Add `octave-source-file'.
287 (octave-source-file): New function. (Bug#15935)
288
289 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
290
291 * net/eww.el (eww-local-regex): New variable.
292 (eww): Use it to detect localhost and similar.
293
294 2013-11-21 Leo Liu <sdl.web@gmail.com>
295
296 Add completion for command `ag'.
297 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
298 (pcomplete/ag): New function.
299 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
300
301 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
304 (bug#14646).
305 (make-obsolete): Remove interactive spec.
306
307 2013-11-21 Glenn Morris <rgm@gnu.org>
308
309 * startup.el (command-line-1): Use path-separator with -L.
310
311 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
312
313 * emacs-lisp/package.el (describe-package-1): Add package archive
314 to shown fields.
315
316 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
317
318 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
319 Change default to "# encoding: %s" to differentiate it from the
320 default Ruby encoding comment template.
321
322 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
323
324 * ses.el (ses-mode): Doc fix. (Bug#14748)
325
326 2013-11-20 Leo Liu <sdl.web@gmail.com>
327
328 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
329
330 2013-11-19 Dan Nicolaescu <dann@gnu.org>
331
332 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
333 when rebase or bisect are in progress.
334
335 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
336
337 * filenotify.el (file-notify-add-watch): Doc fix.
338
339 2013-11-19 Leo Liu <sdl.web@gmail.com>
340
341 * obsolete/rcompile.el: Mark obsolete.
342
343 * progmodes/compile.el (compilation-start)
344 (compilation-goto-locus, compilation-find-file):
345 Pass no-display-ok and handle nil value from display-buffer.
346 (Bug#13594)
347
348 * window.el (display-buffer-alist, display-buffer): Document the
349 new parameter no-display-ok.
350
351 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * electric.el (electric-indent-mode-map): Remove.
354 (electric-indent-mode): Change the global-map instead (bug#15915).
355
356 * textmodes/text-mode.el (paragraph-indent-minor-mode):
357 Use add-function.
358
359 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * emacs-lisp/nadvice.el (remove-function): Align with
362 add-function's behavior.
363
364 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
365 (gdb--string-regexp): New constant.
366 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
367 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
368 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
369 submatch 1.
370 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
371 Adjust use accordingly.
372 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
373
374 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
375
376 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
377 interpolation curlies (Bug#15914).
378
379 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
380
381 * calc/calc.el (calc-context-sensitive-enter): New variable.
382 (calc-enter): Use `calc-context-sensitive-enter'.
383
384 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
385
386 * progmodes/cfengine.el: Version bump.
387 (cfengine-cf-promises): New defcustom to locate cf-promises.
388 (cfengine3-vartypes): Add new "data" type.
389 (cfengine3--current-word): New function to get current name-like
390 word or its bounds.
391 (cfengine3--current-function): New function to look up a CFEngine
392 function's definition.
393 (cfengine3-format-function-docstring): New function.
394 (cfengine3-make-syntax-cache): New function.
395 (cfengine3-documentation-function): New function: ElDoc glue.
396 (cfengine3-completion-function): New function: completion glue.
397 (cfengine3-mode): Set `compile-command',
398 `eldoc-documentation-function', and add to
399 `completion-at-point-functions'.
400
401 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
402
403 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
404 `tramp-current-connection'.
405
406 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
407
408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
409 nil/self/true/false with "end of symbol".
410
411 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
412
413 * subr.el (version-regexp-alist): Fix a typo.
414
415 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
416
417 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
418 "en_US.utf8" and "LC_CTYPE" to "".
419 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
420 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
421
422 2013-11-15 Leo Liu <sdl.web@gmail.com>
423
424 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
425
426 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * progmodes/gud.el (ctl-x-map):
429 Remove C-x SPC binding. (Bug#12342)
430 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
431
432 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
433
434 * subr.el (version-regexp-alist):
435 Recognize hg, svn and darcs versions as snapshot versions.
436
437 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
438 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
439 (ruby--encoding-comment-required-p): Extract from
440 `ruby-mode-set-encoding'.
441 (ruby-mode-set-encoding): Add the ability to always insert an
442 utf-8 encoding comment. Fix and simplify coding comment update
443 logic.
444
445 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
446
447 * net/tramp-gvfs.el (top): Run init code only when
448 `tramp-gvfs-enabled' is not nil.
449 (tramp-gvfs-enabled): Check also :system bus.
450
451 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 Sync with upstream verilog-mode revision 78e66ba.
454 * progmodes/verilog-mode.el (verilog-end-of-defun)
455 (verilog-type-completion, verilog-get-list): Remove unused funcs.
456 (verilog-get-end-of-defun): Remove unused argument.
457 (verilog-comment-depth): Remove unused local `e'.
458 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
459 Don't pass arg to verilog-get-end-of-defun.
460
461 2013-11-14 Glenn Morris <rgm@gnu.org>
462
463 * obsolete/assoc.el (aget): Prefix dynamic variable.
464
465 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
466
467 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * widget.el, hfy-cmap.el: Remove bogus package version number.
470
471 2013-11-13 Glenn Morris <rgm@gnu.org>
472
473 * replace.el (replace-eval-replacement):
474 Try to give more helpful error message. (Bug#15836)
475
476 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
477 (archive-7z-update): Avoid custom type mismatches.
478
479 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
480
481 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
482
483 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
484 address can be empty.
485
486 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
487 Accept nil SWITCHES.
488 (tramp-gvfs-handle-write-region): Implement APPEND.
489
490 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
491
492 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
493 binary "|" operator and closing block args delimiter.
494 Remove FIXME comment referring to Ruby 1.8-only syntax.
495 (ruby-smie--implicit-semi-p): Not after "|" operator.
496 (ruby-smie--closing-pipe-p): New function.
497 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
498 (ruby-smie-rules): Indent after "|".
499
500 2013-11-12 Glenn Morris <rgm@gnu.org>
501
502 * ps-print.el (ps-face-attribute-list):
503 Handle anonymous faces. (Bug#15827)
504
505 2013-11-12 Martin Rudalics <rudalics@gmx.at>
506
507 * window.el (display-buffer-other-frame): Fix doc-string.
508 (Bug#15868)
509
510 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * subr.el (force-mode-line-update): Delete, move to buffer.c.
513
514 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
515
516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
517 (tramp-sh-handle-file-local-copy): Don't write a message when
518 saving temporary files.
519
520 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
521 both directories are remote.
522 (tramp-smb-handle-directory-files): Do not return double entries.
523 Do not expand full file names.
524 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
525 (tramp-smb-handle-write-region): Implement APPEND.
526 (tramp-smb-get-stat-capability): Fix a stupid bug.
527
528 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
531
532 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
533
534 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
535 throwing error over malformed let/let* (bug#15814).
536
537 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
538
539 * iswitchb.el (iswitchb-mode): Mark obsolete.
540
541 2013-11-11 Glenn Morris <rgm@gnu.org>
542
543 * international/uni-bidi.el, international/uni-category.el:
544 * international/uni-name.el, international/uni-numeric.el:
545 Regenerate for Unicode 6.3.0.
546
547 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
548
549 * net/tramp.el (tramp-methods):
550 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
551 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
552
553 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
554
555 * progmodes/sh-script.el (sh-font-lock-keywords-var):
556 Force highlighting text after Summary keyword in doc face for rpm.
557
558 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
559
560 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
561 available and the word has no wildcards, append one to the grep pattern.
562 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
563 (ispell-complete-word): Call `ispell-lookup-words' with the value
564 independent of `ispell-look-p'.
565
566 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
567
568 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
569 Not after "||".
570 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
571 their parent.
572
573 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
576 (ruby-font-lock-keywords): Use backquote.
577
578 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
579
580 * progmodes/ruby-mode.el (ruby-smie--forward-token)
581 (ruby-smie--backward-token): Only consider full-string matches.
582
583 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
584
585 * faces.el (describe-face): Add distant-foreground.
586
587 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
588
589 * progmodes/ruby-mode.el: Improve encoding comment handling.
590 (ruby-encoding-magic-comment-style): New option.
591 (ruby-custom-encoding-magic-comment-template): New option.
592 (ruby--insert-coding-comment, ruby--detect-encoding):
593 New functions extracted from `ruby-mode-set-encoding'.
594 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
595 to control the style of the auto-inserted encoding comment.
596
597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
598
599 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
600 Use `smie-backward-sexp' with token argument.
601
602 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
603
604 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
605 Remove instrumentation code.
606
607 2013-11-08 Glenn Morris <rgm@gnu.org>
608
609 * progmodes/autoconf.el (autoconf-mode):
610 Tweak comment-start-skip. (Bug#15822)
611
612 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
615 at bobp (bug#15826).
616 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
617
618 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
619
620 * man.el (Man-start-calling): New macro, extracted from
621 Man-getpage-in-background.
622 (Man-getpage-in-background): Use it.
623 (Man-update-manpage): New command.
624 (Man-mode-map): Bind it.
625
626 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
627
628 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
629 of "and", "or", "&&" and "||".
630 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
631 argument. Prohibit opening curly brace because it could only be a
632 block opener in that position.
633 (ruby-smie--forward-token, ruby-smie--backward-token):
634 Separate "|" from "&" or "*" going after it. That can happen in block
635 arguments.
636 (ruby-smie--indent-to-stmt): New function, seeks the end of
637 previous statement or beginning of buffer.
638 (ruby-smie-rules): Use it.
639 (ruby-smie-rules): Check if there's a ":" before a curly block
640 opener candidate; if there is, it's a hash.
641
642 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
645 (cl--block-wrapper): Fix last accidental change.
646
647 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
648
649 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
650 Instrument, in order to hunt failure on hydra.
651
652 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
653
654 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
655 malformed bindings form (bug#15814).
656
657 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
658
659 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
660 "." compared to " @ ". This incidentally fixes some indentation
661 examples with "do".
662 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
663 (ruby-smie-grammar): New tokens: "and" and "or".
664 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
665 Exclude "and" and "or". Remove "do" in order to work around token
666 priorities.
667 (ruby-smie-rules): Add all infix tokens. Handle the case of
668 beginning-of-buffer.
669
670 2013-11-06 Glenn Morris <rgm@gnu.org>
671
672 * Makefile.in (setwins_almost, setwins_for_subdirs):
673 Avoid accidental matches.
674
675 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
676
677 * menu-bar.el (popup-menu): Use key-binding.
678
679 2013-11-06 Eli Zaretskii <eliz@gnu.org>
680
681 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
682 menus, support also the menus produced by minor modes.
683 (Bug#15817)
684
685 2013-11-06 Leo Liu <sdl.web@gmail.com>
686
687 * thingatpt.el (thing-at-point-looking-at): Add optional arg
688 DISTANCE to bound the search. All uses changed. (Bug#15808)
689
690 2013-11-06 Glenn Morris <rgm@gnu.org>
691
692 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
693 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
694 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
695
696 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * electric.el (electric-indent-just-newline): New command.
699 (electric-indent-mode-map): New keymap.
700 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
701 Re-add :group which weren't redundant.
702
703 * electric.el (electric-indent-local-mode): New minor mode.
704 (electric-indent-functions-without-reindent): New var.
705 (electric-indent-post-self-insert-function): Use it.
706 * emacs-lisp/gv.el (buffer-local-value): Add setter.
707
708 2013-11-05 Eli Zaretskii <eliz@gnu.org>
709
710 * international/quail.el (quail-help): Be more explicit about the
711 meaning of the labels shown on the keys. (Bug#15800)
712
713 * startup.el (normal-top-level): Load the subdirs.el files before
714 setting the locale environment. (Bug#15805)
715
716 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
719 via arguments so as to get the right ones (bug#15418).
720
721 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
722
723 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
724
725 Fix problems found while writing a test suite.
726
727 * net/tramp-compat.el (tramp-compat-load): New defun.
728 * net/tramp.el (tramp-handle-load): Use it.
729
730 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
731 "(numberp ok-if-already-exists)" correctly.
732
733 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
734
735 * international/characters.el (glyphless-char-display-control):
736 Add usage note.
737
738 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
739
740 * progmodes/python.el (python-mode):
741 * progmodes/scheme.el (scheme-mode):
742 * progmodes/prolog.el (prolog-mode):
743 * progmodes/ruby-mode.el (ruby-mode):
744 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
745 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
746
747 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
748
749 * rect.el (rectangle--highlight-for-redisplay):
750 * emacs-lisp/smie.el (smie--next-indent-change):
751 Use buffer-chars-modified-tick.
752
753 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
754
755 * electric.el (electric-indent-post-self-insert-function):
756 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
757
758 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
759
760 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
761
762 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
763
764 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
765 (bug#15786).
766
767 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
770
771 * progmodes/python.el: Fix up last change.
772 (python-shell--save-temp-file): New function.
773 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
774 `string' comes from the current buffer.
775 (python-shell-send-string-no-output): Remove `msg' arg.
776 (python--use-fake-loc): New var.
777 (python-shell-buffer-substring): Obey it. Try to compensate for the
778 extra coding line added by python-shell--save-temp-file.
779 (python-shell-send-region): Use python-shell--save-temp-file and
780 python-shell-send-file directly. Add `nomain' argument.
781 (python-shell-send-buffer): Use python-shell-send-region.
782 (python-electric-pair-string-delimiter): New function.
783 (python-mode): Use it.
784
785 2013-11-04 Eli Zaretskii <eliz@gnu.org>
786
787 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
788 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
789 environment and decoding all of the default-directory's to here
790 from command-line.
791 (command-line): Decode also argv[0].
792
793 * loadup.el: Error out if default-directory is a multibyte string
794 when we are dumping.
795
796 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
797
798 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
799
800 * emacs-lisp/package.el (package-menu-mode)
801 (package-menu--print-info, package-menu--archive-predicate):
802 Add Archive column to package list.
803
804 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
805
806 Fix problems found while writing a test suite.
807
808 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
809 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
810 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
811 to nil when running original file name handler. Otherwise,
812 there are problems with constructs like "$$FOO".
813
814 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
815 for `localname'.
816
817 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
818
819 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
820
821 * subr.el (version<, version<=, version=):
822 Update docstrings with information for snapshot versions.
823
824 * helpers.el: New library for misc helper functions.
825 (hash-table-keys): New function returning a list of hash keys.
826 (hash-table-values): New function returning a list of hash values.
827
828 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
829
830 * progmodes/ruby-mode.el (ruby-smie--forward-token)
831 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
832
833 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
834
835 * textmodes/fill.el (fill-single-char-nobreak-p): New function
836 checking whether point is after a 1-letter word.
837
838 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
839
840 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
841 Don't infloop when expanding region over `multiline' syntax-type that
842 begins a line (bug#15778).
843
844 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
847 Make it into a proper minor mode.
848 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
849 (rectangle-mark-mode-map): New keymap.
850 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
851
852 2013-11-04 Glenn Morris <rgm@gnu.org>
853
854 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
855
856 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
857
858 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
859 (ruby-smie-rules): Use smie-rule-parent instead.
860
861 * emacs-lisp/smie.el (smie-rule-parent): Always call
862 smie-indent-virtual rather than only for hanging tokens.
863 (smie--next-indent-change): New helper command.
864
865 2013-11-03 Glenn Morris <rgm@gnu.org>
866
867 * Makefile.in (abs_srcdir): Remove.
868 (emacs): Unset EMACSLOADPATH.
869
870 2013-11-02 Glenn Morris <rgm@gnu.org>
871
872 * Makefile.in (EMACS): Use a relative filename.
873 (abs_top_builddir): Remove.
874 (custom-deps, finder-data, autoloads): Use --chdir.
875
876 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
877
878 Use relative filenames in TAGS files.
879 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
880 (lisptagsfiles4, TAGS): Use relative file names.
881 (TAGS-LISP): Remove.
882 (maintainer-clean): No more TAGS-LISP file.
883
884 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
885 (lisptagsfiles4): Use absolute filenames again.
886 (TAGS, TAGS-LISP): Not everything needs to run in one line.
887 Remove all *loaddefs files, not just the first. Remove esh-groups.
888 (maintainer-clean): Delete TAGS, TAGS-LISP.
889
890 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
891
892 * emacs-lisp/package.el (package-version-join):
893 Recognize snapshot versions.
894
895 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
896
897 * subr.el (version-regexp-alist): Add support for snapshot versions.
898
899 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
900
901 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
902 New function, replacement for `smie-rule-parent' for when we want to
903 skip over our direct parent if it's an assignment token..
904 (ruby-smie-rules): Use it.
905
906 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
907
908 * progmodes/ruby-mode.el Use `syntax-propertize-function'
909 unconditionally. Remove now unnecessary forward declarations.
910 Remove XEmacs-specific setup.
911 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
912 (ruby-font-lock-syntactic-keywords)
913 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
914 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
915 (ruby-here-doc-end-syntax): Remove.
916 (ruby-mode): Don't check whether `syntax-propertize-rules' is
917 defined as function.
918
919 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
920
921 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
922
923 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
924
925 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
926 table and abbrev table, `define-derived-mode' does that for us
927 anyway.
928
929 2013-11-01 Glenn Morris <rgm@gnu.org>
930
931 * Makefile.in: Remove manual mh-e dependencies (writing .elc
932 files is atomic for some time, so no parallel compilation issues).
933
934 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
935
936 * faces.el (face-x-resources): Add :distant-foreground.
937 (region): Use :distant-foreground for gtk and ns.
938
939 2013-11-01 Tassilo Horn <tsdh@gnu.org>
940
941 Allow multiple bibliographies when BibLaTeX is used rather than
942 BibTeX.
943 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
944 (reftex-locate-bibliography-files): Us it.
945
946 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
947
948 * image.el (image-type-header-regexps): Fix the 'pbm' part to
949 allow comments in pbm files.
950
951 * term/w32-win.el (dynamic-library-alist): Support newer versions
952 of libjpeg starting with v7: look only for the DLL from the
953 version against which Emacs was built.
954 Support versions of libpng beyond 1.4.x.
955 Support libtiff v4.x.
956
957 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
958
959 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
960 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
961 Add property :safe.
962 (ruby-deep-arglist): Add property :type.
963
964 2013-10-31 Glenn Morris <rgm@gnu.org>
965
966 * Makefile.in (custom-deps, finder-data): No need to setq the target
967 variables, we are in the right directory and the defaults work fine.
968
969 2013-10-30 Glenn Morris <rgm@gnu.org>
970
971 * Makefile.in (autoloads): Do not use abs_lisp.
972
973 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
974 `newline' does not respect `standard-output', so use `princ'.
975
976 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
977
978 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
979 * buff-menu.el (Buffer-menu--unmark): New function.
980 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
981
982 2013-10-30 Glenn Morris <rgm@gnu.org>
983
984 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
985
986 * emacs-lisp/package.el (lm-homepage): Declare.
987
988 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
989 Fix doc typos.
990
991 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
992
993 * Makefile.in (finder-data, autoloads, update-subdirs)
994 (compile-main, compile-clean, compile-always, bootstrap-clean):
995 Check return value of cd.
996 (compile-calc): Remove.
997
998 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1001
1002 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1003 (byte-compile-and-folded): New function.
1004 (=, <, >, <=, >=): Use it.
1005
1006 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1007 (path-separator, null-device, buffer-file-coding-system)
1008 (lpr-headers-switches): Check system-type before modifying them.
1009 (find-buffer-file-type-coding-system): Mark obsolete.
1010 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1011 find-file-not-found-set-buffer-file-coding-system.
1012 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1013 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1014 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1015 (w32-direct-print-region-helper, w32-direct-print-region-function)
1016 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1017 * startup.el (normal-top-level-add-subdirs-to-load-path):
1018 * ps-print.el (ps-print-region-function):
1019 * lpr.el (print-region-function): Use new name.
1020
1021 * subr.el (custom-declare-variable-early): Remove function.
1022 (custom-declare-variable-list): Remove var.
1023 (error, user-error): Remove `while' loop.
1024 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1025 (user-emacs-directory-warning, locate-user-emacs-file):
1026 Move to files.el.
1027 * simple.el (read-quoted-char-radix, read-quoted-char):
1028 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1029 Move from subr.el.
1030 * custom.el (custom-declare-variable-list): Don't process
1031 custom-declare-variable-list.
1032
1033 * progmodes/python.el (python-shell-get-buffer): New function.
1034 (python-shell-get-process): Use it.
1035 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1036 Python which encoding was used. Don't split-string since we only care
1037 about the first line. Return the temp-file, if applicable.
1038 (python-shell-send-region): Tell compile.el how to turn locations in
1039 the temp-file into locations in the source buffer.
1040
1041 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1042
1043 * subr.el (undefined): Add missing behavior from the C code for
1044 unbound keys.
1045
1046 * rect.el: Use lexical-binding. Add new rectangular region support.
1047 (rectangle-mark): New command.
1048 (rectangle--region): New var.
1049 (deactivate-mark-hook): Reset rectangle--region.
1050 (rectangle--extract-region, rectangle--insert-for-yank)
1051 (rectangle--highlight-for-redisplay)
1052 (rectangle--unhighlight-for-redisplay): New functions.
1053 (region-extract-function, redisplay-unhighlight-region-function)
1054 (redisplay-highlight-region-function): Use them to handle
1055 rectangular region.
1056 * simple.el (region-extract-function): New var.
1057 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1058 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1059 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1060 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1061 (redisplay-unhighlight-region-function)
1062 (redisplay-highlight-region-function): New vars.
1063 (redisplay--update-region-highlight): New function.
1064 (pre-redisplay-function): Use it.
1065 (exchange-point-and-mark): Don't deactivate the mark before
1066 reactivate-it anyway.
1067 * comint.el (comint-kill-region): Remove yank-handler argument.
1068 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1069 (delete-char): Remove property, since it's now part of their
1070 default behavior.
1071 (self-insert-iso): Remove property since this command doesn't exist.
1072
1073 * emacs-lisp/package.el (package--download-one-archive)
1074 (describe-package-1): Don't query the user about final newline.
1075
1076 2013-10-29 Daniel Colascione <dancol@dancol.org>
1077
1078 * net/tramp.el (tramp-methods): Document new functionality.
1079 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1080 tramp-hostname-checker if method provides one instead of scanning
1081 argument list for "%h" to decide hostname acceptability.
1082
1083 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1084
1085 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1086 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1087 Handle COPY-CONTENTS. (Bug#15737)
1088
1089 2013-10-28 Daiki Ueno <ueno@gnu.org>
1090
1091 * epa-file.el
1092 (epa-file-cache-passphrase-for-symmetric-encryption):
1093 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1094
1095 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1096
1097 * image.el (defimage):
1098 (image-load-path): Doc fixes.
1099
1100 2013-10-27 Alan Mackenzie <acm@muc.de>
1101
1102 Indent statements in macros following "##" correctly.
1103 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1104 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1105
1106 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1107
1108 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1109
1110 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1111
1112 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1113 after `=' is probably a new expression.
1114
1115 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1116
1117 * man.el (man-imenu-title): New option.
1118 (Man-mode-map): Add menu. (Bug#15722)
1119 (Man-mode): Add imenu to menu.
1120
1121 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1122
1123 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1124 specific in what the first arg can be: a non-keyword word,
1125 string/regexp/percent literal opener, opening paren, or unary
1126 operator followed directly by word.
1127
1128 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1129
1130 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1131 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1132 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1133 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1134 Remove vars, they do not apply any more.
1135 (prolog-mode-abbrev-table): Remove redundant declaration.
1136 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1137 (prolog-use-smie): Remove.
1138 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1139 supported by prolog-electric-if-then-else-flag.
1140 (prolog-mode-variables, prolog-menu): Use setq-local.
1141 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1142 Remove binding to `Backspace' since this key doesn't exist anyway.
1143 Remove bindings for electric self-inserting keys.
1144 (prog-mode): Assume it's defined.
1145 (prolog-post-self-insert): New function.
1146 (prolog-mode): Use it.
1147 (prolog-indent-line, prolog-indent-level)
1148 (prolog-find-indent-of-matching-paren)
1149 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1150 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1151 (prolog-goto-next-paren, prolog-in-string-or-comment)
1152 (prolog-tokenize, prolog-inside-mline-comment)
1153 (prolog-find-start-of-mline-comment): Remove functions.
1154 (prolog-find-unmatched-paren, prolog-clause-end)
1155 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1156 (prolog-electric--if-then-else): Rename from
1157 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1158 (prolog-tokenize-searchkey): Remove const.
1159 (prolog-clause-info): Use forward-sexp.
1160 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1161 (prolog-electric-if-then-else): Remove commands.
1162 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1163 for use in post-self-insert-hook.
1164 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1165 for use in post-self-insert-hook.
1166 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1167 for use in post-self-insert-hook.
1168 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1169 adapt it for use in post-self-insert-hook.
1170
1171 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1172
1173 * emacs-lisp/ert.el (ert-run-tests-interactively):
1174 Use `completing-read'. (Bug#9756)
1175
1176 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1177
1178 * simple.el (line-move): Call line-move-1 instead of
1179 line-move-visual when the current window hscroll is zero, but
1180 temporary-goal-column indicates we will need to hscroll as result
1181 of the movement. (Bug#15712)
1182
1183 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1184
1185 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1186 capitalization. Use :visible instead of :active.
1187 Fix `ruby-indent-exp' reference. Add menu items for the generic
1188 commands that are used with SMIE.
1189 (ruby-do-end-to-brace): Insert space after `{'.
1190
1191 2013-10-25 John Anthony <john@jo.hnanthony.com>
1192
1193 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1194
1195 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1196
1197 2013-10-25 Glenn Morris <rgm@gnu.org>
1198
1199 * vc/vc.el (vc-print-log): Don't use a working revision unless
1200 one was explicitly specified. (Bug#15322)
1201
1202 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 * subr.el (add-to-list): Preserve return value in compiler-macro
1205 (bug#15692).
1206
1207 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1208
1209 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1210 result. Ask user to retry using '-all' flag. (Bug#15701)
1211
1212 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1213
1214 * emacs-lisp/smie.el: New smie-config system.
1215 (smie-config): New defcustom.
1216 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1217 (smie-config-guess, smie-config-save): New commands.
1218 (smie-config--mode-local, smie-config--buffer-local)
1219 (smie-config--trace, smie-config--modefuns): New vars.
1220 (smie-config--advice, smie-config--mode-hook)
1221 (smie-config--setter, smie-config-local, smie-config--get-trace)
1222 (smie-config--guess-value, smie-config--guess): New functions.
1223 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1224 text properties. Treat "string fence" syntax like string syntax.
1225
1226 * progmodes/sh-script.el (sh-use-smie): Change default.
1227 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1228 (sh-var-value): Simplify by CSE.
1229 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1230 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1231 is used.
1232 (sh-guess-basic-offset): Use cl-incf.
1233 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1234
1235 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1236
1237 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1238 (bug#15699).
1239
1240 2013-10-24 Glenn Morris <rgm@gnu.org>
1241
1242 * Makefile.in (abs_top_srcdir): Remove.
1243 (update-subdirs): Use relative path to update-subdirs.
1244
1245 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1246
1247 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1248 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1249 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1250 Call unmsys--file-name before expand-file-name, not after it.
1251
1252 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1253
1254 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1255 (ert-test-skipped): New error.
1256 (ert-skip, ert-stats-skipped): New defuns.
1257 (ert--skip-unless): New macro.
1258 (ert-test-skipped): New struct.
1259 (ert--run-test-debugger, ert-test-result-type-p)
1260 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1261 (ert--stats-set-test-and-result, ert-char-for-test-result)
1262 (ert-string-for-test-result, ert-run-tests-batch)
1263 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1264 Handle skipped tests. (Bug#9803)
1265
1266 2013-10-24 Glenn Morris <rgm@gnu.org>
1267
1268 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1269
1270 * Makefile.in (abs_top_srcdir): New, set by configure.
1271 (update-subdirs): Correct build-aux location.
1272
1273 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1274
1275 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1276 value, whether we could auto-deduce `backend', or not.
1277
1278 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1279 with parameters" example. Simplify the "is it block or is it
1280 hash" check, but also make it more thorough.
1281
1282 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1283
1284 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1285
1286 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1287
1288 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1289 { if it is hanging.
1290
1291 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1292 :before ";".
1293
1294 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1295
1296 * progmodes/compile.el (compilation-directory-matcher)
1297 (compilation-page-delimiter):
1298 Support GNU Make-4.0 directory quoting. (Bug#15678)
1299
1300 2013-10-23 Leo Liu <sdl.web@gmail.com>
1301
1302 * ido.el (ido-tidy): Handle read-only text.
1303
1304 2013-10-23 Glenn Morris <rgm@gnu.org>
1305
1306 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1307 (emacs, compile, compile-always):
1308 Quote entities that might contain whitespace.
1309 (custom-deps, finder-data, autoloads): Use abs_lisp.
1310 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1311 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1312 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1313
1314 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1315
1316 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1317 Use `following-char'.
1318
1319 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1320
1321 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1322 * progmodes/ruby-mode.el (ruby-smie-rules):
1323 Remove corresponding workaround. Fix indentation rule of ";" so it
1324 also applies when ";" is the parent.
1325
1326 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1327
1328 * frame.el (display-screens, display-pixel-height)
1329 (display-pixel-width, display-mm-width, display-backing-store)
1330 (display-save-under, display-planes, display-color-cells)
1331 (display-visual-class, display-monitor-attributes-list):
1332 Mention the optional ‘display’ argument in doc strings.
1333
1334 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1335
1336 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1337 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1338
1339 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1340
1341 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1342 TODO. Add "." after " @ ".
1343 (ruby-smie--at-dot-call): New function. Checks if point at method
1344 call with explicit target.
1345 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1346 to the method name tokens when it precedes them.
1347 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1348 (ruby-smie-rules): Add rule for indentation before and after "."
1349 token.
1350
1351 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * textmodes/remember.el (remember-diary-extract-entries):
1354 Avoid add-to-list.
1355
1356 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1357 an instruction.
1358
1359 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1360
1361 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1362 (ruby-smie--implicit-semi-p): Add new operator chars.
1363
1364 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1365 `smie-down-list'.
1366 (ruby-smie--args-separator-p): Check that there's no newline
1367 between method call and its arguments.
1368
1369 2013-10-20 Alan Mackenzie <acm@muc.de>
1370
1371 Allow comma separated lists after Java "implements".
1372
1373 * progmodes/cc-engine.el (c-backward-over-enum-header):
1374 Parse commas.
1375 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1376 from a "disallowed" list in enum fontification.
1377
1378 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1379
1380 * startup.el (default-frame-background-mode): Remove unused defvar.
1381
1382 * progmodes/verilog-mode.el (verilog-mode): Don't set
1383 comment-indent-function globally.
1384
1385 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1386
1387 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1388 Move Info menu item creation to ns-win.el.
1389
1390 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1391 in menu bar.
1392
1393 * menu-bar.el: Move GNUStep specific menus...
1394
1395 * term/ns-win.el (ns-initialize-window-system): ... to here.
1396
1397 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * simple.el (newline): Only run post-self-insert-hook when
1400 called interactively.
1401
1402 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1403
1404 * icomplete.el (icomplete-with-completion-tables): Add :version.
1405
1406 2013-10-19 Alan Mackenzie <acm@muc.de>
1407
1408 Fix fontification bugs with constructors and const.
1409
1410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1411 CASE 2) Remove the check for the absence of a suffix construct
1412 after a function declaration with only types (no identifiers) in
1413 the parentheses. Also, accept a function declaration with just a
1414 type inside the parentheses, if this type can be positively
1415 recognised as such, or if a prefix keyword like "explicit" nails
1416 down the construct as a declaration.
1417
1418 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1419
1420 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1421 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1422 the problem whereby selecting a menu item that leads to a
1423 minibuffer prompt moves the cursor out of the minibuffer window,
1424 making it hard to type at the prompt. Suggested by Stefan Monnier
1425 <monnier@iro.umontreal.ca>.
1426
1427 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1428
1429 * menu-bar.el: Don't make Services menu.
1430
1431 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1432
1433 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1434 (ffap-alist): Use ffap-c++-mode for c++-mode.
1435 (ffap-c++-path): New variable.
1436 (ffap-c++-mode): New function.
1437
1438 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1439
1440 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1441
1442 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1443
1444 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1445 introduced on 2013-09-08, which results in an infinite loop
1446 requesting a password.
1447
1448 2013-10-18 Glenn Morris <rgm@gnu.org>
1449
1450 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1451
1452 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1453
1454 Sync with upstream verilog-mode revision 1a6ecec7.
1455 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1456 (verilog-mode-release-date): Remove.
1457 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1458 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1459 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1460 (verilog-auto-tieoff-ignore-regexp)
1461 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1462 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1463 (verilog-signals-with, verilog-dir-cache-preserving)
1464 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1465 Doc fixes.
1466 (verilog-case-fold): New option, to control case folding in
1467 regexp searches, bug597.
1468 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1469 (verilog-string-match-fold, verilog-in-paren-count)
1470 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1471 (verilog-at-close-struct-p): New functions.
1472 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1473 (verilog-forward-sexp, verilog-set-auto-endcomments):
1474 (verilog-leap-to-case-head): Handle "unique0" case.
1475 (verilog-in-constraint-re): New constant.
1476 (verilog-keywords, verilog-type-font-keywords):
1477 Add some SystemVerilog 1800-2012 keywords.
1478 (verilog-label-be): Remove unimplemented argument, bug669.
1479 (verilog-batch-execute-func): When batch expanding clear
1480 create-lockfiles to prevent spurious user locks when a file ends
1481 up not changing.
1482 (verilog-calculate-indent, verilog-calc-1)
1483 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1484 (verilog-do-indent): Fix indentation of nested constraints
1485 and structures.
1486 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1487 (verilog-auto-inst-param): Use verilog-string-match-fold.
1488 (verilog-read-inst-module-matcher):
1489 Fix AUTOINST on gate primitives with #1.
1490 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1491 Reads all user-defined typed variables.
1492 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1493 (verilog-signals-matching-regexp)
1494 (verilog-signals-not-matching-regexp, verilog-auto):
1495 Respect verilog-case-fold.
1496 (verilog-diff-report): Fix line count.
1497 (verilog-auto-assign-modport): Remove unused local `modi'.
1498 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1499 better handle multidimensional arrays.
1500 Fix packed array ports misadding bit index in AUTOINST, bug637.
1501 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1502 to not double-declare existing outputs and inputs, respectively.
1503 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1504 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1505 (verilog-sk-uvm-component): New skeleton.
1506 (verilog-submit-bug-report): Add verilog-case-fold,
1507 remove verilog-mode-release-date.
1508
1509 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1510
1511 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1512 as before.
1513
1514 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1515
1516 * textmodes/remember.el (remember): set buffer-offer-save in
1517 remember buffers (bug#13566).
1518
1519 2013-10-18 Daniel Colascione <dancol@dancol.org>
1520
1521 When evaluating forms in ielm, direct standard output to ielm
1522 buffer. Add new ielm-return-for-effect command. Remove trailing
1523 whitespace throughout.
1524
1525 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1526 (ielm-return-for-effect): New command.
1527 (ielm-send-input): Accept optional `for-effect' parameter.
1528 (ielm-eval-input): Accept optional `for-effect' parameter.
1529 Bind `standard-output' to stream we create using
1530 `ielm-standard-output-impl'. Suppress printing result when
1531 `for-effect'.
1532 (ielm-standard-output-impl): New function.
1533 (inferior-emacs-lisp-mode): Explain new features in documentation.
1534
1535 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1536
1537 Code cleanup.
1538
1539 * net/tramp.el (tramp-debug-message): Do not check for connection
1540 buffer.
1541 (tramp-message): Use "vector" connection property.
1542
1543 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1544 (tramp-equal-remote, tramp-eshell-directory-change)
1545 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1546 (tramp-adb-handle-rename-file)
1547 * net/tramp-cmds.el (tramp-list-remote-buffers)
1548 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1549 * net/tramp-compat.el (tramp-compat-process-running-p)
1550 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1551 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1552 (tramp-gvfs-handle-rename-file)
1553 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1554 (tramp-set-file-uid-gid)
1555 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1556 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1557 of `file-remote-p'.
1558
1559 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1560 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1561 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1562 (tramp-gw-open-network-stream): Suppress unrelated traces.
1563
1564 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1565 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1566 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1567 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1568 connection property.
1569
1570 * net/tramp-cache.el (top): Suppress traces when reading
1571 persistency file.
1572
1573 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1574 Refactor common code. Improve debug message.
1575 (tramp-maybe-open-connection)
1576 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1577 connection buffer too early.
1578
1579 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1580 from `tramp-smb-actions-with-acl'.
1581 (tramp-smb-actions-set-acl): New defconst.
1582 (tramp-smb-handle-copy-directory)
1583 (tramp-smb-action-get-acl): New defun, renamed from
1584 `tramp-smb-action-with-acl'.
1585 (tramp-smb-action-set-acl): New defun.
1586 (tramp-smb-handle-set-file-acl): Rewrite.
1587
1588 2013-10-17 Glenn Morris <rgm@gnu.org>
1589
1590 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1591
1592 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * skeleton.el (skeleton-newline): Remove.
1595 (skeleton-internal-1): Use (insert "\n") instead.
1596
1597 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1598 let-bindings.
1599
1600 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1601 forward-sexp-function while we redo its job (bug#15613).
1602
1603 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1604
1605 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1606 represented by lists.
1607
1608 2013-10-16 Glenn Morris <rgm@gnu.org>
1609
1610 * tmm.el (tmm--history): New dynamic variable.
1611 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1612
1613 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1614
1615 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1616 (tramp-smb-errors): Add error messages.
1617 (tramp-smb-actions-with-acl): New defconst.
1618 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1619 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1620 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1621 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1622 (tramp-smb-get-stat-capability): Fix tests.
1623
1624 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1625
1626 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1627 (bug#15580).
1628
1629 2013-10-16 Glenn Morris <rgm@gnu.org>
1630
1631 * ansi-color.el (ansi-color-drop-regexp):
1632 Add 1J, 1K, 2K. (Bug#15617)
1633
1634 * files.el (hack-local-variables--warned-lexical): New.
1635 (hack-local-variables):
1636 Warn about misplaced lexical-binding. (Bug#15616)
1637
1638 * net/eww.el (eww-render): Always set eww-current-url,
1639 and update header line. (Bug#15622)
1640 (eww-display-html): ... Rather than just doing it here.
1641
1642 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1643
1644 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1645 menu navigations commands.
1646
1647 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1648
1649 * progmodes/subword.el (subword-capitalize): Be careful when
1650 the search for [[:alpha:]] fails (bug#15580).
1651
1652 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1653
1654 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1655 to commands that scroll the menu.
1656
1657 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1658
1659 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1660 Handle methods ending with `?' and `!'.
1661
1662 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1663
1664 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1665 `japanese-cp932' to `cp932' to fix the problem where saving a
1666 source file written in Shift_JIS twice would end up having
1667 `coding: japanese-cp932' which Ruby could not recognize.
1668 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1669 in `ruby-encoding-map'.
1670 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1671 doesn't need to be explicitly declared in magic comment.
1672 (ruby-encoding-map): Add type declaration for better customize UI.
1673
1674 2013-10-13 Glenn Morris <rgm@gnu.org>
1675
1676 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1677 Occur buffers are read-only. http://bugs.debian.org/720775
1678
1679 * emacs-lisp/authors.el (authors-fixed-entries):
1680 Comment out old alpha stuff.
1681
1682 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1683
1684 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1685 to `after-save-hook' instead of `before-save-hook'.
1686 (ruby-mode-set-encoding): Use the value of coding system used to
1687 write the file. Call `basic-save-buffer-1' after modifying the
1688 buffer.
1689
1690 2013-10-13 Alan Mackenzie <acm@muc.de>
1691
1692 Fix indentation/fontification of Java enum with
1693 "implements"/generic.
1694
1695 * progmodes/cc-engine.el (c-backward-over-enum-header):
1696 Extracted from the three other places and enhanced to handle generics.
1697 (c-inside-bracelist-p): Uses new function above.
1698 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1699 function above.
1700 (c-font-lock-enum-tail): Uses new function above.
1701
1702 2013-10-13 Kenichi Handa <handa@gnu.org>
1703
1704 * international/mule-cmds.el (select-safe-coding-system): Remove a
1705 superfluous condition in chekcing whether a coding system is safe
1706 or not.
1707
1708 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1709
1710 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1711
1712 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1713
1714 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1715
1716 2013-10-13 Glenn Morris <rgm@gnu.org>
1717
1718 * menu-bar.el (menu-bar-update-buffers):
1719 Unify Buffers menu prompt string. (Bug#15576)
1720
1721 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1722
1723 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1724 Add some entries.
1725 (authors-fixed-entries): Use accented form of name.
1726
1727 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1730 method calls (bug#15594).
1731 (ruby-smie--args-separator-p): New function.
1732 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1733 recognize paren-free method calls.
1734
1735 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1736 internals of universal-argument.
1737
1738 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1739
1740 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1741 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1742 dropped menu on second mouse click on the menu bar.
1743
1744 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1747 (explicit-shell-file-name): Declare.
1748 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1749 (sh-completion-at-point-function): New function.
1750 (sh-mode): Use it.
1751 (sh-smie--keyword-p): Remove unused argument.
1752 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1753 vars.
1754 (sh-set-shell): Always setup SMIE, even if we use the
1755 old indentation code.
1756
1757 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1758
1759 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1760 cases of ? and =.
1761 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1762 predicate would return nil are almost non-existent.
1763 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1764
1765 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1766 cache also after commands that modify the buffer but don't move
1767 point.
1768
1769 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * env.el (substitute-env-in-file-name): New function.
1772 (substitute-env-vars): Extend the meaning of the optional arg.
1773
1774 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1775
1776 * term/w32-win.el (dynamic-library-alist): Define separate lists
1777 of GIF DLLs for versions before and after 5.0.0 of giflib.
1778 (Bug#15531)
1779
1780 2013-10-10 João Távora <joaotavora@gmail.com>
1781
1782 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1783 not locked, use last revision and current source as
1784 defaults. (Bug#15569)
1785
1786 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1787
1788 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1789 menu-bar is hidden.
1790
1791 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1792
1793 * window.el (pop-to-buffer-same-window): Fix doc-string.
1794 (Bug#15492)
1795
1796 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1797
1798 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1799
1800 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1801
1802 * calendar/icalendar.el (icalendar-import-file):
1803 Fix interactive spec. (Bug#15482)
1804
1805 2013-10-10 Glenn Morris <rgm@gnu.org>
1806
1807 * desktop.el (desktop-save): Default to saving in .emacs.d,
1808 since PWD is no longer in desktop-path by default. (Bug#15319)
1809
1810 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1811 now that text mode has a menu with the same entry.
1812 (menu-bar-text-mode-auto-fill): Remove now unused func.
1813 * textmodes/text-mode.el (text-mode-map):
1814 Use auto-fill help text from menu-bar.el.
1815
1816 2013-10-10 John Anthony <john@jo.hnanthony.com>
1817
1818 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1819
1820 2013-10-09 Juri Linkov <juri@jurta.org>
1821
1822 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1823 instead of this-command-keys. Add universal-argument-more and
1824 universal-argument-minus to the list of prefix commands. (Bug#15568)
1825
1826 2013-10-09 Glenn Morris <rgm@gnu.org>
1827
1828 * vc/vc-svn.el (vc-svn-create-repo):
1829 Expand paths in file://... url. (Bug#15446)
1830
1831 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1832 Add some entries.
1833 (authors): Remove unused local variables.
1834
1835 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * profiler.el: Create a more coherent calltree from partial backtraces.
1838 (profiler-format): Hide the tail with `invisible' so that C-s can still
1839 find the hidden elements.
1840 (profiler-calltree-depth): Don't recurse so enthusiastically.
1841 (profiler-function-equal): New hash-table-test.
1842 (profiler-calltree-build-unified): New function.
1843 (profiler-calltree-build): Use it.
1844 (profiler-report-make-name-part): Indent the calltree less.
1845 (profiler-report-mode): Add visibility specs for profiler-format.
1846 (profiler-report-expand-entry, profiler-report-toggle-entry):
1847 Expand the whole subtree when provided with a prefix arg.
1848
1849 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1850
1851 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1852 iuwu-mod token.
1853 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1854 hanging iuwu-mod token.
1855 (ruby-smie--forward-token): Do not include a dot after a token in
1856 that token.
1857 (ruby-smie--backward-token): Likewise.
1858
1859 2013-10-08 Juri Linkov <juri@jurta.org>
1860
1861 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1862 to isearch-other-control-char.
1863 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1864 and isearch-post-command-hook to post-command-hook.
1865 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1866 and isearch-post-command-hook from post-command-hook.
1867 (isearch-unread-key-sequence)
1868 (isearch-reread-key-sequence-naturally)
1869 (isearch-lookup-scroll-key, isearch-other-control-char)
1870 (isearch-other-meta-char): Remove functions.
1871 (isearch-pre-command-hook, isearch-post-command-hook):
1872 New functions based on isearch-other-meta-char rewritten
1873 relying on the new behavior of overriding-terminal-local-map
1874 that does not replace the local keymaps any more. (Bug#15200)
1875
1876 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1877
1878 Support menus on text-mode terminals.
1879 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1880 functionality.
1881
1882 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1883
1884 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1885 Move here from mouse.el.
1886 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1887 and arrow keys.
1888 (tty-menu-navigation-map): New map for TTY menu navigation.
1889
1890 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1891
1892 * frame.el (display-mouse-p): Report text-mode mouse as available
1893 on w32.
1894 (display-popup-menus-p): Report availability if mouse is
1895 available; don't condition on window-system.
1896
1897 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1898 (tty-menu-selected-face): New faces.
1899
1900 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1903 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1904 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1905 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1906 New constants.
1907 (lisp-mode-variables): New `elisp' argument.
1908 (emacs-lisp-mode): Use it.
1909 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1910 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1911
1912 * indent.el: Use lexical-binding.
1913 (indent-region): Add progress reporter.
1914 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1915 last step.
1916 (indent--next-tab-stop): New function to implement this behavior.
1917 (tab-to-tab-stop, move-to-tab-stop): Use it.
1918
1919 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1920
1921 * indent.el (indent-rigidly--current-indentation): New function.
1922 (indent-rigidly-map): New var.
1923 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1924
1925 2013-10-08 Bastien Guerry <bzg@gnu.org>
1926
1927 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1928
1929 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * progmodes/perl-mode.el: Use lexical-binding.
1932 Remove redundant :group args.
1933 (perl-nochange): Change default to be closer to other major modes's
1934 standard behavior.
1935 (perl-indent-line): Don't consider text on current line as a
1936 valid beginning of function from which to indent.
1937
1938 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1939 with more than one argument (bug#15538).
1940
1941 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1942
1943 * vc/pcvs.el: Use lexical-binding.
1944 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1945 environment of `eval'.
1946 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1947 than a list of expressions. Adjust callers.
1948 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1949
1950 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1951
1952 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1953 case of the dot in a chained method call being on the following line.
1954
1955 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1956
1957 * electric.el (electric-indent-inhibit): New var.
1958 (electric-indent-post-self-insert-function): Use it.
1959 * progmodes/python.el (python-mode): Set it.
1960
1961 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1962 open braces.
1963
1964 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1965
1966 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1967 (css-mode): Use electric-indent-chars.
1968
1969 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1970 (font-lock-beg, font-lock-end): Move before first use.
1971 (nxml-mode): Use syntax-propertize-function.
1972 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1973 (nxml-extend-after-change-region): Remove.
1974 * nxml/xmltok.el: Use lexical-binding.
1975 (xmltok-save): Use `declare'.
1976 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1977 * nxml/nxml-util.el: Use lexical-binding.
1978 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1979 Use `declare'.
1980 * nxml/nxml-ns.el: Use lexical-binding.
1981 (nxml-ns-save): Use `declare'.
1982 (nxml-ns-prefixes-for): Avoid add-to-list.
1983 * nxml/rng-match.el: Use lexical-binding.
1984 (rng--ipattern): Use cl-defstruct.
1985 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1986 (rng-cons-group-after, rng-subst-group-after)
1987 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1988 Use closures instead of `(lambda...).
1989
1990 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1993 of BEG and END.
1994
1995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1996 Use `tramp-handle-insert-file-contents'.
1997 (tramp-gvfs-handle-insert-file-contents): Remove function.
1998
1999 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2000 Use `save-restriction' in order to keep markers.
2001
2002 * net/trampver.el: Update release number.
2003
2004 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * progmodes/compile.el (compilation-parse-errors):
2007 Use compilation--put-prop.
2008 (compilation--ensure-parse): Check compilation-multiline.
2009
2010 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2011
2012 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2013 lexical-binding.
2014
2015 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2016
2017 * progmodes/ruby-mode.el: Fix recently added tests.
2018 (ruby-smie-grammar): Add - and +.
2019 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2020 (ruby-smie--backward-id): New functions.
2021 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2022 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2023 any more.
2024
2025 2013-10-07 Leo Liu <sdl.web@gmail.com>
2026
2027 * register.el (register-preview-delay)
2028 (register-preview-functions): New variables.
2029 (register-read-with-preview, register-preview)
2030 (register-describe-oneline): New functions.
2031 (point-to-register, window-configuration-to-register)
2032 (frame-configuration-to-register, jump-to-register)
2033 (number-to-register, view-register, insert-register)
2034 (copy-to-register, append-to-register, prepend-to-register)
2035 (copy-rectangle-to-register): Use register-read-with-preview to
2036 read register. (Bug#15525)
2037
2038 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2039
2040 * net/network-stream.el (network-stream-open-starttls): Don't add
2041 --insecure if it's already present, because that gnutls-cli
2042 rejects getting that parameter twice.
2043
2044 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2047 keyword, too.
2048
2049 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2050
2051 * newcomment.el (comment-use-global-state): Change default value
2052 to t, mark obsolete (Bug#15251).
2053 (comment-beginning): In addition to `comment-to-syntax', check the
2054 value of `comment-use-global-state'.
2055
2056 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2057
2058 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2059 (ruby-comment-column): Follow the global default, by default.
2060 (ruby-smie-grammar): Add assignment syntax.
2061 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2062 open-paren, a comma, or a \.
2063 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2064 and line continuations.
2065 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2066 followed by implicit semi-colons. Add rule for string concatenation
2067 and for indentation at BOB.
2068 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2069
2070 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2071 calling next-sexp, since next-token may have skipped chars which
2072 next-sexp doesn't know should be skipped!
2073
2074 2013-10-05 Leo Liu <sdl.web@gmail.com>
2075
2076 * progmodes/octave.el (octave-send-region):
2077 Call compilation-forget-errors.
2078
2079 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2080
2081 * vc/vc-svn.el (vc-svn-find-admin-dir):
2082 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2083 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2084 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2085 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2086
2087 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2090
2091 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * subr.el (read-passwd): Hide chars even when called within a context
2094 where after-change-functions is disabled (bug#15501).
2095 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2096 until we removed ourself from overriding-terminal-local-map.
2097
2098 2013-10-04 Leo Liu <sdl.web@gmail.com>
2099
2100 * progmodes/octave.el (inferior-octave-mode):
2101 Call compilation-forget-errors.
2102
2103 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2104
2105 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2106
2107 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2108
2109 * net/secrets.el (secrets-create-collection): Add optional
2110 argument ALIAS. Use proper Label keyword. Append ALIAS as
2111 dbus-call-method argument. (Bug#15516)
2112
2113 2013-10-04 Leo Liu <sdl.web@gmail.com>
2114
2115 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2116 (inferior-octave-compilation-font-lock-keywords): New variables.
2117 (compilation-error-regexp-alist)
2118 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2119 (inferior-octave-mode): Use compilation-shell-minor-mode.
2120
2121 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2122
2123 * minibuffer.el (completion--replace): Be careful that `end' might be
2124 a marker.
2125
2126 2013-10-03 Daiki Ueno <ueno@gnu.org>
2127
2128 Add support for package signature checking.
2129 * emacs-lisp/package.el (url-http-file-exists-p)
2130 (epg-make-context, epg-context-set-home-directory)
2131 (epg-verify-string, epg-context-result-for)
2132 (epg-signature-status, epg-signature-to-string)
2133 (epg-check-configuration, epg-configuration)
2134 (epg-import-keys-from-file): Declare.
2135 (package-check-signature): New user option.
2136 (package-unsigned-archives): New user option.
2137 (package-desc): Add `signed' field.
2138 (package-load-descriptor): Set `signed' field if .signed file exists.
2139 (package--archive-file-exists-p): New function.
2140 (package--check-signature): New function.
2141 (package-install-from-archive): Check package signature.
2142 (package--download-one-archive): Check archive signature.
2143 (package-delete): Remove .signed file.
2144 (package-import-keyring): New command.
2145 (package-refresh-contents): Import default keyring.
2146 (package-desc-status): Add "unsigned" status.
2147 (describe-package-1, package-menu--print-info)
2148 (package-menu-mark-delete, package-menu--find-upgrades)
2149 (package-menu--status-predicate): Support "unsigned" status.
2150
2151 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2154 the new compilation scheme using the new byte-codes.
2155
2156 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2157 (byte-pophandler): New byte codes.
2158 (byte-goto-ops): Adjust accordingly.
2159 (byte-compile--use-old-handlers): New var.
2160 (byte-compile-catch): Use new byte codes depending on
2161 byte-compile--use-old-handlers.
2162 (byte-compile-condition-case--old): Rename from
2163 byte-compile-condition-case.
2164 (byte-compile-condition-case--new): New function.
2165 (byte-compile-condition-case): New function that dispatches depending
2166 on byte-compile--use-old-handlers.
2167 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2168 when we can.
2169
2170 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2171 Optimize under `condition-case' and `catch' if
2172 byte-compile--use-old-handlers is nil.
2173 (disassemble-offset): Handle new bytecodes.
2174
2175 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * subr.el (error): Use `declare'.
2178 (decode-char, encode-char): Use advertised-calling-convention instead
2179 of the docstring to discourage use of the `restriction' arg.
2180
2181 2013-10-03 Daiki Ueno <ueno@gnu.org>
2182
2183 * epg.el (epg-verify-file): Add a comment saying that it does not
2184 notify verification error as a return value nor a signal.
2185 (epg-verify-string): Ditto.
2186
2187 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2188
2189 * progmodes/compile.el (compilation-start): Try globbing the arg to
2190 `cd' (bug#15417).
2191
2192 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2193
2194 Sync with Tramp 2.2.8.
2195
2196 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2197 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2198 * net/trampver.el: Update release number.
2199
2200 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2201
2202 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2203 and default-process-coding-system for darwin only.
2204
2205 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2206
2207 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2208
2209 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2210
2211 * vc/vc-git.el (vc-git-grep): Disable pager.
2212
2213 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2214
2215 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2216 Use :url instead of :homepage, as per
2217 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2218
2219 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2220 non-nil, use `syntax-ppss' (Bug#15251).
2221
2222 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2223
2224 * progmodes/octave.el (inferior-octave-startup-file):
2225 Prefer ~/.emacs.d/init_octave.m.
2226
2227 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 * emacs-lisp/package.el (package-desc-from-define):
2230 Accept additional arguments as plist, convert them to an alist and store
2231 them in the `extras' slot.
2232 (package-generate-description-file): Convert extras alist back to
2233 plist and append to the `define-package' form arguments.
2234 (package--alist-to-plist): New function.
2235 (package--ac-desc): Add `extras' slot.
2236 (package--add-to-archive-contents): Check if the archive-contents
2237 vector is long enough, and if it is, pass its `extras' slot value
2238 to `package-desc-create'.
2239 (package-buffer-info): Call `lm-homepage', pass the returned value
2240 to `package-desc-from-define'.
2241 (describe-package-1): Render the homepage button (Bug#13291).
2242
2243 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2244 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2245
2246 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2247
2248 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2249 and default-process-coding-system to utf-8-unix (Bug#15402).
2250
2251 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2252
2253 * subr.el (looking-back): Do not recommend using looking-back.
2254
2255 2013-09-28 Alan Mackenzie <acm@muc.de>
2256
2257 Fix indentation/fontification of Java enum with "implements".
2258
2259 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2260 regexp which matches "implements", etc., in Java.
2261 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2262 specifier clauses coming after "enum".
2263 * progmodes/cc-fonts.el (c-font-lock-declarations)
2264 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2265 after "enum".
2266
2267 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2268
2269 * faces.el (region): Change ns_selection_color to
2270 ns_selection_fg_color, add ns_selection_bg_color.
2271
2272 2013-09-28 Leo Liu <sdl.web@gmail.com>
2273
2274 * progmodes/octave.el (inferior-octave-completion-table)
2275 (inferior-octave-completion-at-point): Minor tweaks.
2276
2277 * textmodes/ispell.el (ispell-lookup-words): Rename from
2278 lookup-words. (Bug#15460)
2279 (lookup-words): Obsolete.
2280 (ispell-complete-word, ispell-command-loop): All uses changed.
2281
2282 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2283
2284 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2285 (octave-mode-menu): Add octave-send-buffer.
2286 (octave-send-buffer): New function.
2287
2288 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2289
2290 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2291 octave-lookfor.
2292 (octave-mode-menu): Add octave-lookfor.
2293 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2294 octave-lookfor.
2295 (octave-lookfor): New function.
2296
2297 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * emacs-lisp/cl-macs.el:
2300 (cl--loop-destr-temps): Remove.
2301 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2302 its convention.
2303 (cl--loop-set-iterator-function): New function.
2304 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2305 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2306 Bind `it' with `let' instead of substituting it with `cl-subst'.
2307 (cl--unused-var-p): New function.
2308 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2309 Eliminate some unused variable warnings (bug#15326).
2310
2311 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2312
2313 * doc-view.el (doc-view-scale-reset): Rename from
2314 `doc-view-reset-zoom-level'.
2315 (doc-view-scale-adjust): New command.
2316 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2317 `doc-view-scale-adjust'.
2318
2319 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2320
2321 * doc-view.el (doc-view-reset-zoom-level): New command.
2322 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2323 zoom commands (bug#15466).
2324
2325 2013-09-26 Kenichi Handa <handa@gnu.org>
2326
2327 * international/quail.el (quail-help): Make it not a command.
2328
2329 2013-09-26 Leo Liu <sdl.web@gmail.com>
2330
2331 * minibuffer.el (completion-all-sorted-completions): Make args
2332 optional as they are.
2333
2334 2013-09-25 Daniel Colascione <dancol@dancol.org>
2335
2336 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2337 specs are and that they're not evaluated.
2338
2339 2013-09-24 Sam Steingold <sds@gnu.org>
2340
2341 * midnight.el (clean-buffer-list-kill-regexps)
2342 (clean-buffer-list-kill-buffer-names): Update for the new Man
2343 buffer naming which includes the object name.
2344
2345 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2346
2347 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2348 (eshell-parse-command, eshell-parse-pipeline): Use it since
2349 eshell-separate-commands requires a dynamic scoped var.
2350 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2351
2352 2013-09-23 Leo Liu <sdl.web@gmail.com>
2353
2354 * autoinsert.el (auto-insert-alist): Make the value of
2355 lexical-binding match its file setting.
2356
2357 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2358
2359 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2360
2361 * autoarg.el (autoarg-kp-digit-argument):
2362 * electric.el (Electric-command-loop):
2363 * kmacro.el (kmacro-step-edit-insert):
2364 Do not set universal-argument-num-events.
2365
2366 2013-09-22 Leo Liu <sdl.web@gmail.com>
2367
2368 * files.el (interpreter-mode-alist): Add octave.
2369
2370 2013-09-21 Alan Mackenzie <acm@muc.de>
2371
2372 C++: fontify identifier in declaration following "public:" correctly.
2373 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2374 to match "public", etc.
2375 (c-decl-prefix-re): Add ":" into the C++ value.
2376 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2377 bit. Add a check for a ":" preceded by "public", etc.
2378
2379 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2380
2381 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2382 recognized by GDB 7.5 and later.
2383
2384 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2385
2386 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2387
2388 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * subr.el (internal--call-interactively): New const.
2391 (called-interactively-p): Use it (bug#3984).
2392
2393 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2394
2395 * vc/pcvs.el (cvs-mode-ignore):
2396 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2397 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2398
2399 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2402 (eshell-ls-orig-insert-directory): Remove.
2403 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2404 (eshell-ls-use-in-dired): Use advice-add/remove.
2405 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2406 Add `orig-fun' arg for use in :around advice.
2407 Make it check (redundantly) eshell-ls-use-in-dired.
2408
2409 2013-09-19 Glenn Morris <rgm@gnu.org>
2410
2411 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2412
2413 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2414
2415 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2416
2417 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2418
2419 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2420 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2421 (tramp-get-remote-python): New defuns.
2422 (tramp-get-remote-uid-with-perl)
2423 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2424 contributed by yary <not.com@gmail.com> (tiny change).
2425 (tramp-get-remote-uid-with-python)
2426 (tramp-get-remote-gid-with-python): New defuns. Python code
2427 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2428 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2429
2430 2013-09-19 Glenn Morris <rgm@gnu.org>
2431
2432 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2433
2434 * eshell/em-unix.el (eshell-remove-entries):
2435 Rename argument to avoid name-clash with global `top-level'.
2436
2437 * eshell/esh-proc.el (eshell-kill-process-function):
2438 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2439 (eshell-reset-after-proc): Remove unused arg `proc'.
2440
2441 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2442 (directory-files-and-attributes): Mark unused arg.
2443
2444 * eshell/em-unix.el (eshell-remove-entries):
2445 Remove unused arg `path'. Update callers.
2446
2447 * eshell/em-hist.el (eshell-hist-parse-arguments):
2448 Remove unused arg `silent'. Update callers.
2449
2450 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2451 Fix (f)boundp mix-up.
2452
2453 * eshell/em-smart.el (eshell-smart-scroll-window)
2454 (eshell-disable-after-change):
2455 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2456
2457 2013-09-18 Alan Mackenzie <acm@muc.de>
2458
2459 Fix fontification of type when followed by "const".
2460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2461 "known" types from fontification.
2462
2463 2013-09-18 Glenn Morris <rgm@gnu.org>
2464
2465 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2466 (chart-face-list): Drop Emacsen without display-color-p.
2467
2468 * net/eww.el (libxml-parse-html-region): Declare.
2469 (eww-display-html): Explicit error if no libxml2 support.
2470
2471 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2472
2473 * image.el (image-type-from-buffer, image-multi-frame-p):
2474 Remove --without-x warning/error.
2475
2476 * mouse.el (mouse-yank-primary):
2477 * term.el (term-mouse-paste):
2478 Reorder to silence --without-x compilation.
2479
2480 * mpc.el (doc-view-mode): Silence --without-x compilation.
2481
2482 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2483 Silence --without-x compilation.
2484
2485 * progmodes/gud.el (gud-find-file, gud-mode):
2486 Silence --without-x compilation.
2487 (tooltip-mode): Declare.
2488
2489 * wdired.el (dired-backup-overwrite): Remove declaration.
2490 (wdired-mode-map): Add doc string.
2491
2492 * custom.el (x-get-resource): Declare.
2493
2494 * eshell/em-glob.el (ange-cache):
2495 * eshell/em-unix.el (ange-cache): Declare.
2496
2497 * faces.el (x-display-list, x-open-connection, x-get-resource):
2498 Declare.
2499
2500 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2501 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2502 Declare.
2503
2504 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2505
2506 * net/gnutls.el (gnutls-log-level): Declare.
2507
2508 * net/shr.el (image-size, image-animate): Declare.
2509
2510 * simple.el (font-info): Declare.
2511
2512 * subr.el (x-popup-dialog): Declare.
2513
2514 * term/common-win.el (x-select-enable-primary)
2515 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2516 Declare.
2517
2518 * term/ns-win.el (x-handle-args): Declare.
2519
2520 * term/x-win.el (x-select-enable-clipboard): Declare.
2521
2522 * term/w32-win.el (create-default-fontset): Declare.
2523
2524 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2525 Declare.
2526
2527 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2528 (fit-frame-to-buffer): Explicit error if --without-x.
2529 (mouse-autoselect-window-select): Silence compiler.
2530
2531 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2532
2533 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2534 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2535 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2536 * eshell/esh-util.el (eshell-sublist):
2537 Remove unused local variables.
2538
2539 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2540
2541 * textmodes/two-column.el: Make 2C-split work for --without-x.
2542 (scroll-bar-columns): Autoload.
2543 (top-level): Require fringe when compiling.
2544
2545 2013-09-18 Leo Liu <sdl.web@gmail.com>
2546
2547 * subr.el (add-hook): Robustify to handle closure as well.
2548
2549 2013-09-17 Glenn Morris <rgm@gnu.org>
2550
2551 * simple.el (messages-buffer-mode-map): Unbind "g".
2552
2553 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * help-mode.el (help-mode-finish): Use derived-mode-p.
2556 Remove obsolete highlighting.
2557
2558 * play/life.el (life-mode): Use define-derived-mode. Derive from
2559 special-mode.
2560 (life): Let-bind inhibit-read-only.
2561 (life-setup): Avoid `setq'. Use `life-mode'.
2562
2563 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2564 which should not be needed any more.
2565 (package-menu-refresh, package-menu-describe-package): Use user-error.
2566
2567 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2568 (eshell-post-rewrite-command-hook): Make obsolete.
2569 (eshell-parse-command): Simplify.
2570 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2571 (eshell--cmd): Declare.
2572 (eshell-parse-pipeline): Remove unused var `final-p'.
2573 Pass a dynvar to eshell-post-rewrite-command-hook.
2574 Implement the new eshell-post-rewrite-command-function.
2575 (eshell-invoke-directly): Remove unused arg `input'.
2576 * eshell/esh-io.el (eshell-io-initialize):
2577 Use eshell-post-rewrite-command-function (bug#15399).
2578 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2579 adjust to new calling convention.
2580 (eshell-create-handles): Rename args to avoid clashing with dynvar
2581 `standard-output'.
2582
2583 2013-09-17 Glenn Morris <rgm@gnu.org>
2584
2585 * simple.el (messages-buffer-mode): New major mode.
2586 (messages-buffer): New function.
2587 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2588 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2589 (ert-run-test): Use `messages-buffer' function.
2590 (ert--force-message-log-buffer-truncation): Ignore read-only.
2591 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2592 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2593
2594 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2597
2598 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2599
2600 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2601
2602 * icomplete.el (icomplete-in-buffer): New var.
2603 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2604 vars and replace them with functions.
2605 (icomplete-minibuffer-setup): Adjust accordingly.
2606 (icomplete--completion-table, icomplete--completion-predicate)
2607 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2608 New functions.
2609 (icomplete-forward-completions, icomplete-backward-completions)
2610 (icomplete-simple-completing-p, icomplete-exhibit)
2611 (icomplete-completions): Use them.
2612 (icomplete--in-region-buffer): New var.
2613 (icomplete--in-region-setup): New function.
2614 (icomplete-mode): Use it.
2615
2616 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2617 (bug#15379).
2618 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2619 return args and options.
2620 (eshell-eval-using-options): Use the new return value of
2621 eshell--do-opts to set the options's vars in their scope.
2622 (eshell--set-option): Rename from eshell-set-option.
2623 Add arg `opt-vals'.
2624 (eshell--process-option): Rename from eshell-process-option.
2625 Add arg `opt-vals'.
2626 (eshell--process-args): Use an `opt-vals' alist to store the options's
2627 values during their processing and return them additionally to the
2628 remaining args.
2629
2630 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2631
2632 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2633 continuation character an operator, as far as indentation is
2634 concerned (Bug#15369).
2635
2636 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2637
2638 * window.el (window--state-put-2): Don't process buffer state
2639 when buffer doesn't exist any more (Bug#15382).
2640
2641 2013-09-15 Glenn Morris <rgm@gnu.org>
2642
2643 * eshell/em-unix.el (eshell/rm):
2644 Make -f ignore missing files. (Bug#15373)
2645
2646 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2647 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2648 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2649
2650 2013-09-14 Glenn Morris <rgm@gnu.org>
2651
2652 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2653
2654 2013-09-13 Glenn Morris <rgm@gnu.org>
2655
2656 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2657 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2658
2659 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2660
2661 * frame.el (x-focus-frame): Mark as declared in frame.c.
2662
2663 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2664
2665 * ls-lisp.el: Use advice-add.
2666 (original-insert-directory): Remove.
2667 (ls-lisp--insert-directory): Rename from insert-directory; add
2668 `orig-fun' argument.
2669 (insert-directory): Advise.
2670
2671 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2672
2673 * term.el (term-emulate-terminal): Decode the command string
2674 before passing it to term-command-hook. (Bug#15337)
2675
2676 2013-09-13 Glenn Morris <rgm@gnu.org>
2677
2678 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2679
2680 * eshell/esh-ext.el (eshell-search-path): Declare.
2681
2682 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2683 Otherwise an error occurs if eshell-dirs module not loaded.
2684
2685 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2686
2687 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2690 `tramp-check-proper-host'. Check for a valid method name.
2691
2692 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2693 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2694 * net/tramp-sh.el (tramp-maybe-open-connection):
2695 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2696
2697 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2698 also for hash values.
2699
2700 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2701
2702 * term/ns-win.el (parameters): Don't declare as dynamic.
2703 (before-make-frame-hook): Don't add ineffective function.
2704
2705 * eshell/*.el: Use lexical-binding (bug#15231).
2706
2707 2013-09-12 Kenichi Handa <handa@gnu.org>
2708
2709 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2710
2711 2013-09-12 Glenn Morris <rgm@gnu.org>
2712
2713 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2714 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2715
2716 * subr.el (do-after-load-evaluation): Also give compiler warnings
2717 when obsolete files are used (except by obsolete files).
2718
2719 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2720 in the status output, assume `filename' is the first. (Bug#15322)
2721
2722 * vc/vc.el (vc-deduce-fileset): Doc fix.
2723
2724 * calc/calc-help.el (Info-goto-node):
2725 * progmodes/cperl-mode.el (Info-find-node):
2726 * vc/ediff.el (Info-goto-node): Update declarations.
2727
2728 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2729
2730 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2731 (vc-bzr-pull): Require vc-dispatcher.
2732 * vc/vc-git.el (vc-compilation-mode): Declare.
2733 (vc-git-pull): Require vc-dispatcher.
2734
2735 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2736
2737 * progmodes/octave.el (help-button-action): Declare.
2738
2739 * shell.el (shell-directory-tracker): Output error as a message
2740 rather than just returning it as a string.
2741 (shell-process-pushd): Remove useless use of message.
2742
2743 * dframe.el (dframe-timer-fn):
2744 * files.el (dir-locals-read-from-file):
2745 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2746 (mpc-format):
2747 * reveal.el (reveal-post-command):
2748 * saveplace.el (load-save-place-alist-from-file):
2749 * shell.el (shell-resync-dirs):
2750 * w32-common-fns.el (x-get-selection-value):
2751 * emacs-lisp/copyright.el (copyright-find-copyright):
2752 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2753 * emulation/tpu-edt.el (tpu-copy-keyfile):
2754 * play/bubbles.el (bubbles--mark-neighbourhood):
2755 * progmodes/executable.el
2756 (executable-make-buffer-file-executable-if-script-p):
2757 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2758
2759 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2760
2761 Cleanup Eshell to rely less on dynamic scoping.
2762 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2763 last-value, and ext-command here. Bind `args' closer to `body'.
2764 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2765 (eshell--args): Declare new dynamic var.
2766 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2767 last-value, and ext-command. Pass `args' to `body'.
2768 (eshell-process-args): Bind eshell--args.
2769 (eshell-set-option): Use eshell--args.
2770 * eshell/eshell.el (eshell): Use derived-mode-p.
2771 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2772 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2773 (eshell-glob-function): Declare.
2774 * eshell/esh-util.el: Require cl-lib.
2775 (eshell-read-hosts-file): Avoid add-to-list.
2776 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2777 `err'.
2778 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2779 Declare.
2780 (eshell/diff): Remove unused var `err'.
2781 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2782 `killflag'.
2783 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2784 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2785 first use.
2786 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2787 Move declaration before first use.
2788 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2789 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2790 rely on cl-return.
2791
2792 2013-09-12 Glenn Morris <rgm@gnu.org>
2793
2794 * term/ns-win.el (global-map): Remove binding for ispell-next,
2795 deleted 1999-05-29. (Bug#15357)
2796
2797 2013-09-11 Glenn Morris <rgm@gnu.org>
2798
2799 * echistory.el (electric-command-history): Remove call to deleted func.
2800
2801 * play/landmark.el (landmark-mode): Fix typos.
2802
2803 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2804 Check cvs-sort-ignore-file is bound.
2805
2806 * savehist.el: No need for cl when compiling on Emacs.
2807
2808 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2809
2810 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2811 (bug#15338).
2812 (eshell-self-insert-command, eshell-send-invisible):
2813 Remove unused argument.
2814 (eshell-handle-control-codes): Remove unused var `orig'.
2815 Avoid delete-backward-char.
2816
2817 * files.el (set-auto-mode): Simplify a bit further.
2818
2819 2013-09-11 Glenn Morris <rgm@gnu.org>
2820
2821 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2822 (set-auto-mode): Don't regexp-quote elements.
2823 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2824 * progmodes/cc-mode.el (interpreter-mode-alist):
2825 * progmodes/ruby-mode.el (interpreter-mode-alist):
2826 Revert previous change.
2827
2828 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2829
2830 * play/snake.el (snake-mode):
2831 * play/mpuz.el (mpuz-mode):
2832 * play/landmark.el (lm-mode):
2833 * play/blackbox.el (blackbox-mode):
2834 * play/5x5.el (5x5-mode):
2835 * obsolete/options.el (Edit-options-mode):
2836 * net/quickurl.el (quickurl-list-mode):
2837 * net/newst-treeview.el (newsticker-treeview-mode):
2838 * mail/rmailsum.el (rmail-summary-mode):
2839 * mail/mspools.el (mspools-mode):
2840 * locate.el (locate-mode):
2841 * ibuffer.el (ibuffer-mode):
2842 * emulation/ws-mode.el (wordstar-mode):
2843 * emacs-lisp/debug.el (debugger-mode):
2844 * array.el (array-mode):
2845 * net/eudc.el (eudc-mode): Use define-derived-mode.
2846 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2847 Move initialization into declaration.
2848 (mairix-searches-mode): Use define-derived-mode.
2849 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2850 (eudc-edit-hotlist): Use dolist.
2851 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2852 (Man-mode): Use define-derived-mode.
2853 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2854 (Info-edit-mode): Use define-derived-mode.
2855 (Info-cease-edit): Use Info-mode.
2856 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2857 into declaration.
2858 (eshell-mode): Use define-derived-mode.
2859 * chistory.el (command-history-mode-map): Rename from
2860 command-history-map.
2861 (command-history-mode): Use define-derived-mode.
2862 (Command-history-setup): Remove function.
2863 * calc/calc.el (calc-trail-mode-map): New var.
2864 (calc-trail-mode): Use define-derived-mode.
2865 (calc-trail-buffer): Set calc-main-buffer manually.
2866 * bookmark.el (bookmark-insert-annotation): New function.
2867 (bookmark-edit-annotation): Use it.
2868 (bookmark-edit-annotation-mode): Make it a proper major mode.
2869 (bookmark-send-edited-annotation): Use derived-mode-p.
2870 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2871 closer to its ideal place. Use \' to match EOS.
2872
2873 * profiler.el (profiler-calltree-find): Use function-equal.
2874
2875 2013-09-10 Glenn Morris <rgm@gnu.org>
2876
2877 * files.el (interpreter-mode-alist): Convert to regexps.
2878 (set-auto-mode): Adapt for this. (Bug#15306)
2879 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2880 Comment out unused variable.
2881 * progmodes/cc-mode.el (interpreter-mode-alist):
2882 * progmodes/python.el (interpreter-mode-alist):
2883 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2884 * progmodes/sh-script.el (sh-set-shell):
2885 No longer use interpreter-mode-alist to get list of shells.
2886
2887 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2888
2889 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2890
2891 * simple.el: Use set-temporary-overlay-map for universal-argument.
2892 (universal-argument-map): Don't use default-bindings (bug#15317).
2893 Bind switch-frame explicitly. Replace universal-argument-minus with
2894 a conditional binding.
2895 (universal-argument-num-events, saved-overriding-map): Remove.
2896 (restore-overriding-map): Remove.
2897 (universal-argument--mode): Rename from save&set-overriding-map,
2898 and rewrite.
2899 (universal-argument, universal-argument-more, negative-argument)
2900 (digit-argument): Adjust accordingly.
2901 (universal-argument-minus): Remove.
2902 (universal-argument-other-key): Remove.
2903
2904 * subr.el (with-demoted-errors): Add `format' argument.
2905
2906 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2907
2908 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2909 `tramp-cleanup-connection'.
2910
2911 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2912 parameters KEEP-DEBUG and KEEP-PASSWORD.
2913
2914 * net/tramp.el (tramp-file-name-handler):
2915 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2916 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2917 (tramp-maybe-open-connection):
2918 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2919 Use `tramp-cleanup-connection'.
2920
2921 * net/tramp-sh.el (tramp-maybe-open-connection):
2922 Catch 'uname-changed inside the progress reporter.
2923
2924 2013-09-10 Glenn Morris <rgm@gnu.org>
2925
2926 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2927
2928 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2929 returns "alternate access method" in mode (eg "-rw-r--r--.").
2930
2931 2013-09-08 Glenn Morris <rgm@gnu.org>
2932
2933 * saveplace.el (load-save-place-alist-from-file):
2934 Demote errors. (Bug#15305)
2935
2936 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2937
2938 Improve compatibility with older Emacsen, and XEmacs.
2939
2940 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2941 only if it is bound. It isn't for XEmacs.
2942 (with-tramp-progress-reporter): Do not let-bind `result'.
2943 This yields to scoping errors in XEmacs.
2944 (tramp-handle-make-auto-save-file-name): New function, moved from
2945 tramp-sh.el.
2946
2947 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2948 for `make-auto-save-file-name'.
2949 (tramp-adb--gnu-switches-to-ash):
2950 Use `tramp-compat-replace-regexp-in-string'.
2951
2952 * net/tramp-cache.el (tramp-cache-print): Call
2953 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2954
2955 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2956 bound. It isn't for XEmacs.
2957
2958 * net/tramp-compat.el (tramp-compat-copy-file):
2959 Catch `wrong-number-of-arguments' error.
2960 (tramp-compat-replace-regexp-in-string): New defun.
2961
2962 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2963 for `make-auto-save-file-name'.
2964 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2965 `copy-file'.
2966 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2967 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2968 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2969
2970 * net/tramp-gw.el (tramp-gw-open-network-stream):
2971 Use `tramp-compat-replace-regexp-in-string'.
2972
2973 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2974 Call `tramp-handle-make-auto-save-file-name'.
2975 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2976 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2977 (tramp-sh-file-inotifywait-process-filter):
2978 Use `tramp-compat-replace-regexp-in-string'.
2979 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2980
2981 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2982 for `make-auto-save-file-name'.
2983 (tramp-smb-handle-copy-directory):
2984 Call `tramp-compat-replace-regexp-in-string'.
2985 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2986 (tramp-smb-handle-copy-file): Improve error message.
2987 (tramp-smb-handle-rename-file): Rename directly only in case
2988 `newname' does not exist yet. This is a restriction of smbclient.
2989 (tramp-smb-maybe-open-connection): Rerun the function only when
2990 `auth-sources' is non-nil.
2991
2992 2013-09-08 Kenichi Handa <handa@gnu.org>
2993
2994 * international/characters.el: Set category "^" (Combining) for
2995 more characters.
2996
2997 2013-09-07 Alan Mackenzie <acm@muc.de>
2998
2999 Correctly fontify Java class constructors.
3000 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3001 in Java Mode.
3002 (c-recognize-typeless-decls): Set the Java value to t.
3003 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3004 While handling a "(", add a check for, effectively, Java, and handle a
3005 "typeless" declaration there.
3006
3007 2013-09-07 Roland Winkler <winkler@gnu.org>
3008
3009 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3010 field subtitle for entry type book.
3011
3012 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * minibuffer.el: Make minibuffer-complete call completion-in-region
3015 rather than other way around.
3016 (completion--some, completion-pcm--find-all-completions):
3017 Don't delay signals when debugging.
3018 (minibuffer-completion-contents): Beware fields within the
3019 minibuffer contents.
3020 (completion-all-sorted-completions): Use defvar-local.
3021 (completion--do-completion, completion--cache-all-sorted-completions)
3022 (completion-all-sorted-completions, minibuffer-force-complete):
3023 Add args `beg' and `end'.
3024 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3025 (minibuffer-complete): Use completion-in-region.
3026 (completion-complete-and-exit): New fun, extracted from
3027 minibuffer-complete-and-exit.
3028 (minibuffer-complete-and-exit): Use it.
3029 (completion--complete-and-exit): Rename from
3030 minibuffer--complete-and-exit.
3031 (completion-in-region--single-word): New function, extracted from
3032 minibuffer-complete-word.
3033 (minibuffer-complete-word): Use it.
3034 (display-completion-list): Make `common-substring' argument obsolete.
3035 (completion--in-region): Call completion--in-region-1 instead of
3036 minibuffer-complete.
3037 (completion-help-at-point): Pass boundaries to
3038 minibuffer-completion-help as args rather than via an overlay.
3039 (completion-pcm--string->pattern): Use `any-delim'.
3040 (completion-pcm--optimize-pattern): New function.
3041 (completion-pcm--pattern->regex): Handle `any-delim'.
3042 * icomplete.el (icomplete-forward-completions)
3043 (icomplete-backward-completions, icomplete-completions):
3044 Adjust calls to completion-all-sorted-completions and
3045 completion--cache-all-sorted-completions.
3046 (icomplete-with-completion-tables): Default to t.
3047 * emacs-lisp/crm.el (crm--current-element): Rename from
3048 crm--select-current-element. Don't put an overlay but return the
3049 boundaries instead.
3050 (crm--completion-command): Take two new args to bind to the boundaries.
3051 (crm-completion-help): Adjust accordingly.
3052 (crm-complete): Use completion-in-region.
3053 (crm-complete-word): Use completion-in-region--single-word.
3054 (crm-complete-and-exit): Use completion-complete-and-exit.
3055
3056 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3059 than dynamically.
3060
3061 2013-09-06 Juri Linkov <juri@jurta.org>
3062
3063 * info.el (Info-display-images-node): When image file doesn't exist
3064 display text version of the image if it's provided in the Info file.
3065 Otherwise, display the location of missing image from SRC attribute.
3066 Add help-echo text property from ALT attribute. (Bug#15279)
3067
3068 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3071 (edit-abbrevs-mode): Use define-derived-mode.
3072
3073 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3074 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3075 that it's defined.
3076 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3077 Use define-derived-mode.
3078
3079 * epg.el (epg-start-encrypt): Minor CSE simplification.
3080
3081 2013-09-06 William Xu <william.xwl@gmail.com>
3082
3083 * arc-mode.el: Add support for 7za (bug#15264).
3084 (archive-7z-program): New var.
3085 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3086 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3087 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3088
3089 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3090
3091 Remove URL syntax.
3092
3093 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3094 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3095 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3096 (tramp-postfix-host-format, tramp-file-name-regexp)
3097 (tramp-completion-file-name-regexp)
3098 (tramp-completion-dissect-file-name)
3099 (tramp-handle-substitute-in-file-name): Remove 'url case.
3100 (tramp-file-name-regexp-url)
3101 (tramp-completion-file-name-regexp-url): Remove constants.
3102
3103 2013-09-06 Glenn Morris <rgm@gnu.org>
3104
3105 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3106
3107 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3108
3109 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3110 keywords" below "here-doc beginnings" (Bug#15270).
3111
3112 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * subr.el (pop): Use `car-safe'.
3115 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3116 to detect unused `pop' return value.
3117
3118 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3119 var `block-regexp'.
3120 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3121 (python-fill-string): Remove unused var `marker'.
3122 (python-skeleton-add-menu-items): Remove unused var `items'.
3123
3124 * international/mule-cmds.el: Require CL.
3125 (find-coding-systems-for-charsets): Avoid add-to-list.
3126 (sanitize-coding-system-list): New function, extracted from
3127 select-safe-coding-system-interactively.
3128 (select-safe-coding-system-interactively): Use it.
3129 (read-input-method-name): Accept symbols for `default'.
3130
3131 * emacs-lisp/advice.el (defadvice): Add indent rule.
3132
3133 2013-09-05 Daniel Hackney <dan@haxney.org>
3134
3135 * dired-x.el:
3136 * net/ange-ftp.el:
3137 * net/browse-url.el:
3138 * net/dbus.el:
3139 * net/eudc.el:
3140 * net/eudcb-ldap.el:
3141 * net/eww.el:
3142 * net/imap.el:
3143 * printing.el:
3144 * vc/ediff-diff.el:
3145 * vc/ediff-init.el:
3146 * vc/ediff-merg.el:
3147 * vc/ediff-mult.el:
3148 * vc/ediff-util.el:
3149 * vc/ediff-wind.el:
3150 * vc/ediff.el:
3151 * vc/emerge.el:
3152 * vc/pcvs.el:
3153 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3154 byte compiler. Remove some unused let-bound variables.
3155
3156 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3159 a "ref-cell", since it gets better optimized (bug#14883).
3160
3161 2013-09-05 Glenn Morris <rgm@gnu.org>
3162
3163 * progmodes/cc-awk.el (c-forward-sws): Declare.
3164
3165 2013-09-04 Glenn Morris <rgm@gnu.org>
3166
3167 * generic-x.el [rul-generic-mode]: Require cc-mode.
3168 (c++-mode-syntax-table): Declare.
3169 (rul-generic-mode-syntax-table): Init in the defvar.
3170
3171 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3174 (vc-do-command, vc-set-async-update):
3175 * vc/vc-mtn.el (vc-mtn-dir-status):
3176 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3177 (vc-hg-pull, vc-hg-merge-branch):
3178 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3179 (vc-git-merge-branch):
3180 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3181 (vc-cvs-dir-status-files):
3182 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3183 (vc-bzr-dir-status-files):
3184 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3185 * vc/vc-annotate.el: Use lexical-binding.
3186 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3187 (vc-sentinel-movepoint): Declare.
3188 (vc-annotate): Don't use `goto-line'.
3189 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3190 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3191 (vc-sentinel-movepoint): Declare.
3192 * vc/vc-svn.el: Use lexical-binding.
3193 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3194 * vc/vc-sccs.el:
3195 * vc/vc-rcs.el: Use lexical-binding.
3196
3197 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3198 `deleted'. Don't drop errors silently.
3199
3200 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3201
3202 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3203
3204 * vc/vc.el (vc-ignore): Rewrite.
3205 (vc-default-ignore): New function.
3206 (vc-default-ignore-completion-table): Use find-ignore-file.
3207
3208 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3209 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3210 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3211 Remove. Most code moved to vc.el.
3212
3213 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3214
3215 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3216 * net/tramp-smb.el (tramp-smb-get-file-entries):
3217 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3218 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3219
3220 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3221 Update call to it.
3222 (eww-change-select): Remove unused var `properties'.
3223 (eww-make-unique-file-name): Remove unused var `base'.
3224
3225 * finder.el (finder-compile-keywords): Don't mess with windows.
3226
3227 * calculator.el (calculator-funcall): Fix typo in last change.
3228
3229 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3230
3231 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3232 <pkg>-autoloads.el file stop us.
3233
3234 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3235 warnings, and factor out common code.
3236
3237 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3238
3239 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3240 two-character operators and whether the character preceding them
3241 changes their meaning (Bug#15208).
3242
3243 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3244
3245 Format code sent to Python shell for robustness.
3246 * progmodes/python.el (python-shell-buffer-substring):
3247 New function.
3248 (python-shell-send-region, python-shell-send-buffer): Use it.
3249
3250 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3251
3252 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3253 * net/tramp.el (tramp-user-error): ... here.
3254 (tramp-find-method, tramp-check-proper-host)
3255 (tramp-dissect-file-name, tramp-debug-message)
3256 (tramp-handle-shell-command):
3257 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3258 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3259
3260 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3261
3262 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3263
3264 * avoid.el (mouse-avoidance-point-position)
3265 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3266 returns nil.
3267
3268 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3269
3270 * progmodes/python.el (python-shell-completion-get-completions):
3271 Drop use of deleted `comint-last-prompt-overlay'.
3272 (python-nav-if-name-main): New command.
3273
3274 2013-09-01 Glenn Morris <rgm@gnu.org>
3275
3276 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3277 Avoid leading space in $wins. Otherwise the sed command used by
3278 eg compile-main ends up containing "/*.el". (Bug#15170)
3279
3280 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3281
3282 2013-08-30 Glenn Morris <rgm@gnu.org>
3283
3284 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3285 Fix is-this-a-directory logic. (Bug#15220)
3286
3287 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3288
3289 * textmodes/css-mode.el: Use SMIE.
3290 (css-smie-grammar): New var.
3291 (css-smie--forward-token, css-smie--backward-token)
3292 (css-smie-rules): New functions.
3293 (css-mode): Use them.
3294 (css-navigation-syntax-table): Remove var.
3295 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3296 (css-indent-calculate, css-indent-line): Remove functions.
3297
3298 Misc changes to reduce use of `(lambda...); and other cleanups.
3299 * cus-edit.el: Use lexical-binding.
3300 (customize-push-and-save, customize-apropos)
3301 (custom-buffer-create-internal): Use closures.
3302 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3303 * progmodes/ada-xref.el: Use setq.
3304 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3305 * dframe.el: Use lexical-binding.
3306 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3307 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3308 * descr-text.el: Use lexical-binding.
3309 (describe-text-widget, describe-text-sexp, describe-property-list):
3310 Use closures.
3311 * comint.el (comint-history-isearch-push-state): Use a closure.
3312 * calculator.el: Use lexical-binding.
3313 (calculator-number-to-string): Make it work with lexical-binding.
3314 (calculator-funcall): Same and use cl-letf.
3315
3316 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3317 (lisp--company-doc-string, lisp--company-location): New functions.
3318 (lisp-completion-at-point): Use them to improve Company support.
3319
3320 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3321 params of lambda expressions.
3322 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3323 (ruby-smie--opening-pipe-p): New function.
3324 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3325 symbols and matched |...| for formal params.
3326 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3327 from being treated as hanging. Handle "rescue".
3328
3329 2013-08-29 Glenn Morris <rgm@gnu.org>
3330
3331 * progmodes/cc-engine.el (c-pull-open-brace):
3332 Move definition before use.
3333
3334 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3337 are immutable. Don't use `unsafe' any more.
3338 (cl--defsubst-expand): Don't substitute at the same time as keeping
3339 a residual unused let-binding. Don't use `unsafe' any more.
3340
3341 2013-08-29 Glenn Morris <rgm@gnu.org>
3342
3343 * calendar/cal-china.el (calendar-chinese-year-cache):
3344 Recenter on 2015.
3345
3346 * nxml/nxml-util.el (nxml-debug-clear-inside):
3347 Use cl-loop rather than loop.
3348
3349 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3350
3351 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3352
3353 2013-08-28 Glenn Morris <rgm@gnu.org>
3354
3355 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3356
3357 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3358
3359 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3360
3361 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3362
3363 * simple.el (repeat-complex-command--called-interactively-skip):
3364 New function.
3365 (repeat-complex-command): Use it (bug#14136).
3366
3367 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3368 (c-define-abbrev-table): Add `doc' argument.
3369 (c-mode-abbrev-table, c++-mode-abbrev-table)
3370 (objc-mode-abbrev-table, java-mode-abbrev-table)
3371 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3372 (awk-mode-abbrev-table): Use it.
3373 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3374 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3375 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3376 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3377 Move initialization into the declaration; and remove any
3378 autoload cookie.
3379
3380 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3381 and dynamic let binding.
3382
3383 * vc/smerge-mode.el: Remove redundant :group args.
3384
3385 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3386 to load-path.
3387
3388 2013-08-28 Juri Linkov <juri@jurta.org>
3389
3390 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3391 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3392 (isearch-other-meta-char): Handle an undefined shifted printing
3393 character by downshifting it. (Bug#15200)
3394
3395 2013-08-28 Juri Linkov <juri@jurta.org>
3396
3397 * isearch.el (isearch-search): Change regexp error message for
3398 non-regexp searches. (Bug#15166)
3399
3400 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3401
3402 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3403 for portability to hosts where /bin/sh has problems.
3404
3405 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3408
3409 2013-08-27 Juri Linkov <juri@jurta.org>
3410
3411 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3412 in the keyboard macro. (Bug#15126)
3413
3414 2013-08-27 Juri Linkov <juri@jurta.org>
3415
3416 * isearch.el (isearch-quote-char): Comment out converting unibyte
3417 to multibyte, thus syncing with its `quoted-insert' counterpart.
3418 (Bug#15166)
3419
3420 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3421
3422 * window.el (display-buffer-use-some-window): Add missing
3423 argument in call of get-largest-window (Bug#15185).
3424 Reported by Stephen Leake.
3425
3426 2013-08-27 Glenn Morris <rgm@gnu.org>
3427
3428 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3429
3430 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3433 from a matcher-function unless there's no more matches (bug#15161).
3434
3435 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3436
3437 * minibuffer.el: Revert change from 2013-08-20.
3438
3439 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3440 with text property `tramp-default', if appropriate.
3441 (tramp-check-proper-host): New defun.
3442 (tramp-dissect-file-name): Do not check hostname. Revert change
3443 of 2013-03-18.
3444 (tramp-backtrace): Make VEC-OR-PROC optional.
3445
3446 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3447 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3448 * net/tramp-sh.el (tramp-maybe-open-connection):
3449 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3450 Apply `tramp-check-proper-host'.
3451
3452 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3453
3454 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3455 lambda expression in order to have `describe-variable' display it.
3456
3457 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3458
3459 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3460 BUF can be optional. (Bug#15186)
3461
3462 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3463
3464 * progmodes/flymake.el (flymake-get-real-file-name-function):
3465 Fix broken customization. (Bug#15184)
3466
3467 2013-08-25 Alan Mackenzie <acm@muc.de>
3468
3469 Improve indentation of bracelists defined by macros (without "=").
3470
3471 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3472 expansion begins with "{", regard it as bracelist when it doesn't
3473 contain a ";".
3474
3475 Parse C++ inher-intro when there's a template split over 2 lines.
3476
3477 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3478 rigorously the search for "class" etc. followed by ":".
3479
3480 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3481 random languages a regexp which never matches rather than nil.
3482
3483 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3484
3485 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3486 (c-awk-regexp-one-line-possibly-open-char-list-re)
3487 (c-awk-one-line-possibly-open-regexp-re)
3488 (c-awk-one-line-non-syn-ws*-re): Remove.
3489 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3490 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3491 (c-awk-space*-unclosed-regexp-/-re): New constants.
3492 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3493 aren't regexp delimiters.
3494
3495 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3496 handling for a rare situation in AWK Mode involving unterminated
3497 strings/regexps.
3498
3499 2013-08-23 Glenn Morris <rgm@gnu.org>
3500
3501 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3502
3503 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3504
3505 * files.el (create-file-buffer): If the result would begin with
3506 spaces, prepend a "|" instead of removing them. (Bug#15162)
3507
3508 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3511 text-properties (bug#15155).
3512
3513 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3514 exist any more.
3515 (calc-keypad-redraw): Remove unused var `pad'.
3516 (calc-keypad-press): Remove unused var `menu'.
3517
3518 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3519
3520 * window.el (display-buffer-pop-up-frame):
3521 Call pop-up-frame-function with BUFFER current so `make-frame' will
3522 use it as the new frame's buffer (Bug#15133).
3523
3524 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3525
3526 * calendar/timeclock.el: Minor cleanups.
3527 (timeclock-ask-before-exiting, timeclock-use-display-time):
3528 Use `symbol'.
3529 (timeclock-modeline-display): Define as alias before the
3530 actual definition.
3531 (timeclock-mode-line-display): Use define-minor-mode.
3532 (timeclock-day-list-template): Make it a function, add an argument.
3533 (timeclock-day-list-required, timeclock-day-list-length)
3534 (timeclock-day-list-debt, timeclock-day-list-span)
3535 (timeclock-day-list-break): Adjust calls accordingly.
3536
3537 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3540 Use read--expression so that completion works again.
3541
3542 2013-08-21 Sam Steingold <sds@gnu.org>
3543
3544 Add rudimentary inferior shell interaction
3545 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3546 (sh-set-shell): Reset it.
3547 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3548 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3549
3550 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3551
3552 * align.el: Use lexical-binding.
3553 (align-region): Simplify accordingly.
3554
3555 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3556
3557 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3558
3559 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3560 `non-essential' up.
3561
3562 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp.el:
3565 * net/tramp-adb.el:
3566 * net/tramp-cmds.el:
3567 * net/tramp-ftp.el:
3568 * net/tramp-gvfs.el:
3569 * net/tramp-gw.el:
3570 * net/tramp-sh.el: Don't wrap external variable declarations by
3571 `eval-when-compile'.
3572
3573 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574
3575 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3576 now that Emacs supports ImageMagick animations.
3577
3578 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3579
3580 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3581 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3582
3583 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3584
3585 * window.el (mouse-autoselect-window-select): Do autoselect when
3586 mouse pointer is on margin.
3587
3588 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3589
3590 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3591
3592 2013-08-16 Glenn Morris <rgm@gnu.org>
3593
3594 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3595 Handle "Remote Directory" response of some clients. (Bug#15058)
3596
3597 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3598 Tweak warning. (Bug#14926)
3599
3600 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3601 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3602
3603 * image-mode.el (image-mode-map): Add menu items to reverse,
3604 increase, decrease, reset animation speed.
3605 (image--set-speed, image-increase-speed, image-decrease-speed)
3606 (image-reverse-speed, image-reset-speed): New functions.
3607 (image-mode-map): Add bindings for speed commands.
3608
3609 * image.el (image-animate-get-speed, image-animate-set-speed):
3610 New functions.
3611 (image-animate-timeout): Respect image :speed property.
3612
3613 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3616 previous line (bug#15101).
3617 (debugger-eval-expression, debugger-record-expression):
3618 Use read--expression (bug#15102).
3619
3620 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3621
3622 Remove byte compiler warnings, visible when compiling with
3623 `byte-compile-force-lexical-warnings' set to t.
3624
3625 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3626 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3627 (tramp-handle-unhandled-file-name-directory)
3628 (tramp-handle-file-notify-add-watch, tramp-action-login)
3629 (tramp-action-succeed, tramp-action-permission-denied)
3630 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3631 arguments with "_".
3632
3633 * net/tramp-adb.el (tramp-adb-parse-device-names)
3634 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3635 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3636 (tramp-adb-handle-file-truename): Remove unused arguments.
3637
3638 * net/tramp-cache.el (tramp-flush-directory-property)
3639 (tramp-flush-connection-property, tramp-list-connections)
3640 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3641
3642 * net/tramp-compat.el (tramp-compat-make-temp-file):
3643 Rename FILENAME to F.
3644
3645 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3646 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3647 (tramp-zeroconf-parse-workstation-device-names)
3648 (tramp-zeroconf-parse-webdav-device-names)
3649 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3650
3651 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3652 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3653
3654 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3655 arguments.
3656 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3657 (tramp-sh-handle-insert-file-contents-literally)
3658 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3659 with "_".
3660 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3661 Remove unused variables.
3662
3663 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3664 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3665 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3666
3667 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3668 Make them a defconst.
3669 (tramp-uuencode-region): Remove unused variable.
3670
3671 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3672
3673 * frameset.el (frameset--prop-setter): New function.
3674 (frameset-prop): Add gv-setter declaration.
3675 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3676 parameter was already set in FILTERED. Doc fix.
3677 (frameset--record-minibuffer-relationships): Allow saving a
3678 minibufferless frame without its corresponding minibuffer frame.
3679 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3680 frame, if the frame id matches.
3681 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3682 frames before orphaned ones.
3683 (frameset-restore): Warn about orphaned windows, instead of error out.
3684
3685 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3686
3687 * window.el (window-make-atom): Don't overwrite parameter
3688 already present.
3689 (display-buffer-in-atom-window): Handle special case where we
3690 split an already atomic window.
3691 (window--major-non-side-window, display-buffer-in-side-window)
3692 (window--side-check): Ignore minibuffer window when walking
3693 window tree.
3694 (window-deletable-p): Return 'frame only if no other frame uses
3695 our minibuffer window.
3696 (record-window-buffer): Run buffer-list-update-hook.
3697 (split-window): Make sure window--check-frame won't destroy an
3698 existing atomic window in case the new window gets nested
3699 inside.
3700 (display-buffer-at-bottom): Ignore minibuffer window when
3701 walking window tree. Don't split a side window.
3702 (pop-to-buffer): Don't set-buffer here, the select-window call
3703 should do that.
3704 (mouse-autoselect-window-select): Autoselect only if we are in the
3705 text portion of the window.
3706
3707 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3708
3709 * net/shr.el (shr-parse-image-data): New function to grab both the
3710 data itself and the Content-Type.
3711 (shr-put-image): Use it.
3712
3713 * net/eww.el (eww-display-image): Ditto.
3714
3715 * image.el (image-content-type-suffixes): New variable.
3716
3717 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3718
3719 * progmodes/python.el (python-imenu--build-tree)
3720 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3721
3722 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3723
3724 * simple.el (backward-word): Mention the optional argument.
3725
3726 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * frameset.el (frameset--make): Rename constructor from make-frameset.
3729 (frameset-p, frameset-valid-p): Don't autoload.
3730 (frameset-valid-p): Use normal accessors.
3731
3732 2013-08-13 Glenn Morris <rgm@gnu.org>
3733
3734 * progmodes/compile.el (compile-command): Tweak example in doc.
3735 * obsolete/scribe.el (scribe-mode):
3736 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3737
3738 * mail/feedmail.el (feedmail-confirm-outgoing)
3739 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3740
3741 * cus-start.el (truncate-partial-width-windows): Fix type.
3742
3743 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3744
3745 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3746
3747 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * emacs-lisp/timer.el (timer--time-setter): New function.
3750 (timer--time): Use it as gv-setter.
3751
3752 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3753 setter is not a symbol.
3754
3755 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3756
3757 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3758 if sending fails. This makes debugging easier.
3759
3760 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3761
3762 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3763 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3764 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3765
3766 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3767
3768 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3769
3770 2013-08-12 Glenn Morris <rgm@gnu.org>
3771
3772 * format.el (format-annotate-function):
3773 Handle read-only text properties in the source. (Bug#14887)
3774
3775 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3776
3777 * net/eww.el (eww-display-html): Ignore coding system errors.
3778 One web site uses "utf-8lias" as the coding system.
3779
3780 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3781
3782 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3783
3784 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3785
3786 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3787 (tutorial--detailed-help): Remove unused local variables.
3788 (tutorial--save-tutorial-to): Use ignore-errors.
3789 (help-with-tutorial): Use looking-at-p.
3790
3791 * view.el (view-buffer-other-window, view-buffer-other-frame):
3792 Mark unused arguments.
3793
3794 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3795 (woman-select-symbol-fonts, woman, woman-find-file)
3796 (woman-insert-file-contents, woman-non-underline-faces):
3797 Use string-match-p.
3798 (woman1-unquote): Move declaration.
3799
3800 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3801 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3802 argument. Remove unused local variable.
3803 (xml-parse-elem-type): Use string-match-p.
3804 (xml-substitute-numeric-entities): Use ignore-errors.
3805
3806 * calculator.el (calculator): Mark unused argument.
3807 (calculator-paste, calculator-quit, calculator-integer-p):
3808 Use ignore-errors.
3809 (calculator-string-to-number, calculator-decimal, calculator-exp)
3810 (calculator-op-or-exp): Use string-match-p.
3811
3812 * dired.el (dired-buffer-more-recently-used-p): Declare.
3813 (dired-insert-set-properties, dired-insert-old-subdirs):
3814 Use ignore-errors.
3815
3816 * dired-aux.el (dired-compress): Use ignore-errors.
3817 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3818 (dired-do-async-shell-command, dired-do-shell-command)
3819 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3820 (dired-insert-subdir-validate): Use string-match-p.
3821 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3822 (dired-add-entry): Use string-match-p, looking-at-p.
3823 (dired-insert-subdir-newpos): Remove unused local variable.
3824
3825 * filenotify.el (file-notify-callback): Remove unused local variable.
3826
3827 * filesets.el (filesets-error): Mark unused argument.
3828 (filesets-which-command-p, filesets-filter-dir-names)
3829 (filesets-directory-files, filesets-get-external-viewer)
3830 (filesets-ingroup-get-data): Use string-match-p.
3831
3832 * find-file.el (ff-other-file-name, ff-other-file-name)
3833 (ff-find-the-other-file, ff-cc-hh-converter):
3834 Remove unused local variables.
3835 (ff-get-file-name): Use string-match-p.
3836 (ff-all-dirs-under): Use ignore-errors.
3837
3838 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3839 (follow-select-if-visible): Remove unused local variable.
3840
3841 * forms.el (read-file-filter): Move declaration.
3842 (forms--make-format, forms--make-parser, forms-insert-record):
3843 Quote function with #'.
3844 (forms--update): Use string-match-p. Quote function with #'.
3845
3846 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3847 (help-make-xrefs): Use looking-at-p.
3848 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3849
3850 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3851 (ibuffer-confirm-operation-on): Use string-match-p.
3852
3853 * msb.el (msb-item-handler, msb-dired-item-handler):
3854 Mark unused arguments.
3855
3856 * ses.el (ses-decode-cell-symbol)
3857 (ses-kill-override): Remove unused local variable.
3858 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3859 (ses-load): Use ignore-errors, looking-at-p.
3860 (ses-jump-safe): Use ignore-errors.
3861 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3862
3863 * tabify.el (untabify, tabify): Mark unused arguments.
3864
3865 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3866 Mark unused argument.
3867 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3868 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3869
3870 * emacs-lisp/timer.el (timer--time): Define setter with
3871 gv-define-setter to avoid deprecation warning.
3872
3873 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3874 (*record-cmpl-statistics-p*): Remove (was commented out).
3875 (cmpl-statistics-block): Remove (body was commented out).
3876 All callers changed.
3877 (add-completions-from-buffer, load-completions-from-file):
3878 Remove unused variables.
3879
3880 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3881
3882 * filecache.el (file-cache-delete-file-list):
3883 Print message only when told so.
3884 (file-cache-files-matching): Use #' in mapconcat argument.
3885
3886 * ffap.el (ffap-url-at-point): Fix reference to variable
3887 thing-at-point-default-mail-uri-scheme.
3888
3889 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 * subr.el (define-error): New function.
3892 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3893 error-file-not-found and define with define-error.
3894 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3895 and define with define-error.
3896 * userlock.el (file-locked, file-supersession):
3897 * simple.el (mark-inactive):
3898 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3899 * progmodes/ada-mode.el (ada-mode-errors):
3900 * play/life.el (life-extinct):
3901 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3902 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3903 * nxml/rng-util.el (rng-error):
3904 * nxml/rng-uri.el (rng-uri-error):
3905 * nxml/rng-match.el (rng-compile-error):
3906 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3907 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3908 * nxml/nxml-rap.el (nxml-scan-error):
3909 * nxml/nxml-outln.el (nxml-outline-error):
3910 * net/soap-client.el (soap-error):
3911 * net/gnutls.el (gnutls-error):
3912 * net/ange-ftp.el (ftp-error):
3913 * mpc.el (mpc-proc-error):
3914 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3915 (json-number-format, json-string-escape, json-string-format)
3916 (json-key-format, json-object-format):
3917 * jka-compr.el (compression-error):
3918 * international/quail.el (quail-error):
3919 * international/kkc.el (kkc-error):
3920 * emacs-lisp/ert.el (ert-test-failed):
3921 * calc/calc.el (calc-error, inexact-result, math-overflow)
3922 (math-underflow):
3923 * bookmark.el (bookmark-error-no-filename):
3924 * epg.el (epg-error): Define with define-error.
3925
3926 * time.el (display-time-event-handler)
3927 (display-time-next-load-average): Don't call sit-for since it seems
3928 unnecessary (bug#15045).
3929
3930 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3931 Use #' instead of ' to quote functions.
3932 (checkdoc-output-mode): Use setq-local.
3933 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3934 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3935 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3936 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3937 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3938 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3939 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3940 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3941
3942 * ido.el (ido-completion-help): Fix up compiler warning.
3943
3944 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * frameset.el (frameset-p): Add autoload cookie.
3947 (frameset--jump-to-register): New function, based on code moved from
3948 register.el.
3949 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3950
3951 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3952 (frameset-restore, frameset-save, frameset-session-filter-alist):
3953 Remove declarations.
3954 (register-alist): Doc fix.
3955 (frameset-to-register): Move to frameset.el.
3956 (jump-to-register, describe-register-1): Remove frameset-specific code.
3957
3958 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3959
3960 * allout-widgets.el (allout-widgets-pre-command-business)
3961 (allout-widgets-post-command-business)
3962 (allout-widgets-after-change-handler)
3963 (allout-decorate-item-and-context, allout-set-boundary-marker)
3964 (allout-body-modification-handler)
3965 (allout-graphics-modification-handler): Mark ignored arguments.
3966 (allout-widgets-post-command-business)
3967 (allout-widgets-exposure-change-processor)
3968 (allout-widgets-exposure-undo-processor)
3969 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3970 (allout-parse-item-at-point, allout-decorate-item-guides)
3971 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3972 * allout.el (epa-passphrase-callback-function): Declare.
3973 (allout-overlay-insert-in-front-handler)
3974 (allout-overlay-interior-modification-handler)
3975 (allout-isearch-end-handler, allout-chart-siblings)
3976 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3977 (allout-yank-processing, allout-process-exposed)
3978 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3979 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3980 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3981 (lisp-indent-defform): Mark ignored arguments.
3982 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3983 (calculate-lisp-indent): Remove unused variables.
3984 * international/characters.el (indian-2-column, arabic-2-column)
3985 (tibetan): Mark ignored arguments.
3986 (use-cjk-char-width-table): Mark ignored arguments.
3987 Remove unused variables.
3988 * international/fontset.el (build-default-fontset-data)
3989 (x-compose-font-name, create-fontset-from-fontset-spec):
3990 Mark ignored arguments.
3991 (fontset-plain-name): Remove unused variables.
3992 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3993 (keyboard-coding-system): Mark ignored arguments.
3994 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3995 * help.el (resize-temp-buffer-window):
3996 * window.el (display-buffer-in-major-side-window)
3997 (display-buffer-in-side-window, display-buffer-in-previous-window):
3998 Remove unused variables.
3999 * isearch.el (isearch-forward-symbol):
4000 * version.el (emacs-bzr-version-bzr):
4001 * international/mule-cmds.el (current-language-environment):
4002 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4003 (x-handle-display):
4004 * term/pc-win.el (x-list-fonts, x-display-planes)
4005 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4006 (x-server-version, x-display-screens, x-display-mm-height)
4007 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4008 (x-selection-owner-p, x-own-selection-internal)
4009 (x-disown-selection-internal, x-get-selection-internal)
4010 (msdos-initialize-window-system):
4011 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4012 * term/x-win.el (x-handle-no-bitmap-icon):
4013 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4014 (vc-default-find-file-hook, vc-default-extra-menu):
4015 Mark ignored arguments.
4016
4017 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4018
4019 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4020 break-condition in the context of the debugged code (bug#12685).
4021
4022 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4023
4024 * comint.el:
4025 Do not use an overlay to highlight the last prompt. (Bug#14744)
4026 (comint-mode): Make comint-last-prompt buffer local.
4027 (comint-last-prompt): New variable.
4028 (comint-last-prompt-overlay): Remove. Superseded by
4029 comint-last-prompt.
4030 (comint-snapshot-last-prompt, comint-output-filter):
4031 Use comint-last-prompt.
4032
4033 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4034
4035 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4036 (frameset-save): Check validity of the resulting frameset.
4037
4038 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4039
4040 * ido.el (ido-record-command): Add doc string.
4041
4042 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4043
4044 * frameset.el (frameset): Do not disable creation of the default
4045 frameset-p predicate. Doc fix.
4046 (frameset-valid-p): New function, copied from the old predicate-p.
4047 Add additional checks.
4048 (frameset-restore): Check with frameset-valid-p.
4049 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4050 (frameset-name, frameset-description, frameset-properties)
4051 (frameset-states): Add docstring.
4052 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4053 (frameset-filter-alist): Doc fixes.
4054
4055 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4056
4057 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4058
4059 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4060
4061 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4062 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4063 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4064 (byte-compile-normal-call): Remove obsolescence check.
4065
4066 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4067
4068 * frameset.el (frameset-restore): Doc fix.
4069
4070 * register.el (frameset-frame-id, frameset-frame-with-id)
4071 (frameset-p, frameset-restore, frameset-save): Declare.
4072 (register-alist): Document framesets.
4073 (frameset-session-filter-alist): Declare.
4074 (frameset-to-register): New function.
4075 (jump-to-register): Implement jumping to framesets. Doc fix.
4076 (describe-register-1): Describe framesets.
4077
4078 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4079
4080 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4081
4082 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4083 Use lexical-binding.
4084
4085 * frameset.el (frameset): Use type vector, not list (incompatible
4086 change). Do not declare a new constructor, use the default one.
4087 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4088 `name' and `description', respectively, and add read-only slot
4089 `timestamp'. Doc fixes.
4090 (frameset-copy, frameset-persistent-filter-alist)
4091 (frameset-filter-alist, frameset-switch-to-gui-p)
4092 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4093 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4094 (frameset-filter-iconified, frameset-keep-original-display-p):
4095 Doc fixes.
4096 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4097 Rename from frameset-filter-(save|restore)-param. All callers changed.
4098 Doc fix.
4099 (frameset-p): Adapt to change to vector and be more thorough.
4100 Change arg name to OBJECT. Doc fix.
4101 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4102 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4103 All callers changed.
4104 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4105 All callers changed.
4106 (frameset--record-minibuffer-relationships): Rename from
4107 frameset--process-minibuffer-frames. All callers changed.
4108 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4109 Use new default constructor (again). Doc fix.
4110 (frameset--find-frame-if): Rename from `frameset--find-frame.
4111 All callers changed.
4112 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4113 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4114 Doc fix.
4115 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4116 PARAMETERS and WINDOW-STATE, respectively.
4117 (frameset-restore): Add new keyword argument PREDICATE.
4118 Reset frameset--target-display to nil. Doc fix.
4119
4120 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4123 (bat-mode): Use it.
4124 (bat-mode-syntax-table): Mark \n as end-of-comment.
4125 (bat-font-lock-keywords): Remove comment rule.
4126
4127 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4128 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4129
4130 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4131 (byte-compile-callargs-warn): Use `push'.
4132 (byte-compile-arglist-warn): Ignore higher-order "calls".
4133 (byte-compile-file-form-autoload): Use `pcase'.
4134 (byte-compile-function-form): If quoting a symbol, check that it exists.
4135
4136 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4137
4138 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4139 and add a few popular commands found in batch files.
4140 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4141 (dos-mode): Doc fixes.
4142
4143 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4144
4145 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4146 (dos-mode): Use setq-local. Add space after "rem".
4147 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4148 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4149
4150 2013-08-07 Arni Magnusson <arnima@hafro.is>
4151
4152 * progmodes/dos.el: New file.
4153 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4154 dos-mode.
4155
4156 2013-08-06 Glenn Morris <rgm@gnu.org>
4157
4158 * calendar/calendar.el: Add new faces, and day-header-array.
4159 (calendar-weekday-header, calendar-weekend-header)
4160 (calendar-month-header): New faces.
4161 (calendar-day-header-construct): New function.
4162 (calendar-day-header-width): Also :set calendar-day-header-array.
4163 (calendar-american-month-header, calendar-european-month-header)
4164 (calendar-iso-month-header): Use calendar- faces.
4165 (calendar-generate-month):
4166 Use calendar-day-header-array for day headers; apply faces to them.
4167 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4168 (calendar-abbrev-construct): Add optional maxlen argument.
4169 (calendar-day-name-array): Doc fix.
4170 (calendar-day-name-array, calendar-abbrev-length)
4171 (calendar-day-abbrev-array):
4172 Also :set calendar-day-header-array, and maybe redraw.
4173 (calendar-day-header-array): New option. (Bug#15007)
4174 (calendar-font-lock-keywords): Set to nil and make obsolete.
4175 (calendar-day-name): Add option to use header array.
4176
4177 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4178
4179 * net/shr.el (shr-render-td): Remove debugging.
4180 (shr-render-td): Make width computation consistent by defaulting
4181 all zero-width columns to 10 characters. This may not be optimal,
4182 but it's at least consistent.
4183 (shr-make-table-1): Redo last change to fix the real problem in
4184 colspan handling.
4185
4186 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4187
4188 * files.el (cache-long-line-scans):
4189 Make obsolete alias to `cache-long-scans'.
4190
4191 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4192
4193 * frameset.el (frameset, frameset-filter-alist)
4194 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4195 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4196 (frameset-compute-pos): Rename from frameset--compute-pos,
4197 and add docstring.
4198 (frameset-move-onscreen): Use frameset-compute-pos.
4199 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4200
4201 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4202 Fix typos in docstrings.
4203
4204 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4205
4206 * frame.el (get-other-frame): Tiny cleanup.
4207
4208 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4209
4210 * vc/vc.el (vc-default-ignore-completion-table):
4211 Silence byte-compiler warning.
4212
4213 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4214 slot , which can indeed be nil.
4215 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4216 Move entry for `left' from persistent to live filter alist.
4217 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4218 Doc fixes.
4219 (frameset-filter-params): When restoring a frame, copy items added to
4220 `filtered', to avoid unwittingly modifying the original parameters.
4221 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4222 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4223
4224 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4225 to use looking-at-p instead of looking-at. (Bug#15028)
4226
4227 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4228
4229 Revert introduction of isearch-filter-predicates (bug#14714).
4230 Rely on add-function instead.
4231 * isearch.el (isearch-filter-predicates): Rename it back to
4232 isearch-filter-predicate.
4233 (isearch-message-prefix): Use advice-function-mapc and advice
4234 properties to get the isearch-message-prefix.
4235 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4236 instead of run-hook-with-args-until-failure.
4237 (isearch-filter-visible): Not obsolete any more.
4238 * loadup.el: Preload nadvice.
4239 * replace.el (perform-replace): Revert to funcall
4240 instead of run-hook-with-args-until-failure.
4241 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4242 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4243 dired-isearch-filenames-toggle; make it into a proper minor mode.
4244 Use add/remove-function.
4245 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4246 Call the minor-mode rather than add/remove-hook.
4247 (dired-isearch-filter-filenames):
4248 Remove isearch-message-prefix property.
4249 * info.el (Info--search-loop): New function, extracted from Info-search.
4250 Funcall isearch-filter-predicate instead of
4251 run-hook-with-args-until-failure isearch-filter-predicates.
4252 (Info-search): Use it.
4253 (Info-mode): Use isearch-filter-predicate instead of
4254 isearch-filter-predicates.
4255
4256 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4257
4258 Do not call to `selected-window' where it is assumed by default.
4259 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4260 `window-hscroll', `window-width', `window-height', `window-buffer',
4261 `window-frame', `window-start', `window-point', `next-window'
4262 and `window-display-table'.
4263 * abbrev.el (abbrev--default-expand):
4264 * bs.el (bs--show-with-configuration):
4265 * buff-menu.el (Buffer-menu-mouse-select):
4266 * calc/calc.el (calc):
4267 * calendar/calendar.el (calendar-generate-window):
4268 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4269 (diary-make-entry):
4270 * comint.el (send-invisible, comint-dynamic-complete-filename)
4271 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4272 * completion.el (complete):
4273 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4274 * disp-table.el (describe-current-display-table):
4275 * doc-view.el (doc-view-insert-image):
4276 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4277 * ehelp.el (with-electric-help):
4278 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4279 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4280 * emacs-lisp/helper.el (Helper-help-scroller):
4281 * emulation/cua-base.el (cua--post-command-handler-1):
4282 * eshell/esh-mode.el (eshell-output-filter):
4283 * ffap.el (ffap-gnus-wrapper):
4284 * help-macro.el (make-help-screen):
4285 * hilit-chg.el (highlight-compare-buffers):
4286 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4287 * hl-line.el (global-hl-line-highlight):
4288 * icomplete.el (icomplete-simple-completing-p):
4289 * isearch.el (isearch-done):
4290 * jit-lock.el (jit-lock-stealth-fontify):
4291 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4292 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4293 * mpc.el (mpc-tagbrowser, mpc):
4294 * net/rcirc.el (rcirc-any-buffer):
4295 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4296 * play/landmark.el (landmark-max-width, landmark-max-height):
4297 * play/zone.el (zone):
4298 * progmodes/compile.el (compilation-goto-locus):
4299 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4300 * progmodes/etags.el (find-tag-other-window):
4301 * progmodes/fortran.el (fortran-column-ruler):
4302 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4303 * progmodes/verilog-mode.el (verilog-point-text):
4304 * reposition.el (reposition-window):
4305 * rot13.el (toggle-rot13-mode):
4306 * server.el (server-switch-buffer):
4307 * shell.el (shell-dynamic-complete-command)
4308 (shell-dynamic-complete-environment-variable):
4309 * simple.el (insert-buffer, set-selective-display)
4310 (delete-completion-window):
4311 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4312 (speedbar-recenter):
4313 * startup.el (fancy-splash-head):
4314 * textmodes/ispell.el (ispell-command-loop):
4315 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4316 * tutorial.el (help-with-tutorial):
4317 * vc/add-log.el (add-change-log-entry):
4318 * vc/compare-w.el (compare-windows):
4319 * vc/ediff-help.el (ediff-indent-help-message):
4320 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4321 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4322 (ediff-setup-control-frame):
4323 * vc/emerge.el (emerge-position-region):
4324 * vc/pcvs-util.el (cvs-bury-buffer):
4325 * window.el (walk-windows, mouse-autoselect-window-select):
4326 * winner.el (winner-set-conf, winner-undo): Related users changed.
4327
4328 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4329
4330 * frameset.el (frameset--set-id): Doc fix.
4331 (frameset-frame-id, frameset-frame-id-equal-p)
4332 (frameset-locate-frame-id): New functions.
4333 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4334 (frameset-restore): Use them.
4335
4336 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4337
4338 Do not call to `selected-frame' where it is assumed by default.
4339 Affected functions are `raise-frame', `redraw-frame',
4340 `frame-first-window', `frame-terminal' and `delete-frame'.
4341 * calendar/appt.el (appt-disp-window):
4342 * epg.el (epg-wait-for-completion):
4343 * follow.el (follow-delete-other-windows-and-split)
4344 (follow-avoid-tail-recenter):
4345 * international/mule.el (set-terminal-coding-system):
4346 * mail/rmail.el (rmail-mail-return):
4347 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4348 * progmodes/f90.el (f90-add-imenu-menu):
4349 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4350 * server.el (server-switch-buffer):
4351 * simple.el (delete-completion-window):
4352 * talk.el (talk):
4353 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4354 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4355 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4356 * vc/ediff.el (ediff-documentation): Related users changed.
4357 * frame.el (selected-terminal): Remove the leftover.
4358
4359 2013-08-05 Glenn Morris <rgm@gnu.org>
4360
4361 * calendar/calendar.el (calendar-generate-month):
4362 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4363 (calendar-generate-month, calendar-font-lock-keywords):
4364 Fix for calendar-day-header-width > length of any day name.
4365
4366 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4367
4368 * desktop.el (desktop-clear): Use new name of sort predicate.
4369
4370 * frameset.el (frameset): Add docstring. Move :version property to its
4371 own `version' slot.
4372 (frameset-copy): Rename from copy-frameset.
4373 (frameset-p): Check more thoroughly.
4374 (frameset-prop): Do not check for :version, which is no longer a prop.
4375 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4376 Use new :never value instead of t.
4377 (frameset-filter-alist): Expand and clarify docstring.
4378 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4379 (frameset-filter-minibuffer, frameset-filter-save-param)
4380 (frameset-filter-restore-param, frameset-filter-iconified):
4381 Add pointer to docstring of frameset-filter-alist.
4382 (frameset-filter-params): Rename filter values to be more meaningful:
4383 :never instead of t, and reverse the meanings of :save and :restore.
4384 (frameset--process-minibuffer-frames): Clarify error message.
4385 (frameset-save): Avoid unnecessary and confusing call to framep.
4386 Use new BOA constructor for framesets.
4387 (frameset--reuse-list): Doc fix.
4388 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4389 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4390 (frameset-minibufferless-first-p): Doc fix.
4391 Rename from frameset-sort-frames-for-deletion.
4392 (frameset-restore): Doc fixes. Use new function names.
4393 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4394
4395 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4396
4397 * desktop.el (desktop-restore-forces-onscreen)
4398 (desktop-restore-reuses-frames): Document :keyword constant values.
4399 (desktop-filter-parameters-alist): Remove, now identical to
4400 frameset-filter-alist.
4401 (desktop--filter-tty*): Remove, moved to frameset.el.
4402 (desktop-save-frameset, desktop-restore-frameset):
4403 Do not pass :filters argument.
4404
4405 * frameset.el (frameset-live-filter-alist)
4406 (frameset-persistent-filter-alist): New variables.
4407 (frameset-filter-alist): Use them. Add autoload cookie.
4408 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4409 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4410 `frameset--id' (it's supposed to be internal to frameset.el).
4411 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4412 (frameset--initial-params): New function.
4413 (frameset--get-frame): Use it. Doc fix.
4414 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4415 Accept :all, not 'all.
4416 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4417 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4418 with fbound symbols. Fix frame id matching, and remove matching ids if
4419 the frame being restored is deleted. Obey :delete.
4420
4421 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * subr.el (macrop): New function.
4424 (text-clone--maintaining): New var.
4425 (text-clone--maintain): Rename from text-clone-maintain. Use it
4426 instead of inhibit-modification-hooks.
4427
4428 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4429 a proxy, so as handle autoloads and redefinitions of the target.
4430 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4431
4432 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4433 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4434 (pcase--mutually-exclusive-p): New function.
4435 (pcase--split-consp): Use it.
4436 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4437 mutually exclusive with the current predicate.
4438
4439 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4440 (edebug-macrop): Remove. Use `macrop' instead.
4441 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4442 (ad-macro-p):
4443 * eshell/esh-cmd.el (eshell-macrop):
4444 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4445
4446 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4449 (advice-mapc): New function, using it.
4450 (advice-function-member-p): New function.
4451 (advice--normalize): Store the cdr in advice--saved-rewrite since
4452 that's the part that will be changed.
4453 (advice--symbol-function): New function.
4454 (advice-remove): Handle removal before the function is defined.
4455 Adjust to new advice--saved-rewrite.
4456 (advice-member-p): Use advice-function-member-p and
4457 advice--symbol-function.
4458
4459 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4460
4461 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4462 (frameset-filter-minibuffer): Doc fix.
4463 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4464 (frameset--set-id, frameset--process-minibuffer-frames)
4465 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4466 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4467
4468 * desktop.el (desktop-clear): Only delete frames when called
4469 interactively and desktop-restore-frames is non-nil. Doc fix.
4470 (desktop-read): Set desktop-saved-frameset to nil.
4471
4472 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4473
4474 * vc/vc.el (vc-ignore): Rewrite.
4475 (vc-default-ignore-completion-table):
4476 (vc--read-lines):
4477 (vc--add-line, vc--remove-regexp): New functions.
4478
4479 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4480 (vc-svn-ignore-completion-table): New function.
4481
4482 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4483 (vc-hg-ignore-completion-table):
4484 (vc-hg-find-ignore-file): New functions.
4485
4486 * vc/vc-git.el (vc-git-ignore): Rewrite.
4487 (vc-git-ignore-completion-table):
4488 (vc-git-find-ignore-file): New functions.
4489
4490 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4491
4492 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4493 (vc-bzr-ignore-completion-table):
4494 (vc-bzr-find-ignore-file): New functions.
4495
4496 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4497
4498 * frameset.el (frameset-prop): New function and setter.
4499 (frameset-save): Do not modify frame list passed by the caller.
4500
4501 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4502
4503 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4504
4505 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4508 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4509
4510 * custom.el (custom-initialize-default, custom-initialize-set)
4511 (custom-initialize-reset, custom-initialize-changed): Affect the
4512 toplevel-default-value (bug#6275, bug#14586).
4513 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4514 for bug#6275.
4515
4516 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4519 Add cl-def* expressions.
4520
4521 * frameset.el (frameset-filter-params): Fix order of arguments.
4522
4523 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4524
4525 Move code related to saving frames to frameset.el.
4526 * desktop.el: Require frameset.
4527 (desktop-restore-frames): Doc fix.
4528 (desktop-restore-reuses-frames): Rename from
4529 desktop-restoring-reuses-frames.
4530 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4531 (desktop-clear): Clear frames too.
4532 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4533 (desktop--filter-tty*, desktop-save, desktop-read):
4534 Use frameset functions.
4535 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4536 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4537 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4538 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4539 (desktop--process-minibuffer-frames, desktop-save-frames)
4540 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4541 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4542 (desktop--sort-states, desktop-restoring-frames-p)
4543 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4544 (desktop-restoring-frameset-p, desktop-restore-frameset)
4545 (desktop--check-dont-save, desktop-save-frameset): New functions.
4546 (desktop--app-id): New constant.
4547 (desktop-first-buffer, desktop-buffer-ok-count)
4548 (desktop-buffer-fail-count): Move before first use.
4549 * frameset.el: New file.
4550
4551 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * files.el: Use lexical-binding.
4554 (dir-locals-read-from-file): Remove unused `err' variable.
4555 (hack-dir-local-variables--warned-coding): New var.
4556 (hack-dir-local-variables): Use it to avoid repeated warnings.
4557 (make-backup-file-name--default-function): New function.
4558 (make-backup-file-name-function): Use it as default.
4559 (buffer-stale--default-function): New function.
4560 (buffer-stale-function): Use it as default.
4561 (revert-buffer-insert-file-contents--default-function): New function.
4562 (revert-buffer-insert-file-contents-function): Use it as default.
4563 (insert-directory): Avoid add-to-list.
4564
4565 * autorevert.el (auto-revert-handler): Simplify.
4566 Use buffer-stale--default-function.
4567
4568 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4569
4570 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4571
4572 * whitespace.el (whitespace-ensure-local-variables): New function.
4573 (whitespace-cleanup-region): Call it.
4574 (whitespace-turn-on): Call it.
4575
4576 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4577
4578 Complete file name handlers.
4579
4580 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4581 (tramp-handle-verify-visited-file-modtime)
4582 (tramp-handle-file-notify-rm-watch): New functions.
4583 (tramp-call-process): Do not bind `default-directory'.
4584
4585 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4586 Order alphabetically.
4587 [access-file, add-name-to-file, dired-call-process]:
4588 [dired-compress-file, file-acl, file-notify-rm-watch]:
4589 [file-ownership-preserved-p, file-selinux-context]:
4590 [make-directory-internal, make-symbolic-link, set-file-acl]:
4591 [set-file-selinux-context, set-visited-file-modtime]:
4592 [verify-visited-file-modtime]: Add handler.
4593 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4594
4595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4596 [file-notify-add-watch, file-notify-rm-watch]:
4597 [set-file-times, set-visited-file-modtime]:
4598 [verify-visited-file-modtime]: Add handler.
4599 (with-tramp-gvfs-error-message)
4600 (tramp-gvfs-handle-set-visited-file-modtime)
4601 (tramp-gvfs-fuse-file-name): Remove.
4602 (tramp-gvfs-handle-file-notify-add-watch)
4603 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4604 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4605
4606 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4607 Order alphabetically.
4608 [file-notify-rm-watch ]: Use default Tramp handler.
4609 [executable-find]: Remove private handler.
4610 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4611 `default-directory'.
4612 (tramp-sh-handle-executable-find)
4613 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4614 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4615 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4616 Do not use `format' in `tramp-message'.
4617
4618 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4619 [file-notify-rm-watch, set-visited-file-modtime]:
4620 [verify-visited-file-modtime]: Add handler.
4621 (tramp-smb-call-winexe): Do not bind `default-directory'.
4622
4623 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4624
4625 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4626
4627 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4628
4629 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4630 use it.
4631 (log-view-diff-changeset): Same.
4632 (log-view-diff-common): Call backend command `previous-revision'
4633 to find out the previous revision, in both cases. Swap the
4634 variables `to' and `fr', so that `fr' usually refers to the
4635 earlier revision (Bug#14989).
4636
4637 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4638
4639 * ibuf-ext.el (ibuffer-filter-by-filename):
4640 Make it work with dired buffers too.
4641
4642 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4643
4644 * emacs-lisp/re-builder.el (reb-color-display-p):
4645 * files.el (save-buffers-kill-terminal):
4646 * net/browse-url.el (browse-url):
4647 * server.el (server-save-buffers-kill-terminal):
4648 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4649 Prefer nil to selected-frame for the first arg of frame-parameter.
4650
4651 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4652
4653 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4654
4655 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4656
4657 * minibuffer.el (completion--twq-all): Try and preserve each
4658 completion's case choice (bug#14907).
4659
4660 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4661
4662 * net/network-stream.el (open-network-stream): Mention the new
4663 :nogreeting parameter.
4664 (network-stream-open-starttls): Use the :nogreeting parameter
4665 (bug#14938).
4666
4667 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4668
4669 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4670 more natural than popping.
4671
4672 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4673 (shr-urlify): Highlight under mouse.
4674
4675 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4676
4677 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4678
4679 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4680
4681 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4682 buffer for output.
4683
4684 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4685 point-min==1. Fix search string. Fix parentheses missing.
4686
4687 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4688 assume point-min==1. Fix search string. Fix parentheses missing.
4689
4690 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4691
4692 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4693 buffer for output.
4694
4695 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4696
4697 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4698 initial frame is minibuffer-less. (Bug#14841)
4699
4700 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4701
4702 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4703 option.
4704
4705 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4706 (tramp-maybe-open-connection): Use it.
4707
4708 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4709
4710 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4711 minimal set of parameters passed when creating a frame, because
4712 the minibuffer status of a frame cannot be changed later.
4713
4714 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4715
4716 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4717 replace-regexp-in-string and inadvertent omissions in previous change.
4718 (todo-filter-items): Ensure only file names are comma-separated in
4719 name of filtered items buffer.
4720
4721 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4722
4723 * desktop.el: Optionally force offscreen frames back onscreen.
4724 (desktop-restoring-reuses-frames): New option.
4725 (desktop--compute-pos, desktop--move-onscreen): New functions.
4726 (desktop--make-frame): Use desktop--move-onscreen.
4727
4728 2013-07-27 Alan Mackenzie <acm@muc.de>
4729
4730 Fontify a Java generic method as a function.
4731 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4732 value to t.
4733
4734 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4735
4736 * calendar/todo-mode.el: Add command to rename todo files.
4737 (todo-rename-file): New command.
4738 (todo-key-bindings-t): Add key binding for it. Change the
4739 bindings of todo-filter-regexp-items(-multifile) to use `x'
4740 instead of `r', since the latter is better suited to the new
4741 renaming command.
4742
4743 2013-07-27 Alan Mackenzie <acm@muc.de>
4744
4745 Make Java try-with-resources statement parse properly.
4746 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4747 (c-block-stmt-1-2-key): New language constants/variables.
4748 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4749 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4750 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4751 with c-block-stmt-1-2-key.
4752
4753 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4754
4755 * desktop.el (desktop--make-frame): Apply most frame parameters after
4756 creating the frame to force (partially or totally) offscreen frames to
4757 be restored as such.
4758
4759 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4760
4761 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4762 (Bug#14948)
4763
4764 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4767 `base' arg of backtrace-frame.
4768
4769 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4770
4771 * simple.el (list-processes): Doc fix.
4772
4773 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4774
4775 * desktop.el (desktop--select-frame):
4776 Try harder to reuse existing frames.
4777
4778 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4781 (edebug-eval): Use backtrace-eval.
4782 (edebug--display, edebug--recursive-edit): Don't let-bind the
4783 edebug-outer-* vars that keep track of variables we locally let-bind.
4784 (edebug-outside-excursion): Don't restore outside values of locally
4785 let-bound vars.
4786 (edebug--display): Use user-error.
4787 (cl-lexical-debug, cl-debug-env): Remove.
4788
4789 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4792 are restored to be sure that they are visible before deleting any
4793 remaining ones.
4794
4795 2013-07-26 Matthias Meulien <orontee@gmail.com>
4796
4797 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4798 vc-print-root-log. (Bug#14948)
4799
4800 2013-07-26 Richard Stallman <rms@gnu.org>
4801
4802 Add aliases for encrypting mail.
4803 * epa.el (epa-mail-aliases): New option.
4804 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4805 Bind inhibit-read-only so read-only text doesn't ruin everything.
4806 (epa-mail-default-recipients): New subroutine broken out.
4807 Handle epa-mail-aliases.
4808
4809 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4810
4811 Add support for lexical variables to the debugger's `e' command.
4812 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4813 vars, except for debugger-outer-match-data.
4814 (debugger-frame-number): Move check for "on a function call" from
4815 callers into it. Add `skip-base' argument.
4816 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4817 (debugger-env-macro): Only reset the state stored in non-variables,
4818 i.e. current-buffer and match-data.
4819 (debugger-eval-expression): Rewrite using backtrace-eval.
4820 * subr.el (internal--called-interactively-p--get-frame): Remove.
4821 (called-interactively-p):
4822 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4823 `base' arg of backtrace-frame instead.
4824
4825 2013-07-26 Glenn Morris <rgm@gnu.org>
4826
4827 * align.el (align-regexp): Doc fix. (Bug#14857)
4828 (align-region): Explicit error if subexpression missing/does not match.
4829
4830 * simple.el (global-visual-line-mode):
4831 Do not duplicate the mode lighter. (Bug#14858)
4832
4833 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4834
4835 * window.el (display-buffer): In display-buffer bind
4836 split-window-keep-point to t, bug#14829.
4837
4838 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4841 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4842 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4843 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4844 Change accordingly.
4845 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4846 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4847
4848 2013-07-25 Glenn Morris <rgm@gnu.org>
4849
4850 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4851
4852 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4853
4854 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4855 parameter to modify-frame-parameters if the value has not changed;
4856 this is a workaround for bug#14949.
4857 (desktop--make-frame): On cl-delete-if call, check parameter name,
4858 not full parameter.
4859
4860 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4861
4862 * vc/vc.el (vc-ignore): New function.
4863
4864 * vc/vc-svn.el (vc-svn-ignore): New function.
4865
4866 * vc/vc-hg.el (vc-hg-ignore): New function.
4867
4868 * vc/vc-git.el (vc-git-ignore): New function.
4869
4870 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4871 (vc-dir-ignore): New function.
4872
4873 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4874 (cvs-append-to-ignore): Move here from pcvs.el.
4875
4876 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4877
4878 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4879
4880 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4883 (desktop-restore-frames): Warn when deleting an existing frame failed.
4884
4885 2013-07-24 Glenn Morris <rgm@gnu.org>
4886
4887 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4888
4889 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4890
4891 * filenotify.el (file-notify-supported-p):
4892 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4893 Remove functions.
4894
4895 * autorevert.el (auto-revert-use-notify):
4896 (auto-revert-notify-add-watch):
4897 * net/tramp.el (tramp-file-name-for-operation):
4898 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4899 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4900 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4902 Remove `file-notify-supported-p' entry.
4903
4904 2013-07-24 Glenn Morris <rgm@gnu.org>
4905
4906 * printing.el: Replace all uses of deleted ps-windows-system,
4907 ps-lp-system, ps-flatten-list with lpr- versions.
4908
4909 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4910
4911 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4912 checked with memq (bug#14935).
4913
4914 * files.el (revert-buffer-function): Use a non-nil default.
4915 (revert-buffer-preserve-modes): Declare var to
4916 provide access to the `preserve-modes' argument.
4917 (revert-buffer): Let-bind it.
4918 (revert-buffer--default): New function, extracted from revert-buffer.
4919
4920 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * lpr.el: Signal print errors more prominently.
4923 (print-region-function): Don't default to nil.
4924 (lpr-print-region): New function, extracted from print-region-1.
4925 Check lpr's return value and signal an error in case of problem.
4926 (print-region-1): Use it.
4927 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4928 versions instead.
4929 (ps-printer-name): Default to nil.
4930 (ps-printer-name-option): Default to lpr-printer-switch.
4931 (ps-print-region-function): Don't default to nil.
4932 (ps-postscript-code-directory): Simplify default.
4933 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4934 (ps-string-list, ps-eval-switch, ps-flatten-list)
4935 (ps-flatten-list-1): Remove.
4936 (ps-multibyte-buffer): Avoid setq.
4937 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4938 (print-region-function, ps-print-region-function): Don't set them here.
4939
4940 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4941
4942 * ido.el (ido-fractionp):
4943 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4944 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4945 (ido-max-directory-size, ido-max-dir-file-cache)
4946 (ido-decorations): Doc fix.
4947
4948 * ansi-color.el: Fix old URL.
4949
4950 2013-07-23 Michael R. Mauger <michael@mauger.com>
4951
4952 * progmodes/sql.el: Version 3.3
4953 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4954 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4955 (sql-interactive-remove-continuation-prompt): Rewrite, use
4956 functions above. Fix continuation prompt and complete output line
4957 handling.
4958 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4959 redirected output buffer.
4960 (sql-mode): Restore deleted code (Bug#13591).
4961
4962 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4963
4964 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4965
4966 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4967
4968 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4969
4970 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4971 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4972 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4973
4974 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4975
4976 * desktop.el (desktop-clear): Simplify; remove useless checks
4977 against invalid buffer names.
4978 (desktop-list*): Use cl-list*.
4979 (desktop-buffer-info, desktop-create-buffer): Simplify.
4980
4981 2013-07-23 Leo Liu <sdl.web@gmail.com>
4982
4983 * bookmark.el (bookmark-make-record): Restore NAME as a default
4984 value. (Bug#14933)
4985
4986 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4987
4988 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4989 extracted from autoload--insert-text.
4990 (autoload--insert-text): Remove.
4991 (autoload--print-cookie-text): New function, extracted from
4992 autoload--insert-cookie-text.
4993 (autoload--insert-cookie-text): Remove.
4994 (autoload-generate-file-autoloads): Adjust calls accordingly.
4995
4996 * winner.el (winner-hook-installed-p): Remove.
4997 (winner-mode): Simplify accordingly.
4998
4999 * subr.el (add-to-list): Fix compiler-macro when `append' is
5000 not constant. Don't use `cl-member' for the base case.
5001
5002 * progmodes/subword.el: Fix boundary case (bug#13758).
5003 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5004 own group.
5005 (subword-backward-regexp): Make it a constant.
5006 (subword-forward-internal): Don't treat a trailing capital as the
5007 beginning of a word.
5008
5009 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5010
5011 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5012 global value of tabulated-list-revert-hook (bug#14930).
5013
5014 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5015
5016 * desktop.el: Require 'cl-lib.
5017 (desktop-before-saving-frames-functions): New hook.
5018 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5019 for frames being saved. Rename from desktop--save-minibuffer-frames.
5020 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5021 Do not save frames with non-nil `desktop-dont-save' parameter.
5022 Filter out deleted frames.
5023 (desktop--find-frame): Use cl-find-if.
5024 (desktop--select-frame): Use cl-(first|second|third) to access values
5025 of desktop-mini.
5026 (desktop--make-frame): Use cl-delete-if.
5027 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5028 (desktop-restore-frames): Use cl-(first|second|third) to access values
5029 of desktop-mini. Look for visible frame at the end, not while
5030 restoring frames.
5031
5032 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5033 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5034 Use string-match-p, looking-at-p (bug#14927).
5035
5036 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5037
5038 * desktop.el (desktop-saved-frame-states):
5039 Rename from desktop--saved-states; all users changed.
5040 (desktop-save-frames): Rename from desktop--save-frames.
5041 Do not save state to desktop file.
5042 (desktop-save): Save desktop-saved-frame-states to desktop file
5043 and reset to nil.
5044 (desktop-restoring-frames-p): New function.
5045 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5046 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5047 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5048
5049 * desktop.el: Correctly restore iconified frames.
5050 (desktop--filter-iconified-position): New function.
5051 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5052
5053 2013-07-20 Glenn Morris <rgm@gnu.org>
5054
5055 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5056 Let `message' do the formatting.
5057 (def-gdb-preempt-display-buffer): Add explicit format.
5058
5059 * image-dired.el (image-dired-track-original-file):
5060 Use with-current-buffer.
5061 (image-dired-track-thumbnail): Use with-current-buffer.
5062 Avoid changing point of wrong window.
5063
5064 * image-dired.el (image-dired-track-original-file):
5065 Avoid changing point of wrong window. (Bug#14909)
5066
5067 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5068
5069 * progmodes/gdb-mi.el (gdb-done-or-error):
5070 Guard against "%" in gdb output. (Bug#14127)
5071
5072 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5073
5074 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5075 (Bug#14826)
5076
5077 * international/mule.el (coding-system-iso-2022-flags): Fix last
5078 change.
5079
5080 2013-07-20 Kenichi Handa <handa@gnu.org>
5081
5082 * international/mule.el (coding-system-iso-2022-flags):
5083 Add `8-bit-level-4'. (Bug#8522)
5084
5085 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5086
5087 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5088 (bug#14815).
5089
5090 * net/eww.el (eww-process-text-input): Allow inputting when the
5091 point is at the start of the line, as the properties aren't
5092 front-sticky.
5093
5094 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5095 degenerate widths.
5096
5097 2013-07-19 Richard Stallman <rms@gnu.org>
5098
5099 * epa.el (epa-popup-info-window): Doc fix.
5100
5101 * subr.el (split-string): New arg TRIM.
5102
5103 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5104
5105 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5106 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5107
5108 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5109
5110 * filenotify.el (file-notify--library): Rename from
5111 `file-notify-support'. Do not autoload. Adapt all uses.
5112 (file-notify-supported-p): New defun.
5113
5114 * autorevert.el (auto-revert-use-notify):
5115 Use `file-notify-supported-p' instead of `file-notify-support'.
5116 Adapt docstring.
5117 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5118
5119 * net/tramp.el (tramp-file-name-for-operation):
5120 Add `file-notify-supported-p'.
5121
5122 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5123 New defun.
5124 (tramp-sh-file-name-handler-alist): Add it as handler for
5125 `file-notify-supported-p '.
5126
5127 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5128 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5129 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5130 Add `ignore' as handler for `file-notify-*' functions.
5131
5132 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5133
5134 * simple.el (line-move-partial, line-move): Don't start vscroll or
5135 scroll-up if the current line is not taller than the window.
5136 (Bug#14881)
5137
5138 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5139
5140 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5141 highlight question marks in the method names as strings.
5142 (ruby-block-beg-keywords): Inline.
5143 (ruby-font-lock-keyword-beg-re): Extract from
5144 `ruby-font-lock-keywords'.
5145
5146 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5147
5148 * frame.el (blink-cursor-blinks): New defcustom.
5149 (blink-cursor-blinks-done): New defvar.
5150 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5151 (blink-cursor-timer-function): Check if number of blinks has been
5152 done on X and NS.
5153 (blink-cursor-suspend, blink-cursor-check): New defuns.
5154
5155 2013-07-15 Glenn Morris <rgm@gnu.org>
5156
5157 * edmacro.el (edmacro-format-keys): Fix previous change.
5158
5159 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5160
5161 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5162 The hack didn't work outside English locales anyway.
5163
5164 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5165
5166 * simple.el (define-alternatives): Rename from alternatives-define,
5167 per RMS' suggestion.
5168
5169 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5170
5171 * desktop.el (desktop-restore-frames): Change default to t.
5172 (desktop-restore-in-current-display): Now offer more options.
5173 (desktop-restoring-reuses-frames): New customization option.
5174 (desktop--saved-states): Doc fix.
5175 (desktop-filter-parameters-alist): New variable, renamed and expanded
5176 from desktop--excluded-frame-parameters.
5177 (desktop--target-display): New variable.
5178 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5179 (desktop--filter-tty*, desktop--filter-*-color)
5180 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5181 (desktop--filter-save-desktop-parm)
5182 (desktop-restore-in-original-display-p): New functions.
5183 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5184 (desktop--save-minibuffer-frames): New function, inspired by a similar
5185 function from Martin Rudalics.
5186 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5187 (desktop--restore-in-this-display-p): Remove.
5188 (desktop--find-frame): Rename from desktop--find-frame-in-display
5189 and add predicate argument.
5190 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5191 (desktop--reuse-list): New variable.
5192 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5193 New functions.
5194 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5195
5196 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5197
5198 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5199
5200 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5201
5202 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5203 Highlight conversion methods on Kernel.
5204
5205 2013-07-13 Alan Mackenzie <acm@muc.de>
5206
5207 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5208 and comment it out. This out-commenting enables certain C++
5209 declarations to be parsed correctly.
5210
5211 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5212
5213 * international/mule.el (define-coding-system): Doc fix.
5214
5215 * simple.el (default-font-height): Don't call font-info if the
5216 frame's default font didn't change since the frame was created.
5217 (Bug#14838)
5218
5219 2013-07-13 Leo Liu <sdl.web@gmail.com>
5220
5221 * ido.el (ido-read-file-name): Guard against non-symbol value.
5222
5223 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5224
5225 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5226 in nested defuns.
5227
5228 2013-07-13 Leo Liu <sdl.web@gmail.com>
5229
5230 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5231 ido-set-matches call. (Bug#6852)
5232
5233 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5234
5235 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5236 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5237 Ruby 2.0.
5238 (ruby-font-lock-keywords): Distinguish calls to functions with
5239 module-like names from module references. Highlight character
5240 literals.
5241
5242 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5243
5244 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5245 (gdb-send): Handle continued commands. (Bug#14847)
5246
5247 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * desktop.el (desktop--v2s): Remove unused local variable.
5250 (desktop-save-buffer): Make defvar-local; adjust docstring.
5251 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5252 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5253
5254 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5255
5256 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5257
5258 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5259
5260 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5261 (Bug#14842)
5262
5263 2013-07-12 Glenn Morris <rgm@gnu.org>
5264
5265 * doc-view.el: Require cl-lib at runtime too.
5266 (doc-view-remove-if): Remove.
5267 (doc-view-search-next-match, doc-view-search-previous-match):
5268 Use cl-remove-if.
5269
5270 * edmacro.el: Require cl-lib at runtime too.
5271 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5272 (edmacro-mismatch, edmacro-subseq): Remove.
5273
5274 * shadowfile.el: Require cl-lib.
5275 (shadow-remove-if): Remove.
5276 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5277 Use cl-remove-if.
5278
5279 * wid-edit.el: Require cl-lib.
5280 (widget-choose): Use cl-remove-if.
5281 (widget-remove-if): Remove.
5282
5283 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5284 (ebrowse-delete-if-not): Remove.
5285 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5286 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5287 Use cl-delete-if-not.
5288
5289 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5290
5291 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5292 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5293
5294 2013-07-12 Leo Liu <sdl.web@gmail.com>
5295
5296 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5297
5298 2013-07-11 Glenn Morris <rgm@gnu.org>
5299
5300 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5301 (edebug-gensym-index, edebug-gensym):
5302 Remove reimplementation of cl-gensym.
5303 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5304
5305 * thumbs.el: Require cl-lib at run-time too.
5306 (thumbs-gensym-counter, thumbs-gensym):
5307 Remove reimplementation of cl-gensym.
5308 (thumbs-temp-file): Use cl-gensym.
5309
5310 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5311 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5312 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5313 (ert--union, ert--gensym-counter, ert--gensym-counter)
5314 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5315 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5316 (ert-make-test-unbound, ert--expand-should-1)
5317 (ert--expand-should, ert--should-error-handle-error)
5318 (should-error, ert--explain-equal-rec)
5319 (ert--plist-difference-explanation, ert-select-tests)
5320 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5321 Use cl-lib functions rather than reimplementations.
5322
5323 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5324
5325 * net/tramp.el (tramp-methods): Extend docstring.
5326 (tramp-connection-timeout): New defcustom.
5327 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5328 (with-tramp-progress-reporter): Simplify.
5329 (tramp-process-actions): Improve messages.
5330
5331 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5332 * net/tramp-sh.el (tramp-maybe-open-connection):
5333 Use `tramp-connection-timeout'.
5334 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5335 (Bug#14808)
5336
5337 2013-07-11 Leo Liu <sdl.web@gmail.com>
5338
5339 * ido.el (ido-read-file-name): Conform to the requirements of
5340 read-file-name. (Bug#11861)
5341 (ido-read-directory-name): Conform to the requirements of
5342 read-directory-name.
5343
5344 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5345
5346 * subr.el (delay-warning): New function.
5347
5348 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5349
5350 * simple.el (default-line-height): New function.
5351 (line-move-partial, line-move): Use it instead of computing the
5352 line height inline.
5353 (line-move-partial): Always compute ROWH. If the last line is
5354 partially-visible, but its text is completely visible, allow
5355 cursor to enter such a partially-visible line.
5356
5357 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5358
5359 Improve error messages. (Bug#14808)
5360
5361 * net/tramp.el (tramp-current-connection): New defvar, moved from
5362 tramp-sh.el.
5363 (tramp-message-show-progress-reporter-message): Remove, not
5364 needed anymore.
5365 (tramp-error-with-buffer): Show message in minibuffer.
5366 Discard input before waiting. Reset connection timestamp.
5367 (with-tramp-progress-reporter): Improve messages.
5368 (tramp-process-actions): Use progress reporter. Delete process in
5369 case of error. Improve messages.
5370
5371 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5372 Call `tramp-error-with-buffer' with vector and buffer.
5373 (tramp-current-connection): Remove.
5374 (tramp-maybe-open-connection): The car of
5375 `tramp-current-connection' are the first 3 slots of the vector.
5376
5377 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5378
5379 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5380 inside continued strings.
5381
5382 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5383
5384 Timestamp fixes for undo (Bug#14824).
5385 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5386
5387 2013-07-10 Leo Liu <sdl.web@gmail.com>
5388
5389 * files.el (require-final-newline): Allow safe local value.
5390 (Bug#14834)
5391
5392 2013-07-09 Leo Liu <sdl.web@gmail.com>
5393
5394 * ido.el (ido-read-directory-name): Handle fallback.
5395 (ido-read-file-name): Update DIR to ido-current-directory.
5396 (Bug#1516)
5397 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5398
5399 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5400
5401 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5402 "autoload". Remove "warn lower camel case" section, previously
5403 commented out. Highlight negation char. Do not highlight the
5404 target in singleton method definitions.
5405
5406 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * faces.el (tty-setup-hook): Declare the hook.
5409
5410 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5411 and detect when a guard/pred depends on local vars (bug#14773).
5412 (pcase--u1): Adjust caller.
5413
5414 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5415
5416 * simple.el (line-move-partial, line-move): Account for
5417 line-spacing.
5418 (line-move-partial): Avoid setting vscroll when the last
5419 partially-visible line in window is of default height.
5420
5421 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5422
5423 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5424 been used a while.
5425
5426 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * subr.el (read-quoted-char): Remove unused local variable `char'.
5429
5430 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5431
5432 * ediff.el (ediff-version): Version update.
5433 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5434 (ediff-merge-with-ancestor-command, ediff-directories-command)
5435 (ediff-directories3-command, ediff-merge-directories-command)
5436 (ediff-merge-directories-with-ancestor-command): New functions.
5437 All are command-line interfaces to ediff: to facilitate calling
5438 Emacs with the appropriate ediff functions invoked.
5439
5440 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5441 (viper-save-kill-buffer): Check if buffer is modified.
5442
5443 * viper.el (viper-version): Version update.
5444 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5445
5446 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5449 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5450 (viper-intercept-ESC-key): Simplify.
5451 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5452 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5453 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5454 (viper-setup-ESC-to-escape): New functions.
5455 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5456 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5457
5458 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5459
5460 * simple.el (default-font-height, window-screen-lines):
5461 New functions.
5462 (line-move, line-move-partial): Use them instead of
5463 frame-char-height and window-text-height. This makes scrolling
5464 text smoother when the buffer's default face uses a font that is
5465 different from the frame's default font.
5466
5467 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5468
5469 * files.el (write-file): Do not display confirm dialog for NS,
5470 it does its own dialog, which can't be cancelled (Bug#14578).
5471
5472 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5473
5474 * simple.el (line-move-partial): Adjust the row returned by
5475 posn-at-point for the current window-vscroll. (Bug#14567)
5476
5477 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5478
5479 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5480 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5481 spaces.
5482
5483 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5484
5485 * window.el (window-state-put-stale-windows): New variable.
5486 (window--state-put-2): Save list of windows without matching buffer.
5487 (window-state-put): Remove "bufferless" windows if possible.
5488
5489 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * simple.el (alternatives-define): Remove leftover :group keyword.
5492 Tweak docstring.
5493
5494 2013-07-06 Leo Liu <sdl.web@gmail.com>
5495
5496 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5497 (ido-enable-virtual-buffers): New variable.
5498 (ido-buffer-internal, ido-toggle-virtual-buffers)
5499 (ido-make-buffer-list): Use it.
5500 (ido-exhibit): Support turning on and off virtual buffers
5501 automatically.
5502
5503 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5504
5505 * simple.el (alternatives-define): New macro.
5506
5507 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5508
5509 * subr.el (read-quoted-char): Use read-key.
5510 (sit-for): Let read-event decode tty input (bug#14782).
5511
5512 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5513
5514 * calendar/todo-mode.el: Add handling of file deletion, both by
5515 mode command and externally. Fix various related bugs.
5516 Clarify Commentary and improve some documentation strings and code.
5517 (todo-delete-file): New command.
5518 (todo-check-file): New function.
5519 (todo-show): Handle external deletion of the file we're trying to
5520 show (bug#14688). Replace called-interactively-p by an optional
5521 prefix argument to avoid problematic interaction with catch form
5522 when byte compiled (bug#14702).
5523 (todo-quit): Handle external deletion of the archive's todo file.
5524 Make sure the buffer that was visiting the archive file is still
5525 live before trying to bury it.
5526 (todo-category-completions): Handle external deletion of any
5527 category completion files.
5528 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5529 of todo files, in case of external deletion.
5530 (todo-add-file): Replace unnecessary setq by let-binding.
5531 (todo-find-archive): Check whether there are any archives.
5532 Replace unnecessary setq by let-binding.
5533 (todo-archive-done-item): Use find-file-noselect to get the
5534 archive buffer whether or not the archive already exists.
5535 Remove superfluous code. Use file size instead of buffer-file-name to
5536 check if the archive is new; if it is, update list of archives.
5537 (todo-default-todo-file): Allow nil to be a valid value for when
5538 there are no todo files.
5539 (todo-reevaluate-default-file-defcustom): Use corrected definition
5540 of todo-default-todo-file.
5541 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5542 (todo-delete-category, todo-show-categories-table)
5543 (todo-category-number): Clarify comment.
5544 (todo-filter-items): Clarify documentation string.
5545 (todo-show-current-file, todo-display-as-todo-file)
5546 (todo-reset-and-enable-done-separator): Tweak documentation string.
5547 (todo-done-separator): Make separator length window-width, since
5548 bug#2749 is now fixed.
5549
5550 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5551
5552 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5553 Support both "gvfs-monitor-dir" and "inotifywait".
5554 (tramp-sh-file-inotifywait-process-filter): Rename from
5555 `tramp-sh-file-notify-process-filter'.
5556 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5557 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5558
5559 2013-07-05 Leo Liu <sdl.web@gmail.com>
5560
5561 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5562
5563 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5564
5565 * frame.el (display-pixel-height, display-pixel-width)
5566 (display-mm-height, display-mm-width): Mention behavior on
5567 multi-monitor setups in docstrings.
5568 (w32-display-monitor-attributes-list): Declare function.
5569 (display-monitor-attributes-list): Use it.
5570
5571 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5572
5573 * filenotify.el: New package.
5574
5575 * autorevert.el (top): Require filenotify.el.
5576 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5577 instead.
5578 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5579 (auto-revert-notify-handler): Use `file-notify-*' functions.
5580
5581 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5582
5583 * net/tramp.el (tramp-file-name-for-operation):
5584 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5585
5586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5587 for `file-notify-add-watch' and `file-notify-rm-watch'.
5588 (tramp-process-sentinel): Improve trace.
5589 (tramp-sh-handle-file-notify-add-watch)
5590 (tramp-sh-file-notify-process-filter)
5591 (tramp-sh-handle-file-notify-rm-watch)
5592 (tramp-get-remote-inotifywait): New defuns.
5593
5594 2013-07-03 Juri Linkov <juri@jurta.org>
5595
5596 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5597 call of `occur-read-primary-args' to interactive spec.
5598
5599 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5600 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5601
5602 2013-07-03 Matthias Meulien <orontee@gmail.com>
5603
5604 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5605 `Buffer-menu-multi-occur'. Add it to the menu.
5606 (Buffer-menu-mode): Document it in docstring.
5607 (Buffer-menu-multi-occur): New command. (Bug#14673)
5608
5609 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5610
5611 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5612 keywords and built-ins.
5613
5614 2013-07-03 Glenn Morris <rgm@gnu.org>
5615
5616 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5617
5618 Make info-xref checks case-sensitive by default
5619 * info.el (Info-find-node, Info-find-in-tag-table)
5620 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5621 Add option for exact case matching of nodes.
5622 * info-xref.el (info-xref): New custom group.
5623 (info-xref-case-fold): New option.
5624 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5625
5626 2013-07-03 Leo Liu <sdl.web@gmail.com>
5627
5628 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5629
5630 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5631
5632 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5633 middle of block statement initially, lower the depth. Remove
5634 FIXME comment, not longer valid. Remove middle of block statement
5635 detection, no need to do that anymore since we've been using
5636 `ruby-parse-region' here.
5637
5638 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5639
5640 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5641
5642 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5643
5644 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5645
5646 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5647
5648 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5649 (desktop-restore-in-current-display): New customization option.
5650 (desktop--excluded-frame-parameters): Add `font'.
5651 (desktop--save-frames): Rename from desktop--save-windows.
5652 (desktop--restore-in-this-display-p): New function.
5653 (desktop--make-full-frame): Remove unwanted width/height from
5654 full(width|height) frames.
5655 (desktop--restore-frames): Rename from desktop--restore-windows.
5656 Obey desktop-restore-current-display. Do not delete old frames or
5657 select a new frame unless we were able to restore at least one frame.
5658
5659 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5660
5661 * files.el (find-file-noselect): Simplify conditional expression.
5662
5663 * remember.el (remember-append-to-file):
5664 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5665
5666 Add `remember-notes' function to store random notes across Emacs
5667 restarts.
5668 * remember.el (remember-data-file): Add :set callback to affect
5669 notes buffer (if any).
5670 (remember-notes): New command.
5671 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5672 New defcustoms for the `remember-notes' function.
5673 (remember-notes-save-and-bury-buffer): New command.
5674 (remember-notes-mode-map): New variable.
5675 (remember-mode): New minor mode.
5676 (remember-notes--kill-buffer-query): New function.
5677 * startup.el (initial-buffer-choice): Add notes to custom type.
5678
5679 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5680
5681 * bindings.el (right-char, left-char): Don't call sit-for, this is
5682 no longer needed. Use arithmetic comparison only for numerical
5683 arguments.
5684
5685 * international/mule-cmds.el (select-safe-coding-system):
5686 Handle the case of FROM being a string correctly. (Bug#14755)
5687
5688 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5689
5690 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5691 progression on degenerate tables.
5692 (shr-rescale-image): ImageMagick animated images currently don't work.
5693
5694 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5695
5696 Some fixes and improvements for desktop frame restoration.
5697 It is still experimental and disabled by default.
5698 * desktop.el (desktop--save-windows): Put the selected frame at
5699 the head of the list.
5700 (desktop--make-full-frame): New function.
5701 (desktop--restore-windows): Try to re-select the frame that was
5702 selected upon saving. Do not abort if some frames fail to restore,
5703 just show an error message and continue. Set up maximized frames
5704 so they have default non-maximized dimensions.
5705
5706 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5707
5708 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5709 Don't start heredoc inside a string or comment.
5710
5711 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5712
5713 * bindings.el (visual-order-cursor-movement): New defcustom.
5714 (right-char, left-char): Provide visual-order cursor motion by
5715 calling move-point-visually. Update the doc strings.
5716
5717 2013-06-28 Kenichi Handa <handa@gnu.org>
5718
5719 * international/mule.el (define-coding-system): New coding system
5720 properties :inhibit-null-byte-detection,
5721 :inhibit-iso-escape-detection, and :prefer-utf-8.
5722 (set-buffer-file-coding-system): If :charset-list property of
5723 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5724 appropriate for setting.
5725
5726 * international/mule-cmds.el (select-safe-coding-system):
5727 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5728 multibyte characters, return utf-8 (or one of its siblings).
5729
5730 * international/mule-conf.el (prefer-utf-8): New coding system.
5731 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5732 files.
5733
5734 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5735
5736 * net/shr.el (shr-render-region): New function.
5737
5738 * net/eww.el: Autoload `eww-browse-url'.
5739
5740 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5741
5742 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5743 Adapt to `package-desc-version' being a list.
5744 Use `package--ac-desc-version' to retrieve version from a package
5745 archive element.
5746
5747 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5748
5749 New experimental feature to save&restore window and frame setup.
5750 * desktop.el (desktop-save-windows): New defcustom.
5751 (desktop--saved-states): New var.
5752 (desktop--excluded-frame-parameters): New defconst.
5753 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5754 (desktop--restore-windows, desktop--save-windows): New functions.
5755 (desktop-save): Call `desktop--save-windows'.
5756 (desktop-read): Call `desktop--restore-windows'.
5757
5758 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5759
5760 * net/shr.el (add-face-text-property): Remove compat definition.
5761
5762 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5763
5764 * info.el (Info-try-follow-nearest-node): Move search for footnote
5765 above search for node name to prevent missing a footnote (bug#14717).
5766
5767 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5768
5769 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5770
5771 2013-06-27 Leo Liu <sdl.web@gmail.com>
5772
5773 * net/eww.el (eww-read-bookmarks): Check file size.
5774
5775 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5778 advice--pending if newdef is nil or an autoload (bug#13820).
5779 (advice-mapc): New function.
5780
5781 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5782
5783 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5784 probably.
5785 (eww-mode-map): Add a menu bar.
5786 (eww-add-bookmark): New command.
5787 (eww-bookmark-mode): New mode and commands.
5788 (eww-add-bookmark): Remove newlines from the title.
5789 (eww-bookmark-browse): Don't bug out if it's the only window.
5790
5791 2013-06-26 Glenn Morris <rgm@gnu.org>
5792
5793 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5794 (hfy-size): Handle ttys. (Bug#14668)
5795
5796 * info-xref.el: Update for Texinfo 5 change in *note format.
5797 (info-xref-node-re, info-xref-note-re): New constants.
5798 (info-xref-check-buffer): Use info-xref-note-re.
5799
5800 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5803
5804 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5805 nil terminate the loop (bug#14718).
5806
5807 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5808
5809 * net/eww.el: Rework history traversal. When going forward/back,
5810 put these actions into the history, too, so that they can be
5811 replayed.
5812 (eww-render): Move the history reset to the correct buffer.
5813
5814 2013-06-25 Juri Linkov <juri@jurta.org>
5815
5816 * files-x.el (modify-dir-local-variable): Change the header comment
5817 in the file with directory local variables. (Bug#14692)
5818
5819 * files-x.el (read-file-local-variable-value): Add `default'.
5820 (Bug#14710)
5821
5822 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5823
5824 * net/eww.el (eww-make-unique-file-name): Create a unique file
5825 name before saving to entering `y' accidentally asynchronously.
5826
5827 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5828
5829 * net/eww.el (eww-download): New command and keystroke.
5830
5831 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5832
5833 * net/eww.el (eww-copy-page-url): Change name of command.
5834
5835 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5836 be more consistent with Info and dired.
5837
5838 * net/eww.el (eww-mode-map): Ditto.
5839
5840 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5843 packages from archives.
5844 (package-archive-contents): Change format; include obsolete packages.
5845 (package-desc): Use `dir' to mark builtin packages.
5846 (package--from-builtin): Set the `dir' field to `builtin'.
5847 (generated-autoload-file, version-control): Declare.
5848 (package-compute-transaction): Change first arg and return value to be
5849 lists of package-descs. Adjust to new package-archive-contents format.
5850 (package--add-to-archive-contents): Adjust to new
5851 package-archive-contents format.
5852 (package-download-transaction): Arg is now a list of package-descs.
5853 (package-install): If `pkg' is a package name, pass it as
5854 a requirement, so it is subject to the usual (e.g. disabled) checks.
5855 (describe-package): Accept package-desc as well.
5856 (describe-package-1): Describe a specific package-desc. Add links to
5857 other package-descs for the same package name.
5858 (package-menu-describe-package): Pass the actual package-desc.
5859 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5860 works correctly.
5861 (package-desc-status): New function.
5862 (package-menu--refresh): New function, extracted
5863 from package-menu--generate.
5864 (package-menu--generate): Use it.
5865 (package-delete): Update package-alist.
5866 (package-menu-execute): Don't call package-initialize.
5867
5868 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5869 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5870 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5871 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5872 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5873 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5874
5875 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5876
5877 * window.el (window--state-get-1): Workaround for bug#14527.
5878 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5879
5880 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881
5882 * net/eww.el (eww-back-url): Implement the history by stashing all
5883 the data into a list.
5884 (eww-forward-url): Allow going forward in the history, too.
5885
5886 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5887
5888 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5889 for values and use read--expression for expressions (bug#14710).
5890 (read-file-local-variable): Avoid setq.
5891 (read-file-local-variable-mode): Use minor-mode-list.
5892
5893 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5894
5895 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5896 for DOI URLs.
5897
5898 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5899
5900 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5901 Update imenu-support when dialect changes.
5902
5903 2013-06-25 Leo Liu <sdl.web@gmail.com>
5904
5905 * ido.el (ido-read-internal): Allow forward slash on windows.
5906
5907 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5908
5909 * net/eww.el (eww): Start of strings is \\`, not ^.
5910
5911 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5912
5913 * net/shr.el (shr-browse-url): Fix interactive spec.
5914
5915 * net/eww.el (eww): Add a trailing slash to domain names.
5916
5917 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5918
5919 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5920
5921 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5922
5923 * net/shr.el (shr-browse-url): Use an external browser if given a
5924 prefix.
5925
5926 * net/eww.el (eww-external-browser): Move to shr.
5927
5928 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5929
5930 * net/eww.el (eww): Work more correctly for file: URLs.
5931 (eww-detect-charset): Allow quoted charsets.
5932 (eww-yank-page-url): New command and keystroke.
5933
5934 2013-06-24 Daiki Ueno <ueno@gnu.org>
5935
5936 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5937 file name of gpg executable.
5938 (epg-context-program): New function.
5939 (epg-context-home-directory): New function.
5940 (epg-context-set-program): New function.
5941 (epg-context-set-home-directory): New function.
5942 (epg--start): Use `epg-context-program' instead of
5943 'epg-gpg-program'.
5944 (epg--list-keys-1): Likewise.
5945
5946 2013-06-24 Leo Liu <sdl.web@gmail.com>
5947
5948 * ido.el (ido-read-internal): Fix bug#14620.
5949
5950 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5951
5952 * faces.el (face-documentation): Simplify.
5953 (read-face-attribute, tty-find-type, x-resolve-font-name):
5954 Use `string-match-p'.
5955 (list-faces-display): Use `string-match-p'. Simplify.
5956 (face-spec-recalc): Check face to avoid face alias loops.
5957 (read-color): Use `string-match-p' and non-capturing parenthesis.
5958
5959 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5960
5961 * net/shr.el (shr-rescale-image): Use the new
5962 :max-width/:max-height functionality.
5963
5964 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5965
5966 * net/eww.el (eww-search-prefix): New variable.
5967 (eww): Use it.
5968 (eww-external-browser): New variable.
5969 (eww-mode-map): New keystroke.
5970 (eww-browse-with-external-browser): New command.
5971
5972 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5973
5974 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5977 Don't skip aligning the next header field when padding is 0;
5978 otherwise, field width is not respected unless the title is as
5979 wide as the field.
5980
5981 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * emacs-lisp/package.el (package-el-version): Remove.
5984 (package-process-define-package): Fix inf-loop.
5985 (package-install): Allow symbols as arguments again.
5986
5987 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5988
5989 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5990 add some more keyword-like methods.
5991 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5992
5993 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5994
5995 * bs.el (bs-buffer-show-mark): Make defvar-local.
5996 (bs-mode): Use setq-local.
5997
5998 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5999 (emacs-lock--try-unlocking): Make defvar-local.
6000
6001 2013-06-22 Glenn Morris <rgm@gnu.org>
6002
6003 * play/cookie1.el (cookie-apropos): Minor simplification.
6004
6005 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6006
6007 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6008
6009 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6010 `regexp-opt', it breaks the build during dumping.
6011
6012 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6013
6014 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6015 Highlight keyword-like methods on Kernel and Module with
6016 font-lock-builtin-face.
6017 (auto-mode-alist): Consolidate different entries into one regexp
6018 and add more *file-s.
6019
6020 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6021
6022 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6023
6024 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6025 (diary-entry): Use it in the action of this button type instead of
6026 diary-goto-entry.
6027
6028 * calendar/todo-mode.el: New version.
6029 (todo-add-category): Append new category to end of file and give
6030 it the highest number, instead of putting it at the beginning and
6031 giving it 0. Incorporate noninteractive functionality.
6032 (todo-forward-category): Adapt to 1-based category numbering.
6033 Allow skipping over archived categories.
6034 (todo-backward-category): Derive from todo-forward-category.
6035 (todo-backward-item, todo-forward-item): Make noninteractive and
6036 delegate interactive part to new commands. Make sensitive to done items.
6037 (todo-categories): Make value an alist of category names and
6038 vectors of item counts.
6039 (todo-category-beg): Make a defconst.
6040 (todo-category-number): Use 1 instead of 0 as initial value.
6041 (todo-category-select): Make sensitive to overlays, optional item
6042 highlighting and done items.
6043 (todo-delete-item): Make sensitive to overlays and marked and done items.
6044 (todo-edit-item): Make sensitive to overlays and editing of
6045 date/time header optional. Add format checks.
6046 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6047 no-op if point is not on an item. Advertise using todo-edit-quit.
6048 (todo-edit-mode): Make sensitive to new format, font-locking, and
6049 multiple todo files.
6050 (todo-insert-item, todo-insert-item-here): Derive from
6051 todo-basic-insert-item and extend functionality.
6052 (todo-item-end, todo-item-start): Make sensitive to done items.
6053 (todo-item-string): Don't return text properties. Restore point.
6054 (todo-jump-to-category): Make sensitive to multiple todo files and
6055 todo archives. Use extended category completion.
6056 (todo-lower-item, todo-raise-item): Rename to *-priority and
6057 derive from todo-set-item-priority.
6058 (todo-mode): Derive from special-mode. Make sensitive to new
6059 format, font-locking and multiple todo files. Make read-only.
6060 (todo-mode-map): Don't suppress digit keys, so they can supply
6061 prefix arguments. Add many new key bindings.
6062 (todo-prefix): Insert as an overlay instead of file text.
6063 Change semantics from diary date expression to purely visual mark.
6064 (todo-print): Rename to todo-print-buffer. Make buffer display
6065 features printable. Remove option to restrict number of items
6066 printed. Add option to print to file.
6067 (todo-print-function): Rename to todo-print-buffer-function.
6068 (todo-quit): Extend to handle exiting new todo modes.
6069 (todo-remove-item): Make sensitive to overlays.
6070 (todo-save): Extend to buffers of filtered items.
6071 (todo-show): Make sensitive to done items, multiple todo files and
6072 new todo modes. Offer to convert legacy todo file before creating
6073 first new todo file.
6074 (todo-show-priorities): Rename to todo-top-priorities.
6075 Change semantics of value 0.
6076 (todo-top-priorities): Rename to todo-filter-top-priorities,
6077 derive from todo-filter-items and extend functionality.
6078 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6079 and extend functionality to other types of filtered items.
6080 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6081 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6082 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6083 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6084 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6085 (todo-edit-mode-hook, todo-entry-prefix-function)
6086 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6087 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6088 (todo-initials, todo-insert-threshold, todo-item-string-start)
6089 (todo-line-string, todo-menu, todo-mode-hook)
6090 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6091 (todo-print-priorities, todo-remove-separator)
6092 (todo-save-top-priorities-too, todo-string-count-lines)
6093 (todo-string-multiline-p, todo-time-string-format)
6094 (todo-tmp-buffer-name): Remove.
6095 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6096 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6097 (todo-edit-category-diary-inclusion)
6098 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6099 (todo-edit-file, todo-edit-item-date-day)
6100 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6101 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6102 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6103 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6104 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6105 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6106 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6107 (todo-filter-top-priorities-multifile, todo-find-archive)
6108 (todo-find-filtered-items-file, todo-go-to-source-item)
6109 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6110 (todo-jump-to-archive-category, todo-lower-category)
6111 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6112 (todo-move-category, todo-move-item, todo-next-button)
6113 (todo-next-item, todo-padded-string, todo-powerset)
6114 (todo-previous-button, todo-previous-item)
6115 (todo-print-buffer-to-file, todo-raise-category)
6116 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6117 (todo-set-category-number, todo-set-item-priority)
6118 (todo-set-top-priorities-in-category)
6119 (todo-set-top-priorities-in-file, todo-show-categories-table)
6120 (todo-sort-categories-alphabetically-or-numerically)
6121 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6122 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6123 (todo-toggle-item-header, todo-toggle-item-highlighting)
6124 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6125 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6126 (todo-unarchive-items, todo-unmark-category): New commands.
6127 (todo-absolute-file-name, todo-add-to-buffer-list)
6128 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6129 (todo-basic-insert-item, todo-category-completions)
6130 (todo-category-number, todo-category-string-matcher-1)
6131 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6132 (todo-check-format, todo-clear-matches)
6133 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6134 (todo-current-category, todo-date-string-matcher)
6135 (todo-define-insertion-command, todo-diary-expired-matcher)
6136 (todo-diary-goto-entry, todo-diary-item-p)
6137 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6138 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6139 (todo-done-item-section-p, todo-done-separator)
6140 (todo-done-string-matcher, todo-files, todo-filter-items)
6141 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6142 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6143 (todo-insert-category-line, todo-insert-item-from-calendar)
6144 (todo-insert-sort-button, todo-insert-with-overlays)
6145 (todo-insertion-command-name, todo-insertion-key-bindings)
6146 (todo-label-to-key, todo-longest-category-name-length)
6147 (todo-make-categories-list, todo-mode-external-set)
6148 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6149 (todo-modes-set-3, todo-multiple-filter-files)
6150 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6151 (todo-read-category, todo-read-date, todo-read-dayname)
6152 (todo-read-file-name, todo-read-time)
6153 (todo-reevaluate-category-completions-files-defcustom)
6154 (todo-reevaluate-default-file-defcustom)
6155 (todo-reevaluate-filelist-defcustoms)
6156 (todo-reevaluate-filter-files-defcustom)
6157 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6158 (todo-reset-done-separator, todo-reset-done-separator-string)
6159 (todo-reset-done-string, todo-reset-global-current-todo-file)
6160 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6161 (todo-reset-prefix, todo-set-categories)
6162 (todo-set-date-from-calendar, todo-set-show-current-file)
6163 (todo-set-top-priorities, todo-short-file-name)
6164 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6165 (todo-total-item-counts, todo-update-buffer-list)
6166 (todo-update-categories-display, todo-update-categories-sexp)
6167 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6168 New functions.
6169 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6170 New major modes.
6171 (todo-categories, todo-display, todo-edit, todo-faces)
6172 (todo-filtered): New defgroups.
6173 (todo-archived-only, todo-button, todo-category-string, todo-date)
6174 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6175 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6176 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6177 (todo-add-item-if-new-category, todo-always-add-time-string)
6178 (todo-categories-align, todo-categories-archived-label)
6179 (todo-categories-category-label, todo-categories-diary-label)
6180 (todo-categories-done-label, todo-categories-number-separator)
6181 (todo-categories-todo-label, todo-categories-totals-label)
6182 (todo-category-completions-files, todo-completion-ignore-case)
6183 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6184 (todo-done-separator-string, todo-done-string)
6185 (todo-files-function, todo-filter-done-items, todo-filter-files)
6186 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6187 (todo-initial-category, todo-initial-file, todo-item-mark)
6188 (todo-legacy-date-time-regexp, todo-mode-line-function)
6189 (todo-nondiary-marker, todo-number-prefix)
6190 (todo-print-buffer-function, todo-show-current-file)
6191 (todo-show-done-only, todo-show-first, todo-show-with-done)
6192 (todo-skip-archived-categories, todo-top-priorities-overrides)
6193 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6194 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6195 New defcustoms.
6196 (todo-category-done, todo-date-pattern, todo-date-string-start)
6197 (todo-diary-items-buffer, todo-done-string-start)
6198 (todo-filtered-items-buffer, todo-item-start)
6199 (todo-month-abbrev-array, todo-month-name-array)
6200 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6201 (todo-top-priorities-buffer): New defconsts.
6202 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6203 (todo-categories-with-marks, todo-category-string-face)
6204 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6205 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6206 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6207 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6208 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6209 (todo-font-lock-keywords, todo-global-current-todo-file)
6210 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6211 (todo-insertion-commands-args)
6212 (todo-insertion-commands-args-genlist)
6213 (todo-insertion-commands-names, todo-insertion-map)
6214 (todo-key-bindings-t, todo-key-bindings-t+a)
6215 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6216 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6217 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6218 (todo-visited): New variables.
6219
6220 2013-06-21 Glenn Morris <rgm@gnu.org>
6221
6222 * play/cookie1.el (cookie-apropos): Add optional display argument.
6223 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6224 (psychoanalyze-pinhead): Use cookie-doctor.
6225
6226 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6227
6228 * emacs-lisp/package.el (tar-get-file-descriptor)
6229 (tar--extract): Declare.
6230
6231 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6232
6233 Extend flymake's warning predicate to be a function (bug#14217).
6234 * progmodes/flymake.el (flymake-warning-predicate): New.
6235 (flymake-parse-line): Use it.
6236 (flymake-warning-re): Make obsolete alias to
6237 `flymake-warning-predicate'.
6238
6239 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6242 (package-obsolete-list): Remove.
6243 (package-activate): Remove min-version argument. Add `force' argument.
6244 Adjust to new package-alist format.
6245 (package-mark-obsolete): Remove.
6246 (package-unpack): Force reload of the package's autoloads.
6247 (package-installed-p): Check builtins if the installed package is not
6248 recent enough.
6249 (package-initialize): Don't reset package-obsolete-list.
6250 Don't specify which package version to activate.
6251 (package-process-define-package, describe-package-1)
6252 (package-menu--generate): Adjust to new package-alist format.
6253
6254 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6255
6256 * allout-widgets.el (allout-widgets-mode-off)
6257 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6258 (allout-widgets-post-command-business)
6259 (allout-widgets-after-copy-or-kill-function)
6260 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6261 (allout-decorate-item-and-context)
6262 (allout-graphics-modification-handler): Fix typos in docstrings.
6263 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6264
6265 * cmuscheme.el (scheme-start-file): Doc fix.
6266 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6267 (scheme-input-filter): Use `string-match-p'.
6268
6269 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6270
6271 * dired-x.el: Use Dired consistently in docstrings.
6272
6273 * dired.el: Use Dired consistently in docstrings.
6274 (dired-readin, dired-mode): Use `setq-local'.
6275 (dired-switches-alist): Make defvar-local.
6276 (dired-buffers-for-dir): Use `zerop'.
6277 (dired-safe-switches-p, dired-switches-escape-p)
6278 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6279 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6280 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6281 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6282 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6283 (dired-toggle-marks, dired-mark-files-containing-regexp)
6284 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6285 (dired-flag-auto-save-files, dired-flag-backup-files):
6286 Use `looking-at-p'.
6287 (dired-mark-files-regexp, dired-build-subdir-alist):
6288 Use `string-match-p', `looking-at-p'.
6289
6290 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6291 (direct-print-region-helper): Use `string-match-p'.
6292
6293 2013-06-21 Leo Liu <sdl.web@gmail.com>
6294
6295 * comint.el (comint-redirect-results-list-from-process):
6296 Fix infinite loop.
6297
6298 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6299
6300 * net/eww.el (eww-update-header-line-format): Quote % characters.
6301
6302 2013-06-21 Glenn Morris <rgm@gnu.org>
6303
6304 * play/cookie1.el (cookie): New custom group.
6305 (cookie-file): New option.
6306 (cookie-check-file): New function.
6307 (cookie): Make it interactive. Make start and end messages optional.
6308 Interactively, display the result. Default to cookie-file.
6309 (cookie-insert): Default to cookie-file.
6310 (cookie-snarf): Make start and end messages optional.
6311 Default to cookie-file. Use with-temp-buffer.
6312 (cookie-read): Rename from read-cookie.
6313 Make start and end messages optional. Default to cookie-file.
6314 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6315 Do not autoload it.
6316 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6317 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6318
6319 2013-06-21 Leo Liu <sdl.web@gmail.com>
6320
6321 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6322
6323 2013-06-21 Glenn Morris <rgm@gnu.org>
6324
6325 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6326
6327 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6328 Daniel Hackney <dan@haxney.org>
6329
6330 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6331 Consolidate the single-file vs tarball code.
6332 (package-desc-suffix): New function.
6333 (package-desc-full-name): Don't bother inlining it.
6334 (package-load-descriptor): Return the new package-desc.
6335 (package-mark-obsolete): Remove unused arg `package'.
6336 (package-unpack): Make it work for single files as well.
6337 Make it update package-alist.
6338 (package--make-autoloads-and-stuff): Rename from
6339 package--make-autoloads-and-compile. Don't compile any more.
6340 (package--compile): New function.
6341 (package-generate-description-file): New function, extracted from
6342 package-unpack-single.
6343 (package-unpack-single): Remove.
6344 (package--with-work-buffer): Add indentation and debugging info.
6345 (package-download-single): Remove.
6346 (package-install-from-archive): Rename from package-download-tar, make
6347 it take a pkg-desc, and make it work for single files as well.
6348 (package-download-transaction): Simplify.
6349 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6350 external tar program.
6351 (package-install-from-buffer): Remove `pkg-desc' argument.
6352 Use package-tar-file-info for tar-mode buffers.
6353 (package-install-file): Simplify accordingly.
6354 (package-archive-base): Change to take a pkg-desc.
6355 * tar-mode.el (tar--check-descriptor): New function, extracted from
6356 tar-get-descriptor.
6357 (tar-get-descriptor): Use it.
6358 (tar-get-file-descriptor): New function.
6359 (tar--extract): New function, extracted from tar-extract.
6360 (tar--extract): Use it.
6361 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6362 case the summary uses non-ascii. Adjust to new calling convention of
6363 package-tar-file-info.
6364
6365 2013-06-21 Leo Liu <sdl.web@gmail.com>
6366
6367 * comint.el (comint-redirect-results-list-from-process):
6368 Fix random delay. (Bug#14681)
6369
6370 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6371
6372 * profiler.el (profiler-format-number): Use log, not log10.
6373
6374 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6375
6376 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6377
6378 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6379
6380 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6381 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6382 yet available.
6383 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6384 (AUTOGENEL): ... here.
6385 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6386 (cl--defsubst-expand): Use it.
6387
6388 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6389
6390 * subr.el (log10): Move here from C code, and declare as obsolete.
6391 All uses of (log10 X) replaced with (log X 10).
6392
6393 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6394
6395 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6396 Declare with `defvar-local'.
6397 (tabulated-list-use-header-line, tabulated-list-entries)
6398 (tabulated-list-padding, tabulated-list-printer)
6399 (tabulated-list-sort-key): Declare with `defvar-local'.
6400 (tabulated-list-init-header, tabulated-list-print-fake-header):
6401 Use `setq-local'.
6402
6403 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6404
6405 * arc-mode.el (archive-mode): Add `archive-write-file' to
6406 `write-contents-functions' also for remote files. (Bug#14652)
6407
6408 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6409
6410 * cus-edit.el (custom-commands): Fix typos.
6411 (custom-display): Fix tooltip text.
6412 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6413 Fix typos in docstrings.
6414 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6415 (custom-unlispify-menu-entry, custom-magic-value-create)
6416 (custom-add-see-also, custom-group-value-create): Use ?\s.
6417 (custom-guess-type, customize-apropos, editable-field)
6418 (custom-face-value-create): Use `string-match-p'.
6419 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6420
6421 * custom.el (custom-load-symbol): Use `string-match-p'.
6422
6423 * ansi-color.el: Convert to lexical binding.
6424 (ansi-colors): Fix URL.
6425 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6426 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6427 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6428
6429 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6430
6431 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6432
6433 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6434
6435 2013-06-19 Tom Tromey <tromey@redhat.com>
6436
6437 * net/eww.el (eww-top-url): Remove.
6438 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6439 (eww-render): Set new variables. Don't set eww-top-url.
6440 (eww-handle-link): Handle "prev", "home", and "contents".
6441 Downcase the rel text.
6442 (eww-top-url): Choose best top URL.
6443
6444 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6445
6446 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6447 relying in widget.el. Using widget.el leads to too many
6448 user interface inconsistencies.
6449 (eww-self-insert): Implement entering commands in text fields.
6450 (eww-process-text-input): New function to make text input field editing
6451 work.
6452 (eww-submit): Rewrite to use the new-style form methods.
6453 (eww-select-display): Display the correct selected item.
6454 (eww-change-select): Implement changing the select value.
6455 (eww-toggle-checkbox): Implement radio/checkboxes.
6456 (eww-update-field): Fix compilation error.
6457 (eww-tag-textarea): Implement <textarea>.
6458
6459 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6460 we don't shadow mode-specific bindings.
6461
6462 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6463 nothing to push.
6464
6465 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6466
6467 2013-06-19 Glenn Morris <rgm@gnu.org>
6468
6469 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6470
6471 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6472
6473 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6474 not needed.
6475
6476 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6477
6478 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6479
6480 * net/browse-url.el (browse-url-browser-function):
6481 `eww-browse-url' has the right calling signature, `eww' does not.
6482
6483 2013-06-19 Glenn Morris <rgm@gnu.org>
6484
6485 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6486 Only eval autoloaded macros.
6487 (byte-compile-autoload): Only give the macro warning for macros.
6488
6489 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6490 (ps-underlined-faces): Declare.
6491
6492 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6493 (speedbar-add-supported-extension): Declare.
6494
6495 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6496 Don't include a date stamp in the header of the generated file;
6497 it leads to needless differences between output files.
6498
6499 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6500
6501 * net/secrets.el (secrets-struct-secret-content-type):
6502 Replace check of introspection data by a test call of "CreateItem".
6503 Some servers do not offer introspection.
6504
6505 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6506
6507 * electric.el (electric-pair-mode): Improve interaction with
6508 electric-layout-mode.
6509 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6510 (electric-pair-syntax): Use text-mode-syntax-table in comments
6511 and strings.
6512 (electric-pair--insert): New function.
6513 (electric-pair-post-self-insert-function): Use it and
6514 electric--after-char-pos.
6515
6516 2013-06-19 Leo Liu <sdl.web@gmail.com>
6517
6518 * progmodes/octave.el (octave-help): Fix regexp.
6519
6520 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6521
6522 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6523 (shr-table-horizontal-line): Allow nil as a value, and change the
6524 default.
6525 (shr-insert-table-ruler): Respect the nil value.
6526
6527 2013-06-18 Tom Tromey <tromey@barimba>
6528
6529 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6530 New defvars.
6531 (eww-open-file): New defun.
6532 (eww-render): Initialize new variables.
6533 (eww-display-html): Handle "link" and "a".
6534 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6535 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6536 (eww-back-url): Rename from eww-previous-url.
6537 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6538 New defuns.
6539
6540 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6541
6542 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6543 Distinguish ternary operator tokens from slash symbol and slash
6544 char literal.
6545
6546 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6547
6548 Convert symbol prettification into minor mode and global minor mode.
6549
6550 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6551 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6552 (prettify-symbols--keywords): Rename from
6553 `prog-prettify-symbols-alist' and make a local defvar.
6554 (prettify-symbols--compose-symbol): Rename from
6555 `prog--prettify-font-lock-compose-symbol'.
6556 (prettify-symbols--make-keywords): Rename from
6557 `prog-prettify-font-lock-symbols-keywords' and simplify.
6558 (prog-prettify-install): Remove.
6559 (prettify-symbols-mode): New minor mode, based on
6560 `prog-prettify-install'.
6561 (turn-on-prettify-symbols-mode): New function.
6562 (global-prettify-symbols-mode): New globalized minor mode.
6563
6564 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6565 * progmodes/cfengine.el (cfengine3-mode):
6566 * progmodes/perl-mode.el (perl-mode): Don't call
6567 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6568
6569 2013-06-18 Juri Linkov <juri@jurta.org>
6570
6571 * files-x.el (modify-file-local-variable-message): New function.
6572 (modify-file-local-variable)
6573 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6574 and call `modify-file-local-variable-message' when it's non-nil.
6575 (add-file-local-variable, delete-file-local-variable)
6576 (add-file-local-variable-prop-line)
6577 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6578 and use it. (Bug#9820)
6579
6580 2013-06-18 Juri Linkov <juri@jurta.org>
6581
6582 * emulation/vi.el (vi-shell-op):
6583 * emulation/vip.el (vip-execute-com, ex-command):
6584 * emulation/viper-cmd.el (viper-exec-bang):
6585 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6586 the call of `shell-command-on-region'. (Bug#14637)
6587
6588 * simple.el (shell-command-on-region): Doc fix.
6589
6590 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6593 (bug#14633).
6594
6595 2013-06-18 Glenn Morris <rgm@gnu.org>
6596
6597 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6598
6599 * newcomment.el (comment-search-forward, comment-search-backward):
6600 Doc fix. (Bug#14376)
6601
6602 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6605 (buffer-face-mode-invoke): Doc fix.
6606
6607 2013-06-18 Matthias Meulien <orontee@gmail.com>
6608
6609 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6610 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6611
6612 2013-06-18 Glenn Morris <rgm@gnu.org>
6613
6614 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6615 Replace obsolete function generic-make-keywords with its expansion.
6616
6617 * progmodes/python.el (ffap-alist): Declare.
6618
6619 * textmodes/reftex.el (bibtex-mode-map): Declare.
6620
6621 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6624 (package-unpack, package-unpack-single): Return the pkg-dir.
6625 (package-download-transaction): Use it to update package-alist.
6626
6627 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6628
6629 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6630 possible choice.
6631
6632 2013-06-17 Juri Linkov <juri@jurta.org>
6633
6634 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6635
6636 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6637
6638 * emacs-lisp/package.el (package-load-descriptor):
6639 Remove `with-syntax-table' call, `read' doesn't need it.
6640 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6641
6642 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6643
6644 * startup.el (command-line): Expand package name returned by
6645 `package--description-file' (bug#14639).
6646
6647 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * emacs-lisp/package.el (package-load-descriptor): Do not call
6650 `emacs-lisp-mode', just use its syntax table.
6651
6652 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6653
6654 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6655 `font-lock-extra-managed-props' if any prettifying keyword is added.
6656 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6657 (prog-mode): Use `setq-local'.
6658
6659 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * international/characters.el (standard-case-table): Set syntax of ?»
6662 and ?« to punctuation.
6663
6664 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6667 Save relevant match data before calling `syntax-ppss' (bug#14595).
6668
6669 2013-06-15 Juri Linkov <juri@jurta.org>
6670
6671 * files-x.el (modify-file-local-variable-prop-line): Add local
6672 variables to the end of the existing comment on the first line.
6673 Use `file-auto-mode-skip' to skip interpreter magic line,
6674 and also skip XML declaration.
6675
6676 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6677
6678 * startup.el (package--builtin-versions): New var.
6679 (package-subdirectory-regexp): Remove.
6680 (package--description-file): Hard code its value instead.
6681
6682 * emacs-lisp/package.el: Don't activate packages older than builtin.
6683 (package-obsolete-list): Rename from package-obsolete-alist, and make
6684 it into a simple list of package-desc.
6685 (package-strip-version): Remove.
6686 (package-built-in-p): Use package--builtin-versions.
6687 (package-mark-obsolete): Simplify.
6688 (package-process-define-package): Mark it obsolete if older than the
6689 builtin version.
6690 (package-handle-response): Use line-end-position.
6691 (package-read-archive-contents, package--download-one-archive):
6692 Simplify.
6693 (package--add-to-archive-contents): Skip if older than the builtin or
6694 installed version.
6695 (package-menu-describe-package): Fix last change.
6696 (package-list-unversioned): New var.
6697 (package-menu--generate): Use it.
6698
6699 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6700 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6701 (autoload-builtin-package-versions): New variable.
6702 (autoload-generate-file-autoloads): Use them.
6703 Remove the list of autoloaded functions/macros from the
6704 (autoload...) comments.
6705
6706 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6707
6708 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6709
6710 * simple.el (line-move-partial): Don't jump to the next screen
6711 line as soon as it becomes visible. Instead, continue enlarging
6712 the vscroll until the portion of a tall screen line that's left on
6713 display is about the height of the frame's default font.
6714 (Bug#14567)
6715
6716 2013-06-15 Glenn Morris <rgm@gnu.org>
6717
6718 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6719 compilation-error-regexp-alist void, or local while let-bound.
6720
6721 * progmodes/make-mode.el (makefile-mode-syntax-table):
6722 Treat "=" as punctuation. (Bug#14614)
6723
6724 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * help-fns.el (describe-variable):
6727 Add extra line for permanent-local variables.
6728
6729 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6730
6731 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6732 Add export, import, library. (Bug#9164)
6733 (library): Set indent function.
6734
6735 2013-06-14 Glenn Morris <rgm@gnu.org>
6736
6737 * term/xterm.el (xterm--query):
6738 Stop after first matching handler. (Bug#14615)
6739
6740 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6741
6742 Add support for dired in saveplace.
6743 * dired.el (dired-initial-position-hook): New variable.
6744 (dired-initial-position): Call hook to place cursor position.
6745 * saveplace.el (save-place-to-alist): Add dired position.
6746 (save-place-dired-hook): New function.
6747
6748 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6749
6750 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6751 through a symbol rather than letrec.
6752
6753 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6754 (package-desc): Add `dir' field.
6755 (package-desc-full-name): New function.
6756 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6757 (package-maybe-load-descriptor): Remove.
6758 (package-load-all-descriptors): Just call package-load-descriptor.
6759 (package--disabled-p): New function.
6760 (package-desc-vers, package-desc-doc): Remove aliases.
6761 (package--dir): Remove function.
6762 (package-activate): Check if a package is disabled.
6763 (package-process-define-package): New function, extracted from
6764 define-package.
6765 (define-package): Turn into a place holder.
6766 (package-unpack-single, package-tar-file-info):
6767 Use package--description-file.
6768 (package-compute-transaction): Use package--disabled-p.
6769 (package-download-transaction): Don't call
6770 package-maybe-load-descriptor since they're all loaded anyway.
6771 (package-install): Change argument to be a pkg-desc.
6772 (package-delete): Use a single pkg-desc argument.
6773 (describe-package-1): Use package-desc-dir instead of package--dir.
6774 Use package-desc property instead of package-symbol.
6775 (package-install-button-action): Adjust accordingly.
6776 (package--push): Rewrite.
6777 (package-menu--print-info): Adjust accordingly. Change the ID format
6778 to be a pkg-desc.
6779 (package-menu-describe-package, package-menu-get-status)
6780 (package-menu--find-upgrades, package-menu-mark-upgrades)
6781 (package-menu-execute, package-menu--name-predicate):
6782 Adjust accordingly.
6783 * startup.el (package--description-file): New function.
6784 (command-line): Use it.
6785 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6786 Use package-desc-version.
6787
6788 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6789 (byte-compile-preprocess): Use it.
6790 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6791 can't quite recognize.
6792 (byte-compile-add-to-list): Remove.
6793 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6794 (cconv-closure-convert): Add assertion.
6795
6796 * emacs-lisp/map-ynp.el: Use lexical-binding.
6797 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6798 Factor out some repeated code.
6799
6800 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * subr.el (with-eval-after-load): New macro.
6803 (eval-after-load): Allow form to be a function.
6804 take advantage of lexical-binding.
6805 (do-after-load-evaluation): Use dolist and adjust to new format.
6806 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6807
6808 2013-06-13 Juri Linkov <juri@jurta.org>
6809
6810 * replace.el (perform-replace): Display "symbol " and other search
6811 modes from `isearch-message-prefix' in the *Help* buffer.
6812
6813 * isearch.el (isearch-query-replace): Add " symbol" and other
6814 possible search modes from `isearch-message-prefix' to the prompt.
6815 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6816 when reading a regexp to collect.
6817
6818 2013-06-13 Juri Linkov <juri@jurta.org>
6819
6820 * isearch.el (word-search-regexp): Match whitespace if the search
6821 string begins or ends in whitespace. The LAX arg is applied to
6822 both ends of the search string. Use `regexp-quote' and explicit
6823 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6824 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6825 boundaries are replaced with symbol boundaries, and characters
6826 between symbols match non-word non-symbol syntax. (Bug#14602)
6827
6828 2013-06-13 Juri Linkov <juri@jurta.org>
6829
6830 * isearch.el (isearch-del-char): Don't exceed the length of
6831 `isearch-string' by the prefix arg. (Bug#14563)
6832
6833 2013-06-13 Juri Linkov <juri@jurta.org>
6834
6835 * isearch.el (isearch-yank-word, isearch-yank-line)
6836 (isearch-char-by-name, isearch-quote-char)
6837 (isearch-printing-char, isearch-process-search-char):
6838 Add optional count prefix arg. (Bug#14563)
6839
6840 * international/isearch-x.el
6841 (isearch-process-search-multibyte-characters):
6842 Add optional count prefix arg.
6843
6844 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6845
6846 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6847 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6848 lexical-binding.
6849
6850 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6851
6852 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6853
6854 2013-06-13 Glenn Morris <rgm@gnu.org>
6855
6856 * startup.el (tty-handle-args):
6857 Don't just discard "--" and anything after. (Bug#14608)
6858
6859 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6860
6861 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6862
6863 Implement changes in Secret Service API. Make it backward compatible.
6864 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6865 (secrets-create-item): Use it. Prefix properties with interface.
6866
6867 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6868
6869 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6870 (term-emulate-terminal): Respect term-suppress-hard-newline.
6871
6872 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6873
6874 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6875 Only remove a `thumb-file' overlay. (Bug#14548)
6876
6877 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6878
6879 * mail/reporter.el (reporter-submit-bug-report):
6880 Handle missing package-name. (Bug#14600)
6881
6882 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6883
6884 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6885 (reftex-citation-prompt, reftex-default-bibliography)
6886 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6887 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6888 (reftex-bib-sort-author, reftex-bib-sort-year)
6889 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6890 (reftex-extract-bib-entries-from-thebibliography)
6891 (reftex-get-bibkey-default, reftex-get-bib-names)
6892 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6893 (reftex-format-bib-entry, reftex-parse-bibitem)
6894 (reftex-format-bibitem, reftex-do-citation)
6895 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6896 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6897 (reftex-insert-bib-matches, reftex-format-citation)
6898 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6899 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6900 existing comments into docstrings.
6901
6902 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6903
6904 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6905
6906 2013-06-12 Andreas Schwab <schwab@suse.de>
6907
6908 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6909 for auto-save files.
6910
6911 2013-06-12 Glenn Morris <rgm@gnu.org>
6912
6913 * ido.el (ido-delete-ignored-files): Remove.
6914 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6915 Go back to calling ido-ignore-item-p directly.
6916
6917 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6918
6919 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6920
6921 * ido.el (ido-delete-ignored-files): New function,
6922 split from ido-make-file-list-1.
6923 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6924 (ido-make-file-list-1): Use ido-delete-ignored-files.
6925
6926 2013-06-12 Leo Liu <sdl.web@gmail.com>
6927
6928 * progmodes/octave.el (inferior-octave-startup)
6929 (inferior-octave-completion-table)
6930 (inferior-octave-track-window-width-change)
6931 (octave-eldoc-function-signatures, octave-help)
6932 (octave-find-definition): Use single quoted strings.
6933 (inferior-octave-startup-args): Change default value.
6934 (inferior-octave-startup): Do not hard code "-i" and
6935 "--no-line-editing".
6936 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6937 (inferior-octave-directory-tracker): Use it.
6938 (octave-goto-function-definition): Robustify.
6939 (octave-help): Support highlighting operators in 'See also'.
6940 (octave-find-definition): Find subfunctions only in Octave mode.
6941
6942 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6943
6944 * help-fns.el (help-fns--compiler-macro): If the handler function is
6945 named, then put a link to it.
6946 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6947 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6948 (cl-typep): Use it.
6949 (cl-eval-when): Simplify debug spec.
6950 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6951 compiler-macro function instead of setting `compiler-macro-file'.
6952
6953 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6954
6955 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6956 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6957
6958 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6959 Daniel Hackney <dan@haxney.org>
6960
6961 First part of Daniel Hackney's patch to package.el.
6962 * emacs-lisp/package.el: Use defstruct.
6963 (package-desc): New, main struct.
6964 (package--bi-desc, package--ac-desc): New structs, used to describe the
6965 format in external files.
6966 (package-desc-vers): Replace with package-desc-version accessor.
6967 (package-desc-doc): Replace with package-desc-summary accessor.
6968 (package-activate-1): Remove `package' arg since the pkg-vec now
6969 includes the name.
6970 (define-package): Use package-desc-from-define.
6971 (package-unpack-single): Change file-name arg to be a symbol.
6972 (package--add-to-archive-contents): Use package-desc-create and new
6973 accessor functions to package--ac-desc.
6974 (package-buffer-info, package-tar-file-info): Return a package-desc.
6975 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6976 arg to be a package-desc.
6977 (package-install-file): Adjust accordingly. Use \' to match EOS.
6978 (package--from-builtin): New function.
6979 (describe-package-1, package-menu--generate): Use it.
6980 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6981 (package-generate-autoloads): Idem and return the name of the file.
6982 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6983 Change pkg-info arg to be a package-desc.
6984 Use package-make-ac-desc.
6985 (package-upload-file): Use \' to match EOS.
6986 * finder.el (finder-compile-keywords): Use package-make-builtin.
6987
6988 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6989
6990 * vc/vc.el (vc-deduce-fileset): Change error message.
6991 (vc-read-backend): New function.
6992 (vc-next-action): Use it.
6993
6994 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6995
6996 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6997 (prolog-font-lock-keywords): Use regexp-opt instead.
6998 Don't manually highlight strings.
6999 (prolog-mode-variables): Simplify comment-start-skip.
7000 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7001
7002 * emacs-lisp/generic.el (generic--normalise-comments)
7003 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7004 (generic-mode-set-comments): Use them.
7005 (generic-bracket-support): Use setq-local.
7006 (generic-make-keywords-list): Declare obsolete.
7007
7008 2013-06-11 Glenn Morris <rgm@gnu.org>
7009
7010 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7011 Prettify after setting font-lock-defaults. (Bug#14574)
7012
7013 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7014
7015 * replace.el (query-replace, occur-read-regexp-defaults-function)
7016 (replace-search):
7017 * subr.el (declare-function, number-sequence, local-set-key)
7018 (substitute-key-definition, locate-user-emacs-file)
7019 (with-silent-modifications, split-string, eval-after-load):
7020 Fix typos, remove unneeded backslashes and reflow some docstrings.
7021
7022 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7023
7024 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7025 default for Elisp files.
7026
7027 2013-06-11 Glenn Morris <rgm@gnu.org>
7028
7029 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7030 although define-derived-mode was doing this anyway. (Bug#14583)
7031
7032 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7033
7034 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7035 Fix make-variable-buffer-local call to refer to the correct variable.
7036
7037 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7038
7039 * eshell/em-term.el (eshell-visual-commands)
7040 (eshell-visual-subcommands, eshell-visual-options):
7041 Add summary line to docstrings. Add cross-references.
7042
7043 2013-06-10 Glenn Morris <rgm@gnu.org>
7044
7045 * epa.el (epa-read-file-name): New function. (Bug#14510)
7046 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7047
7048 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7049
7050 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7051 output redirection to be ignored with visual commands.
7052
7053 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7054
7055 * eshell/em-term.el (eshell-visual-command-p): New function.
7056 (eshell-term-initialize): Move long lambda to separate function
7057 eshell-visual-command-p.
7058 * eshell/em-dirs.el (eshell-dirs-initialise):
7059 * eshell/em-script.el (eshell-script-initialize):
7060 Add missing #' to lambda.
7061
7062 2013-06-08 Leo Liu <sdl.web@gmail.com>
7063
7064 * progmodes/octave.el (octave-add-log-current-defun): New function.
7065 (octave-mode): Set add-log-current-defun-function.
7066 (octave-goto-function-definition): Do not move point if not found.
7067 (octave-find-definition): Enhance to try subfunctions first.
7068
7069 2013-06-08 Glenn Morris <rgm@gnu.org>
7070
7071 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7072 (byte-compile-backward-char, byte-compile-backward-word):
7073 Improve previous change, to handle non-explicit nil.
7074
7075 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7076
7077 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7078 (smie--opener/closer-at-point): New function.
7079 (smie--matching-block-data): Use it. Don't match from right after an
7080 opener or right before a closer. Obey smie-blink-matching-inners.
7081 Don't signal a mismatch for repeated inners like "switch..case..case".
7082
7083 2013-06-07 Leo Liu <sdl.web@gmail.com>
7084
7085 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7086 to t. (Bug#14303)
7087 (octave-function-header-regexp): Fix. (Bug#14570)
7088 (octave-help-mode-finish-hook, octave-help-mode-finish):
7089 Remove. Just use temp-buffer-show-hook.
7090
7091 * newcomment.el (comment-search-backward): Revert last change.
7092 (Bug#14434)
7093
7094 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7095
7096 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7097
7098 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7099 through xargs, to avoid failure due to MS-Windows limitations on
7100 command-line length.
7101
7102 2013-06-06 Glenn Morris <rgm@gnu.org>
7103
7104 * font-lock.el (lisp-font-lock-keywords-2):
7105 Treat user-error like error.
7106
7107 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7108 (byte-compile-backward-char, byte-compile-backward-word):
7109 Handle explicit nil arguments. (Bug#14565)
7110
7111 2013-06-05 Alan Mackenzie <acm@muc.de>
7112
7113 * isearch.el (isearch-allow-prefix): New user option.
7114 (isearch-other-meta-char): Don't exit isearch when a prefix
7115 argument is typed whilst `isearch-allow-prefix' is non-nil.
7116 (Bug#9706)
7117
7118 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7119
7120 * autorevert.el (auto-revert-notify-handler): Use memq.
7121 Hide assertion failure.
7122
7123 * skeleton.el: Use cl-lib.
7124 (skeleton-further-elements): Use defvar-local.
7125 (skeleton-insert): Use cl-progv.
7126
7127 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7128
7129 * progmodes/prog-mode.el (prog-prettify-symbols)
7130 (prog-prettify-install): Update docstrings.
7131
7132 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7133
7134 * simple.el: Move all the prog-mode code to prog-mode.el.
7135 * progmodes/prog-mode.el: New file.
7136 * loadup.el: Add prog-mode.el.
7137
7138 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7139
7140 * simple.el (prog-prettify-symbols): Add version.
7141 (prog-prettify-install): Add convenience function to prettify symbols.
7142
7143 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7144 (perl--augmented-font-lock-keywords-1)
7145 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7146 variables and use it.
7147
7148 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7149 (cfengine3-mode): Remove unneeded variable and use it.
7150
7151 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7152 (lisp--augmented-font-lock-keywords-1)
7153 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7154 Remove unneeded variables and use it.
7155
7156 2013-06-05 João Távora <joaotavora@gmail.com>
7157
7158 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7159 to point when opening the connection. (Bug#14380)
7160
7161 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7162
7163 * subr.el (load-history-regexp, load-history-filename-element)
7164 (eval-after-load, after-load-functions, do-after-load-evaluation)
7165 (eval-next-after-load, display-delayed-warnings)
7166 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7167 definition of save-match-data.
7168 (overriding-local-map): Remove accidental obsolescence declaration.
7169
7170 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7171
7172 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7173
7174 Generalize symbol prettify support to prog-mode and implement it
7175 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7176 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7177 (prog--prettify-font-lock-compose-symbol)
7178 (prog-prettify-font-lock-symbols-keywords): New variables and
7179 functions to support symbol prettification.
7180 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7181 (lisp--augmented-font-lock-keywords-1)
7182 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7183 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7184 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7185 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7186 Implement prettify of -> => :: strings.
7187 * progmodes/perl-mode.el (perl-prettify-symbols)
7188 (perl--font-lock-compose-symbol)
7189 (perl--font-lock-symbols-keywords): Move to prog-mode.
7190 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7191 (perl-font-lock-keywords-1)
7192 (perl-font-lock-keywords-2): Remove explicit prettify support.
7193 (perl--augmented-font-lock-keywords)
7194 (perl--augmented-font-lock-keywords-1)
7195 (perl--augmented-font-lock-keywords-2, perl-mode):
7196 Implement prettify support.
7197
7198 2013-06-05 Leo Liu <sdl.web@gmail.com>
7199
7200 Re-implement smie matching block highlight using
7201 show-paren-data-function. (Bug#14395)
7202 * emacs-lisp/smie.el (smie-matching-block-highlight)
7203 (smie--highlight-matching-block-overlay)
7204 (smie--highlight-matching-block-lastpos)
7205 (smie-highlight-matching-block)
7206 (smie-highlight-matching-block-mode): Remove.
7207 (smie--matching-block-data-cache): New variable.
7208 (smie--matching-block-data): New function.
7209 (smie-setup): Use smie--matching-block-data for
7210 show-paren-data-function.
7211
7212 * progmodes/octave.el (octave-mode-menu): Fix.
7213 (octave-find-definition): Skip garbage lines.
7214
7215 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 Fix compilation error with simultaneous dynamic+lexical scoping.
7218 Add warning when a defvar appears after the first let-binding.
7219 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7220 (byte-compile-close-variables): Initialize it.
7221 (byte-compile--declare-var): New function.
7222 (byte-compile-file-form-defvar)
7223 (byte-compile-file-form-define-abbrev-table)
7224 (byte-compile-file-form-custom-declare-variable): Use it.
7225 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7226 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7227 (byte-compile-bind): Handle dynamic bindings that shadow
7228 lexical bindings.
7229 (byte-compile-unbind): Make arg non-optional.
7230 (byte-compile-let): Simplify.
7231 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7232 (cconv--analyse-function, cconv-analyse-form): Populate it.
7233 Protect byte-compile-bound-variables to limit the scope of defvars.
7234 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7235 Remove unneeded rule for `declare'.
7236
7237 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7238 so as to avoid depending on cl-adjoin at run-time.
7239 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7240
7241 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7242 (macroexp--warn-and-return): Use it.
7243
7244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * lisp/subr.el: Convert to lexical binding.
7247 (overriding-local-map): Make obsolete.
7248 (add-to-list): Doc fix. Add compiler macro.
7249 (read-key): Swap values of local maps.
7250
7251 2013-06-05 Leo Liu <sdl.web@gmail.com>
7252
7253 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7254
7255 2013-06-04 Leo Liu <sdl.web@gmail.com>
7256
7257 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7258 (compilation-auto-jump): Suppress the "Mark set" message to give
7259 way to exit message.
7260
7261 2013-06-04 Alan Mackenzie <acm@muc.de>
7262
7263 Remove faulty optimisation from indentation calculation.
7264 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7265 search limit based on 2000 characters back from indent-point.
7266
7267 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7268
7269 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7270
7271 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7272
7273 * emacs-lisp/lisp.el: Use lexical-binding.
7274 (lisp--local-variables-1, lisp--local-variables): New functions.
7275 (lisp--local-variables-completion-table): New var.
7276 (lisp-completion-at-point): Use it complete let-bound vars.
7277
7278 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7279 eagerly (bug#14422).
7280
7281 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7282
7283 * autorevert.el (auto-revert-notify-enabled)
7284 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7285 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7286 (auto-revert-notify-handler): Handle also gfilenotify.
7287
7288 * subr.el (file-notify-handle-event): New defun. Replacing ...
7289 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7290 Remove.
7291
7292 2013-06-03 Juri Linkov <juri@jurta.org>
7293
7294 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7295 `M-s h .'. (Bug#14427)
7296
7297 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7298 command `hi-lock-face-symbol-at-point'.
7299 (hi-lock-face-symbol-at-point): New command.
7300 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7301 (hi-lock-menu): Add `highlight-symbol-at-point'.
7302 (hi-lock-mode): Doc fix.
7303
7304 * isearch.el (isearch-forward-symbol-at-point): New command.
7305 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7306 (isearch-highlight-regexp): Add a regexp which matches
7307 words/symbols for word/symbol mode.
7308
7309 * subr.el (find-tag-default-bounds): New function with the body
7310 mostly moved from `find-tag-default'.
7311 (find-tag-default): Move most code to `find-tag-default-bounds',
7312 call it and apply `buffer-substring-no-properties' afterwards.
7313
7314 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7315
7316 * eshell/em-term.el (eshell-term-initialize):
7317 Use `cl-intersection' rather than `intersection'.
7318
7319 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7320
7321 * vc/log-view.el: Doc fix.
7322 (log-view-mode-map): Copy keymap from `special-mode-map'.
7323
7324 2013-06-02 Eric Ludlam <zappo@gnu.org>
7325
7326 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7327 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7328 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7329 (eieio-unbound, eieio-default-superclass)
7330 (eieio--define-field-accessors, method-static, method-before)
7331 (method-primary, method-after, method-num-lists)
7332 (method-generic-before, method-generic-primary)
7333 (method-generic-after, method-num-slots)
7334 (eieio-specialized-key-to-generic-key)
7335 (eieio--check-type, class-v, class-p)
7336 (eieio-class-name, define-obsolete-function-alias)
7337 (eieio-class-parents-fast, eieio-class-children-fast)
7338 (same-class-fast-p, class-constructor, generic-p)
7339 (generic-primary-only-p, generic-primary-only-one-p)
7340 (class-option-assoc, class-option, eieio-object-p)
7341 (class-abstract-p, class-method-invocation-order)
7342 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7343 (eieio-class-un-autoload, eieio-defclass)
7344 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7345 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7346 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7347 (eieio-defgeneric-reset-generic-form)
7348 (eieio-defgeneric-form-primary-only)
7349 (eieio-defgeneric-reset-generic-form-primary-only)
7350 (eieio-defgeneric-form-primary-only-one)
7351 (eieio-defgeneric-reset-generic-form-primary-only-one)
7352 (eieio-unbind-method-implementations)
7353 (eieio--defmethod, eieio--typep)
7354 (eieio-perform-slot-validation, eieio-validate-slot-value)
7355 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7356 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7357 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7358 (eieio-slot-name-index, eieio-class-slot-name-index)
7359 (eieio-set-defaults, eieio-initarg-to-attribute)
7360 (eieio-attribute-to-initarg, eieio-c3-candidate)
7361 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7362 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7363 (eieio-class-precedence-list, eieio-generic-call-methodname)
7364 (eieio-generic-call-arglst, eieio-generic-call-key)
7365 (eieio-generic-call-next-method-list)
7366 (eieio-pre-method-execution-functions, eieio-generic-call)
7367 (eieio-generic-call-primary-only, eieiomt-method-list)
7368 (eieiomt-optimizing-obarray, eieiomt-install)
7369 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7370 (eieio-generic-form, eieio-defmethod, make-obsolete)
7371 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7372 (defclass): Remove `eval-and-compile' from macro.
7373 (call-next-method, shared-initialize): Instead of using
7374 `scoped-class' variable, use new eieio--scoped-class, and
7375 eieio--with-scoped-class.
7376 (initialize-instance): Rename local variable 'scoped-class' to
7377 'this-class' to remove ambiguitity from old global.
7378
7379 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7380 eieio.el.
7381 (eieio--scoped-class-stack): New variable.
7382 (eieio--scoped-class): New fcn.
7383 (eieio--with-scoped-class): New scoping macro.
7384 (eieio-defclass): Use pushnew instead of add-to-list.
7385 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7386 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7387 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7388 `scoped-class' variable, use new eieio--scoped-class, and
7389 eieio--with-scoped-class.
7390
7391 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7392
7393 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7394
7395 * eshell/esh-ext.el (eshell-external-command): Pass args to
7396 `eshell-find-interpreter'.
7397 (eshell-find-interpreter): Add new second parameter ARGS.
7398
7399 * eshell/em-script.el (eshell-script-initialize): Add second arg
7400 to the function added as MATCH to `eshell-interpreter-alist'.
7401
7402 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7403 the function added as MATCH to `eshell-interpreter-alist'.
7404
7405 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7406 (eshell-visual-options): New defcustom.
7407 (eshell-escape-control-x): Adapt docstring.
7408 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7409 `eshell-visual-options' in addition to `eshell-visual-commands'.
7410 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7411
7412 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7413
7414 * progmodes/python.el (python-indent-block-enders): Add break,
7415 continue and raise keywords.
7416
7417 2013-06-01 Glenn Morris <rgm@gnu.org>
7418
7419 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7420
7421 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7422 * progmodes/cc-cmds.el (delete-forward-p):
7423 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7424 * progmodes/cc-engine.el (buffer-syntactic-context):
7425 * progmodes/cc-fonts.el (face-property-instance):
7426 * progmodes/cc-mode.el (set-keymap-parents):
7427 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7428 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7429 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7430 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7431 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7432
7433 * progmodes/cc-vars.el (other): Emacs has this widget since
7434 at least 21.1, so don't (re)define it.
7435
7436 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7437 Replace the obsolete alias pcomplete-arg-quote-list.
7438
7439 2013-06-01 Leo Liu <sdl.web@gmail.com>
7440
7441 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7442 punctuation syntax.
7443 (inferior-octave-minimal-columns)
7444 (inferior-octave-last-column-width): New variables.
7445 (inferior-octave-track-window-width-change): New function.
7446 (inferior-octave-mode): Adjust column width so that Octave output,
7447 for example from 'ls', can fit into the window nicely.
7448
7449 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7450
7451 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7452 Highlight expansions inside regexp literals.
7453
7454 2013-05-31 Glenn Morris <rgm@gnu.org>
7455
7456 * obsolete/sym-comp.el (symbol-complete):
7457 Replace obsolete completion-annotate-function.
7458
7459 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7460
7461 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7462
7463 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7464 New function, checks if point is inside a literal that allows
7465 expression expansion.
7466 (ruby-syntax-propertize-expansion): Use it.
7467 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7468 around the body.
7469
7470 2013-05-30 Juri Linkov <juri@jurta.org>
7471
7472 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7473 to "\M-si".
7474 (isearch-invisible): New variable.
7475 (isearch-forward): Doc fix.
7476 (isearch-mode): Set `isearch-invisible'
7477 to the value of `search-invisible'.
7478 (isearch-toggle-case-fold): Doc fix.
7479 (isearch-toggle-invisible): New command.
7480 (isearch-query-replace): Let-bind `search-invisible'
7481 to the value of `isearch-invisible'.
7482 (isearch-search): Use `isearch-invisible' instead of
7483 `search-invisible'. Let-bind `search-invisible'
7484 to the value of `isearch-invisible'. (Bug#11378)
7485
7486 2013-05-30 Juri Linkov <juri@jurta.org>
7487
7488 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7489 call when `query-flag' is nil and `search-invisible' is non-nil.
7490 (Bug#11746)
7491
7492 2013-05-30 Glenn Morris <rgm@gnu.org>
7493
7494 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7495
7496 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7497 (cc-require): Suppress spurious "noruntime" warnings.
7498 (cc-require-when-compile): Use fboundp, for sake of compiler.
7499
7500 * progmodes/cc-mode.el: Move load of cc-vars before that of
7501 cc-langs (which in turn loads cc-vars), to quieten compiler.
7502
7503 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7504
7505 * paren.el: Simplify the code.
7506 (show-paren-mode): Always start the timer.
7507 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7508 (show-paren--overlay, show-paren--overlay-1): Rename from
7509 show-paren-overlay and show-paren-overlay-1, and initialize to an
7510 overlay rather than to nil.
7511 (show-paren-function): Misc cleanup and simplifications.
7512
7513 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * paren.el (show-paren-data-function): New hook.
7516 (show-paren--default): New function, extracted from show-paren-function.
7517 (show-paren-function): Use show-paren-data-function.
7518
7519 2013-05-30 Glenn Morris <rgm@gnu.org>
7520
7521 * ielm.el (ielm-map, ielm-complete-symbol):
7522 Use completion-at-point rather than obsolete functions.
7523 (inferior-emacs-lisp-mode): Doc fix.
7524 Set completion-at-point-functions, rather than
7525 comint-dynamic-complete-functions.
7526
7527 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7528 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7529 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7530
7531 * image.el (image-animated-p): Tweak definition.
7532
7533 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7534 (rlogin-process-connection-type): Tweak default. Add set-after.
7535 (rlogin-host): Doc fix.
7536 (rlogin): Tweak prompt.
7537 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7538
7539 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7540 * progmodes/tcl.el (inferior-tcl-mode-map):
7541 Use completion-at-point rather than obsolete alias.
7542
7543 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7544
7545 * minibuffer.el (read-file-name-completion-ignore-case):
7546 Move before completion--in-region, for eager macro expansion.
7547
7548 2013-05-29 Juri Linkov <juri@jurta.org>
7549
7550 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7551 for total count of matching lines. Add `global-matches' for total
7552 count of matches. Rename `matches' to `lines' for count of
7553 matching lines. Add `matches' for count of matches.
7554 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7555 to `prev-line' for line number of prev match endpt.
7556 Increment `matches' for every match. Print the number of
7557 matching lines in the header.
7558 (occur-context-lines): Rename `lines' to `curr-line'.
7559 Rename `prev-lines' to `prev-line'. (Bug#14017)
7560
7561 2013-05-29 Juri Linkov <juri@jurta.org>
7562
7563 * replace.el (perform-replace): Add `skip-read-only-count',
7564 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7565 Increment them for corresponding conditions and report the number
7566 of skipped occurrences in the final message. (Bug#11746)
7567 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7568 (replace-string, replace-regexp): Doc fix.
7569
7570 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7573
7574 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7575 prog-mode-map (bug#14504).
7576
7577 2013-05-29 Leo Liu <sdl.web@gmail.com>
7578
7579 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7580 (octave-help): Small simplification.
7581
7582 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7583 off the highlight first.
7584
7585 2013-05-29 Glenn Morris <rgm@gnu.org>
7586
7587 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7588 Handle idlwave-last-system-routine-info-cons-cell being nil.
7589
7590 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7591 (idlwave-write-paths): Simplify via with-temp-buffer.
7592
7593 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7594 * emulation/cua-rect.el: Also load cua-base at run time.
7595
7596 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7597 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7598 (cperl-imenu-on-info): Require imenu.
7599
7600 2013-05-28 Alan Mackenzie <acm@muc.de>
7601
7602 Handle "capitalised keywords" correctly.
7603 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7604
7605 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7606
7607 * eshell/em-unix.el: Add -r option to cp.
7608
7609 2013-05-28 Glenn Morris <rgm@gnu.org>
7610
7611 * vc/vc-arch.el (vc-exec-after): Declare.
7612 (vc-switches): Autoload.
7613 * vc/vc-bzr.el: No need to require vc when compiling.
7614 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7615 (vc-resynch-buffer, vc-dir-refresh): Declare.
7616 (vc-setup-buffer, vc-switches): Autoload.
7617 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7618 (vc-resynch-buffer): Declare.
7619 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7620 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7621 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7622 (grep-read-regexp, grep-read-files, grep-expand-template)
7623 (vc-dir-refresh): Declare.
7624 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7625 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7626 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7627 * vc/vc-mtn.el (vc-exec-after): Declare.
7628 (vc-switches): Autoload.
7629 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7630 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7631 (vc-file-tree-walk): Declare.
7632 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7633 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7634 (vc-tag-precondition, vc-rename-master): Autoload.
7635 * vc/vc-svn.el (vc-exec-after): Declare.
7636 (vc-switches, vc-setup-buffer): Autoload.
7637 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7638 Autoload.
7639 (vc-resynch-buffer): Declare.
7640
7641 * obsolete/fast-lock.el (byte-compile-warnings):
7642 Don't warn about obsolete features in this obsolete file.
7643
7644 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7645 Move definition before use.
7646
7647 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7648 (dun-unix-verbs): Remove dun-zippy.
7649 (dun-zippy): Remove function.
7650
7651 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7652
7653 2013-05-27 Juri Linkov <juri@jurta.org>
7654
7655 * replace.el (replace-search): New function with code moved out
7656 from `perform-replace'.
7657 (replace-highlight, replace-dehighlight): Move function definitions
7658 up closer to `replace-search'. (Bug#11746)
7659
7660 2013-05-27 Juri Linkov <juri@jurta.org>
7661
7662 * replace.el (perform-replace): Ignore invisible matches.
7663 In addition to checking `query-replace-skip-read-only', also
7664 filter out matches by calling `run-hook-with-args-until-failure'
7665 on `isearch-filter-predicates', and also check `search-invisible'
7666 for t or call `isearch-range-invisible'.
7667 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7668
7669 2013-05-27 Juri Linkov <juri@jurta.org>
7670
7671 * isearch.el (isearch-filter-predicates): Rename from
7672 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7673 (isearch-message-prefix): Display text from the property
7674 `isearch-message-prefix' of the currently active filters.
7675 (isearch-search): Don't compare `isearch-filter-predicate' with
7676 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7677 on `isearch-filter-predicates'. Also check `search-invisible' for t
7678 or call `isearch-range-invisible'.
7679 (isearch-filter-visible): Make obsolete.
7680 (isearch-lazy-highlight-search):
7681 Call `run-hook-with-args-until-failure' on
7682 `isearch-filter-predicates' and use `isearch-range-invisible'.
7683
7684 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7685 `isearch-filter-predicates' instead of `funcall'ing
7686 `isearch-filter-predicate'.
7687 (Info-mode): Set `Info-isearch-filter' to
7688 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7689
7690 * dired-aux.el (dired-isearch-filter-predicate-orig):
7691 Remove variable.
7692 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7693 (dired-isearch-filenames-end): Add and remove
7694 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7695 instead of changing the value of `isearch-filter-predicate'.
7696 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7697 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7698 Put property `isearch-message-prefix' to "filename " on
7699 `dired-isearch-filter-filenames'.
7700
7701 * wdired.el (wdired-change-to-wdired-mode):
7702 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7703 locally instead of changing `isearch-filter-predicate'.
7704 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7705
7706 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7707
7708 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7709 return the commit hash (Bug#14459). Also set the
7710 `vc-git-detached' property.
7711 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7712 (vc-git-mode-line-string): Use the same help-echo format whether
7713 in detached mode or not, because we know the actual revision now.
7714 When in detached mode, shorten the revision to 7 chars.
7715
7716 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * emacs-lisp/easy-mmode.el (define-minor-mode):
7719 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7720 mode hook and provide a docstring.
7721
7722 2013-05-27 Alan Mackenzie <acm@muc.de>
7723
7724 Remove spurious syntax-table text properties inserted by C-y.
7725 * progmodes/cc-mode.el (c-after-change): Also clear hard
7726 syntax-table property with value nil.
7727
7728 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7729
7730 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7731 when reading the events; the buffer layout shall not be changed.
7732
7733 2013-05-27 Leo Liu <sdl.web@gmail.com>
7734
7735 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7736 New variable.
7737 (inferior-octave-directory-tracker): Automatically re-sync
7738 default-directory.
7739 (octave-help): Improve handling of 'See also'.
7740
7741 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * doc-view.el: Minor naming convention tweaks.
7744 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7745
7746 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7747 even if there's no `display' property yet (bug#14435).
7748
7749 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7750
7751 * subr.el (unmsys--file-name): Rename from reveal-filename.
7752
7753 * Makefile.in (custom-deps, finder-data, autoloads)
7754 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7755 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7756 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7757
7758 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7759
7760 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7761 error-completion on the first 2 args of condition-case (bug#14446).
7762 Don't burp at EOB.
7763
7764 2013-05-25 Leo Liu <sdl.web@gmail.com>
7765
7766 * comint.el (comint-previous-matching-input): Do not flood the
7767 *Messages* buffer with trivial messages.
7768
7769 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * progmodes/flymake.el (flymake-nop): Don't return a string.
7772 (flymake-set-at): Fix typo.
7773
7774 * simple.el (read--expression): New function, extracted from
7775 eval-expression. Set completion-at-point-functions (bug#14465).
7776 (eval-expression, eval-minibuffer): Use it.
7777
7778 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7779
7780 * progmodes/flymake.el (flymake-save-buffer-in-file)
7781 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7782 (flymake-selected-frame, flymake-log, flymake-ins-after)
7783 (flymake-set-at, flymake-get-buildfile-from-cache)
7784 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7785 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7786 Refine the doc string.
7787 (flymake-get-file-name-mode-and-masks): Reformat.
7788 (flymake-get-real-file-name-function): Fix a minor bug.
7789
7790 2013-05-24 Juri Linkov <juri@jurta.org>
7791
7792 * progmodes/grep.el (grep-mode-font-lock-keywords):
7793 Support =linenumber= format used by git-grep for lines with
7794 function names. (Bug#13549)
7795
7796 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7797
7798 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7799 0 after a semi-colon; it works better for smie-auto-fill.
7800 (octave--indent-new-comment-line): New function.
7801 (octave-indent-new-comment-line): Use it (indirectly).
7802 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7803 modify comment-line-break-function.
7804
7805 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7806 (smie-setup): Use add-function to set it.
7807
7808 2013-05-24 Sam Steingold <sds@gnu.org>
7809
7810 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7811 argument (before the `interactive' argument).
7812
7813 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * image-mode.el (image-mode-winprops): Add winprops to
7816 image-mode-winprops-alist before running
7817 image-mode-new-window-functions.
7818 * doc-view.el (doc-view-new-window-function): Don't delay
7819 doc-view-goto-page via timers (bug#14435).
7820
7821 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7822
7823 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7824 (doc-view-desktop-save-buffer): New function.
7825 (doc-view-restore-desktop-buffer): New function.
7826 (desktop-buffer-mode-handlers):
7827 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7828 handler.
7829 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7830 `desktop-save-buffer' function.
7831
7832 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7833
7834 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7835 (tramp-gvfs-file-name-handler): Raise a user error when
7836 `tramp-gvfs-enabled' is nil.
7837 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7838 Do not raise a user error when loading package. (Bug#14447)
7839
7840 * net/xesam.el: Move to obsolete/.
7841
7842 2013-05-24 Glenn Morris <rgm@gnu.org>
7843
7844 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7845
7846 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7847
7848 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7849 (Info-find-node, Man-getpage-in-background): Declare.
7850
7851 * mail/unrmail.el (unrmail):
7852 Replace obsolete detect-coding-with-priority.
7853
7854 * net/socks.el (socks-split-string): Use this rather than split-string.
7855 (socks-nslookup-host): Update for above change.
7856 (dynamic-choice, s5-dynamic-choice-match)
7857 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7858 Comment out unused code.
7859
7860 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7861 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7862 (gud-tooltip-echo-area): Make obsolete.
7863 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7864
7865 * progmodes/js.el (js--optimize-arglist): Declare.
7866
7867 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7868
7869 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7870 (ediff-window-C): Declare.
7871
7872 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7873 Tweak requires to silence compiler.
7874
7875 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7876 (he-search-string, he-tried-table, he-expand-list)
7877 (he-init-string, he-string-member, he-substitute-string)
7878 (he-reset-string): Declare.
7879
7880 * obsolete/options.el (list-options): Use custom-variable-p,
7881 rather than obsolete alias.
7882
7883 2013-05-23 Sam Steingold <sds@gnu.org>
7884
7885 * simple.el (shell-command-on-region): Pass the `replace' argument
7886 down to `call-process-region' to comply with the doc as reported on
7887 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7888
7889 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/smie.el (smie-indent-forward-token)
7892 (smie-indent-backward-token): Handle string tokens (bug#14381).
7893
7894 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7895
7896 * ielm.el (ielm-menu): New menu.
7897 (inferior-emacs-lisp-mode): Set comment-start.
7898
7899 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7900
7901 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7902 Fix deactivate action.
7903
7904 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7905 Add cleveref macros.
7906
7907 * lisp/textmodes/reftex-parse.el
7908 (reftex-locate-bibliography-files): Accept options for
7909 bibliography commands.
7910 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7911 Add addbibresource. Basic Biblatex support.
7912
7913 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7914
7915 * net/tramp-gvfs.el (top):
7916 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7917 when loading package. (Bug#14447)
7918
7919 2013-05-23 Glenn Morris <rgm@gnu.org>
7920
7921 * progmodes/js.el: No need to load comint when compiling.
7922 (ring-insert, comint-send-string, comint-send-input)
7923 (comint-last-input-end, ido-chop): Declare.
7924
7925 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7926 * vc/ediff-mult.el: Adjust requires.
7927 (ediff-directories-internal, ediff-directory-revisions-internal)
7928 (ediff-patch-file-internal): Declare.
7929 * vc/ediff-ptch.el: Adjust requires.
7930 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7931 (ediff-find-file): Autoload.
7932 * vc/ediff-util.el: No need to load ediff when compiling.
7933 (ediff-regions-internal): Declare.
7934 * vc/ediff-wind.el: Adjust requires.
7935 (ediff-compute-toolbar-width): Define when compiling.
7936 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7937 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7938 (dired-get-filename, dired-get-marked-files)
7939 (ediff-last-dir-patch, ediff-patch-default-directory)
7940 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7941 (ediff-patch-buffer-internal): Declare.
7942
7943 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7944 (ispell-process, ispell-buffer-local-words, lm-summary)
7945 (lm-section-start, lm-section-end): Declare.
7946 (checkdoc-ispell-init): Simplify.
7947
7948 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7949 (he-string-member, he-reset-string, he-substitute-string): Declare.
7950
7951 * eshell/em-ls.el: Adjust requires.
7952 (eshell-glob-regexp): Declare.
7953 * eshell/em-tramp.el: Adjust requires.
7954 (eshell-parse-command): Autoload.
7955 * eshell/em-xtra.el: Adjust requires.
7956 (eshell-parse-command): Autoload.
7957 * eshell/esh-ext.el: Adjust requires.
7958 (eshell-parse-command, eshell-close-handles): Autoload.
7959 * eshell/esh-io.el: Adjust requires.
7960 (eshell-output-filter): Autoload.
7961 * eshell/esh-util.el: No need to load tramp when compiling.
7962 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7963 Declare.
7964 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7965 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7966 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7967 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7968 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7969 * eshell/esh-opt.el, eshell/esh-proc.el:
7970 * eshell/esh-var.el: Adjust requires.
7971 * eshell/eshell.el: Do not require esh-util twice.
7972 (eshell-add-input-to-history): Declare.
7973 (eshell-command): Check history module is active before using it.
7974
7975 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7976
7977 2013-05-22 Leo Liu <sdl.web@gmail.com>
7978
7979 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7980
7981 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7982
7983 * autorevert.el (auto-revert-notify-add-watch)
7984 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7985 it indicates changes in file modification time.
7986
7987 2013-05-22 Glenn Morris <rgm@gnu.org>
7988
7989 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7990 Always delete the autoloaded function from the noruntime and
7991 unresolved functions lists.
7992
7993 * allout.el: No need to load epa, epg, overlay when compiling.
7994 (epg-context-set-passphrase-callback, epg-list-keys)
7995 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7996 (epg-key-user-id-list): Declare.
7997
7998 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7999 (viper-set-parsing-style-toggling-macro)
8000 (viper-set-emacs-state-searchstyle-macros):
8001 Use called-interactively-p on Emacs.
8002 (viper-looking-back): Make it an obsolete alias. Update callers.
8003 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8004 Use looking-back rather than viper-looking-back.
8005 (viper-tmp-insert-at-eob, viper-enlarge-region)
8006 (viper-read-string-with-history, viper-register-to-point)
8007 (viper-append-to-register, viper-change-state-to-vi)
8008 (viper-backward-char-carefully, viper-forward-char-carefully)
8009 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8010 (viper-change-state-to-emacs): Declare.
8011 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8012 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8013 * emulation/viper-mous.el: Do not load viper-cmd.
8014 (viper-backward-char-carefully, viper-forward-char-carefully)
8015 (viper-forward-word, viper-adjust-window): Declare.
8016
8017 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8018
8019 * progmodes/idlw-help.el (idlwave-help-fontify):
8020 Use called-interactively-p.
8021
8022 * term/w32console.el (w32-get-console-codepage)
8023 (w32-get-console-output-codepage): Declare.
8024
8025 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8026 Remove unnecessary declarations.
8027 (dframe-message): Doc fix.
8028
8029 * info.el (dframe-select-attached-frame, dframe-current-frame):
8030 Declare.
8031
8032 * speedbar.el (speedbar-message): Make it an obsolete alias.
8033 Update all callers.
8034 (speedbar-with-attached-buffer)
8035 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8036 (speedbar-with-writable): Use backquote.
8037 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8038 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8039 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8040 rather than speedbar- aliases.
8041 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8042 (speedbar-make-specialized-keymap, speedbar-insert-button)
8043 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8044 (speedbar-do-function-pointer): Declare.
8045 (rmail-speedbar-button, rmail-speedbar-find-file)
8046 (rmail-speedbar-move-message):
8047 Use dframe-with-attached-buffer rather than speedbar- alias.
8048 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8049 (dframe-message, speedbar-make-specialized-keymap)
8050 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8051 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8052 (speedbar-insert-button, dframe-select-attached-frame)
8053 (dframe-maybee-jump-to-attached-frame)
8054 (speedbar-change-initial-expansion-list)
8055 (speedbar-previously-used-expansion-list-name): Declare.
8056 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8057 Use dframe-message, dframe-with-attached-buffer rather than
8058 speedbar- aliases.
8059 (gud-sentinel): Silence compiler.
8060 * progmodes/vhdl-mode.el (speedbar-refresh)
8061 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8062 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8063 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8064 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8065 (speedbar-file-lists, speedbar-make-tag-line)
8066 (speedbar-line-directory, speedbar-goto-this-file)
8067 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8068 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8069 (speedbar-make-button, speedbar-reset-scanners)
8070 (speedbar-files-item-info, speedbar-line-text)
8071 (speedbar-find-file-in-frame, speedbar-set-timer)
8072 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8073 (speedbar-with-writable): Do not (re)define it.
8074 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8075 rather than speedbar- alias.
8076
8077 2013-05-21 Leo Liu <sdl.web@gmail.com>
8078
8079 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8080 menu items.
8081 (octave-mode): Tweak fill-nobreak-predicate.
8082 (inferior-octave-startup): Check process to avoid infinite loop.
8083 (inferior-octave): Pop to buffer first to show abornmal process
8084 exit information.
8085
8086 2013-05-21 Glenn Morris <rgm@gnu.org>
8087
8088 * printing.el (pr-menu-bar): Define when compiling.
8089
8090 2013-05-21 Leo Liu <sdl.web@gmail.com>
8091
8092 * progmodes/octave.el (octave-auto-fill): Remove.
8093 (octave-indent-new-comment-line): Improve.
8094 (octave-mode): Use auto fill mode through
8095 comment-line-break-function and fill-nobreak-predicate.
8096 (octave-goto-function-definition): Support DEFUN_DLD.
8097 (octave-beginning-of-defun): Small tweak.
8098 (octave-help): Show parent directory.
8099
8100 2013-05-21 Glenn Morris <rgm@gnu.org>
8101
8102 * files.el (dired-unmark):
8103 * progmodes/gud.el (gdb-input): Update declarations.
8104
8105 * calculator.el (electric, ehelp): No need to load when compiling.
8106 (Electric-command-loop, electric-describe-mode): Declare.
8107
8108 * doc-view.el (doc-view-current-converter-processes): Move before use.
8109
8110 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8111 Move MODE-set-explicitly definition before use.
8112
8113 * international/mule-diag.el (mule-diag):
8114 Don't use obsolete window-system-version.
8115
8116 * mail/feedmail.el (smtpmail): No need to load when compiling.
8117 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8118
8119 * mail/mail-utils.el (rfc822): No need to load when compiling.
8120 (rfc822-addresses): Autoload it.
8121 (mail-strip-quoted-names): Trivial simplification.
8122
8123 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8124 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8125
8126 * net/snmp-mode.el (tempo): Don't duplicate requires.
8127
8128 * progmodes/prolog.el (info): No need to load when compiling.
8129 (comint): Require before shell requires it.
8130 (Info-goto-node): Autoload it.
8131 (Info-follow-nearest-node): Declare.
8132 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8133
8134 * textmodes/artist.el (picture-mode-exit): Declare.
8135
8136 * textmodes/reftex-parse.el (reftex-parse-from-file):
8137 Trivial rewrite so the compiler can parse it better.
8138
8139 2013-05-20 Leo Liu <sdl.web@gmail.com>
8140
8141 * progmodes/octave.el (octave-help-mode-map)
8142 (octave-help-mode-finish-hook): New variables.
8143 (octave-help-mode, octave-help-mode-finish): New functions.
8144 (octave-help): Use octave-help-mode.
8145
8146 2013-05-20 Glenn Morris <rgm@gnu.org>
8147
8148 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8149
8150 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8151
8152 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8153 start at point, so that expansion starting right after opening
8154 slash in a regexp is recognized.
8155 (ruby-syntax-before-regexp-re): New defvar, extracted from
8156 ruby-syntax-propertize-function. Since the value of this regexp
8157 is looked up at runtime now, we should be able to turn
8158 `ruby-syntax-methods-before-regexp' into a defcustom later.
8159 (ruby-syntax-propertize-function): Split regexp matching into two
8160 parts, for opening and closing slashes. That allows us to skip
8161 over string interpolations and support multiline regexps.
8162 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8163 for them, which calls `ruby-syntax-propertize-expansion'.
8164 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8165 call to `ruby-syntax-propertize-function'.
8166 (ruby-syntax-propertize-expansion): Extracted from
8167 `ruby-syntax-propertize-expansions'. Handles one expansion.
8168 (ruby-syntax-propertize-percent-literal): Leave point right after
8169 the percent symbol, so that the expression expansion rule can
8170 propertize the contents.
8171 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8172 heredoc openers.
8173 (ruby-syntax-propertize-expansions): Remove.
8174
8175 2013-05-18 Juri Linkov <juri@jurta.org>
8176
8177 * man.el (Man-default-man-entry): Remove `-' from the end
8178 of the default value. (Bug#14400)
8179
8180 2013-05-18 Glenn Morris <rgm@gnu.org>
8181
8182 * comint.el (comint-password-prompt-regexp):
8183 Allow "password for XXX" where XXX contains colons (eg https://...).
8184
8185 2013-05-18 Leo Liu <sdl.web@gmail.com>
8186
8187 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8188 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8189 (octave-source-directories): Don't check process.
8190 (octave-source-directories, octave-find-definition): Doc fix.
8191
8192 2013-05-18 Glenn Morris <rgm@gnu.org>
8193
8194 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8195 Remove backspace/delete bindings. (Bug#14392)
8196
8197 * cus-dep.el (custom-make-dependencies): Sort the output.
8198 (custom-versions-load-alist): Convert comment to doc.
8199
8200 2013-05-17 Leo Liu <sdl.web@gmail.com>
8201
8202 * newcomment.el (comment-search-backward): Stricter in finding
8203 comment start. (Bug#14303)
8204
8205 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8206 (octave-comment-start-skip): Properly anchored.
8207
8208 2013-05-17 Leo Liu <sdl.web@gmail.com>
8209
8210 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8211 Clean up when turned off. (Bug#14395)
8212 (smie--highlight-matching-block-overlay): No longer buffer-local.
8213 (smie-highlight-matching-block): Adjust.
8214
8215 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8216
8217 Doc string fix for "nanoseconds" (Bug#14406).
8218 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8219 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8220
8221 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8222
8223 * calc/calc-units.el (math-extract-units): Preserve powers
8224 of units.
8225
8226 2013-05-17 Leo Liu <sdl.web@gmail.com>
8227
8228 * subr.el (delete-consecutive-dups): New function.
8229 * ido.el (ido-set-matches-1): Use it.
8230 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8231 * ido.el (ido-remove-consecutive-dups): Remove.
8232
8233 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8234
8235 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8236 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8237 regexp-opt's `words'.
8238
8239 2013-05-16 Leo Liu <sdl.web@gmail.com>
8240
8241 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8242 (smie--highlight-matching-block-overlay)
8243 (smie--highlight-matching-block-lastpos)
8244 (smie--highlight-matching-block-timer): New variables.
8245 (smie-highlight-matching-block): New function.
8246 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8247 (smie-setup): Conditionally enable smie-blink-matching-open.
8248
8249 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8250
8251 Sync with upstream verilog-mode r840.
8252 * progmodes/verilog-mode.el (verilog-mode-version)
8253 (verilog-mode-release-date): Update.
8254 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8255 (verilog-sig-tieoff): Fix string error on
8256 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8257 (verilog-read-decls): Fix parameters confusing
8258 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8259
8260 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8261
8262 * subr.el (reveal-filename): New function.
8263
8264 * loadup.el: Compute Emacs executable versions on MS-Windows,
8265 where executables have the .exe extension. Add a hard link
8266 emacs-XX.YY.ZZ.exe on MS-Windows.
8267
8268 * Makefile.in (XARGS_LIMIT): New variable.
8269 (custom-deps, finder-data, autoloads)
8270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8272 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8273 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8274
8275 2013-05-16 Leo Liu <sdl.web@gmail.com>
8276
8277 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8278 (octave-mode-menu, octave-mode-map): Remove its uses.
8279
8280 2013-05-16 Reto Zimmermann <reto@gnu.org>
8281
8282 Sync with upstream vhdl mode v3.34.2.
8283 * progmodes/vhdl-mode.el: Use `push' throughout.
8284 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8285 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8286 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8287 (vhdl-actual-generic-name): New option to derive actual generic name.
8288 (vhdl-port-paste-signals): Replace formal by actual generics.
8289 (vhdl-beautify): New name for old group vhdl-align. Update users.
8290 (vhdl-beautify-options): New option.
8291 (vhdl-last-input-event): New compat alias. Use throughout.
8292 (vhdl-goto-line): Replace user level function `goto-line'.
8293 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8294 vhdl-fix-statement-buffer.
8295 (vhdl-create-mode-menu): Add some entries.
8296 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8297 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8298 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8299 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8300 to force statements on one line.
8301 (vhdl-remove-trailing-spaces-region):
8302 New, split from vhdl-remove-trailing-spaces.
8303 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8304 Respect vhdl-beautify-options.
8305 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8306 (vhdl-update-sensitivity-list): Not add with index if exists without.
8307 Not include array index with signal. Ignore keywords in comments.
8308 (vhdl-get-visible-signals): Regexp tweaks.
8309 (vhdl-template-component-inst): Handle empty library.
8310 (vhdl-template-type): Add template for 'enum' type.
8311 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8312 Use vhdl-replace-string.
8313 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8314 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8315 (vhdl-speedbar-initialize): Update for above name change.
8316 (vhdl-compose-wire-components): Fix in handling of constants.
8317 (vhdl-error-regexp-emacs-alist): New variable.
8318 (vhdl-error-regexp-add-emacs): New function;
8319 adds support for new compile.el (Emacs 22+)
8320 (vhdl-generate-makefile-1): Change target order for single lib. units.
8321 Allow use of absolute file names.
8322
8323 2013-05-16 Leo Liu <sdl.web@gmail.com>
8324
8325 * simple.el (prog-indent-sexp): Indent enclosing defun.
8326
8327 2013-05-15 Glenn Morris <rgm@gnu.org>
8328
8329 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8330 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8331 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8332 (whitespace-highlight): Move to whitespace group.
8333
8334 * comint.el (comint-source):
8335 * pcmpl-linux.el (pcmpl-linux):
8336 * shell.el (shell-faces):
8337 * eshell/esh-opt.el (eshell-opt):
8338 * international/ccl.el (ccl): Remove empty custom groups.
8339
8340 * completion.el (dynamic-completion-mode):
8341 * jit-lock.el (jit-lock-debug-mode):
8342 * minibuffer.el (completion-in-region-mode):
8343 * type-break.el (type-break-mode-line-message-mode)
8344 (type-break-query-mode):
8345 * emulation/tpu-edt.el (tpu-edt-mode):
8346 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8347 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8348 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8349
8350 * term/xterm.el (xterm): Change parent group to terminals.
8351
8352 * master.el (master): Remove empty custom group.
8353 (master-mode): Remove unused :group argument.
8354 * textmodes/refill.el (refill): Remove empty custom group.
8355 (refill-mode): Remove unused :group argument.
8356
8357 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8358
8359 * cus-dep.el: Provide a feature.
8360 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8361 Don't mistakenly ignore files whose basenames match a basename
8362 from preloaded-file-list (eg cedet/ede/simple.el).
8363 Add a fallback method for getting :group.
8364
8365 2013-05-15 Juri Linkov <juri@jurta.org>
8366
8367 * isearch.el (isearch-char-by-name): Rename from
8368 `isearch-insert-char-by-name'. Doc fix.
8369 (isearch-forward): Mention `isearch-char-by-name' in
8370 the docstring. (Bug#13348)
8371
8372 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8373 `exit-minibuffer' instead of
8374 `isearch-nonincremental-exit-minibuffer'.
8375 (isearch-edit-string): Remove mention of
8376 `isearch-nonincremental-exit-minibuffer' from docstring.
8377 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8378 (isearch-forward-exit-minibuffer)
8379 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8380
8381 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8382
8383 * loadup.el: Just use unversioned DOC.
8384
8385 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8386 literals as extending to EOB.
8387 (nxml-last-fontify-end): Remove unused variable.
8388 (nxml-after-change1): Use with-silent-modifications.
8389 (nxml-extend-after-change-region): Simplify.
8390 (nxml-extend-after-change-region1): Remove function.
8391 (nxml-after-change1): Don't adjust for dependent regions.
8392 (nxml-fontify-matcher): Simplify.
8393 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8394 (xmltok-add-dependent): Remove function.
8395 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8396 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8397 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8398 unclosed <[[, <?, comment, and other literals as extending to EOB.
8399 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8400 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8401 Remove functions.
8402 (rng-do-some-validation-1): Don't mark dependent regions.
8403 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8404 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8405 (nxml-clear-dependent-regions): Remove functions.
8406 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8407 (nxml-ensure-scan-up-to-date):
8408 Don't clear&mark dependent regions.
8409
8410 2013-05-15 Leo Liu <sdl.web@gmail.com>
8411
8412 * progmodes/octave.el (octave-goto-function-definition):
8413 Improve and fix callers.
8414
8415 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8418 the setter (bug#14387).
8419
8420 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8421 surrounding group (bug#14402).
8422
8423 2013-05-14 Juri Linkov <juri@jurta.org>
8424
8425 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8426 (Bug#14390)
8427
8428 2013-05-14 Glenn Morris <rgm@gnu.org>
8429
8430 * progmodes/f90.el (f90-imenu-generic-expression):
8431 Fix typo in 2013-05-08 change. (Bug#14402)
8432
8433 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8434
8435 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8436 Remove signals for which replies are never received.
8437
8438 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8439
8440 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8441 (gdb-handler-alist, gdb-handler-number): Remove variables.
8442 (gdb-handler-list): New variable.
8443 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8444 (gdb-pending-handler-p, gdb-handle-reply)
8445 (gdb-remove-all-pending-triggers): New functions.
8446 (gdb-discard-unordered-replies): New defcustom.
8447 (gdb-handler): New defstruct.
8448 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8449 instead of gdb-pending-triggers. Update docstring.
8450 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8451 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8452 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8453 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8454 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8455 (gdb-frame-handler): Pending triggers are now automatically managed.
8456 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8457 Remove argument.
8458 (gdb-input): Automatically handles pending triggers. Update docstring.
8459 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8460 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8461 Update comments.
8462 (gdb-done-or-error): Now use gdb-handle-reply.
8463
8464 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8465
8466 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8467 gdb-debug-log.
8468
8469 2013-05-14 Glenn Morris <rgm@gnu.org>
8470
8471 * subr.el (user-emacs-directory-warning): New option.
8472 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8473
8474 2013-05-14 Leo Liu <sdl.web@gmail.com>
8475
8476 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8477 during redisplay.
8478 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8479 (octave-font-lock-texinfo-comment): Fix invalid search bound
8480 error: wrong side of point.
8481
8482 2013-05-14 Glenn Morris <rgm@gnu.org>
8483
8484 * progmodes/flymake.el (flymake-xml-program): New option.
8485 (flymake-xml-init): Use it.
8486
8487 * term/xterm.el: Provide a feature.
8488
8489 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8490
8491 2013-05-13 Glenn Morris <rgm@gnu.org>
8492
8493 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8494 Add compat aliases as a hack workaround. (Bug#14384)
8495
8496 2013-05-13 Leo Liu <sdl.web@gmail.com>
8497
8498 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8499 ###, and %!.
8500 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8501 C-M-q.
8502 (octave-comment-start-skip): Include %!.
8503 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8504
8505 2013-05-12 Leo Liu <sdl.web@gmail.com>
8506
8507 * progmodes/octave.el (inferior-octave-startup): Store the value
8508 of __octave_srcdir__ for octave-source-directories.
8509 (inferior-octave-check-process): New function refactored out of
8510 inferior-octave-send-list-and-digest.
8511 (octave-source-directories)
8512 (octave-find-definition-filename-function): New variables.
8513 (octave-source-directories)
8514 (octave-find-definition-default-filename): New functions.
8515 (octave-find-definition): Improve to find functions implemented in C++.
8516
8517 2013-05-12 Glenn Morris <rgm@gnu.org>
8518
8519 * calendar/diary-lib.el (diary-outlook-format-1):
8520 Don't include dayname in the output. (Bug#14349)
8521
8522 2013-05-11 Glenn Morris <rgm@gnu.org>
8523
8524 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8525
8526 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8527 Treat cc-provide like provide.
8528
8529 2013-05-11 Kevin Ryde <user42@zip.com.au>
8530
8531 * cus-dep.el (custom-make-dependencies):
8532 Use generated-autoload-load-name for the sake of files such
8533 such cedet/semantic/bovine/c.el, where the base file name
8534 is not in load-path. (Bug#5277)
8535
8536 2013-05-11 Glenn Morris <rgm@gnu.org>
8537
8538 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8539 Provide features.
8540
8541 2013-05-11 Leo Liu <sdl.web@gmail.com>
8542
8543 * progmodes/octave.el (octave-indent-comment): Improve.
8544 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8545 (octave-eldoc-function-signatures, octave-eldoc-function):
8546 New functions.
8547 (octave-mode, inferior-octave-mode): Add eldoc support.
8548
8549 2013-05-11 Richard Stallman <rms@gnu.org>
8550
8551 * epa.el (epa-decrypt-file): Take output file name as argument
8552 and read it using `interactive'.
8553
8554 2013-05-11 Leo Liu <sdl.web@gmail.com>
8555
8556 * progmodes/octave.el (octave-beginning-of-line)
8557 (octave-end-of-line): Check before using up-list because it jumps
8558 out of more syntactic contructs since moving to smie.
8559 (octave-indent-comment): New function.
8560 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8561 (octave-begin-keywords, octave-end-keywords)
8562 (octave-reserved-words, octave-smie-bnf-table)
8563 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8564
8565 2013-05-11 Glenn Morris <rgm@gnu.org>
8566
8567 * faces.el (internal-face-x-get-resource):
8568 * frame.el (ns-display-monitor-attributes-list):
8569 * calc/calc-aent.el (math-to-radians-2):
8570 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8571 Fix declarations.
8572
8573 * calc/calc-menu.el: Make it loadable in isolation.
8574
8575 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8576 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8577 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8578 (eudc-bbdb-query-internal): Require 'bbdb.
8579
8580 * lpr.el (lpr-headers-switches):
8581 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8582
8583 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8584
8585 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8586
8587 * term.el (term-set-escape-char): Make it idempotent.
8588
8589 2013-05-10 Leo Liu <sdl.web@gmail.com>
8590
8591 * progmodes/octave.el (inferior-octave-completion-table):
8592 No longer a function and all uses changed. Use cache to speed up
8593 completion due to bug#11906.
8594 (octave-beginning-of-defun): Re-write to be more general.
8595
8596 2013-05-10 Glenn Morris <rgm@gnu.org>
8597
8598 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8599
8600 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * comint.el (comint-redirect-send-command-to-process): Use :around
8603 rather than :override for comint-redirect-filter.
8604 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8605 Call it instead of comint-redirect-original-filter-function (which
8606 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8607
8608 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8609
8610 * frame.el (display-monitor-attributes-list): Add NS case.
8611 (ns-display-monitor-attributes-list): Declare.
8612
8613 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8614
8615 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8616
8617 2013-05-09 Glenn Morris <rgm@gnu.org>
8618
8619 * international/fontset.el (vertical-centering-font-regexp):
8620 Set standard-value.
8621
8622 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8623
8624 * bookmark.el (bookmark-search-delay):
8625 * cus-start.el (vertical-centering-font-regexp):
8626 * ps-mule.el (ps-mule-font-info-database-default):
8627 * ps-print.el (ps-default-fg, ps-default-bg):
8628 * type-break.el (type-break-good-break-interval):
8629 * whitespace.el (whitespace-indentation-regexp)
8630 (whitespace-space-after-tab-regexp):
8631 * emacs-lisp/testcover.el (testcover-1value-functions)
8632 (testcover-noreturn-functions, testcover-progn-functions)
8633 (testcover-prog1-functions):
8634 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8635 * eshell/em-glob.el (eshell-glob-translate-alist):
8636 * play/tetris.el (tetris-tty-colors):
8637 * progmodes/cpp.el (cpp-face-default-list):
8638 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8639 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8640 (idlwave-help-browser-generic-args):
8641 * progmodes/make-mode.el (makefile-special-targets-list):
8642 * progmodes/python.el (python-shell-virtualenv-path):
8643 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8644 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8645 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8646 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8647 * textmodes/reftex-vars.el (reftex-format-label-function):
8648 * textmodes/remember.el (remember-diary-file): Fix custom types.
8649
8650 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8651 Add :version.
8652
8653 2013-05-09 Leo Liu <sdl.web@gmail.com>
8654
8655 * progmodes/octave.el (inferior-octave-completion-at-point):
8656 Restore file completion. (Bug#14300)
8657 (inferior-octave-startup): Fix incorrect highlighting for the
8658 first prompt.
8659
8660 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * progmodes/ruby-mode.el: First cut at SMIE support.
8663 (ruby-use-smie): New var.
8664 (ruby-smie-grammar): New constant.
8665 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8666 (ruby-smie--forward-token, ruby-smie--backward-token)
8667 (ruby-smie-rules): New functions.
8668 (ruby-mode-variables): Setup SMIE if applicable.
8669
8670 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8671
8672 * simple.el (line-move-visual): Signal beginning/end of buffer
8673 only if vertical-motion moved less than it was requested. Avoids
8674 silly incorrect error messages when there are display strings with
8675 multiple newlines at EOL.
8676
8677 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8680 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8681 (prolog-char-quote-workaround):
8682 * progmodes/cperl-mode.el (cperl-under-as-char):
8683 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8684 Mark as obsolete.
8685 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8686 their declaration.
8687 (vhdl-mode-syntax-table-init): Remove.
8688
8689 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8690 last change.
8691
8692 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8693 syntax for "_".
8694 (ld-script-font-lock-keywords):
8695 Change regexps to use things like \_< and \_>.
8696
8697 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8698 Change all regexps to use things like \_< and \_>.
8699
8700 * progmodes/autoconf.el (autoconf-definition-regexp)
8701 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8702 Handle a _ with symbol syntax.
8703 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8704
8705 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8706 Consolidate declaration.
8707 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8708 the declaration.
8709 (ada-create-syntax-table): Remove.
8710 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8711 already has the right syntax nowadays.
8712 (ada-goto-next-word): Don't change the syntax of "_".
8713
8714 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8715 with-wrapper-hook.
8716
8717 2013-05-08 Sam Steingold <sds@gnu.org>
8718
8719 * thingatpt.el (thing-at-point): Accept optional second argument
8720 NO-PROPERTIES to strip the text properties from the return value.
8721 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8722 to `thing-at-point' instead of stripping the properties ourselves.
8723 Also, when `thing-at-point' fails to find a url, prepend "http://"
8724 to the filename at point on the assumption that the user is
8725 pointing at something like gnu.org/gnu.
8726
8727 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8728
8729 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8730 * faces.el (crm-separator):
8731 Silence byte-compiler.
8732
8733 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8734 (tool-bar-map): Remove unneeded defvars.
8735
8736 2013-05-08 Leo Liu <sdl.web@gmail.com>
8737
8738 Re-work a fix for bug#10994 based on Le Wang's patch.
8739 * ido.el (ido-remove-consecutive-dups): New helper.
8740 (ido-completing-read): Use it.
8741 (ido-chop): Revert fix for bug#10994.
8742
8743 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8744
8745 * cus-edit.el (custom-save-variables):
8746 Pretty-print long values. (Bug#14187)
8747
8748 2013-05-08 Glenn Morris <rgm@gnu.org>
8749
8750 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8751 (m4-mode-syntax-table): Init in the defvar.
8752 (m4-mode-abbrev-table): Let define-derived-mode define it.
8753
8754 2013-05-08 Tom Tromey <tromey@redhat.com>
8755
8756 * progmodes/m4-mode.el (m4-mode-syntax-table):
8757 Do not treat "_" as word constituent. (Bug#14167)
8758
8759 2013-05-07 Glenn Morris <rgm@gnu.org>
8760
8761 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8762 Remove explicit eshell-isearch-cancel-map.
8763
8764 * progmodes/f90.el (f90-smart-end-names): New option.
8765 (f90-smart-end): Doc fix.
8766 (f90-end-block-optional-name): New constant.
8767 (f90-block-match): Respect f90-smart-end-names.
8768
8769 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8772 about implicit semi-colons (bug#14218).
8773
8774 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8775
8776 * frame.el (display-monitor-attributes-list)
8777 (frame-monitor-attributes): New functions.
8778
8779 2013-05-06 Leo Liu <sdl.web@gmail.com>
8780
8781 * progmodes/octave.el (octave-syntax-propertize-function): Change
8782 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8783 (octave-font-lock-keywords): Use octave-operator-regexp.
8784 (octave-completion-at-point): Rename from
8785 octave-completion-at-point-function.
8786 (inferior-octave-directory-tracker): Robustify.
8787 (octave-text-functions): Remove and fix its uses. No such things
8788 any more.
8789
8790 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * emacs-lisp/trace.el (trace--display-buffer): New function.
8793 (trace-make-advice): Use it.
8794
8795 2013-05-06 Juri Linkov <juri@jurta.org>
8796
8797 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8798 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8799 Doc fix.
8800 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8801 in the help string. (Bug#12985)
8802
8803 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8804
8805 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8806
8807 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8808
8809 * progmodes/perl-mode.el: Add support for here documents.
8810 (perl-syntax-propertize-function): Match here-doc markers.
8811 (perl-syntax-propertize-special-constructs): Find their end.
8812 (perl-imenu-generic-expression): Use [:alnum:].
8813
8814 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8815 (advice--add-function): Refresh the advice if already present
8816 (bug#14317).
8817
8818 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8819
8820 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8821
8822 2013-05-06 Glenn Morris <rgm@gnu.org>
8823
8824 * w32-fns.el (w32-charset-info-alist): Declare.
8825
8826 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8827 of its defcustom properties.
8828 (eshell-cmpl-initialize): No need to load pcomplete.
8829
8830 * generic-x.el: No need to require comint when compiling.
8831
8832 * net/eudc-export.el: Make it loadable without bbdb.
8833 (top-level): Use require rather than load-library.
8834 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8835 (eudc-batch-export-records-to-bbdb)
8836 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8837 Require bbdb.
8838
8839 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8842 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8843 some tweaks, instead.
8844
8845 2013-05-05 Leo Liu <sdl.web@gmail.com>
8846
8847 * progmodes/octave.el (octave-font-lock-keywords)
8848 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8849 (inferior-octave-send-list-and-digest): Improve error message.
8850 (octave-mode, inferior-octave-mode): Use setq-local.
8851 (octave-help): Set info-lookup-mode.
8852
8853 2013-05-05 Richard Stallman <rms@gnu.org>
8854
8855 * vc/compare-w.el (compare-windows-whitespace):
8856 Treat no-break space as whitespace.
8857
8858 * mail/rmailsum.el (rmail-summary-rmail-update):
8859 Detect empty summary and don't change selected message.
8860 (rmail-summary-goto-msg): Likewise.
8861
8862 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8863 Doc fixes, rename args.
8864
8865 2013-05-05 Alan Mackenzie <acm@muc.de>
8866
8867 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8868
8869 2013-05-05 Juri Linkov <juri@jurta.org>
8870
8871 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8872 to not add the length of the summary segment to the return value.
8873 (Bug#14125)
8874
8875 2013-05-05 Leo Liu <sdl.web@gmail.com>
8876
8877 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8878 (inferior-octave-output-filter): Remove.
8879 (octave-send-region, inferior-octave-startup): Fix callers.
8880 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8881 (octave-binary-file-extensions): New user variable.
8882 (octave-find-definition): Confirm if opening binary files.
8883 (octave-help-file): Use octave-find-definition to get the binary
8884 confirmation.
8885 (octave-help): Adjust for octave-help-file change.
8886
8887 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8888
8889 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8890 Merge the two entries that handle function definitions.
8891 (pascal--syntax-propertize): New const.
8892 (pascal-mode): Use it. Use setq-local.
8893
8894 2013-05-04 Glenn Morris <rgm@gnu.org>
8895
8896 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8897 (diary-from-outlook): Respect diary-from-outlook-function.
8898
8899 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8902 Move the declaration from C.
8903 (read-minibuffer, eval-minibuffer): Move from C.
8904 (completion-setup-function): Avoid minibuffer-completion-contents.
8905
8906 2013-05-03 Leo Liu <sdl.web@gmail.com>
8907
8908 * progmodes/octave.el (octave-font-lock-keywords): Do not
8909 dehighlight 'end' in comments or strings.
8910 (octave-completing-read, octave-goto-function-definition):
8911 New helpers.
8912 (octave-help-buffer): New user variable.
8913 (octave-help-file, octave-help-function): New button types.
8914 (octave-help): New command and bind it to C-h ;.
8915 (octave-find-definition): New command and bind it to M-.
8916 (user-error): Alias to error if not defined.
8917
8918 2013-05-02 Leo Liu <sdl.web@gmail.com>
8919
8920 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8921 for \. (bug#14332)
8922 (octave-font-lock-keywords): Include [ and {.
8923
8924 2013-05-02 Leo Liu <sdl.web@gmail.com>
8925
8926 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8927 (inferior-octave): Remove calling comint-mode and return the buffer.
8928 (inferior-octave-startup): Cosmetic changes.
8929
8930 2013-05-02 Leo Liu <sdl.web@gmail.com>
8931
8932 * progmodes/octave.el (octave-syntax-propertize-function):
8933 Include the case when ' is at line beginning. (Bug#14336)
8934
8935 2013-05-02 Glenn Morris <rgm@gnu.org>
8936
8937 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8938 * desktop.el (vc-dir-mode): Just autoload it here.
8939
8940 2013-05-02 Alan Mackenzie <acm@muc.de>
8941
8942 Eliminate variable c-standard-font-lock-fontify-region-function.
8943 * progmodes/cc-mode.el
8944 (c-standard-font-lock-fontify-region-function): Remove.
8945 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8946
8947 2013-05-01 Leo Liu <sdl.web@gmail.com>
8948
8949 * progmodes/octave.el: Compatible with older emacs-24 releases.
8950 (inferior-octave-has-built-in-variables): Remove. Built-in
8951 variables were removed from Octave in 2007.
8952 (inferior-octave-startup): Fix uses.
8953 (comint-line-beginning-position): Remove compatibility code for
8954 emacs 21.
8955
8956 2013-05-01 Juri Linkov <juri@jurta.org>
8957
8958 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8959
8960 2013-05-01 Juri Linkov <juri@jurta.org>
8961
8962 * comint.el (comint-previous-matching-input): Don't print message
8963 "History item: %d" when `isearch-mode' is active.
8964 (comint-history-isearch-message): Print message "History item: %d"
8965 when `comint-input-ring-index' is not empty and this function is
8966 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8967
8968 2013-05-01 Leo Liu <sdl.web@gmail.com>
8969
8970 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8971 definitions. Use completion-at-point to insert keywords.
8972 (octave-abbrev-start): Remove.
8973 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8974
8975 2013-04-30 Leo Liu <sdl.web@gmail.com>
8976
8977 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8978 change.
8979
8980 2013-04-30 Alan Mackenzie <acm@muc.de>
8981
8982 Handle arbitrarily long C++ member initialisation lists.
8983 * progmodes/cc-engine.el (c-back-over-member-initializers):
8984 new function.
8985 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8986 (most) member init lists.
8987
8988 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8989
8990 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8991 variable.
8992
8993 2013-04-30 Leo Liu <sdl.web@gmail.com>
8994
8995 * progmodes/octave.el (octave-variables): Remove. No builtin
8996 variables any more. All converted to functions.
8997 (octave-font-lock-keywords, octave-completion-at-point-function):
8998 Fix uses.
8999 (octave-font-lock-texinfo-comment): New user variable.
9000 (octave-texinfo-font-lock-keywords): New variable for texinfo
9001 comment block.
9002 (octave-function-comment-block): New face.
9003 (octave-font-lock-texinfo-comment): New function.
9004 (octave-mode): Font lock texinfo comment block.
9005
9006 2013-04-29 Leo Liu <sdl.web@gmail.com>
9007
9008 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9009 indexing expression.
9010 (octave-continuation-string): Do not use \.
9011 (inferior-octave-complete-impossible): Remove.
9012 (inferior-octave-completion-table)
9013 (inferior-octave-completion-at-point): Remove its uses.
9014 (inferior-octave-startup): completion_matches was introduced to
9015 Octave in 1996 so safe to assume it.
9016 (octave-function-file-comment): Improve to follow how Octave does it.
9017 (octave-update-function-file-comment): Tweak.
9018
9019 2013-04-29 Leo Liu <sdl.web@gmail.com>
9020
9021 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9022 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9023 (octave-function-file-comment): Fix typo.
9024 (octave-sync-function-file-names): Use read-char-choice.
9025
9026 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9027
9028 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9029 to t for the less important warnings.
9030
9031 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9032
9033 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9034
9035 2013-04-27 Glenn Morris <rgm@gnu.org>
9036
9037 * vc/log-view.el (log-view-current-entry):
9038 Treat "---" separator lines as part of the following rev. (Bug#14169)
9039
9040 2013-04-27 Juri Linkov <juri@jurta.org>
9041
9042 * subr.el (read-number): Doc fix about using it by interactive
9043 code letter `n'. (Bug#14254)
9044
9045 2013-04-27 Juri Linkov <juri@jurta.org>
9046
9047 * desktop.el (desktop-auto-save-timeout): New option.
9048 (desktop-file-checksum): New variable.
9049 (desktop-save): Add optional arg `auto-save' and don't auto-save
9050 if nothing changed.
9051 (desktop-auto-save-timer): New variable.
9052 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9053 (after-init-hook): Call `desktop-auto-save-set-timer'.
9054 Suggested by Reuben Thomas <rrt@sc3d.org> in
9055 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9056
9057 2013-04-27 Leo Liu <sdl.web@gmail.com>
9058
9059 * progmodes/octave.el (octave-function-file-p)
9060 (octave-skip-comment-forward, octave-function-file-comment)
9061 (octave-update-function-file-comment): New functions.
9062 (octave-mode-map): Bind C-c ; to
9063 octave-update-function-file-comment.
9064 (octave-mode-menu): Add octave-update-function-file-comment.
9065 (octave-mode, inferior-octave-mode): Fix doc-string.
9066 (octave-insert-defun): Conform to Octave's coding convention.
9067 (Bug#14285)
9068
9069 * files.el (basic-save-buffer): Don't let errors in
9070 before-save-hook prevent saving buffer.
9071
9072 2013-04-20 Roland Winkler <winkler@gnu.org>
9073
9074 * faces.el (read-face-name): Use completing-read if arg multiple
9075 is nil.
9076
9077 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9078
9079 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9080 displayed, move point to after the totals line.
9081 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9082 for the details.
9083
9084 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9087 Add current dir to the load-path.
9088 (package-generate-autoloads): Don't rely on
9089 autoload-ensure-default-file.
9090
9091 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9092
9093 * textmodes/remember.el (remember-store-in-files): Document that
9094 the file name format is passed to `format-time-string'.
9095
9096 2013-04-26 Leo Liu <sdl.web@gmail.com>
9097
9098 * progmodes/octave.el (octave-sync-function-file-names): New function.
9099 (octave-mode): Use it in before-save-hook.
9100
9101 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9104 (bug#14274).
9105
9106 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9107 \n and comment, even if it's not an implicit ; (bug#14218).
9108
9109 2013-04-26 Glenn Morris <rgm@gnu.org>
9110
9111 * subr.el (read-number): Once more use `read' rather than
9112 `string-to-number', to trap non-numeric input. (Bug#14254)
9113
9114 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9115
9116 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9117 Use `syntax-multiline' text property consistently instead of
9118 `font-lock-multiline'. (Bug#14237)
9119
9120 2013-04-26 Glenn Morris <rgm@gnu.org>
9121
9122 * emacs-lisp/shadow.el (list-load-path-shadows):
9123 No longer necessary to check for duplicate simple.el, since
9124 2012-07-07 change to init_lread to not include installation lisp
9125 directories in load-path when running uninstalled. (Bug#14270)
9126
9127 2013-04-26 Leo Liu <sdl.web@gmail.com>
9128
9129 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9130 (octave-mode, inferior-octave-mode): Use setq-local.
9131 (octave-not-in-string-or-comment-p): Rename to
9132 octave-in-string-or-comment-p.
9133 (octave-in-comment-p, octave-in-string-p)
9134 (octave-in-string-or-comment-p): Replace defsubst with defun.
9135
9136 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9137
9138 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9139
9140 2013-04-25 Bastien Guerry <bzg@gnu.org>
9141
9142 * textmodes/remember.el (remember-data-directory)
9143 (remember-directory-file-name-format): Fix custom types.
9144
9145 2013-04-25 Leo Liu <sdl.web@gmail.com>
9146
9147 * progmodes/octave.el (octave-completion-at-point-function):
9148 Make use of inferior octave process.
9149 (octave-initialize-completions): Remove.
9150 (inferior-octave-completion-table): New function.
9151 (inferior-octave-completion-at-point): Use it.
9152 (octave-completion-alist): Remove.
9153
9154 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9157 (opascal-mode-syntax-table): New var.
9158 (opascal-literal-kind, opascal-is-literal-end)
9159 (opascal-literal-token-at): Rewrite.
9160 (opascal--literal-start-re, opascal-font-lock-keywords)
9161 (opascal--syntax-propertize): New constants.
9162 (opascal-font-lock-defaults): Adjust.
9163 (opascal-mode): Use them. Set comment-<foo> variables as well.
9164 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9165 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9166 (delphi-other-face, opascal-other-face): Remove face variables.
9167 (opascal-save-state): Remove macro.
9168 (opascal-fontifying-progress-step): Remove constant.
9169 (opascal--ignore-changes): Remove var.
9170 (opascal-set-token-property, opascal-parse-next-literal)
9171 (opascal-is-stable-literal, opascal-complete-literal)
9172 (opascal-is-literal-start, opascal-face-of)
9173 (opascal-parse-region, opascal-parse-region-until-stable)
9174 (opascal-fontify-region, opascal-after-change)
9175 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9176 (opascal-debug-parse-region, opascal-debug-parse-window)
9177 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9178 (opascal-debug-fontify-buffer): Remove.
9179 (opascal-debug-mode-map): Adjust accordingly.
9180
9181 2013-04-25 Leo Liu <sdl.web@gmail.com>
9182
9183 Merge octave-mod.el and octave-inf.el into octave.el with some
9184 cleanups.
9185 * progmodes/octave.el: New file renamed from octave-mod.el.
9186 * progmodes/octave-inf.el: Merged into octave.el.
9187 * progmodes/octave-mod.el: Renamed to octave.el.
9188
9189 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9190
9191 * textmodes/reftex-vars.el
9192 (reftex-label-ignored-macros-and-environments): New defcustom.
9193
9194 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9195
9196 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9197
9198 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9199 (smie-indent-keyword): Improve the check to ensure that the next
9200 comment is really on the same line.
9201 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9202
9203 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9204 semi-colons if the line is not otherwise empty (bug#14218).
9205
9206 2013-04-25 Glenn Morris <rgm@gnu.org>
9207
9208 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9209
9210 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * progmodes/opascal.el (opascal-set-token-property): Rename from
9213 opascal-set-text-properties and only set `token' (bug#14134).
9214 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9215 (opascal-literal-text-properties): Remove.
9216 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9217 Adjust callers.
9218
9219 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9220
9221 * textmodes/remember.el (remember-handler-functions): Add an
9222 option for a new handler `remember-store-in-files'.
9223 (remember-data-directory, remember-directory-file-name-format):
9224 New options.
9225 (remember-store-in-files): New function to store remember notes
9226 as separate files within a directory.
9227
9228 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9229
9230 * progmodes/compile.el (compilation-next-error-function):
9231 Pass "formats" to compilation-find-file (bug#11777).
9232
9233 2013-04-24 Glenn Morris <rgm@gnu.org>
9234
9235 * vc/vc-bzr.el (vc-bzr-print-log):
9236 * vc/vc-hg.el (vc-hg-print-log):
9237 * vc/vc-svn.el (vc-svn-print-log):
9238 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9239
9240 * vc/vc-bzr.el (vc-bzr-print-log):
9241 * vc/vc-cvs.el (vc-cvs-print-log):
9242 * vc/vc-git.el (vc-git-print-log):
9243 * vc/vc-hg.el (vc-hg-print-log):
9244 * vc/vc-mtn.el (vc-mtn-print-log):
9245 * vc/vc-rcs.el (vc-rcs-print-log):
9246 * vc/vc-sccs.el (vc-sccs-print-log):
9247 * vc/vc-svn.el (vc-svn-print-log):
9248 * vc/vc.el (vc-print-log-internal): Doc fixes.
9249
9250 2013-04-23 Glenn Morris <rgm@gnu.org>
9251
9252 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9253 Remove venerable code attempting to avoid substitute-command-keys.
9254
9255 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9256
9257 * textmodes/reftex-vars.el (reftex-label-regexps):
9258 Call `reftex-compile-variables' after changes to this variable.
9259
9260 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9261
9262 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9263 Use lexical-binding.
9264 (jit-lock-force-redisplay): Use markers, check buffer's continued
9265 existence and beware narrowed buffers.
9266 (jit-lock-fontify-now): Adjust call accordingly.
9267
9268 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9271 to avoid misleading the user.
9272
9273 2013-04-22 Leo Liu <sdl.web@gmail.com>
9274
9275 * info-look.el: Prefer latex2e.info. (Bug#14240)
9276
9277 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9278
9279 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9280
9281 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9282 * net/tramp.el (tramp-call-process): ... here.
9283 (tramp-set-completion-function, tramp-parse-putty):
9284 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9285 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9286 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9287 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9288 (tramp-call-local-coding-command): Use `tramp-call-process'
9289 instead of `tramp-compat-call-process'.
9290
9291 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9292 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9293 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9294 (tramp-find-inline-compress): Improve traces.
9295 (tramp-maybe-send-script): Check for Perl binary.
9296 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9297
9298 2013-04-22 Daiki Ueno <ueno@gnu.org>
9299
9300 * epg.el (epg-context-pinentry-mode): New function.
9301 (epg-context-set-pinentry-mode): New function.
9302 (epg--start): Pass --pinentry-mode option to gpg command.
9303
9304 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9305
9306 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9307 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9308 `completion-at-point'. (Bug#13774)
9309
9310 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9311 default key binding for `describe-distribution' has been moved to
9312 `C-h C-o'. (Bug#13970)
9313
9314 2013-04-21 Glenn Morris <rgm@gnu.org>
9315
9316 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9317 Add doc strings.
9318 (vc-print-log): Clarify interactive prompt.
9319
9320 2013-04-20 Glenn Morris <rgm@gnu.org>
9321
9322 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9323 No longer include timestamp etc information.
9324
9325 2013-04-20 Roland Winkler <winkler@gnu.org>
9326
9327 * faces.el (read-face-name): Bug fix, return just one face if arg
9328 multiple is nil. (Bug#14209)
9329
9330 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9331
9332 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9333 (remove-function): Autoload.
9334
9335 * comint.el (comint-redirect-original-filter-function): Remove.
9336 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9337 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9338 (vc-cvs-annotate-command):
9339 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9340 * progmodes/prolog.el (prolog-consult-compile):
9341 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9342 Use add/remove-function instead.
9343 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9344 (gud-tooltip-process-output, gud-tooltip-tips):
9345 Use add/remove-function instead.
9346 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9347 (scheme-interaction-mode, exit-scheme-interaction-mode):
9348 Use add/remove-function instead.
9349
9350 * vc/vc-dispatcher.el: Use lexical-binding.
9351 (vc--process-sentinel): Rename from vc-process-sentinel.
9352 Change last arg to be the code to run. Don't use vc-previous-sentinel
9353 and vc-sentinel-commands any more.
9354 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9355 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9356
9357 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9358
9359 * progmodes/sh-script.el (sh-imenu-generic-expression):
9360 Handle function names with a single character. (Bug#14111)
9361
9362 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9363
9364 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9365 for subroutines defined in an eval (bug#14182).
9366
9367 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9368
9369 * bookmark.el (bookmark-completing-read): Improve handling of empty
9370 string (bug#14176).
9371
9372 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9373
9374 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9375
9376 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9377
9378 New faster Imenu implementation (bug#14058).
9379 * progmodes/python.el:
9380 (python-imenu-prev-index-position):
9381 (python-imenu-format-item-label-function)
9382 (python-imenu-format-parent-item-label-function)
9383 (python-imenu-format-parent-item-jump-label-function):
9384 New vars.
9385 (python-imenu-format-item-label)
9386 (python-imenu-format-parent-item-label)
9387 (python-imenu-format-parent-item-jump-label)
9388 (python-imenu--put-parent, python-imenu--build-tree)
9389 (python-imenu-create-index, python-imenu-create-flat-index)
9390 (python-util-popn): New functions.
9391 (python-mode): Set imenu-create-index-function to
9392 python-imenu-create-index.
9393
9394 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * winner.el (winner-active-region): Use region-active-p, activate-mark
9397 and deactivate-mark (bug#14225).
9398
9399 * simple.el (deactivate-mark): Don't inline it.
9400
9401 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9402
9403 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9404
9405 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9406
9407 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9408 file extensions from the archive-mode entry in order to prefer
9409 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9410
9411 2013-04-18 Leo Liu <sdl.web@gmail.com>
9412
9413 * bindings.el (help-event-list): Add ?\?.
9414
9415 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * subr.el (with-wrapper-hook): Declare obsolete.
9418 * simple.el (filter-buffer-substring-function): New hook.
9419 (filter-buffer-substring): Use it.
9420 (filter-buffer-substring-functions): Mark obsolete.
9421 * minibuffer.el (completion-in-region-function): New hook.
9422 (completion-in-region): Use it.
9423 (completion-in-region-functions): Mark obsolete.
9424 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9425 * abbrev.el (abbrev-expand-function): New hook.
9426 (expand-abbrev): Use it.
9427 (abbrev-expand-functions): Mark obsolete.
9428 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9429 and :filter-return.
9430
9431 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9432
9433 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9434 and do not care about match data.
9435
9436 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9439 completion tables when completing error conditions and
9440 `declare' arguments.
9441 (lisp-complete-symbol, field-complete): Mark as obsolete.
9442 (check-parens): Unmatched parens are user errors.
9443 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9444
9445 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9446
9447 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9448 command changed buffer (ie. `flyspell-pre-buffer' is not current
9449 buffer), which prevents making decisions based on invalid value of
9450 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9451 cause an error when `flyspell-pre-point' was nil after switching
9452 buffers.
9453 (flyspell-post-command-hook): No longer needs to change buffers when
9454 checking pre-word. While at it remove unnecessary progn.
9455
9456 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9457
9458 * textmodes/ispell.el (ispell-add-per-file-word-list):
9459 Fix `flyspell-correct-word-before-point' error when accepting
9460 words and `coment-padding' is an integer by using
9461 `comment-normalize-vars' (Bug #14214).
9462
9463 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9464
9465 New defun movement commands.
9466 * progmodes/python.el (python-nav--syntactically)
9467 (python-nav--forward-defun, python-nav-backward-defun)
9468 (python-nav-forward-defun): New functions.
9469
9470 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9471
9472 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9473 (python-syntax-context): Use named compiler-macro for backwards
9474 compatibility with Emacs 24.x.
9475
9476 2013-04-17 Leo Liu <sdl.web@gmail.com>
9477
9478 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9479 octave-hide-process-buffer.
9480
9481 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9484 (bug#14216).
9485
9486 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9487
9488 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9489 Fix adjustment of offset when receiving incomplete responses from GDB
9490 (bug#14129).
9491
9492 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9495 python-mode-abbrev-table.
9496 (python-skeleton-define): Adjust accordingly.
9497 (python-mode-abbrev-table): New table that inherits from it so that
9498 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9499
9500 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9501 (abbrev-symbol): Use it.
9502 (abbrev--before-point): Use it since we already handle inheritance.
9503
9504 2013-04-16 Leo Liu <sdl.web@gmail.com>
9505
9506 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9507 binding to info-lookup-symbol.
9508
9509 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9510
9511 * minibuffer.el (completion--twq-all):
9512 * term/ns-win.el (ns-initialize-window-system):
9513 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9514
9515 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9518 global bindings.
9519
9520 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9521
9522 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9523
9524 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9525 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9526 to nil.
9527 (ruby-end-of-defun): Remove the unused arg, change the docstring
9528 to reflect that this function is only used as the value of
9529 `end-of-defun-function'.
9530 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9531 to reflect an earlier change that beginning/end-of-defun functions
9532 jump between methods in a class definition, as well as top-level
9533 functions.
9534
9535 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * minibuffer.el (minibuffer-complete): Don't just scroll
9538 a *Completions* that's been iconified.
9539 (minibuffer-force-complete): Make sure repetitions do cycle when going
9540 through completion-in-region -> minibuffer-complete.
9541
9542 2013-04-15 Alan Mackenzie <acm@muc.de>
9543
9544 Correct the placement of c-cpp-delimiters when there're #s not at
9545 col 0.
9546
9547 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9548 place a submatch around the #.
9549 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9550 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9551 on the #, not BOL.
9552
9553 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9554
9555 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9556 (advice--member-p): New arg `name'.
9557 (advice--add-function, advice-member-p): Use it (bug#14202).
9558
9559 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9560
9561 Reformulate java imenu-generic-expression.
9562 The old expression contained ill formed regexps.
9563
9564 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9565 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9566 (cc-imenu-java-method-arg-regexp): New defconsts.
9567 (cc-imenu-java-build-type-args-regex): New defun.
9568 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9569 handling of spaces in the regexp.
9570
9571 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9572
9573 * textmodes/ispell.el (ispell-command-loop): Remove
9574 flyspell highlight of a word when ispell accepts it (bug #14178).
9575
9576 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9577
9578 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9579 uses code from the previous `ange-ftp-run-real-handler'.
9580 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9581 only in case that function exist. This is needed for proper
9582 unloading of Tramp.
9583
9584 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9585
9586 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9587
9588 * textmodes/reftex.el (reftex-compile-variables): Use it.
9589
9590 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * files.el (normal-mode): Only use default major-mode if no other mode
9593 was specified.
9594
9595 * emacs-lisp/trace.el (trace-values): New function.
9596
9597 * files.el: Allow : in local variables (bug#14089).
9598 (hack-local-variable-regexp): New var.
9599 (hack-local-variables-prop-line, hack-local-variables): Use it.
9600
9601 2013-04-13 Roland Winkler <winkler@gnu.org>
9602
9603 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9604 data before it gets modified by bibtex-beginning-of-entry.
9605
9606 2013-04-13 Roland Winkler <winkler@gnu.org>
9607
9608 * textmodes/bibtex.el (bibtex-url): Doc fix.
9609
9610 2013-04-13 Roland Winkler <winkler@gnu.org>
9611
9612 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9613 does not visit a BibTeX file, exclude it from the list of buffers
9614 returned by bibtex-initialize.
9615
9616 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9617
9618 * window.el (split-window): Remove interactive form, since as a
9619 command this function is a special case of split-window-below.
9620 Correct doc string.
9621
9622 2013-04-12 Roland Winkler <winkler@gnu.org>
9623
9624 * faces.el (read-face-name): Do not override value of arg default.
9625 Allow single faces and strings as default values. Remove those
9626 elements from return value that are not faces.
9627 (describe-face): Simplify.
9628 (face-at-point): New optional args thing and multiple so that this
9629 function can provide the same functionality previously provided by
9630 read-face-name.
9631 (make-face-bold, make-face-unbold, make-face-italic)
9632 (make-face-unitalic, make-face-bold-italic, invert-face)
9633 (modify-face, read-face-and-attribute): Use face-at-point.
9634
9635 * cus-edit.el (customize-face, customize-face-other-window)
9636 * cus-theme.el (custom-theme-add-face)
9637 * face-remap.el (buffer-face-set)
9638 * facemenu.el (facemenu-set-face): Use face-at-point.
9639
9640 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9641
9642 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9643
9644 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9645
9646 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9647 off leading { and trailing } from field values.
9648
9649 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * emacs-lisp/timer.el (timer--check): New function.
9652 (timer--time, timer-set-function, timer-event-handler): Use it.
9653 (timer-set-idle-time): Simplify.
9654 (timer--activate): CSE.
9655 (timer-event-handler): Give more info in error message.
9656 (internal-timer-start-idle): New function, moved from C.
9657
9658 * mpc.el (mpc-proc): Add `restart' argument.
9659 (mpc-proc-cmd): Use it.
9660 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9661 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9662 less often.
9663
9664 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9665
9666 * progmodes/sh-script.el: Implement `sh-mode' own
9667 `add-log-current-defun-function' (bug#14112).
9668 (sh-current-defun-name): New function.
9669 (sh-mode): Use the function.
9670
9671 2013-04-09 Bastien Guerry <bzg@gnu.org>
9672
9673 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9674
9675 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9678
9679 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9680 timer (bug#14156).
9681
9682 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9683
9684 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9685 declaration.
9686
9687 2013-04-07 Leo Liu <sdl.web@gmail.com>
9688
9689 * pcmpl-x.el: New file.
9690
9691 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9692
9693 Do not set x-display-name until X connection is established.
9694 This is needed to prevent from weird situation described at
9695 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9696 * frame.el (make-frame): Set x-display-name after call to
9697 window system initialization function, not before.
9698 * term/x-win.el (x-initialize-window-system): Add optional
9699 display argument and use it.
9700 * term/w32-win.el (w32-initialize-window-system):
9701 * term/ns-win.el (ns-initialize-window-system):
9702 * term/pc-win.el (msdos-initialize-window-system):
9703 Add compatible optional display argument.
9704
9705 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9706
9707 * files.el (normal-backup-enable-predicate): On MS-Windows and
9708 MS-DOS compare truenames of temporary-file-directory and of the
9709 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9710 don't fail comparison by compare-strings. Also, compare file
9711 names case-insensitively on MS-Windows and MS-DOS.
9712
9713 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9714
9715 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9716 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9717
9718 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9719
9720 * whitespace.el (whitespace-color-on, whitespace-color-off):
9721 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9722
9723 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9724
9725 * ispell.el (ispell-set-spellchecker-params):
9726 Really set `ispell-args' for all equivs.
9727
9728 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * ido.el (ido-completions): Use extra elements of ido-decorations
9731 (bug#14143).
9732 (ido-decorations): Update docstring.
9733
9734 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9735
9736 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9737 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9738 nil during initialization, in order not to miss changes since the
9739 file was opened. (Bug#14140)
9740
9741 2013-04-05 Leo Liu <sdl.web@gmail.com>
9742
9743 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9744
9745 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9746
9747 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9748
9749 2013-04-04 Glenn Morris <rgm@gnu.org>
9750
9751 * electric.el (electric-pair-inhibit-predicate): Add :version.
9752
9753 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9754
9755 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9756 when a package is required several times (bug#14082).
9757
9758 2013-04-04 Roland Winkler <winkler@gnu.org>
9759
9760 * faces.el (read-face-name): Behave as promised by the docstring.
9761 Assume that arg default is a list of faces.
9762 (describe-face): Call read-face-name with list of default faces.
9763
9764 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9765
9766 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9767 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9768 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9769 the header.
9770 (bookmark-exit-hook-internal): Save even if list is empty.
9771
9772 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9773
9774 * emacs-lisp/package.el (package-pinned-packages): New var.
9775 (package--add-to-archive-contents): Obey it (bug#14118).
9776
9777 2013-04-03 Alan Mackenzie <acm@muc.de>
9778
9779 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9780 Also adapt to the new values of element 7 of a parse state.
9781
9782 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9783 parameter `not-in-delimiter'. Handle being inside comment opener.
9784 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9785 character in case we're typing a '*' after a '/'.
9786 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9787 instead by passing the parameter to c-state-pp-to-literal.
9788
9789 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9790 for elt. 7 of a parse state.
9791
9792 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9793
9794 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9795 * international/latin1-disp.el, international/mule-util.el:
9796 * language/cyril-util.el, language/european.el, language/ind-util.el:
9797 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9798 * language/tibetan.el, language/viet-util.el:
9799 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9800
9801 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9802
9803 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9804 (electric-pair-post-self-insert-function): Use it.
9805 (electric-pair-default-inhibit): New function, extracted from
9806 electric-pair-post-self-insert-function.
9807
9808 2013-03-31 Roland Winkler <winkler@gnu.org>
9809
9810 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9811
9812 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9815
9816 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9817
9818 Un-indent after "pass" and "return" statements (Bug#13888)
9819 * progmodes/python.el (python-indent-block-enders): New var.
9820 (python-indent-calculate-indentation): Use it.
9821
9822 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9823
9824 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9825 defun. Defining it as defalias could introduce too eager
9826 byte-compiler optimization. (Bug#14030)
9827
9828 2013-03-30 Chong Yidong <cyd@gnu.org>
9829
9830 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9831
9832 2013-03-30 Leo Liu <sdl.web@gmail.com>
9833
9834 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9835 (kmacro-execute-from-register): Pass the keyboard macro to
9836 kmacro-call-macro or repeating won't work correctly.
9837
9838 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9839
9840 * progmodes/subword.el: Back to using `forward-symbol'.
9841
9842 * subr.el (forward-whitespace, forward-symbol)
9843 (forward-same-syntax): Move from thingatpt.el.
9844
9845 2013-03-29 Leo Liu <sdl.web@gmail.com>
9846
9847 * kmacro.el (kmacro-to-register): New command.
9848 (kmacro-execute-from-register): New function.
9849 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9850
9851 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * mpc.el: Use defvar-local and setq-local.
9854 (mpc--proc-connect): Connection failures are not bugs.
9855 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9856 (mpc-volume-map): Bind to the up-events.
9857
9858 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9859
9860 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9861 instead of `forward-symbol'.
9862
9863 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9866 (edebug--recursive-edit): Use it.
9867 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9868 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9869
9870 2013-03-28 Leo Liu <sdl.web@gmail.com>
9871
9872 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9873
9874 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9875
9876 * facemenu.el (list-colors-callback): New defvar.
9877 (list-colors-redisplay): New function.
9878 (list-colors-display): Install list-colors-redisplay as the
9879 revert-buffer-function. (Bug#14063)
9880
9881 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9884 and suffixes don't overlap (bug#14061).
9885
9886 * case-table.el: Use lexical-binding.
9887 (case-table-get-table): New function.
9888 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9889
9890 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9891
9892 * progmodes/subword.el: Add `superword-mode' to do word motion
9893 over symbol_words (parallels and leverages `subword-mode' which
9894 does word motion inside MixedCaseWords).
9895
9896 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9897
9898 * eshell/em-unix.el: Move su and sudo to...
9899 * eshell/em-tramp.el: ...Eshell tramp module.
9900
9901 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9904 Change return value to be a sexp. Delay `get-buffer' to after
9905 restoring the desktop (bug#13951).
9906
9907 2013-03-26 Leo Liu <sdl.web@gmail.com>
9908
9909 * register.el: Move semantic tag handling back to
9910 cedet/semantic/senator.el. (Bug#14052)
9911
9912 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9915 into the prompt either (bug#13963).
9916
9917 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9920 part of "(error-foo)".
9921
9922 2013-03-24 Juri Linkov <juri@jurta.org>
9923
9924 * replace.el (list-matching-lines-prefix-face): New defcustom.
9925 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9926 `occur-engine' if `face-differs-from-default-p' returns t.
9927 (occur-engine): Add `,' inside backquote construct to evaluate
9928 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9929 Pass `prefix-face' to the functions `occur-context-lines' and
9930 `occur-engine-add-prefix'.
9931 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9932 `prefix-face' and propertize the prefix with `prefix-face'.
9933 (Bug#14017)
9934
9935 2013-03-24 Leo Liu <sdl.web@gmail.com>
9936
9937 * nxml/rng-valid.el (rng-validate-while-idle)
9938 (rng-validate-quick-while-idle): Guard against deleted buffer.
9939 (Bug#13999)
9940
9941 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9942 is the last entry in kill-buffer-hook.
9943
9944 * files.el (kill-buffer-hook): Doc fix.
9945
9946 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9947
9948 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9949 Make it safe-local.
9950
9951 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9952
9953 2013-03-23 Leo Liu <sdl.web@gmail.com>
9954
9955 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9956 Remove.
9957
9958 * nxml/rng-valid.el (rng-validate-mode)
9959 (rng-after-change-function, rng-do-some-validation):
9960 * nxml/rng-maint.el (rng-validate-buffer):
9961 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9962 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9963 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9964 (nxml-extend-after-change-region): Use with-silent-modifications.
9965
9966 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9967 timer-idle-list.
9968
9969 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9970 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9971 timer-idle-list. (Bug#13999)
9972
9973 2013-03-23 Juri Linkov <juri@jurta.org>
9974
9975 * info.el (info-index-match): New face.
9976 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9977 main pattern and add text properties with the new face to matches
9978 in index entries relative to the beginning of the index entry.
9979 (Bug#14015)
9980
9981 2013-03-21 Eric Ludlam <zappo@gnu.org>
9982
9983 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9984 Inhibit read only while inserting objects.
9985
9986 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9987
9988 * progmodes/cfengine.el: Update docs to mention
9989 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9990 symbol motion. Remove "_" from the word syntax.
9991
9992 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9993
9994 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9995 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9996
9997 2013-03-20 Juri Linkov <juri@jurta.org>
9998
9999 * info.el (Info-next-reference-or-link)
10000 (Info-prev-reference-or-link): New functions.
10001 (Info-next-reference, Info-prev-reference): Use them.
10002 (Info-try-follow-nearest-node): Handle footnote navigation.
10003 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10004
10005 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10008 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10009
10010 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10011
10012 Suppress unnecessary non-ASCII chatter during build process.
10013 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10014 (batch-skkdic-convert): Suppress most of the chatter.
10015 It's not needed so much now that machines are faster,
10016 and its non-ASCII component was confusing; see Dmitry Gutov in
10017 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10018
10019 2013-03-20 Leo Liu <sdl.web@gmail.com>
10020
10021 * ido.el (ido-chop): Fix bug#10994.
10022
10023 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10024
10025 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10026 Remove vars.
10027 (whitespace-color-on, whitespace-color-off):
10028 Use `font-lock-fontify-buffer' (Bug#13817).
10029
10030 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10033 remapping in mode-line.
10034 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10035
10036 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10037
10038 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10039 value for `whitespace-line' face (Bug#13875).
10040 (whitespace-font-lock-keywords): Change description.
10041 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10042 the constructed keywords instead.
10043 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10044
10045 2013-03-19 Leo Liu <sdl.web@gmail.com>
10046
10047 * progmodes/compile.el (compilation-display-error): New command.
10048 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10049 C-o. (Bug#13992)
10050
10051 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10052
10053 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10054
10055 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10056
10057 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10058
10059 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10060
10061 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10062
10063 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10064 * net/tramp-gvfs.el (top):
10065 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10066 (tramp-handle-shell-command): Use it.
10067 (tramp-dissect-file-name): Raise an error when hostname is a
10068 method name, and neither method nor user is specified.
10069
10070 * net/trampver.el: Update release number.
10071
10072 2013-03-18 Leo Liu <sdl.web@gmail.com>
10073
10074 Make sure eldoc can be turned off properly.
10075 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10076 eldoc-mode.
10077 (eldoc-display-message-p): Revert last change.
10078 (eldoc-display-message-no-interference-p)
10079 (eldoc-print-current-symbol-info): Tweak.
10080
10081 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10082
10083 * doc-view.el (doc-view-new-window-function): Check the new window
10084 overlay's display property instead the char property of the
10085 buffer's first char. Use `with-selected-window' instead of
10086 `save-window-excursion' with `select-window'.
10087 (doc-view-document->bitmap): Check the current doc-view overlay's
10088 display property instead the char property of the buffer's first char.
10089
10090 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10091
10092 Automate the build of ja-dic.el (Bug#13984).
10093 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10094 from the input, rather than assume that it's been done for us by the
10095 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10096 the current date into a ja-dic.el comment, as that complicates
10097 regression testing.
10098
10099 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * whitespace.el: Fix double evaluation.
10102 (whitespace-space, whitespace-hspace, whitespace-tab)
10103 (whitespace-newline, whitespace-trailing, whitespace-line)
10104 (whitespace-space-before-tab, whitespace-indentation)
10105 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10106 obsolete defvars.
10107 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10108 (whitespace-color-on): Use a single font-lock-add-keywords call.
10109 Fix double-evaluation of face variables.
10110
10111 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10112
10113 * net/tramp-adb.el (tramp-adb-parse-device-names):
10114 Use `start-process' instead of `call-process'. Otherwise, the
10115 function might be blocked under MS Windows. (Bug#13299)
10116
10117 2013-03-17 Leo Liu <sdl.web@gmail.com>
10118
10119 Extend eldoc to display info in the mode-line. (Bug#13978)
10120 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10121 (eldoc-mode-line-string): New variable.
10122 (eldoc-minibuffer-message): New function.
10123 (eldoc-message-function): New variable.
10124 (eldoc-message): Use it.
10125 (eldoc-display-message-p)
10126 (eldoc-display-message-no-interference-p):
10127 Support eldoc-post-insert-mode.
10128
10129 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10130 (eval-expression): Run it.
10131
10132 2013-03-17 Roland Winkler <winkler@gnu.org>
10133
10134 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10135 strings in the list of return values.
10136
10137 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10138
10139 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10140 radix before checking for HMS forms.
10141
10142 2013-03-16 Leo Liu <sdl.web@gmail.com>
10143
10144 * progmodes/scheme.el: Add indentation and font-locking for λ.
10145 (Bug#13975)
10146
10147 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10150 token before point (bug#13942).
10151
10152 2013-03-16 Leo Liu <sdl.web@gmail.com>
10153
10154 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10155
10156 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10157
10158 * startup.el (command-line-normalize-file-name): Fix handling of
10159 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10160 <xfq.free@gmail.com> in
10161 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10162
10163 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10164
10165 Sync with Tramp 2.2.7.
10166
10167 * net/trampver.el: Update release number.
10168
10169 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10170
10171 * doc-view.el: Fix bug#13887.
10172 (doc-view-insert-image): Don't modify overlay associated to
10173 non-live windows, and implement horizontal centering of image in
10174 case it's smaller than the window.
10175 (doc-view-new-window-function): Force redisplay of new windows on
10176 doc-view buffers.
10177
10178 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10179
10180 * saveplace.el (save-place-alist-to-file): Don't sort
10181 `save-place-alist', just pretty-print it (bug#13882).
10182
10183 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10184
10185 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10186 Check whether `default-file-name-coding-system' is bound.
10187 It isn't in XEmacs.
10188
10189 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10190
10191 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10192 backquotes for `obsolete' (bug#13929).
10193
10194 * international/mule.el (find-auto-coding): Include file name in
10195 obsolescence warning (bug#13922).
10196
10197 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10198
10199 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10200 for CFEngine 3-specific indentation.
10201 (cfengine3-indent-line): Use it. Fix up category regex.
10202 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10203
10204 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * type-break.el (type-break-file-name):
10207 * textmodes/remember.el (remember-data-file):
10208 * strokes.el (strokes-file):
10209 * shadowfile.el (shadow-initialize):
10210 * saveplace.el (save-place-file):
10211 * ps-bdf.el (bdf-cache-file):
10212 * progmodes/idlwave.el (idlwave-config-directory):
10213 * net/quickurl.el (quickurl-url-file):
10214 * international/kkc.el (kkc-init-file-name):
10215 * ido.el (ido-save-directory-list-file):
10216 * emulation/viper.el (viper-custom-file-name):
10217 * emulation/vip.el (vip-startup-file):
10218 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10219 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10220
10221 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10222
10223 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10224 * language/thai-word.el: Switch to UTF-8.
10225
10226 See ChangeLog.16 for earlier changes.
10227
10228 ;; Local Variables:
10229 ;; coding: utf-8
10230 ;; End:
10231
10232 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10233
10234 This file is part of GNU Emacs.
10235
10236 GNU Emacs is free software: you can redistribute it and/or modify
10237 it under the terms of the GNU General Public License as published by
10238 the Free Software Foundation, either version 3 of the License, or
10239 (at your option) any later version.
10240
10241 GNU Emacs is distributed in the hope that it will be useful,
10242 but WITHOUT ANY WARRANTY; without even the implied warranty of
10243 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10244 GNU General Public License for more details.
10245
10246 You should have received a copy of the GNU General Public License
10247 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.