]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
6e1e8d17feec27739649157297cd4c3e25fca30b
[gnu-emacs] / lisp / ChangeLog
1 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/python.el (python-mode-map): Remove binding for ":".
4 (python-indent-electric-colon): Remove command.
5 (python-indent-post-self-insert-function): Integrate the previous code
6 of python-indent-electric-colon. Make it conditional on
7 electric-indent-mode.
8 (python-mode): Add ?: to electric-indent-chars.
9 Move python-indent-post-self-insert-function to the end of
10 post-self-insert-hook.
11
12 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * doc-view.el (doc-view-goto-page): Update mode-line.
15
16 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
17
18 2013-11-27 Glenn Morris <rgm@gnu.org>
19
20 * international/charprop.el, international/uni-bidi.el:
21 * international/uni-category.el, international/uni-combining.el:
22 * international/uni-comment.el, international/uni-decimal.el:
23 * international/uni-decomposition.el, international/uni-digit.el:
24 * international/uni-lowercase.el, international/uni-mirrored.el:
25 * international/uni-name.el, international/uni-numeric.el:
26 * international/uni-old-name.el, international/uni-titlecase.el:
27 * international/uni-uppercase.el:
28 Remove generated files from VCS repository.
29
30 2013-11-27 Eli Zaretskii <eliz@gnu.org>
31
32 * filenotify.el (file-notify-add-watch): Don't special-case
33 w32notify when computing the directory to watch.
34
35 2013-11-27 Glenn Morris <rgm@gnu.org>
36
37 Make bootstrap without generated uni-*.el files possible again.
38 * loadup.el: Update command-line-args checking for unidata-gen.
39 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
40 * composite.el, international/characters.el:
41 Handle unicode tables being undefined.
42
43 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
44 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
45 (compile-main): Depend on leim rule.
46 (leim): New rule.
47 * loadup.el: Move leim-list.el to leim/ subdirectory.
48 * startup.el (normal-top-level): No more leim directory.
49 * international/ja-dic-cnv.el (skkdic-convert):
50 Disable version-control and autoloads in output files.
51 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
52 Disable version-control and autoloads in output files.
53 * leim/quail: Move here from ../leim.
54 * leim/quail/hangul.el (hangul-input-method-activate):
55 Add autoload cookie.
56 (generated-autoload-load-name): Set file-local value.
57 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
58 (generated-autoload-load-name): Set file-local value.
59
60 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
61
62 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
63 (eww-add-bookmark): ask confirmation when add to bookmarks
64 (eww-quit): ask confirmation before quitting eww
65
66 2013-11-26 Eli Zaretskii <eliz@gnu.org>
67
68 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
69 reading output from Diff on MS-Windows and MS-DOS.
70
71 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
72
73 * emacs-lisp/helpers.el (string-reverse): New function.
74
75 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
76
77 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
78 names on MS Windows, like "/[::1]:".
79
80 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
81 SWITCHES.
82
83 2013-11-26 Glenn Morris <rgm@gnu.org>
84
85 * progmodes/python.el (python-indent-guess-indent-offset):
86 Avoid corner-case error. (Bug#15975)
87
88 Preload leim-list.el. (Bug#4789)
89 * loadup.el: Load leim-list.el when found.
90 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
91
92 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
93
94 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
95
96 * emacs-lisp/helpers.el (string-join): New function.
97
98 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
99
100 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
101 Mark as obsolete and replace it with a symbol property.
102 (byte-compile-form): Use new 'interactive-only property.
103 * comint.el, files.el, replace.el, simple.el:
104 Apply new 'interactive-only properly.
105
106 2013-11-25 Martin Rudalics <rudalics@gmx.at>
107
108 * window.el (display-buffer-at-bottom): Make sure that
109 split-window-sensibly creates the new window on bottom
110 (Bug#15961).
111
112 2013-11-23 David Kastrup <dak@gnu.org>
113
114 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
115 on the conflict markers when available.
116 (smerge--get-marker): New function.
117 (smerge-end-re, smerge-base-re): Add subgroup.
118
119 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
120
121 * frame.el (handle-focus-in, handle-focus-out): Add missing
122 interactive spec.
123
124 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
125
126 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
127 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
128
129 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
132 (gomoku--last-pos): New var.
133 (gomoku--intangible-chars): New const.
134 (gomoku--intangible): New function.
135 (gomoku-mode): Use it. Derive from special-mode.
136 (gomoku-move-up): Adjust line count.
137 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
138 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
139 Simplify accordingly.
140
141 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
142 Remove blink-cursor code.
143 (blink-cursor-timer-function, blink-cursor-suspend):
144 Don't special-case GUIs.
145 (blink-cursor-mode): Use focus-in/out-hook.
146
147 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
148
149 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
150 work when annotation is invisible (Bug#13886).
151
152 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
153
154 * json.el (json-alist-p): Only return non-nil if the alist has
155 simple keys (Bug#13518).
156
157 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
158
159 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
160 when control-statement is the first statement in a buffer (Bug#15956).
161
162 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
163
164 * imenu.el (imenu-generic-skip-comments-and-strings):
165 New option (Bug#15560).
166 (imenu--generic-function): Use it.
167
168 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
169
170 * minibuffer.el (completion--in-region-1): Scroll the correct
171 window. (Bug#13898)
172
173 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
174
175 * emacs-lisp/helpers.el: Add some string helpers.
176 (string-trim-left): Removes leading whitespace.
177 (string-trim-right): Removes trailing whitespace.
178 (string-trim): Removes leading and trailing whitespace.
179
180 * subr.el (string-suffix-p): New function.
181
182 2013-11-23 Glenn Morris <rgm@gnu.org>
183
184 * progmodes/python.el (python-shell-send-file):
185 Add option to delete file when done. (Bug#15647)
186 (python-shell-send-string, python-shell-send-region): Use it.
187
188 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
189
190 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
191 to set buffer-read-only to t, never to nil. (Bug#15938)
192
193 * textmodes/tex-mode.el (latex-noindent-environments):
194 Add safe-local-variable property. (Bug#15936)
195
196 2013-11-23 Glenn Morris <rgm@gnu.org>
197
198 * textmodes/enriched.el (enriched-mode): Doc fix.
199 * emacs-lisp/authors.el (authors-renamed-files-alist):
200 Add enriched.doc -> enriched.txt.
201
202 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
203
204 2013-11-22 Leo Liu <sdl.web@gmail.com>
205
206 * progmodes/octave.el (inferior-octave-startup): Spit out error
207 message.
208
209 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
210
211 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
212 Improve docstring.
213 Add :version.
214 (ruby-encoding-magic-comment-style): Add :version.
215
216 2013-11-22 Leo Liu <sdl.web@gmail.com>
217
218 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
219 (Bug#15076)
220 (octave-help-mode): Adapt to change to help-mode-finish to use
221 derived-mode-p on 2013-09-17.
222 (inferior-octave-prompt): Also match octave-gui.
223 (octave-kill-process): Don't ask twice. (Bug#10564)
224
225 2013-11-22 Leo Liu <sdl.web@gmail.com>
226
227 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
228 (inferior-octave-startup, inferior-octave-check-process)
229 (inferior-octave-track-window-width-change)
230 (octave-completion-at-point, octave-eldoc-function): Use it.
231 (octave-kill-process): Provide confirmation. (Bug#10564)
232
233 2013-11-21 Leo Liu <sdl.web@gmail.com>
234
235 * progmodes/octave.el (octave-mode, inferior-octave-mode):
236 Fix obsolete variable comment-use-global-state.
237
238 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
239
240 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
241 Add `octave-source-file'.
242 (octave-source-file): New function. (Bug#15935)
243
244 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
245
246 * net/eww.el (eww-local-regex): New variable.
247 (eww): Use it to detect localhost and similar.
248
249 2013-11-21 Leo Liu <sdl.web@gmail.com>
250
251 Add completion for command `ag'.
252 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
253 (pcomplete/ag): New function.
254 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
255
256 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
259 (bug#14646).
260 (make-obsolete): Remove interactive spec.
261
262 2013-11-21 Glenn Morris <rgm@gnu.org>
263
264 * startup.el (command-line-1): Use path-separator with -L.
265
266 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
267
268 * emacs-lisp/package.el (describe-package-1): Add package archive
269 to shown fields.
270
271 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
272
273 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
274 Change default to "# encoding: %s" to differentiate it from the
275 default Ruby encoding comment template.
276
277 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
278
279 * ses.el (ses-mode): Doc fix. (Bug#14748)
280
281 2013-11-20 Leo Liu <sdl.web@gmail.com>
282
283 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
284
285 2013-11-19 Dan Nicolaescu <dann@gnu.org>
286
287 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
288 when rebase or bisect are in progress.
289
290 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
291
292 * filenotify.el (file-notify-add-watch): Doc fix.
293
294 2013-11-19 Leo Liu <sdl.web@gmail.com>
295
296 * obsolete/rcompile.el: Mark obsolete.
297
298 * progmodes/compile.el (compilation-start)
299 (compilation-goto-locus, compilation-find-file):
300 Pass no-display-ok and handle nil value from display-buffer.
301 (Bug#13594)
302
303 * window.el (display-buffer-alist, display-buffer): Document the
304 new parameter no-display-ok.
305
306 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * electric.el (electric-indent-mode-map): Remove.
309 (electric-indent-mode): Change the global-map instead (bug#15915).
310
311 * textmodes/text-mode.el (paragraph-indent-minor-mode):
312 Use add-function.
313
314 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * emacs-lisp/nadvice.el (remove-function): Align with
317 add-function's behavior.
318
319 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
320 (gdb--string-regexp): New constant.
321 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
322 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
323 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
324 submatch 1.
325 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
326 Adjust use accordingly.
327 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
328
329 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
330
331 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
332 interpolation curlies (Bug#15914).
333
334 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
335
336 * calc/calc.el (calc-context-sensitive-enter): New variable.
337 (calc-enter): Use `calc-context-sensitive-enter'.
338
339 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
340
341 * progmodes/cfengine.el: Version bump.
342 (cfengine-cf-promises): New defcustom to locate cf-promises.
343 (cfengine3-vartypes): Add new "data" type.
344 (cfengine3--current-word): New function to get current name-like
345 word or its bounds.
346 (cfengine3--current-function): New function to look up a CFEngine
347 function's definition.
348 (cfengine3-format-function-docstring): New function.
349 (cfengine3-make-syntax-cache): New function.
350 (cfengine3-documentation-function): New function: ElDoc glue.
351 (cfengine3-completion-function): New function: completion glue.
352 (cfengine3-mode): Set `compile-command',
353 `eldoc-documentation-function', and add to
354 `completion-at-point-functions'.
355
356 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
357
358 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
359 `tramp-current-connection'.
360
361 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
362
363 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
364 nil/self/true/false with "end of symbol".
365
366 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
367
368 * subr.el (version-regexp-alist): Fix a typo.
369
370 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
371
372 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
373 "en_US.utf8" and "LC_CTYPE" to "".
374 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
375 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
376
377 2013-11-15 Leo Liu <sdl.web@gmail.com>
378
379 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
380
381 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * progmodes/gud.el (ctl-x-map):
384 Remove C-x SPC binding. (Bug#12342)
385 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
386
387 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
388
389 * subr.el (version-regexp-alist):
390 Recognize hg, svn and darcs versions as snapshot versions.
391
392 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
393 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
394 (ruby--encoding-comment-required-p): Extract from
395 `ruby-mode-set-encoding'.
396 (ruby-mode-set-encoding): Add the ability to always insert an
397 utf-8 encoding comment. Fix and simplify coding comment update
398 logic.
399
400 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
401
402 * net/tramp-gvfs.el (top): Run init code only when
403 `tramp-gvfs-enabled' is not nil.
404 (tramp-gvfs-enabled): Check also :system bus.
405
406 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 Sync with upstream verilog-mode revision 78e66ba.
409 * progmodes/verilog-mode.el (verilog-end-of-defun)
410 (verilog-type-completion, verilog-get-list): Remove unused funcs.
411 (verilog-get-end-of-defun): Remove unused argument.
412 (verilog-comment-depth): Remove unused local `e'.
413 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
414 Don't pass arg to verilog-get-end-of-defun.
415
416 2013-11-14 Glenn Morris <rgm@gnu.org>
417
418 * obsolete/assoc.el (aget): Prefix dynamic variable.
419
420 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
421
422 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * widget.el, hfy-cmap.el: Remove bogus package version number.
425
426 2013-11-13 Glenn Morris <rgm@gnu.org>
427
428 * replace.el (replace-eval-replacement):
429 Try to give more helpful error message. (Bug#15836)
430
431 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
432 (archive-7z-update): Avoid custom type mismatches.
433
434 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
435
436 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
437
438 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
439 address can be empty.
440
441 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
442 Accept nil SWITCHES.
443 (tramp-gvfs-handle-write-region): Implement APPEND.
444
445 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
446
447 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
448 binary "|" operator and closing block args delimiter.
449 Remove FIXME comment referring to Ruby 1.8-only syntax.
450 (ruby-smie--implicit-semi-p): Not after "|" operator.
451 (ruby-smie--closing-pipe-p): New function.
452 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
453 (ruby-smie-rules): Indent after "|".
454
455 2013-11-12 Glenn Morris <rgm@gnu.org>
456
457 * ps-print.el (ps-face-attribute-list):
458 Handle anonymous faces. (Bug#15827)
459
460 2013-11-12 Martin Rudalics <rudalics@gmx.at>
461
462 * window.el (display-buffer-other-frame): Fix doc-string.
463 (Bug#15868)
464
465 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
466
467 * subr.el (force-mode-line-update): Delete, move to buffer.c.
468
469 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
470
471 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
472 (tramp-sh-handle-file-local-copy): Don't write a message when
473 saving temporary files.
474
475 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
476 both directories are remote.
477 (tramp-smb-handle-directory-files): Do not return double entries.
478 Do not expand full file names.
479 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
480 (tramp-smb-handle-write-region): Implement APPEND.
481 (tramp-smb-get-stat-capability): Fix a stupid bug.
482
483 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
486
487 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
488
489 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
490 throwing error over malformed let/let* (bug#15814).
491
492 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * iswitchb.el (iswitchb-mode): Mark obsolete.
495
496 2013-11-11 Glenn Morris <rgm@gnu.org>
497
498 * international/uni-bidi.el, international/uni-category.el:
499 * international/uni-name.el, international/uni-numeric.el:
500 Regenerate for Unicode 6.3.0.
501
502 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
503
504 * net/tramp.el (tramp-methods):
505 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
506 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
507
508 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
509
510 * progmodes/sh-script.el (sh-font-lock-keywords-var):
511 Force highlighting text after Summary keyword in doc face for rpm.
512
513 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
514
515 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
516 available and the word has no wildcards, append one to the grep pattern.
517 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
518 (ispell-complete-word): Call `ispell-lookup-words' with the value
519 independent of `ispell-look-p'.
520
521 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
522
523 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
524 Not after "||".
525 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
526 their parent.
527
528 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
531 (ruby-font-lock-keywords): Use backquote.
532
533 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
534
535 * progmodes/ruby-mode.el (ruby-smie--forward-token)
536 (ruby-smie--backward-token): Only consider full-string matches.
537
538 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
539
540 * faces.el (describe-face): Add distant-foreground.
541
542 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
543
544 * progmodes/ruby-mode.el: Improve encoding comment handling.
545 (ruby-encoding-magic-comment-style): New option.
546 (ruby-custom-encoding-magic-comment-template): New option.
547 (ruby--insert-coding-comment, ruby--detect-encoding):
548 New functions extracted from `ruby-mode-set-encoding'.
549 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
550 to control the style of the auto-inserted encoding comment.
551
552 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
553
554 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
555 Use `smie-backward-sexp' with token argument.
556
557 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
558
559 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
560 Remove instrumentation code.
561
562 2013-11-08 Glenn Morris <rgm@gnu.org>
563
564 * progmodes/autoconf.el (autoconf-mode):
565 Tweak comment-start-skip. (Bug#15822)
566
567 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
568
569 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
570 at bobp (bug#15826).
571 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
572
573 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
574
575 * man.el (Man-start-calling): New macro, extracted from
576 Man-getpage-in-background.
577 (Man-getpage-in-background): Use it.
578 (Man-update-manpage): New command.
579 (Man-mode-map): Bind it.
580
581 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
582
583 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
584 of "and", "or", "&&" and "||".
585 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
586 argument. Prohibit opening curly brace because it could only be a
587 block opener in that position.
588 (ruby-smie--forward-token, ruby-smie--backward-token):
589 Separate "|" from "&" or "*" going after it. That can happen in block
590 arguments.
591 (ruby-smie--indent-to-stmt): New function, seeks the end of
592 previous statement or beginning of buffer.
593 (ruby-smie-rules): Use it.
594 (ruby-smie-rules): Check if there's a ":" before a curly block
595 opener candidate; if there is, it's a hash.
596
597 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
600 (cl--block-wrapper): Fix last accidental change.
601
602 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
603
604 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
605 Instrument, in order to hunt failure on hydra.
606
607 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
608
609 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
610 malformed bindings form (bug#15814).
611
612 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
613
614 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
615 "." compared to " @ ". This incidentally fixes some indentation
616 examples with "do".
617 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
618 (ruby-smie-grammar): New tokens: "and" and "or".
619 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
620 Exclude "and" and "or". Remove "do" in order to work around token
621 priorities.
622 (ruby-smie-rules): Add all infix tokens. Handle the case of
623 beginning-of-buffer.
624
625 2013-11-06 Glenn Morris <rgm@gnu.org>
626
627 * Makefile.in (setwins_almost, setwins_for_subdirs):
628 Avoid accidental matches.
629
630 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
631
632 * menu-bar.el (popup-menu): Use key-binding.
633
634 2013-11-06 Eli Zaretskii <eliz@gnu.org>
635
636 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
637 menus, support also the menus produced by minor modes.
638 (Bug#15817)
639
640 2013-11-06 Leo Liu <sdl.web@gmail.com>
641
642 * thingatpt.el (thing-at-point-looking-at): Add optional arg
643 DISTANCE to bound the search. All uses changed. (Bug#15808)
644
645 2013-11-06 Glenn Morris <rgm@gnu.org>
646
647 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
648 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
649 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
650
651 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * electric.el (electric-indent-just-newline): New command.
654 (electric-indent-mode-map): New keymap.
655 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
656 Re-add :group which weren't redundant.
657
658 * electric.el (electric-indent-local-mode): New minor mode.
659 (electric-indent-functions-without-reindent): New var.
660 (electric-indent-post-self-insert-function): Use it.
661 * emacs-lisp/gv.el (buffer-local-value): Add setter.
662
663 2013-11-05 Eli Zaretskii <eliz@gnu.org>
664
665 * international/quail.el (quail-help): Be more explicit about the
666 meaning of the labels shown on the keys. (Bug#15800)
667
668 * startup.el (normal-top-level): Load the subdirs.el files before
669 setting the locale environment. (Bug#15805)
670
671 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
672
673 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
674 via arguments so as to get the right ones (bug#15418).
675
676 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
677
678 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
679
680 Fix problems found while writing a test suite.
681
682 * net/tramp-compat.el (tramp-compat-load): New defun.
683 * net/tramp.el (tramp-handle-load): Use it.
684
685 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
686 "(numberp ok-if-already-exists)" correctly.
687
688 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
689
690 * international/characters.el (glyphless-char-display-control):
691 Add usage note.
692
693 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
694
695 * progmodes/python.el (python-mode):
696 * progmodes/scheme.el (scheme-mode):
697 * progmodes/prolog.el (prolog-mode):
698 * progmodes/ruby-mode.el (ruby-mode):
699 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
700 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
701
702 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * rect.el (rectangle--highlight-for-redisplay):
705 * emacs-lisp/smie.el (smie--next-indent-change):
706 Use buffer-chars-modified-tick.
707
708 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
709
710 * electric.el (electric-indent-post-self-insert-function):
711 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
712
713 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
714
715 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
716
717 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
718
719 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
720 (bug#15786).
721
722 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
725
726 * progmodes/python.el: Fix up last change.
727 (python-shell--save-temp-file): New function.
728 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
729 `string' comes from the current buffer.
730 (python-shell-send-string-no-output): Remove `msg' arg.
731 (python--use-fake-loc): New var.
732 (python-shell-buffer-substring): Obey it. Try to compensate for the
733 extra coding line added by python-shell--save-temp-file.
734 (python-shell-send-region): Use python-shell--save-temp-file and
735 python-shell-send-file directly. Add `nomain' argument.
736 (python-shell-send-buffer): Use python-shell-send-region.
737 (python-electric-pair-string-delimiter): New function.
738 (python-mode): Use it.
739
740 2013-11-04 Eli Zaretskii <eliz@gnu.org>
741
742 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
743 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
744 environment and decoding all of the default-directory's to here
745 from command-line.
746 (command-line): Decode also argv[0].
747
748 * loadup.el: Error out if default-directory is a multibyte string
749 when we are dumping.
750
751 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
752
753 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
754
755 * emacs-lisp/package.el (package-menu-mode)
756 (package-menu--print-info, package-menu--archive-predicate):
757 Add Archive column to package list.
758
759 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
760
761 Fix problems found while writing a test suite.
762
763 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
764 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
765 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
766 to nil when running original file name handler. Otherwise,
767 there are problems with constructs like "$$FOO".
768
769 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
770 for `localname'.
771
772 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
773
774 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
775
776 * subr.el (version<, version<=, version=):
777 Update docstrings with information for snapshot versions.
778
779 * helpers.el: New library for misc helper functions.
780 (hash-table-keys): New function returning a list of hash keys.
781 (hash-table-values): New function returning a list of hash values.
782
783 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
784
785 * progmodes/ruby-mode.el (ruby-smie--forward-token)
786 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
787
788 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
789
790 * textmodes/fill.el (fill-single-char-nobreak-p): New function
791 checking whether point is after a 1-letter word.
792
793 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
794
795 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
796 Don't infloop when expanding region over `multiline' syntax-type that
797 begins a line (bug#15778).
798
799 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
802 Make it into a proper minor mode.
803 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
804 (rectangle-mark-mode-map): New keymap.
805 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
806
807 2013-11-04 Glenn Morris <rgm@gnu.org>
808
809 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
810
811 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
814 (ruby-smie-rules): Use smie-rule-parent instead.
815
816 * emacs-lisp/smie.el (smie-rule-parent): Always call
817 smie-indent-virtual rather than only for hanging tokens.
818 (smie--next-indent-change): New helper command.
819
820 2013-11-03 Glenn Morris <rgm@gnu.org>
821
822 * Makefile.in (abs_srcdir): Remove.
823 (emacs): Unset EMACSLOADPATH.
824
825 2013-11-02 Glenn Morris <rgm@gnu.org>
826
827 * Makefile.in (EMACS): Use a relative filename.
828 (abs_top_builddir): Remove.
829 (custom-deps, finder-data, autoloads): Use --chdir.
830
831 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
832
833 Use relative filenames in TAGS files.
834 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
835 (lisptagsfiles4, TAGS): Use relative file names.
836 (TAGS-LISP): Remove.
837 (maintainer-clean): No more TAGS-LISP file.
838
839 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
840 (lisptagsfiles4): Use absolute filenames again.
841 (TAGS, TAGS-LISP): Not everything needs to run in one line.
842 Remove all *loaddefs files, not just the first. Remove esh-groups.
843 (maintainer-clean): Delete TAGS, TAGS-LISP.
844
845 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
846
847 * emacs-lisp/package.el (package-version-join):
848 Recognize snapshot versions.
849
850 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
851
852 * subr.el (version-regexp-alist): Add support for snapshot versions.
853
854 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
855
856 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
857 New function, replacement for `smie-rule-parent' for when we want to
858 skip over our direct parent if it's an assignment token..
859 (ruby-smie-rules): Use it.
860
861 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
862
863 * progmodes/ruby-mode.el Use `syntax-propertize-function'
864 unconditionally. Remove now unnecessary forward declarations.
865 Remove XEmacs-specific setup.
866 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
867 (ruby-font-lock-syntactic-keywords)
868 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
869 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
870 (ruby-here-doc-end-syntax): Remove.
871 (ruby-mode): Don't check whether `syntax-propertize-rules' is
872 defined as function.
873
874 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
875
876 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
877
878 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
879
880 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
881 table and abbrev table, `define-derived-mode' does that for us
882 anyway.
883
884 2013-11-01 Glenn Morris <rgm@gnu.org>
885
886 * Makefile.in: Remove manual mh-e dependencies (writing .elc
887 files is atomic for some time, so no parallel compilation issues).
888
889 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
890
891 * faces.el (face-x-resources): Add :distant-foreground.
892 (region): Use :distant-foreground for gtk and ns.
893
894 2013-11-01 Tassilo Horn <tsdh@gnu.org>
895
896 Allow multiple bibliographies when BibLaTeX is used rather than
897 BibTeX.
898 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
899 (reftex-locate-bibliography-files): Us it.
900
901 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
902
903 * image.el (image-type-header-regexps): Fix the 'pbm' part to
904 allow comments in pbm files.
905
906 * term/w32-win.el (dynamic-library-alist): Support newer versions
907 of libjpeg starting with v7: look only for the DLL from the
908 version against which Emacs was built.
909 Support versions of libpng beyond 1.4.x.
910 Support libtiff v4.x.
911
912 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
913
914 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
915 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
916 Add property :safe.
917 (ruby-deep-arglist): Add property :type.
918
919 2013-10-31 Glenn Morris <rgm@gnu.org>
920
921 * Makefile.in (custom-deps, finder-data): No need to setq the target
922 variables, we are in the right directory and the defaults work fine.
923
924 2013-10-30 Glenn Morris <rgm@gnu.org>
925
926 * Makefile.in (autoloads): Do not use abs_lisp.
927
928 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
929 `newline' does not respect `standard-output', so use `princ'.
930
931 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
932
933 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
934 * buff-menu.el (Buffer-menu--unmark): New function.
935 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
936
937 2013-10-30 Glenn Morris <rgm@gnu.org>
938
939 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
940
941 * emacs-lisp/package.el (lm-homepage): Declare.
942
943 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
944 Fix doc typos.
945
946 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
947
948 * Makefile.in (finder-data, autoloads, update-subdirs)
949 (compile-main, compile-clean, compile-always, bootstrap-clean):
950 Check return value of cd.
951 (compile-calc): Remove.
952
953 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
956
957 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
958 (byte-compile-and-folded): New function.
959 (=, <, >, <=, >=): Use it.
960
961 * dos-w32.el (minibuffer-history-case-insensitive-variables)
962 (path-separator, null-device, buffer-file-coding-system)
963 (lpr-headers-switches): Check system-type before modifying them.
964 (find-buffer-file-type-coding-system): Mark obsolete.
965 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
966 find-file-not-found-set-buffer-file-coding-system.
967 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
968 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
969 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
970 (w32-direct-print-region-helper, w32-direct-print-region-function)
971 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
972 * startup.el (normal-top-level-add-subdirs-to-load-path):
973 * ps-print.el (ps-print-region-function):
974 * lpr.el (print-region-function): Use new name.
975
976 * subr.el (custom-declare-variable-early): Remove function.
977 (custom-declare-variable-list): Remove var.
978 (error, user-error): Remove `while' loop.
979 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
980 (user-emacs-directory-warning, locate-user-emacs-file):
981 Move to files.el.
982 * simple.el (read-quoted-char-radix, read-quoted-char):
983 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
984 Move from subr.el.
985 * custom.el (custom-declare-variable-list): Don't process
986 custom-declare-variable-list.
987
988 * progmodes/python.el (python-shell-get-buffer): New function.
989 (python-shell-get-process): Use it.
990 (python-shell-send-string): Always use utf-8 and add a cookie to tell
991 Python which encoding was used. Don't split-string since we only care
992 about the first line. Return the temp-file, if applicable.
993 (python-shell-send-region): Tell compile.el how to turn locations in
994 the temp-file into locations in the source buffer.
995
996 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * subr.el (undefined): Add missing behavior from the C code for
999 unbound keys.
1000
1001 * rect.el: Use lexical-binding. Add new rectangular region support.
1002 (rectangle-mark): New command.
1003 (rectangle--region): New var.
1004 (deactivate-mark-hook): Reset rectangle--region.
1005 (rectangle--extract-region, rectangle--insert-for-yank)
1006 (rectangle--highlight-for-redisplay)
1007 (rectangle--unhighlight-for-redisplay): New functions.
1008 (region-extract-function, redisplay-unhighlight-region-function)
1009 (redisplay-highlight-region-function): Use them to handle
1010 rectangular region.
1011 * simple.el (region-extract-function): New var.
1012 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1013 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1014 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1015 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1016 (redisplay-unhighlight-region-function)
1017 (redisplay-highlight-region-function): New vars.
1018 (redisplay--update-region-highlight): New function.
1019 (pre-redisplay-function): Use it.
1020 (exchange-point-and-mark): Don't deactivate the mark before
1021 reactivate-it anyway.
1022 * comint.el (comint-kill-region): Remove yank-handler argument.
1023 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1024 (delete-char): Remove property, since it's now part of their
1025 default behavior.
1026 (self-insert-iso): Remove property since this command doesn't exist.
1027
1028 * emacs-lisp/package.el (package--download-one-archive)
1029 (describe-package-1): Don't query the user about final newline.
1030
1031 2013-10-29 Daniel Colascione <dancol@dancol.org>
1032
1033 * net/tramp.el (tramp-methods): Document new functionality.
1034 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1035 tramp-hostname-checker if method provides one instead of scanning
1036 argument list for "%h" to decide hostname acceptability.
1037
1038 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1039
1040 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1041 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1042 Handle COPY-CONTENTS. (Bug#15737)
1043
1044 2013-10-28 Daiki Ueno <ueno@gnu.org>
1045
1046 * epa-file.el
1047 (epa-file-cache-passphrase-for-symmetric-encryption):
1048 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1049
1050 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1051
1052 * image.el (defimage):
1053 (image-load-path): Doc fixes.
1054
1055 2013-10-27 Alan Mackenzie <acm@muc.de>
1056
1057 Indent statements in macros following "##" correctly.
1058 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1059 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1060
1061 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1062
1063 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1064
1065 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1068 after `=' is probably a new expression.
1069
1070 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1071
1072 * man.el (man-imenu-title): New option.
1073 (Man-mode-map): Add menu. (Bug#15722)
1074 (Man-mode): Add imenu to menu.
1075
1076 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1077
1078 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1079 specific in what the first arg can be: a non-keyword word,
1080 string/regexp/percent literal opener, opening paren, or unary
1081 operator followed directly by word.
1082
1083 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1084
1085 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1086 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1087 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1088 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1089 Remove vars, they do not apply any more.
1090 (prolog-mode-abbrev-table): Remove redundant declaration.
1091 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1092 (prolog-use-smie): Remove.
1093 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1094 supported by prolog-electric-if-then-else-flag.
1095 (prolog-mode-variables, prolog-menu): Use setq-local.
1096 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1097 Remove binding to `Backspace' since this key doesn't exist anyway.
1098 Remove bindings for electric self-inserting keys.
1099 (prog-mode): Assume it's defined.
1100 (prolog-post-self-insert): New function.
1101 (prolog-mode): Use it.
1102 (prolog-indent-line, prolog-indent-level)
1103 (prolog-find-indent-of-matching-paren)
1104 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1105 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1106 (prolog-goto-next-paren, prolog-in-string-or-comment)
1107 (prolog-tokenize, prolog-inside-mline-comment)
1108 (prolog-find-start-of-mline-comment): Remove functions.
1109 (prolog-find-unmatched-paren, prolog-clause-end)
1110 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1111 (prolog-electric--if-then-else): Rename from
1112 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1113 (prolog-tokenize-searchkey): Remove const.
1114 (prolog-clause-info): Use forward-sexp.
1115 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1116 (prolog-electric-if-then-else): Remove commands.
1117 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1118 for use in post-self-insert-hook.
1119 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1120 for use in post-self-insert-hook.
1121 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1122 for use in post-self-insert-hook.
1123 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1124 adapt it for use in post-self-insert-hook.
1125
1126 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * emacs-lisp/ert.el (ert-run-tests-interactively):
1129 Use `completing-read'. (Bug#9756)
1130
1131 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1132
1133 * simple.el (line-move): Call line-move-1 instead of
1134 line-move-visual when the current window hscroll is zero, but
1135 temporary-goal-column indicates we will need to hscroll as result
1136 of the movement. (Bug#15712)
1137
1138 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1139
1140 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1141 capitalization. Use :visible instead of :active.
1142 Fix `ruby-indent-exp' reference. Add menu items for the generic
1143 commands that are used with SMIE.
1144 (ruby-do-end-to-brace): Insert space after `{'.
1145
1146 2013-10-25 John Anthony <john@jo.hnanthony.com>
1147
1148 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1149
1150 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1151
1152 2013-10-25 Glenn Morris <rgm@gnu.org>
1153
1154 * vc/vc.el (vc-print-log): Don't use a working revision unless
1155 one was explicitly specified. (Bug#15322)
1156
1157 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * subr.el (add-to-list): Preserve return value in compiler-macro
1160 (bug#15692).
1161
1162 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1163
1164 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1165 result. Ask user to retry using '-all' flag. (Bug#15701)
1166
1167 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1168
1169 * emacs-lisp/smie.el: New smie-config system.
1170 (smie-config): New defcustom.
1171 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1172 (smie-config-guess, smie-config-save): New commands.
1173 (smie-config--mode-local, smie-config--buffer-local)
1174 (smie-config--trace, smie-config--modefuns): New vars.
1175 (smie-config--advice, smie-config--mode-hook)
1176 (smie-config--setter, smie-config-local, smie-config--get-trace)
1177 (smie-config--guess-value, smie-config--guess): New functions.
1178 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1179 text properties. Treat "string fence" syntax like string syntax.
1180
1181 * progmodes/sh-script.el (sh-use-smie): Change default.
1182 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1183 (sh-var-value): Simplify by CSE.
1184 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1185 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1186 is used.
1187 (sh-guess-basic-offset): Use cl-incf.
1188 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1189
1190 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1191
1192 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1193 (bug#15699).
1194
1195 2013-10-24 Glenn Morris <rgm@gnu.org>
1196
1197 * Makefile.in (abs_top_srcdir): Remove.
1198 (update-subdirs): Use relative path to update-subdirs.
1199
1200 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1201
1202 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1203 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1204 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1205 Call unmsys--file-name before expand-file-name, not after it.
1206
1207 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1208
1209 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1210 (ert-test-skipped): New error.
1211 (ert-skip, ert-stats-skipped): New defuns.
1212 (ert--skip-unless): New macro.
1213 (ert-test-skipped): New struct.
1214 (ert--run-test-debugger, ert-test-result-type-p)
1215 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1216 (ert--stats-set-test-and-result, ert-char-for-test-result)
1217 (ert-string-for-test-result, ert-run-tests-batch)
1218 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1219 Handle skipped tests. (Bug#9803)
1220
1221 2013-10-24 Glenn Morris <rgm@gnu.org>
1222
1223 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1224
1225 * Makefile.in (abs_top_srcdir): New, set by configure.
1226 (update-subdirs): Correct build-aux location.
1227
1228 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1229
1230 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1231 value, whether we could auto-deduce `backend', or not.
1232
1233 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1234 with parameters" example. Simplify the "is it block or is it
1235 hash" check, but also make it more thorough.
1236
1237 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1238
1239 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1240
1241 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1244 { if it is hanging.
1245
1246 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1247 :before ";".
1248
1249 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1250
1251 * progmodes/compile.el (compilation-directory-matcher)
1252 (compilation-page-delimiter):
1253 Support GNU Make-4.0 directory quoting. (Bug#15678)
1254
1255 2013-10-23 Leo Liu <sdl.web@gmail.com>
1256
1257 * ido.el (ido-tidy): Handle read-only text.
1258
1259 2013-10-23 Glenn Morris <rgm@gnu.org>
1260
1261 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1262 (emacs, compile, compile-always):
1263 Quote entities that might contain whitespace.
1264 (custom-deps, finder-data, autoloads): Use abs_lisp.
1265 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1266 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1267 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1268
1269 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1270
1271 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1272 Use `following-char'.
1273
1274 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1275
1276 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1277 * progmodes/ruby-mode.el (ruby-smie-rules):
1278 Remove corresponding workaround. Fix indentation rule of ";" so it
1279 also applies when ";" is the parent.
1280
1281 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1282
1283 * frame.el (display-screens, display-pixel-height)
1284 (display-pixel-width, display-mm-width, display-backing-store)
1285 (display-save-under, display-planes, display-color-cells)
1286 (display-visual-class, display-monitor-attributes-list):
1287 Mention the optional ‘display’ argument in doc strings.
1288
1289 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1290
1291 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1292 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1293
1294 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1295
1296 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1297 TODO. Add "." after " @ ".
1298 (ruby-smie--at-dot-call): New function. Checks if point at method
1299 call with explicit target.
1300 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1301 to the method name tokens when it precedes them.
1302 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1303 (ruby-smie-rules): Add rule for indentation before and after "."
1304 token.
1305
1306 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * textmodes/remember.el (remember-diary-extract-entries):
1309 Avoid add-to-list.
1310
1311 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1312 an instruction.
1313
1314 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1315
1316 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1317 (ruby-smie--implicit-semi-p): Add new operator chars.
1318
1319 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1320 `smie-down-list'.
1321 (ruby-smie--args-separator-p): Check that there's no newline
1322 between method call and its arguments.
1323
1324 2013-10-20 Alan Mackenzie <acm@muc.de>
1325
1326 Allow comma separated lists after Java "implements".
1327
1328 * progmodes/cc-engine.el (c-backward-over-enum-header):
1329 Parse commas.
1330 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1331 from a "disallowed" list in enum fontification.
1332
1333 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1334
1335 * startup.el (default-frame-background-mode): Remove unused defvar.
1336
1337 * progmodes/verilog-mode.el (verilog-mode): Don't set
1338 comment-indent-function globally.
1339
1340 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1341
1342 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1343 Move Info menu item creation to ns-win.el.
1344
1345 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1346 in menu bar.
1347
1348 * menu-bar.el: Move GNUStep specific menus...
1349
1350 * term/ns-win.el (ns-initialize-window-system): ... to here.
1351
1352 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * simple.el (newline): Only run post-self-insert-hook when
1355 called interactively.
1356
1357 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1358
1359 * icomplete.el (icomplete-with-completion-tables): Add :version.
1360
1361 2013-10-19 Alan Mackenzie <acm@muc.de>
1362
1363 Fix fontification bugs with constructors and const.
1364
1365 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1366 CASE 2) Remove the check for the absence of a suffix construct
1367 after a function declaration with only types (no identifiers) in
1368 the parentheses. Also, accept a function declaration with just a
1369 type inside the parentheses, if this type can be positively
1370 recognised as such, or if a prefix keyword like "explicit" nails
1371 down the construct as a declaration.
1372
1373 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1374
1375 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1376 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1377 the problem whereby selecting a menu item that leads to a
1378 minibuffer prompt moves the cursor out of the minibuffer window,
1379 making it hard to type at the prompt. Suggested by Stefan Monnier
1380 <monnier@iro.umontreal.ca>.
1381
1382 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1383
1384 * menu-bar.el: Don't make Services menu.
1385
1386 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1387
1388 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1389 (ffap-alist): Use ffap-c++-mode for c++-mode.
1390 (ffap-c++-path): New variable.
1391 (ffap-c++-mode): New function.
1392
1393 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1394
1395 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1396
1397 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1398
1399 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1400 introduced on 2013-09-08, which results in an infinite loop
1401 requesting a password.
1402
1403 2013-10-18 Glenn Morris <rgm@gnu.org>
1404
1405 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1406
1407 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1408
1409 Sync with upstream verilog-mode revision 1a6ecec7.
1410 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1411 (verilog-mode-release-date): Remove.
1412 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1413 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1414 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1415 (verilog-auto-tieoff-ignore-regexp)
1416 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1417 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1418 (verilog-signals-with, verilog-dir-cache-preserving)
1419 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1420 Doc fixes.
1421 (verilog-case-fold): New option, to control case folding in
1422 regexp searches, bug597.
1423 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1424 (verilog-string-match-fold, verilog-in-paren-count)
1425 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1426 (verilog-at-close-struct-p): New functions.
1427 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1428 (verilog-forward-sexp, verilog-set-auto-endcomments):
1429 (verilog-leap-to-case-head): Handle "unique0" case.
1430 (verilog-in-constraint-re): New constant.
1431 (verilog-keywords, verilog-type-font-keywords):
1432 Add some SystemVerilog 1800-2012 keywords.
1433 (verilog-label-be): Remove unimplemented argument, bug669.
1434 (verilog-batch-execute-func): When batch expanding clear
1435 create-lockfiles to prevent spurious user locks when a file ends
1436 up not changing.
1437 (verilog-calculate-indent, verilog-calc-1)
1438 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1439 (verilog-do-indent): Fix indentation of nested constraints
1440 and structures.
1441 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1442 (verilog-auto-inst-param): Use verilog-string-match-fold.
1443 (verilog-read-inst-module-matcher):
1444 Fix AUTOINST on gate primitives with #1.
1445 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1446 Reads all user-defined typed variables.
1447 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1448 (verilog-signals-matching-regexp)
1449 (verilog-signals-not-matching-regexp, verilog-auto):
1450 Respect verilog-case-fold.
1451 (verilog-diff-report): Fix line count.
1452 (verilog-auto-assign-modport): Remove unused local `modi'.
1453 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1454 better handle multidimensional arrays.
1455 Fix packed array ports misadding bit index in AUTOINST, bug637.
1456 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1457 to not double-declare existing outputs and inputs, respectively.
1458 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1459 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1460 (verilog-sk-uvm-component): New skeleton.
1461 (verilog-submit-bug-report): Add verilog-case-fold,
1462 remove verilog-mode-release-date.
1463
1464 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1465
1466 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1467 as before.
1468
1469 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1470
1471 * textmodes/remember.el (remember): set buffer-offer-save in
1472 remember buffers (bug#13566).
1473
1474 2013-10-18 Daniel Colascione <dancol@dancol.org>
1475
1476 When evaluating forms in ielm, direct standard output to ielm
1477 buffer. Add new ielm-return-for-effect command. Remove trailing
1478 whitespace throughout.
1479
1480 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1481 (ielm-return-for-effect): New command.
1482 (ielm-send-input): Accept optional `for-effect' parameter.
1483 (ielm-eval-input): Accept optional `for-effect' parameter.
1484 Bind `standard-output' to stream we create using
1485 `ielm-standard-output-impl'. Suppress printing result when
1486 `for-effect'.
1487 (ielm-standard-output-impl): New function.
1488 (inferior-emacs-lisp-mode): Explain new features in documentation.
1489
1490 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1491
1492 Code cleanup.
1493
1494 * net/tramp.el (tramp-debug-message): Do not check for connection
1495 buffer.
1496 (tramp-message): Use "vector" connection property.
1497
1498 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1499 (tramp-equal-remote, tramp-eshell-directory-change)
1500 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1501 (tramp-adb-handle-rename-file)
1502 * net/tramp-cmds.el (tramp-list-remote-buffers)
1503 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1504 * net/tramp-compat.el (tramp-compat-process-running-p)
1505 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1506 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1507 (tramp-gvfs-handle-rename-file)
1508 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1509 (tramp-set-file-uid-gid)
1510 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1511 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1512 of `file-remote-p'.
1513
1514 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1515 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1516 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1517 (tramp-gw-open-network-stream): Suppress unrelated traces.
1518
1519 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1520 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1521 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1522 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1523 connection property.
1524
1525 * net/tramp-cache.el (top): Suppress traces when reading
1526 persistency file.
1527
1528 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1529 Refactor common code. Improve debug message.
1530 (tramp-maybe-open-connection)
1531 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1532 connection buffer too early.
1533
1534 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1535 from `tramp-smb-actions-with-acl'.
1536 (tramp-smb-actions-set-acl): New defconst.
1537 (tramp-smb-handle-copy-directory)
1538 (tramp-smb-action-get-acl): New defun, renamed from
1539 `tramp-smb-action-with-acl'.
1540 (tramp-smb-action-set-acl): New defun.
1541 (tramp-smb-handle-set-file-acl): Rewrite.
1542
1543 2013-10-17 Glenn Morris <rgm@gnu.org>
1544
1545 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1546
1547 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * skeleton.el (skeleton-newline): Remove.
1550 (skeleton-internal-1): Use (insert "\n") instead.
1551
1552 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1553 let-bindings.
1554
1555 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1556 forward-sexp-function while we redo its job (bug#15613).
1557
1558 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1559
1560 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1561 represented by lists.
1562
1563 2013-10-16 Glenn Morris <rgm@gnu.org>
1564
1565 * tmm.el (tmm--history): New dynamic variable.
1566 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1567
1568 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1569
1570 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1571 (tramp-smb-errors): Add error messages.
1572 (tramp-smb-actions-with-acl): New defconst.
1573 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1574 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1575 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1576 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1577 (tramp-smb-get-stat-capability): Fix tests.
1578
1579 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1580
1581 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1582 (bug#15580).
1583
1584 2013-10-16 Glenn Morris <rgm@gnu.org>
1585
1586 * ansi-color.el (ansi-color-drop-regexp):
1587 Add 1J, 1K, 2K. (Bug#15617)
1588
1589 * files.el (hack-local-variables--warned-lexical): New.
1590 (hack-local-variables):
1591 Warn about misplaced lexical-binding. (Bug#15616)
1592
1593 * net/eww.el (eww-render): Always set eww-current-url,
1594 and update header line. (Bug#15622)
1595 (eww-display-html): ... Rather than just doing it here.
1596
1597 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1598
1599 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1600 menu navigations commands.
1601
1602 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1603
1604 * progmodes/subword.el (subword-capitalize): Be careful when
1605 the search for [[:alpha:]] fails (bug#15580).
1606
1607 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1608
1609 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1610 to commands that scroll the menu.
1611
1612 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1613
1614 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1615 Handle methods ending with `?' and `!'.
1616
1617 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1618
1619 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1620 `japanese-cp932' to `cp932' to fix the problem where saving a
1621 source file written in Shift_JIS twice would end up having
1622 `coding: japanese-cp932' which Ruby could not recognize.
1623 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1624 in `ruby-encoding-map'.
1625 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1626 doesn't need to be explicitly declared in magic comment.
1627 (ruby-encoding-map): Add type declaration for better customize UI.
1628
1629 2013-10-13 Glenn Morris <rgm@gnu.org>
1630
1631 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1632 Occur buffers are read-only. http://bugs.debian.org/720775
1633
1634 * emacs-lisp/authors.el (authors-fixed-entries):
1635 Comment out old alpha stuff.
1636
1637 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1638
1639 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1640 to `after-save-hook' instead of `before-save-hook'.
1641 (ruby-mode-set-encoding): Use the value of coding system used to
1642 write the file. Call `basic-save-buffer-1' after modifying the
1643 buffer.
1644
1645 2013-10-13 Alan Mackenzie <acm@muc.de>
1646
1647 Fix indentation/fontification of Java enum with
1648 "implements"/generic.
1649
1650 * progmodes/cc-engine.el (c-backward-over-enum-header):
1651 Extracted from the three other places and enhanced to handle generics.
1652 (c-inside-bracelist-p): Uses new function above.
1653 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1654 function above.
1655 (c-font-lock-enum-tail): Uses new function above.
1656
1657 2013-10-13 Kenichi Handa <handa@gnu.org>
1658
1659 * international/mule-cmds.el (select-safe-coding-system): Remove a
1660 superfluous condition in chekcing whether a coding system is safe
1661 or not.
1662
1663 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1664
1665 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1666
1667 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1668
1669 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1670
1671 2013-10-13 Glenn Morris <rgm@gnu.org>
1672
1673 * menu-bar.el (menu-bar-update-buffers):
1674 Unify Buffers menu prompt string. (Bug#15576)
1675
1676 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1677
1678 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1679 Add some entries.
1680 (authors-fixed-entries): Use accented form of name.
1681
1682 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1685 method calls (bug#15594).
1686 (ruby-smie--args-separator-p): New function.
1687 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1688 recognize paren-free method calls.
1689
1690 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1691 internals of universal-argument.
1692
1693 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1694
1695 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1696 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1697 dropped menu on second mouse click on the menu bar.
1698
1699 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1700
1701 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1702 (explicit-shell-file-name): Declare.
1703 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1704 (sh-completion-at-point-function): New function.
1705 (sh-mode): Use it.
1706 (sh-smie--keyword-p): Remove unused argument.
1707 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1708 vars.
1709 (sh-set-shell): Always setup SMIE, even if we use the
1710 old indentation code.
1711
1712 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1715 cases of ? and =.
1716 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1717 predicate would return nil are almost non-existent.
1718 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1719
1720 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1721 cache also after commands that modify the buffer but don't move
1722 point.
1723
1724 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * env.el (substitute-env-in-file-name): New function.
1727 (substitute-env-vars): Extend the meaning of the optional arg.
1728
1729 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1730
1731 * term/w32-win.el (dynamic-library-alist): Define separate lists
1732 of GIF DLLs for versions before and after 5.0.0 of giflib.
1733 (Bug#15531)
1734
1735 2013-10-10 João Távora <joaotavora@gmail.com>
1736
1737 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1738 not locked, use last revision and current source as
1739 defaults. (Bug#15569)
1740
1741 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1742
1743 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1744 menu-bar is hidden.
1745
1746 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1747
1748 * window.el (pop-to-buffer-same-window): Fix doc-string.
1749 (Bug#15492)
1750
1751 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1754
1755 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1756
1757 * calendar/icalendar.el (icalendar-import-file):
1758 Fix interactive spec. (Bug#15482)
1759
1760 2013-10-10 Glenn Morris <rgm@gnu.org>
1761
1762 * desktop.el (desktop-save): Default to saving in .emacs.d,
1763 since PWD is no longer in desktop-path by default. (Bug#15319)
1764
1765 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1766 now that text mode has a menu with the same entry.
1767 (menu-bar-text-mode-auto-fill): Remove now unused func.
1768 * textmodes/text-mode.el (text-mode-map):
1769 Use auto-fill help text from menu-bar.el.
1770
1771 2013-10-10 John Anthony <john@jo.hnanthony.com>
1772
1773 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1774
1775 2013-10-09 Juri Linkov <juri@jurta.org>
1776
1777 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1778 instead of this-command-keys. Add universal-argument-more and
1779 universal-argument-minus to the list of prefix commands. (Bug#15568)
1780
1781 2013-10-09 Glenn Morris <rgm@gnu.org>
1782
1783 * vc/vc-svn.el (vc-svn-create-repo):
1784 Expand paths in file://... url. (Bug#15446)
1785
1786 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1787 Add some entries.
1788 (authors): Remove unused local variables.
1789
1790 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * profiler.el: Create a more coherent calltree from partial backtraces.
1793 (profiler-format): Hide the tail with `invisible' so that C-s can still
1794 find the hidden elements.
1795 (profiler-calltree-depth): Don't recurse so enthusiastically.
1796 (profiler-function-equal): New hash-table-test.
1797 (profiler-calltree-build-unified): New function.
1798 (profiler-calltree-build): Use it.
1799 (profiler-report-make-name-part): Indent the calltree less.
1800 (profiler-report-mode): Add visibility specs for profiler-format.
1801 (profiler-report-expand-entry, profiler-report-toggle-entry):
1802 Expand the whole subtree when provided with a prefix arg.
1803
1804 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1805
1806 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1807 iuwu-mod token.
1808 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1809 hanging iuwu-mod token.
1810 (ruby-smie--forward-token): Do not include a dot after a token in
1811 that token.
1812 (ruby-smie--backward-token): Likewise.
1813
1814 2013-10-08 Juri Linkov <juri@jurta.org>
1815
1816 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1817 to isearch-other-control-char.
1818 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1819 and isearch-post-command-hook to post-command-hook.
1820 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1821 and isearch-post-command-hook from post-command-hook.
1822 (isearch-unread-key-sequence)
1823 (isearch-reread-key-sequence-naturally)
1824 (isearch-lookup-scroll-key, isearch-other-control-char)
1825 (isearch-other-meta-char): Remove functions.
1826 (isearch-pre-command-hook, isearch-post-command-hook):
1827 New functions based on isearch-other-meta-char rewritten
1828 relying on the new behavior of overriding-terminal-local-map
1829 that does not replace the local keymaps any more. (Bug#15200)
1830
1831 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1832
1833 Support menus on text-mode terminals.
1834 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1835 functionality.
1836
1837 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1838
1839 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1840 Move here from mouse.el.
1841 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1842 and arrow keys.
1843 (tty-menu-navigation-map): New map for TTY menu navigation.
1844
1845 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1846
1847 * frame.el (display-mouse-p): Report text-mode mouse as available
1848 on w32.
1849 (display-popup-menus-p): Report availability if mouse is
1850 available; don't condition on window-system.
1851
1852 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1853 (tty-menu-selected-face): New faces.
1854
1855 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1858 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1859 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1860 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1861 New constants.
1862 (lisp-mode-variables): New `elisp' argument.
1863 (emacs-lisp-mode): Use it.
1864 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1865 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1866
1867 * indent.el: Use lexical-binding.
1868 (indent-region): Add progress reporter.
1869 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1870 last step.
1871 (indent--next-tab-stop): New function to implement this behavior.
1872 (tab-to-tab-stop, move-to-tab-stop): Use it.
1873
1874 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1875
1876 * indent.el (indent-rigidly--current-indentation): New function.
1877 (indent-rigidly-map): New var.
1878 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1879
1880 2013-10-08 Bastien Guerry <bzg@gnu.org>
1881
1882 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1883
1884 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1885
1886 * progmodes/perl-mode.el: Use lexical-binding.
1887 Remove redundant :group args.
1888 (perl-nochange): Change default to be closer to other major modes's
1889 standard behavior.
1890 (perl-indent-line): Don't consider text on current line as a
1891 valid beginning of function from which to indent.
1892
1893 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1894 with more than one argument (bug#15538).
1895
1896 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1897
1898 * vc/pcvs.el: Use lexical-binding.
1899 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1900 environment of `eval'.
1901 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1902 than a list of expressions. Adjust callers.
1903 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1904
1905 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1906
1907 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1908 case of the dot in a chained method call being on the following line.
1909
1910 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 * electric.el (electric-indent-inhibit): New var.
1913 (electric-indent-post-self-insert-function): Use it.
1914 * progmodes/python.el (python-mode): Set it.
1915
1916 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1917 open braces.
1918
1919 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1920
1921 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1922 (css-mode): Use electric-indent-chars.
1923
1924 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1925 (font-lock-beg, font-lock-end): Move before first use.
1926 (nxml-mode): Use syntax-propertize-function.
1927 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1928 (nxml-extend-after-change-region): Remove.
1929 * nxml/xmltok.el: Use lexical-binding.
1930 (xmltok-save): Use `declare'.
1931 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1932 * nxml/nxml-util.el: Use lexical-binding.
1933 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1934 Use `declare'.
1935 * nxml/nxml-ns.el: Use lexical-binding.
1936 (nxml-ns-save): Use `declare'.
1937 (nxml-ns-prefixes-for): Avoid add-to-list.
1938 * nxml/rng-match.el: Use lexical-binding.
1939 (rng--ipattern): Use cl-defstruct.
1940 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1941 (rng-cons-group-after, rng-subst-group-after)
1942 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1943 Use closures instead of `(lambda...).
1944
1945 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1946
1947 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1948 of BEG and END.
1949
1950 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1951 Use `tramp-handle-insert-file-contents'.
1952 (tramp-gvfs-handle-insert-file-contents): Remove function.
1953
1954 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1955 Use `save-restriction' in order to keep markers.
1956
1957 * net/trampver.el: Update release number.
1958
1959 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * progmodes/compile.el (compilation-parse-errors):
1962 Use compilation--put-prop.
1963 (compilation--ensure-parse): Check compilation-multiline.
1964
1965 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1966
1967 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1968 lexical-binding.
1969
1970 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1971
1972 * progmodes/ruby-mode.el: Fix recently added tests.
1973 (ruby-smie-grammar): Add - and +.
1974 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1975 (ruby-smie--backward-id): New functions.
1976 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1977 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1978 any more.
1979
1980 2013-10-07 Leo Liu <sdl.web@gmail.com>
1981
1982 * register.el (register-preview-delay)
1983 (register-preview-functions): New variables.
1984 (register-read-with-preview, register-preview)
1985 (register-describe-oneline): New functions.
1986 (point-to-register, window-configuration-to-register)
1987 (frame-configuration-to-register, jump-to-register)
1988 (number-to-register, view-register, insert-register)
1989 (copy-to-register, append-to-register, prepend-to-register)
1990 (copy-rectangle-to-register): Use register-read-with-preview to
1991 read register. (Bug#15525)
1992
1993 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1994
1995 * net/network-stream.el (network-stream-open-starttls): Don't add
1996 --insecure if it's already present, because that gnutls-cli
1997 rejects getting that parameter twice.
1998
1999 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2000
2001 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2002 keyword, too.
2003
2004 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2005
2006 * newcomment.el (comment-use-global-state): Change default value
2007 to t, mark obsolete (Bug#15251).
2008 (comment-beginning): In addition to `comment-to-syntax', check the
2009 value of `comment-use-global-state'.
2010
2011 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2014 (ruby-comment-column): Follow the global default, by default.
2015 (ruby-smie-grammar): Add assignment syntax.
2016 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2017 open-paren, a comma, or a \.
2018 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2019 and line continuations.
2020 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2021 followed by implicit semi-colons. Add rule for string concatenation
2022 and for indentation at BOB.
2023 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2024
2025 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2026 calling next-sexp, since next-token may have skipped chars which
2027 next-sexp doesn't know should be skipped!
2028
2029 2013-10-05 Leo Liu <sdl.web@gmail.com>
2030
2031 * progmodes/octave.el (octave-send-region):
2032 Call compilation-forget-errors.
2033
2034 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2035
2036 * vc/vc-svn.el (vc-svn-find-admin-dir):
2037 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2038 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2039 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2040 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2041
2042 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2045
2046 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2047
2048 * subr.el (read-passwd): Hide chars even when called within a context
2049 where after-change-functions is disabled (bug#15501).
2050 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2051 until we removed ourself from overriding-terminal-local-map.
2052
2053 2013-10-04 Leo Liu <sdl.web@gmail.com>
2054
2055 * progmodes/octave.el (inferior-octave-mode):
2056 Call compilation-forget-errors.
2057
2058 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2059
2060 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2061
2062 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2063
2064 * net/secrets.el (secrets-create-collection): Add optional
2065 argument ALIAS. Use proper Label keyword. Append ALIAS as
2066 dbus-call-method argument. (Bug#15516)
2067
2068 2013-10-04 Leo Liu <sdl.web@gmail.com>
2069
2070 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2071 (inferior-octave-compilation-font-lock-keywords): New variables.
2072 (compilation-error-regexp-alist)
2073 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2074 (inferior-octave-mode): Use compilation-shell-minor-mode.
2075
2076 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2077
2078 * minibuffer.el (completion--replace): Be careful that `end' might be
2079 a marker.
2080
2081 2013-10-03 Daiki Ueno <ueno@gnu.org>
2082
2083 Add support for package signature checking.
2084 * emacs-lisp/package.el (url-http-file-exists-p)
2085 (epg-make-context, epg-context-set-home-directory)
2086 (epg-verify-string, epg-context-result-for)
2087 (epg-signature-status, epg-signature-to-string)
2088 (epg-check-configuration, epg-configuration)
2089 (epg-import-keys-from-file): Declare.
2090 (package-check-signature): New user option.
2091 (package-unsigned-archives): New user option.
2092 (package-desc): Add `signed' field.
2093 (package-load-descriptor): Set `signed' field if .signed file exists.
2094 (package--archive-file-exists-p): New function.
2095 (package--check-signature): New function.
2096 (package-install-from-archive): Check package signature.
2097 (package--download-one-archive): Check archive signature.
2098 (package-delete): Remove .signed file.
2099 (package-import-keyring): New command.
2100 (package-refresh-contents): Import default keyring.
2101 (package-desc-status): Add "unsigned" status.
2102 (describe-package-1, package-menu--print-info)
2103 (package-menu-mark-delete, package-menu--find-upgrades)
2104 (package-menu--status-predicate): Support "unsigned" status.
2105
2106 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2109 the new compilation scheme using the new byte-codes.
2110
2111 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2112 (byte-pophandler): New byte codes.
2113 (byte-goto-ops): Adjust accordingly.
2114 (byte-compile--use-old-handlers): New var.
2115 (byte-compile-catch): Use new byte codes depending on
2116 byte-compile--use-old-handlers.
2117 (byte-compile-condition-case--old): Rename from
2118 byte-compile-condition-case.
2119 (byte-compile-condition-case--new): New function.
2120 (byte-compile-condition-case): New function that dispatches depending
2121 on byte-compile--use-old-handlers.
2122 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2123 when we can.
2124
2125 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2126 Optimize under `condition-case' and `catch' if
2127 byte-compile--use-old-handlers is nil.
2128 (disassemble-offset): Handle new bytecodes.
2129
2130 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * subr.el (error): Use `declare'.
2133 (decode-char, encode-char): Use advertised-calling-convention instead
2134 of the docstring to discourage use of the `restriction' arg.
2135
2136 2013-10-03 Daiki Ueno <ueno@gnu.org>
2137
2138 * epg.el (epg-verify-file): Add a comment saying that it does not
2139 notify verification error as a return value nor a signal.
2140 (epg-verify-string): Ditto.
2141
2142 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2143
2144 * progmodes/compile.el (compilation-start): Try globbing the arg to
2145 `cd' (bug#15417).
2146
2147 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2148
2149 Sync with Tramp 2.2.8.
2150
2151 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2152 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2153 * net/trampver.el: Update release number.
2154
2155 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2156
2157 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2158 and default-process-coding-system for darwin only.
2159
2160 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2161
2162 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2163
2164 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2165
2166 * vc/vc-git.el (vc-git-grep): Disable pager.
2167
2168 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2169
2170 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2171 Use :url instead of :homepage, as per
2172 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2173
2174 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2175 non-nil, use `syntax-ppss' (Bug#15251).
2176
2177 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2178
2179 * progmodes/octave.el (inferior-octave-startup-file):
2180 Prefer ~/.emacs.d/init_octave.m.
2181
2182 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2183
2184 * emacs-lisp/package.el (package-desc-from-define):
2185 Accept additional arguments as plist, convert them to an alist and store
2186 them in the `extras' slot.
2187 (package-generate-description-file): Convert extras alist back to
2188 plist and append to the `define-package' form arguments.
2189 (package--alist-to-plist): New function.
2190 (package--ac-desc): Add `extras' slot.
2191 (package--add-to-archive-contents): Check if the archive-contents
2192 vector is long enough, and if it is, pass its `extras' slot value
2193 to `package-desc-create'.
2194 (package-buffer-info): Call `lm-homepage', pass the returned value
2195 to `package-desc-from-define'.
2196 (describe-package-1): Render the homepage button (Bug#13291).
2197
2198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2199 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2200
2201 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2202
2203 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2204 and default-process-coding-system to utf-8-unix (Bug#15402).
2205
2206 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2207
2208 * subr.el (looking-back): Do not recommend using looking-back.
2209
2210 2013-09-28 Alan Mackenzie <acm@muc.de>
2211
2212 Fix indentation/fontification of Java enum with "implements".
2213
2214 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2215 regexp which matches "implements", etc., in Java.
2216 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2217 specifier clauses coming after "enum".
2218 * progmodes/cc-fonts.el (c-font-lock-declarations)
2219 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2220 after "enum".
2221
2222 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2223
2224 * faces.el (region): Change ns_selection_color to
2225 ns_selection_fg_color, add ns_selection_bg_color.
2226
2227 2013-09-28 Leo Liu <sdl.web@gmail.com>
2228
2229 * progmodes/octave.el (inferior-octave-completion-table)
2230 (inferior-octave-completion-at-point): Minor tweaks.
2231
2232 * textmodes/ispell.el (ispell-lookup-words): Rename from
2233 lookup-words. (Bug#15460)
2234 (lookup-words): Obsolete.
2235 (ispell-complete-word, ispell-command-loop): All uses changed.
2236
2237 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2238
2239 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2240 (octave-mode-menu): Add octave-send-buffer.
2241 (octave-send-buffer): New function.
2242
2243 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2244
2245 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2246 octave-lookfor.
2247 (octave-mode-menu): Add octave-lookfor.
2248 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2249 octave-lookfor.
2250 (octave-lookfor): New function.
2251
2252 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * emacs-lisp/cl-macs.el:
2255 (cl--loop-destr-temps): Remove.
2256 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2257 its convention.
2258 (cl--loop-set-iterator-function): New function.
2259 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2260 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2261 Bind `it' with `let' instead of substituting it with `cl-subst'.
2262 (cl--unused-var-p): New function.
2263 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2264 Eliminate some unused variable warnings (bug#15326).
2265
2266 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2267
2268 * doc-view.el (doc-view-scale-reset): Rename from
2269 `doc-view-reset-zoom-level'.
2270 (doc-view-scale-adjust): New command.
2271 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2272 `doc-view-scale-adjust'.
2273
2274 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2275
2276 * doc-view.el (doc-view-reset-zoom-level): New command.
2277 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2278 zoom commands (bug#15466).
2279
2280 2013-09-26 Kenichi Handa <handa@gnu.org>
2281
2282 * international/quail.el (quail-help): Make it not a command.
2283
2284 2013-09-26 Leo Liu <sdl.web@gmail.com>
2285
2286 * minibuffer.el (completion-all-sorted-completions): Make args
2287 optional as they are.
2288
2289 2013-09-25 Daniel Colascione <dancol@dancol.org>
2290
2291 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2292 specs are and that they're not evaluated.
2293
2294 2013-09-24 Sam Steingold <sds@gnu.org>
2295
2296 * midnight.el (clean-buffer-list-kill-regexps)
2297 (clean-buffer-list-kill-buffer-names): Update for the new Man
2298 buffer naming which includes the object name.
2299
2300 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2303 (eshell-parse-command, eshell-parse-pipeline): Use it since
2304 eshell-separate-commands requires a dynamic scoped var.
2305 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2306
2307 2013-09-23 Leo Liu <sdl.web@gmail.com>
2308
2309 * autoinsert.el (auto-insert-alist): Make the value of
2310 lexical-binding match its file setting.
2311
2312 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2313
2314 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2315
2316 * autoarg.el (autoarg-kp-digit-argument):
2317 * electric.el (Electric-command-loop):
2318 * kmacro.el (kmacro-step-edit-insert):
2319 Do not set universal-argument-num-events.
2320
2321 2013-09-22 Leo Liu <sdl.web@gmail.com>
2322
2323 * files.el (interpreter-mode-alist): Add octave.
2324
2325 2013-09-21 Alan Mackenzie <acm@muc.de>
2326
2327 C++: fontify identifier in declaration following "public:" correctly.
2328 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2329 to match "public", etc.
2330 (c-decl-prefix-re): Add ":" into the C++ value.
2331 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2332 bit. Add a check for a ":" preceded by "public", etc.
2333
2334 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2335
2336 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2337 recognized by GDB 7.5 and later.
2338
2339 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2340
2341 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2342
2343 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * subr.el (internal--call-interactively): New const.
2346 (called-interactively-p): Use it (bug#3984).
2347
2348 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2349
2350 * vc/pcvs.el (cvs-mode-ignore):
2351 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2352 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2353
2354 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2357 (eshell-ls-orig-insert-directory): Remove.
2358 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2359 (eshell-ls-use-in-dired): Use advice-add/remove.
2360 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2361 Add `orig-fun' arg for use in :around advice.
2362 Make it check (redundantly) eshell-ls-use-in-dired.
2363
2364 2013-09-19 Glenn Morris <rgm@gnu.org>
2365
2366 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2367
2368 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2369
2370 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2371
2372 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2373
2374 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2375 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2376 (tramp-get-remote-python): New defuns.
2377 (tramp-get-remote-uid-with-perl)
2378 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2379 contributed by yary <not.com@gmail.com> (tiny change).
2380 (tramp-get-remote-uid-with-python)
2381 (tramp-get-remote-gid-with-python): New defuns. Python code
2382 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2383 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2384
2385 2013-09-19 Glenn Morris <rgm@gnu.org>
2386
2387 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2388
2389 * eshell/em-unix.el (eshell-remove-entries):
2390 Rename argument to avoid name-clash with global `top-level'.
2391
2392 * eshell/esh-proc.el (eshell-kill-process-function):
2393 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2394 (eshell-reset-after-proc): Remove unused arg `proc'.
2395
2396 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2397 (directory-files-and-attributes): Mark unused arg.
2398
2399 * eshell/em-unix.el (eshell-remove-entries):
2400 Remove unused arg `path'. Update callers.
2401
2402 * eshell/em-hist.el (eshell-hist-parse-arguments):
2403 Remove unused arg `silent'. Update callers.
2404
2405 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2406 Fix (f)boundp mix-up.
2407
2408 * eshell/em-smart.el (eshell-smart-scroll-window)
2409 (eshell-disable-after-change):
2410 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2411
2412 2013-09-18 Alan Mackenzie <acm@muc.de>
2413
2414 Fix fontification of type when followed by "const".
2415 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2416 "known" types from fontification.
2417
2418 2013-09-18 Glenn Morris <rgm@gnu.org>
2419
2420 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2421 (chart-face-list): Drop Emacsen without display-color-p.
2422
2423 * net/eww.el (libxml-parse-html-region): Declare.
2424 (eww-display-html): Explicit error if no libxml2 support.
2425
2426 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2427
2428 * image.el (image-type-from-buffer, image-multi-frame-p):
2429 Remove --without-x warning/error.
2430
2431 * mouse.el (mouse-yank-primary):
2432 * term.el (term-mouse-paste):
2433 Reorder to silence --without-x compilation.
2434
2435 * mpc.el (doc-view-mode): Silence --without-x compilation.
2436
2437 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2438 Silence --without-x compilation.
2439
2440 * progmodes/gud.el (gud-find-file, gud-mode):
2441 Silence --without-x compilation.
2442 (tooltip-mode): Declare.
2443
2444 * wdired.el (dired-backup-overwrite): Remove declaration.
2445 (wdired-mode-map): Add doc string.
2446
2447 * custom.el (x-get-resource): Declare.
2448
2449 * eshell/em-glob.el (ange-cache):
2450 * eshell/em-unix.el (ange-cache): Declare.
2451
2452 * faces.el (x-display-list, x-open-connection, x-get-resource):
2453 Declare.
2454
2455 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2456 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2457 Declare.
2458
2459 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2460
2461 * net/gnutls.el (gnutls-log-level): Declare.
2462
2463 * net/shr.el (image-size, image-animate): Declare.
2464
2465 * simple.el (font-info): Declare.
2466
2467 * subr.el (x-popup-dialog): Declare.
2468
2469 * term/common-win.el (x-select-enable-primary)
2470 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2471 Declare.
2472
2473 * term/ns-win.el (x-handle-args): Declare.
2474
2475 * term/x-win.el (x-select-enable-clipboard): Declare.
2476
2477 * term/w32-win.el (create-default-fontset): Declare.
2478
2479 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2480 Declare.
2481
2482 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2483 (fit-frame-to-buffer): Explicit error if --without-x.
2484 (mouse-autoselect-window-select): Silence compiler.
2485
2486 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2487
2488 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2489 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2490 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2491 * eshell/esh-util.el (eshell-sublist):
2492 Remove unused local variables.
2493
2494 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2495
2496 * textmodes/two-column.el: Make 2C-split work for --without-x.
2497 (scroll-bar-columns): Autoload.
2498 (top-level): Require fringe when compiling.
2499
2500 2013-09-18 Leo Liu <sdl.web@gmail.com>
2501
2502 * subr.el (add-hook): Robustify to handle closure as well.
2503
2504 2013-09-17 Glenn Morris <rgm@gnu.org>
2505
2506 * simple.el (messages-buffer-mode-map): Unbind "g".
2507
2508 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2509
2510 * help-mode.el (help-mode-finish): Use derived-mode-p.
2511 Remove obsolete highlighting.
2512
2513 * play/life.el (life-mode): Use define-derived-mode. Derive from
2514 special-mode.
2515 (life): Let-bind inhibit-read-only.
2516 (life-setup): Avoid `setq'. Use `life-mode'.
2517
2518 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2519 which should not be needed any more.
2520 (package-menu-refresh, package-menu-describe-package): Use user-error.
2521
2522 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2523 (eshell-post-rewrite-command-hook): Make obsolete.
2524 (eshell-parse-command): Simplify.
2525 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2526 (eshell--cmd): Declare.
2527 (eshell-parse-pipeline): Remove unused var `final-p'.
2528 Pass a dynvar to eshell-post-rewrite-command-hook.
2529 Implement the new eshell-post-rewrite-command-function.
2530 (eshell-invoke-directly): Remove unused arg `input'.
2531 * eshell/esh-io.el (eshell-io-initialize):
2532 Use eshell-post-rewrite-command-function (bug#15399).
2533 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2534 adjust to new calling convention.
2535 (eshell-create-handles): Rename args to avoid clashing with dynvar
2536 `standard-output'.
2537
2538 2013-09-17 Glenn Morris <rgm@gnu.org>
2539
2540 * simple.el (messages-buffer-mode): New major mode.
2541 (messages-buffer): New function.
2542 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2543 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2544 (ert-run-test): Use `messages-buffer' function.
2545 (ert--force-message-log-buffer-truncation): Ignore read-only.
2546 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2547 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2548
2549 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2552
2553 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2554
2555 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * icomplete.el (icomplete-in-buffer): New var.
2558 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2559 vars and replace them with functions.
2560 (icomplete-minibuffer-setup): Adjust accordingly.
2561 (icomplete--completion-table, icomplete--completion-predicate)
2562 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2563 New functions.
2564 (icomplete-forward-completions, icomplete-backward-completions)
2565 (icomplete-simple-completing-p, icomplete-exhibit)
2566 (icomplete-completions): Use them.
2567 (icomplete--in-region-buffer): New var.
2568 (icomplete--in-region-setup): New function.
2569 (icomplete-mode): Use it.
2570
2571 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2572 (bug#15379).
2573 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2574 return args and options.
2575 (eshell-eval-using-options): Use the new return value of
2576 eshell--do-opts to set the options's vars in their scope.
2577 (eshell--set-option): Rename from eshell-set-option.
2578 Add arg `opt-vals'.
2579 (eshell--process-option): Rename from eshell-process-option.
2580 Add arg `opt-vals'.
2581 (eshell--process-args): Use an `opt-vals' alist to store the options's
2582 values during their processing and return them additionally to the
2583 remaining args.
2584
2585 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2586
2587 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2588 continuation character an operator, as far as indentation is
2589 concerned (Bug#15369).
2590
2591 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2592
2593 * window.el (window--state-put-2): Don't process buffer state
2594 when buffer doesn't exist any more (Bug#15382).
2595
2596 2013-09-15 Glenn Morris <rgm@gnu.org>
2597
2598 * eshell/em-unix.el (eshell/rm):
2599 Make -f ignore missing files. (Bug#15373)
2600
2601 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2602 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2603 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2604
2605 2013-09-14 Glenn Morris <rgm@gnu.org>
2606
2607 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2608
2609 2013-09-13 Glenn Morris <rgm@gnu.org>
2610
2611 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2612 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2613
2614 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2615
2616 * frame.el (x-focus-frame): Mark as declared in frame.c.
2617
2618 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * ls-lisp.el: Use advice-add.
2621 (original-insert-directory): Remove.
2622 (ls-lisp--insert-directory): Rename from insert-directory; add
2623 `orig-fun' argument.
2624 (insert-directory): Advise.
2625
2626 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2627
2628 * term.el (term-emulate-terminal): Decode the command string
2629 before passing it to term-command-hook. (Bug#15337)
2630
2631 2013-09-13 Glenn Morris <rgm@gnu.org>
2632
2633 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2634
2635 * eshell/esh-ext.el (eshell-search-path): Declare.
2636
2637 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2638 Otherwise an error occurs if eshell-dirs module not loaded.
2639
2640 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2641
2642 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2645 `tramp-check-proper-host'. Check for a valid method name.
2646
2647 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2648 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2649 * net/tramp-sh.el (tramp-maybe-open-connection):
2650 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2651
2652 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2653 also for hash values.
2654
2655 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * term/ns-win.el (parameters): Don't declare as dynamic.
2658 (before-make-frame-hook): Don't add ineffective function.
2659
2660 * eshell/*.el: Use lexical-binding (bug#15231).
2661
2662 2013-09-12 Kenichi Handa <handa@gnu.org>
2663
2664 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2665
2666 2013-09-12 Glenn Morris <rgm@gnu.org>
2667
2668 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2669 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2670
2671 * subr.el (do-after-load-evaluation): Also give compiler warnings
2672 when obsolete files are used (except by obsolete files).
2673
2674 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2675 in the status output, assume `filename' is the first. (Bug#15322)
2676
2677 * vc/vc.el (vc-deduce-fileset): Doc fix.
2678
2679 * calc/calc-help.el (Info-goto-node):
2680 * progmodes/cperl-mode.el (Info-find-node):
2681 * vc/ediff.el (Info-goto-node): Update declarations.
2682
2683 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2684
2685 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2686 (vc-bzr-pull): Require vc-dispatcher.
2687 * vc/vc-git.el (vc-compilation-mode): Declare.
2688 (vc-git-pull): Require vc-dispatcher.
2689
2690 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2691
2692 * progmodes/octave.el (help-button-action): Declare.
2693
2694 * shell.el (shell-directory-tracker): Output error as a message
2695 rather than just returning it as a string.
2696 (shell-process-pushd): Remove useless use of message.
2697
2698 * dframe.el (dframe-timer-fn):
2699 * files.el (dir-locals-read-from-file):
2700 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2701 (mpc-format):
2702 * reveal.el (reveal-post-command):
2703 * saveplace.el (load-save-place-alist-from-file):
2704 * shell.el (shell-resync-dirs):
2705 * w32-common-fns.el (x-get-selection-value):
2706 * emacs-lisp/copyright.el (copyright-find-copyright):
2707 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2708 * emulation/tpu-edt.el (tpu-copy-keyfile):
2709 * play/bubbles.el (bubbles--mark-neighbourhood):
2710 * progmodes/executable.el
2711 (executable-make-buffer-file-executable-if-script-p):
2712 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2713
2714 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 Cleanup Eshell to rely less on dynamic scoping.
2717 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2718 last-value, and ext-command here. Bind `args' closer to `body'.
2719 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2720 (eshell--args): Declare new dynamic var.
2721 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2722 last-value, and ext-command. Pass `args' to `body'.
2723 (eshell-process-args): Bind eshell--args.
2724 (eshell-set-option): Use eshell--args.
2725 * eshell/eshell.el (eshell): Use derived-mode-p.
2726 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2727 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2728 (eshell-glob-function): Declare.
2729 * eshell/esh-util.el: Require cl-lib.
2730 (eshell-read-hosts-file): Avoid add-to-list.
2731 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2732 `err'.
2733 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2734 Declare.
2735 (eshell/diff): Remove unused var `err'.
2736 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2737 `killflag'.
2738 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2739 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2740 first use.
2741 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2742 Move declaration before first use.
2743 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2744 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2745 rely on cl-return.
2746
2747 2013-09-12 Glenn Morris <rgm@gnu.org>
2748
2749 * term/ns-win.el (global-map): Remove binding for ispell-next,
2750 deleted 1999-05-29. (Bug#15357)
2751
2752 2013-09-11 Glenn Morris <rgm@gnu.org>
2753
2754 * echistory.el (electric-command-history): Remove call to deleted func.
2755
2756 * play/landmark.el (landmark-mode): Fix typos.
2757
2758 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2759 Check cvs-sort-ignore-file is bound.
2760
2761 * savehist.el: No need for cl when compiling on Emacs.
2762
2763 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2766 (bug#15338).
2767 (eshell-self-insert-command, eshell-send-invisible):
2768 Remove unused argument.
2769 (eshell-handle-control-codes): Remove unused var `orig'.
2770 Avoid delete-backward-char.
2771
2772 * files.el (set-auto-mode): Simplify a bit further.
2773
2774 2013-09-11 Glenn Morris <rgm@gnu.org>
2775
2776 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2777 (set-auto-mode): Don't regexp-quote elements.
2778 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2779 * progmodes/cc-mode.el (interpreter-mode-alist):
2780 * progmodes/ruby-mode.el (interpreter-mode-alist):
2781 Revert previous change.
2782
2783 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * play/snake.el (snake-mode):
2786 * play/mpuz.el (mpuz-mode):
2787 * play/landmark.el (lm-mode):
2788 * play/blackbox.el (blackbox-mode):
2789 * play/5x5.el (5x5-mode):
2790 * obsolete/options.el (Edit-options-mode):
2791 * net/quickurl.el (quickurl-list-mode):
2792 * net/newst-treeview.el (newsticker-treeview-mode):
2793 * mail/rmailsum.el (rmail-summary-mode):
2794 * mail/mspools.el (mspools-mode):
2795 * locate.el (locate-mode):
2796 * ibuffer.el (ibuffer-mode):
2797 * emulation/ws-mode.el (wordstar-mode):
2798 * emacs-lisp/debug.el (debugger-mode):
2799 * array.el (array-mode):
2800 * net/eudc.el (eudc-mode): Use define-derived-mode.
2801 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2802 Move initialization into declaration.
2803 (mairix-searches-mode): Use define-derived-mode.
2804 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2805 (eudc-edit-hotlist): Use dolist.
2806 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2807 (Man-mode): Use define-derived-mode.
2808 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2809 (Info-edit-mode): Use define-derived-mode.
2810 (Info-cease-edit): Use Info-mode.
2811 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2812 into declaration.
2813 (eshell-mode): Use define-derived-mode.
2814 * chistory.el (command-history-mode-map): Rename from
2815 command-history-map.
2816 (command-history-mode): Use define-derived-mode.
2817 (Command-history-setup): Remove function.
2818 * calc/calc.el (calc-trail-mode-map): New var.
2819 (calc-trail-mode): Use define-derived-mode.
2820 (calc-trail-buffer): Set calc-main-buffer manually.
2821 * bookmark.el (bookmark-insert-annotation): New function.
2822 (bookmark-edit-annotation): Use it.
2823 (bookmark-edit-annotation-mode): Make it a proper major mode.
2824 (bookmark-send-edited-annotation): Use derived-mode-p.
2825 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2826 closer to its ideal place. Use \' to match EOS.
2827
2828 * profiler.el (profiler-calltree-find): Use function-equal.
2829
2830 2013-09-10 Glenn Morris <rgm@gnu.org>
2831
2832 * files.el (interpreter-mode-alist): Convert to regexps.
2833 (set-auto-mode): Adapt for this. (Bug#15306)
2834 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2835 Comment out unused variable.
2836 * progmodes/cc-mode.el (interpreter-mode-alist):
2837 * progmodes/python.el (interpreter-mode-alist):
2838 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2839 * progmodes/sh-script.el (sh-set-shell):
2840 No longer use interpreter-mode-alist to get list of shells.
2841
2842 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2843
2844 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * simple.el: Use set-temporary-overlay-map for universal-argument.
2847 (universal-argument-map): Don't use default-bindings (bug#15317).
2848 Bind switch-frame explicitly. Replace universal-argument-minus with
2849 a conditional binding.
2850 (universal-argument-num-events, saved-overriding-map): Remove.
2851 (restore-overriding-map): Remove.
2852 (universal-argument--mode): Rename from save&set-overriding-map,
2853 and rewrite.
2854 (universal-argument, universal-argument-more, negative-argument)
2855 (digit-argument): Adjust accordingly.
2856 (universal-argument-minus): Remove.
2857 (universal-argument-other-key): Remove.
2858
2859 * subr.el (with-demoted-errors): Add `format' argument.
2860
2861 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2864 `tramp-cleanup-connection'.
2865
2866 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2867 parameters KEEP-DEBUG and KEEP-PASSWORD.
2868
2869 * net/tramp.el (tramp-file-name-handler):
2870 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2871 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2872 (tramp-maybe-open-connection):
2873 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2874 Use `tramp-cleanup-connection'.
2875
2876 * net/tramp-sh.el (tramp-maybe-open-connection):
2877 Catch 'uname-changed inside the progress reporter.
2878
2879 2013-09-10 Glenn Morris <rgm@gnu.org>
2880
2881 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2882
2883 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2884 returns "alternate access method" in mode (eg "-rw-r--r--.").
2885
2886 2013-09-08 Glenn Morris <rgm@gnu.org>
2887
2888 * saveplace.el (load-save-place-alist-from-file):
2889 Demote errors. (Bug#15305)
2890
2891 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2892
2893 Improve compatibility with older Emacsen, and XEmacs.
2894
2895 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2896 only if it is bound. It isn't for XEmacs.
2897 (with-tramp-progress-reporter): Do not let-bind `result'.
2898 This yields to scoping errors in XEmacs.
2899 (tramp-handle-make-auto-save-file-name): New function, moved from
2900 tramp-sh.el.
2901
2902 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2903 for `make-auto-save-file-name'.
2904 (tramp-adb--gnu-switches-to-ash):
2905 Use `tramp-compat-replace-regexp-in-string'.
2906
2907 * net/tramp-cache.el (tramp-cache-print): Call
2908 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2909
2910 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2911 bound. It isn't for XEmacs.
2912
2913 * net/tramp-compat.el (tramp-compat-copy-file):
2914 Catch `wrong-number-of-arguments' error.
2915 (tramp-compat-replace-regexp-in-string): New defun.
2916
2917 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2918 for `make-auto-save-file-name'.
2919 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2920 `copy-file'.
2921 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2922 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2923 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2924
2925 * net/tramp-gw.el (tramp-gw-open-network-stream):
2926 Use `tramp-compat-replace-regexp-in-string'.
2927
2928 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2929 Call `tramp-handle-make-auto-save-file-name'.
2930 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2931 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2932 (tramp-sh-file-inotifywait-process-filter):
2933 Use `tramp-compat-replace-regexp-in-string'.
2934 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2935
2936 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2937 for `make-auto-save-file-name'.
2938 (tramp-smb-handle-copy-directory):
2939 Call `tramp-compat-replace-regexp-in-string'.
2940 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2941 (tramp-smb-handle-copy-file): Improve error message.
2942 (tramp-smb-handle-rename-file): Rename directly only in case
2943 `newname' does not exist yet. This is a restriction of smbclient.
2944 (tramp-smb-maybe-open-connection): Rerun the function only when
2945 `auth-sources' is non-nil.
2946
2947 2013-09-08 Kenichi Handa <handa@gnu.org>
2948
2949 * international/characters.el: Set category "^" (Combining) for
2950 more characters.
2951
2952 2013-09-07 Alan Mackenzie <acm@muc.de>
2953
2954 Correctly fontify Java class constructors.
2955 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2956 in Java Mode.
2957 (c-recognize-typeless-decls): Set the Java value to t.
2958 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2959 While handling a "(", add a check for, effectively, Java, and handle a
2960 "typeless" declaration there.
2961
2962 2013-09-07 Roland Winkler <winkler@gnu.org>
2963
2964 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2965 field subtitle for entry type book.
2966
2967 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * minibuffer.el: Make minibuffer-complete call completion-in-region
2970 rather than other way around.
2971 (completion--some, completion-pcm--find-all-completions):
2972 Don't delay signals when debugging.
2973 (minibuffer-completion-contents): Beware fields within the
2974 minibuffer contents.
2975 (completion-all-sorted-completions): Use defvar-local.
2976 (completion--do-completion, completion--cache-all-sorted-completions)
2977 (completion-all-sorted-completions, minibuffer-force-complete):
2978 Add args `beg' and `end'.
2979 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2980 (minibuffer-complete): Use completion-in-region.
2981 (completion-complete-and-exit): New fun, extracted from
2982 minibuffer-complete-and-exit.
2983 (minibuffer-complete-and-exit): Use it.
2984 (completion--complete-and-exit): Rename from
2985 minibuffer--complete-and-exit.
2986 (completion-in-region--single-word): New function, extracted from
2987 minibuffer-complete-word.
2988 (minibuffer-complete-word): Use it.
2989 (display-completion-list): Make `common-substring' argument obsolete.
2990 (completion--in-region): Call completion--in-region-1 instead of
2991 minibuffer-complete.
2992 (completion-help-at-point): Pass boundaries to
2993 minibuffer-completion-help as args rather than via an overlay.
2994 (completion-pcm--string->pattern): Use `any-delim'.
2995 (completion-pcm--optimize-pattern): New function.
2996 (completion-pcm--pattern->regex): Handle `any-delim'.
2997 * icomplete.el (icomplete-forward-completions)
2998 (icomplete-backward-completions, icomplete-completions):
2999 Adjust calls to completion-all-sorted-completions and
3000 completion--cache-all-sorted-completions.
3001 (icomplete-with-completion-tables): Default to t.
3002 * emacs-lisp/crm.el (crm--current-element): Rename from
3003 crm--select-current-element. Don't put an overlay but return the
3004 boundaries instead.
3005 (crm--completion-command): Take two new args to bind to the boundaries.
3006 (crm-completion-help): Adjust accordingly.
3007 (crm-complete): Use completion-in-region.
3008 (crm-complete-word): Use completion-in-region--single-word.
3009 (crm-complete-and-exit): Use completion-complete-and-exit.
3010
3011 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3014 than dynamically.
3015
3016 2013-09-06 Juri Linkov <juri@jurta.org>
3017
3018 * info.el (Info-display-images-node): When image file doesn't exist
3019 display text version of the image if it's provided in the Info file.
3020 Otherwise, display the location of missing image from SRC attribute.
3021 Add help-echo text property from ALT attribute. (Bug#15279)
3022
3023 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3026 (edit-abbrevs-mode): Use define-derived-mode.
3027
3028 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3029 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3030 that it's defined.
3031 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3032 Use define-derived-mode.
3033
3034 * epg.el (epg-start-encrypt): Minor CSE simplification.
3035
3036 2013-09-06 William Xu <william.xwl@gmail.com>
3037
3038 * arc-mode.el: Add support for 7za (bug#15264).
3039 (archive-7z-program): New var.
3040 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3041 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3042 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3043
3044 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3045
3046 Remove URL syntax.
3047
3048 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3049 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3050 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3051 (tramp-postfix-host-format, tramp-file-name-regexp)
3052 (tramp-completion-file-name-regexp)
3053 (tramp-completion-dissect-file-name)
3054 (tramp-handle-substitute-in-file-name): Remove 'url case.
3055 (tramp-file-name-regexp-url)
3056 (tramp-completion-file-name-regexp-url): Remove constants.
3057
3058 2013-09-06 Glenn Morris <rgm@gnu.org>
3059
3060 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3061
3062 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3063
3064 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3065 keywords" below "here-doc beginnings" (Bug#15270).
3066
3067 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * subr.el (pop): Use `car-safe'.
3070 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3071 to detect unused `pop' return value.
3072
3073 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3074 var `block-regexp'.
3075 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3076 (python-fill-string): Remove unused var `marker'.
3077 (python-skeleton-add-menu-items): Remove unused var `items'.
3078
3079 * international/mule-cmds.el: Require CL.
3080 (find-coding-systems-for-charsets): Avoid add-to-list.
3081 (sanitize-coding-system-list): New function, extracted from
3082 select-safe-coding-system-interactively.
3083 (select-safe-coding-system-interactively): Use it.
3084 (read-input-method-name): Accept symbols for `default'.
3085
3086 * emacs-lisp/advice.el (defadvice): Add indent rule.
3087
3088 2013-09-05 Daniel Hackney <dan@haxney.org>
3089
3090 * dired-x.el:
3091 * net/ange-ftp.el:
3092 * net/browse-url.el:
3093 * net/dbus.el:
3094 * net/eudc.el:
3095 * net/eudcb-ldap.el:
3096 * net/eww.el:
3097 * net/imap.el:
3098 * printing.el:
3099 * vc/ediff-diff.el:
3100 * vc/ediff-init.el:
3101 * vc/ediff-merg.el:
3102 * vc/ediff-mult.el:
3103 * vc/ediff-util.el:
3104 * vc/ediff-wind.el:
3105 * vc/ediff.el:
3106 * vc/emerge.el:
3107 * vc/pcvs.el:
3108 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3109 byte compiler. Remove some unused let-bound variables.
3110
3111 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3114 a "ref-cell", since it gets better optimized (bug#14883).
3115
3116 2013-09-05 Glenn Morris <rgm@gnu.org>
3117
3118 * progmodes/cc-awk.el (c-forward-sws): Declare.
3119
3120 2013-09-04 Glenn Morris <rgm@gnu.org>
3121
3122 * generic-x.el [rul-generic-mode]: Require cc-mode.
3123 (c++-mode-syntax-table): Declare.
3124 (rul-generic-mode-syntax-table): Init in the defvar.
3125
3126 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3127
3128 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3129 (vc-do-command, vc-set-async-update):
3130 * vc/vc-mtn.el (vc-mtn-dir-status):
3131 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3132 (vc-hg-pull, vc-hg-merge-branch):
3133 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3134 (vc-git-merge-branch):
3135 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3136 (vc-cvs-dir-status-files):
3137 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3138 (vc-bzr-dir-status-files):
3139 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3140 * vc/vc-annotate.el: Use lexical-binding.
3141 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3142 (vc-sentinel-movepoint): Declare.
3143 (vc-annotate): Don't use `goto-line'.
3144 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3145 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3146 (vc-sentinel-movepoint): Declare.
3147 * vc/vc-svn.el: Use lexical-binding.
3148 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3149 * vc/vc-sccs.el:
3150 * vc/vc-rcs.el: Use lexical-binding.
3151
3152 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3153 `deleted'. Don't drop errors silently.
3154
3155 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3156
3157 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3158
3159 * vc/vc.el (vc-ignore): Rewrite.
3160 (vc-default-ignore): New function.
3161 (vc-default-ignore-completion-table): Use find-ignore-file.
3162
3163 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3164 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3165 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3166 Remove. Most code moved to vc.el.
3167
3168 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3171 * net/tramp-smb.el (tramp-smb-get-file-entries):
3172 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3173 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3174
3175 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3176 Update call to it.
3177 (eww-change-select): Remove unused var `properties'.
3178 (eww-make-unique-file-name): Remove unused var `base'.
3179
3180 * finder.el (finder-compile-keywords): Don't mess with windows.
3181
3182 * calculator.el (calculator-funcall): Fix typo in last change.
3183
3184 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3185
3186 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3187 <pkg>-autoloads.el file stop us.
3188
3189 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3190 warnings, and factor out common code.
3191
3192 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3193
3194 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3195 two-character operators and whether the character preceding them
3196 changes their meaning (Bug#15208).
3197
3198 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3199
3200 Format code sent to Python shell for robustness.
3201 * progmodes/python.el (python-shell-buffer-substring):
3202 New function.
3203 (python-shell-send-region, python-shell-send-buffer): Use it.
3204
3205 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3206
3207 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3208 * net/tramp.el (tramp-user-error): ... here.
3209 (tramp-find-method, tramp-check-proper-host)
3210 (tramp-dissect-file-name, tramp-debug-message)
3211 (tramp-handle-shell-command):
3212 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3213 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3214
3215 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3216
3217 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3218
3219 * avoid.el (mouse-avoidance-point-position)
3220 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3221 returns nil.
3222
3223 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3224
3225 * progmodes/python.el (python-shell-completion-get-completions):
3226 Drop use of deleted `comint-last-prompt-overlay'.
3227 (python-nav-if-name-main): New command.
3228
3229 2013-09-01 Glenn Morris <rgm@gnu.org>
3230
3231 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3232 Avoid leading space in $wins. Otherwise the sed command used by
3233 eg compile-main ends up containing "/*.el". (Bug#15170)
3234
3235 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3236
3237 2013-08-30 Glenn Morris <rgm@gnu.org>
3238
3239 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3240 Fix is-this-a-directory logic. (Bug#15220)
3241
3242 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3243
3244 * textmodes/css-mode.el: Use SMIE.
3245 (css-smie-grammar): New var.
3246 (css-smie--forward-token, css-smie--backward-token)
3247 (css-smie-rules): New functions.
3248 (css-mode): Use them.
3249 (css-navigation-syntax-table): Remove var.
3250 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3251 (css-indent-calculate, css-indent-line): Remove functions.
3252
3253 Misc changes to reduce use of `(lambda...); and other cleanups.
3254 * cus-edit.el: Use lexical-binding.
3255 (customize-push-and-save, customize-apropos)
3256 (custom-buffer-create-internal): Use closures.
3257 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3258 * progmodes/ada-xref.el: Use setq.
3259 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3260 * dframe.el: Use lexical-binding.
3261 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3262 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3263 * descr-text.el: Use lexical-binding.
3264 (describe-text-widget, describe-text-sexp, describe-property-list):
3265 Use closures.
3266 * comint.el (comint-history-isearch-push-state): Use a closure.
3267 * calculator.el: Use lexical-binding.
3268 (calculator-number-to-string): Make it work with lexical-binding.
3269 (calculator-funcall): Same and use cl-letf.
3270
3271 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3272 (lisp--company-doc-string, lisp--company-location): New functions.
3273 (lisp-completion-at-point): Use them to improve Company support.
3274
3275 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3276 params of lambda expressions.
3277 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3278 (ruby-smie--opening-pipe-p): New function.
3279 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3280 symbols and matched |...| for formal params.
3281 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3282 from being treated as hanging. Handle "rescue".
3283
3284 2013-08-29 Glenn Morris <rgm@gnu.org>
3285
3286 * progmodes/cc-engine.el (c-pull-open-brace):
3287 Move definition before use.
3288
3289 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3292 are immutable. Don't use `unsafe' any more.
3293 (cl--defsubst-expand): Don't substitute at the same time as keeping
3294 a residual unused let-binding. Don't use `unsafe' any more.
3295
3296 2013-08-29 Glenn Morris <rgm@gnu.org>
3297
3298 * calendar/cal-china.el (calendar-chinese-year-cache):
3299 Recenter on 2015.
3300
3301 * nxml/nxml-util.el (nxml-debug-clear-inside):
3302 Use cl-loop rather than loop.
3303
3304 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3305
3306 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3307
3308 2013-08-28 Glenn Morris <rgm@gnu.org>
3309
3310 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3311
3312 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3313
3314 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3315
3316 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * simple.el (repeat-complex-command--called-interactively-skip):
3319 New function.
3320 (repeat-complex-command): Use it (bug#14136).
3321
3322 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3323 (c-define-abbrev-table): Add `doc' argument.
3324 (c-mode-abbrev-table, c++-mode-abbrev-table)
3325 (objc-mode-abbrev-table, java-mode-abbrev-table)
3326 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3327 (awk-mode-abbrev-table): Use it.
3328 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3329 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3330 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3331 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3332 Move initialization into the declaration; and remove any
3333 autoload cookie.
3334
3335 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3336 and dynamic let binding.
3337
3338 * vc/smerge-mode.el: Remove redundant :group args.
3339
3340 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3341 to load-path.
3342
3343 2013-08-28 Juri Linkov <juri@jurta.org>
3344
3345 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3346 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3347 (isearch-other-meta-char): Handle an undefined shifted printing
3348 character by downshifting it. (Bug#15200)
3349
3350 2013-08-28 Juri Linkov <juri@jurta.org>
3351
3352 * isearch.el (isearch-search): Change regexp error message for
3353 non-regexp searches. (Bug#15166)
3354
3355 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3356
3357 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3358 for portability to hosts where /bin/sh has problems.
3359
3360 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3361
3362 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3363
3364 2013-08-27 Juri Linkov <juri@jurta.org>
3365
3366 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3367 in the keyboard macro. (Bug#15126)
3368
3369 2013-08-27 Juri Linkov <juri@jurta.org>
3370
3371 * isearch.el (isearch-quote-char): Comment out converting unibyte
3372 to multibyte, thus syncing with its `quoted-insert' counterpart.
3373 (Bug#15166)
3374
3375 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3376
3377 * window.el (display-buffer-use-some-window): Add missing
3378 argument in call of get-largest-window (Bug#15185).
3379 Reported by Stephen Leake.
3380
3381 2013-08-27 Glenn Morris <rgm@gnu.org>
3382
3383 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3384
3385 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3388 from a matcher-function unless there's no more matches (bug#15161).
3389
3390 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3391
3392 * minibuffer.el: Revert change from 2013-08-20.
3393
3394 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3395 with text property `tramp-default', if appropriate.
3396 (tramp-check-proper-host): New defun.
3397 (tramp-dissect-file-name): Do not check hostname. Revert change
3398 of 2013-03-18.
3399 (tramp-backtrace): Make VEC-OR-PROC optional.
3400
3401 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3402 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3403 * net/tramp-sh.el (tramp-maybe-open-connection):
3404 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3405 Apply `tramp-check-proper-host'.
3406
3407 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3408
3409 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3410 lambda expression in order to have `describe-variable' display it.
3411
3412 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3413
3414 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3415 BUF can be optional. (Bug#15186)
3416
3417 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3418
3419 * progmodes/flymake.el (flymake-get-real-file-name-function):
3420 Fix broken customization. (Bug#15184)
3421
3422 2013-08-25 Alan Mackenzie <acm@muc.de>
3423
3424 Improve indentation of bracelists defined by macros (without "=").
3425
3426 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3427 expansion begins with "{", regard it as bracelist when it doesn't
3428 contain a ";".
3429
3430 Parse C++ inher-intro when there's a template split over 2 lines.
3431
3432 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3433 rigorously the search for "class" etc. followed by ":".
3434
3435 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3436 random languages a regexp which never matches rather than nil.
3437
3438 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3439
3440 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3441 (c-awk-regexp-one-line-possibly-open-char-list-re)
3442 (c-awk-one-line-possibly-open-regexp-re)
3443 (c-awk-one-line-non-syn-ws*-re): Remove.
3444 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3445 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3446 (c-awk-space*-unclosed-regexp-/-re): New constants.
3447 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3448 aren't regexp delimiters.
3449
3450 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3451 handling for a rare situation in AWK Mode involving unterminated
3452 strings/regexps.
3453
3454 2013-08-23 Glenn Morris <rgm@gnu.org>
3455
3456 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3457
3458 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3459
3460 * files.el (create-file-buffer): If the result would begin with
3461 spaces, prepend a "|" instead of removing them. (Bug#15162)
3462
3463 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3464
3465 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3466 text-properties (bug#15155).
3467
3468 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3469 exist any more.
3470 (calc-keypad-redraw): Remove unused var `pad'.
3471 (calc-keypad-press): Remove unused var `menu'.
3472
3473 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3474
3475 * window.el (display-buffer-pop-up-frame):
3476 Call pop-up-frame-function with BUFFER current so `make-frame' will
3477 use it as the new frame's buffer (Bug#15133).
3478
3479 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * calendar/timeclock.el: Minor cleanups.
3482 (timeclock-ask-before-exiting, timeclock-use-display-time):
3483 Use `symbol'.
3484 (timeclock-modeline-display): Define as alias before the
3485 actual definition.
3486 (timeclock-mode-line-display): Use define-minor-mode.
3487 (timeclock-day-list-template): Make it a function, add an argument.
3488 (timeclock-day-list-required, timeclock-day-list-length)
3489 (timeclock-day-list-debt, timeclock-day-list-span)
3490 (timeclock-day-list-break): Adjust calls accordingly.
3491
3492 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3495 Use read--expression so that completion works again.
3496
3497 2013-08-21 Sam Steingold <sds@gnu.org>
3498
3499 Add rudimentary inferior shell interaction
3500 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3501 (sh-set-shell): Reset it.
3502 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3503 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3504
3505 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * align.el: Use lexical-binding.
3508 (align-region): Simplify accordingly.
3509
3510 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3511
3512 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3513
3514 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3515 `non-essential' up.
3516
3517 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3518
3519 * net/tramp.el:
3520 * net/tramp-adb.el:
3521 * net/tramp-cmds.el:
3522 * net/tramp-ftp.el:
3523 * net/tramp-gvfs.el:
3524 * net/tramp-gw.el:
3525 * net/tramp-sh.el: Don't wrap external variable declarations by
3526 `eval-when-compile'.
3527
3528 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3529
3530 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3531 now that Emacs supports ImageMagick animations.
3532
3533 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3534
3535 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3536 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3537
3538 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3539
3540 * window.el (mouse-autoselect-window-select): Do autoselect when
3541 mouse pointer is on margin.
3542
3543 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3544
3545 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3546
3547 2013-08-16 Glenn Morris <rgm@gnu.org>
3548
3549 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3550 Handle "Remote Directory" response of some clients. (Bug#15058)
3551
3552 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3553 Tweak warning. (Bug#14926)
3554
3555 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3556 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3557
3558 * image-mode.el (image-mode-map): Add menu items to reverse,
3559 increase, decrease, reset animation speed.
3560 (image--set-speed, image-increase-speed, image-decrease-speed)
3561 (image-reverse-speed, image-reset-speed): New functions.
3562 (image-mode-map): Add bindings for speed commands.
3563
3564 * image.el (image-animate-get-speed, image-animate-set-speed):
3565 New functions.
3566 (image-animate-timeout): Respect image :speed property.
3567
3568 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3571 previous line (bug#15101).
3572 (debugger-eval-expression, debugger-record-expression):
3573 Use read--expression (bug#15102).
3574
3575 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3576
3577 Remove byte compiler warnings, visible when compiling with
3578 `byte-compile-force-lexical-warnings' set to t.
3579
3580 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3581 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3582 (tramp-handle-unhandled-file-name-directory)
3583 (tramp-handle-file-notify-add-watch, tramp-action-login)
3584 (tramp-action-succeed, tramp-action-permission-denied)
3585 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3586 arguments with "_".
3587
3588 * net/tramp-adb.el (tramp-adb-parse-device-names)
3589 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3590 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3591 (tramp-adb-handle-file-truename): Remove unused arguments.
3592
3593 * net/tramp-cache.el (tramp-flush-directory-property)
3594 (tramp-flush-connection-property, tramp-list-connections)
3595 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3596
3597 * net/tramp-compat.el (tramp-compat-make-temp-file):
3598 Rename FILENAME to F.
3599
3600 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3601 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3602 (tramp-zeroconf-parse-workstation-device-names)
3603 (tramp-zeroconf-parse-webdav-device-names)
3604 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3605
3606 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3607 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3608
3609 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3610 arguments.
3611 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3612 (tramp-sh-handle-insert-file-contents-literally)
3613 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3614 with "_".
3615 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3616 Remove unused variables.
3617
3618 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3619 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3620 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3621
3622 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3623 Make them a defconst.
3624 (tramp-uuencode-region): Remove unused variable.
3625
3626 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3627
3628 * frameset.el (frameset--prop-setter): New function.
3629 (frameset-prop): Add gv-setter declaration.
3630 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3631 parameter was already set in FILTERED. Doc fix.
3632 (frameset--record-minibuffer-relationships): Allow saving a
3633 minibufferless frame without its corresponding minibuffer frame.
3634 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3635 frame, if the frame id matches.
3636 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3637 frames before orphaned ones.
3638 (frameset-restore): Warn about orphaned windows, instead of error out.
3639
3640 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3641
3642 * window.el (window-make-atom): Don't overwrite parameter
3643 already present.
3644 (display-buffer-in-atom-window): Handle special case where we
3645 split an already atomic window.
3646 (window--major-non-side-window, display-buffer-in-side-window)
3647 (window--side-check): Ignore minibuffer window when walking
3648 window tree.
3649 (window-deletable-p): Return 'frame only if no other frame uses
3650 our minibuffer window.
3651 (record-window-buffer): Run buffer-list-update-hook.
3652 (split-window): Make sure window--check-frame won't destroy an
3653 existing atomic window in case the new window gets nested
3654 inside.
3655 (display-buffer-at-bottom): Ignore minibuffer window when
3656 walking window tree. Don't split a side window.
3657 (pop-to-buffer): Don't set-buffer here, the select-window call
3658 should do that.
3659 (mouse-autoselect-window-select): Autoselect only if we are in the
3660 text portion of the window.
3661
3662 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3663
3664 * net/shr.el (shr-parse-image-data): New function to grab both the
3665 data itself and the Content-Type.
3666 (shr-put-image): Use it.
3667
3668 * net/eww.el (eww-display-image): Ditto.
3669
3670 * image.el (image-content-type-suffixes): New variable.
3671
3672 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3673
3674 * progmodes/python.el (python-imenu--build-tree)
3675 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3676
3677 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3678
3679 * simple.el (backward-word): Mention the optional argument.
3680
3681 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3682
3683 * frameset.el (frameset--make): Rename constructor from make-frameset.
3684 (frameset-p, frameset-valid-p): Don't autoload.
3685 (frameset-valid-p): Use normal accessors.
3686
3687 2013-08-13 Glenn Morris <rgm@gnu.org>
3688
3689 * progmodes/compile.el (compile-command): Tweak example in doc.
3690 * obsolete/scribe.el (scribe-mode):
3691 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3692
3693 * mail/feedmail.el (feedmail-confirm-outgoing)
3694 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3695
3696 * cus-start.el (truncate-partial-width-windows): Fix type.
3697
3698 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3699
3700 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3701
3702 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3703
3704 * emacs-lisp/timer.el (timer--time-setter): New function.
3705 (timer--time): Use it as gv-setter.
3706
3707 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3708 setter is not a symbol.
3709
3710 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3711
3712 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3713 if sending fails. This makes debugging easier.
3714
3715 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3716
3717 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3718 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3719 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3720
3721 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3722
3723 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3724
3725 2013-08-12 Glenn Morris <rgm@gnu.org>
3726
3727 * format.el (format-annotate-function):
3728 Handle read-only text properties in the source. (Bug#14887)
3729
3730 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3731
3732 * net/eww.el (eww-display-html): Ignore coding system errors.
3733 One web site uses "utf-8lias" as the coding system.
3734
3735 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3736
3737 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3738
3739 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3740
3741 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3742 (tutorial--detailed-help): Remove unused local variables.
3743 (tutorial--save-tutorial-to): Use ignore-errors.
3744 (help-with-tutorial): Use looking-at-p.
3745
3746 * view.el (view-buffer-other-window, view-buffer-other-frame):
3747 Mark unused arguments.
3748
3749 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3750 (woman-select-symbol-fonts, woman, woman-find-file)
3751 (woman-insert-file-contents, woman-non-underline-faces):
3752 Use string-match-p.
3753 (woman1-unquote): Move declaration.
3754
3755 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3756 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3757 argument. Remove unused local variable.
3758 (xml-parse-elem-type): Use string-match-p.
3759 (xml-substitute-numeric-entities): Use ignore-errors.
3760
3761 * calculator.el (calculator): Mark unused argument.
3762 (calculator-paste, calculator-quit, calculator-integer-p):
3763 Use ignore-errors.
3764 (calculator-string-to-number, calculator-decimal, calculator-exp)
3765 (calculator-op-or-exp): Use string-match-p.
3766
3767 * dired.el (dired-buffer-more-recently-used-p): Declare.
3768 (dired-insert-set-properties, dired-insert-old-subdirs):
3769 Use ignore-errors.
3770
3771 * dired-aux.el (dired-compress): Use ignore-errors.
3772 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3773 (dired-do-async-shell-command, dired-do-shell-command)
3774 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3775 (dired-insert-subdir-validate): Use string-match-p.
3776 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3777 (dired-add-entry): Use string-match-p, looking-at-p.
3778 (dired-insert-subdir-newpos): Remove unused local variable.
3779
3780 * filenotify.el (file-notify-callback): Remove unused local variable.
3781
3782 * filesets.el (filesets-error): Mark unused argument.
3783 (filesets-which-command-p, filesets-filter-dir-names)
3784 (filesets-directory-files, filesets-get-external-viewer)
3785 (filesets-ingroup-get-data): Use string-match-p.
3786
3787 * find-file.el (ff-other-file-name, ff-other-file-name)
3788 (ff-find-the-other-file, ff-cc-hh-converter):
3789 Remove unused local variables.
3790 (ff-get-file-name): Use string-match-p.
3791 (ff-all-dirs-under): Use ignore-errors.
3792
3793 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3794 (follow-select-if-visible): Remove unused local variable.
3795
3796 * forms.el (read-file-filter): Move declaration.
3797 (forms--make-format, forms--make-parser, forms-insert-record):
3798 Quote function with #'.
3799 (forms--update): Use string-match-p. Quote function with #'.
3800
3801 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3802 (help-make-xrefs): Use looking-at-p.
3803 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3804
3805 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3806 (ibuffer-confirm-operation-on): Use string-match-p.
3807
3808 * msb.el (msb-item-handler, msb-dired-item-handler):
3809 Mark unused arguments.
3810
3811 * ses.el (ses-decode-cell-symbol)
3812 (ses-kill-override): Remove unused local variable.
3813 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3814 (ses-load): Use ignore-errors, looking-at-p.
3815 (ses-jump-safe): Use ignore-errors.
3816 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3817
3818 * tabify.el (untabify, tabify): Mark unused arguments.
3819
3820 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3821 Mark unused argument.
3822 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3823 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3824
3825 * emacs-lisp/timer.el (timer--time): Define setter with
3826 gv-define-setter to avoid deprecation warning.
3827
3828 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3829 (*record-cmpl-statistics-p*): Remove (was commented out).
3830 (cmpl-statistics-block): Remove (body was commented out).
3831 All callers changed.
3832 (add-completions-from-buffer, load-completions-from-file):
3833 Remove unused variables.
3834
3835 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3836
3837 * filecache.el (file-cache-delete-file-list):
3838 Print message only when told so.
3839 (file-cache-files-matching): Use #' in mapconcat argument.
3840
3841 * ffap.el (ffap-url-at-point): Fix reference to variable
3842 thing-at-point-default-mail-uri-scheme.
3843
3844 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * subr.el (define-error): New function.
3847 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3848 error-file-not-found and define with define-error.
3849 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3850 and define with define-error.
3851 * userlock.el (file-locked, file-supersession):
3852 * simple.el (mark-inactive):
3853 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3854 * progmodes/ada-mode.el (ada-mode-errors):
3855 * play/life.el (life-extinct):
3856 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3857 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3858 * nxml/rng-util.el (rng-error):
3859 * nxml/rng-uri.el (rng-uri-error):
3860 * nxml/rng-match.el (rng-compile-error):
3861 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3862 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3863 * nxml/nxml-rap.el (nxml-scan-error):
3864 * nxml/nxml-outln.el (nxml-outline-error):
3865 * net/soap-client.el (soap-error):
3866 * net/gnutls.el (gnutls-error):
3867 * net/ange-ftp.el (ftp-error):
3868 * mpc.el (mpc-proc-error):
3869 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3870 (json-number-format, json-string-escape, json-string-format)
3871 (json-key-format, json-object-format):
3872 * jka-compr.el (compression-error):
3873 * international/quail.el (quail-error):
3874 * international/kkc.el (kkc-error):
3875 * emacs-lisp/ert.el (ert-test-failed):
3876 * calc/calc.el (calc-error, inexact-result, math-overflow)
3877 (math-underflow):
3878 * bookmark.el (bookmark-error-no-filename):
3879 * epg.el (epg-error): Define with define-error.
3880
3881 * time.el (display-time-event-handler)
3882 (display-time-next-load-average): Don't call sit-for since it seems
3883 unnecessary (bug#15045).
3884
3885 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3886 Use #' instead of ' to quote functions.
3887 (checkdoc-output-mode): Use setq-local.
3888 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3889 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3890 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3891 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3892 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3893 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3894 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3895 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3896
3897 * ido.el (ido-completion-help): Fix up compiler warning.
3898
3899 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3900
3901 * frameset.el (frameset-p): Add autoload cookie.
3902 (frameset--jump-to-register): New function, based on code moved from
3903 register.el.
3904 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3905
3906 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3907 (frameset-restore, frameset-save, frameset-session-filter-alist):
3908 Remove declarations.
3909 (register-alist): Doc fix.
3910 (frameset-to-register): Move to frameset.el.
3911 (jump-to-register, describe-register-1): Remove frameset-specific code.
3912
3913 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3914
3915 * allout-widgets.el (allout-widgets-pre-command-business)
3916 (allout-widgets-post-command-business)
3917 (allout-widgets-after-change-handler)
3918 (allout-decorate-item-and-context, allout-set-boundary-marker)
3919 (allout-body-modification-handler)
3920 (allout-graphics-modification-handler): Mark ignored arguments.
3921 (allout-widgets-post-command-business)
3922 (allout-widgets-exposure-change-processor)
3923 (allout-widgets-exposure-undo-processor)
3924 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3925 (allout-parse-item-at-point, allout-decorate-item-guides)
3926 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3927 * allout.el (epa-passphrase-callback-function): Declare.
3928 (allout-overlay-insert-in-front-handler)
3929 (allout-overlay-interior-modification-handler)
3930 (allout-isearch-end-handler, allout-chart-siblings)
3931 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3932 (allout-yank-processing, allout-process-exposed)
3933 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3934 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3935 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3936 (lisp-indent-defform): Mark ignored arguments.
3937 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3938 (calculate-lisp-indent): Remove unused variables.
3939 * international/characters.el (indian-2-column, arabic-2-column)
3940 (tibetan): Mark ignored arguments.
3941 (use-cjk-char-width-table): Mark ignored arguments.
3942 Remove unused variables.
3943 * international/fontset.el (build-default-fontset-data)
3944 (x-compose-font-name, create-fontset-from-fontset-spec):
3945 Mark ignored arguments.
3946 (fontset-plain-name): Remove unused variables.
3947 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3948 (keyboard-coding-system): Mark ignored arguments.
3949 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3950 * help.el (resize-temp-buffer-window):
3951 * window.el (display-buffer-in-major-side-window)
3952 (display-buffer-in-side-window, display-buffer-in-previous-window):
3953 Remove unused variables.
3954 * isearch.el (isearch-forward-symbol):
3955 * version.el (emacs-bzr-version-bzr):
3956 * international/mule-cmds.el (current-language-environment):
3957 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3958 (x-handle-display):
3959 * term/pc-win.el (x-list-fonts, x-display-planes)
3960 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3961 (x-server-version, x-display-screens, x-display-mm-height)
3962 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3963 (x-selection-owner-p, x-own-selection-internal)
3964 (x-disown-selection-internal, x-get-selection-internal)
3965 (msdos-initialize-window-system):
3966 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3967 * term/x-win.el (x-handle-no-bitmap-icon):
3968 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3969 (vc-default-find-file-hook, vc-default-extra-menu):
3970 Mark ignored arguments.
3971
3972 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3973
3974 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3975 break-condition in the context of the debugged code (bug#12685).
3976
3977 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3978
3979 * comint.el:
3980 Do not use an overlay to highlight the last prompt. (Bug#14744)
3981 (comint-mode): Make comint-last-prompt buffer local.
3982 (comint-last-prompt): New variable.
3983 (comint-last-prompt-overlay): Remove. Superseded by
3984 comint-last-prompt.
3985 (comint-snapshot-last-prompt, comint-output-filter):
3986 Use comint-last-prompt.
3987
3988 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3989
3990 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3991 (frameset-save): Check validity of the resulting frameset.
3992
3993 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3994
3995 * ido.el (ido-record-command): Add doc string.
3996
3997 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3998
3999 * frameset.el (frameset): Do not disable creation of the default
4000 frameset-p predicate. Doc fix.
4001 (frameset-valid-p): New function, copied from the old predicate-p.
4002 Add additional checks.
4003 (frameset-restore): Check with frameset-valid-p.
4004 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4005 (frameset-name, frameset-description, frameset-properties)
4006 (frameset-states): Add docstring.
4007 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4008 (frameset-filter-alist): Doc fixes.
4009
4010 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4011
4012 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4013
4014 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4017 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4018 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4019 (byte-compile-normal-call): Remove obsolescence check.
4020
4021 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4022
4023 * frameset.el (frameset-restore): Doc fix.
4024
4025 * register.el (frameset-frame-id, frameset-frame-with-id)
4026 (frameset-p, frameset-restore, frameset-save): Declare.
4027 (register-alist): Document framesets.
4028 (frameset-session-filter-alist): Declare.
4029 (frameset-to-register): New function.
4030 (jump-to-register): Implement jumping to framesets. Doc fix.
4031 (describe-register-1): Describe framesets.
4032
4033 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4034
4035 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4036
4037 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4038 Use lexical-binding.
4039
4040 * frameset.el (frameset): Use type vector, not list (incompatible
4041 change). Do not declare a new constructor, use the default one.
4042 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4043 `name' and `description', respectively, and add read-only slot
4044 `timestamp'. Doc fixes.
4045 (frameset-copy, frameset-persistent-filter-alist)
4046 (frameset-filter-alist, frameset-switch-to-gui-p)
4047 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4048 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4049 (frameset-filter-iconified, frameset-keep-original-display-p):
4050 Doc fixes.
4051 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4052 Rename from frameset-filter-(save|restore)-param. All callers changed.
4053 Doc fix.
4054 (frameset-p): Adapt to change to vector and be more thorough.
4055 Change arg name to OBJECT. Doc fix.
4056 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4057 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4058 All callers changed.
4059 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4060 All callers changed.
4061 (frameset--record-minibuffer-relationships): Rename from
4062 frameset--process-minibuffer-frames. All callers changed.
4063 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4064 Use new default constructor (again). Doc fix.
4065 (frameset--find-frame-if): Rename from `frameset--find-frame.
4066 All callers changed.
4067 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4068 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4069 Doc fix.
4070 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4071 PARAMETERS and WINDOW-STATE, respectively.
4072 (frameset-restore): Add new keyword argument PREDICATE.
4073 Reset frameset--target-display to nil. Doc fix.
4074
4075 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4076
4077 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4078 (bat-mode): Use it.
4079 (bat-mode-syntax-table): Mark \n as end-of-comment.
4080 (bat-font-lock-keywords): Remove comment rule.
4081
4082 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4083 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4084
4085 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4086 (byte-compile-callargs-warn): Use `push'.
4087 (byte-compile-arglist-warn): Ignore higher-order "calls".
4088 (byte-compile-file-form-autoload): Use `pcase'.
4089 (byte-compile-function-form): If quoting a symbol, check that it exists.
4090
4091 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4092
4093 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4094 and add a few popular commands found in batch files.
4095 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4096 (dos-mode): Doc fixes.
4097
4098 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4101 (dos-mode): Use setq-local. Add space after "rem".
4102 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4103 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4104
4105 2013-08-07 Arni Magnusson <arnima@hafro.is>
4106
4107 * progmodes/dos.el: New file.
4108 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4109 dos-mode.
4110
4111 2013-08-06 Glenn Morris <rgm@gnu.org>
4112
4113 * calendar/calendar.el: Add new faces, and day-header-array.
4114 (calendar-weekday-header, calendar-weekend-header)
4115 (calendar-month-header): New faces.
4116 (calendar-day-header-construct): New function.
4117 (calendar-day-header-width): Also :set calendar-day-header-array.
4118 (calendar-american-month-header, calendar-european-month-header)
4119 (calendar-iso-month-header): Use calendar- faces.
4120 (calendar-generate-month):
4121 Use calendar-day-header-array for day headers; apply faces to them.
4122 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4123 (calendar-abbrev-construct): Add optional maxlen argument.
4124 (calendar-day-name-array): Doc fix.
4125 (calendar-day-name-array, calendar-abbrev-length)
4126 (calendar-day-abbrev-array):
4127 Also :set calendar-day-header-array, and maybe redraw.
4128 (calendar-day-header-array): New option. (Bug#15007)
4129 (calendar-font-lock-keywords): Set to nil and make obsolete.
4130 (calendar-day-name): Add option to use header array.
4131
4132 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4133
4134 * net/shr.el (shr-render-td): Remove debugging.
4135 (shr-render-td): Make width computation consistent by defaulting
4136 all zero-width columns to 10 characters. This may not be optimal,
4137 but it's at least consistent.
4138 (shr-make-table-1): Redo last change to fix the real problem in
4139 colspan handling.
4140
4141 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4142
4143 * files.el (cache-long-line-scans):
4144 Make obsolete alias to `cache-long-scans'.
4145
4146 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4147
4148 * frameset.el (frameset, frameset-filter-alist)
4149 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4150 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4151 (frameset-compute-pos): Rename from frameset--compute-pos,
4152 and add docstring.
4153 (frameset-move-onscreen): Use frameset-compute-pos.
4154 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4155
4156 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4157 Fix typos in docstrings.
4158
4159 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4160
4161 * frame.el (get-other-frame): Tiny cleanup.
4162
4163 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4164
4165 * vc/vc.el (vc-default-ignore-completion-table):
4166 Silence byte-compiler warning.
4167
4168 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4169 slot , which can indeed be nil.
4170 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4171 Move entry for `left' from persistent to live filter alist.
4172 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4173 Doc fixes.
4174 (frameset-filter-params): When restoring a frame, copy items added to
4175 `filtered', to avoid unwittingly modifying the original parameters.
4176 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4177 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4178
4179 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4180 to use looking-at-p instead of looking-at. (Bug#15028)
4181
4182 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 Revert introduction of isearch-filter-predicates (bug#14714).
4185 Rely on add-function instead.
4186 * isearch.el (isearch-filter-predicates): Rename it back to
4187 isearch-filter-predicate.
4188 (isearch-message-prefix): Use advice-function-mapc and advice
4189 properties to get the isearch-message-prefix.
4190 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4191 instead of run-hook-with-args-until-failure.
4192 (isearch-filter-visible): Not obsolete any more.
4193 * loadup.el: Preload nadvice.
4194 * replace.el (perform-replace): Revert to funcall
4195 instead of run-hook-with-args-until-failure.
4196 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4197 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4198 dired-isearch-filenames-toggle; make it into a proper minor mode.
4199 Use add/remove-function.
4200 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4201 Call the minor-mode rather than add/remove-hook.
4202 (dired-isearch-filter-filenames):
4203 Remove isearch-message-prefix property.
4204 * info.el (Info--search-loop): New function, extracted from Info-search.
4205 Funcall isearch-filter-predicate instead of
4206 run-hook-with-args-until-failure isearch-filter-predicates.
4207 (Info-search): Use it.
4208 (Info-mode): Use isearch-filter-predicate instead of
4209 isearch-filter-predicates.
4210
4211 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4212
4213 Do not call to `selected-window' where it is assumed by default.
4214 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4215 `window-hscroll', `window-width', `window-height', `window-buffer',
4216 `window-frame', `window-start', `window-point', `next-window'
4217 and `window-display-table'.
4218 * abbrev.el (abbrev--default-expand):
4219 * bs.el (bs--show-with-configuration):
4220 * buff-menu.el (Buffer-menu-mouse-select):
4221 * calc/calc.el (calc):
4222 * calendar/calendar.el (calendar-generate-window):
4223 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4224 (diary-make-entry):
4225 * comint.el (send-invisible, comint-dynamic-complete-filename)
4226 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4227 * completion.el (complete):
4228 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4229 * disp-table.el (describe-current-display-table):
4230 * doc-view.el (doc-view-insert-image):
4231 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4232 * ehelp.el (with-electric-help):
4233 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4234 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4235 * emacs-lisp/helper.el (Helper-help-scroller):
4236 * emulation/cua-base.el (cua--post-command-handler-1):
4237 * eshell/esh-mode.el (eshell-output-filter):
4238 * ffap.el (ffap-gnus-wrapper):
4239 * help-macro.el (make-help-screen):
4240 * hilit-chg.el (highlight-compare-buffers):
4241 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4242 * hl-line.el (global-hl-line-highlight):
4243 * icomplete.el (icomplete-simple-completing-p):
4244 * isearch.el (isearch-done):
4245 * jit-lock.el (jit-lock-stealth-fontify):
4246 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4247 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4248 * mpc.el (mpc-tagbrowser, mpc):
4249 * net/rcirc.el (rcirc-any-buffer):
4250 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4251 * play/landmark.el (landmark-max-width, landmark-max-height):
4252 * play/zone.el (zone):
4253 * progmodes/compile.el (compilation-goto-locus):
4254 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4255 * progmodes/etags.el (find-tag-other-window):
4256 * progmodes/fortran.el (fortran-column-ruler):
4257 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4258 * progmodes/verilog-mode.el (verilog-point-text):
4259 * reposition.el (reposition-window):
4260 * rot13.el (toggle-rot13-mode):
4261 * server.el (server-switch-buffer):
4262 * shell.el (shell-dynamic-complete-command)
4263 (shell-dynamic-complete-environment-variable):
4264 * simple.el (insert-buffer, set-selective-display)
4265 (delete-completion-window):
4266 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4267 (speedbar-recenter):
4268 * startup.el (fancy-splash-head):
4269 * textmodes/ispell.el (ispell-command-loop):
4270 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4271 * tutorial.el (help-with-tutorial):
4272 * vc/add-log.el (add-change-log-entry):
4273 * vc/compare-w.el (compare-windows):
4274 * vc/ediff-help.el (ediff-indent-help-message):
4275 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4276 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4277 (ediff-setup-control-frame):
4278 * vc/emerge.el (emerge-position-region):
4279 * vc/pcvs-util.el (cvs-bury-buffer):
4280 * window.el (walk-windows, mouse-autoselect-window-select):
4281 * winner.el (winner-set-conf, winner-undo): Related users changed.
4282
4283 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4284
4285 * frameset.el (frameset--set-id): Doc fix.
4286 (frameset-frame-id, frameset-frame-id-equal-p)
4287 (frameset-locate-frame-id): New functions.
4288 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4289 (frameset-restore): Use them.
4290
4291 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4292
4293 Do not call to `selected-frame' where it is assumed by default.
4294 Affected functions are `raise-frame', `redraw-frame',
4295 `frame-first-window', `frame-terminal' and `delete-frame'.
4296 * calendar/appt.el (appt-disp-window):
4297 * epg.el (epg-wait-for-completion):
4298 * follow.el (follow-delete-other-windows-and-split)
4299 (follow-avoid-tail-recenter):
4300 * international/mule.el (set-terminal-coding-system):
4301 * mail/rmail.el (rmail-mail-return):
4302 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4303 * progmodes/f90.el (f90-add-imenu-menu):
4304 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4305 * server.el (server-switch-buffer):
4306 * simple.el (delete-completion-window):
4307 * talk.el (talk):
4308 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4309 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4310 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4311 * vc/ediff.el (ediff-documentation): Related users changed.
4312 * frame.el (selected-terminal): Remove the leftover.
4313
4314 2013-08-05 Glenn Morris <rgm@gnu.org>
4315
4316 * calendar/calendar.el (calendar-generate-month):
4317 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4318 (calendar-generate-month, calendar-font-lock-keywords):
4319 Fix for calendar-day-header-width > length of any day name.
4320
4321 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4322
4323 * desktop.el (desktop-clear): Use new name of sort predicate.
4324
4325 * frameset.el (frameset): Add docstring. Move :version property to its
4326 own `version' slot.
4327 (frameset-copy): Rename from copy-frameset.
4328 (frameset-p): Check more thoroughly.
4329 (frameset-prop): Do not check for :version, which is no longer a prop.
4330 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4331 Use new :never value instead of t.
4332 (frameset-filter-alist): Expand and clarify docstring.
4333 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4334 (frameset-filter-minibuffer, frameset-filter-save-param)
4335 (frameset-filter-restore-param, frameset-filter-iconified):
4336 Add pointer to docstring of frameset-filter-alist.
4337 (frameset-filter-params): Rename filter values to be more meaningful:
4338 :never instead of t, and reverse the meanings of :save and :restore.
4339 (frameset--process-minibuffer-frames): Clarify error message.
4340 (frameset-save): Avoid unnecessary and confusing call to framep.
4341 Use new BOA constructor for framesets.
4342 (frameset--reuse-list): Doc fix.
4343 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4344 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4345 (frameset-minibufferless-first-p): Doc fix.
4346 Rename from frameset-sort-frames-for-deletion.
4347 (frameset-restore): Doc fixes. Use new function names.
4348 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4349
4350 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4351
4352 * desktop.el (desktop-restore-forces-onscreen)
4353 (desktop-restore-reuses-frames): Document :keyword constant values.
4354 (desktop-filter-parameters-alist): Remove, now identical to
4355 frameset-filter-alist.
4356 (desktop--filter-tty*): Remove, moved to frameset.el.
4357 (desktop-save-frameset, desktop-restore-frameset):
4358 Do not pass :filters argument.
4359
4360 * frameset.el (frameset-live-filter-alist)
4361 (frameset-persistent-filter-alist): New variables.
4362 (frameset-filter-alist): Use them. Add autoload cookie.
4363 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4364 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4365 `frameset--id' (it's supposed to be internal to frameset.el).
4366 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4367 (frameset--initial-params): New function.
4368 (frameset--get-frame): Use it. Doc fix.
4369 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4370 Accept :all, not 'all.
4371 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4372 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4373 with fbound symbols. Fix frame id matching, and remove matching ids if
4374 the frame being restored is deleted. Obey :delete.
4375
4376 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * subr.el (macrop): New function.
4379 (text-clone--maintaining): New var.
4380 (text-clone--maintain): Rename from text-clone-maintain. Use it
4381 instead of inhibit-modification-hooks.
4382
4383 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4384 a proxy, so as handle autoloads and redefinitions of the target.
4385 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4386
4387 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4388 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4389 (pcase--mutually-exclusive-p): New function.
4390 (pcase--split-consp): Use it.
4391 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4392 mutually exclusive with the current predicate.
4393
4394 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4395 (edebug-macrop): Remove. Use `macrop' instead.
4396 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4397 (ad-macro-p):
4398 * eshell/esh-cmd.el (eshell-macrop):
4399 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4400
4401 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4404 (advice-mapc): New function, using it.
4405 (advice-function-member-p): New function.
4406 (advice--normalize): Store the cdr in advice--saved-rewrite since
4407 that's the part that will be changed.
4408 (advice--symbol-function): New function.
4409 (advice-remove): Handle removal before the function is defined.
4410 Adjust to new advice--saved-rewrite.
4411 (advice-member-p): Use advice-function-member-p and
4412 advice--symbol-function.
4413
4414 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4415
4416 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4417 (frameset-filter-minibuffer): Doc fix.
4418 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4419 (frameset--set-id, frameset--process-minibuffer-frames)
4420 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4421 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4422
4423 * desktop.el (desktop-clear): Only delete frames when called
4424 interactively and desktop-restore-frames is non-nil. Doc fix.
4425 (desktop-read): Set desktop-saved-frameset to nil.
4426
4427 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4428
4429 * vc/vc.el (vc-ignore): Rewrite.
4430 (vc-default-ignore-completion-table):
4431 (vc--read-lines):
4432 (vc--add-line, vc--remove-regexp): New functions.
4433
4434 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4435 (vc-svn-ignore-completion-table): New function.
4436
4437 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4438 (vc-hg-ignore-completion-table):
4439 (vc-hg-find-ignore-file): New functions.
4440
4441 * vc/vc-git.el (vc-git-ignore): Rewrite.
4442 (vc-git-ignore-completion-table):
4443 (vc-git-find-ignore-file): New functions.
4444
4445 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4446
4447 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4448 (vc-bzr-ignore-completion-table):
4449 (vc-bzr-find-ignore-file): New functions.
4450
4451 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4452
4453 * frameset.el (frameset-prop): New function and setter.
4454 (frameset-save): Do not modify frame list passed by the caller.
4455
4456 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4457
4458 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4459
4460 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4461
4462 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4463 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4464
4465 * custom.el (custom-initialize-default, custom-initialize-set)
4466 (custom-initialize-reset, custom-initialize-changed): Affect the
4467 toplevel-default-value (bug#6275, bug#14586).
4468 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4469 for bug#6275.
4470
4471 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4474 Add cl-def* expressions.
4475
4476 * frameset.el (frameset-filter-params): Fix order of arguments.
4477
4478 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4479
4480 Move code related to saving frames to frameset.el.
4481 * desktop.el: Require frameset.
4482 (desktop-restore-frames): Doc fix.
4483 (desktop-restore-reuses-frames): Rename from
4484 desktop-restoring-reuses-frames.
4485 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4486 (desktop-clear): Clear frames too.
4487 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4488 (desktop--filter-tty*, desktop-save, desktop-read):
4489 Use frameset functions.
4490 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4491 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4492 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4493 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4494 (desktop--process-minibuffer-frames, desktop-save-frames)
4495 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4496 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4497 (desktop--sort-states, desktop-restoring-frames-p)
4498 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4499 (desktop-restoring-frameset-p, desktop-restore-frameset)
4500 (desktop--check-dont-save, desktop-save-frameset): New functions.
4501 (desktop--app-id): New constant.
4502 (desktop-first-buffer, desktop-buffer-ok-count)
4503 (desktop-buffer-fail-count): Move before first use.
4504 * frameset.el: New file.
4505
4506 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * files.el: Use lexical-binding.
4509 (dir-locals-read-from-file): Remove unused `err' variable.
4510 (hack-dir-local-variables--warned-coding): New var.
4511 (hack-dir-local-variables): Use it to avoid repeated warnings.
4512 (make-backup-file-name--default-function): New function.
4513 (make-backup-file-name-function): Use it as default.
4514 (buffer-stale--default-function): New function.
4515 (buffer-stale-function): Use it as default.
4516 (revert-buffer-insert-file-contents--default-function): New function.
4517 (revert-buffer-insert-file-contents-function): Use it as default.
4518 (insert-directory): Avoid add-to-list.
4519
4520 * autorevert.el (auto-revert-handler): Simplify.
4521 Use buffer-stale--default-function.
4522
4523 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4524
4525 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4526
4527 * whitespace.el (whitespace-ensure-local-variables): New function.
4528 (whitespace-cleanup-region): Call it.
4529 (whitespace-turn-on): Call it.
4530
4531 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4532
4533 Complete file name handlers.
4534
4535 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4536 (tramp-handle-verify-visited-file-modtime)
4537 (tramp-handle-file-notify-rm-watch): New functions.
4538 (tramp-call-process): Do not bind `default-directory'.
4539
4540 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4541 Order alphabetically.
4542 [access-file, add-name-to-file, dired-call-process]:
4543 [dired-compress-file, file-acl, file-notify-rm-watch]:
4544 [file-ownership-preserved-p, file-selinux-context]:
4545 [make-directory-internal, make-symbolic-link, set-file-acl]:
4546 [set-file-selinux-context, set-visited-file-modtime]:
4547 [verify-visited-file-modtime]: Add handler.
4548 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4549
4550 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4551 [file-notify-add-watch, file-notify-rm-watch]:
4552 [set-file-times, set-visited-file-modtime]:
4553 [verify-visited-file-modtime]: Add handler.
4554 (with-tramp-gvfs-error-message)
4555 (tramp-gvfs-handle-set-visited-file-modtime)
4556 (tramp-gvfs-fuse-file-name): Remove.
4557 (tramp-gvfs-handle-file-notify-add-watch)
4558 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4559 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4560
4561 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4562 Order alphabetically.
4563 [file-notify-rm-watch ]: Use default Tramp handler.
4564 [executable-find]: Remove private handler.
4565 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4566 `default-directory'.
4567 (tramp-sh-handle-executable-find)
4568 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4569 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4570 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4571 Do not use `format' in `tramp-message'.
4572
4573 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4574 [file-notify-rm-watch, set-visited-file-modtime]:
4575 [verify-visited-file-modtime]: Add handler.
4576 (tramp-smb-call-winexe): Do not bind `default-directory'.
4577
4578 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4579
4580 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4581
4582 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4583
4584 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4585 use it.
4586 (log-view-diff-changeset): Same.
4587 (log-view-diff-common): Call backend command `previous-revision'
4588 to find out the previous revision, in both cases. Swap the
4589 variables `to' and `fr', so that `fr' usually refers to the
4590 earlier revision (Bug#14989).
4591
4592 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4593
4594 * ibuf-ext.el (ibuffer-filter-by-filename):
4595 Make it work with dired buffers too.
4596
4597 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4598
4599 * emacs-lisp/re-builder.el (reb-color-display-p):
4600 * files.el (save-buffers-kill-terminal):
4601 * net/browse-url.el (browse-url):
4602 * server.el (server-save-buffers-kill-terminal):
4603 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4604 Prefer nil to selected-frame for the first arg of frame-parameter.
4605
4606 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4607
4608 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4609
4610 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4611
4612 * minibuffer.el (completion--twq-all): Try and preserve each
4613 completion's case choice (bug#14907).
4614
4615 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4616
4617 * net/network-stream.el (open-network-stream): Mention the new
4618 :nogreeting parameter.
4619 (network-stream-open-starttls): Use the :nogreeting parameter
4620 (bug#14938).
4621
4622 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4623
4624 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4625 more natural than popping.
4626
4627 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4628 (shr-urlify): Highlight under mouse.
4629
4630 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4631
4632 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4633
4634 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4635
4636 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4637 buffer for output.
4638
4639 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4640 point-min==1. Fix search string. Fix parentheses missing.
4641
4642 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4643 assume point-min==1. Fix search string. Fix parentheses missing.
4644
4645 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4646
4647 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4648 buffer for output.
4649
4650 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4651
4652 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4653 initial frame is minibuffer-less. (Bug#14841)
4654
4655 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4658 option.
4659
4660 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4661 (tramp-maybe-open-connection): Use it.
4662
4663 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4664
4665 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4666 minimal set of parameters passed when creating a frame, because
4667 the minibuffer status of a frame cannot be changed later.
4668
4669 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4670
4671 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4672 replace-regexp-in-string and inadvertent omissions in previous change.
4673 (todo-filter-items): Ensure only file names are comma-separated in
4674 name of filtered items buffer.
4675
4676 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * desktop.el: Optionally force offscreen frames back onscreen.
4679 (desktop-restoring-reuses-frames): New option.
4680 (desktop--compute-pos, desktop--move-onscreen): New functions.
4681 (desktop--make-frame): Use desktop--move-onscreen.
4682
4683 2013-07-27 Alan Mackenzie <acm@muc.de>
4684
4685 Fontify a Java generic method as a function.
4686 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4687 value to t.
4688
4689 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4690
4691 * calendar/todo-mode.el: Add command to rename todo files.
4692 (todo-rename-file): New command.
4693 (todo-key-bindings-t): Add key binding for it. Change the
4694 bindings of todo-filter-regexp-items(-multifile) to use `x'
4695 instead of `r', since the latter is better suited to the new
4696 renaming command.
4697
4698 2013-07-27 Alan Mackenzie <acm@muc.de>
4699
4700 Make Java try-with-resources statement parse properly.
4701 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4702 (c-block-stmt-1-2-key): New language constants/variables.
4703 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4704 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4705 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4706 with c-block-stmt-1-2-key.
4707
4708 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4709
4710 * desktop.el (desktop--make-frame): Apply most frame parameters after
4711 creating the frame to force (partially or totally) offscreen frames to
4712 be restored as such.
4713
4714 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4715
4716 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4717 (Bug#14948)
4718
4719 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4722 `base' arg of backtrace-frame.
4723
4724 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4725
4726 * simple.el (list-processes): Doc fix.
4727
4728 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4729
4730 * desktop.el (desktop--select-frame):
4731 Try harder to reuse existing frames.
4732
4733 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4736 (edebug-eval): Use backtrace-eval.
4737 (edebug--display, edebug--recursive-edit): Don't let-bind the
4738 edebug-outer-* vars that keep track of variables we locally let-bind.
4739 (edebug-outside-excursion): Don't restore outside values of locally
4740 let-bound vars.
4741 (edebug--display): Use user-error.
4742 (cl-lexical-debug, cl-debug-env): Remove.
4743
4744 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4747 are restored to be sure that they are visible before deleting any
4748 remaining ones.
4749
4750 2013-07-26 Matthias Meulien <orontee@gmail.com>
4751
4752 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4753 vc-print-root-log. (Bug#14948)
4754
4755 2013-07-26 Richard Stallman <rms@gnu.org>
4756
4757 Add aliases for encrypting mail.
4758 * epa.el (epa-mail-aliases): New option.
4759 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4760 Bind inhibit-read-only so read-only text doesn't ruin everything.
4761 (epa-mail-default-recipients): New subroutine broken out.
4762 Handle epa-mail-aliases.
4763
4764 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4765
4766 Add support for lexical variables to the debugger's `e' command.
4767 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4768 vars, except for debugger-outer-match-data.
4769 (debugger-frame-number): Move check for "on a function call" from
4770 callers into it. Add `skip-base' argument.
4771 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4772 (debugger-env-macro): Only reset the state stored in non-variables,
4773 i.e. current-buffer and match-data.
4774 (debugger-eval-expression): Rewrite using backtrace-eval.
4775 * subr.el (internal--called-interactively-p--get-frame): Remove.
4776 (called-interactively-p):
4777 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4778 `base' arg of backtrace-frame instead.
4779
4780 2013-07-26 Glenn Morris <rgm@gnu.org>
4781
4782 * align.el (align-regexp): Doc fix. (Bug#14857)
4783 (align-region): Explicit error if subexpression missing/does not match.
4784
4785 * simple.el (global-visual-line-mode):
4786 Do not duplicate the mode lighter. (Bug#14858)
4787
4788 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4789
4790 * window.el (display-buffer): In display-buffer bind
4791 split-window-keep-point to t, bug#14829.
4792
4793 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4794
4795 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4796 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4797 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4798 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4799 Change accordingly.
4800 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4801 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4802
4803 2013-07-25 Glenn Morris <rgm@gnu.org>
4804
4805 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4806
4807 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4808
4809 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4810 parameter to modify-frame-parameters if the value has not changed;
4811 this is a workaround for bug#14949.
4812 (desktop--make-frame): On cl-delete-if call, check parameter name,
4813 not full parameter.
4814
4815 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4816
4817 * vc/vc.el (vc-ignore): New function.
4818
4819 * vc/vc-svn.el (vc-svn-ignore): New function.
4820
4821 * vc/vc-hg.el (vc-hg-ignore): New function.
4822
4823 * vc/vc-git.el (vc-git-ignore): New function.
4824
4825 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4826 (vc-dir-ignore): New function.
4827
4828 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4829 (cvs-append-to-ignore): Move here from pcvs.el.
4830
4831 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4832
4833 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4834
4835 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4836
4837 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4838 (desktop-restore-frames): Warn when deleting an existing frame failed.
4839
4840 2013-07-24 Glenn Morris <rgm@gnu.org>
4841
4842 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4843
4844 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4845
4846 * filenotify.el (file-notify-supported-p):
4847 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4848 Remove functions.
4849
4850 * autorevert.el (auto-revert-use-notify):
4851 (auto-revert-notify-add-watch):
4852 * net/tramp.el (tramp-file-name-for-operation):
4853 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4854 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4855 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4856 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4857 Remove `file-notify-supported-p' entry.
4858
4859 2013-07-24 Glenn Morris <rgm@gnu.org>
4860
4861 * printing.el: Replace all uses of deleted ps-windows-system,
4862 ps-lp-system, ps-flatten-list with lpr- versions.
4863
4864 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4865
4866 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4867 checked with memq (bug#14935).
4868
4869 * files.el (revert-buffer-function): Use a non-nil default.
4870 (revert-buffer-preserve-modes): Declare var to
4871 provide access to the `preserve-modes' argument.
4872 (revert-buffer): Let-bind it.
4873 (revert-buffer--default): New function, extracted from revert-buffer.
4874
4875 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4876
4877 * lpr.el: Signal print errors more prominently.
4878 (print-region-function): Don't default to nil.
4879 (lpr-print-region): New function, extracted from print-region-1.
4880 Check lpr's return value and signal an error in case of problem.
4881 (print-region-1): Use it.
4882 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4883 versions instead.
4884 (ps-printer-name): Default to nil.
4885 (ps-printer-name-option): Default to lpr-printer-switch.
4886 (ps-print-region-function): Don't default to nil.
4887 (ps-postscript-code-directory): Simplify default.
4888 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4889 (ps-string-list, ps-eval-switch, ps-flatten-list)
4890 (ps-flatten-list-1): Remove.
4891 (ps-multibyte-buffer): Avoid setq.
4892 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4893 (print-region-function, ps-print-region-function): Don't set them here.
4894
4895 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4896
4897 * ido.el (ido-fractionp):
4898 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4899 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4900 (ido-max-directory-size, ido-max-dir-file-cache)
4901 (ido-decorations): Doc fix.
4902
4903 * ansi-color.el: Fix old URL.
4904
4905 2013-07-23 Michael R. Mauger <michael@mauger.com>
4906
4907 * progmodes/sql.el: Version 3.3
4908 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4909 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4910 (sql-interactive-remove-continuation-prompt): Rewrite, use
4911 functions above. Fix continuation prompt and complete output line
4912 handling.
4913 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4914 redirected output buffer.
4915 (sql-mode): Restore deleted code (Bug#13591).
4916
4917 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4918
4919 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4920
4921 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4922
4923 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4924
4925 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4926 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4927 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4928
4929 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4930
4931 * desktop.el (desktop-clear): Simplify; remove useless checks
4932 against invalid buffer names.
4933 (desktop-list*): Use cl-list*.
4934 (desktop-buffer-info, desktop-create-buffer): Simplify.
4935
4936 2013-07-23 Leo Liu <sdl.web@gmail.com>
4937
4938 * bookmark.el (bookmark-make-record): Restore NAME as a default
4939 value. (Bug#14933)
4940
4941 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4944 extracted from autoload--insert-text.
4945 (autoload--insert-text): Remove.
4946 (autoload--print-cookie-text): New function, extracted from
4947 autoload--insert-cookie-text.
4948 (autoload--insert-cookie-text): Remove.
4949 (autoload-generate-file-autoloads): Adjust calls accordingly.
4950
4951 * winner.el (winner-hook-installed-p): Remove.
4952 (winner-mode): Simplify accordingly.
4953
4954 * subr.el (add-to-list): Fix compiler-macro when `append' is
4955 not constant. Don't use `cl-member' for the base case.
4956
4957 * progmodes/subword.el: Fix boundary case (bug#13758).
4958 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4959 own group.
4960 (subword-backward-regexp): Make it a constant.
4961 (subword-forward-internal): Don't treat a trailing capital as the
4962 beginning of a word.
4963
4964 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4965
4966 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4967 global value of tabulated-list-revert-hook (bug#14930).
4968
4969 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * desktop.el: Require 'cl-lib.
4972 (desktop-before-saving-frames-functions): New hook.
4973 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4974 for frames being saved. Rename from desktop--save-minibuffer-frames.
4975 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4976 Do not save frames with non-nil `desktop-dont-save' parameter.
4977 Filter out deleted frames.
4978 (desktop--find-frame): Use cl-find-if.
4979 (desktop--select-frame): Use cl-(first|second|third) to access values
4980 of desktop-mini.
4981 (desktop--make-frame): Use cl-delete-if.
4982 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4983 (desktop-restore-frames): Use cl-(first|second|third) to access values
4984 of desktop-mini. Look for visible frame at the end, not while
4985 restoring frames.
4986
4987 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4988 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4989 Use string-match-p, looking-at-p (bug#14927).
4990
4991 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4992
4993 * desktop.el (desktop-saved-frame-states):
4994 Rename from desktop--saved-states; all users changed.
4995 (desktop-save-frames): Rename from desktop--save-frames.
4996 Do not save state to desktop file.
4997 (desktop-save): Save desktop-saved-frame-states to desktop file
4998 and reset to nil.
4999 (desktop-restoring-frames-p): New function.
5000 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5001 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5002 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5003
5004 * desktop.el: Correctly restore iconified frames.
5005 (desktop--filter-iconified-position): New function.
5006 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5007
5008 2013-07-20 Glenn Morris <rgm@gnu.org>
5009
5010 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5011 Let `message' do the formatting.
5012 (def-gdb-preempt-display-buffer): Add explicit format.
5013
5014 * image-dired.el (image-dired-track-original-file):
5015 Use with-current-buffer.
5016 (image-dired-track-thumbnail): Use with-current-buffer.
5017 Avoid changing point of wrong window.
5018
5019 * image-dired.el (image-dired-track-original-file):
5020 Avoid changing point of wrong window. (Bug#14909)
5021
5022 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5023
5024 * progmodes/gdb-mi.el (gdb-done-or-error):
5025 Guard against "%" in gdb output. (Bug#14127)
5026
5027 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5028
5029 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5030 (Bug#14826)
5031
5032 * international/mule.el (coding-system-iso-2022-flags): Fix last
5033 change.
5034
5035 2013-07-20 Kenichi Handa <handa@gnu.org>
5036
5037 * international/mule.el (coding-system-iso-2022-flags):
5038 Add `8-bit-level-4'. (Bug#8522)
5039
5040 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5041
5042 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5043 (bug#14815).
5044
5045 * net/eww.el (eww-process-text-input): Allow inputting when the
5046 point is at the start of the line, as the properties aren't
5047 front-sticky.
5048
5049 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5050 degenerate widths.
5051
5052 2013-07-19 Richard Stallman <rms@gnu.org>
5053
5054 * epa.el (epa-popup-info-window): Doc fix.
5055
5056 * subr.el (split-string): New arg TRIM.
5057
5058 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5059
5060 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5061 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5062
5063 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5064
5065 * filenotify.el (file-notify--library): Rename from
5066 `file-notify-support'. Do not autoload. Adapt all uses.
5067 (file-notify-supported-p): New defun.
5068
5069 * autorevert.el (auto-revert-use-notify):
5070 Use `file-notify-supported-p' instead of `file-notify-support'.
5071 Adapt docstring.
5072 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5073
5074 * net/tramp.el (tramp-file-name-for-operation):
5075 Add `file-notify-supported-p'.
5076
5077 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5078 New defun.
5079 (tramp-sh-file-name-handler-alist): Add it as handler for
5080 `file-notify-supported-p '.
5081
5082 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5083 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5084 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5085 Add `ignore' as handler for `file-notify-*' functions.
5086
5087 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5088
5089 * simple.el (line-move-partial, line-move): Don't start vscroll or
5090 scroll-up if the current line is not taller than the window.
5091 (Bug#14881)
5092
5093 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5094
5095 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5096 highlight question marks in the method names as strings.
5097 (ruby-block-beg-keywords): Inline.
5098 (ruby-font-lock-keyword-beg-re): Extract from
5099 `ruby-font-lock-keywords'.
5100
5101 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5102
5103 * frame.el (blink-cursor-blinks): New defcustom.
5104 (blink-cursor-blinks-done): New defvar.
5105 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5106 (blink-cursor-timer-function): Check if number of blinks has been
5107 done on X and NS.
5108 (blink-cursor-suspend, blink-cursor-check): New defuns.
5109
5110 2013-07-15 Glenn Morris <rgm@gnu.org>
5111
5112 * edmacro.el (edmacro-format-keys): Fix previous change.
5113
5114 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5115
5116 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5117 The hack didn't work outside English locales anyway.
5118
5119 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * simple.el (define-alternatives): Rename from alternatives-define,
5122 per RMS' suggestion.
5123
5124 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5125
5126 * desktop.el (desktop-restore-frames): Change default to t.
5127 (desktop-restore-in-current-display): Now offer more options.
5128 (desktop-restoring-reuses-frames): New customization option.
5129 (desktop--saved-states): Doc fix.
5130 (desktop-filter-parameters-alist): New variable, renamed and expanded
5131 from desktop--excluded-frame-parameters.
5132 (desktop--target-display): New variable.
5133 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5134 (desktop--filter-tty*, desktop--filter-*-color)
5135 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5136 (desktop--filter-save-desktop-parm)
5137 (desktop-restore-in-original-display-p): New functions.
5138 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5139 (desktop--save-minibuffer-frames): New function, inspired by a similar
5140 function from Martin Rudalics.
5141 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5142 (desktop--restore-in-this-display-p): Remove.
5143 (desktop--find-frame): Rename from desktop--find-frame-in-display
5144 and add predicate argument.
5145 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5146 (desktop--reuse-list): New variable.
5147 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5148 New functions.
5149 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5150
5151 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5152
5153 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5154
5155 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5156
5157 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5158 Highlight conversion methods on Kernel.
5159
5160 2013-07-13 Alan Mackenzie <acm@muc.de>
5161
5162 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5163 and comment it out. This out-commenting enables certain C++
5164 declarations to be parsed correctly.
5165
5166 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5167
5168 * international/mule.el (define-coding-system): Doc fix.
5169
5170 * simple.el (default-font-height): Don't call font-info if the
5171 frame's default font didn't change since the frame was created.
5172 (Bug#14838)
5173
5174 2013-07-13 Leo Liu <sdl.web@gmail.com>
5175
5176 * ido.el (ido-read-file-name): Guard against non-symbol value.
5177
5178 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5179
5180 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5181 in nested defuns.
5182
5183 2013-07-13 Leo Liu <sdl.web@gmail.com>
5184
5185 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5186 ido-set-matches call. (Bug#6852)
5187
5188 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5189
5190 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5191 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5192 Ruby 2.0.
5193 (ruby-font-lock-keywords): Distinguish calls to functions with
5194 module-like names from module references. Highlight character
5195 literals.
5196
5197 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5198
5199 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5200 (gdb-send): Handle continued commands. (Bug#14847)
5201
5202 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5203
5204 * desktop.el (desktop--v2s): Remove unused local variable.
5205 (desktop-save-buffer): Make defvar-local; adjust docstring.
5206 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5207 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5208
5209 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5210
5211 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5212
5213 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5214
5215 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5216 (Bug#14842)
5217
5218 2013-07-12 Glenn Morris <rgm@gnu.org>
5219
5220 * doc-view.el: Require cl-lib at runtime too.
5221 (doc-view-remove-if): Remove.
5222 (doc-view-search-next-match, doc-view-search-previous-match):
5223 Use cl-remove-if.
5224
5225 * edmacro.el: Require cl-lib at runtime too.
5226 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5227 (edmacro-mismatch, edmacro-subseq): Remove.
5228
5229 * shadowfile.el: Require cl-lib.
5230 (shadow-remove-if): Remove.
5231 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5232 Use cl-remove-if.
5233
5234 * wid-edit.el: Require cl-lib.
5235 (widget-choose): Use cl-remove-if.
5236 (widget-remove-if): Remove.
5237
5238 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5239 (ebrowse-delete-if-not): Remove.
5240 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5241 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5242 Use cl-delete-if-not.
5243
5244 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5245
5246 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5247 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5248
5249 2013-07-12 Leo Liu <sdl.web@gmail.com>
5250
5251 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5252
5253 2013-07-11 Glenn Morris <rgm@gnu.org>
5254
5255 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5256 (edebug-gensym-index, edebug-gensym):
5257 Remove reimplementation of cl-gensym.
5258 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5259
5260 * thumbs.el: Require cl-lib at run-time too.
5261 (thumbs-gensym-counter, thumbs-gensym):
5262 Remove reimplementation of cl-gensym.
5263 (thumbs-temp-file): Use cl-gensym.
5264
5265 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5266 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5267 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5268 (ert--union, ert--gensym-counter, ert--gensym-counter)
5269 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5270 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5271 (ert-make-test-unbound, ert--expand-should-1)
5272 (ert--expand-should, ert--should-error-handle-error)
5273 (should-error, ert--explain-equal-rec)
5274 (ert--plist-difference-explanation, ert-select-tests)
5275 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5276 Use cl-lib functions rather than reimplementations.
5277
5278 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5279
5280 * net/tramp.el (tramp-methods): Extend docstring.
5281 (tramp-connection-timeout): New defcustom.
5282 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5283 (with-tramp-progress-reporter): Simplify.
5284 (tramp-process-actions): Improve messages.
5285
5286 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5287 * net/tramp-sh.el (tramp-maybe-open-connection):
5288 Use `tramp-connection-timeout'.
5289 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5290 (Bug#14808)
5291
5292 2013-07-11 Leo Liu <sdl.web@gmail.com>
5293
5294 * ido.el (ido-read-file-name): Conform to the requirements of
5295 read-file-name. (Bug#11861)
5296 (ido-read-directory-name): Conform to the requirements of
5297 read-directory-name.
5298
5299 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5300
5301 * subr.el (delay-warning): New function.
5302
5303 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5304
5305 * simple.el (default-line-height): New function.
5306 (line-move-partial, line-move): Use it instead of computing the
5307 line height inline.
5308 (line-move-partial): Always compute ROWH. If the last line is
5309 partially-visible, but its text is completely visible, allow
5310 cursor to enter such a partially-visible line.
5311
5312 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5313
5314 Improve error messages. (Bug#14808)
5315
5316 * net/tramp.el (tramp-current-connection): New defvar, moved from
5317 tramp-sh.el.
5318 (tramp-message-show-progress-reporter-message): Remove, not
5319 needed anymore.
5320 (tramp-error-with-buffer): Show message in minibuffer.
5321 Discard input before waiting. Reset connection timestamp.
5322 (with-tramp-progress-reporter): Improve messages.
5323 (tramp-process-actions): Use progress reporter. Delete process in
5324 case of error. Improve messages.
5325
5326 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5327 Call `tramp-error-with-buffer' with vector and buffer.
5328 (tramp-current-connection): Remove.
5329 (tramp-maybe-open-connection): The car of
5330 `tramp-current-connection' are the first 3 slots of the vector.
5331
5332 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5333
5334 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5335 inside continued strings.
5336
5337 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5338
5339 Timestamp fixes for undo (Bug#14824).
5340 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5341
5342 2013-07-10 Leo Liu <sdl.web@gmail.com>
5343
5344 * files.el (require-final-newline): Allow safe local value.
5345 (Bug#14834)
5346
5347 2013-07-09 Leo Liu <sdl.web@gmail.com>
5348
5349 * ido.el (ido-read-directory-name): Handle fallback.
5350 (ido-read-file-name): Update DIR to ido-current-directory.
5351 (Bug#1516)
5352 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5353
5354 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5355
5356 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5357 "autoload". Remove "warn lower camel case" section, previously
5358 commented out. Highlight negation char. Do not highlight the
5359 target in singleton method definitions.
5360
5361 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5362
5363 * faces.el (tty-setup-hook): Declare the hook.
5364
5365 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5366 and detect when a guard/pred depends on local vars (bug#14773).
5367 (pcase--u1): Adjust caller.
5368
5369 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5370
5371 * simple.el (line-move-partial, line-move): Account for
5372 line-spacing.
5373 (line-move-partial): Avoid setting vscroll when the last
5374 partially-visible line in window is of default height.
5375
5376 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5377
5378 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5379 been used a while.
5380
5381 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5382
5383 * subr.el (read-quoted-char): Remove unused local variable `char'.
5384
5385 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5386
5387 * ediff.el (ediff-version): Version update.
5388 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5389 (ediff-merge-with-ancestor-command, ediff-directories-command)
5390 (ediff-directories3-command, ediff-merge-directories-command)
5391 (ediff-merge-directories-with-ancestor-command): New functions.
5392 All are command-line interfaces to ediff: to facilitate calling
5393 Emacs with the appropriate ediff functions invoked.
5394
5395 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5396 (viper-save-kill-buffer): Check if buffer is modified.
5397
5398 * viper.el (viper-version): Version update.
5399 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5400
5401 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5404 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5405 (viper-intercept-ESC-key): Simplify.
5406 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5407 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5408 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5409 (viper-setup-ESC-to-escape): New functions.
5410 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5411 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5412
5413 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5414
5415 * simple.el (default-font-height, window-screen-lines):
5416 New functions.
5417 (line-move, line-move-partial): Use them instead of
5418 frame-char-height and window-text-height. This makes scrolling
5419 text smoother when the buffer's default face uses a font that is
5420 different from the frame's default font.
5421
5422 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5423
5424 * files.el (write-file): Do not display confirm dialog for NS,
5425 it does its own dialog, which can't be cancelled (Bug#14578).
5426
5427 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5428
5429 * simple.el (line-move-partial): Adjust the row returned by
5430 posn-at-point for the current window-vscroll. (Bug#14567)
5431
5432 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5433
5434 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5435 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5436 spaces.
5437
5438 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5439
5440 * window.el (window-state-put-stale-windows): New variable.
5441 (window--state-put-2): Save list of windows without matching buffer.
5442 (window-state-put): Remove "bufferless" windows if possible.
5443
5444 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5445
5446 * simple.el (alternatives-define): Remove leftover :group keyword.
5447 Tweak docstring.
5448
5449 2013-07-06 Leo Liu <sdl.web@gmail.com>
5450
5451 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5452 (ido-enable-virtual-buffers): New variable.
5453 (ido-buffer-internal, ido-toggle-virtual-buffers)
5454 (ido-make-buffer-list): Use it.
5455 (ido-exhibit): Support turning on and off virtual buffers
5456 automatically.
5457
5458 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5459
5460 * simple.el (alternatives-define): New macro.
5461
5462 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5463
5464 * subr.el (read-quoted-char): Use read-key.
5465 (sit-for): Let read-event decode tty input (bug#14782).
5466
5467 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5468
5469 * calendar/todo-mode.el: Add handling of file deletion, both by
5470 mode command and externally. Fix various related bugs.
5471 Clarify Commentary and improve some documentation strings and code.
5472 (todo-delete-file): New command.
5473 (todo-check-file): New function.
5474 (todo-show): Handle external deletion of the file we're trying to
5475 show (bug#14688). Replace called-interactively-p by an optional
5476 prefix argument to avoid problematic interaction with catch form
5477 when byte compiled (bug#14702).
5478 (todo-quit): Handle external deletion of the archive's todo file.
5479 Make sure the buffer that was visiting the archive file is still
5480 live before trying to bury it.
5481 (todo-category-completions): Handle external deletion of any
5482 category completion files.
5483 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5484 of todo files, in case of external deletion.
5485 (todo-add-file): Replace unnecessary setq by let-binding.
5486 (todo-find-archive): Check whether there are any archives.
5487 Replace unnecessary setq by let-binding.
5488 (todo-archive-done-item): Use find-file-noselect to get the
5489 archive buffer whether or not the archive already exists.
5490 Remove superfluous code. Use file size instead of buffer-file-name to
5491 check if the archive is new; if it is, update list of archives.
5492 (todo-default-todo-file): Allow nil to be a valid value for when
5493 there are no todo files.
5494 (todo-reevaluate-default-file-defcustom): Use corrected definition
5495 of todo-default-todo-file.
5496 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5497 (todo-delete-category, todo-show-categories-table)
5498 (todo-category-number): Clarify comment.
5499 (todo-filter-items): Clarify documentation string.
5500 (todo-show-current-file, todo-display-as-todo-file)
5501 (todo-reset-and-enable-done-separator): Tweak documentation string.
5502 (todo-done-separator): Make separator length window-width, since
5503 bug#2749 is now fixed.
5504
5505 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5506
5507 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5508 Support both "gvfs-monitor-dir" and "inotifywait".
5509 (tramp-sh-file-inotifywait-process-filter): Rename from
5510 `tramp-sh-file-notify-process-filter'.
5511 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5512 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5513
5514 2013-07-05 Leo Liu <sdl.web@gmail.com>
5515
5516 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5517
5518 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5519
5520 * frame.el (display-pixel-height, display-pixel-width)
5521 (display-mm-height, display-mm-width): Mention behavior on
5522 multi-monitor setups in docstrings.
5523 (w32-display-monitor-attributes-list): Declare function.
5524 (display-monitor-attributes-list): Use it.
5525
5526 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5527
5528 * filenotify.el: New package.
5529
5530 * autorevert.el (top): Require filenotify.el.
5531 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5532 instead.
5533 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5534 (auto-revert-notify-handler): Use `file-notify-*' functions.
5535
5536 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5537
5538 * net/tramp.el (tramp-file-name-for-operation):
5539 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5540
5541 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5542 for `file-notify-add-watch' and `file-notify-rm-watch'.
5543 (tramp-process-sentinel): Improve trace.
5544 (tramp-sh-handle-file-notify-add-watch)
5545 (tramp-sh-file-notify-process-filter)
5546 (tramp-sh-handle-file-notify-rm-watch)
5547 (tramp-get-remote-inotifywait): New defuns.
5548
5549 2013-07-03 Juri Linkov <juri@jurta.org>
5550
5551 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5552 call of `occur-read-primary-args' to interactive spec.
5553
5554 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5555 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5556
5557 2013-07-03 Matthias Meulien <orontee@gmail.com>
5558
5559 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5560 `Buffer-menu-multi-occur'. Add it to the menu.
5561 (Buffer-menu-mode): Document it in docstring.
5562 (Buffer-menu-multi-occur): New command. (Bug#14673)
5563
5564 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5565
5566 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5567 keywords and built-ins.
5568
5569 2013-07-03 Glenn Morris <rgm@gnu.org>
5570
5571 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5572
5573 Make info-xref checks case-sensitive by default
5574 * info.el (Info-find-node, Info-find-in-tag-table)
5575 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5576 Add option for exact case matching of nodes.
5577 * info-xref.el (info-xref): New custom group.
5578 (info-xref-case-fold): New option.
5579 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5580
5581 2013-07-03 Leo Liu <sdl.web@gmail.com>
5582
5583 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5584
5585 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5586
5587 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5588 middle of block statement initially, lower the depth. Remove
5589 FIXME comment, not longer valid. Remove middle of block statement
5590 detection, no need to do that anymore since we've been using
5591 `ruby-parse-region' here.
5592
5593 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5594
5595 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5596
5597 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5598
5599 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5600
5601 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5602
5603 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5604 (desktop-restore-in-current-display): New customization option.
5605 (desktop--excluded-frame-parameters): Add `font'.
5606 (desktop--save-frames): Rename from desktop--save-windows.
5607 (desktop--restore-in-this-display-p): New function.
5608 (desktop--make-full-frame): Remove unwanted width/height from
5609 full(width|height) frames.
5610 (desktop--restore-frames): Rename from desktop--restore-windows.
5611 Obey desktop-restore-current-display. Do not delete old frames or
5612 select a new frame unless we were able to restore at least one frame.
5613
5614 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5615
5616 * files.el (find-file-noselect): Simplify conditional expression.
5617
5618 * remember.el (remember-append-to-file):
5619 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5620
5621 Add `remember-notes' function to store random notes across Emacs
5622 restarts.
5623 * remember.el (remember-data-file): Add :set callback to affect
5624 notes buffer (if any).
5625 (remember-notes): New command.
5626 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5627 New defcustoms for the `remember-notes' function.
5628 (remember-notes-save-and-bury-buffer): New command.
5629 (remember-notes-mode-map): New variable.
5630 (remember-mode): New minor mode.
5631 (remember-notes--kill-buffer-query): New function.
5632 * startup.el (initial-buffer-choice): Add notes to custom type.
5633
5634 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5635
5636 * bindings.el (right-char, left-char): Don't call sit-for, this is
5637 no longer needed. Use arithmetic comparison only for numerical
5638 arguments.
5639
5640 * international/mule-cmds.el (select-safe-coding-system):
5641 Handle the case of FROM being a string correctly. (Bug#14755)
5642
5643 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5644
5645 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5646 progression on degenerate tables.
5647 (shr-rescale-image): ImageMagick animated images currently don't work.
5648
5649 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5650
5651 Some fixes and improvements for desktop frame restoration.
5652 It is still experimental and disabled by default.
5653 * desktop.el (desktop--save-windows): Put the selected frame at
5654 the head of the list.
5655 (desktop--make-full-frame): New function.
5656 (desktop--restore-windows): Try to re-select the frame that was
5657 selected upon saving. Do not abort if some frames fail to restore,
5658 just show an error message and continue. Set up maximized frames
5659 so they have default non-maximized dimensions.
5660
5661 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5662
5663 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5664 Don't start heredoc inside a string or comment.
5665
5666 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5667
5668 * bindings.el (visual-order-cursor-movement): New defcustom.
5669 (right-char, left-char): Provide visual-order cursor motion by
5670 calling move-point-visually. Update the doc strings.
5671
5672 2013-06-28 Kenichi Handa <handa@gnu.org>
5673
5674 * international/mule.el (define-coding-system): New coding system
5675 properties :inhibit-null-byte-detection,
5676 :inhibit-iso-escape-detection, and :prefer-utf-8.
5677 (set-buffer-file-coding-system): If :charset-list property of
5678 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5679 appropriate for setting.
5680
5681 * international/mule-cmds.el (select-safe-coding-system):
5682 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5683 multibyte characters, return utf-8 (or one of its siblings).
5684
5685 * international/mule-conf.el (prefer-utf-8): New coding system.
5686 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5687 files.
5688
5689 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5690
5691 * net/shr.el (shr-render-region): New function.
5692
5693 * net/eww.el: Autoload `eww-browse-url'.
5694
5695 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5696
5697 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5698 Adapt to `package-desc-version' being a list.
5699 Use `package--ac-desc-version' to retrieve version from a package
5700 archive element.
5701
5702 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5703
5704 New experimental feature to save&restore window and frame setup.
5705 * desktop.el (desktop-save-windows): New defcustom.
5706 (desktop--saved-states): New var.
5707 (desktop--excluded-frame-parameters): New defconst.
5708 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5709 (desktop--restore-windows, desktop--save-windows): New functions.
5710 (desktop-save): Call `desktop--save-windows'.
5711 (desktop-read): Call `desktop--restore-windows'.
5712
5713 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5714
5715 * net/shr.el (add-face-text-property): Remove compat definition.
5716
5717 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5718
5719 * info.el (Info-try-follow-nearest-node): Move search for footnote
5720 above search for node name to prevent missing a footnote (bug#14717).
5721
5722 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5723
5724 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5725
5726 2013-06-27 Leo Liu <sdl.web@gmail.com>
5727
5728 * net/eww.el (eww-read-bookmarks): Check file size.
5729
5730 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5731
5732 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5733 advice--pending if newdef is nil or an autoload (bug#13820).
5734 (advice-mapc): New function.
5735
5736 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5737
5738 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5739 probably.
5740 (eww-mode-map): Add a menu bar.
5741 (eww-add-bookmark): New command.
5742 (eww-bookmark-mode): New mode and commands.
5743 (eww-add-bookmark): Remove newlines from the title.
5744 (eww-bookmark-browse): Don't bug out if it's the only window.
5745
5746 2013-06-26 Glenn Morris <rgm@gnu.org>
5747
5748 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5749 (hfy-size): Handle ttys. (Bug#14668)
5750
5751 * info-xref.el: Update for Texinfo 5 change in *note format.
5752 (info-xref-node-re, info-xref-note-re): New constants.
5753 (info-xref-check-buffer): Use info-xref-note-re.
5754
5755 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5756
5757 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5758
5759 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5760 nil terminate the loop (bug#14718).
5761
5762 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5763
5764 * net/eww.el: Rework history traversal. When going forward/back,
5765 put these actions into the history, too, so that they can be
5766 replayed.
5767 (eww-render): Move the history reset to the correct buffer.
5768
5769 2013-06-25 Juri Linkov <juri@jurta.org>
5770
5771 * files-x.el (modify-dir-local-variable): Change the header comment
5772 in the file with directory local variables. (Bug#14692)
5773
5774 * files-x.el (read-file-local-variable-value): Add `default'.
5775 (Bug#14710)
5776
5777 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5778
5779 * net/eww.el (eww-make-unique-file-name): Create a unique file
5780 name before saving to entering `y' accidentally asynchronously.
5781
5782 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5783
5784 * net/eww.el (eww-download): New command and keystroke.
5785
5786 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5787
5788 * net/eww.el (eww-copy-page-url): Change name of command.
5789
5790 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5791 be more consistent with Info and dired.
5792
5793 * net/eww.el (eww-mode-map): Ditto.
5794
5795 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5798 packages from archives.
5799 (package-archive-contents): Change format; include obsolete packages.
5800 (package-desc): Use `dir' to mark builtin packages.
5801 (package--from-builtin): Set the `dir' field to `builtin'.
5802 (generated-autoload-file, version-control): Declare.
5803 (package-compute-transaction): Change first arg and return value to be
5804 lists of package-descs. Adjust to new package-archive-contents format.
5805 (package--add-to-archive-contents): Adjust to new
5806 package-archive-contents format.
5807 (package-download-transaction): Arg is now a list of package-descs.
5808 (package-install): If `pkg' is a package name, pass it as
5809 a requirement, so it is subject to the usual (e.g. disabled) checks.
5810 (describe-package): Accept package-desc as well.
5811 (describe-package-1): Describe a specific package-desc. Add links to
5812 other package-descs for the same package name.
5813 (package-menu-describe-package): Pass the actual package-desc.
5814 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5815 works correctly.
5816 (package-desc-status): New function.
5817 (package-menu--refresh): New function, extracted
5818 from package-menu--generate.
5819 (package-menu--generate): Use it.
5820 (package-delete): Update package-alist.
5821 (package-menu-execute): Don't call package-initialize.
5822
5823 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5824 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5825 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5826 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5827 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5828 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5829
5830 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5831
5832 * window.el (window--state-get-1): Workaround for bug#14527.
5833 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5834
5835 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5836
5837 * net/eww.el (eww-back-url): Implement the history by stashing all
5838 the data into a list.
5839 (eww-forward-url): Allow going forward in the history, too.
5840
5841 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5842
5843 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5844 for values and use read--expression for expressions (bug#14710).
5845 (read-file-local-variable): Avoid setq.
5846 (read-file-local-variable-mode): Use minor-mode-list.
5847
5848 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5849
5850 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5851 for DOI URLs.
5852
5853 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5854
5855 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5856 Update imenu-support when dialect changes.
5857
5858 2013-06-25 Leo Liu <sdl.web@gmail.com>
5859
5860 * ido.el (ido-read-internal): Allow forward slash on windows.
5861
5862 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5863
5864 * net/eww.el (eww): Start of strings is \\`, not ^.
5865
5866 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5867
5868 * net/shr.el (shr-browse-url): Fix interactive spec.
5869
5870 * net/eww.el (eww): Add a trailing slash to domain names.
5871
5872 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5873
5874 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5875
5876 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5877
5878 * net/shr.el (shr-browse-url): Use an external browser if given a
5879 prefix.
5880
5881 * net/eww.el (eww-external-browser): Move to shr.
5882
5883 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5884
5885 * net/eww.el (eww): Work more correctly for file: URLs.
5886 (eww-detect-charset): Allow quoted charsets.
5887 (eww-yank-page-url): New command and keystroke.
5888
5889 2013-06-24 Daiki Ueno <ueno@gnu.org>
5890
5891 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5892 file name of gpg executable.
5893 (epg-context-program): New function.
5894 (epg-context-home-directory): New function.
5895 (epg-context-set-program): New function.
5896 (epg-context-set-home-directory): New function.
5897 (epg--start): Use `epg-context-program' instead of
5898 'epg-gpg-program'.
5899 (epg--list-keys-1): Likewise.
5900
5901 2013-06-24 Leo Liu <sdl.web@gmail.com>
5902
5903 * ido.el (ido-read-internal): Fix bug#14620.
5904
5905 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5906
5907 * faces.el (face-documentation): Simplify.
5908 (read-face-attribute, tty-find-type, x-resolve-font-name):
5909 Use `string-match-p'.
5910 (list-faces-display): Use `string-match-p'. Simplify.
5911 (face-spec-recalc): Check face to avoid face alias loops.
5912 (read-color): Use `string-match-p' and non-capturing parenthesis.
5913
5914 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915
5916 * net/shr.el (shr-rescale-image): Use the new
5917 :max-width/:max-height functionality.
5918
5919 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5920
5921 * net/eww.el (eww-search-prefix): New variable.
5922 (eww): Use it.
5923 (eww-external-browser): New variable.
5924 (eww-mode-map): New keystroke.
5925 (eww-browse-with-external-browser): New command.
5926
5927 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5928
5929 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5930
5931 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5932 Don't skip aligning the next header field when padding is 0;
5933 otherwise, field width is not respected unless the title is as
5934 wide as the field.
5935
5936 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5937
5938 * emacs-lisp/package.el (package-el-version): Remove.
5939 (package-process-define-package): Fix inf-loop.
5940 (package-install): Allow symbols as arguments again.
5941
5942 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5943
5944 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5945 add some more keyword-like methods.
5946 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5947
5948 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5949
5950 * bs.el (bs-buffer-show-mark): Make defvar-local.
5951 (bs-mode): Use setq-local.
5952
5953 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5954 (emacs-lock--try-unlocking): Make defvar-local.
5955
5956 2013-06-22 Glenn Morris <rgm@gnu.org>
5957
5958 * play/cookie1.el (cookie-apropos): Minor simplification.
5959
5960 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5961
5962 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5963
5964 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5965 `regexp-opt', it breaks the build during dumping.
5966
5967 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5968
5969 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5970 Highlight keyword-like methods on Kernel and Module with
5971 font-lock-builtin-face.
5972 (auto-mode-alist): Consolidate different entries into one regexp
5973 and add more *file-s.
5974
5975 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5976
5977 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5978
5979 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5980 (diary-entry): Use it in the action of this button type instead of
5981 diary-goto-entry.
5982
5983 * calendar/todo-mode.el: New version.
5984 (todo-add-category): Append new category to end of file and give
5985 it the highest number, instead of putting it at the beginning and
5986 giving it 0. Incorporate noninteractive functionality.
5987 (todo-forward-category): Adapt to 1-based category numbering.
5988 Allow skipping over archived categories.
5989 (todo-backward-category): Derive from todo-forward-category.
5990 (todo-backward-item, todo-forward-item): Make noninteractive and
5991 delegate interactive part to new commands. Make sensitive to done items.
5992 (todo-categories): Make value an alist of category names and
5993 vectors of item counts.
5994 (todo-category-beg): Make a defconst.
5995 (todo-category-number): Use 1 instead of 0 as initial value.
5996 (todo-category-select): Make sensitive to overlays, optional item
5997 highlighting and done items.
5998 (todo-delete-item): Make sensitive to overlays and marked and done items.
5999 (todo-edit-item): Make sensitive to overlays and editing of
6000 date/time header optional. Add format checks.
6001 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6002 no-op if point is not on an item. Advertise using todo-edit-quit.
6003 (todo-edit-mode): Make sensitive to new format, font-locking, and
6004 multiple todo files.
6005 (todo-insert-item, todo-insert-item-here): Derive from
6006 todo-basic-insert-item and extend functionality.
6007 (todo-item-end, todo-item-start): Make sensitive to done items.
6008 (todo-item-string): Don't return text properties. Restore point.
6009 (todo-jump-to-category): Make sensitive to multiple todo files and
6010 todo archives. Use extended category completion.
6011 (todo-lower-item, todo-raise-item): Rename to *-priority and
6012 derive from todo-set-item-priority.
6013 (todo-mode): Derive from special-mode. Make sensitive to new
6014 format, font-locking and multiple todo files. Make read-only.
6015 (todo-mode-map): Don't suppress digit keys, so they can supply
6016 prefix arguments. Add many new key bindings.
6017 (todo-prefix): Insert as an overlay instead of file text.
6018 Change semantics from diary date expression to purely visual mark.
6019 (todo-print): Rename to todo-print-buffer. Make buffer display
6020 features printable. Remove option to restrict number of items
6021 printed. Add option to print to file.
6022 (todo-print-function): Rename to todo-print-buffer-function.
6023 (todo-quit): Extend to handle exiting new todo modes.
6024 (todo-remove-item): Make sensitive to overlays.
6025 (todo-save): Extend to buffers of filtered items.
6026 (todo-show): Make sensitive to done items, multiple todo files and
6027 new todo modes. Offer to convert legacy todo file before creating
6028 first new todo file.
6029 (todo-show-priorities): Rename to todo-top-priorities.
6030 Change semantics of value 0.
6031 (todo-top-priorities): Rename to todo-filter-top-priorities,
6032 derive from todo-filter-items and extend functionality.
6033 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6034 and extend functionality to other types of filtered items.
6035 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6036 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6037 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6038 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6039 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6040 (todo-edit-mode-hook, todo-entry-prefix-function)
6041 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6042 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6043 (todo-initials, todo-insert-threshold, todo-item-string-start)
6044 (todo-line-string, todo-menu, todo-mode-hook)
6045 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6046 (todo-print-priorities, todo-remove-separator)
6047 (todo-save-top-priorities-too, todo-string-count-lines)
6048 (todo-string-multiline-p, todo-time-string-format)
6049 (todo-tmp-buffer-name): Remove.
6050 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6051 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6052 (todo-edit-category-diary-inclusion)
6053 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6054 (todo-edit-file, todo-edit-item-date-day)
6055 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6056 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6057 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6058 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6059 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6060 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6061 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6062 (todo-filter-top-priorities-multifile, todo-find-archive)
6063 (todo-find-filtered-items-file, todo-go-to-source-item)
6064 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6065 (todo-jump-to-archive-category, todo-lower-category)
6066 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6067 (todo-move-category, todo-move-item, todo-next-button)
6068 (todo-next-item, todo-padded-string, todo-powerset)
6069 (todo-previous-button, todo-previous-item)
6070 (todo-print-buffer-to-file, todo-raise-category)
6071 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6072 (todo-set-category-number, todo-set-item-priority)
6073 (todo-set-top-priorities-in-category)
6074 (todo-set-top-priorities-in-file, todo-show-categories-table)
6075 (todo-sort-categories-alphabetically-or-numerically)
6076 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6077 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6078 (todo-toggle-item-header, todo-toggle-item-highlighting)
6079 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6080 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6081 (todo-unarchive-items, todo-unmark-category): New commands.
6082 (todo-absolute-file-name, todo-add-to-buffer-list)
6083 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6084 (todo-basic-insert-item, todo-category-completions)
6085 (todo-category-number, todo-category-string-matcher-1)
6086 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6087 (todo-check-format, todo-clear-matches)
6088 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6089 (todo-current-category, todo-date-string-matcher)
6090 (todo-define-insertion-command, todo-diary-expired-matcher)
6091 (todo-diary-goto-entry, todo-diary-item-p)
6092 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6093 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6094 (todo-done-item-section-p, todo-done-separator)
6095 (todo-done-string-matcher, todo-files, todo-filter-items)
6096 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6097 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6098 (todo-insert-category-line, todo-insert-item-from-calendar)
6099 (todo-insert-sort-button, todo-insert-with-overlays)
6100 (todo-insertion-command-name, todo-insertion-key-bindings)
6101 (todo-label-to-key, todo-longest-category-name-length)
6102 (todo-make-categories-list, todo-mode-external-set)
6103 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6104 (todo-modes-set-3, todo-multiple-filter-files)
6105 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6106 (todo-read-category, todo-read-date, todo-read-dayname)
6107 (todo-read-file-name, todo-read-time)
6108 (todo-reevaluate-category-completions-files-defcustom)
6109 (todo-reevaluate-default-file-defcustom)
6110 (todo-reevaluate-filelist-defcustoms)
6111 (todo-reevaluate-filter-files-defcustom)
6112 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6113 (todo-reset-done-separator, todo-reset-done-separator-string)
6114 (todo-reset-done-string, todo-reset-global-current-todo-file)
6115 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6116 (todo-reset-prefix, todo-set-categories)
6117 (todo-set-date-from-calendar, todo-set-show-current-file)
6118 (todo-set-top-priorities, todo-short-file-name)
6119 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6120 (todo-total-item-counts, todo-update-buffer-list)
6121 (todo-update-categories-display, todo-update-categories-sexp)
6122 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6123 New functions.
6124 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6125 New major modes.
6126 (todo-categories, todo-display, todo-edit, todo-faces)
6127 (todo-filtered): New defgroups.
6128 (todo-archived-only, todo-button, todo-category-string, todo-date)
6129 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6130 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6131 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6132 (todo-add-item-if-new-category, todo-always-add-time-string)
6133 (todo-categories-align, todo-categories-archived-label)
6134 (todo-categories-category-label, todo-categories-diary-label)
6135 (todo-categories-done-label, todo-categories-number-separator)
6136 (todo-categories-todo-label, todo-categories-totals-label)
6137 (todo-category-completions-files, todo-completion-ignore-case)
6138 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6139 (todo-done-separator-string, todo-done-string)
6140 (todo-files-function, todo-filter-done-items, todo-filter-files)
6141 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6142 (todo-initial-category, todo-initial-file, todo-item-mark)
6143 (todo-legacy-date-time-regexp, todo-mode-line-function)
6144 (todo-nondiary-marker, todo-number-prefix)
6145 (todo-print-buffer-function, todo-show-current-file)
6146 (todo-show-done-only, todo-show-first, todo-show-with-done)
6147 (todo-skip-archived-categories, todo-top-priorities-overrides)
6148 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6149 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6150 New defcustoms.
6151 (todo-category-done, todo-date-pattern, todo-date-string-start)
6152 (todo-diary-items-buffer, todo-done-string-start)
6153 (todo-filtered-items-buffer, todo-item-start)
6154 (todo-month-abbrev-array, todo-month-name-array)
6155 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6156 (todo-top-priorities-buffer): New defconsts.
6157 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6158 (todo-categories-with-marks, todo-category-string-face)
6159 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6160 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6161 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6162 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6163 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6164 (todo-font-lock-keywords, todo-global-current-todo-file)
6165 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6166 (todo-insertion-commands-args)
6167 (todo-insertion-commands-args-genlist)
6168 (todo-insertion-commands-names, todo-insertion-map)
6169 (todo-key-bindings-t, todo-key-bindings-t+a)
6170 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6171 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6172 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6173 (todo-visited): New variables.
6174
6175 2013-06-21 Glenn Morris <rgm@gnu.org>
6176
6177 * play/cookie1.el (cookie-apropos): Add optional display argument.
6178 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6179 (psychoanalyze-pinhead): Use cookie-doctor.
6180
6181 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * emacs-lisp/package.el (tar-get-file-descriptor)
6184 (tar--extract): Declare.
6185
6186 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6187
6188 Extend flymake's warning predicate to be a function (bug#14217).
6189 * progmodes/flymake.el (flymake-warning-predicate): New.
6190 (flymake-parse-line): Use it.
6191 (flymake-warning-re): Make obsolete alias to
6192 `flymake-warning-predicate'.
6193
6194 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6195
6196 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6197 (package-obsolete-list): Remove.
6198 (package-activate): Remove min-version argument. Add `force' argument.
6199 Adjust to new package-alist format.
6200 (package-mark-obsolete): Remove.
6201 (package-unpack): Force reload of the package's autoloads.
6202 (package-installed-p): Check builtins if the installed package is not
6203 recent enough.
6204 (package-initialize): Don't reset package-obsolete-list.
6205 Don't specify which package version to activate.
6206 (package-process-define-package, describe-package-1)
6207 (package-menu--generate): Adjust to new package-alist format.
6208
6209 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6210
6211 * allout-widgets.el (allout-widgets-mode-off)
6212 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6213 (allout-widgets-post-command-business)
6214 (allout-widgets-after-copy-or-kill-function)
6215 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6216 (allout-decorate-item-and-context)
6217 (allout-graphics-modification-handler): Fix typos in docstrings.
6218 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6219
6220 * cmuscheme.el (scheme-start-file): Doc fix.
6221 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6222 (scheme-input-filter): Use `string-match-p'.
6223
6224 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6225
6226 * dired-x.el: Use Dired consistently in docstrings.
6227
6228 * dired.el: Use Dired consistently in docstrings.
6229 (dired-readin, dired-mode): Use `setq-local'.
6230 (dired-switches-alist): Make defvar-local.
6231 (dired-buffers-for-dir): Use `zerop'.
6232 (dired-safe-switches-p, dired-switches-escape-p)
6233 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6234 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6235 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6236 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6237 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6238 (dired-toggle-marks, dired-mark-files-containing-regexp)
6239 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6240 (dired-flag-auto-save-files, dired-flag-backup-files):
6241 Use `looking-at-p'.
6242 (dired-mark-files-regexp, dired-build-subdir-alist):
6243 Use `string-match-p', `looking-at-p'.
6244
6245 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6246 (direct-print-region-helper): Use `string-match-p'.
6247
6248 2013-06-21 Leo Liu <sdl.web@gmail.com>
6249
6250 * comint.el (comint-redirect-results-list-from-process):
6251 Fix infinite loop.
6252
6253 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6254
6255 * net/eww.el (eww-update-header-line-format): Quote % characters.
6256
6257 2013-06-21 Glenn Morris <rgm@gnu.org>
6258
6259 * play/cookie1.el (cookie): New custom group.
6260 (cookie-file): New option.
6261 (cookie-check-file): New function.
6262 (cookie): Make it interactive. Make start and end messages optional.
6263 Interactively, display the result. Default to cookie-file.
6264 (cookie-insert): Default to cookie-file.
6265 (cookie-snarf): Make start and end messages optional.
6266 Default to cookie-file. Use with-temp-buffer.
6267 (cookie-read): Rename from read-cookie.
6268 Make start and end messages optional. Default to cookie-file.
6269 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6270 Do not autoload it.
6271 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6272 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6273
6274 2013-06-21 Leo Liu <sdl.web@gmail.com>
6275
6276 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6277
6278 2013-06-21 Glenn Morris <rgm@gnu.org>
6279
6280 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6281
6282 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6283 Daniel Hackney <dan@haxney.org>
6284
6285 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6286 Consolidate the single-file vs tarball code.
6287 (package-desc-suffix): New function.
6288 (package-desc-full-name): Don't bother inlining it.
6289 (package-load-descriptor): Return the new package-desc.
6290 (package-mark-obsolete): Remove unused arg `package'.
6291 (package-unpack): Make it work for single files as well.
6292 Make it update package-alist.
6293 (package--make-autoloads-and-stuff): Rename from
6294 package--make-autoloads-and-compile. Don't compile any more.
6295 (package--compile): New function.
6296 (package-generate-description-file): New function, extracted from
6297 package-unpack-single.
6298 (package-unpack-single): Remove.
6299 (package--with-work-buffer): Add indentation and debugging info.
6300 (package-download-single): Remove.
6301 (package-install-from-archive): Rename from package-download-tar, make
6302 it take a pkg-desc, and make it work for single files as well.
6303 (package-download-transaction): Simplify.
6304 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6305 external tar program.
6306 (package-install-from-buffer): Remove `pkg-desc' argument.
6307 Use package-tar-file-info for tar-mode buffers.
6308 (package-install-file): Simplify accordingly.
6309 (package-archive-base): Change to take a pkg-desc.
6310 * tar-mode.el (tar--check-descriptor): New function, extracted from
6311 tar-get-descriptor.
6312 (tar-get-descriptor): Use it.
6313 (tar-get-file-descriptor): New function.
6314 (tar--extract): New function, extracted from tar-extract.
6315 (tar--extract): Use it.
6316 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6317 case the summary uses non-ascii. Adjust to new calling convention of
6318 package-tar-file-info.
6319
6320 2013-06-21 Leo Liu <sdl.web@gmail.com>
6321
6322 * comint.el (comint-redirect-results-list-from-process):
6323 Fix random delay. (Bug#14681)
6324
6325 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6326
6327 * profiler.el (profiler-format-number): Use log, not log10.
6328
6329 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6330
6331 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6332
6333 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6334
6335 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6336 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6337 yet available.
6338 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6339 (AUTOGENEL): ... here.
6340 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6341 (cl--defsubst-expand): Use it.
6342
6343 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6344
6345 * subr.el (log10): Move here from C code, and declare as obsolete.
6346 All uses of (log10 X) replaced with (log X 10).
6347
6348 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6349
6350 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6351 Declare with `defvar-local'.
6352 (tabulated-list-use-header-line, tabulated-list-entries)
6353 (tabulated-list-padding, tabulated-list-printer)
6354 (tabulated-list-sort-key): Declare with `defvar-local'.
6355 (tabulated-list-init-header, tabulated-list-print-fake-header):
6356 Use `setq-local'.
6357
6358 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6359
6360 * arc-mode.el (archive-mode): Add `archive-write-file' to
6361 `write-contents-functions' also for remote files. (Bug#14652)
6362
6363 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6364
6365 * cus-edit.el (custom-commands): Fix typos.
6366 (custom-display): Fix tooltip text.
6367 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6368 Fix typos in docstrings.
6369 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6370 (custom-unlispify-menu-entry, custom-magic-value-create)
6371 (custom-add-see-also, custom-group-value-create): Use ?\s.
6372 (custom-guess-type, customize-apropos, editable-field)
6373 (custom-face-value-create): Use `string-match-p'.
6374 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6375
6376 * custom.el (custom-load-symbol): Use `string-match-p'.
6377
6378 * ansi-color.el: Convert to lexical binding.
6379 (ansi-colors): Fix URL.
6380 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6381 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6382 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6383
6384 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6385
6386 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6387
6388 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6389
6390 2013-06-19 Tom Tromey <tromey@redhat.com>
6391
6392 * net/eww.el (eww-top-url): Remove.
6393 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6394 (eww-render): Set new variables. Don't set eww-top-url.
6395 (eww-handle-link): Handle "prev", "home", and "contents".
6396 Downcase the rel text.
6397 (eww-top-url): Choose best top URL.
6398
6399 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6400
6401 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6402 relying in widget.el. Using widget.el leads to too many
6403 user interface inconsistencies.
6404 (eww-self-insert): Implement entering commands in text fields.
6405 (eww-process-text-input): New function to make text input field editing
6406 work.
6407 (eww-submit): Rewrite to use the new-style form methods.
6408 (eww-select-display): Display the correct selected item.
6409 (eww-change-select): Implement changing the select value.
6410 (eww-toggle-checkbox): Implement radio/checkboxes.
6411 (eww-update-field): Fix compilation error.
6412 (eww-tag-textarea): Implement <textarea>.
6413
6414 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6415 we don't shadow mode-specific bindings.
6416
6417 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6418 nothing to push.
6419
6420 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6421
6422 2013-06-19 Glenn Morris <rgm@gnu.org>
6423
6424 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6425
6426 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6427
6428 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6429 not needed.
6430
6431 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6432
6433 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6434
6435 * net/browse-url.el (browse-url-browser-function):
6436 `eww-browse-url' has the right calling signature, `eww' does not.
6437
6438 2013-06-19 Glenn Morris <rgm@gnu.org>
6439
6440 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6441 Only eval autoloaded macros.
6442 (byte-compile-autoload): Only give the macro warning for macros.
6443
6444 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6445 (ps-underlined-faces): Declare.
6446
6447 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6448 (speedbar-add-supported-extension): Declare.
6449
6450 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6451 Don't include a date stamp in the header of the generated file;
6452 it leads to needless differences between output files.
6453
6454 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6455
6456 * net/secrets.el (secrets-struct-secret-content-type):
6457 Replace check of introspection data by a test call of "CreateItem".
6458 Some servers do not offer introspection.
6459
6460 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * electric.el (electric-pair-mode): Improve interaction with
6463 electric-layout-mode.
6464 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6465 (electric-pair-syntax): Use text-mode-syntax-table in comments
6466 and strings.
6467 (electric-pair--insert): New function.
6468 (electric-pair-post-self-insert-function): Use it and
6469 electric--after-char-pos.
6470
6471 2013-06-19 Leo Liu <sdl.web@gmail.com>
6472
6473 * progmodes/octave.el (octave-help): Fix regexp.
6474
6475 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6476
6477 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6478 (shr-table-horizontal-line): Allow nil as a value, and change the
6479 default.
6480 (shr-insert-table-ruler): Respect the nil value.
6481
6482 2013-06-18 Tom Tromey <tromey@barimba>
6483
6484 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6485 New defvars.
6486 (eww-open-file): New defun.
6487 (eww-render): Initialize new variables.
6488 (eww-display-html): Handle "link" and "a".
6489 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6490 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6491 (eww-back-url): Rename from eww-previous-url.
6492 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6493 New defuns.
6494
6495 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6496
6497 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6498 Distinguish ternary operator tokens from slash symbol and slash
6499 char literal.
6500
6501 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6502
6503 Convert symbol prettification into minor mode and global minor mode.
6504
6505 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6506 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6507 (prettify-symbols--keywords): Rename from
6508 `prog-prettify-symbols-alist' and make a local defvar.
6509 (prettify-symbols--compose-symbol): Rename from
6510 `prog--prettify-font-lock-compose-symbol'.
6511 (prettify-symbols--make-keywords): Rename from
6512 `prog-prettify-font-lock-symbols-keywords' and simplify.
6513 (prog-prettify-install): Remove.
6514 (prettify-symbols-mode): New minor mode, based on
6515 `prog-prettify-install'.
6516 (turn-on-prettify-symbols-mode): New function.
6517 (global-prettify-symbols-mode): New globalized minor mode.
6518
6519 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6520 * progmodes/cfengine.el (cfengine3-mode):
6521 * progmodes/perl-mode.el (perl-mode): Don't call
6522 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6523
6524 2013-06-18 Juri Linkov <juri@jurta.org>
6525
6526 * files-x.el (modify-file-local-variable-message): New function.
6527 (modify-file-local-variable)
6528 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6529 and call `modify-file-local-variable-message' when it's non-nil.
6530 (add-file-local-variable, delete-file-local-variable)
6531 (add-file-local-variable-prop-line)
6532 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6533 and use it. (Bug#9820)
6534
6535 2013-06-18 Juri Linkov <juri@jurta.org>
6536
6537 * emulation/vi.el (vi-shell-op):
6538 * emulation/vip.el (vip-execute-com, ex-command):
6539 * emulation/viper-cmd.el (viper-exec-bang):
6540 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6541 the call of `shell-command-on-region'. (Bug#14637)
6542
6543 * simple.el (shell-command-on-region): Doc fix.
6544
6545 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6548 (bug#14633).
6549
6550 2013-06-18 Glenn Morris <rgm@gnu.org>
6551
6552 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6553
6554 * newcomment.el (comment-search-forward, comment-search-backward):
6555 Doc fix. (Bug#14376)
6556
6557 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6560 (buffer-face-mode-invoke): Doc fix.
6561
6562 2013-06-18 Matthias Meulien <orontee@gmail.com>
6563
6564 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6565 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6566
6567 2013-06-18 Glenn Morris <rgm@gnu.org>
6568
6569 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6570 Replace obsolete function generic-make-keywords with its expansion.
6571
6572 * progmodes/python.el (ffap-alist): Declare.
6573
6574 * textmodes/reftex.el (bibtex-mode-map): Declare.
6575
6576 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6577
6578 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6579 (package-unpack, package-unpack-single): Return the pkg-dir.
6580 (package-download-transaction): Use it to update package-alist.
6581
6582 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6583
6584 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6585 possible choice.
6586
6587 2013-06-17 Juri Linkov <juri@jurta.org>
6588
6589 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6590
6591 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * emacs-lisp/package.el (package-load-descriptor):
6594 Remove `with-syntax-table' call, `read' doesn't need it.
6595 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6596
6597 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * startup.el (command-line): Expand package name returned by
6600 `package--description-file' (bug#14639).
6601
6602 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6603
6604 * emacs-lisp/package.el (package-load-descriptor): Do not call
6605 `emacs-lisp-mode', just use its syntax table.
6606
6607 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6608
6609 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6610 `font-lock-extra-managed-props' if any prettifying keyword is added.
6611 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6612 (prog-mode): Use `setq-local'.
6613
6614 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6615
6616 * international/characters.el (standard-case-table): Set syntax of ?»
6617 and ?« to punctuation.
6618
6619 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6620
6621 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6622 Save relevant match data before calling `syntax-ppss' (bug#14595).
6623
6624 2013-06-15 Juri Linkov <juri@jurta.org>
6625
6626 * files-x.el (modify-file-local-variable-prop-line): Add local
6627 variables to the end of the existing comment on the first line.
6628 Use `file-auto-mode-skip' to skip interpreter magic line,
6629 and also skip XML declaration.
6630
6631 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * startup.el (package--builtin-versions): New var.
6634 (package-subdirectory-regexp): Remove.
6635 (package--description-file): Hard code its value instead.
6636
6637 * emacs-lisp/package.el: Don't activate packages older than builtin.
6638 (package-obsolete-list): Rename from package-obsolete-alist, and make
6639 it into a simple list of package-desc.
6640 (package-strip-version): Remove.
6641 (package-built-in-p): Use package--builtin-versions.
6642 (package-mark-obsolete): Simplify.
6643 (package-process-define-package): Mark it obsolete if older than the
6644 builtin version.
6645 (package-handle-response): Use line-end-position.
6646 (package-read-archive-contents, package--download-one-archive):
6647 Simplify.
6648 (package--add-to-archive-contents): Skip if older than the builtin or
6649 installed version.
6650 (package-menu-describe-package): Fix last change.
6651 (package-list-unversioned): New var.
6652 (package-menu--generate): Use it.
6653
6654 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6655 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6656 (autoload-builtin-package-versions): New variable.
6657 (autoload-generate-file-autoloads): Use them.
6658 Remove the list of autoloaded functions/macros from the
6659 (autoload...) comments.
6660
6661 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6662
6663 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6664
6665 * simple.el (line-move-partial): Don't jump to the next screen
6666 line as soon as it becomes visible. Instead, continue enlarging
6667 the vscroll until the portion of a tall screen line that's left on
6668 display is about the height of the frame's default font.
6669 (Bug#14567)
6670
6671 2013-06-15 Glenn Morris <rgm@gnu.org>
6672
6673 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6674 compilation-error-regexp-alist void, or local while let-bound.
6675
6676 * progmodes/make-mode.el (makefile-mode-syntax-table):
6677 Treat "=" as punctuation. (Bug#14614)
6678
6679 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6680
6681 * help-fns.el (describe-variable):
6682 Add extra line for permanent-local variables.
6683
6684 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6685
6686 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6687 Add export, import, library. (Bug#9164)
6688 (library): Set indent function.
6689
6690 2013-06-14 Glenn Morris <rgm@gnu.org>
6691
6692 * term/xterm.el (xterm--query):
6693 Stop after first matching handler. (Bug#14615)
6694
6695 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6696
6697 Add support for dired in saveplace.
6698 * dired.el (dired-initial-position-hook): New variable.
6699 (dired-initial-position): Call hook to place cursor position.
6700 * saveplace.el (save-place-to-alist): Add dired position.
6701 (save-place-dired-hook): New function.
6702
6703 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6706 through a symbol rather than letrec.
6707
6708 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6709 (package-desc): Add `dir' field.
6710 (package-desc-full-name): New function.
6711 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6712 (package-maybe-load-descriptor): Remove.
6713 (package-load-all-descriptors): Just call package-load-descriptor.
6714 (package--disabled-p): New function.
6715 (package-desc-vers, package-desc-doc): Remove aliases.
6716 (package--dir): Remove function.
6717 (package-activate): Check if a package is disabled.
6718 (package-process-define-package): New function, extracted from
6719 define-package.
6720 (define-package): Turn into a place holder.
6721 (package-unpack-single, package-tar-file-info):
6722 Use package--description-file.
6723 (package-compute-transaction): Use package--disabled-p.
6724 (package-download-transaction): Don't call
6725 package-maybe-load-descriptor since they're all loaded anyway.
6726 (package-install): Change argument to be a pkg-desc.
6727 (package-delete): Use a single pkg-desc argument.
6728 (describe-package-1): Use package-desc-dir instead of package--dir.
6729 Use package-desc property instead of package-symbol.
6730 (package-install-button-action): Adjust accordingly.
6731 (package--push): Rewrite.
6732 (package-menu--print-info): Adjust accordingly. Change the ID format
6733 to be a pkg-desc.
6734 (package-menu-describe-package, package-menu-get-status)
6735 (package-menu--find-upgrades, package-menu-mark-upgrades)
6736 (package-menu-execute, package-menu--name-predicate):
6737 Adjust accordingly.
6738 * startup.el (package--description-file): New function.
6739 (command-line): Use it.
6740 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6741 Use package-desc-version.
6742
6743 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6744 (byte-compile-preprocess): Use it.
6745 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6746 can't quite recognize.
6747 (byte-compile-add-to-list): Remove.
6748 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6749 (cconv-closure-convert): Add assertion.
6750
6751 * emacs-lisp/map-ynp.el: Use lexical-binding.
6752 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6753 Factor out some repeated code.
6754
6755 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6756
6757 * subr.el (with-eval-after-load): New macro.
6758 (eval-after-load): Allow form to be a function.
6759 take advantage of lexical-binding.
6760 (do-after-load-evaluation): Use dolist and adjust to new format.
6761 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6762
6763 2013-06-13 Juri Linkov <juri@jurta.org>
6764
6765 * replace.el (perform-replace): Display "symbol " and other search
6766 modes from `isearch-message-prefix' in the *Help* buffer.
6767
6768 * isearch.el (isearch-query-replace): Add " symbol" and other
6769 possible search modes from `isearch-message-prefix' to the prompt.
6770 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6771 when reading a regexp to collect.
6772
6773 2013-06-13 Juri Linkov <juri@jurta.org>
6774
6775 * isearch.el (word-search-regexp): Match whitespace if the search
6776 string begins or ends in whitespace. The LAX arg is applied to
6777 both ends of the search string. Use `regexp-quote' and explicit
6778 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6779 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6780 boundaries are replaced with symbol boundaries, and characters
6781 between symbols match non-word non-symbol syntax. (Bug#14602)
6782
6783 2013-06-13 Juri Linkov <juri@jurta.org>
6784
6785 * isearch.el (isearch-del-char): Don't exceed the length of
6786 `isearch-string' by the prefix arg. (Bug#14563)
6787
6788 2013-06-13 Juri Linkov <juri@jurta.org>
6789
6790 * isearch.el (isearch-yank-word, isearch-yank-line)
6791 (isearch-char-by-name, isearch-quote-char)
6792 (isearch-printing-char, isearch-process-search-char):
6793 Add optional count prefix arg. (Bug#14563)
6794
6795 * international/isearch-x.el
6796 (isearch-process-search-multibyte-characters):
6797 Add optional count prefix arg.
6798
6799 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6802 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6803 lexical-binding.
6804
6805 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6806
6807 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6808
6809 2013-06-13 Glenn Morris <rgm@gnu.org>
6810
6811 * startup.el (tty-handle-args):
6812 Don't just discard "--" and anything after. (Bug#14608)
6813
6814 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6815
6816 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6817
6818 Implement changes in Secret Service API. Make it backward compatible.
6819 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6820 (secrets-create-item): Use it. Prefix properties with interface.
6821
6822 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6823
6824 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6825 (term-emulate-terminal): Respect term-suppress-hard-newline.
6826
6827 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6828
6829 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6830 Only remove a `thumb-file' overlay. (Bug#14548)
6831
6832 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6833
6834 * mail/reporter.el (reporter-submit-bug-report):
6835 Handle missing package-name. (Bug#14600)
6836
6837 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6838
6839 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6840 (reftex-citation-prompt, reftex-default-bibliography)
6841 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6842 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6843 (reftex-bib-sort-author, reftex-bib-sort-year)
6844 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6845 (reftex-extract-bib-entries-from-thebibliography)
6846 (reftex-get-bibkey-default, reftex-get-bib-names)
6847 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6848 (reftex-format-bib-entry, reftex-parse-bibitem)
6849 (reftex-format-bibitem, reftex-do-citation)
6850 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6851 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6852 (reftex-insert-bib-matches, reftex-format-citation)
6853 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6854 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6855 existing comments into docstrings.
6856
6857 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6858
6859 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6860
6861 2013-06-12 Andreas Schwab <schwab@suse.de>
6862
6863 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6864 for auto-save files.
6865
6866 2013-06-12 Glenn Morris <rgm@gnu.org>
6867
6868 * ido.el (ido-delete-ignored-files): Remove.
6869 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6870 Go back to calling ido-ignore-item-p directly.
6871
6872 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6873
6874 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6875
6876 * ido.el (ido-delete-ignored-files): New function,
6877 split from ido-make-file-list-1.
6878 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6879 (ido-make-file-list-1): Use ido-delete-ignored-files.
6880
6881 2013-06-12 Leo Liu <sdl.web@gmail.com>
6882
6883 * progmodes/octave.el (inferior-octave-startup)
6884 (inferior-octave-completion-table)
6885 (inferior-octave-track-window-width-change)
6886 (octave-eldoc-function-signatures, octave-help)
6887 (octave-find-definition): Use single quoted strings.
6888 (inferior-octave-startup-args): Change default value.
6889 (inferior-octave-startup): Do not hard code "-i" and
6890 "--no-line-editing".
6891 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6892 (inferior-octave-directory-tracker): Use it.
6893 (octave-goto-function-definition): Robustify.
6894 (octave-help): Support highlighting operators in 'See also'.
6895 (octave-find-definition): Find subfunctions only in Octave mode.
6896
6897 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6898
6899 * help-fns.el (help-fns--compiler-macro): If the handler function is
6900 named, then put a link to it.
6901 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6902 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6903 (cl-typep): Use it.
6904 (cl-eval-when): Simplify debug spec.
6905 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6906 compiler-macro function instead of setting `compiler-macro-file'.
6907
6908 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6909
6910 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6911 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6912
6913 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6914 Daniel Hackney <dan@haxney.org>
6915
6916 First part of Daniel Hackney's patch to package.el.
6917 * emacs-lisp/package.el: Use defstruct.
6918 (package-desc): New, main struct.
6919 (package--bi-desc, package--ac-desc): New structs, used to describe the
6920 format in external files.
6921 (package-desc-vers): Replace with package-desc-version accessor.
6922 (package-desc-doc): Replace with package-desc-summary accessor.
6923 (package-activate-1): Remove `package' arg since the pkg-vec now
6924 includes the name.
6925 (define-package): Use package-desc-from-define.
6926 (package-unpack-single): Change file-name arg to be a symbol.
6927 (package--add-to-archive-contents): Use package-desc-create and new
6928 accessor functions to package--ac-desc.
6929 (package-buffer-info, package-tar-file-info): Return a package-desc.
6930 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6931 arg to be a package-desc.
6932 (package-install-file): Adjust accordingly. Use \' to match EOS.
6933 (package--from-builtin): New function.
6934 (describe-package-1, package-menu--generate): Use it.
6935 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6936 (package-generate-autoloads): Idem and return the name of the file.
6937 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6938 Change pkg-info arg to be a package-desc.
6939 Use package-make-ac-desc.
6940 (package-upload-file): Use \' to match EOS.
6941 * finder.el (finder-compile-keywords): Use package-make-builtin.
6942
6943 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * vc/vc.el (vc-deduce-fileset): Change error message.
6946 (vc-read-backend): New function.
6947 (vc-next-action): Use it.
6948
6949 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6950
6951 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6952 (prolog-font-lock-keywords): Use regexp-opt instead.
6953 Don't manually highlight strings.
6954 (prolog-mode-variables): Simplify comment-start-skip.
6955 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6956
6957 * emacs-lisp/generic.el (generic--normalise-comments)
6958 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6959 (generic-mode-set-comments): Use them.
6960 (generic-bracket-support): Use setq-local.
6961 (generic-make-keywords-list): Declare obsolete.
6962
6963 2013-06-11 Glenn Morris <rgm@gnu.org>
6964
6965 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6966 Prettify after setting font-lock-defaults. (Bug#14574)
6967
6968 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6969
6970 * replace.el (query-replace, occur-read-regexp-defaults-function)
6971 (replace-search):
6972 * subr.el (declare-function, number-sequence, local-set-key)
6973 (substitute-key-definition, locate-user-emacs-file)
6974 (with-silent-modifications, split-string, eval-after-load):
6975 Fix typos, remove unneeded backslashes and reflow some docstrings.
6976
6977 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6980 default for Elisp files.
6981
6982 2013-06-11 Glenn Morris <rgm@gnu.org>
6983
6984 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6985 although define-derived-mode was doing this anyway. (Bug#14583)
6986
6987 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6988
6989 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6990 Fix make-variable-buffer-local call to refer to the correct variable.
6991
6992 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6993
6994 * eshell/em-term.el (eshell-visual-commands)
6995 (eshell-visual-subcommands, eshell-visual-options):
6996 Add summary line to docstrings. Add cross-references.
6997
6998 2013-06-10 Glenn Morris <rgm@gnu.org>
6999
7000 * epa.el (epa-read-file-name): New function. (Bug#14510)
7001 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7002
7003 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7004
7005 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7006 output redirection to be ignored with visual commands.
7007
7008 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7009
7010 * eshell/em-term.el (eshell-visual-command-p): New function.
7011 (eshell-term-initialize): Move long lambda to separate function
7012 eshell-visual-command-p.
7013 * eshell/em-dirs.el (eshell-dirs-initialise):
7014 * eshell/em-script.el (eshell-script-initialize):
7015 Add missing #' to lambda.
7016
7017 2013-06-08 Leo Liu <sdl.web@gmail.com>
7018
7019 * progmodes/octave.el (octave-add-log-current-defun): New function.
7020 (octave-mode): Set add-log-current-defun-function.
7021 (octave-goto-function-definition): Do not move point if not found.
7022 (octave-find-definition): Enhance to try subfunctions first.
7023
7024 2013-06-08 Glenn Morris <rgm@gnu.org>
7025
7026 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7027 (byte-compile-backward-char, byte-compile-backward-word):
7028 Improve previous change, to handle non-explicit nil.
7029
7030 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7033 (smie--opener/closer-at-point): New function.
7034 (smie--matching-block-data): Use it. Don't match from right after an
7035 opener or right before a closer. Obey smie-blink-matching-inners.
7036 Don't signal a mismatch for repeated inners like "switch..case..case".
7037
7038 2013-06-07 Leo Liu <sdl.web@gmail.com>
7039
7040 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7041 to t. (Bug#14303)
7042 (octave-function-header-regexp): Fix. (Bug#14570)
7043 (octave-help-mode-finish-hook, octave-help-mode-finish):
7044 Remove. Just use temp-buffer-show-hook.
7045
7046 * newcomment.el (comment-search-backward): Revert last change.
7047 (Bug#14434)
7048
7049 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7050
7051 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7052
7053 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7054 through xargs, to avoid failure due to MS-Windows limitations on
7055 command-line length.
7056
7057 2013-06-06 Glenn Morris <rgm@gnu.org>
7058
7059 * font-lock.el (lisp-font-lock-keywords-2):
7060 Treat user-error like error.
7061
7062 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7063 (byte-compile-backward-char, byte-compile-backward-word):
7064 Handle explicit nil arguments. (Bug#14565)
7065
7066 2013-06-05 Alan Mackenzie <acm@muc.de>
7067
7068 * isearch.el (isearch-allow-prefix): New user option.
7069 (isearch-other-meta-char): Don't exit isearch when a prefix
7070 argument is typed whilst `isearch-allow-prefix' is non-nil.
7071 (Bug#9706)
7072
7073 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * autorevert.el (auto-revert-notify-handler): Use memq.
7076 Hide assertion failure.
7077
7078 * skeleton.el: Use cl-lib.
7079 (skeleton-further-elements): Use defvar-local.
7080 (skeleton-insert): Use cl-progv.
7081
7082 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7083
7084 * progmodes/prog-mode.el (prog-prettify-symbols)
7085 (prog-prettify-install): Update docstrings.
7086
7087 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * simple.el: Move all the prog-mode code to prog-mode.el.
7090 * progmodes/prog-mode.el: New file.
7091 * loadup.el: Add prog-mode.el.
7092
7093 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7094
7095 * simple.el (prog-prettify-symbols): Add version.
7096 (prog-prettify-install): Add convenience function to prettify symbols.
7097
7098 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7099 (perl--augmented-font-lock-keywords-1)
7100 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7101 variables and use it.
7102
7103 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7104 (cfengine3-mode): Remove unneeded variable and use it.
7105
7106 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7107 (lisp--augmented-font-lock-keywords-1)
7108 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7109 Remove unneeded variables and use it.
7110
7111 2013-06-05 João Távora <joaotavora@gmail.com>
7112
7113 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7114 to point when opening the connection. (Bug#14380)
7115
7116 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7117
7118 * subr.el (load-history-regexp, load-history-filename-element)
7119 (eval-after-load, after-load-functions, do-after-load-evaluation)
7120 (eval-next-after-load, display-delayed-warnings)
7121 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7122 definition of save-match-data.
7123 (overriding-local-map): Remove accidental obsolescence declaration.
7124
7125 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7126
7127 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7128
7129 Generalize symbol prettify support to prog-mode and implement it
7130 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7131 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7132 (prog--prettify-font-lock-compose-symbol)
7133 (prog-prettify-font-lock-symbols-keywords): New variables and
7134 functions to support symbol prettification.
7135 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7136 (lisp--augmented-font-lock-keywords-1)
7137 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7138 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7139 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7140 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7141 Implement prettify of -> => :: strings.
7142 * progmodes/perl-mode.el (perl-prettify-symbols)
7143 (perl--font-lock-compose-symbol)
7144 (perl--font-lock-symbols-keywords): Move to prog-mode.
7145 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7146 (perl-font-lock-keywords-1)
7147 (perl-font-lock-keywords-2): Remove explicit prettify support.
7148 (perl--augmented-font-lock-keywords)
7149 (perl--augmented-font-lock-keywords-1)
7150 (perl--augmented-font-lock-keywords-2, perl-mode):
7151 Implement prettify support.
7152
7153 2013-06-05 Leo Liu <sdl.web@gmail.com>
7154
7155 Re-implement smie matching block highlight using
7156 show-paren-data-function. (Bug#14395)
7157 * emacs-lisp/smie.el (smie-matching-block-highlight)
7158 (smie--highlight-matching-block-overlay)
7159 (smie--highlight-matching-block-lastpos)
7160 (smie-highlight-matching-block)
7161 (smie-highlight-matching-block-mode): Remove.
7162 (smie--matching-block-data-cache): New variable.
7163 (smie--matching-block-data): New function.
7164 (smie-setup): Use smie--matching-block-data for
7165 show-paren-data-function.
7166
7167 * progmodes/octave.el (octave-mode-menu): Fix.
7168 (octave-find-definition): Skip garbage lines.
7169
7170 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 Fix compilation error with simultaneous dynamic+lexical scoping.
7173 Add warning when a defvar appears after the first let-binding.
7174 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7175 (byte-compile-close-variables): Initialize it.
7176 (byte-compile--declare-var): New function.
7177 (byte-compile-file-form-defvar)
7178 (byte-compile-file-form-define-abbrev-table)
7179 (byte-compile-file-form-custom-declare-variable): Use it.
7180 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7181 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7182 (byte-compile-bind): Handle dynamic bindings that shadow
7183 lexical bindings.
7184 (byte-compile-unbind): Make arg non-optional.
7185 (byte-compile-let): Simplify.
7186 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7187 (cconv--analyse-function, cconv-analyse-form): Populate it.
7188 Protect byte-compile-bound-variables to limit the scope of defvars.
7189 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7190 Remove unneeded rule for `declare'.
7191
7192 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7193 so as to avoid depending on cl-adjoin at run-time.
7194 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7195
7196 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7197 (macroexp--warn-and-return): Use it.
7198
7199 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * lisp/subr.el: Convert to lexical binding.
7202 (overriding-local-map): Make obsolete.
7203 (add-to-list): Doc fix. Add compiler macro.
7204 (read-key): Swap values of local maps.
7205
7206 2013-06-05 Leo Liu <sdl.web@gmail.com>
7207
7208 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7209
7210 2013-06-04 Leo Liu <sdl.web@gmail.com>
7211
7212 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7213 (compilation-auto-jump): Suppress the "Mark set" message to give
7214 way to exit message.
7215
7216 2013-06-04 Alan Mackenzie <acm@muc.de>
7217
7218 Remove faulty optimisation from indentation calculation.
7219 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7220 search limit based on 2000 characters back from indent-point.
7221
7222 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7223
7224 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7225
7226 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * emacs-lisp/lisp.el: Use lexical-binding.
7229 (lisp--local-variables-1, lisp--local-variables): New functions.
7230 (lisp--local-variables-completion-table): New var.
7231 (lisp-completion-at-point): Use it complete let-bound vars.
7232
7233 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7234 eagerly (bug#14422).
7235
7236 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7237
7238 * autorevert.el (auto-revert-notify-enabled)
7239 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7240 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7241 (auto-revert-notify-handler): Handle also gfilenotify.
7242
7243 * subr.el (file-notify-handle-event): New defun. Replacing ...
7244 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7245 Remove.
7246
7247 2013-06-03 Juri Linkov <juri@jurta.org>
7248
7249 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7250 `M-s h .'. (Bug#14427)
7251
7252 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7253 command `hi-lock-face-symbol-at-point'.
7254 (hi-lock-face-symbol-at-point): New command.
7255 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7256 (hi-lock-menu): Add `highlight-symbol-at-point'.
7257 (hi-lock-mode): Doc fix.
7258
7259 * isearch.el (isearch-forward-symbol-at-point): New command.
7260 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7261 (isearch-highlight-regexp): Add a regexp which matches
7262 words/symbols for word/symbol mode.
7263
7264 * subr.el (find-tag-default-bounds): New function with the body
7265 mostly moved from `find-tag-default'.
7266 (find-tag-default): Move most code to `find-tag-default-bounds',
7267 call it and apply `buffer-substring-no-properties' afterwards.
7268
7269 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7270
7271 * eshell/em-term.el (eshell-term-initialize):
7272 Use `cl-intersection' rather than `intersection'.
7273
7274 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7275
7276 * vc/log-view.el: Doc fix.
7277 (log-view-mode-map): Copy keymap from `special-mode-map'.
7278
7279 2013-06-02 Eric Ludlam <zappo@gnu.org>
7280
7281 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7282 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7283 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7284 (eieio-unbound, eieio-default-superclass)
7285 (eieio--define-field-accessors, method-static, method-before)
7286 (method-primary, method-after, method-num-lists)
7287 (method-generic-before, method-generic-primary)
7288 (method-generic-after, method-num-slots)
7289 (eieio-specialized-key-to-generic-key)
7290 (eieio--check-type, class-v, class-p)
7291 (eieio-class-name, define-obsolete-function-alias)
7292 (eieio-class-parents-fast, eieio-class-children-fast)
7293 (same-class-fast-p, class-constructor, generic-p)
7294 (generic-primary-only-p, generic-primary-only-one-p)
7295 (class-option-assoc, class-option, eieio-object-p)
7296 (class-abstract-p, class-method-invocation-order)
7297 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7298 (eieio-class-un-autoload, eieio-defclass)
7299 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7300 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7301 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7302 (eieio-defgeneric-reset-generic-form)
7303 (eieio-defgeneric-form-primary-only)
7304 (eieio-defgeneric-reset-generic-form-primary-only)
7305 (eieio-defgeneric-form-primary-only-one)
7306 (eieio-defgeneric-reset-generic-form-primary-only-one)
7307 (eieio-unbind-method-implementations)
7308 (eieio--defmethod, eieio--typep)
7309 (eieio-perform-slot-validation, eieio-validate-slot-value)
7310 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7311 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7312 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7313 (eieio-slot-name-index, eieio-class-slot-name-index)
7314 (eieio-set-defaults, eieio-initarg-to-attribute)
7315 (eieio-attribute-to-initarg, eieio-c3-candidate)
7316 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7317 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7318 (eieio-class-precedence-list, eieio-generic-call-methodname)
7319 (eieio-generic-call-arglst, eieio-generic-call-key)
7320 (eieio-generic-call-next-method-list)
7321 (eieio-pre-method-execution-functions, eieio-generic-call)
7322 (eieio-generic-call-primary-only, eieiomt-method-list)
7323 (eieiomt-optimizing-obarray, eieiomt-install)
7324 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7325 (eieio-generic-form, eieio-defmethod, make-obsolete)
7326 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7327 (defclass): Remove `eval-and-compile' from macro.
7328 (call-next-method, shared-initialize): Instead of using
7329 `scoped-class' variable, use new eieio--scoped-class, and
7330 eieio--with-scoped-class.
7331 (initialize-instance): Rename local variable 'scoped-class' to
7332 'this-class' to remove ambiguitity from old global.
7333
7334 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7335 eieio.el.
7336 (eieio--scoped-class-stack): New variable.
7337 (eieio--scoped-class): New fcn.
7338 (eieio--with-scoped-class): New scoping macro.
7339 (eieio-defclass): Use pushnew instead of add-to-list.
7340 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7341 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7342 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7343 `scoped-class' variable, use new eieio--scoped-class, and
7344 eieio--with-scoped-class.
7345
7346 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7347
7348 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7349
7350 * eshell/esh-ext.el (eshell-external-command): Pass args to
7351 `eshell-find-interpreter'.
7352 (eshell-find-interpreter): Add new second parameter ARGS.
7353
7354 * eshell/em-script.el (eshell-script-initialize): Add second arg
7355 to the function added as MATCH to `eshell-interpreter-alist'.
7356
7357 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7358 the function added as MATCH to `eshell-interpreter-alist'.
7359
7360 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7361 (eshell-visual-options): New defcustom.
7362 (eshell-escape-control-x): Adapt docstring.
7363 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7364 `eshell-visual-options' in addition to `eshell-visual-commands'.
7365 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7366
7367 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7368
7369 * progmodes/python.el (python-indent-block-enders): Add break,
7370 continue and raise keywords.
7371
7372 2013-06-01 Glenn Morris <rgm@gnu.org>
7373
7374 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7375
7376 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7377 * progmodes/cc-cmds.el (delete-forward-p):
7378 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7379 * progmodes/cc-engine.el (buffer-syntactic-context):
7380 * progmodes/cc-fonts.el (face-property-instance):
7381 * progmodes/cc-mode.el (set-keymap-parents):
7382 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7383 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7384 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7385 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7386 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7387
7388 * progmodes/cc-vars.el (other): Emacs has this widget since
7389 at least 21.1, so don't (re)define it.
7390
7391 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7392 Replace the obsolete alias pcomplete-arg-quote-list.
7393
7394 2013-06-01 Leo Liu <sdl.web@gmail.com>
7395
7396 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7397 punctuation syntax.
7398 (inferior-octave-minimal-columns)
7399 (inferior-octave-last-column-width): New variables.
7400 (inferior-octave-track-window-width-change): New function.
7401 (inferior-octave-mode): Adjust column width so that Octave output,
7402 for example from 'ls', can fit into the window nicely.
7403
7404 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7405
7406 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7407 Highlight expansions inside regexp literals.
7408
7409 2013-05-31 Glenn Morris <rgm@gnu.org>
7410
7411 * obsolete/sym-comp.el (symbol-complete):
7412 Replace obsolete completion-annotate-function.
7413
7414 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7415
7416 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7417
7418 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7419 New function, checks if point is inside a literal that allows
7420 expression expansion.
7421 (ruby-syntax-propertize-expansion): Use it.
7422 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7423 around the body.
7424
7425 2013-05-30 Juri Linkov <juri@jurta.org>
7426
7427 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7428 to "\M-si".
7429 (isearch-invisible): New variable.
7430 (isearch-forward): Doc fix.
7431 (isearch-mode): Set `isearch-invisible'
7432 to the value of `search-invisible'.
7433 (isearch-toggle-case-fold): Doc fix.
7434 (isearch-toggle-invisible): New command.
7435 (isearch-query-replace): Let-bind `search-invisible'
7436 to the value of `isearch-invisible'.
7437 (isearch-search): Use `isearch-invisible' instead of
7438 `search-invisible'. Let-bind `search-invisible'
7439 to the value of `isearch-invisible'. (Bug#11378)
7440
7441 2013-05-30 Juri Linkov <juri@jurta.org>
7442
7443 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7444 call when `query-flag' is nil and `search-invisible' is non-nil.
7445 (Bug#11746)
7446
7447 2013-05-30 Glenn Morris <rgm@gnu.org>
7448
7449 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7450
7451 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7452 (cc-require): Suppress spurious "noruntime" warnings.
7453 (cc-require-when-compile): Use fboundp, for sake of compiler.
7454
7455 * progmodes/cc-mode.el: Move load of cc-vars before that of
7456 cc-langs (which in turn loads cc-vars), to quieten compiler.
7457
7458 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7459
7460 * paren.el: Simplify the code.
7461 (show-paren-mode): Always start the timer.
7462 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7463 (show-paren--overlay, show-paren--overlay-1): Rename from
7464 show-paren-overlay and show-paren-overlay-1, and initialize to an
7465 overlay rather than to nil.
7466 (show-paren-function): Misc cleanup and simplifications.
7467
7468 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * paren.el (show-paren-data-function): New hook.
7471 (show-paren--default): New function, extracted from show-paren-function.
7472 (show-paren-function): Use show-paren-data-function.
7473
7474 2013-05-30 Glenn Morris <rgm@gnu.org>
7475
7476 * ielm.el (ielm-map, ielm-complete-symbol):
7477 Use completion-at-point rather than obsolete functions.
7478 (inferior-emacs-lisp-mode): Doc fix.
7479 Set completion-at-point-functions, rather than
7480 comint-dynamic-complete-functions.
7481
7482 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7483 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7484 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7485
7486 * image.el (image-animated-p): Tweak definition.
7487
7488 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7489 (rlogin-process-connection-type): Tweak default. Add set-after.
7490 (rlogin-host): Doc fix.
7491 (rlogin): Tweak prompt.
7492 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7493
7494 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7495 * progmodes/tcl.el (inferior-tcl-mode-map):
7496 Use completion-at-point rather than obsolete alias.
7497
7498 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7499
7500 * minibuffer.el (read-file-name-completion-ignore-case):
7501 Move before completion--in-region, for eager macro expansion.
7502
7503 2013-05-29 Juri Linkov <juri@jurta.org>
7504
7505 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7506 for total count of matching lines. Add `global-matches' for total
7507 count of matches. Rename `matches' to `lines' for count of
7508 matching lines. Add `matches' for count of matches.
7509 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7510 to `prev-line' for line number of prev match endpt.
7511 Increment `matches' for every match. Print the number of
7512 matching lines in the header.
7513 (occur-context-lines): Rename `lines' to `curr-line'.
7514 Rename `prev-lines' to `prev-line'. (Bug#14017)
7515
7516 2013-05-29 Juri Linkov <juri@jurta.org>
7517
7518 * replace.el (perform-replace): Add `skip-read-only-count',
7519 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7520 Increment them for corresponding conditions and report the number
7521 of skipped occurrences in the final message. (Bug#11746)
7522 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7523 (replace-string, replace-regexp): Doc fix.
7524
7525 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7528
7529 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7530 prog-mode-map (bug#14504).
7531
7532 2013-05-29 Leo Liu <sdl.web@gmail.com>
7533
7534 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7535 (octave-help): Small simplification.
7536
7537 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7538 off the highlight first.
7539
7540 2013-05-29 Glenn Morris <rgm@gnu.org>
7541
7542 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7543 Handle idlwave-last-system-routine-info-cons-cell being nil.
7544
7545 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7546 (idlwave-write-paths): Simplify via with-temp-buffer.
7547
7548 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7549 * emulation/cua-rect.el: Also load cua-base at run time.
7550
7551 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7552 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7553 (cperl-imenu-on-info): Require imenu.
7554
7555 2013-05-28 Alan Mackenzie <acm@muc.de>
7556
7557 Handle "capitalised keywords" correctly.
7558 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7559
7560 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7561
7562 * eshell/em-unix.el: Add -r option to cp.
7563
7564 2013-05-28 Glenn Morris <rgm@gnu.org>
7565
7566 * vc/vc-arch.el (vc-exec-after): Declare.
7567 (vc-switches): Autoload.
7568 * vc/vc-bzr.el: No need to require vc when compiling.
7569 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7570 (vc-resynch-buffer, vc-dir-refresh): Declare.
7571 (vc-setup-buffer, vc-switches): Autoload.
7572 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7573 (vc-resynch-buffer): Declare.
7574 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7575 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7576 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7577 (grep-read-regexp, grep-read-files, grep-expand-template)
7578 (vc-dir-refresh): Declare.
7579 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7580 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7581 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7582 * vc/vc-mtn.el (vc-exec-after): Declare.
7583 (vc-switches): Autoload.
7584 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7585 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7586 (vc-file-tree-walk): Declare.
7587 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7588 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7589 (vc-tag-precondition, vc-rename-master): Autoload.
7590 * vc/vc-svn.el (vc-exec-after): Declare.
7591 (vc-switches, vc-setup-buffer): Autoload.
7592 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7593 Autoload.
7594 (vc-resynch-buffer): Declare.
7595
7596 * obsolete/fast-lock.el (byte-compile-warnings):
7597 Don't warn about obsolete features in this obsolete file.
7598
7599 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7600 Move definition before use.
7601
7602 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7603 (dun-unix-verbs): Remove dun-zippy.
7604 (dun-zippy): Remove function.
7605
7606 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7607
7608 2013-05-27 Juri Linkov <juri@jurta.org>
7609
7610 * replace.el (replace-search): New function with code moved out
7611 from `perform-replace'.
7612 (replace-highlight, replace-dehighlight): Move function definitions
7613 up closer to `replace-search'. (Bug#11746)
7614
7615 2013-05-27 Juri Linkov <juri@jurta.org>
7616
7617 * replace.el (perform-replace): Ignore invisible matches.
7618 In addition to checking `query-replace-skip-read-only', also
7619 filter out matches by calling `run-hook-with-args-until-failure'
7620 on `isearch-filter-predicates', and also check `search-invisible'
7621 for t or call `isearch-range-invisible'.
7622 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7623
7624 2013-05-27 Juri Linkov <juri@jurta.org>
7625
7626 * isearch.el (isearch-filter-predicates): Rename from
7627 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7628 (isearch-message-prefix): Display text from the property
7629 `isearch-message-prefix' of the currently active filters.
7630 (isearch-search): Don't compare `isearch-filter-predicate' with
7631 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7632 on `isearch-filter-predicates'. Also check `search-invisible' for t
7633 or call `isearch-range-invisible'.
7634 (isearch-filter-visible): Make obsolete.
7635 (isearch-lazy-highlight-search):
7636 Call `run-hook-with-args-until-failure' on
7637 `isearch-filter-predicates' and use `isearch-range-invisible'.
7638
7639 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7640 `isearch-filter-predicates' instead of `funcall'ing
7641 `isearch-filter-predicate'.
7642 (Info-mode): Set `Info-isearch-filter' to
7643 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7644
7645 * dired-aux.el (dired-isearch-filter-predicate-orig):
7646 Remove variable.
7647 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7648 (dired-isearch-filenames-end): Add and remove
7649 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7650 instead of changing the value of `isearch-filter-predicate'.
7651 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7652 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7653 Put property `isearch-message-prefix' to "filename " on
7654 `dired-isearch-filter-filenames'.
7655
7656 * wdired.el (wdired-change-to-wdired-mode):
7657 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7658 locally instead of changing `isearch-filter-predicate'.
7659 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7660
7661 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7662
7663 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7664 return the commit hash (Bug#14459). Also set the
7665 `vc-git-detached' property.
7666 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7667 (vc-git-mode-line-string): Use the same help-echo format whether
7668 in detached mode or not, because we know the actual revision now.
7669 When in detached mode, shorten the revision to 7 chars.
7670
7671 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * emacs-lisp/easy-mmode.el (define-minor-mode):
7674 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7675 mode hook and provide a docstring.
7676
7677 2013-05-27 Alan Mackenzie <acm@muc.de>
7678
7679 Remove spurious syntax-table text properties inserted by C-y.
7680 * progmodes/cc-mode.el (c-after-change): Also clear hard
7681 syntax-table property with value nil.
7682
7683 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7684
7685 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7686 when reading the events; the buffer layout shall not be changed.
7687
7688 2013-05-27 Leo Liu <sdl.web@gmail.com>
7689
7690 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7691 New variable.
7692 (inferior-octave-directory-tracker): Automatically re-sync
7693 default-directory.
7694 (octave-help): Improve handling of 'See also'.
7695
7696 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7697
7698 * doc-view.el: Minor naming convention tweaks.
7699 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7700
7701 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7702 even if there's no `display' property yet (bug#14435).
7703
7704 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7705
7706 * subr.el (unmsys--file-name): Rename from reveal-filename.
7707
7708 * Makefile.in (custom-deps, finder-data, autoloads)
7709 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7710 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7711 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7712
7713 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7716 error-completion on the first 2 args of condition-case (bug#14446).
7717 Don't burp at EOB.
7718
7719 2013-05-25 Leo Liu <sdl.web@gmail.com>
7720
7721 * comint.el (comint-previous-matching-input): Do not flood the
7722 *Messages* buffer with trivial messages.
7723
7724 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7725
7726 * progmodes/flymake.el (flymake-nop): Don't return a string.
7727 (flymake-set-at): Fix typo.
7728
7729 * simple.el (read--expression): New function, extracted from
7730 eval-expression. Set completion-at-point-functions (bug#14465).
7731 (eval-expression, eval-minibuffer): Use it.
7732
7733 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7734
7735 * progmodes/flymake.el (flymake-save-buffer-in-file)
7736 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7737 (flymake-selected-frame, flymake-log, flymake-ins-after)
7738 (flymake-set-at, flymake-get-buildfile-from-cache)
7739 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7740 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7741 Refine the doc string.
7742 (flymake-get-file-name-mode-and-masks): Reformat.
7743 (flymake-get-real-file-name-function): Fix a minor bug.
7744
7745 2013-05-24 Juri Linkov <juri@jurta.org>
7746
7747 * progmodes/grep.el (grep-mode-font-lock-keywords):
7748 Support =linenumber= format used by git-grep for lines with
7749 function names. (Bug#13549)
7750
7751 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7754 0 after a semi-colon; it works better for smie-auto-fill.
7755 (octave--indent-new-comment-line): New function.
7756 (octave-indent-new-comment-line): Use it (indirectly).
7757 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7758 modify comment-line-break-function.
7759
7760 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7761 (smie-setup): Use add-function to set it.
7762
7763 2013-05-24 Sam Steingold <sds@gnu.org>
7764
7765 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7766 argument (before the `interactive' argument).
7767
7768 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * image-mode.el (image-mode-winprops): Add winprops to
7771 image-mode-winprops-alist before running
7772 image-mode-new-window-functions.
7773 * doc-view.el (doc-view-new-window-function): Don't delay
7774 doc-view-goto-page via timers (bug#14435).
7775
7776 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7777
7778 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7779 (doc-view-desktop-save-buffer): New function.
7780 (doc-view-restore-desktop-buffer): New function.
7781 (desktop-buffer-mode-handlers):
7782 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7783 handler.
7784 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7785 `desktop-save-buffer' function.
7786
7787 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7790 (tramp-gvfs-file-name-handler): Raise a user error when
7791 `tramp-gvfs-enabled' is nil.
7792 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7793 Do not raise a user error when loading package. (Bug#14447)
7794
7795 * net/xesam.el: Move to obsolete/.
7796
7797 2013-05-24 Glenn Morris <rgm@gnu.org>
7798
7799 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7800
7801 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7802
7803 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7804 (Info-find-node, Man-getpage-in-background): Declare.
7805
7806 * mail/unrmail.el (unrmail):
7807 Replace obsolete detect-coding-with-priority.
7808
7809 * net/socks.el (socks-split-string): Use this rather than split-string.
7810 (socks-nslookup-host): Update for above change.
7811 (dynamic-choice, s5-dynamic-choice-match)
7812 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7813 Comment out unused code.
7814
7815 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7816 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7817 (gud-tooltip-echo-area): Make obsolete.
7818 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7819
7820 * progmodes/js.el (js--optimize-arglist): Declare.
7821
7822 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7823
7824 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7825 (ediff-window-C): Declare.
7826
7827 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7828 Tweak requires to silence compiler.
7829
7830 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7831 (he-search-string, he-tried-table, he-expand-list)
7832 (he-init-string, he-string-member, he-substitute-string)
7833 (he-reset-string): Declare.
7834
7835 * obsolete/options.el (list-options): Use custom-variable-p,
7836 rather than obsolete alias.
7837
7838 2013-05-23 Sam Steingold <sds@gnu.org>
7839
7840 * simple.el (shell-command-on-region): Pass the `replace' argument
7841 down to `call-process-region' to comply with the doc as reported on
7842 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7843
7844 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * emacs-lisp/smie.el (smie-indent-forward-token)
7847 (smie-indent-backward-token): Handle string tokens (bug#14381).
7848
7849 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7850
7851 * ielm.el (ielm-menu): New menu.
7852 (inferior-emacs-lisp-mode): Set comment-start.
7853
7854 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7855
7856 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7857 Fix deactivate action.
7858
7859 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7860 Add cleveref macros.
7861
7862 * lisp/textmodes/reftex-parse.el
7863 (reftex-locate-bibliography-files): Accept options for
7864 bibliography commands.
7865 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7866 Add addbibresource. Basic Biblatex support.
7867
7868 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7869
7870 * net/tramp-gvfs.el (top):
7871 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7872 when loading package. (Bug#14447)
7873
7874 2013-05-23 Glenn Morris <rgm@gnu.org>
7875
7876 * progmodes/js.el: No need to load comint when compiling.
7877 (ring-insert, comint-send-string, comint-send-input)
7878 (comint-last-input-end, ido-chop): Declare.
7879
7880 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7881 * vc/ediff-mult.el: Adjust requires.
7882 (ediff-directories-internal, ediff-directory-revisions-internal)
7883 (ediff-patch-file-internal): Declare.
7884 * vc/ediff-ptch.el: Adjust requires.
7885 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7886 (ediff-find-file): Autoload.
7887 * vc/ediff-util.el: No need to load ediff when compiling.
7888 (ediff-regions-internal): Declare.
7889 * vc/ediff-wind.el: Adjust requires.
7890 (ediff-compute-toolbar-width): Define when compiling.
7891 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7892 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7893 (dired-get-filename, dired-get-marked-files)
7894 (ediff-last-dir-patch, ediff-patch-default-directory)
7895 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7896 (ediff-patch-buffer-internal): Declare.
7897
7898 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7899 (ispell-process, ispell-buffer-local-words, lm-summary)
7900 (lm-section-start, lm-section-end): Declare.
7901 (checkdoc-ispell-init): Simplify.
7902
7903 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7904 (he-string-member, he-reset-string, he-substitute-string): Declare.
7905
7906 * eshell/em-ls.el: Adjust requires.
7907 (eshell-glob-regexp): Declare.
7908 * eshell/em-tramp.el: Adjust requires.
7909 (eshell-parse-command): Autoload.
7910 * eshell/em-xtra.el: Adjust requires.
7911 (eshell-parse-command): Autoload.
7912 * eshell/esh-ext.el: Adjust requires.
7913 (eshell-parse-command, eshell-close-handles): Autoload.
7914 * eshell/esh-io.el: Adjust requires.
7915 (eshell-output-filter): Autoload.
7916 * eshell/esh-util.el: No need to load tramp when compiling.
7917 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7918 Declare.
7919 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7920 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7921 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7922 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7923 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7924 * eshell/esh-opt.el, eshell/esh-proc.el:
7925 * eshell/esh-var.el: Adjust requires.
7926 * eshell/eshell.el: Do not require esh-util twice.
7927 (eshell-add-input-to-history): Declare.
7928 (eshell-command): Check history module is active before using it.
7929
7930 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7931
7932 2013-05-22 Leo Liu <sdl.web@gmail.com>
7933
7934 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7935
7936 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7937
7938 * autorevert.el (auto-revert-notify-add-watch)
7939 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7940 it indicates changes in file modification time.
7941
7942 2013-05-22 Glenn Morris <rgm@gnu.org>
7943
7944 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7945 Always delete the autoloaded function from the noruntime and
7946 unresolved functions lists.
7947
7948 * allout.el: No need to load epa, epg, overlay when compiling.
7949 (epg-context-set-passphrase-callback, epg-list-keys)
7950 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7951 (epg-key-user-id-list): Declare.
7952
7953 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7954 (viper-set-parsing-style-toggling-macro)
7955 (viper-set-emacs-state-searchstyle-macros):
7956 Use called-interactively-p on Emacs.
7957 (viper-looking-back): Make it an obsolete alias. Update callers.
7958 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7959 Use looking-back rather than viper-looking-back.
7960 (viper-tmp-insert-at-eob, viper-enlarge-region)
7961 (viper-read-string-with-history, viper-register-to-point)
7962 (viper-append-to-register, viper-change-state-to-vi)
7963 (viper-backward-char-carefully, viper-forward-char-carefully)
7964 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7965 (viper-change-state-to-emacs): Declare.
7966 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7967 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7968 * emulation/viper-mous.el: Do not load viper-cmd.
7969 (viper-backward-char-carefully, viper-forward-char-carefully)
7970 (viper-forward-word, viper-adjust-window): Declare.
7971
7972 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7973
7974 * progmodes/idlw-help.el (idlwave-help-fontify):
7975 Use called-interactively-p.
7976
7977 * term/w32console.el (w32-get-console-codepage)
7978 (w32-get-console-output-codepage): Declare.
7979
7980 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7981 Remove unnecessary declarations.
7982 (dframe-message): Doc fix.
7983
7984 * info.el (dframe-select-attached-frame, dframe-current-frame):
7985 Declare.
7986
7987 * speedbar.el (speedbar-message): Make it an obsolete alias.
7988 Update all callers.
7989 (speedbar-with-attached-buffer)
7990 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7991 (speedbar-with-writable): Use backquote.
7992 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7993 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7994 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7995 rather than speedbar- aliases.
7996 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7997 (speedbar-make-specialized-keymap, speedbar-insert-button)
7998 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7999 (speedbar-do-function-pointer): Declare.
8000 (rmail-speedbar-button, rmail-speedbar-find-file)
8001 (rmail-speedbar-move-message):
8002 Use dframe-with-attached-buffer rather than speedbar- alias.
8003 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8004 (dframe-message, speedbar-make-specialized-keymap)
8005 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8006 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8007 (speedbar-insert-button, dframe-select-attached-frame)
8008 (dframe-maybee-jump-to-attached-frame)
8009 (speedbar-change-initial-expansion-list)
8010 (speedbar-previously-used-expansion-list-name): Declare.
8011 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8012 Use dframe-message, dframe-with-attached-buffer rather than
8013 speedbar- aliases.
8014 (gud-sentinel): Silence compiler.
8015 * progmodes/vhdl-mode.el (speedbar-refresh)
8016 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8017 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8018 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8019 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8020 (speedbar-file-lists, speedbar-make-tag-line)
8021 (speedbar-line-directory, speedbar-goto-this-file)
8022 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8023 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8024 (speedbar-make-button, speedbar-reset-scanners)
8025 (speedbar-files-item-info, speedbar-line-text)
8026 (speedbar-find-file-in-frame, speedbar-set-timer)
8027 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8028 (speedbar-with-writable): Do not (re)define it.
8029 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8030 rather than speedbar- alias.
8031
8032 2013-05-21 Leo Liu <sdl.web@gmail.com>
8033
8034 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8035 menu items.
8036 (octave-mode): Tweak fill-nobreak-predicate.
8037 (inferior-octave-startup): Check process to avoid infinite loop.
8038 (inferior-octave): Pop to buffer first to show abornmal process
8039 exit information.
8040
8041 2013-05-21 Glenn Morris <rgm@gnu.org>
8042
8043 * printing.el (pr-menu-bar): Define when compiling.
8044
8045 2013-05-21 Leo Liu <sdl.web@gmail.com>
8046
8047 * progmodes/octave.el (octave-auto-fill): Remove.
8048 (octave-indent-new-comment-line): Improve.
8049 (octave-mode): Use auto fill mode through
8050 comment-line-break-function and fill-nobreak-predicate.
8051 (octave-goto-function-definition): Support DEFUN_DLD.
8052 (octave-beginning-of-defun): Small tweak.
8053 (octave-help): Show parent directory.
8054
8055 2013-05-21 Glenn Morris <rgm@gnu.org>
8056
8057 * files.el (dired-unmark):
8058 * progmodes/gud.el (gdb-input): Update declarations.
8059
8060 * calculator.el (electric, ehelp): No need to load when compiling.
8061 (Electric-command-loop, electric-describe-mode): Declare.
8062
8063 * doc-view.el (doc-view-current-converter-processes): Move before use.
8064
8065 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8066 Move MODE-set-explicitly definition before use.
8067
8068 * international/mule-diag.el (mule-diag):
8069 Don't use obsolete window-system-version.
8070
8071 * mail/feedmail.el (smtpmail): No need to load when compiling.
8072 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8073
8074 * mail/mail-utils.el (rfc822): No need to load when compiling.
8075 (rfc822-addresses): Autoload it.
8076 (mail-strip-quoted-names): Trivial simplification.
8077
8078 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8079 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8080
8081 * net/snmp-mode.el (tempo): Don't duplicate requires.
8082
8083 * progmodes/prolog.el (info): No need to load when compiling.
8084 (comint): Require before shell requires it.
8085 (Info-goto-node): Autoload it.
8086 (Info-follow-nearest-node): Declare.
8087 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8088
8089 * textmodes/artist.el (picture-mode-exit): Declare.
8090
8091 * textmodes/reftex-parse.el (reftex-parse-from-file):
8092 Trivial rewrite so the compiler can parse it better.
8093
8094 2013-05-20 Leo Liu <sdl.web@gmail.com>
8095
8096 * progmodes/octave.el (octave-help-mode-map)
8097 (octave-help-mode-finish-hook): New variables.
8098 (octave-help-mode, octave-help-mode-finish): New functions.
8099 (octave-help): Use octave-help-mode.
8100
8101 2013-05-20 Glenn Morris <rgm@gnu.org>
8102
8103 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8104
8105 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8106
8107 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8108 start at point, so that expansion starting right after opening
8109 slash in a regexp is recognized.
8110 (ruby-syntax-before-regexp-re): New defvar, extracted from
8111 ruby-syntax-propertize-function. Since the value of this regexp
8112 is looked up at runtime now, we should be able to turn
8113 `ruby-syntax-methods-before-regexp' into a defcustom later.
8114 (ruby-syntax-propertize-function): Split regexp matching into two
8115 parts, for opening and closing slashes. That allows us to skip
8116 over string interpolations and support multiline regexps.
8117 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8118 for them, which calls `ruby-syntax-propertize-expansion'.
8119 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8120 call to `ruby-syntax-propertize-function'.
8121 (ruby-syntax-propertize-expansion): Extracted from
8122 `ruby-syntax-propertize-expansions'. Handles one expansion.
8123 (ruby-syntax-propertize-percent-literal): Leave point right after
8124 the percent symbol, so that the expression expansion rule can
8125 propertize the contents.
8126 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8127 heredoc openers.
8128 (ruby-syntax-propertize-expansions): Remove.
8129
8130 2013-05-18 Juri Linkov <juri@jurta.org>
8131
8132 * man.el (Man-default-man-entry): Remove `-' from the end
8133 of the default value. (Bug#14400)
8134
8135 2013-05-18 Glenn Morris <rgm@gnu.org>
8136
8137 * comint.el (comint-password-prompt-regexp):
8138 Allow "password for XXX" where XXX contains colons (eg https://...).
8139
8140 2013-05-18 Leo Liu <sdl.web@gmail.com>
8141
8142 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8143 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8144 (octave-source-directories): Don't check process.
8145 (octave-source-directories, octave-find-definition): Doc fix.
8146
8147 2013-05-18 Glenn Morris <rgm@gnu.org>
8148
8149 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8150 Remove backspace/delete bindings. (Bug#14392)
8151
8152 * cus-dep.el (custom-make-dependencies): Sort the output.
8153 (custom-versions-load-alist): Convert comment to doc.
8154
8155 2013-05-17 Leo Liu <sdl.web@gmail.com>
8156
8157 * newcomment.el (comment-search-backward): Stricter in finding
8158 comment start. (Bug#14303)
8159
8160 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8161 (octave-comment-start-skip): Properly anchored.
8162
8163 2013-05-17 Leo Liu <sdl.web@gmail.com>
8164
8165 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8166 Clean up when turned off. (Bug#14395)
8167 (smie--highlight-matching-block-overlay): No longer buffer-local.
8168 (smie-highlight-matching-block): Adjust.
8169
8170 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8171
8172 Doc string fix for "nanoseconds" (Bug#14406).
8173 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8174 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8175
8176 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8177
8178 * calc/calc-units.el (math-extract-units): Preserve powers
8179 of units.
8180
8181 2013-05-17 Leo Liu <sdl.web@gmail.com>
8182
8183 * subr.el (delete-consecutive-dups): New function.
8184 * ido.el (ido-set-matches-1): Use it.
8185 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8186 * ido.el (ido-remove-consecutive-dups): Remove.
8187
8188 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8191 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8192 regexp-opt's `words'.
8193
8194 2013-05-16 Leo Liu <sdl.web@gmail.com>
8195
8196 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8197 (smie--highlight-matching-block-overlay)
8198 (smie--highlight-matching-block-lastpos)
8199 (smie--highlight-matching-block-timer): New variables.
8200 (smie-highlight-matching-block): New function.
8201 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8202 (smie-setup): Conditionally enable smie-blink-matching-open.
8203
8204 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8205
8206 Sync with upstream verilog-mode r840.
8207 * progmodes/verilog-mode.el (verilog-mode-version)
8208 (verilog-mode-release-date): Update.
8209 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8210 (verilog-sig-tieoff): Fix string error on
8211 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8212 (verilog-read-decls): Fix parameters confusing
8213 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8214
8215 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8216
8217 * subr.el (reveal-filename): New function.
8218
8219 * loadup.el: Compute Emacs executable versions on MS-Windows,
8220 where executables have the .exe extension. Add a hard link
8221 emacs-XX.YY.ZZ.exe on MS-Windows.
8222
8223 * Makefile.in (XARGS_LIMIT): New variable.
8224 (custom-deps, finder-data, autoloads)
8225 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8226 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8227 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8228 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8229
8230 2013-05-16 Leo Liu <sdl.web@gmail.com>
8231
8232 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8233 (octave-mode-menu, octave-mode-map): Remove its uses.
8234
8235 2013-05-16 Reto Zimmermann <reto@gnu.org>
8236
8237 Sync with upstream vhdl mode v3.34.2.
8238 * progmodes/vhdl-mode.el: Use `push' throughout.
8239 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8240 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8241 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8242 (vhdl-actual-generic-name): New option to derive actual generic name.
8243 (vhdl-port-paste-signals): Replace formal by actual generics.
8244 (vhdl-beautify): New name for old group vhdl-align. Update users.
8245 (vhdl-beautify-options): New option.
8246 (vhdl-last-input-event): New compat alias. Use throughout.
8247 (vhdl-goto-line): Replace user level function `goto-line'.
8248 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8249 vhdl-fix-statement-buffer.
8250 (vhdl-create-mode-menu): Add some entries.
8251 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8252 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8253 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8254 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8255 to force statements on one line.
8256 (vhdl-remove-trailing-spaces-region):
8257 New, split from vhdl-remove-trailing-spaces.
8258 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8259 Respect vhdl-beautify-options.
8260 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8261 (vhdl-update-sensitivity-list): Not add with index if exists without.
8262 Not include array index with signal. Ignore keywords in comments.
8263 (vhdl-get-visible-signals): Regexp tweaks.
8264 (vhdl-template-component-inst): Handle empty library.
8265 (vhdl-template-type): Add template for 'enum' type.
8266 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8267 Use vhdl-replace-string.
8268 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8269 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8270 (vhdl-speedbar-initialize): Update for above name change.
8271 (vhdl-compose-wire-components): Fix in handling of constants.
8272 (vhdl-error-regexp-emacs-alist): New variable.
8273 (vhdl-error-regexp-add-emacs): New function;
8274 adds support for new compile.el (Emacs 22+)
8275 (vhdl-generate-makefile-1): Change target order for single lib. units.
8276 Allow use of absolute file names.
8277
8278 2013-05-16 Leo Liu <sdl.web@gmail.com>
8279
8280 * simple.el (prog-indent-sexp): Indent enclosing defun.
8281
8282 2013-05-15 Glenn Morris <rgm@gnu.org>
8283
8284 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8285 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8286 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8287 (whitespace-highlight): Move to whitespace group.
8288
8289 * comint.el (comint-source):
8290 * pcmpl-linux.el (pcmpl-linux):
8291 * shell.el (shell-faces):
8292 * eshell/esh-opt.el (eshell-opt):
8293 * international/ccl.el (ccl): Remove empty custom groups.
8294
8295 * completion.el (dynamic-completion-mode):
8296 * jit-lock.el (jit-lock-debug-mode):
8297 * minibuffer.el (completion-in-region-mode):
8298 * type-break.el (type-break-mode-line-message-mode)
8299 (type-break-query-mode):
8300 * emulation/tpu-edt.el (tpu-edt-mode):
8301 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8302 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8303 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8304
8305 * term/xterm.el (xterm): Change parent group to terminals.
8306
8307 * master.el (master): Remove empty custom group.
8308 (master-mode): Remove unused :group argument.
8309 * textmodes/refill.el (refill): Remove empty custom group.
8310 (refill-mode): Remove unused :group argument.
8311
8312 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8313
8314 * cus-dep.el: Provide a feature.
8315 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8316 Don't mistakenly ignore files whose basenames match a basename
8317 from preloaded-file-list (eg cedet/ede/simple.el).
8318 Add a fallback method for getting :group.
8319
8320 2013-05-15 Juri Linkov <juri@jurta.org>
8321
8322 * isearch.el (isearch-char-by-name): Rename from
8323 `isearch-insert-char-by-name'. Doc fix.
8324 (isearch-forward): Mention `isearch-char-by-name' in
8325 the docstring. (Bug#13348)
8326
8327 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8328 `exit-minibuffer' instead of
8329 `isearch-nonincremental-exit-minibuffer'.
8330 (isearch-edit-string): Remove mention of
8331 `isearch-nonincremental-exit-minibuffer' from docstring.
8332 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8333 (isearch-forward-exit-minibuffer)
8334 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8335
8336 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8337
8338 * loadup.el: Just use unversioned DOC.
8339
8340 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8341 literals as extending to EOB.
8342 (nxml-last-fontify-end): Remove unused variable.
8343 (nxml-after-change1): Use with-silent-modifications.
8344 (nxml-extend-after-change-region): Simplify.
8345 (nxml-extend-after-change-region1): Remove function.
8346 (nxml-after-change1): Don't adjust for dependent regions.
8347 (nxml-fontify-matcher): Simplify.
8348 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8349 (xmltok-add-dependent): Remove function.
8350 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8351 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8352 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8353 unclosed <[[, <?, comment, and other literals as extending to EOB.
8354 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8355 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8356 Remove functions.
8357 (rng-do-some-validation-1): Don't mark dependent regions.
8358 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8359 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8360 (nxml-clear-dependent-regions): Remove functions.
8361 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8362 (nxml-ensure-scan-up-to-date):
8363 Don't clear&mark dependent regions.
8364
8365 2013-05-15 Leo Liu <sdl.web@gmail.com>
8366
8367 * progmodes/octave.el (octave-goto-function-definition):
8368 Improve and fix callers.
8369
8370 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8371
8372 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8373 the setter (bug#14387).
8374
8375 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8376 surrounding group (bug#14402).
8377
8378 2013-05-14 Juri Linkov <juri@jurta.org>
8379
8380 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8381 (Bug#14390)
8382
8383 2013-05-14 Glenn Morris <rgm@gnu.org>
8384
8385 * progmodes/f90.el (f90-imenu-generic-expression):
8386 Fix typo in 2013-05-08 change. (Bug#14402)
8387
8388 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8389
8390 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8391 Remove signals for which replies are never received.
8392
8393 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8394
8395 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8396 (gdb-handler-alist, gdb-handler-number): Remove variables.
8397 (gdb-handler-list): New variable.
8398 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8399 (gdb-pending-handler-p, gdb-handle-reply)
8400 (gdb-remove-all-pending-triggers): New functions.
8401 (gdb-discard-unordered-replies): New defcustom.
8402 (gdb-handler): New defstruct.
8403 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8404 instead of gdb-pending-triggers. Update docstring.
8405 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8406 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8407 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8408 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8409 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8410 (gdb-frame-handler): Pending triggers are now automatically managed.
8411 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8412 Remove argument.
8413 (gdb-input): Automatically handles pending triggers. Update docstring.
8414 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8415 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8416 Update comments.
8417 (gdb-done-or-error): Now use gdb-handle-reply.
8418
8419 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8420
8421 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8422 gdb-debug-log.
8423
8424 2013-05-14 Glenn Morris <rgm@gnu.org>
8425
8426 * subr.el (user-emacs-directory-warning): New option.
8427 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8428
8429 2013-05-14 Leo Liu <sdl.web@gmail.com>
8430
8431 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8432 during redisplay.
8433 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8434 (octave-font-lock-texinfo-comment): Fix invalid search bound
8435 error: wrong side of point.
8436
8437 2013-05-14 Glenn Morris <rgm@gnu.org>
8438
8439 * progmodes/flymake.el (flymake-xml-program): New option.
8440 (flymake-xml-init): Use it.
8441
8442 * term/xterm.el: Provide a feature.
8443
8444 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8445
8446 2013-05-13 Glenn Morris <rgm@gnu.org>
8447
8448 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8449 Add compat aliases as a hack workaround. (Bug#14384)
8450
8451 2013-05-13 Leo Liu <sdl.web@gmail.com>
8452
8453 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8454 ###, and %!.
8455 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8456 C-M-q.
8457 (octave-comment-start-skip): Include %!.
8458 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8459
8460 2013-05-12 Leo Liu <sdl.web@gmail.com>
8461
8462 * progmodes/octave.el (inferior-octave-startup): Store the value
8463 of __octave_srcdir__ for octave-source-directories.
8464 (inferior-octave-check-process): New function refactored out of
8465 inferior-octave-send-list-and-digest.
8466 (octave-source-directories)
8467 (octave-find-definition-filename-function): New variables.
8468 (octave-source-directories)
8469 (octave-find-definition-default-filename): New functions.
8470 (octave-find-definition): Improve to find functions implemented in C++.
8471
8472 2013-05-12 Glenn Morris <rgm@gnu.org>
8473
8474 * calendar/diary-lib.el (diary-outlook-format-1):
8475 Don't include dayname in the output. (Bug#14349)
8476
8477 2013-05-11 Glenn Morris <rgm@gnu.org>
8478
8479 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8480
8481 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8482 Treat cc-provide like provide.
8483
8484 2013-05-11 Kevin Ryde <user42@zip.com.au>
8485
8486 * cus-dep.el (custom-make-dependencies):
8487 Use generated-autoload-load-name for the sake of files such
8488 such cedet/semantic/bovine/c.el, where the base file name
8489 is not in load-path. (Bug#5277)
8490
8491 2013-05-11 Glenn Morris <rgm@gnu.org>
8492
8493 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8494 Provide features.
8495
8496 2013-05-11 Leo Liu <sdl.web@gmail.com>
8497
8498 * progmodes/octave.el (octave-indent-comment): Improve.
8499 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8500 (octave-eldoc-function-signatures, octave-eldoc-function):
8501 New functions.
8502 (octave-mode, inferior-octave-mode): Add eldoc support.
8503
8504 2013-05-11 Richard Stallman <rms@gnu.org>
8505
8506 * epa.el (epa-decrypt-file): Take output file name as argument
8507 and read it using `interactive'.
8508
8509 2013-05-11 Leo Liu <sdl.web@gmail.com>
8510
8511 * progmodes/octave.el (octave-beginning-of-line)
8512 (octave-end-of-line): Check before using up-list because it jumps
8513 out of more syntactic contructs since moving to smie.
8514 (octave-indent-comment): New function.
8515 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8516 (octave-begin-keywords, octave-end-keywords)
8517 (octave-reserved-words, octave-smie-bnf-table)
8518 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8519
8520 2013-05-11 Glenn Morris <rgm@gnu.org>
8521
8522 * faces.el (internal-face-x-get-resource):
8523 * frame.el (ns-display-monitor-attributes-list):
8524 * calc/calc-aent.el (math-to-radians-2):
8525 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8526 Fix declarations.
8527
8528 * calc/calc-menu.el: Make it loadable in isolation.
8529
8530 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8531 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8532 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8533 (eudc-bbdb-query-internal): Require 'bbdb.
8534
8535 * lpr.el (lpr-headers-switches):
8536 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8537
8538 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8539
8540 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8541
8542 * term.el (term-set-escape-char): Make it idempotent.
8543
8544 2013-05-10 Leo Liu <sdl.web@gmail.com>
8545
8546 * progmodes/octave.el (inferior-octave-completion-table):
8547 No longer a function and all uses changed. Use cache to speed up
8548 completion due to bug#11906.
8549 (octave-beginning-of-defun): Re-write to be more general.
8550
8551 2013-05-10 Glenn Morris <rgm@gnu.org>
8552
8553 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8554
8555 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * comint.el (comint-redirect-send-command-to-process): Use :around
8558 rather than :override for comint-redirect-filter.
8559 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8560 Call it instead of comint-redirect-original-filter-function (which
8561 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8562
8563 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8564
8565 * frame.el (display-monitor-attributes-list): Add NS case.
8566 (ns-display-monitor-attributes-list): Declare.
8567
8568 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8569
8570 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8571
8572 2013-05-09 Glenn Morris <rgm@gnu.org>
8573
8574 * international/fontset.el (vertical-centering-font-regexp):
8575 Set standard-value.
8576
8577 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8578
8579 * bookmark.el (bookmark-search-delay):
8580 * cus-start.el (vertical-centering-font-regexp):
8581 * ps-mule.el (ps-mule-font-info-database-default):
8582 * ps-print.el (ps-default-fg, ps-default-bg):
8583 * type-break.el (type-break-good-break-interval):
8584 * whitespace.el (whitespace-indentation-regexp)
8585 (whitespace-space-after-tab-regexp):
8586 * emacs-lisp/testcover.el (testcover-1value-functions)
8587 (testcover-noreturn-functions, testcover-progn-functions)
8588 (testcover-prog1-functions):
8589 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8590 * eshell/em-glob.el (eshell-glob-translate-alist):
8591 * play/tetris.el (tetris-tty-colors):
8592 * progmodes/cpp.el (cpp-face-default-list):
8593 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8594 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8595 (idlwave-help-browser-generic-args):
8596 * progmodes/make-mode.el (makefile-special-targets-list):
8597 * progmodes/python.el (python-shell-virtualenv-path):
8598 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8599 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8600 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8601 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8602 * textmodes/reftex-vars.el (reftex-format-label-function):
8603 * textmodes/remember.el (remember-diary-file): Fix custom types.
8604
8605 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8606 Add :version.
8607
8608 2013-05-09 Leo Liu <sdl.web@gmail.com>
8609
8610 * progmodes/octave.el (inferior-octave-completion-at-point):
8611 Restore file completion. (Bug#14300)
8612 (inferior-octave-startup): Fix incorrect highlighting for the
8613 first prompt.
8614
8615 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * progmodes/ruby-mode.el: First cut at SMIE support.
8618 (ruby-use-smie): New var.
8619 (ruby-smie-grammar): New constant.
8620 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8621 (ruby-smie--forward-token, ruby-smie--backward-token)
8622 (ruby-smie-rules): New functions.
8623 (ruby-mode-variables): Setup SMIE if applicable.
8624
8625 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8626
8627 * simple.el (line-move-visual): Signal beginning/end of buffer
8628 only if vertical-motion moved less than it was requested. Avoids
8629 silly incorrect error messages when there are display strings with
8630 multiple newlines at EOL.
8631
8632 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8635 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8636 (prolog-char-quote-workaround):
8637 * progmodes/cperl-mode.el (cperl-under-as-char):
8638 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8639 Mark as obsolete.
8640 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8641 their declaration.
8642 (vhdl-mode-syntax-table-init): Remove.
8643
8644 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8645 last change.
8646
8647 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8648 syntax for "_".
8649 (ld-script-font-lock-keywords):
8650 Change regexps to use things like \_< and \_>.
8651
8652 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8653 Change all regexps to use things like \_< and \_>.
8654
8655 * progmodes/autoconf.el (autoconf-definition-regexp)
8656 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8657 Handle a _ with symbol syntax.
8658 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8659
8660 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8661 Consolidate declaration.
8662 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8663 the declaration.
8664 (ada-create-syntax-table): Remove.
8665 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8666 already has the right syntax nowadays.
8667 (ada-goto-next-word): Don't change the syntax of "_".
8668
8669 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8670 with-wrapper-hook.
8671
8672 2013-05-08 Sam Steingold <sds@gnu.org>
8673
8674 * thingatpt.el (thing-at-point): Accept optional second argument
8675 NO-PROPERTIES to strip the text properties from the return value.
8676 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8677 to `thing-at-point' instead of stripping the properties ourselves.
8678 Also, when `thing-at-point' fails to find a url, prepend "http://"
8679 to the filename at point on the assumption that the user is
8680 pointing at something like gnu.org/gnu.
8681
8682 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8683
8684 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8685 * faces.el (crm-separator):
8686 Silence byte-compiler.
8687
8688 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8689 (tool-bar-map): Remove unneeded defvars.
8690
8691 2013-05-08 Leo Liu <sdl.web@gmail.com>
8692
8693 Re-work a fix for bug#10994 based on Le Wang's patch.
8694 * ido.el (ido-remove-consecutive-dups): New helper.
8695 (ido-completing-read): Use it.
8696 (ido-chop): Revert fix for bug#10994.
8697
8698 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8699
8700 * cus-edit.el (custom-save-variables):
8701 Pretty-print long values. (Bug#14187)
8702
8703 2013-05-08 Glenn Morris <rgm@gnu.org>
8704
8705 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8706 (m4-mode-syntax-table): Init in the defvar.
8707 (m4-mode-abbrev-table): Let define-derived-mode define it.
8708
8709 2013-05-08 Tom Tromey <tromey@redhat.com>
8710
8711 * progmodes/m4-mode.el (m4-mode-syntax-table):
8712 Do not treat "_" as word constituent. (Bug#14167)
8713
8714 2013-05-07 Glenn Morris <rgm@gnu.org>
8715
8716 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8717 Remove explicit eshell-isearch-cancel-map.
8718
8719 * progmodes/f90.el (f90-smart-end-names): New option.
8720 (f90-smart-end): Doc fix.
8721 (f90-end-block-optional-name): New constant.
8722 (f90-block-match): Respect f90-smart-end-names.
8723
8724 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8725
8726 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8727 about implicit semi-colons (bug#14218).
8728
8729 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8730
8731 * frame.el (display-monitor-attributes-list)
8732 (frame-monitor-attributes): New functions.
8733
8734 2013-05-06 Leo Liu <sdl.web@gmail.com>
8735
8736 * progmodes/octave.el (octave-syntax-propertize-function): Change
8737 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8738 (octave-font-lock-keywords): Use octave-operator-regexp.
8739 (octave-completion-at-point): Rename from
8740 octave-completion-at-point-function.
8741 (inferior-octave-directory-tracker): Robustify.
8742 (octave-text-functions): Remove and fix its uses. No such things
8743 any more.
8744
8745 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * emacs-lisp/trace.el (trace--display-buffer): New function.
8748 (trace-make-advice): Use it.
8749
8750 2013-05-06 Juri Linkov <juri@jurta.org>
8751
8752 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8753 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8754 Doc fix.
8755 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8756 in the help string. (Bug#12985)
8757
8758 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8759
8760 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8761
8762 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8763
8764 * progmodes/perl-mode.el: Add support for here documents.
8765 (perl-syntax-propertize-function): Match here-doc markers.
8766 (perl-syntax-propertize-special-constructs): Find their end.
8767 (perl-imenu-generic-expression): Use [:alnum:].
8768
8769 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8770 (advice--add-function): Refresh the advice if already present
8771 (bug#14317).
8772
8773 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8774
8775 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8776
8777 2013-05-06 Glenn Morris <rgm@gnu.org>
8778
8779 * w32-fns.el (w32-charset-info-alist): Declare.
8780
8781 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8782 of its defcustom properties.
8783 (eshell-cmpl-initialize): No need to load pcomplete.
8784
8785 * generic-x.el: No need to require comint when compiling.
8786
8787 * net/eudc-export.el: Make it loadable without bbdb.
8788 (top-level): Use require rather than load-library.
8789 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8790 (eudc-batch-export-records-to-bbdb)
8791 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8792 Require bbdb.
8793
8794 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8795
8796 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8797 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8798 some tweaks, instead.
8799
8800 2013-05-05 Leo Liu <sdl.web@gmail.com>
8801
8802 * progmodes/octave.el (octave-font-lock-keywords)
8803 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8804 (inferior-octave-send-list-and-digest): Improve error message.
8805 (octave-mode, inferior-octave-mode): Use setq-local.
8806 (octave-help): Set info-lookup-mode.
8807
8808 2013-05-05 Richard Stallman <rms@gnu.org>
8809
8810 * vc/compare-w.el (compare-windows-whitespace):
8811 Treat no-break space as whitespace.
8812
8813 * mail/rmailsum.el (rmail-summary-rmail-update):
8814 Detect empty summary and don't change selected message.
8815 (rmail-summary-goto-msg): Likewise.
8816
8817 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8818 Doc fixes, rename args.
8819
8820 2013-05-05 Alan Mackenzie <acm@muc.de>
8821
8822 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8823
8824 2013-05-05 Juri Linkov <juri@jurta.org>
8825
8826 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8827 to not add the length of the summary segment to the return value.
8828 (Bug#14125)
8829
8830 2013-05-05 Leo Liu <sdl.web@gmail.com>
8831
8832 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8833 (inferior-octave-output-filter): Remove.
8834 (octave-send-region, inferior-octave-startup): Fix callers.
8835 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8836 (octave-binary-file-extensions): New user variable.
8837 (octave-find-definition): Confirm if opening binary files.
8838 (octave-help-file): Use octave-find-definition to get the binary
8839 confirmation.
8840 (octave-help): Adjust for octave-help-file change.
8841
8842 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8845 Merge the two entries that handle function definitions.
8846 (pascal--syntax-propertize): New const.
8847 (pascal-mode): Use it. Use setq-local.
8848
8849 2013-05-04 Glenn Morris <rgm@gnu.org>
8850
8851 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8852 (diary-from-outlook): Respect diary-from-outlook-function.
8853
8854 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8855
8856 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8857 Move the declaration from C.
8858 (read-minibuffer, eval-minibuffer): Move from C.
8859 (completion-setup-function): Avoid minibuffer-completion-contents.
8860
8861 2013-05-03 Leo Liu <sdl.web@gmail.com>
8862
8863 * progmodes/octave.el (octave-font-lock-keywords): Do not
8864 dehighlight 'end' in comments or strings.
8865 (octave-completing-read, octave-goto-function-definition):
8866 New helpers.
8867 (octave-help-buffer): New user variable.
8868 (octave-help-file, octave-help-function): New button types.
8869 (octave-help): New command and bind it to C-h ;.
8870 (octave-find-definition): New command and bind it to M-.
8871 (user-error): Alias to error if not defined.
8872
8873 2013-05-02 Leo Liu <sdl.web@gmail.com>
8874
8875 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8876 for \. (bug#14332)
8877 (octave-font-lock-keywords): Include [ and {.
8878
8879 2013-05-02 Leo Liu <sdl.web@gmail.com>
8880
8881 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8882 (inferior-octave): Remove calling comint-mode and return the buffer.
8883 (inferior-octave-startup): Cosmetic changes.
8884
8885 2013-05-02 Leo Liu <sdl.web@gmail.com>
8886
8887 * progmodes/octave.el (octave-syntax-propertize-function):
8888 Include the case when ' is at line beginning. (Bug#14336)
8889
8890 2013-05-02 Glenn Morris <rgm@gnu.org>
8891
8892 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8893 * desktop.el (vc-dir-mode): Just autoload it here.
8894
8895 2013-05-02 Alan Mackenzie <acm@muc.de>
8896
8897 Eliminate variable c-standard-font-lock-fontify-region-function.
8898 * progmodes/cc-mode.el
8899 (c-standard-font-lock-fontify-region-function): Remove.
8900 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8901
8902 2013-05-01 Leo Liu <sdl.web@gmail.com>
8903
8904 * progmodes/octave.el: Compatible with older emacs-24 releases.
8905 (inferior-octave-has-built-in-variables): Remove. Built-in
8906 variables were removed from Octave in 2007.
8907 (inferior-octave-startup): Fix uses.
8908 (comint-line-beginning-position): Remove compatibility code for
8909 emacs 21.
8910
8911 2013-05-01 Juri Linkov <juri@jurta.org>
8912
8913 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8914
8915 2013-05-01 Juri Linkov <juri@jurta.org>
8916
8917 * comint.el (comint-previous-matching-input): Don't print message
8918 "History item: %d" when `isearch-mode' is active.
8919 (comint-history-isearch-message): Print message "History item: %d"
8920 when `comint-input-ring-index' is not empty and this function is
8921 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8922
8923 2013-05-01 Leo Liu <sdl.web@gmail.com>
8924
8925 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8926 definitions. Use completion-at-point to insert keywords.
8927 (octave-abbrev-start): Remove.
8928 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8929
8930 2013-04-30 Leo Liu <sdl.web@gmail.com>
8931
8932 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8933 change.
8934
8935 2013-04-30 Alan Mackenzie <acm@muc.de>
8936
8937 Handle arbitrarily long C++ member initialisation lists.
8938 * progmodes/cc-engine.el (c-back-over-member-initializers):
8939 new function.
8940 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8941 (most) member init lists.
8942
8943 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8944
8945 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8946 variable.
8947
8948 2013-04-30 Leo Liu <sdl.web@gmail.com>
8949
8950 * progmodes/octave.el (octave-variables): Remove. No builtin
8951 variables any more. All converted to functions.
8952 (octave-font-lock-keywords, octave-completion-at-point-function):
8953 Fix uses.
8954 (octave-font-lock-texinfo-comment): New user variable.
8955 (octave-texinfo-font-lock-keywords): New variable for texinfo
8956 comment block.
8957 (octave-function-comment-block): New face.
8958 (octave-font-lock-texinfo-comment): New function.
8959 (octave-mode): Font lock texinfo comment block.
8960
8961 2013-04-29 Leo Liu <sdl.web@gmail.com>
8962
8963 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8964 indexing expression.
8965 (octave-continuation-string): Do not use \.
8966 (inferior-octave-complete-impossible): Remove.
8967 (inferior-octave-completion-table)
8968 (inferior-octave-completion-at-point): Remove its uses.
8969 (inferior-octave-startup): completion_matches was introduced to
8970 Octave in 1996 so safe to assume it.
8971 (octave-function-file-comment): Improve to follow how Octave does it.
8972 (octave-update-function-file-comment): Tweak.
8973
8974 2013-04-29 Leo Liu <sdl.web@gmail.com>
8975
8976 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8977 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8978 (octave-function-file-comment): Fix typo.
8979 (octave-sync-function-file-names): Use read-char-choice.
8980
8981 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8982
8983 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8984 to t for the less important warnings.
8985
8986 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8987
8988 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8989
8990 2013-04-27 Glenn Morris <rgm@gnu.org>
8991
8992 * vc/log-view.el (log-view-current-entry):
8993 Treat "---" separator lines as part of the following rev. (Bug#14169)
8994
8995 2013-04-27 Juri Linkov <juri@jurta.org>
8996
8997 * subr.el (read-number): Doc fix about using it by interactive
8998 code letter `n'. (Bug#14254)
8999
9000 2013-04-27 Juri Linkov <juri@jurta.org>
9001
9002 * desktop.el (desktop-auto-save-timeout): New option.
9003 (desktop-file-checksum): New variable.
9004 (desktop-save): Add optional arg `auto-save' and don't auto-save
9005 if nothing changed.
9006 (desktop-auto-save-timer): New variable.
9007 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9008 (after-init-hook): Call `desktop-auto-save-set-timer'.
9009 Suggested by Reuben Thomas <rrt@sc3d.org> in
9010 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9011
9012 2013-04-27 Leo Liu <sdl.web@gmail.com>
9013
9014 * progmodes/octave.el (octave-function-file-p)
9015 (octave-skip-comment-forward, octave-function-file-comment)
9016 (octave-update-function-file-comment): New functions.
9017 (octave-mode-map): Bind C-c ; to
9018 octave-update-function-file-comment.
9019 (octave-mode-menu): Add octave-update-function-file-comment.
9020 (octave-mode, inferior-octave-mode): Fix doc-string.
9021 (octave-insert-defun): Conform to Octave's coding convention.
9022 (Bug#14285)
9023
9024 * files.el (basic-save-buffer): Don't let errors in
9025 before-save-hook prevent saving buffer.
9026
9027 2013-04-20 Roland Winkler <winkler@gnu.org>
9028
9029 * faces.el (read-face-name): Use completing-read if arg multiple
9030 is nil.
9031
9032 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9033
9034 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9035 displayed, move point to after the totals line.
9036 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9037 for the details.
9038
9039 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9042 Add current dir to the load-path.
9043 (package-generate-autoloads): Don't rely on
9044 autoload-ensure-default-file.
9045
9046 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9047
9048 * textmodes/remember.el (remember-store-in-files): Document that
9049 the file name format is passed to `format-time-string'.
9050
9051 2013-04-26 Leo Liu <sdl.web@gmail.com>
9052
9053 * progmodes/octave.el (octave-sync-function-file-names): New function.
9054 (octave-mode): Use it in before-save-hook.
9055
9056 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9059 (bug#14274).
9060
9061 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9062 \n and comment, even if it's not an implicit ; (bug#14218).
9063
9064 2013-04-26 Glenn Morris <rgm@gnu.org>
9065
9066 * subr.el (read-number): Once more use `read' rather than
9067 `string-to-number', to trap non-numeric input. (Bug#14254)
9068
9069 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9070
9071 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9072 Use `syntax-multiline' text property consistently instead of
9073 `font-lock-multiline'. (Bug#14237)
9074
9075 2013-04-26 Glenn Morris <rgm@gnu.org>
9076
9077 * emacs-lisp/shadow.el (list-load-path-shadows):
9078 No longer necessary to check for duplicate simple.el, since
9079 2012-07-07 change to init_lread to not include installation lisp
9080 directories in load-path when running uninstalled. (Bug#14270)
9081
9082 2013-04-26 Leo Liu <sdl.web@gmail.com>
9083
9084 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9085 (octave-mode, inferior-octave-mode): Use setq-local.
9086 (octave-not-in-string-or-comment-p): Rename to
9087 octave-in-string-or-comment-p.
9088 (octave-in-comment-p, octave-in-string-p)
9089 (octave-in-string-or-comment-p): Replace defsubst with defun.
9090
9091 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9092
9093 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9094
9095 2013-04-25 Bastien Guerry <bzg@gnu.org>
9096
9097 * textmodes/remember.el (remember-data-directory)
9098 (remember-directory-file-name-format): Fix custom types.
9099
9100 2013-04-25 Leo Liu <sdl.web@gmail.com>
9101
9102 * progmodes/octave.el (octave-completion-at-point-function):
9103 Make use of inferior octave process.
9104 (octave-initialize-completions): Remove.
9105 (inferior-octave-completion-table): New function.
9106 (inferior-octave-completion-at-point): Use it.
9107 (octave-completion-alist): Remove.
9108
9109 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9112 (opascal-mode-syntax-table): New var.
9113 (opascal-literal-kind, opascal-is-literal-end)
9114 (opascal-literal-token-at): Rewrite.
9115 (opascal--literal-start-re, opascal-font-lock-keywords)
9116 (opascal--syntax-propertize): New constants.
9117 (opascal-font-lock-defaults): Adjust.
9118 (opascal-mode): Use them. Set comment-<foo> variables as well.
9119 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9120 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9121 (delphi-other-face, opascal-other-face): Remove face variables.
9122 (opascal-save-state): Remove macro.
9123 (opascal-fontifying-progress-step): Remove constant.
9124 (opascal--ignore-changes): Remove var.
9125 (opascal-set-token-property, opascal-parse-next-literal)
9126 (opascal-is-stable-literal, opascal-complete-literal)
9127 (opascal-is-literal-start, opascal-face-of)
9128 (opascal-parse-region, opascal-parse-region-until-stable)
9129 (opascal-fontify-region, opascal-after-change)
9130 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9131 (opascal-debug-parse-region, opascal-debug-parse-window)
9132 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9133 (opascal-debug-fontify-buffer): Remove.
9134 (opascal-debug-mode-map): Adjust accordingly.
9135
9136 2013-04-25 Leo Liu <sdl.web@gmail.com>
9137
9138 Merge octave-mod.el and octave-inf.el into octave.el with some
9139 cleanups.
9140 * progmodes/octave.el: New file renamed from octave-mod.el.
9141 * progmodes/octave-inf.el: Merged into octave.el.
9142 * progmodes/octave-mod.el: Renamed to octave.el.
9143
9144 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9145
9146 * textmodes/reftex-vars.el
9147 (reftex-label-ignored-macros-and-environments): New defcustom.
9148
9149 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9150
9151 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9154 (smie-indent-keyword): Improve the check to ensure that the next
9155 comment is really on the same line.
9156 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9157
9158 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9159 semi-colons if the line is not otherwise empty (bug#14218).
9160
9161 2013-04-25 Glenn Morris <rgm@gnu.org>
9162
9163 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9164
9165 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9166
9167 * progmodes/opascal.el (opascal-set-token-property): Rename from
9168 opascal-set-text-properties and only set `token' (bug#14134).
9169 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9170 (opascal-literal-text-properties): Remove.
9171 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9172 Adjust callers.
9173
9174 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9175
9176 * textmodes/remember.el (remember-handler-functions): Add an
9177 option for a new handler `remember-store-in-files'.
9178 (remember-data-directory, remember-directory-file-name-format):
9179 New options.
9180 (remember-store-in-files): New function to store remember notes
9181 as separate files within a directory.
9182
9183 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9184
9185 * progmodes/compile.el (compilation-next-error-function):
9186 Pass "formats" to compilation-find-file (bug#11777).
9187
9188 2013-04-24 Glenn Morris <rgm@gnu.org>
9189
9190 * vc/vc-bzr.el (vc-bzr-print-log):
9191 * vc/vc-hg.el (vc-hg-print-log):
9192 * vc/vc-svn.el (vc-svn-print-log):
9193 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9194
9195 * vc/vc-bzr.el (vc-bzr-print-log):
9196 * vc/vc-cvs.el (vc-cvs-print-log):
9197 * vc/vc-git.el (vc-git-print-log):
9198 * vc/vc-hg.el (vc-hg-print-log):
9199 * vc/vc-mtn.el (vc-mtn-print-log):
9200 * vc/vc-rcs.el (vc-rcs-print-log):
9201 * vc/vc-sccs.el (vc-sccs-print-log):
9202 * vc/vc-svn.el (vc-svn-print-log):
9203 * vc/vc.el (vc-print-log-internal): Doc fixes.
9204
9205 2013-04-23 Glenn Morris <rgm@gnu.org>
9206
9207 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9208 Remove venerable code attempting to avoid substitute-command-keys.
9209
9210 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9211
9212 * textmodes/reftex-vars.el (reftex-label-regexps):
9213 Call `reftex-compile-variables' after changes to this variable.
9214
9215 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9218 Use lexical-binding.
9219 (jit-lock-force-redisplay): Use markers, check buffer's continued
9220 existence and beware narrowed buffers.
9221 (jit-lock-fontify-now): Adjust call accordingly.
9222
9223 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9224
9225 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9226 to avoid misleading the user.
9227
9228 2013-04-22 Leo Liu <sdl.web@gmail.com>
9229
9230 * info-look.el: Prefer latex2e.info. (Bug#14240)
9231
9232 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9233
9234 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9235
9236 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9237 * net/tramp.el (tramp-call-process): ... here.
9238 (tramp-set-completion-function, tramp-parse-putty):
9239 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9240 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9241 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9242 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9243 (tramp-call-local-coding-command): Use `tramp-call-process'
9244 instead of `tramp-compat-call-process'.
9245
9246 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9247 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9248 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9249 (tramp-find-inline-compress): Improve traces.
9250 (tramp-maybe-send-script): Check for Perl binary.
9251 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9252
9253 2013-04-22 Daiki Ueno <ueno@gnu.org>
9254
9255 * epg.el (epg-context-pinentry-mode): New function.
9256 (epg-context-set-pinentry-mode): New function.
9257 (epg--start): Pass --pinentry-mode option to gpg command.
9258
9259 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9260
9261 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9262 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9263 `completion-at-point'. (Bug#13774)
9264
9265 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9266 default key binding for `describe-distribution' has been moved to
9267 `C-h C-o'. (Bug#13970)
9268
9269 2013-04-21 Glenn Morris <rgm@gnu.org>
9270
9271 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9272 Add doc strings.
9273 (vc-print-log): Clarify interactive prompt.
9274
9275 2013-04-20 Glenn Morris <rgm@gnu.org>
9276
9277 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9278 No longer include timestamp etc information.
9279
9280 2013-04-20 Roland Winkler <winkler@gnu.org>
9281
9282 * faces.el (read-face-name): Bug fix, return just one face if arg
9283 multiple is nil. (Bug#14209)
9284
9285 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9286
9287 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9288 (remove-function): Autoload.
9289
9290 * comint.el (comint-redirect-original-filter-function): Remove.
9291 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9292 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9293 (vc-cvs-annotate-command):
9294 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9295 * progmodes/prolog.el (prolog-consult-compile):
9296 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9297 Use add/remove-function instead.
9298 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9299 (gud-tooltip-process-output, gud-tooltip-tips):
9300 Use add/remove-function instead.
9301 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9302 (scheme-interaction-mode, exit-scheme-interaction-mode):
9303 Use add/remove-function instead.
9304
9305 * vc/vc-dispatcher.el: Use lexical-binding.
9306 (vc--process-sentinel): Rename from vc-process-sentinel.
9307 Change last arg to be the code to run. Don't use vc-previous-sentinel
9308 and vc-sentinel-commands any more.
9309 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9310 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9311
9312 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9313
9314 * progmodes/sh-script.el (sh-imenu-generic-expression):
9315 Handle function names with a single character. (Bug#14111)
9316
9317 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9318
9319 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9320 for subroutines defined in an eval (bug#14182).
9321
9322 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9323
9324 * bookmark.el (bookmark-completing-read): Improve handling of empty
9325 string (bug#14176).
9326
9327 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9330
9331 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9332
9333 New faster Imenu implementation (bug#14058).
9334 * progmodes/python.el:
9335 (python-imenu-prev-index-position):
9336 (python-imenu-format-item-label-function)
9337 (python-imenu-format-parent-item-label-function)
9338 (python-imenu-format-parent-item-jump-label-function):
9339 New vars.
9340 (python-imenu-format-item-label)
9341 (python-imenu-format-parent-item-label)
9342 (python-imenu-format-parent-item-jump-label)
9343 (python-imenu--put-parent, python-imenu--build-tree)
9344 (python-imenu-create-index, python-imenu-create-flat-index)
9345 (python-util-popn): New functions.
9346 (python-mode): Set imenu-create-index-function to
9347 python-imenu-create-index.
9348
9349 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * winner.el (winner-active-region): Use region-active-p, activate-mark
9352 and deactivate-mark (bug#14225).
9353
9354 * simple.el (deactivate-mark): Don't inline it.
9355
9356 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9357
9358 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9359
9360 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9361
9362 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9363 file extensions from the archive-mode entry in order to prefer
9364 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9365
9366 2013-04-18 Leo Liu <sdl.web@gmail.com>
9367
9368 * bindings.el (help-event-list): Add ?\?.
9369
9370 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * subr.el (with-wrapper-hook): Declare obsolete.
9373 * simple.el (filter-buffer-substring-function): New hook.
9374 (filter-buffer-substring): Use it.
9375 (filter-buffer-substring-functions): Mark obsolete.
9376 * minibuffer.el (completion-in-region-function): New hook.
9377 (completion-in-region): Use it.
9378 (completion-in-region-functions): Mark obsolete.
9379 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9380 * abbrev.el (abbrev-expand-function): New hook.
9381 (expand-abbrev): Use it.
9382 (abbrev-expand-functions): Mark obsolete.
9383 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9384 and :filter-return.
9385
9386 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9387
9388 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9389 and do not care about match data.
9390
9391 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9392
9393 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9394 completion tables when completing error conditions and
9395 `declare' arguments.
9396 (lisp-complete-symbol, field-complete): Mark as obsolete.
9397 (check-parens): Unmatched parens are user errors.
9398 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9399
9400 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9401
9402 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9403 command changed buffer (ie. `flyspell-pre-buffer' is not current
9404 buffer), which prevents making decisions based on invalid value of
9405 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9406 cause an error when `flyspell-pre-point' was nil after switching
9407 buffers.
9408 (flyspell-post-command-hook): No longer needs to change buffers when
9409 checking pre-word. While at it remove unnecessary progn.
9410
9411 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9412
9413 * textmodes/ispell.el (ispell-add-per-file-word-list):
9414 Fix `flyspell-correct-word-before-point' error when accepting
9415 words and `coment-padding' is an integer by using
9416 `comment-normalize-vars' (Bug #14214).
9417
9418 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9419
9420 New defun movement commands.
9421 * progmodes/python.el (python-nav--syntactically)
9422 (python-nav--forward-defun, python-nav-backward-defun)
9423 (python-nav-forward-defun): New functions.
9424
9425 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9426
9427 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9428 (python-syntax-context): Use named compiler-macro for backwards
9429 compatibility with Emacs 24.x.
9430
9431 2013-04-17 Leo Liu <sdl.web@gmail.com>
9432
9433 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9434 octave-hide-process-buffer.
9435
9436 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9439 (bug#14216).
9440
9441 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9442
9443 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9444 Fix adjustment of offset when receiving incomplete responses from GDB
9445 (bug#14129).
9446
9447 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9450 python-mode-abbrev-table.
9451 (python-skeleton-define): Adjust accordingly.
9452 (python-mode-abbrev-table): New table that inherits from it so that
9453 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9454
9455 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9456 (abbrev-symbol): Use it.
9457 (abbrev--before-point): Use it since we already handle inheritance.
9458
9459 2013-04-16 Leo Liu <sdl.web@gmail.com>
9460
9461 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9462 binding to info-lookup-symbol.
9463
9464 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9465
9466 * minibuffer.el (completion--twq-all):
9467 * term/ns-win.el (ns-initialize-window-system):
9468 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9469
9470 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9473 global bindings.
9474
9475 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9476
9477 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9478
9479 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9480 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9481 to nil.
9482 (ruby-end-of-defun): Remove the unused arg, change the docstring
9483 to reflect that this function is only used as the value of
9484 `end-of-defun-function'.
9485 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9486 to reflect an earlier change that beginning/end-of-defun functions
9487 jump between methods in a class definition, as well as top-level
9488 functions.
9489
9490 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * minibuffer.el (minibuffer-complete): Don't just scroll
9493 a *Completions* that's been iconified.
9494 (minibuffer-force-complete): Make sure repetitions do cycle when going
9495 through completion-in-region -> minibuffer-complete.
9496
9497 2013-04-15 Alan Mackenzie <acm@muc.de>
9498
9499 Correct the placement of c-cpp-delimiters when there're #s not at
9500 col 0.
9501
9502 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9503 place a submatch around the #.
9504 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9505 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9506 on the #, not BOL.
9507
9508 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9509
9510 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9511 (advice--member-p): New arg `name'.
9512 (advice--add-function, advice-member-p): Use it (bug#14202).
9513
9514 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9515
9516 Reformulate java imenu-generic-expression.
9517 The old expression contained ill formed regexps.
9518
9519 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9520 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9521 (cc-imenu-java-method-arg-regexp): New defconsts.
9522 (cc-imenu-java-build-type-args-regex): New defun.
9523 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9524 handling of spaces in the regexp.
9525
9526 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9527
9528 * textmodes/ispell.el (ispell-command-loop): Remove
9529 flyspell highlight of a word when ispell accepts it (bug #14178).
9530
9531 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9532
9533 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9534 uses code from the previous `ange-ftp-run-real-handler'.
9535 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9536 only in case that function exist. This is needed for proper
9537 unloading of Tramp.
9538
9539 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9540
9541 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9542
9543 * textmodes/reftex.el (reftex-compile-variables): Use it.
9544
9545 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9546
9547 * files.el (normal-mode): Only use default major-mode if no other mode
9548 was specified.
9549
9550 * emacs-lisp/trace.el (trace-values): New function.
9551
9552 * files.el: Allow : in local variables (bug#14089).
9553 (hack-local-variable-regexp): New var.
9554 (hack-local-variables-prop-line, hack-local-variables): Use it.
9555
9556 2013-04-13 Roland Winkler <winkler@gnu.org>
9557
9558 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9559 data before it gets modified by bibtex-beginning-of-entry.
9560
9561 2013-04-13 Roland Winkler <winkler@gnu.org>
9562
9563 * textmodes/bibtex.el (bibtex-url): Doc fix.
9564
9565 2013-04-13 Roland Winkler <winkler@gnu.org>
9566
9567 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9568 does not visit a BibTeX file, exclude it from the list of buffers
9569 returned by bibtex-initialize.
9570
9571 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9572
9573 * window.el (split-window): Remove interactive form, since as a
9574 command this function is a special case of split-window-below.
9575 Correct doc string.
9576
9577 2013-04-12 Roland Winkler <winkler@gnu.org>
9578
9579 * faces.el (read-face-name): Do not override value of arg default.
9580 Allow single faces and strings as default values. Remove those
9581 elements from return value that are not faces.
9582 (describe-face): Simplify.
9583 (face-at-point): New optional args thing and multiple so that this
9584 function can provide the same functionality previously provided by
9585 read-face-name.
9586 (make-face-bold, make-face-unbold, make-face-italic)
9587 (make-face-unitalic, make-face-bold-italic, invert-face)
9588 (modify-face, read-face-and-attribute): Use face-at-point.
9589
9590 * cus-edit.el (customize-face, customize-face-other-window)
9591 * cus-theme.el (custom-theme-add-face)
9592 * face-remap.el (buffer-face-set)
9593 * facemenu.el (facemenu-set-face): Use face-at-point.
9594
9595 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9596
9597 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9598
9599 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9600
9601 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9602 off leading { and trailing } from field values.
9603
9604 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9605
9606 * emacs-lisp/timer.el (timer--check): New function.
9607 (timer--time, timer-set-function, timer-event-handler): Use it.
9608 (timer-set-idle-time): Simplify.
9609 (timer--activate): CSE.
9610 (timer-event-handler): Give more info in error message.
9611 (internal-timer-start-idle): New function, moved from C.
9612
9613 * mpc.el (mpc-proc): Add `restart' argument.
9614 (mpc-proc-cmd): Use it.
9615 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9616 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9617 less often.
9618
9619 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9620
9621 * progmodes/sh-script.el: Implement `sh-mode' own
9622 `add-log-current-defun-function' (bug#14112).
9623 (sh-current-defun-name): New function.
9624 (sh-mode): Use the function.
9625
9626 2013-04-09 Bastien Guerry <bzg@gnu.org>
9627
9628 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9629
9630 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9631
9632 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9633
9634 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9635 timer (bug#14156).
9636
9637 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9638
9639 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9640 declaration.
9641
9642 2013-04-07 Leo Liu <sdl.web@gmail.com>
9643
9644 * pcmpl-x.el: New file.
9645
9646 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9647
9648 Do not set x-display-name until X connection is established.
9649 This is needed to prevent from weird situation described at
9650 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9651 * frame.el (make-frame): Set x-display-name after call to
9652 window system initialization function, not before.
9653 * term/x-win.el (x-initialize-window-system): Add optional
9654 display argument and use it.
9655 * term/w32-win.el (w32-initialize-window-system):
9656 * term/ns-win.el (ns-initialize-window-system):
9657 * term/pc-win.el (msdos-initialize-window-system):
9658 Add compatible optional display argument.
9659
9660 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9661
9662 * files.el (normal-backup-enable-predicate): On MS-Windows and
9663 MS-DOS compare truenames of temporary-file-directory and of the
9664 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9665 don't fail comparison by compare-strings. Also, compare file
9666 names case-insensitively on MS-Windows and MS-DOS.
9667
9668 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9671 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9672
9673 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9674
9675 * whitespace.el (whitespace-color-on, whitespace-color-off):
9676 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9677
9678 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9679
9680 * ispell.el (ispell-set-spellchecker-params):
9681 Really set `ispell-args' for all equivs.
9682
9683 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9684
9685 * ido.el (ido-completions): Use extra elements of ido-decorations
9686 (bug#14143).
9687 (ido-decorations): Update docstring.
9688
9689 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9690
9691 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9692 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9693 nil during initialization, in order not to miss changes since the
9694 file was opened. (Bug#14140)
9695
9696 2013-04-05 Leo Liu <sdl.web@gmail.com>
9697
9698 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9699
9700 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9701
9702 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9703
9704 2013-04-04 Glenn Morris <rgm@gnu.org>
9705
9706 * electric.el (electric-pair-inhibit-predicate): Add :version.
9707
9708 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9709
9710 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9711 when a package is required several times (bug#14082).
9712
9713 2013-04-04 Roland Winkler <winkler@gnu.org>
9714
9715 * faces.el (read-face-name): Behave as promised by the docstring.
9716 Assume that arg default is a list of faces.
9717 (describe-face): Call read-face-name with list of default faces.
9718
9719 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9720
9721 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9722 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9723 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9724 the header.
9725 (bookmark-exit-hook-internal): Save even if list is empty.
9726
9727 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9728
9729 * emacs-lisp/package.el (package-pinned-packages): New var.
9730 (package--add-to-archive-contents): Obey it (bug#14118).
9731
9732 2013-04-03 Alan Mackenzie <acm@muc.de>
9733
9734 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9735 Also adapt to the new values of element 7 of a parse state.
9736
9737 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9738 parameter `not-in-delimiter'. Handle being inside comment opener.
9739 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9740 character in case we're typing a '*' after a '/'.
9741 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9742 instead by passing the parameter to c-state-pp-to-literal.
9743
9744 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9745 for elt. 7 of a parse state.
9746
9747 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9748
9749 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9750 * international/latin1-disp.el, international/mule-util.el:
9751 * language/cyril-util.el, language/european.el, language/ind-util.el:
9752 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9753 * language/tibetan.el, language/viet-util.el:
9754 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9755
9756 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9759 (electric-pair-post-self-insert-function): Use it.
9760 (electric-pair-default-inhibit): New function, extracted from
9761 electric-pair-post-self-insert-function.
9762
9763 2013-03-31 Roland Winkler <winkler@gnu.org>
9764
9765 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9766
9767 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9768
9769 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9770
9771 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9772
9773 Un-indent after "pass" and "return" statements (Bug#13888)
9774 * progmodes/python.el (python-indent-block-enders): New var.
9775 (python-indent-calculate-indentation): Use it.
9776
9777 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9778
9779 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9780 defun. Defining it as defalias could introduce too eager
9781 byte-compiler optimization. (Bug#14030)
9782
9783 2013-03-30 Chong Yidong <cyd@gnu.org>
9784
9785 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9786
9787 2013-03-30 Leo Liu <sdl.web@gmail.com>
9788
9789 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9790 (kmacro-execute-from-register): Pass the keyboard macro to
9791 kmacro-call-macro or repeating won't work correctly.
9792
9793 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9794
9795 * progmodes/subword.el: Back to using `forward-symbol'.
9796
9797 * subr.el (forward-whitespace, forward-symbol)
9798 (forward-same-syntax): Move from thingatpt.el.
9799
9800 2013-03-29 Leo Liu <sdl.web@gmail.com>
9801
9802 * kmacro.el (kmacro-to-register): New command.
9803 (kmacro-execute-from-register): New function.
9804 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9805
9806 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * mpc.el: Use defvar-local and setq-local.
9809 (mpc--proc-connect): Connection failures are not bugs.
9810 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9811 (mpc-volume-map): Bind to the up-events.
9812
9813 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9814
9815 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9816 instead of `forward-symbol'.
9817
9818 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9821 (edebug--recursive-edit): Use it.
9822 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9823 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9824
9825 2013-03-28 Leo Liu <sdl.web@gmail.com>
9826
9827 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9828
9829 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9830
9831 * facemenu.el (list-colors-callback): New defvar.
9832 (list-colors-redisplay): New function.
9833 (list-colors-display): Install list-colors-redisplay as the
9834 revert-buffer-function. (Bug#14063)
9835
9836 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9837
9838 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9839 and suffixes don't overlap (bug#14061).
9840
9841 * case-table.el: Use lexical-binding.
9842 (case-table-get-table): New function.
9843 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9844
9845 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9846
9847 * progmodes/subword.el: Add `superword-mode' to do word motion
9848 over symbol_words (parallels and leverages `subword-mode' which
9849 does word motion inside MixedCaseWords).
9850
9851 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9852
9853 * eshell/em-unix.el: Move su and sudo to...
9854 * eshell/em-tramp.el: ...Eshell tramp module.
9855
9856 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9857
9858 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9859 Change return value to be a sexp. Delay `get-buffer' to after
9860 restoring the desktop (bug#13951).
9861
9862 2013-03-26 Leo Liu <sdl.web@gmail.com>
9863
9864 * register.el: Move semantic tag handling back to
9865 cedet/semantic/senator.el. (Bug#14052)
9866
9867 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9870 into the prompt either (bug#13963).
9871
9872 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9875 part of "(error-foo)".
9876
9877 2013-03-24 Juri Linkov <juri@jurta.org>
9878
9879 * replace.el (list-matching-lines-prefix-face): New defcustom.
9880 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9881 `occur-engine' if `face-differs-from-default-p' returns t.
9882 (occur-engine): Add `,' inside backquote construct to evaluate
9883 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9884 Pass `prefix-face' to the functions `occur-context-lines' and
9885 `occur-engine-add-prefix'.
9886 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9887 `prefix-face' and propertize the prefix with `prefix-face'.
9888 (Bug#14017)
9889
9890 2013-03-24 Leo Liu <sdl.web@gmail.com>
9891
9892 * nxml/rng-valid.el (rng-validate-while-idle)
9893 (rng-validate-quick-while-idle): Guard against deleted buffer.
9894 (Bug#13999)
9895
9896 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9897 is the last entry in kill-buffer-hook.
9898
9899 * files.el (kill-buffer-hook): Doc fix.
9900
9901 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9902
9903 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9904 Make it safe-local.
9905
9906 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9907
9908 2013-03-23 Leo Liu <sdl.web@gmail.com>
9909
9910 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9911 Remove.
9912
9913 * nxml/rng-valid.el (rng-validate-mode)
9914 (rng-after-change-function, rng-do-some-validation):
9915 * nxml/rng-maint.el (rng-validate-buffer):
9916 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9917 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9918 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9919 (nxml-extend-after-change-region): Use with-silent-modifications.
9920
9921 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9922 timer-idle-list.
9923
9924 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9925 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9926 timer-idle-list. (Bug#13999)
9927
9928 2013-03-23 Juri Linkov <juri@jurta.org>
9929
9930 * info.el (info-index-match): New face.
9931 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9932 main pattern and add text properties with the new face to matches
9933 in index entries relative to the beginning of the index entry.
9934 (Bug#14015)
9935
9936 2013-03-21 Eric Ludlam <zappo@gnu.org>
9937
9938 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9939 Inhibit read only while inserting objects.
9940
9941 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9942
9943 * progmodes/cfengine.el: Update docs to mention
9944 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9945 symbol motion. Remove "_" from the word syntax.
9946
9947 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9948
9949 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9950 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9951
9952 2013-03-20 Juri Linkov <juri@jurta.org>
9953
9954 * info.el (Info-next-reference-or-link)
9955 (Info-prev-reference-or-link): New functions.
9956 (Info-next-reference, Info-prev-reference): Use them.
9957 (Info-try-follow-nearest-node): Handle footnote navigation.
9958 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9959
9960 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9961
9962 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9963 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9964
9965 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9966
9967 Suppress unnecessary non-ASCII chatter during build process.
9968 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9969 (batch-skkdic-convert): Suppress most of the chatter.
9970 It's not needed so much now that machines are faster,
9971 and its non-ASCII component was confusing; see Dmitry Gutov in
9972 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9973
9974 2013-03-20 Leo Liu <sdl.web@gmail.com>
9975
9976 * ido.el (ido-chop): Fix bug#10994.
9977
9978 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9979
9980 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9981 Remove vars.
9982 (whitespace-color-on, whitespace-color-off):
9983 Use `font-lock-fontify-buffer' (Bug#13817).
9984
9985 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9988 remapping in mode-line.
9989 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9990
9991 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9992
9993 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9994 value for `whitespace-line' face (Bug#13875).
9995 (whitespace-font-lock-keywords): Change description.
9996 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9997 the constructed keywords instead.
9998 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9999
10000 2013-03-19 Leo Liu <sdl.web@gmail.com>
10001
10002 * progmodes/compile.el (compilation-display-error): New command.
10003 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10004 C-o. (Bug#13992)
10005
10006 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10007
10008 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10009
10010 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10011
10012 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10013
10014 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10015
10016 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10017
10018 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10019 * net/tramp-gvfs.el (top):
10020 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10021 (tramp-handle-shell-command): Use it.
10022 (tramp-dissect-file-name): Raise an error when hostname is a
10023 method name, and neither method nor user is specified.
10024
10025 * net/trampver.el: Update release number.
10026
10027 2013-03-18 Leo Liu <sdl.web@gmail.com>
10028
10029 Make sure eldoc can be turned off properly.
10030 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10031 eldoc-mode.
10032 (eldoc-display-message-p): Revert last change.
10033 (eldoc-display-message-no-interference-p)
10034 (eldoc-print-current-symbol-info): Tweak.
10035
10036 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10037
10038 * doc-view.el (doc-view-new-window-function): Check the new window
10039 overlay's display property instead the char property of the
10040 buffer's first char. Use `with-selected-window' instead of
10041 `save-window-excursion' with `select-window'.
10042 (doc-view-document->bitmap): Check the current doc-view overlay's
10043 display property instead the char property of the buffer's first char.
10044
10045 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10046
10047 Automate the build of ja-dic.el (Bug#13984).
10048 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10049 from the input, rather than assume that it's been done for us by the
10050 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10051 the current date into a ja-dic.el comment, as that complicates
10052 regression testing.
10053
10054 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * whitespace.el: Fix double evaluation.
10057 (whitespace-space, whitespace-hspace, whitespace-tab)
10058 (whitespace-newline, whitespace-trailing, whitespace-line)
10059 (whitespace-space-before-tab, whitespace-indentation)
10060 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10061 obsolete defvars.
10062 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10063 (whitespace-color-on): Use a single font-lock-add-keywords call.
10064 Fix double-evaluation of face variables.
10065
10066 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10067
10068 * net/tramp-adb.el (tramp-adb-parse-device-names):
10069 Use `start-process' instead of `call-process'. Otherwise, the
10070 function might be blocked under MS Windows. (Bug#13299)
10071
10072 2013-03-17 Leo Liu <sdl.web@gmail.com>
10073
10074 Extend eldoc to display info in the mode-line. (Bug#13978)
10075 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10076 (eldoc-mode-line-string): New variable.
10077 (eldoc-minibuffer-message): New function.
10078 (eldoc-message-function): New variable.
10079 (eldoc-message): Use it.
10080 (eldoc-display-message-p)
10081 (eldoc-display-message-no-interference-p):
10082 Support eldoc-post-insert-mode.
10083
10084 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10085 (eval-expression): Run it.
10086
10087 2013-03-17 Roland Winkler <winkler@gnu.org>
10088
10089 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10090 strings in the list of return values.
10091
10092 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10093
10094 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10095 radix before checking for HMS forms.
10096
10097 2013-03-16 Leo Liu <sdl.web@gmail.com>
10098
10099 * progmodes/scheme.el: Add indentation and font-locking for λ.
10100 (Bug#13975)
10101
10102 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10105 token before point (bug#13942).
10106
10107 2013-03-16 Leo Liu <sdl.web@gmail.com>
10108
10109 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10110
10111 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10112
10113 * startup.el (command-line-normalize-file-name): Fix handling of
10114 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10115 <xfq.free@gmail.com> in
10116 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10117
10118 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10119
10120 Sync with Tramp 2.2.7.
10121
10122 * net/trampver.el: Update release number.
10123
10124 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10125
10126 * doc-view.el: Fix bug#13887.
10127 (doc-view-insert-image): Don't modify overlay associated to
10128 non-live windows, and implement horizontal centering of image in
10129 case it's smaller than the window.
10130 (doc-view-new-window-function): Force redisplay of new windows on
10131 doc-view buffers.
10132
10133 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10134
10135 * saveplace.el (save-place-alist-to-file): Don't sort
10136 `save-place-alist', just pretty-print it (bug#13882).
10137
10138 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10139
10140 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10141 Check whether `default-file-name-coding-system' is bound.
10142 It isn't in XEmacs.
10143
10144 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10145
10146 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10147 backquotes for `obsolete' (bug#13929).
10148
10149 * international/mule.el (find-auto-coding): Include file name in
10150 obsolescence warning (bug#13922).
10151
10152 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10153
10154 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10155 for CFEngine 3-specific indentation.
10156 (cfengine3-indent-line): Use it. Fix up category regex.
10157 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10158
10159 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * type-break.el (type-break-file-name):
10162 * textmodes/remember.el (remember-data-file):
10163 * strokes.el (strokes-file):
10164 * shadowfile.el (shadow-initialize):
10165 * saveplace.el (save-place-file):
10166 * ps-bdf.el (bdf-cache-file):
10167 * progmodes/idlwave.el (idlwave-config-directory):
10168 * net/quickurl.el (quickurl-url-file):
10169 * international/kkc.el (kkc-init-file-name):
10170 * ido.el (ido-save-directory-list-file):
10171 * emulation/viper.el (viper-custom-file-name):
10172 * emulation/vip.el (vip-startup-file):
10173 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10174 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10175
10176 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10177
10178 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10179 * language/thai-word.el: Switch to UTF-8.
10180
10181 See ChangeLog.16 for earlier changes.
10182
10183 ;; Local Variables:
10184 ;; coding: utf-8
10185 ;; End:
10186
10187 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10188
10189 This file is part of GNU Emacs.
10190
10191 GNU Emacs is free software: you can redistribute it and/or modify
10192 it under the terms of the GNU General Public License as published by
10193 the Free Software Foundation, either version 3 of the License, or
10194 (at your option) any later version.
10195
10196 GNU Emacs is distributed in the hope that it will be useful,
10197 but WITHOUT ANY WARRANTY; without even the implied warranty of
10198 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10199 GNU General Public License for more details.
10200
10201 You should have received a copy of the GNU General Public License
10202 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.