]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/loadup.el: Preload "uniquify".
[gnu-emacs] / lisp / ChangeLog
1 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * uniquify.el (uniquify-buffer-name-style): Change default.
4
5 * loadup.el: Preload "uniquify".
6
7 * time.el (display-time-update): Update all mode lines (bug#15999).
8
9 * electric.el (electric-indent-mode): Enable by default.
10 * loadup.el: Preload "electric".
11
12 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
13
14 * emacs-lisp/helpers.el (string-empty-p): New function.
15 (string-blank-p): New function.
16
17 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
18
19 * imenu.el (imenu--index-alist): Add missing dot to the docstring
20 (Bug#14029).
21
22 2013-11-29 Andreas Politz <politza@fh-trier.de>
23 * imenu.el (imenu--subalist-p): Don't error on non-conses and
24 allow non-lambda lists as functions.
25 (imenu--in-alist): Don't recurse into non-subalists.
26 (imenu): Don't pass function itself as an argument (Bug#14029).
27
28 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * progmodes/python.el (python-mode-map): Remove binding for ":".
31 (python-indent-electric-colon): Remove command.
32 (python-indent-post-self-insert-function): Integrate the previous code
33 of python-indent-electric-colon. Make it conditional on
34 electric-indent-mode.
35 (python-mode): Add ?: to electric-indent-chars.
36 Move python-indent-post-self-insert-function to the end of
37 post-self-insert-hook.
38
39 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * doc-view.el (doc-view-goto-page): Update mode-line.
42
43 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
44
45 2013-11-27 Glenn Morris <rgm@gnu.org>
46
47 * international/charprop.el, international/uni-bidi.el:
48 * international/uni-category.el, international/uni-combining.el:
49 * international/uni-comment.el, international/uni-decimal.el:
50 * international/uni-decomposition.el, international/uni-digit.el:
51 * international/uni-lowercase.el, international/uni-mirrored.el:
52 * international/uni-name.el, international/uni-numeric.el:
53 * international/uni-old-name.el, international/uni-titlecase.el:
54 * international/uni-uppercase.el:
55 Remove generated files from VCS repository.
56
57 2013-11-27 Eli Zaretskii <eliz@gnu.org>
58
59 * filenotify.el (file-notify-add-watch): Don't special-case
60 w32notify when computing the directory to watch.
61
62 2013-11-27 Glenn Morris <rgm@gnu.org>
63
64 Make bootstrap without generated uni-*.el files possible again.
65 * loadup.el: Update command-line-args checking for unidata-gen.
66 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
67 * composite.el, international/characters.el:
68 Handle unicode tables being undefined.
69
70 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
71 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
72 (compile-main): Depend on leim rule.
73 (leim): New rule.
74 * loadup.el: Move leim-list.el to leim/ subdirectory.
75 * startup.el (normal-top-level): No more leim directory.
76 * international/ja-dic-cnv.el (skkdic-convert):
77 Disable version-control and autoloads in output files.
78 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
79 Disable version-control and autoloads in output files.
80 * leim/quail: Move here from ../leim.
81 * leim/quail/hangul.el (hangul-input-method-activate):
82 Add autoload cookie.
83 (generated-autoload-load-name): Set file-local value.
84 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
85 (generated-autoload-load-name): Set file-local value.
86
87 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
88
89 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
90 (eww-add-bookmark): ask confirmation when add to bookmarks
91 (eww-quit): ask confirmation before quitting eww
92
93 2013-11-26 Eli Zaretskii <eliz@gnu.org>
94
95 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
96 reading output from Diff on MS-Windows and MS-DOS.
97
98 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
99
100 * emacs-lisp/helpers.el (string-reverse): New function.
101
102 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
103
104 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
105 names on MS Windows, like "/[::1]:".
106
107 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
108 SWITCHES.
109
110 2013-11-26 Glenn Morris <rgm@gnu.org>
111
112 * progmodes/python.el (python-indent-guess-indent-offset):
113 Avoid corner-case error. (Bug#15975)
114
115 Preload leim-list.el. (Bug#4789)
116 * loadup.el: Load leim-list.el when found.
117 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
118
119 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
120
121 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
122
123 * emacs-lisp/helpers.el (string-join): New function.
124
125 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
126
127 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
128 Mark as obsolete and replace it with a symbol property.
129 (byte-compile-form): Use new 'interactive-only property.
130 * comint.el, files.el, replace.el, simple.el:
131 Apply new 'interactive-only properly.
132
133 2013-11-25 Martin Rudalics <rudalics@gmx.at>
134
135 * window.el (display-buffer-at-bottom): Make sure that
136 split-window-sensibly creates the new window on bottom
137 (Bug#15961).
138
139 2013-11-23 David Kastrup <dak@gnu.org>
140
141 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
142 on the conflict markers when available.
143 (smerge--get-marker): New function.
144 (smerge-end-re, smerge-base-re): Add subgroup.
145
146 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * frame.el (handle-focus-in, handle-focus-out): Add missing
149 interactive spec.
150
151 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
152
153 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
154 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
155
156 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
159 (gomoku--last-pos): New var.
160 (gomoku--intangible-chars): New const.
161 (gomoku--intangible): New function.
162 (gomoku-mode): Use it. Derive from special-mode.
163 (gomoku-move-up): Adjust line count.
164 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
165 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
166 Simplify accordingly.
167
168 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
169 Remove blink-cursor code.
170 (blink-cursor-timer-function, blink-cursor-suspend):
171 Don't special-case GUIs.
172 (blink-cursor-mode): Use focus-in/out-hook.
173
174 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
175
176 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
177 work when annotation is invisible (Bug#13886).
178
179 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
180
181 * json.el (json-alist-p): Only return non-nil if the alist has
182 simple keys (Bug#13518).
183
184 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
185
186 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
187 when control-statement is the first statement in a buffer (Bug#15956).
188
189 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
190
191 * imenu.el (imenu-generic-skip-comments-and-strings):
192 New option (Bug#15560).
193 (imenu--generic-function): Use it.
194
195 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
196
197 * minibuffer.el (completion--in-region-1): Scroll the correct
198 window. (Bug#13898)
199
200 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
201
202 * emacs-lisp/helpers.el: Add some string helpers.
203 (string-trim-left): Removes leading whitespace.
204 (string-trim-right): Removes trailing whitespace.
205 (string-trim): Removes leading and trailing whitespace.
206
207 * subr.el (string-suffix-p): New function.
208
209 2013-11-23 Glenn Morris <rgm@gnu.org>
210
211 * progmodes/python.el (python-shell-send-file):
212 Add option to delete file when done. (Bug#15647)
213 (python-shell-send-string, python-shell-send-region): Use it.
214
215 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
216
217 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
218 to set buffer-read-only to t, never to nil. (Bug#15938)
219
220 * textmodes/tex-mode.el (latex-noindent-environments):
221 Add safe-local-variable property. (Bug#15936)
222
223 2013-11-23 Glenn Morris <rgm@gnu.org>
224
225 * textmodes/enriched.el (enriched-mode): Doc fix.
226 * emacs-lisp/authors.el (authors-renamed-files-alist):
227 Add enriched.doc -> enriched.txt.
228
229 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
230
231 2013-11-22 Leo Liu <sdl.web@gmail.com>
232
233 * progmodes/octave.el (inferior-octave-startup): Spit out error
234 message.
235
236 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
237
238 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
239 Improve docstring.
240 Add :version.
241 (ruby-encoding-magic-comment-style): Add :version.
242
243 2013-11-22 Leo Liu <sdl.web@gmail.com>
244
245 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
246 (Bug#15076)
247 (octave-help-mode): Adapt to change to help-mode-finish to use
248 derived-mode-p on 2013-09-17.
249 (inferior-octave-prompt): Also match octave-gui.
250 (octave-kill-process): Don't ask twice. (Bug#10564)
251
252 2013-11-22 Leo Liu <sdl.web@gmail.com>
253
254 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
255 (inferior-octave-startup, inferior-octave-check-process)
256 (inferior-octave-track-window-width-change)
257 (octave-completion-at-point, octave-eldoc-function): Use it.
258 (octave-kill-process): Provide confirmation. (Bug#10564)
259
260 2013-11-21 Leo Liu <sdl.web@gmail.com>
261
262 * progmodes/octave.el (octave-mode, inferior-octave-mode):
263 Fix obsolete variable comment-use-global-state.
264
265 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
266
267 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
268 Add `octave-source-file'.
269 (octave-source-file): New function. (Bug#15935)
270
271 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
272
273 * net/eww.el (eww-local-regex): New variable.
274 (eww): Use it to detect localhost and similar.
275
276 2013-11-21 Leo Liu <sdl.web@gmail.com>
277
278 Add completion for command `ag'.
279 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
280 (pcomplete/ag): New function.
281 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
282
283 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
286 (bug#14646).
287 (make-obsolete): Remove interactive spec.
288
289 2013-11-21 Glenn Morris <rgm@gnu.org>
290
291 * startup.el (command-line-1): Use path-separator with -L.
292
293 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
294
295 * emacs-lisp/package.el (describe-package-1): Add package archive
296 to shown fields.
297
298 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
299
300 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
301 Change default to "# encoding: %s" to differentiate it from the
302 default Ruby encoding comment template.
303
304 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
305
306 * ses.el (ses-mode): Doc fix. (Bug#14748)
307
308 2013-11-20 Leo Liu <sdl.web@gmail.com>
309
310 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
311
312 2013-11-19 Dan Nicolaescu <dann@gnu.org>
313
314 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
315 when rebase or bisect are in progress.
316
317 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
318
319 * filenotify.el (file-notify-add-watch): Doc fix.
320
321 2013-11-19 Leo Liu <sdl.web@gmail.com>
322
323 * obsolete/rcompile.el: Mark obsolete.
324
325 * progmodes/compile.el (compilation-start)
326 (compilation-goto-locus, compilation-find-file):
327 Pass no-display-ok and handle nil value from display-buffer.
328 (Bug#13594)
329
330 * window.el (display-buffer-alist, display-buffer): Document the
331 new parameter no-display-ok.
332
333 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * electric.el (electric-indent-mode-map): Remove.
336 (electric-indent-mode): Change the global-map instead (bug#15915).
337
338 * textmodes/text-mode.el (paragraph-indent-minor-mode):
339 Use add-function.
340
341 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * emacs-lisp/nadvice.el (remove-function): Align with
344 add-function's behavior.
345
346 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
347 (gdb--string-regexp): New constant.
348 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
349 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
350 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
351 submatch 1.
352 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
353 Adjust use accordingly.
354 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
355
356 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
357
358 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
359 interpolation curlies (Bug#15914).
360
361 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
362
363 * calc/calc.el (calc-context-sensitive-enter): New variable.
364 (calc-enter): Use `calc-context-sensitive-enter'.
365
366 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
367
368 * progmodes/cfengine.el: Version bump.
369 (cfengine-cf-promises): New defcustom to locate cf-promises.
370 (cfengine3-vartypes): Add new "data" type.
371 (cfengine3--current-word): New function to get current name-like
372 word or its bounds.
373 (cfengine3--current-function): New function to look up a CFEngine
374 function's definition.
375 (cfengine3-format-function-docstring): New function.
376 (cfengine3-make-syntax-cache): New function.
377 (cfengine3-documentation-function): New function: ElDoc glue.
378 (cfengine3-completion-function): New function: completion glue.
379 (cfengine3-mode): Set `compile-command',
380 `eldoc-documentation-function', and add to
381 `completion-at-point-functions'.
382
383 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
384
385 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
386 `tramp-current-connection'.
387
388 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
389
390 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
391 nil/self/true/false with "end of symbol".
392
393 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
394
395 * subr.el (version-regexp-alist): Fix a typo.
396
397 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
398
399 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
400 "en_US.utf8" and "LC_CTYPE" to "".
401 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
402 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
403
404 2013-11-15 Leo Liu <sdl.web@gmail.com>
405
406 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
407
408 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * progmodes/gud.el (ctl-x-map):
411 Remove C-x SPC binding. (Bug#12342)
412 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
413
414 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
415
416 * subr.el (version-regexp-alist):
417 Recognize hg, svn and darcs versions as snapshot versions.
418
419 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
420 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
421 (ruby--encoding-comment-required-p): Extract from
422 `ruby-mode-set-encoding'.
423 (ruby-mode-set-encoding): Add the ability to always insert an
424 utf-8 encoding comment. Fix and simplify coding comment update
425 logic.
426
427 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
428
429 * net/tramp-gvfs.el (top): Run init code only when
430 `tramp-gvfs-enabled' is not nil.
431 (tramp-gvfs-enabled): Check also :system bus.
432
433 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 Sync with upstream verilog-mode revision 78e66ba.
436 * progmodes/verilog-mode.el (verilog-end-of-defun)
437 (verilog-type-completion, verilog-get-list): Remove unused funcs.
438 (verilog-get-end-of-defun): Remove unused argument.
439 (verilog-comment-depth): Remove unused local `e'.
440 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
441 Don't pass arg to verilog-get-end-of-defun.
442
443 2013-11-14 Glenn Morris <rgm@gnu.org>
444
445 * obsolete/assoc.el (aget): Prefix dynamic variable.
446
447 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
448
449 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * widget.el, hfy-cmap.el: Remove bogus package version number.
452
453 2013-11-13 Glenn Morris <rgm@gnu.org>
454
455 * replace.el (replace-eval-replacement):
456 Try to give more helpful error message. (Bug#15836)
457
458 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
459 (archive-7z-update): Avoid custom type mismatches.
460
461 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
462
463 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
464
465 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
466 address can be empty.
467
468 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
469 Accept nil SWITCHES.
470 (tramp-gvfs-handle-write-region): Implement APPEND.
471
472 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
473
474 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
475 binary "|" operator and closing block args delimiter.
476 Remove FIXME comment referring to Ruby 1.8-only syntax.
477 (ruby-smie--implicit-semi-p): Not after "|" operator.
478 (ruby-smie--closing-pipe-p): New function.
479 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
480 (ruby-smie-rules): Indent after "|".
481
482 2013-11-12 Glenn Morris <rgm@gnu.org>
483
484 * ps-print.el (ps-face-attribute-list):
485 Handle anonymous faces. (Bug#15827)
486
487 2013-11-12 Martin Rudalics <rudalics@gmx.at>
488
489 * window.el (display-buffer-other-frame): Fix doc-string.
490 (Bug#15868)
491
492 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * subr.el (force-mode-line-update): Delete, move to buffer.c.
495
496 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
497
498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
499 (tramp-sh-handle-file-local-copy): Don't write a message when
500 saving temporary files.
501
502 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
503 both directories are remote.
504 (tramp-smb-handle-directory-files): Do not return double entries.
505 Do not expand full file names.
506 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
507 (tramp-smb-handle-write-region): Implement APPEND.
508 (tramp-smb-get-stat-capability): Fix a stupid bug.
509
510 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
513
514 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
515
516 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
517 throwing error over malformed let/let* (bug#15814).
518
519 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * iswitchb.el (iswitchb-mode): Mark obsolete.
522
523 2013-11-11 Glenn Morris <rgm@gnu.org>
524
525 * international/uni-bidi.el, international/uni-category.el:
526 * international/uni-name.el, international/uni-numeric.el:
527 Regenerate for Unicode 6.3.0.
528
529 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
530
531 * net/tramp.el (tramp-methods):
532 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
533 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
534
535 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
536
537 * progmodes/sh-script.el (sh-font-lock-keywords-var):
538 Force highlighting text after Summary keyword in doc face for rpm.
539
540 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
541
542 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
543 available and the word has no wildcards, append one to the grep pattern.
544 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
545 (ispell-complete-word): Call `ispell-lookup-words' with the value
546 independent of `ispell-look-p'.
547
548 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
549
550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
551 Not after "||".
552 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
553 their parent.
554
555 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
558 (ruby-font-lock-keywords): Use backquote.
559
560 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
561
562 * progmodes/ruby-mode.el (ruby-smie--forward-token)
563 (ruby-smie--backward-token): Only consider full-string matches.
564
565 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
566
567 * faces.el (describe-face): Add distant-foreground.
568
569 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
570
571 * progmodes/ruby-mode.el: Improve encoding comment handling.
572 (ruby-encoding-magic-comment-style): New option.
573 (ruby-custom-encoding-magic-comment-template): New option.
574 (ruby--insert-coding-comment, ruby--detect-encoding):
575 New functions extracted from `ruby-mode-set-encoding'.
576 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
577 to control the style of the auto-inserted encoding comment.
578
579 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
580
581 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
582 Use `smie-backward-sexp' with token argument.
583
584 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
585
586 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
587 Remove instrumentation code.
588
589 2013-11-08 Glenn Morris <rgm@gnu.org>
590
591 * progmodes/autoconf.el (autoconf-mode):
592 Tweak comment-start-skip. (Bug#15822)
593
594 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
597 at bobp (bug#15826).
598 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
599
600 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
601
602 * man.el (Man-start-calling): New macro, extracted from
603 Man-getpage-in-background.
604 (Man-getpage-in-background): Use it.
605 (Man-update-manpage): New command.
606 (Man-mode-map): Bind it.
607
608 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
609
610 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
611 of "and", "or", "&&" and "||".
612 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
613 argument. Prohibit opening curly brace because it could only be a
614 block opener in that position.
615 (ruby-smie--forward-token, ruby-smie--backward-token):
616 Separate "|" from "&" or "*" going after it. That can happen in block
617 arguments.
618 (ruby-smie--indent-to-stmt): New function, seeks the end of
619 previous statement or beginning of buffer.
620 (ruby-smie-rules): Use it.
621 (ruby-smie-rules): Check if there's a ":" before a curly block
622 opener candidate; if there is, it's a hash.
623
624 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
627 (cl--block-wrapper): Fix last accidental change.
628
629 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
630
631 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
632 Instrument, in order to hunt failure on hydra.
633
634 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
635
636 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
637 malformed bindings form (bug#15814).
638
639 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
640
641 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
642 "." compared to " @ ". This incidentally fixes some indentation
643 examples with "do".
644 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
645 (ruby-smie-grammar): New tokens: "and" and "or".
646 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
647 Exclude "and" and "or". Remove "do" in order to work around token
648 priorities.
649 (ruby-smie-rules): Add all infix tokens. Handle the case of
650 beginning-of-buffer.
651
652 2013-11-06 Glenn Morris <rgm@gnu.org>
653
654 * Makefile.in (setwins_almost, setwins_for_subdirs):
655 Avoid accidental matches.
656
657 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * menu-bar.el (popup-menu): Use key-binding.
660
661 2013-11-06 Eli Zaretskii <eliz@gnu.org>
662
663 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
664 menus, support also the menus produced by minor modes.
665 (Bug#15817)
666
667 2013-11-06 Leo Liu <sdl.web@gmail.com>
668
669 * thingatpt.el (thing-at-point-looking-at): Add optional arg
670 DISTANCE to bound the search. All uses changed. (Bug#15808)
671
672 2013-11-06 Glenn Morris <rgm@gnu.org>
673
674 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
675 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
676 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
677
678 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
679
680 * electric.el (electric-indent-just-newline): New command.
681 (electric-indent-mode-map): New keymap.
682 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
683 Re-add :group which weren't redundant.
684
685 * electric.el (electric-indent-local-mode): New minor mode.
686 (electric-indent-functions-without-reindent): New var.
687 (electric-indent-post-self-insert-function): Use it.
688 * emacs-lisp/gv.el (buffer-local-value): Add setter.
689
690 2013-11-05 Eli Zaretskii <eliz@gnu.org>
691
692 * international/quail.el (quail-help): Be more explicit about the
693 meaning of the labels shown on the keys. (Bug#15800)
694
695 * startup.el (normal-top-level): Load the subdirs.el files before
696 setting the locale environment. (Bug#15805)
697
698 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
701 via arguments so as to get the right ones (bug#15418).
702
703 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
704
705 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
706
707 Fix problems found while writing a test suite.
708
709 * net/tramp-compat.el (tramp-compat-load): New defun.
710 * net/tramp.el (tramp-handle-load): Use it.
711
712 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
713 "(numberp ok-if-already-exists)" correctly.
714
715 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
716
717 * international/characters.el (glyphless-char-display-control):
718 Add usage note.
719
720 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
721
722 * progmodes/python.el (python-mode):
723 * progmodes/scheme.el (scheme-mode):
724 * progmodes/prolog.el (prolog-mode):
725 * progmodes/ruby-mode.el (ruby-mode):
726 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
727 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
728
729 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * rect.el (rectangle--highlight-for-redisplay):
732 * emacs-lisp/smie.el (smie--next-indent-change):
733 Use buffer-chars-modified-tick.
734
735 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
736
737 * electric.el (electric-indent-post-self-insert-function):
738 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
739
740 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
741
742 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
743
744 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
745
746 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
747 (bug#15786).
748
749 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
750
751 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
752
753 * progmodes/python.el: Fix up last change.
754 (python-shell--save-temp-file): New function.
755 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
756 `string' comes from the current buffer.
757 (python-shell-send-string-no-output): Remove `msg' arg.
758 (python--use-fake-loc): New var.
759 (python-shell-buffer-substring): Obey it. Try to compensate for the
760 extra coding line added by python-shell--save-temp-file.
761 (python-shell-send-region): Use python-shell--save-temp-file and
762 python-shell-send-file directly. Add `nomain' argument.
763 (python-shell-send-buffer): Use python-shell-send-region.
764 (python-electric-pair-string-delimiter): New function.
765 (python-mode): Use it.
766
767 2013-11-04 Eli Zaretskii <eliz@gnu.org>
768
769 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
770 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
771 environment and decoding all of the default-directory's to here
772 from command-line.
773 (command-line): Decode also argv[0].
774
775 * loadup.el: Error out if default-directory is a multibyte string
776 when we are dumping.
777
778 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
779
780 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
781
782 * emacs-lisp/package.el (package-menu-mode)
783 (package-menu--print-info, package-menu--archive-predicate):
784 Add Archive column to package list.
785
786 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
787
788 Fix problems found while writing a test suite.
789
790 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
791 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
792 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
793 to nil when running original file name handler. Otherwise,
794 there are problems with constructs like "$$FOO".
795
796 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
797 for `localname'.
798
799 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
800
801 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
802
803 * subr.el (version<, version<=, version=):
804 Update docstrings with information for snapshot versions.
805
806 * helpers.el: New library for misc helper functions.
807 (hash-table-keys): New function returning a list of hash keys.
808 (hash-table-values): New function returning a list of hash values.
809
810 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
811
812 * progmodes/ruby-mode.el (ruby-smie--forward-token)
813 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
814
815 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
816
817 * textmodes/fill.el (fill-single-char-nobreak-p): New function
818 checking whether point is after a 1-letter word.
819
820 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
821
822 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
823 Don't infloop when expanding region over `multiline' syntax-type that
824 begins a line (bug#15778).
825
826 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
827
828 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
829 Make it into a proper minor mode.
830 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
831 (rectangle-mark-mode-map): New keymap.
832 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
833
834 2013-11-04 Glenn Morris <rgm@gnu.org>
835
836 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
837
838 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
841 (ruby-smie-rules): Use smie-rule-parent instead.
842
843 * emacs-lisp/smie.el (smie-rule-parent): Always call
844 smie-indent-virtual rather than only for hanging tokens.
845 (smie--next-indent-change): New helper command.
846
847 2013-11-03 Glenn Morris <rgm@gnu.org>
848
849 * Makefile.in (abs_srcdir): Remove.
850 (emacs): Unset EMACSLOADPATH.
851
852 2013-11-02 Glenn Morris <rgm@gnu.org>
853
854 * Makefile.in (EMACS): Use a relative filename.
855 (abs_top_builddir): Remove.
856 (custom-deps, finder-data, autoloads): Use --chdir.
857
858 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
859
860 Use relative filenames in TAGS files.
861 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
862 (lisptagsfiles4, TAGS): Use relative file names.
863 (TAGS-LISP): Remove.
864 (maintainer-clean): No more TAGS-LISP file.
865
866 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
867 (lisptagsfiles4): Use absolute filenames again.
868 (TAGS, TAGS-LISP): Not everything needs to run in one line.
869 Remove all *loaddefs files, not just the first. Remove esh-groups.
870 (maintainer-clean): Delete TAGS, TAGS-LISP.
871
872 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
873
874 * emacs-lisp/package.el (package-version-join):
875 Recognize snapshot versions.
876
877 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
878
879 * subr.el (version-regexp-alist): Add support for snapshot versions.
880
881 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
882
883 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
884 New function, replacement for `smie-rule-parent' for when we want to
885 skip over our direct parent if it's an assignment token..
886 (ruby-smie-rules): Use it.
887
888 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
889
890 * progmodes/ruby-mode.el Use `syntax-propertize-function'
891 unconditionally. Remove now unnecessary forward declarations.
892 Remove XEmacs-specific setup.
893 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
894 (ruby-font-lock-syntactic-keywords)
895 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
896 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
897 (ruby-here-doc-end-syntax): Remove.
898 (ruby-mode): Don't check whether `syntax-propertize-rules' is
899 defined as function.
900
901 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
902
903 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
904
905 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
906
907 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
908 table and abbrev table, `define-derived-mode' does that for us
909 anyway.
910
911 2013-11-01 Glenn Morris <rgm@gnu.org>
912
913 * Makefile.in: Remove manual mh-e dependencies (writing .elc
914 files is atomic for some time, so no parallel compilation issues).
915
916 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
917
918 * faces.el (face-x-resources): Add :distant-foreground.
919 (region): Use :distant-foreground for gtk and ns.
920
921 2013-11-01 Tassilo Horn <tsdh@gnu.org>
922
923 Allow multiple bibliographies when BibLaTeX is used rather than
924 BibTeX.
925 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
926 (reftex-locate-bibliography-files): Us it.
927
928 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
929
930 * image.el (image-type-header-regexps): Fix the 'pbm' part to
931 allow comments in pbm files.
932
933 * term/w32-win.el (dynamic-library-alist): Support newer versions
934 of libjpeg starting with v7: look only for the DLL from the
935 version against which Emacs was built.
936 Support versions of libpng beyond 1.4.x.
937 Support libtiff v4.x.
938
939 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
940
941 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
942 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
943 Add property :safe.
944 (ruby-deep-arglist): Add property :type.
945
946 2013-10-31 Glenn Morris <rgm@gnu.org>
947
948 * Makefile.in (custom-deps, finder-data): No need to setq the target
949 variables, we are in the right directory and the defaults work fine.
950
951 2013-10-30 Glenn Morris <rgm@gnu.org>
952
953 * Makefile.in (autoloads): Do not use abs_lisp.
954
955 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
956 `newline' does not respect `standard-output', so use `princ'.
957
958 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
959
960 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
961 * buff-menu.el (Buffer-menu--unmark): New function.
962 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
963
964 2013-10-30 Glenn Morris <rgm@gnu.org>
965
966 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
967
968 * emacs-lisp/package.el (lm-homepage): Declare.
969
970 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
971 Fix doc typos.
972
973 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
974
975 * Makefile.in (finder-data, autoloads, update-subdirs)
976 (compile-main, compile-clean, compile-always, bootstrap-clean):
977 Check return value of cd.
978 (compile-calc): Remove.
979
980 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
983
984 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
985 (byte-compile-and-folded): New function.
986 (=, <, >, <=, >=): Use it.
987
988 * dos-w32.el (minibuffer-history-case-insensitive-variables)
989 (path-separator, null-device, buffer-file-coding-system)
990 (lpr-headers-switches): Check system-type before modifying them.
991 (find-buffer-file-type-coding-system): Mark obsolete.
992 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
993 find-file-not-found-set-buffer-file-coding-system.
994 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
995 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
996 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
997 (w32-direct-print-region-helper, w32-direct-print-region-function)
998 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
999 * startup.el (normal-top-level-add-subdirs-to-load-path):
1000 * ps-print.el (ps-print-region-function):
1001 * lpr.el (print-region-function): Use new name.
1002
1003 * subr.el (custom-declare-variable-early): Remove function.
1004 (custom-declare-variable-list): Remove var.
1005 (error, user-error): Remove `while' loop.
1006 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1007 (user-emacs-directory-warning, locate-user-emacs-file):
1008 Move to files.el.
1009 * simple.el (read-quoted-char-radix, read-quoted-char):
1010 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1011 Move from subr.el.
1012 * custom.el (custom-declare-variable-list): Don't process
1013 custom-declare-variable-list.
1014
1015 * progmodes/python.el (python-shell-get-buffer): New function.
1016 (python-shell-get-process): Use it.
1017 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1018 Python which encoding was used. Don't split-string since we only care
1019 about the first line. Return the temp-file, if applicable.
1020 (python-shell-send-region): Tell compile.el how to turn locations in
1021 the temp-file into locations in the source buffer.
1022
1023 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * subr.el (undefined): Add missing behavior from the C code for
1026 unbound keys.
1027
1028 * rect.el: Use lexical-binding. Add new rectangular region support.
1029 (rectangle-mark): New command.
1030 (rectangle--region): New var.
1031 (deactivate-mark-hook): Reset rectangle--region.
1032 (rectangle--extract-region, rectangle--insert-for-yank)
1033 (rectangle--highlight-for-redisplay)
1034 (rectangle--unhighlight-for-redisplay): New functions.
1035 (region-extract-function, redisplay-unhighlight-region-function)
1036 (redisplay-highlight-region-function): Use them to handle
1037 rectangular region.
1038 * simple.el (region-extract-function): New var.
1039 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1040 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1041 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1042 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1043 (redisplay-unhighlight-region-function)
1044 (redisplay-highlight-region-function): New vars.
1045 (redisplay--update-region-highlight): New function.
1046 (pre-redisplay-function): Use it.
1047 (exchange-point-and-mark): Don't deactivate the mark before
1048 reactivate-it anyway.
1049 * comint.el (comint-kill-region): Remove yank-handler argument.
1050 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1051 (delete-char): Remove property, since it's now part of their
1052 default behavior.
1053 (self-insert-iso): Remove property since this command doesn't exist.
1054
1055 * emacs-lisp/package.el (package--download-one-archive)
1056 (describe-package-1): Don't query the user about final newline.
1057
1058 2013-10-29 Daniel Colascione <dancol@dancol.org>
1059
1060 * net/tramp.el (tramp-methods): Document new functionality.
1061 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1062 tramp-hostname-checker if method provides one instead of scanning
1063 argument list for "%h" to decide hostname acceptability.
1064
1065 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1066
1067 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1068 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1069 Handle COPY-CONTENTS. (Bug#15737)
1070
1071 2013-10-28 Daiki Ueno <ueno@gnu.org>
1072
1073 * epa-file.el
1074 (epa-file-cache-passphrase-for-symmetric-encryption):
1075 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1076
1077 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1078
1079 * image.el (defimage):
1080 (image-load-path): Doc fixes.
1081
1082 2013-10-27 Alan Mackenzie <acm@muc.de>
1083
1084 Indent statements in macros following "##" correctly.
1085 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1086 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1087
1088 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1089
1090 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1091
1092 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1093
1094 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1095 after `=' is probably a new expression.
1096
1097 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1098
1099 * man.el (man-imenu-title): New option.
1100 (Man-mode-map): Add menu. (Bug#15722)
1101 (Man-mode): Add imenu to menu.
1102
1103 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1104
1105 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1106 specific in what the first arg can be: a non-keyword word,
1107 string/regexp/percent literal opener, opening paren, or unary
1108 operator followed directly by word.
1109
1110 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1111
1112 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1113 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1114 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1115 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1116 Remove vars, they do not apply any more.
1117 (prolog-mode-abbrev-table): Remove redundant declaration.
1118 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1119 (prolog-use-smie): Remove.
1120 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1121 supported by prolog-electric-if-then-else-flag.
1122 (prolog-mode-variables, prolog-menu): Use setq-local.
1123 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1124 Remove binding to `Backspace' since this key doesn't exist anyway.
1125 Remove bindings for electric self-inserting keys.
1126 (prog-mode): Assume it's defined.
1127 (prolog-post-self-insert): New function.
1128 (prolog-mode): Use it.
1129 (prolog-indent-line, prolog-indent-level)
1130 (prolog-find-indent-of-matching-paren)
1131 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1132 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1133 (prolog-goto-next-paren, prolog-in-string-or-comment)
1134 (prolog-tokenize, prolog-inside-mline-comment)
1135 (prolog-find-start-of-mline-comment): Remove functions.
1136 (prolog-find-unmatched-paren, prolog-clause-end)
1137 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1138 (prolog-electric--if-then-else): Rename from
1139 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1140 (prolog-tokenize-searchkey): Remove const.
1141 (prolog-clause-info): Use forward-sexp.
1142 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1143 (prolog-electric-if-then-else): Remove commands.
1144 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1145 for use in post-self-insert-hook.
1146 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1147 for use in post-self-insert-hook.
1148 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1149 for use in post-self-insert-hook.
1150 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1151 adapt it for use in post-self-insert-hook.
1152
1153 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * emacs-lisp/ert.el (ert-run-tests-interactively):
1156 Use `completing-read'. (Bug#9756)
1157
1158 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1159
1160 * simple.el (line-move): Call line-move-1 instead of
1161 line-move-visual when the current window hscroll is zero, but
1162 temporary-goal-column indicates we will need to hscroll as result
1163 of the movement. (Bug#15712)
1164
1165 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1166
1167 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1168 capitalization. Use :visible instead of :active.
1169 Fix `ruby-indent-exp' reference. Add menu items for the generic
1170 commands that are used with SMIE.
1171 (ruby-do-end-to-brace): Insert space after `{'.
1172
1173 2013-10-25 John Anthony <john@jo.hnanthony.com>
1174
1175 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1176
1177 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1178
1179 2013-10-25 Glenn Morris <rgm@gnu.org>
1180
1181 * vc/vc.el (vc-print-log): Don't use a working revision unless
1182 one was explicitly specified. (Bug#15322)
1183
1184 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1185
1186 * subr.el (add-to-list): Preserve return value in compiler-macro
1187 (bug#15692).
1188
1189 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1190
1191 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1192 result. Ask user to retry using '-all' flag. (Bug#15701)
1193
1194 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1195
1196 * emacs-lisp/smie.el: New smie-config system.
1197 (smie-config): New defcustom.
1198 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1199 (smie-config-guess, smie-config-save): New commands.
1200 (smie-config--mode-local, smie-config--buffer-local)
1201 (smie-config--trace, smie-config--modefuns): New vars.
1202 (smie-config--advice, smie-config--mode-hook)
1203 (smie-config--setter, smie-config-local, smie-config--get-trace)
1204 (smie-config--guess-value, smie-config--guess): New functions.
1205 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1206 text properties. Treat "string fence" syntax like string syntax.
1207
1208 * progmodes/sh-script.el (sh-use-smie): Change default.
1209 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1210 (sh-var-value): Simplify by CSE.
1211 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1212 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1213 is used.
1214 (sh-guess-basic-offset): Use cl-incf.
1215 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1216
1217 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1218
1219 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1220 (bug#15699).
1221
1222 2013-10-24 Glenn Morris <rgm@gnu.org>
1223
1224 * Makefile.in (abs_top_srcdir): Remove.
1225 (update-subdirs): Use relative path to update-subdirs.
1226
1227 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1228
1229 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1230 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1231 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1232 Call unmsys--file-name before expand-file-name, not after it.
1233
1234 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1235
1236 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1237 (ert-test-skipped): New error.
1238 (ert-skip, ert-stats-skipped): New defuns.
1239 (ert--skip-unless): New macro.
1240 (ert-test-skipped): New struct.
1241 (ert--run-test-debugger, ert-test-result-type-p)
1242 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1243 (ert--stats-set-test-and-result, ert-char-for-test-result)
1244 (ert-string-for-test-result, ert-run-tests-batch)
1245 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1246 Handle skipped tests. (Bug#9803)
1247
1248 2013-10-24 Glenn Morris <rgm@gnu.org>
1249
1250 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1251
1252 * Makefile.in (abs_top_srcdir): New, set by configure.
1253 (update-subdirs): Correct build-aux location.
1254
1255 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1256
1257 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1258 value, whether we could auto-deduce `backend', or not.
1259
1260 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1261 with parameters" example. Simplify the "is it block or is it
1262 hash" check, but also make it more thorough.
1263
1264 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1265
1266 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1267
1268 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1271 { if it is hanging.
1272
1273 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1274 :before ";".
1275
1276 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1277
1278 * progmodes/compile.el (compilation-directory-matcher)
1279 (compilation-page-delimiter):
1280 Support GNU Make-4.0 directory quoting. (Bug#15678)
1281
1282 2013-10-23 Leo Liu <sdl.web@gmail.com>
1283
1284 * ido.el (ido-tidy): Handle read-only text.
1285
1286 2013-10-23 Glenn Morris <rgm@gnu.org>
1287
1288 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1289 (emacs, compile, compile-always):
1290 Quote entities that might contain whitespace.
1291 (custom-deps, finder-data, autoloads): Use abs_lisp.
1292 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1293 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1294 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1295
1296 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1297
1298 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1299 Use `following-char'.
1300
1301 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1302
1303 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1304 * progmodes/ruby-mode.el (ruby-smie-rules):
1305 Remove corresponding workaround. Fix indentation rule of ";" so it
1306 also applies when ";" is the parent.
1307
1308 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1309
1310 * frame.el (display-screens, display-pixel-height)
1311 (display-pixel-width, display-mm-width, display-backing-store)
1312 (display-save-under, display-planes, display-color-cells)
1313 (display-visual-class, display-monitor-attributes-list):
1314 Mention the optional ‘display’ argument in doc strings.
1315
1316 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1317
1318 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1319 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1320
1321 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1322
1323 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1324 TODO. Add "." after " @ ".
1325 (ruby-smie--at-dot-call): New function. Checks if point at method
1326 call with explicit target.
1327 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1328 to the method name tokens when it precedes them.
1329 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1330 (ruby-smie-rules): Add rule for indentation before and after "."
1331 token.
1332
1333 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1334
1335 * textmodes/remember.el (remember-diary-extract-entries):
1336 Avoid add-to-list.
1337
1338 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1339 an instruction.
1340
1341 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1342
1343 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1344 (ruby-smie--implicit-semi-p): Add new operator chars.
1345
1346 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1347 `smie-down-list'.
1348 (ruby-smie--args-separator-p): Check that there's no newline
1349 between method call and its arguments.
1350
1351 2013-10-20 Alan Mackenzie <acm@muc.de>
1352
1353 Allow comma separated lists after Java "implements".
1354
1355 * progmodes/cc-engine.el (c-backward-over-enum-header):
1356 Parse commas.
1357 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1358 from a "disallowed" list in enum fontification.
1359
1360 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1361
1362 * startup.el (default-frame-background-mode): Remove unused defvar.
1363
1364 * progmodes/verilog-mode.el (verilog-mode): Don't set
1365 comment-indent-function globally.
1366
1367 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1368
1369 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1370 Move Info menu item creation to ns-win.el.
1371
1372 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1373 in menu bar.
1374
1375 * menu-bar.el: Move GNUStep specific menus...
1376
1377 * term/ns-win.el (ns-initialize-window-system): ... to here.
1378
1379 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1380
1381 * simple.el (newline): Only run post-self-insert-hook when
1382 called interactively.
1383
1384 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1385
1386 * icomplete.el (icomplete-with-completion-tables): Add :version.
1387
1388 2013-10-19 Alan Mackenzie <acm@muc.de>
1389
1390 Fix fontification bugs with constructors and const.
1391
1392 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1393 CASE 2) Remove the check for the absence of a suffix construct
1394 after a function declaration with only types (no identifiers) in
1395 the parentheses. Also, accept a function declaration with just a
1396 type inside the parentheses, if this type can be positively
1397 recognised as such, or if a prefix keyword like "explicit" nails
1398 down the construct as a declaration.
1399
1400 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1401
1402 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1403 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1404 the problem whereby selecting a menu item that leads to a
1405 minibuffer prompt moves the cursor out of the minibuffer window,
1406 making it hard to type at the prompt. Suggested by Stefan Monnier
1407 <monnier@iro.umontreal.ca>.
1408
1409 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1410
1411 * menu-bar.el: Don't make Services menu.
1412
1413 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1414
1415 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1416 (ffap-alist): Use ffap-c++-mode for c++-mode.
1417 (ffap-c++-path): New variable.
1418 (ffap-c++-mode): New function.
1419
1420 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1421
1422 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1423
1424 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1425
1426 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1427 introduced on 2013-09-08, which results in an infinite loop
1428 requesting a password.
1429
1430 2013-10-18 Glenn Morris <rgm@gnu.org>
1431
1432 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1433
1434 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1435
1436 Sync with upstream verilog-mode revision 1a6ecec7.
1437 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1438 (verilog-mode-release-date): Remove.
1439 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1440 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1441 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1442 (verilog-auto-tieoff-ignore-regexp)
1443 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1444 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1445 (verilog-signals-with, verilog-dir-cache-preserving)
1446 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1447 Doc fixes.
1448 (verilog-case-fold): New option, to control case folding in
1449 regexp searches, bug597.
1450 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1451 (verilog-string-match-fold, verilog-in-paren-count)
1452 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1453 (verilog-at-close-struct-p): New functions.
1454 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1455 (verilog-forward-sexp, verilog-set-auto-endcomments):
1456 (verilog-leap-to-case-head): Handle "unique0" case.
1457 (verilog-in-constraint-re): New constant.
1458 (verilog-keywords, verilog-type-font-keywords):
1459 Add some SystemVerilog 1800-2012 keywords.
1460 (verilog-label-be): Remove unimplemented argument, bug669.
1461 (verilog-batch-execute-func): When batch expanding clear
1462 create-lockfiles to prevent spurious user locks when a file ends
1463 up not changing.
1464 (verilog-calculate-indent, verilog-calc-1)
1465 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1466 (verilog-do-indent): Fix indentation of nested constraints
1467 and structures.
1468 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1469 (verilog-auto-inst-param): Use verilog-string-match-fold.
1470 (verilog-read-inst-module-matcher):
1471 Fix AUTOINST on gate primitives with #1.
1472 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1473 Reads all user-defined typed variables.
1474 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1475 (verilog-signals-matching-regexp)
1476 (verilog-signals-not-matching-regexp, verilog-auto):
1477 Respect verilog-case-fold.
1478 (verilog-diff-report): Fix line count.
1479 (verilog-auto-assign-modport): Remove unused local `modi'.
1480 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1481 better handle multidimensional arrays.
1482 Fix packed array ports misadding bit index in AUTOINST, bug637.
1483 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1484 to not double-declare existing outputs and inputs, respectively.
1485 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1486 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1487 (verilog-sk-uvm-component): New skeleton.
1488 (verilog-submit-bug-report): Add verilog-case-fold,
1489 remove verilog-mode-release-date.
1490
1491 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1492
1493 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1494 as before.
1495
1496 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1497
1498 * textmodes/remember.el (remember): set buffer-offer-save in
1499 remember buffers (bug#13566).
1500
1501 2013-10-18 Daniel Colascione <dancol@dancol.org>
1502
1503 When evaluating forms in ielm, direct standard output to ielm
1504 buffer. Add new ielm-return-for-effect command. Remove trailing
1505 whitespace throughout.
1506
1507 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1508 (ielm-return-for-effect): New command.
1509 (ielm-send-input): Accept optional `for-effect' parameter.
1510 (ielm-eval-input): Accept optional `for-effect' parameter.
1511 Bind `standard-output' to stream we create using
1512 `ielm-standard-output-impl'. Suppress printing result when
1513 `for-effect'.
1514 (ielm-standard-output-impl): New function.
1515 (inferior-emacs-lisp-mode): Explain new features in documentation.
1516
1517 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1518
1519 Code cleanup.
1520
1521 * net/tramp.el (tramp-debug-message): Do not check for connection
1522 buffer.
1523 (tramp-message): Use "vector" connection property.
1524
1525 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1526 (tramp-equal-remote, tramp-eshell-directory-change)
1527 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1528 (tramp-adb-handle-rename-file)
1529 * net/tramp-cmds.el (tramp-list-remote-buffers)
1530 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1531 * net/tramp-compat.el (tramp-compat-process-running-p)
1532 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1533 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1534 (tramp-gvfs-handle-rename-file)
1535 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1536 (tramp-set-file-uid-gid)
1537 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1538 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1539 of `file-remote-p'.
1540
1541 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1542 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1543 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1544 (tramp-gw-open-network-stream): Suppress unrelated traces.
1545
1546 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1547 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1548 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1549 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1550 connection property.
1551
1552 * net/tramp-cache.el (top): Suppress traces when reading
1553 persistency file.
1554
1555 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1556 Refactor common code. Improve debug message.
1557 (tramp-maybe-open-connection)
1558 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1559 connection buffer too early.
1560
1561 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1562 from `tramp-smb-actions-with-acl'.
1563 (tramp-smb-actions-set-acl): New defconst.
1564 (tramp-smb-handle-copy-directory)
1565 (tramp-smb-action-get-acl): New defun, renamed from
1566 `tramp-smb-action-with-acl'.
1567 (tramp-smb-action-set-acl): New defun.
1568 (tramp-smb-handle-set-file-acl): Rewrite.
1569
1570 2013-10-17 Glenn Morris <rgm@gnu.org>
1571
1572 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1573
1574 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1575
1576 * skeleton.el (skeleton-newline): Remove.
1577 (skeleton-internal-1): Use (insert "\n") instead.
1578
1579 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1580 let-bindings.
1581
1582 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1583 forward-sexp-function while we redo its job (bug#15613).
1584
1585 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1586
1587 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1588 represented by lists.
1589
1590 2013-10-16 Glenn Morris <rgm@gnu.org>
1591
1592 * tmm.el (tmm--history): New dynamic variable.
1593 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1594
1595 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1596
1597 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1598 (tramp-smb-errors): Add error messages.
1599 (tramp-smb-actions-with-acl): New defconst.
1600 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1601 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1602 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1603 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1604 (tramp-smb-get-stat-capability): Fix tests.
1605
1606 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1607
1608 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1609 (bug#15580).
1610
1611 2013-10-16 Glenn Morris <rgm@gnu.org>
1612
1613 * ansi-color.el (ansi-color-drop-regexp):
1614 Add 1J, 1K, 2K. (Bug#15617)
1615
1616 * files.el (hack-local-variables--warned-lexical): New.
1617 (hack-local-variables):
1618 Warn about misplaced lexical-binding. (Bug#15616)
1619
1620 * net/eww.el (eww-render): Always set eww-current-url,
1621 and update header line. (Bug#15622)
1622 (eww-display-html): ... Rather than just doing it here.
1623
1624 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1625
1626 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1627 menu navigations commands.
1628
1629 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1630
1631 * progmodes/subword.el (subword-capitalize): Be careful when
1632 the search for [[:alpha:]] fails (bug#15580).
1633
1634 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1635
1636 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1637 to commands that scroll the menu.
1638
1639 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1642 Handle methods ending with `?' and `!'.
1643
1644 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1645
1646 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1647 `japanese-cp932' to `cp932' to fix the problem where saving a
1648 source file written in Shift_JIS twice would end up having
1649 `coding: japanese-cp932' which Ruby could not recognize.
1650 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1651 in `ruby-encoding-map'.
1652 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1653 doesn't need to be explicitly declared in magic comment.
1654 (ruby-encoding-map): Add type declaration for better customize UI.
1655
1656 2013-10-13 Glenn Morris <rgm@gnu.org>
1657
1658 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1659 Occur buffers are read-only. http://bugs.debian.org/720775
1660
1661 * emacs-lisp/authors.el (authors-fixed-entries):
1662 Comment out old alpha stuff.
1663
1664 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1665
1666 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1667 to `after-save-hook' instead of `before-save-hook'.
1668 (ruby-mode-set-encoding): Use the value of coding system used to
1669 write the file. Call `basic-save-buffer-1' after modifying the
1670 buffer.
1671
1672 2013-10-13 Alan Mackenzie <acm@muc.de>
1673
1674 Fix indentation/fontification of Java enum with
1675 "implements"/generic.
1676
1677 * progmodes/cc-engine.el (c-backward-over-enum-header):
1678 Extracted from the three other places and enhanced to handle generics.
1679 (c-inside-bracelist-p): Uses new function above.
1680 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1681 function above.
1682 (c-font-lock-enum-tail): Uses new function above.
1683
1684 2013-10-13 Kenichi Handa <handa@gnu.org>
1685
1686 * international/mule-cmds.el (select-safe-coding-system): Remove a
1687 superfluous condition in chekcing whether a coding system is safe
1688 or not.
1689
1690 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1691
1692 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1693
1694 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1695
1696 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1697
1698 2013-10-13 Glenn Morris <rgm@gnu.org>
1699
1700 * menu-bar.el (menu-bar-update-buffers):
1701 Unify Buffers menu prompt string. (Bug#15576)
1702
1703 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1704
1705 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1706 Add some entries.
1707 (authors-fixed-entries): Use accented form of name.
1708
1709 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1712 method calls (bug#15594).
1713 (ruby-smie--args-separator-p): New function.
1714 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1715 recognize paren-free method calls.
1716
1717 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1718 internals of universal-argument.
1719
1720 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1721
1722 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1723 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1724 dropped menu on second mouse click on the menu bar.
1725
1726 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1729 (explicit-shell-file-name): Declare.
1730 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1731 (sh-completion-at-point-function): New function.
1732 (sh-mode): Use it.
1733 (sh-smie--keyword-p): Remove unused argument.
1734 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1735 vars.
1736 (sh-set-shell): Always setup SMIE, even if we use the
1737 old indentation code.
1738
1739 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1740
1741 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1742 cases of ? and =.
1743 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1744 predicate would return nil are almost non-existent.
1745 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1746
1747 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1748 cache also after commands that modify the buffer but don't move
1749 point.
1750
1751 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * env.el (substitute-env-in-file-name): New function.
1754 (substitute-env-vars): Extend the meaning of the optional arg.
1755
1756 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1757
1758 * term/w32-win.el (dynamic-library-alist): Define separate lists
1759 of GIF DLLs for versions before and after 5.0.0 of giflib.
1760 (Bug#15531)
1761
1762 2013-10-10 João Távora <joaotavora@gmail.com>
1763
1764 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1765 not locked, use last revision and current source as
1766 defaults. (Bug#15569)
1767
1768 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1769
1770 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1771 menu-bar is hidden.
1772
1773 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1774
1775 * window.el (pop-to-buffer-same-window): Fix doc-string.
1776 (Bug#15492)
1777
1778 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1781
1782 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1783
1784 * calendar/icalendar.el (icalendar-import-file):
1785 Fix interactive spec. (Bug#15482)
1786
1787 2013-10-10 Glenn Morris <rgm@gnu.org>
1788
1789 * desktop.el (desktop-save): Default to saving in .emacs.d,
1790 since PWD is no longer in desktop-path by default. (Bug#15319)
1791
1792 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1793 now that text mode has a menu with the same entry.
1794 (menu-bar-text-mode-auto-fill): Remove now unused func.
1795 * textmodes/text-mode.el (text-mode-map):
1796 Use auto-fill help text from menu-bar.el.
1797
1798 2013-10-10 John Anthony <john@jo.hnanthony.com>
1799
1800 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1801
1802 2013-10-09 Juri Linkov <juri@jurta.org>
1803
1804 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1805 instead of this-command-keys. Add universal-argument-more and
1806 universal-argument-minus to the list of prefix commands. (Bug#15568)
1807
1808 2013-10-09 Glenn Morris <rgm@gnu.org>
1809
1810 * vc/vc-svn.el (vc-svn-create-repo):
1811 Expand paths in file://... url. (Bug#15446)
1812
1813 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1814 Add some entries.
1815 (authors): Remove unused local variables.
1816
1817 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * profiler.el: Create a more coherent calltree from partial backtraces.
1820 (profiler-format): Hide the tail with `invisible' so that C-s can still
1821 find the hidden elements.
1822 (profiler-calltree-depth): Don't recurse so enthusiastically.
1823 (profiler-function-equal): New hash-table-test.
1824 (profiler-calltree-build-unified): New function.
1825 (profiler-calltree-build): Use it.
1826 (profiler-report-make-name-part): Indent the calltree less.
1827 (profiler-report-mode): Add visibility specs for profiler-format.
1828 (profiler-report-expand-entry, profiler-report-toggle-entry):
1829 Expand the whole subtree when provided with a prefix arg.
1830
1831 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1832
1833 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1834 iuwu-mod token.
1835 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1836 hanging iuwu-mod token.
1837 (ruby-smie--forward-token): Do not include a dot after a token in
1838 that token.
1839 (ruby-smie--backward-token): Likewise.
1840
1841 2013-10-08 Juri Linkov <juri@jurta.org>
1842
1843 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1844 to isearch-other-control-char.
1845 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1846 and isearch-post-command-hook to post-command-hook.
1847 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1848 and isearch-post-command-hook from post-command-hook.
1849 (isearch-unread-key-sequence)
1850 (isearch-reread-key-sequence-naturally)
1851 (isearch-lookup-scroll-key, isearch-other-control-char)
1852 (isearch-other-meta-char): Remove functions.
1853 (isearch-pre-command-hook, isearch-post-command-hook):
1854 New functions based on isearch-other-meta-char rewritten
1855 relying on the new behavior of overriding-terminal-local-map
1856 that does not replace the local keymaps any more. (Bug#15200)
1857
1858 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1859
1860 Support menus on text-mode terminals.
1861 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1862 functionality.
1863
1864 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1865
1866 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1867 Move here from mouse.el.
1868 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1869 and arrow keys.
1870 (tty-menu-navigation-map): New map for TTY menu navigation.
1871
1872 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1873
1874 * frame.el (display-mouse-p): Report text-mode mouse as available
1875 on w32.
1876 (display-popup-menus-p): Report availability if mouse is
1877 available; don't condition on window-system.
1878
1879 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1880 (tty-menu-selected-face): New faces.
1881
1882 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1883
1884 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1885 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1886 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1887 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1888 New constants.
1889 (lisp-mode-variables): New `elisp' argument.
1890 (emacs-lisp-mode): Use it.
1891 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1892 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1893
1894 * indent.el: Use lexical-binding.
1895 (indent-region): Add progress reporter.
1896 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1897 last step.
1898 (indent--next-tab-stop): New function to implement this behavior.
1899 (tab-to-tab-stop, move-to-tab-stop): Use it.
1900
1901 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1902
1903 * indent.el (indent-rigidly--current-indentation): New function.
1904 (indent-rigidly-map): New var.
1905 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1906
1907 2013-10-08 Bastien Guerry <bzg@gnu.org>
1908
1909 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1910
1911 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * progmodes/perl-mode.el: Use lexical-binding.
1914 Remove redundant :group args.
1915 (perl-nochange): Change default to be closer to other major modes's
1916 standard behavior.
1917 (perl-indent-line): Don't consider text on current line as a
1918 valid beginning of function from which to indent.
1919
1920 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1921 with more than one argument (bug#15538).
1922
1923 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1924
1925 * vc/pcvs.el: Use lexical-binding.
1926 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1927 environment of `eval'.
1928 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1929 than a list of expressions. Adjust callers.
1930 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1931
1932 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1933
1934 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1935 case of the dot in a chained method call being on the following line.
1936
1937 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * electric.el (electric-indent-inhibit): New var.
1940 (electric-indent-post-self-insert-function): Use it.
1941 * progmodes/python.el (python-mode): Set it.
1942
1943 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1944 open braces.
1945
1946 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1947
1948 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1949 (css-mode): Use electric-indent-chars.
1950
1951 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1952 (font-lock-beg, font-lock-end): Move before first use.
1953 (nxml-mode): Use syntax-propertize-function.
1954 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1955 (nxml-extend-after-change-region): Remove.
1956 * nxml/xmltok.el: Use lexical-binding.
1957 (xmltok-save): Use `declare'.
1958 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1959 * nxml/nxml-util.el: Use lexical-binding.
1960 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1961 Use `declare'.
1962 * nxml/nxml-ns.el: Use lexical-binding.
1963 (nxml-ns-save): Use `declare'.
1964 (nxml-ns-prefixes-for): Avoid add-to-list.
1965 * nxml/rng-match.el: Use lexical-binding.
1966 (rng--ipattern): Use cl-defstruct.
1967 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1968 (rng-cons-group-after, rng-subst-group-after)
1969 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1970 Use closures instead of `(lambda...).
1971
1972 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1973
1974 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1975 of BEG and END.
1976
1977 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1978 Use `tramp-handle-insert-file-contents'.
1979 (tramp-gvfs-handle-insert-file-contents): Remove function.
1980
1981 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1982 Use `save-restriction' in order to keep markers.
1983
1984 * net/trampver.el: Update release number.
1985
1986 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * progmodes/compile.el (compilation-parse-errors):
1989 Use compilation--put-prop.
1990 (compilation--ensure-parse): Check compilation-multiline.
1991
1992 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1993
1994 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1995 lexical-binding.
1996
1997 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1998
1999 * progmodes/ruby-mode.el: Fix recently added tests.
2000 (ruby-smie-grammar): Add - and +.
2001 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2002 (ruby-smie--backward-id): New functions.
2003 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2004 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2005 any more.
2006
2007 2013-10-07 Leo Liu <sdl.web@gmail.com>
2008
2009 * register.el (register-preview-delay)
2010 (register-preview-functions): New variables.
2011 (register-read-with-preview, register-preview)
2012 (register-describe-oneline): New functions.
2013 (point-to-register, window-configuration-to-register)
2014 (frame-configuration-to-register, jump-to-register)
2015 (number-to-register, view-register, insert-register)
2016 (copy-to-register, append-to-register, prepend-to-register)
2017 (copy-rectangle-to-register): Use register-read-with-preview to
2018 read register. (Bug#15525)
2019
2020 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2021
2022 * net/network-stream.el (network-stream-open-starttls): Don't add
2023 --insecure if it's already present, because that gnutls-cli
2024 rejects getting that parameter twice.
2025
2026 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2027
2028 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2029 keyword, too.
2030
2031 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2032
2033 * newcomment.el (comment-use-global-state): Change default value
2034 to t, mark obsolete (Bug#15251).
2035 (comment-beginning): In addition to `comment-to-syntax', check the
2036 value of `comment-use-global-state'.
2037
2038 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2039
2040 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2041 (ruby-comment-column): Follow the global default, by default.
2042 (ruby-smie-grammar): Add assignment syntax.
2043 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2044 open-paren, a comma, or a \.
2045 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2046 and line continuations.
2047 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2048 followed by implicit semi-colons. Add rule for string concatenation
2049 and for indentation at BOB.
2050 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2051
2052 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2053 calling next-sexp, since next-token may have skipped chars which
2054 next-sexp doesn't know should be skipped!
2055
2056 2013-10-05 Leo Liu <sdl.web@gmail.com>
2057
2058 * progmodes/octave.el (octave-send-region):
2059 Call compilation-forget-errors.
2060
2061 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2062
2063 * vc/vc-svn.el (vc-svn-find-admin-dir):
2064 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2065 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2066 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2067 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2068
2069 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2072
2073 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * subr.el (read-passwd): Hide chars even when called within a context
2076 where after-change-functions is disabled (bug#15501).
2077 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2078 until we removed ourself from overriding-terminal-local-map.
2079
2080 2013-10-04 Leo Liu <sdl.web@gmail.com>
2081
2082 * progmodes/octave.el (inferior-octave-mode):
2083 Call compilation-forget-errors.
2084
2085 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2086
2087 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2088
2089 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2090
2091 * net/secrets.el (secrets-create-collection): Add optional
2092 argument ALIAS. Use proper Label keyword. Append ALIAS as
2093 dbus-call-method argument. (Bug#15516)
2094
2095 2013-10-04 Leo Liu <sdl.web@gmail.com>
2096
2097 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2098 (inferior-octave-compilation-font-lock-keywords): New variables.
2099 (compilation-error-regexp-alist)
2100 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2101 (inferior-octave-mode): Use compilation-shell-minor-mode.
2102
2103 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2104
2105 * minibuffer.el (completion--replace): Be careful that `end' might be
2106 a marker.
2107
2108 2013-10-03 Daiki Ueno <ueno@gnu.org>
2109
2110 Add support for package signature checking.
2111 * emacs-lisp/package.el (url-http-file-exists-p)
2112 (epg-make-context, epg-context-set-home-directory)
2113 (epg-verify-string, epg-context-result-for)
2114 (epg-signature-status, epg-signature-to-string)
2115 (epg-check-configuration, epg-configuration)
2116 (epg-import-keys-from-file): Declare.
2117 (package-check-signature): New user option.
2118 (package-unsigned-archives): New user option.
2119 (package-desc): Add `signed' field.
2120 (package-load-descriptor): Set `signed' field if .signed file exists.
2121 (package--archive-file-exists-p): New function.
2122 (package--check-signature): New function.
2123 (package-install-from-archive): Check package signature.
2124 (package--download-one-archive): Check archive signature.
2125 (package-delete): Remove .signed file.
2126 (package-import-keyring): New command.
2127 (package-refresh-contents): Import default keyring.
2128 (package-desc-status): Add "unsigned" status.
2129 (describe-package-1, package-menu--print-info)
2130 (package-menu-mark-delete, package-menu--find-upgrades)
2131 (package-menu--status-predicate): Support "unsigned" status.
2132
2133 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2136 the new compilation scheme using the new byte-codes.
2137
2138 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2139 (byte-pophandler): New byte codes.
2140 (byte-goto-ops): Adjust accordingly.
2141 (byte-compile--use-old-handlers): New var.
2142 (byte-compile-catch): Use new byte codes depending on
2143 byte-compile--use-old-handlers.
2144 (byte-compile-condition-case--old): Rename from
2145 byte-compile-condition-case.
2146 (byte-compile-condition-case--new): New function.
2147 (byte-compile-condition-case): New function that dispatches depending
2148 on byte-compile--use-old-handlers.
2149 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2150 when we can.
2151
2152 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2153 Optimize under `condition-case' and `catch' if
2154 byte-compile--use-old-handlers is nil.
2155 (disassemble-offset): Handle new bytecodes.
2156
2157 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2158
2159 * subr.el (error): Use `declare'.
2160 (decode-char, encode-char): Use advertised-calling-convention instead
2161 of the docstring to discourage use of the `restriction' arg.
2162
2163 2013-10-03 Daiki Ueno <ueno@gnu.org>
2164
2165 * epg.el (epg-verify-file): Add a comment saying that it does not
2166 notify verification error as a return value nor a signal.
2167 (epg-verify-string): Ditto.
2168
2169 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2170
2171 * progmodes/compile.el (compilation-start): Try globbing the arg to
2172 `cd' (bug#15417).
2173
2174 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2175
2176 Sync with Tramp 2.2.8.
2177
2178 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2179 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2180 * net/trampver.el: Update release number.
2181
2182 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2183
2184 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2185 and default-process-coding-system for darwin only.
2186
2187 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2188
2189 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2190
2191 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2192
2193 * vc/vc-git.el (vc-git-grep): Disable pager.
2194
2195 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2196
2197 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2198 Use :url instead of :homepage, as per
2199 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2200
2201 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2202 non-nil, use `syntax-ppss' (Bug#15251).
2203
2204 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2205
2206 * progmodes/octave.el (inferior-octave-startup-file):
2207 Prefer ~/.emacs.d/init_octave.m.
2208
2209 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2210
2211 * emacs-lisp/package.el (package-desc-from-define):
2212 Accept additional arguments as plist, convert them to an alist and store
2213 them in the `extras' slot.
2214 (package-generate-description-file): Convert extras alist back to
2215 plist and append to the `define-package' form arguments.
2216 (package--alist-to-plist): New function.
2217 (package--ac-desc): Add `extras' slot.
2218 (package--add-to-archive-contents): Check if the archive-contents
2219 vector is long enough, and if it is, pass its `extras' slot value
2220 to `package-desc-create'.
2221 (package-buffer-info): Call `lm-homepage', pass the returned value
2222 to `package-desc-from-define'.
2223 (describe-package-1): Render the homepage button (Bug#13291).
2224
2225 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2226 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2227
2228 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2229
2230 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2231 and default-process-coding-system to utf-8-unix (Bug#15402).
2232
2233 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2234
2235 * subr.el (looking-back): Do not recommend using looking-back.
2236
2237 2013-09-28 Alan Mackenzie <acm@muc.de>
2238
2239 Fix indentation/fontification of Java enum with "implements".
2240
2241 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2242 regexp which matches "implements", etc., in Java.
2243 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2244 specifier clauses coming after "enum".
2245 * progmodes/cc-fonts.el (c-font-lock-declarations)
2246 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2247 after "enum".
2248
2249 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2250
2251 * faces.el (region): Change ns_selection_color to
2252 ns_selection_fg_color, add ns_selection_bg_color.
2253
2254 2013-09-28 Leo Liu <sdl.web@gmail.com>
2255
2256 * progmodes/octave.el (inferior-octave-completion-table)
2257 (inferior-octave-completion-at-point): Minor tweaks.
2258
2259 * textmodes/ispell.el (ispell-lookup-words): Rename from
2260 lookup-words. (Bug#15460)
2261 (lookup-words): Obsolete.
2262 (ispell-complete-word, ispell-command-loop): All uses changed.
2263
2264 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2265
2266 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2267 (octave-mode-menu): Add octave-send-buffer.
2268 (octave-send-buffer): New function.
2269
2270 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2271
2272 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2273 octave-lookfor.
2274 (octave-mode-menu): Add octave-lookfor.
2275 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2276 octave-lookfor.
2277 (octave-lookfor): New function.
2278
2279 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * emacs-lisp/cl-macs.el:
2282 (cl--loop-destr-temps): Remove.
2283 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2284 its convention.
2285 (cl--loop-set-iterator-function): New function.
2286 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2287 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2288 Bind `it' with `let' instead of substituting it with `cl-subst'.
2289 (cl--unused-var-p): New function.
2290 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2291 Eliminate some unused variable warnings (bug#15326).
2292
2293 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2294
2295 * doc-view.el (doc-view-scale-reset): Rename from
2296 `doc-view-reset-zoom-level'.
2297 (doc-view-scale-adjust): New command.
2298 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2299 `doc-view-scale-adjust'.
2300
2301 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2302
2303 * doc-view.el (doc-view-reset-zoom-level): New command.
2304 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2305 zoom commands (bug#15466).
2306
2307 2013-09-26 Kenichi Handa <handa@gnu.org>
2308
2309 * international/quail.el (quail-help): Make it not a command.
2310
2311 2013-09-26 Leo Liu <sdl.web@gmail.com>
2312
2313 * minibuffer.el (completion-all-sorted-completions): Make args
2314 optional as they are.
2315
2316 2013-09-25 Daniel Colascione <dancol@dancol.org>
2317
2318 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2319 specs are and that they're not evaluated.
2320
2321 2013-09-24 Sam Steingold <sds@gnu.org>
2322
2323 * midnight.el (clean-buffer-list-kill-regexps)
2324 (clean-buffer-list-kill-buffer-names): Update for the new Man
2325 buffer naming which includes the object name.
2326
2327 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2330 (eshell-parse-command, eshell-parse-pipeline): Use it since
2331 eshell-separate-commands requires a dynamic scoped var.
2332 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2333
2334 2013-09-23 Leo Liu <sdl.web@gmail.com>
2335
2336 * autoinsert.el (auto-insert-alist): Make the value of
2337 lexical-binding match its file setting.
2338
2339 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2340
2341 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2342
2343 * autoarg.el (autoarg-kp-digit-argument):
2344 * electric.el (Electric-command-loop):
2345 * kmacro.el (kmacro-step-edit-insert):
2346 Do not set universal-argument-num-events.
2347
2348 2013-09-22 Leo Liu <sdl.web@gmail.com>
2349
2350 * files.el (interpreter-mode-alist): Add octave.
2351
2352 2013-09-21 Alan Mackenzie <acm@muc.de>
2353
2354 C++: fontify identifier in declaration following "public:" correctly.
2355 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2356 to match "public", etc.
2357 (c-decl-prefix-re): Add ":" into the C++ value.
2358 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2359 bit. Add a check for a ":" preceded by "public", etc.
2360
2361 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2362
2363 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2364 recognized by GDB 7.5 and later.
2365
2366 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2367
2368 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2369
2370 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * subr.el (internal--call-interactively): New const.
2373 (called-interactively-p): Use it (bug#3984).
2374
2375 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2376
2377 * vc/pcvs.el (cvs-mode-ignore):
2378 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2379 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2380
2381 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2384 (eshell-ls-orig-insert-directory): Remove.
2385 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2386 (eshell-ls-use-in-dired): Use advice-add/remove.
2387 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2388 Add `orig-fun' arg for use in :around advice.
2389 Make it check (redundantly) eshell-ls-use-in-dired.
2390
2391 2013-09-19 Glenn Morris <rgm@gnu.org>
2392
2393 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2394
2395 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2396
2397 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2398
2399 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2402 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2403 (tramp-get-remote-python): New defuns.
2404 (tramp-get-remote-uid-with-perl)
2405 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2406 contributed by yary <not.com@gmail.com> (tiny change).
2407 (tramp-get-remote-uid-with-python)
2408 (tramp-get-remote-gid-with-python): New defuns. Python code
2409 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2410 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2411
2412 2013-09-19 Glenn Morris <rgm@gnu.org>
2413
2414 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2415
2416 * eshell/em-unix.el (eshell-remove-entries):
2417 Rename argument to avoid name-clash with global `top-level'.
2418
2419 * eshell/esh-proc.el (eshell-kill-process-function):
2420 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2421 (eshell-reset-after-proc): Remove unused arg `proc'.
2422
2423 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2424 (directory-files-and-attributes): Mark unused arg.
2425
2426 * eshell/em-unix.el (eshell-remove-entries):
2427 Remove unused arg `path'. Update callers.
2428
2429 * eshell/em-hist.el (eshell-hist-parse-arguments):
2430 Remove unused arg `silent'. Update callers.
2431
2432 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2433 Fix (f)boundp mix-up.
2434
2435 * eshell/em-smart.el (eshell-smart-scroll-window)
2436 (eshell-disable-after-change):
2437 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2438
2439 2013-09-18 Alan Mackenzie <acm@muc.de>
2440
2441 Fix fontification of type when followed by "const".
2442 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2443 "known" types from fontification.
2444
2445 2013-09-18 Glenn Morris <rgm@gnu.org>
2446
2447 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2448 (chart-face-list): Drop Emacsen without display-color-p.
2449
2450 * net/eww.el (libxml-parse-html-region): Declare.
2451 (eww-display-html): Explicit error if no libxml2 support.
2452
2453 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2454
2455 * image.el (image-type-from-buffer, image-multi-frame-p):
2456 Remove --without-x warning/error.
2457
2458 * mouse.el (mouse-yank-primary):
2459 * term.el (term-mouse-paste):
2460 Reorder to silence --without-x compilation.
2461
2462 * mpc.el (doc-view-mode): Silence --without-x compilation.
2463
2464 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2465 Silence --without-x compilation.
2466
2467 * progmodes/gud.el (gud-find-file, gud-mode):
2468 Silence --without-x compilation.
2469 (tooltip-mode): Declare.
2470
2471 * wdired.el (dired-backup-overwrite): Remove declaration.
2472 (wdired-mode-map): Add doc string.
2473
2474 * custom.el (x-get-resource): Declare.
2475
2476 * eshell/em-glob.el (ange-cache):
2477 * eshell/em-unix.el (ange-cache): Declare.
2478
2479 * faces.el (x-display-list, x-open-connection, x-get-resource):
2480 Declare.
2481
2482 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2483 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2484 Declare.
2485
2486 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2487
2488 * net/gnutls.el (gnutls-log-level): Declare.
2489
2490 * net/shr.el (image-size, image-animate): Declare.
2491
2492 * simple.el (font-info): Declare.
2493
2494 * subr.el (x-popup-dialog): Declare.
2495
2496 * term/common-win.el (x-select-enable-primary)
2497 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2498 Declare.
2499
2500 * term/ns-win.el (x-handle-args): Declare.
2501
2502 * term/x-win.el (x-select-enable-clipboard): Declare.
2503
2504 * term/w32-win.el (create-default-fontset): Declare.
2505
2506 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2507 Declare.
2508
2509 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2510 (fit-frame-to-buffer): Explicit error if --without-x.
2511 (mouse-autoselect-window-select): Silence compiler.
2512
2513 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2514
2515 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2516 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2517 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2518 * eshell/esh-util.el (eshell-sublist):
2519 Remove unused local variables.
2520
2521 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2522
2523 * textmodes/two-column.el: Make 2C-split work for --without-x.
2524 (scroll-bar-columns): Autoload.
2525 (top-level): Require fringe when compiling.
2526
2527 2013-09-18 Leo Liu <sdl.web@gmail.com>
2528
2529 * subr.el (add-hook): Robustify to handle closure as well.
2530
2531 2013-09-17 Glenn Morris <rgm@gnu.org>
2532
2533 * simple.el (messages-buffer-mode-map): Unbind "g".
2534
2535 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2536
2537 * help-mode.el (help-mode-finish): Use derived-mode-p.
2538 Remove obsolete highlighting.
2539
2540 * play/life.el (life-mode): Use define-derived-mode. Derive from
2541 special-mode.
2542 (life): Let-bind inhibit-read-only.
2543 (life-setup): Avoid `setq'. Use `life-mode'.
2544
2545 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2546 which should not be needed any more.
2547 (package-menu-refresh, package-menu-describe-package): Use user-error.
2548
2549 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2550 (eshell-post-rewrite-command-hook): Make obsolete.
2551 (eshell-parse-command): Simplify.
2552 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2553 (eshell--cmd): Declare.
2554 (eshell-parse-pipeline): Remove unused var `final-p'.
2555 Pass a dynvar to eshell-post-rewrite-command-hook.
2556 Implement the new eshell-post-rewrite-command-function.
2557 (eshell-invoke-directly): Remove unused arg `input'.
2558 * eshell/esh-io.el (eshell-io-initialize):
2559 Use eshell-post-rewrite-command-function (bug#15399).
2560 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2561 adjust to new calling convention.
2562 (eshell-create-handles): Rename args to avoid clashing with dynvar
2563 `standard-output'.
2564
2565 2013-09-17 Glenn Morris <rgm@gnu.org>
2566
2567 * simple.el (messages-buffer-mode): New major mode.
2568 (messages-buffer): New function.
2569 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2570 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2571 (ert-run-test): Use `messages-buffer' function.
2572 (ert--force-message-log-buffer-truncation): Ignore read-only.
2573 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2574 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2575
2576 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2577
2578 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2579
2580 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2581
2582 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2583
2584 * icomplete.el (icomplete-in-buffer): New var.
2585 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2586 vars and replace them with functions.
2587 (icomplete-minibuffer-setup): Adjust accordingly.
2588 (icomplete--completion-table, icomplete--completion-predicate)
2589 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2590 New functions.
2591 (icomplete-forward-completions, icomplete-backward-completions)
2592 (icomplete-simple-completing-p, icomplete-exhibit)
2593 (icomplete-completions): Use them.
2594 (icomplete--in-region-buffer): New var.
2595 (icomplete--in-region-setup): New function.
2596 (icomplete-mode): Use it.
2597
2598 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2599 (bug#15379).
2600 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2601 return args and options.
2602 (eshell-eval-using-options): Use the new return value of
2603 eshell--do-opts to set the options's vars in their scope.
2604 (eshell--set-option): Rename from eshell-set-option.
2605 Add arg `opt-vals'.
2606 (eshell--process-option): Rename from eshell-process-option.
2607 Add arg `opt-vals'.
2608 (eshell--process-args): Use an `opt-vals' alist to store the options's
2609 values during their processing and return them additionally to the
2610 remaining args.
2611
2612 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2615 continuation character an operator, as far as indentation is
2616 concerned (Bug#15369).
2617
2618 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2619
2620 * window.el (window--state-put-2): Don't process buffer state
2621 when buffer doesn't exist any more (Bug#15382).
2622
2623 2013-09-15 Glenn Morris <rgm@gnu.org>
2624
2625 * eshell/em-unix.el (eshell/rm):
2626 Make -f ignore missing files. (Bug#15373)
2627
2628 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2629 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2630 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2631
2632 2013-09-14 Glenn Morris <rgm@gnu.org>
2633
2634 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2635
2636 2013-09-13 Glenn Morris <rgm@gnu.org>
2637
2638 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2639 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2640
2641 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2642
2643 * frame.el (x-focus-frame): Mark as declared in frame.c.
2644
2645 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * ls-lisp.el: Use advice-add.
2648 (original-insert-directory): Remove.
2649 (ls-lisp--insert-directory): Rename from insert-directory; add
2650 `orig-fun' argument.
2651 (insert-directory): Advise.
2652
2653 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2654
2655 * term.el (term-emulate-terminal): Decode the command string
2656 before passing it to term-command-hook. (Bug#15337)
2657
2658 2013-09-13 Glenn Morris <rgm@gnu.org>
2659
2660 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2661
2662 * eshell/esh-ext.el (eshell-search-path): Declare.
2663
2664 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2665 Otherwise an error occurs if eshell-dirs module not loaded.
2666
2667 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2668
2669 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2670
2671 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2672 `tramp-check-proper-host'. Check for a valid method name.
2673
2674 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2675 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2676 * net/tramp-sh.el (tramp-maybe-open-connection):
2677 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2678
2679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2680 also for hash values.
2681
2682 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2683
2684 * term/ns-win.el (parameters): Don't declare as dynamic.
2685 (before-make-frame-hook): Don't add ineffective function.
2686
2687 * eshell/*.el: Use lexical-binding (bug#15231).
2688
2689 2013-09-12 Kenichi Handa <handa@gnu.org>
2690
2691 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2692
2693 2013-09-12 Glenn Morris <rgm@gnu.org>
2694
2695 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2696 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2697
2698 * subr.el (do-after-load-evaluation): Also give compiler warnings
2699 when obsolete files are used (except by obsolete files).
2700
2701 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2702 in the status output, assume `filename' is the first. (Bug#15322)
2703
2704 * vc/vc.el (vc-deduce-fileset): Doc fix.
2705
2706 * calc/calc-help.el (Info-goto-node):
2707 * progmodes/cperl-mode.el (Info-find-node):
2708 * vc/ediff.el (Info-goto-node): Update declarations.
2709
2710 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2711
2712 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2713 (vc-bzr-pull): Require vc-dispatcher.
2714 * vc/vc-git.el (vc-compilation-mode): Declare.
2715 (vc-git-pull): Require vc-dispatcher.
2716
2717 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2718
2719 * progmodes/octave.el (help-button-action): Declare.
2720
2721 * shell.el (shell-directory-tracker): Output error as a message
2722 rather than just returning it as a string.
2723 (shell-process-pushd): Remove useless use of message.
2724
2725 * dframe.el (dframe-timer-fn):
2726 * files.el (dir-locals-read-from-file):
2727 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2728 (mpc-format):
2729 * reveal.el (reveal-post-command):
2730 * saveplace.el (load-save-place-alist-from-file):
2731 * shell.el (shell-resync-dirs):
2732 * w32-common-fns.el (x-get-selection-value):
2733 * emacs-lisp/copyright.el (copyright-find-copyright):
2734 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2735 * emulation/tpu-edt.el (tpu-copy-keyfile):
2736 * play/bubbles.el (bubbles--mark-neighbourhood):
2737 * progmodes/executable.el
2738 (executable-make-buffer-file-executable-if-script-p):
2739 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2740
2741 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 Cleanup Eshell to rely less on dynamic scoping.
2744 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2745 last-value, and ext-command here. Bind `args' closer to `body'.
2746 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2747 (eshell--args): Declare new dynamic var.
2748 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2749 last-value, and ext-command. Pass `args' to `body'.
2750 (eshell-process-args): Bind eshell--args.
2751 (eshell-set-option): Use eshell--args.
2752 * eshell/eshell.el (eshell): Use derived-mode-p.
2753 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2754 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2755 (eshell-glob-function): Declare.
2756 * eshell/esh-util.el: Require cl-lib.
2757 (eshell-read-hosts-file): Avoid add-to-list.
2758 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2759 `err'.
2760 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2761 Declare.
2762 (eshell/diff): Remove unused var `err'.
2763 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2764 `killflag'.
2765 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2766 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2767 first use.
2768 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2769 Move declaration before first use.
2770 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2771 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2772 rely on cl-return.
2773
2774 2013-09-12 Glenn Morris <rgm@gnu.org>
2775
2776 * term/ns-win.el (global-map): Remove binding for ispell-next,
2777 deleted 1999-05-29. (Bug#15357)
2778
2779 2013-09-11 Glenn Morris <rgm@gnu.org>
2780
2781 * echistory.el (electric-command-history): Remove call to deleted func.
2782
2783 * play/landmark.el (landmark-mode): Fix typos.
2784
2785 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2786 Check cvs-sort-ignore-file is bound.
2787
2788 * savehist.el: No need for cl when compiling on Emacs.
2789
2790 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2791
2792 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2793 (bug#15338).
2794 (eshell-self-insert-command, eshell-send-invisible):
2795 Remove unused argument.
2796 (eshell-handle-control-codes): Remove unused var `orig'.
2797 Avoid delete-backward-char.
2798
2799 * files.el (set-auto-mode): Simplify a bit further.
2800
2801 2013-09-11 Glenn Morris <rgm@gnu.org>
2802
2803 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2804 (set-auto-mode): Don't regexp-quote elements.
2805 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2806 * progmodes/cc-mode.el (interpreter-mode-alist):
2807 * progmodes/ruby-mode.el (interpreter-mode-alist):
2808 Revert previous change.
2809
2810 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * play/snake.el (snake-mode):
2813 * play/mpuz.el (mpuz-mode):
2814 * play/landmark.el (lm-mode):
2815 * play/blackbox.el (blackbox-mode):
2816 * play/5x5.el (5x5-mode):
2817 * obsolete/options.el (Edit-options-mode):
2818 * net/quickurl.el (quickurl-list-mode):
2819 * net/newst-treeview.el (newsticker-treeview-mode):
2820 * mail/rmailsum.el (rmail-summary-mode):
2821 * mail/mspools.el (mspools-mode):
2822 * locate.el (locate-mode):
2823 * ibuffer.el (ibuffer-mode):
2824 * emulation/ws-mode.el (wordstar-mode):
2825 * emacs-lisp/debug.el (debugger-mode):
2826 * array.el (array-mode):
2827 * net/eudc.el (eudc-mode): Use define-derived-mode.
2828 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2829 Move initialization into declaration.
2830 (mairix-searches-mode): Use define-derived-mode.
2831 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2832 (eudc-edit-hotlist): Use dolist.
2833 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2834 (Man-mode): Use define-derived-mode.
2835 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2836 (Info-edit-mode): Use define-derived-mode.
2837 (Info-cease-edit): Use Info-mode.
2838 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2839 into declaration.
2840 (eshell-mode): Use define-derived-mode.
2841 * chistory.el (command-history-mode-map): Rename from
2842 command-history-map.
2843 (command-history-mode): Use define-derived-mode.
2844 (Command-history-setup): Remove function.
2845 * calc/calc.el (calc-trail-mode-map): New var.
2846 (calc-trail-mode): Use define-derived-mode.
2847 (calc-trail-buffer): Set calc-main-buffer manually.
2848 * bookmark.el (bookmark-insert-annotation): New function.
2849 (bookmark-edit-annotation): Use it.
2850 (bookmark-edit-annotation-mode): Make it a proper major mode.
2851 (bookmark-send-edited-annotation): Use derived-mode-p.
2852 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2853 closer to its ideal place. Use \' to match EOS.
2854
2855 * profiler.el (profiler-calltree-find): Use function-equal.
2856
2857 2013-09-10 Glenn Morris <rgm@gnu.org>
2858
2859 * files.el (interpreter-mode-alist): Convert to regexps.
2860 (set-auto-mode): Adapt for this. (Bug#15306)
2861 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2862 Comment out unused variable.
2863 * progmodes/cc-mode.el (interpreter-mode-alist):
2864 * progmodes/python.el (interpreter-mode-alist):
2865 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2866 * progmodes/sh-script.el (sh-set-shell):
2867 No longer use interpreter-mode-alist to get list of shells.
2868
2869 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2870
2871 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * simple.el: Use set-temporary-overlay-map for universal-argument.
2874 (universal-argument-map): Don't use default-bindings (bug#15317).
2875 Bind switch-frame explicitly. Replace universal-argument-minus with
2876 a conditional binding.
2877 (universal-argument-num-events, saved-overriding-map): Remove.
2878 (restore-overriding-map): Remove.
2879 (universal-argument--mode): Rename from save&set-overriding-map,
2880 and rewrite.
2881 (universal-argument, universal-argument-more, negative-argument)
2882 (digit-argument): Adjust accordingly.
2883 (universal-argument-minus): Remove.
2884 (universal-argument-other-key): Remove.
2885
2886 * subr.el (with-demoted-errors): Add `format' argument.
2887
2888 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2889
2890 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2891 `tramp-cleanup-connection'.
2892
2893 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2894 parameters KEEP-DEBUG and KEEP-PASSWORD.
2895
2896 * net/tramp.el (tramp-file-name-handler):
2897 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2898 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2899 (tramp-maybe-open-connection):
2900 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2901 Use `tramp-cleanup-connection'.
2902
2903 * net/tramp-sh.el (tramp-maybe-open-connection):
2904 Catch 'uname-changed inside the progress reporter.
2905
2906 2013-09-10 Glenn Morris <rgm@gnu.org>
2907
2908 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2909
2910 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2911 returns "alternate access method" in mode (eg "-rw-r--r--.").
2912
2913 2013-09-08 Glenn Morris <rgm@gnu.org>
2914
2915 * saveplace.el (load-save-place-alist-from-file):
2916 Demote errors. (Bug#15305)
2917
2918 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2919
2920 Improve compatibility with older Emacsen, and XEmacs.
2921
2922 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2923 only if it is bound. It isn't for XEmacs.
2924 (with-tramp-progress-reporter): Do not let-bind `result'.
2925 This yields to scoping errors in XEmacs.
2926 (tramp-handle-make-auto-save-file-name): New function, moved from
2927 tramp-sh.el.
2928
2929 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2930 for `make-auto-save-file-name'.
2931 (tramp-adb--gnu-switches-to-ash):
2932 Use `tramp-compat-replace-regexp-in-string'.
2933
2934 * net/tramp-cache.el (tramp-cache-print): Call
2935 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2936
2937 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2938 bound. It isn't for XEmacs.
2939
2940 * net/tramp-compat.el (tramp-compat-copy-file):
2941 Catch `wrong-number-of-arguments' error.
2942 (tramp-compat-replace-regexp-in-string): New defun.
2943
2944 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2945 for `make-auto-save-file-name'.
2946 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2947 `copy-file'.
2948 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2949 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2950 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2951
2952 * net/tramp-gw.el (tramp-gw-open-network-stream):
2953 Use `tramp-compat-replace-regexp-in-string'.
2954
2955 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2956 Call `tramp-handle-make-auto-save-file-name'.
2957 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2958 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2959 (tramp-sh-file-inotifywait-process-filter):
2960 Use `tramp-compat-replace-regexp-in-string'.
2961 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2962
2963 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2964 for `make-auto-save-file-name'.
2965 (tramp-smb-handle-copy-directory):
2966 Call `tramp-compat-replace-regexp-in-string'.
2967 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2968 (tramp-smb-handle-copy-file): Improve error message.
2969 (tramp-smb-handle-rename-file): Rename directly only in case
2970 `newname' does not exist yet. This is a restriction of smbclient.
2971 (tramp-smb-maybe-open-connection): Rerun the function only when
2972 `auth-sources' is non-nil.
2973
2974 2013-09-08 Kenichi Handa <handa@gnu.org>
2975
2976 * international/characters.el: Set category "^" (Combining) for
2977 more characters.
2978
2979 2013-09-07 Alan Mackenzie <acm@muc.de>
2980
2981 Correctly fontify Java class constructors.
2982 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2983 in Java Mode.
2984 (c-recognize-typeless-decls): Set the Java value to t.
2985 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2986 While handling a "(", add a check for, effectively, Java, and handle a
2987 "typeless" declaration there.
2988
2989 2013-09-07 Roland Winkler <winkler@gnu.org>
2990
2991 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2992 field subtitle for entry type book.
2993
2994 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * minibuffer.el: Make minibuffer-complete call completion-in-region
2997 rather than other way around.
2998 (completion--some, completion-pcm--find-all-completions):
2999 Don't delay signals when debugging.
3000 (minibuffer-completion-contents): Beware fields within the
3001 minibuffer contents.
3002 (completion-all-sorted-completions): Use defvar-local.
3003 (completion--do-completion, completion--cache-all-sorted-completions)
3004 (completion-all-sorted-completions, minibuffer-force-complete):
3005 Add args `beg' and `end'.
3006 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3007 (minibuffer-complete): Use completion-in-region.
3008 (completion-complete-and-exit): New fun, extracted from
3009 minibuffer-complete-and-exit.
3010 (minibuffer-complete-and-exit): Use it.
3011 (completion--complete-and-exit): Rename from
3012 minibuffer--complete-and-exit.
3013 (completion-in-region--single-word): New function, extracted from
3014 minibuffer-complete-word.
3015 (minibuffer-complete-word): Use it.
3016 (display-completion-list): Make `common-substring' argument obsolete.
3017 (completion--in-region): Call completion--in-region-1 instead of
3018 minibuffer-complete.
3019 (completion-help-at-point): Pass boundaries to
3020 minibuffer-completion-help as args rather than via an overlay.
3021 (completion-pcm--string->pattern): Use `any-delim'.
3022 (completion-pcm--optimize-pattern): New function.
3023 (completion-pcm--pattern->regex): Handle `any-delim'.
3024 * icomplete.el (icomplete-forward-completions)
3025 (icomplete-backward-completions, icomplete-completions):
3026 Adjust calls to completion-all-sorted-completions and
3027 completion--cache-all-sorted-completions.
3028 (icomplete-with-completion-tables): Default to t.
3029 * emacs-lisp/crm.el (crm--current-element): Rename from
3030 crm--select-current-element. Don't put an overlay but return the
3031 boundaries instead.
3032 (crm--completion-command): Take two new args to bind to the boundaries.
3033 (crm-completion-help): Adjust accordingly.
3034 (crm-complete): Use completion-in-region.
3035 (crm-complete-word): Use completion-in-region--single-word.
3036 (crm-complete-and-exit): Use completion-complete-and-exit.
3037
3038 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3041 than dynamically.
3042
3043 2013-09-06 Juri Linkov <juri@jurta.org>
3044
3045 * info.el (Info-display-images-node): When image file doesn't exist
3046 display text version of the image if it's provided in the Info file.
3047 Otherwise, display the location of missing image from SRC attribute.
3048 Add help-echo text property from ALT attribute. (Bug#15279)
3049
3050 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3051
3052 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3053 (edit-abbrevs-mode): Use define-derived-mode.
3054
3055 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3056 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3057 that it's defined.
3058 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3059 Use define-derived-mode.
3060
3061 * epg.el (epg-start-encrypt): Minor CSE simplification.
3062
3063 2013-09-06 William Xu <william.xwl@gmail.com>
3064
3065 * arc-mode.el: Add support for 7za (bug#15264).
3066 (archive-7z-program): New var.
3067 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3068 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3069 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3070
3071 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3072
3073 Remove URL syntax.
3074
3075 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3076 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3077 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3078 (tramp-postfix-host-format, tramp-file-name-regexp)
3079 (tramp-completion-file-name-regexp)
3080 (tramp-completion-dissect-file-name)
3081 (tramp-handle-substitute-in-file-name): Remove 'url case.
3082 (tramp-file-name-regexp-url)
3083 (tramp-completion-file-name-regexp-url): Remove constants.
3084
3085 2013-09-06 Glenn Morris <rgm@gnu.org>
3086
3087 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3088
3089 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3090
3091 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3092 keywords" below "here-doc beginnings" (Bug#15270).
3093
3094 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * subr.el (pop): Use `car-safe'.
3097 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3098 to detect unused `pop' return value.
3099
3100 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3101 var `block-regexp'.
3102 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3103 (python-fill-string): Remove unused var `marker'.
3104 (python-skeleton-add-menu-items): Remove unused var `items'.
3105
3106 * international/mule-cmds.el: Require CL.
3107 (find-coding-systems-for-charsets): Avoid add-to-list.
3108 (sanitize-coding-system-list): New function, extracted from
3109 select-safe-coding-system-interactively.
3110 (select-safe-coding-system-interactively): Use it.
3111 (read-input-method-name): Accept symbols for `default'.
3112
3113 * emacs-lisp/advice.el (defadvice): Add indent rule.
3114
3115 2013-09-05 Daniel Hackney <dan@haxney.org>
3116
3117 * dired-x.el:
3118 * net/ange-ftp.el:
3119 * net/browse-url.el:
3120 * net/dbus.el:
3121 * net/eudc.el:
3122 * net/eudcb-ldap.el:
3123 * net/eww.el:
3124 * net/imap.el:
3125 * printing.el:
3126 * vc/ediff-diff.el:
3127 * vc/ediff-init.el:
3128 * vc/ediff-merg.el:
3129 * vc/ediff-mult.el:
3130 * vc/ediff-util.el:
3131 * vc/ediff-wind.el:
3132 * vc/ediff.el:
3133 * vc/emerge.el:
3134 * vc/pcvs.el:
3135 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3136 byte compiler. Remove some unused let-bound variables.
3137
3138 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3141 a "ref-cell", since it gets better optimized (bug#14883).
3142
3143 2013-09-05 Glenn Morris <rgm@gnu.org>
3144
3145 * progmodes/cc-awk.el (c-forward-sws): Declare.
3146
3147 2013-09-04 Glenn Morris <rgm@gnu.org>
3148
3149 * generic-x.el [rul-generic-mode]: Require cc-mode.
3150 (c++-mode-syntax-table): Declare.
3151 (rul-generic-mode-syntax-table): Init in the defvar.
3152
3153 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3156 (vc-do-command, vc-set-async-update):
3157 * vc/vc-mtn.el (vc-mtn-dir-status):
3158 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3159 (vc-hg-pull, vc-hg-merge-branch):
3160 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3161 (vc-git-merge-branch):
3162 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3163 (vc-cvs-dir-status-files):
3164 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3165 (vc-bzr-dir-status-files):
3166 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3167 * vc/vc-annotate.el: Use lexical-binding.
3168 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3169 (vc-sentinel-movepoint): Declare.
3170 (vc-annotate): Don't use `goto-line'.
3171 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3172 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3173 (vc-sentinel-movepoint): Declare.
3174 * vc/vc-svn.el: Use lexical-binding.
3175 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3176 * vc/vc-sccs.el:
3177 * vc/vc-rcs.el: Use lexical-binding.
3178
3179 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3180 `deleted'. Don't drop errors silently.
3181
3182 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3183
3184 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3185
3186 * vc/vc.el (vc-ignore): Rewrite.
3187 (vc-default-ignore): New function.
3188 (vc-default-ignore-completion-table): Use find-ignore-file.
3189
3190 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3191 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3192 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3193 Remove. Most code moved to vc.el.
3194
3195 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3196
3197 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3198 * net/tramp-smb.el (tramp-smb-get-file-entries):
3199 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3200 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3201
3202 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3203 Update call to it.
3204 (eww-change-select): Remove unused var `properties'.
3205 (eww-make-unique-file-name): Remove unused var `base'.
3206
3207 * finder.el (finder-compile-keywords): Don't mess with windows.
3208
3209 * calculator.el (calculator-funcall): Fix typo in last change.
3210
3211 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3212
3213 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3214 <pkg>-autoloads.el file stop us.
3215
3216 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3217 warnings, and factor out common code.
3218
3219 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3220
3221 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3222 two-character operators and whether the character preceding them
3223 changes their meaning (Bug#15208).
3224
3225 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3226
3227 Format code sent to Python shell for robustness.
3228 * progmodes/python.el (python-shell-buffer-substring):
3229 New function.
3230 (python-shell-send-region, python-shell-send-buffer): Use it.
3231
3232 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3233
3234 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3235 * net/tramp.el (tramp-user-error): ... here.
3236 (tramp-find-method, tramp-check-proper-host)
3237 (tramp-dissect-file-name, tramp-debug-message)
3238 (tramp-handle-shell-command):
3239 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3240 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3241
3242 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3243
3244 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3245
3246 * avoid.el (mouse-avoidance-point-position)
3247 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3248 returns nil.
3249
3250 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3251
3252 * progmodes/python.el (python-shell-completion-get-completions):
3253 Drop use of deleted `comint-last-prompt-overlay'.
3254 (python-nav-if-name-main): New command.
3255
3256 2013-09-01 Glenn Morris <rgm@gnu.org>
3257
3258 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3259 Avoid leading space in $wins. Otherwise the sed command used by
3260 eg compile-main ends up containing "/*.el". (Bug#15170)
3261
3262 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3263
3264 2013-08-30 Glenn Morris <rgm@gnu.org>
3265
3266 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3267 Fix is-this-a-directory logic. (Bug#15220)
3268
3269 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3270
3271 * textmodes/css-mode.el: Use SMIE.
3272 (css-smie-grammar): New var.
3273 (css-smie--forward-token, css-smie--backward-token)
3274 (css-smie-rules): New functions.
3275 (css-mode): Use them.
3276 (css-navigation-syntax-table): Remove var.
3277 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3278 (css-indent-calculate, css-indent-line): Remove functions.
3279
3280 Misc changes to reduce use of `(lambda...); and other cleanups.
3281 * cus-edit.el: Use lexical-binding.
3282 (customize-push-and-save, customize-apropos)
3283 (custom-buffer-create-internal): Use closures.
3284 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3285 * progmodes/ada-xref.el: Use setq.
3286 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3287 * dframe.el: Use lexical-binding.
3288 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3289 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3290 * descr-text.el: Use lexical-binding.
3291 (describe-text-widget, describe-text-sexp, describe-property-list):
3292 Use closures.
3293 * comint.el (comint-history-isearch-push-state): Use a closure.
3294 * calculator.el: Use lexical-binding.
3295 (calculator-number-to-string): Make it work with lexical-binding.
3296 (calculator-funcall): Same and use cl-letf.
3297
3298 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3299 (lisp--company-doc-string, lisp--company-location): New functions.
3300 (lisp-completion-at-point): Use them to improve Company support.
3301
3302 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3303 params of lambda expressions.
3304 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3305 (ruby-smie--opening-pipe-p): New function.
3306 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3307 symbols and matched |...| for formal params.
3308 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3309 from being treated as hanging. Handle "rescue".
3310
3311 2013-08-29 Glenn Morris <rgm@gnu.org>
3312
3313 * progmodes/cc-engine.el (c-pull-open-brace):
3314 Move definition before use.
3315
3316 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3319 are immutable. Don't use `unsafe' any more.
3320 (cl--defsubst-expand): Don't substitute at the same time as keeping
3321 a residual unused let-binding. Don't use `unsafe' any more.
3322
3323 2013-08-29 Glenn Morris <rgm@gnu.org>
3324
3325 * calendar/cal-china.el (calendar-chinese-year-cache):
3326 Recenter on 2015.
3327
3328 * nxml/nxml-util.el (nxml-debug-clear-inside):
3329 Use cl-loop rather than loop.
3330
3331 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3332
3333 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3334
3335 2013-08-28 Glenn Morris <rgm@gnu.org>
3336
3337 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3338
3339 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3340
3341 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3342
3343 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * simple.el (repeat-complex-command--called-interactively-skip):
3346 New function.
3347 (repeat-complex-command): Use it (bug#14136).
3348
3349 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3350 (c-define-abbrev-table): Add `doc' argument.
3351 (c-mode-abbrev-table, c++-mode-abbrev-table)
3352 (objc-mode-abbrev-table, java-mode-abbrev-table)
3353 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3354 (awk-mode-abbrev-table): Use it.
3355 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3356 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3357 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3358 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3359 Move initialization into the declaration; and remove any
3360 autoload cookie.
3361
3362 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3363 and dynamic let binding.
3364
3365 * vc/smerge-mode.el: Remove redundant :group args.
3366
3367 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3368 to load-path.
3369
3370 2013-08-28 Juri Linkov <juri@jurta.org>
3371
3372 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3373 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3374 (isearch-other-meta-char): Handle an undefined shifted printing
3375 character by downshifting it. (Bug#15200)
3376
3377 2013-08-28 Juri Linkov <juri@jurta.org>
3378
3379 * isearch.el (isearch-search): Change regexp error message for
3380 non-regexp searches. (Bug#15166)
3381
3382 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3383
3384 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3385 for portability to hosts where /bin/sh has problems.
3386
3387 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3390
3391 2013-08-27 Juri Linkov <juri@jurta.org>
3392
3393 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3394 in the keyboard macro. (Bug#15126)
3395
3396 2013-08-27 Juri Linkov <juri@jurta.org>
3397
3398 * isearch.el (isearch-quote-char): Comment out converting unibyte
3399 to multibyte, thus syncing with its `quoted-insert' counterpart.
3400 (Bug#15166)
3401
3402 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3403
3404 * window.el (display-buffer-use-some-window): Add missing
3405 argument in call of get-largest-window (Bug#15185).
3406 Reported by Stephen Leake.
3407
3408 2013-08-27 Glenn Morris <rgm@gnu.org>
3409
3410 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3411
3412 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3413
3414 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3415 from a matcher-function unless there's no more matches (bug#15161).
3416
3417 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3418
3419 * minibuffer.el: Revert change from 2013-08-20.
3420
3421 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3422 with text property `tramp-default', if appropriate.
3423 (tramp-check-proper-host): New defun.
3424 (tramp-dissect-file-name): Do not check hostname. Revert change
3425 of 2013-03-18.
3426 (tramp-backtrace): Make VEC-OR-PROC optional.
3427
3428 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3429 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3430 * net/tramp-sh.el (tramp-maybe-open-connection):
3431 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3432 Apply `tramp-check-proper-host'.
3433
3434 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3435
3436 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3437 lambda expression in order to have `describe-variable' display it.
3438
3439 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3440
3441 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3442 BUF can be optional. (Bug#15186)
3443
3444 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3445
3446 * progmodes/flymake.el (flymake-get-real-file-name-function):
3447 Fix broken customization. (Bug#15184)
3448
3449 2013-08-25 Alan Mackenzie <acm@muc.de>
3450
3451 Improve indentation of bracelists defined by macros (without "=").
3452
3453 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3454 expansion begins with "{", regard it as bracelist when it doesn't
3455 contain a ";".
3456
3457 Parse C++ inher-intro when there's a template split over 2 lines.
3458
3459 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3460 rigorously the search for "class" etc. followed by ":".
3461
3462 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3463 random languages a regexp which never matches rather than nil.
3464
3465 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3466
3467 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3468 (c-awk-regexp-one-line-possibly-open-char-list-re)
3469 (c-awk-one-line-possibly-open-regexp-re)
3470 (c-awk-one-line-non-syn-ws*-re): Remove.
3471 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3472 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3473 (c-awk-space*-unclosed-regexp-/-re): New constants.
3474 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3475 aren't regexp delimiters.
3476
3477 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3478 handling for a rare situation in AWK Mode involving unterminated
3479 strings/regexps.
3480
3481 2013-08-23 Glenn Morris <rgm@gnu.org>
3482
3483 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3484
3485 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3486
3487 * files.el (create-file-buffer): If the result would begin with
3488 spaces, prepend a "|" instead of removing them. (Bug#15162)
3489
3490 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3493 text-properties (bug#15155).
3494
3495 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3496 exist any more.
3497 (calc-keypad-redraw): Remove unused var `pad'.
3498 (calc-keypad-press): Remove unused var `menu'.
3499
3500 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3501
3502 * window.el (display-buffer-pop-up-frame):
3503 Call pop-up-frame-function with BUFFER current so `make-frame' will
3504 use it as the new frame's buffer (Bug#15133).
3505
3506 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * calendar/timeclock.el: Minor cleanups.
3509 (timeclock-ask-before-exiting, timeclock-use-display-time):
3510 Use `symbol'.
3511 (timeclock-modeline-display): Define as alias before the
3512 actual definition.
3513 (timeclock-mode-line-display): Use define-minor-mode.
3514 (timeclock-day-list-template): Make it a function, add an argument.
3515 (timeclock-day-list-required, timeclock-day-list-length)
3516 (timeclock-day-list-debt, timeclock-day-list-span)
3517 (timeclock-day-list-break): Adjust calls accordingly.
3518
3519 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3522 Use read--expression so that completion works again.
3523
3524 2013-08-21 Sam Steingold <sds@gnu.org>
3525
3526 Add rudimentary inferior shell interaction
3527 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3528 (sh-set-shell): Reset it.
3529 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3530 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3531
3532 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * align.el: Use lexical-binding.
3535 (align-region): Simplify accordingly.
3536
3537 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3538
3539 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3540
3541 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3542 `non-essential' up.
3543
3544 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3545
3546 * net/tramp.el:
3547 * net/tramp-adb.el:
3548 * net/tramp-cmds.el:
3549 * net/tramp-ftp.el:
3550 * net/tramp-gvfs.el:
3551 * net/tramp-gw.el:
3552 * net/tramp-sh.el: Don't wrap external variable declarations by
3553 `eval-when-compile'.
3554
3555 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3556
3557 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3558 now that Emacs supports ImageMagick animations.
3559
3560 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3561
3562 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3563 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3564
3565 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3566
3567 * window.el (mouse-autoselect-window-select): Do autoselect when
3568 mouse pointer is on margin.
3569
3570 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3571
3572 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3573
3574 2013-08-16 Glenn Morris <rgm@gnu.org>
3575
3576 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3577 Handle "Remote Directory" response of some clients. (Bug#15058)
3578
3579 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3580 Tweak warning. (Bug#14926)
3581
3582 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3583 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3584
3585 * image-mode.el (image-mode-map): Add menu items to reverse,
3586 increase, decrease, reset animation speed.
3587 (image--set-speed, image-increase-speed, image-decrease-speed)
3588 (image-reverse-speed, image-reset-speed): New functions.
3589 (image-mode-map): Add bindings for speed commands.
3590
3591 * image.el (image-animate-get-speed, image-animate-set-speed):
3592 New functions.
3593 (image-animate-timeout): Respect image :speed property.
3594
3595 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3596
3597 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3598 previous line (bug#15101).
3599 (debugger-eval-expression, debugger-record-expression):
3600 Use read--expression (bug#15102).
3601
3602 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3603
3604 Remove byte compiler warnings, visible when compiling with
3605 `byte-compile-force-lexical-warnings' set to t.
3606
3607 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3608 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3609 (tramp-handle-unhandled-file-name-directory)
3610 (tramp-handle-file-notify-add-watch, tramp-action-login)
3611 (tramp-action-succeed, tramp-action-permission-denied)
3612 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3613 arguments with "_".
3614
3615 * net/tramp-adb.el (tramp-adb-parse-device-names)
3616 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3617 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3618 (tramp-adb-handle-file-truename): Remove unused arguments.
3619
3620 * net/tramp-cache.el (tramp-flush-directory-property)
3621 (tramp-flush-connection-property, tramp-list-connections)
3622 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3623
3624 * net/tramp-compat.el (tramp-compat-make-temp-file):
3625 Rename FILENAME to F.
3626
3627 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3628 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3629 (tramp-zeroconf-parse-workstation-device-names)
3630 (tramp-zeroconf-parse-webdav-device-names)
3631 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3632
3633 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3634 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3635
3636 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3637 arguments.
3638 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3639 (tramp-sh-handle-insert-file-contents-literally)
3640 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3641 with "_".
3642 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3643 Remove unused variables.
3644
3645 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3646 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3647 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3648
3649 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3650 Make them a defconst.
3651 (tramp-uuencode-region): Remove unused variable.
3652
3653 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3654
3655 * frameset.el (frameset--prop-setter): New function.
3656 (frameset-prop): Add gv-setter declaration.
3657 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3658 parameter was already set in FILTERED. Doc fix.
3659 (frameset--record-minibuffer-relationships): Allow saving a
3660 minibufferless frame without its corresponding minibuffer frame.
3661 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3662 frame, if the frame id matches.
3663 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3664 frames before orphaned ones.
3665 (frameset-restore): Warn about orphaned windows, instead of error out.
3666
3667 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3668
3669 * window.el (window-make-atom): Don't overwrite parameter
3670 already present.
3671 (display-buffer-in-atom-window): Handle special case where we
3672 split an already atomic window.
3673 (window--major-non-side-window, display-buffer-in-side-window)
3674 (window--side-check): Ignore minibuffer window when walking
3675 window tree.
3676 (window-deletable-p): Return 'frame only if no other frame uses
3677 our minibuffer window.
3678 (record-window-buffer): Run buffer-list-update-hook.
3679 (split-window): Make sure window--check-frame won't destroy an
3680 existing atomic window in case the new window gets nested
3681 inside.
3682 (display-buffer-at-bottom): Ignore minibuffer window when
3683 walking window tree. Don't split a side window.
3684 (pop-to-buffer): Don't set-buffer here, the select-window call
3685 should do that.
3686 (mouse-autoselect-window-select): Autoselect only if we are in the
3687 text portion of the window.
3688
3689 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3690
3691 * net/shr.el (shr-parse-image-data): New function to grab both the
3692 data itself and the Content-Type.
3693 (shr-put-image): Use it.
3694
3695 * net/eww.el (eww-display-image): Ditto.
3696
3697 * image.el (image-content-type-suffixes): New variable.
3698
3699 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3700
3701 * progmodes/python.el (python-imenu--build-tree)
3702 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3703
3704 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3705
3706 * simple.el (backward-word): Mention the optional argument.
3707
3708 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * frameset.el (frameset--make): Rename constructor from make-frameset.
3711 (frameset-p, frameset-valid-p): Don't autoload.
3712 (frameset-valid-p): Use normal accessors.
3713
3714 2013-08-13 Glenn Morris <rgm@gnu.org>
3715
3716 * progmodes/compile.el (compile-command): Tweak example in doc.
3717 * obsolete/scribe.el (scribe-mode):
3718 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3719
3720 * mail/feedmail.el (feedmail-confirm-outgoing)
3721 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3722
3723 * cus-start.el (truncate-partial-width-windows): Fix type.
3724
3725 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3726
3727 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3728
3729 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3730
3731 * emacs-lisp/timer.el (timer--time-setter): New function.
3732 (timer--time): Use it as gv-setter.
3733
3734 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3735 setter is not a symbol.
3736
3737 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3738
3739 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3740 if sending fails. This makes debugging easier.
3741
3742 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3743
3744 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3745 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3746 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3747
3748 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3749
3750 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3751
3752 2013-08-12 Glenn Morris <rgm@gnu.org>
3753
3754 * format.el (format-annotate-function):
3755 Handle read-only text properties in the source. (Bug#14887)
3756
3757 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3758
3759 * net/eww.el (eww-display-html): Ignore coding system errors.
3760 One web site uses "utf-8lias" as the coding system.
3761
3762 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3763
3764 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3765
3766 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3767
3768 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3769 (tutorial--detailed-help): Remove unused local variables.
3770 (tutorial--save-tutorial-to): Use ignore-errors.
3771 (help-with-tutorial): Use looking-at-p.
3772
3773 * view.el (view-buffer-other-window, view-buffer-other-frame):
3774 Mark unused arguments.
3775
3776 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3777 (woman-select-symbol-fonts, woman, woman-find-file)
3778 (woman-insert-file-contents, woman-non-underline-faces):
3779 Use string-match-p.
3780 (woman1-unquote): Move declaration.
3781
3782 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3783 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3784 argument. Remove unused local variable.
3785 (xml-parse-elem-type): Use string-match-p.
3786 (xml-substitute-numeric-entities): Use ignore-errors.
3787
3788 * calculator.el (calculator): Mark unused argument.
3789 (calculator-paste, calculator-quit, calculator-integer-p):
3790 Use ignore-errors.
3791 (calculator-string-to-number, calculator-decimal, calculator-exp)
3792 (calculator-op-or-exp): Use string-match-p.
3793
3794 * dired.el (dired-buffer-more-recently-used-p): Declare.
3795 (dired-insert-set-properties, dired-insert-old-subdirs):
3796 Use ignore-errors.
3797
3798 * dired-aux.el (dired-compress): Use ignore-errors.
3799 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3800 (dired-do-async-shell-command, dired-do-shell-command)
3801 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3802 (dired-insert-subdir-validate): Use string-match-p.
3803 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3804 (dired-add-entry): Use string-match-p, looking-at-p.
3805 (dired-insert-subdir-newpos): Remove unused local variable.
3806
3807 * filenotify.el (file-notify-callback): Remove unused local variable.
3808
3809 * filesets.el (filesets-error): Mark unused argument.
3810 (filesets-which-command-p, filesets-filter-dir-names)
3811 (filesets-directory-files, filesets-get-external-viewer)
3812 (filesets-ingroup-get-data): Use string-match-p.
3813
3814 * find-file.el (ff-other-file-name, ff-other-file-name)
3815 (ff-find-the-other-file, ff-cc-hh-converter):
3816 Remove unused local variables.
3817 (ff-get-file-name): Use string-match-p.
3818 (ff-all-dirs-under): Use ignore-errors.
3819
3820 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3821 (follow-select-if-visible): Remove unused local variable.
3822
3823 * forms.el (read-file-filter): Move declaration.
3824 (forms--make-format, forms--make-parser, forms-insert-record):
3825 Quote function with #'.
3826 (forms--update): Use string-match-p. Quote function with #'.
3827
3828 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3829 (help-make-xrefs): Use looking-at-p.
3830 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3831
3832 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3833 (ibuffer-confirm-operation-on): Use string-match-p.
3834
3835 * msb.el (msb-item-handler, msb-dired-item-handler):
3836 Mark unused arguments.
3837
3838 * ses.el (ses-decode-cell-symbol)
3839 (ses-kill-override): Remove unused local variable.
3840 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3841 (ses-load): Use ignore-errors, looking-at-p.
3842 (ses-jump-safe): Use ignore-errors.
3843 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3844
3845 * tabify.el (untabify, tabify): Mark unused arguments.
3846
3847 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3848 Mark unused argument.
3849 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3850 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3851
3852 * emacs-lisp/timer.el (timer--time): Define setter with
3853 gv-define-setter to avoid deprecation warning.
3854
3855 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3856 (*record-cmpl-statistics-p*): Remove (was commented out).
3857 (cmpl-statistics-block): Remove (body was commented out).
3858 All callers changed.
3859 (add-completions-from-buffer, load-completions-from-file):
3860 Remove unused variables.
3861
3862 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * filecache.el (file-cache-delete-file-list):
3865 Print message only when told so.
3866 (file-cache-files-matching): Use #' in mapconcat argument.
3867
3868 * ffap.el (ffap-url-at-point): Fix reference to variable
3869 thing-at-point-default-mail-uri-scheme.
3870
3871 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * subr.el (define-error): New function.
3874 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3875 error-file-not-found and define with define-error.
3876 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3877 and define with define-error.
3878 * userlock.el (file-locked, file-supersession):
3879 * simple.el (mark-inactive):
3880 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3881 * progmodes/ada-mode.el (ada-mode-errors):
3882 * play/life.el (life-extinct):
3883 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3884 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3885 * nxml/rng-util.el (rng-error):
3886 * nxml/rng-uri.el (rng-uri-error):
3887 * nxml/rng-match.el (rng-compile-error):
3888 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3889 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3890 * nxml/nxml-rap.el (nxml-scan-error):
3891 * nxml/nxml-outln.el (nxml-outline-error):
3892 * net/soap-client.el (soap-error):
3893 * net/gnutls.el (gnutls-error):
3894 * net/ange-ftp.el (ftp-error):
3895 * mpc.el (mpc-proc-error):
3896 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3897 (json-number-format, json-string-escape, json-string-format)
3898 (json-key-format, json-object-format):
3899 * jka-compr.el (compression-error):
3900 * international/quail.el (quail-error):
3901 * international/kkc.el (kkc-error):
3902 * emacs-lisp/ert.el (ert-test-failed):
3903 * calc/calc.el (calc-error, inexact-result, math-overflow)
3904 (math-underflow):
3905 * bookmark.el (bookmark-error-no-filename):
3906 * epg.el (epg-error): Define with define-error.
3907
3908 * time.el (display-time-event-handler)
3909 (display-time-next-load-average): Don't call sit-for since it seems
3910 unnecessary (bug#15045).
3911
3912 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3913 Use #' instead of ' to quote functions.
3914 (checkdoc-output-mode): Use setq-local.
3915 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3916 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3917 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3918 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3919 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3920 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3921 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3922 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3923
3924 * ido.el (ido-completion-help): Fix up compiler warning.
3925
3926 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3927
3928 * frameset.el (frameset-p): Add autoload cookie.
3929 (frameset--jump-to-register): New function, based on code moved from
3930 register.el.
3931 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3932
3933 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3934 (frameset-restore, frameset-save, frameset-session-filter-alist):
3935 Remove declarations.
3936 (register-alist): Doc fix.
3937 (frameset-to-register): Move to frameset.el.
3938 (jump-to-register, describe-register-1): Remove frameset-specific code.
3939
3940 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3941
3942 * allout-widgets.el (allout-widgets-pre-command-business)
3943 (allout-widgets-post-command-business)
3944 (allout-widgets-after-change-handler)
3945 (allout-decorate-item-and-context, allout-set-boundary-marker)
3946 (allout-body-modification-handler)
3947 (allout-graphics-modification-handler): Mark ignored arguments.
3948 (allout-widgets-post-command-business)
3949 (allout-widgets-exposure-change-processor)
3950 (allout-widgets-exposure-undo-processor)
3951 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3952 (allout-parse-item-at-point, allout-decorate-item-guides)
3953 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3954 * allout.el (epa-passphrase-callback-function): Declare.
3955 (allout-overlay-insert-in-front-handler)
3956 (allout-overlay-interior-modification-handler)
3957 (allout-isearch-end-handler, allout-chart-siblings)
3958 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3959 (allout-yank-processing, allout-process-exposed)
3960 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3961 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3962 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3963 (lisp-indent-defform): Mark ignored arguments.
3964 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3965 (calculate-lisp-indent): Remove unused variables.
3966 * international/characters.el (indian-2-column, arabic-2-column)
3967 (tibetan): Mark ignored arguments.
3968 (use-cjk-char-width-table): Mark ignored arguments.
3969 Remove unused variables.
3970 * international/fontset.el (build-default-fontset-data)
3971 (x-compose-font-name, create-fontset-from-fontset-spec):
3972 Mark ignored arguments.
3973 (fontset-plain-name): Remove unused variables.
3974 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3975 (keyboard-coding-system): Mark ignored arguments.
3976 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3977 * help.el (resize-temp-buffer-window):
3978 * window.el (display-buffer-in-major-side-window)
3979 (display-buffer-in-side-window, display-buffer-in-previous-window):
3980 Remove unused variables.
3981 * isearch.el (isearch-forward-symbol):
3982 * version.el (emacs-bzr-version-bzr):
3983 * international/mule-cmds.el (current-language-environment):
3984 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3985 (x-handle-display):
3986 * term/pc-win.el (x-list-fonts, x-display-planes)
3987 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3988 (x-server-version, x-display-screens, x-display-mm-height)
3989 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3990 (x-selection-owner-p, x-own-selection-internal)
3991 (x-disown-selection-internal, x-get-selection-internal)
3992 (msdos-initialize-window-system):
3993 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3994 * term/x-win.el (x-handle-no-bitmap-icon):
3995 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3996 (vc-default-find-file-hook, vc-default-extra-menu):
3997 Mark ignored arguments.
3998
3999 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4002 break-condition in the context of the debugged code (bug#12685).
4003
4004 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4005
4006 * comint.el:
4007 Do not use an overlay to highlight the last prompt. (Bug#14744)
4008 (comint-mode): Make comint-last-prompt buffer local.
4009 (comint-last-prompt): New variable.
4010 (comint-last-prompt-overlay): Remove. Superseded by
4011 comint-last-prompt.
4012 (comint-snapshot-last-prompt, comint-output-filter):
4013 Use comint-last-prompt.
4014
4015 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4016
4017 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4018 (frameset-save): Check validity of the resulting frameset.
4019
4020 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4021
4022 * ido.el (ido-record-command): Add doc string.
4023
4024 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4025
4026 * frameset.el (frameset): Do not disable creation of the default
4027 frameset-p predicate. Doc fix.
4028 (frameset-valid-p): New function, copied from the old predicate-p.
4029 Add additional checks.
4030 (frameset-restore): Check with frameset-valid-p.
4031 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4032 (frameset-name, frameset-description, frameset-properties)
4033 (frameset-states): Add docstring.
4034 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4035 (frameset-filter-alist): Doc fixes.
4036
4037 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4038
4039 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4040
4041 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4042
4043 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4044 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4045 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4046 (byte-compile-normal-call): Remove obsolescence check.
4047
4048 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4049
4050 * frameset.el (frameset-restore): Doc fix.
4051
4052 * register.el (frameset-frame-id, frameset-frame-with-id)
4053 (frameset-p, frameset-restore, frameset-save): Declare.
4054 (register-alist): Document framesets.
4055 (frameset-session-filter-alist): Declare.
4056 (frameset-to-register): New function.
4057 (jump-to-register): Implement jumping to framesets. Doc fix.
4058 (describe-register-1): Describe framesets.
4059
4060 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4061
4062 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4063
4064 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4065 Use lexical-binding.
4066
4067 * frameset.el (frameset): Use type vector, not list (incompatible
4068 change). Do not declare a new constructor, use the default one.
4069 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4070 `name' and `description', respectively, and add read-only slot
4071 `timestamp'. Doc fixes.
4072 (frameset-copy, frameset-persistent-filter-alist)
4073 (frameset-filter-alist, frameset-switch-to-gui-p)
4074 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4075 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4076 (frameset-filter-iconified, frameset-keep-original-display-p):
4077 Doc fixes.
4078 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4079 Rename from frameset-filter-(save|restore)-param. All callers changed.
4080 Doc fix.
4081 (frameset-p): Adapt to change to vector and be more thorough.
4082 Change arg name to OBJECT. Doc fix.
4083 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4084 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4085 All callers changed.
4086 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4087 All callers changed.
4088 (frameset--record-minibuffer-relationships): Rename from
4089 frameset--process-minibuffer-frames. All callers changed.
4090 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4091 Use new default constructor (again). Doc fix.
4092 (frameset--find-frame-if): Rename from `frameset--find-frame.
4093 All callers changed.
4094 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4095 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4096 Doc fix.
4097 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4098 PARAMETERS and WINDOW-STATE, respectively.
4099 (frameset-restore): Add new keyword argument PREDICATE.
4100 Reset frameset--target-display to nil. Doc fix.
4101
4102 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4105 (bat-mode): Use it.
4106 (bat-mode-syntax-table): Mark \n as end-of-comment.
4107 (bat-font-lock-keywords): Remove comment rule.
4108
4109 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4110 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4111
4112 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4113 (byte-compile-callargs-warn): Use `push'.
4114 (byte-compile-arglist-warn): Ignore higher-order "calls".
4115 (byte-compile-file-form-autoload): Use `pcase'.
4116 (byte-compile-function-form): If quoting a symbol, check that it exists.
4117
4118 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4119
4120 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4121 and add a few popular commands found in batch files.
4122 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4123 (dos-mode): Doc fixes.
4124
4125 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4128 (dos-mode): Use setq-local. Add space after "rem".
4129 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4130 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4131
4132 2013-08-07 Arni Magnusson <arnima@hafro.is>
4133
4134 * progmodes/dos.el: New file.
4135 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4136 dos-mode.
4137
4138 2013-08-06 Glenn Morris <rgm@gnu.org>
4139
4140 * calendar/calendar.el: Add new faces, and day-header-array.
4141 (calendar-weekday-header, calendar-weekend-header)
4142 (calendar-month-header): New faces.
4143 (calendar-day-header-construct): New function.
4144 (calendar-day-header-width): Also :set calendar-day-header-array.
4145 (calendar-american-month-header, calendar-european-month-header)
4146 (calendar-iso-month-header): Use calendar- faces.
4147 (calendar-generate-month):
4148 Use calendar-day-header-array for day headers; apply faces to them.
4149 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4150 (calendar-abbrev-construct): Add optional maxlen argument.
4151 (calendar-day-name-array): Doc fix.
4152 (calendar-day-name-array, calendar-abbrev-length)
4153 (calendar-day-abbrev-array):
4154 Also :set calendar-day-header-array, and maybe redraw.
4155 (calendar-day-header-array): New option. (Bug#15007)
4156 (calendar-font-lock-keywords): Set to nil and make obsolete.
4157 (calendar-day-name): Add option to use header array.
4158
4159 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4160
4161 * net/shr.el (shr-render-td): Remove debugging.
4162 (shr-render-td): Make width computation consistent by defaulting
4163 all zero-width columns to 10 characters. This may not be optimal,
4164 but it's at least consistent.
4165 (shr-make-table-1): Redo last change to fix the real problem in
4166 colspan handling.
4167
4168 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4169
4170 * files.el (cache-long-line-scans):
4171 Make obsolete alias to `cache-long-scans'.
4172
4173 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4174
4175 * frameset.el (frameset, frameset-filter-alist)
4176 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4177 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4178 (frameset-compute-pos): Rename from frameset--compute-pos,
4179 and add docstring.
4180 (frameset-move-onscreen): Use frameset-compute-pos.
4181 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4182
4183 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4184 Fix typos in docstrings.
4185
4186 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4187
4188 * frame.el (get-other-frame): Tiny cleanup.
4189
4190 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4191
4192 * vc/vc.el (vc-default-ignore-completion-table):
4193 Silence byte-compiler warning.
4194
4195 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4196 slot , which can indeed be nil.
4197 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4198 Move entry for `left' from persistent to live filter alist.
4199 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4200 Doc fixes.
4201 (frameset-filter-params): When restoring a frame, copy items added to
4202 `filtered', to avoid unwittingly modifying the original parameters.
4203 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4204 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4205
4206 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4207 to use looking-at-p instead of looking-at. (Bug#15028)
4208
4209 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 Revert introduction of isearch-filter-predicates (bug#14714).
4212 Rely on add-function instead.
4213 * isearch.el (isearch-filter-predicates): Rename it back to
4214 isearch-filter-predicate.
4215 (isearch-message-prefix): Use advice-function-mapc and advice
4216 properties to get the isearch-message-prefix.
4217 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4218 instead of run-hook-with-args-until-failure.
4219 (isearch-filter-visible): Not obsolete any more.
4220 * loadup.el: Preload nadvice.
4221 * replace.el (perform-replace): Revert to funcall
4222 instead of run-hook-with-args-until-failure.
4223 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4224 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4225 dired-isearch-filenames-toggle; make it into a proper minor mode.
4226 Use add/remove-function.
4227 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4228 Call the minor-mode rather than add/remove-hook.
4229 (dired-isearch-filter-filenames):
4230 Remove isearch-message-prefix property.
4231 * info.el (Info--search-loop): New function, extracted from Info-search.
4232 Funcall isearch-filter-predicate instead of
4233 run-hook-with-args-until-failure isearch-filter-predicates.
4234 (Info-search): Use it.
4235 (Info-mode): Use isearch-filter-predicate instead of
4236 isearch-filter-predicates.
4237
4238 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4239
4240 Do not call to `selected-window' where it is assumed by default.
4241 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4242 `window-hscroll', `window-width', `window-height', `window-buffer',
4243 `window-frame', `window-start', `window-point', `next-window'
4244 and `window-display-table'.
4245 * abbrev.el (abbrev--default-expand):
4246 * bs.el (bs--show-with-configuration):
4247 * buff-menu.el (Buffer-menu-mouse-select):
4248 * calc/calc.el (calc):
4249 * calendar/calendar.el (calendar-generate-window):
4250 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4251 (diary-make-entry):
4252 * comint.el (send-invisible, comint-dynamic-complete-filename)
4253 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4254 * completion.el (complete):
4255 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4256 * disp-table.el (describe-current-display-table):
4257 * doc-view.el (doc-view-insert-image):
4258 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4259 * ehelp.el (with-electric-help):
4260 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4261 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4262 * emacs-lisp/helper.el (Helper-help-scroller):
4263 * emulation/cua-base.el (cua--post-command-handler-1):
4264 * eshell/esh-mode.el (eshell-output-filter):
4265 * ffap.el (ffap-gnus-wrapper):
4266 * help-macro.el (make-help-screen):
4267 * hilit-chg.el (highlight-compare-buffers):
4268 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4269 * hl-line.el (global-hl-line-highlight):
4270 * icomplete.el (icomplete-simple-completing-p):
4271 * isearch.el (isearch-done):
4272 * jit-lock.el (jit-lock-stealth-fontify):
4273 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4274 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4275 * mpc.el (mpc-tagbrowser, mpc):
4276 * net/rcirc.el (rcirc-any-buffer):
4277 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4278 * play/landmark.el (landmark-max-width, landmark-max-height):
4279 * play/zone.el (zone):
4280 * progmodes/compile.el (compilation-goto-locus):
4281 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4282 * progmodes/etags.el (find-tag-other-window):
4283 * progmodes/fortran.el (fortran-column-ruler):
4284 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4285 * progmodes/verilog-mode.el (verilog-point-text):
4286 * reposition.el (reposition-window):
4287 * rot13.el (toggle-rot13-mode):
4288 * server.el (server-switch-buffer):
4289 * shell.el (shell-dynamic-complete-command)
4290 (shell-dynamic-complete-environment-variable):
4291 * simple.el (insert-buffer, set-selective-display)
4292 (delete-completion-window):
4293 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4294 (speedbar-recenter):
4295 * startup.el (fancy-splash-head):
4296 * textmodes/ispell.el (ispell-command-loop):
4297 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4298 * tutorial.el (help-with-tutorial):
4299 * vc/add-log.el (add-change-log-entry):
4300 * vc/compare-w.el (compare-windows):
4301 * vc/ediff-help.el (ediff-indent-help-message):
4302 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4303 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4304 (ediff-setup-control-frame):
4305 * vc/emerge.el (emerge-position-region):
4306 * vc/pcvs-util.el (cvs-bury-buffer):
4307 * window.el (walk-windows, mouse-autoselect-window-select):
4308 * winner.el (winner-set-conf, winner-undo): Related users changed.
4309
4310 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4311
4312 * frameset.el (frameset--set-id): Doc fix.
4313 (frameset-frame-id, frameset-frame-id-equal-p)
4314 (frameset-locate-frame-id): New functions.
4315 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4316 (frameset-restore): Use them.
4317
4318 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4319
4320 Do not call to `selected-frame' where it is assumed by default.
4321 Affected functions are `raise-frame', `redraw-frame',
4322 `frame-first-window', `frame-terminal' and `delete-frame'.
4323 * calendar/appt.el (appt-disp-window):
4324 * epg.el (epg-wait-for-completion):
4325 * follow.el (follow-delete-other-windows-and-split)
4326 (follow-avoid-tail-recenter):
4327 * international/mule.el (set-terminal-coding-system):
4328 * mail/rmail.el (rmail-mail-return):
4329 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4330 * progmodes/f90.el (f90-add-imenu-menu):
4331 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4332 * server.el (server-switch-buffer):
4333 * simple.el (delete-completion-window):
4334 * talk.el (talk):
4335 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4336 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4337 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4338 * vc/ediff.el (ediff-documentation): Related users changed.
4339 * frame.el (selected-terminal): Remove the leftover.
4340
4341 2013-08-05 Glenn Morris <rgm@gnu.org>
4342
4343 * calendar/calendar.el (calendar-generate-month):
4344 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4345 (calendar-generate-month, calendar-font-lock-keywords):
4346 Fix for calendar-day-header-width > length of any day name.
4347
4348 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4349
4350 * desktop.el (desktop-clear): Use new name of sort predicate.
4351
4352 * frameset.el (frameset): Add docstring. Move :version property to its
4353 own `version' slot.
4354 (frameset-copy): Rename from copy-frameset.
4355 (frameset-p): Check more thoroughly.
4356 (frameset-prop): Do not check for :version, which is no longer a prop.
4357 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4358 Use new :never value instead of t.
4359 (frameset-filter-alist): Expand and clarify docstring.
4360 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4361 (frameset-filter-minibuffer, frameset-filter-save-param)
4362 (frameset-filter-restore-param, frameset-filter-iconified):
4363 Add pointer to docstring of frameset-filter-alist.
4364 (frameset-filter-params): Rename filter values to be more meaningful:
4365 :never instead of t, and reverse the meanings of :save and :restore.
4366 (frameset--process-minibuffer-frames): Clarify error message.
4367 (frameset-save): Avoid unnecessary and confusing call to framep.
4368 Use new BOA constructor for framesets.
4369 (frameset--reuse-list): Doc fix.
4370 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4371 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4372 (frameset-minibufferless-first-p): Doc fix.
4373 Rename from frameset-sort-frames-for-deletion.
4374 (frameset-restore): Doc fixes. Use new function names.
4375 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4376
4377 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4378
4379 * desktop.el (desktop-restore-forces-onscreen)
4380 (desktop-restore-reuses-frames): Document :keyword constant values.
4381 (desktop-filter-parameters-alist): Remove, now identical to
4382 frameset-filter-alist.
4383 (desktop--filter-tty*): Remove, moved to frameset.el.
4384 (desktop-save-frameset, desktop-restore-frameset):
4385 Do not pass :filters argument.
4386
4387 * frameset.el (frameset-live-filter-alist)
4388 (frameset-persistent-filter-alist): New variables.
4389 (frameset-filter-alist): Use them. Add autoload cookie.
4390 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4391 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4392 `frameset--id' (it's supposed to be internal to frameset.el).
4393 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4394 (frameset--initial-params): New function.
4395 (frameset--get-frame): Use it. Doc fix.
4396 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4397 Accept :all, not 'all.
4398 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4399 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4400 with fbound symbols. Fix frame id matching, and remove matching ids if
4401 the frame being restored is deleted. Obey :delete.
4402
4403 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * subr.el (macrop): New function.
4406 (text-clone--maintaining): New var.
4407 (text-clone--maintain): Rename from text-clone-maintain. Use it
4408 instead of inhibit-modification-hooks.
4409
4410 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4411 a proxy, so as handle autoloads and redefinitions of the target.
4412 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4413
4414 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4415 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4416 (pcase--mutually-exclusive-p): New function.
4417 (pcase--split-consp): Use it.
4418 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4419 mutually exclusive with the current predicate.
4420
4421 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4422 (edebug-macrop): Remove. Use `macrop' instead.
4423 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4424 (ad-macro-p):
4425 * eshell/esh-cmd.el (eshell-macrop):
4426 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4427
4428 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4431 (advice-mapc): New function, using it.
4432 (advice-function-member-p): New function.
4433 (advice--normalize): Store the cdr in advice--saved-rewrite since
4434 that's the part that will be changed.
4435 (advice--symbol-function): New function.
4436 (advice-remove): Handle removal before the function is defined.
4437 Adjust to new advice--saved-rewrite.
4438 (advice-member-p): Use advice-function-member-p and
4439 advice--symbol-function.
4440
4441 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4442
4443 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4444 (frameset-filter-minibuffer): Doc fix.
4445 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4446 (frameset--set-id, frameset--process-minibuffer-frames)
4447 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4448 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4449
4450 * desktop.el (desktop-clear): Only delete frames when called
4451 interactively and desktop-restore-frames is non-nil. Doc fix.
4452 (desktop-read): Set desktop-saved-frameset to nil.
4453
4454 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4455
4456 * vc/vc.el (vc-ignore): Rewrite.
4457 (vc-default-ignore-completion-table):
4458 (vc--read-lines):
4459 (vc--add-line, vc--remove-regexp): New functions.
4460
4461 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4462 (vc-svn-ignore-completion-table): New function.
4463
4464 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4465 (vc-hg-ignore-completion-table):
4466 (vc-hg-find-ignore-file): New functions.
4467
4468 * vc/vc-git.el (vc-git-ignore): Rewrite.
4469 (vc-git-ignore-completion-table):
4470 (vc-git-find-ignore-file): New functions.
4471
4472 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4473
4474 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4475 (vc-bzr-ignore-completion-table):
4476 (vc-bzr-find-ignore-file): New functions.
4477
4478 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4479
4480 * frameset.el (frameset-prop): New function and setter.
4481 (frameset-save): Do not modify frame list passed by the caller.
4482
4483 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4486
4487 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4490 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4491
4492 * custom.el (custom-initialize-default, custom-initialize-set)
4493 (custom-initialize-reset, custom-initialize-changed): Affect the
4494 toplevel-default-value (bug#6275, bug#14586).
4495 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4496 for bug#6275.
4497
4498 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4501 Add cl-def* expressions.
4502
4503 * frameset.el (frameset-filter-params): Fix order of arguments.
4504
4505 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4506
4507 Move code related to saving frames to frameset.el.
4508 * desktop.el: Require frameset.
4509 (desktop-restore-frames): Doc fix.
4510 (desktop-restore-reuses-frames): Rename from
4511 desktop-restoring-reuses-frames.
4512 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4513 (desktop-clear): Clear frames too.
4514 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4515 (desktop--filter-tty*, desktop-save, desktop-read):
4516 Use frameset functions.
4517 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4518 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4519 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4520 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4521 (desktop--process-minibuffer-frames, desktop-save-frames)
4522 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4523 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4524 (desktop--sort-states, desktop-restoring-frames-p)
4525 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4526 (desktop-restoring-frameset-p, desktop-restore-frameset)
4527 (desktop--check-dont-save, desktop-save-frameset): New functions.
4528 (desktop--app-id): New constant.
4529 (desktop-first-buffer, desktop-buffer-ok-count)
4530 (desktop-buffer-fail-count): Move before first use.
4531 * frameset.el: New file.
4532
4533 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4534
4535 * files.el: Use lexical-binding.
4536 (dir-locals-read-from-file): Remove unused `err' variable.
4537 (hack-dir-local-variables--warned-coding): New var.
4538 (hack-dir-local-variables): Use it to avoid repeated warnings.
4539 (make-backup-file-name--default-function): New function.
4540 (make-backup-file-name-function): Use it as default.
4541 (buffer-stale--default-function): New function.
4542 (buffer-stale-function): Use it as default.
4543 (revert-buffer-insert-file-contents--default-function): New function.
4544 (revert-buffer-insert-file-contents-function): Use it as default.
4545 (insert-directory): Avoid add-to-list.
4546
4547 * autorevert.el (auto-revert-handler): Simplify.
4548 Use buffer-stale--default-function.
4549
4550 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4551
4552 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4553
4554 * whitespace.el (whitespace-ensure-local-variables): New function.
4555 (whitespace-cleanup-region): Call it.
4556 (whitespace-turn-on): Call it.
4557
4558 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4559
4560 Complete file name handlers.
4561
4562 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4563 (tramp-handle-verify-visited-file-modtime)
4564 (tramp-handle-file-notify-rm-watch): New functions.
4565 (tramp-call-process): Do not bind `default-directory'.
4566
4567 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4568 Order alphabetically.
4569 [access-file, add-name-to-file, dired-call-process]:
4570 [dired-compress-file, file-acl, file-notify-rm-watch]:
4571 [file-ownership-preserved-p, file-selinux-context]:
4572 [make-directory-internal, make-symbolic-link, set-file-acl]:
4573 [set-file-selinux-context, set-visited-file-modtime]:
4574 [verify-visited-file-modtime]: Add handler.
4575 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4576
4577 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4578 [file-notify-add-watch, file-notify-rm-watch]:
4579 [set-file-times, set-visited-file-modtime]:
4580 [verify-visited-file-modtime]: Add handler.
4581 (with-tramp-gvfs-error-message)
4582 (tramp-gvfs-handle-set-visited-file-modtime)
4583 (tramp-gvfs-fuse-file-name): Remove.
4584 (tramp-gvfs-handle-file-notify-add-watch)
4585 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4586 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4587
4588 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4589 Order alphabetically.
4590 [file-notify-rm-watch ]: Use default Tramp handler.
4591 [executable-find]: Remove private handler.
4592 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4593 `default-directory'.
4594 (tramp-sh-handle-executable-find)
4595 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4596 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4597 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4598 Do not use `format' in `tramp-message'.
4599
4600 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4601 [file-notify-rm-watch, set-visited-file-modtime]:
4602 [verify-visited-file-modtime]: Add handler.
4603 (tramp-smb-call-winexe): Do not bind `default-directory'.
4604
4605 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4606
4607 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4608
4609 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4610
4611 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4612 use it.
4613 (log-view-diff-changeset): Same.
4614 (log-view-diff-common): Call backend command `previous-revision'
4615 to find out the previous revision, in both cases. Swap the
4616 variables `to' and `fr', so that `fr' usually refers to the
4617 earlier revision (Bug#14989).
4618
4619 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4620
4621 * ibuf-ext.el (ibuffer-filter-by-filename):
4622 Make it work with dired buffers too.
4623
4624 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4625
4626 * emacs-lisp/re-builder.el (reb-color-display-p):
4627 * files.el (save-buffers-kill-terminal):
4628 * net/browse-url.el (browse-url):
4629 * server.el (server-save-buffers-kill-terminal):
4630 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4631 Prefer nil to selected-frame for the first arg of frame-parameter.
4632
4633 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4634
4635 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4636
4637 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4638
4639 * minibuffer.el (completion--twq-all): Try and preserve each
4640 completion's case choice (bug#14907).
4641
4642 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643
4644 * net/network-stream.el (open-network-stream): Mention the new
4645 :nogreeting parameter.
4646 (network-stream-open-starttls): Use the :nogreeting parameter
4647 (bug#14938).
4648
4649 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4650
4651 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4652 more natural than popping.
4653
4654 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4655 (shr-urlify): Highlight under mouse.
4656
4657 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4658
4659 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4660
4661 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4662
4663 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4664 buffer for output.
4665
4666 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4667 point-min==1. Fix search string. Fix parentheses missing.
4668
4669 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4670 assume point-min==1. Fix search string. Fix parentheses missing.
4671
4672 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4673
4674 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4675 buffer for output.
4676
4677 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4678
4679 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4680 initial frame is minibuffer-less. (Bug#14841)
4681
4682 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4683
4684 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4685 option.
4686
4687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4688 (tramp-maybe-open-connection): Use it.
4689
4690 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4691
4692 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4693 minimal set of parameters passed when creating a frame, because
4694 the minibuffer status of a frame cannot be changed later.
4695
4696 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4697
4698 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4699 replace-regexp-in-string and inadvertent omissions in previous change.
4700 (todo-filter-items): Ensure only file names are comma-separated in
4701 name of filtered items buffer.
4702
4703 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4704
4705 * desktop.el: Optionally force offscreen frames back onscreen.
4706 (desktop-restoring-reuses-frames): New option.
4707 (desktop--compute-pos, desktop--move-onscreen): New functions.
4708 (desktop--make-frame): Use desktop--move-onscreen.
4709
4710 2013-07-27 Alan Mackenzie <acm@muc.de>
4711
4712 Fontify a Java generic method as a function.
4713 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4714 value to t.
4715
4716 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4717
4718 * calendar/todo-mode.el: Add command to rename todo files.
4719 (todo-rename-file): New command.
4720 (todo-key-bindings-t): Add key binding for it. Change the
4721 bindings of todo-filter-regexp-items(-multifile) to use `x'
4722 instead of `r', since the latter is better suited to the new
4723 renaming command.
4724
4725 2013-07-27 Alan Mackenzie <acm@muc.de>
4726
4727 Make Java try-with-resources statement parse properly.
4728 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4729 (c-block-stmt-1-2-key): New language constants/variables.
4730 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4731 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4732 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4733 with c-block-stmt-1-2-key.
4734
4735 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4736
4737 * desktop.el (desktop--make-frame): Apply most frame parameters after
4738 creating the frame to force (partially or totally) offscreen frames to
4739 be restored as such.
4740
4741 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4742
4743 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4744 (Bug#14948)
4745
4746 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4749 `base' arg of backtrace-frame.
4750
4751 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4752
4753 * simple.el (list-processes): Doc fix.
4754
4755 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4756
4757 * desktop.el (desktop--select-frame):
4758 Try harder to reuse existing frames.
4759
4760 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4761
4762 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4763 (edebug-eval): Use backtrace-eval.
4764 (edebug--display, edebug--recursive-edit): Don't let-bind the
4765 edebug-outer-* vars that keep track of variables we locally let-bind.
4766 (edebug-outside-excursion): Don't restore outside values of locally
4767 let-bound vars.
4768 (edebug--display): Use user-error.
4769 (cl-lexical-debug, cl-debug-env): Remove.
4770
4771 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4772
4773 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4774 are restored to be sure that they are visible before deleting any
4775 remaining ones.
4776
4777 2013-07-26 Matthias Meulien <orontee@gmail.com>
4778
4779 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4780 vc-print-root-log. (Bug#14948)
4781
4782 2013-07-26 Richard Stallman <rms@gnu.org>
4783
4784 Add aliases for encrypting mail.
4785 * epa.el (epa-mail-aliases): New option.
4786 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4787 Bind inhibit-read-only so read-only text doesn't ruin everything.
4788 (epa-mail-default-recipients): New subroutine broken out.
4789 Handle epa-mail-aliases.
4790
4791 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4792
4793 Add support for lexical variables to the debugger's `e' command.
4794 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4795 vars, except for debugger-outer-match-data.
4796 (debugger-frame-number): Move check for "on a function call" from
4797 callers into it. Add `skip-base' argument.
4798 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4799 (debugger-env-macro): Only reset the state stored in non-variables,
4800 i.e. current-buffer and match-data.
4801 (debugger-eval-expression): Rewrite using backtrace-eval.
4802 * subr.el (internal--called-interactively-p--get-frame): Remove.
4803 (called-interactively-p):
4804 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4805 `base' arg of backtrace-frame instead.
4806
4807 2013-07-26 Glenn Morris <rgm@gnu.org>
4808
4809 * align.el (align-regexp): Doc fix. (Bug#14857)
4810 (align-region): Explicit error if subexpression missing/does not match.
4811
4812 * simple.el (global-visual-line-mode):
4813 Do not duplicate the mode lighter. (Bug#14858)
4814
4815 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4816
4817 * window.el (display-buffer): In display-buffer bind
4818 split-window-keep-point to t, bug#14829.
4819
4820 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4821
4822 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4823 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4824 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4825 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4826 Change accordingly.
4827 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4828 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4829
4830 2013-07-25 Glenn Morris <rgm@gnu.org>
4831
4832 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4833
4834 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4835
4836 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4837 parameter to modify-frame-parameters if the value has not changed;
4838 this is a workaround for bug#14949.
4839 (desktop--make-frame): On cl-delete-if call, check parameter name,
4840 not full parameter.
4841
4842 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4843
4844 * vc/vc.el (vc-ignore): New function.
4845
4846 * vc/vc-svn.el (vc-svn-ignore): New function.
4847
4848 * vc/vc-hg.el (vc-hg-ignore): New function.
4849
4850 * vc/vc-git.el (vc-git-ignore): New function.
4851
4852 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4853 (vc-dir-ignore): New function.
4854
4855 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4856 (cvs-append-to-ignore): Move here from pcvs.el.
4857
4858 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4859
4860 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4861
4862 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4863
4864 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4865 (desktop-restore-frames): Warn when deleting an existing frame failed.
4866
4867 2013-07-24 Glenn Morris <rgm@gnu.org>
4868
4869 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4870
4871 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4872
4873 * filenotify.el (file-notify-supported-p):
4874 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4875 Remove functions.
4876
4877 * autorevert.el (auto-revert-use-notify):
4878 (auto-revert-notify-add-watch):
4879 * net/tramp.el (tramp-file-name-for-operation):
4880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4881 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4882 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4883 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4884 Remove `file-notify-supported-p' entry.
4885
4886 2013-07-24 Glenn Morris <rgm@gnu.org>
4887
4888 * printing.el: Replace all uses of deleted ps-windows-system,
4889 ps-lp-system, ps-flatten-list with lpr- versions.
4890
4891 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4892
4893 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4894 checked with memq (bug#14935).
4895
4896 * files.el (revert-buffer-function): Use a non-nil default.
4897 (revert-buffer-preserve-modes): Declare var to
4898 provide access to the `preserve-modes' argument.
4899 (revert-buffer): Let-bind it.
4900 (revert-buffer--default): New function, extracted from revert-buffer.
4901
4902 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * lpr.el: Signal print errors more prominently.
4905 (print-region-function): Don't default to nil.
4906 (lpr-print-region): New function, extracted from print-region-1.
4907 Check lpr's return value and signal an error in case of problem.
4908 (print-region-1): Use it.
4909 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4910 versions instead.
4911 (ps-printer-name): Default to nil.
4912 (ps-printer-name-option): Default to lpr-printer-switch.
4913 (ps-print-region-function): Don't default to nil.
4914 (ps-postscript-code-directory): Simplify default.
4915 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4916 (ps-string-list, ps-eval-switch, ps-flatten-list)
4917 (ps-flatten-list-1): Remove.
4918 (ps-multibyte-buffer): Avoid setq.
4919 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4920 (print-region-function, ps-print-region-function): Don't set them here.
4921
4922 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4923
4924 * ido.el (ido-fractionp):
4925 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4926 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4927 (ido-max-directory-size, ido-max-dir-file-cache)
4928 (ido-decorations): Doc fix.
4929
4930 * ansi-color.el: Fix old URL.
4931
4932 2013-07-23 Michael R. Mauger <michael@mauger.com>
4933
4934 * progmodes/sql.el: Version 3.3
4935 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4936 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4937 (sql-interactive-remove-continuation-prompt): Rewrite, use
4938 functions above. Fix continuation prompt and complete output line
4939 handling.
4940 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4941 redirected output buffer.
4942 (sql-mode): Restore deleted code (Bug#13591).
4943
4944 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4945
4946 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4947
4948 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4949
4950 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4951
4952 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4953 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4954 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4955
4956 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4957
4958 * desktop.el (desktop-clear): Simplify; remove useless checks
4959 against invalid buffer names.
4960 (desktop-list*): Use cl-list*.
4961 (desktop-buffer-info, desktop-create-buffer): Simplify.
4962
4963 2013-07-23 Leo Liu <sdl.web@gmail.com>
4964
4965 * bookmark.el (bookmark-make-record): Restore NAME as a default
4966 value. (Bug#14933)
4967
4968 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4969
4970 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4971 extracted from autoload--insert-text.
4972 (autoload--insert-text): Remove.
4973 (autoload--print-cookie-text): New function, extracted from
4974 autoload--insert-cookie-text.
4975 (autoload--insert-cookie-text): Remove.
4976 (autoload-generate-file-autoloads): Adjust calls accordingly.
4977
4978 * winner.el (winner-hook-installed-p): Remove.
4979 (winner-mode): Simplify accordingly.
4980
4981 * subr.el (add-to-list): Fix compiler-macro when `append' is
4982 not constant. Don't use `cl-member' for the base case.
4983
4984 * progmodes/subword.el: Fix boundary case (bug#13758).
4985 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4986 own group.
4987 (subword-backward-regexp): Make it a constant.
4988 (subword-forward-internal): Don't treat a trailing capital as the
4989 beginning of a word.
4990
4991 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4992
4993 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4994 global value of tabulated-list-revert-hook (bug#14930).
4995
4996 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4997
4998 * desktop.el: Require 'cl-lib.
4999 (desktop-before-saving-frames-functions): New hook.
5000 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5001 for frames being saved. Rename from desktop--save-minibuffer-frames.
5002 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5003 Do not save frames with non-nil `desktop-dont-save' parameter.
5004 Filter out deleted frames.
5005 (desktop--find-frame): Use cl-find-if.
5006 (desktop--select-frame): Use cl-(first|second|third) to access values
5007 of desktop-mini.
5008 (desktop--make-frame): Use cl-delete-if.
5009 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5010 (desktop-restore-frames): Use cl-(first|second|third) to access values
5011 of desktop-mini. Look for visible frame at the end, not while
5012 restoring frames.
5013
5014 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5015 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5016 Use string-match-p, looking-at-p (bug#14927).
5017
5018 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5019
5020 * desktop.el (desktop-saved-frame-states):
5021 Rename from desktop--saved-states; all users changed.
5022 (desktop-save-frames): Rename from desktop--save-frames.
5023 Do not save state to desktop file.
5024 (desktop-save): Save desktop-saved-frame-states to desktop file
5025 and reset to nil.
5026 (desktop-restoring-frames-p): New function.
5027 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5028 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5029 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5030
5031 * desktop.el: Correctly restore iconified frames.
5032 (desktop--filter-iconified-position): New function.
5033 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5034
5035 2013-07-20 Glenn Morris <rgm@gnu.org>
5036
5037 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5038 Let `message' do the formatting.
5039 (def-gdb-preempt-display-buffer): Add explicit format.
5040
5041 * image-dired.el (image-dired-track-original-file):
5042 Use with-current-buffer.
5043 (image-dired-track-thumbnail): Use with-current-buffer.
5044 Avoid changing point of wrong window.
5045
5046 * image-dired.el (image-dired-track-original-file):
5047 Avoid changing point of wrong window. (Bug#14909)
5048
5049 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5050
5051 * progmodes/gdb-mi.el (gdb-done-or-error):
5052 Guard against "%" in gdb output. (Bug#14127)
5053
5054 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5055
5056 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5057 (Bug#14826)
5058
5059 * international/mule.el (coding-system-iso-2022-flags): Fix last
5060 change.
5061
5062 2013-07-20 Kenichi Handa <handa@gnu.org>
5063
5064 * international/mule.el (coding-system-iso-2022-flags):
5065 Add `8-bit-level-4'. (Bug#8522)
5066
5067 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5068
5069 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5070 (bug#14815).
5071
5072 * net/eww.el (eww-process-text-input): Allow inputting when the
5073 point is at the start of the line, as the properties aren't
5074 front-sticky.
5075
5076 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5077 degenerate widths.
5078
5079 2013-07-19 Richard Stallman <rms@gnu.org>
5080
5081 * epa.el (epa-popup-info-window): Doc fix.
5082
5083 * subr.el (split-string): New arg TRIM.
5084
5085 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5086
5087 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5088 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5089
5090 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5091
5092 * filenotify.el (file-notify--library): Rename from
5093 `file-notify-support'. Do not autoload. Adapt all uses.
5094 (file-notify-supported-p): New defun.
5095
5096 * autorevert.el (auto-revert-use-notify):
5097 Use `file-notify-supported-p' instead of `file-notify-support'.
5098 Adapt docstring.
5099 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5100
5101 * net/tramp.el (tramp-file-name-for-operation):
5102 Add `file-notify-supported-p'.
5103
5104 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5105 New defun.
5106 (tramp-sh-file-name-handler-alist): Add it as handler for
5107 `file-notify-supported-p '.
5108
5109 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5110 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5111 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5112 Add `ignore' as handler for `file-notify-*' functions.
5113
5114 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5115
5116 * simple.el (line-move-partial, line-move): Don't start vscroll or
5117 scroll-up if the current line is not taller than the window.
5118 (Bug#14881)
5119
5120 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5121
5122 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5123 highlight question marks in the method names as strings.
5124 (ruby-block-beg-keywords): Inline.
5125 (ruby-font-lock-keyword-beg-re): Extract from
5126 `ruby-font-lock-keywords'.
5127
5128 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5129
5130 * frame.el (blink-cursor-blinks): New defcustom.
5131 (blink-cursor-blinks-done): New defvar.
5132 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5133 (blink-cursor-timer-function): Check if number of blinks has been
5134 done on X and NS.
5135 (blink-cursor-suspend, blink-cursor-check): New defuns.
5136
5137 2013-07-15 Glenn Morris <rgm@gnu.org>
5138
5139 * edmacro.el (edmacro-format-keys): Fix previous change.
5140
5141 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5142
5143 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5144 The hack didn't work outside English locales anyway.
5145
5146 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * simple.el (define-alternatives): Rename from alternatives-define,
5149 per RMS' suggestion.
5150
5151 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5152
5153 * desktop.el (desktop-restore-frames): Change default to t.
5154 (desktop-restore-in-current-display): Now offer more options.
5155 (desktop-restoring-reuses-frames): New customization option.
5156 (desktop--saved-states): Doc fix.
5157 (desktop-filter-parameters-alist): New variable, renamed and expanded
5158 from desktop--excluded-frame-parameters.
5159 (desktop--target-display): New variable.
5160 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5161 (desktop--filter-tty*, desktop--filter-*-color)
5162 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5163 (desktop--filter-save-desktop-parm)
5164 (desktop-restore-in-original-display-p): New functions.
5165 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5166 (desktop--save-minibuffer-frames): New function, inspired by a similar
5167 function from Martin Rudalics.
5168 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5169 (desktop--restore-in-this-display-p): Remove.
5170 (desktop--find-frame): Rename from desktop--find-frame-in-display
5171 and add predicate argument.
5172 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5173 (desktop--reuse-list): New variable.
5174 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5175 New functions.
5176 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5177
5178 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5179
5180 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5181
5182 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5183
5184 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5185 Highlight conversion methods on Kernel.
5186
5187 2013-07-13 Alan Mackenzie <acm@muc.de>
5188
5189 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5190 and comment it out. This out-commenting enables certain C++
5191 declarations to be parsed correctly.
5192
5193 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5194
5195 * international/mule.el (define-coding-system): Doc fix.
5196
5197 * simple.el (default-font-height): Don't call font-info if the
5198 frame's default font didn't change since the frame was created.
5199 (Bug#14838)
5200
5201 2013-07-13 Leo Liu <sdl.web@gmail.com>
5202
5203 * ido.el (ido-read-file-name): Guard against non-symbol value.
5204
5205 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5206
5207 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5208 in nested defuns.
5209
5210 2013-07-13 Leo Liu <sdl.web@gmail.com>
5211
5212 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5213 ido-set-matches call. (Bug#6852)
5214
5215 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5216
5217 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5218 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5219 Ruby 2.0.
5220 (ruby-font-lock-keywords): Distinguish calls to functions with
5221 module-like names from module references. Highlight character
5222 literals.
5223
5224 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5225
5226 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5227 (gdb-send): Handle continued commands. (Bug#14847)
5228
5229 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5230
5231 * desktop.el (desktop--v2s): Remove unused local variable.
5232 (desktop-save-buffer): Make defvar-local; adjust docstring.
5233 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5234 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5235
5236 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5237
5238 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5239
5240 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5241
5242 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5243 (Bug#14842)
5244
5245 2013-07-12 Glenn Morris <rgm@gnu.org>
5246
5247 * doc-view.el: Require cl-lib at runtime too.
5248 (doc-view-remove-if): Remove.
5249 (doc-view-search-next-match, doc-view-search-previous-match):
5250 Use cl-remove-if.
5251
5252 * edmacro.el: Require cl-lib at runtime too.
5253 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5254 (edmacro-mismatch, edmacro-subseq): Remove.
5255
5256 * shadowfile.el: Require cl-lib.
5257 (shadow-remove-if): Remove.
5258 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5259 Use cl-remove-if.
5260
5261 * wid-edit.el: Require cl-lib.
5262 (widget-choose): Use cl-remove-if.
5263 (widget-remove-if): Remove.
5264
5265 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5266 (ebrowse-delete-if-not): Remove.
5267 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5268 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5269 Use cl-delete-if-not.
5270
5271 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5272
5273 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5274 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5275
5276 2013-07-12 Leo Liu <sdl.web@gmail.com>
5277
5278 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5279
5280 2013-07-11 Glenn Morris <rgm@gnu.org>
5281
5282 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5283 (edebug-gensym-index, edebug-gensym):
5284 Remove reimplementation of cl-gensym.
5285 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5286
5287 * thumbs.el: Require cl-lib at run-time too.
5288 (thumbs-gensym-counter, thumbs-gensym):
5289 Remove reimplementation of cl-gensym.
5290 (thumbs-temp-file): Use cl-gensym.
5291
5292 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5293 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5294 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5295 (ert--union, ert--gensym-counter, ert--gensym-counter)
5296 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5297 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5298 (ert-make-test-unbound, ert--expand-should-1)
5299 (ert--expand-should, ert--should-error-handle-error)
5300 (should-error, ert--explain-equal-rec)
5301 (ert--plist-difference-explanation, ert-select-tests)
5302 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5303 Use cl-lib functions rather than reimplementations.
5304
5305 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5306
5307 * net/tramp.el (tramp-methods): Extend docstring.
5308 (tramp-connection-timeout): New defcustom.
5309 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5310 (with-tramp-progress-reporter): Simplify.
5311 (tramp-process-actions): Improve messages.
5312
5313 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5314 * net/tramp-sh.el (tramp-maybe-open-connection):
5315 Use `tramp-connection-timeout'.
5316 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5317 (Bug#14808)
5318
5319 2013-07-11 Leo Liu <sdl.web@gmail.com>
5320
5321 * ido.el (ido-read-file-name): Conform to the requirements of
5322 read-file-name. (Bug#11861)
5323 (ido-read-directory-name): Conform to the requirements of
5324 read-directory-name.
5325
5326 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5327
5328 * subr.el (delay-warning): New function.
5329
5330 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5331
5332 * simple.el (default-line-height): New function.
5333 (line-move-partial, line-move): Use it instead of computing the
5334 line height inline.
5335 (line-move-partial): Always compute ROWH. If the last line is
5336 partially-visible, but its text is completely visible, allow
5337 cursor to enter such a partially-visible line.
5338
5339 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5340
5341 Improve error messages. (Bug#14808)
5342
5343 * net/tramp.el (tramp-current-connection): New defvar, moved from
5344 tramp-sh.el.
5345 (tramp-message-show-progress-reporter-message): Remove, not
5346 needed anymore.
5347 (tramp-error-with-buffer): Show message in minibuffer.
5348 Discard input before waiting. Reset connection timestamp.
5349 (with-tramp-progress-reporter): Improve messages.
5350 (tramp-process-actions): Use progress reporter. Delete process in
5351 case of error. Improve messages.
5352
5353 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5354 Call `tramp-error-with-buffer' with vector and buffer.
5355 (tramp-current-connection): Remove.
5356 (tramp-maybe-open-connection): The car of
5357 `tramp-current-connection' are the first 3 slots of the vector.
5358
5359 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5360
5361 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5362 inside continued strings.
5363
5364 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5365
5366 Timestamp fixes for undo (Bug#14824).
5367 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5368
5369 2013-07-10 Leo Liu <sdl.web@gmail.com>
5370
5371 * files.el (require-final-newline): Allow safe local value.
5372 (Bug#14834)
5373
5374 2013-07-09 Leo Liu <sdl.web@gmail.com>
5375
5376 * ido.el (ido-read-directory-name): Handle fallback.
5377 (ido-read-file-name): Update DIR to ido-current-directory.
5378 (Bug#1516)
5379 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5380
5381 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5382
5383 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5384 "autoload". Remove "warn lower camel case" section, previously
5385 commented out. Highlight negation char. Do not highlight the
5386 target in singleton method definitions.
5387
5388 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * faces.el (tty-setup-hook): Declare the hook.
5391
5392 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5393 and detect when a guard/pred depends on local vars (bug#14773).
5394 (pcase--u1): Adjust caller.
5395
5396 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5397
5398 * simple.el (line-move-partial, line-move): Account for
5399 line-spacing.
5400 (line-move-partial): Avoid setting vscroll when the last
5401 partially-visible line in window is of default height.
5402
5403 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5404
5405 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5406 been used a while.
5407
5408 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5409
5410 * subr.el (read-quoted-char): Remove unused local variable `char'.
5411
5412 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5413
5414 * ediff.el (ediff-version): Version update.
5415 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5416 (ediff-merge-with-ancestor-command, ediff-directories-command)
5417 (ediff-directories3-command, ediff-merge-directories-command)
5418 (ediff-merge-directories-with-ancestor-command): New functions.
5419 All are command-line interfaces to ediff: to facilitate calling
5420 Emacs with the appropriate ediff functions invoked.
5421
5422 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5423 (viper-save-kill-buffer): Check if buffer is modified.
5424
5425 * viper.el (viper-version): Version update.
5426 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5427
5428 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5429
5430 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5431 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5432 (viper-intercept-ESC-key): Simplify.
5433 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5434 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5435 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5436 (viper-setup-ESC-to-escape): New functions.
5437 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5438 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5439
5440 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5441
5442 * simple.el (default-font-height, window-screen-lines):
5443 New functions.
5444 (line-move, line-move-partial): Use them instead of
5445 frame-char-height and window-text-height. This makes scrolling
5446 text smoother when the buffer's default face uses a font that is
5447 different from the frame's default font.
5448
5449 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5450
5451 * files.el (write-file): Do not display confirm dialog for NS,
5452 it does its own dialog, which can't be cancelled (Bug#14578).
5453
5454 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5455
5456 * simple.el (line-move-partial): Adjust the row returned by
5457 posn-at-point for the current window-vscroll. (Bug#14567)
5458
5459 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5460
5461 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5462 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5463 spaces.
5464
5465 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5466
5467 * window.el (window-state-put-stale-windows): New variable.
5468 (window--state-put-2): Save list of windows without matching buffer.
5469 (window-state-put): Remove "bufferless" windows if possible.
5470
5471 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5472
5473 * simple.el (alternatives-define): Remove leftover :group keyword.
5474 Tweak docstring.
5475
5476 2013-07-06 Leo Liu <sdl.web@gmail.com>
5477
5478 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5479 (ido-enable-virtual-buffers): New variable.
5480 (ido-buffer-internal, ido-toggle-virtual-buffers)
5481 (ido-make-buffer-list): Use it.
5482 (ido-exhibit): Support turning on and off virtual buffers
5483 automatically.
5484
5485 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5486
5487 * simple.el (alternatives-define): New macro.
5488
5489 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * subr.el (read-quoted-char): Use read-key.
5492 (sit-for): Let read-event decode tty input (bug#14782).
5493
5494 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5495
5496 * calendar/todo-mode.el: Add handling of file deletion, both by
5497 mode command and externally. Fix various related bugs.
5498 Clarify Commentary and improve some documentation strings and code.
5499 (todo-delete-file): New command.
5500 (todo-check-file): New function.
5501 (todo-show): Handle external deletion of the file we're trying to
5502 show (bug#14688). Replace called-interactively-p by an optional
5503 prefix argument to avoid problematic interaction with catch form
5504 when byte compiled (bug#14702).
5505 (todo-quit): Handle external deletion of the archive's todo file.
5506 Make sure the buffer that was visiting the archive file is still
5507 live before trying to bury it.
5508 (todo-category-completions): Handle external deletion of any
5509 category completion files.
5510 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5511 of todo files, in case of external deletion.
5512 (todo-add-file): Replace unnecessary setq by let-binding.
5513 (todo-find-archive): Check whether there are any archives.
5514 Replace unnecessary setq by let-binding.
5515 (todo-archive-done-item): Use find-file-noselect to get the
5516 archive buffer whether or not the archive already exists.
5517 Remove superfluous code. Use file size instead of buffer-file-name to
5518 check if the archive is new; if it is, update list of archives.
5519 (todo-default-todo-file): Allow nil to be a valid value for when
5520 there are no todo files.
5521 (todo-reevaluate-default-file-defcustom): Use corrected definition
5522 of todo-default-todo-file.
5523 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5524 (todo-delete-category, todo-show-categories-table)
5525 (todo-category-number): Clarify comment.
5526 (todo-filter-items): Clarify documentation string.
5527 (todo-show-current-file, todo-display-as-todo-file)
5528 (todo-reset-and-enable-done-separator): Tweak documentation string.
5529 (todo-done-separator): Make separator length window-width, since
5530 bug#2749 is now fixed.
5531
5532 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5533
5534 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5535 Support both "gvfs-monitor-dir" and "inotifywait".
5536 (tramp-sh-file-inotifywait-process-filter): Rename from
5537 `tramp-sh-file-notify-process-filter'.
5538 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5539 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5540
5541 2013-07-05 Leo Liu <sdl.web@gmail.com>
5542
5543 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5544
5545 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5546
5547 * frame.el (display-pixel-height, display-pixel-width)
5548 (display-mm-height, display-mm-width): Mention behavior on
5549 multi-monitor setups in docstrings.
5550 (w32-display-monitor-attributes-list): Declare function.
5551 (display-monitor-attributes-list): Use it.
5552
5553 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * filenotify.el: New package.
5556
5557 * autorevert.el (top): Require filenotify.el.
5558 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5559 instead.
5560 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5561 (auto-revert-notify-handler): Use `file-notify-*' functions.
5562
5563 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5564
5565 * net/tramp.el (tramp-file-name-for-operation):
5566 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5567
5568 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5569 for `file-notify-add-watch' and `file-notify-rm-watch'.
5570 (tramp-process-sentinel): Improve trace.
5571 (tramp-sh-handle-file-notify-add-watch)
5572 (tramp-sh-file-notify-process-filter)
5573 (tramp-sh-handle-file-notify-rm-watch)
5574 (tramp-get-remote-inotifywait): New defuns.
5575
5576 2013-07-03 Juri Linkov <juri@jurta.org>
5577
5578 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5579 call of `occur-read-primary-args' to interactive spec.
5580
5581 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5582 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5583
5584 2013-07-03 Matthias Meulien <orontee@gmail.com>
5585
5586 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5587 `Buffer-menu-multi-occur'. Add it to the menu.
5588 (Buffer-menu-mode): Document it in docstring.
5589 (Buffer-menu-multi-occur): New command. (Bug#14673)
5590
5591 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5592
5593 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5594 keywords and built-ins.
5595
5596 2013-07-03 Glenn Morris <rgm@gnu.org>
5597
5598 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5599
5600 Make info-xref checks case-sensitive by default
5601 * info.el (Info-find-node, Info-find-in-tag-table)
5602 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5603 Add option for exact case matching of nodes.
5604 * info-xref.el (info-xref): New custom group.
5605 (info-xref-case-fold): New option.
5606 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5607
5608 2013-07-03 Leo Liu <sdl.web@gmail.com>
5609
5610 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5611
5612 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5613
5614 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5615 middle of block statement initially, lower the depth. Remove
5616 FIXME comment, not longer valid. Remove middle of block statement
5617 detection, no need to do that anymore since we've been using
5618 `ruby-parse-region' here.
5619
5620 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5621
5622 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5623
5624 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5625
5626 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5627
5628 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5629
5630 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5631 (desktop-restore-in-current-display): New customization option.
5632 (desktop--excluded-frame-parameters): Add `font'.
5633 (desktop--save-frames): Rename from desktop--save-windows.
5634 (desktop--restore-in-this-display-p): New function.
5635 (desktop--make-full-frame): Remove unwanted width/height from
5636 full(width|height) frames.
5637 (desktop--restore-frames): Rename from desktop--restore-windows.
5638 Obey desktop-restore-current-display. Do not delete old frames or
5639 select a new frame unless we were able to restore at least one frame.
5640
5641 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5642
5643 * files.el (find-file-noselect): Simplify conditional expression.
5644
5645 * remember.el (remember-append-to-file):
5646 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5647
5648 Add `remember-notes' function to store random notes across Emacs
5649 restarts.
5650 * remember.el (remember-data-file): Add :set callback to affect
5651 notes buffer (if any).
5652 (remember-notes): New command.
5653 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5654 New defcustoms for the `remember-notes' function.
5655 (remember-notes-save-and-bury-buffer): New command.
5656 (remember-notes-mode-map): New variable.
5657 (remember-mode): New minor mode.
5658 (remember-notes--kill-buffer-query): New function.
5659 * startup.el (initial-buffer-choice): Add notes to custom type.
5660
5661 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5662
5663 * bindings.el (right-char, left-char): Don't call sit-for, this is
5664 no longer needed. Use arithmetic comparison only for numerical
5665 arguments.
5666
5667 * international/mule-cmds.el (select-safe-coding-system):
5668 Handle the case of FROM being a string correctly. (Bug#14755)
5669
5670 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5671
5672 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5673 progression on degenerate tables.
5674 (shr-rescale-image): ImageMagick animated images currently don't work.
5675
5676 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5677
5678 Some fixes and improvements for desktop frame restoration.
5679 It is still experimental and disabled by default.
5680 * desktop.el (desktop--save-windows): Put the selected frame at
5681 the head of the list.
5682 (desktop--make-full-frame): New function.
5683 (desktop--restore-windows): Try to re-select the frame that was
5684 selected upon saving. Do not abort if some frames fail to restore,
5685 just show an error message and continue. Set up maximized frames
5686 so they have default non-maximized dimensions.
5687
5688 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5689
5690 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5691 Don't start heredoc inside a string or comment.
5692
5693 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5694
5695 * bindings.el (visual-order-cursor-movement): New defcustom.
5696 (right-char, left-char): Provide visual-order cursor motion by
5697 calling move-point-visually. Update the doc strings.
5698
5699 2013-06-28 Kenichi Handa <handa@gnu.org>
5700
5701 * international/mule.el (define-coding-system): New coding system
5702 properties :inhibit-null-byte-detection,
5703 :inhibit-iso-escape-detection, and :prefer-utf-8.
5704 (set-buffer-file-coding-system): If :charset-list property of
5705 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5706 appropriate for setting.
5707
5708 * international/mule-cmds.el (select-safe-coding-system):
5709 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5710 multibyte characters, return utf-8 (or one of its siblings).
5711
5712 * international/mule-conf.el (prefer-utf-8): New coding system.
5713 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5714 files.
5715
5716 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5717
5718 * net/shr.el (shr-render-region): New function.
5719
5720 * net/eww.el: Autoload `eww-browse-url'.
5721
5722 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5723
5724 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5725 Adapt to `package-desc-version' being a list.
5726 Use `package--ac-desc-version' to retrieve version from a package
5727 archive element.
5728
5729 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5730
5731 New experimental feature to save&restore window and frame setup.
5732 * desktop.el (desktop-save-windows): New defcustom.
5733 (desktop--saved-states): New var.
5734 (desktop--excluded-frame-parameters): New defconst.
5735 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5736 (desktop--restore-windows, desktop--save-windows): New functions.
5737 (desktop-save): Call `desktop--save-windows'.
5738 (desktop-read): Call `desktop--restore-windows'.
5739
5740 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5741
5742 * net/shr.el (add-face-text-property): Remove compat definition.
5743
5744 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5745
5746 * info.el (Info-try-follow-nearest-node): Move search for footnote
5747 above search for node name to prevent missing a footnote (bug#14717).
5748
5749 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5750
5751 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5752
5753 2013-06-27 Leo Liu <sdl.web@gmail.com>
5754
5755 * net/eww.el (eww-read-bookmarks): Check file size.
5756
5757 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5758
5759 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5760 advice--pending if newdef is nil or an autoload (bug#13820).
5761 (advice-mapc): New function.
5762
5763 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5764
5765 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5766 probably.
5767 (eww-mode-map): Add a menu bar.
5768 (eww-add-bookmark): New command.
5769 (eww-bookmark-mode): New mode and commands.
5770 (eww-add-bookmark): Remove newlines from the title.
5771 (eww-bookmark-browse): Don't bug out if it's the only window.
5772
5773 2013-06-26 Glenn Morris <rgm@gnu.org>
5774
5775 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5776 (hfy-size): Handle ttys. (Bug#14668)
5777
5778 * info-xref.el: Update for Texinfo 5 change in *note format.
5779 (info-xref-node-re, info-xref-note-re): New constants.
5780 (info-xref-check-buffer): Use info-xref-note-re.
5781
5782 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5783
5784 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5785
5786 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5787 nil terminate the loop (bug#14718).
5788
5789 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5790
5791 * net/eww.el: Rework history traversal. When going forward/back,
5792 put these actions into the history, too, so that they can be
5793 replayed.
5794 (eww-render): Move the history reset to the correct buffer.
5795
5796 2013-06-25 Juri Linkov <juri@jurta.org>
5797
5798 * files-x.el (modify-dir-local-variable): Change the header comment
5799 in the file with directory local variables. (Bug#14692)
5800
5801 * files-x.el (read-file-local-variable-value): Add `default'.
5802 (Bug#14710)
5803
5804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5805
5806 * net/eww.el (eww-make-unique-file-name): Create a unique file
5807 name before saving to entering `y' accidentally asynchronously.
5808
5809 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5810
5811 * net/eww.el (eww-download): New command and keystroke.
5812
5813 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5814
5815 * net/eww.el (eww-copy-page-url): Change name of command.
5816
5817 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5818 be more consistent with Info and dired.
5819
5820 * net/eww.el (eww-mode-map): Ditto.
5821
5822 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5825 packages from archives.
5826 (package-archive-contents): Change format; include obsolete packages.
5827 (package-desc): Use `dir' to mark builtin packages.
5828 (package--from-builtin): Set the `dir' field to `builtin'.
5829 (generated-autoload-file, version-control): Declare.
5830 (package-compute-transaction): Change first arg and return value to be
5831 lists of package-descs. Adjust to new package-archive-contents format.
5832 (package--add-to-archive-contents): Adjust to new
5833 package-archive-contents format.
5834 (package-download-transaction): Arg is now a list of package-descs.
5835 (package-install): If `pkg' is a package name, pass it as
5836 a requirement, so it is subject to the usual (e.g. disabled) checks.
5837 (describe-package): Accept package-desc as well.
5838 (describe-package-1): Describe a specific package-desc. Add links to
5839 other package-descs for the same package name.
5840 (package-menu-describe-package): Pass the actual package-desc.
5841 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5842 works correctly.
5843 (package-desc-status): New function.
5844 (package-menu--refresh): New function, extracted
5845 from package-menu--generate.
5846 (package-menu--generate): Use it.
5847 (package-delete): Update package-alist.
5848 (package-menu-execute): Don't call package-initialize.
5849
5850 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5851 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5852 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5853 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5854 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5855 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5856
5857 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (window--state-get-1): Workaround for bug#14527.
5860 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5861
5862 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5863
5864 * net/eww.el (eww-back-url): Implement the history by stashing all
5865 the data into a list.
5866 (eww-forward-url): Allow going forward in the history, too.
5867
5868 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5871 for values and use read--expression for expressions (bug#14710).
5872 (read-file-local-variable): Avoid setq.
5873 (read-file-local-variable-mode): Use minor-mode-list.
5874
5875 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5876
5877 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5878 for DOI URLs.
5879
5880 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5881
5882 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5883 Update imenu-support when dialect changes.
5884
5885 2013-06-25 Leo Liu <sdl.web@gmail.com>
5886
5887 * ido.el (ido-read-internal): Allow forward slash on windows.
5888
5889 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890
5891 * net/eww.el (eww): Start of strings is \\`, not ^.
5892
5893 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5894
5895 * net/shr.el (shr-browse-url): Fix interactive spec.
5896
5897 * net/eww.el (eww): Add a trailing slash to domain names.
5898
5899 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5900
5901 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5902
5903 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5904
5905 * net/shr.el (shr-browse-url): Use an external browser if given a
5906 prefix.
5907
5908 * net/eww.el (eww-external-browser): Move to shr.
5909
5910 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5911
5912 * net/eww.el (eww): Work more correctly for file: URLs.
5913 (eww-detect-charset): Allow quoted charsets.
5914 (eww-yank-page-url): New command and keystroke.
5915
5916 2013-06-24 Daiki Ueno <ueno@gnu.org>
5917
5918 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5919 file name of gpg executable.
5920 (epg-context-program): New function.
5921 (epg-context-home-directory): New function.
5922 (epg-context-set-program): New function.
5923 (epg-context-set-home-directory): New function.
5924 (epg--start): Use `epg-context-program' instead of
5925 'epg-gpg-program'.
5926 (epg--list-keys-1): Likewise.
5927
5928 2013-06-24 Leo Liu <sdl.web@gmail.com>
5929
5930 * ido.el (ido-read-internal): Fix bug#14620.
5931
5932 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5933
5934 * faces.el (face-documentation): Simplify.
5935 (read-face-attribute, tty-find-type, x-resolve-font-name):
5936 Use `string-match-p'.
5937 (list-faces-display): Use `string-match-p'. Simplify.
5938 (face-spec-recalc): Check face to avoid face alias loops.
5939 (read-color): Use `string-match-p' and non-capturing parenthesis.
5940
5941 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5942
5943 * net/shr.el (shr-rescale-image): Use the new
5944 :max-width/:max-height functionality.
5945
5946 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5947
5948 * net/eww.el (eww-search-prefix): New variable.
5949 (eww): Use it.
5950 (eww-external-browser): New variable.
5951 (eww-mode-map): New keystroke.
5952 (eww-browse-with-external-browser): New command.
5953
5954 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5955
5956 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5959 Don't skip aligning the next header field when padding is 0;
5960 otherwise, field width is not respected unless the title is as
5961 wide as the field.
5962
5963 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5964
5965 * emacs-lisp/package.el (package-el-version): Remove.
5966 (package-process-define-package): Fix inf-loop.
5967 (package-install): Allow symbols as arguments again.
5968
5969 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5970
5971 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5972 add some more keyword-like methods.
5973 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5974
5975 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5976
5977 * bs.el (bs-buffer-show-mark): Make defvar-local.
5978 (bs-mode): Use setq-local.
5979
5980 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5981 (emacs-lock--try-unlocking): Make defvar-local.
5982
5983 2013-06-22 Glenn Morris <rgm@gnu.org>
5984
5985 * play/cookie1.el (cookie-apropos): Minor simplification.
5986
5987 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5988
5989 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5990
5991 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5992 `regexp-opt', it breaks the build during dumping.
5993
5994 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5995
5996 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5997 Highlight keyword-like methods on Kernel and Module with
5998 font-lock-builtin-face.
5999 (auto-mode-alist): Consolidate different entries into one regexp
6000 and add more *file-s.
6001
6002 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6003
6004 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6005
6006 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6007 (diary-entry): Use it in the action of this button type instead of
6008 diary-goto-entry.
6009
6010 * calendar/todo-mode.el: New version.
6011 (todo-add-category): Append new category to end of file and give
6012 it the highest number, instead of putting it at the beginning and
6013 giving it 0. Incorporate noninteractive functionality.
6014 (todo-forward-category): Adapt to 1-based category numbering.
6015 Allow skipping over archived categories.
6016 (todo-backward-category): Derive from todo-forward-category.
6017 (todo-backward-item, todo-forward-item): Make noninteractive and
6018 delegate interactive part to new commands. Make sensitive to done items.
6019 (todo-categories): Make value an alist of category names and
6020 vectors of item counts.
6021 (todo-category-beg): Make a defconst.
6022 (todo-category-number): Use 1 instead of 0 as initial value.
6023 (todo-category-select): Make sensitive to overlays, optional item
6024 highlighting and done items.
6025 (todo-delete-item): Make sensitive to overlays and marked and done items.
6026 (todo-edit-item): Make sensitive to overlays and editing of
6027 date/time header optional. Add format checks.
6028 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6029 no-op if point is not on an item. Advertise using todo-edit-quit.
6030 (todo-edit-mode): Make sensitive to new format, font-locking, and
6031 multiple todo files.
6032 (todo-insert-item, todo-insert-item-here): Derive from
6033 todo-basic-insert-item and extend functionality.
6034 (todo-item-end, todo-item-start): Make sensitive to done items.
6035 (todo-item-string): Don't return text properties. Restore point.
6036 (todo-jump-to-category): Make sensitive to multiple todo files and
6037 todo archives. Use extended category completion.
6038 (todo-lower-item, todo-raise-item): Rename to *-priority and
6039 derive from todo-set-item-priority.
6040 (todo-mode): Derive from special-mode. Make sensitive to new
6041 format, font-locking and multiple todo files. Make read-only.
6042 (todo-mode-map): Don't suppress digit keys, so they can supply
6043 prefix arguments. Add many new key bindings.
6044 (todo-prefix): Insert as an overlay instead of file text.
6045 Change semantics from diary date expression to purely visual mark.
6046 (todo-print): Rename to todo-print-buffer. Make buffer display
6047 features printable. Remove option to restrict number of items
6048 printed. Add option to print to file.
6049 (todo-print-function): Rename to todo-print-buffer-function.
6050 (todo-quit): Extend to handle exiting new todo modes.
6051 (todo-remove-item): Make sensitive to overlays.
6052 (todo-save): Extend to buffers of filtered items.
6053 (todo-show): Make sensitive to done items, multiple todo files and
6054 new todo modes. Offer to convert legacy todo file before creating
6055 first new todo file.
6056 (todo-show-priorities): Rename to todo-top-priorities.
6057 Change semantics of value 0.
6058 (todo-top-priorities): Rename to todo-filter-top-priorities,
6059 derive from todo-filter-items and extend functionality.
6060 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6061 and extend functionality to other types of filtered items.
6062 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6063 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6064 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6065 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6066 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6067 (todo-edit-mode-hook, todo-entry-prefix-function)
6068 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6069 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6070 (todo-initials, todo-insert-threshold, todo-item-string-start)
6071 (todo-line-string, todo-menu, todo-mode-hook)
6072 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6073 (todo-print-priorities, todo-remove-separator)
6074 (todo-save-top-priorities-too, todo-string-count-lines)
6075 (todo-string-multiline-p, todo-time-string-format)
6076 (todo-tmp-buffer-name): Remove.
6077 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6078 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6079 (todo-edit-category-diary-inclusion)
6080 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6081 (todo-edit-file, todo-edit-item-date-day)
6082 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6083 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6084 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6085 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6086 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6087 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6088 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6089 (todo-filter-top-priorities-multifile, todo-find-archive)
6090 (todo-find-filtered-items-file, todo-go-to-source-item)
6091 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6092 (todo-jump-to-archive-category, todo-lower-category)
6093 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6094 (todo-move-category, todo-move-item, todo-next-button)
6095 (todo-next-item, todo-padded-string, todo-powerset)
6096 (todo-previous-button, todo-previous-item)
6097 (todo-print-buffer-to-file, todo-raise-category)
6098 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6099 (todo-set-category-number, todo-set-item-priority)
6100 (todo-set-top-priorities-in-category)
6101 (todo-set-top-priorities-in-file, todo-show-categories-table)
6102 (todo-sort-categories-alphabetically-or-numerically)
6103 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6104 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6105 (todo-toggle-item-header, todo-toggle-item-highlighting)
6106 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6107 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6108 (todo-unarchive-items, todo-unmark-category): New commands.
6109 (todo-absolute-file-name, todo-add-to-buffer-list)
6110 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6111 (todo-basic-insert-item, todo-category-completions)
6112 (todo-category-number, todo-category-string-matcher-1)
6113 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6114 (todo-check-format, todo-clear-matches)
6115 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6116 (todo-current-category, todo-date-string-matcher)
6117 (todo-define-insertion-command, todo-diary-expired-matcher)
6118 (todo-diary-goto-entry, todo-diary-item-p)
6119 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6120 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6121 (todo-done-item-section-p, todo-done-separator)
6122 (todo-done-string-matcher, todo-files, todo-filter-items)
6123 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6124 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6125 (todo-insert-category-line, todo-insert-item-from-calendar)
6126 (todo-insert-sort-button, todo-insert-with-overlays)
6127 (todo-insertion-command-name, todo-insertion-key-bindings)
6128 (todo-label-to-key, todo-longest-category-name-length)
6129 (todo-make-categories-list, todo-mode-external-set)
6130 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6131 (todo-modes-set-3, todo-multiple-filter-files)
6132 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6133 (todo-read-category, todo-read-date, todo-read-dayname)
6134 (todo-read-file-name, todo-read-time)
6135 (todo-reevaluate-category-completions-files-defcustom)
6136 (todo-reevaluate-default-file-defcustom)
6137 (todo-reevaluate-filelist-defcustoms)
6138 (todo-reevaluate-filter-files-defcustom)
6139 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6140 (todo-reset-done-separator, todo-reset-done-separator-string)
6141 (todo-reset-done-string, todo-reset-global-current-todo-file)
6142 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6143 (todo-reset-prefix, todo-set-categories)
6144 (todo-set-date-from-calendar, todo-set-show-current-file)
6145 (todo-set-top-priorities, todo-short-file-name)
6146 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6147 (todo-total-item-counts, todo-update-buffer-list)
6148 (todo-update-categories-display, todo-update-categories-sexp)
6149 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6150 New functions.
6151 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6152 New major modes.
6153 (todo-categories, todo-display, todo-edit, todo-faces)
6154 (todo-filtered): New defgroups.
6155 (todo-archived-only, todo-button, todo-category-string, todo-date)
6156 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6157 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6158 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6159 (todo-add-item-if-new-category, todo-always-add-time-string)
6160 (todo-categories-align, todo-categories-archived-label)
6161 (todo-categories-category-label, todo-categories-diary-label)
6162 (todo-categories-done-label, todo-categories-number-separator)
6163 (todo-categories-todo-label, todo-categories-totals-label)
6164 (todo-category-completions-files, todo-completion-ignore-case)
6165 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6166 (todo-done-separator-string, todo-done-string)
6167 (todo-files-function, todo-filter-done-items, todo-filter-files)
6168 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6169 (todo-initial-category, todo-initial-file, todo-item-mark)
6170 (todo-legacy-date-time-regexp, todo-mode-line-function)
6171 (todo-nondiary-marker, todo-number-prefix)
6172 (todo-print-buffer-function, todo-show-current-file)
6173 (todo-show-done-only, todo-show-first, todo-show-with-done)
6174 (todo-skip-archived-categories, todo-top-priorities-overrides)
6175 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6176 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6177 New defcustoms.
6178 (todo-category-done, todo-date-pattern, todo-date-string-start)
6179 (todo-diary-items-buffer, todo-done-string-start)
6180 (todo-filtered-items-buffer, todo-item-start)
6181 (todo-month-abbrev-array, todo-month-name-array)
6182 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6183 (todo-top-priorities-buffer): New defconsts.
6184 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6185 (todo-categories-with-marks, todo-category-string-face)
6186 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6187 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6188 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6189 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6190 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6191 (todo-font-lock-keywords, todo-global-current-todo-file)
6192 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6193 (todo-insertion-commands-args)
6194 (todo-insertion-commands-args-genlist)
6195 (todo-insertion-commands-names, todo-insertion-map)
6196 (todo-key-bindings-t, todo-key-bindings-t+a)
6197 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6198 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6199 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6200 (todo-visited): New variables.
6201
6202 2013-06-21 Glenn Morris <rgm@gnu.org>
6203
6204 * play/cookie1.el (cookie-apropos): Add optional display argument.
6205 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6206 (psychoanalyze-pinhead): Use cookie-doctor.
6207
6208 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6209
6210 * emacs-lisp/package.el (tar-get-file-descriptor)
6211 (tar--extract): Declare.
6212
6213 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6214
6215 Extend flymake's warning predicate to be a function (bug#14217).
6216 * progmodes/flymake.el (flymake-warning-predicate): New.
6217 (flymake-parse-line): Use it.
6218 (flymake-warning-re): Make obsolete alias to
6219 `flymake-warning-predicate'.
6220
6221 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6224 (package-obsolete-list): Remove.
6225 (package-activate): Remove min-version argument. Add `force' argument.
6226 Adjust to new package-alist format.
6227 (package-mark-obsolete): Remove.
6228 (package-unpack): Force reload of the package's autoloads.
6229 (package-installed-p): Check builtins if the installed package is not
6230 recent enough.
6231 (package-initialize): Don't reset package-obsolete-list.
6232 Don't specify which package version to activate.
6233 (package-process-define-package, describe-package-1)
6234 (package-menu--generate): Adjust to new package-alist format.
6235
6236 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * allout-widgets.el (allout-widgets-mode-off)
6239 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6240 (allout-widgets-post-command-business)
6241 (allout-widgets-after-copy-or-kill-function)
6242 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6243 (allout-decorate-item-and-context)
6244 (allout-graphics-modification-handler): Fix typos in docstrings.
6245 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6246
6247 * cmuscheme.el (scheme-start-file): Doc fix.
6248 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6249 (scheme-input-filter): Use `string-match-p'.
6250
6251 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6252
6253 * dired-x.el: Use Dired consistently in docstrings.
6254
6255 * dired.el: Use Dired consistently in docstrings.
6256 (dired-readin, dired-mode): Use `setq-local'.
6257 (dired-switches-alist): Make defvar-local.
6258 (dired-buffers-for-dir): Use `zerop'.
6259 (dired-safe-switches-p, dired-switches-escape-p)
6260 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6261 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6262 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6263 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6264 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6265 (dired-toggle-marks, dired-mark-files-containing-regexp)
6266 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6267 (dired-flag-auto-save-files, dired-flag-backup-files):
6268 Use `looking-at-p'.
6269 (dired-mark-files-regexp, dired-build-subdir-alist):
6270 Use `string-match-p', `looking-at-p'.
6271
6272 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6273 (direct-print-region-helper): Use `string-match-p'.
6274
6275 2013-06-21 Leo Liu <sdl.web@gmail.com>
6276
6277 * comint.el (comint-redirect-results-list-from-process):
6278 Fix infinite loop.
6279
6280 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6281
6282 * net/eww.el (eww-update-header-line-format): Quote % characters.
6283
6284 2013-06-21 Glenn Morris <rgm@gnu.org>
6285
6286 * play/cookie1.el (cookie): New custom group.
6287 (cookie-file): New option.
6288 (cookie-check-file): New function.
6289 (cookie): Make it interactive. Make start and end messages optional.
6290 Interactively, display the result. Default to cookie-file.
6291 (cookie-insert): Default to cookie-file.
6292 (cookie-snarf): Make start and end messages optional.
6293 Default to cookie-file. Use with-temp-buffer.
6294 (cookie-read): Rename from read-cookie.
6295 Make start and end messages optional. Default to cookie-file.
6296 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6297 Do not autoload it.
6298 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6299 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6300
6301 2013-06-21 Leo Liu <sdl.web@gmail.com>
6302
6303 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6304
6305 2013-06-21 Glenn Morris <rgm@gnu.org>
6306
6307 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6308
6309 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6310 Daniel Hackney <dan@haxney.org>
6311
6312 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6313 Consolidate the single-file vs tarball code.
6314 (package-desc-suffix): New function.
6315 (package-desc-full-name): Don't bother inlining it.
6316 (package-load-descriptor): Return the new package-desc.
6317 (package-mark-obsolete): Remove unused arg `package'.
6318 (package-unpack): Make it work for single files as well.
6319 Make it update package-alist.
6320 (package--make-autoloads-and-stuff): Rename from
6321 package--make-autoloads-and-compile. Don't compile any more.
6322 (package--compile): New function.
6323 (package-generate-description-file): New function, extracted from
6324 package-unpack-single.
6325 (package-unpack-single): Remove.
6326 (package--with-work-buffer): Add indentation and debugging info.
6327 (package-download-single): Remove.
6328 (package-install-from-archive): Rename from package-download-tar, make
6329 it take a pkg-desc, and make it work for single files as well.
6330 (package-download-transaction): Simplify.
6331 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6332 external tar program.
6333 (package-install-from-buffer): Remove `pkg-desc' argument.
6334 Use package-tar-file-info for tar-mode buffers.
6335 (package-install-file): Simplify accordingly.
6336 (package-archive-base): Change to take a pkg-desc.
6337 * tar-mode.el (tar--check-descriptor): New function, extracted from
6338 tar-get-descriptor.
6339 (tar-get-descriptor): Use it.
6340 (tar-get-file-descriptor): New function.
6341 (tar--extract): New function, extracted from tar-extract.
6342 (tar--extract): Use it.
6343 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6344 case the summary uses non-ascii. Adjust to new calling convention of
6345 package-tar-file-info.
6346
6347 2013-06-21 Leo Liu <sdl.web@gmail.com>
6348
6349 * comint.el (comint-redirect-results-list-from-process):
6350 Fix random delay. (Bug#14681)
6351
6352 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6353
6354 * profiler.el (profiler-format-number): Use log, not log10.
6355
6356 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6359
6360 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6363 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6364 yet available.
6365 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6366 (AUTOGENEL): ... here.
6367 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6368 (cl--defsubst-expand): Use it.
6369
6370 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6371
6372 * subr.el (log10): Move here from C code, and declare as obsolete.
6373 All uses of (log10 X) replaced with (log X 10).
6374
6375 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6378 Declare with `defvar-local'.
6379 (tabulated-list-use-header-line, tabulated-list-entries)
6380 (tabulated-list-padding, tabulated-list-printer)
6381 (tabulated-list-sort-key): Declare with `defvar-local'.
6382 (tabulated-list-init-header, tabulated-list-print-fake-header):
6383 Use `setq-local'.
6384
6385 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6386
6387 * arc-mode.el (archive-mode): Add `archive-write-file' to
6388 `write-contents-functions' also for remote files. (Bug#14652)
6389
6390 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6391
6392 * cus-edit.el (custom-commands): Fix typos.
6393 (custom-display): Fix tooltip text.
6394 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6395 Fix typos in docstrings.
6396 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6397 (custom-unlispify-menu-entry, custom-magic-value-create)
6398 (custom-add-see-also, custom-group-value-create): Use ?\s.
6399 (custom-guess-type, customize-apropos, editable-field)
6400 (custom-face-value-create): Use `string-match-p'.
6401 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6402
6403 * custom.el (custom-load-symbol): Use `string-match-p'.
6404
6405 * ansi-color.el: Convert to lexical binding.
6406 (ansi-colors): Fix URL.
6407 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6408 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6409 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6410
6411 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6412
6413 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6414
6415 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6416
6417 2013-06-19 Tom Tromey <tromey@redhat.com>
6418
6419 * net/eww.el (eww-top-url): Remove.
6420 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6421 (eww-render): Set new variables. Don't set eww-top-url.
6422 (eww-handle-link): Handle "prev", "home", and "contents".
6423 Downcase the rel text.
6424 (eww-top-url): Choose best top URL.
6425
6426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427
6428 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6429 relying in widget.el. Using widget.el leads to too many
6430 user interface inconsistencies.
6431 (eww-self-insert): Implement entering commands in text fields.
6432 (eww-process-text-input): New function to make text input field editing
6433 work.
6434 (eww-submit): Rewrite to use the new-style form methods.
6435 (eww-select-display): Display the correct selected item.
6436 (eww-change-select): Implement changing the select value.
6437 (eww-toggle-checkbox): Implement radio/checkboxes.
6438 (eww-update-field): Fix compilation error.
6439 (eww-tag-textarea): Implement <textarea>.
6440
6441 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6442 we don't shadow mode-specific bindings.
6443
6444 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6445 nothing to push.
6446
6447 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6448
6449 2013-06-19 Glenn Morris <rgm@gnu.org>
6450
6451 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6452
6453 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6454
6455 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6456 not needed.
6457
6458 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6459
6460 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6461
6462 * net/browse-url.el (browse-url-browser-function):
6463 `eww-browse-url' has the right calling signature, `eww' does not.
6464
6465 2013-06-19 Glenn Morris <rgm@gnu.org>
6466
6467 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6468 Only eval autoloaded macros.
6469 (byte-compile-autoload): Only give the macro warning for macros.
6470
6471 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6472 (ps-underlined-faces): Declare.
6473
6474 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6475 (speedbar-add-supported-extension): Declare.
6476
6477 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6478 Don't include a date stamp in the header of the generated file;
6479 it leads to needless differences between output files.
6480
6481 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6482
6483 * net/secrets.el (secrets-struct-secret-content-type):
6484 Replace check of introspection data by a test call of "CreateItem".
6485 Some servers do not offer introspection.
6486
6487 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * electric.el (electric-pair-mode): Improve interaction with
6490 electric-layout-mode.
6491 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6492 (electric-pair-syntax): Use text-mode-syntax-table in comments
6493 and strings.
6494 (electric-pair--insert): New function.
6495 (electric-pair-post-self-insert-function): Use it and
6496 electric--after-char-pos.
6497
6498 2013-06-19 Leo Liu <sdl.web@gmail.com>
6499
6500 * progmodes/octave.el (octave-help): Fix regexp.
6501
6502 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6503
6504 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6505 (shr-table-horizontal-line): Allow nil as a value, and change the
6506 default.
6507 (shr-insert-table-ruler): Respect the nil value.
6508
6509 2013-06-18 Tom Tromey <tromey@barimba>
6510
6511 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6512 New defvars.
6513 (eww-open-file): New defun.
6514 (eww-render): Initialize new variables.
6515 (eww-display-html): Handle "link" and "a".
6516 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6517 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6518 (eww-back-url): Rename from eww-previous-url.
6519 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6520 New defuns.
6521
6522 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6523
6524 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6525 Distinguish ternary operator tokens from slash symbol and slash
6526 char literal.
6527
6528 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6529
6530 Convert symbol prettification into minor mode and global minor mode.
6531
6532 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6533 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6534 (prettify-symbols--keywords): Rename from
6535 `prog-prettify-symbols-alist' and make a local defvar.
6536 (prettify-symbols--compose-symbol): Rename from
6537 `prog--prettify-font-lock-compose-symbol'.
6538 (prettify-symbols--make-keywords): Rename from
6539 `prog-prettify-font-lock-symbols-keywords' and simplify.
6540 (prog-prettify-install): Remove.
6541 (prettify-symbols-mode): New minor mode, based on
6542 `prog-prettify-install'.
6543 (turn-on-prettify-symbols-mode): New function.
6544 (global-prettify-symbols-mode): New globalized minor mode.
6545
6546 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6547 * progmodes/cfengine.el (cfengine3-mode):
6548 * progmodes/perl-mode.el (perl-mode): Don't call
6549 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6550
6551 2013-06-18 Juri Linkov <juri@jurta.org>
6552
6553 * files-x.el (modify-file-local-variable-message): New function.
6554 (modify-file-local-variable)
6555 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6556 and call `modify-file-local-variable-message' when it's non-nil.
6557 (add-file-local-variable, delete-file-local-variable)
6558 (add-file-local-variable-prop-line)
6559 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6560 and use it. (Bug#9820)
6561
6562 2013-06-18 Juri Linkov <juri@jurta.org>
6563
6564 * emulation/vi.el (vi-shell-op):
6565 * emulation/vip.el (vip-execute-com, ex-command):
6566 * emulation/viper-cmd.el (viper-exec-bang):
6567 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6568 the call of `shell-command-on-region'. (Bug#14637)
6569
6570 * simple.el (shell-command-on-region): Doc fix.
6571
6572 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6573
6574 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6575 (bug#14633).
6576
6577 2013-06-18 Glenn Morris <rgm@gnu.org>
6578
6579 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6580
6581 * newcomment.el (comment-search-forward, comment-search-backward):
6582 Doc fix. (Bug#14376)
6583
6584 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6585
6586 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6587 (buffer-face-mode-invoke): Doc fix.
6588
6589 2013-06-18 Matthias Meulien <orontee@gmail.com>
6590
6591 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6592 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6593
6594 2013-06-18 Glenn Morris <rgm@gnu.org>
6595
6596 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6597 Replace obsolete function generic-make-keywords with its expansion.
6598
6599 * progmodes/python.el (ffap-alist): Declare.
6600
6601 * textmodes/reftex.el (bibtex-mode-map): Declare.
6602
6603 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6606 (package-unpack, package-unpack-single): Return the pkg-dir.
6607 (package-download-transaction): Use it to update package-alist.
6608
6609 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6610
6611 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6612 possible choice.
6613
6614 2013-06-17 Juri Linkov <juri@jurta.org>
6615
6616 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6617
6618 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6619
6620 * emacs-lisp/package.el (package-load-descriptor):
6621 Remove `with-syntax-table' call, `read' doesn't need it.
6622 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6623
6624 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6625
6626 * startup.el (command-line): Expand package name returned by
6627 `package--description-file' (bug#14639).
6628
6629 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6630
6631 * emacs-lisp/package.el (package-load-descriptor): Do not call
6632 `emacs-lisp-mode', just use its syntax table.
6633
6634 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6635
6636 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6637 `font-lock-extra-managed-props' if any prettifying keyword is added.
6638 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6639 (prog-mode): Use `setq-local'.
6640
6641 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * international/characters.el (standard-case-table): Set syntax of ?»
6644 and ?« to punctuation.
6645
6646 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6647
6648 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6649 Save relevant match data before calling `syntax-ppss' (bug#14595).
6650
6651 2013-06-15 Juri Linkov <juri@jurta.org>
6652
6653 * files-x.el (modify-file-local-variable-prop-line): Add local
6654 variables to the end of the existing comment on the first line.
6655 Use `file-auto-mode-skip' to skip interpreter magic line,
6656 and also skip XML declaration.
6657
6658 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * startup.el (package--builtin-versions): New var.
6661 (package-subdirectory-regexp): Remove.
6662 (package--description-file): Hard code its value instead.
6663
6664 * emacs-lisp/package.el: Don't activate packages older than builtin.
6665 (package-obsolete-list): Rename from package-obsolete-alist, and make
6666 it into a simple list of package-desc.
6667 (package-strip-version): Remove.
6668 (package-built-in-p): Use package--builtin-versions.
6669 (package-mark-obsolete): Simplify.
6670 (package-process-define-package): Mark it obsolete if older than the
6671 builtin version.
6672 (package-handle-response): Use line-end-position.
6673 (package-read-archive-contents, package--download-one-archive):
6674 Simplify.
6675 (package--add-to-archive-contents): Skip if older than the builtin or
6676 installed version.
6677 (package-menu-describe-package): Fix last change.
6678 (package-list-unversioned): New var.
6679 (package-menu--generate): Use it.
6680
6681 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6682 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6683 (autoload-builtin-package-versions): New variable.
6684 (autoload-generate-file-autoloads): Use them.
6685 Remove the list of autoloaded functions/macros from the
6686 (autoload...) comments.
6687
6688 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6689
6690 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6691
6692 * simple.el (line-move-partial): Don't jump to the next screen
6693 line as soon as it becomes visible. Instead, continue enlarging
6694 the vscroll until the portion of a tall screen line that's left on
6695 display is about the height of the frame's default font.
6696 (Bug#14567)
6697
6698 2013-06-15 Glenn Morris <rgm@gnu.org>
6699
6700 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6701 compilation-error-regexp-alist void, or local while let-bound.
6702
6703 * progmodes/make-mode.el (makefile-mode-syntax-table):
6704 Treat "=" as punctuation. (Bug#14614)
6705
6706 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6707
6708 * help-fns.el (describe-variable):
6709 Add extra line for permanent-local variables.
6710
6711 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6712
6713 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6714 Add export, import, library. (Bug#9164)
6715 (library): Set indent function.
6716
6717 2013-06-14 Glenn Morris <rgm@gnu.org>
6718
6719 * term/xterm.el (xterm--query):
6720 Stop after first matching handler. (Bug#14615)
6721
6722 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6723
6724 Add support for dired in saveplace.
6725 * dired.el (dired-initial-position-hook): New variable.
6726 (dired-initial-position): Call hook to place cursor position.
6727 * saveplace.el (save-place-to-alist): Add dired position.
6728 (save-place-dired-hook): New function.
6729
6730 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6733 through a symbol rather than letrec.
6734
6735 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6736 (package-desc): Add `dir' field.
6737 (package-desc-full-name): New function.
6738 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6739 (package-maybe-load-descriptor): Remove.
6740 (package-load-all-descriptors): Just call package-load-descriptor.
6741 (package--disabled-p): New function.
6742 (package-desc-vers, package-desc-doc): Remove aliases.
6743 (package--dir): Remove function.
6744 (package-activate): Check if a package is disabled.
6745 (package-process-define-package): New function, extracted from
6746 define-package.
6747 (define-package): Turn into a place holder.
6748 (package-unpack-single, package-tar-file-info):
6749 Use package--description-file.
6750 (package-compute-transaction): Use package--disabled-p.
6751 (package-download-transaction): Don't call
6752 package-maybe-load-descriptor since they're all loaded anyway.
6753 (package-install): Change argument to be a pkg-desc.
6754 (package-delete): Use a single pkg-desc argument.
6755 (describe-package-1): Use package-desc-dir instead of package--dir.
6756 Use package-desc property instead of package-symbol.
6757 (package-install-button-action): Adjust accordingly.
6758 (package--push): Rewrite.
6759 (package-menu--print-info): Adjust accordingly. Change the ID format
6760 to be a pkg-desc.
6761 (package-menu-describe-package, package-menu-get-status)
6762 (package-menu--find-upgrades, package-menu-mark-upgrades)
6763 (package-menu-execute, package-menu--name-predicate):
6764 Adjust accordingly.
6765 * startup.el (package--description-file): New function.
6766 (command-line): Use it.
6767 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6768 Use package-desc-version.
6769
6770 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6771 (byte-compile-preprocess): Use it.
6772 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6773 can't quite recognize.
6774 (byte-compile-add-to-list): Remove.
6775 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6776 (cconv-closure-convert): Add assertion.
6777
6778 * emacs-lisp/map-ynp.el: Use lexical-binding.
6779 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6780 Factor out some repeated code.
6781
6782 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6783
6784 * subr.el (with-eval-after-load): New macro.
6785 (eval-after-load): Allow form to be a function.
6786 take advantage of lexical-binding.
6787 (do-after-load-evaluation): Use dolist and adjust to new format.
6788 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6789
6790 2013-06-13 Juri Linkov <juri@jurta.org>
6791
6792 * replace.el (perform-replace): Display "symbol " and other search
6793 modes from `isearch-message-prefix' in the *Help* buffer.
6794
6795 * isearch.el (isearch-query-replace): Add " symbol" and other
6796 possible search modes from `isearch-message-prefix' to the prompt.
6797 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6798 when reading a regexp to collect.
6799
6800 2013-06-13 Juri Linkov <juri@jurta.org>
6801
6802 * isearch.el (word-search-regexp): Match whitespace if the search
6803 string begins or ends in whitespace. The LAX arg is applied to
6804 both ends of the search string. Use `regexp-quote' and explicit
6805 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6806 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6807 boundaries are replaced with symbol boundaries, and characters
6808 between symbols match non-word non-symbol syntax. (Bug#14602)
6809
6810 2013-06-13 Juri Linkov <juri@jurta.org>
6811
6812 * isearch.el (isearch-del-char): Don't exceed the length of
6813 `isearch-string' by the prefix arg. (Bug#14563)
6814
6815 2013-06-13 Juri Linkov <juri@jurta.org>
6816
6817 * isearch.el (isearch-yank-word, isearch-yank-line)
6818 (isearch-char-by-name, isearch-quote-char)
6819 (isearch-printing-char, isearch-process-search-char):
6820 Add optional count prefix arg. (Bug#14563)
6821
6822 * international/isearch-x.el
6823 (isearch-process-search-multibyte-characters):
6824 Add optional count prefix arg.
6825
6826 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6827
6828 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6829 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6830 lexical-binding.
6831
6832 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6833
6834 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6835
6836 2013-06-13 Glenn Morris <rgm@gnu.org>
6837
6838 * startup.el (tty-handle-args):
6839 Don't just discard "--" and anything after. (Bug#14608)
6840
6841 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6842
6843 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6844
6845 Implement changes in Secret Service API. Make it backward compatible.
6846 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6847 (secrets-create-item): Use it. Prefix properties with interface.
6848
6849 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6850
6851 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6852 (term-emulate-terminal): Respect term-suppress-hard-newline.
6853
6854 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6855
6856 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6857 Only remove a `thumb-file' overlay. (Bug#14548)
6858
6859 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6860
6861 * mail/reporter.el (reporter-submit-bug-report):
6862 Handle missing package-name. (Bug#14600)
6863
6864 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6865
6866 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6867 (reftex-citation-prompt, reftex-default-bibliography)
6868 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6869 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6870 (reftex-bib-sort-author, reftex-bib-sort-year)
6871 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6872 (reftex-extract-bib-entries-from-thebibliography)
6873 (reftex-get-bibkey-default, reftex-get-bib-names)
6874 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6875 (reftex-format-bib-entry, reftex-parse-bibitem)
6876 (reftex-format-bibitem, reftex-do-citation)
6877 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6878 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6879 (reftex-insert-bib-matches, reftex-format-citation)
6880 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6881 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6882 existing comments into docstrings.
6883
6884 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6885
6886 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6887
6888 2013-06-12 Andreas Schwab <schwab@suse.de>
6889
6890 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6891 for auto-save files.
6892
6893 2013-06-12 Glenn Morris <rgm@gnu.org>
6894
6895 * ido.el (ido-delete-ignored-files): Remove.
6896 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6897 Go back to calling ido-ignore-item-p directly.
6898
6899 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6900
6901 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6902
6903 * ido.el (ido-delete-ignored-files): New function,
6904 split from ido-make-file-list-1.
6905 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6906 (ido-make-file-list-1): Use ido-delete-ignored-files.
6907
6908 2013-06-12 Leo Liu <sdl.web@gmail.com>
6909
6910 * progmodes/octave.el (inferior-octave-startup)
6911 (inferior-octave-completion-table)
6912 (inferior-octave-track-window-width-change)
6913 (octave-eldoc-function-signatures, octave-help)
6914 (octave-find-definition): Use single quoted strings.
6915 (inferior-octave-startup-args): Change default value.
6916 (inferior-octave-startup): Do not hard code "-i" and
6917 "--no-line-editing".
6918 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6919 (inferior-octave-directory-tracker): Use it.
6920 (octave-goto-function-definition): Robustify.
6921 (octave-help): Support highlighting operators in 'See also'.
6922 (octave-find-definition): Find subfunctions only in Octave mode.
6923
6924 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * help-fns.el (help-fns--compiler-macro): If the handler function is
6927 named, then put a link to it.
6928 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6929 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6930 (cl-typep): Use it.
6931 (cl-eval-when): Simplify debug spec.
6932 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6933 compiler-macro function instead of setting `compiler-macro-file'.
6934
6935 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6936
6937 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6938 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6939
6940 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6941 Daniel Hackney <dan@haxney.org>
6942
6943 First part of Daniel Hackney's patch to package.el.
6944 * emacs-lisp/package.el: Use defstruct.
6945 (package-desc): New, main struct.
6946 (package--bi-desc, package--ac-desc): New structs, used to describe the
6947 format in external files.
6948 (package-desc-vers): Replace with package-desc-version accessor.
6949 (package-desc-doc): Replace with package-desc-summary accessor.
6950 (package-activate-1): Remove `package' arg since the pkg-vec now
6951 includes the name.
6952 (define-package): Use package-desc-from-define.
6953 (package-unpack-single): Change file-name arg to be a symbol.
6954 (package--add-to-archive-contents): Use package-desc-create and new
6955 accessor functions to package--ac-desc.
6956 (package-buffer-info, package-tar-file-info): Return a package-desc.
6957 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6958 arg to be a package-desc.
6959 (package-install-file): Adjust accordingly. Use \' to match EOS.
6960 (package--from-builtin): New function.
6961 (describe-package-1, package-menu--generate): Use it.
6962 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6963 (package-generate-autoloads): Idem and return the name of the file.
6964 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6965 Change pkg-info arg to be a package-desc.
6966 Use package-make-ac-desc.
6967 (package-upload-file): Use \' to match EOS.
6968 * finder.el (finder-compile-keywords): Use package-make-builtin.
6969
6970 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * vc/vc.el (vc-deduce-fileset): Change error message.
6973 (vc-read-backend): New function.
6974 (vc-next-action): Use it.
6975
6976 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6977
6978 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6979 (prolog-font-lock-keywords): Use regexp-opt instead.
6980 Don't manually highlight strings.
6981 (prolog-mode-variables): Simplify comment-start-skip.
6982 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6983
6984 * emacs-lisp/generic.el (generic--normalise-comments)
6985 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6986 (generic-mode-set-comments): Use them.
6987 (generic-bracket-support): Use setq-local.
6988 (generic-make-keywords-list): Declare obsolete.
6989
6990 2013-06-11 Glenn Morris <rgm@gnu.org>
6991
6992 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6993 Prettify after setting font-lock-defaults. (Bug#14574)
6994
6995 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6996
6997 * replace.el (query-replace, occur-read-regexp-defaults-function)
6998 (replace-search):
6999 * subr.el (declare-function, number-sequence, local-set-key)
7000 (substitute-key-definition, locate-user-emacs-file)
7001 (with-silent-modifications, split-string, eval-after-load):
7002 Fix typos, remove unneeded backslashes and reflow some docstrings.
7003
7004 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7007 default for Elisp files.
7008
7009 2013-06-11 Glenn Morris <rgm@gnu.org>
7010
7011 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7012 although define-derived-mode was doing this anyway. (Bug#14583)
7013
7014 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7017 Fix make-variable-buffer-local call to refer to the correct variable.
7018
7019 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7020
7021 * eshell/em-term.el (eshell-visual-commands)
7022 (eshell-visual-subcommands, eshell-visual-options):
7023 Add summary line to docstrings. Add cross-references.
7024
7025 2013-06-10 Glenn Morris <rgm@gnu.org>
7026
7027 * epa.el (epa-read-file-name): New function. (Bug#14510)
7028 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7029
7030 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7031
7032 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7033 output redirection to be ignored with visual commands.
7034
7035 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7036
7037 * eshell/em-term.el (eshell-visual-command-p): New function.
7038 (eshell-term-initialize): Move long lambda to separate function
7039 eshell-visual-command-p.
7040 * eshell/em-dirs.el (eshell-dirs-initialise):
7041 * eshell/em-script.el (eshell-script-initialize):
7042 Add missing #' to lambda.
7043
7044 2013-06-08 Leo Liu <sdl.web@gmail.com>
7045
7046 * progmodes/octave.el (octave-add-log-current-defun): New function.
7047 (octave-mode): Set add-log-current-defun-function.
7048 (octave-goto-function-definition): Do not move point if not found.
7049 (octave-find-definition): Enhance to try subfunctions first.
7050
7051 2013-06-08 Glenn Morris <rgm@gnu.org>
7052
7053 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7054 (byte-compile-backward-char, byte-compile-backward-word):
7055 Improve previous change, to handle non-explicit nil.
7056
7057 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7058
7059 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7060 (smie--opener/closer-at-point): New function.
7061 (smie--matching-block-data): Use it. Don't match from right after an
7062 opener or right before a closer. Obey smie-blink-matching-inners.
7063 Don't signal a mismatch for repeated inners like "switch..case..case".
7064
7065 2013-06-07 Leo Liu <sdl.web@gmail.com>
7066
7067 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7068 to t. (Bug#14303)
7069 (octave-function-header-regexp): Fix. (Bug#14570)
7070 (octave-help-mode-finish-hook, octave-help-mode-finish):
7071 Remove. Just use temp-buffer-show-hook.
7072
7073 * newcomment.el (comment-search-backward): Revert last change.
7074 (Bug#14434)
7075
7076 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7077
7078 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7079
7080 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7081 through xargs, to avoid failure due to MS-Windows limitations on
7082 command-line length.
7083
7084 2013-06-06 Glenn Morris <rgm@gnu.org>
7085
7086 * font-lock.el (lisp-font-lock-keywords-2):
7087 Treat user-error like error.
7088
7089 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7090 (byte-compile-backward-char, byte-compile-backward-word):
7091 Handle explicit nil arguments. (Bug#14565)
7092
7093 2013-06-05 Alan Mackenzie <acm@muc.de>
7094
7095 * isearch.el (isearch-allow-prefix): New user option.
7096 (isearch-other-meta-char): Don't exit isearch when a prefix
7097 argument is typed whilst `isearch-allow-prefix' is non-nil.
7098 (Bug#9706)
7099
7100 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * autorevert.el (auto-revert-notify-handler): Use memq.
7103 Hide assertion failure.
7104
7105 * skeleton.el: Use cl-lib.
7106 (skeleton-further-elements): Use defvar-local.
7107 (skeleton-insert): Use cl-progv.
7108
7109 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7110
7111 * progmodes/prog-mode.el (prog-prettify-symbols)
7112 (prog-prettify-install): Update docstrings.
7113
7114 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * simple.el: Move all the prog-mode code to prog-mode.el.
7117 * progmodes/prog-mode.el: New file.
7118 * loadup.el: Add prog-mode.el.
7119
7120 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7121
7122 * simple.el (prog-prettify-symbols): Add version.
7123 (prog-prettify-install): Add convenience function to prettify symbols.
7124
7125 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7126 (perl--augmented-font-lock-keywords-1)
7127 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7128 variables and use it.
7129
7130 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7131 (cfengine3-mode): Remove unneeded variable and use it.
7132
7133 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7134 (lisp--augmented-font-lock-keywords-1)
7135 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7136 Remove unneeded variables and use it.
7137
7138 2013-06-05 João Távora <joaotavora@gmail.com>
7139
7140 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7141 to point when opening the connection. (Bug#14380)
7142
7143 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7144
7145 * subr.el (load-history-regexp, load-history-filename-element)
7146 (eval-after-load, after-load-functions, do-after-load-evaluation)
7147 (eval-next-after-load, display-delayed-warnings)
7148 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7149 definition of save-match-data.
7150 (overriding-local-map): Remove accidental obsolescence declaration.
7151
7152 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7153
7154 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7155
7156 Generalize symbol prettify support to prog-mode and implement it
7157 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7158 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7159 (prog--prettify-font-lock-compose-symbol)
7160 (prog-prettify-font-lock-symbols-keywords): New variables and
7161 functions to support symbol prettification.
7162 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7163 (lisp--augmented-font-lock-keywords-1)
7164 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7165 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7166 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7167 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7168 Implement prettify of -> => :: strings.
7169 * progmodes/perl-mode.el (perl-prettify-symbols)
7170 (perl--font-lock-compose-symbol)
7171 (perl--font-lock-symbols-keywords): Move to prog-mode.
7172 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7173 (perl-font-lock-keywords-1)
7174 (perl-font-lock-keywords-2): Remove explicit prettify support.
7175 (perl--augmented-font-lock-keywords)
7176 (perl--augmented-font-lock-keywords-1)
7177 (perl--augmented-font-lock-keywords-2, perl-mode):
7178 Implement prettify support.
7179
7180 2013-06-05 Leo Liu <sdl.web@gmail.com>
7181
7182 Re-implement smie matching block highlight using
7183 show-paren-data-function. (Bug#14395)
7184 * emacs-lisp/smie.el (smie-matching-block-highlight)
7185 (smie--highlight-matching-block-overlay)
7186 (smie--highlight-matching-block-lastpos)
7187 (smie-highlight-matching-block)
7188 (smie-highlight-matching-block-mode): Remove.
7189 (smie--matching-block-data-cache): New variable.
7190 (smie--matching-block-data): New function.
7191 (smie-setup): Use smie--matching-block-data for
7192 show-paren-data-function.
7193
7194 * progmodes/octave.el (octave-mode-menu): Fix.
7195 (octave-find-definition): Skip garbage lines.
7196
7197 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7198
7199 Fix compilation error with simultaneous dynamic+lexical scoping.
7200 Add warning when a defvar appears after the first let-binding.
7201 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7202 (byte-compile-close-variables): Initialize it.
7203 (byte-compile--declare-var): New function.
7204 (byte-compile-file-form-defvar)
7205 (byte-compile-file-form-define-abbrev-table)
7206 (byte-compile-file-form-custom-declare-variable): Use it.
7207 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7208 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7209 (byte-compile-bind): Handle dynamic bindings that shadow
7210 lexical bindings.
7211 (byte-compile-unbind): Make arg non-optional.
7212 (byte-compile-let): Simplify.
7213 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7214 (cconv--analyse-function, cconv-analyse-form): Populate it.
7215 Protect byte-compile-bound-variables to limit the scope of defvars.
7216 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7217 Remove unneeded rule for `declare'.
7218
7219 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7220 so as to avoid depending on cl-adjoin at run-time.
7221 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7222
7223 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7224 (macroexp--warn-and-return): Use it.
7225
7226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * lisp/subr.el: Convert to lexical binding.
7229 (overriding-local-map): Make obsolete.
7230 (add-to-list): Doc fix. Add compiler macro.
7231 (read-key): Swap values of local maps.
7232
7233 2013-06-05 Leo Liu <sdl.web@gmail.com>
7234
7235 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7236
7237 2013-06-04 Leo Liu <sdl.web@gmail.com>
7238
7239 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7240 (compilation-auto-jump): Suppress the "Mark set" message to give
7241 way to exit message.
7242
7243 2013-06-04 Alan Mackenzie <acm@muc.de>
7244
7245 Remove faulty optimisation from indentation calculation.
7246 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7247 search limit based on 2000 characters back from indent-point.
7248
7249 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7250
7251 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7252
7253 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * emacs-lisp/lisp.el: Use lexical-binding.
7256 (lisp--local-variables-1, lisp--local-variables): New functions.
7257 (lisp--local-variables-completion-table): New var.
7258 (lisp-completion-at-point): Use it complete let-bound vars.
7259
7260 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7261 eagerly (bug#14422).
7262
7263 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * autorevert.el (auto-revert-notify-enabled)
7266 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7267 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7268 (auto-revert-notify-handler): Handle also gfilenotify.
7269
7270 * subr.el (file-notify-handle-event): New defun. Replacing ...
7271 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7272 Remove.
7273
7274 2013-06-03 Juri Linkov <juri@jurta.org>
7275
7276 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7277 `M-s h .'. (Bug#14427)
7278
7279 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7280 command `hi-lock-face-symbol-at-point'.
7281 (hi-lock-face-symbol-at-point): New command.
7282 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7283 (hi-lock-menu): Add `highlight-symbol-at-point'.
7284 (hi-lock-mode): Doc fix.
7285
7286 * isearch.el (isearch-forward-symbol-at-point): New command.
7287 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7288 (isearch-highlight-regexp): Add a regexp which matches
7289 words/symbols for word/symbol mode.
7290
7291 * subr.el (find-tag-default-bounds): New function with the body
7292 mostly moved from `find-tag-default'.
7293 (find-tag-default): Move most code to `find-tag-default-bounds',
7294 call it and apply `buffer-substring-no-properties' afterwards.
7295
7296 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7297
7298 * eshell/em-term.el (eshell-term-initialize):
7299 Use `cl-intersection' rather than `intersection'.
7300
7301 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7302
7303 * vc/log-view.el: Doc fix.
7304 (log-view-mode-map): Copy keymap from `special-mode-map'.
7305
7306 2013-06-02 Eric Ludlam <zappo@gnu.org>
7307
7308 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7309 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7310 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7311 (eieio-unbound, eieio-default-superclass)
7312 (eieio--define-field-accessors, method-static, method-before)
7313 (method-primary, method-after, method-num-lists)
7314 (method-generic-before, method-generic-primary)
7315 (method-generic-after, method-num-slots)
7316 (eieio-specialized-key-to-generic-key)
7317 (eieio--check-type, class-v, class-p)
7318 (eieio-class-name, define-obsolete-function-alias)
7319 (eieio-class-parents-fast, eieio-class-children-fast)
7320 (same-class-fast-p, class-constructor, generic-p)
7321 (generic-primary-only-p, generic-primary-only-one-p)
7322 (class-option-assoc, class-option, eieio-object-p)
7323 (class-abstract-p, class-method-invocation-order)
7324 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7325 (eieio-class-un-autoload, eieio-defclass)
7326 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7327 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7328 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7329 (eieio-defgeneric-reset-generic-form)
7330 (eieio-defgeneric-form-primary-only)
7331 (eieio-defgeneric-reset-generic-form-primary-only)
7332 (eieio-defgeneric-form-primary-only-one)
7333 (eieio-defgeneric-reset-generic-form-primary-only-one)
7334 (eieio-unbind-method-implementations)
7335 (eieio--defmethod, eieio--typep)
7336 (eieio-perform-slot-validation, eieio-validate-slot-value)
7337 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7338 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7339 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7340 (eieio-slot-name-index, eieio-class-slot-name-index)
7341 (eieio-set-defaults, eieio-initarg-to-attribute)
7342 (eieio-attribute-to-initarg, eieio-c3-candidate)
7343 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7344 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7345 (eieio-class-precedence-list, eieio-generic-call-methodname)
7346 (eieio-generic-call-arglst, eieio-generic-call-key)
7347 (eieio-generic-call-next-method-list)
7348 (eieio-pre-method-execution-functions, eieio-generic-call)
7349 (eieio-generic-call-primary-only, eieiomt-method-list)
7350 (eieiomt-optimizing-obarray, eieiomt-install)
7351 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7352 (eieio-generic-form, eieio-defmethod, make-obsolete)
7353 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7354 (defclass): Remove `eval-and-compile' from macro.
7355 (call-next-method, shared-initialize): Instead of using
7356 `scoped-class' variable, use new eieio--scoped-class, and
7357 eieio--with-scoped-class.
7358 (initialize-instance): Rename local variable 'scoped-class' to
7359 'this-class' to remove ambiguitity from old global.
7360
7361 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7362 eieio.el.
7363 (eieio--scoped-class-stack): New variable.
7364 (eieio--scoped-class): New fcn.
7365 (eieio--with-scoped-class): New scoping macro.
7366 (eieio-defclass): Use pushnew instead of add-to-list.
7367 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7368 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7369 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7370 `scoped-class' variable, use new eieio--scoped-class, and
7371 eieio--with-scoped-class.
7372
7373 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7374
7375 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7376
7377 * eshell/esh-ext.el (eshell-external-command): Pass args to
7378 `eshell-find-interpreter'.
7379 (eshell-find-interpreter): Add new second parameter ARGS.
7380
7381 * eshell/em-script.el (eshell-script-initialize): Add second arg
7382 to the function added as MATCH to `eshell-interpreter-alist'.
7383
7384 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7385 the function added as MATCH to `eshell-interpreter-alist'.
7386
7387 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7388 (eshell-visual-options): New defcustom.
7389 (eshell-escape-control-x): Adapt docstring.
7390 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7391 `eshell-visual-options' in addition to `eshell-visual-commands'.
7392 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7393
7394 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7395
7396 * progmodes/python.el (python-indent-block-enders): Add break,
7397 continue and raise keywords.
7398
7399 2013-06-01 Glenn Morris <rgm@gnu.org>
7400
7401 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7402
7403 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7404 * progmodes/cc-cmds.el (delete-forward-p):
7405 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7406 * progmodes/cc-engine.el (buffer-syntactic-context):
7407 * progmodes/cc-fonts.el (face-property-instance):
7408 * progmodes/cc-mode.el (set-keymap-parents):
7409 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7410 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7411 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7412 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7413 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7414
7415 * progmodes/cc-vars.el (other): Emacs has this widget since
7416 at least 21.1, so don't (re)define it.
7417
7418 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7419 Replace the obsolete alias pcomplete-arg-quote-list.
7420
7421 2013-06-01 Leo Liu <sdl.web@gmail.com>
7422
7423 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7424 punctuation syntax.
7425 (inferior-octave-minimal-columns)
7426 (inferior-octave-last-column-width): New variables.
7427 (inferior-octave-track-window-width-change): New function.
7428 (inferior-octave-mode): Adjust column width so that Octave output,
7429 for example from 'ls', can fit into the window nicely.
7430
7431 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7432
7433 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7434 Highlight expansions inside regexp literals.
7435
7436 2013-05-31 Glenn Morris <rgm@gnu.org>
7437
7438 * obsolete/sym-comp.el (symbol-complete):
7439 Replace obsolete completion-annotate-function.
7440
7441 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7442
7443 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7444
7445 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7446 New function, checks if point is inside a literal that allows
7447 expression expansion.
7448 (ruby-syntax-propertize-expansion): Use it.
7449 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7450 around the body.
7451
7452 2013-05-30 Juri Linkov <juri@jurta.org>
7453
7454 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7455 to "\M-si".
7456 (isearch-invisible): New variable.
7457 (isearch-forward): Doc fix.
7458 (isearch-mode): Set `isearch-invisible'
7459 to the value of `search-invisible'.
7460 (isearch-toggle-case-fold): Doc fix.
7461 (isearch-toggle-invisible): New command.
7462 (isearch-query-replace): Let-bind `search-invisible'
7463 to the value of `isearch-invisible'.
7464 (isearch-search): Use `isearch-invisible' instead of
7465 `search-invisible'. Let-bind `search-invisible'
7466 to the value of `isearch-invisible'. (Bug#11378)
7467
7468 2013-05-30 Juri Linkov <juri@jurta.org>
7469
7470 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7471 call when `query-flag' is nil and `search-invisible' is non-nil.
7472 (Bug#11746)
7473
7474 2013-05-30 Glenn Morris <rgm@gnu.org>
7475
7476 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7477
7478 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7479 (cc-require): Suppress spurious "noruntime" warnings.
7480 (cc-require-when-compile): Use fboundp, for sake of compiler.
7481
7482 * progmodes/cc-mode.el: Move load of cc-vars before that of
7483 cc-langs (which in turn loads cc-vars), to quieten compiler.
7484
7485 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * paren.el: Simplify the code.
7488 (show-paren-mode): Always start the timer.
7489 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7490 (show-paren--overlay, show-paren--overlay-1): Rename from
7491 show-paren-overlay and show-paren-overlay-1, and initialize to an
7492 overlay rather than to nil.
7493 (show-paren-function): Misc cleanup and simplifications.
7494
7495 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7496
7497 * paren.el (show-paren-data-function): New hook.
7498 (show-paren--default): New function, extracted from show-paren-function.
7499 (show-paren-function): Use show-paren-data-function.
7500
7501 2013-05-30 Glenn Morris <rgm@gnu.org>
7502
7503 * ielm.el (ielm-map, ielm-complete-symbol):
7504 Use completion-at-point rather than obsolete functions.
7505 (inferior-emacs-lisp-mode): Doc fix.
7506 Set completion-at-point-functions, rather than
7507 comint-dynamic-complete-functions.
7508
7509 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7510 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7511 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7512
7513 * image.el (image-animated-p): Tweak definition.
7514
7515 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7516 (rlogin-process-connection-type): Tweak default. Add set-after.
7517 (rlogin-host): Doc fix.
7518 (rlogin): Tweak prompt.
7519 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7520
7521 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7522 * progmodes/tcl.el (inferior-tcl-mode-map):
7523 Use completion-at-point rather than obsolete alias.
7524
7525 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7526
7527 * minibuffer.el (read-file-name-completion-ignore-case):
7528 Move before completion--in-region, for eager macro expansion.
7529
7530 2013-05-29 Juri Linkov <juri@jurta.org>
7531
7532 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7533 for total count of matching lines. Add `global-matches' for total
7534 count of matches. Rename `matches' to `lines' for count of
7535 matching lines. Add `matches' for count of matches.
7536 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7537 to `prev-line' for line number of prev match endpt.
7538 Increment `matches' for every match. Print the number of
7539 matching lines in the header.
7540 (occur-context-lines): Rename `lines' to `curr-line'.
7541 Rename `prev-lines' to `prev-line'. (Bug#14017)
7542
7543 2013-05-29 Juri Linkov <juri@jurta.org>
7544
7545 * replace.el (perform-replace): Add `skip-read-only-count',
7546 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7547 Increment them for corresponding conditions and report the number
7548 of skipped occurrences in the final message. (Bug#11746)
7549 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7550 (replace-string, replace-regexp): Doc fix.
7551
7552 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7553
7554 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7555
7556 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7557 prog-mode-map (bug#14504).
7558
7559 2013-05-29 Leo Liu <sdl.web@gmail.com>
7560
7561 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7562 (octave-help): Small simplification.
7563
7564 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7565 off the highlight first.
7566
7567 2013-05-29 Glenn Morris <rgm@gnu.org>
7568
7569 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7570 Handle idlwave-last-system-routine-info-cons-cell being nil.
7571
7572 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7573 (idlwave-write-paths): Simplify via with-temp-buffer.
7574
7575 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7576 * emulation/cua-rect.el: Also load cua-base at run time.
7577
7578 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7579 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7580 (cperl-imenu-on-info): Require imenu.
7581
7582 2013-05-28 Alan Mackenzie <acm@muc.de>
7583
7584 Handle "capitalised keywords" correctly.
7585 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7586
7587 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7588
7589 * eshell/em-unix.el: Add -r option to cp.
7590
7591 2013-05-28 Glenn Morris <rgm@gnu.org>
7592
7593 * vc/vc-arch.el (vc-exec-after): Declare.
7594 (vc-switches): Autoload.
7595 * vc/vc-bzr.el: No need to require vc when compiling.
7596 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7597 (vc-resynch-buffer, vc-dir-refresh): Declare.
7598 (vc-setup-buffer, vc-switches): Autoload.
7599 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7600 (vc-resynch-buffer): Declare.
7601 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7602 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7603 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7604 (grep-read-regexp, grep-read-files, grep-expand-template)
7605 (vc-dir-refresh): Declare.
7606 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7607 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7608 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7609 * vc/vc-mtn.el (vc-exec-after): Declare.
7610 (vc-switches): Autoload.
7611 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7612 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7613 (vc-file-tree-walk): Declare.
7614 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7615 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7616 (vc-tag-precondition, vc-rename-master): Autoload.
7617 * vc/vc-svn.el (vc-exec-after): Declare.
7618 (vc-switches, vc-setup-buffer): Autoload.
7619 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7620 Autoload.
7621 (vc-resynch-buffer): Declare.
7622
7623 * obsolete/fast-lock.el (byte-compile-warnings):
7624 Don't warn about obsolete features in this obsolete file.
7625
7626 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7627 Move definition before use.
7628
7629 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7630 (dun-unix-verbs): Remove dun-zippy.
7631 (dun-zippy): Remove function.
7632
7633 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7634
7635 2013-05-27 Juri Linkov <juri@jurta.org>
7636
7637 * replace.el (replace-search): New function with code moved out
7638 from `perform-replace'.
7639 (replace-highlight, replace-dehighlight): Move function definitions
7640 up closer to `replace-search'. (Bug#11746)
7641
7642 2013-05-27 Juri Linkov <juri@jurta.org>
7643
7644 * replace.el (perform-replace): Ignore invisible matches.
7645 In addition to checking `query-replace-skip-read-only', also
7646 filter out matches by calling `run-hook-with-args-until-failure'
7647 on `isearch-filter-predicates', and also check `search-invisible'
7648 for t or call `isearch-range-invisible'.
7649 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7650
7651 2013-05-27 Juri Linkov <juri@jurta.org>
7652
7653 * isearch.el (isearch-filter-predicates): Rename from
7654 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7655 (isearch-message-prefix): Display text from the property
7656 `isearch-message-prefix' of the currently active filters.
7657 (isearch-search): Don't compare `isearch-filter-predicate' with
7658 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7659 on `isearch-filter-predicates'. Also check `search-invisible' for t
7660 or call `isearch-range-invisible'.
7661 (isearch-filter-visible): Make obsolete.
7662 (isearch-lazy-highlight-search):
7663 Call `run-hook-with-args-until-failure' on
7664 `isearch-filter-predicates' and use `isearch-range-invisible'.
7665
7666 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7667 `isearch-filter-predicates' instead of `funcall'ing
7668 `isearch-filter-predicate'.
7669 (Info-mode): Set `Info-isearch-filter' to
7670 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7671
7672 * dired-aux.el (dired-isearch-filter-predicate-orig):
7673 Remove variable.
7674 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7675 (dired-isearch-filenames-end): Add and remove
7676 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7677 instead of changing the value of `isearch-filter-predicate'.
7678 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7679 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7680 Put property `isearch-message-prefix' to "filename " on
7681 `dired-isearch-filter-filenames'.
7682
7683 * wdired.el (wdired-change-to-wdired-mode):
7684 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7685 locally instead of changing `isearch-filter-predicate'.
7686 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7687
7688 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7689
7690 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7691 return the commit hash (Bug#14459). Also set the
7692 `vc-git-detached' property.
7693 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7694 (vc-git-mode-line-string): Use the same help-echo format whether
7695 in detached mode or not, because we know the actual revision now.
7696 When in detached mode, shorten the revision to 7 chars.
7697
7698 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7699
7700 * emacs-lisp/easy-mmode.el (define-minor-mode):
7701 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7702 mode hook and provide a docstring.
7703
7704 2013-05-27 Alan Mackenzie <acm@muc.de>
7705
7706 Remove spurious syntax-table text properties inserted by C-y.
7707 * progmodes/cc-mode.el (c-after-change): Also clear hard
7708 syntax-table property with value nil.
7709
7710 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7711
7712 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7713 when reading the events; the buffer layout shall not be changed.
7714
7715 2013-05-27 Leo Liu <sdl.web@gmail.com>
7716
7717 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7718 New variable.
7719 (inferior-octave-directory-tracker): Automatically re-sync
7720 default-directory.
7721 (octave-help): Improve handling of 'See also'.
7722
7723 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7724
7725 * doc-view.el: Minor naming convention tweaks.
7726 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7727
7728 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7729 even if there's no `display' property yet (bug#14435).
7730
7731 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7732
7733 * subr.el (unmsys--file-name): Rename from reveal-filename.
7734
7735 * Makefile.in (custom-deps, finder-data, autoloads)
7736 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7737 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7738 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7739
7740 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7743 error-completion on the first 2 args of condition-case (bug#14446).
7744 Don't burp at EOB.
7745
7746 2013-05-25 Leo Liu <sdl.web@gmail.com>
7747
7748 * comint.el (comint-previous-matching-input): Do not flood the
7749 *Messages* buffer with trivial messages.
7750
7751 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7752
7753 * progmodes/flymake.el (flymake-nop): Don't return a string.
7754 (flymake-set-at): Fix typo.
7755
7756 * simple.el (read--expression): New function, extracted from
7757 eval-expression. Set completion-at-point-functions (bug#14465).
7758 (eval-expression, eval-minibuffer): Use it.
7759
7760 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7761
7762 * progmodes/flymake.el (flymake-save-buffer-in-file)
7763 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7764 (flymake-selected-frame, flymake-log, flymake-ins-after)
7765 (flymake-set-at, flymake-get-buildfile-from-cache)
7766 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7767 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7768 Refine the doc string.
7769 (flymake-get-file-name-mode-and-masks): Reformat.
7770 (flymake-get-real-file-name-function): Fix a minor bug.
7771
7772 2013-05-24 Juri Linkov <juri@jurta.org>
7773
7774 * progmodes/grep.el (grep-mode-font-lock-keywords):
7775 Support =linenumber= format used by git-grep for lines with
7776 function names. (Bug#13549)
7777
7778 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7779
7780 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7781 0 after a semi-colon; it works better for smie-auto-fill.
7782 (octave--indent-new-comment-line): New function.
7783 (octave-indent-new-comment-line): Use it (indirectly).
7784 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7785 modify comment-line-break-function.
7786
7787 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7788 (smie-setup): Use add-function to set it.
7789
7790 2013-05-24 Sam Steingold <sds@gnu.org>
7791
7792 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7793 argument (before the `interactive' argument).
7794
7795 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7796
7797 * image-mode.el (image-mode-winprops): Add winprops to
7798 image-mode-winprops-alist before running
7799 image-mode-new-window-functions.
7800 * doc-view.el (doc-view-new-window-function): Don't delay
7801 doc-view-goto-page via timers (bug#14435).
7802
7803 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7804
7805 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7806 (doc-view-desktop-save-buffer): New function.
7807 (doc-view-restore-desktop-buffer): New function.
7808 (desktop-buffer-mode-handlers):
7809 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7810 handler.
7811 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7812 `desktop-save-buffer' function.
7813
7814 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7815
7816 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7817 (tramp-gvfs-file-name-handler): Raise a user error when
7818 `tramp-gvfs-enabled' is nil.
7819 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7820 Do not raise a user error when loading package. (Bug#14447)
7821
7822 * net/xesam.el: Move to obsolete/.
7823
7824 2013-05-24 Glenn Morris <rgm@gnu.org>
7825
7826 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7827
7828 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7829
7830 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7831 (Info-find-node, Man-getpage-in-background): Declare.
7832
7833 * mail/unrmail.el (unrmail):
7834 Replace obsolete detect-coding-with-priority.
7835
7836 * net/socks.el (socks-split-string): Use this rather than split-string.
7837 (socks-nslookup-host): Update for above change.
7838 (dynamic-choice, s5-dynamic-choice-match)
7839 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7840 Comment out unused code.
7841
7842 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7843 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7844 (gud-tooltip-echo-area): Make obsolete.
7845 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7846
7847 * progmodes/js.el (js--optimize-arglist): Declare.
7848
7849 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7850
7851 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7852 (ediff-window-C): Declare.
7853
7854 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7855 Tweak requires to silence compiler.
7856
7857 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7858 (he-search-string, he-tried-table, he-expand-list)
7859 (he-init-string, he-string-member, he-substitute-string)
7860 (he-reset-string): Declare.
7861
7862 * obsolete/options.el (list-options): Use custom-variable-p,
7863 rather than obsolete alias.
7864
7865 2013-05-23 Sam Steingold <sds@gnu.org>
7866
7867 * simple.el (shell-command-on-region): Pass the `replace' argument
7868 down to `call-process-region' to comply with the doc as reported on
7869 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7870
7871 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * emacs-lisp/smie.el (smie-indent-forward-token)
7874 (smie-indent-backward-token): Handle string tokens (bug#14381).
7875
7876 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7877
7878 * ielm.el (ielm-menu): New menu.
7879 (inferior-emacs-lisp-mode): Set comment-start.
7880
7881 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7882
7883 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7884 Fix deactivate action.
7885
7886 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7887 Add cleveref macros.
7888
7889 * lisp/textmodes/reftex-parse.el
7890 (reftex-locate-bibliography-files): Accept options for
7891 bibliography commands.
7892 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7893 Add addbibresource. Basic Biblatex support.
7894
7895 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/tramp-gvfs.el (top):
7898 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7899 when loading package. (Bug#14447)
7900
7901 2013-05-23 Glenn Morris <rgm@gnu.org>
7902
7903 * progmodes/js.el: No need to load comint when compiling.
7904 (ring-insert, comint-send-string, comint-send-input)
7905 (comint-last-input-end, ido-chop): Declare.
7906
7907 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7908 * vc/ediff-mult.el: Adjust requires.
7909 (ediff-directories-internal, ediff-directory-revisions-internal)
7910 (ediff-patch-file-internal): Declare.
7911 * vc/ediff-ptch.el: Adjust requires.
7912 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7913 (ediff-find-file): Autoload.
7914 * vc/ediff-util.el: No need to load ediff when compiling.
7915 (ediff-regions-internal): Declare.
7916 * vc/ediff-wind.el: Adjust requires.
7917 (ediff-compute-toolbar-width): Define when compiling.
7918 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7919 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7920 (dired-get-filename, dired-get-marked-files)
7921 (ediff-last-dir-patch, ediff-patch-default-directory)
7922 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7923 (ediff-patch-buffer-internal): Declare.
7924
7925 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7926 (ispell-process, ispell-buffer-local-words, lm-summary)
7927 (lm-section-start, lm-section-end): Declare.
7928 (checkdoc-ispell-init): Simplify.
7929
7930 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7931 (he-string-member, he-reset-string, he-substitute-string): Declare.
7932
7933 * eshell/em-ls.el: Adjust requires.
7934 (eshell-glob-regexp): Declare.
7935 * eshell/em-tramp.el: Adjust requires.
7936 (eshell-parse-command): Autoload.
7937 * eshell/em-xtra.el: Adjust requires.
7938 (eshell-parse-command): Autoload.
7939 * eshell/esh-ext.el: Adjust requires.
7940 (eshell-parse-command, eshell-close-handles): Autoload.
7941 * eshell/esh-io.el: Adjust requires.
7942 (eshell-output-filter): Autoload.
7943 * eshell/esh-util.el: No need to load tramp when compiling.
7944 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7945 Declare.
7946 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7947 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7948 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7949 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7950 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7951 * eshell/esh-opt.el, eshell/esh-proc.el:
7952 * eshell/esh-var.el: Adjust requires.
7953 * eshell/eshell.el: Do not require esh-util twice.
7954 (eshell-add-input-to-history): Declare.
7955 (eshell-command): Check history module is active before using it.
7956
7957 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7958
7959 2013-05-22 Leo Liu <sdl.web@gmail.com>
7960
7961 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7962
7963 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7964
7965 * autorevert.el (auto-revert-notify-add-watch)
7966 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7967 it indicates changes in file modification time.
7968
7969 2013-05-22 Glenn Morris <rgm@gnu.org>
7970
7971 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7972 Always delete the autoloaded function from the noruntime and
7973 unresolved functions lists.
7974
7975 * allout.el: No need to load epa, epg, overlay when compiling.
7976 (epg-context-set-passphrase-callback, epg-list-keys)
7977 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7978 (epg-key-user-id-list): Declare.
7979
7980 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7981 (viper-set-parsing-style-toggling-macro)
7982 (viper-set-emacs-state-searchstyle-macros):
7983 Use called-interactively-p on Emacs.
7984 (viper-looking-back): Make it an obsolete alias. Update callers.
7985 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7986 Use looking-back rather than viper-looking-back.
7987 (viper-tmp-insert-at-eob, viper-enlarge-region)
7988 (viper-read-string-with-history, viper-register-to-point)
7989 (viper-append-to-register, viper-change-state-to-vi)
7990 (viper-backward-char-carefully, viper-forward-char-carefully)
7991 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7992 (viper-change-state-to-emacs): Declare.
7993 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7994 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7995 * emulation/viper-mous.el: Do not load viper-cmd.
7996 (viper-backward-char-carefully, viper-forward-char-carefully)
7997 (viper-forward-word, viper-adjust-window): Declare.
7998
7999 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8000
8001 * progmodes/idlw-help.el (idlwave-help-fontify):
8002 Use called-interactively-p.
8003
8004 * term/w32console.el (w32-get-console-codepage)
8005 (w32-get-console-output-codepage): Declare.
8006
8007 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8008 Remove unnecessary declarations.
8009 (dframe-message): Doc fix.
8010
8011 * info.el (dframe-select-attached-frame, dframe-current-frame):
8012 Declare.
8013
8014 * speedbar.el (speedbar-message): Make it an obsolete alias.
8015 Update all callers.
8016 (speedbar-with-attached-buffer)
8017 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8018 (speedbar-with-writable): Use backquote.
8019 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8020 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8021 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8022 rather than speedbar- aliases.
8023 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8024 (speedbar-make-specialized-keymap, speedbar-insert-button)
8025 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8026 (speedbar-do-function-pointer): Declare.
8027 (rmail-speedbar-button, rmail-speedbar-find-file)
8028 (rmail-speedbar-move-message):
8029 Use dframe-with-attached-buffer rather than speedbar- alias.
8030 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8031 (dframe-message, speedbar-make-specialized-keymap)
8032 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8033 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8034 (speedbar-insert-button, dframe-select-attached-frame)
8035 (dframe-maybee-jump-to-attached-frame)
8036 (speedbar-change-initial-expansion-list)
8037 (speedbar-previously-used-expansion-list-name): Declare.
8038 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8039 Use dframe-message, dframe-with-attached-buffer rather than
8040 speedbar- aliases.
8041 (gud-sentinel): Silence compiler.
8042 * progmodes/vhdl-mode.el (speedbar-refresh)
8043 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8044 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8045 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8046 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8047 (speedbar-file-lists, speedbar-make-tag-line)
8048 (speedbar-line-directory, speedbar-goto-this-file)
8049 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8050 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8051 (speedbar-make-button, speedbar-reset-scanners)
8052 (speedbar-files-item-info, speedbar-line-text)
8053 (speedbar-find-file-in-frame, speedbar-set-timer)
8054 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8055 (speedbar-with-writable): Do not (re)define it.
8056 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8057 rather than speedbar- alias.
8058
8059 2013-05-21 Leo Liu <sdl.web@gmail.com>
8060
8061 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8062 menu items.
8063 (octave-mode): Tweak fill-nobreak-predicate.
8064 (inferior-octave-startup): Check process to avoid infinite loop.
8065 (inferior-octave): Pop to buffer first to show abornmal process
8066 exit information.
8067
8068 2013-05-21 Glenn Morris <rgm@gnu.org>
8069
8070 * printing.el (pr-menu-bar): Define when compiling.
8071
8072 2013-05-21 Leo Liu <sdl.web@gmail.com>
8073
8074 * progmodes/octave.el (octave-auto-fill): Remove.
8075 (octave-indent-new-comment-line): Improve.
8076 (octave-mode): Use auto fill mode through
8077 comment-line-break-function and fill-nobreak-predicate.
8078 (octave-goto-function-definition): Support DEFUN_DLD.
8079 (octave-beginning-of-defun): Small tweak.
8080 (octave-help): Show parent directory.
8081
8082 2013-05-21 Glenn Morris <rgm@gnu.org>
8083
8084 * files.el (dired-unmark):
8085 * progmodes/gud.el (gdb-input): Update declarations.
8086
8087 * calculator.el (electric, ehelp): No need to load when compiling.
8088 (Electric-command-loop, electric-describe-mode): Declare.
8089
8090 * doc-view.el (doc-view-current-converter-processes): Move before use.
8091
8092 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8093 Move MODE-set-explicitly definition before use.
8094
8095 * international/mule-diag.el (mule-diag):
8096 Don't use obsolete window-system-version.
8097
8098 * mail/feedmail.el (smtpmail): No need to load when compiling.
8099 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8100
8101 * mail/mail-utils.el (rfc822): No need to load when compiling.
8102 (rfc822-addresses): Autoload it.
8103 (mail-strip-quoted-names): Trivial simplification.
8104
8105 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8106 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8107
8108 * net/snmp-mode.el (tempo): Don't duplicate requires.
8109
8110 * progmodes/prolog.el (info): No need to load when compiling.
8111 (comint): Require before shell requires it.
8112 (Info-goto-node): Autoload it.
8113 (Info-follow-nearest-node): Declare.
8114 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8115
8116 * textmodes/artist.el (picture-mode-exit): Declare.
8117
8118 * textmodes/reftex-parse.el (reftex-parse-from-file):
8119 Trivial rewrite so the compiler can parse it better.
8120
8121 2013-05-20 Leo Liu <sdl.web@gmail.com>
8122
8123 * progmodes/octave.el (octave-help-mode-map)
8124 (octave-help-mode-finish-hook): New variables.
8125 (octave-help-mode, octave-help-mode-finish): New functions.
8126 (octave-help): Use octave-help-mode.
8127
8128 2013-05-20 Glenn Morris <rgm@gnu.org>
8129
8130 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8131
8132 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8133
8134 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8135 start at point, so that expansion starting right after opening
8136 slash in a regexp is recognized.
8137 (ruby-syntax-before-regexp-re): New defvar, extracted from
8138 ruby-syntax-propertize-function. Since the value of this regexp
8139 is looked up at runtime now, we should be able to turn
8140 `ruby-syntax-methods-before-regexp' into a defcustom later.
8141 (ruby-syntax-propertize-function): Split regexp matching into two
8142 parts, for opening and closing slashes. That allows us to skip
8143 over string interpolations and support multiline regexps.
8144 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8145 for them, which calls `ruby-syntax-propertize-expansion'.
8146 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8147 call to `ruby-syntax-propertize-function'.
8148 (ruby-syntax-propertize-expansion): Extracted from
8149 `ruby-syntax-propertize-expansions'. Handles one expansion.
8150 (ruby-syntax-propertize-percent-literal): Leave point right after
8151 the percent symbol, so that the expression expansion rule can
8152 propertize the contents.
8153 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8154 heredoc openers.
8155 (ruby-syntax-propertize-expansions): Remove.
8156
8157 2013-05-18 Juri Linkov <juri@jurta.org>
8158
8159 * man.el (Man-default-man-entry): Remove `-' from the end
8160 of the default value. (Bug#14400)
8161
8162 2013-05-18 Glenn Morris <rgm@gnu.org>
8163
8164 * comint.el (comint-password-prompt-regexp):
8165 Allow "password for XXX" where XXX contains colons (eg https://...).
8166
8167 2013-05-18 Leo Liu <sdl.web@gmail.com>
8168
8169 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8170 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8171 (octave-source-directories): Don't check process.
8172 (octave-source-directories, octave-find-definition): Doc fix.
8173
8174 2013-05-18 Glenn Morris <rgm@gnu.org>
8175
8176 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8177 Remove backspace/delete bindings. (Bug#14392)
8178
8179 * cus-dep.el (custom-make-dependencies): Sort the output.
8180 (custom-versions-load-alist): Convert comment to doc.
8181
8182 2013-05-17 Leo Liu <sdl.web@gmail.com>
8183
8184 * newcomment.el (comment-search-backward): Stricter in finding
8185 comment start. (Bug#14303)
8186
8187 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8188 (octave-comment-start-skip): Properly anchored.
8189
8190 2013-05-17 Leo Liu <sdl.web@gmail.com>
8191
8192 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8193 Clean up when turned off. (Bug#14395)
8194 (smie--highlight-matching-block-overlay): No longer buffer-local.
8195 (smie-highlight-matching-block): Adjust.
8196
8197 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8198
8199 Doc string fix for "nanoseconds" (Bug#14406).
8200 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8201 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8202
8203 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8204
8205 * calc/calc-units.el (math-extract-units): Preserve powers
8206 of units.
8207
8208 2013-05-17 Leo Liu <sdl.web@gmail.com>
8209
8210 * subr.el (delete-consecutive-dups): New function.
8211 * ido.el (ido-set-matches-1): Use it.
8212 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8213 * ido.el (ido-remove-consecutive-dups): Remove.
8214
8215 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8218 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8219 regexp-opt's `words'.
8220
8221 2013-05-16 Leo Liu <sdl.web@gmail.com>
8222
8223 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8224 (smie--highlight-matching-block-overlay)
8225 (smie--highlight-matching-block-lastpos)
8226 (smie--highlight-matching-block-timer): New variables.
8227 (smie-highlight-matching-block): New function.
8228 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8229 (smie-setup): Conditionally enable smie-blink-matching-open.
8230
8231 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8232
8233 Sync with upstream verilog-mode r840.
8234 * progmodes/verilog-mode.el (verilog-mode-version)
8235 (verilog-mode-release-date): Update.
8236 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8237 (verilog-sig-tieoff): Fix string error on
8238 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8239 (verilog-read-decls): Fix parameters confusing
8240 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8241
8242 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8243
8244 * subr.el (reveal-filename): New function.
8245
8246 * loadup.el: Compute Emacs executable versions on MS-Windows,
8247 where executables have the .exe extension. Add a hard link
8248 emacs-XX.YY.ZZ.exe on MS-Windows.
8249
8250 * Makefile.in (XARGS_LIMIT): New variable.
8251 (custom-deps, finder-data, autoloads)
8252 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8253 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8254 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8255 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8256
8257 2013-05-16 Leo Liu <sdl.web@gmail.com>
8258
8259 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8260 (octave-mode-menu, octave-mode-map): Remove its uses.
8261
8262 2013-05-16 Reto Zimmermann <reto@gnu.org>
8263
8264 Sync with upstream vhdl mode v3.34.2.
8265 * progmodes/vhdl-mode.el: Use `push' throughout.
8266 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8267 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8268 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8269 (vhdl-actual-generic-name): New option to derive actual generic name.
8270 (vhdl-port-paste-signals): Replace formal by actual generics.
8271 (vhdl-beautify): New name for old group vhdl-align. Update users.
8272 (vhdl-beautify-options): New option.
8273 (vhdl-last-input-event): New compat alias. Use throughout.
8274 (vhdl-goto-line): Replace user level function `goto-line'.
8275 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8276 vhdl-fix-statement-buffer.
8277 (vhdl-create-mode-menu): Add some entries.
8278 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8279 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8280 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8281 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8282 to force statements on one line.
8283 (vhdl-remove-trailing-spaces-region):
8284 New, split from vhdl-remove-trailing-spaces.
8285 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8286 Respect vhdl-beautify-options.
8287 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8288 (vhdl-update-sensitivity-list): Not add with index if exists without.
8289 Not include array index with signal. Ignore keywords in comments.
8290 (vhdl-get-visible-signals): Regexp tweaks.
8291 (vhdl-template-component-inst): Handle empty library.
8292 (vhdl-template-type): Add template for 'enum' type.
8293 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8294 Use vhdl-replace-string.
8295 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8296 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8297 (vhdl-speedbar-initialize): Update for above name change.
8298 (vhdl-compose-wire-components): Fix in handling of constants.
8299 (vhdl-error-regexp-emacs-alist): New variable.
8300 (vhdl-error-regexp-add-emacs): New function;
8301 adds support for new compile.el (Emacs 22+)
8302 (vhdl-generate-makefile-1): Change target order for single lib. units.
8303 Allow use of absolute file names.
8304
8305 2013-05-16 Leo Liu <sdl.web@gmail.com>
8306
8307 * simple.el (prog-indent-sexp): Indent enclosing defun.
8308
8309 2013-05-15 Glenn Morris <rgm@gnu.org>
8310
8311 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8312 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8313 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8314 (whitespace-highlight): Move to whitespace group.
8315
8316 * comint.el (comint-source):
8317 * pcmpl-linux.el (pcmpl-linux):
8318 * shell.el (shell-faces):
8319 * eshell/esh-opt.el (eshell-opt):
8320 * international/ccl.el (ccl): Remove empty custom groups.
8321
8322 * completion.el (dynamic-completion-mode):
8323 * jit-lock.el (jit-lock-debug-mode):
8324 * minibuffer.el (completion-in-region-mode):
8325 * type-break.el (type-break-mode-line-message-mode)
8326 (type-break-query-mode):
8327 * emulation/tpu-edt.el (tpu-edt-mode):
8328 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8329 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8330 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8331
8332 * term/xterm.el (xterm): Change parent group to terminals.
8333
8334 * master.el (master): Remove empty custom group.
8335 (master-mode): Remove unused :group argument.
8336 * textmodes/refill.el (refill): Remove empty custom group.
8337 (refill-mode): Remove unused :group argument.
8338
8339 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8340
8341 * cus-dep.el: Provide a feature.
8342 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8343 Don't mistakenly ignore files whose basenames match a basename
8344 from preloaded-file-list (eg cedet/ede/simple.el).
8345 Add a fallback method for getting :group.
8346
8347 2013-05-15 Juri Linkov <juri@jurta.org>
8348
8349 * isearch.el (isearch-char-by-name): Rename from
8350 `isearch-insert-char-by-name'. Doc fix.
8351 (isearch-forward): Mention `isearch-char-by-name' in
8352 the docstring. (Bug#13348)
8353
8354 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8355 `exit-minibuffer' instead of
8356 `isearch-nonincremental-exit-minibuffer'.
8357 (isearch-edit-string): Remove mention of
8358 `isearch-nonincremental-exit-minibuffer' from docstring.
8359 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8360 (isearch-forward-exit-minibuffer)
8361 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8362
8363 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 * loadup.el: Just use unversioned DOC.
8366
8367 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8368 literals as extending to EOB.
8369 (nxml-last-fontify-end): Remove unused variable.
8370 (nxml-after-change1): Use with-silent-modifications.
8371 (nxml-extend-after-change-region): Simplify.
8372 (nxml-extend-after-change-region1): Remove function.
8373 (nxml-after-change1): Don't adjust for dependent regions.
8374 (nxml-fontify-matcher): Simplify.
8375 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8376 (xmltok-add-dependent): Remove function.
8377 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8378 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8379 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8380 unclosed <[[, <?, comment, and other literals as extending to EOB.
8381 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8382 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8383 Remove functions.
8384 (rng-do-some-validation-1): Don't mark dependent regions.
8385 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8386 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8387 (nxml-clear-dependent-regions): Remove functions.
8388 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8389 (nxml-ensure-scan-up-to-date):
8390 Don't clear&mark dependent regions.
8391
8392 2013-05-15 Leo Liu <sdl.web@gmail.com>
8393
8394 * progmodes/octave.el (octave-goto-function-definition):
8395 Improve and fix callers.
8396
8397 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8398
8399 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8400 the setter (bug#14387).
8401
8402 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8403 surrounding group (bug#14402).
8404
8405 2013-05-14 Juri Linkov <juri@jurta.org>
8406
8407 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8408 (Bug#14390)
8409
8410 2013-05-14 Glenn Morris <rgm@gnu.org>
8411
8412 * progmodes/f90.el (f90-imenu-generic-expression):
8413 Fix typo in 2013-05-08 change. (Bug#14402)
8414
8415 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8416
8417 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8418 Remove signals for which replies are never received.
8419
8420 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8421
8422 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8423 (gdb-handler-alist, gdb-handler-number): Remove variables.
8424 (gdb-handler-list): New variable.
8425 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8426 (gdb-pending-handler-p, gdb-handle-reply)
8427 (gdb-remove-all-pending-triggers): New functions.
8428 (gdb-discard-unordered-replies): New defcustom.
8429 (gdb-handler): New defstruct.
8430 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8431 instead of gdb-pending-triggers. Update docstring.
8432 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8433 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8434 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8435 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8436 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8437 (gdb-frame-handler): Pending triggers are now automatically managed.
8438 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8439 Remove argument.
8440 (gdb-input): Automatically handles pending triggers. Update docstring.
8441 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8442 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8443 Update comments.
8444 (gdb-done-or-error): Now use gdb-handle-reply.
8445
8446 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8447
8448 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8449 gdb-debug-log.
8450
8451 2013-05-14 Glenn Morris <rgm@gnu.org>
8452
8453 * subr.el (user-emacs-directory-warning): New option.
8454 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8455
8456 2013-05-14 Leo Liu <sdl.web@gmail.com>
8457
8458 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8459 during redisplay.
8460 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8461 (octave-font-lock-texinfo-comment): Fix invalid search bound
8462 error: wrong side of point.
8463
8464 2013-05-14 Glenn Morris <rgm@gnu.org>
8465
8466 * progmodes/flymake.el (flymake-xml-program): New option.
8467 (flymake-xml-init): Use it.
8468
8469 * term/xterm.el: Provide a feature.
8470
8471 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8472
8473 2013-05-13 Glenn Morris <rgm@gnu.org>
8474
8475 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8476 Add compat aliases as a hack workaround. (Bug#14384)
8477
8478 2013-05-13 Leo Liu <sdl.web@gmail.com>
8479
8480 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8481 ###, and %!.
8482 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8483 C-M-q.
8484 (octave-comment-start-skip): Include %!.
8485 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8486
8487 2013-05-12 Leo Liu <sdl.web@gmail.com>
8488
8489 * progmodes/octave.el (inferior-octave-startup): Store the value
8490 of __octave_srcdir__ for octave-source-directories.
8491 (inferior-octave-check-process): New function refactored out of
8492 inferior-octave-send-list-and-digest.
8493 (octave-source-directories)
8494 (octave-find-definition-filename-function): New variables.
8495 (octave-source-directories)
8496 (octave-find-definition-default-filename): New functions.
8497 (octave-find-definition): Improve to find functions implemented in C++.
8498
8499 2013-05-12 Glenn Morris <rgm@gnu.org>
8500
8501 * calendar/diary-lib.el (diary-outlook-format-1):
8502 Don't include dayname in the output. (Bug#14349)
8503
8504 2013-05-11 Glenn Morris <rgm@gnu.org>
8505
8506 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8507
8508 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8509 Treat cc-provide like provide.
8510
8511 2013-05-11 Kevin Ryde <user42@zip.com.au>
8512
8513 * cus-dep.el (custom-make-dependencies):
8514 Use generated-autoload-load-name for the sake of files such
8515 such cedet/semantic/bovine/c.el, where the base file name
8516 is not in load-path. (Bug#5277)
8517
8518 2013-05-11 Glenn Morris <rgm@gnu.org>
8519
8520 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8521 Provide features.
8522
8523 2013-05-11 Leo Liu <sdl.web@gmail.com>
8524
8525 * progmodes/octave.el (octave-indent-comment): Improve.
8526 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8527 (octave-eldoc-function-signatures, octave-eldoc-function):
8528 New functions.
8529 (octave-mode, inferior-octave-mode): Add eldoc support.
8530
8531 2013-05-11 Richard Stallman <rms@gnu.org>
8532
8533 * epa.el (epa-decrypt-file): Take output file name as argument
8534 and read it using `interactive'.
8535
8536 2013-05-11 Leo Liu <sdl.web@gmail.com>
8537
8538 * progmodes/octave.el (octave-beginning-of-line)
8539 (octave-end-of-line): Check before using up-list because it jumps
8540 out of more syntactic contructs since moving to smie.
8541 (octave-indent-comment): New function.
8542 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8543 (octave-begin-keywords, octave-end-keywords)
8544 (octave-reserved-words, octave-smie-bnf-table)
8545 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8546
8547 2013-05-11 Glenn Morris <rgm@gnu.org>
8548
8549 * faces.el (internal-face-x-get-resource):
8550 * frame.el (ns-display-monitor-attributes-list):
8551 * calc/calc-aent.el (math-to-radians-2):
8552 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8553 Fix declarations.
8554
8555 * calc/calc-menu.el: Make it loadable in isolation.
8556
8557 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8558 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8559 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8560 (eudc-bbdb-query-internal): Require 'bbdb.
8561
8562 * lpr.el (lpr-headers-switches):
8563 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8564
8565 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8566
8567 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8568
8569 * term.el (term-set-escape-char): Make it idempotent.
8570
8571 2013-05-10 Leo Liu <sdl.web@gmail.com>
8572
8573 * progmodes/octave.el (inferior-octave-completion-table):
8574 No longer a function and all uses changed. Use cache to speed up
8575 completion due to bug#11906.
8576 (octave-beginning-of-defun): Re-write to be more general.
8577
8578 2013-05-10 Glenn Morris <rgm@gnu.org>
8579
8580 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8581
8582 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8583
8584 * comint.el (comint-redirect-send-command-to-process): Use :around
8585 rather than :override for comint-redirect-filter.
8586 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8587 Call it instead of comint-redirect-original-filter-function (which
8588 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8589
8590 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8591
8592 * frame.el (display-monitor-attributes-list): Add NS case.
8593 (ns-display-monitor-attributes-list): Declare.
8594
8595 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8596
8597 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8598
8599 2013-05-09 Glenn Morris <rgm@gnu.org>
8600
8601 * international/fontset.el (vertical-centering-font-regexp):
8602 Set standard-value.
8603
8604 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8605
8606 * bookmark.el (bookmark-search-delay):
8607 * cus-start.el (vertical-centering-font-regexp):
8608 * ps-mule.el (ps-mule-font-info-database-default):
8609 * ps-print.el (ps-default-fg, ps-default-bg):
8610 * type-break.el (type-break-good-break-interval):
8611 * whitespace.el (whitespace-indentation-regexp)
8612 (whitespace-space-after-tab-regexp):
8613 * emacs-lisp/testcover.el (testcover-1value-functions)
8614 (testcover-noreturn-functions, testcover-progn-functions)
8615 (testcover-prog1-functions):
8616 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8617 * eshell/em-glob.el (eshell-glob-translate-alist):
8618 * play/tetris.el (tetris-tty-colors):
8619 * progmodes/cpp.el (cpp-face-default-list):
8620 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8621 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8622 (idlwave-help-browser-generic-args):
8623 * progmodes/make-mode.el (makefile-special-targets-list):
8624 * progmodes/python.el (python-shell-virtualenv-path):
8625 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8626 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8627 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8628 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8629 * textmodes/reftex-vars.el (reftex-format-label-function):
8630 * textmodes/remember.el (remember-diary-file): Fix custom types.
8631
8632 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8633 Add :version.
8634
8635 2013-05-09 Leo Liu <sdl.web@gmail.com>
8636
8637 * progmodes/octave.el (inferior-octave-completion-at-point):
8638 Restore file completion. (Bug#14300)
8639 (inferior-octave-startup): Fix incorrect highlighting for the
8640 first prompt.
8641
8642 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * progmodes/ruby-mode.el: First cut at SMIE support.
8645 (ruby-use-smie): New var.
8646 (ruby-smie-grammar): New constant.
8647 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8648 (ruby-smie--forward-token, ruby-smie--backward-token)
8649 (ruby-smie-rules): New functions.
8650 (ruby-mode-variables): Setup SMIE if applicable.
8651
8652 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8653
8654 * simple.el (line-move-visual): Signal beginning/end of buffer
8655 only if vertical-motion moved less than it was requested. Avoids
8656 silly incorrect error messages when there are display strings with
8657 multiple newlines at EOL.
8658
8659 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8662 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8663 (prolog-char-quote-workaround):
8664 * progmodes/cperl-mode.el (cperl-under-as-char):
8665 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8666 Mark as obsolete.
8667 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8668 their declaration.
8669 (vhdl-mode-syntax-table-init): Remove.
8670
8671 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8672 last change.
8673
8674 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8675 syntax for "_".
8676 (ld-script-font-lock-keywords):
8677 Change regexps to use things like \_< and \_>.
8678
8679 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8680 Change all regexps to use things like \_< and \_>.
8681
8682 * progmodes/autoconf.el (autoconf-definition-regexp)
8683 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8684 Handle a _ with symbol syntax.
8685 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8686
8687 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8688 Consolidate declaration.
8689 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8690 the declaration.
8691 (ada-create-syntax-table): Remove.
8692 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8693 already has the right syntax nowadays.
8694 (ada-goto-next-word): Don't change the syntax of "_".
8695
8696 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8697 with-wrapper-hook.
8698
8699 2013-05-08 Sam Steingold <sds@gnu.org>
8700
8701 * thingatpt.el (thing-at-point): Accept optional second argument
8702 NO-PROPERTIES to strip the text properties from the return value.
8703 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8704 to `thing-at-point' instead of stripping the properties ourselves.
8705 Also, when `thing-at-point' fails to find a url, prepend "http://"
8706 to the filename at point on the assumption that the user is
8707 pointing at something like gnu.org/gnu.
8708
8709 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8712 * faces.el (crm-separator):
8713 Silence byte-compiler.
8714
8715 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8716 (tool-bar-map): Remove unneeded defvars.
8717
8718 2013-05-08 Leo Liu <sdl.web@gmail.com>
8719
8720 Re-work a fix for bug#10994 based on Le Wang's patch.
8721 * ido.el (ido-remove-consecutive-dups): New helper.
8722 (ido-completing-read): Use it.
8723 (ido-chop): Revert fix for bug#10994.
8724
8725 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8726
8727 * cus-edit.el (custom-save-variables):
8728 Pretty-print long values. (Bug#14187)
8729
8730 2013-05-08 Glenn Morris <rgm@gnu.org>
8731
8732 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8733 (m4-mode-syntax-table): Init in the defvar.
8734 (m4-mode-abbrev-table): Let define-derived-mode define it.
8735
8736 2013-05-08 Tom Tromey <tromey@redhat.com>
8737
8738 * progmodes/m4-mode.el (m4-mode-syntax-table):
8739 Do not treat "_" as word constituent. (Bug#14167)
8740
8741 2013-05-07 Glenn Morris <rgm@gnu.org>
8742
8743 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8744 Remove explicit eshell-isearch-cancel-map.
8745
8746 * progmodes/f90.el (f90-smart-end-names): New option.
8747 (f90-smart-end): Doc fix.
8748 (f90-end-block-optional-name): New constant.
8749 (f90-block-match): Respect f90-smart-end-names.
8750
8751 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8752
8753 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8754 about implicit semi-colons (bug#14218).
8755
8756 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8757
8758 * frame.el (display-monitor-attributes-list)
8759 (frame-monitor-attributes): New functions.
8760
8761 2013-05-06 Leo Liu <sdl.web@gmail.com>
8762
8763 * progmodes/octave.el (octave-syntax-propertize-function): Change
8764 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8765 (octave-font-lock-keywords): Use octave-operator-regexp.
8766 (octave-completion-at-point): Rename from
8767 octave-completion-at-point-function.
8768 (inferior-octave-directory-tracker): Robustify.
8769 (octave-text-functions): Remove and fix its uses. No such things
8770 any more.
8771
8772 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * emacs-lisp/trace.el (trace--display-buffer): New function.
8775 (trace-make-advice): Use it.
8776
8777 2013-05-06 Juri Linkov <juri@jurta.org>
8778
8779 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8780 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8781 Doc fix.
8782 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8783 in the help string. (Bug#12985)
8784
8785 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8786
8787 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8788
8789 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * progmodes/perl-mode.el: Add support for here documents.
8792 (perl-syntax-propertize-function): Match here-doc markers.
8793 (perl-syntax-propertize-special-constructs): Find their end.
8794 (perl-imenu-generic-expression): Use [:alnum:].
8795
8796 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8797 (advice--add-function): Refresh the advice if already present
8798 (bug#14317).
8799
8800 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8801
8802 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8803
8804 2013-05-06 Glenn Morris <rgm@gnu.org>
8805
8806 * w32-fns.el (w32-charset-info-alist): Declare.
8807
8808 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8809 of its defcustom properties.
8810 (eshell-cmpl-initialize): No need to load pcomplete.
8811
8812 * generic-x.el: No need to require comint when compiling.
8813
8814 * net/eudc-export.el: Make it loadable without bbdb.
8815 (top-level): Use require rather than load-library.
8816 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8817 (eudc-batch-export-records-to-bbdb)
8818 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8819 Require bbdb.
8820
8821 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8824 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8825 some tweaks, instead.
8826
8827 2013-05-05 Leo Liu <sdl.web@gmail.com>
8828
8829 * progmodes/octave.el (octave-font-lock-keywords)
8830 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8831 (inferior-octave-send-list-and-digest): Improve error message.
8832 (octave-mode, inferior-octave-mode): Use setq-local.
8833 (octave-help): Set info-lookup-mode.
8834
8835 2013-05-05 Richard Stallman <rms@gnu.org>
8836
8837 * vc/compare-w.el (compare-windows-whitespace):
8838 Treat no-break space as whitespace.
8839
8840 * mail/rmailsum.el (rmail-summary-rmail-update):
8841 Detect empty summary and don't change selected message.
8842 (rmail-summary-goto-msg): Likewise.
8843
8844 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8845 Doc fixes, rename args.
8846
8847 2013-05-05 Alan Mackenzie <acm@muc.de>
8848
8849 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8850
8851 2013-05-05 Juri Linkov <juri@jurta.org>
8852
8853 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8854 to not add the length of the summary segment to the return value.
8855 (Bug#14125)
8856
8857 2013-05-05 Leo Liu <sdl.web@gmail.com>
8858
8859 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8860 (inferior-octave-output-filter): Remove.
8861 (octave-send-region, inferior-octave-startup): Fix callers.
8862 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8863 (octave-binary-file-extensions): New user variable.
8864 (octave-find-definition): Confirm if opening binary files.
8865 (octave-help-file): Use octave-find-definition to get the binary
8866 confirmation.
8867 (octave-help): Adjust for octave-help-file change.
8868
8869 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8870
8871 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8872 Merge the two entries that handle function definitions.
8873 (pascal--syntax-propertize): New const.
8874 (pascal-mode): Use it. Use setq-local.
8875
8876 2013-05-04 Glenn Morris <rgm@gnu.org>
8877
8878 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8879 (diary-from-outlook): Respect diary-from-outlook-function.
8880
8881 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8884 Move the declaration from C.
8885 (read-minibuffer, eval-minibuffer): Move from C.
8886 (completion-setup-function): Avoid minibuffer-completion-contents.
8887
8888 2013-05-03 Leo Liu <sdl.web@gmail.com>
8889
8890 * progmodes/octave.el (octave-font-lock-keywords): Do not
8891 dehighlight 'end' in comments or strings.
8892 (octave-completing-read, octave-goto-function-definition):
8893 New helpers.
8894 (octave-help-buffer): New user variable.
8895 (octave-help-file, octave-help-function): New button types.
8896 (octave-help): New command and bind it to C-h ;.
8897 (octave-find-definition): New command and bind it to M-.
8898 (user-error): Alias to error if not defined.
8899
8900 2013-05-02 Leo Liu <sdl.web@gmail.com>
8901
8902 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8903 for \. (bug#14332)
8904 (octave-font-lock-keywords): Include [ and {.
8905
8906 2013-05-02 Leo Liu <sdl.web@gmail.com>
8907
8908 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8909 (inferior-octave): Remove calling comint-mode and return the buffer.
8910 (inferior-octave-startup): Cosmetic changes.
8911
8912 2013-05-02 Leo Liu <sdl.web@gmail.com>
8913
8914 * progmodes/octave.el (octave-syntax-propertize-function):
8915 Include the case when ' is at line beginning. (Bug#14336)
8916
8917 2013-05-02 Glenn Morris <rgm@gnu.org>
8918
8919 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8920 * desktop.el (vc-dir-mode): Just autoload it here.
8921
8922 2013-05-02 Alan Mackenzie <acm@muc.de>
8923
8924 Eliminate variable c-standard-font-lock-fontify-region-function.
8925 * progmodes/cc-mode.el
8926 (c-standard-font-lock-fontify-region-function): Remove.
8927 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8928
8929 2013-05-01 Leo Liu <sdl.web@gmail.com>
8930
8931 * progmodes/octave.el: Compatible with older emacs-24 releases.
8932 (inferior-octave-has-built-in-variables): Remove. Built-in
8933 variables were removed from Octave in 2007.
8934 (inferior-octave-startup): Fix uses.
8935 (comint-line-beginning-position): Remove compatibility code for
8936 emacs 21.
8937
8938 2013-05-01 Juri Linkov <juri@jurta.org>
8939
8940 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8941
8942 2013-05-01 Juri Linkov <juri@jurta.org>
8943
8944 * comint.el (comint-previous-matching-input): Don't print message
8945 "History item: %d" when `isearch-mode' is active.
8946 (comint-history-isearch-message): Print message "History item: %d"
8947 when `comint-input-ring-index' is not empty and this function is
8948 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8949
8950 2013-05-01 Leo Liu <sdl.web@gmail.com>
8951
8952 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8953 definitions. Use completion-at-point to insert keywords.
8954 (octave-abbrev-start): Remove.
8955 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8956
8957 2013-04-30 Leo Liu <sdl.web@gmail.com>
8958
8959 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8960 change.
8961
8962 2013-04-30 Alan Mackenzie <acm@muc.de>
8963
8964 Handle arbitrarily long C++ member initialisation lists.
8965 * progmodes/cc-engine.el (c-back-over-member-initializers):
8966 new function.
8967 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8968 (most) member init lists.
8969
8970 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8971
8972 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8973 variable.
8974
8975 2013-04-30 Leo Liu <sdl.web@gmail.com>
8976
8977 * progmodes/octave.el (octave-variables): Remove. No builtin
8978 variables any more. All converted to functions.
8979 (octave-font-lock-keywords, octave-completion-at-point-function):
8980 Fix uses.
8981 (octave-font-lock-texinfo-comment): New user variable.
8982 (octave-texinfo-font-lock-keywords): New variable for texinfo
8983 comment block.
8984 (octave-function-comment-block): New face.
8985 (octave-font-lock-texinfo-comment): New function.
8986 (octave-mode): Font lock texinfo comment block.
8987
8988 2013-04-29 Leo Liu <sdl.web@gmail.com>
8989
8990 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8991 indexing expression.
8992 (octave-continuation-string): Do not use \.
8993 (inferior-octave-complete-impossible): Remove.
8994 (inferior-octave-completion-table)
8995 (inferior-octave-completion-at-point): Remove its uses.
8996 (inferior-octave-startup): completion_matches was introduced to
8997 Octave in 1996 so safe to assume it.
8998 (octave-function-file-comment): Improve to follow how Octave does it.
8999 (octave-update-function-file-comment): Tweak.
9000
9001 2013-04-29 Leo Liu <sdl.web@gmail.com>
9002
9003 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9004 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9005 (octave-function-file-comment): Fix typo.
9006 (octave-sync-function-file-names): Use read-char-choice.
9007
9008 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9009
9010 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9011 to t for the less important warnings.
9012
9013 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9014
9015 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9016
9017 2013-04-27 Glenn Morris <rgm@gnu.org>
9018
9019 * vc/log-view.el (log-view-current-entry):
9020 Treat "---" separator lines as part of the following rev. (Bug#14169)
9021
9022 2013-04-27 Juri Linkov <juri@jurta.org>
9023
9024 * subr.el (read-number): Doc fix about using it by interactive
9025 code letter `n'. (Bug#14254)
9026
9027 2013-04-27 Juri Linkov <juri@jurta.org>
9028
9029 * desktop.el (desktop-auto-save-timeout): New option.
9030 (desktop-file-checksum): New variable.
9031 (desktop-save): Add optional arg `auto-save' and don't auto-save
9032 if nothing changed.
9033 (desktop-auto-save-timer): New variable.
9034 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9035 (after-init-hook): Call `desktop-auto-save-set-timer'.
9036 Suggested by Reuben Thomas <rrt@sc3d.org> in
9037 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9038
9039 2013-04-27 Leo Liu <sdl.web@gmail.com>
9040
9041 * progmodes/octave.el (octave-function-file-p)
9042 (octave-skip-comment-forward, octave-function-file-comment)
9043 (octave-update-function-file-comment): New functions.
9044 (octave-mode-map): Bind C-c ; to
9045 octave-update-function-file-comment.
9046 (octave-mode-menu): Add octave-update-function-file-comment.
9047 (octave-mode, inferior-octave-mode): Fix doc-string.
9048 (octave-insert-defun): Conform to Octave's coding convention.
9049 (Bug#14285)
9050
9051 * files.el (basic-save-buffer): Don't let errors in
9052 before-save-hook prevent saving buffer.
9053
9054 2013-04-20 Roland Winkler <winkler@gnu.org>
9055
9056 * faces.el (read-face-name): Use completing-read if arg multiple
9057 is nil.
9058
9059 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9060
9061 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9062 displayed, move point to after the totals line.
9063 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9064 for the details.
9065
9066 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9069 Add current dir to the load-path.
9070 (package-generate-autoloads): Don't rely on
9071 autoload-ensure-default-file.
9072
9073 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9074
9075 * textmodes/remember.el (remember-store-in-files): Document that
9076 the file name format is passed to `format-time-string'.
9077
9078 2013-04-26 Leo Liu <sdl.web@gmail.com>
9079
9080 * progmodes/octave.el (octave-sync-function-file-names): New function.
9081 (octave-mode): Use it in before-save-hook.
9082
9083 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9086 (bug#14274).
9087
9088 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9089 \n and comment, even if it's not an implicit ; (bug#14218).
9090
9091 2013-04-26 Glenn Morris <rgm@gnu.org>
9092
9093 * subr.el (read-number): Once more use `read' rather than
9094 `string-to-number', to trap non-numeric input. (Bug#14254)
9095
9096 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9097
9098 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9099 Use `syntax-multiline' text property consistently instead of
9100 `font-lock-multiline'. (Bug#14237)
9101
9102 2013-04-26 Glenn Morris <rgm@gnu.org>
9103
9104 * emacs-lisp/shadow.el (list-load-path-shadows):
9105 No longer necessary to check for duplicate simple.el, since
9106 2012-07-07 change to init_lread to not include installation lisp
9107 directories in load-path when running uninstalled. (Bug#14270)
9108
9109 2013-04-26 Leo Liu <sdl.web@gmail.com>
9110
9111 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9112 (octave-mode, inferior-octave-mode): Use setq-local.
9113 (octave-not-in-string-or-comment-p): Rename to
9114 octave-in-string-or-comment-p.
9115 (octave-in-comment-p, octave-in-string-p)
9116 (octave-in-string-or-comment-p): Replace defsubst with defun.
9117
9118 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9119
9120 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9121
9122 2013-04-25 Bastien Guerry <bzg@gnu.org>
9123
9124 * textmodes/remember.el (remember-data-directory)
9125 (remember-directory-file-name-format): Fix custom types.
9126
9127 2013-04-25 Leo Liu <sdl.web@gmail.com>
9128
9129 * progmodes/octave.el (octave-completion-at-point-function):
9130 Make use of inferior octave process.
9131 (octave-initialize-completions): Remove.
9132 (inferior-octave-completion-table): New function.
9133 (inferior-octave-completion-at-point): Use it.
9134 (octave-completion-alist): Remove.
9135
9136 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9139 (opascal-mode-syntax-table): New var.
9140 (opascal-literal-kind, opascal-is-literal-end)
9141 (opascal-literal-token-at): Rewrite.
9142 (opascal--literal-start-re, opascal-font-lock-keywords)
9143 (opascal--syntax-propertize): New constants.
9144 (opascal-font-lock-defaults): Adjust.
9145 (opascal-mode): Use them. Set comment-<foo> variables as well.
9146 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9147 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9148 (delphi-other-face, opascal-other-face): Remove face variables.
9149 (opascal-save-state): Remove macro.
9150 (opascal-fontifying-progress-step): Remove constant.
9151 (opascal--ignore-changes): Remove var.
9152 (opascal-set-token-property, opascal-parse-next-literal)
9153 (opascal-is-stable-literal, opascal-complete-literal)
9154 (opascal-is-literal-start, opascal-face-of)
9155 (opascal-parse-region, opascal-parse-region-until-stable)
9156 (opascal-fontify-region, opascal-after-change)
9157 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9158 (opascal-debug-parse-region, opascal-debug-parse-window)
9159 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9160 (opascal-debug-fontify-buffer): Remove.
9161 (opascal-debug-mode-map): Adjust accordingly.
9162
9163 2013-04-25 Leo Liu <sdl.web@gmail.com>
9164
9165 Merge octave-mod.el and octave-inf.el into octave.el with some
9166 cleanups.
9167 * progmodes/octave.el: New file renamed from octave-mod.el.
9168 * progmodes/octave-inf.el: Merged into octave.el.
9169 * progmodes/octave-mod.el: Renamed to octave.el.
9170
9171 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9172
9173 * textmodes/reftex-vars.el
9174 (reftex-label-ignored-macros-and-environments): New defcustom.
9175
9176 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9177
9178 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9181 (smie-indent-keyword): Improve the check to ensure that the next
9182 comment is really on the same line.
9183 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9184
9185 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9186 semi-colons if the line is not otherwise empty (bug#14218).
9187
9188 2013-04-25 Glenn Morris <rgm@gnu.org>
9189
9190 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9191
9192 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * progmodes/opascal.el (opascal-set-token-property): Rename from
9195 opascal-set-text-properties and only set `token' (bug#14134).
9196 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9197 (opascal-literal-text-properties): Remove.
9198 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9199 Adjust callers.
9200
9201 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9202
9203 * textmodes/remember.el (remember-handler-functions): Add an
9204 option for a new handler `remember-store-in-files'.
9205 (remember-data-directory, remember-directory-file-name-format):
9206 New options.
9207 (remember-store-in-files): New function to store remember notes
9208 as separate files within a directory.
9209
9210 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9211
9212 * progmodes/compile.el (compilation-next-error-function):
9213 Pass "formats" to compilation-find-file (bug#11777).
9214
9215 2013-04-24 Glenn Morris <rgm@gnu.org>
9216
9217 * vc/vc-bzr.el (vc-bzr-print-log):
9218 * vc/vc-hg.el (vc-hg-print-log):
9219 * vc/vc-svn.el (vc-svn-print-log):
9220 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9221
9222 * vc/vc-bzr.el (vc-bzr-print-log):
9223 * vc/vc-cvs.el (vc-cvs-print-log):
9224 * vc/vc-git.el (vc-git-print-log):
9225 * vc/vc-hg.el (vc-hg-print-log):
9226 * vc/vc-mtn.el (vc-mtn-print-log):
9227 * vc/vc-rcs.el (vc-rcs-print-log):
9228 * vc/vc-sccs.el (vc-sccs-print-log):
9229 * vc/vc-svn.el (vc-svn-print-log):
9230 * vc/vc.el (vc-print-log-internal): Doc fixes.
9231
9232 2013-04-23 Glenn Morris <rgm@gnu.org>
9233
9234 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9235 Remove venerable code attempting to avoid substitute-command-keys.
9236
9237 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9238
9239 * textmodes/reftex-vars.el (reftex-label-regexps):
9240 Call `reftex-compile-variables' after changes to this variable.
9241
9242 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9245 Use lexical-binding.
9246 (jit-lock-force-redisplay): Use markers, check buffer's continued
9247 existence and beware narrowed buffers.
9248 (jit-lock-fontify-now): Adjust call accordingly.
9249
9250 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9253 to avoid misleading the user.
9254
9255 2013-04-22 Leo Liu <sdl.web@gmail.com>
9256
9257 * info-look.el: Prefer latex2e.info. (Bug#14240)
9258
9259 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9260
9261 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9262
9263 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9264 * net/tramp.el (tramp-call-process): ... here.
9265 (tramp-set-completion-function, tramp-parse-putty):
9266 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9267 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9268 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9269 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9270 (tramp-call-local-coding-command): Use `tramp-call-process'
9271 instead of `tramp-compat-call-process'.
9272
9273 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9274 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9275 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9276 (tramp-find-inline-compress): Improve traces.
9277 (tramp-maybe-send-script): Check for Perl binary.
9278 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9279
9280 2013-04-22 Daiki Ueno <ueno@gnu.org>
9281
9282 * epg.el (epg-context-pinentry-mode): New function.
9283 (epg-context-set-pinentry-mode): New function.
9284 (epg--start): Pass --pinentry-mode option to gpg command.
9285
9286 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9287
9288 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9289 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9290 `completion-at-point'. (Bug#13774)
9291
9292 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9293 default key binding for `describe-distribution' has been moved to
9294 `C-h C-o'. (Bug#13970)
9295
9296 2013-04-21 Glenn Morris <rgm@gnu.org>
9297
9298 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9299 Add doc strings.
9300 (vc-print-log): Clarify interactive prompt.
9301
9302 2013-04-20 Glenn Morris <rgm@gnu.org>
9303
9304 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9305 No longer include timestamp etc information.
9306
9307 2013-04-20 Roland Winkler <winkler@gnu.org>
9308
9309 * faces.el (read-face-name): Bug fix, return just one face if arg
9310 multiple is nil. (Bug#14209)
9311
9312 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9315 (remove-function): Autoload.
9316
9317 * comint.el (comint-redirect-original-filter-function): Remove.
9318 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9319 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9320 (vc-cvs-annotate-command):
9321 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9322 * progmodes/prolog.el (prolog-consult-compile):
9323 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9324 Use add/remove-function instead.
9325 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9326 (gud-tooltip-process-output, gud-tooltip-tips):
9327 Use add/remove-function instead.
9328 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9329 (scheme-interaction-mode, exit-scheme-interaction-mode):
9330 Use add/remove-function instead.
9331
9332 * vc/vc-dispatcher.el: Use lexical-binding.
9333 (vc--process-sentinel): Rename from vc-process-sentinel.
9334 Change last arg to be the code to run. Don't use vc-previous-sentinel
9335 and vc-sentinel-commands any more.
9336 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9337 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9338
9339 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9340
9341 * progmodes/sh-script.el (sh-imenu-generic-expression):
9342 Handle function names with a single character. (Bug#14111)
9343
9344 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9345
9346 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9347 for subroutines defined in an eval (bug#14182).
9348
9349 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9350
9351 * bookmark.el (bookmark-completing-read): Improve handling of empty
9352 string (bug#14176).
9353
9354 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9357
9358 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9359
9360 New faster Imenu implementation (bug#14058).
9361 * progmodes/python.el:
9362 (python-imenu-prev-index-position):
9363 (python-imenu-format-item-label-function)
9364 (python-imenu-format-parent-item-label-function)
9365 (python-imenu-format-parent-item-jump-label-function):
9366 New vars.
9367 (python-imenu-format-item-label)
9368 (python-imenu-format-parent-item-label)
9369 (python-imenu-format-parent-item-jump-label)
9370 (python-imenu--put-parent, python-imenu--build-tree)
9371 (python-imenu-create-index, python-imenu-create-flat-index)
9372 (python-util-popn): New functions.
9373 (python-mode): Set imenu-create-index-function to
9374 python-imenu-create-index.
9375
9376 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * winner.el (winner-active-region): Use region-active-p, activate-mark
9379 and deactivate-mark (bug#14225).
9380
9381 * simple.el (deactivate-mark): Don't inline it.
9382
9383 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9384
9385 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9386
9387 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9388
9389 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9390 file extensions from the archive-mode entry in order to prefer
9391 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9392
9393 2013-04-18 Leo Liu <sdl.web@gmail.com>
9394
9395 * bindings.el (help-event-list): Add ?\?.
9396
9397 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9398
9399 * subr.el (with-wrapper-hook): Declare obsolete.
9400 * simple.el (filter-buffer-substring-function): New hook.
9401 (filter-buffer-substring): Use it.
9402 (filter-buffer-substring-functions): Mark obsolete.
9403 * minibuffer.el (completion-in-region-function): New hook.
9404 (completion-in-region): Use it.
9405 (completion-in-region-functions): Mark obsolete.
9406 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9407 * abbrev.el (abbrev-expand-function): New hook.
9408 (expand-abbrev): Use it.
9409 (abbrev-expand-functions): Mark obsolete.
9410 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9411 and :filter-return.
9412
9413 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9414
9415 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9416 and do not care about match data.
9417
9418 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9421 completion tables when completing error conditions and
9422 `declare' arguments.
9423 (lisp-complete-symbol, field-complete): Mark as obsolete.
9424 (check-parens): Unmatched parens are user errors.
9425 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9426
9427 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9428
9429 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9430 command changed buffer (ie. `flyspell-pre-buffer' is not current
9431 buffer), which prevents making decisions based on invalid value of
9432 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9433 cause an error when `flyspell-pre-point' was nil after switching
9434 buffers.
9435 (flyspell-post-command-hook): No longer needs to change buffers when
9436 checking pre-word. While at it remove unnecessary progn.
9437
9438 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9439
9440 * textmodes/ispell.el (ispell-add-per-file-word-list):
9441 Fix `flyspell-correct-word-before-point' error when accepting
9442 words and `coment-padding' is an integer by using
9443 `comment-normalize-vars' (Bug #14214).
9444
9445 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9446
9447 New defun movement commands.
9448 * progmodes/python.el (python-nav--syntactically)
9449 (python-nav--forward-defun, python-nav-backward-defun)
9450 (python-nav-forward-defun): New functions.
9451
9452 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9453
9454 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9455 (python-syntax-context): Use named compiler-macro for backwards
9456 compatibility with Emacs 24.x.
9457
9458 2013-04-17 Leo Liu <sdl.web@gmail.com>
9459
9460 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9461 octave-hide-process-buffer.
9462
9463 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9464
9465 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9466 (bug#14216).
9467
9468 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9469
9470 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9471 Fix adjustment of offset when receiving incomplete responses from GDB
9472 (bug#14129).
9473
9474 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9475
9476 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9477 python-mode-abbrev-table.
9478 (python-skeleton-define): Adjust accordingly.
9479 (python-mode-abbrev-table): New table that inherits from it so that
9480 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9481
9482 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9483 (abbrev-symbol): Use it.
9484 (abbrev--before-point): Use it since we already handle inheritance.
9485
9486 2013-04-16 Leo Liu <sdl.web@gmail.com>
9487
9488 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9489 binding to info-lookup-symbol.
9490
9491 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9492
9493 * minibuffer.el (completion--twq-all):
9494 * term/ns-win.el (ns-initialize-window-system):
9495 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9496
9497 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9500 global bindings.
9501
9502 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9503
9504 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9505
9506 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9507 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9508 to nil.
9509 (ruby-end-of-defun): Remove the unused arg, change the docstring
9510 to reflect that this function is only used as the value of
9511 `end-of-defun-function'.
9512 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9513 to reflect an earlier change that beginning/end-of-defun functions
9514 jump between methods in a class definition, as well as top-level
9515 functions.
9516
9517 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9518
9519 * minibuffer.el (minibuffer-complete): Don't just scroll
9520 a *Completions* that's been iconified.
9521 (minibuffer-force-complete): Make sure repetitions do cycle when going
9522 through completion-in-region -> minibuffer-complete.
9523
9524 2013-04-15 Alan Mackenzie <acm@muc.de>
9525
9526 Correct the placement of c-cpp-delimiters when there're #s not at
9527 col 0.
9528
9529 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9530 place a submatch around the #.
9531 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9532 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9533 on the #, not BOL.
9534
9535 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9536
9537 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9538 (advice--member-p): New arg `name'.
9539 (advice--add-function, advice-member-p): Use it (bug#14202).
9540
9541 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9542
9543 Reformulate java imenu-generic-expression.
9544 The old expression contained ill formed regexps.
9545
9546 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9547 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9548 (cc-imenu-java-method-arg-regexp): New defconsts.
9549 (cc-imenu-java-build-type-args-regex): New defun.
9550 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9551 handling of spaces in the regexp.
9552
9553 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9554
9555 * textmodes/ispell.el (ispell-command-loop): Remove
9556 flyspell highlight of a word when ispell accepts it (bug #14178).
9557
9558 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9559
9560 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9561 uses code from the previous `ange-ftp-run-real-handler'.
9562 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9563 only in case that function exist. This is needed for proper
9564 unloading of Tramp.
9565
9566 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9567
9568 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9569
9570 * textmodes/reftex.el (reftex-compile-variables): Use it.
9571
9572 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * files.el (normal-mode): Only use default major-mode if no other mode
9575 was specified.
9576
9577 * emacs-lisp/trace.el (trace-values): New function.
9578
9579 * files.el: Allow : in local variables (bug#14089).
9580 (hack-local-variable-regexp): New var.
9581 (hack-local-variables-prop-line, hack-local-variables): Use it.
9582
9583 2013-04-13 Roland Winkler <winkler@gnu.org>
9584
9585 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9586 data before it gets modified by bibtex-beginning-of-entry.
9587
9588 2013-04-13 Roland Winkler <winkler@gnu.org>
9589
9590 * textmodes/bibtex.el (bibtex-url): Doc fix.
9591
9592 2013-04-13 Roland Winkler <winkler@gnu.org>
9593
9594 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9595 does not visit a BibTeX file, exclude it from the list of buffers
9596 returned by bibtex-initialize.
9597
9598 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9599
9600 * window.el (split-window): Remove interactive form, since as a
9601 command this function is a special case of split-window-below.
9602 Correct doc string.
9603
9604 2013-04-12 Roland Winkler <winkler@gnu.org>
9605
9606 * faces.el (read-face-name): Do not override value of arg default.
9607 Allow single faces and strings as default values. Remove those
9608 elements from return value that are not faces.
9609 (describe-face): Simplify.
9610 (face-at-point): New optional args thing and multiple so that this
9611 function can provide the same functionality previously provided by
9612 read-face-name.
9613 (make-face-bold, make-face-unbold, make-face-italic)
9614 (make-face-unitalic, make-face-bold-italic, invert-face)
9615 (modify-face, read-face-and-attribute): Use face-at-point.
9616
9617 * cus-edit.el (customize-face, customize-face-other-window)
9618 * cus-theme.el (custom-theme-add-face)
9619 * face-remap.el (buffer-face-set)
9620 * facemenu.el (facemenu-set-face): Use face-at-point.
9621
9622 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9623
9624 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9625
9626 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9627
9628 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9629 off leading { and trailing } from field values.
9630
9631 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9632
9633 * emacs-lisp/timer.el (timer--check): New function.
9634 (timer--time, timer-set-function, timer-event-handler): Use it.
9635 (timer-set-idle-time): Simplify.
9636 (timer--activate): CSE.
9637 (timer-event-handler): Give more info in error message.
9638 (internal-timer-start-idle): New function, moved from C.
9639
9640 * mpc.el (mpc-proc): Add `restart' argument.
9641 (mpc-proc-cmd): Use it.
9642 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9643 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9644 less often.
9645
9646 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9647
9648 * progmodes/sh-script.el: Implement `sh-mode' own
9649 `add-log-current-defun-function' (bug#14112).
9650 (sh-current-defun-name): New function.
9651 (sh-mode): Use the function.
9652
9653 2013-04-09 Bastien Guerry <bzg@gnu.org>
9654
9655 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9656
9657 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9658
9659 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9660
9661 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9662 timer (bug#14156).
9663
9664 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9665
9666 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9667 declaration.
9668
9669 2013-04-07 Leo Liu <sdl.web@gmail.com>
9670
9671 * pcmpl-x.el: New file.
9672
9673 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9674
9675 Do not set x-display-name until X connection is established.
9676 This is needed to prevent from weird situation described at
9677 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9678 * frame.el (make-frame): Set x-display-name after call to
9679 window system initialization function, not before.
9680 * term/x-win.el (x-initialize-window-system): Add optional
9681 display argument and use it.
9682 * term/w32-win.el (w32-initialize-window-system):
9683 * term/ns-win.el (ns-initialize-window-system):
9684 * term/pc-win.el (msdos-initialize-window-system):
9685 Add compatible optional display argument.
9686
9687 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9688
9689 * files.el (normal-backup-enable-predicate): On MS-Windows and
9690 MS-DOS compare truenames of temporary-file-directory and of the
9691 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9692 don't fail comparison by compare-strings. Also, compare file
9693 names case-insensitively on MS-Windows and MS-DOS.
9694
9695 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9698 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9699
9700 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9701
9702 * whitespace.el (whitespace-color-on, whitespace-color-off):
9703 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9704
9705 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9706
9707 * ispell.el (ispell-set-spellchecker-params):
9708 Really set `ispell-args' for all equivs.
9709
9710 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9711
9712 * ido.el (ido-completions): Use extra elements of ido-decorations
9713 (bug#14143).
9714 (ido-decorations): Update docstring.
9715
9716 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9717
9718 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9719 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9720 nil during initialization, in order not to miss changes since the
9721 file was opened. (Bug#14140)
9722
9723 2013-04-05 Leo Liu <sdl.web@gmail.com>
9724
9725 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9726
9727 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9728
9729 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9730
9731 2013-04-04 Glenn Morris <rgm@gnu.org>
9732
9733 * electric.el (electric-pair-inhibit-predicate): Add :version.
9734
9735 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9738 when a package is required several times (bug#14082).
9739
9740 2013-04-04 Roland Winkler <winkler@gnu.org>
9741
9742 * faces.el (read-face-name): Behave as promised by the docstring.
9743 Assume that arg default is a list of faces.
9744 (describe-face): Call read-face-name with list of default faces.
9745
9746 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9747
9748 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9749 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9750 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9751 the header.
9752 (bookmark-exit-hook-internal): Save even if list is empty.
9753
9754 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9755
9756 * emacs-lisp/package.el (package-pinned-packages): New var.
9757 (package--add-to-archive-contents): Obey it (bug#14118).
9758
9759 2013-04-03 Alan Mackenzie <acm@muc.de>
9760
9761 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9762 Also adapt to the new values of element 7 of a parse state.
9763
9764 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9765 parameter `not-in-delimiter'. Handle being inside comment opener.
9766 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9767 character in case we're typing a '*' after a '/'.
9768 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9769 instead by passing the parameter to c-state-pp-to-literal.
9770
9771 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9772 for elt. 7 of a parse state.
9773
9774 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9775
9776 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9777 * international/latin1-disp.el, international/mule-util.el:
9778 * language/cyril-util.el, language/european.el, language/ind-util.el:
9779 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9780 * language/tibetan.el, language/viet-util.el:
9781 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9782
9783 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9786 (electric-pair-post-self-insert-function): Use it.
9787 (electric-pair-default-inhibit): New function, extracted from
9788 electric-pair-post-self-insert-function.
9789
9790 2013-03-31 Roland Winkler <winkler@gnu.org>
9791
9792 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9793
9794 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9797
9798 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9799
9800 Un-indent after "pass" and "return" statements (Bug#13888)
9801 * progmodes/python.el (python-indent-block-enders): New var.
9802 (python-indent-calculate-indentation): Use it.
9803
9804 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9805
9806 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9807 defun. Defining it as defalias could introduce too eager
9808 byte-compiler optimization. (Bug#14030)
9809
9810 2013-03-30 Chong Yidong <cyd@gnu.org>
9811
9812 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9813
9814 2013-03-30 Leo Liu <sdl.web@gmail.com>
9815
9816 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9817 (kmacro-execute-from-register): Pass the keyboard macro to
9818 kmacro-call-macro or repeating won't work correctly.
9819
9820 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9821
9822 * progmodes/subword.el: Back to using `forward-symbol'.
9823
9824 * subr.el (forward-whitespace, forward-symbol)
9825 (forward-same-syntax): Move from thingatpt.el.
9826
9827 2013-03-29 Leo Liu <sdl.web@gmail.com>
9828
9829 * kmacro.el (kmacro-to-register): New command.
9830 (kmacro-execute-from-register): New function.
9831 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9832
9833 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * mpc.el: Use defvar-local and setq-local.
9836 (mpc--proc-connect): Connection failures are not bugs.
9837 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9838 (mpc-volume-map): Bind to the up-events.
9839
9840 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9841
9842 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9843 instead of `forward-symbol'.
9844
9845 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9848 (edebug--recursive-edit): Use it.
9849 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9850 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9851
9852 2013-03-28 Leo Liu <sdl.web@gmail.com>
9853
9854 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9855
9856 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9857
9858 * facemenu.el (list-colors-callback): New defvar.
9859 (list-colors-redisplay): New function.
9860 (list-colors-display): Install list-colors-redisplay as the
9861 revert-buffer-function. (Bug#14063)
9862
9863 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9866 and suffixes don't overlap (bug#14061).
9867
9868 * case-table.el: Use lexical-binding.
9869 (case-table-get-table): New function.
9870 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9871
9872 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9873
9874 * progmodes/subword.el: Add `superword-mode' to do word motion
9875 over symbol_words (parallels and leverages `subword-mode' which
9876 does word motion inside MixedCaseWords).
9877
9878 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9879
9880 * eshell/em-unix.el: Move su and sudo to...
9881 * eshell/em-tramp.el: ...Eshell tramp module.
9882
9883 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9886 Change return value to be a sexp. Delay `get-buffer' to after
9887 restoring the desktop (bug#13951).
9888
9889 2013-03-26 Leo Liu <sdl.web@gmail.com>
9890
9891 * register.el: Move semantic tag handling back to
9892 cedet/semantic/senator.el. (Bug#14052)
9893
9894 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9897 into the prompt either (bug#13963).
9898
9899 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9902 part of "(error-foo)".
9903
9904 2013-03-24 Juri Linkov <juri@jurta.org>
9905
9906 * replace.el (list-matching-lines-prefix-face): New defcustom.
9907 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9908 `occur-engine' if `face-differs-from-default-p' returns t.
9909 (occur-engine): Add `,' inside backquote construct to evaluate
9910 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9911 Pass `prefix-face' to the functions `occur-context-lines' and
9912 `occur-engine-add-prefix'.
9913 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9914 `prefix-face' and propertize the prefix with `prefix-face'.
9915 (Bug#14017)
9916
9917 2013-03-24 Leo Liu <sdl.web@gmail.com>
9918
9919 * nxml/rng-valid.el (rng-validate-while-idle)
9920 (rng-validate-quick-while-idle): Guard against deleted buffer.
9921 (Bug#13999)
9922
9923 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9924 is the last entry in kill-buffer-hook.
9925
9926 * files.el (kill-buffer-hook): Doc fix.
9927
9928 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9929
9930 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9931 Make it safe-local.
9932
9933 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9934
9935 2013-03-23 Leo Liu <sdl.web@gmail.com>
9936
9937 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9938 Remove.
9939
9940 * nxml/rng-valid.el (rng-validate-mode)
9941 (rng-after-change-function, rng-do-some-validation):
9942 * nxml/rng-maint.el (rng-validate-buffer):
9943 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9944 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9945 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9946 (nxml-extend-after-change-region): Use with-silent-modifications.
9947
9948 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9949 timer-idle-list.
9950
9951 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9952 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9953 timer-idle-list. (Bug#13999)
9954
9955 2013-03-23 Juri Linkov <juri@jurta.org>
9956
9957 * info.el (info-index-match): New face.
9958 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9959 main pattern and add text properties with the new face to matches
9960 in index entries relative to the beginning of the index entry.
9961 (Bug#14015)
9962
9963 2013-03-21 Eric Ludlam <zappo@gnu.org>
9964
9965 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9966 Inhibit read only while inserting objects.
9967
9968 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9969
9970 * progmodes/cfengine.el: Update docs to mention
9971 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9972 symbol motion. Remove "_" from the word syntax.
9973
9974 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9975
9976 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9977 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9978
9979 2013-03-20 Juri Linkov <juri@jurta.org>
9980
9981 * info.el (Info-next-reference-or-link)
9982 (Info-prev-reference-or-link): New functions.
9983 (Info-next-reference, Info-prev-reference): Use them.
9984 (Info-try-follow-nearest-node): Handle footnote navigation.
9985 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9986
9987 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9990 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9991
9992 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9993
9994 Suppress unnecessary non-ASCII chatter during build process.
9995 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9996 (batch-skkdic-convert): Suppress most of the chatter.
9997 It's not needed so much now that machines are faster,
9998 and its non-ASCII component was confusing; see Dmitry Gutov in
9999 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10000
10001 2013-03-20 Leo Liu <sdl.web@gmail.com>
10002
10003 * ido.el (ido-chop): Fix bug#10994.
10004
10005 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10006
10007 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10008 Remove vars.
10009 (whitespace-color-on, whitespace-color-off):
10010 Use `font-lock-fontify-buffer' (Bug#13817).
10011
10012 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10013
10014 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10015 remapping in mode-line.
10016 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10017
10018 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10019
10020 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10021 value for `whitespace-line' face (Bug#13875).
10022 (whitespace-font-lock-keywords): Change description.
10023 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10024 the constructed keywords instead.
10025 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10026
10027 2013-03-19 Leo Liu <sdl.web@gmail.com>
10028
10029 * progmodes/compile.el (compilation-display-error): New command.
10030 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10031 C-o. (Bug#13992)
10032
10033 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10034
10035 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10036
10037 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10038
10039 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10040
10041 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10042
10043 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10044
10045 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10046 * net/tramp-gvfs.el (top):
10047 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10048 (tramp-handle-shell-command): Use it.
10049 (tramp-dissect-file-name): Raise an error when hostname is a
10050 method name, and neither method nor user is specified.
10051
10052 * net/trampver.el: Update release number.
10053
10054 2013-03-18 Leo Liu <sdl.web@gmail.com>
10055
10056 Make sure eldoc can be turned off properly.
10057 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10058 eldoc-mode.
10059 (eldoc-display-message-p): Revert last change.
10060 (eldoc-display-message-no-interference-p)
10061 (eldoc-print-current-symbol-info): Tweak.
10062
10063 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10064
10065 * doc-view.el (doc-view-new-window-function): Check the new window
10066 overlay's display property instead the char property of the
10067 buffer's first char. Use `with-selected-window' instead of
10068 `save-window-excursion' with `select-window'.
10069 (doc-view-document->bitmap): Check the current doc-view overlay's
10070 display property instead the char property of the buffer's first char.
10071
10072 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10073
10074 Automate the build of ja-dic.el (Bug#13984).
10075 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10076 from the input, rather than assume that it's been done for us by the
10077 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10078 the current date into a ja-dic.el comment, as that complicates
10079 regression testing.
10080
10081 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * whitespace.el: Fix double evaluation.
10084 (whitespace-space, whitespace-hspace, whitespace-tab)
10085 (whitespace-newline, whitespace-trailing, whitespace-line)
10086 (whitespace-space-before-tab, whitespace-indentation)
10087 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10088 obsolete defvars.
10089 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10090 (whitespace-color-on): Use a single font-lock-add-keywords call.
10091 Fix double-evaluation of face variables.
10092
10093 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10094
10095 * net/tramp-adb.el (tramp-adb-parse-device-names):
10096 Use `start-process' instead of `call-process'. Otherwise, the
10097 function might be blocked under MS Windows. (Bug#13299)
10098
10099 2013-03-17 Leo Liu <sdl.web@gmail.com>
10100
10101 Extend eldoc to display info in the mode-line. (Bug#13978)
10102 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10103 (eldoc-mode-line-string): New variable.
10104 (eldoc-minibuffer-message): New function.
10105 (eldoc-message-function): New variable.
10106 (eldoc-message): Use it.
10107 (eldoc-display-message-p)
10108 (eldoc-display-message-no-interference-p):
10109 Support eldoc-post-insert-mode.
10110
10111 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10112 (eval-expression): Run it.
10113
10114 2013-03-17 Roland Winkler <winkler@gnu.org>
10115
10116 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10117 strings in the list of return values.
10118
10119 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10120
10121 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10122 radix before checking for HMS forms.
10123
10124 2013-03-16 Leo Liu <sdl.web@gmail.com>
10125
10126 * progmodes/scheme.el: Add indentation and font-locking for λ.
10127 (Bug#13975)
10128
10129 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10130
10131 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10132 token before point (bug#13942).
10133
10134 2013-03-16 Leo Liu <sdl.web@gmail.com>
10135
10136 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10137
10138 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10139
10140 * startup.el (command-line-normalize-file-name): Fix handling of
10141 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10142 <xfq.free@gmail.com> in
10143 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10144
10145 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10146
10147 Sync with Tramp 2.2.7.
10148
10149 * net/trampver.el: Update release number.
10150
10151 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10152
10153 * doc-view.el: Fix bug#13887.
10154 (doc-view-insert-image): Don't modify overlay associated to
10155 non-live windows, and implement horizontal centering of image in
10156 case it's smaller than the window.
10157 (doc-view-new-window-function): Force redisplay of new windows on
10158 doc-view buffers.
10159
10160 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10161
10162 * saveplace.el (save-place-alist-to-file): Don't sort
10163 `save-place-alist', just pretty-print it (bug#13882).
10164
10165 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10166
10167 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10168 Check whether `default-file-name-coding-system' is bound.
10169 It isn't in XEmacs.
10170
10171 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10174 backquotes for `obsolete' (bug#13929).
10175
10176 * international/mule.el (find-auto-coding): Include file name in
10177 obsolescence warning (bug#13922).
10178
10179 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10180
10181 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10182 for CFEngine 3-specific indentation.
10183 (cfengine3-indent-line): Use it. Fix up category regex.
10184 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10185
10186 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * type-break.el (type-break-file-name):
10189 * textmodes/remember.el (remember-data-file):
10190 * strokes.el (strokes-file):
10191 * shadowfile.el (shadow-initialize):
10192 * saveplace.el (save-place-file):
10193 * ps-bdf.el (bdf-cache-file):
10194 * progmodes/idlwave.el (idlwave-config-directory):
10195 * net/quickurl.el (quickurl-url-file):
10196 * international/kkc.el (kkc-init-file-name):
10197 * ido.el (ido-save-directory-list-file):
10198 * emulation/viper.el (viper-custom-file-name):
10199 * emulation/vip.el (vip-startup-file):
10200 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10201 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10202
10203 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10204
10205 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10206 * language/thai-word.el: Switch to UTF-8.
10207
10208 See ChangeLog.16 for earlier changes.
10209
10210 ;; Local Variables:
10211 ;; coding: utf-8
10212 ;; End:
10213
10214 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10215
10216 This file is part of GNU Emacs.
10217
10218 GNU Emacs is free software: you can redistribute it and/or modify
10219 it under the terms of the GNU General Public License as published by
10220 the Free Software Foundation, either version 3 of the License, or
10221 (at your option) any later version.
10222
10223 GNU Emacs is distributed in the hope that it will be useful,
10224 but WITHOUT ANY WARRANTY; without even the implied warranty of
10225 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10226 GNU General Public License for more details.
10227
10228 You should have received a copy of the GNU General Public License
10229 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.