Tweak comint docstring to suggest remap bindings
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-02 Daniel Colascione <dancol@dancol.org>
2
3 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
4
5 2014-02-02 Glenn Morris <rgm@gnu.org>
6
7 * register.el (register-read-with-preview, point-to-register)
8 (window-configuration-to-register, frame-configuration-to-register)
9 (jump-to-register, number-to-register, view-register, insert-register)
10 (copy-to-register, append-to-register, prepend-to-register)
11 (copy-rectangle-to-register): Doc fixes.
12
13 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
16 * emacs-lisp/find-func.el (find-function-C-source): Idem.
17 * emacs-lisp/nadvice.el (advice--cd*r): New function.
18 * help-fns.el (describe-function-1): Use it.
19
20 2014-02-02 Glenn Morris <rgm@gnu.org>
21
22 * register.el (register-preview-default): New function,
23 split from register-preview.
24 (register-preview-function): Rename from register-preview-functions,
25 make it not a hook.
26 (register-preview): Use register-preview-function.
27 (register-read-with-preview): Error on non-character event. (Bug#16595)
28
29 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
30
31 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
32 `:' before binary operators (bug#16609). Don't check for `:'
33 before `[' and `(', or their syntax status. A percent literal
34 can't end with either.
35 (ruby-font-lock-keywords): For built-ins that require arguments,
36 check that they're followed by something that looks like argument
37 (bug#16610).
38
39 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
40
41 * subr.el (butlast): Document what an omitted N means (bug#13437).
42 (nbutlast): Ditto.
43
44 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
45
46 * net/shr.el (shr-generic): Make into a defsubst to make the stack
47 depth shallower (bug#16587).
48 (shr-tag-svg): Respect `shr-inhibit-images'.
49 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
50
51 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
52
53 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
54 (ruby-smie-grammar): Make "." right-associative. Make its priority
55 lower than the ternary and all binary operators.
56 (ruby-smie-rules): Indent "(" relative to the first non-"."
57 parent, or the first "." parent at indentation.
58 Use `ruby-align-chained-calls' for indentation of "." tokens.
59 (Bug#16593)
60
61 2014-01-31 Juri Linkov <juri@jurta.org>
62
63 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
64 from `make-hash-table'.
65
66 * textmodes/ispell.el (ispell-init-process): Change message format
67 to be consistent with other messages.
68
69 2014-01-31 Glenn Morris <rgm@gnu.org>
70
71 * delsel.el (delete-selection-mode): Doc fix.
72
73 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
74 (trace-function-background): Doc fixes.
75
76 * ido.el (ido-use-virtual-buffers): Doc fix.
77 Reset :version, since the default value has not changed.
78
79 * register.el (register-preview-delay, register-read-with-preview):
80 Doc fixes.
81
82 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
83 do not mess with mail-buffer position (fixes 2009-11-03 change).
84 * progmodes/cc-mode.el (c-submit-bug-report):
85 Check auto-fill-mode is bound. (Bug#16592)
86
87 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
88
89 * startup.el (fancy-splash-image-file): New function,
90 split from fancy-splash-head.
91 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
92 so that we are both using the same image. (Bug#16574)
93
94 2014-01-30 Glenn Morris <rgm@gnu.org>
95
96 * simple.el (eval-expression): Doc fix.
97
98 * hexl.el (hexl-mode-hook):
99 * ielm.el (ielm-mode-hook):
100 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
101 (lisp-interaction-mode-hook):
102 * progmodes/cfengine.e (cfengine3-documentation-function):
103 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
104
105 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
108 is a symbol (bug#16584).
109
110 2014-01-30 Glenn Morris <rgm@gnu.org>
111
112 * help.el (help-for-help-internal): Add "P" to text.
113
114 2014-01-29 Glenn Morris <rgm@gnu.org>
115
116 * simple.el (just-one-space, cycle-spacing): Doc fixes.
117
118 2014-01-28 Martin Rudalics <rudalics@gmx.at>
119
120 * window.el (fit-frame-to-buffer): Fix calculations for margins and
121 height constraints.
122
123 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
124
125 * progmodes/hideif.el: Extend to full CPP expression syntax.
126 (hif-token-alist): Add missing tokens.
127 (hif-token-regexp): Add support for float/octal/hex immediates.
128 (hif-string-literal-regexp): New const.
129 (hif-tokenize): Recognize strings and float/octal/hex immediates.
130 (hif-exprlist): New function.
131 (hif-parse-if-exp): Use it.
132 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
133 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
134 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
135 (hif-logxor, hif-comma): New functions.
136
137 2014-01-28 Glenn Morris <rgm@gnu.org>
138
139 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
140
141 * indent.el (tab-stop-list): Doc fix. Add :version.
142
143 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
144 (cvs-append-to-ignore): Add compatibility alias.
145
146 2014-01-27 Glenn Morris <rgm@gnu.org>
147
148 * dired.el (dired-hide-details-mode): Don't autoload it,
149 since it cannot be used outside Dired buffers anyway.
150
151 * emulation/cua-base.el (cua-mode): Doc fix.
152
153 * dired.el (dired-hide-details-hide-symlink-targets)
154 (dired-hide-details-hide-information-lines)
155 (dired-hide-details-mode): Doc fixes.
156
157 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
158 * strokes.el (strokes-file): Doc fix. Bump :version.
159 (strokes-help): Doc fix.
160 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
161 * emulation/viper.el (viper): Doc fix for custom group.
162 (top-level): Remove oh-so-no-longer-relevant text about vip.
163 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
164
165 * ido.el (ido-save-directory-list-file):
166 * saveplace.el (save-place-file):
167 * calendar/timeclock.el (timeclock-file):
168 * net/quickurl.el (quickurl-url-file):
169 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
170 * progmodes/idlwave.el (idlwave-config-directory):
171 * textmodes/remember.el (remember-data-file):
172 Bump :version.
173
174 2014-01-26 Glenn Morris <rgm@gnu.org>
175
176 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
177 Doc fix. Make obsolete.
178 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
179
180 * sort.el (delete-duplicate-lines): Doc fix.
181
182 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
183
184 * progmodes/ada-mode.el (ada):
185 * woman.el (woman): Link to info manual and Commentary section.
186
187 * progmodes/flymake.el (flymake):
188 * nxml/nxml-mode.el (nxml):
189 * net/eww.el (eww):
190 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
191 * htmlfontify.el (htmlfontify):
192 * ses.el (ses):
193 * epa.el (epa):
194 * ido.el (ido): Link to info manual.
195
196 2014-01-25 Leo Liu <sdl.web@gmail.com>
197
198 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
199
200 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
201
202 * net/shr.el (shr-tag-img): Prefer the title over the alt text
203 (bug#16537).
204
205 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
206
207 * net/eww.el (eww-download-callback):
208 Fix reference to eww-download-directory.
209
210 * emacs-lisp/bytecomp.el (byte-compile-file):
211 Remove unused local variable `file-name'.
212
213 2014-01-24 Glenn Morris <rgm@gnu.org>
214
215 * woman.el (woman-default-faces, woman-monochrome-faces):
216 Fix obsolescence specification.
217
218 * subr.el (with-demoted-errors): Doc fix.
219
220 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
223 (cl--macroexp-fboundp): New function.
224 (cl--make-type-test): Use it.
225
226 2014-01-23 Glenn Morris <rgm@gnu.org>
227
228 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
229 * simple.el (eval-expression): Doc fixes.
230
231 2014-01-22 Glenn Morris <rgm@gnu.org>
232
233 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
234
235 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * emacs-lisp/package.el: Write files silently.
238 (package-autoload-ensure-default-file, package--write-file-no-coding)
239 (package-generate-description-file, package--download-one-archive)
240 (package-install-from-archive): Tell `write-region' to stay quiet.
241 (package-menu-mode, package-menu--print-info): Omit the Archive column
242 if there's only one archive.
243 (package-all-keywords, package--has-keyword-p): Remove dead code.
244
245 2014-01-22 Glenn Morris <rgm@gnu.org>
246
247 * version.el (emacs-bzr-version-bzr): Fix typo.
248
249 * version.el (emacs-repository-get-version):
250 Check either .bzr or .git, but not both.
251 Make the git case actually use the DIR argument, and return nil
252 rather than the empty string.
253 Avoid error if .git exists but the git executable is not found.
254
255 2014-01-22 Martin Rudalics <rudalics@gmx.at>
256
257 Fixes in window size functions around Bug#16430 and Bug#16470.
258 * window.el (window-total-size, window-size): New argument ROUND.
259 (window--min-delta-1, window-min-delta, window--max-delta-1):
260 Be more conservative when calculating the numbers of lines or
261 columns a window can shrink (Bug#16430).
262 (fit-window-to-buffer): Simplify code.
263 * term.el (term-window-width): Call window-body-width again.
264
265 2014-01-22 Glenn Morris <rgm@gnu.org>
266
267 * image.el (image-format-suffixes): Doc fix.
268
269 * international/quail.el (quail-define-package): Doc fix.
270
271 * emacs-lisp/authors.el (authors-valid-file-names):
272 (authors-renamed-files-alist): Additions.
273
274 * vc/vc-git.el (vc-git-print-log): Remove --follow;
275 reverts 2014-01-09 change. (Bug#16422)
276
277 * calc/calc-embed.el (thing-at-point-looking-at):
278 * emacs-lisp/map-ynp.el (x-popup-dialog):
279 * obsolete/lmenu.el (x-popup-dialog):
280 * emacs-lisp/package.el (url-recreate-url):
281 * mail/mailclient.el (clipboard-kill-ring-save):
282 * subr.el (x-popup-dialog): Update declaration.
283 * mail/rmail.el (rmail-mime-message-p):
284 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
285
286 2014-01-21 Daniel Colascione <dancol@dancol.org>
287
288 * progmodes/sh-script.el (sh--inside-noncommand-expression):
289 Correctly detect when we're inside an arithmetic expansion form
290 containing nested parenthesis.
291 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
292 to detect cases where we shouldn't expand "<<" to a heredoc
293 skeleton.
294
295 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
298 (eldoc--message-command-p): New function.
299 (eldoc-display-message-p): Use it.
300 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
301 message is not automatically erased for us.
302 (eldoc-print-current-symbol-info): Erase previous message, if any.
303
304 2014-01-21 Tassilo Horn <tsdh@gnu.org>
305
306 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
307 specify it's an interactive function.
308
309 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
310 Fix regex used for scanning for citation keys which failed for
311 citations with optional arguments.
312
313 2014-01-21 Leo Liu <sdl.web@gmail.com>
314
315 * simple.el (read--expression): Don't enable eldoc-mode.
316
317 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * simple.el (move-beginning-of-line): Make sure we don't move forward
320 (bug#16497).
321
322 2014-01-20 Juri Linkov <juri@jurta.org>
323
324 * saveplace.el (toggle-save-place, save-place-to-alist)
325 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
326 'dired-mode) before checking for dired-directory. (Bug#16477)
327
328 2014-01-20 Juri Linkov <juri@jurta.org>
329
330 * indent.el (indent-line-to): Use backward-to-indentation
331 instead of back-to-indentation. (Bug#16461)
332
333 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
334
335 Revert some of the CANNOT_DUMP fix (Bug#16494).
336 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
337 but fixing this can wait until after the next release.
338 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
339
340 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
341
342 * eshell/esh-mode.el (eshell-password-prompt-regexp):
343 Use `password-word-equivalents'.
344 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
345 to t. (Bug#5664, Bug#13124)
346
347 2014-01-19 Alan Mackenzie <acm@muc.de>
348
349 Bind open-paren-in-column-0-is-defun-start to nil at some entry
350 points.
351 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
352 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
353 * progmodes/cc-mode.el (c-before-change, c-after-change)
354 (c-font-lock-fontify-region): Bind it here.
355
356 2014-01-19 Martin Rudalics <rudalics@gmx.at>
357
358 * term.el (term-window-width): Call window-text-width instead of
359 window-width (Bug#16470).
360
361 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
362
363 * simple.el (password-word-equivalents): Remove duplicates.
364 Sort, to make this easier next time.
365 Downcase. Omit ": " after "jelszó".
366
367 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
368
369 * term/common-win.el (saved-region-selection): Defvar it.
370 (x-select-text): Set saved-region-selection (Bug#16382).
371
372 2014-01-18 Glenn Morris <rgm@gnu.org>
373
374 * emacs-lisp/authors.el (authors-aliases)
375 (authors-renamed-files-alist): Add some entries.
376
377 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
378
379 * net/tramp.el (tramp-password-prompt-regexp):
380 Use `password-word-equivalents' if available.
381 (tramp-action-password, tramp-process-one-action)
382 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
383
384 2014-01-17 Chong Yidong <cyd@gnu.org>
385
386 * simple.el (password-word-equivalents): New defcustom.
387 * comint.el (comint-password-prompt-regexp): Use it. Bump version
388 to 24.4.
389 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
390 to t. (Bug#13124)
391
392 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
393
394 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
395 (ruby-align-to-stmt-keywords): Change the default value.
396 Use `ruby-alignable-keywords' to generate the possible customization
397 choices.
398 (ruby-smie-rules): Instead of using a hardcoded list of alignable
399 keywords, check against the value of `ruby-alignable-keywords'
400 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
401
402 2014-01-17 Glenn Morris <rgm@gnu.org>
403
404 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
405
406 Make M-x authors return zero *Authors Errors* from current logs.
407 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
408 (authors-ignored-files): Add some entries, remove others.
409 (authors-ambiguous-files, authors-valid-file-names):
410 Add some entries.
411 (authors-renamed-files-alist): Add, remove, and adjust entries.
412 (authors-renamed-files-regexps): Add some entries.
413 Remove some very broad ones. Make some entries `lax'.
414 (authors-lax-changelogs): New constant.
415 (authors-disambiguate-file-name): Treat top-level specially.
416 (authors-lax-changelog-p): New function.
417 (authors-canonical-file-name): Check file as written against
418 authors-valid-file-names. Do not special-case etc/.
419 Handle `lax' logs and authors-renamed-files-regexps elements.
420
421 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
422
423 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
424 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
425 callers.
426
427 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
430 Assume we're already in the proper buffer.
431 Inspired by Anders Lindgren <andlind@gmail.com>.
432 (follow-post-command-hook): Call it from the right buffer.
433 (follow-comint-scroll-to-bottom): Adjust call.
434 (follow-all-followers): Use get-buffer-window-list.
435
436 2014-01-15 Daniel Colascione <dancol@dancol.org>
437
438 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
439 `buffer-file-name' in interactive-form so that we don't leave
440 pathless file names in `file-name-history'.
441
442 2014-01-15 Juri Linkov <juri@jurta.org>
443
444 * indent.el (indent-rigidly): Set deactivate-mark to nil
445 in transient indentation mode. (Bug#16438)
446
447 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
448
449 * emacs-lisp/package.el (package-desc-keywords): New function
450 (Bug#16222).
451 (describe-package-1, package-all-keywords)
452 (package--has-keyword-p): Use it.
453
454 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
455
456 * simple.el (define-alternatives): When creating the
457 COMMAND-alternatives variable, assign COMMAND as its definition
458 name so that `describe-variable' can relocate it.
459
460 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
461
462 * font-lock.el (font-lock-keywords): Fix typo in docstring
463 (bug#16307).
464
465 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
466
467 * ispell.el (ispell-region): Reset `in-comment' for new line
468 instead of wrongly reset `add-coment' (bug#13577).
469
470 2014-01-14 Daiki Ueno <ueno@gnu.org>
471
472 * epa-file.el (epa-file-write-region): Encode the region according
473 to `buffer-file-format'. Problem reported at:
474 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
475
476 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
479 so it applies in the right buffer (bug#16410).
480
481 2014-01-13 Daniel Colascione <dancol@dancol.org>
482
483 * textmodes/rst.el (rst-define-key): Provide deprecated
484 keybindings through named functions instead of anonymous ones so
485 that "??" doesn't appear in describe-mode output.
486
487 2014-01-13 Bastien Guerry <bzg@gnu.org>
488
489 * simple.el (define-alternatives): Call the selected command
490 interactively. When setting `COMMAND--implementation' for the
491 first time, tell the user how to chose another implementation.
492 Enhance the docstring.
493
494 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
497 (log-edit--match-first-line): New function.
498 (log-edit-font-lock-keywords): Use it.
499 (log-edit-mode): Make jit-lock-defer-multiline work.
500
501 2014-01-13 Bastien Guerry <bzg@gnu.org>
502
503 * rect.el (rectangle-mark-mode): When the region is not active,
504 display a message saying that the mark as been set and that
505 rectangle mode is in use.
506 (rectangle--highlight-for-redisplay): Only put an overlay with a
507 visible vertical bar when (display-graphic-p) is non-nil.
508 This partially fixes Bug#16403.
509
510 2014-01-13 Juri Linkov <juri@jurta.org>
511
512 * info.el (Info-find-file): Go to DIR before displaying the error
513 about a nonexistent file if no previous Info file is visited.
514 Use `user-error' instead of `error' for "Info file %s does not exist".
515 (Info-find-node-2): In case of a nonexistent node in unwind forms
516 go to the Top node if there is no previous node to revert to.
517 (Bug#16405)
518
519 2014-01-13 Martin Rudalics <rudalics@gmx.at>
520
521 fit-frame/window-to-buffer code fixes including one for Bug#14096.
522 * window.el (fit-frame-to-buffer): Fix doc-string.
523 Respect window-min-height/-width. Fit pixelwise when
524 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
525 when avoiding that frame goes partially off-screen.
526 (fit-window-to-buffer): Respect window-min-height/-width
527 (Bug#14096).
528
529 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
532 after an empty line.
533
534 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
535
536 * net/shr.el (shr-render-region): Autoload.
537
538 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
539
540 * net/eww.el (eww-download-directory): Rename from
541 `eww-download-path' (Bug#16419).
542
543 2014-01-12 Leo Liu <sdl.web@gmail.com>
544
545 * dired-x.el (dired-mode-map): Fix last change.
546
547 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
548
549 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
550
551 Spelling fixes.
552 * emacs-lisp/generic.el (generic--normalize-comments):
553 Rename from generic--normalise-comments. All uses changed.
554 * play/bubbles.el (bubbles--neighborhood-score):
555 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
556 (bubbles--neighborhood-available)
557 (bubbles--update-neighborhood-score):
558 Rename from names with 'neighbourhood'. All uses changed.
559
560 2014-01-12 Leo Liu <sdl.web@gmail.com>
561
562 Re-implement the feature of showing eldoc info after editing.
563 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
564 (eldoc-edit-message-commands): New function.
565 (eldoc-print-after-edit): New variable.
566 (eldoc-pre-command-refresh-echo-area): Emit message only by
567 eldoc-message-commands.
568 (eldoc-mode): Restrict eldoc-message-commands to editing commands
569 if eldoc-print-after-edit is set. (Bug#16346)
570 * simple.el (read--expression): Enable eldoc-mode.
571 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
572
573 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
574 Eric S. Raymond <esr@thyrsus.com>
575
576 * version.el (emacs-repository-get-version): Enhance so the
577 function works correctly in either a Bazaar or Git repo.
578
579 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
580
581 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
582 Goes with removal of the joke manpages from /etc.
583
584 2014-01-10 K. Handa <handa@gnu.org>
585
586 * mail/rmail.el (rmail-get-coding-system):
587 Check rmail-get-coding-function before "funcall"ing it.
588
589 2014-01-10 Glenn Morris <rgm@gnu.org>
590
591 * emacs-lisp/authors.el (authors-fixed-entries):
592 Update for files that no longer exist.
593
594 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
595
596 * version.el (emacs-bzr-get-version): Restore compatibilty with
597 24.3 (Tested).
598
599 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
600
601 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
602 and Podfile.
603
604 2014-01-10 Eli Zaretskii <eliz@gnu.org>
605
606 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
607
608 2014-01-10 Chong Yidong <cyd@gnu.org>
609
610 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
611
612 2014-01-10 Anders Lindgren <andlind@gmail.com>
613
614 * follow.el (follow-cache-command-list): Include right-char and
615 left-char.
616
617 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
618
619 Spelling fixes.
620 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
621 * woman.el (woman-mark-horizontal-position):
622 Rename from woman-mark-horizonal-position. Use changed.
623
624 2014-01-10 Glenn Morris <rgm@gnu.org>
625
626 * info.el (info-initialize): If running uninstalled, ensure our
627 own info files are always found first, even if INFOPATH is set.
628
629 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
630
631 2014-01-09 David Engster <deng@randomsample.de>
632
633 * emacs-lisp/eieio-custom.el:
634 * emacs-lisp/eieio-opt.el: Set generated autoload file to
635 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
636 * emacs-lisp/eieio.el: Regenerate autoloads.
637
638 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
639
640 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
641 following renames. (Bug#8756)
642
643 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
646 (bug#16382).
647 (activate-mark): Add `no-tmm' argument.
648 (set-mark, push-mark-command): Use it instead of running
649 activate-mark-hook by hand.
650
651 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
652
653 In preparation for the move to git, sanitize out some
654 Bazaar-specific names.
655
656 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
657
658 * version.el (emacs-bzr-version): Name changed to
659 emacs-repository-version. Obsolete-variable alias made.
660 * loadup.el: Follow through on this name change.
661 * mail/emacsbug.el (report-emacs-bug): Factor out any
662 assumption about the version control system in use.
663
664 2014-01-08 David Engster <deng@randomsample.de>
665
666 * help-fns.el (help-fns-describe-function-functions):
667 New variable to call functions for augmenting help buffers.
668 (describe-function-1): Remove explicit calls to
669 `help-fns--compiler-macro', `help-fns--parent-mode' and
670 `help-fns--obsolete'. Put them in above new variable instead, and
671 call them through `run-hook-with-args'.
672 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
673 `eieio-describe-class'. Not meant for interactive use anymore,
674 but to augment existing help buffers. Remove optional second
675 argument. Create proper button for file location.
676 Rewrite function to use `insert' instead of `princ' and `prin1' where
677 possible.
678 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
679 (eieio-method-def, eieio-class-def): Move further up.
680 (describe-method, describe-generic, eieio-describe-method):
681 Remove aliases.
682 (eieio-help-constructor, eieio-help-generic): Rename from
683 `eieio-describe-constructor' and `eieio-describe-generic', resp.
684 Rewrite to use `insert' in the current buffer and use proper help
685 buttons.
686 (eieio-help-find-method-definition)
687 (eieio-help-find-class-definition): Also accept symbols as
688 arguments.
689 (eieio-help-mode-augmentation-maybee): Remove.
690 (eieio-describe-class-sb): Use `describe-function'.
691 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
692 Add `eieio-help-generic' and `eieio-help-constructor'.
693
694 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
695
696 Spelling fixes.
697 * language/china-util.el (hz-ascii-designation):
698 Rename from hz-ascii-designnation.
699 (hz-ascii-designation): Rename from hz-ascii-designnation.
700 All uses changed.
701
702 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
703
704 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
705 package-alist.
706
707 2014-01-08 Bastien Guerry <bzg@gnu.org>
708
709 * emacs-lisp/package.el (package-delete):
710 Correctly delete the package from package-alist.
711
712 2014-01-08 Daiki Ueno <ueno@gnu.org>
713
714 * emacs-lisp/package.el (url-recreate-url): Declare.
715 (url-http-target-url): Declare.
716 (package-handle-response): Include requested URL in the error message.
717 (package--check-signature): Don't re-signal errors from
718 package--with-work-buffer. Suggested by Stefan Monnier.
719
720 2014-01-07 Bastien Guerry <bzg@gnu.org>
721
722 * minibuffer.el (completion--try-word-completion): When both a
723 hyphen and a space are possible candidates for the character
724 following a word, display both candidates. (Bug#15980)
725
726 2014-01-07 Martin Rudalics <rudalics@gmx.at>
727
728 * window.el (balance-windows-2): While rounding don't give a
729 window more than the remainder. Bug#16351, Bug#16383.
730
731 2014-01-07 Glenn Morris <rgm@gnu.org>
732
733 * menu-bar.el (menu-bar-help-extra-packages): Remove.
734 (menu-bar-help-menu): Use view-external-packages instead.
735
736 2014-01-07 Bastien Guerry <bzg@gnu.org>
737
738 * emacs-lisp/package.el (package-delete): Also delete the package
739 name from `package-alist', not its description only.
740
741 2014-01-07 Glenn Morris <rgm@gnu.org>
742
743 * help.el (view-external-packages):
744 * menu-bar.el (menu-bar-help-extra-packages):
745 Visit efaq.info rather than etc/MORE.STUFF.
746
747 2014-01-07 Juri Linkov <juri@jurta.org>
748
749 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
750 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
751
752 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
753 that shadows RET. (Bug#16342)
754
755 2014-01-07 Chong Yidong <cyd@gnu.org>
756
757 * isearch.el (isearch-yank-char, isearch-yank-word)
758 (isearch-yank-line): Doc fix.
759
760 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
763 * emacs-lisp/elint.el (elint-find-builtins):
764 * emacs-lisp/eldoc.el (eldoc-symbol-function):
765 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
766 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
767 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
768 * apropos.el (apropos-safe-documentation):
769 * subr.el (symbol-file): Remove redundant fboundp.
770 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
771
772 2014-01-06 Bastien Guerry <bzg@gnu.org>
773
774 * hl-line.el (global-hl-line-overlay): Make a local variable.
775 (global-hl-line-overlays): New variable to store all overlays.
776 (global-hl-line-mode): Don't delete overlays from the current
777 buffer when `global-hl-line-sticky-flag' is non-nil.
778 (global-hl-line-highlight): Add new overlays to
779 `global-hl-line-overlays'.
780 (global-hl-line-unhighlight-all): New function to delete all
781 overlays when turning off `global-hl-line-mode'.
782 This fixes Bug#16183.
783
784 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * subr.el (set-transient-map): Fix nested case and docstring.
787
788 2014-01-06 Tassilo Horn <tsdh@gnu.org>
789
790 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
791 `Texinfo' entry.
792
793 2014-01-06 Daniel Colascione <dancol@dancol.org>
794
795 Fix defun navigation in vc log view.
796
797 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
798 like `beginning-of-defun'.
799 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
800 log-view-end-of-defun to log-view-end-of-defun-1. Replace
801 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
802 (log-view-extract-comment): Call `log-view-current-entry' directly
803 instead of relying on broken `log-view-beginning-of-defun' behavior.
804
805 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
806
807 Spelling fixes.
808 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
809 * emacs-lisp/debug.el (cancel-debug-on-entry):
810 * epg.el (epg-error-to-string):
811 * files.el (recover-file):
812 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
813 * mail/emacsbug.el (report-emacs-bug-hook):
814 * mail/sendmail.el (mail-recover):
815 * ses.el (ses-yank-resize):
816 * term/ns-win.el (ns-print-buffer):
817 Spelling fixes in diagnostics, mostly for "canceled" with one L.
818 * epg.el (epg-key-capability-alist): Rename from misspelled version.
819 All uses changed.
820 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
821
822 2014-01-06 Leo Liu <sdl.web@gmail.com>
823
824 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
825 to avoid shadowing global key. (Bug#16354)
826
827 2014-01-06 Daniel Colascione <dancol@dancol.org>
828
829 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
830 rst-mode.
831
832 2014-01-05 Martin Rudalics <rudalics@gmx.at>
833
834 * window.el (balance-windows): Add mising t to fix Bug#16351.
835
836 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
837
838 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
839 (bug#16285).
840 (shr-insert): If we have a word that's longer than `shr-width',
841 break after it anyway. Otherwise we'll do no breaking once we get
842 such a long word.
843
844 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
845
846 * net/eww.el (eww): Support single/double quote for search.
847 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
848 (eww-history-quit): Delete and use quit-window.
849 (eww-history-kill): Delete, because it doesn't work well and
850 not necessary.
851 (eww-history-mode-map): Delete some keys and add easy-menu.
852
853 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
854
855 Fix misspelling of 'chinese' in rx (Bug#16237).
856 * emacs-lisp/rx.el (rx-categories): Correct spelling of
857 chinese-two-byte.
858
859 Change subword regexps back to vars (Bug#16296).
860 * progmodes/subword.el (subword-forward-regexp)
861 (subword-backward-regexp): Change these back to variables.
862
863 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
864
865 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
866 syntax-begin-function (bug#16247).
867
868 2014-01-03 Chong Yidong <cyd@gnu.org>
869
870 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
871 (advice--docstring): Delete variable.
872 (advice--make-1): Leave the docstring empty.
873 (advice-add): Use function-documentation for advised docstring.
874
875 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
876 Ignore function-documentation property when getting documentation.
877 (ad-activate-advised-definition): Use function-documentation
878 generate the docstring.
879 (ad-make-advised-definition): Don't call
880 ad-make-advised-definition-docstring.
881 (ad-make-advised-definition-docstring, ad-advised-definition-p):
882 Delete functions.
883
884 * progmodes/sql.el (sql-help): Use function-documentation instead
885 of dynamic-docstring-function property. No need to autoload now.
886 (sql--help-docstring): New variable.
887 (sql--make-help-docstring): Use it.
888
889 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * ielm.el (ielm-tab): Retarget.
892 (ielm-map): Use ielm-tab for tab.
893 (ielm-complete-filename): Use comint-filename-completion.
894 (ielm-complete-symbol): Remove.
895 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
896 remove ielm-tab from completion-at-point-functions (bug#16224).
897
898 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
899 Beware signals raised by predicates (bug#16201).
900
901 2014-01-02 Richard Stallman <rms@gnu.org>
902
903 * dired-aux.el (dired-do-print): Handle printer-name.
904
905 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
906 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
907 (rmail-epa-decrypt): Turn off mime processing.
908
909 * mail/rmail.el (rmail-make-in-reply-to-field):
910 Add parens in message-id.
911
912 * mail/rmail.el (rmail-get-coding-function): Variable.
913 (rmail-get-coding-system): Use it.
914
915 2013-12-31 Eli Zaretskii <eliz@gnu.org>
916
917 * international/mule-conf.el: Unify the charset indian-is13194.
918 (indian-is13194): Specify unify-map.
919
920 2013-12-31 Leo Liu <sdl.web@gmail.com>
921
922 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
923
924 2013-12-30 Daniel Colascione <dancol@dancol.org>
925
926 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
927 of printing a useless when we resume from sleep.
928
929 * progmodes/sh-script.el
930 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
931 in indentation code. (Bug#16233)
932
933 2013-12-28 João Távora <joaotavora@gmail.com>
934
935 * elec-pair.el (electric-pair-post-self-insert-function):
936 Don't open extra newlines at beginning of buffer. (Bug#16272)
937
938 2013-12-28 Eli Zaretskii <eliz@gnu.org>
939
940 * frame.el (window-system-for-display): Don't allow to create a
941 GUI frame from a -nw session on MS-Windows. (Bug#14739)
942
943 2013-12-28 Glenn Morris <rgm@gnu.org>
944
945 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
946 Update callers.
947
948 * apropos.el (apropos-match-face):
949 * calculator.el (calculator-displayer):
950 * dabbrev.el (dabbrev-search-these-buffers-only):
951 * face-remap.el (buffer-face-mode-face):
952 * simple.el (yank-handled-properties):
953 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
954 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
955 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
956 (hashcash-double-spend-database):
957 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
958 (ruby-deep-indent-paren-style):
959 * textmodes/flyspell.el (flyspell-auto-correct-binding):
960 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
961 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
962 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
963 Specify custom types.
964
965 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
966 * bookmark.el (bookmark-bmenu-use-header-line):
967 * doc-view.el (doc-view-scale-internally):
968 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
969 * register.el (register-preview-delay):
970 * net/shr.el (shr-bullet):
971 * progmodes/cfengine.el (cfengine-cf-promises)
972 (cfengine-parameters-indent):
973 * progmodes/octave.el (inferior-octave-error-regexp-alist):
974 * textmodes/reftex-vars.el (reftex-label-regexps):
975 * vc/log-edit.el (log-edit-setup-add-author): Add version.
976
977 * net/tls.el (tls-certtool-program): Fix default value.
978
979 * desktop.el (desktop-restore-in-current-display):
980 * newcomment.el (comment-empty-lines):
981 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
982 (idlwave-pad-keyword):
983 * progmodes/tcl.el (tcl-tab-always-indent):
984 * textmodes/reftex-vars.el (reftex-index-default-tag):
985 * elec-pair.el (electric-pair-skip-whitespace):
986 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
987
988 * emacs-lisp/authors.el (authors-ignored-files)
989 (authors-valid-file-names, authors-renamed-files-alist): Additions.
990
991 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
992
993 * shell.el (shell-dynamic-complete-command): Doc fix.
994 (shell--command-completion-data): Shell completion now matches
995 executable filenames from the current buffer's directory, on
996 systems in which this behavior is the default (windows-nt, ms-dos).
997
998 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
999
1000 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1001
1002 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1005 (bug#16251).
1006
1007 * electric.el: Move all electric-pair-* to elec-pair.el.
1008 * elec-pair.el: New file, split from electric.el.
1009
1010 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1011
1012 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1013 indentation level is larger than the width, because that will
1014 infloop.
1015 (shr-insert): Fill repeatedly long texts, so that Japanese is
1016 formatted correctly (bug#16263).
1017 (shr-find-fill-point): Off by one error in comparison with the
1018 indentation.
1019
1020 2013-12-26 João Távora <joaotavora@gmail.com>
1021
1022 * electric.el (electric-pair-mode): More flexible engine for skip-
1023 and inhibit predicates, new options for pairing-related functionality.
1024 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1025 if that keeps or improves their balance in buffers.
1026 (electric-pair-delete-adjacent-pairs): Delete the pair when
1027 backspacing over adjacent matched delimiters.
1028 (electric-pair-open-extra-newline): Open extra newline when
1029 inserting newlines between adjacent matched delimiters.
1030 (electric--sort-post-self-insertion-hook):
1031 Sort post-self-insert-hook according to priority values when
1032 minor-modes are activated.
1033 * simple.el (newline-and-indent): Call newline with interactive
1034 set to t.
1035 (blink-paren-post-self-insert-function): Set priority to 100.
1036 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1037 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1038 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1039 electric-pair-open-newline-between-pairs to nil.
1040
1041 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1042
1043 * progmodes/python.el: Use lexical-binding.
1044 (python-nav-beginning-of-defun): Stop searching ASAP.
1045
1046 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1047
1048 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1049 Fix interactive spec. Doc fix. (Bug#15754)
1050
1051 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1052
1053 * emacs-lisp/byte-run.el (eval-when-compile):
1054 * progmodes/cc-defs.el (cc-eval-when-compile):
1055 Fix edebug spec (bug#16184).
1056
1057 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1058
1059 * net/shr.el (shr-visit-file): Remove debugging function.
1060 (shr-insert): Don't infloop if we can't find a good place to break
1061 the line (bug#16256).
1062
1063 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1064
1065 * progmodes/python.el:
1066 (python-nav--lisp-forward-sexp): New function.
1067 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1068 python-nav-lisp-forward-sexp-safe.
1069 (python-nav--forward-sexp): New argument SAFE allows switching
1070 forward sexp movement behavior for parens.
1071 (python-nav-forward-sexp): Throw errors on unterminated parens
1072 (Bug#16191).
1073 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1074 (python-nav-backward-sexp-safe): New functions.
1075 (python-shell-buffer-substring):
1076 Use `python-nav-forward-sexp-safe'.
1077
1078 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1079
1080 * net/shr.el (shr-find-fill-point): Don't break lines before a
1081 quotation mark.
1082 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1083 (shr-find-fill-point): Remove the special checks for the quotation
1084 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1085
1086 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1087
1088 * net/eww.el (eww-form-textarea): Use a different face for
1089 textareas than text input since they have different keymaps
1090 (bug#16142).
1091
1092 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1093
1094 * progmodes/python.el (python-nav-beginning-of-statement):
1095 Speed up (Bug#15295).
1096
1097 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1098
1099 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1100 the window configuration.
1101
1102 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1103
1104 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1105 we run on MS-Windows or MS-DOS.
1106
1107 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1108
1109 * window.el (balance-windows-area): Call window-size instead of
1110 window-height and window-width. Bug#16241.
1111
1112 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1113
1114 * net/eww.el (eww-bookmark-quit): Remove.
1115 (eww-bookmark-browse): Restore the window configuration when you
1116 choose a bookmark (bug#16144).
1117
1118 2013-12-24 Daniel Colascione <dancol@dancol.org>
1119
1120 * icomplete.el: Remove redundant :group arguments to `defcustom'
1121 throughout.
1122 (icomplete-show-matches-on-no-input): New customizable variable.
1123 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1124 we have something to show.
1125 (icomplete-exhibit): Compute completions even if we have no user input.
1126
1127 2013-12-23 Daniel Colascione <dancol@dancol.org>
1128
1129 * icomplete.el: Move `provide' to end of file.
1130
1131 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1132
1133 * net/gnutls.el (gnutls-verify-error): Add version tag.
1134
1135 2013-12-23 Chong Yidong <cyd@gnu.org>
1136
1137 * subr.el (set-transient-map): Rename from
1138 set-temporary-overlay-map. Doc fix.
1139
1140 * face-remap.el (text-scale-adjust):
1141 * indent.el (indent-rigidly):
1142 * kmacro.el (kmacro-call-macro):
1143 * minibuffer.el (minibuffer-force-complete):
1144 * repeat.el (repeat):
1145 * simple.el (universal-argument--mode):
1146 * calendar/todo-mode.el (todo-insert-item--next-param):
1147 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1148
1149 * indent.el (indent-rigidly): Use substitute-command-keys.
1150
1151 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1152
1153 * net/eww.el (eww-tag-select): Add text-property to jump to next
1154 select field.
1155 (eww): Add non-supported ftp error.
1156
1157 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1158
1159 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1160 comments. Handle electric indent after typing `?' and `!'.
1161
1162 2013-12-22 Chong Yidong <cyd@gnu.org>
1163
1164 * faces.el (face-spec-recalc): If the theme specs are not
1165 applicable to a frame, fall back on the defface spec.
1166 This prevents themes from obliterating faces on low-color terminals.
1167
1168 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1169
1170 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1171 after `{'. We need it after block openers, and it doesn't seem
1172 to hurt after hash openers.
1173
1174 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1175
1176 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1177 extracted from `ruby-smie-rules'.
1178 (ruby--electric-indent-chars): New variable.
1179 (ruby--electric-indent-p): New function.
1180 (ruby-mode): Use `electric-indent-functions' instead of
1181 `electric-indent-chars'.
1182
1183 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1184
1185 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1186 docstring.
1187 (ruby-smie-rules): Indent plus one level after `=>'.
1188
1189 2013-12-21 Richard Stallman <rms@gnu.org>
1190
1191 * simple.el (newline): Doc fix.
1192
1193 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1194
1195 * net/eww.el (eww-list-histories, eww-list-histories)
1196 (eww-history-browse, eww-history-quit, eww-history-kill)
1197 (eww-history-mode-map, eww-history-mode): New command and
1198 functions to list browser histories.
1199 (eww-form-text): Support text form with disabled
1200 and readonly attributes.
1201 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1202
1203 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1204
1205 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1206 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1207 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1208 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1209 Use `user-error'.
1210 (eww-bookmark-mode-map): Add menu.
1211 (eww-render, eww-mode): Use `setq-local'.
1212 (eww-tool-bar-map): New variable.
1213 (eww-mode): Set `tool-bar-map'.
1214 (eww-view-source): Check for `html-mode' with `fboundp'.
1215
1216 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1217
1218 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1219 elements with text inside. Also remove debugging.
1220
1221 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1222
1223 * cus-start.el (all): Add ns-use-srgb-colorspace.
1224
1225 2013-12-21 Chong Yidong <cyd@gnu.org>
1226
1227 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1228 undefined. Thus, theme settings for undefined faces do not take
1229 effect until the faces are defined with defface, the same as with
1230 theme variables.
1231
1232 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1233 (face-spec-reset-face): Don't assign extra properties in temacs.
1234 (face-spec-recalc): Apply X resources too.
1235
1236 2013-12-21 Chong Yidong <cyd@gnu.org>
1237
1238 * faces.el (face-spec-set):
1239 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1240 * custom.el (defface): Doc fixes (Bug#16203).
1241
1242 * indent.el (indent-rigidly-map): Add docstring, and move commands
1243 into named functions.
1244 (indent-rigidly-left, indent-rigidly-right)
1245 (indent-rigidly-left-to-tab-stop)
1246 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1247 indentation direction based on bidi direction, and accumulate
1248 sequential commands in a single undo boundary.
1249 (indent-rigidly--pop-undo): New utility function.
1250
1251 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1252
1253 * faces.el (read-face-name): Require crm.el when using crm-separator.
1254
1255 2013-12-20 Daniel Colascione <dancol@dancol.org>
1256
1257 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1258 so that we don't reflow comments into the shebang line.
1259
1260 2013-12-20 Juri Linkov <juri@jurta.org>
1261
1262 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1263 a position when `dired-directory' is non-nil. Check integer
1264 positions with `integerp'.
1265 (toggle-save-place, save-places-to-alist): Add check for
1266 `dired-directory'.
1267 (save-place-find-file-hook): Check integer positions with
1268 `integerp'.
1269 (save-place-dired-hook): Use `dired-goto-file' when
1270 `dired-filename' is found in the assoc list. Check integer
1271 positions with `integerp'.
1272 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1273
1274 * dired.el (dired-initial-position-hook): Rename back from
1275 `dired-initial-point-hook'.
1276 (dired-initial-position): Rename `dired-initial-point-hook' to
1277 `dired-initial-position-hook'.
1278 (dired-file-name-at-point): Doc fix. (Bug#15329)
1279
1280 2013-12-20 Juri Linkov <juri@jurta.org>
1281
1282 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1283 (read-regexp-suggestions): New function.
1284 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1285 Use `read-regexp-suggestions'. Add non-empty default to history
1286 for empty input.
1287 (occur-read-regexp-defaults-function): Remove function.
1288 (occur-read-primary-args): Use `regexp-history-last' instead of
1289 `occur-read-regexp-defaults-function'.
1290
1291 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1292 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1293 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1294 `hi-lock-read-regexp-defaults-function'. Doc fix.
1295 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1296 with `find-tag-default-as-symbol-regexp'. Doc fix.
1297 (hi-lock-read-regexp-defaults): Remove function.
1298 (hi-lock-regexp-okay): Add check for null.
1299
1300 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1301 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1302
1303 * subr.el (find-tag-default-as-symbol-regexp): New function.
1304 (find-tag-default-as-regexp): Move symbol regexp formatting to
1305 `find-tag-default-as-symbol-regexp'.
1306
1307 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1308
1309 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1310 (Bug#14179)
1311
1312 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1313
1314 * calendar/todo-mode.el: New implementation of item insertion
1315 commands and key bindings.
1316 (todo-key-prompt): New face.
1317 (todo-insert-item): New command.
1318 (todo-insert-item--parameters): New defconst, replacing defvar
1319 todo-insertion-commands-args-genlist.
1320 (todo-insert-item--param-key-alist): New defconst, replacing
1321 defvar todo-insertion-commands-arg-key-list.
1322 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1323 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1324 (todo-insert-item--next-param): New functions.
1325 (todo-insert-item--args, todo-insert-item--argleft)
1326 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1327 New variables.
1328 (todo-key-bindings-t): Change binding of "i" from
1329 todo-insertion-map to todo-insert-item.
1330 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1331 (todo-insertion-command-name, todo-insertion-commands-names)
1332 (todo-define-insertion-command, todo-insertion-commands)
1333 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1334
1335 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1336
1337 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1338 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1339 eval-when-compile.
1340 (todo-move-category): Allow choosing a non-existing todo file to
1341 move the category to, and create that file.
1342 (todo-default-priority): New user option.
1343 (todo-set-item-priority): Use it.
1344 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1345 (desktop-restore-file-buffer): Declare.
1346 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1347 (todo-modes-set-2): Locally set desktop-save-buffer to
1348 todo-desktop-save-buffer.
1349 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1350 (auto-mode-alist): Add autoload cookie.
1351
1352 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1353
1354 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1355 helpers.el was a poor choice of name.
1356 (string-remove-prefix): New function.
1357 (string-remove-suffix): New function.
1358
1359 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1360
1361 Fix assignment for new window total sizes.
1362 * window.el (window--pixel-to-size): Remove function.
1363 (window--pixel-to-total-1, window--pixel-to-total):
1364 Fix calculation of new total sizes.
1365
1366 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1367
1368 * comint.el (comint-output-filter): Fix rear-nonsticky property
1369 placement (Bug#16010).
1370
1371 2013-12-20 Chong Yidong <cyd@gnu.org>
1372
1373 * faces.el (read-color): Minor fix for completion function.
1374
1375 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1376
1377 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1378 New option. (Bug#16182)
1379 (ruby-smie--indent-to-stmt-p): Use it.
1380 (ruby-smie-rules): Revert the logic in the handling of `when'.
1381 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1382 (ruby-deep-arglist, ruby-deep-indent-paren)
1383 (ruby-deep-indent-paren-style): Update docstrings to note that the
1384 vars don't have any effect with SMIE.
1385
1386 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1387
1388 * calc/calc.el (calc-enter, calc-pop): Use the variable
1389 `calc-context-sensitive-enter'.
1390
1391 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1392
1393 * net/shr.el (shr-insert): Protect against infloops in degenerate
1394 tables.
1395
1396 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1397
1398 * progmodes/octave.el (octave): Add link to manual and octave
1399 homepage.
1400 (octave-mode-menu): Link to octave-mode manual.
1401
1402 2013-12-20 Leo Liu <sdl.web@gmail.com>
1403
1404 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1405 insertion using skeleton-end-newline. (Bug#16138)
1406
1407 2013-12-20 Juri Linkov <juri@jurta.org>
1408
1409 * replace.el (occur-engine): Use `add-face-text-property'
1410 to add the face property to matches and titles. (Bug#14645)
1411
1412 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1413 the palette of other hi-lock colors.
1414 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1415
1416 2013-12-19 Juri Linkov <juri@jurta.org>
1417
1418 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1419 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1420 (minibuffer-history-symbol): Move variable declaration closer to
1421 its usage.
1422
1423 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1424 (Bug#14785)
1425
1426 2013-12-19 Juri Linkov <juri@jurta.org>
1427
1428 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1429 New function.
1430 (log-edit-hook): Add it to :options. (Bug#16170)
1431
1432 2013-12-19 Juri Linkov <juri@jurta.org>
1433
1434 * simple.el (eval-expression-print-format): Don't check for
1435 command names and the last command. Always display additional
1436 formats of the integer result in the echo area, and insert them
1437 to the current buffer only with a zero prefix arg.
1438 Display character when char-displayable-p is non-nil.
1439 (eval-expression): With a zero prefix arg, set `print-length' and
1440 `print-level' to nil, and insert the integer values from
1441 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1442
1443 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1444 `eval-last-sexp-arg-internal'. Doc fix.
1445 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1446 `eval-last-sexp-print-value'. Doc fix.
1447 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1448 Set `print-length' and `print-level' to nil when arg is zero.
1449 (eval-last-sexp): Doc fix.
1450 (eval-defun-2): Print the integer values from
1451 `eval-expression-print-format' at the end.
1452
1453 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1454 values from `eval-expression-print-format' at the end.
1455
1456 * ielm.el (ielm-eval-input): Print the integer
1457 values from `eval-expression-print-format' at the end.
1458
1459 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1460
1461 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1462 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1463
1464 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1465
1466 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1467 (hl-line-highlight, global-hl-line-highlight): Use it.
1468 (hl-line-overlay): Use defvar-local.
1469
1470 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1471
1472 * term/ns-win.el: Require dnd.
1473 (global-map): Remove drag items.
1474 (ns-insert-text, ns-set-foreground-at-mouse)
1475 (ns-set-background-at-mouse):
1476 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1477 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1478 New functions.
1479
1480 2013-12-19 Glenn Morris <rgm@gnu.org>
1481
1482 * emacs-lisp/ert.el (ert-select-tests):
1483 Fix string/symbol mixup. (Bug#16121)
1484
1485 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1486
1487 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1488 keywords to their parent.
1489
1490 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1491
1492 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1493 first arg to be a string (fixed dead code), or an operator symbol.
1494 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1495 operator symbols.
1496 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1497 did nothing. Don't respond to `(:after ".")', it will be called
1498 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1499 change anything. Only return indentation for binary operators
1500 when they are hanging. De-dent opening paren when its parent is
1501 `.', otherwise it looks bad when the dot is not at bol or eol
1502 (bug#16182).
1503
1504 2013-12-19 Juri Linkov <juri@jurta.org>
1505
1506 * replace.el (query-replace-read-args): Split a non-negative arg
1507 and a negative arg into separate elements.
1508 (query-replace, query-replace-regexp, replace-string)
1509 (replace-regexp): Add arg `backward'. Doc fix.
1510 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1511 move point to the beginning of the match.
1512 (replace-search, replace-highlight): Use new arg `backward'
1513 to set the value of `isearch-forward'.
1514 (perform-replace): Add arg `backward' and use it to perform
1515 replacement backward. (Bug#14979)
1516
1517 * isearch.el (isearch-query-replace): Use a negative prefix arg
1518 to call `perform-replace' with a non-nil arg `backward'.
1519
1520 2013-12-18 Juri Linkov <juri@jurta.org>
1521
1522 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1523 to the default list. Move `log-edit-show-files' to the end.
1524 Add more available functions to options.
1525 (log-edit): Move default specific settings to
1526 `log-edit-insert-message-template'. Don't move point.
1527 (log-edit-insert-message-template): New function.
1528 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1529 (Bug#16170)
1530
1531 2013-12-18 Juri Linkov <juri@jurta.org>
1532
1533 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1534 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1535
1536 2013-12-18 Leo Liu <sdl.web@gmail.com>
1537
1538 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1539 (Bug#16186)
1540
1541 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1542
1543 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1544 formats for displaying file sizes when the -s switch is given.
1545 Instead, compute a separate format for displaying the size in
1546 blocks, which is displayed in addition to the "regular" size.
1547 When -h is given in addition to -s, produce size in blocks in
1548 human-readable form as well. (Bug#16179)
1549
1550 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1551
1552 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1553 Reference tables with ~\ref{...} instead of only \ref{...}.
1554
1555 2013-12-18 Chong Yidong <cyd@gnu.org>
1556
1557 * cus-edit.el (custom-magic-alist): Fix "themed" description
1558 (Bug#14348).
1559
1560 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1561 is non-nil, do not create a new entry in the symbol's theme-value
1562 or theme-face property; update theme-settings only (Bug#14664).
1563 (custom-available-themes): Doc fix.
1564
1565 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1566 (Bug#15674).
1567
1568 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1569
1570 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1571
1572 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1573 (Bug#13914).
1574
1575 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1576
1577 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1578
1579 2013-12-18 Glenn Morris <rgm@gnu.org>
1580
1581 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1582 * cus-start.el (load-prefer-newer): New option.
1583
1584 2013-12-18 Le Wang <l26wang@gmail.com>
1585
1586 * comint.el (comint-previous-matching-input-from-input):
1587 Retain point (Bug#13404).
1588
1589 2013-12-18 Chong Yidong <cyd@gnu.org>
1590
1591 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1592
1593 2013-12-18 Glenn Morris <rgm@gnu.org>
1594
1595 * mail/emacsbug.el (report-emacs-bug):
1596 Only mention enable-multibyte-characters if non-standard.
1597
1598 2013-12-17 Juri Linkov <juri@jurta.org>
1599
1600 * arc-mode.el (archive-extract-by-file): Check if directory exists
1601 before deletion to not show irrelevant errors if it doesn't exist.
1602
1603 2013-12-17 Juri Linkov <juri@jurta.org>
1604
1605 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1606 (Bug#14751)
1607
1608 * net/eww.el (browse-web): Add alias to `eww'.
1609 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1610 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1611
1612 * net/browse-url.el (browse-url-browser-function): Move `eww'
1613 closer to similar functions.
1614
1615 * startup.el (fancy-startup-screen, fancy-about-screen):
1616 Set browse-url-browser-function to eww-browse-url locally.
1617 (Bug#14751)
1618
1619 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1620
1621 * window.el (window--pixel-to-total): Remove unused `mini' var.
1622 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1623 (split-window): Remove unused `new' var.
1624 (window--display-buffer): Remove unused `frame' and `delta' vars.
1625 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1626 and display-width'.
1627
1628 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1629
1630 * dired.el (dired-mark-pop-up):
1631 * register.el (register-preview): Don't bind
1632 split-height-threshold here since it's now done in
1633 display-buffer-below-selected.
1634
1635 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1636
1637 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1638 xterm-rgb-convert-to-16bit.
1639 (rxvt-register-default-colors): Standardize with
1640 xterm-register-default-colors (Bug#14078).
1641
1642 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1643
1644 * simple.el (kill-region): Pass mark first, then point, so that
1645 kill-append works right (Bug#12819).
1646 (copy-region-as-kill, kill-ring-save): Likewise.
1647
1648 2013-12-17 Leo Liu <sdl.web@gmail.com>
1649
1650 * net/rcirc.el (rcirc-add-face):
1651 * eshell/em-prompt.el (eshell-emit-prompt):
1652 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1653 (Bug#16167)
1654
1655 2013-12-17 Chong Yidong <cyd@gnu.org>
1656
1657 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1658 Suggested by Xue Fuqiao.
1659
1660 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1661
1662 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1663
1664 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * net/shr.el (shr-insert-document): Remove unused var
1667 `shr-preliminary-table-render'.
1668 (shr-rescale-image): Remove unused arg `force'.
1669 (shr-put-image): Update calls accordingly.
1670 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1671
1672 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1673
1674 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1675 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1676 :close-all, to see which indentation method to use (Bug#16116).
1677 (smie-rules-function): Document the method :close-all.
1678
1679 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1680
1681 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1682
1683 * net/eww.el (eww-display-html): If we can't find the anchor we're
1684 looking for, then go to point-min.
1685
1686 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1687
1688 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1689 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1690 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1691 Expand dir too, in case it's relative.
1692
1693 2013-12-16 Juri Linkov <juri@jurta.org>
1694
1695 * desktop.el (desktop-auto-save-timeout): Change default to
1696 `auto-save-timeout'. Doc fix.
1697 (desktop-save): Skip the timestamp in desktop-saved-frameset
1698 when checking for auto-save changes.
1699 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1700 `desktop-auto-save' is called repeatedly by the idle timer.
1701 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1702 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1703 (Bug#15331)
1704
1705 2013-12-16 Juri Linkov <juri@jurta.org>
1706
1707 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1708 (Bug#16035)
1709 (isearch-pre-command-hook): Check `this-command' for symbolp.
1710
1711 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1712
1713 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1714
1715 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1716
1717 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1718 (cfengine3--current-function): Bring in the current-function
1719 functionality from `cfengine3--current-word'.
1720 (cfengine3-completion-function): Bring in the
1721 bounds-of-current-word functionality from
1722 `cfengine3--current-word'.
1723
1724 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1725
1726 * window.el (display-buffer-below-selected):
1727 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1728
1729 2013-12-16 Leo Liu <sdl.web@gmail.com>
1730
1731 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1732 Remove NOMSG arg and all uses changed.
1733
1734 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1735
1736 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1737 (cua--deactivate-rectangle): Don't deactivate the mark.
1738 (cua-set-rectangle-mark): Don't set mark-active since
1739 cua--activate-rectangle already does it for us.
1740 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1741 non-rectangular region.
1742
1743 * emulation/cua-base.el (cua-repeat-replace-region):
1744 Use with-current-buffer.
1745
1746 * net/gnutls.el: Use cl-lib.
1747 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1748
1749 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1750
1751 * emacs-lisp/package.el (package-built-in-p): Support both
1752 built-in and the package.el converted package descriptions.
1753 (package-show-package-list): Allow keywords.
1754 (package-keyword-button-action): Use it instead of
1755 `finder-list-matches'.
1756 (package-menu-filter-interactive): Interactive filtering (by
1757 keyword) function.
1758 (package-menu--generate): Support keywords and change keymappings
1759 and headers when they are given.
1760 (package--has-keyword-p): Helper function.
1761 (package-menu--refresh): Use it.
1762 (package--mapc): Helper function.
1763 (package-all-keywords): Use it.
1764 (package-menu-mode-map): Set up menu items and keybindings to
1765 provide a filtering UI.
1766
1767 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1768
1769 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1770 the behavior when a certificate fails validation. Defaults to
1771 old behavior: never abort, just warn.
1772 (gnutls-negotiate): Use it.
1773
1774 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1775
1776 * window.el (display-buffer-below-selected): Never split window
1777 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1778
1779 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1780
1781 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1782 (package-buffer-info): Use it (bug#15108).
1783
1784 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * icomplete.el (icomplete-completions): Make sure the prefix is already
1787 displayed elsewhere before hiding it (bug#16219).
1788
1789 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1790
1791 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1792 open-paren tokens when preceded by a open-paren, too.
1793 (ruby-smie-rules): Handle virtual indentation after open-paren
1794 tokens specially. If there is code between it and eol, return the
1795 column where is starts (Bug#16118).
1796
1797 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1798
1799 * progmodes/cfengine.el: Fix `add-hook' doc.
1800 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1801 (cfengine3--current-word): Fix parameters.
1802 (cfengine3-make-syntax-cache): Simplify further.
1803 (cfengine3-completion-function, cfengine3--current-function):
1804 Use `assq' for symbols.
1805 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1806
1807 2013-12-13 Glenn Morris <rgm@gnu.org>
1808
1809 * loadup.el (load-path): Warn if site-load or site-init changes it.
1810 No more need to reset it when bootstrapping.
1811
1812 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1813
1814 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1815 locations for cf-promises.
1816 (cfengine-mode-syntax-functions-regex): New caching variable.
1817 (cfengine3-fallback-syntax): Fallback syntax for cases where
1818 cf-promises doesn't run.
1819 (cfengine3--current-word): Reimplement using
1820 `cfengine-mode-syntax-functions-regex'.
1821 (cfengine3-completion-function, cfengine3--current-function):
1822 Use `cfengine3-make-syntax-cache' directly.
1823 (cfengine3-clear-syntax-cache): New function.
1824 (cfengine3-make-syntax-cache): Simplify and create
1825 `cfengine-mode-syntax-functions-regex' on demand.
1826 (cfengine3-format-function-docstring): Don't call
1827 `cfengine3-make-syntax-cache' explicitly.
1828
1829 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1830
1831 Fix windmove-find-other-window broken after pixelwise resizing
1832 (Bug#16017).
1833 * windmove.el (windmove-other-window-loc): Revert change from
1834 2013-12-04.
1835 (windmove-find-other-window): Call window-in-direction.
1836 * window.el (window-in-direction): New arguments SIGN, WRAP and
1837 MINI to emulate original windmove-find-other-window behavior.
1838
1839 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1840
1841 * simple.el (blink-matching--overlay): New variable.
1842 (blink-matching-open): Instead of moving point, highlight the
1843 matching paren with an overlay
1844 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1845
1846 * faces.el (paren-showing-faces, show-paren-match)
1847 (show-paren-mismatch): Move from paren.el.
1848
1849 2013-12-13 Leo Liu <sdl.web@gmail.com>
1850
1851 * indent.el (indent-region): Disable progress reporter in
1852 minibuffer. (Bug#16108)
1853
1854 * bindings.el (visual-order-cursor-movement): Fix version.
1855
1856 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1857
1858 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1859 Also match after beginning of line.
1860 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1861 files. Thanks to Russell Sim. (Bug#15378)
1862
1863 2013-12-13 Juri Linkov <juri@jurta.org>
1864
1865 * simple.el <Keypad support>: Remove key bindings duplicated
1866 with bindings.el. (Bug#14397)
1867
1868 2013-12-13 Juri Linkov <juri@jurta.org>
1869
1870 * comint.el (comint-mode-map): Replace `delete-char' with
1871 `delete-forward-char'. (Bug#16109)
1872
1873 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1874
1875 * progmodes/python.el (python-indent-calculate-indentation):
1876 Fix de-denters cornercase. (Bug#15731)
1877
1878 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1881 (advice--make): Pay attention to `depth'.
1882 (advice--make-1): Don't autoload commands eagerly.
1883 * emacs-lisp/elp.el (elp-instrument-function):
1884 * emacs-lisp/trace.el (trace-function-internal):
1885 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1886
1887 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1888
1889 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1890
1891 * term/w32-win.el (w32-handle-dropped-file):
1892 * startup.el (normal-top-level):
1893 * net/browse-url.el (browse-url-file-url):
1894 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1895 decode file names using 'utf-8' rather than
1896 file-name-coding-system.
1897
1898 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1899
1900 * progmodes/python.el (python-indent-context)
1901 (python-indent-calculate-indentation): Fix auto-identation
1902 behavior for comment blocks. (Bug#15916)
1903
1904 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1905
1906 * progmodes/python.el (python-indent-calculate-indentation):
1907 When determining indentation, don't treat "return", "pass", etc., as
1908 operators when they are just string constituents. (Bug#15812)
1909
1910 2013-12-12 Juri Linkov <juri@jurta.org>
1911
1912 * uniquify.el (uniquify-buffer-name-style): Change default to
1913 `post-forward-angle-brackets'.
1914
1915 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1916 `uniquify'. Change default to `post-forward-angle-brackets'.
1917
1918 2013-12-11 Glenn Morris <rgm@gnu.org>
1919
1920 * emacs-lisp/package.el (finder-list-matches):
1921 Autoload rather than falsely declaring.
1922
1923 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1924
1925 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1926 (eww-mode-map): Use them.
1927
1928 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1929
1930 * window.el (display-buffer-in-side-window): Fix doc-string
1931 (Bug#16115).
1932
1933 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1934
1935 * vc/vc-git.el: Silence byte-compiler warnings.
1936 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1937 (log-edit-set-header): Declare.
1938
1939 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1940
1941 * Makefile.in (custom-deps, finder-data): Run output file names
1942 through unmsys--file-name. (Bug#16099)
1943
1944 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1947 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1948
1949 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1950 instead of deleting the selection "by hand" (bug#16098).
1951 Rely on insert-for-yank to yank rectangles.
1952 (cua-highlight-region-shift-only): Mark obsolete.
1953 (cua-mode): Don't enable/disable transient-mark-mode,
1954 shift-select-mode (cua-mode works both with and without them), and
1955 pc-selection-mode (obsolete).
1956 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1957 (cua--deactivate-rectangle): Deactivate it.
1958
1959 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1960 (delete-selection-helper): Make sure yank starts at the top of the
1961 deleted region.
1962 (minibuffer-keyboard-quit): Use region-active-p.
1963
1964 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1965
1966 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1967 to `delete' (bug#16109).
1968
1969 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1970
1971 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1972 info manual and show keybindings and set `:group' keyword.
1973
1974 2013-12-11 Juri Linkov <juri@jurta.org>
1975
1976 * delsel.el (delete-active-region): Let-bind `this-command'
1977 to prevent `kill-region' from changing its original value.
1978 (delete-selection-helper): Handle `overwrite-mode' for the type
1979 `kill' exactly the same way as for the type `t'.
1980 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1981 Support more commands. (Bug#13312)
1982
1983 2013-12-11 Juri Linkov <juri@jurta.org>
1984
1985 * bindings.el: Map kp keys to non-kp keys systematically
1986 with basic modifiers control, meta and shift. (Bug#14397)
1987
1988 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1989
1990 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1991 "Close browser" menu items. Fix wrong function of "List
1992 bookmarks".
1993
1994 2013-12-11 Juri Linkov <juri@jurta.org>
1995
1996 * misearch.el (multi-isearch-buffers): Set the value of
1997 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1998 arg of isearch-forward to t.
1999 (multi-isearch-buffers-regexp): Set the value of
2000 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2001 arg of isearch-forward-regexp to t.
2002 (multi-isearch-files): Set the value of
2003 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2004 arg of isearch-forward to t.
2005 (multi-isearch-files-regexp): Set the value of
2006 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2007 arg of isearch-forward-regexp to t. (Bug#16035)
2008
2009 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2010 arg of isearch-forward to t.
2011 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2012 arg of isearch-forward-regexp to t.
2013 (dired-isearch-filter-filenames): Remove unnecessary check for
2014 `dired-isearch-filenames'.
2015
2016 * comint.el (comint-history-isearch-backward):
2017 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2018 (comint-history-isearch-backward-regexp):
2019 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2020
2021 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2022
2023 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2024 unmsys--file-name. (Bug#16099)
2025
2026 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2027
2028 * emacs-lisp/package.el (package-keyword-button-action):
2029 Remove finder.el require dependency.
2030
2031 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2032
2033 * emacs-lisp/package.el: Require finder.el.
2034 (describe-package-1): Add keyword buttons.
2035 (package-make-button): New convenience function.
2036 (package-keyword-button-action): Keyword button action using
2037 `finder-list-matches'.
2038
2039 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2040
2041 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2042 last commit.
2043
2044 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2047 symlinked files.
2048
2049 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2050
2051 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2052 after the end of a percent literal.
2053
2054 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2055
2056 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2057 Handle caret-delimited strings (Bug#16079).
2058
2059 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2060
2061 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2062 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2063 `ruby-parse-partial' (Bug#16078).
2064
2065 2013-12-09 Leo Liu <sdl.web@gmail.com>
2066
2067 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2068
2069 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2070
2071 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2072 (js-switch-indent-offset): New option.
2073 (js--proper-indentation): Use it. And handle the case when
2074 "default" is actually a key in an object literal.
2075 (js--same-line): New function.
2076 (js--multi-line-declaration-indentation): Use it.
2077 (js--indent-in-array-comp, js--array-comp-indentation):
2078 New functions.
2079 (js--proper-indentation): Use them, to handle array comprehension
2080 continuations.
2081
2082 2013-12-08 Leo Liu <sdl.web@gmail.com>
2083
2084 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2085 (flymake-make-overlay): Remove arg MOUSE-FACE.
2086 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2087
2088 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2091 New function.
2092 (redisplay-highlight-region-function): Use it.
2093
2094 * emulation/cua-base.el (cua--explicit-region-start)
2095 (cua--last-region-shifted): Remove.
2096 (cua--deactivate): Use deactivate-mark.
2097 (cua--pre-command-handler-1): Don't handle shift-selection.
2098 (cua--post-command-handler-1): Don't change transient-mark-mode.
2099 (cua--select-keymaps): Use region-active-p rather than
2100 cua--explicit-region-start or cua--last-region-shifted.
2101 (cua-mode): Enable shift-select-mode.
2102
2103 2013-12-08 Leo Liu <sdl.web@gmail.com>
2104
2105 * progmodes/flymake.el (flymake-popup-current-error-menu):
2106 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2107 (flymake-posn-at-point-as-event, flymake-popup-menu)
2108 (flymake-make-emacs-menu): Remove. (Bug#16077)
2109
2110 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * rect.el (rectangle-mark-mode): Activate mark even if
2113 transient-mark-mode is off (bug#16066).
2114 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2115 is > mark and at bolp.
2116
2117 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2118 (region-extract-function): Use it.
2119 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2120 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2121 Delete functions.
2122 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2123 kill-ring-save, kill-region, delete-char, delete-forward-char.
2124 Ignore self-insert-iso.
2125
2126 * emulation/cua-gmrk.el (cua--init-global-mark):
2127 Ignore `self-insert-iso'.
2128
2129 * emulation/cua-base.el (cua--prefix-copy-handler)
2130 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2131 checking cua--rectangle.
2132 (cua-delete-region): Use region-extract-function.
2133 (cua-replace-region): Delete function.
2134 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2135 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2136 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2137 (cua--init-keymaps): Don't remap delete-selection commands.
2138 (cua-mode): Use delete-selection-mode instead of rolling our own
2139 (bug#16085).
2140
2141 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2142 Obey region-extract-function.
2143
2144 Make registers and delete-selection-mode work on rectangles.
2145 * register.el (describe-register-1): Don't modify the register's value.
2146 (copy-to-register): Obey region-extract-function.
2147 * delsel.el (delete-active-region): Obey region-extract-function.
2148
2149 2013-12-08 Leo Liu <sdl.web@gmail.com>
2150
2151 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2152 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2153 (flymake-compilation-prevents-syntax-check)
2154 (flymake-start-syntax-check-on-newline)
2155 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2156 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2157 (flymake-xml-program, flymake-master-file-dirs)
2158 (flymake-master-file-count-limit)
2159 (flymake-allowed-file-name-masks): Relocate.
2160 (flymake-makehash, flymake-float-time)
2161 (flymake-replace-regexp-in-string, flymake-split-string)
2162 (flymake-get-temp-dir): Remove.
2163 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2164 (flymake-current-row, flymake-selected-frame)
2165 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2166 related functions. (Bug#16077)
2167
2168 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2169
2170 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2171
2172 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2173
2174 * help-fns.el (describe-function-1): Use new advice-* functions
2175 rather than old ad-* functions. Fix function type description and
2176 source links for advised functions and subrs.
2177
2178 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2179
2180 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2181
2182 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2183
2184 * progmodes/compile.el (compilation-start):
2185 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2186
2187 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2188 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2189
2190 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2191
2192 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2193 Touch up the last change.
2194
2195 2013-12-06 Leo Liu <sdl.web@gmail.com>
2196
2197 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2198 (inferior-octave-startup): Always use "octave> " for prompt.
2199 (octave-goto-function-definition)
2200 (octave-sync-function-file-names)
2201 (octave-find-definition-default-filename): Remove redundant backquotes.
2202
2203 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2204
2205 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2206 syntax for `?'.
2207 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2208 where appropriate already.
2209 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2210 end of method names (Bug#15874).
2211
2212 2013-12-06 Juri Linkov <juri@jurta.org>
2213
2214 * isearch.el (isearch--saved-overriding-local-map):
2215 New internal variable.
2216 (isearch-mode): Set it to the initial value of
2217 `overriding-terminal-local-map'.
2218 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2219 with `isearch--saved-overriding-local-map'. (Bug#16035)
2220
2221 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * progmodes/octave.el (inferior-octave-completion-table):
2224 Turn back into function, use `completion-table-with-cache'
2225 (Bug#11906). Update all references.
2226
2227 * minibuffer.el (completion-table-with-cache): New function.
2228
2229 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2230
2231 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2232
2233 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2234
2235 * net/eww.el (eww-current-source): New variable to store page
2236 source.
2237 (eww-display-html, eww-mode, eww-save-history)
2238 (eww-restore-history): Use it.
2239 (eww-view-source): New command to view page source.
2240 Opportunistically uses `html-mode' to highlight the buffer.
2241 (eww-mode-map): Install it.
2242
2243 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2244
2245 * net/dbus.el (dbus-unregister-service)
2246 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2247 Fix docstring.
2248 (dbus-unregister-service): Skip :serial entries in
2249 `dbus-registered-objects-table'.
2250 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2251
2252 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2253
2254 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2255 around keywords with extra `split-string' argument.
2256
2257 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2258
2259 * windmove.el (windmove-other-window-loc): Handle navigation
2260 between windows (excluding the minibuffer window - Bug#16017).
2261
2262 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2263
2264 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2265 in D-Bus type syntax.
2266 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2267 preserve unibyte strings. (Bug#16048)
2268
2269 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2272 Call force-mode-line-update is the proper buffer (bug#16042).
2273
2274 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2275
2276 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2277 `log-edit-remember-comment', make argument optional. Adjust all
2278 callers.
2279 (log-edit-mode): Add `log-edit-remember-comment' to
2280 `kill-buffer-hook' locally.
2281 (log-edit-kill-buffer): Don't remember comment explicitly since
2282 the buffer is killed anyway.
2283
2284 2013-12-04 Juri Linkov <juri@jurta.org>
2285
2286 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2287 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2288
2289 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2290
2291 * notifications.el (notifications-close-notification): Call the
2292 D-Bus method with ID being a `:uint32'. (Bug#16030)
2293
2294 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2295
2296 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2297
2298 2013-12-03 Juri Linkov <juri@jurta.org>
2299
2300 * progmodes/compile.el (compilation-start): Rename window alist
2301 entry `no-display-ok' to `allow-no-window'.
2302
2303 * simple.el (shell-command): Add window alist entry
2304 `allow-no-window' to `display-buffer'.
2305 (async-shell-command): Doc fix.
2306
2307 * window.el (display-buffer-no-window): New action function.
2308 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2309
2310 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2311
2312 * vc/log-edit.el (log-edit-set-header): Extract from
2313 `log-edit-toggle-header'.
2314 (log-edit-extract-headers): Separate the summary, when extracted
2315 from header, from the rest of the message with an empty line.
2316
2317 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2318 line, if present, to the Summary header.
2319
2320 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2323 in current-buffer (bug#16029).
2324
2325 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2326
2327 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2328 (debugger-mode-map): Bind it.
2329 (debugger--backtrace-base): New function.
2330 (debugger-eval-expression): Use it.
2331 (debugger-frame-number): Skip local vars when present.
2332 (debugger--locals-visible-p, debugger--insert-locals)
2333 (debugger--show-locals, debugger--hide-locals): New functions.
2334
2335 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2338 "LC_ALL".
2339 (tramp-get-remote-locale): New defun.
2340 (tramp-open-connection-setup-interactive-shell): Use it.
2341
2342 2013-12-02 Leo Liu <sdl.web@gmail.com>
2343
2344 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2345
2346 * progmodes/sh-script.el (sh-shell-process):
2347 * progmodes/octave.el (inferior-octave-process-live-p):
2348 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2349 (gdb-inferior-io-sentinel):
2350 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2351
2352 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2353
2354 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2355 `save-selected-window' to `log-edit-hide-buf'. This makes
2356 `log-edit-show-files' idempotent.
2357 (log-edit-show-files): Mark the new window as dedicated.
2358
2359 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2360
2361 * vc/log-edit.el (log-edit-mode-map): Add binding for
2362 `log-edit-kill-biffer'.
2363 (log-edit-hide-buf): Add a FIXME comment.
2364 (log-edit-add-new-comment): New function, extracted from
2365 `log-edit-done'.
2366 (log-edit-done, log-edit-add-to-changelog): Use it.
2367 (log-edit-kill-buffer): New command.
2368
2369 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2370
2371 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2372 instead of killing the buffer.
2373
2374 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2375
2376 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2377
2378 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2379
2380 * net/eww.el (eww-form-checkbox-selected-symbol)
2381 (eww-form-checkbox-symbol): New customizable variable.
2382 (eww-form-checkbox, eww-toggle-checkbox):
2383 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2384
2385 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2386 (shr--get-media-pref, shr--extract-best-source): New function.
2387 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2388 no :src tag was specified.
2389
2390 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2391 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2392 Use \\` to match beginning of string instead of ^.
2393 (eww-browse-with-external-browser): Provide optional URL parameter.
2394 (eww-render): Set `eww-current-title' back to "".
2395
2396 * net/shr.el (shr-tag-video): Display content for video if no
2397 poster is available.
2398 (shr-tag-audio): Add support for <audio> tag.
2399
2400 * net/eww.el (eww-text-input-types): New const.
2401 (eww-process-text-input): Treat input types in
2402 `eww-text-input-types' as text.
2403
2404 * net/shr.el (shr-tag-table): Fix comment typo.
2405
2406 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2407
2408 * net/eww.el (eww-follow-link): New command to avoid reloading
2409 pages when we follow #target links (bug#15243).
2410 (eww-quit): Special mode buffers shouldn't query before exiting.
2411
2412 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2413
2414 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2415 forms.
2416
2417 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2418
2419 * net/eww.el (eww-restore-history): Update the window title after
2420 moving in the history.
2421 (eww-current-dom): New variable used to save the current DOM.
2422
2423 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2424
2425 * vc/log-edit.el (log-edit-mode-map): Add binding for
2426 `log-edit-beginning-of-line'.
2427 (log-edit-setup-add-author): New user option.
2428 (log-edit-beginning-of-line): New command.
2429 (log-edit): Move major mode call above the contents setup so that
2430 the local variable values are already applied.
2431 (log-edit): Only insert "Author: " when
2432 `log-edit-setup-add-author' is non-nil.
2433 (log-edit): When SETUP is non-nil, position point after ": "
2434 instead of point-min.
2435
2436 2013-12-01 Glenn Morris <rgm@gnu.org>
2437
2438 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2439
2440 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2441
2442 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2443 redisplay to make sure the initial frame gets a chance to become
2444 visible. (Bug#16014)
2445
2446 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2447
2448 Support resizing frames and windows pixelwise.
2449 * cus-start.el (frame-resize-pixelwise)
2450 (window-resize-pixelwise): New entries.
2451 * emacs-lisp/debug.el (debug): Use window-total-height instead
2452 of window-total-size.
2453 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2454 * help.el (describe-bindings-internal): Call help-buffer
2455 (temp-buffer-max-width): New option.
2456 (resize-temp-buffer-window, help-window-setup)
2457 (with-help-window): Rewrite.
2458 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2459 dragging dividers.
2460 * window.el (frame-char-size, window-min-pixel-height)
2461 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2462 (window-min-pixel-width, window-safe-min-pixel-size)
2463 (window-combination-p, window-safe-min-size)
2464 (window-resizable-p, window--size-to-pixel)
2465 (window--pixel-to-size, window--resize-apply-p): New functions.
2466 (window-safe-min-height): Fix doc-string.
2467 (window-size, window-min-size, window--min-size-1)
2468 (window-sizable, window-sizable-p, window--min-delta-1)
2469 (window-min-delta, window--max-delta-1, window-max-delta)
2470 (window--resizable, window--resizable-p, window-resizable)
2471 (window-full-height-p, window-full-width-p, window-at-side-p)
2472 (window--in-direction-2, window-in-direction)
2473 (window--resize-reset-1, window--resize-mini-window)
2474 (window-resize, window-resize-no-error)
2475 (window--resize-child-windows-normal)
2476 (window--resize-child-windows, window--resize-siblings)
2477 (window--resize-this-window, window--resize-root-window)
2478 (window--resize-root-window-vertically)
2479 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2480 (maximize-window, minimize-window, delete-window)
2481 (quit-restore-window, window-split-min-size, split-window)
2482 (balance-windows-2, balance-windows)
2483 (balance-windows-area-adjust, balance-windows-area)
2484 (window--state-get-1, window-state-get, window--state-put-1)
2485 (window--state-put-2, window-state-put)
2486 (display-buffer-record-window, window--display-buffer):
2487 Make functions handle pixelwise sizing of windows.
2488 (display-buffer--action-function-custom-type)
2489 (display-buffer-fallback-action):
2490 Add display-buffer-in-previous-window.
2491 (display-buffer-use-some-window): Resize window to height it had
2492 before.
2493 (fit-window-to-buffer-horizontally): New option.
2494 (fit-frame-to-buffer): Describe new values.
2495 (fit-frame-to-buffer-bottom-margin): Replace with
2496 fit-frame-to-buffer-margins.
2497 (window--sanitize-margin): New function.
2498 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2499 using window-text-pixel-size.
2500
2501 2013-11-30 Glenn Morris <rgm@gnu.org>
2502
2503 * emacs-lisp/bytecomp.el (byte-compile-form):
2504 Make the `interactive-only' warning like the `obsolete' one.
2505 * comint.el (comint-run):
2506 * files.el (insert-file-literally, insert-file):
2507 * replace.el (replace-string, replace-regexp):
2508 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2509 (goto-line, insert-buffer, next-line, previous-line):
2510 Tweak `interactive-only' spec.
2511
2512 Stop keeping (most) generated cedet grammar files in the repository.
2513 * Makefile.in (semantic): New.
2514 (compile-main): Depend on semantic.
2515
2516 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2517
2518 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2519 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2520
2521 * uniquify.el (uniquify-buffer-name-style): Change default.
2522
2523 * loadup.el: Preload "uniquify".
2524
2525 * time.el (display-time-update): Update all mode lines (bug#15999).
2526
2527 * electric.el (electric-indent-mode): Enable by default.
2528 * loadup.el: Preload "electric".
2529
2530 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2531
2532 * emacs-lisp/helpers.el (string-empty-p): New function.
2533 (string-blank-p): New function.
2534
2535 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2536
2537 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2538 (Bug#14029).
2539
2540 2013-11-29 Andreas Politz <politza@fh-trier.de>
2541 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2542 allow non-lambda lists as functions.
2543 (imenu--in-alist): Don't recurse into non-subalists.
2544 (imenu): Don't pass function itself as an argument (Bug#14029).
2545
2546 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * progmodes/python.el (python-mode-map): Remove binding for ":".
2549 (python-indent-electric-colon): Remove command.
2550 (python-indent-post-self-insert-function): Integrate the previous code
2551 of python-indent-electric-colon. Make it conditional on
2552 electric-indent-mode.
2553 (python-mode): Add ?: to electric-indent-chars.
2554 Move python-indent-post-self-insert-function to the end of
2555 post-self-insert-hook.
2556
2557 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * doc-view.el (doc-view-goto-page): Update mode-line.
2560
2561 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2562
2563 2013-11-27 Glenn Morris <rgm@gnu.org>
2564
2565 * international/charprop.el, international/uni-bidi.el:
2566 * international/uni-category.el, international/uni-combining.el:
2567 * international/uni-comment.el, international/uni-decimal.el:
2568 * international/uni-decomposition.el, international/uni-digit.el:
2569 * international/uni-lowercase.el, international/uni-mirrored.el:
2570 * international/uni-name.el, international/uni-numeric.el:
2571 * international/uni-old-name.el, international/uni-titlecase.el:
2572 * international/uni-uppercase.el:
2573 Remove generated files from VCS repository.
2574
2575 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2576
2577 * filenotify.el (file-notify-add-watch): Don't special-case
2578 w32notify when computing the directory to watch.
2579
2580 2013-11-27 Glenn Morris <rgm@gnu.org>
2581
2582 Make bootstrap without generated uni-*.el files possible again.
2583 * loadup.el: Update command-line-args checking for unidata-gen.
2584 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2585 * composite.el, international/characters.el:
2586 Handle unicode tables being undefined.
2587
2588 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2589 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2590 (compile-main): Depend on leim rule.
2591 (leim): New rule.
2592 * loadup.el: Move leim-list.el to leim/ subdirectory.
2593 * startup.el (normal-top-level): No more leim directory.
2594 * international/ja-dic-cnv.el (skkdic-convert):
2595 Disable version-control and autoloads in output files.
2596 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2597 Disable version-control and autoloads in output files.
2598 * leim/quail: Move here from ../leim.
2599 * leim/quail/hangul.el (hangul-input-method-activate):
2600 Add autoload cookie.
2601 (generated-autoload-load-name): Set file-local value.
2602 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2603 (generated-autoload-load-name): Set file-local value.
2604
2605 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2606
2607 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2608 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2609 (eww-quit): Ask confirmation before quitting eww.
2610
2611 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2612
2613 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2614 reading output from Diff on MS-Windows and MS-DOS.
2615
2616 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2617
2618 * emacs-lisp/helpers.el (string-reverse): New function.
2619
2620 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2621
2622 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2623 names on MS Windows, like "/[::1]:".
2624
2625 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2626 SWITCHES.
2627
2628 2013-11-26 Glenn Morris <rgm@gnu.org>
2629
2630 * progmodes/python.el (python-indent-guess-indent-offset):
2631 Avoid corner-case error. (Bug#15975)
2632
2633 Preload leim-list.el. (Bug#4789)
2634 * loadup.el: Load leim-list.el when found.
2635 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2636
2637 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2638
2639 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2640
2641 * emacs-lisp/helpers.el (string-join): New function.
2642
2643 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2644
2645 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2646 Mark as obsolete and replace it with a symbol property.
2647 (byte-compile-form): Use new 'interactive-only property.
2648 * comint.el, files.el, replace.el, simple.el:
2649 Apply new 'interactive-only properly.
2650
2651 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2652
2653 * window.el (display-buffer-at-bottom): Make sure that
2654 split-window-sensibly creates the new window on bottom
2655 (Bug#15961).
2656
2657 2013-11-23 David Kastrup <dak@gnu.org>
2658
2659 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2660 on the conflict markers when available.
2661 (smerge--get-marker): New function.
2662 (smerge-end-re, smerge-base-re): Add subgroup.
2663
2664 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2665
2666 * frame.el (handle-focus-in, handle-focus-out): Add missing
2667 interactive spec.
2668
2669 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2670
2671 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2672 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2673
2674 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2677 (gomoku--last-pos): New var.
2678 (gomoku--intangible-chars): New const.
2679 (gomoku--intangible): New function.
2680 (gomoku-mode): Use it. Derive from special-mode.
2681 (gomoku-move-up): Adjust line count.
2682 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2683 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2684 Simplify accordingly.
2685
2686 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2687 Remove blink-cursor code.
2688 (blink-cursor-timer-function, blink-cursor-suspend):
2689 Don't special-case GUIs.
2690 (blink-cursor-mode): Use focus-in/out-hook.
2691
2692 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2695 work when annotation is invisible (Bug#13886).
2696
2697 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2698
2699 * json.el (json-alist-p): Only return non-nil if the alist has
2700 simple keys (Bug#13518).
2701
2702 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2703
2704 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2705 when control-statement is the first statement in a buffer (Bug#15956).
2706
2707 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2708
2709 * imenu.el (imenu-generic-skip-comments-and-strings):
2710 New option (Bug#15560).
2711 (imenu--generic-function): Use it.
2712
2713 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2714
2715 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2716 (Bug#13898)
2717
2718 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2719
2720 * emacs-lisp/helpers.el: Add some string helpers.
2721 (string-trim-left): Removes leading whitespace.
2722 (string-trim-right): Removes trailing whitespace.
2723 (string-trim): Removes leading and trailing whitespace.
2724
2725 * subr.el (string-suffix-p): New function.
2726
2727 2013-11-23 Glenn Morris <rgm@gnu.org>
2728
2729 * progmodes/python.el (python-shell-send-file):
2730 Add option to delete file when done. (Bug#15647)
2731 (python-shell-send-string, python-shell-send-region): Use it.
2732
2733 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2734
2735 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2736 to set buffer-read-only to t, never to nil. (Bug#15938)
2737
2738 * textmodes/tex-mode.el (latex-noindent-environments):
2739 Add safe-local-variable property. (Bug#15936)
2740
2741 2013-11-23 Glenn Morris <rgm@gnu.org>
2742
2743 * textmodes/enriched.el (enriched-mode): Doc fix.
2744 * emacs-lisp/authors.el (authors-renamed-files-alist):
2745 Add enriched.doc -> enriched.txt.
2746
2747 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2748
2749 2013-11-22 Leo Liu <sdl.web@gmail.com>
2750
2751 * progmodes/octave.el (inferior-octave-startup): Spit out error
2752 message.
2753
2754 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2755
2756 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2757 Improve docstring.
2758 Add :version.
2759 (ruby-encoding-magic-comment-style): Add :version.
2760
2761 2013-11-22 Leo Liu <sdl.web@gmail.com>
2762
2763 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2764 (Bug#15076)
2765 (octave-help-mode): Adapt to change to help-mode-finish to use
2766 derived-mode-p on 2013-09-17.
2767 (inferior-octave-prompt): Also match octave-gui.
2768 (octave-kill-process): Don't ask twice. (Bug#10564)
2769
2770 2013-11-22 Leo Liu <sdl.web@gmail.com>
2771
2772 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2773 (inferior-octave-startup, inferior-octave-check-process)
2774 (inferior-octave-track-window-width-change)
2775 (octave-completion-at-point, octave-eldoc-function): Use it.
2776 (octave-kill-process): Provide confirmation. (Bug#10564)
2777
2778 2013-11-21 Leo Liu <sdl.web@gmail.com>
2779
2780 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2781 Fix obsolete variable comment-use-global-state.
2782
2783 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2784
2785 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2786 Add `octave-source-file'.
2787 (octave-source-file): New function. (Bug#15935)
2788
2789 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2790
2791 * net/eww.el (eww-local-regex): New variable.
2792 (eww): Use it to detect localhost and similar.
2793
2794 2013-11-21 Leo Liu <sdl.web@gmail.com>
2795
2796 Add completion for command `ag'.
2797 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2798 (pcomplete/ag): New function.
2799 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2800
2801 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2804 (bug#14646).
2805 (make-obsolete): Remove interactive spec.
2806
2807 2013-11-21 Glenn Morris <rgm@gnu.org>
2808
2809 * startup.el (command-line-1): Use path-separator with -L.
2810
2811 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2812
2813 * emacs-lisp/package.el (describe-package-1): Add package archive
2814 to shown fields.
2815
2816 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2817
2818 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2819 Change default to "# encoding: %s" to differentiate it from the
2820 default Ruby encoding comment template.
2821
2822 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2823
2824 * ses.el (ses-mode): Doc fix. (Bug#14748)
2825
2826 2013-11-20 Leo Liu <sdl.web@gmail.com>
2827
2828 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2829
2830 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2831
2832 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2833 when rebase or bisect are in progress.
2834
2835 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2836
2837 * filenotify.el (file-notify-add-watch): Doc fix.
2838
2839 2013-11-19 Leo Liu <sdl.web@gmail.com>
2840
2841 * obsolete/rcompile.el: Mark obsolete.
2842
2843 * progmodes/compile.el (compilation-start)
2844 (compilation-goto-locus, compilation-find-file):
2845 Pass no-display-ok and handle nil value from display-buffer.
2846 (Bug#13594)
2847
2848 * window.el (display-buffer-alist, display-buffer): Document the
2849 new parameter no-display-ok. Return either a window or nil
2850 but never a non-window value.
2851
2852 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2853
2854 * electric.el (electric-indent-mode-map): Remove.
2855 (electric-indent-mode): Change the global-map instead (bug#15915).
2856
2857 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2858 Use add-function.
2859
2860 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * emacs-lisp/nadvice.el (remove-function): Align with
2863 add-function's behavior.
2864
2865 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2866 (gdb--string-regexp): New constant.
2867 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2868 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2869 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2870 submatch 1.
2871 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2872 Adjust use accordingly.
2873 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2874
2875 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2876
2877 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2878 interpolation curlies (Bug#15914).
2879
2880 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2881
2882 * calc/calc.el (calc-context-sensitive-enter): New variable.
2883 (calc-enter): Use `calc-context-sensitive-enter'.
2884
2885 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2886
2887 * progmodes/cfengine.el: Version bump.
2888 (cfengine-cf-promises): New defcustom to locate cf-promises.
2889 (cfengine3-vartypes): Add new "data" type.
2890 (cfengine3--current-word): New function to get current name-like
2891 word or its bounds.
2892 (cfengine3--current-function): New function to look up a CFEngine
2893 function's definition.
2894 (cfengine3-format-function-docstring): New function.
2895 (cfengine3-make-syntax-cache): New function.
2896 (cfengine3-documentation-function): New function: ElDoc glue.
2897 (cfengine3-completion-function): New function: completion glue.
2898 (cfengine3-mode): Set `compile-command',
2899 `eldoc-documentation-function', and add to
2900 `completion-at-point-functions'.
2901
2902 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2905 `tramp-current-connection'.
2906
2907 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2908
2909 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2910 nil/self/true/false with "end of symbol".
2911
2912 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2913
2914 * subr.el (version-regexp-alist): Fix a typo.
2915
2916 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2917
2918 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2919 "en_US.utf8" and "LC_CTYPE" to "".
2920 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2921 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2922
2923 2013-11-15 Leo Liu <sdl.web@gmail.com>
2924
2925 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2926
2927 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * progmodes/gud.el (ctl-x-map):
2930 Remove C-x SPC binding. (Bug#12342)
2931 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2932
2933 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2934
2935 * subr.el (version-regexp-alist):
2936 Recognize hg, svn and darcs versions as snapshot versions.
2937
2938 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2939 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2940 (ruby--encoding-comment-required-p): Extract from
2941 `ruby-mode-set-encoding'.
2942 (ruby-mode-set-encoding): Add the ability to always insert an
2943 utf-8 encoding comment. Fix and simplify coding comment update
2944 logic.
2945
2946 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp-gvfs.el (top): Run init code only when
2949 `tramp-gvfs-enabled' is not nil.
2950 (tramp-gvfs-enabled): Check also :system bus.
2951
2952 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2953
2954 Sync with upstream verilog-mode revision 78e66ba.
2955 * progmodes/verilog-mode.el (verilog-end-of-defun)
2956 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2957 (verilog-get-end-of-defun): Remove unused argument.
2958 (verilog-comment-depth): Remove unused local `e'.
2959 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2960 Don't pass arg to verilog-get-end-of-defun.
2961
2962 2013-11-14 Glenn Morris <rgm@gnu.org>
2963
2964 * obsolete/assoc.el (aget): Prefix dynamic variable.
2965
2966 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2967
2968 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * widget.el, hfy-cmap.el: Remove bogus package version number.
2971
2972 2013-11-13 Glenn Morris <rgm@gnu.org>
2973
2974 * replace.el (replace-eval-replacement):
2975 Try to give more helpful error message. (Bug#15836)
2976
2977 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2978 (archive-7z-update): Avoid custom type mismatches.
2979
2980 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2981
2982 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2983
2984 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2985 address can be empty.
2986
2987 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2988 Accept nil SWITCHES.
2989 (tramp-gvfs-handle-write-region): Implement APPEND.
2990
2991 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2992
2993 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2994 binary "|" operator and closing block args delimiter.
2995 Remove FIXME comment referring to Ruby 1.8-only syntax.
2996 (ruby-smie--implicit-semi-p): Not after "|" operator.
2997 (ruby-smie--closing-pipe-p): New function.
2998 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2999 (ruby-smie-rules): Indent after "|".
3000
3001 2013-11-12 Glenn Morris <rgm@gnu.org>
3002
3003 * ps-print.el (ps-face-attribute-list):
3004 Handle anonymous faces. (Bug#15827)
3005
3006 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3007
3008 * window.el (display-buffer-other-frame): Fix doc-string.
3009 (Bug#15868)
3010
3011 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3014
3015 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3018 (tramp-sh-handle-file-local-copy): Don't write a message when
3019 saving temporary files.
3020
3021 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3022 both directories are remote.
3023 (tramp-smb-handle-directory-files): Do not return double entries.
3024 Do not expand full file names.
3025 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3026 (tramp-smb-handle-write-region): Implement APPEND.
3027 (tramp-smb-get-stat-capability): Fix a stupid bug.
3028
3029 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3030
3031 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3032
3033 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3034
3035 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3036 throwing error over malformed let/let* (bug#15814).
3037
3038 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * iswitchb.el (iswitchb-mode): Mark obsolete.
3041
3042 2013-11-11 Glenn Morris <rgm@gnu.org>
3043
3044 * international/uni-bidi.el, international/uni-category.el:
3045 * international/uni-name.el, international/uni-numeric.el:
3046 Regenerate for Unicode 6.3.0.
3047
3048 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * net/tramp.el (tramp-methods):
3051 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3052 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3053
3054 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3055
3056 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3057 Force highlighting text after Summary keyword in doc face for rpm.
3058
3059 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3060
3061 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3062 available and the word has no wildcards, append one to the grep pattern.
3063 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3064 (ispell-complete-word): Call `ispell-lookup-words' with the value
3065 independent of `ispell-look-p'.
3066
3067 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3068
3069 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3070 Not after "||".
3071 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3072 their parent.
3073
3074 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3077 (ruby-font-lock-keywords): Use backquote.
3078
3079 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3080
3081 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3082 (ruby-smie--backward-token): Only consider full-string matches.
3083
3084 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3085
3086 * faces.el (describe-face): Add distant-foreground.
3087
3088 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3089
3090 * progmodes/ruby-mode.el: Improve encoding comment handling.
3091 (ruby-encoding-magic-comment-style): New option.
3092 (ruby-custom-encoding-magic-comment-template): New option.
3093 (ruby--insert-coding-comment, ruby--detect-encoding):
3094 New functions extracted from `ruby-mode-set-encoding'.
3095 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3096 to control the style of the auto-inserted encoding comment.
3097
3098 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3099
3100 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3101 Use `smie-backward-sexp' with token argument.
3102
3103 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3104
3105 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3106 Remove instrumentation code.
3107
3108 2013-11-08 Glenn Morris <rgm@gnu.org>
3109
3110 * progmodes/autoconf.el (autoconf-mode):
3111 Tweak comment-start-skip. (Bug#15822)
3112
3113 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3116 at bobp (bug#15826).
3117 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3118
3119 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3120
3121 * man.el (Man-start-calling): New macro, extracted from
3122 Man-getpage-in-background.
3123 (Man-getpage-in-background): Use it.
3124 (Man-update-manpage): New command.
3125 (Man-mode-map): Bind it.
3126
3127 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3128
3129 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3130 of "and", "or", "&&" and "||".
3131 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3132 argument. Prohibit opening curly brace because it could only be a
3133 block opener in that position.
3134 (ruby-smie--forward-token, ruby-smie--backward-token):
3135 Separate "|" from "&" or "*" going after it. That can happen in block
3136 arguments.
3137 (ruby-smie--indent-to-stmt): New function, seeks the end of
3138 previous statement or beginning of buffer.
3139 (ruby-smie-rules): Use it.
3140 (ruby-smie-rules): Check if there's a ":" before a curly block
3141 opener candidate; if there is, it's a hash.
3142
3143 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3144
3145 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3146 (cl--block-wrapper): Fix last accidental change.
3147
3148 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3149
3150 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3151 Instrument, in order to hunt failure on hydra.
3152
3153 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3154
3155 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3156 malformed bindings form (bug#15814).
3157
3158 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3159
3160 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3161 "." compared to " @ ". This incidentally fixes some indentation
3162 examples with "do".
3163 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3164 (ruby-smie-grammar): New tokens: "and" and "or".
3165 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3166 Exclude "and" and "or". Remove "do" in order to work around token
3167 priorities.
3168 (ruby-smie-rules): Add all infix tokens. Handle the case of
3169 beginning-of-buffer.
3170
3171 2013-11-06 Glenn Morris <rgm@gnu.org>
3172
3173 * Makefile.in (setwins_almost, setwins_for_subdirs):
3174 Avoid accidental matches.
3175
3176 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3177
3178 * menu-bar.el (popup-menu): Use key-binding.
3179
3180 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3181
3182 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3183 menus, support also the menus produced by minor modes.
3184 (Bug#15817)
3185
3186 2013-11-06 Leo Liu <sdl.web@gmail.com>
3187
3188 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3189 DISTANCE to bound the search. All uses changed. (Bug#15808)
3190
3191 2013-11-06 Glenn Morris <rgm@gnu.org>
3192
3193 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3194 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3195 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3196
3197 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * electric.el (electric-indent-just-newline): New command.
3200 (electric-indent-mode-map): New keymap.
3201 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3202 Re-add :group which weren't redundant.
3203
3204 * electric.el (electric-indent-local-mode): New minor mode.
3205 (electric-indent-functions-without-reindent): New var.
3206 (electric-indent-post-self-insert-function): Use it.
3207 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3208
3209 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3210
3211 * international/quail.el (quail-help): Be more explicit about the
3212 meaning of the labels shown on the keys. (Bug#15800)
3213
3214 * startup.el (normal-top-level): Load the subdirs.el files before
3215 setting the locale environment. (Bug#15805)
3216
3217 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3220 via arguments so as to get the right ones (bug#15418).
3221
3222 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3223
3224 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3225
3226 Fix problems found while writing a test suite.
3227
3228 * net/tramp-compat.el (tramp-compat-load): New defun.
3229 * net/tramp.el (tramp-handle-load): Use it.
3230
3231 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3232 "(numberp ok-if-already-exists)" correctly.
3233
3234 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3235
3236 * international/characters.el (glyphless-char-display-control):
3237 Add usage note.
3238
3239 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3240
3241 * progmodes/python.el (python-mode):
3242 * progmodes/scheme.el (scheme-mode):
3243 * progmodes/prolog.el (prolog-mode):
3244 * progmodes/ruby-mode.el (ruby-mode):
3245 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3246 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3247
3248 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * rect.el (rectangle--highlight-for-redisplay):
3251 * emacs-lisp/smie.el (smie--next-indent-change):
3252 Use buffer-chars-modified-tick.
3253
3254 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3255
3256 * electric.el (electric-indent-post-self-insert-function):
3257 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3258
3259 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3260
3261 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3262
3263 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3264
3265 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3266 (bug#15786).
3267
3268 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3271
3272 * progmodes/python.el: Fix up last change.
3273 (python-shell--save-temp-file): New function.
3274 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3275 `string' comes from the current buffer.
3276 (python-shell-send-string-no-output): Remove `msg' arg.
3277 (python--use-fake-loc): New var.
3278 (python-shell-buffer-substring): Obey it. Try to compensate for the
3279 extra coding line added by python-shell--save-temp-file.
3280 (python-shell-send-region): Use python-shell--save-temp-file and
3281 python-shell-send-file directly. Add `nomain' argument.
3282 (python-shell-send-buffer): Use python-shell-send-region.
3283 (python-electric-pair-string-delimiter): New function.
3284 (python-mode): Use it.
3285
3286 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3287
3288 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3289 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3290 environment and decoding all of the default-directory's to here
3291 from command-line.
3292 (command-line): Decode also argv[0].
3293
3294 * loadup.el: Error out if default-directory is a multibyte string
3295 when we are dumping.
3296
3297 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3298
3299 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3300
3301 * emacs-lisp/package.el (package-menu-mode)
3302 (package-menu--print-info, package-menu--archive-predicate):
3303 Add Archive column to package list.
3304
3305 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3306
3307 Fix problems found while writing a test suite.
3308
3309 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3310 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3311 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3312 to nil when running original file name handler. Otherwise,
3313 there are problems with constructs like "$$FOO".
3314
3315 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3316 for `localname'.
3317
3318 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3319
3320 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3321
3322 * subr.el (version<, version<=, version=):
3323 Update docstrings with information for snapshot versions.
3324
3325 * helpers.el: New library for misc helper functions.
3326 (hash-table-keys): New function returning a list of hash keys.
3327 (hash-table-values): New function returning a list of hash values.
3328
3329 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3330
3331 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3332 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3333
3334 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3335
3336 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3337 checking whether point is after a 1-letter word.
3338
3339 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3340
3341 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3342 Don't infloop when expanding region over `multiline' syntax-type that
3343 begins a line (bug#15778).
3344
3345 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3348 Make it into a proper minor mode.
3349 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3350 (rectangle-mark-mode-map): New keymap.
3351 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3352
3353 2013-11-04 Glenn Morris <rgm@gnu.org>
3354
3355 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3356
3357 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3358
3359 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3360 (ruby-smie-rules): Use smie-rule-parent instead.
3361
3362 * emacs-lisp/smie.el (smie-rule-parent): Always call
3363 smie-indent-virtual rather than only for hanging tokens.
3364 (smie--next-indent-change): New helper command.
3365
3366 2013-11-03 Glenn Morris <rgm@gnu.org>
3367
3368 * Makefile.in (abs_srcdir): Remove.
3369 (emacs): Unset EMACSLOADPATH.
3370
3371 2013-11-02 Glenn Morris <rgm@gnu.org>
3372
3373 * Makefile.in (EMACS): Use a relative filename.
3374 (abs_top_builddir): Remove.
3375 (custom-deps, finder-data, autoloads): Use --chdir.
3376
3377 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3378
3379 Use relative filenames in TAGS files.
3380 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3381 (lisptagsfiles4, TAGS): Use relative file names.
3382 (TAGS-LISP): Remove.
3383 (maintainer-clean): No more TAGS-LISP file.
3384
3385 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3386 (lisptagsfiles4): Use absolute filenames again.
3387 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3388 Remove all *loaddefs files, not just the first. Remove esh-groups.
3389 (maintainer-clean): Delete TAGS, TAGS-LISP.
3390
3391 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3392
3393 * emacs-lisp/package.el (package-version-join):
3394 Recognize snapshot versions.
3395
3396 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3397
3398 * subr.el (version-regexp-alist): Add support for snapshot versions.
3399
3400 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3401
3402 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3403 New function, replacement for `smie-rule-parent' for when we want to
3404 skip over our direct parent if it's an assignment token..
3405 (ruby-smie-rules): Use it.
3406
3407 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3408
3409 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3410 unconditionally. Remove now unnecessary forward declarations.
3411 Remove XEmacs-specific setup.
3412 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3413 (ruby-font-lock-syntactic-keywords)
3414 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3415 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3416 (ruby-here-doc-end-syntax): Remove.
3417 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3418 defined as function.
3419
3420 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3421
3422 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3423
3424 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3425
3426 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3427 table and abbrev table, `define-derived-mode' does that for us
3428 anyway.
3429
3430 2013-11-01 Glenn Morris <rgm@gnu.org>
3431
3432 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3433 files is atomic for some time, so no parallel compilation issues).
3434
3435 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3436
3437 * faces.el (face-x-resources): Add :distant-foreground.
3438 (region): Use :distant-foreground for gtk and ns.
3439
3440 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3441
3442 Allow multiple bibliographies when BibLaTeX is used rather than
3443 BibTeX.
3444 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3445 (reftex-locate-bibliography-files): Us it.
3446
3447 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3448
3449 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3450 allow comments in pbm files.
3451
3452 * term/w32-win.el (dynamic-library-alist): Support newer versions
3453 of libjpeg starting with v7: look only for the DLL from the
3454 version against which Emacs was built.
3455 Support versions of libpng beyond 1.4.x.
3456 Support libtiff v4.x.
3457
3458 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3459
3460 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3461 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3462 Add property :safe.
3463 (ruby-deep-arglist): Add property :type.
3464
3465 2013-10-31 Glenn Morris <rgm@gnu.org>
3466
3467 * Makefile.in (custom-deps, finder-data): No need to setq the target
3468 variables, we are in the right directory and the defaults work fine.
3469
3470 2013-10-30 Glenn Morris <rgm@gnu.org>
3471
3472 * Makefile.in (autoloads): Do not use abs_lisp.
3473
3474 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3475 `newline' does not respect `standard-output', so use `princ'.
3476
3477 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3478
3479 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3480 * buff-menu.el (Buffer-menu--unmark): New function.
3481 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3482
3483 2013-10-30 Glenn Morris <rgm@gnu.org>
3484
3485 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3486
3487 * emacs-lisp/package.el (lm-homepage): Declare.
3488
3489 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3490 Fix doc typos.
3491
3492 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3493
3494 * Makefile.in (finder-data, autoloads, update-subdirs)
3495 (compile-main, compile-clean, compile-always, bootstrap-clean):
3496 Check return value of cd.
3497 (compile-calc): Remove.
3498
3499 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3502
3503 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3504 (byte-compile-and-folded): New function.
3505 (=, <, >, <=, >=): Use it.
3506
3507 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3508 (path-separator, null-device, buffer-file-coding-system)
3509 (lpr-headers-switches): Check system-type before modifying them.
3510 (find-buffer-file-type-coding-system): Mark obsolete.
3511 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3512 find-file-not-found-set-buffer-file-coding-system.
3513 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3514 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3515 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3516 (w32-direct-print-region-helper, w32-direct-print-region-function)
3517 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3518 * startup.el (normal-top-level-add-subdirs-to-load-path):
3519 * ps-print.el (ps-print-region-function):
3520 * lpr.el (print-region-function): Use new name.
3521
3522 * subr.el (custom-declare-variable-early): Remove function.
3523 (custom-declare-variable-list): Remove var.
3524 (error, user-error): Remove `while' loop.
3525 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3526 (user-emacs-directory-warning, locate-user-emacs-file):
3527 Move to files.el.
3528 * simple.el (read-quoted-char-radix, read-quoted-char):
3529 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3530 Move from subr.el.
3531 * custom.el (custom-declare-variable-list): Don't process
3532 custom-declare-variable-list.
3533
3534 * progmodes/python.el (python-shell-get-buffer): New function.
3535 (python-shell-get-process): Use it.
3536 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3537 Python which encoding was used. Don't split-string since we only care
3538 about the first line. Return the temp-file, if applicable.
3539 (python-shell-send-region): Tell compile.el how to turn locations in
3540 the temp-file into locations in the source buffer.
3541
3542 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 * subr.el (undefined): Add missing behavior from the C code for
3545 unbound keys.
3546
3547 * rect.el: Use lexical-binding. Add new rectangular region support.
3548 (rectangle-mark): New command.
3549 (rectangle--region): New var.
3550 (deactivate-mark-hook): Reset rectangle--region.
3551 (rectangle--extract-region, rectangle--insert-for-yank)
3552 (rectangle--highlight-for-redisplay)
3553 (rectangle--unhighlight-for-redisplay): New functions.
3554 (region-extract-function, redisplay-unhighlight-region-function)
3555 (redisplay-highlight-region-function): Use them to handle
3556 rectangular region.
3557 * simple.el (region-extract-function): New var.
3558 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3559 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3560 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3561 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3562 (redisplay-unhighlight-region-function)
3563 (redisplay-highlight-region-function): New vars.
3564 (redisplay--update-region-highlight): New function.
3565 (pre-redisplay-function): Use it.
3566 (exchange-point-and-mark): Don't deactivate the mark before
3567 reactivate-it anyway.
3568 * comint.el (comint-kill-region): Remove yank-handler argument.
3569 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3570 (delete-char): Remove property, since it's now part of their
3571 default behavior.
3572 (self-insert-iso): Remove property since this command doesn't exist.
3573
3574 * emacs-lisp/package.el (package--download-one-archive)
3575 (describe-package-1): Don't query the user about final newline.
3576
3577 2013-10-29 Daniel Colascione <dancol@dancol.org>
3578
3579 * net/tramp.el (tramp-methods): Document new functionality.
3580 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3581 tramp-hostname-checker if method provides one instead of scanning
3582 argument list for "%h" to decide hostname acceptability.
3583
3584 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3585
3586 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3587 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3588 Handle COPY-CONTENTS. (Bug#15737)
3589
3590 2013-10-28 Daiki Ueno <ueno@gnu.org>
3591
3592 * epa-file.el
3593 (epa-file-cache-passphrase-for-symmetric-encryption):
3594 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3595
3596 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3597
3598 * image.el (defimage):
3599 (image-load-path): Doc fixes.
3600
3601 2013-10-27 Alan Mackenzie <acm@muc.de>
3602
3603 Indent statements in macros following "##" correctly.
3604 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3605 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3606
3607 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3608
3609 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3610
3611 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3614 after `=' is probably a new expression.
3615
3616 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3617
3618 * man.el (man-imenu-title): New option.
3619 (Man-mode-map): Add menu. (Bug#15722)
3620 (Man-mode): Add imenu to menu.
3621
3622 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3623
3624 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3625 specific in what the first arg can be: a non-keyword word,
3626 string/regexp/percent literal opener, opening paren, or unary
3627 operator followed directly by word.
3628
3629 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3632 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3633 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3634 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3635 Remove vars, they do not apply any more.
3636 (prolog-mode-abbrev-table): Remove redundant declaration.
3637 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3638 (prolog-use-smie): Remove.
3639 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3640 supported by prolog-electric-if-then-else-flag.
3641 (prolog-mode-variables, prolog-menu): Use setq-local.
3642 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3643 Remove binding to `Backspace' since this key doesn't exist anyway.
3644 Remove bindings for electric self-inserting keys.
3645 (prog-mode): Assume it's defined.
3646 (prolog-post-self-insert): New function.
3647 (prolog-mode): Use it.
3648 (prolog-indent-line, prolog-indent-level)
3649 (prolog-find-indent-of-matching-paren)
3650 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3651 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3652 (prolog-goto-next-paren, prolog-in-string-or-comment)
3653 (prolog-tokenize, prolog-inside-mline-comment)
3654 (prolog-find-start-of-mline-comment): Remove functions.
3655 (prolog-find-unmatched-paren, prolog-clause-end)
3656 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3657 (prolog-electric--if-then-else): Rename from
3658 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3659 (prolog-tokenize-searchkey): Remove const.
3660 (prolog-clause-info): Use forward-sexp.
3661 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3662 (prolog-electric-if-then-else): Remove commands.
3663 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3664 for use in post-self-insert-hook.
3665 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3666 for use in post-self-insert-hook.
3667 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3668 for use in post-self-insert-hook.
3669 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3670 adapt it for use in post-self-insert-hook.
3671
3672 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3673
3674 * emacs-lisp/ert.el (ert-run-tests-interactively):
3675 Use `completing-read'. (Bug#9756)
3676
3677 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3678
3679 * simple.el (line-move): Call line-move-1 instead of
3680 line-move-visual when the current window hscroll is zero, but
3681 temporary-goal-column indicates we will need to hscroll as result
3682 of the movement. (Bug#15712)
3683
3684 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3685
3686 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3687 capitalization. Use :visible instead of :active.
3688 Fix `ruby-indent-exp' reference. Add menu items for the generic
3689 commands that are used with SMIE.
3690 (ruby-do-end-to-brace): Insert space after `{'.
3691
3692 2013-10-25 John Anthony <john@jo.hnanthony.com>
3693
3694 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3695
3696 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3697
3698 2013-10-25 Glenn Morris <rgm@gnu.org>
3699
3700 * vc/vc.el (vc-print-log): Don't use a working revision unless
3701 one was explicitly specified. (Bug#15322)
3702
3703 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * subr.el (add-to-list): Preserve return value in compiler-macro
3706 (bug#15692).
3707
3708 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3709
3710 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3711 result. Ask user to retry using '-all' flag. (Bug#15701)
3712
3713 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * emacs-lisp/smie.el: New smie-config system.
3716 (smie-config): New defcustom.
3717 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3718 (smie-config-guess, smie-config-save): New commands.
3719 (smie-config--mode-local, smie-config--buffer-local)
3720 (smie-config--trace, smie-config--modefuns): New vars.
3721 (smie-config--advice, smie-config--mode-hook)
3722 (smie-config--setter, smie-config-local, smie-config--get-trace)
3723 (smie-config--guess-value, smie-config--guess): New functions.
3724 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3725 text properties. Treat "string fence" syntax like string syntax.
3726
3727 * progmodes/sh-script.el (sh-use-smie): Change default.
3728 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3729 (sh-var-value): Simplify by CSE.
3730 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3731 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3732 is used.
3733 (sh-guess-basic-offset): Use cl-incf.
3734 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3735
3736 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3737
3738 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3739 (bug#15699).
3740
3741 2013-10-24 Glenn Morris <rgm@gnu.org>
3742
3743 * Makefile.in (abs_top_srcdir): Remove.
3744 (update-subdirs): Use relative path to update-subdirs.
3745
3746 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3747
3748 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3749 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3750 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3751 Call unmsys--file-name before expand-file-name, not after it.
3752
3753 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3754
3755 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3756 (ert-test-skipped): New error.
3757 (ert-skip, ert-stats-skipped): New defuns.
3758 (ert--skip-unless): New macro.
3759 (ert-test-skipped): New struct.
3760 (ert--run-test-debugger, ert-test-result-type-p)
3761 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3762 (ert--stats-set-test-and-result, ert-char-for-test-result)
3763 (ert-string-for-test-result, ert-run-tests-batch)
3764 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3765 Handle skipped tests. (Bug#9803)
3766
3767 2013-10-24 Glenn Morris <rgm@gnu.org>
3768
3769 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3770
3771 * Makefile.in (abs_top_srcdir): New, set by configure.
3772 (update-subdirs): Correct build-aux location.
3773
3774 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3775
3776 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3777 value, whether we could auto-deduce `backend', or not.
3778
3779 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3780 with parameters" example. Simplify the "is it block or is it
3781 hash" check, but also make it more thorough.
3782
3783 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3784
3785 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3786
3787 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3790 { if it is hanging.
3791
3792 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3793 :before ";".
3794
3795 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3796
3797 * progmodes/compile.el (compilation-directory-matcher)
3798 (compilation-page-delimiter):
3799 Support GNU Make-4.0 directory quoting. (Bug#15678)
3800
3801 2013-10-23 Leo Liu <sdl.web@gmail.com>
3802
3803 * ido.el (ido-tidy): Handle read-only text.
3804
3805 2013-10-23 Glenn Morris <rgm@gnu.org>
3806
3807 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3808 (emacs, compile, compile-always):
3809 Quote entities that might contain whitespace.
3810 (custom-deps, finder-data, autoloads): Use abs_lisp.
3811 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3812 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3813 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3814
3815 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3816
3817 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3818 Use `following-char'.
3819
3820 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3823 * progmodes/ruby-mode.el (ruby-smie-rules):
3824 Remove corresponding workaround. Fix indentation rule of ";" so it
3825 also applies when ";" is the parent.
3826
3827 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3828
3829 * frame.el (display-screens, display-pixel-height)
3830 (display-pixel-width, display-mm-width, display-backing-store)
3831 (display-save-under, display-planes, display-color-cells)
3832 (display-visual-class, display-monitor-attributes-list):
3833 Mention the optional ‘display’ argument in doc strings.
3834
3835 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3836
3837 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3838 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3839
3840 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3841
3842 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3843 TODO. Add "." after " @ ".
3844 (ruby-smie--at-dot-call): New function. Checks if point at method
3845 call with explicit target.
3846 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3847 to the method name tokens when it precedes them.
3848 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3849 (ruby-smie-rules): Add rule for indentation before and after "."
3850 token.
3851
3852 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3853
3854 * textmodes/remember.el (remember-diary-extract-entries):
3855 Avoid add-to-list.
3856
3857 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3858 an instruction.
3859
3860 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3861
3862 * progmodes/ruby-mode.el (ruby-smie-grammar):
3863 Add (almost) all infix operators.
3864 (ruby-smie--implicit-semi-p): Add new operator chars.
3865
3866 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3867 `smie-down-list'.
3868 (ruby-smie--args-separator-p): Check that there's no newline
3869 between method call and its arguments.
3870
3871 2013-10-20 Alan Mackenzie <acm@muc.de>
3872
3873 Allow comma separated lists after Java "implements".
3874
3875 * progmodes/cc-engine.el (c-backward-over-enum-header):
3876 Parse commas.
3877 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3878 from a "disallowed" list in enum fontification.
3879
3880 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3881
3882 * startup.el (default-frame-background-mode): Remove unused defvar.
3883
3884 * progmodes/verilog-mode.el (verilog-mode): Don't set
3885 comment-indent-function globally.
3886
3887 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3888
3889 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3890 Move Info menu item creation to ns-win.el.
3891
3892 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3893 in menu bar.
3894
3895 * menu-bar.el: Move GNUstep specific menus...
3896
3897 * term/ns-win.el (ns-initialize-window-system): ... to here.
3898
3899 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3900
3901 * simple.el (newline): Only run post-self-insert-hook when
3902 called interactively.
3903
3904 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3905
3906 * icomplete.el (icomplete-with-completion-tables): Add :version.
3907
3908 2013-10-19 Alan Mackenzie <acm@muc.de>
3909
3910 Fix fontification bugs with constructors and const.
3911
3912 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3913 CASE 2) Remove the check for the absence of a suffix construct
3914 after a function declaration with only types (no identifiers) in
3915 the parentheses. Also, accept a function declaration with just a
3916 type inside the parentheses, if this type can be positively
3917 recognised as such, or if a prefix keyword like "explicit" nails
3918 down the construct as a declaration.
3919
3920 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3921
3922 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3923 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3924 the problem whereby selecting a menu item that leads to a
3925 minibuffer prompt moves the cursor out of the minibuffer window,
3926 making it hard to type at the prompt. Suggested by Stefan Monnier
3927 <monnier@iro.umontreal.ca>.
3928
3929 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3930
3931 * menu-bar.el: Don't make Services menu.
3932
3933 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3934
3935 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3936 (ffap-alist): Use ffap-c++-mode for c++-mode.
3937 (ffap-c++-path): New variable.
3938 (ffap-c++-mode): New function.
3939
3940 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3941
3942 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3943
3944 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3945
3946 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3947 introduced on 2013-09-08, which results in an infinite loop
3948 requesting a password.
3949
3950 2013-10-18 Glenn Morris <rgm@gnu.org>
3951
3952 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3953
3954 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3955
3956 Sync with upstream verilog-mode revision 1a6ecec7.
3957 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3958 (verilog-mode-release-date): Remove.
3959 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3960 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3961 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3962 (verilog-auto-tieoff-ignore-regexp)
3963 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3964 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3965 (verilog-signals-with, verilog-dir-cache-preserving)
3966 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3967 Doc fixes.
3968 (verilog-case-fold): New option, to control case folding in
3969 regexp searches, bug597.
3970 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3971 (verilog-string-match-fold, verilog-in-paren-count)
3972 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3973 (verilog-at-close-struct-p): New functions.
3974 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3975 (verilog-forward-sexp, verilog-set-auto-endcomments):
3976 (verilog-leap-to-case-head): Handle "unique0" case.
3977 (verilog-in-constraint-re): New constant.
3978 (verilog-keywords, verilog-type-font-keywords):
3979 Add some SystemVerilog 1800-2012 keywords.
3980 (verilog-label-be): Remove unimplemented argument, bug669.
3981 (verilog-batch-execute-func): When batch expanding clear
3982 create-lockfiles to prevent spurious user locks when a file ends
3983 up not changing.
3984 (verilog-calculate-indent, verilog-calc-1)
3985 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3986 (verilog-do-indent): Fix indentation of nested constraints
3987 and structures.
3988 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3989 (verilog-auto-inst-param): Use verilog-string-match-fold.
3990 (verilog-read-inst-module-matcher):
3991 Fix AUTOINST on gate primitives with #1.
3992 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3993 Reads all user-defined typed variables.
3994 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3995 (verilog-signals-matching-regexp)
3996 (verilog-signals-not-matching-regexp, verilog-auto):
3997 Respect verilog-case-fold.
3998 (verilog-diff-report): Fix line count.
3999 (verilog-auto-assign-modport): Remove unused local `modi'.
4000 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4001 better handle multidimensional arrays.
4002 Fix packed array ports misadding bit index in AUTOINST, bug637.
4003 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4004 to not double-declare existing outputs and inputs, respectively.
4005 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4006 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4007 (verilog-sk-uvm-component): New skeleton.
4008 (verilog-submit-bug-report): Add verilog-case-fold,
4009 remove verilog-mode-release-date.
4010
4011 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4012
4013 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4014 as before.
4015
4016 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4017
4018 * textmodes/remember.el (remember): Set buffer-offer-save in
4019 remember buffers (bug#13566).
4020
4021 2013-10-18 Daniel Colascione <dancol@dancol.org>
4022
4023 When evaluating forms in ielm, direct standard output to ielm
4024 buffer. Add new ielm-return-for-effect command. Remove trailing
4025 whitespace throughout.
4026
4027 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4028 (ielm-return-for-effect): New command.
4029 (ielm-send-input): Accept optional `for-effect' parameter.
4030 (ielm-eval-input): Accept optional `for-effect' parameter.
4031 Bind `standard-output' to stream we create using
4032 `ielm-standard-output-impl'. Suppress printing result when
4033 `for-effect'.
4034 (ielm-standard-output-impl): New function.
4035 (inferior-emacs-lisp-mode): Explain new features in documentation.
4036
4037 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4038
4039 Code cleanup.
4040
4041 * net/tramp.el (tramp-debug-message): Do not check for connection
4042 buffer.
4043 (tramp-message): Use "vector" connection property.
4044
4045 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4046 (tramp-equal-remote, tramp-eshell-directory-change)
4047 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4048 (tramp-adb-handle-rename-file)
4049 * net/tramp-cmds.el (tramp-list-remote-buffers)
4050 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4051 * net/tramp-compat.el (tramp-compat-process-running-p)
4052 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4053 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4054 (tramp-gvfs-handle-rename-file)
4055 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4056 (tramp-set-file-uid-gid)
4057 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4058 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4059 of `file-remote-p'.
4060
4061 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4062 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4063 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4064 (tramp-gw-open-network-stream): Suppress unrelated traces.
4065
4066 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4067 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4068 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4069 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4070 connection property.
4071
4072 * net/tramp-cache.el (top): Suppress traces when reading
4073 persistency file.
4074
4075 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4076 Refactor common code. Improve debug message.
4077 (tramp-maybe-open-connection)
4078 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4079 connection buffer too early.
4080
4081 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4082 from `tramp-smb-actions-with-acl'.
4083 (tramp-smb-actions-set-acl): New defconst.
4084 (tramp-smb-handle-copy-directory)
4085 (tramp-smb-action-get-acl): New defun, renamed from
4086 `tramp-smb-action-with-acl'.
4087 (tramp-smb-action-set-acl): New defun.
4088 (tramp-smb-handle-set-file-acl): Rewrite.
4089
4090 2013-10-17 Glenn Morris <rgm@gnu.org>
4091
4092 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4093
4094 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * skeleton.el (skeleton-newline): Remove.
4097 (skeleton-internal-1): Use (insert "\n") instead.
4098
4099 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4100 let-bindings.
4101
4102 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4103 forward-sexp-function while we redo its job (bug#15613).
4104
4105 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4106
4107 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4108 represented by lists.
4109
4110 2013-10-16 Glenn Morris <rgm@gnu.org>
4111
4112 * tmm.el (tmm--history): New dynamic variable.
4113 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4114
4115 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4116
4117 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4118 (tramp-smb-errors): Add error messages.
4119 (tramp-smb-actions-with-acl): New defconst.
4120 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4121 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4122 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4123 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4124 (tramp-smb-get-stat-capability): Fix tests.
4125
4126 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4127
4128 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4129 (bug#15580).
4130
4131 2013-10-16 Glenn Morris <rgm@gnu.org>
4132
4133 * ansi-color.el (ansi-color-drop-regexp):
4134 Add 1J, 1K, 2K. (Bug#15617)
4135
4136 * files.el (hack-local-variables--warned-lexical): New.
4137 (hack-local-variables):
4138 Warn about misplaced lexical-binding. (Bug#15616)
4139
4140 * net/eww.el (eww-render): Always set eww-current-url,
4141 and update header line. (Bug#15622)
4142 (eww-display-html): ... Rather than just doing it here.
4143
4144 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4145
4146 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4147 menu navigations commands.
4148
4149 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4150
4151 * progmodes/subword.el (subword-capitalize): Be careful when
4152 the search for [[:alpha:]] fails (bug#15580).
4153
4154 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4155
4156 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4157 to commands that scroll the menu.
4158
4159 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4160
4161 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4162 Handle methods ending with `?' and `!'.
4163
4164 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4165
4166 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4167 `japanese-cp932' to `cp932' to fix the problem where saving a
4168 source file written in Shift_JIS twice would end up having
4169 `coding: japanese-cp932' which Ruby could not recognize.
4170 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4171 in `ruby-encoding-map'.
4172 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4173 doesn't need to be explicitly declared in magic comment.
4174 (ruby-encoding-map): Add type declaration for better customize UI.
4175
4176 2013-10-13 Glenn Morris <rgm@gnu.org>
4177
4178 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4179 Occur buffers are read-only. http://bugs.debian.org/720775
4180
4181 * emacs-lisp/authors.el (authors-fixed-entries):
4182 Comment out old alpha stuff.
4183
4184 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4185
4186 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4187 to `after-save-hook' instead of `before-save-hook'.
4188 (ruby-mode-set-encoding): Use the value of coding system used to
4189 write the file. Call `basic-save-buffer-1' after modifying the
4190 buffer.
4191
4192 2013-10-13 Alan Mackenzie <acm@muc.de>
4193
4194 Fix indentation/fontification of Java enum with
4195 "implements"/generic.
4196
4197 * progmodes/cc-engine.el (c-backward-over-enum-header):
4198 Extracted from the three other places and enhanced to handle generics.
4199 (c-inside-bracelist-p): Uses new function above.
4200 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4201 function above.
4202 (c-font-lock-enum-tail): Uses new function above.
4203
4204 2013-10-13 Kenichi Handa <handa@gnu.org>
4205
4206 * international/mule-cmds.el (select-safe-coding-system): Remove a
4207 superfluous condition in chekcing whether a coding system is safe
4208 or not.
4209
4210 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4211
4212 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4213
4214 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4215
4216 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4217
4218 2013-10-13 Glenn Morris <rgm@gnu.org>
4219
4220 * menu-bar.el (menu-bar-update-buffers):
4221 Unify Buffers menu prompt string. (Bug#15576)
4222
4223 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4224
4225 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4226 Add some entries.
4227 (authors-fixed-entries): Use accented form of name.
4228
4229 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4232 method calls (bug#15594).
4233 (ruby-smie--args-separator-p): New function.
4234 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4235 recognize paren-free method calls.
4236
4237 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4238 internals of universal-argument.
4239
4240 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4241
4242 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4243 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4244 dropped menu on second mouse click on the menu bar.
4245
4246 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4249 (explicit-shell-file-name): Declare.
4250 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4251 (sh-completion-at-point-function): New function.
4252 (sh-mode): Use it.
4253 (sh-smie--keyword-p): Remove unused argument.
4254 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4255 vars.
4256 (sh-set-shell): Always setup SMIE, even if we use the
4257 old indentation code.
4258
4259 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4260
4261 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4262 cases of ? and =.
4263 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4264 predicate would return nil are almost non-existent.
4265 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4266
4267 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4268 cache also after commands that modify the buffer but don't move
4269 point.
4270
4271 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * env.el (substitute-env-in-file-name): New function.
4274 (substitute-env-vars): Extend the meaning of the optional arg.
4275
4276 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4277
4278 * term/w32-win.el (dynamic-library-alist): Define separate lists
4279 of GIF DLLs for versions before and after 5.0.0 of giflib.
4280 (Bug#15531)
4281
4282 2013-10-10 João Távora <joaotavora@gmail.com>
4283
4284 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4285 not locked, use last revision and current source as
4286 defaults. (Bug#15569)
4287
4288 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4289
4290 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4291 menu-bar is hidden.
4292
4293 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4294
4295 * window.el (pop-to-buffer-same-window): Fix doc-string.
4296 (Bug#15492)
4297
4298 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4301
4302 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4303
4304 * calendar/icalendar.el (icalendar-import-file):
4305 Fix interactive spec. (Bug#15482)
4306
4307 2013-10-10 Glenn Morris <rgm@gnu.org>
4308
4309 * desktop.el (desktop-save): Default to saving in .emacs.d,
4310 since PWD is no longer in desktop-path by default. (Bug#15319)
4311
4312 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4313 now that text mode has a menu with the same entry.
4314 (menu-bar-text-mode-auto-fill): Remove now unused func.
4315 * textmodes/text-mode.el (text-mode-map):
4316 Use auto-fill help text from menu-bar.el.
4317
4318 2013-10-10 John Anthony <john@jo.hnanthony.com>
4319
4320 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4321
4322 2013-10-09 Juri Linkov <juri@jurta.org>
4323
4324 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4325 instead of this-command-keys. Add universal-argument-more and
4326 universal-argument-minus to the list of prefix commands. (Bug#15568)
4327
4328 2013-10-09 Glenn Morris <rgm@gnu.org>
4329
4330 * vc/vc-svn.el (vc-svn-create-repo):
4331 Expand paths in file://... url. (Bug#15446)
4332
4333 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4334 Add some entries.
4335 (authors): Remove unused local variables.
4336
4337 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * profiler.el: Create a more coherent calltree from partial backtraces.
4340 (profiler-format): Hide the tail with `invisible' so that C-s can still
4341 find the hidden elements.
4342 (profiler-calltree-depth): Don't recurse so enthusiastically.
4343 (profiler-function-equal): New hash-table-test.
4344 (profiler-calltree-build-unified): New function.
4345 (profiler-calltree-build): Use it.
4346 (profiler-report-make-name-part): Indent the calltree less.
4347 (profiler-report-mode): Add visibility specs for profiler-format.
4348 (profiler-report-expand-entry, profiler-report-toggle-entry):
4349 Expand the whole subtree when provided with a prefix arg.
4350
4351 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4352
4353 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4354 iuwu-mod token.
4355 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4356 hanging iuwu-mod token.
4357 (ruby-smie--forward-token): Do not include a dot after a token in
4358 that token.
4359 (ruby-smie--backward-token): Likewise.
4360
4361 2013-10-08 Juri Linkov <juri@jurta.org>
4362
4363 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4364 to isearch-other-control-char.
4365 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4366 and isearch-post-command-hook to post-command-hook.
4367 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4368 and isearch-post-command-hook from post-command-hook.
4369 (isearch-unread-key-sequence)
4370 (isearch-reread-key-sequence-naturally)
4371 (isearch-lookup-scroll-key, isearch-other-control-char)
4372 (isearch-other-meta-char): Remove functions.
4373 (isearch-pre-command-hook, isearch-post-command-hook):
4374 New functions based on isearch-other-meta-char rewritten
4375 relying on the new behavior of overriding-terminal-local-map
4376 that does not replace the local keymaps any more. (Bug#15200)
4377
4378 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4379
4380 Support menus on text-mode terminals.
4381 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4382 functionality.
4383
4384 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4385
4386 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4387 Move here from mouse.el.
4388 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4389 and arrow keys.
4390 (tty-menu-navigation-map): New map for TTY menu navigation.
4391
4392 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4393
4394 * frame.el (display-mouse-p): Report text-mode mouse as available
4395 on w32.
4396 (display-popup-menus-p): Report availability if mouse is
4397 available; don't condition on window-system.
4398
4399 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4400 (tty-menu-selected-face): New faces.
4401
4402 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4405 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4406 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4407 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4408 New constants.
4409 (lisp-mode-variables): New `elisp' argument.
4410 (emacs-lisp-mode): Use it.
4411 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4412 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4413
4414 * indent.el: Use lexical-binding.
4415 (indent-region): Add progress reporter.
4416 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4417 last step.
4418 (indent--next-tab-stop): New function to implement this behavior.
4419 (tab-to-tab-stop, move-to-tab-stop): Use it.
4420
4421 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4422
4423 * indent.el (indent-rigidly--current-indentation): New function.
4424 (indent-rigidly-map): New var.
4425 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4426
4427 2013-10-08 Bastien Guerry <bzg@gnu.org>
4428
4429 * register.el (insert-register): Fix 2013-10-07 change.
4430
4431 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * progmodes/perl-mode.el: Use lexical-binding.
4434 Remove redundant :group args.
4435 (perl-nochange): Change default to be closer to other major modes's
4436 standard behavior.
4437 (perl-indent-line): Don't consider text on current line as a
4438 valid beginning of function from which to indent.
4439
4440 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4441 with more than one argument (bug#15538).
4442
4443 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4444
4445 * vc/pcvs.el: Use lexical-binding.
4446 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4447 environment of `eval'.
4448 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4449 than a list of expressions. Adjust callers.
4450 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4451
4452 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4453
4454 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4455 case of the dot in a chained method call being on the following line.
4456
4457 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * electric.el (electric-indent-inhibit): New var.
4460 (electric-indent-post-self-insert-function): Use it.
4461 * progmodes/python.el (python-mode): Set it.
4462
4463 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4464 open braces.
4465
4466 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4467
4468 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4469 (css-mode): Use electric-indent-chars.
4470
4471 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4472 (font-lock-beg, font-lock-end): Move before first use.
4473 (nxml-mode): Use syntax-propertize-function.
4474 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4475 (nxml-extend-after-change-region): Remove.
4476 * nxml/xmltok.el: Use lexical-binding.
4477 (xmltok-save): Use `declare'.
4478 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4479 * nxml/nxml-util.el: Use lexical-binding.
4480 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4481 Use `declare'.
4482 * nxml/nxml-ns.el: Use lexical-binding.
4483 (nxml-ns-save): Use `declare'.
4484 (nxml-ns-prefixes-for): Avoid add-to-list.
4485 * nxml/rng-match.el: Use lexical-binding.
4486 (rng--ipattern): Use cl-defstruct.
4487 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4488 (rng-cons-group-after, rng-subst-group-after)
4489 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4490 Use closures instead of `(lambda...).
4491
4492 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4493
4494 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4495 of BEG and END.
4496
4497 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4498 Use `tramp-handle-insert-file-contents'.
4499 (tramp-gvfs-handle-insert-file-contents): Remove function.
4500
4501 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4502 Use `save-restriction' in order to keep markers.
4503
4504 * net/trampver.el: Update release number.
4505
4506 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4507
4508 * progmodes/compile.el (compilation-parse-errors):
4509 Use compilation--put-prop.
4510 (compilation--ensure-parse): Check compilation-multiline.
4511
4512 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4513
4514 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4515 lexical-binding.
4516
4517 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4518
4519 * progmodes/ruby-mode.el: Fix recently added tests.
4520 (ruby-smie-grammar): Add - and +.
4521 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4522 (ruby-smie--backward-id): New functions.
4523 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4524 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4525 any more.
4526
4527 2013-10-07 Leo Liu <sdl.web@gmail.com>
4528
4529 * register.el (register-preview-delay)
4530 (register-preview-functions): New variables.
4531 (register-read-with-preview, register-preview)
4532 (register-describe-oneline): New functions.
4533 (point-to-register, window-configuration-to-register)
4534 (frame-configuration-to-register, jump-to-register)
4535 (number-to-register, view-register, insert-register)
4536 (copy-to-register, append-to-register, prepend-to-register)
4537 (copy-rectangle-to-register): Use register-read-with-preview to
4538 read register. (Bug#15525)
4539
4540 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4541
4542 * net/network-stream.el (network-stream-open-starttls): Don't add
4543 --insecure if it's already present, because that gnutls-cli
4544 rejects getting that parameter twice.
4545
4546 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4547
4548 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4549 keyword, too.
4550
4551 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4552
4553 * newcomment.el (comment-use-global-state): Change default value
4554 to t, mark obsolete (Bug#15251).
4555 (comment-beginning): In addition to `comment-to-syntax', check the
4556 value of `comment-use-global-state'.
4557
4558 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4561 (ruby-comment-column): Follow the global default, by default.
4562 (ruby-smie-grammar): Add assignment syntax.
4563 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4564 open-paren, a comma, or a \.
4565 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4566 and line continuations.
4567 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4568 followed by implicit semi-colons. Add rule for string concatenation
4569 and for indentation at BOB.
4570 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4571
4572 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4573 calling next-sexp, since next-token may have skipped chars which
4574 next-sexp doesn't know should be skipped!
4575
4576 2013-10-05 Leo Liu <sdl.web@gmail.com>
4577
4578 * progmodes/octave.el (octave-send-region):
4579 Call compilation-forget-errors.
4580
4581 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4582
4583 * vc/vc-svn.el (vc-svn-find-admin-dir):
4584 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4585 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4586 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4587 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4588
4589 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4592
4593 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * subr.el (read-passwd): Hide chars even when called within a context
4596 where after-change-functions is disabled (bug#15501).
4597 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4598 until we removed ourself from overriding-terminal-local-map.
4599
4600 2013-10-04 Leo Liu <sdl.web@gmail.com>
4601
4602 * progmodes/octave.el (inferior-octave-mode):
4603 Call compilation-forget-errors.
4604
4605 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4606
4607 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4608
4609 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4610
4611 * net/secrets.el (secrets-create-collection): Add optional
4612 argument ALIAS. Use proper Label keyword. Append ALIAS as
4613 dbus-call-method argument. (Bug#15516)
4614
4615 2013-10-04 Leo Liu <sdl.web@gmail.com>
4616
4617 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4618 (inferior-octave-compilation-font-lock-keywords): New variables.
4619 (compilation-error-regexp-alist)
4620 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4621 (inferior-octave-mode): Use compilation-shell-minor-mode.
4622
4623 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4624
4625 * minibuffer.el (completion--replace): Be careful that `end' might be
4626 a marker.
4627
4628 2013-10-03 Daiki Ueno <ueno@gnu.org>
4629
4630 Add support for package signature checking.
4631 * emacs-lisp/package.el (url-http-file-exists-p)
4632 (epg-make-context, epg-context-set-home-directory)
4633 (epg-verify-string, epg-context-result-for)
4634 (epg-signature-status, epg-signature-to-string)
4635 (epg-check-configuration, epg-configuration)
4636 (epg-import-keys-from-file): Declare.
4637 (package-check-signature): New user option.
4638 (package-unsigned-archives): New user option.
4639 (package-desc): Add `signed' field.
4640 (package-load-descriptor): Set `signed' field if .signed file exists.
4641 (package--archive-file-exists-p): New function.
4642 (package--check-signature): New function.
4643 (package-install-from-archive): Check package signature.
4644 (package--download-one-archive): Check archive signature.
4645 (package-delete): Remove .signed file.
4646 (package-import-keyring): New command.
4647 (package-refresh-contents): Import default keyring.
4648 (package-desc-status): Add "unsigned" status.
4649 (describe-package-1, package-menu--print-info)
4650 (package-menu-mark-delete, package-menu--find-upgrades)
4651 (package-menu--status-predicate): Support "unsigned" status.
4652
4653 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4656 the new compilation scheme using the new byte-codes.
4657
4658 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4659 (byte-pophandler): New byte codes.
4660 (byte-goto-ops): Adjust accordingly.
4661 (byte-compile--use-old-handlers): New var.
4662 (byte-compile-catch): Use new byte codes depending on
4663 byte-compile--use-old-handlers.
4664 (byte-compile-condition-case--old): Rename from
4665 byte-compile-condition-case.
4666 (byte-compile-condition-case--new): New function.
4667 (byte-compile-condition-case): New function that dispatches depending
4668 on byte-compile--use-old-handlers.
4669 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4670 when we can.
4671
4672 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4673 Optimize under `condition-case' and `catch' if
4674 byte-compile--use-old-handlers is nil.
4675 (disassemble-offset): Handle new bytecodes.
4676
4677 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4678
4679 * subr.el (error): Use `declare'.
4680 (decode-char, encode-char): Use advertised-calling-convention instead
4681 of the docstring to discourage use of the `restriction' arg.
4682
4683 2013-10-03 Daiki Ueno <ueno@gnu.org>
4684
4685 * epg.el (epg-verify-file): Add a comment saying that it does not
4686 notify verification error as a return value nor a signal.
4687 (epg-verify-string): Ditto.
4688
4689 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4690
4691 * progmodes/compile.el (compilation-start): Try globbing the arg to
4692 `cd' (bug#15417).
4693
4694 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4695
4696 Sync with Tramp 2.2.8.
4697
4698 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4699 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4700 * net/trampver.el: Update release number.
4701
4702 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4703
4704 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4705 and default-process-coding-system for darwin only.
4706
4707 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4708
4709 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4710
4711 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4712
4713 * vc/vc-git.el (vc-git-grep): Disable pager.
4714
4715 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4716
4717 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4718 Use :url instead of :homepage, as per
4719 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4720
4721 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4722 non-nil, use `syntax-ppss' (Bug#15251).
4723
4724 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4725
4726 * progmodes/octave.el (inferior-octave-startup-file):
4727 Prefer ~/.emacs.d/init_octave.m.
4728
4729 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4730
4731 * emacs-lisp/package.el (package-desc-from-define):
4732 Accept additional arguments as plist, convert them to an alist and store
4733 them in the `extras' slot.
4734 (package-generate-description-file): Convert extras alist back to
4735 plist and append to the `define-package' form arguments.
4736 (package--alist-to-plist): New function.
4737 (package--ac-desc): Add `extras' slot.
4738 (package--add-to-archive-contents): Check if the archive-contents
4739 vector is long enough, and if it is, pass its `extras' slot value
4740 to `package-desc-create'.
4741 (package-buffer-info): Call `lm-homepage', pass the returned value
4742 to `package-desc-from-define'.
4743 (describe-package-1): Render the homepage button (Bug#13291).
4744
4745 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4746 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4747
4748 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4749
4750 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4751 and default-process-coding-system to utf-8-unix (Bug#15402).
4752
4753 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4754
4755 * subr.el (looking-back): Do not recommend using looking-back.
4756
4757 2013-09-28 Alan Mackenzie <acm@muc.de>
4758
4759 Fix indentation/fontification of Java enum with "implements".
4760
4761 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4762 regexp which matches "implements", etc., in Java.
4763 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4764 specifier clauses coming after "enum".
4765 * progmodes/cc-fonts.el (c-font-lock-declarations)
4766 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4767 after "enum".
4768
4769 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4770
4771 * faces.el (region): Change ns_selection_color to
4772 ns_selection_fg_color, add ns_selection_bg_color.
4773
4774 2013-09-28 Leo Liu <sdl.web@gmail.com>
4775
4776 * progmodes/octave.el (inferior-octave-completion-table)
4777 (inferior-octave-completion-at-point): Minor tweaks.
4778
4779 * textmodes/ispell.el (ispell-lookup-words): Rename from
4780 lookup-words. (Bug#15460)
4781 (lookup-words): Obsolete.
4782 (ispell-complete-word, ispell-command-loop): All uses changed.
4783
4784 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4785
4786 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4787 (octave-mode-menu): Add octave-send-buffer.
4788 (octave-send-buffer): New function.
4789
4790 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4791
4792 * progmodes/octave.el (octave-mode-map): Add key binding for
4793 octave-lookfor.
4794 (octave-mode-menu): Add octave-lookfor.
4795 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4796 octave-lookfor.
4797 (octave-lookfor): New function.
4798
4799 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * emacs-lisp/cl-macs.el:
4802 (cl--loop-destr-temps): Remove.
4803 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4804 its convention.
4805 (cl--loop-set-iterator-function): New function.
4806 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4807 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4808 Bind `it' with `let' instead of substituting it with `cl-subst'.
4809 (cl--unused-var-p): New function.
4810 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4811 Eliminate some unused variable warnings (bug#15326).
4812
4813 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4814
4815 * doc-view.el (doc-view-scale-reset): Rename from
4816 `doc-view-reset-zoom-level'.
4817 (doc-view-scale-adjust): New command.
4818 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4819 `doc-view-scale-adjust'.
4820
4821 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4822
4823 * doc-view.el (doc-view-reset-zoom-level): New command.
4824 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4825 zoom commands (bug#15466).
4826
4827 2013-09-26 Kenichi Handa <handa@gnu.org>
4828
4829 * international/quail.el (quail-help): Make it not a command.
4830
4831 2013-09-26 Leo Liu <sdl.web@gmail.com>
4832
4833 * minibuffer.el (completion-all-sorted-completions): Make args
4834 optional as they are.
4835
4836 2013-09-25 Daniel Colascione <dancol@dancol.org>
4837
4838 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4839 specs are and that they're not evaluated.
4840
4841 2013-09-24 Sam Steingold <sds@gnu.org>
4842
4843 * midnight.el (clean-buffer-list-kill-regexps)
4844 (clean-buffer-list-kill-buffer-names): Update for the new Man
4845 buffer naming which includes the object name.
4846
4847 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4850 (eshell-parse-command, eshell-parse-pipeline): Use it since
4851 eshell-separate-commands requires a dynamic scoped var.
4852 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4853
4854 2013-09-23 Leo Liu <sdl.web@gmail.com>
4855
4856 * autoinsert.el (auto-insert-alist): Make the value of
4857 lexical-binding match its file setting.
4858
4859 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4862
4863 * autoarg.el (autoarg-kp-digit-argument):
4864 * electric.el (Electric-command-loop):
4865 * kmacro.el (kmacro-step-edit-insert):
4866 Do not set universal-argument-num-events.
4867
4868 2013-09-22 Leo Liu <sdl.web@gmail.com>
4869
4870 * files.el (interpreter-mode-alist): Add octave.
4871
4872 2013-09-21 Alan Mackenzie <acm@muc.de>
4873
4874 C++: fontify identifier in declaration following "public:" correctly.
4875 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4876 to match "public", etc.
4877 (c-decl-prefix-re): Add ":" into the C++ value.
4878 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4879 bit. Add a check for a ":" preceded by "public", etc.
4880
4881 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4882
4883 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4884 recognized by GDB 7.5 and later.
4885
4886 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4887
4888 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4889
4890 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4891
4892 * subr.el (internal--call-interactively): New const.
4893 (called-interactively-p): Use it (bug#3984).
4894
4895 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4896
4897 * vc/pcvs.el (cvs-mode-ignore):
4898 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4899 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4900
4901 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4902
4903 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4904 (eshell-ls-orig-insert-directory): Remove.
4905 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4906 (eshell-ls-use-in-dired): Use advice-add/remove.
4907 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4908 Add `orig-fun' arg for use in :around advice.
4909 Make it check (redundantly) eshell-ls-use-in-dired.
4910
4911 2013-09-19 Glenn Morris <rgm@gnu.org>
4912
4913 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4914
4915 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4916
4917 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4918
4919 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4920
4921 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4922 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4923 (tramp-get-remote-python): New defuns.
4924 (tramp-get-remote-uid-with-perl)
4925 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4926 contributed by yary <not.com@gmail.com> (tiny change).
4927 (tramp-get-remote-uid-with-python)
4928 (tramp-get-remote-gid-with-python): New defuns. Python code
4929 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4930 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4931
4932 2013-09-19 Glenn Morris <rgm@gnu.org>
4933
4934 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4935
4936 * eshell/em-unix.el (eshell-remove-entries):
4937 Rename argument to avoid name-clash with global `top-level'.
4938
4939 * eshell/esh-proc.el (eshell-kill-process-function):
4940 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4941 (eshell-reset-after-proc): Remove unused arg `proc'.
4942
4943 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4944 (directory-files-and-attributes): Mark unused arg.
4945
4946 * eshell/em-unix.el (eshell-remove-entries):
4947 Remove unused arg `path'. Update callers.
4948
4949 * eshell/em-hist.el (eshell-hist-parse-arguments):
4950 Remove unused arg `silent'. Update callers.
4951
4952 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4953 Fix (f)boundp mix-up.
4954
4955 * eshell/em-smart.el (eshell-smart-scroll-window)
4956 (eshell-disable-after-change):
4957 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4958
4959 2013-09-18 Alan Mackenzie <acm@muc.de>
4960
4961 Fix fontification of type when followed by "const".
4962 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4963 "known" types from fontification.
4964
4965 2013-09-18 Glenn Morris <rgm@gnu.org>
4966
4967 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4968 (chart-face-list): Drop Emacsen without display-color-p.
4969
4970 * net/eww.el (libxml-parse-html-region): Declare.
4971 (eww-display-html): Explicit error if no libxml2 support.
4972
4973 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4974
4975 * image.el (image-type-from-buffer, image-multi-frame-p):
4976 Remove --without-x warning/error.
4977
4978 * mouse.el (mouse-yank-primary):
4979 * term.el (term-mouse-paste):
4980 Reorder to silence --without-x compilation.
4981
4982 * mpc.el (doc-view-mode): Silence --without-x compilation.
4983
4984 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4985 Silence --without-x compilation.
4986
4987 * progmodes/gud.el (gud-find-file, gud-mode):
4988 Silence --without-x compilation.
4989 (tooltip-mode): Declare.
4990
4991 * wdired.el (dired-backup-overwrite): Remove declaration.
4992 (wdired-mode-map): Add doc string.
4993
4994 * custom.el (x-get-resource): Declare.
4995
4996 * eshell/em-glob.el (ange-cache):
4997 * eshell/em-unix.el (ange-cache): Declare.
4998
4999 * faces.el (x-display-list, x-open-connection, x-get-resource):
5000 Declare.
5001
5002 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5003 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5004 Declare.
5005
5006 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5007
5008 * net/gnutls.el (gnutls-log-level): Declare.
5009
5010 * net/shr.el (image-size, image-animate): Declare.
5011
5012 * simple.el (font-info): Declare.
5013
5014 * subr.el (x-popup-dialog): Declare.
5015
5016 * term/common-win.el (x-select-enable-primary)
5017 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5018 Declare.
5019
5020 * term/ns-win.el (x-handle-args): Declare.
5021
5022 * term/x-win.el (x-select-enable-clipboard): Declare.
5023
5024 * term/w32-win.el (create-default-fontset): Declare.
5025
5026 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5027 Declare.
5028
5029 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5030 (fit-frame-to-buffer): Explicit error if --without-x.
5031 (mouse-autoselect-window-select): Silence compiler.
5032
5033 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5034
5035 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5036 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5037 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5038 * eshell/esh-util.el (eshell-sublist):
5039 Remove unused local variables.
5040
5041 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5042
5043 * textmodes/two-column.el: Make 2C-split work for --without-x.
5044 (scroll-bar-columns): Autoload.
5045 (top-level): Require fringe when compiling.
5046
5047 2013-09-18 Leo Liu <sdl.web@gmail.com>
5048
5049 * subr.el (add-hook): Robustify to handle closure as well.
5050
5051 2013-09-17 Glenn Morris <rgm@gnu.org>
5052
5053 * simple.el (messages-buffer-mode-map): Unbind "g".
5054
5055 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5056
5057 * help-mode.el (help-mode-finish): Use derived-mode-p.
5058 Remove obsolete highlighting.
5059
5060 * play/life.el (life-mode): Use define-derived-mode. Derive from
5061 special-mode.
5062 (life): Let-bind inhibit-read-only.
5063 (life-setup): Avoid `setq'. Use `life-mode'.
5064
5065 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5066 which should not be needed any more.
5067 (package-menu-refresh, package-menu-describe-package): Use user-error.
5068
5069 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5070 (eshell-post-rewrite-command-hook): Make obsolete.
5071 (eshell-parse-command): Simplify.
5072 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5073 (eshell--cmd): Declare.
5074 (eshell-parse-pipeline): Remove unused var `final-p'.
5075 Pass a dynvar to eshell-post-rewrite-command-hook.
5076 Implement the new eshell-post-rewrite-command-function.
5077 (eshell-invoke-directly): Remove unused arg `input'.
5078 * eshell/esh-io.el (eshell-io-initialize):
5079 Use eshell-post-rewrite-command-function (bug#15399).
5080 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5081 adjust to new calling convention.
5082 (eshell-create-handles): Rename args to avoid clashing with dynvar
5083 `standard-output'.
5084
5085 2013-09-17 Glenn Morris <rgm@gnu.org>
5086
5087 * simple.el (messages-buffer-mode): New major mode.
5088 (messages-buffer): New function.
5089 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5090 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5091 (ert-run-test): Use `messages-buffer' function.
5092 (ert--force-message-log-buffer-truncation): Ignore read-only.
5093 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5094 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5095
5096 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5097
5098 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5099
5100 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5101
5102 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * icomplete.el (icomplete-in-buffer): New var.
5105 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5106 vars and replace them with functions.
5107 (icomplete-minibuffer-setup): Adjust accordingly.
5108 (icomplete--completion-table, icomplete--completion-predicate)
5109 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5110 New functions.
5111 (icomplete-forward-completions, icomplete-backward-completions)
5112 (icomplete-simple-completing-p, icomplete-exhibit)
5113 (icomplete-completions): Use them.
5114 (icomplete--in-region-buffer): New var.
5115 (icomplete--in-region-setup): New function.
5116 (icomplete-mode): Use it.
5117
5118 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5119 (bug#15379).
5120 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5121 return args and options.
5122 (eshell-eval-using-options): Use the new return value of
5123 eshell--do-opts to set the options's vars in their scope.
5124 (eshell--set-option): Rename from eshell-set-option.
5125 Add arg `opt-vals'.
5126 (eshell--process-option): Rename from eshell-process-option.
5127 Add arg `opt-vals'.
5128 (eshell--process-args): Use an `opt-vals' alist to store the options's
5129 values during their processing and return them additionally to the
5130 remaining args.
5131
5132 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5133
5134 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5135 continuation character an operator, as far as indentation is
5136 concerned (Bug#15369).
5137
5138 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5139
5140 * window.el (window--state-put-2): Don't process buffer state
5141 when buffer doesn't exist any more (Bug#15382).
5142
5143 2013-09-15 Glenn Morris <rgm@gnu.org>
5144
5145 * eshell/em-unix.el (eshell/rm):
5146 Make -f ignore missing files. (Bug#15373)
5147
5148 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5149 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5150 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5151
5152 2013-09-14 Glenn Morris <rgm@gnu.org>
5153
5154 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5155
5156 2013-09-13 Glenn Morris <rgm@gnu.org>
5157
5158 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5159 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5160
5161 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5162
5163 * frame.el (x-focus-frame): Mark as declared in frame.c.
5164
5165 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * ls-lisp.el: Use advice-add.
5168 (original-insert-directory): Remove.
5169 (ls-lisp--insert-directory): Rename from insert-directory; add
5170 `orig-fun' argument.
5171 (insert-directory): Advise.
5172
5173 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5174
5175 * term.el (term-emulate-terminal): Decode the command string
5176 before passing it to term-command-hook. (Bug#15337)
5177
5178 2013-09-13 Glenn Morris <rgm@gnu.org>
5179
5180 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5181
5182 * eshell/esh-ext.el (eshell-search-path): Declare.
5183
5184 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5185 Otherwise an error occurs if eshell-dirs module not loaded.
5186
5187 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5188
5189 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5190
5191 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5192 `tramp-check-proper-host'. Check for a valid method name.
5193
5194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5195 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5196 * net/tramp-sh.el (tramp-maybe-open-connection):
5197 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5198
5199 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5200 also for hash values.
5201
5202 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5203
5204 * term/ns-win.el (parameters): Don't declare as dynamic.
5205 (before-make-frame-hook): Don't add ineffective function.
5206
5207 * eshell/*.el: Use lexical-binding (bug#15231).
5208
5209 2013-09-12 Kenichi Handa <handa@gnu.org>
5210
5211 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5212
5213 2013-09-12 Glenn Morris <rgm@gnu.org>
5214
5215 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5216 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5217
5218 * subr.el (do-after-load-evaluation): Also give compiler warnings
5219 when obsolete files are used (except by obsolete files).
5220
5221 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5222 in the status output, assume `filename' is the first. (Bug#15322)
5223
5224 * vc/vc.el (vc-deduce-fileset): Doc fix.
5225
5226 * calc/calc-help.el (Info-goto-node):
5227 * progmodes/cperl-mode.el (Info-find-node):
5228 * vc/ediff.el (Info-goto-node): Update declarations.
5229
5230 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5231
5232 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5233 (vc-bzr-pull): Require vc-dispatcher.
5234 * vc/vc-git.el (vc-compilation-mode): Declare.
5235 (vc-git-pull): Require vc-dispatcher.
5236
5237 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5238
5239 * progmodes/octave.el (help-button-action): Declare.
5240
5241 * shell.el (shell-directory-tracker): Output error as a message
5242 rather than just returning it as a string.
5243 (shell-process-pushd): Remove useless use of message.
5244
5245 * dframe.el (dframe-timer-fn):
5246 * files.el (dir-locals-read-from-file):
5247 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5248 (mpc-format):
5249 * reveal.el (reveal-post-command):
5250 * saveplace.el (load-save-place-alist-from-file):
5251 * shell.el (shell-resync-dirs):
5252 * w32-common-fns.el (x-get-selection-value):
5253 * emacs-lisp/copyright.el (copyright-find-copyright):
5254 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5255 * emulation/tpu-edt.el (tpu-copy-keyfile):
5256 * play/bubbles.el (bubbles--mark-neighbourhood):
5257 * progmodes/executable.el
5258 (executable-make-buffer-file-executable-if-script-p):
5259 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5260
5261 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5262
5263 Cleanup Eshell to rely less on dynamic scoping.
5264 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5265 last-value, and ext-command here. Bind `args' closer to `body'.
5266 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5267 (eshell--args): Declare new dynamic var.
5268 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5269 last-value, and ext-command. Pass `args' to `body'.
5270 (eshell-process-args): Bind eshell--args.
5271 (eshell-set-option): Use eshell--args.
5272 * eshell/eshell.el (eshell): Use derived-mode-p.
5273 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5274 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5275 (eshell-glob-function): Declare.
5276 * eshell/esh-util.el: Require cl-lib.
5277 (eshell-read-hosts-file): Avoid add-to-list.
5278 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5279 `err'.
5280 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5281 Declare.
5282 (eshell/diff): Remove unused var `err'.
5283 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5284 `killflag'.
5285 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5286 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5287 first use.
5288 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5289 Move declaration before first use.
5290 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5291 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5292 rely on cl-return.
5293
5294 2013-09-12 Glenn Morris <rgm@gnu.org>
5295
5296 * term/ns-win.el (global-map): Remove binding for ispell-next,
5297 deleted 1999-05-29. (Bug#15357)
5298
5299 2013-09-11 Glenn Morris <rgm@gnu.org>
5300
5301 * echistory.el (electric-command-history): Remove call to deleted func.
5302
5303 * play/landmark.el (landmark-mode): Fix typos.
5304
5305 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5306 Check cvs-sort-ignore-file is bound.
5307
5308 * savehist.el: No need for cl when compiling on Emacs.
5309
5310 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5313 (bug#15338).
5314 (eshell-self-insert-command, eshell-send-invisible):
5315 Remove unused argument.
5316 (eshell-handle-control-codes): Remove unused var `orig'.
5317 Avoid delete-backward-char.
5318
5319 * files.el (set-auto-mode): Simplify a bit further.
5320
5321 2013-09-11 Glenn Morris <rgm@gnu.org>
5322
5323 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5324 (set-auto-mode): Don't regexp-quote elements.
5325 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5326 * progmodes/cc-mode.el (interpreter-mode-alist):
5327 * progmodes/ruby-mode.el (interpreter-mode-alist):
5328 Revert previous change.
5329
5330 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5331
5332 * play/snake.el (snake-mode):
5333 * play/mpuz.el (mpuz-mode):
5334 * play/landmark.el (lm-mode):
5335 * play/blackbox.el (blackbox-mode):
5336 * play/5x5.el (5x5-mode):
5337 * obsolete/options.el (Edit-options-mode):
5338 * net/quickurl.el (quickurl-list-mode):
5339 * net/newst-treeview.el (newsticker-treeview-mode):
5340 * mail/rmailsum.el (rmail-summary-mode):
5341 * mail/mspools.el (mspools-mode):
5342 * locate.el (locate-mode):
5343 * ibuffer.el (ibuffer-mode):
5344 * emulation/ws-mode.el (wordstar-mode):
5345 * emacs-lisp/debug.el (debugger-mode):
5346 * array.el (array-mode):
5347 * net/eudc.el (eudc-mode): Use define-derived-mode.
5348 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5349 Move initialization into declaration.
5350 (mairix-searches-mode): Use define-derived-mode.
5351 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5352 (eudc-edit-hotlist): Use dolist.
5353 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5354 (Man-mode): Use define-derived-mode.
5355 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5356 (Info-edit-mode): Use define-derived-mode.
5357 (Info-cease-edit): Use Info-mode.
5358 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5359 into declaration.
5360 (eshell-mode): Use define-derived-mode.
5361 * chistory.el (command-history-mode-map): Rename from
5362 command-history-map.
5363 (command-history-mode): Use define-derived-mode.
5364 (Command-history-setup): Remove function.
5365 * calc/calc.el (calc-trail-mode-map): New var.
5366 (calc-trail-mode): Use define-derived-mode.
5367 (calc-trail-buffer): Set calc-main-buffer manually.
5368 * bookmark.el (bookmark-insert-annotation): New function.
5369 (bookmark-edit-annotation): Use it.
5370 (bookmark-edit-annotation-mode): Make it a proper major mode.
5371 (bookmark-send-edited-annotation): Use derived-mode-p.
5372 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5373 closer to its ideal place. Use \' to match EOS.
5374
5375 * profiler.el (profiler-calltree-find): Use function-equal.
5376
5377 2013-09-10 Glenn Morris <rgm@gnu.org>
5378
5379 * files.el (interpreter-mode-alist): Convert to regexps.
5380 (set-auto-mode): Adapt for this. (Bug#15306)
5381 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5382 Comment out unused variable.
5383 * progmodes/cc-mode.el (interpreter-mode-alist):
5384 * progmodes/python.el (interpreter-mode-alist):
5385 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5386 * progmodes/sh-script.el (sh-set-shell):
5387 No longer use interpreter-mode-alist to get list of shells.
5388
5389 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5390
5391 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5392
5393 * simple.el: Use set-temporary-overlay-map for universal-argument.
5394 (universal-argument-map): Don't use default-bindings (bug#15317).
5395 Bind switch-frame explicitly. Replace universal-argument-minus with
5396 a conditional binding.
5397 (universal-argument-num-events, saved-overriding-map): Remove.
5398 (restore-overriding-map): Remove.
5399 (universal-argument--mode): Rename from save&set-overriding-map,
5400 and rewrite.
5401 (universal-argument, universal-argument-more, negative-argument)
5402 (digit-argument): Adjust accordingly.
5403 (universal-argument-minus): Remove.
5404 (universal-argument-other-key): Remove.
5405
5406 * subr.el (with-demoted-errors): Add `format' argument.
5407
5408 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5409
5410 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5411 `tramp-cleanup-connection'.
5412
5413 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5414 parameters KEEP-DEBUG and KEEP-PASSWORD.
5415
5416 * net/tramp.el (tramp-file-name-handler):
5417 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5418 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5419 (tramp-maybe-open-connection):
5420 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5421 Use `tramp-cleanup-connection'.
5422
5423 * net/tramp-sh.el (tramp-maybe-open-connection):
5424 Catch 'uname-changed inside the progress reporter.
5425
5426 2013-09-10 Glenn Morris <rgm@gnu.org>
5427
5428 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5429
5430 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5431 returns "alternate access method" in mode (eg "-rw-r--r--.").
5432
5433 2013-09-08 Glenn Morris <rgm@gnu.org>
5434
5435 * saveplace.el (load-save-place-alist-from-file):
5436 Demote errors. (Bug#15305)
5437
5438 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5439
5440 Improve compatibility with older Emacsen, and XEmacs.
5441
5442 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5443 only if it is bound. It isn't for XEmacs.
5444 (with-tramp-progress-reporter): Do not let-bind `result'.
5445 This yields to scoping errors in XEmacs.
5446 (tramp-handle-make-auto-save-file-name): New function, moved from
5447 tramp-sh.el.
5448
5449 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5450 for `make-auto-save-file-name'.
5451 (tramp-adb--gnu-switches-to-ash):
5452 Use `tramp-compat-replace-regexp-in-string'.
5453
5454 * net/tramp-cache.el (tramp-cache-print): Call
5455 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5456
5457 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5458 bound. It isn't for XEmacs.
5459
5460 * net/tramp-compat.el (tramp-compat-copy-file):
5461 Catch `wrong-number-of-arguments' error.
5462 (tramp-compat-replace-regexp-in-string): New defun.
5463
5464 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5465 for `make-auto-save-file-name'.
5466 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5467 `copy-file'.
5468 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5469 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5470 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5471
5472 * net/tramp-gw.el (tramp-gw-open-network-stream):
5473 Use `tramp-compat-replace-regexp-in-string'.
5474
5475 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5476 Call `tramp-handle-make-auto-save-file-name'.
5477 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5478 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5479 (tramp-sh-file-inotifywait-process-filter):
5480 Use `tramp-compat-replace-regexp-in-string'.
5481 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5482
5483 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5484 for `make-auto-save-file-name'.
5485 (tramp-smb-handle-copy-directory):
5486 Call `tramp-compat-replace-regexp-in-string'.
5487 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5488 (tramp-smb-handle-copy-file): Improve error message.
5489 (tramp-smb-handle-rename-file): Rename directly only in case
5490 `newname' does not exist yet. This is a restriction of smbclient.
5491 (tramp-smb-maybe-open-connection): Rerun the function only when
5492 `auth-sources' is non-nil.
5493
5494 2013-09-08 Kenichi Handa <handa@gnu.org>
5495
5496 * international/characters.el: Set category "^" (Combining) for
5497 more characters.
5498
5499 2013-09-07 Alan Mackenzie <acm@muc.de>
5500
5501 Correctly fontify Java class constructors.
5502 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5503 in Java Mode.
5504 (c-recognize-typeless-decls): Set the Java value to t.
5505 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5506 While handling a "(", add a check for, effectively, Java, and handle a
5507 "typeless" declaration there.
5508
5509 2013-09-07 Roland Winkler <winkler@gnu.org>
5510
5511 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5512 field subtitle for entry type book.
5513
5514 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * minibuffer.el: Make minibuffer-complete call completion-in-region
5517 rather than other way around.
5518 (completion--some, completion-pcm--find-all-completions):
5519 Don't delay signals when debugging.
5520 (minibuffer-completion-contents): Beware fields within the
5521 minibuffer contents.
5522 (completion-all-sorted-completions): Use defvar-local.
5523 (completion--do-completion, completion--cache-all-sorted-completions)
5524 (completion-all-sorted-completions, minibuffer-force-complete):
5525 Add args `beg' and `end'.
5526 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5527 (minibuffer-complete): Use completion-in-region.
5528 (completion-complete-and-exit): New fun, extracted from
5529 minibuffer-complete-and-exit.
5530 (minibuffer-complete-and-exit): Use it.
5531 (completion--complete-and-exit): Rename from
5532 minibuffer--complete-and-exit.
5533 (completion-in-region--single-word): New function, extracted from
5534 minibuffer-complete-word.
5535 (minibuffer-complete-word): Use it.
5536 (display-completion-list): Make `common-substring' argument obsolete.
5537 (completion--in-region): Call completion--in-region-1 instead of
5538 minibuffer-complete.
5539 (completion-help-at-point): Pass boundaries to
5540 minibuffer-completion-help as args rather than via an overlay.
5541 (completion-pcm--string->pattern): Use `any-delim'.
5542 (completion-pcm--optimize-pattern): New function.
5543 (completion-pcm--pattern->regex): Handle `any-delim'.
5544 * icomplete.el (icomplete-forward-completions)
5545 (icomplete-backward-completions, icomplete-completions):
5546 Adjust calls to completion-all-sorted-completions and
5547 completion--cache-all-sorted-completions.
5548 (icomplete-with-completion-tables): Default to t.
5549 * emacs-lisp/crm.el (crm--current-element): Rename from
5550 crm--select-current-element. Don't put an overlay but return the
5551 boundaries instead.
5552 (crm--completion-command): Take two new args to bind to the boundaries.
5553 (crm-completion-help): Adjust accordingly.
5554 (crm-complete): Use completion-in-region.
5555 (crm-complete-word): Use completion-in-region--single-word.
5556 (crm-complete-and-exit): Use completion-complete-and-exit.
5557
5558 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5561 than dynamically.
5562
5563 2013-09-06 Juri Linkov <juri@jurta.org>
5564
5565 * info.el (Info-display-images-node): When image file doesn't exist
5566 display text version of the image if it's provided in the Info file.
5567 Otherwise, display the location of missing image from SRC attribute.
5568 Add help-echo text property from ALT attribute. (Bug#15279)
5569
5570 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5573 (edit-abbrevs-mode): Use define-derived-mode.
5574
5575 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5576 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5577 that it's defined.
5578 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5579 Use define-derived-mode.
5580
5581 * epg.el (epg-start-encrypt): Minor CSE simplification.
5582
5583 2013-09-06 William Xu <william.xwl@gmail.com>
5584
5585 * arc-mode.el: Add support for 7za (bug#15264).
5586 (archive-7z-program): New var.
5587 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5588 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5589 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5590
5591 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5592
5593 Remove URL syntax.
5594
5595 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5596 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5597 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5598 (tramp-postfix-host-format, tramp-file-name-regexp)
5599 (tramp-completion-file-name-regexp)
5600 (tramp-completion-dissect-file-name)
5601 (tramp-handle-substitute-in-file-name): Remove 'url case.
5602 (tramp-file-name-regexp-url)
5603 (tramp-completion-file-name-regexp-url): Remove constants.
5604
5605 2013-09-06 Glenn Morris <rgm@gnu.org>
5606
5607 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5608
5609 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5610
5611 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5612 keywords" below "here-doc beginnings" (Bug#15270).
5613
5614 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * subr.el (pop): Use `car-safe'.
5617 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5618 to detect unused `pop' return value.
5619
5620 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5621 var `block-regexp'.
5622 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5623 (python-fill-string): Remove unused var `marker'.
5624 (python-skeleton-add-menu-items): Remove unused var `items'.
5625
5626 * international/mule-cmds.el: Require CL.
5627 (find-coding-systems-for-charsets): Avoid add-to-list.
5628 (sanitize-coding-system-list): New function, extracted from
5629 select-safe-coding-system-interactively.
5630 (select-safe-coding-system-interactively): Use it.
5631 (read-input-method-name): Accept symbols for `default'.
5632
5633 * emacs-lisp/advice.el (defadvice): Add indent rule.
5634
5635 2013-09-05 Daniel Hackney <dan@haxney.org>
5636
5637 * dired-x.el:
5638 * net/ange-ftp.el:
5639 * net/browse-url.el:
5640 * net/dbus.el:
5641 * net/eudc.el:
5642 * net/eudcb-ldap.el:
5643 * net/eww.el:
5644 * net/imap.el:
5645 * printing.el:
5646 * vc/ediff-diff.el:
5647 * vc/ediff-init.el:
5648 * vc/ediff-merg.el:
5649 * vc/ediff-mult.el:
5650 * vc/ediff-util.el:
5651 * vc/ediff-wind.el:
5652 * vc/ediff.el:
5653 * vc/emerge.el:
5654 * vc/pcvs.el:
5655 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5656 byte compiler. Remove some unused let-bound variables.
5657
5658 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5661 a "ref-cell", since it gets better optimized (bug#14883).
5662
5663 2013-09-05 Glenn Morris <rgm@gnu.org>
5664
5665 * progmodes/cc-awk.el (c-forward-sws): Declare.
5666
5667 2013-09-04 Glenn Morris <rgm@gnu.org>
5668
5669 * generic-x.el [rul-generic-mode]: Require cc-mode.
5670 (c++-mode-syntax-table): Declare.
5671 (rul-generic-mode-syntax-table): Init in the defvar.
5672
5673 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5676 (vc-do-command, vc-set-async-update):
5677 * vc/vc-mtn.el (vc-mtn-dir-status):
5678 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5679 (vc-hg-pull, vc-hg-merge-branch):
5680 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5681 (vc-git-merge-branch):
5682 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5683 (vc-cvs-dir-status-files):
5684 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5685 (vc-bzr-dir-status-files):
5686 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5687 * vc/vc-annotate.el: Use lexical-binding.
5688 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5689 (vc-sentinel-movepoint): Declare.
5690 (vc-annotate): Don't use `goto-line'.
5691 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5692 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5693 (vc-sentinel-movepoint): Declare.
5694 * vc/vc-svn.el: Use lexical-binding.
5695 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5696 * vc/vc-sccs.el:
5697 * vc/vc-rcs.el: Use lexical-binding.
5698
5699 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5700 `deleted'. Don't drop errors silently.
5701
5702 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5703
5704 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5705
5706 * vc/vc.el (vc-ignore): Rewrite.
5707 (vc-default-ignore): New function.
5708 (vc-default-ignore-completion-table): Use find-ignore-file.
5709
5710 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5711 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5712 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5713 Remove. Most code moved to vc.el.
5714
5715 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5718 * net/tramp-smb.el (tramp-smb-get-file-entries):
5719 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5720 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5721
5722 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5723 Update call to it.
5724 (eww-change-select): Remove unused var `properties'.
5725 (eww-make-unique-file-name): Remove unused var `base'.
5726
5727 * finder.el (finder-compile-keywords): Don't mess with windows.
5728
5729 * calculator.el (calculator-funcall): Fix typo in last change.
5730
5731 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5732
5733 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5734 <pkg>-autoloads.el file stop us.
5735
5736 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5737 warnings, and factor out common code.
5738
5739 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5740
5741 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5742 two-character operators and whether the character preceding them
5743 changes their meaning (Bug#15208).
5744
5745 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5746
5747 Format code sent to Python shell for robustness.
5748 * progmodes/python.el (python-shell-buffer-substring):
5749 New function.
5750 (python-shell-send-region, python-shell-send-buffer): Use it.
5751
5752 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5753
5754 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5755 * net/tramp.el (tramp-user-error): ... here.
5756 (tramp-find-method, tramp-check-proper-host)
5757 (tramp-dissect-file-name, tramp-debug-message)
5758 (tramp-handle-shell-command):
5759 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5761
5762 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5763
5764 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5765
5766 * avoid.el (mouse-avoidance-point-position)
5767 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5768 returns nil.
5769
5770 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5771
5772 * progmodes/python.el (python-shell-completion-get-completions):
5773 Drop use of deleted `comint-last-prompt-overlay'.
5774 (python-nav-if-name-main): New command.
5775
5776 2013-09-01 Glenn Morris <rgm@gnu.org>
5777
5778 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5779 Avoid leading space in $wins. Otherwise the sed command used by
5780 eg compile-main ends up containing "/*.el". (Bug#15170)
5781
5782 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5783
5784 2013-08-30 Glenn Morris <rgm@gnu.org>
5785
5786 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5787 Fix is-this-a-directory logic. (Bug#15220)
5788
5789 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5790
5791 * textmodes/css-mode.el: Use SMIE.
5792 (css-smie-grammar): New var.
5793 (css-smie--forward-token, css-smie--backward-token)
5794 (css-smie-rules): New functions.
5795 (css-mode): Use them.
5796 (css-navigation-syntax-table): Remove var.
5797 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5798 (css-indent-calculate, css-indent-line): Remove functions.
5799
5800 Misc changes to reduce use of `(lambda...); and other cleanups.
5801 * cus-edit.el: Use lexical-binding.
5802 (customize-push-and-save, customize-apropos)
5803 (custom-buffer-create-internal): Use closures.
5804 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5805 * progmodes/ada-xref.el: Use setq.
5806 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5807 * dframe.el: Use lexical-binding.
5808 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5809 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5810 * descr-text.el: Use lexical-binding.
5811 (describe-text-widget, describe-text-sexp, describe-property-list):
5812 Use closures.
5813 * comint.el (comint-history-isearch-push-state): Use a closure.
5814 * calculator.el: Use lexical-binding.
5815 (calculator-number-to-string): Make it work with lexical-binding.
5816 (calculator-funcall): Same and use cl-letf.
5817
5818 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5819 (lisp--company-doc-string, lisp--company-location): New functions.
5820 (lisp-completion-at-point): Use them to improve Company support.
5821
5822 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5823 params of lambda expressions.
5824 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5825 (ruby-smie--opening-pipe-p): New function.
5826 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5827 symbols and matched |...| for formal params.
5828 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5829 from being treated as hanging. Handle "rescue".
5830
5831 2013-08-29 Glenn Morris <rgm@gnu.org>
5832
5833 * progmodes/cc-engine.el (c-pull-open-brace):
5834 Move definition before use.
5835
5836 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5839 are immutable. Don't use `unsafe' any more.
5840 (cl--defsubst-expand): Don't substitute at the same time as keeping
5841 a residual unused let-binding. Don't use `unsafe' any more.
5842
5843 2013-08-29 Glenn Morris <rgm@gnu.org>
5844
5845 * calendar/cal-china.el (calendar-chinese-year-cache):
5846 Recenter on 2015.
5847
5848 * nxml/nxml-util.el (nxml-debug-clear-inside):
5849 Use cl-loop rather than loop.
5850
5851 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5852
5853 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5854
5855 2013-08-28 Glenn Morris <rgm@gnu.org>
5856
5857 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5858
5859 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5860
5861 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5862
5863 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * simple.el (repeat-complex-command--called-interactively-skip):
5866 New function.
5867 (repeat-complex-command): Use it (bug#14136).
5868
5869 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5870 (c-define-abbrev-table): Add `doc' argument.
5871 (c-mode-abbrev-table, c++-mode-abbrev-table)
5872 (objc-mode-abbrev-table, java-mode-abbrev-table)
5873 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5874 (awk-mode-abbrev-table): Use it.
5875 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5876 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5877 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5878 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5879 Move initialization into the declaration; and remove any
5880 autoload cookie.
5881
5882 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5883 and dynamic let binding.
5884
5885 * vc/smerge-mode.el: Remove redundant :group args.
5886
5887 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5888 to load-path.
5889
5890 2013-08-28 Juri Linkov <juri@jurta.org>
5891
5892 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5893 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5894 (isearch-other-meta-char): Handle an undefined shifted printing
5895 character by downshifting it. (Bug#15200)
5896
5897 2013-08-28 Juri Linkov <juri@jurta.org>
5898
5899 * isearch.el (isearch-search): Change regexp error message for
5900 non-regexp searches. (Bug#15166)
5901
5902 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5903
5904 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5905 for portability to hosts where /bin/sh has problems.
5906
5907 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5910
5911 2013-08-27 Juri Linkov <juri@jurta.org>
5912
5913 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5914 in the keyboard macro. (Bug#15126)
5915
5916 2013-08-27 Juri Linkov <juri@jurta.org>
5917
5918 * isearch.el (isearch-quote-char): Comment out converting unibyte
5919 to multibyte, thus syncing with its `quoted-insert' counterpart.
5920 (Bug#15166)
5921
5922 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5923
5924 * window.el (display-buffer-use-some-window): Add missing
5925 argument in call of get-largest-window (Bug#15185).
5926 Reported by Stephen Leake.
5927
5928 2013-08-27 Glenn Morris <rgm@gnu.org>
5929
5930 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5931
5932 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5935 from a matcher-function unless there's no more matches (bug#15161).
5936
5937 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5938
5939 * minibuffer.el: Revert change from 2013-08-20.
5940
5941 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5942 with text property `tramp-default', if appropriate.
5943 (tramp-check-proper-host): New defun.
5944 (tramp-dissect-file-name): Do not check hostname. Revert change
5945 of 2013-03-18.
5946 (tramp-backtrace): Make VEC-OR-PROC optional.
5947
5948 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5949 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5950 * net/tramp-sh.el (tramp-maybe-open-connection):
5951 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5952 Apply `tramp-check-proper-host'.
5953
5954 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5955
5956 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5957 lambda expression in order to have `describe-variable' display it.
5958
5959 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5960
5961 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5962 BUF can be optional. (Bug#15186)
5963
5964 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5965
5966 * progmodes/flymake.el (flymake-get-real-file-name-function):
5967 Fix broken customization. (Bug#15184)
5968
5969 2013-08-25 Alan Mackenzie <acm@muc.de>
5970
5971 Improve indentation of bracelists defined by macros (without "=").
5972
5973 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5974 expansion begins with "{", regard it as bracelist when it doesn't
5975 contain a ";".
5976
5977 Parse C++ inher-intro when there's a template split over 2 lines.
5978
5979 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5980 rigorously the search for "class" etc. followed by ":".
5981
5982 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5983 random languages a regexp which never matches rather than nil.
5984
5985 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5986
5987 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5988 (c-awk-regexp-one-line-possibly-open-char-list-re)
5989 (c-awk-one-line-possibly-open-regexp-re)
5990 (c-awk-one-line-non-syn-ws*-re): Remove.
5991 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5992 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5993 (c-awk-space*-unclosed-regexp-/-re): New constants.
5994 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5995 aren't regexp delimiters.
5996
5997 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5998 handling for a rare situation in AWK Mode involving unterminated
5999 strings/regexps.
6000
6001 2013-08-23 Glenn Morris <rgm@gnu.org>
6002
6003 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6004
6005 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6006
6007 * files.el (create-file-buffer): If the result would begin with
6008 spaces, prepend a "|" instead of removing them. (Bug#15162)
6009
6010 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6013 text-properties (bug#15155).
6014
6015 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6016 exist any more.
6017 (calc-keypad-redraw): Remove unused var `pad'.
6018 (calc-keypad-press): Remove unused var `menu'.
6019
6020 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6021
6022 * window.el (display-buffer-pop-up-frame):
6023 Call pop-up-frame-function with BUFFER current so `make-frame' will
6024 use it as the new frame's buffer (Bug#15133).
6025
6026 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * calendar/timeclock.el: Minor cleanups.
6029 (timeclock-ask-before-exiting, timeclock-use-display-time):
6030 Use `symbol'.
6031 (timeclock-modeline-display): Define as alias before the
6032 actual definition.
6033 (timeclock-mode-line-display): Use define-minor-mode.
6034 (timeclock-day-list-template): Make it a function, add an argument.
6035 (timeclock-day-list-required, timeclock-day-list-length)
6036 (timeclock-day-list-debt, timeclock-day-list-span)
6037 (timeclock-day-list-break): Adjust calls accordingly.
6038
6039 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6042 Use read--expression so that completion works again.
6043
6044 2013-08-21 Sam Steingold <sds@gnu.org>
6045
6046 Add rudimentary inferior shell interaction
6047 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6048 (sh-set-shell): Reset it.
6049 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6050 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6051
6052 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6053
6054 * align.el: Use lexical-binding.
6055 (align-region): Simplify accordingly.
6056
6057 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6058
6059 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6060
6061 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6062 `non-essential' up.
6063
6064 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6065
6066 * net/tramp.el:
6067 * net/tramp-adb.el:
6068 * net/tramp-cmds.el:
6069 * net/tramp-ftp.el:
6070 * net/tramp-gvfs.el:
6071 * net/tramp-gw.el:
6072 * net/tramp-sh.el: Don't wrap external variable declarations by
6073 `eval-when-compile'.
6074
6075 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6076
6077 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6078 now that Emacs supports ImageMagick animations.
6079
6080 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6081
6082 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6083 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6084
6085 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6086
6087 * window.el (mouse-autoselect-window-select): Do autoselect when
6088 mouse pointer is on margin.
6089
6090 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6091
6092 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6093
6094 2013-08-16 Glenn Morris <rgm@gnu.org>
6095
6096 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6097 Handle "Remote Directory" response of some clients. (Bug#15058)
6098
6099 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6100 Tweak warning. (Bug#14926)
6101
6102 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6103 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6104
6105 * image-mode.el (image-mode-map): Add menu items to reverse,
6106 increase, decrease, reset animation speed.
6107 (image--set-speed, image-increase-speed, image-decrease-speed)
6108 (image-reverse-speed, image-reset-speed): New functions.
6109 (image-mode-map): Add bindings for speed commands.
6110
6111 * image.el (image-animate-get-speed, image-animate-set-speed):
6112 New functions.
6113 (image-animate-timeout): Respect image :speed property.
6114
6115 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6116
6117 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6118 previous line (bug#15101).
6119 (debugger-eval-expression, debugger-record-expression):
6120 Use read--expression (bug#15102).
6121
6122 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6123
6124 Remove byte compiler warnings, visible when compiling with
6125 `byte-compile-force-lexical-warnings' set to t.
6126
6127 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6128 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6129 (tramp-handle-unhandled-file-name-directory)
6130 (tramp-handle-file-notify-add-watch, tramp-action-login)
6131 (tramp-action-succeed, tramp-action-permission-denied)
6132 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6133 arguments with "_".
6134
6135 * net/tramp-adb.el (tramp-adb-parse-device-names)
6136 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6137 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6138 (tramp-adb-handle-file-truename): Remove unused arguments.
6139
6140 * net/tramp-cache.el (tramp-flush-directory-property)
6141 (tramp-flush-connection-property, tramp-list-connections)
6142 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6143
6144 * net/tramp-compat.el (tramp-compat-make-temp-file):
6145 Rename FILENAME to F.
6146
6147 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6148 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6149 (tramp-zeroconf-parse-workstation-device-names)
6150 (tramp-zeroconf-parse-webdav-device-names)
6151 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6152
6153 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6154 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6155
6156 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6157 arguments.
6158 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6159 (tramp-sh-handle-insert-file-contents-literally)
6160 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6161 with "_".
6162 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6163 Remove unused variables.
6164
6165 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6166 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6167 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6168
6169 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6170 Make them a defconst.
6171 (tramp-uuencode-region): Remove unused variable.
6172
6173 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * frameset.el (frameset--prop-setter): New function.
6176 (frameset-prop): Add gv-setter declaration.
6177 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6178 parameter was already set in FILTERED. Doc fix.
6179 (frameset--record-minibuffer-relationships): Allow saving a
6180 minibufferless frame without its corresponding minibuffer frame.
6181 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6182 frame, if the frame id matches.
6183 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6184 frames before orphaned ones.
6185 (frameset-restore): Warn about orphaned windows, instead of error out.
6186
6187 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6188
6189 * window.el (window-make-atom): Don't overwrite parameter
6190 already present.
6191 (display-buffer-in-atom-window): Handle special case where we
6192 split an already atomic window.
6193 (window--major-non-side-window, display-buffer-in-side-window)
6194 (window--side-check): Ignore minibuffer window when walking
6195 window tree.
6196 (window-deletable-p): Return 'frame only if no other frame uses
6197 our minibuffer window.
6198 (record-window-buffer): Run buffer-list-update-hook.
6199 (split-window): Make sure window--check-frame won't destroy an
6200 existing atomic window in case the new window gets nested
6201 inside.
6202 (display-buffer-at-bottom): Ignore minibuffer window when
6203 walking window tree. Don't split a side window.
6204 (pop-to-buffer): Don't set-buffer here, the select-window call
6205 should do that.
6206 (mouse-autoselect-window-select): Autoselect only if we are in the
6207 text portion of the window.
6208
6209 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6210
6211 * net/shr.el (shr-parse-image-data): New function to grab both the
6212 data itself and the Content-Type.
6213 (shr-put-image): Use it.
6214
6215 * net/eww.el (eww-display-image): Ditto.
6216
6217 * image.el (image-content-type-suffixes): New variable.
6218
6219 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6220
6221 * progmodes/python.el (python-imenu--build-tree)
6222 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6223
6224 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6225
6226 * simple.el (backward-word): Mention the optional argument.
6227
6228 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6229
6230 * frameset.el (frameset--make): Rename constructor from make-frameset.
6231 (frameset-p, frameset-valid-p): Don't autoload.
6232 (frameset-valid-p): Use normal accessors.
6233
6234 2013-08-13 Glenn Morris <rgm@gnu.org>
6235
6236 * progmodes/compile.el (compile-command): Tweak example in doc.
6237 * obsolete/scribe.el (scribe-mode):
6238 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6239
6240 * mail/feedmail.el (feedmail-confirm-outgoing)
6241 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6242
6243 * cus-start.el (truncate-partial-width-windows): Fix type.
6244
6245 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6246
6247 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6248
6249 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * emacs-lisp/timer.el (timer--time-setter): New function.
6252 (timer--time): Use it as gv-setter.
6253
6254 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6255 setter is not a symbol.
6256
6257 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6258
6259 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6260 if sending fails. This makes debugging easier.
6261
6262 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6263
6264 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6265 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6266 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6267
6268 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6269
6270 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6271
6272 2013-08-12 Glenn Morris <rgm@gnu.org>
6273
6274 * format.el (format-annotate-function):
6275 Handle read-only text properties in the source. (Bug#14887)
6276
6277 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6278
6279 * net/eww.el (eww-display-html): Ignore coding system errors.
6280 One web site uses "utf-8lias" as the coding system.
6281
6282 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6283
6284 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6285
6286 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6289 (tutorial--detailed-help): Remove unused local variables.
6290 (tutorial--save-tutorial-to): Use ignore-errors.
6291 (help-with-tutorial): Use looking-at-p.
6292
6293 * view.el (view-buffer-other-window, view-buffer-other-frame):
6294 Mark unused arguments.
6295
6296 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6297 (woman-select-symbol-fonts, woman, woman-find-file)
6298 (woman-insert-file-contents, woman-non-underline-faces):
6299 Use string-match-p.
6300 (woman1-unquote): Move declaration.
6301
6302 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6303 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6304 argument. Remove unused local variable.
6305 (xml-parse-elem-type): Use string-match-p.
6306 (xml-substitute-numeric-entities): Use ignore-errors.
6307
6308 * calculator.el (calculator): Mark unused argument.
6309 (calculator-paste, calculator-quit, calculator-integer-p):
6310 Use ignore-errors.
6311 (calculator-string-to-number, calculator-decimal, calculator-exp)
6312 (calculator-op-or-exp): Use string-match-p.
6313
6314 * dired.el (dired-buffer-more-recently-used-p): Declare.
6315 (dired-insert-set-properties, dired-insert-old-subdirs):
6316 Use ignore-errors.
6317
6318 * dired-aux.el (dired-compress): Use ignore-errors.
6319 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6320 (dired-do-async-shell-command, dired-do-shell-command)
6321 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6322 (dired-insert-subdir-validate): Use string-match-p.
6323 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6324 (dired-add-entry): Use string-match-p, looking-at-p.
6325 (dired-insert-subdir-newpos): Remove unused local variable.
6326
6327 * filenotify.el (file-notify-callback): Remove unused local variable.
6328
6329 * filesets.el (filesets-error): Mark unused argument.
6330 (filesets-which-command-p, filesets-filter-dir-names)
6331 (filesets-directory-files, filesets-get-external-viewer)
6332 (filesets-ingroup-get-data): Use string-match-p.
6333
6334 * find-file.el (ff-other-file-name, ff-other-file-name)
6335 (ff-find-the-other-file, ff-cc-hh-converter):
6336 Remove unused local variables.
6337 (ff-get-file-name): Use string-match-p.
6338 (ff-all-dirs-under): Use ignore-errors.
6339
6340 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6341 (follow-select-if-visible): Remove unused local variable.
6342
6343 * forms.el (read-file-filter): Move declaration.
6344 (forms--make-format, forms--make-parser, forms-insert-record):
6345 Quote function with #'.
6346 (forms--update): Use string-match-p. Quote function with #'.
6347
6348 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6349 (help-make-xrefs): Use looking-at-p.
6350 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6351
6352 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6353 (ibuffer-confirm-operation-on): Use string-match-p.
6354
6355 * msb.el (msb-item-handler, msb-dired-item-handler):
6356 Mark unused arguments.
6357
6358 * ses.el (ses-decode-cell-symbol)
6359 (ses-kill-override): Remove unused local variable.
6360 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6361 (ses-load): Use ignore-errors, looking-at-p.
6362 (ses-jump-safe): Use ignore-errors.
6363 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6364
6365 * tabify.el (untabify, tabify): Mark unused arguments.
6366
6367 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6368 Mark unused argument.
6369 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6370 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6371
6372 * emacs-lisp/timer.el (timer--time): Define setter with
6373 gv-define-setter to avoid deprecation warning.
6374
6375 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6376 (*record-cmpl-statistics-p*): Remove (was commented out).
6377 (cmpl-statistics-block): Remove (body was commented out).
6378 All callers changed.
6379 (add-completions-from-buffer, load-completions-from-file):
6380 Remove unused variables.
6381
6382 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6383
6384 * filecache.el (file-cache-delete-file-list):
6385 Print message only when told so.
6386 (file-cache-files-matching): Use #' in mapconcat argument.
6387
6388 * ffap.el (ffap-url-at-point): Fix reference to variable
6389 thing-at-point-default-mail-uri-scheme.
6390
6391 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * subr.el (define-error): New function.
6394 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6395 error-file-not-found and define with define-error.
6396 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6397 and define with define-error.
6398 * userlock.el (file-locked, file-supersession):
6399 * simple.el (mark-inactive):
6400 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6401 * progmodes/ada-mode.el (ada-mode-errors):
6402 * play/life.el (life-extinct):
6403 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6404 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6405 * nxml/rng-util.el (rng-error):
6406 * nxml/rng-uri.el (rng-uri-error):
6407 * nxml/rng-match.el (rng-compile-error):
6408 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6409 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6410 * nxml/nxml-rap.el (nxml-scan-error):
6411 * nxml/nxml-outln.el (nxml-outline-error):
6412 * net/soap-client.el (soap-error):
6413 * net/gnutls.el (gnutls-error):
6414 * net/ange-ftp.el (ftp-error):
6415 * mpc.el (mpc-proc-error):
6416 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6417 (json-number-format, json-string-escape, json-string-format)
6418 (json-key-format, json-object-format):
6419 * jka-compr.el (compression-error):
6420 * international/quail.el (quail-error):
6421 * international/kkc.el (kkc-error):
6422 * emacs-lisp/ert.el (ert-test-failed):
6423 * calc/calc.el (calc-error, inexact-result, math-overflow)
6424 (math-underflow):
6425 * bookmark.el (bookmark-error-no-filename):
6426 * epg.el (epg-error): Define with define-error.
6427
6428 * time.el (display-time-event-handler)
6429 (display-time-next-load-average): Don't call sit-for since it seems
6430 unnecessary (bug#15045).
6431
6432 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6433 Use #' instead of ' to quote functions.
6434 (checkdoc-output-mode): Use setq-local.
6435 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6436 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6437 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6438 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6439 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6440 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6441 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6442 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6443
6444 * ido.el (ido-completion-help): Fix up compiler warning.
6445
6446 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6447
6448 * frameset.el (frameset-p): Add autoload cookie.
6449 (frameset--jump-to-register): New function, based on code moved from
6450 register.el.
6451 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6452
6453 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6454 (frameset-restore, frameset-save, frameset-session-filter-alist):
6455 Remove declarations.
6456 (register-alist): Doc fix.
6457 (frameset-to-register): Move to frameset.el.
6458 (jump-to-register, describe-register-1): Remove frameset-specific code.
6459
6460 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6461
6462 * allout-widgets.el (allout-widgets-pre-command-business)
6463 (allout-widgets-post-command-business)
6464 (allout-widgets-after-change-handler)
6465 (allout-decorate-item-and-context, allout-set-boundary-marker)
6466 (allout-body-modification-handler)
6467 (allout-graphics-modification-handler): Mark ignored arguments.
6468 (allout-widgets-post-command-business)
6469 (allout-widgets-exposure-change-processor)
6470 (allout-widgets-exposure-undo-processor)
6471 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6472 (allout-parse-item-at-point, allout-decorate-item-guides)
6473 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6474 * allout.el (epa-passphrase-callback-function): Declare.
6475 (allout-overlay-insert-in-front-handler)
6476 (allout-overlay-interior-modification-handler)
6477 (allout-isearch-end-handler, allout-chart-siblings)
6478 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6479 (allout-yank-processing, allout-process-exposed)
6480 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6481 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6482 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6483 (lisp-indent-defform): Mark ignored arguments.
6484 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6485 (calculate-lisp-indent): Remove unused variables.
6486 * international/characters.el (indian-2-column, arabic-2-column)
6487 (tibetan): Mark ignored arguments.
6488 (use-cjk-char-width-table): Mark ignored arguments.
6489 Remove unused variables.
6490 * international/fontset.el (build-default-fontset-data)
6491 (x-compose-font-name, create-fontset-from-fontset-spec):
6492 Mark ignored arguments.
6493 (fontset-plain-name): Remove unused variables.
6494 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6495 (keyboard-coding-system): Mark ignored arguments.
6496 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6497 * help.el (resize-temp-buffer-window):
6498 * window.el (display-buffer-in-major-side-window)
6499 (display-buffer-in-side-window, display-buffer-in-previous-window):
6500 Remove unused variables.
6501 * isearch.el (isearch-forward-symbol):
6502 * version.el (emacs-bzr-version-bzr):
6503 * international/mule-cmds.el (current-language-environment):
6504 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6505 (x-handle-display):
6506 * term/pc-win.el (x-list-fonts, x-display-planes)
6507 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6508 (x-server-version, x-display-screens, x-display-mm-height)
6509 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6510 (x-selection-owner-p, x-own-selection-internal)
6511 (x-disown-selection-internal, x-get-selection-internal)
6512 (msdos-initialize-window-system):
6513 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6514 * term/x-win.el (x-handle-no-bitmap-icon):
6515 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6516 (vc-default-find-file-hook, vc-default-extra-menu):
6517 Mark ignored arguments.
6518
6519 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6522 break-condition in the context of the debugged code (bug#12685).
6523
6524 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6525
6526 * comint.el:
6527 Do not use an overlay to highlight the last prompt. (Bug#14744)
6528 (comint-mode): Make comint-last-prompt buffer local.
6529 (comint-last-prompt): New variable.
6530 (comint-last-prompt-overlay): Remove. Superseded by
6531 comint-last-prompt.
6532 (comint-snapshot-last-prompt, comint-output-filter):
6533 Use comint-last-prompt.
6534
6535 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6536
6537 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6538 (frameset-save): Check validity of the resulting frameset.
6539
6540 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6541
6542 * ido.el (ido-record-command): Add doc string.
6543
6544 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6545
6546 * frameset.el (frameset): Do not disable creation of the default
6547 frameset-p predicate. Doc fix.
6548 (frameset-valid-p): New function, copied from the old predicate-p.
6549 Add additional checks.
6550 (frameset-restore): Check with frameset-valid-p.
6551 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6552 (frameset-name, frameset-description, frameset-properties)
6553 (frameset-states): Add docstring.
6554 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6555 (frameset-filter-alist): Doc fixes.
6556
6557 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6558
6559 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6560
6561 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6562
6563 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6564 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6565 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6566 (byte-compile-normal-call): Remove obsolescence check.
6567
6568 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6569
6570 * frameset.el (frameset-restore): Doc fix.
6571
6572 * register.el (frameset-frame-id, frameset-frame-with-id)
6573 (frameset-p, frameset-restore, frameset-save): Declare.
6574 (register-alist): Document framesets.
6575 (frameset-session-filter-alist): Declare.
6576 (frameset-to-register): New function.
6577 (jump-to-register): Implement jumping to framesets. Doc fix.
6578 (describe-register-1): Describe framesets.
6579
6580 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6581
6582 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6583
6584 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6585 Use lexical-binding.
6586
6587 * frameset.el (frameset): Use type vector, not list (incompatible
6588 change). Do not declare a new constructor, use the default one.
6589 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6590 `name' and `description', respectively, and add read-only slot
6591 `timestamp'. Doc fixes.
6592 (frameset-copy, frameset-persistent-filter-alist)
6593 (frameset-filter-alist, frameset-switch-to-gui-p)
6594 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6595 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6596 (frameset-filter-iconified, frameset-keep-original-display-p):
6597 Doc fixes.
6598 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6599 Rename from frameset-filter-(save|restore)-param. All callers changed.
6600 Doc fix.
6601 (frameset-p): Adapt to change to vector and be more thorough.
6602 Change arg name to OBJECT. Doc fix.
6603 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6604 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6605 All callers changed.
6606 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6607 All callers changed.
6608 (frameset--record-minibuffer-relationships): Rename from
6609 frameset--process-minibuffer-frames. All callers changed.
6610 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6611 Use new default constructor (again). Doc fix.
6612 (frameset--find-frame-if): Rename from `frameset--find-frame.
6613 All callers changed.
6614 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6615 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6616 Doc fix.
6617 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6618 PARAMETERS and WINDOW-STATE, respectively.
6619 (frameset-restore): Add new keyword argument PREDICATE.
6620 Reset frameset--target-display to nil. Doc fix.
6621
6622 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6625 (bat-mode): Use it.
6626 (bat-mode-syntax-table): Mark \n as end-of-comment.
6627 (bat-font-lock-keywords): Remove comment rule.
6628
6629 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6630 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6631
6632 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6633 (byte-compile-callargs-warn): Use `push'.
6634 (byte-compile-arglist-warn): Ignore higher-order "calls".
6635 (byte-compile-file-form-autoload): Use `pcase'.
6636 (byte-compile-function-form): If quoting a symbol, check that it exists.
6637
6638 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6639
6640 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6641 and add a few popular commands found in batch files.
6642 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6643 (dos-mode): Doc fixes.
6644
6645 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6648 (dos-mode): Use setq-local. Add space after "rem".
6649 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6650 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6651
6652 2013-08-07 Arni Magnusson <arnima@hafro.is>
6653
6654 * progmodes/dos.el: New file.
6655 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6656 dos-mode.
6657
6658 2013-08-06 Glenn Morris <rgm@gnu.org>
6659
6660 * calendar/calendar.el: Add new faces, and day-header-array.
6661 (calendar-weekday-header, calendar-weekend-header)
6662 (calendar-month-header): New faces.
6663 (calendar-day-header-construct): New function.
6664 (calendar-day-header-width): Also :set calendar-day-header-array.
6665 (calendar-american-month-header, calendar-european-month-header)
6666 (calendar-iso-month-header): Use calendar- faces.
6667 (calendar-generate-month):
6668 Use calendar-day-header-array for day headers; apply faces to them.
6669 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6670 (calendar-abbrev-construct): Add optional maxlen argument.
6671 (calendar-day-name-array): Doc fix.
6672 (calendar-day-name-array, calendar-abbrev-length)
6673 (calendar-day-abbrev-array):
6674 Also :set calendar-day-header-array, and maybe redraw.
6675 (calendar-day-header-array): New option. (Bug#15007)
6676 (calendar-font-lock-keywords): Set to nil and make obsolete.
6677 (calendar-day-name): Add option to use header array.
6678
6679 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6680
6681 * net/shr.el (shr-render-td): Remove debugging.
6682 (shr-render-td): Make width computation consistent by defaulting
6683 all zero-width columns to 10 characters. This may not be optimal,
6684 but it's at least consistent.
6685 (shr-make-table-1): Redo last change to fix the real problem in
6686 colspan handling.
6687
6688 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6689
6690 * files.el (cache-long-line-scans):
6691 Make obsolete alias to `cache-long-scans'.
6692
6693 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6694
6695 * frameset.el (frameset, frameset-filter-alist)
6696 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6697 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6698 (frameset-compute-pos): Rename from frameset--compute-pos,
6699 and add docstring.
6700 (frameset-move-onscreen): Use frameset-compute-pos.
6701 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6702
6703 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6704 Fix typos in docstrings.
6705
6706 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6707
6708 * frame.el (get-other-frame): Tiny cleanup.
6709
6710 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6711
6712 * vc/vc.el (vc-default-ignore-completion-table):
6713 Silence byte-compiler warning.
6714
6715 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6716 slot, which can indeed be nil.
6717 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6718 Move entry for `left' from persistent to live filter alist.
6719 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6720 Doc fixes.
6721 (frameset-filter-params): When restoring a frame, copy items added to
6722 `filtered', to avoid unwittingly modifying the original parameters.
6723 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6724 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6725
6726 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6727 to use looking-at-p instead of looking-at. (Bug#15028)
6728
6729 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6730
6731 Revert introduction of isearch-filter-predicates (bug#14714).
6732 Rely on add-function instead.
6733 * isearch.el (isearch-filter-predicates): Rename it back to
6734 isearch-filter-predicate.
6735 (isearch-message-prefix): Use advice-function-mapc and advice
6736 properties to get the isearch-message-prefix.
6737 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6738 instead of run-hook-with-args-until-failure.
6739 (isearch-filter-visible): Not obsolete any more.
6740 * loadup.el: Preload nadvice.
6741 * replace.el (perform-replace): Revert to funcall
6742 instead of run-hook-with-args-until-failure.
6743 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6744 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6745 dired-isearch-filenames-toggle; make it into a proper minor mode.
6746 Use add/remove-function.
6747 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6748 Call the minor-mode rather than add/remove-hook.
6749 (dired-isearch-filter-filenames):
6750 Remove isearch-message-prefix property.
6751 * info.el (Info--search-loop): New function, extracted from Info-search.
6752 Funcall isearch-filter-predicate instead of
6753 run-hook-with-args-until-failure isearch-filter-predicates.
6754 (Info-search): Use it.
6755 (Info-mode): Use isearch-filter-predicate instead of
6756 isearch-filter-predicates.
6757
6758 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6759
6760 Do not call to `selected-window' where it is assumed by default.
6761 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6762 `window-hscroll', `window-width', `window-height', `window-buffer',
6763 `window-frame', `window-start', `window-point', `next-window'
6764 and `window-display-table'.
6765 * abbrev.el (abbrev--default-expand):
6766 * bs.el (bs--show-with-configuration):
6767 * buff-menu.el (Buffer-menu-mouse-select):
6768 * calc/calc.el (calc):
6769 * calendar/calendar.el (calendar-generate-window):
6770 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6771 (diary-make-entry):
6772 * comint.el (send-invisible, comint-dynamic-complete-filename)
6773 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6774 * completion.el (complete):
6775 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6776 * disp-table.el (describe-current-display-table):
6777 * doc-view.el (doc-view-insert-image):
6778 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6779 * ehelp.el (with-electric-help):
6780 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6781 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6782 * emacs-lisp/helper.el (Helper-help-scroller):
6783 * emulation/cua-base.el (cua--post-command-handler-1):
6784 * eshell/esh-mode.el (eshell-output-filter):
6785 * ffap.el (ffap-gnus-wrapper):
6786 * help-macro.el (make-help-screen):
6787 * hilit-chg.el (highlight-compare-buffers):
6788 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6789 * hl-line.el (global-hl-line-highlight):
6790 * icomplete.el (icomplete-simple-completing-p):
6791 * isearch.el (isearch-done):
6792 * jit-lock.el (jit-lock-stealth-fontify):
6793 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6794 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6795 * mpc.el (mpc-tagbrowser, mpc):
6796 * net/rcirc.el (rcirc-any-buffer):
6797 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6798 * play/landmark.el (landmark-max-width, landmark-max-height):
6799 * play/zone.el (zone):
6800 * progmodes/compile.el (compilation-goto-locus):
6801 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6802 * progmodes/etags.el (find-tag-other-window):
6803 * progmodes/fortran.el (fortran-column-ruler):
6804 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6805 * progmodes/verilog-mode.el (verilog-point-text):
6806 * reposition.el (reposition-window):
6807 * rot13.el (toggle-rot13-mode):
6808 * server.el (server-switch-buffer):
6809 * shell.el (shell-dynamic-complete-command)
6810 (shell-dynamic-complete-environment-variable):
6811 * simple.el (insert-buffer, set-selective-display)
6812 (delete-completion-window):
6813 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6814 (speedbar-recenter):
6815 * startup.el (fancy-splash-head):
6816 * textmodes/ispell.el (ispell-command-loop):
6817 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6818 * tutorial.el (help-with-tutorial):
6819 * vc/add-log.el (add-change-log-entry):
6820 * vc/compare-w.el (compare-windows):
6821 * vc/ediff-help.el (ediff-indent-help-message):
6822 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6823 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6824 (ediff-setup-control-frame):
6825 * vc/emerge.el (emerge-position-region):
6826 * vc/pcvs-util.el (cvs-bury-buffer):
6827 * window.el (walk-windows, mouse-autoselect-window-select):
6828 * winner.el (winner-set-conf, winner-undo): Related users changed.
6829
6830 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6831
6832 * frameset.el (frameset--set-id): Doc fix.
6833 (frameset-frame-id, frameset-frame-id-equal-p)
6834 (frameset-locate-frame-id): New functions.
6835 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6836 (frameset-restore): Use them.
6837
6838 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6839
6840 Do not call to `selected-frame' where it is assumed by default.
6841 Affected functions are `raise-frame', `redraw-frame',
6842 `frame-first-window', `frame-terminal' and `delete-frame'.
6843 * calendar/appt.el (appt-disp-window):
6844 * epg.el (epg-wait-for-completion):
6845 * follow.el (follow-delete-other-windows-and-split)
6846 (follow-avoid-tail-recenter):
6847 * international/mule.el (set-terminal-coding-system):
6848 * mail/rmail.el (rmail-mail-return):
6849 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6850 * progmodes/f90.el (f90-add-imenu-menu):
6851 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6852 * server.el (server-switch-buffer):
6853 * simple.el (delete-completion-window):
6854 * talk.el (talk):
6855 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6856 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6857 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6858 * vc/ediff.el (ediff-documentation): Related users changed.
6859 * frame.el (selected-terminal): Remove the leftover.
6860
6861 2013-08-05 Glenn Morris <rgm@gnu.org>
6862
6863 * calendar/calendar.el (calendar-generate-month):
6864 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6865 (calendar-generate-month, calendar-font-lock-keywords):
6866 Fix for calendar-day-header-width > length of any day name.
6867
6868 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6869
6870 * desktop.el (desktop-clear): Use new name of sort predicate.
6871
6872 * frameset.el (frameset): Add docstring. Move :version property to its
6873 own `version' slot.
6874 (frameset-copy): Rename from copy-frameset.
6875 (frameset-p): Check more thoroughly.
6876 (frameset-prop): Do not check for :version, which is no longer a prop.
6877 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6878 Use new :never value instead of t.
6879 (frameset-filter-alist): Expand and clarify docstring.
6880 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6881 (frameset-filter-minibuffer, frameset-filter-save-param)
6882 (frameset-filter-restore-param, frameset-filter-iconified):
6883 Add pointer to docstring of frameset-filter-alist.
6884 (frameset-filter-params): Rename filter values to be more meaningful:
6885 :never instead of t, and reverse the meanings of :save and :restore.
6886 (frameset--process-minibuffer-frames): Clarify error message.
6887 (frameset-save): Avoid unnecessary and confusing call to framep.
6888 Use new BOA constructor for framesets.
6889 (frameset--reuse-list): Doc fix.
6890 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6891 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6892 (frameset-minibufferless-first-p): Doc fix.
6893 Rename from frameset-sort-frames-for-deletion.
6894 (frameset-restore): Doc fixes. Use new function names.
6895 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6896
6897 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6898
6899 * desktop.el (desktop-restore-forces-onscreen)
6900 (desktop-restore-reuses-frames): Document :keyword constant values.
6901 (desktop-filter-parameters-alist): Remove, now identical to
6902 frameset-filter-alist.
6903 (desktop--filter-tty*): Remove, moved to frameset.el.
6904 (desktop-save-frameset, desktop-restore-frameset):
6905 Do not pass :filters argument.
6906
6907 * frameset.el (frameset-live-filter-alist)
6908 (frameset-persistent-filter-alist): New variables.
6909 (frameset-filter-alist): Use them. Add autoload cookie.
6910 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6911 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6912 `frameset--id' (it's supposed to be internal to frameset.el).
6913 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6914 (frameset--initial-params): New function.
6915 (frameset--get-frame): Use it. Doc fix.
6916 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6917 Accept :all, not 'all.
6918 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6919 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6920 with fbound symbols. Fix frame id matching, and remove matching ids if
6921 the frame being restored is deleted. Obey :delete.
6922
6923 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 * subr.el (macrop): New function.
6926 (text-clone--maintaining): New var.
6927 (text-clone--maintain): Rename from text-clone-maintain. Use it
6928 instead of inhibit-modification-hooks.
6929
6930 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6931 a proxy, so as handle autoloads and redefinitions of the target.
6932 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6933
6934 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6935 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6936 (pcase--mutually-exclusive-p): New function.
6937 (pcase--split-consp): Use it.
6938 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6939 mutually exclusive with the current predicate.
6940
6941 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6942 (edebug-macrop): Remove. Use `macrop' instead.
6943 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6944 (ad-macro-p):
6945 * eshell/esh-cmd.el (eshell-macrop):
6946 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6947
6948 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6949
6950 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6951 (advice-mapc): New function, using it.
6952 (advice-function-member-p): New function.
6953 (advice--normalize): Store the cdr in advice--saved-rewrite since
6954 that's the part that will be changed.
6955 (advice--symbol-function): New function.
6956 (advice-remove): Handle removal before the function is defined.
6957 Adjust to new advice--saved-rewrite.
6958 (advice-member-p): Use advice-function-member-p and
6959 advice--symbol-function.
6960
6961 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6962
6963 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6964 (frameset-filter-minibuffer): Doc fix.
6965 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6966 (frameset--set-id, frameset--process-minibuffer-frames)
6967 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6968 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6969
6970 * desktop.el (desktop-clear): Only delete frames when called
6971 interactively and desktop-restore-frames is non-nil. Doc fix.
6972 (desktop-read): Set desktop-saved-frameset to nil.
6973
6974 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6975
6976 * vc/vc.el (vc-ignore): Rewrite.
6977 (vc-default-ignore-completion-table):
6978 (vc--read-lines):
6979 (vc--add-line, vc--remove-regexp): New functions.
6980
6981 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6982 (vc-svn-ignore-completion-table): New function.
6983
6984 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6985 (vc-hg-ignore-completion-table):
6986 (vc-hg-find-ignore-file): New functions.
6987
6988 * vc/vc-git.el (vc-git-ignore): Rewrite.
6989 (vc-git-ignore-completion-table):
6990 (vc-git-find-ignore-file): New functions.
6991
6992 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6993
6994 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6995 (vc-bzr-ignore-completion-table):
6996 (vc-bzr-find-ignore-file): New functions.
6997
6998 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * frameset.el (frameset-prop): New function and setter.
7001 (frameset-save): Do not modify frame list passed by the caller.
7002
7003 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7006
7007 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7010 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7011
7012 * custom.el (custom-initialize-default, custom-initialize-set)
7013 (custom-initialize-reset, custom-initialize-changed): Affect the
7014 toplevel-default-value (bug#6275, bug#14586).
7015 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7016 for bug#6275.
7017
7018 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7019
7020 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7021 Add cl-def* expressions.
7022
7023 * frameset.el (frameset-filter-params): Fix order of arguments.
7024
7025 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7026
7027 Move code related to saving frames to frameset.el.
7028 * desktop.el: Require frameset.
7029 (desktop-restore-frames): Doc fix.
7030 (desktop-restore-reuses-frames): Rename from
7031 desktop-restoring-reuses-frames.
7032 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7033 (desktop-clear): Clear frames too.
7034 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7035 (desktop--filter-tty*, desktop-save, desktop-read):
7036 Use frameset functions.
7037 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7038 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7039 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7040 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7041 (desktop--process-minibuffer-frames, desktop-save-frames)
7042 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7043 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7044 (desktop--sort-states, desktop-restoring-frames-p)
7045 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7046 (desktop-restoring-frameset-p, desktop-restore-frameset)
7047 (desktop--check-dont-save, desktop-save-frameset): New functions.
7048 (desktop--app-id): New constant.
7049 (desktop-first-buffer, desktop-buffer-ok-count)
7050 (desktop-buffer-fail-count): Move before first use.
7051 * frameset.el: New file.
7052
7053 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * files.el: Use lexical-binding.
7056 (dir-locals-read-from-file): Remove unused `err' variable.
7057 (hack-dir-local-variables--warned-coding): New var.
7058 (hack-dir-local-variables): Use it to avoid repeated warnings.
7059 (make-backup-file-name--default-function): New function.
7060 (make-backup-file-name-function): Use it as default.
7061 (buffer-stale--default-function): New function.
7062 (buffer-stale-function): Use it as default.
7063 (revert-buffer-insert-file-contents--default-function): New function.
7064 (revert-buffer-insert-file-contents-function): Use it as default.
7065 (insert-directory): Avoid add-to-list.
7066
7067 * autorevert.el (auto-revert-handler): Simplify.
7068 Use buffer-stale--default-function.
7069
7070 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7071
7072 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7073
7074 * whitespace.el (whitespace-ensure-local-variables): New function.
7075 (whitespace-cleanup-region): Call it.
7076 (whitespace-turn-on): Call it.
7077
7078 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7079
7080 Complete file name handlers.
7081
7082 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7083 (tramp-handle-verify-visited-file-modtime)
7084 (tramp-handle-file-notify-rm-watch): New functions.
7085 (tramp-call-process): Do not bind `default-directory'.
7086
7087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7088 Order alphabetically.
7089 [access-file, add-name-to-file, dired-call-process]:
7090 [dired-compress-file, file-acl, file-notify-rm-watch]:
7091 [file-ownership-preserved-p, file-selinux-context]:
7092 [make-directory-internal, make-symbolic-link, set-file-acl]:
7093 [set-file-selinux-context, set-visited-file-modtime]:
7094 [verify-visited-file-modtime]: Add handler.
7095 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7096
7097 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7098 [file-notify-add-watch, file-notify-rm-watch]:
7099 [set-file-times, set-visited-file-modtime]:
7100 [verify-visited-file-modtime]: Add handler.
7101 (with-tramp-gvfs-error-message)
7102 (tramp-gvfs-handle-set-visited-file-modtime)
7103 (tramp-gvfs-fuse-file-name): Remove.
7104 (tramp-gvfs-handle-file-notify-add-watch)
7105 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7106 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7107
7108 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7109 Order alphabetically.
7110 [file-notify-rm-watch ]: Use default Tramp handler.
7111 [executable-find]: Remove private handler.
7112 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7113 `default-directory'.
7114 (tramp-sh-handle-executable-find)
7115 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7116 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7117 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7118 Do not use `format' in `tramp-message'.
7119
7120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7121 [file-notify-rm-watch, set-visited-file-modtime]:
7122 [verify-visited-file-modtime]: Add handler.
7123 (tramp-smb-call-winexe): Do not bind `default-directory'.
7124
7125 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7126
7127 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7128
7129 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7130
7131 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7132 use it.
7133 (log-view-diff-changeset): Same.
7134 (log-view-diff-common): Call backend command `previous-revision'
7135 to find out the previous revision, in both cases. Swap the
7136 variables `to' and `fr', so that `fr' usually refers to the
7137 earlier revision (Bug#14989).
7138
7139 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7140
7141 * ibuf-ext.el (ibuffer-filter-by-filename):
7142 Make it work with dired buffers too.
7143
7144 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7145
7146 * emacs-lisp/re-builder.el (reb-color-display-p):
7147 * files.el (save-buffers-kill-terminal):
7148 * net/browse-url.el (browse-url):
7149 * server.el (server-save-buffers-kill-terminal):
7150 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7151 Prefer nil to selected-frame for the first arg of frame-parameter.
7152
7153 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7154
7155 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7156
7157 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7158
7159 * minibuffer.el (completion--twq-all): Try and preserve each
7160 completion's case choice (bug#14907).
7161
7162 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7163
7164 * net/network-stream.el (open-network-stream): Mention the new
7165 :nogreeting parameter.
7166 (network-stream-open-starttls): Use the :nogreeting parameter
7167 (bug#14938).
7168
7169 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7170
7171 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7172 more natural than popping.
7173
7174 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7175 (shr-urlify): Highlight under mouse.
7176
7177 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7178
7179 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7180
7181 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7182
7183 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7184 buffer for output.
7185
7186 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7187 point-min==1. Fix search string. Fix parentheses missing.
7188
7189 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7190 assume point-min==1. Fix search string. Fix parentheses missing.
7191
7192 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7193
7194 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7195 buffer for output.
7196
7197 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7198
7199 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7200 initial frame is minibuffer-less. (Bug#14841)
7201
7202 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7203
7204 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7205 option.
7206
7207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7208 (tramp-maybe-open-connection): Use it.
7209
7210 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7211
7212 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7213 minimal set of parameters passed when creating a frame, because
7214 the minibuffer status of a frame cannot be changed later.
7215
7216 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7217
7218 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7219 replace-regexp-in-string and inadvertent omissions in previous change.
7220 (todo-filter-items): Ensure only file names are comma-separated in
7221 name of filtered items buffer.
7222
7223 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * desktop.el: Optionally force offscreen frames back onscreen.
7226 (desktop-restoring-reuses-frames): New option.
7227 (desktop--compute-pos, desktop--move-onscreen): New functions.
7228 (desktop--make-frame): Use desktop--move-onscreen.
7229
7230 2013-07-27 Alan Mackenzie <acm@muc.de>
7231
7232 Fontify a Java generic method as a function.
7233 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7234 value to t.
7235
7236 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7237
7238 * calendar/todo-mode.el: Add command to rename todo files.
7239 (todo-rename-file): New command.
7240 (todo-key-bindings-t): Add key binding for it. Change the
7241 bindings of todo-filter-regexp-items(-multifile) to use `x'
7242 instead of `r', since the latter is better suited to the new
7243 renaming command.
7244
7245 2013-07-27 Alan Mackenzie <acm@muc.de>
7246
7247 Make Java try-with-resources statement parse properly.
7248 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7249 (c-block-stmt-1-2-key): New language constants/variables.
7250 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7251 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7252 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7253 with c-block-stmt-1-2-key.
7254
7255 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7256
7257 * desktop.el (desktop--make-frame): Apply most frame parameters after
7258 creating the frame to force (partially or totally) offscreen frames to
7259 be restored as such.
7260
7261 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7262
7263 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7264 (Bug#14948)
7265
7266 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7267
7268 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7269 `base' arg of backtrace-frame.
7270
7271 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7272
7273 * simple.el (list-processes): Doc fix.
7274
7275 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7276
7277 * desktop.el (desktop--select-frame):
7278 Try harder to reuse existing frames.
7279
7280 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7281
7282 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7283 (edebug-eval): Use backtrace-eval.
7284 (edebug--display, edebug--recursive-edit): Don't let-bind the
7285 edebug-outer-* vars that keep track of variables we locally let-bind.
7286 (edebug-outside-excursion): Don't restore outside values of locally
7287 let-bound vars.
7288 (edebug--display): Use user-error.
7289 (cl-lexical-debug, cl-debug-env): Remove.
7290
7291 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7294 are restored to be sure that they are visible before deleting any
7295 remaining ones.
7296
7297 2013-07-26 Matthias Meulien <orontee@gmail.com>
7298
7299 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7300 vc-print-root-log. (Bug#14948)
7301
7302 2013-07-26 Richard Stallman <rms@gnu.org>
7303
7304 Add aliases for encrypting mail.
7305 * epa.el (epa-mail-aliases): New option.
7306 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7307 Bind inhibit-read-only so read-only text doesn't ruin everything.
7308 (epa-mail-default-recipients): New subroutine broken out.
7309 Handle epa-mail-aliases.
7310
7311 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7312
7313 Add support for lexical variables to the debugger's `e' command.
7314 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7315 vars, except for debugger-outer-match-data.
7316 (debugger-frame-number): Move check for "on a function call" from
7317 callers into it. Add `skip-base' argument.
7318 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7319 (debugger-env-macro): Only reset the state stored in non-variables,
7320 i.e. current-buffer and match-data.
7321 (debugger-eval-expression): Rewrite using backtrace-eval.
7322 * subr.el (internal--called-interactively-p--get-frame): Remove.
7323 (called-interactively-p):
7324 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7325 `base' arg of backtrace-frame instead.
7326
7327 2013-07-26 Glenn Morris <rgm@gnu.org>
7328
7329 * align.el (align-regexp): Doc fix. (Bug#14857)
7330 (align-region): Explicit error if subexpression missing/does not match.
7331
7332 * simple.el (global-visual-line-mode):
7333 Do not duplicate the mode lighter. (Bug#14858)
7334
7335 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7336
7337 * window.el (display-buffer): In display-buffer bind
7338 split-window-keep-point to t, bug#14829.
7339
7340 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7341
7342 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7343 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7344 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7345 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7346 Change accordingly.
7347 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7348 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7349
7350 2013-07-25 Glenn Morris <rgm@gnu.org>
7351
7352 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7353
7354 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7355
7356 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7357 parameter to modify-frame-parameters if the value has not changed;
7358 this is a workaround for bug#14949.
7359 (desktop--make-frame): On cl-delete-if call, check parameter name,
7360 not full parameter.
7361
7362 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7363
7364 * vc/vc.el (vc-ignore): New function.
7365
7366 * vc/vc-svn.el (vc-svn-ignore): New function.
7367
7368 * vc/vc-hg.el (vc-hg-ignore): New function.
7369
7370 * vc/vc-git.el (vc-git-ignore): New function.
7371
7372 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7373 (vc-dir-ignore): New function.
7374
7375 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7376 (cvs-append-to-ignore): Move here from pcvs.el.
7377
7378 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7379
7380 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7381
7382 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7383
7384 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7385 (desktop-restore-frames): Warn when deleting an existing frame failed.
7386
7387 2013-07-24 Glenn Morris <rgm@gnu.org>
7388
7389 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7390
7391 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7392
7393 * filenotify.el (file-notify-supported-p):
7394 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7395 Remove functions.
7396
7397 * autorevert.el (auto-revert-use-notify):
7398 (auto-revert-notify-add-watch):
7399 * net/tramp.el (tramp-file-name-for-operation):
7400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7401 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7402 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7403 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7404 Remove `file-notify-supported-p' entry.
7405
7406 2013-07-24 Glenn Morris <rgm@gnu.org>
7407
7408 * printing.el: Replace all uses of deleted ps-windows-system,
7409 ps-lp-system, ps-flatten-list with lpr- versions.
7410
7411 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7412
7413 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7414 checked with memq (bug#14935).
7415
7416 * files.el (revert-buffer-function): Use a non-nil default.
7417 (revert-buffer-preserve-modes): Declare var to
7418 provide access to the `preserve-modes' argument.
7419 (revert-buffer): Let-bind it.
7420 (revert-buffer--default): New function, extracted from revert-buffer.
7421
7422 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7423
7424 * lpr.el: Signal print errors more prominently.
7425 (print-region-function): Don't default to nil.
7426 (lpr-print-region): New function, extracted from print-region-1.
7427 Check lpr's return value and signal an error in case of problem.
7428 (print-region-1): Use it.
7429 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7430 versions instead.
7431 (ps-printer-name): Default to nil.
7432 (ps-printer-name-option): Default to lpr-printer-switch.
7433 (ps-print-region-function): Don't default to nil.
7434 (ps-postscript-code-directory): Simplify default.
7435 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7436 (ps-string-list, ps-eval-switch, ps-flatten-list)
7437 (ps-flatten-list-1): Remove.
7438 (ps-multibyte-buffer): Avoid setq.
7439 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7440 (print-region-function, ps-print-region-function): Don't set them here.
7441
7442 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7443
7444 * ido.el (ido-fractionp):
7445 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7446 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7447 (ido-max-directory-size, ido-max-dir-file-cache)
7448 (ido-decorations): Doc fix.
7449
7450 * ansi-color.el: Fix old URL.
7451
7452 2013-07-23 Michael R. Mauger <michael@mauger.com>
7453
7454 * progmodes/sql.el: Version 3.3
7455 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7456 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7457 (sql-interactive-remove-continuation-prompt): Rewrite, use
7458 functions above. Fix continuation prompt and complete output line
7459 handling.
7460 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7461 redirected output buffer.
7462 (sql-mode): Restore deleted code (Bug#13591).
7463
7464 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7465
7466 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7467
7468 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7469
7470 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7471
7472 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7473 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7474 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7475
7476 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7477
7478 * desktop.el (desktop-clear): Simplify; remove useless checks
7479 against invalid buffer names.
7480 (desktop-list*): Use cl-list*.
7481 (desktop-buffer-info, desktop-create-buffer): Simplify.
7482
7483 2013-07-23 Leo Liu <sdl.web@gmail.com>
7484
7485 * bookmark.el (bookmark-make-record): Restore NAME as a default
7486 value. (Bug#14933)
7487
7488 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7491 extracted from autoload--insert-text.
7492 (autoload--insert-text): Remove.
7493 (autoload--print-cookie-text): New function, extracted from
7494 autoload--insert-cookie-text.
7495 (autoload--insert-cookie-text): Remove.
7496 (autoload-generate-file-autoloads): Adjust calls accordingly.
7497
7498 * winner.el (winner-hook-installed-p): Remove.
7499 (winner-mode): Simplify accordingly.
7500
7501 * subr.el (add-to-list): Fix compiler-macro when `append' is
7502 not constant. Don't use `cl-member' for the base case.
7503
7504 * progmodes/subword.el: Fix boundary case (bug#13758).
7505 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7506 own group.
7507 (subword-backward-regexp): Make it a constant.
7508 (subword-forward-internal): Don't treat a trailing capital as the
7509 beginning of a word.
7510
7511 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7512
7513 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7514 global value of tabulated-list-revert-hook (bug#14930).
7515
7516 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7517
7518 * desktop.el: Require 'cl-lib.
7519 (desktop-before-saving-frames-functions): New hook.
7520 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7521 for frames being saved. Rename from desktop--save-minibuffer-frames.
7522 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7523 Do not save frames with non-nil `desktop-dont-save' parameter.
7524 Filter out deleted frames.
7525 (desktop--find-frame): Use cl-find-if.
7526 (desktop--select-frame): Use cl-(first|second|third) to access values
7527 of desktop-mini.
7528 (desktop--make-frame): Use cl-delete-if.
7529 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7530 (desktop-restore-frames): Use cl-(first|second|third) to access values
7531 of desktop-mini. Look for visible frame at the end, not while
7532 restoring frames.
7533
7534 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7535 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7536 Use string-match-p, looking-at-p (bug#14927).
7537
7538 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * desktop.el (desktop-saved-frame-states):
7541 Rename from desktop--saved-states; all users changed.
7542 (desktop-save-frames): Rename from desktop--save-frames.
7543 Do not save state to desktop file.
7544 (desktop-save): Save desktop-saved-frame-states to desktop file
7545 and reset to nil.
7546 (desktop-restoring-frames-p): New function.
7547 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7548 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7549 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7550
7551 * desktop.el: Correctly restore iconified frames.
7552 (desktop--filter-iconified-position): New function.
7553 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7554
7555 2013-07-20 Glenn Morris <rgm@gnu.org>
7556
7557 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7558 Let `message' do the formatting.
7559 (def-gdb-preempt-display-buffer): Add explicit format.
7560
7561 * image-dired.el (image-dired-track-original-file):
7562 Use with-current-buffer.
7563 (image-dired-track-thumbnail): Use with-current-buffer.
7564 Avoid changing point of wrong window.
7565
7566 * image-dired.el (image-dired-track-original-file):
7567 Avoid changing point of wrong window. (Bug#14909)
7568
7569 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7570
7571 * progmodes/gdb-mi.el (gdb-done-or-error):
7572 Guard against "%" in gdb output. (Bug#14127)
7573
7574 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7575
7576 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7577 (Bug#14826)
7578
7579 * international/mule.el (coding-system-iso-2022-flags): Fix last
7580 change.
7581
7582 2013-07-20 Kenichi Handa <handa@gnu.org>
7583
7584 * international/mule.el (coding-system-iso-2022-flags):
7585 Add `8-bit-level-4'. (Bug#8522)
7586
7587 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588
7589 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7590 (bug#14815).
7591
7592 * net/eww.el (eww-process-text-input): Allow inputting when the
7593 point is at the start of the line, as the properties aren't
7594 front-sticky.
7595
7596 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7597 degenerate widths.
7598
7599 2013-07-19 Richard Stallman <rms@gnu.org>
7600
7601 * epa.el (epa-popup-info-window): Doc fix.
7602
7603 * subr.el (split-string): New arg TRIM.
7604
7605 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7606
7607 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7608 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7609
7610 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7611
7612 * filenotify.el (file-notify--library): Rename from
7613 `file-notify-support'. Do not autoload. Adapt all uses.
7614 (file-notify-supported-p): New defun.
7615
7616 * autorevert.el (auto-revert-use-notify):
7617 Use `file-notify-supported-p' instead of `file-notify-support'.
7618 Adapt docstring.
7619 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7620
7621 * net/tramp.el (tramp-file-name-for-operation):
7622 Add `file-notify-supported-p'.
7623
7624 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7625 New defun.
7626 (tramp-sh-file-name-handler-alist): Add it as handler for
7627 `file-notify-supported-p '.
7628
7629 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7630 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7631 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7632 Add `ignore' as handler for `file-notify-*' functions.
7633
7634 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7635
7636 * simple.el (line-move-partial, line-move): Don't start vscroll or
7637 scroll-up if the current line is not taller than the window.
7638 (Bug#14881)
7639
7640 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7641
7642 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7643 highlight question marks in the method names as strings.
7644 (ruby-block-beg-keywords): Inline.
7645 (ruby-font-lock-keyword-beg-re): Extract from
7646 `ruby-font-lock-keywords'.
7647
7648 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7649
7650 * frame.el (blink-cursor-blinks): New defcustom.
7651 (blink-cursor-blinks-done): New defvar.
7652 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7653 (blink-cursor-timer-function): Check if number of blinks has been
7654 done on X and NS.
7655 (blink-cursor-suspend, blink-cursor-check): New defuns.
7656
7657 2013-07-15 Glenn Morris <rgm@gnu.org>
7658
7659 * edmacro.el (edmacro-format-keys): Fix previous change.
7660
7661 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7662
7663 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7664 The hack didn't work outside English locales anyway.
7665
7666 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7667
7668 * simple.el (define-alternatives): Rename from alternatives-define,
7669 per RMS' suggestion.
7670
7671 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * desktop.el (desktop-restore-frames): Change default to t.
7674 (desktop-restore-in-current-display): Now offer more options.
7675 (desktop-restoring-reuses-frames): New customization option.
7676 (desktop--saved-states): Doc fix.
7677 (desktop-filter-parameters-alist): New variable, renamed and expanded
7678 from desktop--excluded-frame-parameters.
7679 (desktop--target-display): New variable.
7680 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7681 (desktop--filter-tty*, desktop--filter-*-color)
7682 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7683 (desktop--filter-save-desktop-parm)
7684 (desktop-restore-in-original-display-p): New functions.
7685 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7686 (desktop--save-minibuffer-frames): New function, inspired by a similar
7687 function from Martin Rudalics.
7688 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7689 (desktop--restore-in-this-display-p): Remove.
7690 (desktop--find-frame): Rename from desktop--find-frame-in-display
7691 and add predicate argument.
7692 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7693 (desktop--reuse-list): New variable.
7694 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7695 New functions.
7696 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7697
7698 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7699
7700 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7701
7702 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7703
7704 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7705 Highlight conversion methods on Kernel.
7706
7707 2013-07-13 Alan Mackenzie <acm@muc.de>
7708
7709 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7710 and comment it out. This out-commenting enables certain C++
7711 declarations to be parsed correctly.
7712
7713 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7714
7715 * international/mule.el (define-coding-system): Doc fix.
7716
7717 * simple.el (default-font-height): Don't call font-info if the
7718 frame's default font didn't change since the frame was created.
7719 (Bug#14838)
7720
7721 2013-07-13 Leo Liu <sdl.web@gmail.com>
7722
7723 * ido.el (ido-read-file-name): Guard against non-symbol value.
7724
7725 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7726
7727 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7728 in nested defuns.
7729
7730 2013-07-13 Leo Liu <sdl.web@gmail.com>
7731
7732 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7733 ido-set-matches call. (Bug#6852)
7734
7735 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7736
7737 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7738 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7739 Ruby 2.0.
7740 (ruby-font-lock-keywords): Distinguish calls to functions with
7741 module-like names from module references. Highlight character
7742 literals.
7743
7744 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7745
7746 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7747 (gdb-send): Handle continued commands. (Bug#14847)
7748
7749 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7750
7751 * desktop.el (desktop--v2s): Remove unused local variable.
7752 (desktop-save-buffer): Make defvar-local; adjust docstring.
7753 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7754 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7755
7756 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7757
7758 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7759
7760 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7761
7762 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7763 (Bug#14842)
7764
7765 2013-07-12 Glenn Morris <rgm@gnu.org>
7766
7767 * doc-view.el: Require cl-lib at runtime too.
7768 (doc-view-remove-if): Remove.
7769 (doc-view-search-next-match, doc-view-search-previous-match):
7770 Use cl-remove-if.
7771
7772 * edmacro.el: Require cl-lib at runtime too.
7773 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7774 (edmacro-mismatch, edmacro-subseq): Remove.
7775
7776 * shadowfile.el: Require cl-lib.
7777 (shadow-remove-if): Remove.
7778 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7779 Use cl-remove-if.
7780
7781 * wid-edit.el: Require cl-lib.
7782 (widget-choose): Use cl-remove-if.
7783 (widget-remove-if): Remove.
7784
7785 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7786 (ebrowse-delete-if-not): Remove.
7787 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7788 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7789 Use cl-delete-if-not.
7790
7791 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7794 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7795
7796 2013-07-12 Leo Liu <sdl.web@gmail.com>
7797
7798 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7799
7800 2013-07-11 Glenn Morris <rgm@gnu.org>
7801
7802 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7803 (edebug-gensym-index, edebug-gensym):
7804 Remove reimplementation of cl-gensym.
7805 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7806
7807 * thumbs.el: Require cl-lib at run-time too.
7808 (thumbs-gensym-counter, thumbs-gensym):
7809 Remove reimplementation of cl-gensym.
7810 (thumbs-temp-file): Use cl-gensym.
7811
7812 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7813 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7814 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7815 (ert--union, ert--gensym-counter, ert--gensym-counter)
7816 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7817 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7818 (ert-make-test-unbound, ert--expand-should-1)
7819 (ert--expand-should, ert--should-error-handle-error)
7820 (should-error, ert--explain-equal-rec)
7821 (ert--plist-difference-explanation, ert-select-tests)
7822 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7823 Use cl-lib functions rather than reimplementations.
7824
7825 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7826
7827 * net/tramp.el (tramp-methods): Extend docstring.
7828 (tramp-connection-timeout): New defcustom.
7829 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7830 (with-tramp-progress-reporter): Simplify.
7831 (tramp-process-actions): Improve messages.
7832
7833 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7834 * net/tramp-sh.el (tramp-maybe-open-connection):
7835 Use `tramp-connection-timeout'.
7836 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7837 (Bug#14808)
7838
7839 2013-07-11 Leo Liu <sdl.web@gmail.com>
7840
7841 * ido.el (ido-read-file-name): Conform to the requirements of
7842 read-file-name. (Bug#11861)
7843 (ido-read-directory-name): Conform to the requirements of
7844 read-directory-name.
7845
7846 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7847
7848 * subr.el (delay-warning): New function.
7849
7850 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7851
7852 * simple.el (default-line-height): New function.
7853 (line-move-partial, line-move): Use it instead of computing the
7854 line height inline.
7855 (line-move-partial): Always compute ROWH. If the last line is
7856 partially-visible, but its text is completely visible, allow
7857 cursor to enter such a partially-visible line.
7858
7859 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7860
7861 Improve error messages. (Bug#14808)
7862
7863 * net/tramp.el (tramp-current-connection): New defvar, moved from
7864 tramp-sh.el.
7865 (tramp-message-show-progress-reporter-message): Remove, not
7866 needed anymore.
7867 (tramp-error-with-buffer): Show message in minibuffer.
7868 Discard input before waiting. Reset connection timestamp.
7869 (with-tramp-progress-reporter): Improve messages.
7870 (tramp-process-actions): Use progress reporter. Delete process in
7871 case of error. Improve messages.
7872
7873 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7874 Call `tramp-error-with-buffer' with vector and buffer.
7875 (tramp-current-connection): Remove.
7876 (tramp-maybe-open-connection): The car of
7877 `tramp-current-connection' are the first 3 slots of the vector.
7878
7879 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7880
7881 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7882 inside continued strings.
7883
7884 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7885
7886 Timestamp fixes for undo (Bug#14824).
7887 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7888
7889 2013-07-10 Leo Liu <sdl.web@gmail.com>
7890
7891 * files.el (require-final-newline): Allow safe local value.
7892 (Bug#14834)
7893
7894 2013-07-09 Leo Liu <sdl.web@gmail.com>
7895
7896 * ido.el (ido-read-directory-name): Handle fallback.
7897 (ido-read-file-name): Update DIR to ido-current-directory.
7898 (Bug#1516)
7899 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7900
7901 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7902
7903 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7904 "autoload". Remove "warn lower camel case" section, previously
7905 commented out. Highlight negation char. Do not highlight the
7906 target in singleton method definitions.
7907
7908 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7909
7910 * faces.el (tty-setup-hook): Declare the hook.
7911
7912 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7913 and detect when a guard/pred depends on local vars (bug#14773).
7914 (pcase--u1): Adjust caller.
7915
7916 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7917
7918 * simple.el (line-move-partial, line-move): Account for
7919 line-spacing.
7920 (line-move-partial): Avoid setting vscroll when the last
7921 partially-visible line in window is of default height.
7922
7923 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
7925 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7926 been used a while.
7927
7928 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7929
7930 * subr.el (read-quoted-char): Remove unused local variable `char'.
7931
7932 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7933
7934 * ediff.el (ediff-version): Version update.
7935 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7936 (ediff-merge-with-ancestor-command, ediff-directories-command)
7937 (ediff-directories3-command, ediff-merge-directories-command)
7938 (ediff-merge-directories-with-ancestor-command): New functions.
7939 All are command-line interfaces to ediff: to facilitate calling
7940 Emacs with the appropriate ediff functions invoked.
7941
7942 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7943 (viper-save-kill-buffer): Check if buffer is modified.
7944
7945 * viper.el (viper-version): Version update.
7946 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7947
7948 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7951 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7952 (viper-intercept-ESC-key): Simplify.
7953 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7954 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7955 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7956 (viper-setup-ESC-to-escape): New functions.
7957 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7958 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7959
7960 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7961
7962 * simple.el (default-font-height, window-screen-lines):
7963 New functions.
7964 (line-move, line-move-partial): Use them instead of
7965 frame-char-height and window-text-height. This makes scrolling
7966 text smoother when the buffer's default face uses a font that is
7967 different from the frame's default font.
7968
7969 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7970
7971 * files.el (write-file): Do not display confirm dialog for NS,
7972 it does its own dialog, which can't be canceled (Bug#14578).
7973
7974 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7975
7976 * simple.el (line-move-partial): Adjust the row returned by
7977 posn-at-point for the current window-vscroll. (Bug#14567)
7978
7979 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7980
7981 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7982 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7983 spaces.
7984
7985 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7986
7987 * window.el (window-state-put-stale-windows): New variable.
7988 (window--state-put-2): Save list of windows without matching buffer.
7989 (window-state-put): Remove "bufferless" windows if possible.
7990
7991 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * simple.el (alternatives-define): Remove leftover :group keyword.
7994 Tweak docstring.
7995
7996 2013-07-06 Leo Liu <sdl.web@gmail.com>
7997
7998 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7999 (ido-enable-virtual-buffers): New variable.
8000 (ido-buffer-internal, ido-toggle-virtual-buffers)
8001 (ido-make-buffer-list): Use it.
8002 (ido-exhibit): Support turning on and off virtual buffers
8003 automatically.
8004
8005 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8006
8007 * simple.el (alternatives-define): New macro.
8008
8009 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8010
8011 * subr.el (read-quoted-char): Use read-key.
8012 (sit-for): Let read-event decode tty input (bug#14782).
8013
8014 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8015
8016 * calendar/todo-mode.el: Add handling of file deletion, both by
8017 mode command and externally. Fix various related bugs.
8018 Clarify Commentary and improve some documentation strings and code.
8019 (todo-delete-file): New command.
8020 (todo-check-file): New function.
8021 (todo-show): Handle external deletion of the file we're trying to
8022 show (bug#14688). Replace called-interactively-p by an optional
8023 prefix argument to avoid problematic interaction with catch form
8024 when byte compiled (bug#14702).
8025 (todo-quit): Handle external deletion of the archive's todo file.
8026 Make sure the buffer that was visiting the archive file is still
8027 live before trying to bury it.
8028 (todo-category-completions): Handle external deletion of any
8029 category completion files.
8030 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8031 of todo files, in case of external deletion.
8032 (todo-add-file): Replace unnecessary setq by let-binding.
8033 (todo-find-archive): Check whether there are any archives.
8034 Replace unnecessary setq by let-binding.
8035 (todo-archive-done-item): Use find-file-noselect to get the
8036 archive buffer whether or not the archive already exists.
8037 Remove superfluous code. Use file size instead of buffer-file-name to
8038 check if the archive is new; if it is, update list of archives.
8039 (todo-default-todo-file): Allow nil to be a valid value for when
8040 there are no todo files.
8041 (todo-reevaluate-default-file-defcustom): Use corrected definition
8042 of todo-default-todo-file.
8043 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8044 (todo-delete-category, todo-show-categories-table)
8045 (todo-category-number): Clarify comment.
8046 (todo-filter-items): Clarify documentation string.
8047 (todo-show-current-file, todo-display-as-todo-file)
8048 (todo-reset-and-enable-done-separator): Tweak documentation string.
8049 (todo-done-separator): Make separator length window-width, since
8050 bug#2749 is now fixed.
8051
8052 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8053
8054 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8055 Support both "gvfs-monitor-dir" and "inotifywait".
8056 (tramp-sh-file-inotifywait-process-filter): Rename from
8057 `tramp-sh-file-notify-process-filter'.
8058 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8059 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8060
8061 2013-07-05 Leo Liu <sdl.web@gmail.com>
8062
8063 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8064
8065 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8066
8067 * frame.el (display-pixel-height, display-pixel-width)
8068 (display-mm-height, display-mm-width): Mention behavior on
8069 multi-monitor setups in docstrings.
8070 (w32-display-monitor-attributes-list): Declare function.
8071 (display-monitor-attributes-list): Use it.
8072
8073 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * filenotify.el: New package.
8076
8077 * autorevert.el (top): Require filenotify.el.
8078 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8079 instead.
8080 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8081 (auto-revert-notify-handler): Use `file-notify-*' functions.
8082
8083 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8084
8085 * net/tramp.el (tramp-file-name-for-operation):
8086 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8087
8088 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8089 for `file-notify-add-watch' and `file-notify-rm-watch'.
8090 (tramp-process-sentinel): Improve trace.
8091 (tramp-sh-handle-file-notify-add-watch)
8092 (tramp-sh-file-notify-process-filter)
8093 (tramp-sh-handle-file-notify-rm-watch)
8094 (tramp-get-remote-inotifywait): New defuns.
8095
8096 2013-07-03 Juri Linkov <juri@jurta.org>
8097
8098 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8099 call of `occur-read-primary-args' to interactive spec.
8100
8101 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8102 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8103
8104 2013-07-03 Matthias Meulien <orontee@gmail.com>
8105
8106 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8107 `Buffer-menu-multi-occur'. Add it to the menu.
8108 (Buffer-menu-mode): Document it in docstring.
8109 (Buffer-menu-multi-occur): New command. (Bug#14673)
8110
8111 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8112
8113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8114 keywords and built-ins.
8115
8116 2013-07-03 Glenn Morris <rgm@gnu.org>
8117
8118 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8119
8120 Make info-xref checks case-sensitive by default
8121 * info.el (Info-find-node, Info-find-in-tag-table)
8122 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8123 Add option for exact case matching of nodes.
8124 * info-xref.el (info-xref): New custom group.
8125 (info-xref-case-fold): New option.
8126 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8127
8128 2013-07-03 Leo Liu <sdl.web@gmail.com>
8129
8130 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8131
8132 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8133
8134 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8135 middle of block statement initially, lower the depth. Remove
8136 FIXME comment, not longer valid. Remove middle of block statement
8137 detection, no need to do that anymore since we've been using
8138 `ruby-parse-region' here.
8139
8140 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8141
8142 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8143
8144 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8145
8146 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8147
8148 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8149
8150 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8151 (desktop-restore-in-current-display): New customization option.
8152 (desktop--excluded-frame-parameters): Add `font'.
8153 (desktop--save-frames): Rename from desktop--save-windows.
8154 (desktop--restore-in-this-display-p): New function.
8155 (desktop--make-full-frame): Remove unwanted width/height from
8156 full(width|height) frames.
8157 (desktop--restore-frames): Rename from desktop--restore-windows.
8158 Obey desktop-restore-current-display. Do not delete old frames or
8159 select a new frame unless we were able to restore at least one frame.
8160
8161 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8162
8163 * files.el (find-file-noselect): Simplify conditional expression.
8164
8165 * textmodes/remember.el (remember-append-to-file):
8166 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8167
8168 Add `remember-notes' function to store random notes across Emacs
8169 restarts.
8170 * textmodes/remember.el (remember-data-file): Add :set callback to
8171 affect notes buffer (if any).
8172 (remember-notes): New command.
8173 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8174 New defcustoms for the `remember-notes' function.
8175 (remember-notes-save-and-bury-buffer): New command.
8176 (remember-notes-mode-map): New variable.
8177 (remember-mode): New minor mode.
8178 (remember-notes--kill-buffer-query): New function.
8179 * startup.el (initial-buffer-choice): Add notes to custom type.
8180
8181 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8182
8183 * bindings.el (right-char, left-char): Don't call sit-for, this is
8184 no longer needed. Use arithmetic comparison only for numerical
8185 arguments.
8186
8187 * international/mule-cmds.el (select-safe-coding-system):
8188 Handle the case of FROM being a string correctly. (Bug#14755)
8189
8190 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8191
8192 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8193 progression on degenerate tables.
8194 (shr-rescale-image): ImageMagick animated images currently don't work.
8195
8196 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8197
8198 Some fixes and improvements for desktop frame restoration.
8199 It is still experimental and disabled by default.
8200 * desktop.el (desktop--save-windows): Put the selected frame at
8201 the head of the list.
8202 (desktop--make-full-frame): New function.
8203 (desktop--restore-windows): Try to re-select the frame that was
8204 selected upon saving. Do not abort if some frames fail to restore,
8205 just show an error message and continue. Set up maximized frames
8206 so they have default non-maximized dimensions.
8207
8208 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8209
8210 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8211 Don't start heredoc inside a string or comment.
8212
8213 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8214
8215 * bindings.el (visual-order-cursor-movement): New defcustom.
8216 (right-char, left-char): Provide visual-order cursor motion by
8217 calling move-point-visually. Update the doc strings.
8218
8219 2013-06-28 Kenichi Handa <handa@gnu.org>
8220
8221 * international/mule.el (define-coding-system): New coding system
8222 properties :inhibit-null-byte-detection,
8223 :inhibit-iso-escape-detection, and :prefer-utf-8.
8224 (set-buffer-file-coding-system): If :charset-list property of
8225 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8226 appropriate for setting.
8227
8228 * international/mule-cmds.el (select-safe-coding-system):
8229 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8230 multibyte characters, return utf-8 (or one of its siblings).
8231
8232 * international/mule-conf.el (prefer-utf-8): New coding system.
8233 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8234 files.
8235
8236 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8237
8238 * net/shr.el (shr-render-region): New function.
8239
8240 * net/eww.el: Autoload `eww-browse-url'.
8241
8242 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8243
8244 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8245 Adapt to `package-desc-version' being a list.
8246 Use `package--ac-desc-version' to retrieve version from a package
8247 archive element.
8248
8249 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8250
8251 New experimental feature to save&restore window and frame setup.
8252 * desktop.el (desktop-save-windows): New defcustom.
8253 (desktop--saved-states): New var.
8254 (desktop--excluded-frame-parameters): New defconst.
8255 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8256 (desktop--restore-windows, desktop--save-windows): New functions.
8257 (desktop-save): Call `desktop--save-windows'.
8258 (desktop-read): Call `desktop--restore-windows'.
8259
8260 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8261
8262 * net/shr.el (add-face-text-property): Remove compat definition.
8263
8264 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8265
8266 * info.el (Info-try-follow-nearest-node): Move search for footnote
8267 above search for node name to prevent missing a footnote (bug#14717).
8268
8269 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8270
8271 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8272
8273 2013-06-27 Leo Liu <sdl.web@gmail.com>
8274
8275 * net/eww.el (eww-read-bookmarks): Check file size.
8276
8277 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8280 advice--pending if newdef is nil or an autoload (bug#13820).
8281 (advice-mapc): New function.
8282
8283 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8284
8285 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8286 probably.
8287 (eww-mode-map): Add a menu bar.
8288 (eww-add-bookmark): New command.
8289 (eww-bookmark-mode): New mode and commands.
8290 (eww-add-bookmark): Remove newlines from the title.
8291 (eww-bookmark-browse): Don't bug out if it's the only window.
8292
8293 2013-06-26 Glenn Morris <rgm@gnu.org>
8294
8295 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8296 (hfy-size): Handle ttys. (Bug#14668)
8297
8298 * info-xref.el: Update for Texinfo 5 change in *note format.
8299 (info-xref-node-re, info-xref-note-re): New constants.
8300 (info-xref-check-buffer): Use info-xref-note-re.
8301
8302 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8305
8306 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8307 nil terminate the loop (bug#14718).
8308
8309 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8310
8311 * net/eww.el: Rework history traversal. When going forward/back,
8312 put these actions into the history, too, so that they can be
8313 replayed.
8314 (eww-render): Move the history reset to the correct buffer.
8315
8316 2013-06-25 Juri Linkov <juri@jurta.org>
8317
8318 * files-x.el (modify-dir-local-variable): Change the header comment
8319 in the file with directory local variables. (Bug#14692)
8320
8321 * files-x.el (read-file-local-variable-value): Add `default'.
8322 (Bug#14710)
8323
8324 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8325
8326 * net/eww.el (eww-make-unique-file-name): Create a unique file
8327 name before saving to entering `y' accidentally asynchronously.
8328
8329 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8330
8331 * net/eww.el (eww-download): New command and keystroke.
8332
8333 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8334
8335 * net/eww.el (eww-copy-page-url): Change name of command.
8336
8337 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8338 be more consistent with Info and dired.
8339
8340 * net/eww.el (eww-mode-map): Ditto.
8341
8342 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8345 packages from archives.
8346 (package-archive-contents): Change format; include obsolete packages.
8347 (package-desc): Use `dir' to mark builtin packages.
8348 (package--from-builtin): Set the `dir' field to `builtin'.
8349 (generated-autoload-file, version-control): Declare.
8350 (package-compute-transaction): Change first arg and return value to be
8351 lists of package-descs. Adjust to new package-archive-contents format.
8352 (package--add-to-archive-contents): Adjust to new
8353 package-archive-contents format.
8354 (package-download-transaction): Arg is now a list of package-descs.
8355 (package-install): If `pkg' is a package name, pass it as
8356 a requirement, so it is subject to the usual (e.g. disabled) checks.
8357 (describe-package): Accept package-desc as well.
8358 (describe-package-1): Describe a specific package-desc. Add links to
8359 other package-descs for the same package name.
8360 (package-menu-describe-package): Pass the actual package-desc.
8361 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8362 works correctly.
8363 (package-desc-status): New function.
8364 (package-menu--refresh): New function, extracted
8365 from package-menu--generate.
8366 (package-menu--generate): Use it.
8367 (package-delete): Update package-alist.
8368 (package-menu-execute): Don't call package-initialize.
8369
8370 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8371 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8372 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8373 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8374 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8375 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8376
8377 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8378
8379 * window.el (window--state-get-1): Workaround for bug#14527.
8380 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8381
8382 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8383
8384 * net/eww.el (eww-back-url): Implement the history by stashing all
8385 the data into a list.
8386 (eww-forward-url): Allow going forward in the history, too.
8387
8388 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8391 for values and use read--expression for expressions (bug#14710).
8392 (read-file-local-variable): Avoid setq.
8393 (read-file-local-variable-mode): Use minor-mode-list.
8394
8395 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8396
8397 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8398 for DOI URLs.
8399
8400 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8401
8402 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8403 Update imenu-support when dialect changes.
8404
8405 2013-06-25 Leo Liu <sdl.web@gmail.com>
8406
8407 * ido.el (ido-read-internal): Allow forward slash on windows.
8408
8409 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410
8411 * net/eww.el (eww): Start of strings is \\`, not ^.
8412
8413 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8414
8415 * net/shr.el (shr-browse-url): Fix interactive spec.
8416
8417 * net/eww.el (eww): Add a trailing slash to domain names.
8418
8419 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8422
8423 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8424
8425 * net/shr.el (shr-browse-url): Use an external browser if given a
8426 prefix.
8427
8428 * net/eww.el (eww-external-browser): Move to shr.
8429
8430 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8431
8432 * net/eww.el (eww): Work more correctly for file: URLs.
8433 (eww-detect-charset): Allow quoted charsets.
8434 (eww-yank-page-url): New command and keystroke.
8435
8436 2013-06-24 Daiki Ueno <ueno@gnu.org>
8437
8438 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8439 file name of gpg executable.
8440 (epg-context-program): New function.
8441 (epg-context-home-directory): New function.
8442 (epg-context-set-program): New function.
8443 (epg-context-set-home-directory): New function.
8444 (epg--start): Use `epg-context-program' instead of
8445 'epg-gpg-program'.
8446 (epg--list-keys-1): Likewise.
8447
8448 2013-06-24 Leo Liu <sdl.web@gmail.com>
8449
8450 * ido.el (ido-read-internal): Fix bug#14620.
8451
8452 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8453
8454 * faces.el (face-documentation): Simplify.
8455 (read-face-attribute, tty-find-type, x-resolve-font-name):
8456 Use `string-match-p'.
8457 (list-faces-display): Use `string-match-p'. Simplify.
8458 (face-spec-recalc): Check face to avoid face alias loops.
8459 (read-color): Use `string-match-p' and non-capturing parenthesis.
8460
8461 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8462
8463 * net/shr.el (shr-rescale-image): Use the new
8464 :max-width/:max-height functionality.
8465
8466 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8467
8468 * net/eww.el (eww-search-prefix): New variable.
8469 (eww): Use it.
8470 (eww-external-browser): New variable.
8471 (eww-mode-map): New keystroke.
8472 (eww-browse-with-external-browser): New command.
8473
8474 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8475
8476 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8477
8478 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8479 Don't skip aligning the next header field when padding is 0;
8480 otherwise, field width is not respected unless the title is as
8481 wide as the field.
8482
8483 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * emacs-lisp/package.el (package-el-version): Remove.
8486 (package-process-define-package): Fix inf-loop.
8487 (package-install): Allow symbols as arguments again.
8488
8489 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8490
8491 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8492 add some more keyword-like methods.
8493 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8494
8495 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8496
8497 * bs.el (bs-buffer-show-mark): Make defvar-local.
8498 (bs-mode): Use setq-local.
8499
8500 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8501 (emacs-lock--try-unlocking): Make defvar-local.
8502
8503 2013-06-22 Glenn Morris <rgm@gnu.org>
8504
8505 * play/cookie1.el (cookie-apropos): Minor simplification.
8506
8507 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8508
8509 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8510
8511 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8512 `regexp-opt', it breaks the build during dumping.
8513
8514 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8515
8516 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8517 Highlight keyword-like methods on Kernel and Module with
8518 font-lock-builtin-face.
8519 (auto-mode-alist): Consolidate different entries into one regexp
8520 and add more *file-s.
8521
8522 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8523
8524 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8525
8526 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8527 (diary-entry): Use it in the action of this button type instead of
8528 diary-goto-entry.
8529
8530 * calendar/todo-mode.el: New version.
8531 (todo-add-category): Append new category to end of file and give
8532 it the highest number, instead of putting it at the beginning and
8533 giving it 0. Incorporate noninteractive functionality.
8534 (todo-forward-category): Adapt to 1-based category numbering.
8535 Allow skipping over archived categories.
8536 (todo-backward-category): Derive from todo-forward-category.
8537 (todo-backward-item, todo-forward-item): Make noninteractive and
8538 delegate interactive part to new commands. Make sensitive to done items.
8539 (todo-categories): Make value an alist of category names and
8540 vectors of item counts.
8541 (todo-category-beg): Make a defconst.
8542 (todo-category-number): Use 1 instead of 0 as initial value.
8543 (todo-category-select): Make sensitive to overlays, optional item
8544 highlighting and done items.
8545 (todo-delete-item): Make sensitive to overlays and marked and done items.
8546 (todo-edit-item): Make sensitive to overlays and editing of
8547 date/time header optional. Add format checks.
8548 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8549 no-op if point is not on an item. Advertise using todo-edit-quit.
8550 (todo-edit-mode): Make sensitive to new format, font-locking, and
8551 multiple todo files.
8552 (todo-insert-item, todo-insert-item-here): Derive from
8553 todo-basic-insert-item and extend functionality.
8554 (todo-item-end, todo-item-start): Make sensitive to done items.
8555 (todo-item-string): Don't return text properties. Restore point.
8556 (todo-jump-to-category): Make sensitive to multiple todo files and
8557 todo archives. Use extended category completion.
8558 (todo-lower-item, todo-raise-item): Rename to *-priority and
8559 derive from todo-set-item-priority.
8560 (todo-mode): Derive from special-mode. Make sensitive to new
8561 format, font-locking and multiple todo files. Make read-only.
8562 (todo-mode-map): Don't suppress digit keys, so they can supply
8563 prefix arguments. Add many new key bindings.
8564 (todo-prefix): Insert as an overlay instead of file text.
8565 Change semantics from diary date expression to purely visual mark.
8566 (todo-print): Rename to todo-print-buffer. Make buffer display
8567 features printable. Remove option to restrict number of items
8568 printed. Add option to print to file.
8569 (todo-print-function): Rename to todo-print-buffer-function.
8570 (todo-quit): Extend to handle exiting new todo modes.
8571 (todo-remove-item): Make sensitive to overlays.
8572 (todo-save): Extend to buffers of filtered items.
8573 (todo-show): Make sensitive to done items, multiple todo files and
8574 new todo modes. Offer to convert legacy todo file before creating
8575 first new todo file.
8576 (todo-show-priorities): Rename to todo-top-priorities.
8577 Change semantics of value 0.
8578 (todo-top-priorities): Rename to todo-filter-top-priorities,
8579 derive from todo-filter-items and extend functionality.
8580 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8581 and extend functionality to other types of filtered items.
8582 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8583 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8584 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8585 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8586 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8587 (todo-edit-mode-hook, todo-entry-prefix-function)
8588 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8589 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8590 (todo-initials, todo-insert-threshold, todo-item-string-start)
8591 (todo-line-string, todo-menu, todo-mode-hook)
8592 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8593 (todo-print-priorities, todo-remove-separator)
8594 (todo-save-top-priorities-too, todo-string-count-lines)
8595 (todo-string-multiline-p, todo-time-string-format)
8596 (todo-tmp-buffer-name): Remove.
8597 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8598 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8599 (todo-edit-category-diary-inclusion)
8600 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8601 (todo-edit-file, todo-edit-item-date-day)
8602 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8603 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8604 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8605 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8606 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8607 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8608 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8609 (todo-filter-top-priorities-multifile, todo-find-archive)
8610 (todo-find-filtered-items-file, todo-go-to-source-item)
8611 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8612 (todo-jump-to-archive-category, todo-lower-category)
8613 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8614 (todo-move-category, todo-move-item, todo-next-button)
8615 (todo-next-item, todo-padded-string, todo-powerset)
8616 (todo-previous-button, todo-previous-item)
8617 (todo-print-buffer-to-file, todo-raise-category)
8618 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8619 (todo-set-category-number, todo-set-item-priority)
8620 (todo-set-top-priorities-in-category)
8621 (todo-set-top-priorities-in-file, todo-show-categories-table)
8622 (todo-sort-categories-alphabetically-or-numerically)
8623 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8624 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8625 (todo-toggle-item-header, todo-toggle-item-highlighting)
8626 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8627 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8628 (todo-unarchive-items, todo-unmark-category): New commands.
8629 (todo-absolute-file-name, todo-add-to-buffer-list)
8630 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8631 (todo-basic-insert-item, todo-category-completions)
8632 (todo-category-number, todo-category-string-matcher-1)
8633 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8634 (todo-check-format, todo-clear-matches)
8635 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8636 (todo-current-category, todo-date-string-matcher)
8637 (todo-define-insertion-command, todo-diary-expired-matcher)
8638 (todo-diary-goto-entry, todo-diary-item-p)
8639 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8640 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8641 (todo-done-item-section-p, todo-done-separator)
8642 (todo-done-string-matcher, todo-files, todo-filter-items)
8643 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8644 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8645 (todo-insert-category-line, todo-insert-item-from-calendar)
8646 (todo-insert-sort-button, todo-insert-with-overlays)
8647 (todo-insertion-command-name, todo-insertion-key-bindings)
8648 (todo-label-to-key, todo-longest-category-name-length)
8649 (todo-make-categories-list, todo-mode-external-set)
8650 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8651 (todo-modes-set-3, todo-multiple-filter-files)
8652 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8653 (todo-read-category, todo-read-date, todo-read-dayname)
8654 (todo-read-file-name, todo-read-time)
8655 (todo-reevaluate-category-completions-files-defcustom)
8656 (todo-reevaluate-default-file-defcustom)
8657 (todo-reevaluate-filelist-defcustoms)
8658 (todo-reevaluate-filter-files-defcustom)
8659 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8660 (todo-reset-done-separator, todo-reset-done-separator-string)
8661 (todo-reset-done-string, todo-reset-global-current-todo-file)
8662 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8663 (todo-reset-prefix, todo-set-categories)
8664 (todo-set-date-from-calendar, todo-set-show-current-file)
8665 (todo-set-top-priorities, todo-short-file-name)
8666 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8667 (todo-total-item-counts, todo-update-buffer-list)
8668 (todo-update-categories-display, todo-update-categories-sexp)
8669 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8670 New functions.
8671 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8672 New major modes.
8673 (todo-categories, todo-display, todo-edit, todo-faces)
8674 (todo-filtered): New defgroups.
8675 (todo-archived-only, todo-button, todo-category-string, todo-date)
8676 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8677 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8678 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8679 (todo-add-item-if-new-category, todo-always-add-time-string)
8680 (todo-categories-align, todo-categories-archived-label)
8681 (todo-categories-category-label, todo-categories-diary-label)
8682 (todo-categories-done-label, todo-categories-number-separator)
8683 (todo-categories-todo-label, todo-categories-totals-label)
8684 (todo-category-completions-files, todo-completion-ignore-case)
8685 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8686 (todo-done-separator-string, todo-done-string)
8687 (todo-files-function, todo-filter-done-items, todo-filter-files)
8688 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8689 (todo-initial-category, todo-initial-file, todo-item-mark)
8690 (todo-legacy-date-time-regexp, todo-mode-line-function)
8691 (todo-nondiary-marker, todo-number-prefix)
8692 (todo-print-buffer-function, todo-show-current-file)
8693 (todo-show-done-only, todo-show-first, todo-show-with-done)
8694 (todo-skip-archived-categories, todo-top-priorities-overrides)
8695 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8696 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8697 New defcustoms.
8698 (todo-category-done, todo-date-pattern, todo-date-string-start)
8699 (todo-diary-items-buffer, todo-done-string-start)
8700 (todo-filtered-items-buffer, todo-item-start)
8701 (todo-month-abbrev-array, todo-month-name-array)
8702 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8703 (todo-top-priorities-buffer): New defconsts.
8704 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8705 (todo-categories-with-marks, todo-category-string-face)
8706 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8707 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8708 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8709 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8710 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8711 (todo-font-lock-keywords, todo-global-current-todo-file)
8712 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8713 (todo-insertion-commands-args)
8714 (todo-insertion-commands-args-genlist)
8715 (todo-insertion-commands-names, todo-insertion-map)
8716 (todo-key-bindings-t, todo-key-bindings-t+a)
8717 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8718 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8719 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8720 (todo-visited): New variables.
8721
8722 2013-06-21 Glenn Morris <rgm@gnu.org>
8723
8724 * play/cookie1.el (cookie-apropos): Add optional display argument.
8725 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8726 (psychoanalyze-pinhead): Use cookie-doctor.
8727
8728 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8729
8730 * emacs-lisp/package.el (tar-get-file-descriptor)
8731 (tar--extract): Declare.
8732
8733 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8734
8735 Extend flymake's warning predicate to be a function (bug#14217).
8736 * progmodes/flymake.el (flymake-warning-predicate): New.
8737 (flymake-parse-line): Use it.
8738 (flymake-warning-re): Make obsolete alias to
8739 `flymake-warning-predicate'.
8740
8741 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8742
8743 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8744 (package-obsolete-list): Remove.
8745 (package-activate): Remove min-version argument. Add `force' argument.
8746 Adjust to new package-alist format.
8747 (package-mark-obsolete): Remove.
8748 (package-unpack): Force reload of the package's autoloads.
8749 (package-installed-p): Check builtins if the installed package is not
8750 recent enough.
8751 (package-initialize): Don't reset package-obsolete-list.
8752 Don't specify which package version to activate.
8753 (package-process-define-package, describe-package-1)
8754 (package-menu--generate): Adjust to new package-alist format.
8755
8756 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * allout-widgets.el (allout-widgets-mode-off)
8759 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8760 (allout-widgets-post-command-business)
8761 (allout-widgets-after-copy-or-kill-function)
8762 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8763 (allout-decorate-item-and-context)
8764 (allout-graphics-modification-handler): Fix typos in docstrings.
8765 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8766
8767 * cmuscheme.el (scheme-start-file): Doc fix.
8768 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8769 (scheme-input-filter): Use `string-match-p'.
8770
8771 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8772
8773 * dired-x.el: Use Dired consistently in docstrings.
8774
8775 * dired.el: Use Dired consistently in docstrings.
8776 (dired-readin, dired-mode): Use `setq-local'.
8777 (dired-switches-alist): Make defvar-local.
8778 (dired-buffers-for-dir): Use `zerop'.
8779 (dired-safe-switches-p, dired-switches-escape-p)
8780 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8781 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8782 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8783 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8784 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8785 (dired-toggle-marks, dired-mark-files-containing-regexp)
8786 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8787 (dired-flag-auto-save-files, dired-flag-backup-files):
8788 Use `looking-at-p'.
8789 (dired-mark-files-regexp, dired-build-subdir-alist):
8790 Use `string-match-p', `looking-at-p'.
8791
8792 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8793 (direct-print-region-helper): Use `string-match-p'.
8794
8795 2013-06-21 Leo Liu <sdl.web@gmail.com>
8796
8797 * comint.el (comint-redirect-results-list-from-process):
8798 Fix infinite loop.
8799
8800 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8801
8802 * net/eww.el (eww-update-header-line-format): Quote % characters.
8803
8804 2013-06-21 Glenn Morris <rgm@gnu.org>
8805
8806 * play/cookie1.el (cookie): New custom group.
8807 (cookie-file): New option.
8808 (cookie-check-file): New function.
8809 (cookie): Make it interactive. Make start and end messages optional.
8810 Interactively, display the result. Default to cookie-file.
8811 (cookie-insert): Default to cookie-file.
8812 (cookie-snarf): Make start and end messages optional.
8813 Default to cookie-file. Use with-temp-buffer.
8814 (cookie-read): Rename from read-cookie.
8815 Make start and end messages optional. Default to cookie-file.
8816 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8817 Do not autoload it.
8818 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8819 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8820
8821 2013-06-21 Leo Liu <sdl.web@gmail.com>
8822
8823 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8824
8825 2013-06-21 Glenn Morris <rgm@gnu.org>
8826
8827 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8828
8829 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8830 Daniel Hackney <dan@haxney.org>
8831
8832 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8833 Consolidate the single-file vs tarball code.
8834 (package-desc-suffix): New function.
8835 (package-desc-full-name): Don't bother inlining it.
8836 (package-load-descriptor): Return the new package-desc.
8837 (package-mark-obsolete): Remove unused arg `package'.
8838 (package-unpack): Make it work for single files as well.
8839 Make it update package-alist.
8840 (package--make-autoloads-and-stuff): Rename from
8841 package--make-autoloads-and-compile. Don't compile any more.
8842 (package--compile): New function.
8843 (package-generate-description-file): New function, extracted from
8844 package-unpack-single.
8845 (package-unpack-single): Remove.
8846 (package--with-work-buffer): Add indentation and debugging info.
8847 (package-download-single): Remove.
8848 (package-install-from-archive): Rename from package-download-tar, make
8849 it take a pkg-desc, and make it work for single files as well.
8850 (package-download-transaction): Simplify.
8851 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8852 external tar program.
8853 (package-install-from-buffer): Remove `pkg-desc' argument.
8854 Use package-tar-file-info for tar-mode buffers.
8855 (package-install-file): Simplify accordingly.
8856 (package-archive-base): Change to take a pkg-desc.
8857 * tar-mode.el (tar--check-descriptor): New function, extracted from
8858 tar-get-descriptor.
8859 (tar-get-descriptor): Use it.
8860 (tar-get-file-descriptor): New function.
8861 (tar--extract): New function, extracted from tar-extract.
8862 (tar--extract): Use it.
8863 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8864 case the summary uses non-ascii. Adjust to new calling convention of
8865 package-tar-file-info.
8866
8867 2013-06-21 Leo Liu <sdl.web@gmail.com>
8868
8869 * comint.el (comint-redirect-results-list-from-process):
8870 Fix random delay. (Bug#14681)
8871
8872 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8873
8874 * profiler.el (profiler-format-number): Use log, not log10.
8875
8876 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8877
8878 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8879
8880 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8883 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8884 yet available.
8885 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8886 (AUTOGENEL): ... here.
8887 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8888 (cl--defsubst-expand): Use it.
8889
8890 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8891
8892 * subr.el (log10): Move here from C code, and declare as obsolete.
8893 All uses of (log10 X) replaced with (log X 10).
8894
8895 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8898 Declare with `defvar-local'.
8899 (tabulated-list-use-header-line, tabulated-list-entries)
8900 (tabulated-list-padding, tabulated-list-printer)
8901 (tabulated-list-sort-key): Declare with `defvar-local'.
8902 (tabulated-list-init-header, tabulated-list-print-fake-header):
8903 Use `setq-local'.
8904
8905 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * arc-mode.el (archive-mode): Add `archive-write-file' to
8908 `write-contents-functions' also for remote files. (Bug#14652)
8909
8910 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * cus-edit.el (custom-commands): Fix typos.
8913 (custom-display): Fix tooltip text.
8914 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8915 Fix typos in docstrings.
8916 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8917 (custom-unlispify-menu-entry, custom-magic-value-create)
8918 (custom-add-see-also, custom-group-value-create): Use ?\s.
8919 (custom-guess-type, customize-apropos, editable-field)
8920 (custom-face-value-create): Use `string-match-p'.
8921 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8922
8923 * custom.el (custom-load-symbol): Use `string-match-p'.
8924
8925 * ansi-color.el: Convert to lexical binding.
8926 (ansi-colors): Fix URL.
8927 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8928 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8929 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8930
8931 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8932
8933 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8934
8935 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8936
8937 2013-06-19 Tom Tromey <tromey@redhat.com>
8938
8939 * net/eww.el (eww-top-url): Remove.
8940 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8941 (eww-render): Set new variables. Don't set eww-top-url.
8942 (eww-handle-link): Handle "prev", "home", and "contents".
8943 Downcase the rel text.
8944 (eww-top-url): Choose best top URL.
8945
8946 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8947
8948 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8949 relying in widget.el. Using widget.el leads to too many
8950 user interface inconsistencies.
8951 (eww-self-insert): Implement entering commands in text fields.
8952 (eww-process-text-input): New function to make text input field editing
8953 work.
8954 (eww-submit): Rewrite to use the new-style form methods.
8955 (eww-select-display): Display the correct selected item.
8956 (eww-change-select): Implement changing the select value.
8957 (eww-toggle-checkbox): Implement radio/checkboxes.
8958 (eww-update-field): Fix compilation error.
8959 (eww-tag-textarea): Implement <textarea>.
8960
8961 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8962 we don't shadow mode-specific bindings.
8963
8964 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8965 nothing to push.
8966
8967 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8968
8969 2013-06-19 Glenn Morris <rgm@gnu.org>
8970
8971 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8972
8973 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8976 not needed.
8977
8978 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8979
8980 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8981
8982 * net/browse-url.el (browse-url-browser-function):
8983 `eww-browse-url' has the right calling signature, `eww' does not.
8984
8985 2013-06-19 Glenn Morris <rgm@gnu.org>
8986
8987 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8988 Only eval autoloaded macros.
8989 (byte-compile-autoload): Only give the macro warning for macros.
8990
8991 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8992 (ps-underlined-faces): Declare.
8993
8994 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8995 (speedbar-add-supported-extension): Declare.
8996
8997 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8998 Don't include a date stamp in the header of the generated file;
8999 it leads to needless differences between output files.
9000
9001 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9002
9003 * net/secrets.el (secrets-struct-secret-content-type):
9004 Replace check of introspection data by a test call of "CreateItem".
9005 Some servers do not offer introspection.
9006
9007 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * electric.el (electric-pair-mode): Improve interaction with
9010 electric-layout-mode.
9011 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9012 (electric-pair-syntax): Use text-mode-syntax-table in comments
9013 and strings.
9014 (electric-pair--insert): New function.
9015 (electric-pair-post-self-insert-function): Use it and
9016 electric--after-char-pos.
9017
9018 2013-06-19 Leo Liu <sdl.web@gmail.com>
9019
9020 * progmodes/octave.el (octave-help): Fix regexp.
9021
9022 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9023
9024 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9025 (shr-table-horizontal-line): Allow nil as a value, and change the
9026 default.
9027 (shr-insert-table-ruler): Respect the nil value.
9028
9029 2013-06-18 Tom Tromey <tromey@barimba>
9030
9031 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9032 New defvars.
9033 (eww-open-file): New defun.
9034 (eww-render): Initialize new variables.
9035 (eww-display-html): Handle "link" and "a".
9036 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9037 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9038 (eww-back-url): Rename from eww-previous-url.
9039 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9040 New defuns.
9041
9042 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9043
9044 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9045 Distinguish ternary operator tokens from slash symbol and slash
9046 char literal.
9047
9048 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9049
9050 Convert symbol prettification into minor mode and global minor mode.
9051
9052 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9053 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9054 (prettify-symbols--keywords): Rename from
9055 `prog-prettify-symbols-alist' and make a local defvar.
9056 (prettify-symbols--compose-symbol): Rename from
9057 `prog--prettify-font-lock-compose-symbol'.
9058 (prettify-symbols--make-keywords): Rename from
9059 `prog-prettify-font-lock-symbols-keywords' and simplify.
9060 (prog-prettify-install): Remove.
9061 (prettify-symbols-mode): New minor mode, based on
9062 `prog-prettify-install'.
9063 (turn-on-prettify-symbols-mode): New function.
9064 (global-prettify-symbols-mode): New globalized minor mode.
9065
9066 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9067 * progmodes/cfengine.el (cfengine3-mode):
9068 * progmodes/perl-mode.el (perl-mode): Don't call
9069 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9070
9071 2013-06-18 Juri Linkov <juri@jurta.org>
9072
9073 * files-x.el (modify-file-local-variable-message): New function.
9074 (modify-file-local-variable)
9075 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9076 and call `modify-file-local-variable-message' when it's non-nil.
9077 (add-file-local-variable, delete-file-local-variable)
9078 (add-file-local-variable-prop-line)
9079 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9080 and use it. (Bug#9820)
9081
9082 2013-06-18 Juri Linkov <juri@jurta.org>
9083
9084 * emulation/vi.el (vi-shell-op):
9085 * emulation/vip.el (vip-execute-com, ex-command):
9086 * emulation/viper-cmd.el (viper-exec-bang):
9087 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9088 the call of `shell-command-on-region'. (Bug#14637)
9089
9090 * simple.el (shell-command-on-region): Doc fix.
9091
9092 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9095 (bug#14633).
9096
9097 2013-06-18 Glenn Morris <rgm@gnu.org>
9098
9099 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9100
9101 * newcomment.el (comment-search-forward, comment-search-backward):
9102 Doc fix. (Bug#14376)
9103
9104 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9105
9106 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9107 (buffer-face-mode-invoke): Doc fix.
9108
9109 2013-06-18 Matthias Meulien <orontee@gmail.com>
9110
9111 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9112 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9113
9114 2013-06-18 Glenn Morris <rgm@gnu.org>
9115
9116 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9117 Replace obsolete function generic-make-keywords with its expansion.
9118
9119 * progmodes/python.el (ffap-alist): Declare.
9120
9121 * textmodes/reftex.el (bibtex-mode-map): Declare.
9122
9123 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9124
9125 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9126 (package-unpack, package-unpack-single): Return the pkg-dir.
9127 (package-download-transaction): Use it to update package-alist.
9128
9129 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9130
9131 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9132 possible choice.
9133
9134 2013-06-17 Juri Linkov <juri@jurta.org>
9135
9136 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9137
9138 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9139
9140 * emacs-lisp/package.el (package-load-descriptor):
9141 Remove `with-syntax-table' call, `read' doesn't need it.
9142 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9143
9144 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9145
9146 * startup.el (command-line): Expand package name returned by
9147 `package--description-file' (bug#14639).
9148
9149 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9150
9151 * emacs-lisp/package.el (package-load-descriptor): Do not call
9152 `emacs-lisp-mode', just use its syntax table.
9153
9154 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9155
9156 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9157 `font-lock-extra-managed-props' if any prettifying keyword is added.
9158 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9159 (prog-mode): Use `setq-local'.
9160
9161 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * international/characters.el (standard-case-table): Set syntax of ?»
9164 and ?« to punctuation.
9165
9166 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9167
9168 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9169 Save relevant match data before calling `syntax-ppss' (bug#14595).
9170
9171 2013-06-15 Juri Linkov <juri@jurta.org>
9172
9173 * files-x.el (modify-file-local-variable-prop-line): Add local
9174 variables to the end of the existing comment on the first line.
9175 Use `file-auto-mode-skip' to skip interpreter magic line,
9176 and also skip XML declaration.
9177
9178 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9179
9180 * startup.el (package--builtin-versions): New var.
9181 (package-subdirectory-regexp): Remove.
9182 (package--description-file): Hard code its value instead.
9183
9184 * emacs-lisp/package.el: Don't activate packages older than builtin.
9185 (package-obsolete-list): Rename from package-obsolete-alist, and make
9186 it into a simple list of package-desc.
9187 (package-strip-version): Remove.
9188 (package-built-in-p): Use package--builtin-versions.
9189 (package-mark-obsolete): Simplify.
9190 (package-process-define-package): Mark it obsolete if older than the
9191 builtin version.
9192 (package-handle-response): Use line-end-position.
9193 (package-read-archive-contents, package--download-one-archive):
9194 Simplify.
9195 (package--add-to-archive-contents): Skip if older than the builtin or
9196 installed version.
9197 (package-menu-describe-package): Fix last change.
9198 (package-list-unversioned): New var.
9199 (package-menu--generate): Use it.
9200
9201 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9202 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9203 (autoload-builtin-package-versions): New variable.
9204 (autoload-generate-file-autoloads): Use them.
9205 Remove the list of autoloaded functions/macros from the
9206 (autoload...) comments.
9207
9208 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9209
9210 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9211
9212 * simple.el (line-move-partial): Don't jump to the next screen
9213 line as soon as it becomes visible. Instead, continue enlarging
9214 the vscroll until the portion of a tall screen line that's left on
9215 display is about the height of the frame's default font.
9216 (Bug#14567)
9217
9218 2013-06-15 Glenn Morris <rgm@gnu.org>
9219
9220 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9221 compilation-error-regexp-alist void, or local while let-bound.
9222
9223 * progmodes/make-mode.el (makefile-mode-syntax-table):
9224 Treat "=" as punctuation. (Bug#14614)
9225
9226 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9227
9228 * help-fns.el (describe-variable):
9229 Add extra line for permanent-local variables.
9230
9231 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9232
9233 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9234 Add export, import, library. (Bug#9164)
9235 (library): Set indent function.
9236
9237 2013-06-14 Glenn Morris <rgm@gnu.org>
9238
9239 * term/xterm.el (xterm--query):
9240 Stop after first matching handler. (Bug#14615)
9241
9242 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9243
9244 Add support for dired in saveplace.
9245 * dired.el (dired-initial-position-hook): New variable.
9246 (dired-initial-position): Call hook to place cursor position.
9247 * saveplace.el (save-place-to-alist): Add dired position.
9248 (save-place-dired-hook): New function.
9249
9250 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9253 through a symbol rather than letrec.
9254
9255 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9256 (package-desc): Add `dir' field.
9257 (package-desc-full-name): New function.
9258 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9259 (package-maybe-load-descriptor): Remove.
9260 (package-load-all-descriptors): Just call package-load-descriptor.
9261 (package--disabled-p): New function.
9262 (package-desc-vers, package-desc-doc): Remove aliases.
9263 (package--dir): Remove function.
9264 (package-activate): Check if a package is disabled.
9265 (package-process-define-package): New function, extracted from
9266 define-package.
9267 (define-package): Turn into a place holder.
9268 (package-unpack-single, package-tar-file-info):
9269 Use package--description-file.
9270 (package-compute-transaction): Use package--disabled-p.
9271 (package-download-transaction): Don't call
9272 package-maybe-load-descriptor since they're all loaded anyway.
9273 (package-install): Change argument to be a pkg-desc.
9274 (package-delete): Use a single pkg-desc argument.
9275 (describe-package-1): Use package-desc-dir instead of package--dir.
9276 Use package-desc property instead of package-symbol.
9277 (package-install-button-action): Adjust accordingly.
9278 (package--push): Rewrite.
9279 (package-menu--print-info): Adjust accordingly. Change the ID format
9280 to be a pkg-desc.
9281 (package-menu-describe-package, package-menu-get-status)
9282 (package-menu--find-upgrades, package-menu-mark-upgrades)
9283 (package-menu-execute, package-menu--name-predicate):
9284 Adjust accordingly.
9285 * startup.el (package--description-file): New function.
9286 (command-line): Use it.
9287 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9288 Use package-desc-version.
9289
9290 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9291 (byte-compile-preprocess): Use it.
9292 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9293 can't quite recognize.
9294 (byte-compile-add-to-list): Remove.
9295 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9296 (cconv-closure-convert): Add assertion.
9297
9298 * emacs-lisp/map-ynp.el: Use lexical-binding.
9299 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9300 Factor out some repeated code.
9301
9302 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * subr.el (with-eval-after-load): New macro.
9305 (eval-after-load): Allow form to be a function.
9306 take advantage of lexical-binding.
9307 (do-after-load-evaluation): Use dolist and adjust to new format.
9308 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9309
9310 2013-06-13 Juri Linkov <juri@jurta.org>
9311
9312 * replace.el (perform-replace): Display "symbol " and other search
9313 modes from `isearch-message-prefix' in the *Help* buffer.
9314
9315 * isearch.el (isearch-query-replace): Add " symbol" and other
9316 possible search modes from `isearch-message-prefix' to the prompt.
9317 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9318 when reading a regexp to collect.
9319
9320 2013-06-13 Juri Linkov <juri@jurta.org>
9321
9322 * isearch.el (word-search-regexp): Match whitespace if the search
9323 string begins or ends in whitespace. The LAX arg is applied to
9324 both ends of the search string. Use `regexp-quote' and explicit
9325 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9326 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9327 boundaries are replaced with symbol boundaries, and characters
9328 between symbols match non-word non-symbol syntax. (Bug#14602)
9329
9330 2013-06-13 Juri Linkov <juri@jurta.org>
9331
9332 * isearch.el (isearch-del-char): Don't exceed the length of
9333 `isearch-string' by the prefix arg. (Bug#14563)
9334
9335 2013-06-13 Juri Linkov <juri@jurta.org>
9336
9337 * isearch.el (isearch-yank-word, isearch-yank-line)
9338 (isearch-char-by-name, isearch-quote-char)
9339 (isearch-printing-char, isearch-process-search-char):
9340 Add optional count prefix arg. (Bug#14563)
9341
9342 * international/isearch-x.el
9343 (isearch-process-search-multibyte-characters):
9344 Add optional count prefix arg.
9345
9346 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9347
9348 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9349 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9350 lexical-binding.
9351
9352 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9353
9354 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9355
9356 2013-06-13 Glenn Morris <rgm@gnu.org>
9357
9358 * startup.el (tty-handle-args):
9359 Don't just discard "--" and anything after. (Bug#14608)
9360
9361 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9362
9363 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9364
9365 Implement changes in Secret Service API. Make it backward compatible.
9366 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9367 (secrets-create-item): Use it. Prefix properties with interface.
9368
9369 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9370
9371 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9372 (term-emulate-terminal): Respect term-suppress-hard-newline.
9373
9374 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9375
9376 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9377 Only remove a `thumb-file' overlay. (Bug#14548)
9378
9379 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9380
9381 * mail/reporter.el (reporter-submit-bug-report):
9382 Handle missing package-name. (Bug#14600)
9383
9384 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9385
9386 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9387 (reftex-citation-prompt, reftex-default-bibliography)
9388 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9389 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9390 (reftex-bib-sort-author, reftex-bib-sort-year)
9391 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9392 (reftex-extract-bib-entries-from-thebibliography)
9393 (reftex-get-bibkey-default, reftex-get-bib-names)
9394 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9395 (reftex-format-bib-entry, reftex-parse-bibitem)
9396 (reftex-format-bibitem, reftex-do-citation)
9397 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9398 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9399 (reftex-insert-bib-matches, reftex-format-citation)
9400 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9401 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9402 existing comments into docstrings.
9403
9404 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9405
9406 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9407
9408 2013-06-12 Andreas Schwab <schwab@suse.de>
9409
9410 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9411 for auto-save files.
9412
9413 2013-06-12 Glenn Morris <rgm@gnu.org>
9414
9415 * ido.el (ido-delete-ignored-files): Remove.
9416 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9417 Go back to calling ido-ignore-item-p directly.
9418
9419 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9420
9421 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9422
9423 * ido.el (ido-delete-ignored-files): New function,
9424 split from ido-make-file-list-1.
9425 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9426 (ido-make-file-list-1): Use ido-delete-ignored-files.
9427
9428 2013-06-12 Leo Liu <sdl.web@gmail.com>
9429
9430 * progmodes/octave.el (inferior-octave-startup)
9431 (inferior-octave-completion-table)
9432 (inferior-octave-track-window-width-change)
9433 (octave-eldoc-function-signatures, octave-help)
9434 (octave-find-definition): Use single quoted strings.
9435 (inferior-octave-startup-args): Change default value.
9436 (inferior-octave-startup): Do not hard code "-i" and
9437 "--no-line-editing".
9438 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9439 (inferior-octave-directory-tracker): Use it.
9440 (octave-goto-function-definition): Robustify.
9441 (octave-help): Support highlighting operators in 'See also'.
9442 (octave-find-definition): Find subfunctions only in Octave mode.
9443
9444 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * help-fns.el (help-fns--compiler-macro): If the handler function is
9447 named, then put a link to it.
9448 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9449 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9450 (cl-typep): Use it.
9451 (cl-eval-when): Simplify debug spec.
9452 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9453 compiler-macro function instead of setting `compiler-macro-file'.
9454
9455 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9456
9457 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9458 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9459
9460 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9461 Daniel Hackney <dan@haxney.org>
9462
9463 First part of Daniel Hackney's patch to package.el.
9464 * emacs-lisp/package.el: Use defstruct.
9465 (package-desc): New, main struct.
9466 (package--bi-desc, package--ac-desc): New structs, used to describe the
9467 format in external files.
9468 (package-desc-vers): Replace with package-desc-version accessor.
9469 (package-desc-doc): Replace with package-desc-summary accessor.
9470 (package-activate-1): Remove `package' arg since the pkg-vec now
9471 includes the name.
9472 (define-package): Use package-desc-from-define.
9473 (package-unpack-single): Change file-name arg to be a symbol.
9474 (package--add-to-archive-contents): Use package-desc-create and new
9475 accessor functions to package--ac-desc.
9476 (package-buffer-info, package-tar-file-info): Return a package-desc.
9477 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9478 arg to be a package-desc.
9479 (package-install-file): Adjust accordingly. Use \' to match EOS.
9480 (package--from-builtin): New function.
9481 (describe-package-1, package-menu--generate): Use it.
9482 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9483 (package-generate-autoloads): Idem and return the name of the file.
9484 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9485 Change pkg-info arg to be a package-desc.
9486 Use package-make-ac-desc.
9487 (package-upload-file): Use \' to match EOS.
9488 * finder.el (finder-compile-keywords): Use package-make-builtin.
9489
9490 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * vc/vc.el (vc-deduce-fileset): Change error message.
9493 (vc-read-backend): New function.
9494 (vc-next-action): Use it.
9495
9496 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9497
9498 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9499 (prolog-font-lock-keywords): Use regexp-opt instead.
9500 Don't manually highlight strings.
9501 (prolog-mode-variables): Simplify comment-start-skip.
9502 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9503
9504 * emacs-lisp/generic.el (generic--normalise-comments)
9505 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9506 (generic-mode-set-comments): Use them.
9507 (generic-bracket-support): Use setq-local.
9508 (generic-make-keywords-list): Declare obsolete.
9509
9510 2013-06-11 Glenn Morris <rgm@gnu.org>
9511
9512 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9513 Prettify after setting font-lock-defaults. (Bug#14574)
9514
9515 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9516
9517 * replace.el (query-replace, occur-read-regexp-defaults-function)
9518 (replace-search):
9519 * subr.el (declare-function, number-sequence, local-set-key)
9520 (substitute-key-definition, locate-user-emacs-file)
9521 (with-silent-modifications, split-string, eval-after-load):
9522 Fix typos, remove unneeded backslashes and reflow some docstrings.
9523
9524 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9525
9526 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9527 default for Elisp files.
9528
9529 2013-06-11 Glenn Morris <rgm@gnu.org>
9530
9531 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9532 although define-derived-mode was doing this anyway. (Bug#14583)
9533
9534 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9535
9536 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9537 Fix make-variable-buffer-local call to refer to the correct variable.
9538
9539 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9540
9541 * eshell/em-term.el (eshell-visual-commands)
9542 (eshell-visual-subcommands, eshell-visual-options):
9543 Add summary line to docstrings. Add cross-references.
9544
9545 2013-06-10 Glenn Morris <rgm@gnu.org>
9546
9547 * epa.el (epa-read-file-name): New function. (Bug#14510)
9548 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9549
9550 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9551
9552 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9553 output redirection to be ignored with visual commands.
9554
9555 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9556
9557 * eshell/em-term.el (eshell-visual-command-p): New function.
9558 (eshell-term-initialize): Move long lambda to separate function
9559 eshell-visual-command-p.
9560 * eshell/em-dirs.el (eshell-dirs-initialise):
9561 * eshell/em-script.el (eshell-script-initialize):
9562 Add missing #' to lambda.
9563
9564 2013-06-08 Leo Liu <sdl.web@gmail.com>
9565
9566 * progmodes/octave.el (octave-add-log-current-defun): New function.
9567 (octave-mode): Set add-log-current-defun-function.
9568 (octave-goto-function-definition): Do not move point if not found.
9569 (octave-find-definition): Enhance to try subfunctions first.
9570
9571 2013-06-08 Glenn Morris <rgm@gnu.org>
9572
9573 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9574 (byte-compile-backward-char, byte-compile-backward-word):
9575 Improve previous change, to handle non-explicit nil.
9576
9577 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9578
9579 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9580 (smie--opener/closer-at-point): New function.
9581 (smie--matching-block-data): Use it. Don't match from right after an
9582 opener or right before a closer. Obey smie-blink-matching-inners.
9583 Don't signal a mismatch for repeated inners like "switch..case..case".
9584
9585 2013-06-07 Leo Liu <sdl.web@gmail.com>
9586
9587 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9588 to t. (Bug#14303)
9589 (octave-function-header-regexp): Fix. (Bug#14570)
9590 (octave-help-mode-finish-hook, octave-help-mode-finish):
9591 Remove. Just use temp-buffer-show-hook.
9592
9593 * newcomment.el (comment-search-backward): Revert last change.
9594 (Bug#14434)
9595
9596 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9597
9598 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9599
9600 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9601 through xargs, to avoid failure due to MS-Windows limitations on
9602 command-line length.
9603
9604 2013-06-06 Glenn Morris <rgm@gnu.org>
9605
9606 * font-lock.el (lisp-font-lock-keywords-2):
9607 Treat user-error like error.
9608
9609 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9610 (byte-compile-backward-char, byte-compile-backward-word):
9611 Handle explicit nil arguments. (Bug#14565)
9612
9613 2013-06-05 Alan Mackenzie <acm@muc.de>
9614
9615 * isearch.el (isearch-allow-prefix): New user option.
9616 (isearch-other-meta-char): Don't exit isearch when a prefix
9617 argument is typed whilst `isearch-allow-prefix' is non-nil.
9618 (Bug#9706)
9619
9620 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9621
9622 * autorevert.el (auto-revert-notify-handler): Use memq.
9623 Hide assertion failure.
9624
9625 * skeleton.el: Use cl-lib.
9626 (skeleton-further-elements): Use defvar-local.
9627 (skeleton-insert): Use cl-progv.
9628
9629 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9630
9631 * progmodes/prog-mode.el (prog-prettify-symbols)
9632 (prog-prettify-install): Update docstrings.
9633
9634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9635
9636 * simple.el: Move all the prog-mode code to prog-mode.el.
9637 * progmodes/prog-mode.el: New file.
9638 * loadup.el: Add prog-mode.el.
9639
9640 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9641
9642 * simple.el (prog-prettify-symbols): Add version.
9643 (prog-prettify-install): Add convenience function to prettify symbols.
9644
9645 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9646 (perl--augmented-font-lock-keywords-1)
9647 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9648 variables and use it.
9649
9650 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9651 (cfengine3-mode): Remove unneeded variable and use it.
9652
9653 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9654 (lisp--augmented-font-lock-keywords-1)
9655 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9656 Remove unneeded variables and use it.
9657
9658 2013-06-05 João Távora <joaotavora@gmail.com>
9659
9660 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9661 to point when opening the connection. (Bug#14380)
9662
9663 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9664
9665 * subr.el (load-history-regexp, load-history-filename-element)
9666 (eval-after-load, after-load-functions, do-after-load-evaluation)
9667 (eval-next-after-load, display-delayed-warnings)
9668 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9669 definition of save-match-data.
9670 (overriding-local-map): Remove accidental obsolescence declaration.
9671
9672 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9673
9674 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9675
9676 Generalize symbol prettify support to prog-mode and implement it
9677 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9678 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9679 (prog--prettify-font-lock-compose-symbol)
9680 (prog-prettify-font-lock-symbols-keywords): New variables and
9681 functions to support symbol prettification.
9682 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9683 (lisp--augmented-font-lock-keywords-1)
9684 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9685 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9686 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9687 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9688 Implement prettify of -> => :: strings.
9689 * progmodes/perl-mode.el (perl-prettify-symbols)
9690 (perl--font-lock-compose-symbol)
9691 (perl--font-lock-symbols-keywords): Move to prog-mode.
9692 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9693 (perl-font-lock-keywords-1)
9694 (perl-font-lock-keywords-2): Remove explicit prettify support.
9695 (perl--augmented-font-lock-keywords)
9696 (perl--augmented-font-lock-keywords-1)
9697 (perl--augmented-font-lock-keywords-2, perl-mode):
9698 Implement prettify support.
9699
9700 2013-06-05 Leo Liu <sdl.web@gmail.com>
9701
9702 Re-implement smie matching block highlight using
9703 show-paren-data-function. (Bug#14395)
9704 * emacs-lisp/smie.el (smie-matching-block-highlight)
9705 (smie--highlight-matching-block-overlay)
9706 (smie--highlight-matching-block-lastpos)
9707 (smie-highlight-matching-block)
9708 (smie-highlight-matching-block-mode): Remove.
9709 (smie--matching-block-data-cache): New variable.
9710 (smie--matching-block-data): New function.
9711 (smie-setup): Use smie--matching-block-data for
9712 show-paren-data-function.
9713
9714 * progmodes/octave.el (octave-mode-menu): Fix.
9715 (octave-find-definition): Skip garbage lines.
9716
9717 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 Fix compilation error with simultaneous dynamic+lexical scoping.
9720 Add warning when a defvar appears after the first let-binding.
9721 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9722 (byte-compile-close-variables): Initialize it.
9723 (byte-compile--declare-var): New function.
9724 (byte-compile-file-form-defvar)
9725 (byte-compile-file-form-define-abbrev-table)
9726 (byte-compile-file-form-custom-declare-variable): Use it.
9727 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9728 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9729 (byte-compile-bind): Handle dynamic bindings that shadow
9730 lexical bindings.
9731 (byte-compile-unbind): Make arg non-optional.
9732 (byte-compile-let): Simplify.
9733 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9734 (cconv--analyse-function, cconv-analyse-form): Populate it.
9735 Protect byte-compile-bound-variables to limit the scope of defvars.
9736 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9737 Remove unneeded rule for `declare'.
9738
9739 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9740 so as to avoid depending on cl-adjoin at run-time.
9741 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9742
9743 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9744 (macroexp--warn-and-return): Use it.
9745
9746 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9747
9748 * subr.el: Convert to lexical binding.
9749 (overriding-local-map): Make obsolete.
9750 (add-to-list): Doc fix. Add compiler macro.
9751 (read-key): Swap values of local maps.
9752
9753 2013-06-05 Leo Liu <sdl.web@gmail.com>
9754
9755 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9756
9757 2013-06-04 Leo Liu <sdl.web@gmail.com>
9758
9759 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9760 (compilation-auto-jump): Suppress the "Mark set" message to give
9761 way to exit message.
9762
9763 2013-06-04 Alan Mackenzie <acm@muc.de>
9764
9765 Remove faulty optimisation from indentation calculation.
9766 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9767 search limit based on 2000 characters back from indent-point.
9768
9769 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9770
9771 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9772
9773 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9774
9775 * emacs-lisp/lisp.el: Use lexical-binding.
9776 (lisp--local-variables-1, lisp--local-variables): New functions.
9777 (lisp--local-variables-completion-table): New var.
9778 (lisp-completion-at-point): Use it complete let-bound vars.
9779
9780 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9781 eagerly (bug#14422).
9782
9783 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9784
9785 * autorevert.el (auto-revert-notify-enabled)
9786 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9787 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9788 (auto-revert-notify-handler): Handle also gfilenotify.
9789
9790 * subr.el (file-notify-handle-event): New defun. Replacing ...
9791 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9792 Remove.
9793
9794 2013-06-03 Juri Linkov <juri@jurta.org>
9795
9796 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9797 `M-s h .'. (Bug#14427)
9798
9799 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9800 command `hi-lock-face-symbol-at-point'.
9801 (hi-lock-face-symbol-at-point): New command.
9802 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9803 (hi-lock-menu): Add `highlight-symbol-at-point'.
9804 (hi-lock-mode): Doc fix.
9805
9806 * isearch.el (isearch-forward-symbol-at-point): New command.
9807 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9808 (isearch-highlight-regexp): Add a regexp which matches
9809 words/symbols for word/symbol mode.
9810
9811 * subr.el (find-tag-default-bounds): New function with the body
9812 mostly moved from `find-tag-default'.
9813 (find-tag-default): Move most code to `find-tag-default-bounds',
9814 call it and apply `buffer-substring-no-properties' afterwards.
9815
9816 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9817
9818 * eshell/em-term.el (eshell-term-initialize):
9819 Use `cl-intersection' rather than `intersection'.
9820
9821 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9822
9823 * vc/log-view.el: Doc fix.
9824 (log-view-mode-map): Copy keymap from `special-mode-map'.
9825
9826 2013-06-02 Eric Ludlam <zappo@gnu.org>
9827
9828 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9829 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9830 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9831 (eieio-unbound, eieio-default-superclass)
9832 (eieio--define-field-accessors, method-static, method-before)
9833 (method-primary, method-after, method-num-lists)
9834 (method-generic-before, method-generic-primary)
9835 (method-generic-after, method-num-slots)
9836 (eieio-specialized-key-to-generic-key)
9837 (eieio--check-type, class-v, class-p)
9838 (eieio-class-name, define-obsolete-function-alias)
9839 (eieio-class-parents-fast, eieio-class-children-fast)
9840 (same-class-fast-p, class-constructor, generic-p)
9841 (generic-primary-only-p, generic-primary-only-one-p)
9842 (class-option-assoc, class-option, eieio-object-p)
9843 (class-abstract-p, class-method-invocation-order)
9844 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9845 (eieio-class-un-autoload, eieio-defclass)
9846 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9847 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9848 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9849 (eieio-defgeneric-reset-generic-form)
9850 (eieio-defgeneric-form-primary-only)
9851 (eieio-defgeneric-reset-generic-form-primary-only)
9852 (eieio-defgeneric-form-primary-only-one)
9853 (eieio-defgeneric-reset-generic-form-primary-only-one)
9854 (eieio-unbind-method-implementations)
9855 (eieio--defmethod, eieio--typep)
9856 (eieio-perform-slot-validation, eieio-validate-slot-value)
9857 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9858 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9859 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9860 (eieio-slot-name-index, eieio-class-slot-name-index)
9861 (eieio-set-defaults, eieio-initarg-to-attribute)
9862 (eieio-attribute-to-initarg, eieio-c3-candidate)
9863 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9864 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9865 (eieio-class-precedence-list, eieio-generic-call-methodname)
9866 (eieio-generic-call-arglst, eieio-generic-call-key)
9867 (eieio-generic-call-next-method-list)
9868 (eieio-pre-method-execution-functions, eieio-generic-call)
9869 (eieio-generic-call-primary-only, eieiomt-method-list)
9870 (eieiomt-optimizing-obarray, eieiomt-install)
9871 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9872 (eieio-generic-form, eieio-defmethod, make-obsolete)
9873 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9874 (defclass): Remove `eval-and-compile' from macro.
9875 (call-next-method, shared-initialize): Instead of using
9876 `scoped-class' variable, use new eieio--scoped-class, and
9877 eieio--with-scoped-class.
9878 (initialize-instance): Rename local variable 'scoped-class' to
9879 'this-class' to remove ambiguitity from old global.
9880
9881 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9882 eieio.el.
9883 (eieio--scoped-class-stack): New variable.
9884 (eieio--scoped-class): New fcn.
9885 (eieio--with-scoped-class): New scoping macro.
9886 (eieio-defclass): Use pushnew instead of add-to-list.
9887 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9888 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9889 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9890 `scoped-class' variable, use new eieio--scoped-class, and
9891 eieio--with-scoped-class.
9892
9893 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9894
9895 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9896
9897 * eshell/esh-ext.el (eshell-external-command): Pass args to
9898 `eshell-find-interpreter'.
9899 (eshell-find-interpreter): Add new second parameter ARGS.
9900
9901 * eshell/em-script.el (eshell-script-initialize): Add second arg
9902 to the function added as MATCH to `eshell-interpreter-alist'.
9903
9904 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9905 the function added as MATCH to `eshell-interpreter-alist'.
9906
9907 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9908 (eshell-visual-options): New defcustom.
9909 (eshell-escape-control-x): Adapt docstring.
9910 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9911 `eshell-visual-options' in addition to `eshell-visual-commands'.
9912 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9913
9914 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9915
9916 * progmodes/python.el (python-indent-block-enders): Add break,
9917 continue and raise keywords.
9918
9919 2013-06-01 Glenn Morris <rgm@gnu.org>
9920
9921 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9922
9923 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9924 * progmodes/cc-cmds.el (delete-forward-p):
9925 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9926 * progmodes/cc-engine.el (buffer-syntactic-context):
9927 * progmodes/cc-fonts.el (face-property-instance):
9928 * progmodes/cc-mode.el (set-keymap-parents):
9929 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9930 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9931 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9932 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9933 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9934
9935 * progmodes/cc-vars.el (other): Emacs has this widget since
9936 at least 21.1, so don't (re)define it.
9937
9938 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9939 Replace the obsolete alias pcomplete-arg-quote-list.
9940
9941 2013-06-01 Leo Liu <sdl.web@gmail.com>
9942
9943 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9944 punctuation syntax.
9945 (inferior-octave-minimal-columns)
9946 (inferior-octave-last-column-width): New variables.
9947 (inferior-octave-track-window-width-change): New function.
9948 (inferior-octave-mode): Adjust column width so that Octave output,
9949 for example from 'ls', can fit into the window nicely.
9950
9951 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9952
9953 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9954 Highlight expansions inside regexp literals.
9955
9956 2013-05-31 Glenn Morris <rgm@gnu.org>
9957
9958 * obsolete/sym-comp.el (symbol-complete):
9959 Replace obsolete completion-annotate-function.
9960
9961 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9962
9963 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9964
9965 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9966 New function, checks if point is inside a literal that allows
9967 expression expansion.
9968 (ruby-syntax-propertize-expansion): Use it.
9969 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9970 around the body.
9971
9972 2013-05-30 Juri Linkov <juri@jurta.org>
9973
9974 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9975 to "\M-si".
9976 (isearch-invisible): New variable.
9977 (isearch-forward): Doc fix.
9978 (isearch-mode): Set `isearch-invisible'
9979 to the value of `search-invisible'.
9980 (isearch-toggle-case-fold): Doc fix.
9981 (isearch-toggle-invisible): New command.
9982 (isearch-query-replace): Let-bind `search-invisible'
9983 to the value of `isearch-invisible'.
9984 (isearch-search): Use `isearch-invisible' instead of
9985 `search-invisible'. Let-bind `search-invisible'
9986 to the value of `isearch-invisible'. (Bug#11378)
9987
9988 2013-05-30 Juri Linkov <juri@jurta.org>
9989
9990 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9991 call when `query-flag' is nil and `search-invisible' is non-nil.
9992 (Bug#11746)
9993
9994 2013-05-30 Glenn Morris <rgm@gnu.org>
9995
9996 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9997
9998 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9999 (cc-require): Suppress spurious "noruntime" warnings.
10000 (cc-require-when-compile): Use fboundp, for sake of compiler.
10001
10002 * progmodes/cc-mode.el: Move load of cc-vars before that of
10003 cc-langs (which in turn loads cc-vars), to quieten compiler.
10004
10005 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * paren.el: Simplify the code.
10008 (show-paren-mode): Always start the timer.
10009 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10010 (show-paren--overlay, show-paren--overlay-1): Rename from
10011 show-paren-overlay and show-paren-overlay-1, and initialize to an
10012 overlay rather than to nil.
10013 (show-paren-function): Misc cleanup and simplifications.
10014
10015 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10016
10017 * paren.el (show-paren-data-function): New hook.
10018 (show-paren--default): New function, extracted from show-paren-function.
10019 (show-paren-function): Use show-paren-data-function.
10020
10021 2013-05-30 Glenn Morris <rgm@gnu.org>
10022
10023 * ielm.el (ielm-map, ielm-complete-symbol):
10024 Use completion-at-point rather than obsolete functions.
10025 (inferior-emacs-lisp-mode): Doc fix.
10026 Set completion-at-point-functions, rather than
10027 comint-dynamic-complete-functions.
10028
10029 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10030 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10031 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10032
10033 * image.el (image-animated-p): Tweak definition.
10034
10035 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10036 (rlogin-process-connection-type): Tweak default. Add set-after.
10037 (rlogin-host): Doc fix.
10038 (rlogin): Tweak prompt.
10039 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10040
10041 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10042 * progmodes/tcl.el (inferior-tcl-mode-map):
10043 Use completion-at-point rather than obsolete alias.
10044
10045 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10046
10047 * minibuffer.el (read-file-name-completion-ignore-case):
10048 Move before completion--in-region, for eager macro expansion.
10049
10050 2013-05-29 Juri Linkov <juri@jurta.org>
10051
10052 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10053 for total count of matching lines. Add `global-matches' for total
10054 count of matches. Rename `matches' to `lines' for count of
10055 matching lines. Add `matches' for count of matches.
10056 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10057 to `prev-line' for line number of prev match endpt.
10058 Increment `matches' for every match. Print the number of
10059 matching lines in the header.
10060 (occur-context-lines): Rename `lines' to `curr-line'.
10061 Rename `prev-lines' to `prev-line'. (Bug#14017)
10062
10063 2013-05-29 Juri Linkov <juri@jurta.org>
10064
10065 * replace.el (perform-replace): Add `skip-read-only-count',
10066 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10067 Increment them for corresponding conditions and report the number
10068 of skipped occurrences in the final message. (Bug#11746)
10069 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10070 (replace-string, replace-regexp): Doc fix.
10071
10072 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10075
10076 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10077 prog-mode-map (bug#14504).
10078
10079 2013-05-29 Leo Liu <sdl.web@gmail.com>
10080
10081 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10082 (octave-help): Small simplification.
10083
10084 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10085 off the highlight first.
10086
10087 2013-05-29 Glenn Morris <rgm@gnu.org>
10088
10089 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10090 Handle idlwave-last-system-routine-info-cons-cell being nil.
10091
10092 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10093 (idlwave-write-paths): Simplify via with-temp-buffer.
10094
10095 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10096 * emulation/cua-rect.el: Also load cua-base at run time.
10097
10098 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10099 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10100 (cperl-imenu-on-info): Require imenu.
10101
10102 2013-05-28 Alan Mackenzie <acm@muc.de>
10103
10104 Handle "capitalised keywords" correctly.
10105 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10106
10107 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10108
10109 * eshell/em-unix.el: Add -r option to cp.
10110
10111 2013-05-28 Glenn Morris <rgm@gnu.org>
10112
10113 * vc/vc-arch.el (vc-exec-after): Declare.
10114 (vc-switches): Autoload.
10115 * vc/vc-bzr.el: No need to require vc when compiling.
10116 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10117 (vc-resynch-buffer, vc-dir-refresh): Declare.
10118 (vc-setup-buffer, vc-switches): Autoload.
10119 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10120 (vc-resynch-buffer): Declare.
10121 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10122 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10123 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10124 (grep-read-regexp, grep-read-files, grep-expand-template)
10125 (vc-dir-refresh): Declare.
10126 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10127 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10128 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10129 * vc/vc-mtn.el (vc-exec-after): Declare.
10130 (vc-switches): Autoload.
10131 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10132 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10133 (vc-file-tree-walk): Declare.
10134 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10135 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10136 (vc-tag-precondition, vc-rename-master): Autoload.
10137 * vc/vc-svn.el (vc-exec-after): Declare.
10138 (vc-switches, vc-setup-buffer): Autoload.
10139 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10140 Autoload.
10141 (vc-resynch-buffer): Declare.
10142
10143 * obsolete/fast-lock.el (byte-compile-warnings):
10144 Don't warn about obsolete features in this obsolete file.
10145
10146 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10147 Move definition before use.
10148
10149 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10150 (dun-unix-verbs): Remove dun-zippy.
10151 (dun-zippy): Remove function.
10152
10153 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10154
10155 2013-05-27 Juri Linkov <juri@jurta.org>
10156
10157 * replace.el (replace-search): New function with code moved out
10158 from `perform-replace'.
10159 (replace-highlight, replace-dehighlight): Move function definitions
10160 up closer to `replace-search'. (Bug#11746)
10161
10162 2013-05-27 Juri Linkov <juri@jurta.org>
10163
10164 * replace.el (perform-replace): Ignore invisible matches.
10165 In addition to checking `query-replace-skip-read-only', also
10166 filter out matches by calling `run-hook-with-args-until-failure'
10167 on `isearch-filter-predicates', and also check `search-invisible'
10168 for t or call `isearch-range-invisible'.
10169 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10170
10171 2013-05-27 Juri Linkov <juri@jurta.org>
10172
10173 * isearch.el (isearch-filter-predicates): Rename from
10174 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10175 (isearch-message-prefix): Display text from the property
10176 `isearch-message-prefix' of the currently active filters.
10177 (isearch-search): Don't compare `isearch-filter-predicate' with
10178 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10179 on `isearch-filter-predicates'. Also check `search-invisible' for t
10180 or call `isearch-range-invisible'.
10181 (isearch-filter-visible): Make obsolete.
10182 (isearch-lazy-highlight-search):
10183 Call `run-hook-with-args-until-failure' on
10184 `isearch-filter-predicates' and use `isearch-range-invisible'.
10185
10186 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10187 `isearch-filter-predicates' instead of `funcall'ing
10188 `isearch-filter-predicate'.
10189 (Info-mode): Set `Info-isearch-filter' to
10190 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10191
10192 * dired-aux.el (dired-isearch-filter-predicate-orig):
10193 Remove variable.
10194 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10195 (dired-isearch-filenames-end): Add and remove
10196 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10197 instead of changing the value of `isearch-filter-predicate'.
10198 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10199 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10200 Put property `isearch-message-prefix' to "filename " on
10201 `dired-isearch-filter-filenames'.
10202
10203 * wdired.el (wdired-change-to-wdired-mode):
10204 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10205 locally instead of changing `isearch-filter-predicate'.
10206 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10207
10208 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10209
10210 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10211 return the commit hash (Bug#14459). Also set the
10212 `vc-git-detached' property.
10213 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10214 (vc-git-mode-line-string): Use the same help-echo format whether
10215 in detached mode or not, because we know the actual revision now.
10216 When in detached mode, shorten the revision to 7 chars.
10217
10218 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * emacs-lisp/easy-mmode.el (define-minor-mode):
10221 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10222 mode hook and provide a docstring.
10223
10224 2013-05-27 Alan Mackenzie <acm@muc.de>
10225
10226 Remove spurious syntax-table text properties inserted by C-y.
10227 * progmodes/cc-mode.el (c-after-change): Also clear hard
10228 syntax-table property with value nil.
10229
10230 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10231
10232 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10233 when reading the events; the buffer layout shall not be changed.
10234
10235 2013-05-27 Leo Liu <sdl.web@gmail.com>
10236
10237 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10238 New variable.
10239 (inferior-octave-directory-tracker): Automatically re-sync
10240 default-directory.
10241 (octave-help): Improve handling of 'See also'.
10242
10243 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * doc-view.el: Minor naming convention tweaks.
10246 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10247
10248 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10249 even if there's no `display' property yet (bug#14435).
10250
10251 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10252
10253 * subr.el (unmsys--file-name): Rename from reveal-filename.
10254
10255 * Makefile.in (custom-deps, finder-data, autoloads)
10256 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10257 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10258 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10259
10260 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10261
10262 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10263 error-completion on the first 2 args of condition-case (bug#14446).
10264 Don't burp at EOB.
10265
10266 2013-05-25 Leo Liu <sdl.web@gmail.com>
10267
10268 * comint.el (comint-previous-matching-input): Do not flood the
10269 *Messages* buffer with trivial messages.
10270
10271 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10272
10273 * progmodes/flymake.el (flymake-nop): Don't return a string.
10274 (flymake-set-at): Fix typo.
10275
10276 * simple.el (read--expression): New function, extracted from
10277 eval-expression. Set completion-at-point-functions (bug#14465).
10278 (eval-expression, eval-minibuffer): Use it.
10279
10280 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10281
10282 * progmodes/flymake.el (flymake-save-buffer-in-file)
10283 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10284 (flymake-selected-frame, flymake-log, flymake-ins-after)
10285 (flymake-set-at, flymake-get-buildfile-from-cache)
10286 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10287 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10288 Refine the doc string.
10289 (flymake-get-file-name-mode-and-masks): Reformat.
10290 (flymake-get-real-file-name-function): Fix a minor bug.
10291
10292 2013-05-24 Juri Linkov <juri@jurta.org>
10293
10294 * progmodes/grep.el (grep-mode-font-lock-keywords):
10295 Support =linenumber= format used by git-grep for lines with
10296 function names. (Bug#13549)
10297
10298 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10299
10300 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10301 0 after a semi-colon; it works better for smie-auto-fill.
10302 (octave--indent-new-comment-line): New function.
10303 (octave-indent-new-comment-line): Use it (indirectly).
10304 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10305 modify comment-line-break-function.
10306
10307 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10308 (smie-setup): Use add-function to set it.
10309
10310 2013-05-24 Sam Steingold <sds@gnu.org>
10311
10312 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10313 argument (before the `interactive' argument).
10314
10315 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10316
10317 * image-mode.el (image-mode-winprops): Add winprops to
10318 image-mode-winprops-alist before running
10319 image-mode-new-window-functions.
10320 * doc-view.el (doc-view-new-window-function): Don't delay
10321 doc-view-goto-page via timers (bug#14435).
10322
10323 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10324
10325 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10326 (doc-view-desktop-save-buffer): New function.
10327 (doc-view-restore-desktop-buffer): New function.
10328 (desktop-buffer-mode-handlers):
10329 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10330 handler.
10331 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10332 `desktop-save-buffer' function.
10333
10334 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10335
10336 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10337 (tramp-gvfs-file-name-handler): Raise a user error when
10338 `tramp-gvfs-enabled' is nil.
10339 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10340 Do not raise a user error when loading package. (Bug#14447)
10341
10342 * net/xesam.el: Move to obsolete/.
10343
10344 2013-05-24 Glenn Morris <rgm@gnu.org>
10345
10346 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10347
10348 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10349
10350 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10351 (Info-find-node, Man-getpage-in-background): Declare.
10352
10353 * mail/unrmail.el (unrmail):
10354 Replace obsolete detect-coding-with-priority.
10355
10356 * net/socks.el (socks-split-string): Use this rather than split-string.
10357 (socks-nslookup-host): Update for above change.
10358 (dynamic-choice, s5-dynamic-choice-match)
10359 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10360 Comment out unused code.
10361
10362 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10363 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10364 (gud-tooltip-echo-area): Make obsolete.
10365 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10366
10367 * progmodes/js.el (js--optimize-arglist): Declare.
10368
10369 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10370
10371 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10372 (ediff-window-C): Declare.
10373
10374 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10375 Tweak requires to silence compiler.
10376
10377 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10378 (he-search-string, he-tried-table, he-expand-list)
10379 (he-init-string, he-string-member, he-substitute-string)
10380 (he-reset-string): Declare.
10381
10382 * obsolete/options.el (list-options): Use custom-variable-p,
10383 rather than obsolete alias.
10384
10385 2013-05-23 Sam Steingold <sds@gnu.org>
10386
10387 * simple.el (shell-command-on-region): Pass the `replace' argument
10388 down to `call-process-region' to comply with the doc as reported on
10389 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10390
10391 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10392
10393 * emacs-lisp/smie.el (smie-indent-forward-token)
10394 (smie-indent-backward-token): Handle string tokens (bug#14381).
10395
10396 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10397
10398 * ielm.el (ielm-menu): New menu.
10399 (inferior-emacs-lisp-mode): Set comment-start.
10400
10401 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10402
10403 * textmodes/reftex.el (reftex-ref-style-toggle):
10404 Fix deactivate action.
10405
10406 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10407 Add cleveref macros.
10408
10409 * textmodes/reftex-parse.el
10410 (reftex-locate-bibliography-files): Accept options for
10411 bibliography commands.
10412 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10413 Add addbibresource. Basic Biblatex support.
10414
10415 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10416
10417 * net/tramp-gvfs.el (top):
10418 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10419 when loading package. (Bug#14447)
10420
10421 2013-05-23 Glenn Morris <rgm@gnu.org>
10422
10423 * progmodes/js.el: No need to load comint when compiling.
10424 (ring-insert, comint-send-string, comint-send-input)
10425 (comint-last-input-end, ido-chop): Declare.
10426
10427 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10428 * vc/ediff-mult.el: Adjust requires.
10429 (ediff-directories-internal, ediff-directory-revisions-internal)
10430 (ediff-patch-file-internal): Declare.
10431 * vc/ediff-ptch.el: Adjust requires.
10432 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10433 (ediff-find-file): Autoload.
10434 * vc/ediff-util.el: No need to load ediff when compiling.
10435 (ediff-regions-internal): Declare.
10436 * vc/ediff-wind.el: Adjust requires.
10437 (ediff-compute-toolbar-width): Define when compiling.
10438 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10439 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10440 (dired-get-filename, dired-get-marked-files)
10441 (ediff-last-dir-patch, ediff-patch-default-directory)
10442 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10443 (ediff-patch-buffer-internal): Declare.
10444
10445 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10446 (ispell-process, ispell-buffer-local-words, lm-summary)
10447 (lm-section-start, lm-section-end): Declare.
10448 (checkdoc-ispell-init): Simplify.
10449
10450 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10451 (he-string-member, he-reset-string, he-substitute-string): Declare.
10452
10453 * eshell/em-ls.el: Adjust requires.
10454 (eshell-glob-regexp): Declare.
10455 * eshell/em-tramp.el: Adjust requires.
10456 (eshell-parse-command): Autoload.
10457 * eshell/em-xtra.el: Adjust requires.
10458 (eshell-parse-command): Autoload.
10459 * eshell/esh-ext.el: Adjust requires.
10460 (eshell-parse-command, eshell-close-handles): Autoload.
10461 * eshell/esh-io.el: Adjust requires.
10462 (eshell-output-filter): Autoload.
10463 * eshell/esh-util.el: No need to load tramp when compiling.
10464 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10465 Declare.
10466 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10467 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10468 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10469 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10470 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10471 * eshell/esh-opt.el, eshell/esh-proc.el:
10472 * eshell/esh-var.el: Adjust requires.
10473 * eshell/eshell.el: Do not require esh-util twice.
10474 (eshell-add-input-to-history): Declare.
10475 (eshell-command): Check history module is active before using it.
10476
10477 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10478
10479 2013-05-22 Leo Liu <sdl.web@gmail.com>
10480
10481 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10482
10483 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10484
10485 * autorevert.el (auto-revert-notify-add-watch)
10486 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10487 it indicates changes in file modification time.
10488
10489 2013-05-22 Glenn Morris <rgm@gnu.org>
10490
10491 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10492 Always delete the autoloaded function from the noruntime and
10493 unresolved functions lists.
10494
10495 * allout.el: No need to load epa, epg, overlay when compiling.
10496 (epg-context-set-passphrase-callback, epg-list-keys)
10497 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10498 (epg-key-user-id-list): Declare.
10499
10500 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10501 (viper-set-parsing-style-toggling-macro)
10502 (viper-set-emacs-state-searchstyle-macros):
10503 Use called-interactively-p on Emacs.
10504 (viper-looking-back): Make it an obsolete alias. Update callers.
10505 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10506 Use looking-back rather than viper-looking-back.
10507 (viper-tmp-insert-at-eob, viper-enlarge-region)
10508 (viper-read-string-with-history, viper-register-to-point)
10509 (viper-append-to-register, viper-change-state-to-vi)
10510 (viper-backward-char-carefully, viper-forward-char-carefully)
10511 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10512 (viper-change-state-to-emacs): Declare.
10513 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10514 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10515 * emulation/viper-mous.el: Do not load viper-cmd.
10516 (viper-backward-char-carefully, viper-forward-char-carefully)
10517 (viper-forward-word, viper-adjust-window): Declare.
10518
10519 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10520
10521 * progmodes/idlw-help.el (idlwave-help-fontify):
10522 Use called-interactively-p.
10523
10524 * term/w32console.el (w32-get-console-codepage)
10525 (w32-get-console-output-codepage): Declare.
10526
10527 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10528 Remove unnecessary declarations.
10529 (dframe-message): Doc fix.
10530
10531 * info.el (dframe-select-attached-frame, dframe-current-frame):
10532 Declare.
10533
10534 * speedbar.el (speedbar-message): Make it an obsolete alias.
10535 Update all callers.
10536 (speedbar-with-attached-buffer)
10537 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10538 (speedbar-with-writable): Use backquote.
10539 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10540 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10541 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10542 rather than speedbar- aliases.
10543 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10544 (speedbar-make-specialized-keymap, speedbar-insert-button)
10545 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10546 (speedbar-do-function-pointer): Declare.
10547 (rmail-speedbar-button, rmail-speedbar-find-file)
10548 (rmail-speedbar-move-message):
10549 Use dframe-with-attached-buffer rather than speedbar- alias.
10550 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10551 (dframe-message, speedbar-make-specialized-keymap)
10552 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10553 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10554 (speedbar-insert-button, dframe-select-attached-frame)
10555 (dframe-maybee-jump-to-attached-frame)
10556 (speedbar-change-initial-expansion-list)
10557 (speedbar-previously-used-expansion-list-name): Declare.
10558 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10559 Use dframe-message, dframe-with-attached-buffer rather than
10560 speedbar- aliases.
10561 (gud-sentinel): Silence compiler.
10562 * progmodes/vhdl-mode.el (speedbar-refresh)
10563 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10564 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10565 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10566 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10567 (speedbar-file-lists, speedbar-make-tag-line)
10568 (speedbar-line-directory, speedbar-goto-this-file)
10569 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10570 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10571 (speedbar-make-button, speedbar-reset-scanners)
10572 (speedbar-files-item-info, speedbar-line-text)
10573 (speedbar-find-file-in-frame, speedbar-set-timer)
10574 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10575 (speedbar-with-writable): Do not (re)define it.
10576 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10577 rather than speedbar- alias.
10578
10579 2013-05-21 Leo Liu <sdl.web@gmail.com>
10580
10581 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10582 menu items.
10583 (octave-mode): Tweak fill-nobreak-predicate.
10584 (inferior-octave-startup): Check process to avoid infinite loop.
10585 (inferior-octave): Pop to buffer first to show abornmal process
10586 exit information.
10587
10588 2013-05-21 Glenn Morris <rgm@gnu.org>
10589
10590 * printing.el (pr-menu-bar): Define when compiling.
10591
10592 2013-05-21 Leo Liu <sdl.web@gmail.com>
10593
10594 * progmodes/octave.el (octave-auto-fill): Remove.
10595 (octave-indent-new-comment-line): Improve.
10596 (octave-mode): Use auto fill mode through
10597 comment-line-break-function and fill-nobreak-predicate.
10598 (octave-goto-function-definition): Support DEFUN_DLD.
10599 (octave-beginning-of-defun): Small tweak.
10600 (octave-help): Show parent directory.
10601
10602 2013-05-21 Glenn Morris <rgm@gnu.org>
10603
10604 * files.el (dired-unmark):
10605 * progmodes/gud.el (gdb-input): Update declarations.
10606
10607 * calculator.el (electric, ehelp): No need to load when compiling.
10608 (Electric-command-loop, electric-describe-mode): Declare.
10609
10610 * doc-view.el (doc-view-current-converter-processes): Move before use.
10611
10612 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10613 Move MODE-set-explicitly definition before use.
10614
10615 * international/mule-diag.el (mule-diag):
10616 Don't use obsolete window-system-version.
10617
10618 * mail/feedmail.el (smtpmail): No need to load when compiling.
10619 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10620
10621 * mail/mail-utils.el (rfc822): No need to load when compiling.
10622 (rfc822-addresses): Autoload it.
10623 (mail-strip-quoted-names): Trivial simplification.
10624
10625 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10626 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10627
10628 * net/snmp-mode.el (tempo): Don't duplicate requires.
10629
10630 * progmodes/prolog.el (info): No need to load when compiling.
10631 (comint): Require before shell requires it.
10632 (Info-goto-node): Autoload it.
10633 (Info-follow-nearest-node): Declare.
10634 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10635
10636 * textmodes/artist.el (picture-mode-exit): Declare.
10637
10638 * textmodes/reftex-parse.el (reftex-parse-from-file):
10639 Trivial rewrite so the compiler can parse it better.
10640
10641 2013-05-20 Leo Liu <sdl.web@gmail.com>
10642
10643 * progmodes/octave.el (octave-help-mode-map)
10644 (octave-help-mode-finish-hook): New variables.
10645 (octave-help-mode, octave-help-mode-finish): New functions.
10646 (octave-help): Use octave-help-mode.
10647
10648 2013-05-20 Glenn Morris <rgm@gnu.org>
10649
10650 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10651
10652 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10653
10654 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10655 start at point, so that expansion starting right after opening
10656 slash in a regexp is recognized.
10657 (ruby-syntax-before-regexp-re): New defvar, extracted from
10658 ruby-syntax-propertize-function. Since the value of this regexp
10659 is looked up at runtime now, we should be able to turn
10660 `ruby-syntax-methods-before-regexp' into a defcustom later.
10661 (ruby-syntax-propertize-function): Split regexp matching into two
10662 parts, for opening and closing slashes. That allows us to skip
10663 over string interpolations and support multiline regexps.
10664 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10665 for them, which calls `ruby-syntax-propertize-expansion'.
10666 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10667 call to `ruby-syntax-propertize-function'.
10668 (ruby-syntax-propertize-expansion): Extracted from
10669 `ruby-syntax-propertize-expansions'. Handles one expansion.
10670 (ruby-syntax-propertize-percent-literal): Leave point right after
10671 the percent symbol, so that the expression expansion rule can
10672 propertize the contents.
10673 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10674 heredoc openers.
10675 (ruby-syntax-propertize-expansions): Remove.
10676
10677 2013-05-18 Juri Linkov <juri@jurta.org>
10678
10679 * man.el (Man-default-man-entry): Remove `-' from the end
10680 of the default value. (Bug#14400)
10681
10682 2013-05-18 Glenn Morris <rgm@gnu.org>
10683
10684 * comint.el (comint-password-prompt-regexp):
10685 Allow "password for XXX" where XXX contains colons (eg https://...).
10686
10687 2013-05-18 Leo Liu <sdl.web@gmail.com>
10688
10689 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10690 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10691 (octave-source-directories): Don't check process.
10692 (octave-source-directories, octave-find-definition): Doc fix.
10693
10694 2013-05-18 Glenn Morris <rgm@gnu.org>
10695
10696 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10697 Remove backspace/delete bindings. (Bug#14392)
10698
10699 * cus-dep.el (custom-make-dependencies): Sort the output.
10700 (custom-versions-load-alist): Convert comment to doc.
10701
10702 2013-05-17 Leo Liu <sdl.web@gmail.com>
10703
10704 * newcomment.el (comment-search-backward): Stricter in finding
10705 comment start. (Bug#14303)
10706
10707 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10708 (octave-comment-start-skip): Properly anchored.
10709
10710 2013-05-17 Leo Liu <sdl.web@gmail.com>
10711
10712 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10713 Clean up when turned off. (Bug#14395)
10714 (smie--highlight-matching-block-overlay): No longer buffer-local.
10715 (smie-highlight-matching-block): Adjust.
10716
10717 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10718
10719 Doc string fix for "nanoseconds" (Bug#14406).
10720 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10721 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10722
10723 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10724
10725 * calc/calc-units.el (math-extract-units): Preserve powers
10726 of units.
10727
10728 2013-05-17 Leo Liu <sdl.web@gmail.com>
10729
10730 * subr.el (delete-consecutive-dups): New function.
10731 * ido.el (ido-set-matches-1): Use it.
10732 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10733 * ido.el (ido-remove-consecutive-dups): Remove.
10734
10735 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10736
10737 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10738 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10739 regexp-opt's `words'.
10740
10741 2013-05-16 Leo Liu <sdl.web@gmail.com>
10742
10743 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10744 (smie--highlight-matching-block-overlay)
10745 (smie--highlight-matching-block-lastpos)
10746 (smie--highlight-matching-block-timer): New variables.
10747 (smie-highlight-matching-block): New function.
10748 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10749 (smie-setup): Conditionally enable smie-blink-matching-open.
10750
10751 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10752
10753 Sync with upstream verilog-mode r840.
10754 * progmodes/verilog-mode.el (verilog-mode-version)
10755 (verilog-mode-release-date): Update.
10756 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10757 (verilog-sig-tieoff): Fix string error on
10758 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10759 (verilog-read-decls): Fix parameters confusing
10760 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10761
10762 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10763
10764 * subr.el (reveal-filename): New function.
10765
10766 * loadup.el: Compute Emacs executable versions on MS-Windows,
10767 where executables have the .exe extension. Add a hard link
10768 emacs-XX.YY.ZZ.exe on MS-Windows.
10769
10770 * Makefile.in (XARGS_LIMIT): New variable.
10771 (custom-deps, finder-data, autoloads)
10772 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10773 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10774 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10775 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10776
10777 2013-05-16 Leo Liu <sdl.web@gmail.com>
10778
10779 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10780 (octave-mode-menu, octave-mode-map): Remove its uses.
10781
10782 2013-05-16 Reto Zimmermann <reto@gnu.org>
10783
10784 Sync with upstream vhdl mode v3.34.2.
10785 * progmodes/vhdl-mode.el: Use `push' throughout.
10786 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10787 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10788 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10789 (vhdl-actual-generic-name): New option to derive actual generic name.
10790 (vhdl-port-paste-signals): Replace formal by actual generics.
10791 (vhdl-beautify): New name for old group vhdl-align. Update users.
10792 (vhdl-beautify-options): New option.
10793 (vhdl-last-input-event): New compat alias. Use throughout.
10794 (vhdl-goto-line): Replace user level function `goto-line'.
10795 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10796 vhdl-fix-statement-buffer.
10797 (vhdl-create-mode-menu): Add some entries.
10798 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10799 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10800 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10801 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10802 to force statements on one line.
10803 (vhdl-remove-trailing-spaces-region):
10804 New, split from vhdl-remove-trailing-spaces.
10805 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10806 Respect vhdl-beautify-options.
10807 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10808 (vhdl-update-sensitivity-list): Not add with index if exists without.
10809 Not include array index with signal. Ignore keywords in comments.
10810 (vhdl-get-visible-signals): Regexp tweaks.
10811 (vhdl-template-component-inst): Handle empty library.
10812 (vhdl-template-type): Add template for 'enum' type.
10813 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10814 Use vhdl-replace-string.
10815 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10816 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10817 (vhdl-speedbar-initialize): Update for above name change.
10818 (vhdl-compose-wire-components): Fix in handling of constants.
10819 (vhdl-error-regexp-emacs-alist): New variable.
10820 (vhdl-error-regexp-add-emacs): New function;
10821 adds support for new compile.el (Emacs 22+)
10822 (vhdl-generate-makefile-1): Change target order for single lib. units.
10823 Allow use of absolute file names.
10824
10825 2013-05-16 Leo Liu <sdl.web@gmail.com>
10826
10827 * simple.el (prog-indent-sexp): Indent enclosing defun.
10828
10829 2013-05-15 Glenn Morris <rgm@gnu.org>
10830
10831 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10832 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10833 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10834 (whitespace-highlight): Move to whitespace group.
10835
10836 * comint.el (comint-source):
10837 * pcmpl-linux.el (pcmpl-linux):
10838 * shell.el (shell-faces):
10839 * eshell/esh-opt.el (eshell-opt):
10840 * international/ccl.el (ccl): Remove empty custom groups.
10841
10842 * completion.el (dynamic-completion-mode):
10843 * jit-lock.el (jit-lock-debug-mode):
10844 * minibuffer.el (completion-in-region-mode):
10845 * type-break.el (type-break-mode-line-message-mode)
10846 (type-break-query-mode):
10847 * emulation/tpu-edt.el (tpu-edt-mode):
10848 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10849 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10850 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10851
10852 * term/xterm.el (xterm): Change parent group to terminals.
10853
10854 * master.el (master): Remove empty custom group.
10855 (master-mode): Remove unused :group argument.
10856 * textmodes/refill.el (refill): Remove empty custom group.
10857 (refill-mode): Remove unused :group argument.
10858
10859 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10860
10861 * cus-dep.el: Provide a feature.
10862 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10863 Don't mistakenly ignore files whose basenames match a basename
10864 from preloaded-file-list (eg cedet/ede/simple.el).
10865 Add a fallback method for getting :group.
10866
10867 2013-05-15 Juri Linkov <juri@jurta.org>
10868
10869 * isearch.el (isearch-char-by-name): Rename from
10870 `isearch-insert-char-by-name'. Doc fix.
10871 (isearch-forward): Mention `isearch-char-by-name' in
10872 the docstring. (Bug#13348)
10873
10874 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10875 `exit-minibuffer' instead of
10876 `isearch-nonincremental-exit-minibuffer'.
10877 (isearch-edit-string): Remove mention of
10878 `isearch-nonincremental-exit-minibuffer' from docstring.
10879 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10880 (isearch-forward-exit-minibuffer)
10881 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10882
10883 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * loadup.el: Just use unversioned DOC.
10886
10887 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10888 literals as extending to EOB.
10889 (nxml-last-fontify-end): Remove unused variable.
10890 (nxml-after-change1): Use with-silent-modifications.
10891 (nxml-extend-after-change-region): Simplify.
10892 (nxml-extend-after-change-region1): Remove function.
10893 (nxml-after-change1): Don't adjust for dependent regions.
10894 (nxml-fontify-matcher): Simplify.
10895 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10896 (xmltok-add-dependent): Remove function.
10897 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10898 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10899 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10900 unclosed <[[, <?, comment, and other literals as extending to EOB.
10901 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10902 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10903 Remove functions.
10904 (rng-do-some-validation-1): Don't mark dependent regions.
10905 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10906 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10907 (nxml-clear-dependent-regions): Remove functions.
10908 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10909 (nxml-ensure-scan-up-to-date):
10910 Don't clear&mark dependent regions.
10911
10912 2013-05-15 Leo Liu <sdl.web@gmail.com>
10913
10914 * progmodes/octave.el (octave-goto-function-definition):
10915 Improve and fix callers.
10916
10917 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10918
10919 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10920 the setter (bug#14387).
10921
10922 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10923 surrounding group (bug#14402).
10924
10925 2013-05-14 Juri Linkov <juri@jurta.org>
10926
10927 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10928 (Bug#14390)
10929
10930 2013-05-14 Glenn Morris <rgm@gnu.org>
10931
10932 * progmodes/f90.el (f90-imenu-generic-expression):
10933 Fix typo in 2013-05-08 change. (Bug#14402)
10934
10935 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10936
10937 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10938 Remove signals for which replies are never received.
10939
10940 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10941
10942 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10943 (gdb-handler-alist, gdb-handler-number): Remove variables.
10944 (gdb-handler-list): New variable.
10945 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10946 (gdb-pending-handler-p, gdb-handle-reply)
10947 (gdb-remove-all-pending-triggers): New functions.
10948 (gdb-discard-unordered-replies): New defcustom.
10949 (gdb-handler): New defstruct.
10950 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10951 instead of gdb-pending-triggers. Update docstring.
10952 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10953 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10954 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10955 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10956 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10957 (gdb-frame-handler): Pending triggers are now automatically managed.
10958 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10959 Remove argument.
10960 (gdb-input): Automatically handles pending triggers. Update docstring.
10961 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10962 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10963 Update comments.
10964 (gdb-done-or-error): Now use gdb-handle-reply.
10965
10966 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10967
10968 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10969 gdb-debug-log.
10970
10971 2013-05-14 Glenn Morris <rgm@gnu.org>
10972
10973 * subr.el (user-emacs-directory-warning): New option.
10974 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10975
10976 2013-05-14 Leo Liu <sdl.web@gmail.com>
10977
10978 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10979 during redisplay.
10980 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10981 (octave-font-lock-texinfo-comment): Fix invalid search bound
10982 error: wrong side of point.
10983
10984 2013-05-14 Glenn Morris <rgm@gnu.org>
10985
10986 * progmodes/flymake.el (flymake-xml-program): New option.
10987 (flymake-xml-init): Use it.
10988
10989 * term/xterm.el: Provide a feature.
10990
10991 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10992
10993 2013-05-13 Glenn Morris <rgm@gnu.org>
10994
10995 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10996 Add compat aliases as a hack workaround. (Bug#14384)
10997
10998 2013-05-13 Leo Liu <sdl.web@gmail.com>
10999
11000 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11001 ###, and %!.
11002 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11003 C-M-q.
11004 (octave-comment-start-skip): Include %!.
11005 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11006
11007 2013-05-12 Leo Liu <sdl.web@gmail.com>
11008
11009 * progmodes/octave.el (inferior-octave-startup): Store the value
11010 of __octave_srcdir__ for octave-source-directories.
11011 (inferior-octave-check-process): New function refactored out of
11012 inferior-octave-send-list-and-digest.
11013 (octave-source-directories)
11014 (octave-find-definition-filename-function): New variables.
11015 (octave-source-directories)
11016 (octave-find-definition-default-filename): New functions.
11017 (octave-find-definition): Improve to find functions implemented in C++.
11018
11019 2013-05-12 Glenn Morris <rgm@gnu.org>
11020
11021 * calendar/diary-lib.el (diary-outlook-format-1):
11022 Don't include dayname in the output. (Bug#14349)
11023
11024 2013-05-11 Glenn Morris <rgm@gnu.org>
11025
11026 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11027
11028 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11029 Treat cc-provide like provide.
11030
11031 2013-05-11 Kevin Ryde <user42@zip.com.au>
11032
11033 * cus-dep.el (custom-make-dependencies):
11034 Use generated-autoload-load-name for the sake of files such
11035 such cedet/semantic/bovine/c.el, where the base file name
11036 is not in load-path. (Bug#5277)
11037
11038 2013-05-11 Glenn Morris <rgm@gnu.org>
11039
11040 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11041 Provide features.
11042
11043 2013-05-11 Leo Liu <sdl.web@gmail.com>
11044
11045 * progmodes/octave.el (octave-indent-comment): Improve.
11046 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11047 (octave-eldoc-function-signatures, octave-eldoc-function):
11048 New functions.
11049 (octave-mode, inferior-octave-mode): Add eldoc support.
11050
11051 2013-05-11 Richard Stallman <rms@gnu.org>
11052
11053 * epa.el (epa-decrypt-file): Take output file name as argument
11054 and read it using `interactive'.
11055
11056 2013-05-11 Leo Liu <sdl.web@gmail.com>
11057
11058 * progmodes/octave.el (octave-beginning-of-line)
11059 (octave-end-of-line): Check before using up-list because it jumps
11060 out of more syntactic contructs since moving to smie.
11061 (octave-indent-comment): New function.
11062 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11063 (octave-begin-keywords, octave-end-keywords)
11064 (octave-reserved-words, octave-smie-bnf-table)
11065 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11066
11067 2013-05-11 Glenn Morris <rgm@gnu.org>
11068
11069 * faces.el (internal-face-x-get-resource):
11070 * frame.el (ns-display-monitor-attributes-list):
11071 * calc/calc-aent.el (math-to-radians-2):
11072 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11073 Fix declarations.
11074
11075 * calc/calc-menu.el: Make it loadable in isolation.
11076
11077 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11078 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11079 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11080 (eudc-bbdb-query-internal): Require 'bbdb.
11081
11082 * lpr.el (lpr-headers-switches):
11083 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11084
11085 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11086
11087 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11088
11089 * term.el (term-set-escape-char): Make it idempotent.
11090
11091 2013-05-10 Leo Liu <sdl.web@gmail.com>
11092
11093 * progmodes/octave.el (inferior-octave-completion-table):
11094 No longer a function and all uses changed. Use cache to speed up
11095 completion due to bug#11906.
11096 (octave-beginning-of-defun): Re-write to be more general.
11097
11098 2013-05-10 Glenn Morris <rgm@gnu.org>
11099
11100 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11101
11102 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * comint.el (comint-redirect-send-command-to-process): Use :around
11105 rather than :override for comint-redirect-filter.
11106 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11107 Call it instead of comint-redirect-original-filter-function (which
11108 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11109
11110 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11111
11112 * frame.el (display-monitor-attributes-list): Add NS case.
11113 (ns-display-monitor-attributes-list): Declare.
11114
11115 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11116
11117 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11118
11119 2013-05-09 Glenn Morris <rgm@gnu.org>
11120
11121 * international/fontset.el (vertical-centering-font-regexp):
11122 Set standard-value.
11123
11124 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11125
11126 * bookmark.el (bookmark-search-delay):
11127 * cus-start.el (vertical-centering-font-regexp):
11128 * ps-mule.el (ps-mule-font-info-database-default):
11129 * ps-print.el (ps-default-fg, ps-default-bg):
11130 * type-break.el (type-break-good-break-interval):
11131 * whitespace.el (whitespace-indentation-regexp)
11132 (whitespace-space-after-tab-regexp):
11133 * emacs-lisp/testcover.el (testcover-1value-functions)
11134 (testcover-noreturn-functions, testcover-progn-functions)
11135 (testcover-prog1-functions):
11136 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11137 * eshell/em-glob.el (eshell-glob-translate-alist):
11138 * play/tetris.el (tetris-tty-colors):
11139 * progmodes/cpp.el (cpp-face-default-list):
11140 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11141 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11142 (idlwave-help-browser-generic-args):
11143 * progmodes/make-mode.el (makefile-special-targets-list):
11144 * progmodes/python.el (python-shell-virtualenv-path):
11145 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11146 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11147 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11148 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11149 * textmodes/reftex-vars.el (reftex-format-label-function):
11150 * textmodes/remember.el (remember-diary-file): Fix custom types.
11151
11152 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11153 Add :version.
11154
11155 2013-05-09 Leo Liu <sdl.web@gmail.com>
11156
11157 * progmodes/octave.el (inferior-octave-completion-at-point):
11158 Restore file completion. (Bug#14300)
11159 (inferior-octave-startup): Fix incorrect highlighting for the
11160 first prompt.
11161
11162 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11163
11164 * progmodes/ruby-mode.el: First cut at SMIE support.
11165 (ruby-use-smie): New var.
11166 (ruby-smie-grammar): New constant.
11167 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11168 (ruby-smie--forward-token, ruby-smie--backward-token)
11169 (ruby-smie-rules): New functions.
11170 (ruby-mode-variables): Setup SMIE if applicable.
11171
11172 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11173
11174 * simple.el (line-move-visual): Signal beginning/end of buffer
11175 only if vertical-motion moved less than it was requested. Avoids
11176 silly incorrect error messages when there are display strings with
11177 multiple newlines at EOL.
11178
11179 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11182 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11183 (prolog-char-quote-workaround):
11184 * progmodes/cperl-mode.el (cperl-under-as-char):
11185 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11186 Mark as obsolete.
11187 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11188 their declaration.
11189 (vhdl-mode-syntax-table-init): Remove.
11190
11191 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11192 last change.
11193
11194 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11195 syntax for "_".
11196 (ld-script-font-lock-keywords):
11197 Change regexps to use things like \_< and \_>.
11198
11199 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11200 Change all regexps to use things like \_< and \_>.
11201
11202 * progmodes/autoconf.el (autoconf-definition-regexp)
11203 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11204 Handle a _ with symbol syntax.
11205 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11206
11207 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11208 Consolidate declaration.
11209 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11210 the declaration.
11211 (ada-create-syntax-table): Remove.
11212 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11213 already has the right syntax nowadays.
11214 (ada-goto-next-word): Don't change the syntax of "_".
11215
11216 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11217 with-wrapper-hook.
11218
11219 2013-05-08 Sam Steingold <sds@gnu.org>
11220
11221 * thingatpt.el (thing-at-point): Accept optional second argument
11222 NO-PROPERTIES to strip the text properties from the return value.
11223 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11224 to `thing-at-point' instead of stripping the properties ourselves.
11225 Also, when `thing-at-point' fails to find a url, prepend "http://"
11226 to the filename at point on the assumption that the user is
11227 pointing at something like gnu.org/gnu.
11228
11229 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11230
11231 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11232 * faces.el (crm-separator):
11233 Silence byte-compiler.
11234
11235 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11236 (tool-bar-map): Remove unneeded defvars.
11237
11238 2013-05-08 Leo Liu <sdl.web@gmail.com>
11239
11240 Re-work a fix for bug#10994 based on Le Wang's patch.
11241 * ido.el (ido-remove-consecutive-dups): New helper.
11242 (ido-completing-read): Use it.
11243 (ido-chop): Revert fix for bug#10994.
11244
11245 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11246
11247 * cus-edit.el (custom-save-variables):
11248 Pretty-print long values. (Bug#14187)
11249
11250 2013-05-08 Glenn Morris <rgm@gnu.org>
11251
11252 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11253 (m4-mode-syntax-table): Init in the defvar.
11254 (m4-mode-abbrev-table): Let define-derived-mode define it.
11255
11256 2013-05-08 Tom Tromey <tromey@redhat.com>
11257
11258 * progmodes/m4-mode.el (m4-mode-syntax-table):
11259 Do not treat "_" as word constituent. (Bug#14167)
11260
11261 2013-05-07 Glenn Morris <rgm@gnu.org>
11262
11263 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11264 Remove explicit eshell-isearch-cancel-map.
11265
11266 * progmodes/f90.el (f90-smart-end-names): New option.
11267 (f90-smart-end): Doc fix.
11268 (f90-end-block-optional-name): New constant.
11269 (f90-block-match): Respect f90-smart-end-names.
11270
11271 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11272
11273 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11274 about implicit semi-colons (bug#14218).
11275
11276 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11277
11278 * frame.el (display-monitor-attributes-list)
11279 (frame-monitor-attributes): New functions.
11280
11281 2013-05-06 Leo Liu <sdl.web@gmail.com>
11282
11283 * progmodes/octave.el (octave-syntax-propertize-function): Change
11284 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11285 (octave-font-lock-keywords): Use octave-operator-regexp.
11286 (octave-completion-at-point): Rename from
11287 octave-completion-at-point-function.
11288 (inferior-octave-directory-tracker): Robustify.
11289 (octave-text-functions): Remove and fix its uses. No such things
11290 any more.
11291
11292 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11293
11294 * emacs-lisp/trace.el (trace--display-buffer): New function.
11295 (trace-make-advice): Use it.
11296
11297 2013-05-06 Juri Linkov <juri@jurta.org>
11298
11299 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11300 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11301 Doc fix.
11302 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11303 in the help string. (Bug#12985)
11304
11305 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11306
11307 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11308
11309 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * progmodes/perl-mode.el: Add support for here documents.
11312 (perl-syntax-propertize-function): Match here-doc markers.
11313 (perl-syntax-propertize-special-constructs): Find their end.
11314 (perl-imenu-generic-expression): Use [:alnum:].
11315
11316 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11317 (advice--add-function): Refresh the advice if already present
11318 (bug#14317).
11319
11320 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11321
11322 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11323
11324 2013-05-06 Glenn Morris <rgm@gnu.org>
11325
11326 * w32-fns.el (w32-charset-info-alist): Declare.
11327
11328 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11329 of its defcustom properties.
11330 (eshell-cmpl-initialize): No need to load pcomplete.
11331
11332 * generic-x.el: No need to require comint when compiling.
11333
11334 * net/eudc-export.el: Make it loadable without bbdb.
11335 (top-level): Use require rather than load-library.
11336 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11337 (eudc-batch-export-records-to-bbdb)
11338 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11339 Require bbdb.
11340
11341 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11342
11343 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11344 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11345 some tweaks, instead.
11346
11347 2013-05-05 Leo Liu <sdl.web@gmail.com>
11348
11349 * progmodes/octave.el (octave-font-lock-keywords)
11350 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11351 (inferior-octave-send-list-and-digest): Improve error message.
11352 (octave-mode, inferior-octave-mode): Use setq-local.
11353 (octave-help): Set info-lookup-mode.
11354
11355 2013-05-05 Richard Stallman <rms@gnu.org>
11356
11357 * vc/compare-w.el (compare-windows-whitespace):
11358 Treat no-break space as whitespace.
11359
11360 * mail/rmailsum.el (rmail-summary-rmail-update):
11361 Detect empty summary and don't change selected message.
11362 (rmail-summary-goto-msg): Likewise.
11363
11364 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11365 Doc fixes, rename args.
11366
11367 2013-05-05 Alan Mackenzie <acm@muc.de>
11368
11369 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11370
11371 2013-05-05 Juri Linkov <juri@jurta.org>
11372
11373 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11374 to not add the length of the summary segment to the return value.
11375 (Bug#14125)
11376
11377 2013-05-05 Leo Liu <sdl.web@gmail.com>
11378
11379 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11380 (inferior-octave-output-filter): Remove.
11381 (octave-send-region, inferior-octave-startup): Fix callers.
11382 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11383 (octave-binary-file-extensions): New user variable.
11384 (octave-find-definition): Confirm if opening binary files.
11385 (octave-help-file): Use octave-find-definition to get the binary
11386 confirmation.
11387 (octave-help): Adjust for octave-help-file change.
11388
11389 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11390
11391 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11392 Merge the two entries that handle function definitions.
11393 (pascal--syntax-propertize): New const.
11394 (pascal-mode): Use it. Use setq-local.
11395
11396 2013-05-04 Glenn Morris <rgm@gnu.org>
11397
11398 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11399 (diary-from-outlook): Respect diary-from-outlook-function.
11400
11401 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11404 Move the declaration from C.
11405 (read-minibuffer, eval-minibuffer): Move from C.
11406 (completion-setup-function): Avoid minibuffer-completion-contents.
11407
11408 2013-05-03 Leo Liu <sdl.web@gmail.com>
11409
11410 * progmodes/octave.el (octave-font-lock-keywords): Do not
11411 dehighlight 'end' in comments or strings.
11412 (octave-completing-read, octave-goto-function-definition):
11413 New helpers.
11414 (octave-help-buffer): New user variable.
11415 (octave-help-file, octave-help-function): New button types.
11416 (octave-help): New command and bind it to C-h ;.
11417 (octave-find-definition): New command and bind it to M-.
11418 (user-error): Alias to error if not defined.
11419
11420 2013-05-02 Leo Liu <sdl.web@gmail.com>
11421
11422 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11423 for \. (bug#14332)
11424 (octave-font-lock-keywords): Include [ and {.
11425
11426 2013-05-02 Leo Liu <sdl.web@gmail.com>
11427
11428 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11429 (inferior-octave): Remove calling comint-mode and return the buffer.
11430 (inferior-octave-startup): Cosmetic changes.
11431
11432 2013-05-02 Leo Liu <sdl.web@gmail.com>
11433
11434 * progmodes/octave.el (octave-syntax-propertize-function):
11435 Include the case when ' is at line beginning. (Bug#14336)
11436
11437 2013-05-02 Glenn Morris <rgm@gnu.org>
11438
11439 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11440 * desktop.el (vc-dir-mode): Just autoload it here.
11441
11442 2013-05-02 Alan Mackenzie <acm@muc.de>
11443
11444 Eliminate variable c-standard-font-lock-fontify-region-function.
11445 * progmodes/cc-mode.el
11446 (c-standard-font-lock-fontify-region-function): Remove.
11447 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11448
11449 2013-05-01 Leo Liu <sdl.web@gmail.com>
11450
11451 * progmodes/octave.el: Compatible with older emacs-24 releases.
11452 (inferior-octave-has-built-in-variables): Remove. Built-in
11453 variables were removed from Octave in 2007.
11454 (inferior-octave-startup): Fix uses.
11455 (comint-line-beginning-position): Remove compatibility code for
11456 emacs 21.
11457
11458 2013-05-01 Juri Linkov <juri@jurta.org>
11459
11460 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11461
11462 2013-05-01 Juri Linkov <juri@jurta.org>
11463
11464 * comint.el (comint-previous-matching-input): Don't print message
11465 "History item: %d" when `isearch-mode' is active.
11466 (comint-history-isearch-message): Print message "History item: %d"
11467 when `comint-input-ring-index' is not empty and this function is
11468 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11469
11470 2013-05-01 Leo Liu <sdl.web@gmail.com>
11471
11472 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11473 definitions. Use completion-at-point to insert keywords.
11474 (octave-abbrev-start): Remove.
11475 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11476
11477 2013-04-30 Leo Liu <sdl.web@gmail.com>
11478
11479 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11480 change.
11481
11482 2013-04-30 Alan Mackenzie <acm@muc.de>
11483
11484 Handle arbitrarily long C++ member initialisation lists.
11485 * progmodes/cc-engine.el (c-back-over-member-initializers):
11486 new function.
11487 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11488 (most) member init lists.
11489
11490 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11491
11492 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11493 variable.
11494
11495 2013-04-30 Leo Liu <sdl.web@gmail.com>
11496
11497 * progmodes/octave.el (octave-variables): Remove. No builtin
11498 variables any more. All converted to functions.
11499 (octave-font-lock-keywords, octave-completion-at-point-function):
11500 Fix uses.
11501 (octave-font-lock-texinfo-comment): New user variable.
11502 (octave-texinfo-font-lock-keywords): New variable for texinfo
11503 comment block.
11504 (octave-function-comment-block): New face.
11505 (octave-font-lock-texinfo-comment): New function.
11506 (octave-mode): Font lock texinfo comment block.
11507
11508 2013-04-29 Leo Liu <sdl.web@gmail.com>
11509
11510 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11511 indexing expression.
11512 (octave-continuation-string): Do not use \.
11513 (inferior-octave-complete-impossible): Remove.
11514 (inferior-octave-completion-table)
11515 (inferior-octave-completion-at-point): Remove its uses.
11516 (inferior-octave-startup): completion_matches was introduced to
11517 Octave in 1996 so safe to assume it.
11518 (octave-function-file-comment): Improve to follow how Octave does it.
11519 (octave-update-function-file-comment): Tweak.
11520
11521 2013-04-29 Leo Liu <sdl.web@gmail.com>
11522
11523 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11524 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11525 (octave-function-file-comment): Fix typo.
11526 (octave-sync-function-file-names): Use read-char-choice.
11527
11528 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11529
11530 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11531 to t for the less important warnings.
11532
11533 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11534
11535 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11536
11537 2013-04-27 Glenn Morris <rgm@gnu.org>
11538
11539 * vc/log-view.el (log-view-current-entry):
11540 Treat "---" separator lines as part of the following rev. (Bug#14169)
11541
11542 2013-04-27 Juri Linkov <juri@jurta.org>
11543
11544 * subr.el (read-number): Doc fix about using it by interactive
11545 code letter `n'. (Bug#14254)
11546
11547 2013-04-27 Juri Linkov <juri@jurta.org>
11548
11549 * desktop.el (desktop-auto-save-timeout): New option.
11550 (desktop-file-checksum): New variable.
11551 (desktop-save): Add optional arg `auto-save' and don't auto-save
11552 if nothing changed.
11553 (desktop-auto-save-timer): New variable.
11554 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11555 (after-init-hook): Call `desktop-auto-save-set-timer'.
11556 Suggested by Reuben Thomas <rrt@sc3d.org> in
11557 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11558
11559 2013-04-27 Leo Liu <sdl.web@gmail.com>
11560
11561 * progmodes/octave.el (octave-function-file-p)
11562 (octave-skip-comment-forward, octave-function-file-comment)
11563 (octave-update-function-file-comment): New functions.
11564 (octave-mode-map): Bind C-c ; to
11565 octave-update-function-file-comment.
11566 (octave-mode-menu): Add octave-update-function-file-comment.
11567 (octave-mode, inferior-octave-mode): Fix doc-string.
11568 (octave-insert-defun): Conform to Octave's coding convention.
11569 (Bug#14285)
11570
11571 * files.el (basic-save-buffer): Don't let errors in
11572 before-save-hook prevent saving buffer.
11573
11574 2013-04-20 Roland Winkler <winkler@gnu.org>
11575
11576 * faces.el (read-face-name): Use completing-read if arg multiple
11577 is nil.
11578
11579 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11580
11581 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11582 displayed, move point to after the totals line.
11583 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11584 for the details.
11585
11586 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11587
11588 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11589 Add current dir to the load-path.
11590 (package-generate-autoloads): Don't rely on
11591 autoload-ensure-default-file.
11592
11593 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11594
11595 * textmodes/remember.el (remember-store-in-files): Document that
11596 the file name format is passed to `format-time-string'.
11597
11598 2013-04-26 Leo Liu <sdl.web@gmail.com>
11599
11600 * progmodes/octave.el (octave-sync-function-file-names): New function.
11601 (octave-mode): Use it in before-save-hook.
11602
11603 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11606 (bug#14274).
11607
11608 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11609 \n and comment, even if it's not an implicit ; (bug#14218).
11610
11611 2013-04-26 Glenn Morris <rgm@gnu.org>
11612
11613 * subr.el (read-number): Once more use `read' rather than
11614 `string-to-number', to trap non-numeric input. (Bug#14254)
11615
11616 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11617
11618 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11619 Use `syntax-multiline' text property consistently instead of
11620 `font-lock-multiline'. (Bug#14237)
11621
11622 2013-04-26 Glenn Morris <rgm@gnu.org>
11623
11624 * emacs-lisp/shadow.el (list-load-path-shadows):
11625 No longer necessary to check for duplicate simple.el, since
11626 2012-07-07 change to init_lread to not include installation lisp
11627 directories in load-path when running uninstalled. (Bug#14270)
11628
11629 2013-04-26 Leo Liu <sdl.web@gmail.com>
11630
11631 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11632 (octave-mode, inferior-octave-mode): Use setq-local.
11633 (octave-not-in-string-or-comment-p): Rename to
11634 octave-in-string-or-comment-p.
11635 (octave-in-comment-p, octave-in-string-p)
11636 (octave-in-string-or-comment-p): Replace defsubst with defun.
11637
11638 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11639
11640 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11641
11642 2013-04-25 Bastien Guerry <bzg@gnu.org>
11643
11644 * textmodes/remember.el (remember-data-directory)
11645 (remember-directory-file-name-format): Fix custom types.
11646
11647 2013-04-25 Leo Liu <sdl.web@gmail.com>
11648
11649 * progmodes/octave.el (octave-completion-at-point-function):
11650 Make use of inferior octave process.
11651 (octave-initialize-completions): Remove.
11652 (inferior-octave-completion-table): New function.
11653 (inferior-octave-completion-at-point): Use it.
11654 (octave-completion-alist): Remove.
11655
11656 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11657
11658 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11659 (opascal-mode-syntax-table): New var.
11660 (opascal-literal-kind, opascal-is-literal-end)
11661 (opascal-literal-token-at): Rewrite.
11662 (opascal--literal-start-re, opascal-font-lock-keywords)
11663 (opascal--syntax-propertize): New constants.
11664 (opascal-font-lock-defaults): Adjust.
11665 (opascal-mode): Use them. Set comment-<foo> variables as well.
11666 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11667 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11668 (delphi-other-face, opascal-other-face): Remove face variables.
11669 (opascal-save-state): Remove macro.
11670 (opascal-fontifying-progress-step): Remove constant.
11671 (opascal--ignore-changes): Remove var.
11672 (opascal-set-token-property, opascal-parse-next-literal)
11673 (opascal-is-stable-literal, opascal-complete-literal)
11674 (opascal-is-literal-start, opascal-face-of)
11675 (opascal-parse-region, opascal-parse-region-until-stable)
11676 (opascal-fontify-region, opascal-after-change)
11677 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11678 (opascal-debug-parse-region, opascal-debug-parse-window)
11679 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11680 (opascal-debug-fontify-buffer): Remove.
11681 (opascal-debug-mode-map): Adjust accordingly.
11682
11683 2013-04-25 Leo Liu <sdl.web@gmail.com>
11684
11685 Merge octave-mod.el and octave-inf.el into octave.el with some
11686 cleanups.
11687 * progmodes/octave.el: New file renamed from octave-mod.el.
11688 * progmodes/octave-inf.el: Merged into octave.el.
11689 * progmodes/octave-mod.el: Renamed to octave.el.
11690
11691 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11692
11693 * textmodes/reftex-vars.el
11694 (reftex-label-ignored-macros-and-environments): New defcustom.
11695
11696 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11697
11698 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11701 (smie-indent-keyword): Improve the check to ensure that the next
11702 comment is really on the same line.
11703 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11704
11705 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11706 semi-colons if the line is not otherwise empty (bug#14218).
11707
11708 2013-04-25 Glenn Morris <rgm@gnu.org>
11709
11710 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11711
11712 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * progmodes/opascal.el (opascal-set-token-property): Rename from
11715 opascal-set-text-properties and only set `token' (bug#14134).
11716 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11717 (opascal-literal-text-properties): Remove.
11718 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11719 Adjust callers.
11720
11721 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11722
11723 * textmodes/remember.el (remember-handler-functions): Add an
11724 option for a new handler `remember-store-in-files'.
11725 (remember-data-directory, remember-directory-file-name-format):
11726 New options.
11727 (remember-store-in-files): New function to store remember notes
11728 as separate files within a directory.
11729
11730 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11731
11732 * progmodes/compile.el (compilation-next-error-function):
11733 Pass "formats" to compilation-find-file (bug#11777).
11734
11735 2013-04-24 Glenn Morris <rgm@gnu.org>
11736
11737 * vc/vc-bzr.el (vc-bzr-print-log):
11738 * vc/vc-hg.el (vc-hg-print-log):
11739 * vc/vc-svn.el (vc-svn-print-log):
11740 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11741
11742 * vc/vc-bzr.el (vc-bzr-print-log):
11743 * vc/vc-cvs.el (vc-cvs-print-log):
11744 * vc/vc-git.el (vc-git-print-log):
11745 * vc/vc-hg.el (vc-hg-print-log):
11746 * vc/vc-mtn.el (vc-mtn-print-log):
11747 * vc/vc-rcs.el (vc-rcs-print-log):
11748 * vc/vc-sccs.el (vc-sccs-print-log):
11749 * vc/vc-svn.el (vc-svn-print-log):
11750 * vc/vc.el (vc-print-log-internal): Doc fixes.
11751
11752 2013-04-23 Glenn Morris <rgm@gnu.org>
11753
11754 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11755 Remove venerable code attempting to avoid substitute-command-keys.
11756
11757 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11758
11759 * textmodes/reftex-vars.el (reftex-label-regexps):
11760 Call `reftex-compile-variables' after changes to this variable.
11761
11762 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11763
11764 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11765 Use lexical-binding.
11766 (jit-lock-force-redisplay): Use markers, check buffer's continued
11767 existence and beware narrowed buffers.
11768 (jit-lock-fontify-now): Adjust call accordingly.
11769
11770 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11771
11772 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11773 to avoid misleading the user.
11774
11775 2013-04-22 Leo Liu <sdl.web@gmail.com>
11776
11777 * info-look.el: Prefer latex2e.info. (Bug#14240)
11778
11779 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11780
11781 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11782
11783 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11784 * net/tramp.el (tramp-call-process): ... here.
11785 (tramp-set-completion-function, tramp-parse-putty):
11786 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11787 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11788 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11789 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11790 (tramp-call-local-coding-command): Use `tramp-call-process'
11791 instead of `tramp-compat-call-process'.
11792
11793 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11794 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11795 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11796 (tramp-find-inline-compress): Improve traces.
11797 (tramp-maybe-send-script): Check for Perl binary.
11798 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11799
11800 2013-04-22 Daiki Ueno <ueno@gnu.org>
11801
11802 * epg.el (epg-context-pinentry-mode): New function.
11803 (epg-context-set-pinentry-mode): New function.
11804 (epg--start): Pass --pinentry-mode option to gpg command.
11805
11806 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11807
11808 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11809 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11810 `completion-at-point'. (Bug#13774)
11811
11812 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11813 default key binding for `describe-distribution' has been moved to
11814 `C-h C-o'. (Bug#13970)
11815
11816 2013-04-21 Glenn Morris <rgm@gnu.org>
11817
11818 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11819 Add doc strings.
11820 (vc-print-log): Clarify interactive prompt.
11821
11822 2013-04-20 Glenn Morris <rgm@gnu.org>
11823
11824 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11825 No longer include timestamp etc information.
11826
11827 2013-04-20 Roland Winkler <winkler@gnu.org>
11828
11829 * faces.el (read-face-name): Bug fix, return just one face if arg
11830 multiple is nil. (Bug#14209)
11831
11832 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11833
11834 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11835 (remove-function): Autoload.
11836
11837 * comint.el (comint-redirect-original-filter-function): Remove.
11838 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11839 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11840 (vc-cvs-annotate-command):
11841 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11842 * progmodes/prolog.el (prolog-consult-compile):
11843 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11844 Use add/remove-function instead.
11845 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11846 (gud-tooltip-process-output, gud-tooltip-tips):
11847 Use add/remove-function instead.
11848 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11849 (scheme-interaction-mode, exit-scheme-interaction-mode):
11850 Use add/remove-function instead.
11851
11852 * vc/vc-dispatcher.el: Use lexical-binding.
11853 (vc--process-sentinel): Rename from vc-process-sentinel.
11854 Change last arg to be the code to run. Don't use vc-previous-sentinel
11855 and vc-sentinel-commands any more.
11856 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11857 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11858
11859 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11860
11861 * progmodes/sh-script.el (sh-imenu-generic-expression):
11862 Handle function names with a single character. (Bug#14111)
11863
11864 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11865
11866 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11867 for subroutines defined in an eval (bug#14182).
11868
11869 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11870
11871 * bookmark.el (bookmark-completing-read): Improve handling of empty
11872 string (bug#14176).
11873
11874 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11877
11878 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11879
11880 New faster Imenu implementation (bug#14058).
11881 * progmodes/python.el:
11882 (python-imenu-prev-index-position):
11883 (python-imenu-format-item-label-function)
11884 (python-imenu-format-parent-item-label-function)
11885 (python-imenu-format-parent-item-jump-label-function):
11886 New vars.
11887 (python-imenu-format-item-label)
11888 (python-imenu-format-parent-item-label)
11889 (python-imenu-format-parent-item-jump-label)
11890 (python-imenu--put-parent, python-imenu--build-tree)
11891 (python-imenu-create-index, python-imenu-create-flat-index)
11892 (python-util-popn): New functions.
11893 (python-mode): Set imenu-create-index-function to
11894 python-imenu-create-index.
11895
11896 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11897
11898 * winner.el (winner-active-region): Use region-active-p, activate-mark
11899 and deactivate-mark (bug#14225).
11900
11901 * simple.el (deactivate-mark): Don't inline it.
11902
11903 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11904
11905 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11906
11907 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11908
11909 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11910 file extensions from the archive-mode entry in order to prefer
11911 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11912
11913 2013-04-18 Leo Liu <sdl.web@gmail.com>
11914
11915 * bindings.el (help-event-list): Add ?\?.
11916
11917 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * subr.el (with-wrapper-hook): Declare obsolete.
11920 * simple.el (filter-buffer-substring-function): New hook.
11921 (filter-buffer-substring): Use it.
11922 (filter-buffer-substring-functions): Mark obsolete.
11923 * minibuffer.el (completion-in-region-function): New hook.
11924 (completion-in-region): Use it.
11925 (completion-in-region-functions): Mark obsolete.
11926 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11927 * abbrev.el (abbrev-expand-function): New hook.
11928 (expand-abbrev): Use it.
11929 (abbrev-expand-functions): Mark obsolete.
11930 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11931 and :filter-return.
11932
11933 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11934
11935 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11936 and do not care about match data.
11937
11938 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11941 completion tables when completing error conditions and
11942 `declare' arguments.
11943 (lisp-complete-symbol, field-complete): Mark as obsolete.
11944 (check-parens): Unmatched parens are user errors.
11945 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11946
11947 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11948
11949 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11950 command changed buffer (ie. `flyspell-pre-buffer' is not current
11951 buffer), which prevents making decisions based on invalid value of
11952 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11953 cause an error when `flyspell-pre-point' was nil after switching
11954 buffers.
11955 (flyspell-post-command-hook): No longer needs to change buffers when
11956 checking pre-word. While at it remove unnecessary progn.
11957
11958 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11959
11960 * textmodes/ispell.el (ispell-add-per-file-word-list):
11961 Fix `flyspell-correct-word-before-point' error when accepting
11962 words and `coment-padding' is an integer by using
11963 `comment-normalize-vars' (Bug #14214).
11964
11965 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11966
11967 New defun movement commands.
11968 * progmodes/python.el (python-nav--syntactically)
11969 (python-nav--forward-defun, python-nav-backward-defun)
11970 (python-nav-forward-defun): New functions.
11971
11972 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11973
11974 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11975 (python-syntax-context): Use named compiler-macro for backwards
11976 compatibility with Emacs 24.x.
11977
11978 2013-04-17 Leo Liu <sdl.web@gmail.com>
11979
11980 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11981 octave-hide-process-buffer.
11982
11983 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11984
11985 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11986 (bug#14216).
11987
11988 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11989
11990 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11991 Fix adjustment of offset when receiving incomplete responses from GDB
11992 (bug#14129).
11993
11994 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11995
11996 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11997 python-mode-abbrev-table.
11998 (python-skeleton-define): Adjust accordingly.
11999 (python-mode-abbrev-table): New table that inherits from it so that
12000 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12001
12002 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12003 (abbrev-symbol): Use it.
12004 (abbrev--before-point): Use it since we already handle inheritance.
12005
12006 2013-04-16 Leo Liu <sdl.web@gmail.com>
12007
12008 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12009 binding to info-lookup-symbol.
12010
12011 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12012
12013 * minibuffer.el (completion--twq-all):
12014 * term/ns-win.el (ns-initialize-window-system):
12015 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12016
12017 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12018
12019 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12020 global bindings.
12021
12022 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12023
12024 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12025
12026 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12027 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12028 to nil.
12029 (ruby-end-of-defun): Remove the unused arg, change the docstring
12030 to reflect that this function is only used as the value of
12031 `end-of-defun-function'.
12032 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12033 to reflect an earlier change that beginning/end-of-defun functions
12034 jump between methods in a class definition, as well as top-level
12035 functions.
12036
12037 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * minibuffer.el (minibuffer-complete): Don't just scroll
12040 a *Completions* that's been iconified.
12041 (minibuffer-force-complete): Make sure repetitions do cycle when going
12042 through completion-in-region -> minibuffer-complete.
12043
12044 2013-04-15 Alan Mackenzie <acm@muc.de>
12045
12046 Correct the placement of c-cpp-delimiters when there're #s not at
12047 col 0.
12048
12049 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12050 place a submatch around the #.
12051 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12052 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12053 on the #, not BOL.
12054
12055 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12056
12057 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12058 (advice--member-p): New arg `name'.
12059 (advice--add-function, advice-member-p): Use it (bug#14202).
12060
12061 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12062
12063 Reformulate java imenu-generic-expression.
12064 The old expression contained ill formed regexps.
12065
12066 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12067 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12068 (cc-imenu-java-method-arg-regexp): New defconsts.
12069 (cc-imenu-java-build-type-args-regex): New defun.
12070 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12071 handling of spaces in the regexp.
12072
12073 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12074
12075 * textmodes/ispell.el (ispell-command-loop): Remove
12076 flyspell highlight of a word when ispell accepts it (bug #14178).
12077
12078 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12079
12080 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12081 uses code from the previous `ange-ftp-run-real-handler'.
12082 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12083 only in case that function exist. This is needed for proper
12084 unloading of Tramp.
12085
12086 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12087
12088 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12089
12090 * textmodes/reftex.el (reftex-compile-variables): Use it.
12091
12092 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * files.el (normal-mode): Only use default major-mode if no other mode
12095 was specified.
12096
12097 * emacs-lisp/trace.el (trace-values): New function.
12098
12099 * files.el: Allow : in local variables (bug#14089).
12100 (hack-local-variable-regexp): New var.
12101 (hack-local-variables-prop-line, hack-local-variables): Use it.
12102
12103 2013-04-13 Roland Winkler <winkler@gnu.org>
12104
12105 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12106 data before it gets modified by bibtex-beginning-of-entry.
12107
12108 2013-04-13 Roland Winkler <winkler@gnu.org>
12109
12110 * textmodes/bibtex.el (bibtex-url): Doc fix.
12111
12112 2013-04-13 Roland Winkler <winkler@gnu.org>
12113
12114 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12115 does not visit a BibTeX file, exclude it from the list of buffers
12116 returned by bibtex-initialize.
12117
12118 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12119
12120 * window.el (split-window): Remove interactive form, since as a
12121 command this function is a special case of split-window-below.
12122 Correct doc string.
12123
12124 2013-04-12 Roland Winkler <winkler@gnu.org>
12125
12126 * faces.el (read-face-name): Do not override value of arg default.
12127 Allow single faces and strings as default values. Remove those
12128 elements from return value that are not faces.
12129 (describe-face): Simplify.
12130 (face-at-point): New optional args thing and multiple so that this
12131 function can provide the same functionality previously provided by
12132 read-face-name.
12133 (make-face-bold, make-face-unbold, make-face-italic)
12134 (make-face-unitalic, make-face-bold-italic, invert-face)
12135 (modify-face, read-face-and-attribute): Use face-at-point.
12136
12137 * cus-edit.el (customize-face, customize-face-other-window)
12138 * cus-theme.el (custom-theme-add-face)
12139 * face-remap.el (buffer-face-set)
12140 * facemenu.el (facemenu-set-face): Use face-at-point.
12141
12142 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12143
12144 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12145
12146 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12147
12148 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12149 off leading { and trailing } from field values.
12150
12151 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12152
12153 * emacs-lisp/timer.el (timer--check): New function.
12154 (timer--time, timer-set-function, timer-event-handler): Use it.
12155 (timer-set-idle-time): Simplify.
12156 (timer--activate): CSE.
12157 (timer-event-handler): Give more info in error message.
12158 (internal-timer-start-idle): New function, moved from C.
12159
12160 * mpc.el (mpc-proc): Add `restart' argument.
12161 (mpc-proc-cmd): Use it.
12162 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12163 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12164 less often.
12165
12166 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12167
12168 * progmodes/sh-script.el: Implement `sh-mode' own
12169 `add-log-current-defun-function' (bug#14112).
12170 (sh-current-defun-name): New function.
12171 (sh-mode): Use the function.
12172
12173 2013-04-09 Bastien Guerry <bzg@gnu.org>
12174
12175 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12176
12177 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12180
12181 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12182 timer (bug#14156).
12183
12184 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12185
12186 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12187 declaration.
12188
12189 2013-04-07 Leo Liu <sdl.web@gmail.com>
12190
12191 * pcmpl-x.el: New file.
12192
12193 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12194
12195 Do not set x-display-name until X connection is established.
12196 This is needed to prevent from weird situation described at
12197 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12198 * frame.el (make-frame): Set x-display-name after call to
12199 window system initialization function, not before.
12200 * term/x-win.el (x-initialize-window-system): Add optional
12201 display argument and use it.
12202 * term/w32-win.el (w32-initialize-window-system):
12203 * term/ns-win.el (ns-initialize-window-system):
12204 * term/pc-win.el (msdos-initialize-window-system):
12205 Add compatible optional display argument.
12206
12207 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12208
12209 * files.el (normal-backup-enable-predicate): On MS-Windows and
12210 MS-DOS compare truenames of temporary-file-directory and of the
12211 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12212 don't fail comparison by compare-strings. Also, compare file
12213 names case-insensitively on MS-Windows and MS-DOS.
12214
12215 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12218 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12219
12220 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12221
12222 * whitespace.el (whitespace-color-on, whitespace-color-off):
12223 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12224
12225 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12226
12227 * ispell.el (ispell-set-spellchecker-params):
12228 Really set `ispell-args' for all equivs.
12229
12230 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * ido.el (ido-completions): Use extra elements of ido-decorations
12233 (bug#14143).
12234 (ido-decorations): Update docstring.
12235
12236 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12237
12238 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12239 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12240 nil during initialization, in order not to miss changes since the
12241 file was opened. (Bug#14140)
12242
12243 2013-04-05 Leo Liu <sdl.web@gmail.com>
12244
12245 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12246
12247 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12248
12249 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12250
12251 2013-04-04 Glenn Morris <rgm@gnu.org>
12252
12253 * electric.el (electric-pair-inhibit-predicate): Add :version.
12254
12255 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12258 when a package is required several times (bug#14082).
12259
12260 2013-04-04 Roland Winkler <winkler@gnu.org>
12261
12262 * faces.el (read-face-name): Behave as promised by the docstring.
12263 Assume that arg default is a list of faces.
12264 (describe-face): Call read-face-name with list of default faces.
12265
12266 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12267
12268 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12269 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12270 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12271 the header.
12272 (bookmark-exit-hook-internal): Save even if list is empty.
12273
12274 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12275
12276 * emacs-lisp/package.el (package-pinned-packages): New var.
12277 (package--add-to-archive-contents): Obey it (bug#14118).
12278
12279 2013-04-03 Alan Mackenzie <acm@muc.de>
12280
12281 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12282 Also adapt to the new values of element 7 of a parse state.
12283
12284 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12285 parameter `not-in-delimiter'. Handle being inside comment opener.
12286 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12287 character in case we're typing a '*' after a '/'.
12288 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12289 instead by passing the parameter to c-state-pp-to-literal.
12290
12291 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12292 for elt. 7 of a parse state.
12293
12294 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12295
12296 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12297 * international/latin1-disp.el, international/mule-util.el:
12298 * language/cyril-util.el, language/european.el, language/ind-util.el:
12299 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12300 * language/tibetan.el, language/viet-util.el:
12301 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12302
12303 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12306 (electric-pair-post-self-insert-function): Use it.
12307 (electric-pair-default-inhibit): New function, extracted from
12308 electric-pair-post-self-insert-function.
12309
12310 2013-03-31 Roland Winkler <winkler@gnu.org>
12311
12312 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12313
12314 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12315
12316 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12317
12318 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12319
12320 Un-indent after "pass" and "return" statements (Bug#13888)
12321 * progmodes/python.el (python-indent-block-enders): New var.
12322 (python-indent-calculate-indentation): Use it.
12323
12324 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12325
12326 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12327 defun. Defining it as defalias could introduce too eager
12328 byte-compiler optimization. (Bug#14030)
12329
12330 2013-03-30 Chong Yidong <cyd@gnu.org>
12331
12332 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12333
12334 2013-03-30 Leo Liu <sdl.web@gmail.com>
12335
12336 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12337 (kmacro-execute-from-register): Pass the keyboard macro to
12338 kmacro-call-macro or repeating won't work correctly.
12339
12340 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12341
12342 * progmodes/subword.el: Back to using `forward-symbol'.
12343
12344 * subr.el (forward-whitespace, forward-symbol)
12345 (forward-same-syntax): Move from thingatpt.el.
12346
12347 2013-03-29 Leo Liu <sdl.web@gmail.com>
12348
12349 * kmacro.el (kmacro-to-register): New command.
12350 (kmacro-execute-from-register): New function.
12351 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12352
12353 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12354
12355 * mpc.el: Use defvar-local and setq-local.
12356 (mpc--proc-connect): Connection failures are not bugs.
12357 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12358 (mpc-volume-map): Bind to the up-events.
12359
12360 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12361
12362 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12363 instead of `forward-symbol'.
12364
12365 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12366
12367 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12368 (edebug--recursive-edit): Use it.
12369 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12370 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12371
12372 2013-03-28 Leo Liu <sdl.web@gmail.com>
12373
12374 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12375
12376 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12377
12378 * facemenu.el (list-colors-callback): New defvar.
12379 (list-colors-redisplay): New function.
12380 (list-colors-display): Install list-colors-redisplay as the
12381 revert-buffer-function. (Bug#14063)
12382
12383 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12384
12385 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12386 and suffixes don't overlap (bug#14061).
12387
12388 * case-table.el: Use lexical-binding.
12389 (case-table-get-table): New function.
12390 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12391
12392 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12393
12394 * progmodes/subword.el: Add `superword-mode' to do word motion
12395 over symbol_words (parallels and leverages `subword-mode' which
12396 does word motion inside MixedCaseWords).
12397
12398 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12399
12400 * eshell/em-unix.el: Move su and sudo to...
12401 * eshell/em-tramp.el: ...Eshell tramp module.
12402
12403 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12406 Change return value to be a sexp. Delay `get-buffer' to after
12407 restoring the desktop (bug#13951).
12408
12409 2013-03-26 Leo Liu <sdl.web@gmail.com>
12410
12411 * register.el: Move semantic tag handling back to
12412 cedet/semantic/senator.el. (Bug#14052)
12413
12414 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12417 into the prompt either (bug#13963).
12418
12419 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12422 part of "(error-foo)".
12423
12424 2013-03-24 Juri Linkov <juri@jurta.org>
12425
12426 * replace.el (list-matching-lines-prefix-face): New defcustom.
12427 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12428 `occur-engine' if `face-differs-from-default-p' returns t.
12429 (occur-engine): Add `,' inside backquote construct to evaluate
12430 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12431 Pass `prefix-face' to the functions `occur-context-lines' and
12432 `occur-engine-add-prefix'.
12433 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12434 `prefix-face' and propertize the prefix with `prefix-face'.
12435 (Bug#14017)
12436
12437 2013-03-24 Leo Liu <sdl.web@gmail.com>
12438
12439 * nxml/rng-valid.el (rng-validate-while-idle)
12440 (rng-validate-quick-while-idle): Guard against deleted buffer.
12441 (Bug#13999)
12442
12443 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12444 is the last entry in kill-buffer-hook.
12445
12446 * files.el (kill-buffer-hook): Doc fix.
12447
12448 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12449
12450 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12451 Make it safe-local.
12452
12453 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12454
12455 2013-03-23 Leo Liu <sdl.web@gmail.com>
12456
12457 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12458 Remove.
12459
12460 * nxml/rng-valid.el (rng-validate-mode)
12461 (rng-after-change-function, rng-do-some-validation):
12462 * nxml/rng-maint.el (rng-validate-buffer):
12463 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12464 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12465 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12466 (nxml-extend-after-change-region): Use with-silent-modifications.
12467
12468 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12469 timer-idle-list.
12470
12471 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12472 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12473 timer-idle-list. (Bug#13999)
12474
12475 2013-03-23 Juri Linkov <juri@jurta.org>
12476
12477 * info.el (info-index-match): New face.
12478 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12479 main pattern and add text properties with the new face to matches
12480 in index entries relative to the beginning of the index entry.
12481 (Bug#14015)
12482
12483 2013-03-21 Eric Ludlam <zappo@gnu.org>
12484
12485 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12486 Inhibit read only while inserting objects.
12487
12488 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12489
12490 * progmodes/cfengine.el: Update docs to mention
12491 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12492 symbol motion. Remove "_" from the word syntax.
12493
12494 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12495
12496 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12497 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12498
12499 2013-03-20 Juri Linkov <juri@jurta.org>
12500
12501 * info.el (Info-next-reference-or-link)
12502 (Info-prev-reference-or-link): New functions.
12503 (Info-next-reference, Info-prev-reference): Use them.
12504 (Info-try-follow-nearest-node): Handle footnote navigation.
12505 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12506
12507 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12510 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12511
12512 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12513
12514 Suppress unnecessary non-ASCII chatter during build process.
12515 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12516 (batch-skkdic-convert): Suppress most of the chatter.
12517 It's not needed so much now that machines are faster,
12518 and its non-ASCII component was confusing; see Dmitry Gutov in
12519 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12520
12521 2013-03-20 Leo Liu <sdl.web@gmail.com>
12522
12523 * ido.el (ido-chop): Fix bug#10994.
12524
12525 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12526
12527 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12528 Remove vars.
12529 (whitespace-color-on, whitespace-color-off):
12530 Use `font-lock-fontify-buffer' (Bug#13817).
12531
12532 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12533
12534 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12535 remapping in mode-line.
12536 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12537
12538 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12539
12540 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12541 value for `whitespace-line' face (Bug#13875).
12542 (whitespace-font-lock-keywords): Change description.
12543 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12544 the constructed keywords instead.
12545 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12546
12547 2013-03-19 Leo Liu <sdl.web@gmail.com>
12548
12549 * progmodes/compile.el (compilation-display-error): New command.
12550 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12551 C-o. (Bug#13992)
12552
12553 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12554
12555 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12556
12557 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12558
12559 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12560
12561 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12562
12563 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12564
12565 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12566 * net/tramp-gvfs.el (top):
12567 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12568 (tramp-handle-shell-command): Use it.
12569 (tramp-dissect-file-name): Raise an error when hostname is a
12570 method name, and neither method nor user is specified.
12571
12572 * net/trampver.el: Update release number.
12573
12574 2013-03-18 Leo Liu <sdl.web@gmail.com>
12575
12576 Make sure eldoc can be turned off properly.
12577 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12578 eldoc-mode.
12579 (eldoc-display-message-p): Revert last change.
12580 (eldoc-display-message-no-interference-p)
12581 (eldoc-print-current-symbol-info): Tweak.
12582
12583 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12584
12585 * doc-view.el (doc-view-new-window-function): Check the new window
12586 overlay's display property instead the char property of the
12587 buffer's first char. Use `with-selected-window' instead of
12588 `save-window-excursion' with `select-window'.
12589 (doc-view-document->bitmap): Check the current doc-view overlay's
12590 display property instead the char property of the buffer's first char.
12591
12592 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12593
12594 Automate the build of ja-dic.el (Bug#13984).
12595 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12596 from the input, rather than assume that it's been done for us by the
12597 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12598 the current date into a ja-dic.el comment, as that complicates
12599 regression testing.
12600
12601 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * whitespace.el: Fix double evaluation.
12604 (whitespace-space, whitespace-hspace, whitespace-tab)
12605 (whitespace-newline, whitespace-trailing, whitespace-line)
12606 (whitespace-space-before-tab, whitespace-indentation)
12607 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12608 obsolete defvars.
12609 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12610 (whitespace-color-on): Use a single font-lock-add-keywords call.
12611 Fix double-evaluation of face variables.
12612
12613 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12614
12615 * net/tramp-adb.el (tramp-adb-parse-device-names):
12616 Use `start-process' instead of `call-process'. Otherwise, the
12617 function might be blocked under MS Windows. (Bug#13299)
12618
12619 2013-03-17 Leo Liu <sdl.web@gmail.com>
12620
12621 Extend eldoc to display info in the mode-line. (Bug#13978)
12622 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12623 (eldoc-mode-line-string): New variable.
12624 (eldoc-minibuffer-message): New function.
12625 (eldoc-message-function): New variable.
12626 (eldoc-message): Use it.
12627 (eldoc-display-message-p)
12628 (eldoc-display-message-no-interference-p):
12629 Support eldoc-post-insert-mode.
12630
12631 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12632 (eval-expression): Run it.
12633
12634 2013-03-17 Roland Winkler <winkler@gnu.org>
12635
12636 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12637 strings in the list of return values.
12638
12639 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12640
12641 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12642 radix before checking for HMS forms.
12643
12644 2013-03-16 Leo Liu <sdl.web@gmail.com>
12645
12646 * progmodes/scheme.el: Add indentation and font-locking for λ.
12647 (Bug#13975)
12648
12649 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12650
12651 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12652 token before point (bug#13942).
12653
12654 2013-03-16 Leo Liu <sdl.web@gmail.com>
12655
12656 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12657
12658 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12659
12660 * startup.el (command-line-normalize-file-name): Fix handling of
12661 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12662 <xfq.free@gmail.com> in
12663 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12664
12665 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12666
12667 Sync with Tramp 2.2.7.
12668
12669 * net/trampver.el: Update release number.
12670
12671 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12672
12673 * doc-view.el: Fix bug#13887.
12674 (doc-view-insert-image): Don't modify overlay associated to
12675 non-live windows, and implement horizontal centering of image in
12676 case it's smaller than the window.
12677 (doc-view-new-window-function): Force redisplay of new windows on
12678 doc-view buffers.
12679
12680 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12681
12682 * saveplace.el (save-place-alist-to-file): Don't sort
12683 `save-place-alist', just pretty-print it (bug#13882).
12684
12685 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12686
12687 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12688 Check whether `default-file-name-coding-system' is bound.
12689 It isn't in XEmacs.
12690
12691 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12692
12693 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12694 backquotes for `obsolete' (bug#13929).
12695
12696 * international/mule.el (find-auto-coding): Include file name in
12697 obsolescence warning (bug#13922).
12698
12699 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12700
12701 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12702 for CFEngine 3-specific indentation.
12703 (cfengine3-indent-line): Use it. Fix up category regex.
12704 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12705
12706 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12707
12708 * type-break.el (type-break-file-name):
12709 * textmodes/remember.el (remember-data-file):
12710 * strokes.el (strokes-file):
12711 * shadowfile.el (shadow-initialize):
12712 * saveplace.el (save-place-file):
12713 * ps-bdf.el (bdf-cache-file):
12714 * progmodes/idlwave.el (idlwave-config-directory):
12715 * net/quickurl.el (quickurl-url-file):
12716 * international/kkc.el (kkc-init-file-name):
12717 * ido.el (ido-save-directory-list-file):
12718 * emulation/viper.el (viper-custom-file-name):
12719 * emulation/vip.el (vip-startup-file):
12720 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12721 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12722
12723 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12724
12725 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12726 * language/thai-word.el: Switch to UTF-8.
12727
12728 See ChangeLog.16 for earlier changes.
12729
12730 ;; Local Variables:
12731 ;; coding: utf-8
12732 ;; End:
12733
12734 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12735
12736 This file is part of GNU Emacs.
12737
12738 GNU Emacs is free software: you can redistribute it and/or modify
12739 it under the terms of the GNU General Public License as published by
12740 the Free Software Foundation, either version 3 of the License, or
12741 (at your option) any later version.
12742
12743 GNU Emacs is distributed in the hope that it will be useful,
12744 but WITHOUT ANY WARRANTY; without even the implied warranty of
12745 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12746 GNU General Public License for more details.
12747
12748 You should have received a copy of the GNU General Public License
12749 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.