Fix bug#16610
[bpt/emacs.git] / lisp / ChangeLog
1 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2
3 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4 `:' before binary operators (bug#16609). Don't check for `:'
5 before `[' and `(', or their syntax status. A percent literal
6 can't end with either.
7 (ruby-font-lock-keywords): For built-ins that require arguments,
8 check that they're followed by something that looks like argument
9 (bug#16610).
10
11 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
12
13 * subr.el (butlast): Document what an omitted N means (bug#13437).
14 (nbutlast): Ditto.
15
16 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
17
18 * net/shr.el (shr-generic): Make into a defsubst to make the stack
19 depth shallower (bug#16587).
20 (shr-tag-svg): Respect `shr-inhibit-images'.
21 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
22
23 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
24
25 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
26 (ruby-smie-grammar): Make "." right-associative. Make its priority
27 lower than the ternary and all binary operators.
28 (ruby-smie-rules): Indent "(" relative to the first non-"."
29 parent, or the first "." parent at indentation. Use
30 `ruby-align-chained-calls' for indentation of "." tokens.
31 (Bug#16593)
32
33 2014-01-31 Juri Linkov <juri@jurta.org>
34
35 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
36 from `make-hash-table'.
37
38 * textmodes/ispell.el (ispell-init-process): Change message format
39 to be consistent with other messages.
40
41 2014-01-31 Glenn Morris <rgm@gnu.org>
42
43 * delsel.el (delete-selection-mode): Doc fix.
44
45 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
46 (trace-function-background): Doc fixes.
47
48 * ido.el (ido-use-virtual-buffers): Doc fix.
49 Reset :version, since the default value has not changed.
50
51 * register.el (register-preview-delay, register-read-with-preview):
52 Doc fixes.
53
54 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
55 do not mess with mail-buffer position (fixes 2009-11-03 change).
56 * progmodes/cc-mode.el (c-submit-bug-report):
57 Check auto-fill-mode is bound. (Bug#16592)
58
59 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
60
61 * startup.el (fancy-splash-image-file): New function,
62 split from fancy-splash-head.
63 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
64 so that we are both using the same image. (Bug#16574)
65
66 2014-01-30 Glenn Morris <rgm@gnu.org>
67
68 * simple.el (eval-expression): Doc fix.
69
70 * hexl.el (hexl-mode-hook):
71 * ielm.el (ielm-mode-hook):
72 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
73 (lisp-interaction-mode-hook):
74 * progmodes/cfengine.e (cfengine3-documentation-function):
75 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
76
77 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
80 is a symbol (bug#16584).
81
82 2014-01-30 Glenn Morris <rgm@gnu.org>
83
84 * help.el (help-for-help-internal): Add "P" to text.
85
86 2014-01-29 Glenn Morris <rgm@gnu.org>
87
88 * simple.el (just-one-space, cycle-spacing): Doc fixes.
89
90 2014-01-28 Martin Rudalics <rudalics@gmx.at>
91
92 * window.el (fit-frame-to-buffer): Fix calculations for margins and
93 height constraints.
94
95 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
96
97 * progmodes/hideif.el: Extend to full CPP expression syntax.
98 (hif-token-alist): Add missing tokens.
99 (hif-token-regexp): Add support for float/octal/hex immediates.
100 (hif-string-literal-regexp): New const.
101 (hif-tokenize): Recognize strings and float/octal/hex immediates.
102 (hif-exprlist): New function.
103 (hif-parse-if-exp): Use it.
104 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
105 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
106 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
107 (hif-logxor, hif-comma): New functions.
108
109 2014-01-28 Glenn Morris <rgm@gnu.org>
110
111 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
112
113 * indent.el (tab-stop-list): Doc fix. Add :version.
114
115 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
116 (cvs-append-to-ignore): Add compatibility alias.
117
118 2014-01-27 Glenn Morris <rgm@gnu.org>
119
120 * dired.el (dired-hide-details-mode): Don't autoload it,
121 since it cannot be used outside Dired buffers anyway.
122
123 * emulation/cua-base.el (cua-mode): Doc fix.
124
125 * dired.el (dired-hide-details-hide-symlink-targets)
126 (dired-hide-details-hide-information-lines)
127 (dired-hide-details-mode): Doc fixes.
128
129 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
130 * strokes.el (strokes-file): Doc fix. Bump :version.
131 (strokes-help): Doc fix.
132 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
133 * emulation/viper.el (viper): Doc fix for custom group.
134 (top-level): Remove oh-so-no-longer-relevant text about vip.
135 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
136
137 * ido.el (ido-save-directory-list-file):
138 * saveplace.el (save-place-file):
139 * calendar/timeclock.el (timeclock-file):
140 * net/quickurl.el (quickurl-url-file):
141 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
142 * progmodes/idlwave.el (idlwave-config-directory):
143 * textmodes/remember.el (remember-data-file):
144 Bump :version.
145
146 2014-01-26 Glenn Morris <rgm@gnu.org>
147
148 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
149 Doc fix. Make obsolete.
150 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
151
152 * sort.el (delete-duplicate-lines): Doc fix.
153
154 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
155
156 * progmodes/ada-mode.el (ada):
157 * woman.el (woman): Link to info manual and Commentary section.
158
159 * progmodes/flymake.el (flymake):
160 * nxml/nxml-mode.el (nxml):
161 * net/eww.el (eww):
162 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
163 * htmlfontify.el (htmlfontify):
164 * ses.el (ses):
165 * epa.el (epa):
166 * ido.el (ido): Link to info manual.
167
168 2014-01-25 Leo Liu <sdl.web@gmail.com>
169
170 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
171
172 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
173
174 * net/shr.el (shr-tag-img): Prefer the title over the alt text
175 (bug#16537).
176
177 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
178
179 * net/eww.el (eww-download-callback):
180 Fix reference to eww-download-directory.
181
182 * emacs-lisp/bytecomp.el (byte-compile-file):
183 Remove unused local variable `file-name'.
184
185 2014-01-24 Glenn Morris <rgm@gnu.org>
186
187 * woman.el (woman-default-faces, woman-monochrome-faces):
188 Fix obsolescence specification.
189
190 * subr.el (with-demoted-errors): Doc fix.
191
192 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
193
194 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
195 (cl--macroexp-fboundp): New function.
196 (cl--make-type-test): Use it.
197
198 2014-01-23 Glenn Morris <rgm@gnu.org>
199
200 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
201 * simple.el (eval-expression): Doc fixes.
202
203 2014-01-22 Glenn Morris <rgm@gnu.org>
204
205 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
206
207 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
208
209 * emacs-lisp/package.el: Write files silently.
210 (package-autoload-ensure-default-file, package--write-file-no-coding)
211 (package-generate-description-file, package--download-one-archive)
212 (package-install-from-archive): Tell `write-region' to stay quiet.
213 (package-menu-mode, package-menu--print-info): Omit the Archive column
214 if there's only one archive.
215 (package-all-keywords, package--has-keyword-p): Remove dead code.
216
217 2014-01-22 Glenn Morris <rgm@gnu.org>
218
219 * version.el (emacs-bzr-version-bzr): Fix typo.
220
221 * version.el (emacs-repository-get-version):
222 Check either .bzr or .git, but not both.
223 Make the git case actually use the DIR argument, and return nil
224 rather than the empty string.
225 Avoid error if .git exists but the git executable is not found.
226
227 2014-01-22 Martin Rudalics <rudalics@gmx.at>
228
229 Fixes in window size functions around Bug#16430 and Bug#16470.
230 * window.el (window-total-size, window-size): New argument ROUND.
231 (window--min-delta-1, window-min-delta, window--max-delta-1):
232 Be more conservative when calculating the numbers of lines or
233 columns a window can shrink (Bug#16430).
234 (fit-window-to-buffer): Simplify code.
235 * term.el (term-window-width): Call window-body-width again.
236
237 2014-01-22 Glenn Morris <rgm@gnu.org>
238
239 * image.el (image-format-suffixes): Doc fix.
240
241 * international/quail.el (quail-define-package): Doc fix.
242
243 * emacs-lisp/authors.el (authors-valid-file-names):
244 (authors-renamed-files-alist): Additions.
245
246 * vc/vc-git.el (vc-git-print-log): Remove --follow;
247 reverts 2014-01-09 change. (Bug#16422)
248
249 * calc/calc-embed.el (thing-at-point-looking-at):
250 * emacs-lisp/map-ynp.el (x-popup-dialog):
251 * obsolete/lmenu.el (x-popup-dialog):
252 * emacs-lisp/package.el (url-recreate-url):
253 * mail/mailclient.el (clipboard-kill-ring-save):
254 * subr.el (x-popup-dialog): Update declaration.
255 * mail/rmail.el (rmail-mime-message-p):
256 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
257
258 2014-01-21 Daniel Colascione <dancol@dancol.org>
259
260 * progmodes/sh-script.el (sh--inside-noncommand-expression):
261 Correctly detect when we're inside an arithmetic expansion form
262 containing nested parenthesis.
263 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
264 to detect cases where we shouldn't expand "<<" to a heredoc
265 skeleton.
266
267 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
268
269 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
270 (eldoc--message-command-p): New function.
271 (eldoc-display-message-p): Use it.
272 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
273 message is not automatically erased for us.
274 (eldoc-print-current-symbol-info): Erase previous message, if any.
275
276 2014-01-21 Tassilo Horn <tsdh@gnu.org>
277
278 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
279 specify it's an interactive function.
280
281 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
282 Fix regex used for scanning for citation keys which failed for
283 citations with optional arguments.
284
285 2014-01-21 Leo Liu <sdl.web@gmail.com>
286
287 * simple.el (read--expression): Don't enable eldoc-mode.
288
289 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
290
291 * simple.el (move-beginning-of-line): Make sure we don't move forward
292 (bug#16497).
293
294 2014-01-20 Juri Linkov <juri@jurta.org>
295
296 * saveplace.el (toggle-save-place, save-place-to-alist)
297 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
298 'dired-mode) before checking for dired-directory. (Bug#16477)
299
300 2014-01-20 Juri Linkov <juri@jurta.org>
301
302 * indent.el (indent-line-to): Use backward-to-indentation
303 instead of back-to-indentation. (Bug#16461)
304
305 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
306
307 Revert some of the CANNOT_DUMP fix (Bug#16494).
308 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
309 but fixing this can wait until after the next release.
310 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
311
312 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
313
314 * eshell/esh-mode.el (eshell-password-prompt-regexp):
315 Use `password-word-equivalents'.
316 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
317 to t. (Bug#5664, Bug#13124)
318
319 2014-01-19 Alan Mackenzie <acm@muc.de>
320
321 Bind open-paren-in-column-0-is-defun-start to nil at some entry
322 points.
323 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
324 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
325 * progmodes/cc-mode.el (c-before-change, c-after-change)
326 (c-font-lock-fontify-region): Bind it here.
327
328 2014-01-19 Martin Rudalics <rudalics@gmx.at>
329
330 * term.el (term-window-width): Call window-text-width instead of
331 window-width (Bug#16470).
332
333 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
334
335 * simple.el (password-word-equivalents): Remove duplicates.
336 Sort, to make this easier next time.
337 Downcase. Omit ": " after "jelszó".
338
339 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
340
341 * term/common-win.el (saved-region-selection): Defvar it.
342 (x-select-text): Set saved-region-selection (Bug#16382).
343
344 2014-01-18 Glenn Morris <rgm@gnu.org>
345
346 * emacs-lisp/authors.el (authors-aliases)
347 (authors-renamed-files-alist): Add some entries.
348
349 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
350
351 * net/tramp.el (tramp-password-prompt-regexp):
352 Use `password-word-equivalents' if available.
353 (tramp-action-password, tramp-process-one-action)
354 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
355
356 2014-01-17 Chong Yidong <cyd@gnu.org>
357
358 * simple.el (password-word-equivalents): New defcustom.
359 * comint.el (comint-password-prompt-regexp): Use it. Bump version
360 to 24.4.
361 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
362 to t. (Bug#13124)
363
364 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
365
366 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
367 (ruby-align-to-stmt-keywords): Change the default value.
368 Use `ruby-alignable-keywords' to generate the possible customization
369 choices.
370 (ruby-smie-rules): Instead of using a hardcoded list of alignable
371 keywords, check against the value of `ruby-alignable-keywords'
372 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
373
374 2014-01-17 Glenn Morris <rgm@gnu.org>
375
376 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
377
378 Make M-x authors return zero *Authors Errors* from current logs.
379 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
380 (authors-ignored-files): Add some entries, remove others.
381 (authors-ambiguous-files, authors-valid-file-names):
382 Add some entries.
383 (authors-renamed-files-alist): Add, remove, and adjust entries.
384 (authors-renamed-files-regexps): Add some entries.
385 Remove some very broad ones. Make some entries `lax'.
386 (authors-lax-changelogs): New constant.
387 (authors-disambiguate-file-name): Treat top-level specially.
388 (authors-lax-changelog-p): New function.
389 (authors-canonical-file-name): Check file as written against
390 authors-valid-file-names. Do not special-case etc/.
391 Handle `lax' logs and authors-renamed-files-regexps elements.
392
393 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
394
395 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
396 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
397 callers.
398
399 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
402 Assume we're already in the proper buffer.
403 Inspired by Anders Lindgren <andlind@gmail.com>.
404 (follow-post-command-hook): Call it from the right buffer.
405 (follow-comint-scroll-to-bottom): Adjust call.
406 (follow-all-followers): Use get-buffer-window-list.
407
408 2014-01-15 Daniel Colascione <dancol@dancol.org>
409
410 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
411 `buffer-file-name' in interactive-form so that we don't leave
412 pathless file names in `file-name-history'.
413
414 2014-01-15 Juri Linkov <juri@jurta.org>
415
416 * indent.el (indent-rigidly): Set deactivate-mark to nil
417 in transient indentation mode. (Bug#16438)
418
419 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
420
421 * emacs-lisp/package.el (package-desc-keywords): New function
422 (Bug#16222).
423 (describe-package-1, package-all-keywords)
424 (package--has-keyword-p): Use it.
425
426 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
427
428 * simple.el (define-alternatives): When creating the
429 COMMAND-alternatives variable, assign COMMAND as its definition
430 name so that `describe-variable' can relocate it.
431
432 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
433
434 * font-lock.el (font-lock-keywords): Fix typo in docstring
435 (bug#16307).
436
437 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
438
439 * ispell.el (ispell-region): Reset `in-comment' for new line
440 instead of wrongly reset `add-coment' (bug#13577).
441
442 2014-01-14 Daiki Ueno <ueno@gnu.org>
443
444 * epa-file.el (epa-file-write-region): Encode the region according
445 to `buffer-file-format'. Problem reported at:
446 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
447
448 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
449
450 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
451 so it applies in the right buffer (bug#16410).
452
453 2014-01-13 Daniel Colascione <dancol@dancol.org>
454
455 * textmodes/rst.el (rst-define-key): Provide deprecated
456 keybindings through named functions instead of anonymous ones so
457 that "??" doesn't appear in describe-mode output.
458
459 2014-01-13 Bastien Guerry <bzg@gnu.org>
460
461 * simple.el (define-alternatives): Call the selected command
462 interactively. When setting `COMMAND--implementation' for the
463 first time, tell the user how to chose another implementation.
464 Enhance the docstring.
465
466 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
469 (log-edit--match-first-line): New function.
470 (log-edit-font-lock-keywords): Use it.
471 (log-edit-mode): Make jit-lock-defer-multiline work.
472
473 2014-01-13 Bastien Guerry <bzg@gnu.org>
474
475 * rect.el (rectangle-mark-mode): When the region is not active,
476 display a message saying that the mark as been set and that
477 rectangle mode is in use.
478 (rectangle--highlight-for-redisplay): Only put an overlay with a
479 visible vertical bar when (display-graphic-p) is non-nil.
480 This partially fixes Bug#16403.
481
482 2014-01-13 Juri Linkov <juri@jurta.org>
483
484 * info.el (Info-find-file): Go to DIR before displaying the error
485 about a nonexistent file if no previous Info file is visited.
486 Use `user-error' instead of `error' for "Info file %s does not exist".
487 (Info-find-node-2): In case of a nonexistent node in unwind forms
488 go to the Top node if there is no previous node to revert to.
489 (Bug#16405)
490
491 2014-01-13 Martin Rudalics <rudalics@gmx.at>
492
493 fit-frame/window-to-buffer code fixes including one for Bug#14096.
494 * window.el (fit-frame-to-buffer): Fix doc-string.
495 Respect window-min-height/-width. Fit pixelwise when
496 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
497 when avoiding that frame goes partially off-screen.
498 (fit-window-to-buffer): Respect window-min-height/-width
499 (Bug#14096).
500
501 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
504 after an empty line.
505
506 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
507
508 * net/shr.el (shr-render-region): Autoload.
509
510 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
511
512 * net/eww.el (eww-download-directory): Rename from
513 `eww-download-path' (Bug#16419).
514
515 2014-01-12 Leo Liu <sdl.web@gmail.com>
516
517 * dired-x.el (dired-mode-map): Fix last change.
518
519 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
520
521 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
522
523 Spelling fixes.
524 * emacs-lisp/generic.el (generic--normalize-comments):
525 Rename from generic--normalise-comments. All uses changed.
526 * play/bubbles.el (bubbles--neighborhood-score):
527 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
528 (bubbles--neighborhood-available)
529 (bubbles--update-neighborhood-score):
530 Rename from names with 'neighbourhood'. All uses changed.
531
532 2014-01-12 Leo Liu <sdl.web@gmail.com>
533
534 Re-implement the feature of showing eldoc info after editing.
535 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
536 (eldoc-edit-message-commands): New function.
537 (eldoc-print-after-edit): New variable.
538 (eldoc-pre-command-refresh-echo-area): Emit message only by
539 eldoc-message-commands.
540 (eldoc-mode): Restrict eldoc-message-commands to editing commands
541 if eldoc-print-after-edit is set. (Bug#16346)
542 * simple.el (read--expression): Enable eldoc-mode.
543 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
544
545 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
546 Eric S. Raymond <esr@thyrsus.com>
547
548 * version.el (emacs-repository-get-version): Enhance so the
549 function works correctly in either a Bazaar or Git repo.
550
551 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
552
553 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
554 Goes with removal of the joke manpages from /etc.
555
556 2014-01-10 K. Handa <handa@gnu.org>
557
558 * mail/rmail.el (rmail-get-coding-system):
559 Check rmail-get-coding-function before "funcall"ing it.
560
561 2014-01-10 Glenn Morris <rgm@gnu.org>
562
563 * emacs-lisp/authors.el (authors-fixed-entries):
564 Update for files that no longer exist.
565
566 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
567
568 * version.el (emacs-bzr-get-version): Restore compatibilty with
569 24.3 (Tested).
570
571 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
572
573 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
574 and Podfile.
575
576 2014-01-10 Eli Zaretskii <eliz@gnu.org>
577
578 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
579
580 2014-01-10 Chong Yidong <cyd@gnu.org>
581
582 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
583
584 2014-01-10 Anders Lindgren <andlind@gmail.com>
585
586 * follow.el (follow-cache-command-list): Include right-char and
587 left-char.
588
589 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
590
591 Spelling fixes.
592 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
593 * woman.el (woman-mark-horizontal-position):
594 Rename from woman-mark-horizonal-position. Use changed.
595
596 2014-01-10 Glenn Morris <rgm@gnu.org>
597
598 * info.el (info-initialize): If running uninstalled, ensure our
599 own info files are always found first, even if INFOPATH is set.
600
601 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
602
603 2014-01-09 David Engster <deng@randomsample.de>
604
605 * emacs-lisp/eieio-custom.el:
606 * emacs-lisp/eieio-opt.el: Set generated autoload file to
607 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
608 * emacs-lisp/eieio.el: Regenerate autoloads.
609
610 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
611
612 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
613 following renames. (Bug#8756)
614
615 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
616
617 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
618 (bug#16382).
619 (activate-mark): Add `no-tmm' argument.
620 (set-mark, push-mark-command): Use it instead of running
621 activate-mark-hook by hand.
622
623 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
624
625 In preparation for the move to git, sanitize out some
626 Bazaar-specific names.
627
628 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
629
630 * version.el (emacs-bzr-version): Name changed to
631 emacs-repository-version. Obsolete-variable alias made.
632 * loadup.el: Follow through on this name change.
633 * mail/emacsbug.el (report-emacs-bug): Factor out any
634 assumption about the version control system in use.
635
636 2014-01-08 David Engster <deng@randomsample.de>
637
638 * help-fns.el (help-fns-describe-function-functions):
639 New variable to call functions for augmenting help buffers.
640 (describe-function-1): Remove explicit calls to
641 `help-fns--compiler-macro', `help-fns--parent-mode' and
642 `help-fns--obsolete'. Put them in above new variable instead, and
643 call them through `run-hook-with-args'.
644 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
645 `eieio-describe-class'. Not meant for interactive use anymore,
646 but to augment existing help buffers. Remove optional second
647 argument. Create proper button for file location.
648 Rewrite function to use `insert' instead of `princ' and `prin1' where
649 possible.
650 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
651 (eieio-method-def, eieio-class-def): Move further up.
652 (describe-method, describe-generic, eieio-describe-method):
653 Remove aliases.
654 (eieio-help-constructor, eieio-help-generic): Rename from
655 `eieio-describe-constructor' and `eieio-describe-generic', resp.
656 Rewrite to use `insert' in the current buffer and use proper help
657 buttons.
658 (eieio-help-find-method-definition)
659 (eieio-help-find-class-definition): Also accept symbols as
660 arguments.
661 (eieio-help-mode-augmentation-maybee): Remove.
662 (eieio-describe-class-sb): Use `describe-function'.
663 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
664 Add `eieio-help-generic' and `eieio-help-constructor'.
665
666 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
667
668 Spelling fixes.
669 * language/china-util.el (hz-ascii-designation):
670 Rename from hz-ascii-designnation.
671 (hz-ascii-designation): Rename from hz-ascii-designnation.
672 All uses changed.
673
674 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
677 package-alist.
678
679 2014-01-08 Bastien Guerry <bzg@gnu.org>
680
681 * emacs-lisp/package.el (package-delete):
682 Correctly delete the package from package-alist.
683
684 2014-01-08 Daiki Ueno <ueno@gnu.org>
685
686 * emacs-lisp/package.el (url-recreate-url): Declare.
687 (url-http-target-url): Declare.
688 (package-handle-response): Include requested URL in the error message.
689 (package--check-signature): Don't re-signal errors from
690 package--with-work-buffer. Suggested by Stefan Monnier.
691
692 2014-01-07 Bastien Guerry <bzg@gnu.org>
693
694 * minibuffer.el (completion--try-word-completion): When both a
695 hyphen and a space are possible candidates for the character
696 following a word, display both candidates. (Bug#15980)
697
698 2014-01-07 Martin Rudalics <rudalics@gmx.at>
699
700 * window.el (balance-windows-2): While rounding don't give a
701 window more than the remainder. Bug#16351, Bug#16383.
702
703 2014-01-07 Glenn Morris <rgm@gnu.org>
704
705 * menu-bar.el (menu-bar-help-extra-packages): Remove.
706 (menu-bar-help-menu): Use view-external-packages instead.
707
708 2014-01-07 Bastien Guerry <bzg@gnu.org>
709
710 * emacs-lisp/package.el (package-delete): Also delete the package
711 name from `package-alist', not its description only.
712
713 2014-01-07 Glenn Morris <rgm@gnu.org>
714
715 * help.el (view-external-packages):
716 * menu-bar.el (menu-bar-help-extra-packages):
717 Visit efaq.info rather than etc/MORE.STUFF.
718
719 2014-01-07 Juri Linkov <juri@jurta.org>
720
721 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
722 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
723
724 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
725 that shadows RET. (Bug#16342)
726
727 2014-01-07 Chong Yidong <cyd@gnu.org>
728
729 * isearch.el (isearch-yank-char, isearch-yank-word)
730 (isearch-yank-line): Doc fix.
731
732 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
735 * emacs-lisp/elint.el (elint-find-builtins):
736 * emacs-lisp/eldoc.el (eldoc-symbol-function):
737 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
738 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
739 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
740 * apropos.el (apropos-safe-documentation):
741 * subr.el (symbol-file): Remove redundant fboundp.
742 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
743
744 2014-01-06 Bastien Guerry <bzg@gnu.org>
745
746 * hl-line.el (global-hl-line-overlay): Make a local variable.
747 (global-hl-line-overlays): New variable to store all overlays.
748 (global-hl-line-mode): Don't delete overlays from the current
749 buffer when `global-hl-line-sticky-flag' is non-nil.
750 (global-hl-line-highlight): Add new overlays to
751 `global-hl-line-overlays'.
752 (global-hl-line-unhighlight-all): New function to delete all
753 overlays when turning off `global-hl-line-mode'.
754 This fixes Bug#16183.
755
756 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * subr.el (set-transient-map): Fix nested case and docstring.
759
760 2014-01-06 Tassilo Horn <tsdh@gnu.org>
761
762 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
763 `Texinfo' entry.
764
765 2014-01-06 Daniel Colascione <dancol@dancol.org>
766
767 Fix defun navigation in vc log view.
768
769 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
770 like `beginning-of-defun'.
771 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
772 log-view-end-of-defun to log-view-end-of-defun-1. Replace
773 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
774 (log-view-extract-comment): Call `log-view-current-entry' directly
775 instead of relying on broken `log-view-beginning-of-defun' behavior.
776
777 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
778
779 Spelling fixes.
780 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
781 * emacs-lisp/debug.el (cancel-debug-on-entry):
782 * epg.el (epg-error-to-string):
783 * files.el (recover-file):
784 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
785 * mail/emacsbug.el (report-emacs-bug-hook):
786 * mail/sendmail.el (mail-recover):
787 * ses.el (ses-yank-resize):
788 * term/ns-win.el (ns-print-buffer):
789 Spelling fixes in diagnostics, mostly for "canceled" with one L.
790 * epg.el (epg-key-capability-alist): Rename from misspelled version.
791 All uses changed.
792 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
793
794 2014-01-06 Leo Liu <sdl.web@gmail.com>
795
796 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
797 to avoid shadowing global key. (Bug#16354)
798
799 2014-01-06 Daniel Colascione <dancol@dancol.org>
800
801 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
802 rst-mode.
803
804 2014-01-05 Martin Rudalics <rudalics@gmx.at>
805
806 * window.el (balance-windows): Add mising t to fix Bug#16351.
807
808 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
809
810 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
811 (bug#16285).
812 (shr-insert): If we have a word that's longer than `shr-width',
813 break after it anyway. Otherwise we'll do no breaking once we get
814 such a long word.
815
816 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
817
818 * net/eww.el (eww): Support single/double quote for search.
819 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
820 (eww-history-quit): Delete and use quit-window.
821 (eww-history-kill): Delete, because it doesn't work well and
822 not necessary.
823 (eww-history-mode-map): Delete some keys and add easy-menu.
824
825 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
826
827 Fix misspelling of 'chinese' in rx (Bug#16237).
828 * emacs-lisp/rx.el (rx-categories): Correct spelling of
829 chinese-two-byte.
830
831 Change subword regexps back to vars (Bug#16296).
832 * progmodes/subword.el (subword-forward-regexp)
833 (subword-backward-regexp): Change these back to variables.
834
835 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
838 syntax-begin-function (bug#16247).
839
840 2014-01-03 Chong Yidong <cyd@gnu.org>
841
842 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
843 (advice--docstring): Delete variable.
844 (advice--make-1): Leave the docstring empty.
845 (advice-add): Use function-documentation for advised docstring.
846
847 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
848 Ignore function-documentation property when getting documentation.
849 (ad-activate-advised-definition): Use function-documentation
850 generate the docstring.
851 (ad-make-advised-definition): Don't call
852 ad-make-advised-definition-docstring.
853 (ad-make-advised-definition-docstring, ad-advised-definition-p):
854 Delete functions.
855
856 * progmodes/sql.el (sql-help): Use function-documentation instead
857 of dynamic-docstring-function property. No need to autoload now.
858 (sql--help-docstring): New variable.
859 (sql--make-help-docstring): Use it.
860
861 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * ielm.el (ielm-tab): Retarget.
864 (ielm-map): Use ielm-tab for tab.
865 (ielm-complete-filename): Use comint-filename-completion.
866 (ielm-complete-symbol): Remove.
867 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
868 remove ielm-tab from completion-at-point-functions (bug#16224).
869
870 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
871 Beware signals raised by predicates (bug#16201).
872
873 2014-01-02 Richard Stallman <rms@gnu.org>
874
875 * dired-aux.el (dired-do-print): Handle printer-name.
876
877 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
878 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
879 (rmail-epa-decrypt): Turn off mime processing.
880
881 * mail/rmail.el (rmail-make-in-reply-to-field):
882 Add parens in message-id.
883
884 * mail/rmail.el (rmail-get-coding-function): Variable.
885 (rmail-get-coding-system): Use it.
886
887 2013-12-31 Eli Zaretskii <eliz@gnu.org>
888
889 * international/mule-conf.el: Unify the charset indian-is13194.
890 (indian-is13194): Specify unify-map.
891
892 2013-12-31 Leo Liu <sdl.web@gmail.com>
893
894 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
895
896 2013-12-30 Daniel Colascione <dancol@dancol.org>
897
898 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
899 of printing a useless when we resume from sleep.
900
901 * progmodes/sh-script.el
902 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
903 in indentation code. (Bug#16233)
904
905 2013-12-28 João Távora <joaotavora@gmail.com>
906
907 * elec-pair.el (electric-pair-post-self-insert-function):
908 Don't open extra newlines at beginning of buffer. (Bug#16272)
909
910 2013-12-28 Eli Zaretskii <eliz@gnu.org>
911
912 * frame.el (window-system-for-display): Don't allow to create a
913 GUI frame from a -nw session on MS-Windows. (Bug#14739)
914
915 2013-12-28 Glenn Morris <rgm@gnu.org>
916
917 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
918 Update callers.
919
920 * apropos.el (apropos-match-face):
921 * calculator.el (calculator-displayer):
922 * dabbrev.el (dabbrev-search-these-buffers-only):
923 * face-remap.el (buffer-face-mode-face):
924 * simple.el (yank-handled-properties):
925 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
926 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
927 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
928 (hashcash-double-spend-database):
929 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
930 (ruby-deep-indent-paren-style):
931 * textmodes/flyspell.el (flyspell-auto-correct-binding):
932 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
933 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
934 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
935 Specify custom types.
936
937 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
938 * bookmark.el (bookmark-bmenu-use-header-line):
939 * doc-view.el (doc-view-scale-internally):
940 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
941 * register.el (register-preview-delay):
942 * net/shr.el (shr-bullet):
943 * progmodes/cfengine.el (cfengine-cf-promises)
944 (cfengine-parameters-indent):
945 * progmodes/octave.el (inferior-octave-error-regexp-alist):
946 * textmodes/reftex-vars.el (reftex-label-regexps):
947 * vc/log-edit.el (log-edit-setup-add-author): Add version.
948
949 * net/tls.el (tls-certtool-program): Fix default value.
950
951 * desktop.el (desktop-restore-in-current-display):
952 * newcomment.el (comment-empty-lines):
953 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
954 (idlwave-pad-keyword):
955 * progmodes/tcl.el (tcl-tab-always-indent):
956 * textmodes/reftex-vars.el (reftex-index-default-tag):
957 * elec-pair.el (electric-pair-skip-whitespace):
958 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
959
960 * emacs-lisp/authors.el (authors-ignored-files)
961 (authors-valid-file-names, authors-renamed-files-alist): Additions.
962
963 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
964
965 * shell.el (shell-dynamic-complete-command): Doc fix.
966 (shell--command-completion-data): Shell completion now matches
967 executable filenames from the current buffer's directory, on
968 systems in which this behavior is the default (windows-nt, ms-dos).
969
970 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
971
972 * net/shr.el (shr-insert): Don't infloop if the width is zero.
973
974 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
975
976 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
977 (bug#16251).
978
979 * electric.el: Move all electric-pair-* to elec-pair.el.
980 * elec-pair.el: New file, split from electric.el.
981
982 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
983
984 * net/shr.el (shr-find-fill-point): Don't try to fill if the
985 indentation level is larger than the width, because that will
986 infloop.
987 (shr-insert): Fill repeatedly long texts, so that Japanese is
988 formatted correctly (bug#16263).
989 (shr-find-fill-point): Off by one error in comparison with the
990 indentation.
991
992 2013-12-26 João Távora <joaotavora@gmail.com>
993
994 * electric.el (electric-pair-mode): More flexible engine for skip-
995 and inhibit predicates, new options for pairing-related functionality.
996 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
997 if that keeps or improves their balance in buffers.
998 (electric-pair-delete-adjacent-pairs): Delete the pair when
999 backspacing over adjacent matched delimiters.
1000 (electric-pair-open-extra-newline): Open extra newline when
1001 inserting newlines between adjacent matched delimiters.
1002 (electric--sort-post-self-insertion-hook):
1003 Sort post-self-insert-hook according to priority values when
1004 minor-modes are activated.
1005 * simple.el (newline-and-indent): Call newline with interactive
1006 set to t.
1007 (blink-paren-post-self-insert-function): Set priority to 100.
1008 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1009 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1010 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1011 electric-pair-open-newline-between-pairs to nil.
1012
1013 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1014
1015 * progmodes/python.el: Use lexical-binding.
1016 (python-nav-beginning-of-defun): Stop searching ASAP.
1017
1018 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1019
1020 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1021 Fix interactive spec. Doc fix. (Bug#15754)
1022
1023 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1024
1025 * emacs-lisp/byte-run.el (eval-when-compile):
1026 * progmodes/cc-defs.el (cc-eval-when-compile):
1027 Fix edebug spec (bug#16184).
1028
1029 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1030
1031 * net/shr.el (shr-visit-file): Remove debugging function.
1032 (shr-insert): Don't infloop if we can't find a good place to break
1033 the line (bug#16256).
1034
1035 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1036
1037 * progmodes/python.el:
1038 (python-nav--lisp-forward-sexp): New function.
1039 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1040 python-nav-lisp-forward-sexp-safe.
1041 (python-nav--forward-sexp): New argument SAFE allows switching
1042 forward sexp movement behavior for parens.
1043 (python-nav-forward-sexp): Throw errors on unterminated parens
1044 (Bug#16191).
1045 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1046 (python-nav-backward-sexp-safe): New functions.
1047 (python-shell-buffer-substring):
1048 Use `python-nav-forward-sexp-safe'.
1049
1050 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1051
1052 * net/shr.el (shr-find-fill-point): Don't break lines before a
1053 quotation mark.
1054 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1055 (shr-find-fill-point): Remove the special checks for the quotation
1056 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1057
1058 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1059
1060 * net/eww.el (eww-form-textarea): Use a different face for
1061 textareas than text input since they have different keymaps
1062 (bug#16142).
1063
1064 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1065
1066 * progmodes/python.el (python-nav-beginning-of-statement):
1067 Speed up (Bug#15295).
1068
1069 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1070
1071 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1072 the window configuration.
1073
1074 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1075
1076 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1077 we run on MS-Windows or MS-DOS.
1078
1079 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1080
1081 * window.el (balance-windows-area): Call window-size instead of
1082 window-height and window-width. Bug#16241.
1083
1084 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1085
1086 * net/eww.el (eww-bookmark-quit): Remove.
1087 (eww-bookmark-browse): Restore the window configuration when you
1088 choose a bookmark (bug#16144).
1089
1090 2013-12-24 Daniel Colascione <dancol@dancol.org>
1091
1092 * icomplete.el: Remove redundant :group arguments to `defcustom'
1093 throughout.
1094 (icomplete-show-matches-on-no-input): New customizable variable.
1095 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1096 we have something to show.
1097 (icomplete-exhibit): Compute completions even if we have no user input.
1098
1099 2013-12-23 Daniel Colascione <dancol@dancol.org>
1100
1101 * icomplete.el: Move `provide' to end of file.
1102
1103 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1104
1105 * net/gnutls.el (gnutls-verify-error): Add version tag.
1106
1107 2013-12-23 Chong Yidong <cyd@gnu.org>
1108
1109 * subr.el (set-transient-map): Rename from
1110 set-temporary-overlay-map. Doc fix.
1111
1112 * face-remap.el (text-scale-adjust):
1113 * indent.el (indent-rigidly):
1114 * kmacro.el (kmacro-call-macro):
1115 * minibuffer.el (minibuffer-force-complete):
1116 * repeat.el (repeat):
1117 * simple.el (universal-argument--mode):
1118 * calendar/todo-mode.el (todo-insert-item--next-param):
1119 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1120
1121 * indent.el (indent-rigidly): Use substitute-command-keys.
1122
1123 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1124
1125 * net/eww.el (eww-tag-select): Add text-property to jump to next
1126 select field.
1127 (eww): Add non-supported ftp error.
1128
1129 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1130
1131 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1132 comments. Handle electric indent after typing `?' and `!'.
1133
1134 2013-12-22 Chong Yidong <cyd@gnu.org>
1135
1136 * faces.el (face-spec-recalc): If the theme specs are not
1137 applicable to a frame, fall back on the defface spec.
1138 This prevents themes from obliterating faces on low-color terminals.
1139
1140 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1141
1142 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1143 after `{'. We need it after block openers, and it doesn't seem
1144 to hurt after hash openers.
1145
1146 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1147
1148 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1149 extracted from `ruby-smie-rules'.
1150 (ruby--electric-indent-chars): New variable.
1151 (ruby--electric-indent-p): New function.
1152 (ruby-mode): Use `electric-indent-functions' instead of
1153 `electric-indent-chars'.
1154
1155 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1156
1157 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1158 docstring.
1159 (ruby-smie-rules): Indent plus one level after `=>'.
1160
1161 2013-12-21 Richard Stallman <rms@gnu.org>
1162
1163 * simple.el (newline): Doc fix.
1164
1165 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1166
1167 * net/eww.el (eww-list-histories, eww-list-histories)
1168 (eww-history-browse, eww-history-quit, eww-history-kill)
1169 (eww-history-mode-map, eww-history-mode): New command and
1170 functions to list browser histories.
1171 (eww-form-text): Support text form with disabled
1172 and readonly attributes.
1173 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1174
1175 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1176
1177 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1178 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1179 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1180 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1181 Use `user-error'.
1182 (eww-bookmark-mode-map): Add menu.
1183 (eww-render, eww-mode): Use `setq-local'.
1184 (eww-tool-bar-map): New variable.
1185 (eww-mode): Set `tool-bar-map'.
1186 (eww-view-source): Check for `html-mode' with `fboundp'.
1187
1188 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1189
1190 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1191 elements with text inside. Also remove debugging.
1192
1193 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1194
1195 * cus-start.el (all): Add ns-use-srgb-colorspace.
1196
1197 2013-12-21 Chong Yidong <cyd@gnu.org>
1198
1199 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1200 undefined. Thus, theme settings for undefined faces do not take
1201 effect until the faces are defined with defface, the same as with
1202 theme variables.
1203
1204 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1205 (face-spec-reset-face): Don't assign extra properties in temacs.
1206 (face-spec-recalc): Apply X resources too.
1207
1208 2013-12-21 Chong Yidong <cyd@gnu.org>
1209
1210 * faces.el (face-spec-set):
1211 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1212 * custom.el (defface): Doc fixes (Bug#16203).
1213
1214 * indent.el (indent-rigidly-map): Add docstring, and move commands
1215 into named functions.
1216 (indent-rigidly-left, indent-rigidly-right)
1217 (indent-rigidly-left-to-tab-stop)
1218 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1219 indentation direction based on bidi direction, and accumulate
1220 sequential commands in a single undo boundary.
1221 (indent-rigidly--pop-undo): New utility function.
1222
1223 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1224
1225 * faces.el (read-face-name): Require crm.el when using crm-separator.
1226
1227 2013-12-20 Daniel Colascione <dancol@dancol.org>
1228
1229 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1230 so that we don't reflow comments into the shebang line.
1231
1232 2013-12-20 Juri Linkov <juri@jurta.org>
1233
1234 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1235 a position when `dired-directory' is non-nil. Check integer
1236 positions with `integerp'.
1237 (toggle-save-place, save-places-to-alist): Add check for
1238 `dired-directory'.
1239 (save-place-find-file-hook): Check integer positions with
1240 `integerp'.
1241 (save-place-dired-hook): Use `dired-goto-file' when
1242 `dired-filename' is found in the assoc list. Check integer
1243 positions with `integerp'.
1244 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1245
1246 * dired.el (dired-initial-position-hook): Rename back from
1247 `dired-initial-point-hook'.
1248 (dired-initial-position): Rename `dired-initial-point-hook' to
1249 `dired-initial-position-hook'.
1250 (dired-file-name-at-point): Doc fix. (Bug#15329)
1251
1252 2013-12-20 Juri Linkov <juri@jurta.org>
1253
1254 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1255 (read-regexp-suggestions): New function.
1256 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1257 Use `read-regexp-suggestions'. Add non-empty default to history
1258 for empty input.
1259 (occur-read-regexp-defaults-function): Remove function.
1260 (occur-read-primary-args): Use `regexp-history-last' instead of
1261 `occur-read-regexp-defaults-function'.
1262
1263 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1264 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1265 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1266 `hi-lock-read-regexp-defaults-function'. Doc fix.
1267 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1268 with `find-tag-default-as-symbol-regexp'. Doc fix.
1269 (hi-lock-read-regexp-defaults): Remove function.
1270 (hi-lock-regexp-okay): Add check for null.
1271
1272 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1273 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1274
1275 * subr.el (find-tag-default-as-symbol-regexp): New function.
1276 (find-tag-default-as-regexp): Move symbol regexp formatting to
1277 `find-tag-default-as-symbol-regexp'.
1278
1279 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1280
1281 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1282 (Bug#14179)
1283
1284 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1285
1286 * calendar/todo-mode.el: New implementation of item insertion
1287 commands and key bindings.
1288 (todo-key-prompt): New face.
1289 (todo-insert-item): New command.
1290 (todo-insert-item--parameters): New defconst, replacing defvar
1291 todo-insertion-commands-args-genlist.
1292 (todo-insert-item--param-key-alist): New defconst, replacing
1293 defvar todo-insertion-commands-arg-key-list.
1294 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1295 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1296 (todo-insert-item--next-param): New functions.
1297 (todo-insert-item--args, todo-insert-item--argleft)
1298 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1299 New variables.
1300 (todo-key-bindings-t): Change binding of "i" from
1301 todo-insertion-map to todo-insert-item.
1302 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1303 (todo-insertion-command-name, todo-insertion-commands-names)
1304 (todo-define-insertion-command, todo-insertion-commands)
1305 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1306
1307 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1308
1309 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1310 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1311 eval-when-compile.
1312 (todo-move-category): Allow choosing a non-existing todo file to
1313 move the category to, and create that file.
1314 (todo-default-priority): New user option.
1315 (todo-set-item-priority): Use it.
1316 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1317 (desktop-restore-file-buffer): Declare.
1318 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1319 (todo-modes-set-2): Locally set desktop-save-buffer to
1320 todo-desktop-save-buffer.
1321 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1322 (auto-mode-alist): Add autoload cookie.
1323
1324 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1325
1326 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1327 helpers.el was a poor choice of name.
1328 (string-remove-prefix): New function.
1329 (string-remove-suffix): New function.
1330
1331 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1332
1333 Fix assignment for new window total sizes.
1334 * window.el (window--pixel-to-size): Remove function.
1335 (window--pixel-to-total-1, window--pixel-to-total):
1336 Fix calculation of new total sizes.
1337
1338 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1339
1340 * comint.el (comint-output-filter): Fix rear-nonsticky property
1341 placement (Bug#16010).
1342
1343 2013-12-20 Chong Yidong <cyd@gnu.org>
1344
1345 * faces.el (read-color): Minor fix for completion function.
1346
1347 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1348
1349 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1350 New option. (Bug#16182)
1351 (ruby-smie--indent-to-stmt-p): Use it.
1352 (ruby-smie-rules): Revert the logic in the handling of `when'.
1353 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1354 (ruby-deep-arglist, ruby-deep-indent-paren)
1355 (ruby-deep-indent-paren-style): Update docstrings to note that the
1356 vars don't have any effect with SMIE.
1357
1358 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1359
1360 * calc/calc.el (calc-enter, calc-pop): Use the variable
1361 `calc-context-sensitive-enter'.
1362
1363 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1364
1365 * net/shr.el (shr-insert): Protect against infloops in degenerate
1366 tables.
1367
1368 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1369
1370 * progmodes/octave.el (octave): Add link to manual and octave
1371 homepage.
1372 (octave-mode-menu): Link to octave-mode manual.
1373
1374 2013-12-20 Leo Liu <sdl.web@gmail.com>
1375
1376 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1377 insertion using skeleton-end-newline. (Bug#16138)
1378
1379 2013-12-20 Juri Linkov <juri@jurta.org>
1380
1381 * replace.el (occur-engine): Use `add-face-text-property'
1382 to add the face property to matches and titles. (Bug#14645)
1383
1384 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1385 the palette of other hi-lock colors.
1386 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1387
1388 2013-12-19 Juri Linkov <juri@jurta.org>
1389
1390 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1391 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1392 (minibuffer-history-symbol): Move variable declaration closer to
1393 its usage.
1394
1395 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1396 (Bug#14785)
1397
1398 2013-12-19 Juri Linkov <juri@jurta.org>
1399
1400 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1401 New function.
1402 (log-edit-hook): Add it to :options. (Bug#16170)
1403
1404 2013-12-19 Juri Linkov <juri@jurta.org>
1405
1406 * simple.el (eval-expression-print-format): Don't check for
1407 command names and the last command. Always display additional
1408 formats of the integer result in the echo area, and insert them
1409 to the current buffer only with a zero prefix arg.
1410 Display character when char-displayable-p is non-nil.
1411 (eval-expression): With a zero prefix arg, set `print-length' and
1412 `print-level' to nil, and insert the integer values from
1413 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1414
1415 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1416 `eval-last-sexp-arg-internal'. Doc fix.
1417 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1418 `eval-last-sexp-print-value'. Doc fix.
1419 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1420 Set `print-length' and `print-level' to nil when arg is zero.
1421 (eval-last-sexp): Doc fix.
1422 (eval-defun-2): Print the integer values from
1423 `eval-expression-print-format' at the end.
1424
1425 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1426 values from `eval-expression-print-format' at the end.
1427
1428 * ielm.el (ielm-eval-input): Print the integer
1429 values from `eval-expression-print-format' at the end.
1430
1431 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1432
1433 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1434 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1435
1436 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1437
1438 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1439 (hl-line-highlight, global-hl-line-highlight): Use it.
1440 (hl-line-overlay): Use defvar-local.
1441
1442 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1443
1444 * term/ns-win.el: Require dnd.
1445 (global-map): Remove drag items.
1446 (ns-insert-text, ns-set-foreground-at-mouse)
1447 (ns-set-background-at-mouse):
1448 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1449 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1450 New functions.
1451
1452 2013-12-19 Glenn Morris <rgm@gnu.org>
1453
1454 * emacs-lisp/ert.el (ert-select-tests):
1455 Fix string/symbol mixup. (Bug#16121)
1456
1457 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1458
1459 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1460 keywords to their parent.
1461
1462 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1463
1464 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1465 first arg to be a string (fixed dead code), or an operator symbol.
1466 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1467 operator symbols.
1468 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1469 did nothing. Don't respond to `(:after ".")', it will be called
1470 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1471 change anything. Only return indentation for binary operators
1472 when they are hanging. De-dent opening paren when its parent is
1473 `.', otherwise it looks bad when the dot is not at bol or eol
1474 (bug#16182).
1475
1476 2013-12-19 Juri Linkov <juri@jurta.org>
1477
1478 * replace.el (query-replace-read-args): Split a non-negative arg
1479 and a negative arg into separate elements.
1480 (query-replace, query-replace-regexp, replace-string)
1481 (replace-regexp): Add arg `backward'. Doc fix.
1482 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1483 move point to the beginning of the match.
1484 (replace-search, replace-highlight): Use new arg `backward'
1485 to set the value of `isearch-forward'.
1486 (perform-replace): Add arg `backward' and use it to perform
1487 replacement backward. (Bug#14979)
1488
1489 * isearch.el (isearch-query-replace): Use a negative prefix arg
1490 to call `perform-replace' with a non-nil arg `backward'.
1491
1492 2013-12-18 Juri Linkov <juri@jurta.org>
1493
1494 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1495 to the default list. Move `log-edit-show-files' to the end.
1496 Add more available functions to options.
1497 (log-edit): Move default specific settings to
1498 `log-edit-insert-message-template'. Don't move point.
1499 (log-edit-insert-message-template): New function.
1500 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1501 (Bug#16170)
1502
1503 2013-12-18 Juri Linkov <juri@jurta.org>
1504
1505 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1506 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1507
1508 2013-12-18 Leo Liu <sdl.web@gmail.com>
1509
1510 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1511 (Bug#16186)
1512
1513 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1514
1515 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1516 formats for displaying file sizes when the -s switch is given.
1517 Instead, compute a separate format for displaying the size in
1518 blocks, which is displayed in addition to the "regular" size.
1519 When -h is given in addition to -s, produce size in blocks in
1520 human-readable form as well. (Bug#16179)
1521
1522 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1523
1524 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1525 Reference tables with ~\ref{...} instead of only \ref{...}.
1526
1527 2013-12-18 Chong Yidong <cyd@gnu.org>
1528
1529 * cus-edit.el (custom-magic-alist): Fix "themed" description
1530 (Bug#14348).
1531
1532 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1533 is non-nil, do not create a new entry in the symbol's theme-value
1534 or theme-face property; update theme-settings only (Bug#14664).
1535 (custom-available-themes): Doc fix.
1536
1537 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1538 (Bug#15674).
1539
1540 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1541
1542 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1543
1544 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1545 (Bug#13914).
1546
1547 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1548
1549 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1550
1551 2013-12-18 Glenn Morris <rgm@gnu.org>
1552
1553 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1554 * cus-start.el (load-prefer-newer): New option.
1555
1556 2013-12-18 Le Wang <l26wang@gmail.com>
1557
1558 * comint.el (comint-previous-matching-input-from-input):
1559 Retain point (Bug#13404).
1560
1561 2013-12-18 Chong Yidong <cyd@gnu.org>
1562
1563 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1564
1565 2013-12-18 Glenn Morris <rgm@gnu.org>
1566
1567 * mail/emacsbug.el (report-emacs-bug):
1568 Only mention enable-multibyte-characters if non-standard.
1569
1570 2013-12-17 Juri Linkov <juri@jurta.org>
1571
1572 * arc-mode.el (archive-extract-by-file): Check if directory exists
1573 before deletion to not show irrelevant errors if it doesn't exist.
1574
1575 2013-12-17 Juri Linkov <juri@jurta.org>
1576
1577 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1578 (Bug#14751)
1579
1580 * net/eww.el (browse-web): Add alias to `eww'.
1581 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1582 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1583
1584 * net/browse-url.el (browse-url-browser-function): Move `eww'
1585 closer to similar functions.
1586
1587 * startup.el (fancy-startup-screen, fancy-about-screen):
1588 Set browse-url-browser-function to eww-browse-url locally.
1589 (Bug#14751)
1590
1591 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1592
1593 * window.el (window--pixel-to-total): Remove unused `mini' var.
1594 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1595 (split-window): Remove unused `new' var.
1596 (window--display-buffer): Remove unused `frame' and `delta' vars.
1597 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1598 and display-width'.
1599
1600 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1601
1602 * dired.el (dired-mark-pop-up):
1603 * register.el (register-preview): Don't bind
1604 split-height-threshold here since it's now done in
1605 display-buffer-below-selected.
1606
1607 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1608
1609 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1610 xterm-rgb-convert-to-16bit.
1611 (rxvt-register-default-colors): Standardize with
1612 xterm-register-default-colors (Bug#14078).
1613
1614 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1615
1616 * simple.el (kill-region): Pass mark first, then point, so that
1617 kill-append works right (Bug#12819).
1618 (copy-region-as-kill, kill-ring-save): Likewise.
1619
1620 2013-12-17 Leo Liu <sdl.web@gmail.com>
1621
1622 * net/rcirc.el (rcirc-add-face):
1623 * eshell/em-prompt.el (eshell-emit-prompt):
1624 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1625 (Bug#16167)
1626
1627 2013-12-17 Chong Yidong <cyd@gnu.org>
1628
1629 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1630 Suggested by Xue Fuqiao.
1631
1632 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1633
1634 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1635
1636 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1637
1638 * net/shr.el (shr-insert-document): Remove unused var
1639 `shr-preliminary-table-render'.
1640 (shr-rescale-image): Remove unused arg `force'.
1641 (shr-put-image): Update calls accordingly.
1642 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1643
1644 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1645
1646 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1647 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1648 :close-all, to see which indentation method to use (Bug#16116).
1649 (smie-rules-function): Document the method :close-all.
1650
1651 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1652
1653 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1654
1655 * net/eww.el (eww-display-html): If we can't find the anchor we're
1656 looking for, then go to point-min.
1657
1658 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1659
1660 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1661 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1662 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1663 Expand dir too, in case it's relative.
1664
1665 2013-12-16 Juri Linkov <juri@jurta.org>
1666
1667 * desktop.el (desktop-auto-save-timeout): Change default to
1668 `auto-save-timeout'. Doc fix.
1669 (desktop-save): Skip the timestamp in desktop-saved-frameset
1670 when checking for auto-save changes.
1671 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1672 `desktop-auto-save' is called repeatedly by the idle timer.
1673 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1674 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1675 (Bug#15331)
1676
1677 2013-12-16 Juri Linkov <juri@jurta.org>
1678
1679 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1680 (Bug#16035)
1681 (isearch-pre-command-hook): Check `this-command' for symbolp.
1682
1683 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1686
1687 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1688
1689 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1690 (cfengine3--current-function): Bring in the current-function
1691 functionality from `cfengine3--current-word'.
1692 (cfengine3-completion-function): Bring in the
1693 bounds-of-current-word functionality from
1694 `cfengine3--current-word'.
1695
1696 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1697
1698 * window.el (display-buffer-below-selected):
1699 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1700
1701 2013-12-16 Leo Liu <sdl.web@gmail.com>
1702
1703 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1704 Remove NOMSG arg and all uses changed.
1705
1706 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1707
1708 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1709 (cua--deactivate-rectangle): Don't deactivate the mark.
1710 (cua-set-rectangle-mark): Don't set mark-active since
1711 cua--activate-rectangle already does it for us.
1712 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1713 non-rectangular region.
1714
1715 * emulation/cua-base.el (cua-repeat-replace-region):
1716 Use with-current-buffer.
1717
1718 * net/gnutls.el: Use cl-lib.
1719 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1720
1721 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1722
1723 * emacs-lisp/package.el (package-built-in-p): Support both
1724 built-in and the package.el converted package descriptions.
1725 (package-show-package-list): Allow keywords.
1726 (package-keyword-button-action): Use it instead of
1727 `finder-list-matches'.
1728 (package-menu-filter-interactive): Interactive filtering (by
1729 keyword) function.
1730 (package-menu--generate): Support keywords and change keymappings
1731 and headers when they are given.
1732 (package--has-keyword-p): Helper function.
1733 (package-menu--refresh): Use it.
1734 (package--mapc): Helper function.
1735 (package-all-keywords): Use it.
1736 (package-menu-mode-map): Set up menu items and keybindings to
1737 provide a filtering UI.
1738
1739 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1740
1741 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1742 the behavior when a certificate fails validation. Defaults to
1743 old behavior: never abort, just warn.
1744 (gnutls-negotiate): Use it.
1745
1746 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1747
1748 * window.el (display-buffer-below-selected): Never split window
1749 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1750
1751 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1752
1753 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1754 (package-buffer-info): Use it (bug#15108).
1755
1756 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * icomplete.el (icomplete-completions): Make sure the prefix is already
1759 displayed elsewhere before hiding it (bug#16219).
1760
1761 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1764 open-paren tokens when preceded by a open-paren, too.
1765 (ruby-smie-rules): Handle virtual indentation after open-paren
1766 tokens specially. If there is code between it and eol, return the
1767 column where is starts (Bug#16118).
1768
1769 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1770
1771 * progmodes/cfengine.el: Fix `add-hook' doc.
1772 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1773 (cfengine3--current-word): Fix parameters.
1774 (cfengine3-make-syntax-cache): Simplify further.
1775 (cfengine3-completion-function, cfengine3--current-function):
1776 Use `assq' for symbols.
1777 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1778
1779 2013-12-13 Glenn Morris <rgm@gnu.org>
1780
1781 * loadup.el (load-path): Warn if site-load or site-init changes it.
1782 No more need to reset it when bootstrapping.
1783
1784 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1785
1786 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1787 locations for cf-promises.
1788 (cfengine-mode-syntax-functions-regex): New caching variable.
1789 (cfengine3-fallback-syntax): Fallback syntax for cases where
1790 cf-promises doesn't run.
1791 (cfengine3--current-word): Reimplement using
1792 `cfengine-mode-syntax-functions-regex'.
1793 (cfengine3-completion-function, cfengine3--current-function):
1794 Use `cfengine3-make-syntax-cache' directly.
1795 (cfengine3-clear-syntax-cache): New function.
1796 (cfengine3-make-syntax-cache): Simplify and create
1797 `cfengine-mode-syntax-functions-regex' on demand.
1798 (cfengine3-format-function-docstring): Don't call
1799 `cfengine3-make-syntax-cache' explicitly.
1800
1801 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1802
1803 Fix windmove-find-other-window broken after pixelwise resizing
1804 (Bug#16017).
1805 * windmove.el (windmove-other-window-loc): Revert change from
1806 2013-12-04.
1807 (windmove-find-other-window): Call window-in-direction.
1808 * window.el (window-in-direction): New arguments SIGN, WRAP and
1809 MINI to emulate original windmove-find-other-window behavior.
1810
1811 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1812
1813 * simple.el (blink-matching--overlay): New variable.
1814 (blink-matching-open): Instead of moving point, highlight the
1815 matching paren with an overlay
1816 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1817
1818 * faces.el (paren-showing-faces, show-paren-match)
1819 (show-paren-mismatch): Move from paren.el.
1820
1821 2013-12-13 Leo Liu <sdl.web@gmail.com>
1822
1823 * indent.el (indent-region): Disable progress reporter in
1824 minibuffer. (Bug#16108)
1825
1826 * bindings.el (visual-order-cursor-movement): Fix version.
1827
1828 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1829
1830 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1831 Also match after beginning of line.
1832 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1833 files. Thanks to Russell Sim. (Bug#15378)
1834
1835 2013-12-13 Juri Linkov <juri@jurta.org>
1836
1837 * simple.el <Keypad support>: Remove key bindings duplicated
1838 with bindings.el. (Bug#14397)
1839
1840 2013-12-13 Juri Linkov <juri@jurta.org>
1841
1842 * comint.el (comint-mode-map): Replace `delete-char' with
1843 `delete-forward-char'. (Bug#16109)
1844
1845 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1846
1847 * progmodes/python.el (python-indent-calculate-indentation):
1848 Fix de-denters cornercase. (Bug#15731)
1849
1850 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1851
1852 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1853 (advice--make): Pay attention to `depth'.
1854 (advice--make-1): Don't autoload commands eagerly.
1855 * emacs-lisp/elp.el (elp-instrument-function):
1856 * emacs-lisp/trace.el (trace-function-internal):
1857 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1858
1859 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1860
1861 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1862
1863 * term/w32-win.el (w32-handle-dropped-file):
1864 * startup.el (normal-top-level):
1865 * net/browse-url.el (browse-url-file-url):
1866 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1867 decode file names using 'utf-8' rather than
1868 file-name-coding-system.
1869
1870 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1871
1872 * progmodes/python.el (python-indent-context)
1873 (python-indent-calculate-indentation): Fix auto-identation
1874 behavior for comment blocks. (Bug#15916)
1875
1876 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1877
1878 * progmodes/python.el (python-indent-calculate-indentation):
1879 When determining indentation, don't treat "return", "pass", etc., as
1880 operators when they are just string constituents. (Bug#15812)
1881
1882 2013-12-12 Juri Linkov <juri@jurta.org>
1883
1884 * uniquify.el (uniquify-buffer-name-style): Change default to
1885 `post-forward-angle-brackets'.
1886
1887 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1888 `uniquify'. Change default to `post-forward-angle-brackets'.
1889
1890 2013-12-11 Glenn Morris <rgm@gnu.org>
1891
1892 * emacs-lisp/package.el (finder-list-matches):
1893 Autoload rather than falsely declaring.
1894
1895 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1896
1897 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1898 (eww-mode-map): Use them.
1899
1900 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1901
1902 * window.el (display-buffer-in-side-window): Fix doc-string
1903 (Bug#16115).
1904
1905 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1906
1907 * vc/vc-git.el: Silence byte-compiler warnings.
1908 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1909 (log-edit-set-header): Declare.
1910
1911 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1912
1913 * Makefile.in (custom-deps, finder-data): Run output file names
1914 through unmsys--file-name. (Bug#16099)
1915
1916 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1917
1918 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1919 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1920
1921 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1922 instead of deleting the selection "by hand" (bug#16098).
1923 Rely on insert-for-yank to yank rectangles.
1924 (cua-highlight-region-shift-only): Mark obsolete.
1925 (cua-mode): Don't enable/disable transient-mark-mode,
1926 shift-select-mode (cua-mode works both with and without them), and
1927 pc-selection-mode (obsolete).
1928 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1929 (cua--deactivate-rectangle): Deactivate it.
1930
1931 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1932 (delete-selection-helper): Make sure yank starts at the top of the
1933 deleted region.
1934 (minibuffer-keyboard-quit): Use region-active-p.
1935
1936 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1937
1938 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1939 to `delete' (bug#16109).
1940
1941 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1942
1943 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1944 info manual and show keybindings and set `:group' keyword.
1945
1946 2013-12-11 Juri Linkov <juri@jurta.org>
1947
1948 * delsel.el (delete-active-region): Let-bind `this-command'
1949 to prevent `kill-region' from changing its original value.
1950 (delete-selection-helper): Handle `overwrite-mode' for the type
1951 `kill' exactly the same way as for the type `t'.
1952 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1953 Support more commands. (Bug#13312)
1954
1955 2013-12-11 Juri Linkov <juri@jurta.org>
1956
1957 * bindings.el: Map kp keys to non-kp keys systematically
1958 with basic modifiers control, meta and shift. (Bug#14397)
1959
1960 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1961
1962 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1963 "Close browser" menu items. Fix wrong function of "List
1964 bookmarks".
1965
1966 2013-12-11 Juri Linkov <juri@jurta.org>
1967
1968 * misearch.el (multi-isearch-buffers): Set the value of
1969 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1970 arg of isearch-forward to t.
1971 (multi-isearch-buffers-regexp): Set the value of
1972 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1973 arg of isearch-forward-regexp to t.
1974 (multi-isearch-files): Set the value of
1975 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1976 arg of isearch-forward to t.
1977 (multi-isearch-files-regexp): Set the value of
1978 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1979 arg of isearch-forward-regexp to t. (Bug#16035)
1980
1981 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1982 arg of isearch-forward to t.
1983 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1984 arg of isearch-forward-regexp to t.
1985 (dired-isearch-filter-filenames): Remove unnecessary check for
1986 `dired-isearch-filenames'.
1987
1988 * comint.el (comint-history-isearch-backward):
1989 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1990 (comint-history-isearch-backward-regexp):
1991 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1992
1993 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1994
1995 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1996 unmsys--file-name. (Bug#16099)
1997
1998 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1999
2000 * emacs-lisp/package.el (package-keyword-button-action):
2001 Remove finder.el require dependency.
2002
2003 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2004
2005 * emacs-lisp/package.el: Require finder.el.
2006 (describe-package-1): Add keyword buttons.
2007 (package-make-button): New convenience function.
2008 (package-keyword-button-action): Keyword button action using
2009 `finder-list-matches'.
2010
2011 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2012
2013 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2014 last commit.
2015
2016 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2017
2018 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2019 symlinked files.
2020
2021 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2022
2023 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2024 after the end of a percent literal.
2025
2026 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2027
2028 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2029 Handle caret-delimited strings (Bug#16079).
2030
2031 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2032
2033 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2034 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2035 `ruby-parse-partial' (Bug#16078).
2036
2037 2013-12-09 Leo Liu <sdl.web@gmail.com>
2038
2039 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2040
2041 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2042
2043 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2044 (js-switch-indent-offset): New option.
2045 (js--proper-indentation): Use it. And handle the case when
2046 "default" is actually a key in an object literal.
2047 (js--same-line): New function.
2048 (js--multi-line-declaration-indentation): Use it.
2049 (js--indent-in-array-comp, js--array-comp-indentation):
2050 New functions.
2051 (js--proper-indentation): Use them, to handle array comprehension
2052 continuations.
2053
2054 2013-12-08 Leo Liu <sdl.web@gmail.com>
2055
2056 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2057 (flymake-make-overlay): Remove arg MOUSE-FACE.
2058 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2059
2060 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2061
2062 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2063 New function.
2064 (redisplay-highlight-region-function): Use it.
2065
2066 * emulation/cua-base.el (cua--explicit-region-start)
2067 (cua--last-region-shifted): Remove.
2068 (cua--deactivate): Use deactivate-mark.
2069 (cua--pre-command-handler-1): Don't handle shift-selection.
2070 (cua--post-command-handler-1): Don't change transient-mark-mode.
2071 (cua--select-keymaps): Use region-active-p rather than
2072 cua--explicit-region-start or cua--last-region-shifted.
2073 (cua-mode): Enable shift-select-mode.
2074
2075 2013-12-08 Leo Liu <sdl.web@gmail.com>
2076
2077 * progmodes/flymake.el (flymake-popup-current-error-menu):
2078 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2079 (flymake-posn-at-point-as-event, flymake-popup-menu)
2080 (flymake-make-emacs-menu): Remove. (Bug#16077)
2081
2082 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2083
2084 * rect.el (rectangle-mark-mode): Activate mark even if
2085 transient-mark-mode is off (bug#16066).
2086 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2087 is > mark and at bolp.
2088
2089 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2090 (region-extract-function): Use it.
2091 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2092 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2093 Delete functions.
2094 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2095 kill-ring-save, kill-region, delete-char, delete-forward-char.
2096 Ignore self-insert-iso.
2097
2098 * emulation/cua-gmrk.el (cua--init-global-mark):
2099 Ignore `self-insert-iso'.
2100
2101 * emulation/cua-base.el (cua--prefix-copy-handler)
2102 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2103 checking cua--rectangle.
2104 (cua-delete-region): Use region-extract-function.
2105 (cua-replace-region): Delete function.
2106 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2107 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2108 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2109 (cua--init-keymaps): Don't remap delete-selection commands.
2110 (cua-mode): Use delete-selection-mode instead of rolling our own
2111 (bug#16085).
2112
2113 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2114 Obey region-extract-function.
2115
2116 Make registers and delete-selection-mode work on rectangles.
2117 * register.el (describe-register-1): Don't modify the register's value.
2118 (copy-to-register): Obey region-extract-function.
2119 * delsel.el (delete-active-region): Obey region-extract-function.
2120
2121 2013-12-08 Leo Liu <sdl.web@gmail.com>
2122
2123 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2124 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2125 (flymake-compilation-prevents-syntax-check)
2126 (flymake-start-syntax-check-on-newline)
2127 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2128 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2129 (flymake-xml-program, flymake-master-file-dirs)
2130 (flymake-master-file-count-limit)
2131 (flymake-allowed-file-name-masks): Relocate.
2132 (flymake-makehash, flymake-float-time)
2133 (flymake-replace-regexp-in-string, flymake-split-string)
2134 (flymake-get-temp-dir): Remove.
2135 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2136 (flymake-current-row, flymake-selected-frame)
2137 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2138 related functions. (Bug#16077)
2139
2140 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2141
2142 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2143
2144 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2145
2146 * help-fns.el (describe-function-1): Use new advice-* functions
2147 rather than old ad-* functions. Fix function type description and
2148 source links for advised functions and subrs.
2149
2150 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2151
2152 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2153
2154 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2155
2156 * progmodes/compile.el (compilation-start):
2157 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2158
2159 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2160 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2161
2162 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2163
2164 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2165 Touch up the last change.
2166
2167 2013-12-06 Leo Liu <sdl.web@gmail.com>
2168
2169 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2170 (inferior-octave-startup): Always use "octave> " for prompt.
2171 (octave-goto-function-definition)
2172 (octave-sync-function-file-names)
2173 (octave-find-definition-default-filename): Remove redundant backquotes.
2174
2175 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2176
2177 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2178 syntax for `?'.
2179 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2180 where appropriate already.
2181 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2182 end of method names (Bug#15874).
2183
2184 2013-12-06 Juri Linkov <juri@jurta.org>
2185
2186 * isearch.el (isearch--saved-overriding-local-map):
2187 New internal variable.
2188 (isearch-mode): Set it to the initial value of
2189 `overriding-terminal-local-map'.
2190 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2191 with `isearch--saved-overriding-local-map'. (Bug#16035)
2192
2193 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2194
2195 * progmodes/octave.el (inferior-octave-completion-table):
2196 Turn back into function, use `completion-table-with-cache'
2197 (Bug#11906). Update all references.
2198
2199 * minibuffer.el (completion-table-with-cache): New function.
2200
2201 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2202
2203 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2204
2205 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2206
2207 * net/eww.el (eww-current-source): New variable to store page
2208 source.
2209 (eww-display-html, eww-mode, eww-save-history)
2210 (eww-restore-history): Use it.
2211 (eww-view-source): New command to view page source.
2212 Opportunistically uses `html-mode' to highlight the buffer.
2213 (eww-mode-map): Install it.
2214
2215 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * net/dbus.el (dbus-unregister-service)
2218 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2219 Fix docstring.
2220 (dbus-unregister-service): Skip :serial entries in
2221 `dbus-registered-objects-table'.
2222 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2223
2224 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2225
2226 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2227 around keywords with extra `split-string' argument.
2228
2229 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2230
2231 * windmove.el (windmove-other-window-loc): Handle navigation
2232 between windows (excluding the minibuffer window - Bug#16017).
2233
2234 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2237 in D-Bus type syntax.
2238 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2239 preserve unibyte strings. (Bug#16048)
2240
2241 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2244 Call force-mode-line-update is the proper buffer (bug#16042).
2245
2246 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2247
2248 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2249 `log-edit-remember-comment', make argument optional. Adjust all
2250 callers.
2251 (log-edit-mode): Add `log-edit-remember-comment' to
2252 `kill-buffer-hook' locally.
2253 (log-edit-kill-buffer): Don't remember comment explicitly since
2254 the buffer is killed anyway.
2255
2256 2013-12-04 Juri Linkov <juri@jurta.org>
2257
2258 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2259 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2260
2261 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2262
2263 * notifications.el (notifications-close-notification): Call the
2264 D-Bus method with ID being a `:uint32'. (Bug#16030)
2265
2266 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2267
2268 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2269
2270 2013-12-03 Juri Linkov <juri@jurta.org>
2271
2272 * progmodes/compile.el (compilation-start): Rename window alist
2273 entry `no-display-ok' to `allow-no-window'.
2274
2275 * simple.el (shell-command): Add window alist entry
2276 `allow-no-window' to `display-buffer'.
2277 (async-shell-command): Doc fix.
2278
2279 * window.el (display-buffer-no-window): New action function.
2280 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2281
2282 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2283
2284 * vc/log-edit.el (log-edit-set-header): Extract from
2285 `log-edit-toggle-header'.
2286 (log-edit-extract-headers): Separate the summary, when extracted
2287 from header, from the rest of the message with an empty line.
2288
2289 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2290 line, if present, to the Summary header.
2291
2292 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2295 in current-buffer (bug#16029).
2296
2297 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2298
2299 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2300 (debugger-mode-map): Bind it.
2301 (debugger--backtrace-base): New function.
2302 (debugger-eval-expression): Use it.
2303 (debugger-frame-number): Skip local vars when present.
2304 (debugger--locals-visible-p, debugger--insert-locals)
2305 (debugger--show-locals, debugger--hide-locals): New functions.
2306
2307 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2308
2309 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2310 "LC_ALL".
2311 (tramp-get-remote-locale): New defun.
2312 (tramp-open-connection-setup-interactive-shell): Use it.
2313
2314 2013-12-02 Leo Liu <sdl.web@gmail.com>
2315
2316 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2317
2318 * progmodes/sh-script.el (sh-shell-process):
2319 * progmodes/octave.el (inferior-octave-process-live-p):
2320 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2321 (gdb-inferior-io-sentinel):
2322 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2323
2324 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2325
2326 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2327 `save-selected-window' to `log-edit-hide-buf'. This makes
2328 `log-edit-show-files' idempotent.
2329 (log-edit-show-files): Mark the new window as dedicated.
2330
2331 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2332
2333 * vc/log-edit.el (log-edit-mode-map): Add binding for
2334 `log-edit-kill-biffer'.
2335 (log-edit-hide-buf): Add a FIXME comment.
2336 (log-edit-add-new-comment): New function, extracted from
2337 `log-edit-done'.
2338 (log-edit-done, log-edit-add-to-changelog): Use it.
2339 (log-edit-kill-buffer): New command.
2340
2341 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2342
2343 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2344 instead of killing the buffer.
2345
2346 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2349
2350 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2351
2352 * net/eww.el (eww-form-checkbox-selected-symbol)
2353 (eww-form-checkbox-symbol): New customizable variable.
2354 (eww-form-checkbox, eww-toggle-checkbox):
2355 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2356
2357 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2358 (shr--get-media-pref, shr--extract-best-source): New function.
2359 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2360 no :src tag was specified.
2361
2362 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2363 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2364 Use \\` to match beginning of string instead of ^.
2365 (eww-browse-with-external-browser): Provide optional URL parameter.
2366 (eww-render): Set `eww-current-title' back to "".
2367
2368 * net/shr.el (shr-tag-video): Display content for video if no
2369 poster is available.
2370 (shr-tag-audio): Add support for <audio> tag.
2371
2372 * net/eww.el (eww-text-input-types): New const.
2373 (eww-process-text-input): Treat input types in
2374 `eww-text-input-types' as text.
2375
2376 * net/shr.el (shr-tag-table): Fix comment typo.
2377
2378 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2379
2380 * net/eww.el (eww-follow-link): New command to avoid reloading
2381 pages when we follow #target links (bug#15243).
2382 (eww-quit): Special mode buffers shouldn't query before exiting.
2383
2384 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2385
2386 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2387 forms.
2388
2389 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390
2391 * net/eww.el (eww-restore-history): Update the window title after
2392 moving in the history.
2393 (eww-current-dom): New variable used to save the current DOM.
2394
2395 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2396
2397 * vc/log-edit.el (log-edit-mode-map): Add binding for
2398 `log-edit-beginning-of-line'.
2399 (log-edit-setup-add-author): New user option.
2400 (log-edit-beginning-of-line): New command.
2401 (log-edit): Move major mode call above the contents setup so that
2402 the local variable values are already applied.
2403 (log-edit): Only insert "Author: " when
2404 `log-edit-setup-add-author' is non-nil.
2405 (log-edit): When SETUP is non-nil, position point after ": "
2406 instead of point-min.
2407
2408 2013-12-01 Glenn Morris <rgm@gnu.org>
2409
2410 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2411
2412 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2413
2414 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2415 redisplay to make sure the initial frame gets a chance to become
2416 visible. (Bug#16014)
2417
2418 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2419
2420 Support resizing frames and windows pixelwise.
2421 * cus-start.el (frame-resize-pixelwise)
2422 (window-resize-pixelwise): New entries.
2423 * emacs-lisp/debug.el (debug): Use window-total-height instead
2424 of window-total-size.
2425 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2426 * help.el (describe-bindings-internal): Call help-buffer
2427 (temp-buffer-max-width): New option.
2428 (resize-temp-buffer-window, help-window-setup)
2429 (with-help-window): Rewrite.
2430 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2431 dragging dividers.
2432 * window.el (frame-char-size, window-min-pixel-height)
2433 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2434 (window-min-pixel-width, window-safe-min-pixel-size)
2435 (window-combination-p, window-safe-min-size)
2436 (window-resizable-p, window--size-to-pixel)
2437 (window--pixel-to-size, window--resize-apply-p): New functions.
2438 (window-safe-min-height): Fix doc-string.
2439 (window-size, window-min-size, window--min-size-1)
2440 (window-sizable, window-sizable-p, window--min-delta-1)
2441 (window-min-delta, window--max-delta-1, window-max-delta)
2442 (window--resizable, window--resizable-p, window-resizable)
2443 (window-full-height-p, window-full-width-p, window-at-side-p)
2444 (window--in-direction-2, window-in-direction)
2445 (window--resize-reset-1, window--resize-mini-window)
2446 (window-resize, window-resize-no-error)
2447 (window--resize-child-windows-normal)
2448 (window--resize-child-windows, window--resize-siblings)
2449 (window--resize-this-window, window--resize-root-window)
2450 (window--resize-root-window-vertically)
2451 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2452 (maximize-window, minimize-window, delete-window)
2453 (quit-restore-window, window-split-min-size, split-window)
2454 (balance-windows-2, balance-windows)
2455 (balance-windows-area-adjust, balance-windows-area)
2456 (window--state-get-1, window-state-get, window--state-put-1)
2457 (window--state-put-2, window-state-put)
2458 (display-buffer-record-window, window--display-buffer):
2459 Make functions handle pixelwise sizing of windows.
2460 (display-buffer--action-function-custom-type)
2461 (display-buffer-fallback-action):
2462 Add display-buffer-in-previous-window.
2463 (display-buffer-use-some-window): Resize window to height it had
2464 before.
2465 (fit-window-to-buffer-horizontally): New option.
2466 (fit-frame-to-buffer): Describe new values.
2467 (fit-frame-to-buffer-bottom-margin): Replace with
2468 fit-frame-to-buffer-margins.
2469 (window--sanitize-margin): New function.
2470 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2471 using window-text-pixel-size.
2472
2473 2013-11-30 Glenn Morris <rgm@gnu.org>
2474
2475 * emacs-lisp/bytecomp.el (byte-compile-form):
2476 Make the `interactive-only' warning like the `obsolete' one.
2477 * comint.el (comint-run):
2478 * files.el (insert-file-literally, insert-file):
2479 * replace.el (replace-string, replace-regexp):
2480 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2481 (goto-line, insert-buffer, next-line, previous-line):
2482 Tweak `interactive-only' spec.
2483
2484 Stop keeping (most) generated cedet grammar files in the repository.
2485 * Makefile.in (semantic): New.
2486 (compile-main): Depend on semantic.
2487
2488 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2489
2490 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2491 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2492
2493 * uniquify.el (uniquify-buffer-name-style): Change default.
2494
2495 * loadup.el: Preload "uniquify".
2496
2497 * time.el (display-time-update): Update all mode lines (bug#15999).
2498
2499 * electric.el (electric-indent-mode): Enable by default.
2500 * loadup.el: Preload "electric".
2501
2502 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2503
2504 * emacs-lisp/helpers.el (string-empty-p): New function.
2505 (string-blank-p): New function.
2506
2507 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2508
2509 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2510 (Bug#14029).
2511
2512 2013-11-29 Andreas Politz <politza@fh-trier.de>
2513 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2514 allow non-lambda lists as functions.
2515 (imenu--in-alist): Don't recurse into non-subalists.
2516 (imenu): Don't pass function itself as an argument (Bug#14029).
2517
2518 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2519
2520 * progmodes/python.el (python-mode-map): Remove binding for ":".
2521 (python-indent-electric-colon): Remove command.
2522 (python-indent-post-self-insert-function): Integrate the previous code
2523 of python-indent-electric-colon. Make it conditional on
2524 electric-indent-mode.
2525 (python-mode): Add ?: to electric-indent-chars.
2526 Move python-indent-post-self-insert-function to the end of
2527 post-self-insert-hook.
2528
2529 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * doc-view.el (doc-view-goto-page): Update mode-line.
2532
2533 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2534
2535 2013-11-27 Glenn Morris <rgm@gnu.org>
2536
2537 * international/charprop.el, international/uni-bidi.el:
2538 * international/uni-category.el, international/uni-combining.el:
2539 * international/uni-comment.el, international/uni-decimal.el:
2540 * international/uni-decomposition.el, international/uni-digit.el:
2541 * international/uni-lowercase.el, international/uni-mirrored.el:
2542 * international/uni-name.el, international/uni-numeric.el:
2543 * international/uni-old-name.el, international/uni-titlecase.el:
2544 * international/uni-uppercase.el:
2545 Remove generated files from VCS repository.
2546
2547 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2548
2549 * filenotify.el (file-notify-add-watch): Don't special-case
2550 w32notify when computing the directory to watch.
2551
2552 2013-11-27 Glenn Morris <rgm@gnu.org>
2553
2554 Make bootstrap without generated uni-*.el files possible again.
2555 * loadup.el: Update command-line-args checking for unidata-gen.
2556 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2557 * composite.el, international/characters.el:
2558 Handle unicode tables being undefined.
2559
2560 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2561 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2562 (compile-main): Depend on leim rule.
2563 (leim): New rule.
2564 * loadup.el: Move leim-list.el to leim/ subdirectory.
2565 * startup.el (normal-top-level): No more leim directory.
2566 * international/ja-dic-cnv.el (skkdic-convert):
2567 Disable version-control and autoloads in output files.
2568 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2569 Disable version-control and autoloads in output files.
2570 * leim/quail: Move here from ../leim.
2571 * leim/quail/hangul.el (hangul-input-method-activate):
2572 Add autoload cookie.
2573 (generated-autoload-load-name): Set file-local value.
2574 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2575 (generated-autoload-load-name): Set file-local value.
2576
2577 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2578
2579 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2580 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2581 (eww-quit): Ask confirmation before quitting eww.
2582
2583 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2584
2585 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2586 reading output from Diff on MS-Windows and MS-DOS.
2587
2588 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2589
2590 * emacs-lisp/helpers.el (string-reverse): New function.
2591
2592 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2595 names on MS Windows, like "/[::1]:".
2596
2597 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2598 SWITCHES.
2599
2600 2013-11-26 Glenn Morris <rgm@gnu.org>
2601
2602 * progmodes/python.el (python-indent-guess-indent-offset):
2603 Avoid corner-case error. (Bug#15975)
2604
2605 Preload leim-list.el. (Bug#4789)
2606 * loadup.el: Load leim-list.el when found.
2607 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2608
2609 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2610
2611 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2612
2613 * emacs-lisp/helpers.el (string-join): New function.
2614
2615 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2616
2617 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2618 Mark as obsolete and replace it with a symbol property.
2619 (byte-compile-form): Use new 'interactive-only property.
2620 * comint.el, files.el, replace.el, simple.el:
2621 Apply new 'interactive-only properly.
2622
2623 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2624
2625 * window.el (display-buffer-at-bottom): Make sure that
2626 split-window-sensibly creates the new window on bottom
2627 (Bug#15961).
2628
2629 2013-11-23 David Kastrup <dak@gnu.org>
2630
2631 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2632 on the conflict markers when available.
2633 (smerge--get-marker): New function.
2634 (smerge-end-re, smerge-base-re): Add subgroup.
2635
2636 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * frame.el (handle-focus-in, handle-focus-out): Add missing
2639 interactive spec.
2640
2641 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2644 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2645
2646 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2649 (gomoku--last-pos): New var.
2650 (gomoku--intangible-chars): New const.
2651 (gomoku--intangible): New function.
2652 (gomoku-mode): Use it. Derive from special-mode.
2653 (gomoku-move-up): Adjust line count.
2654 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2655 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2656 Simplify accordingly.
2657
2658 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2659 Remove blink-cursor code.
2660 (blink-cursor-timer-function, blink-cursor-suspend):
2661 Don't special-case GUIs.
2662 (blink-cursor-mode): Use focus-in/out-hook.
2663
2664 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2665
2666 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2667 work when annotation is invisible (Bug#13886).
2668
2669 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2670
2671 * json.el (json-alist-p): Only return non-nil if the alist has
2672 simple keys (Bug#13518).
2673
2674 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2675
2676 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2677 when control-statement is the first statement in a buffer (Bug#15956).
2678
2679 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2680
2681 * imenu.el (imenu-generic-skip-comments-and-strings):
2682 New option (Bug#15560).
2683 (imenu--generic-function): Use it.
2684
2685 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2686
2687 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2688 (Bug#13898)
2689
2690 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2691
2692 * emacs-lisp/helpers.el: Add some string helpers.
2693 (string-trim-left): Removes leading whitespace.
2694 (string-trim-right): Removes trailing whitespace.
2695 (string-trim): Removes leading and trailing whitespace.
2696
2697 * subr.el (string-suffix-p): New function.
2698
2699 2013-11-23 Glenn Morris <rgm@gnu.org>
2700
2701 * progmodes/python.el (python-shell-send-file):
2702 Add option to delete file when done. (Bug#15647)
2703 (python-shell-send-string, python-shell-send-region): Use it.
2704
2705 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2706
2707 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2708 to set buffer-read-only to t, never to nil. (Bug#15938)
2709
2710 * textmodes/tex-mode.el (latex-noindent-environments):
2711 Add safe-local-variable property. (Bug#15936)
2712
2713 2013-11-23 Glenn Morris <rgm@gnu.org>
2714
2715 * textmodes/enriched.el (enriched-mode): Doc fix.
2716 * emacs-lisp/authors.el (authors-renamed-files-alist):
2717 Add enriched.doc -> enriched.txt.
2718
2719 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2720
2721 2013-11-22 Leo Liu <sdl.web@gmail.com>
2722
2723 * progmodes/octave.el (inferior-octave-startup): Spit out error
2724 message.
2725
2726 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2727
2728 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2729 Improve docstring.
2730 Add :version.
2731 (ruby-encoding-magic-comment-style): Add :version.
2732
2733 2013-11-22 Leo Liu <sdl.web@gmail.com>
2734
2735 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2736 (Bug#15076)
2737 (octave-help-mode): Adapt to change to help-mode-finish to use
2738 derived-mode-p on 2013-09-17.
2739 (inferior-octave-prompt): Also match octave-gui.
2740 (octave-kill-process): Don't ask twice. (Bug#10564)
2741
2742 2013-11-22 Leo Liu <sdl.web@gmail.com>
2743
2744 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2745 (inferior-octave-startup, inferior-octave-check-process)
2746 (inferior-octave-track-window-width-change)
2747 (octave-completion-at-point, octave-eldoc-function): Use it.
2748 (octave-kill-process): Provide confirmation. (Bug#10564)
2749
2750 2013-11-21 Leo Liu <sdl.web@gmail.com>
2751
2752 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2753 Fix obsolete variable comment-use-global-state.
2754
2755 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2756
2757 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2758 Add `octave-source-file'.
2759 (octave-source-file): New function. (Bug#15935)
2760
2761 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2762
2763 * net/eww.el (eww-local-regex): New variable.
2764 (eww): Use it to detect localhost and similar.
2765
2766 2013-11-21 Leo Liu <sdl.web@gmail.com>
2767
2768 Add completion for command `ag'.
2769 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2770 (pcomplete/ag): New function.
2771 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2772
2773 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2774
2775 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2776 (bug#14646).
2777 (make-obsolete): Remove interactive spec.
2778
2779 2013-11-21 Glenn Morris <rgm@gnu.org>
2780
2781 * startup.el (command-line-1): Use path-separator with -L.
2782
2783 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2784
2785 * emacs-lisp/package.el (describe-package-1): Add package archive
2786 to shown fields.
2787
2788 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2789
2790 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2791 Change default to "# encoding: %s" to differentiate it from the
2792 default Ruby encoding comment template.
2793
2794 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2795
2796 * ses.el (ses-mode): Doc fix. (Bug#14748)
2797
2798 2013-11-20 Leo Liu <sdl.web@gmail.com>
2799
2800 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2801
2802 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2803
2804 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2805 when rebase or bisect are in progress.
2806
2807 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2808
2809 * filenotify.el (file-notify-add-watch): Doc fix.
2810
2811 2013-11-19 Leo Liu <sdl.web@gmail.com>
2812
2813 * obsolete/rcompile.el: Mark obsolete.
2814
2815 * progmodes/compile.el (compilation-start)
2816 (compilation-goto-locus, compilation-find-file):
2817 Pass no-display-ok and handle nil value from display-buffer.
2818 (Bug#13594)
2819
2820 * window.el (display-buffer-alist, display-buffer): Document the
2821 new parameter no-display-ok. Return either a window or nil
2822 but never a non-window value.
2823
2824 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * electric.el (electric-indent-mode-map): Remove.
2827 (electric-indent-mode): Change the global-map instead (bug#15915).
2828
2829 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2830 Use add-function.
2831
2832 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * emacs-lisp/nadvice.el (remove-function): Align with
2835 add-function's behavior.
2836
2837 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2838 (gdb--string-regexp): New constant.
2839 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2840 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2841 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2842 submatch 1.
2843 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2844 Adjust use accordingly.
2845 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2846
2847 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2848
2849 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2850 interpolation curlies (Bug#15914).
2851
2852 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2853
2854 * calc/calc.el (calc-context-sensitive-enter): New variable.
2855 (calc-enter): Use `calc-context-sensitive-enter'.
2856
2857 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2858
2859 * progmodes/cfengine.el: Version bump.
2860 (cfengine-cf-promises): New defcustom to locate cf-promises.
2861 (cfengine3-vartypes): Add new "data" type.
2862 (cfengine3--current-word): New function to get current name-like
2863 word or its bounds.
2864 (cfengine3--current-function): New function to look up a CFEngine
2865 function's definition.
2866 (cfengine3-format-function-docstring): New function.
2867 (cfengine3-make-syntax-cache): New function.
2868 (cfengine3-documentation-function): New function: ElDoc glue.
2869 (cfengine3-completion-function): New function: completion glue.
2870 (cfengine3-mode): Set `compile-command',
2871 `eldoc-documentation-function', and add to
2872 `completion-at-point-functions'.
2873
2874 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2877 `tramp-current-connection'.
2878
2879 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2880
2881 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2882 nil/self/true/false with "end of symbol".
2883
2884 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2885
2886 * subr.el (version-regexp-alist): Fix a typo.
2887
2888 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2889
2890 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2891 "en_US.utf8" and "LC_CTYPE" to "".
2892 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2893 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2894
2895 2013-11-15 Leo Liu <sdl.web@gmail.com>
2896
2897 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2898
2899 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * progmodes/gud.el (ctl-x-map):
2902 Remove C-x SPC binding. (Bug#12342)
2903 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2904
2905 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2906
2907 * subr.el (version-regexp-alist):
2908 Recognize hg, svn and darcs versions as snapshot versions.
2909
2910 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2911 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2912 (ruby--encoding-comment-required-p): Extract from
2913 `ruby-mode-set-encoding'.
2914 (ruby-mode-set-encoding): Add the ability to always insert an
2915 utf-8 encoding comment. Fix and simplify coding comment update
2916 logic.
2917
2918 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2919
2920 * net/tramp-gvfs.el (top): Run init code only when
2921 `tramp-gvfs-enabled' is not nil.
2922 (tramp-gvfs-enabled): Check also :system bus.
2923
2924 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 Sync with upstream verilog-mode revision 78e66ba.
2927 * progmodes/verilog-mode.el (verilog-end-of-defun)
2928 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2929 (verilog-get-end-of-defun): Remove unused argument.
2930 (verilog-comment-depth): Remove unused local `e'.
2931 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2932 Don't pass arg to verilog-get-end-of-defun.
2933
2934 2013-11-14 Glenn Morris <rgm@gnu.org>
2935
2936 * obsolete/assoc.el (aget): Prefix dynamic variable.
2937
2938 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2939
2940 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * widget.el, hfy-cmap.el: Remove bogus package version number.
2943
2944 2013-11-13 Glenn Morris <rgm@gnu.org>
2945
2946 * replace.el (replace-eval-replacement):
2947 Try to give more helpful error message. (Bug#15836)
2948
2949 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2950 (archive-7z-update): Avoid custom type mismatches.
2951
2952 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2953
2954 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2957 address can be empty.
2958
2959 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2960 Accept nil SWITCHES.
2961 (tramp-gvfs-handle-write-region): Implement APPEND.
2962
2963 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2964
2965 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2966 binary "|" operator and closing block args delimiter.
2967 Remove FIXME comment referring to Ruby 1.8-only syntax.
2968 (ruby-smie--implicit-semi-p): Not after "|" operator.
2969 (ruby-smie--closing-pipe-p): New function.
2970 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2971 (ruby-smie-rules): Indent after "|".
2972
2973 2013-11-12 Glenn Morris <rgm@gnu.org>
2974
2975 * ps-print.el (ps-face-attribute-list):
2976 Handle anonymous faces. (Bug#15827)
2977
2978 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2979
2980 * window.el (display-buffer-other-frame): Fix doc-string.
2981 (Bug#15868)
2982
2983 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2986
2987 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2988
2989 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2990 (tramp-sh-handle-file-local-copy): Don't write a message when
2991 saving temporary files.
2992
2993 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2994 both directories are remote.
2995 (tramp-smb-handle-directory-files): Do not return double entries.
2996 Do not expand full file names.
2997 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2998 (tramp-smb-handle-write-region): Implement APPEND.
2999 (tramp-smb-get-stat-capability): Fix a stupid bug.
3000
3001 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3004
3005 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3006
3007 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3008 throwing error over malformed let/let* (bug#15814).
3009
3010 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * iswitchb.el (iswitchb-mode): Mark obsolete.
3013
3014 2013-11-11 Glenn Morris <rgm@gnu.org>
3015
3016 * international/uni-bidi.el, international/uni-category.el:
3017 * international/uni-name.el, international/uni-numeric.el:
3018 Regenerate for Unicode 6.3.0.
3019
3020 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3021
3022 * net/tramp.el (tramp-methods):
3023 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3024 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3025
3026 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3027
3028 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3029 Force highlighting text after Summary keyword in doc face for rpm.
3030
3031 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3032
3033 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3034 available and the word has no wildcards, append one to the grep pattern.
3035 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3036 (ispell-complete-word): Call `ispell-lookup-words' with the value
3037 independent of `ispell-look-p'.
3038
3039 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3040
3041 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3042 Not after "||".
3043 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3044 their parent.
3045
3046 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3049 (ruby-font-lock-keywords): Use backquote.
3050
3051 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3052
3053 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3054 (ruby-smie--backward-token): Only consider full-string matches.
3055
3056 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3057
3058 * faces.el (describe-face): Add distant-foreground.
3059
3060 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3061
3062 * progmodes/ruby-mode.el: Improve encoding comment handling.
3063 (ruby-encoding-magic-comment-style): New option.
3064 (ruby-custom-encoding-magic-comment-template): New option.
3065 (ruby--insert-coding-comment, ruby--detect-encoding):
3066 New functions extracted from `ruby-mode-set-encoding'.
3067 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3068 to control the style of the auto-inserted encoding comment.
3069
3070 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3071
3072 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3073 Use `smie-backward-sexp' with token argument.
3074
3075 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3076
3077 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3078 Remove instrumentation code.
3079
3080 2013-11-08 Glenn Morris <rgm@gnu.org>
3081
3082 * progmodes/autoconf.el (autoconf-mode):
3083 Tweak comment-start-skip. (Bug#15822)
3084
3085 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3086
3087 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3088 at bobp (bug#15826).
3089 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3090
3091 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3092
3093 * man.el (Man-start-calling): New macro, extracted from
3094 Man-getpage-in-background.
3095 (Man-getpage-in-background): Use it.
3096 (Man-update-manpage): New command.
3097 (Man-mode-map): Bind it.
3098
3099 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3100
3101 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3102 of "and", "or", "&&" and "||".
3103 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3104 argument. Prohibit opening curly brace because it could only be a
3105 block opener in that position.
3106 (ruby-smie--forward-token, ruby-smie--backward-token):
3107 Separate "|" from "&" or "*" going after it. That can happen in block
3108 arguments.
3109 (ruby-smie--indent-to-stmt): New function, seeks the end of
3110 previous statement or beginning of buffer.
3111 (ruby-smie-rules): Use it.
3112 (ruby-smie-rules): Check if there's a ":" before a curly block
3113 opener candidate; if there is, it's a hash.
3114
3115 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3116
3117 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3118 (cl--block-wrapper): Fix last accidental change.
3119
3120 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3121
3122 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3123 Instrument, in order to hunt failure on hydra.
3124
3125 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3126
3127 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3128 malformed bindings form (bug#15814).
3129
3130 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3131
3132 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3133 "." compared to " @ ". This incidentally fixes some indentation
3134 examples with "do".
3135 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3136 (ruby-smie-grammar): New tokens: "and" and "or".
3137 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3138 Exclude "and" and "or". Remove "do" in order to work around token
3139 priorities.
3140 (ruby-smie-rules): Add all infix tokens. Handle the case of
3141 beginning-of-buffer.
3142
3143 2013-11-06 Glenn Morris <rgm@gnu.org>
3144
3145 * Makefile.in (setwins_almost, setwins_for_subdirs):
3146 Avoid accidental matches.
3147
3148 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * menu-bar.el (popup-menu): Use key-binding.
3151
3152 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3153
3154 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3155 menus, support also the menus produced by minor modes.
3156 (Bug#15817)
3157
3158 2013-11-06 Leo Liu <sdl.web@gmail.com>
3159
3160 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3161 DISTANCE to bound the search. All uses changed. (Bug#15808)
3162
3163 2013-11-06 Glenn Morris <rgm@gnu.org>
3164
3165 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3166 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3167 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3168
3169 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * electric.el (electric-indent-just-newline): New command.
3172 (electric-indent-mode-map): New keymap.
3173 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3174 Re-add :group which weren't redundant.
3175
3176 * electric.el (electric-indent-local-mode): New minor mode.
3177 (electric-indent-functions-without-reindent): New var.
3178 (electric-indent-post-self-insert-function): Use it.
3179 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3180
3181 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3182
3183 * international/quail.el (quail-help): Be more explicit about the
3184 meaning of the labels shown on the keys. (Bug#15800)
3185
3186 * startup.el (normal-top-level): Load the subdirs.el files before
3187 setting the locale environment. (Bug#15805)
3188
3189 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3190
3191 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3192 via arguments so as to get the right ones (bug#15418).
3193
3194 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3195
3196 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3197
3198 Fix problems found while writing a test suite.
3199
3200 * net/tramp-compat.el (tramp-compat-load): New defun.
3201 * net/tramp.el (tramp-handle-load): Use it.
3202
3203 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3204 "(numberp ok-if-already-exists)" correctly.
3205
3206 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3207
3208 * international/characters.el (glyphless-char-display-control):
3209 Add usage note.
3210
3211 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3212
3213 * progmodes/python.el (python-mode):
3214 * progmodes/scheme.el (scheme-mode):
3215 * progmodes/prolog.el (prolog-mode):
3216 * progmodes/ruby-mode.el (ruby-mode):
3217 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3218 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3219
3220 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3221
3222 * rect.el (rectangle--highlight-for-redisplay):
3223 * emacs-lisp/smie.el (smie--next-indent-change):
3224 Use buffer-chars-modified-tick.
3225
3226 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3227
3228 * electric.el (electric-indent-post-self-insert-function):
3229 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3230
3231 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3232
3233 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3234
3235 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3236
3237 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3238 (bug#15786).
3239
3240 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3243
3244 * progmodes/python.el: Fix up last change.
3245 (python-shell--save-temp-file): New function.
3246 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3247 `string' comes from the current buffer.
3248 (python-shell-send-string-no-output): Remove `msg' arg.
3249 (python--use-fake-loc): New var.
3250 (python-shell-buffer-substring): Obey it. Try to compensate for the
3251 extra coding line added by python-shell--save-temp-file.
3252 (python-shell-send-region): Use python-shell--save-temp-file and
3253 python-shell-send-file directly. Add `nomain' argument.
3254 (python-shell-send-buffer): Use python-shell-send-region.
3255 (python-electric-pair-string-delimiter): New function.
3256 (python-mode): Use it.
3257
3258 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3259
3260 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3261 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3262 environment and decoding all of the default-directory's to here
3263 from command-line.
3264 (command-line): Decode also argv[0].
3265
3266 * loadup.el: Error out if default-directory is a multibyte string
3267 when we are dumping.
3268
3269 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3270
3271 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3272
3273 * emacs-lisp/package.el (package-menu-mode)
3274 (package-menu--print-info, package-menu--archive-predicate):
3275 Add Archive column to package list.
3276
3277 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3278
3279 Fix problems found while writing a test suite.
3280
3281 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3282 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3283 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3284 to nil when running original file name handler. Otherwise,
3285 there are problems with constructs like "$$FOO".
3286
3287 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3288 for `localname'.
3289
3290 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3291
3292 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3293
3294 * subr.el (version<, version<=, version=):
3295 Update docstrings with information for snapshot versions.
3296
3297 * helpers.el: New library for misc helper functions.
3298 (hash-table-keys): New function returning a list of hash keys.
3299 (hash-table-values): New function returning a list of hash values.
3300
3301 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3302
3303 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3304 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3305
3306 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3307
3308 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3309 checking whether point is after a 1-letter word.
3310
3311 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3312
3313 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3314 Don't infloop when expanding region over `multiline' syntax-type that
3315 begins a line (bug#15778).
3316
3317 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3318
3319 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3320 Make it into a proper minor mode.
3321 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3322 (rectangle-mark-mode-map): New keymap.
3323 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3324
3325 2013-11-04 Glenn Morris <rgm@gnu.org>
3326
3327 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3328
3329 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3330
3331 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3332 (ruby-smie-rules): Use smie-rule-parent instead.
3333
3334 * emacs-lisp/smie.el (smie-rule-parent): Always call
3335 smie-indent-virtual rather than only for hanging tokens.
3336 (smie--next-indent-change): New helper command.
3337
3338 2013-11-03 Glenn Morris <rgm@gnu.org>
3339
3340 * Makefile.in (abs_srcdir): Remove.
3341 (emacs): Unset EMACSLOADPATH.
3342
3343 2013-11-02 Glenn Morris <rgm@gnu.org>
3344
3345 * Makefile.in (EMACS): Use a relative filename.
3346 (abs_top_builddir): Remove.
3347 (custom-deps, finder-data, autoloads): Use --chdir.
3348
3349 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3350
3351 Use relative filenames in TAGS files.
3352 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3353 (lisptagsfiles4, TAGS): Use relative file names.
3354 (TAGS-LISP): Remove.
3355 (maintainer-clean): No more TAGS-LISP file.
3356
3357 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3358 (lisptagsfiles4): Use absolute filenames again.
3359 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3360 Remove all *loaddefs files, not just the first. Remove esh-groups.
3361 (maintainer-clean): Delete TAGS, TAGS-LISP.
3362
3363 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3364
3365 * emacs-lisp/package.el (package-version-join):
3366 Recognize snapshot versions.
3367
3368 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3369
3370 * subr.el (version-regexp-alist): Add support for snapshot versions.
3371
3372 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3373
3374 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3375 New function, replacement for `smie-rule-parent' for when we want to
3376 skip over our direct parent if it's an assignment token..
3377 (ruby-smie-rules): Use it.
3378
3379 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3380
3381 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3382 unconditionally. Remove now unnecessary forward declarations.
3383 Remove XEmacs-specific setup.
3384 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3385 (ruby-font-lock-syntactic-keywords)
3386 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3387 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3388 (ruby-here-doc-end-syntax): Remove.
3389 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3390 defined as function.
3391
3392 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3393
3394 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3395
3396 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3397
3398 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3399 table and abbrev table, `define-derived-mode' does that for us
3400 anyway.
3401
3402 2013-11-01 Glenn Morris <rgm@gnu.org>
3403
3404 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3405 files is atomic for some time, so no parallel compilation issues).
3406
3407 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3408
3409 * faces.el (face-x-resources): Add :distant-foreground.
3410 (region): Use :distant-foreground for gtk and ns.
3411
3412 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3413
3414 Allow multiple bibliographies when BibLaTeX is used rather than
3415 BibTeX.
3416 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3417 (reftex-locate-bibliography-files): Us it.
3418
3419 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3420
3421 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3422 allow comments in pbm files.
3423
3424 * term/w32-win.el (dynamic-library-alist): Support newer versions
3425 of libjpeg starting with v7: look only for the DLL from the
3426 version against which Emacs was built.
3427 Support versions of libpng beyond 1.4.x.
3428 Support libtiff v4.x.
3429
3430 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3431
3432 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3433 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3434 Add property :safe.
3435 (ruby-deep-arglist): Add property :type.
3436
3437 2013-10-31 Glenn Morris <rgm@gnu.org>
3438
3439 * Makefile.in (custom-deps, finder-data): No need to setq the target
3440 variables, we are in the right directory and the defaults work fine.
3441
3442 2013-10-30 Glenn Morris <rgm@gnu.org>
3443
3444 * Makefile.in (autoloads): Do not use abs_lisp.
3445
3446 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3447 `newline' does not respect `standard-output', so use `princ'.
3448
3449 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3450
3451 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3452 * buff-menu.el (Buffer-menu--unmark): New function.
3453 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3454
3455 2013-10-30 Glenn Morris <rgm@gnu.org>
3456
3457 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3458
3459 * emacs-lisp/package.el (lm-homepage): Declare.
3460
3461 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3462 Fix doc typos.
3463
3464 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3465
3466 * Makefile.in (finder-data, autoloads, update-subdirs)
3467 (compile-main, compile-clean, compile-always, bootstrap-clean):
3468 Check return value of cd.
3469 (compile-calc): Remove.
3470
3471 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3474
3475 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3476 (byte-compile-and-folded): New function.
3477 (=, <, >, <=, >=): Use it.
3478
3479 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3480 (path-separator, null-device, buffer-file-coding-system)
3481 (lpr-headers-switches): Check system-type before modifying them.
3482 (find-buffer-file-type-coding-system): Mark obsolete.
3483 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3484 find-file-not-found-set-buffer-file-coding-system.
3485 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3486 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3487 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3488 (w32-direct-print-region-helper, w32-direct-print-region-function)
3489 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3490 * startup.el (normal-top-level-add-subdirs-to-load-path):
3491 * ps-print.el (ps-print-region-function):
3492 * lpr.el (print-region-function): Use new name.
3493
3494 * subr.el (custom-declare-variable-early): Remove function.
3495 (custom-declare-variable-list): Remove var.
3496 (error, user-error): Remove `while' loop.
3497 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3498 (user-emacs-directory-warning, locate-user-emacs-file):
3499 Move to files.el.
3500 * simple.el (read-quoted-char-radix, read-quoted-char):
3501 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3502 Move from subr.el.
3503 * custom.el (custom-declare-variable-list): Don't process
3504 custom-declare-variable-list.
3505
3506 * progmodes/python.el (python-shell-get-buffer): New function.
3507 (python-shell-get-process): Use it.
3508 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3509 Python which encoding was used. Don't split-string since we only care
3510 about the first line. Return the temp-file, if applicable.
3511 (python-shell-send-region): Tell compile.el how to turn locations in
3512 the temp-file into locations in the source buffer.
3513
3514 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * subr.el (undefined): Add missing behavior from the C code for
3517 unbound keys.
3518
3519 * rect.el: Use lexical-binding. Add new rectangular region support.
3520 (rectangle-mark): New command.
3521 (rectangle--region): New var.
3522 (deactivate-mark-hook): Reset rectangle--region.
3523 (rectangle--extract-region, rectangle--insert-for-yank)
3524 (rectangle--highlight-for-redisplay)
3525 (rectangle--unhighlight-for-redisplay): New functions.
3526 (region-extract-function, redisplay-unhighlight-region-function)
3527 (redisplay-highlight-region-function): Use them to handle
3528 rectangular region.
3529 * simple.el (region-extract-function): New var.
3530 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3531 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3532 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3533 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3534 (redisplay-unhighlight-region-function)
3535 (redisplay-highlight-region-function): New vars.
3536 (redisplay--update-region-highlight): New function.
3537 (pre-redisplay-function): Use it.
3538 (exchange-point-and-mark): Don't deactivate the mark before
3539 reactivate-it anyway.
3540 * comint.el (comint-kill-region): Remove yank-handler argument.
3541 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3542 (delete-char): Remove property, since it's now part of their
3543 default behavior.
3544 (self-insert-iso): Remove property since this command doesn't exist.
3545
3546 * emacs-lisp/package.el (package--download-one-archive)
3547 (describe-package-1): Don't query the user about final newline.
3548
3549 2013-10-29 Daniel Colascione <dancol@dancol.org>
3550
3551 * net/tramp.el (tramp-methods): Document new functionality.
3552 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3553 tramp-hostname-checker if method provides one instead of scanning
3554 argument list for "%h" to decide hostname acceptability.
3555
3556 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3557
3558 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3559 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3560 Handle COPY-CONTENTS. (Bug#15737)
3561
3562 2013-10-28 Daiki Ueno <ueno@gnu.org>
3563
3564 * epa-file.el
3565 (epa-file-cache-passphrase-for-symmetric-encryption):
3566 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3567
3568 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3569
3570 * image.el (defimage):
3571 (image-load-path): Doc fixes.
3572
3573 2013-10-27 Alan Mackenzie <acm@muc.de>
3574
3575 Indent statements in macros following "##" correctly.
3576 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3577 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3578
3579 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3580
3581 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3582
3583 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3584
3585 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3586 after `=' is probably a new expression.
3587
3588 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3589
3590 * man.el (man-imenu-title): New option.
3591 (Man-mode-map): Add menu. (Bug#15722)
3592 (Man-mode): Add imenu to menu.
3593
3594 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3595
3596 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3597 specific in what the first arg can be: a non-keyword word,
3598 string/regexp/percent literal opener, opening paren, or unary
3599 operator followed directly by word.
3600
3601 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3602
3603 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3604 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3605 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3606 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3607 Remove vars, they do not apply any more.
3608 (prolog-mode-abbrev-table): Remove redundant declaration.
3609 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3610 (prolog-use-smie): Remove.
3611 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3612 supported by prolog-electric-if-then-else-flag.
3613 (prolog-mode-variables, prolog-menu): Use setq-local.
3614 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3615 Remove binding to `Backspace' since this key doesn't exist anyway.
3616 Remove bindings for electric self-inserting keys.
3617 (prog-mode): Assume it's defined.
3618 (prolog-post-self-insert): New function.
3619 (prolog-mode): Use it.
3620 (prolog-indent-line, prolog-indent-level)
3621 (prolog-find-indent-of-matching-paren)
3622 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3623 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3624 (prolog-goto-next-paren, prolog-in-string-or-comment)
3625 (prolog-tokenize, prolog-inside-mline-comment)
3626 (prolog-find-start-of-mline-comment): Remove functions.
3627 (prolog-find-unmatched-paren, prolog-clause-end)
3628 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3629 (prolog-electric--if-then-else): Rename from
3630 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3631 (prolog-tokenize-searchkey): Remove const.
3632 (prolog-clause-info): Use forward-sexp.
3633 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3634 (prolog-electric-if-then-else): Remove commands.
3635 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3636 for use in post-self-insert-hook.
3637 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3638 for use in post-self-insert-hook.
3639 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3640 for use in post-self-insert-hook.
3641 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3642 adapt it for use in post-self-insert-hook.
3643
3644 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3645
3646 * emacs-lisp/ert.el (ert-run-tests-interactively):
3647 Use `completing-read'. (Bug#9756)
3648
3649 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3650
3651 * simple.el (line-move): Call line-move-1 instead of
3652 line-move-visual when the current window hscroll is zero, but
3653 temporary-goal-column indicates we will need to hscroll as result
3654 of the movement. (Bug#15712)
3655
3656 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3657
3658 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3659 capitalization. Use :visible instead of :active.
3660 Fix `ruby-indent-exp' reference. Add menu items for the generic
3661 commands that are used with SMIE.
3662 (ruby-do-end-to-brace): Insert space after `{'.
3663
3664 2013-10-25 John Anthony <john@jo.hnanthony.com>
3665
3666 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3667
3668 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3669
3670 2013-10-25 Glenn Morris <rgm@gnu.org>
3671
3672 * vc/vc.el (vc-print-log): Don't use a working revision unless
3673 one was explicitly specified. (Bug#15322)
3674
3675 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3676
3677 * subr.el (add-to-list): Preserve return value in compiler-macro
3678 (bug#15692).
3679
3680 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3681
3682 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3683 result. Ask user to retry using '-all' flag. (Bug#15701)
3684
3685 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * emacs-lisp/smie.el: New smie-config system.
3688 (smie-config): New defcustom.
3689 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3690 (smie-config-guess, smie-config-save): New commands.
3691 (smie-config--mode-local, smie-config--buffer-local)
3692 (smie-config--trace, smie-config--modefuns): New vars.
3693 (smie-config--advice, smie-config--mode-hook)
3694 (smie-config--setter, smie-config-local, smie-config--get-trace)
3695 (smie-config--guess-value, smie-config--guess): New functions.
3696 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3697 text properties. Treat "string fence" syntax like string syntax.
3698
3699 * progmodes/sh-script.el (sh-use-smie): Change default.
3700 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3701 (sh-var-value): Simplify by CSE.
3702 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3703 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3704 is used.
3705 (sh-guess-basic-offset): Use cl-incf.
3706 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3707
3708 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3709
3710 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3711 (bug#15699).
3712
3713 2013-10-24 Glenn Morris <rgm@gnu.org>
3714
3715 * Makefile.in (abs_top_srcdir): Remove.
3716 (update-subdirs): Use relative path to update-subdirs.
3717
3718 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3719
3720 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3721 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3722 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3723 Call unmsys--file-name before expand-file-name, not after it.
3724
3725 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3726
3727 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3728 (ert-test-skipped): New error.
3729 (ert-skip, ert-stats-skipped): New defuns.
3730 (ert--skip-unless): New macro.
3731 (ert-test-skipped): New struct.
3732 (ert--run-test-debugger, ert-test-result-type-p)
3733 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3734 (ert--stats-set-test-and-result, ert-char-for-test-result)
3735 (ert-string-for-test-result, ert-run-tests-batch)
3736 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3737 Handle skipped tests. (Bug#9803)
3738
3739 2013-10-24 Glenn Morris <rgm@gnu.org>
3740
3741 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3742
3743 * Makefile.in (abs_top_srcdir): New, set by configure.
3744 (update-subdirs): Correct build-aux location.
3745
3746 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3747
3748 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3749 value, whether we could auto-deduce `backend', or not.
3750
3751 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3752 with parameters" example. Simplify the "is it block or is it
3753 hash" check, but also make it more thorough.
3754
3755 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3756
3757 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3758
3759 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3762 { if it is hanging.
3763
3764 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3765 :before ";".
3766
3767 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3768
3769 * progmodes/compile.el (compilation-directory-matcher)
3770 (compilation-page-delimiter):
3771 Support GNU Make-4.0 directory quoting. (Bug#15678)
3772
3773 2013-10-23 Leo Liu <sdl.web@gmail.com>
3774
3775 * ido.el (ido-tidy): Handle read-only text.
3776
3777 2013-10-23 Glenn Morris <rgm@gnu.org>
3778
3779 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3780 (emacs, compile, compile-always):
3781 Quote entities that might contain whitespace.
3782 (custom-deps, finder-data, autoloads): Use abs_lisp.
3783 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3784 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3785 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3786
3787 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3788
3789 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3790 Use `following-char'.
3791
3792 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3795 * progmodes/ruby-mode.el (ruby-smie-rules):
3796 Remove corresponding workaround. Fix indentation rule of ";" so it
3797 also applies when ";" is the parent.
3798
3799 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3800
3801 * frame.el (display-screens, display-pixel-height)
3802 (display-pixel-width, display-mm-width, display-backing-store)
3803 (display-save-under, display-planes, display-color-cells)
3804 (display-visual-class, display-monitor-attributes-list):
3805 Mention the optional ‘display’ argument in doc strings.
3806
3807 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3808
3809 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3810 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3811
3812 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3813
3814 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3815 TODO. Add "." after " @ ".
3816 (ruby-smie--at-dot-call): New function. Checks if point at method
3817 call with explicit target.
3818 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3819 to the method name tokens when it precedes them.
3820 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3821 (ruby-smie-rules): Add rule for indentation before and after "."
3822 token.
3823
3824 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * textmodes/remember.el (remember-diary-extract-entries):
3827 Avoid add-to-list.
3828
3829 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3830 an instruction.
3831
3832 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3833
3834 * progmodes/ruby-mode.el (ruby-smie-grammar):
3835 Add (almost) all infix operators.
3836 (ruby-smie--implicit-semi-p): Add new operator chars.
3837
3838 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3839 `smie-down-list'.
3840 (ruby-smie--args-separator-p): Check that there's no newline
3841 between method call and its arguments.
3842
3843 2013-10-20 Alan Mackenzie <acm@muc.de>
3844
3845 Allow comma separated lists after Java "implements".
3846
3847 * progmodes/cc-engine.el (c-backward-over-enum-header):
3848 Parse commas.
3849 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3850 from a "disallowed" list in enum fontification.
3851
3852 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3853
3854 * startup.el (default-frame-background-mode): Remove unused defvar.
3855
3856 * progmodes/verilog-mode.el (verilog-mode): Don't set
3857 comment-indent-function globally.
3858
3859 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3860
3861 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3862 Move Info menu item creation to ns-win.el.
3863
3864 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3865 in menu bar.
3866
3867 * menu-bar.el: Move GNUstep specific menus...
3868
3869 * term/ns-win.el (ns-initialize-window-system): ... to here.
3870
3871 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * simple.el (newline): Only run post-self-insert-hook when
3874 called interactively.
3875
3876 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3877
3878 * icomplete.el (icomplete-with-completion-tables): Add :version.
3879
3880 2013-10-19 Alan Mackenzie <acm@muc.de>
3881
3882 Fix fontification bugs with constructors and const.
3883
3884 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3885 CASE 2) Remove the check for the absence of a suffix construct
3886 after a function declaration with only types (no identifiers) in
3887 the parentheses. Also, accept a function declaration with just a
3888 type inside the parentheses, if this type can be positively
3889 recognised as such, or if a prefix keyword like "explicit" nails
3890 down the construct as a declaration.
3891
3892 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3893
3894 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3895 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3896 the problem whereby selecting a menu item that leads to a
3897 minibuffer prompt moves the cursor out of the minibuffer window,
3898 making it hard to type at the prompt. Suggested by Stefan Monnier
3899 <monnier@iro.umontreal.ca>.
3900
3901 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3902
3903 * menu-bar.el: Don't make Services menu.
3904
3905 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3906
3907 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3908 (ffap-alist): Use ffap-c++-mode for c++-mode.
3909 (ffap-c++-path): New variable.
3910 (ffap-c++-mode): New function.
3911
3912 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3913
3914 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3915
3916 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3917
3918 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3919 introduced on 2013-09-08, which results in an infinite loop
3920 requesting a password.
3921
3922 2013-10-18 Glenn Morris <rgm@gnu.org>
3923
3924 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3925
3926 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3927
3928 Sync with upstream verilog-mode revision 1a6ecec7.
3929 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3930 (verilog-mode-release-date): Remove.
3931 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3932 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3933 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3934 (verilog-auto-tieoff-ignore-regexp)
3935 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3936 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3937 (verilog-signals-with, verilog-dir-cache-preserving)
3938 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3939 Doc fixes.
3940 (verilog-case-fold): New option, to control case folding in
3941 regexp searches, bug597.
3942 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3943 (verilog-string-match-fold, verilog-in-paren-count)
3944 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3945 (verilog-at-close-struct-p): New functions.
3946 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3947 (verilog-forward-sexp, verilog-set-auto-endcomments):
3948 (verilog-leap-to-case-head): Handle "unique0" case.
3949 (verilog-in-constraint-re): New constant.
3950 (verilog-keywords, verilog-type-font-keywords):
3951 Add some SystemVerilog 1800-2012 keywords.
3952 (verilog-label-be): Remove unimplemented argument, bug669.
3953 (verilog-batch-execute-func): When batch expanding clear
3954 create-lockfiles to prevent spurious user locks when a file ends
3955 up not changing.
3956 (verilog-calculate-indent, verilog-calc-1)
3957 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3958 (verilog-do-indent): Fix indentation of nested constraints
3959 and structures.
3960 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3961 (verilog-auto-inst-param): Use verilog-string-match-fold.
3962 (verilog-read-inst-module-matcher):
3963 Fix AUTOINST on gate primitives with #1.
3964 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3965 Reads all user-defined typed variables.
3966 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3967 (verilog-signals-matching-regexp)
3968 (verilog-signals-not-matching-regexp, verilog-auto):
3969 Respect verilog-case-fold.
3970 (verilog-diff-report): Fix line count.
3971 (verilog-auto-assign-modport): Remove unused local `modi'.
3972 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3973 better handle multidimensional arrays.
3974 Fix packed array ports misadding bit index in AUTOINST, bug637.
3975 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3976 to not double-declare existing outputs and inputs, respectively.
3977 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3978 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3979 (verilog-sk-uvm-component): New skeleton.
3980 (verilog-submit-bug-report): Add verilog-case-fold,
3981 remove verilog-mode-release-date.
3982
3983 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3984
3985 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3986 as before.
3987
3988 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3989
3990 * textmodes/remember.el (remember): Set buffer-offer-save in
3991 remember buffers (bug#13566).
3992
3993 2013-10-18 Daniel Colascione <dancol@dancol.org>
3994
3995 When evaluating forms in ielm, direct standard output to ielm
3996 buffer. Add new ielm-return-for-effect command. Remove trailing
3997 whitespace throughout.
3998
3999 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4000 (ielm-return-for-effect): New command.
4001 (ielm-send-input): Accept optional `for-effect' parameter.
4002 (ielm-eval-input): Accept optional `for-effect' parameter.
4003 Bind `standard-output' to stream we create using
4004 `ielm-standard-output-impl'. Suppress printing result when
4005 `for-effect'.
4006 (ielm-standard-output-impl): New function.
4007 (inferior-emacs-lisp-mode): Explain new features in documentation.
4008
4009 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4010
4011 Code cleanup.
4012
4013 * net/tramp.el (tramp-debug-message): Do not check for connection
4014 buffer.
4015 (tramp-message): Use "vector" connection property.
4016
4017 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4018 (tramp-equal-remote, tramp-eshell-directory-change)
4019 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4020 (tramp-adb-handle-rename-file)
4021 * net/tramp-cmds.el (tramp-list-remote-buffers)
4022 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4023 * net/tramp-compat.el (tramp-compat-process-running-p)
4024 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4025 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4026 (tramp-gvfs-handle-rename-file)
4027 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4028 (tramp-set-file-uid-gid)
4029 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4030 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4031 of `file-remote-p'.
4032
4033 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4034 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4035 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4036 (tramp-gw-open-network-stream): Suppress unrelated traces.
4037
4038 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4039 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4040 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4041 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4042 connection property.
4043
4044 * net/tramp-cache.el (top): Suppress traces when reading
4045 persistency file.
4046
4047 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4048 Refactor common code. Improve debug message.
4049 (tramp-maybe-open-connection)
4050 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4051 connection buffer too early.
4052
4053 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4054 from `tramp-smb-actions-with-acl'.
4055 (tramp-smb-actions-set-acl): New defconst.
4056 (tramp-smb-handle-copy-directory)
4057 (tramp-smb-action-get-acl): New defun, renamed from
4058 `tramp-smb-action-with-acl'.
4059 (tramp-smb-action-set-acl): New defun.
4060 (tramp-smb-handle-set-file-acl): Rewrite.
4061
4062 2013-10-17 Glenn Morris <rgm@gnu.org>
4063
4064 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4065
4066 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * skeleton.el (skeleton-newline): Remove.
4069 (skeleton-internal-1): Use (insert "\n") instead.
4070
4071 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4072 let-bindings.
4073
4074 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4075 forward-sexp-function while we redo its job (bug#15613).
4076
4077 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4078
4079 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4080 represented by lists.
4081
4082 2013-10-16 Glenn Morris <rgm@gnu.org>
4083
4084 * tmm.el (tmm--history): New dynamic variable.
4085 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4086
4087 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4088
4089 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4090 (tramp-smb-errors): Add error messages.
4091 (tramp-smb-actions-with-acl): New defconst.
4092 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4093 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4094 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4095 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4096 (tramp-smb-get-stat-capability): Fix tests.
4097
4098 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4099
4100 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4101 (bug#15580).
4102
4103 2013-10-16 Glenn Morris <rgm@gnu.org>
4104
4105 * ansi-color.el (ansi-color-drop-regexp):
4106 Add 1J, 1K, 2K. (Bug#15617)
4107
4108 * files.el (hack-local-variables--warned-lexical): New.
4109 (hack-local-variables):
4110 Warn about misplaced lexical-binding. (Bug#15616)
4111
4112 * net/eww.el (eww-render): Always set eww-current-url,
4113 and update header line. (Bug#15622)
4114 (eww-display-html): ... Rather than just doing it here.
4115
4116 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4117
4118 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4119 menu navigations commands.
4120
4121 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4122
4123 * progmodes/subword.el (subword-capitalize): Be careful when
4124 the search for [[:alpha:]] fails (bug#15580).
4125
4126 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4127
4128 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4129 to commands that scroll the menu.
4130
4131 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4132
4133 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4134 Handle methods ending with `?' and `!'.
4135
4136 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4137
4138 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4139 `japanese-cp932' to `cp932' to fix the problem where saving a
4140 source file written in Shift_JIS twice would end up having
4141 `coding: japanese-cp932' which Ruby could not recognize.
4142 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4143 in `ruby-encoding-map'.
4144 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4145 doesn't need to be explicitly declared in magic comment.
4146 (ruby-encoding-map): Add type declaration for better customize UI.
4147
4148 2013-10-13 Glenn Morris <rgm@gnu.org>
4149
4150 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4151 Occur buffers are read-only. http://bugs.debian.org/720775
4152
4153 * emacs-lisp/authors.el (authors-fixed-entries):
4154 Comment out old alpha stuff.
4155
4156 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4157
4158 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4159 to `after-save-hook' instead of `before-save-hook'.
4160 (ruby-mode-set-encoding): Use the value of coding system used to
4161 write the file. Call `basic-save-buffer-1' after modifying the
4162 buffer.
4163
4164 2013-10-13 Alan Mackenzie <acm@muc.de>
4165
4166 Fix indentation/fontification of Java enum with
4167 "implements"/generic.
4168
4169 * progmodes/cc-engine.el (c-backward-over-enum-header):
4170 Extracted from the three other places and enhanced to handle generics.
4171 (c-inside-bracelist-p): Uses new function above.
4172 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4173 function above.
4174 (c-font-lock-enum-tail): Uses new function above.
4175
4176 2013-10-13 Kenichi Handa <handa@gnu.org>
4177
4178 * international/mule-cmds.el (select-safe-coding-system): Remove a
4179 superfluous condition in chekcing whether a coding system is safe
4180 or not.
4181
4182 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4183
4184 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4185
4186 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4187
4188 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4189
4190 2013-10-13 Glenn Morris <rgm@gnu.org>
4191
4192 * menu-bar.el (menu-bar-update-buffers):
4193 Unify Buffers menu prompt string. (Bug#15576)
4194
4195 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4196
4197 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4198 Add some entries.
4199 (authors-fixed-entries): Use accented form of name.
4200
4201 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4204 method calls (bug#15594).
4205 (ruby-smie--args-separator-p): New function.
4206 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4207 recognize paren-free method calls.
4208
4209 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4210 internals of universal-argument.
4211
4212 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4213
4214 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4215 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4216 dropped menu on second mouse click on the menu bar.
4217
4218 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4219
4220 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4221 (explicit-shell-file-name): Declare.
4222 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4223 (sh-completion-at-point-function): New function.
4224 (sh-mode): Use it.
4225 (sh-smie--keyword-p): Remove unused argument.
4226 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4227 vars.
4228 (sh-set-shell): Always setup SMIE, even if we use the
4229 old indentation code.
4230
4231 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4232
4233 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4234 cases of ? and =.
4235 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4236 predicate would return nil are almost non-existent.
4237 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4238
4239 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4240 cache also after commands that modify the buffer but don't move
4241 point.
4242
4243 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4244
4245 * env.el (substitute-env-in-file-name): New function.
4246 (substitute-env-vars): Extend the meaning of the optional arg.
4247
4248 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4249
4250 * term/w32-win.el (dynamic-library-alist): Define separate lists
4251 of GIF DLLs for versions before and after 5.0.0 of giflib.
4252 (Bug#15531)
4253
4254 2013-10-10 João Távora <joaotavora@gmail.com>
4255
4256 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4257 not locked, use last revision and current source as
4258 defaults. (Bug#15569)
4259
4260 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4261
4262 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4263 menu-bar is hidden.
4264
4265 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4266
4267 * window.el (pop-to-buffer-same-window): Fix doc-string.
4268 (Bug#15492)
4269
4270 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4271
4272 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4273
4274 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4275
4276 * calendar/icalendar.el (icalendar-import-file):
4277 Fix interactive spec. (Bug#15482)
4278
4279 2013-10-10 Glenn Morris <rgm@gnu.org>
4280
4281 * desktop.el (desktop-save): Default to saving in .emacs.d,
4282 since PWD is no longer in desktop-path by default. (Bug#15319)
4283
4284 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4285 now that text mode has a menu with the same entry.
4286 (menu-bar-text-mode-auto-fill): Remove now unused func.
4287 * textmodes/text-mode.el (text-mode-map):
4288 Use auto-fill help text from menu-bar.el.
4289
4290 2013-10-10 John Anthony <john@jo.hnanthony.com>
4291
4292 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4293
4294 2013-10-09 Juri Linkov <juri@jurta.org>
4295
4296 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4297 instead of this-command-keys. Add universal-argument-more and
4298 universal-argument-minus to the list of prefix commands. (Bug#15568)
4299
4300 2013-10-09 Glenn Morris <rgm@gnu.org>
4301
4302 * vc/vc-svn.el (vc-svn-create-repo):
4303 Expand paths in file://... url. (Bug#15446)
4304
4305 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4306 Add some entries.
4307 (authors): Remove unused local variables.
4308
4309 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * profiler.el: Create a more coherent calltree from partial backtraces.
4312 (profiler-format): Hide the tail with `invisible' so that C-s can still
4313 find the hidden elements.
4314 (profiler-calltree-depth): Don't recurse so enthusiastically.
4315 (profiler-function-equal): New hash-table-test.
4316 (profiler-calltree-build-unified): New function.
4317 (profiler-calltree-build): Use it.
4318 (profiler-report-make-name-part): Indent the calltree less.
4319 (profiler-report-mode): Add visibility specs for profiler-format.
4320 (profiler-report-expand-entry, profiler-report-toggle-entry):
4321 Expand the whole subtree when provided with a prefix arg.
4322
4323 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4326 iuwu-mod token.
4327 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4328 hanging iuwu-mod token.
4329 (ruby-smie--forward-token): Do not include a dot after a token in
4330 that token.
4331 (ruby-smie--backward-token): Likewise.
4332
4333 2013-10-08 Juri Linkov <juri@jurta.org>
4334
4335 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4336 to isearch-other-control-char.
4337 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4338 and isearch-post-command-hook to post-command-hook.
4339 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4340 and isearch-post-command-hook from post-command-hook.
4341 (isearch-unread-key-sequence)
4342 (isearch-reread-key-sequence-naturally)
4343 (isearch-lookup-scroll-key, isearch-other-control-char)
4344 (isearch-other-meta-char): Remove functions.
4345 (isearch-pre-command-hook, isearch-post-command-hook):
4346 New functions based on isearch-other-meta-char rewritten
4347 relying on the new behavior of overriding-terminal-local-map
4348 that does not replace the local keymaps any more. (Bug#15200)
4349
4350 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4351
4352 Support menus on text-mode terminals.
4353 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4354 functionality.
4355
4356 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4357
4358 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4359 Move here from mouse.el.
4360 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4361 and arrow keys.
4362 (tty-menu-navigation-map): New map for TTY menu navigation.
4363
4364 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4365
4366 * frame.el (display-mouse-p): Report text-mode mouse as available
4367 on w32.
4368 (display-popup-menus-p): Report availability if mouse is
4369 available; don't condition on window-system.
4370
4371 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4372 (tty-menu-selected-face): New faces.
4373
4374 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4375
4376 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4377 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4378 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4379 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4380 New constants.
4381 (lisp-mode-variables): New `elisp' argument.
4382 (emacs-lisp-mode): Use it.
4383 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4384 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4385
4386 * indent.el: Use lexical-binding.
4387 (indent-region): Add progress reporter.
4388 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4389 last step.
4390 (indent--next-tab-stop): New function to implement this behavior.
4391 (tab-to-tab-stop, move-to-tab-stop): Use it.
4392
4393 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4394
4395 * indent.el (indent-rigidly--current-indentation): New function.
4396 (indent-rigidly-map): New var.
4397 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4398
4399 2013-10-08 Bastien Guerry <bzg@gnu.org>
4400
4401 * register.el (insert-register): Fix 2013-10-07 change.
4402
4403 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * progmodes/perl-mode.el: Use lexical-binding.
4406 Remove redundant :group args.
4407 (perl-nochange): Change default to be closer to other major modes's
4408 standard behavior.
4409 (perl-indent-line): Don't consider text on current line as a
4410 valid beginning of function from which to indent.
4411
4412 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4413 with more than one argument (bug#15538).
4414
4415 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4416
4417 * vc/pcvs.el: Use lexical-binding.
4418 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4419 environment of `eval'.
4420 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4421 than a list of expressions. Adjust callers.
4422 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4423
4424 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4425
4426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4427 case of the dot in a chained method call being on the following line.
4428
4429 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4430
4431 * electric.el (electric-indent-inhibit): New var.
4432 (electric-indent-post-self-insert-function): Use it.
4433 * progmodes/python.el (python-mode): Set it.
4434
4435 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4436 open braces.
4437
4438 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4439
4440 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4441 (css-mode): Use electric-indent-chars.
4442
4443 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4444 (font-lock-beg, font-lock-end): Move before first use.
4445 (nxml-mode): Use syntax-propertize-function.
4446 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4447 (nxml-extend-after-change-region): Remove.
4448 * nxml/xmltok.el: Use lexical-binding.
4449 (xmltok-save): Use `declare'.
4450 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4451 * nxml/nxml-util.el: Use lexical-binding.
4452 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4453 Use `declare'.
4454 * nxml/nxml-ns.el: Use lexical-binding.
4455 (nxml-ns-save): Use `declare'.
4456 (nxml-ns-prefixes-for): Avoid add-to-list.
4457 * nxml/rng-match.el: Use lexical-binding.
4458 (rng--ipattern): Use cl-defstruct.
4459 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4460 (rng-cons-group-after, rng-subst-group-after)
4461 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4462 Use closures instead of `(lambda...).
4463
4464 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4465
4466 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4467 of BEG and END.
4468
4469 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4470 Use `tramp-handle-insert-file-contents'.
4471 (tramp-gvfs-handle-insert-file-contents): Remove function.
4472
4473 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4474 Use `save-restriction' in order to keep markers.
4475
4476 * net/trampver.el: Update release number.
4477
4478 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * progmodes/compile.el (compilation-parse-errors):
4481 Use compilation--put-prop.
4482 (compilation--ensure-parse): Check compilation-multiline.
4483
4484 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4485
4486 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4487 lexical-binding.
4488
4489 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4490
4491 * progmodes/ruby-mode.el: Fix recently added tests.
4492 (ruby-smie-grammar): Add - and +.
4493 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4494 (ruby-smie--backward-id): New functions.
4495 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4496 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4497 any more.
4498
4499 2013-10-07 Leo Liu <sdl.web@gmail.com>
4500
4501 * register.el (register-preview-delay)
4502 (register-preview-functions): New variables.
4503 (register-read-with-preview, register-preview)
4504 (register-describe-oneline): New functions.
4505 (point-to-register, window-configuration-to-register)
4506 (frame-configuration-to-register, jump-to-register)
4507 (number-to-register, view-register, insert-register)
4508 (copy-to-register, append-to-register, prepend-to-register)
4509 (copy-rectangle-to-register): Use register-read-with-preview to
4510 read register. (Bug#15525)
4511
4512 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4513
4514 * net/network-stream.el (network-stream-open-starttls): Don't add
4515 --insecure if it's already present, because that gnutls-cli
4516 rejects getting that parameter twice.
4517
4518 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4519
4520 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4521 keyword, too.
4522
4523 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4524
4525 * newcomment.el (comment-use-global-state): Change default value
4526 to t, mark obsolete (Bug#15251).
4527 (comment-beginning): In addition to `comment-to-syntax', check the
4528 value of `comment-use-global-state'.
4529
4530 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4531
4532 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4533 (ruby-comment-column): Follow the global default, by default.
4534 (ruby-smie-grammar): Add assignment syntax.
4535 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4536 open-paren, a comma, or a \.
4537 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4538 and line continuations.
4539 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4540 followed by implicit semi-colons. Add rule for string concatenation
4541 and for indentation at BOB.
4542 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4543
4544 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4545 calling next-sexp, since next-token may have skipped chars which
4546 next-sexp doesn't know should be skipped!
4547
4548 2013-10-05 Leo Liu <sdl.web@gmail.com>
4549
4550 * progmodes/octave.el (octave-send-region):
4551 Call compilation-forget-errors.
4552
4553 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4554
4555 * vc/vc-svn.el (vc-svn-find-admin-dir):
4556 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4557 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4558 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4559 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4560
4561 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4564
4565 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4566
4567 * subr.el (read-passwd): Hide chars even when called within a context
4568 where after-change-functions is disabled (bug#15501).
4569 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4570 until we removed ourself from overriding-terminal-local-map.
4571
4572 2013-10-04 Leo Liu <sdl.web@gmail.com>
4573
4574 * progmodes/octave.el (inferior-octave-mode):
4575 Call compilation-forget-errors.
4576
4577 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4578
4579 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4580
4581 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4582
4583 * net/secrets.el (secrets-create-collection): Add optional
4584 argument ALIAS. Use proper Label keyword. Append ALIAS as
4585 dbus-call-method argument. (Bug#15516)
4586
4587 2013-10-04 Leo Liu <sdl.web@gmail.com>
4588
4589 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4590 (inferior-octave-compilation-font-lock-keywords): New variables.
4591 (compilation-error-regexp-alist)
4592 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4593 (inferior-octave-mode): Use compilation-shell-minor-mode.
4594
4595 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4596
4597 * minibuffer.el (completion--replace): Be careful that `end' might be
4598 a marker.
4599
4600 2013-10-03 Daiki Ueno <ueno@gnu.org>
4601
4602 Add support for package signature checking.
4603 * emacs-lisp/package.el (url-http-file-exists-p)
4604 (epg-make-context, epg-context-set-home-directory)
4605 (epg-verify-string, epg-context-result-for)
4606 (epg-signature-status, epg-signature-to-string)
4607 (epg-check-configuration, epg-configuration)
4608 (epg-import-keys-from-file): Declare.
4609 (package-check-signature): New user option.
4610 (package-unsigned-archives): New user option.
4611 (package-desc): Add `signed' field.
4612 (package-load-descriptor): Set `signed' field if .signed file exists.
4613 (package--archive-file-exists-p): New function.
4614 (package--check-signature): New function.
4615 (package-install-from-archive): Check package signature.
4616 (package--download-one-archive): Check archive signature.
4617 (package-delete): Remove .signed file.
4618 (package-import-keyring): New command.
4619 (package-refresh-contents): Import default keyring.
4620 (package-desc-status): Add "unsigned" status.
4621 (describe-package-1, package-menu--print-info)
4622 (package-menu-mark-delete, package-menu--find-upgrades)
4623 (package-menu--status-predicate): Support "unsigned" status.
4624
4625 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4628 the new compilation scheme using the new byte-codes.
4629
4630 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4631 (byte-pophandler): New byte codes.
4632 (byte-goto-ops): Adjust accordingly.
4633 (byte-compile--use-old-handlers): New var.
4634 (byte-compile-catch): Use new byte codes depending on
4635 byte-compile--use-old-handlers.
4636 (byte-compile-condition-case--old): Rename from
4637 byte-compile-condition-case.
4638 (byte-compile-condition-case--new): New function.
4639 (byte-compile-condition-case): New function that dispatches depending
4640 on byte-compile--use-old-handlers.
4641 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4642 when we can.
4643
4644 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4645 Optimize under `condition-case' and `catch' if
4646 byte-compile--use-old-handlers is nil.
4647 (disassemble-offset): Handle new bytecodes.
4648
4649 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * subr.el (error): Use `declare'.
4652 (decode-char, encode-char): Use advertised-calling-convention instead
4653 of the docstring to discourage use of the `restriction' arg.
4654
4655 2013-10-03 Daiki Ueno <ueno@gnu.org>
4656
4657 * epg.el (epg-verify-file): Add a comment saying that it does not
4658 notify verification error as a return value nor a signal.
4659 (epg-verify-string): Ditto.
4660
4661 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4662
4663 * progmodes/compile.el (compilation-start): Try globbing the arg to
4664 `cd' (bug#15417).
4665
4666 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4667
4668 Sync with Tramp 2.2.8.
4669
4670 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4671 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4672 * net/trampver.el: Update release number.
4673
4674 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4675
4676 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4677 and default-process-coding-system for darwin only.
4678
4679 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4682
4683 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4684
4685 * vc/vc-git.el (vc-git-grep): Disable pager.
4686
4687 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4688
4689 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4690 Use :url instead of :homepage, as per
4691 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4692
4693 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4694 non-nil, use `syntax-ppss' (Bug#15251).
4695
4696 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4697
4698 * progmodes/octave.el (inferior-octave-startup-file):
4699 Prefer ~/.emacs.d/init_octave.m.
4700
4701 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4702
4703 * emacs-lisp/package.el (package-desc-from-define):
4704 Accept additional arguments as plist, convert them to an alist and store
4705 them in the `extras' slot.
4706 (package-generate-description-file): Convert extras alist back to
4707 plist and append to the `define-package' form arguments.
4708 (package--alist-to-plist): New function.
4709 (package--ac-desc): Add `extras' slot.
4710 (package--add-to-archive-contents): Check if the archive-contents
4711 vector is long enough, and if it is, pass its `extras' slot value
4712 to `package-desc-create'.
4713 (package-buffer-info): Call `lm-homepage', pass the returned value
4714 to `package-desc-from-define'.
4715 (describe-package-1): Render the homepage button (Bug#13291).
4716
4717 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4718 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4719
4720 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4721
4722 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4723 and default-process-coding-system to utf-8-unix (Bug#15402).
4724
4725 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4726
4727 * subr.el (looking-back): Do not recommend using looking-back.
4728
4729 2013-09-28 Alan Mackenzie <acm@muc.de>
4730
4731 Fix indentation/fontification of Java enum with "implements".
4732
4733 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4734 regexp which matches "implements", etc., in Java.
4735 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4736 specifier clauses coming after "enum".
4737 * progmodes/cc-fonts.el (c-font-lock-declarations)
4738 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4739 after "enum".
4740
4741 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4742
4743 * faces.el (region): Change ns_selection_color to
4744 ns_selection_fg_color, add ns_selection_bg_color.
4745
4746 2013-09-28 Leo Liu <sdl.web@gmail.com>
4747
4748 * progmodes/octave.el (inferior-octave-completion-table)
4749 (inferior-octave-completion-at-point): Minor tweaks.
4750
4751 * textmodes/ispell.el (ispell-lookup-words): Rename from
4752 lookup-words. (Bug#15460)
4753 (lookup-words): Obsolete.
4754 (ispell-complete-word, ispell-command-loop): All uses changed.
4755
4756 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4757
4758 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4759 (octave-mode-menu): Add octave-send-buffer.
4760 (octave-send-buffer): New function.
4761
4762 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4763
4764 * progmodes/octave.el (octave-mode-map): Add key binding for
4765 octave-lookfor.
4766 (octave-mode-menu): Add octave-lookfor.
4767 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4768 octave-lookfor.
4769 (octave-lookfor): New function.
4770
4771 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * emacs-lisp/cl-macs.el:
4774 (cl--loop-destr-temps): Remove.
4775 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4776 its convention.
4777 (cl--loop-set-iterator-function): New function.
4778 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4779 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4780 Bind `it' with `let' instead of substituting it with `cl-subst'.
4781 (cl--unused-var-p): New function.
4782 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4783 Eliminate some unused variable warnings (bug#15326).
4784
4785 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4786
4787 * doc-view.el (doc-view-scale-reset): Rename from
4788 `doc-view-reset-zoom-level'.
4789 (doc-view-scale-adjust): New command.
4790 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4791 `doc-view-scale-adjust'.
4792
4793 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4794
4795 * doc-view.el (doc-view-reset-zoom-level): New command.
4796 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4797 zoom commands (bug#15466).
4798
4799 2013-09-26 Kenichi Handa <handa@gnu.org>
4800
4801 * international/quail.el (quail-help): Make it not a command.
4802
4803 2013-09-26 Leo Liu <sdl.web@gmail.com>
4804
4805 * minibuffer.el (completion-all-sorted-completions): Make args
4806 optional as they are.
4807
4808 2013-09-25 Daniel Colascione <dancol@dancol.org>
4809
4810 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4811 specs are and that they're not evaluated.
4812
4813 2013-09-24 Sam Steingold <sds@gnu.org>
4814
4815 * midnight.el (clean-buffer-list-kill-regexps)
4816 (clean-buffer-list-kill-buffer-names): Update for the new Man
4817 buffer naming which includes the object name.
4818
4819 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4822 (eshell-parse-command, eshell-parse-pipeline): Use it since
4823 eshell-separate-commands requires a dynamic scoped var.
4824 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4825
4826 2013-09-23 Leo Liu <sdl.web@gmail.com>
4827
4828 * autoinsert.el (auto-insert-alist): Make the value of
4829 lexical-binding match its file setting.
4830
4831 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4832
4833 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4834
4835 * autoarg.el (autoarg-kp-digit-argument):
4836 * electric.el (Electric-command-loop):
4837 * kmacro.el (kmacro-step-edit-insert):
4838 Do not set universal-argument-num-events.
4839
4840 2013-09-22 Leo Liu <sdl.web@gmail.com>
4841
4842 * files.el (interpreter-mode-alist): Add octave.
4843
4844 2013-09-21 Alan Mackenzie <acm@muc.de>
4845
4846 C++: fontify identifier in declaration following "public:" correctly.
4847 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4848 to match "public", etc.
4849 (c-decl-prefix-re): Add ":" into the C++ value.
4850 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4851 bit. Add a check for a ":" preceded by "public", etc.
4852
4853 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4854
4855 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4856 recognized by GDB 7.5 and later.
4857
4858 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4859
4860 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4861
4862 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * subr.el (internal--call-interactively): New const.
4865 (called-interactively-p): Use it (bug#3984).
4866
4867 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4868
4869 * vc/pcvs.el (cvs-mode-ignore):
4870 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4871 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4872
4873 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4876 (eshell-ls-orig-insert-directory): Remove.
4877 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4878 (eshell-ls-use-in-dired): Use advice-add/remove.
4879 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4880 Add `orig-fun' arg for use in :around advice.
4881 Make it check (redundantly) eshell-ls-use-in-dired.
4882
4883 2013-09-19 Glenn Morris <rgm@gnu.org>
4884
4885 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4886
4887 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4888
4889 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4890
4891 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4892
4893 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4894 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4895 (tramp-get-remote-python): New defuns.
4896 (tramp-get-remote-uid-with-perl)
4897 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4898 contributed by yary <not.com@gmail.com> (tiny change).
4899 (tramp-get-remote-uid-with-python)
4900 (tramp-get-remote-gid-with-python): New defuns. Python code
4901 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4902 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4903
4904 2013-09-19 Glenn Morris <rgm@gnu.org>
4905
4906 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4907
4908 * eshell/em-unix.el (eshell-remove-entries):
4909 Rename argument to avoid name-clash with global `top-level'.
4910
4911 * eshell/esh-proc.el (eshell-kill-process-function):
4912 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4913 (eshell-reset-after-proc): Remove unused arg `proc'.
4914
4915 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4916 (directory-files-and-attributes): Mark unused arg.
4917
4918 * eshell/em-unix.el (eshell-remove-entries):
4919 Remove unused arg `path'. Update callers.
4920
4921 * eshell/em-hist.el (eshell-hist-parse-arguments):
4922 Remove unused arg `silent'. Update callers.
4923
4924 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4925 Fix (f)boundp mix-up.
4926
4927 * eshell/em-smart.el (eshell-smart-scroll-window)
4928 (eshell-disable-after-change):
4929 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4930
4931 2013-09-18 Alan Mackenzie <acm@muc.de>
4932
4933 Fix fontification of type when followed by "const".
4934 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4935 "known" types from fontification.
4936
4937 2013-09-18 Glenn Morris <rgm@gnu.org>
4938
4939 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4940 (chart-face-list): Drop Emacsen without display-color-p.
4941
4942 * net/eww.el (libxml-parse-html-region): Declare.
4943 (eww-display-html): Explicit error if no libxml2 support.
4944
4945 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4946
4947 * image.el (image-type-from-buffer, image-multi-frame-p):
4948 Remove --without-x warning/error.
4949
4950 * mouse.el (mouse-yank-primary):
4951 * term.el (term-mouse-paste):
4952 Reorder to silence --without-x compilation.
4953
4954 * mpc.el (doc-view-mode): Silence --without-x compilation.
4955
4956 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4957 Silence --without-x compilation.
4958
4959 * progmodes/gud.el (gud-find-file, gud-mode):
4960 Silence --without-x compilation.
4961 (tooltip-mode): Declare.
4962
4963 * wdired.el (dired-backup-overwrite): Remove declaration.
4964 (wdired-mode-map): Add doc string.
4965
4966 * custom.el (x-get-resource): Declare.
4967
4968 * eshell/em-glob.el (ange-cache):
4969 * eshell/em-unix.el (ange-cache): Declare.
4970
4971 * faces.el (x-display-list, x-open-connection, x-get-resource):
4972 Declare.
4973
4974 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4975 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4976 Declare.
4977
4978 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4979
4980 * net/gnutls.el (gnutls-log-level): Declare.
4981
4982 * net/shr.el (image-size, image-animate): Declare.
4983
4984 * simple.el (font-info): Declare.
4985
4986 * subr.el (x-popup-dialog): Declare.
4987
4988 * term/common-win.el (x-select-enable-primary)
4989 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4990 Declare.
4991
4992 * term/ns-win.el (x-handle-args): Declare.
4993
4994 * term/x-win.el (x-select-enable-clipboard): Declare.
4995
4996 * term/w32-win.el (create-default-fontset): Declare.
4997
4998 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4999 Declare.
5000
5001 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5002 (fit-frame-to-buffer): Explicit error if --without-x.
5003 (mouse-autoselect-window-select): Silence compiler.
5004
5005 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5006
5007 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5008 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5009 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5010 * eshell/esh-util.el (eshell-sublist):
5011 Remove unused local variables.
5012
5013 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5014
5015 * textmodes/two-column.el: Make 2C-split work for --without-x.
5016 (scroll-bar-columns): Autoload.
5017 (top-level): Require fringe when compiling.
5018
5019 2013-09-18 Leo Liu <sdl.web@gmail.com>
5020
5021 * subr.el (add-hook): Robustify to handle closure as well.
5022
5023 2013-09-17 Glenn Morris <rgm@gnu.org>
5024
5025 * simple.el (messages-buffer-mode-map): Unbind "g".
5026
5027 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5028
5029 * help-mode.el (help-mode-finish): Use derived-mode-p.
5030 Remove obsolete highlighting.
5031
5032 * play/life.el (life-mode): Use define-derived-mode. Derive from
5033 special-mode.
5034 (life): Let-bind inhibit-read-only.
5035 (life-setup): Avoid `setq'. Use `life-mode'.
5036
5037 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5038 which should not be needed any more.
5039 (package-menu-refresh, package-menu-describe-package): Use user-error.
5040
5041 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5042 (eshell-post-rewrite-command-hook): Make obsolete.
5043 (eshell-parse-command): Simplify.
5044 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5045 (eshell--cmd): Declare.
5046 (eshell-parse-pipeline): Remove unused var `final-p'.
5047 Pass a dynvar to eshell-post-rewrite-command-hook.
5048 Implement the new eshell-post-rewrite-command-function.
5049 (eshell-invoke-directly): Remove unused arg `input'.
5050 * eshell/esh-io.el (eshell-io-initialize):
5051 Use eshell-post-rewrite-command-function (bug#15399).
5052 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5053 adjust to new calling convention.
5054 (eshell-create-handles): Rename args to avoid clashing with dynvar
5055 `standard-output'.
5056
5057 2013-09-17 Glenn Morris <rgm@gnu.org>
5058
5059 * simple.el (messages-buffer-mode): New major mode.
5060 (messages-buffer): New function.
5061 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5062 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5063 (ert-run-test): Use `messages-buffer' function.
5064 (ert--force-message-log-buffer-truncation): Ignore read-only.
5065 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5066 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5067
5068 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5071
5072 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5073
5074 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5075
5076 * icomplete.el (icomplete-in-buffer): New var.
5077 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5078 vars and replace them with functions.
5079 (icomplete-minibuffer-setup): Adjust accordingly.
5080 (icomplete--completion-table, icomplete--completion-predicate)
5081 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5082 New functions.
5083 (icomplete-forward-completions, icomplete-backward-completions)
5084 (icomplete-simple-completing-p, icomplete-exhibit)
5085 (icomplete-completions): Use them.
5086 (icomplete--in-region-buffer): New var.
5087 (icomplete--in-region-setup): New function.
5088 (icomplete-mode): Use it.
5089
5090 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5091 (bug#15379).
5092 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5093 return args and options.
5094 (eshell-eval-using-options): Use the new return value of
5095 eshell--do-opts to set the options's vars in their scope.
5096 (eshell--set-option): Rename from eshell-set-option.
5097 Add arg `opt-vals'.
5098 (eshell--process-option): Rename from eshell-process-option.
5099 Add arg `opt-vals'.
5100 (eshell--process-args): Use an `opt-vals' alist to store the options's
5101 values during their processing and return them additionally to the
5102 remaining args.
5103
5104 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5105
5106 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5107 continuation character an operator, as far as indentation is
5108 concerned (Bug#15369).
5109
5110 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5111
5112 * window.el (window--state-put-2): Don't process buffer state
5113 when buffer doesn't exist any more (Bug#15382).
5114
5115 2013-09-15 Glenn Morris <rgm@gnu.org>
5116
5117 * eshell/em-unix.el (eshell/rm):
5118 Make -f ignore missing files. (Bug#15373)
5119
5120 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5121 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5122 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5123
5124 2013-09-14 Glenn Morris <rgm@gnu.org>
5125
5126 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5127
5128 2013-09-13 Glenn Morris <rgm@gnu.org>
5129
5130 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5131 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5132
5133 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5134
5135 * frame.el (x-focus-frame): Mark as declared in frame.c.
5136
5137 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * ls-lisp.el: Use advice-add.
5140 (original-insert-directory): Remove.
5141 (ls-lisp--insert-directory): Rename from insert-directory; add
5142 `orig-fun' argument.
5143 (insert-directory): Advise.
5144
5145 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5146
5147 * term.el (term-emulate-terminal): Decode the command string
5148 before passing it to term-command-hook. (Bug#15337)
5149
5150 2013-09-13 Glenn Morris <rgm@gnu.org>
5151
5152 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5153
5154 * eshell/esh-ext.el (eshell-search-path): Declare.
5155
5156 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5157 Otherwise an error occurs if eshell-dirs module not loaded.
5158
5159 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5160
5161 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5162
5163 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5164 `tramp-check-proper-host'. Check for a valid method name.
5165
5166 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5168 * net/tramp-sh.el (tramp-maybe-open-connection):
5169 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5170
5171 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5172 also for hash values.
5173
5174 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 * term/ns-win.el (parameters): Don't declare as dynamic.
5177 (before-make-frame-hook): Don't add ineffective function.
5178
5179 * eshell/*.el: Use lexical-binding (bug#15231).
5180
5181 2013-09-12 Kenichi Handa <handa@gnu.org>
5182
5183 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5184
5185 2013-09-12 Glenn Morris <rgm@gnu.org>
5186
5187 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5188 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5189
5190 * subr.el (do-after-load-evaluation): Also give compiler warnings
5191 when obsolete files are used (except by obsolete files).
5192
5193 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5194 in the status output, assume `filename' is the first. (Bug#15322)
5195
5196 * vc/vc.el (vc-deduce-fileset): Doc fix.
5197
5198 * calc/calc-help.el (Info-goto-node):
5199 * progmodes/cperl-mode.el (Info-find-node):
5200 * vc/ediff.el (Info-goto-node): Update declarations.
5201
5202 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5203
5204 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5205 (vc-bzr-pull): Require vc-dispatcher.
5206 * vc/vc-git.el (vc-compilation-mode): Declare.
5207 (vc-git-pull): Require vc-dispatcher.
5208
5209 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5210
5211 * progmodes/octave.el (help-button-action): Declare.
5212
5213 * shell.el (shell-directory-tracker): Output error as a message
5214 rather than just returning it as a string.
5215 (shell-process-pushd): Remove useless use of message.
5216
5217 * dframe.el (dframe-timer-fn):
5218 * files.el (dir-locals-read-from-file):
5219 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5220 (mpc-format):
5221 * reveal.el (reveal-post-command):
5222 * saveplace.el (load-save-place-alist-from-file):
5223 * shell.el (shell-resync-dirs):
5224 * w32-common-fns.el (x-get-selection-value):
5225 * emacs-lisp/copyright.el (copyright-find-copyright):
5226 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5227 * emulation/tpu-edt.el (tpu-copy-keyfile):
5228 * play/bubbles.el (bubbles--mark-neighbourhood):
5229 * progmodes/executable.el
5230 (executable-make-buffer-file-executable-if-script-p):
5231 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5232
5233 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 Cleanup Eshell to rely less on dynamic scoping.
5236 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5237 last-value, and ext-command here. Bind `args' closer to `body'.
5238 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5239 (eshell--args): Declare new dynamic var.
5240 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5241 last-value, and ext-command. Pass `args' to `body'.
5242 (eshell-process-args): Bind eshell--args.
5243 (eshell-set-option): Use eshell--args.
5244 * eshell/eshell.el (eshell): Use derived-mode-p.
5245 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5246 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5247 (eshell-glob-function): Declare.
5248 * eshell/esh-util.el: Require cl-lib.
5249 (eshell-read-hosts-file): Avoid add-to-list.
5250 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5251 `err'.
5252 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5253 Declare.
5254 (eshell/diff): Remove unused var `err'.
5255 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5256 `killflag'.
5257 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5258 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5259 first use.
5260 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5261 Move declaration before first use.
5262 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5263 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5264 rely on cl-return.
5265
5266 2013-09-12 Glenn Morris <rgm@gnu.org>
5267
5268 * term/ns-win.el (global-map): Remove binding for ispell-next,
5269 deleted 1999-05-29. (Bug#15357)
5270
5271 2013-09-11 Glenn Morris <rgm@gnu.org>
5272
5273 * echistory.el (electric-command-history): Remove call to deleted func.
5274
5275 * play/landmark.el (landmark-mode): Fix typos.
5276
5277 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5278 Check cvs-sort-ignore-file is bound.
5279
5280 * savehist.el: No need for cl when compiling on Emacs.
5281
5282 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5283
5284 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5285 (bug#15338).
5286 (eshell-self-insert-command, eshell-send-invisible):
5287 Remove unused argument.
5288 (eshell-handle-control-codes): Remove unused var `orig'.
5289 Avoid delete-backward-char.
5290
5291 * files.el (set-auto-mode): Simplify a bit further.
5292
5293 2013-09-11 Glenn Morris <rgm@gnu.org>
5294
5295 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5296 (set-auto-mode): Don't regexp-quote elements.
5297 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5298 * progmodes/cc-mode.el (interpreter-mode-alist):
5299 * progmodes/ruby-mode.el (interpreter-mode-alist):
5300 Revert previous change.
5301
5302 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * play/snake.el (snake-mode):
5305 * play/mpuz.el (mpuz-mode):
5306 * play/landmark.el (lm-mode):
5307 * play/blackbox.el (blackbox-mode):
5308 * play/5x5.el (5x5-mode):
5309 * obsolete/options.el (Edit-options-mode):
5310 * net/quickurl.el (quickurl-list-mode):
5311 * net/newst-treeview.el (newsticker-treeview-mode):
5312 * mail/rmailsum.el (rmail-summary-mode):
5313 * mail/mspools.el (mspools-mode):
5314 * locate.el (locate-mode):
5315 * ibuffer.el (ibuffer-mode):
5316 * emulation/ws-mode.el (wordstar-mode):
5317 * emacs-lisp/debug.el (debugger-mode):
5318 * array.el (array-mode):
5319 * net/eudc.el (eudc-mode): Use define-derived-mode.
5320 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5321 Move initialization into declaration.
5322 (mairix-searches-mode): Use define-derived-mode.
5323 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5324 (eudc-edit-hotlist): Use dolist.
5325 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5326 (Man-mode): Use define-derived-mode.
5327 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5328 (Info-edit-mode): Use define-derived-mode.
5329 (Info-cease-edit): Use Info-mode.
5330 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5331 into declaration.
5332 (eshell-mode): Use define-derived-mode.
5333 * chistory.el (command-history-mode-map): Rename from
5334 command-history-map.
5335 (command-history-mode): Use define-derived-mode.
5336 (Command-history-setup): Remove function.
5337 * calc/calc.el (calc-trail-mode-map): New var.
5338 (calc-trail-mode): Use define-derived-mode.
5339 (calc-trail-buffer): Set calc-main-buffer manually.
5340 * bookmark.el (bookmark-insert-annotation): New function.
5341 (bookmark-edit-annotation): Use it.
5342 (bookmark-edit-annotation-mode): Make it a proper major mode.
5343 (bookmark-send-edited-annotation): Use derived-mode-p.
5344 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5345 closer to its ideal place. Use \' to match EOS.
5346
5347 * profiler.el (profiler-calltree-find): Use function-equal.
5348
5349 2013-09-10 Glenn Morris <rgm@gnu.org>
5350
5351 * files.el (interpreter-mode-alist): Convert to regexps.
5352 (set-auto-mode): Adapt for this. (Bug#15306)
5353 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5354 Comment out unused variable.
5355 * progmodes/cc-mode.el (interpreter-mode-alist):
5356 * progmodes/python.el (interpreter-mode-alist):
5357 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5358 * progmodes/sh-script.el (sh-set-shell):
5359 No longer use interpreter-mode-alist to get list of shells.
5360
5361 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5362
5363 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * simple.el: Use set-temporary-overlay-map for universal-argument.
5366 (universal-argument-map): Don't use default-bindings (bug#15317).
5367 Bind switch-frame explicitly. Replace universal-argument-minus with
5368 a conditional binding.
5369 (universal-argument-num-events, saved-overriding-map): Remove.
5370 (restore-overriding-map): Remove.
5371 (universal-argument--mode): Rename from save&set-overriding-map,
5372 and rewrite.
5373 (universal-argument, universal-argument-more, negative-argument)
5374 (digit-argument): Adjust accordingly.
5375 (universal-argument-minus): Remove.
5376 (universal-argument-other-key): Remove.
5377
5378 * subr.el (with-demoted-errors): Add `format' argument.
5379
5380 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5381
5382 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5383 `tramp-cleanup-connection'.
5384
5385 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5386 parameters KEEP-DEBUG and KEEP-PASSWORD.
5387
5388 * net/tramp.el (tramp-file-name-handler):
5389 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5390 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5391 (tramp-maybe-open-connection):
5392 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5393 Use `tramp-cleanup-connection'.
5394
5395 * net/tramp-sh.el (tramp-maybe-open-connection):
5396 Catch 'uname-changed inside the progress reporter.
5397
5398 2013-09-10 Glenn Morris <rgm@gnu.org>
5399
5400 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5401
5402 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5403 returns "alternate access method" in mode (eg "-rw-r--r--.").
5404
5405 2013-09-08 Glenn Morris <rgm@gnu.org>
5406
5407 * saveplace.el (load-save-place-alist-from-file):
5408 Demote errors. (Bug#15305)
5409
5410 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5411
5412 Improve compatibility with older Emacsen, and XEmacs.
5413
5414 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5415 only if it is bound. It isn't for XEmacs.
5416 (with-tramp-progress-reporter): Do not let-bind `result'.
5417 This yields to scoping errors in XEmacs.
5418 (tramp-handle-make-auto-save-file-name): New function, moved from
5419 tramp-sh.el.
5420
5421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5422 for `make-auto-save-file-name'.
5423 (tramp-adb--gnu-switches-to-ash):
5424 Use `tramp-compat-replace-regexp-in-string'.
5425
5426 * net/tramp-cache.el (tramp-cache-print): Call
5427 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5428
5429 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5430 bound. It isn't for XEmacs.
5431
5432 * net/tramp-compat.el (tramp-compat-copy-file):
5433 Catch `wrong-number-of-arguments' error.
5434 (tramp-compat-replace-regexp-in-string): New defun.
5435
5436 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5437 for `make-auto-save-file-name'.
5438 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5439 `copy-file'.
5440 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5441 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5442 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5443
5444 * net/tramp-gw.el (tramp-gw-open-network-stream):
5445 Use `tramp-compat-replace-regexp-in-string'.
5446
5447 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5448 Call `tramp-handle-make-auto-save-file-name'.
5449 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5450 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5451 (tramp-sh-file-inotifywait-process-filter):
5452 Use `tramp-compat-replace-regexp-in-string'.
5453 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5454
5455 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5456 for `make-auto-save-file-name'.
5457 (tramp-smb-handle-copy-directory):
5458 Call `tramp-compat-replace-regexp-in-string'.
5459 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5460 (tramp-smb-handle-copy-file): Improve error message.
5461 (tramp-smb-handle-rename-file): Rename directly only in case
5462 `newname' does not exist yet. This is a restriction of smbclient.
5463 (tramp-smb-maybe-open-connection): Rerun the function only when
5464 `auth-sources' is non-nil.
5465
5466 2013-09-08 Kenichi Handa <handa@gnu.org>
5467
5468 * international/characters.el: Set category "^" (Combining) for
5469 more characters.
5470
5471 2013-09-07 Alan Mackenzie <acm@muc.de>
5472
5473 Correctly fontify Java class constructors.
5474 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5475 in Java Mode.
5476 (c-recognize-typeless-decls): Set the Java value to t.
5477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5478 While handling a "(", add a check for, effectively, Java, and handle a
5479 "typeless" declaration there.
5480
5481 2013-09-07 Roland Winkler <winkler@gnu.org>
5482
5483 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5484 field subtitle for entry type book.
5485
5486 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * minibuffer.el: Make minibuffer-complete call completion-in-region
5489 rather than other way around.
5490 (completion--some, completion-pcm--find-all-completions):
5491 Don't delay signals when debugging.
5492 (minibuffer-completion-contents): Beware fields within the
5493 minibuffer contents.
5494 (completion-all-sorted-completions): Use defvar-local.
5495 (completion--do-completion, completion--cache-all-sorted-completions)
5496 (completion-all-sorted-completions, minibuffer-force-complete):
5497 Add args `beg' and `end'.
5498 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5499 (minibuffer-complete): Use completion-in-region.
5500 (completion-complete-and-exit): New fun, extracted from
5501 minibuffer-complete-and-exit.
5502 (minibuffer-complete-and-exit): Use it.
5503 (completion--complete-and-exit): Rename from
5504 minibuffer--complete-and-exit.
5505 (completion-in-region--single-word): New function, extracted from
5506 minibuffer-complete-word.
5507 (minibuffer-complete-word): Use it.
5508 (display-completion-list): Make `common-substring' argument obsolete.
5509 (completion--in-region): Call completion--in-region-1 instead of
5510 minibuffer-complete.
5511 (completion-help-at-point): Pass boundaries to
5512 minibuffer-completion-help as args rather than via an overlay.
5513 (completion-pcm--string->pattern): Use `any-delim'.
5514 (completion-pcm--optimize-pattern): New function.
5515 (completion-pcm--pattern->regex): Handle `any-delim'.
5516 * icomplete.el (icomplete-forward-completions)
5517 (icomplete-backward-completions, icomplete-completions):
5518 Adjust calls to completion-all-sorted-completions and
5519 completion--cache-all-sorted-completions.
5520 (icomplete-with-completion-tables): Default to t.
5521 * emacs-lisp/crm.el (crm--current-element): Rename from
5522 crm--select-current-element. Don't put an overlay but return the
5523 boundaries instead.
5524 (crm--completion-command): Take two new args to bind to the boundaries.
5525 (crm-completion-help): Adjust accordingly.
5526 (crm-complete): Use completion-in-region.
5527 (crm-complete-word): Use completion-in-region--single-word.
5528 (crm-complete-and-exit): Use completion-complete-and-exit.
5529
5530 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5533 than dynamically.
5534
5535 2013-09-06 Juri Linkov <juri@jurta.org>
5536
5537 * info.el (Info-display-images-node): When image file doesn't exist
5538 display text version of the image if it's provided in the Info file.
5539 Otherwise, display the location of missing image from SRC attribute.
5540 Add help-echo text property from ALT attribute. (Bug#15279)
5541
5542 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5545 (edit-abbrevs-mode): Use define-derived-mode.
5546
5547 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5548 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5549 that it's defined.
5550 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5551 Use define-derived-mode.
5552
5553 * epg.el (epg-start-encrypt): Minor CSE simplification.
5554
5555 2013-09-06 William Xu <william.xwl@gmail.com>
5556
5557 * arc-mode.el: Add support for 7za (bug#15264).
5558 (archive-7z-program): New var.
5559 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5560 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5561 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5562
5563 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5564
5565 Remove URL syntax.
5566
5567 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5568 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5569 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5570 (tramp-postfix-host-format, tramp-file-name-regexp)
5571 (tramp-completion-file-name-regexp)
5572 (tramp-completion-dissect-file-name)
5573 (tramp-handle-substitute-in-file-name): Remove 'url case.
5574 (tramp-file-name-regexp-url)
5575 (tramp-completion-file-name-regexp-url): Remove constants.
5576
5577 2013-09-06 Glenn Morris <rgm@gnu.org>
5578
5579 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5580
5581 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5582
5583 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5584 keywords" below "here-doc beginnings" (Bug#15270).
5585
5586 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * subr.el (pop): Use `car-safe'.
5589 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5590 to detect unused `pop' return value.
5591
5592 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5593 var `block-regexp'.
5594 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5595 (python-fill-string): Remove unused var `marker'.
5596 (python-skeleton-add-menu-items): Remove unused var `items'.
5597
5598 * international/mule-cmds.el: Require CL.
5599 (find-coding-systems-for-charsets): Avoid add-to-list.
5600 (sanitize-coding-system-list): New function, extracted from
5601 select-safe-coding-system-interactively.
5602 (select-safe-coding-system-interactively): Use it.
5603 (read-input-method-name): Accept symbols for `default'.
5604
5605 * emacs-lisp/advice.el (defadvice): Add indent rule.
5606
5607 2013-09-05 Daniel Hackney <dan@haxney.org>
5608
5609 * dired-x.el:
5610 * net/ange-ftp.el:
5611 * net/browse-url.el:
5612 * net/dbus.el:
5613 * net/eudc.el:
5614 * net/eudcb-ldap.el:
5615 * net/eww.el:
5616 * net/imap.el:
5617 * printing.el:
5618 * vc/ediff-diff.el:
5619 * vc/ediff-init.el:
5620 * vc/ediff-merg.el:
5621 * vc/ediff-mult.el:
5622 * vc/ediff-util.el:
5623 * vc/ediff-wind.el:
5624 * vc/ediff.el:
5625 * vc/emerge.el:
5626 * vc/pcvs.el:
5627 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5628 byte compiler. Remove some unused let-bound variables.
5629
5630 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5633 a "ref-cell", since it gets better optimized (bug#14883).
5634
5635 2013-09-05 Glenn Morris <rgm@gnu.org>
5636
5637 * progmodes/cc-awk.el (c-forward-sws): Declare.
5638
5639 2013-09-04 Glenn Morris <rgm@gnu.org>
5640
5641 * generic-x.el [rul-generic-mode]: Require cc-mode.
5642 (c++-mode-syntax-table): Declare.
5643 (rul-generic-mode-syntax-table): Init in the defvar.
5644
5645 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5648 (vc-do-command, vc-set-async-update):
5649 * vc/vc-mtn.el (vc-mtn-dir-status):
5650 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5651 (vc-hg-pull, vc-hg-merge-branch):
5652 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5653 (vc-git-merge-branch):
5654 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5655 (vc-cvs-dir-status-files):
5656 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5657 (vc-bzr-dir-status-files):
5658 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5659 * vc/vc-annotate.el: Use lexical-binding.
5660 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5661 (vc-sentinel-movepoint): Declare.
5662 (vc-annotate): Don't use `goto-line'.
5663 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5664 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5665 (vc-sentinel-movepoint): Declare.
5666 * vc/vc-svn.el: Use lexical-binding.
5667 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5668 * vc/vc-sccs.el:
5669 * vc/vc-rcs.el: Use lexical-binding.
5670
5671 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5672 `deleted'. Don't drop errors silently.
5673
5674 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5675
5676 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5677
5678 * vc/vc.el (vc-ignore): Rewrite.
5679 (vc-default-ignore): New function.
5680 (vc-default-ignore-completion-table): Use find-ignore-file.
5681
5682 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5683 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5684 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5685 Remove. Most code moved to vc.el.
5686
5687 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5688
5689 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5690 * net/tramp-smb.el (tramp-smb-get-file-entries):
5691 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5692 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5693
5694 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5695 Update call to it.
5696 (eww-change-select): Remove unused var `properties'.
5697 (eww-make-unique-file-name): Remove unused var `base'.
5698
5699 * finder.el (finder-compile-keywords): Don't mess with windows.
5700
5701 * calculator.el (calculator-funcall): Fix typo in last change.
5702
5703 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5704
5705 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5706 <pkg>-autoloads.el file stop us.
5707
5708 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5709 warnings, and factor out common code.
5710
5711 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5712
5713 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5714 two-character operators and whether the character preceding them
5715 changes their meaning (Bug#15208).
5716
5717 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5718
5719 Format code sent to Python shell for robustness.
5720 * progmodes/python.el (python-shell-buffer-substring):
5721 New function.
5722 (python-shell-send-region, python-shell-send-buffer): Use it.
5723
5724 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5725
5726 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5727 * net/tramp.el (tramp-user-error): ... here.
5728 (tramp-find-method, tramp-check-proper-host)
5729 (tramp-dissect-file-name, tramp-debug-message)
5730 (tramp-handle-shell-command):
5731 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5732 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5733
5734 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5735
5736 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5737
5738 * avoid.el (mouse-avoidance-point-position)
5739 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5740 returns nil.
5741
5742 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5743
5744 * progmodes/python.el (python-shell-completion-get-completions):
5745 Drop use of deleted `comint-last-prompt-overlay'.
5746 (python-nav-if-name-main): New command.
5747
5748 2013-09-01 Glenn Morris <rgm@gnu.org>
5749
5750 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5751 Avoid leading space in $wins. Otherwise the sed command used by
5752 eg compile-main ends up containing "/*.el". (Bug#15170)
5753
5754 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5755
5756 2013-08-30 Glenn Morris <rgm@gnu.org>
5757
5758 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5759 Fix is-this-a-directory logic. (Bug#15220)
5760
5761 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * textmodes/css-mode.el: Use SMIE.
5764 (css-smie-grammar): New var.
5765 (css-smie--forward-token, css-smie--backward-token)
5766 (css-smie-rules): New functions.
5767 (css-mode): Use them.
5768 (css-navigation-syntax-table): Remove var.
5769 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5770 (css-indent-calculate, css-indent-line): Remove functions.
5771
5772 Misc changes to reduce use of `(lambda...); and other cleanups.
5773 * cus-edit.el: Use lexical-binding.
5774 (customize-push-and-save, customize-apropos)
5775 (custom-buffer-create-internal): Use closures.
5776 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5777 * progmodes/ada-xref.el: Use setq.
5778 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5779 * dframe.el: Use lexical-binding.
5780 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5781 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5782 * descr-text.el: Use lexical-binding.
5783 (describe-text-widget, describe-text-sexp, describe-property-list):
5784 Use closures.
5785 * comint.el (comint-history-isearch-push-state): Use a closure.
5786 * calculator.el: Use lexical-binding.
5787 (calculator-number-to-string): Make it work with lexical-binding.
5788 (calculator-funcall): Same and use cl-letf.
5789
5790 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5791 (lisp--company-doc-string, lisp--company-location): New functions.
5792 (lisp-completion-at-point): Use them to improve Company support.
5793
5794 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5795 params of lambda expressions.
5796 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5797 (ruby-smie--opening-pipe-p): New function.
5798 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5799 symbols and matched |...| for formal params.
5800 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5801 from being treated as hanging. Handle "rescue".
5802
5803 2013-08-29 Glenn Morris <rgm@gnu.org>
5804
5805 * progmodes/cc-engine.el (c-pull-open-brace):
5806 Move definition before use.
5807
5808 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5809
5810 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5811 are immutable. Don't use `unsafe' any more.
5812 (cl--defsubst-expand): Don't substitute at the same time as keeping
5813 a residual unused let-binding. Don't use `unsafe' any more.
5814
5815 2013-08-29 Glenn Morris <rgm@gnu.org>
5816
5817 * calendar/cal-china.el (calendar-chinese-year-cache):
5818 Recenter on 2015.
5819
5820 * nxml/nxml-util.el (nxml-debug-clear-inside):
5821 Use cl-loop rather than loop.
5822
5823 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5824
5825 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5826
5827 2013-08-28 Glenn Morris <rgm@gnu.org>
5828
5829 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5830
5831 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5832
5833 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5834
5835 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * simple.el (repeat-complex-command--called-interactively-skip):
5838 New function.
5839 (repeat-complex-command): Use it (bug#14136).
5840
5841 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5842 (c-define-abbrev-table): Add `doc' argument.
5843 (c-mode-abbrev-table, c++-mode-abbrev-table)
5844 (objc-mode-abbrev-table, java-mode-abbrev-table)
5845 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5846 (awk-mode-abbrev-table): Use it.
5847 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5848 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5849 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5850 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5851 Move initialization into the declaration; and remove any
5852 autoload cookie.
5853
5854 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5855 and dynamic let binding.
5856
5857 * vc/smerge-mode.el: Remove redundant :group args.
5858
5859 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5860 to load-path.
5861
5862 2013-08-28 Juri Linkov <juri@jurta.org>
5863
5864 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5865 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5866 (isearch-other-meta-char): Handle an undefined shifted printing
5867 character by downshifting it. (Bug#15200)
5868
5869 2013-08-28 Juri Linkov <juri@jurta.org>
5870
5871 * isearch.el (isearch-search): Change regexp error message for
5872 non-regexp searches. (Bug#15166)
5873
5874 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5875
5876 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5877 for portability to hosts where /bin/sh has problems.
5878
5879 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5882
5883 2013-08-27 Juri Linkov <juri@jurta.org>
5884
5885 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5886 in the keyboard macro. (Bug#15126)
5887
5888 2013-08-27 Juri Linkov <juri@jurta.org>
5889
5890 * isearch.el (isearch-quote-char): Comment out converting unibyte
5891 to multibyte, thus syncing with its `quoted-insert' counterpart.
5892 (Bug#15166)
5893
5894 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5895
5896 * window.el (display-buffer-use-some-window): Add missing
5897 argument in call of get-largest-window (Bug#15185).
5898 Reported by Stephen Leake.
5899
5900 2013-08-27 Glenn Morris <rgm@gnu.org>
5901
5902 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5903
5904 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5905
5906 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5907 from a matcher-function unless there's no more matches (bug#15161).
5908
5909 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5910
5911 * minibuffer.el: Revert change from 2013-08-20.
5912
5913 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5914 with text property `tramp-default', if appropriate.
5915 (tramp-check-proper-host): New defun.
5916 (tramp-dissect-file-name): Do not check hostname. Revert change
5917 of 2013-03-18.
5918 (tramp-backtrace): Make VEC-OR-PROC optional.
5919
5920 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5921 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5922 * net/tramp-sh.el (tramp-maybe-open-connection):
5923 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5924 Apply `tramp-check-proper-host'.
5925
5926 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5927
5928 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5929 lambda expression in order to have `describe-variable' display it.
5930
5931 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5932
5933 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5934 BUF can be optional. (Bug#15186)
5935
5936 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5937
5938 * progmodes/flymake.el (flymake-get-real-file-name-function):
5939 Fix broken customization. (Bug#15184)
5940
5941 2013-08-25 Alan Mackenzie <acm@muc.de>
5942
5943 Improve indentation of bracelists defined by macros (without "=").
5944
5945 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5946 expansion begins with "{", regard it as bracelist when it doesn't
5947 contain a ";".
5948
5949 Parse C++ inher-intro when there's a template split over 2 lines.
5950
5951 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5952 rigorously the search for "class" etc. followed by ":".
5953
5954 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5955 random languages a regexp which never matches rather than nil.
5956
5957 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5958
5959 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5960 (c-awk-regexp-one-line-possibly-open-char-list-re)
5961 (c-awk-one-line-possibly-open-regexp-re)
5962 (c-awk-one-line-non-syn-ws*-re): Remove.
5963 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5964 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5965 (c-awk-space*-unclosed-regexp-/-re): New constants.
5966 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5967 aren't regexp delimiters.
5968
5969 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5970 handling for a rare situation in AWK Mode involving unterminated
5971 strings/regexps.
5972
5973 2013-08-23 Glenn Morris <rgm@gnu.org>
5974
5975 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5976
5977 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5978
5979 * files.el (create-file-buffer): If the result would begin with
5980 spaces, prepend a "|" instead of removing them. (Bug#15162)
5981
5982 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5985 text-properties (bug#15155).
5986
5987 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5988 exist any more.
5989 (calc-keypad-redraw): Remove unused var `pad'.
5990 (calc-keypad-press): Remove unused var `menu'.
5991
5992 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5993
5994 * window.el (display-buffer-pop-up-frame):
5995 Call pop-up-frame-function with BUFFER current so `make-frame' will
5996 use it as the new frame's buffer (Bug#15133).
5997
5998 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * calendar/timeclock.el: Minor cleanups.
6001 (timeclock-ask-before-exiting, timeclock-use-display-time):
6002 Use `symbol'.
6003 (timeclock-modeline-display): Define as alias before the
6004 actual definition.
6005 (timeclock-mode-line-display): Use define-minor-mode.
6006 (timeclock-day-list-template): Make it a function, add an argument.
6007 (timeclock-day-list-required, timeclock-day-list-length)
6008 (timeclock-day-list-debt, timeclock-day-list-span)
6009 (timeclock-day-list-break): Adjust calls accordingly.
6010
6011 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6014 Use read--expression so that completion works again.
6015
6016 2013-08-21 Sam Steingold <sds@gnu.org>
6017
6018 Add rudimentary inferior shell interaction
6019 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6020 (sh-set-shell): Reset it.
6021 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6022 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6023
6024 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6025
6026 * align.el: Use lexical-binding.
6027 (align-region): Simplify accordingly.
6028
6029 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6030
6031 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6032
6033 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6034 `non-essential' up.
6035
6036 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * net/tramp.el:
6039 * net/tramp-adb.el:
6040 * net/tramp-cmds.el:
6041 * net/tramp-ftp.el:
6042 * net/tramp-gvfs.el:
6043 * net/tramp-gw.el:
6044 * net/tramp-sh.el: Don't wrap external variable declarations by
6045 `eval-when-compile'.
6046
6047 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6048
6049 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6050 now that Emacs supports ImageMagick animations.
6051
6052 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6053
6054 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6055 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6056
6057 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6058
6059 * window.el (mouse-autoselect-window-select): Do autoselect when
6060 mouse pointer is on margin.
6061
6062 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6063
6064 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6065
6066 2013-08-16 Glenn Morris <rgm@gnu.org>
6067
6068 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6069 Handle "Remote Directory" response of some clients. (Bug#15058)
6070
6071 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6072 Tweak warning. (Bug#14926)
6073
6074 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6075 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6076
6077 * image-mode.el (image-mode-map): Add menu items to reverse,
6078 increase, decrease, reset animation speed.
6079 (image--set-speed, image-increase-speed, image-decrease-speed)
6080 (image-reverse-speed, image-reset-speed): New functions.
6081 (image-mode-map): Add bindings for speed commands.
6082
6083 * image.el (image-animate-get-speed, image-animate-set-speed):
6084 New functions.
6085 (image-animate-timeout): Respect image :speed property.
6086
6087 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6090 previous line (bug#15101).
6091 (debugger-eval-expression, debugger-record-expression):
6092 Use read--expression (bug#15102).
6093
6094 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6095
6096 Remove byte compiler warnings, visible when compiling with
6097 `byte-compile-force-lexical-warnings' set to t.
6098
6099 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6100 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6101 (tramp-handle-unhandled-file-name-directory)
6102 (tramp-handle-file-notify-add-watch, tramp-action-login)
6103 (tramp-action-succeed, tramp-action-permission-denied)
6104 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6105 arguments with "_".
6106
6107 * net/tramp-adb.el (tramp-adb-parse-device-names)
6108 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6109 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6110 (tramp-adb-handle-file-truename): Remove unused arguments.
6111
6112 * net/tramp-cache.el (tramp-flush-directory-property)
6113 (tramp-flush-connection-property, tramp-list-connections)
6114 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6115
6116 * net/tramp-compat.el (tramp-compat-make-temp-file):
6117 Rename FILENAME to F.
6118
6119 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6120 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6121 (tramp-zeroconf-parse-workstation-device-names)
6122 (tramp-zeroconf-parse-webdav-device-names)
6123 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6124
6125 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6126 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6127
6128 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6129 arguments.
6130 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6131 (tramp-sh-handle-insert-file-contents-literally)
6132 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6133 with "_".
6134 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6135 Remove unused variables.
6136
6137 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6138 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6139 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6140
6141 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6142 Make them a defconst.
6143 (tramp-uuencode-region): Remove unused variable.
6144
6145 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6146
6147 * frameset.el (frameset--prop-setter): New function.
6148 (frameset-prop): Add gv-setter declaration.
6149 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6150 parameter was already set in FILTERED. Doc fix.
6151 (frameset--record-minibuffer-relationships): Allow saving a
6152 minibufferless frame without its corresponding minibuffer frame.
6153 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6154 frame, if the frame id matches.
6155 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6156 frames before orphaned ones.
6157 (frameset-restore): Warn about orphaned windows, instead of error out.
6158
6159 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6160
6161 * window.el (window-make-atom): Don't overwrite parameter
6162 already present.
6163 (display-buffer-in-atom-window): Handle special case where we
6164 split an already atomic window.
6165 (window--major-non-side-window, display-buffer-in-side-window)
6166 (window--side-check): Ignore minibuffer window when walking
6167 window tree.
6168 (window-deletable-p): Return 'frame only if no other frame uses
6169 our minibuffer window.
6170 (record-window-buffer): Run buffer-list-update-hook.
6171 (split-window): Make sure window--check-frame won't destroy an
6172 existing atomic window in case the new window gets nested
6173 inside.
6174 (display-buffer-at-bottom): Ignore minibuffer window when
6175 walking window tree. Don't split a side window.
6176 (pop-to-buffer): Don't set-buffer here, the select-window call
6177 should do that.
6178 (mouse-autoselect-window-select): Autoselect only if we are in the
6179 text portion of the window.
6180
6181 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6182
6183 * net/shr.el (shr-parse-image-data): New function to grab both the
6184 data itself and the Content-Type.
6185 (shr-put-image): Use it.
6186
6187 * net/eww.el (eww-display-image): Ditto.
6188
6189 * image.el (image-content-type-suffixes): New variable.
6190
6191 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6192
6193 * progmodes/python.el (python-imenu--build-tree)
6194 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6195
6196 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6197
6198 * simple.el (backward-word): Mention the optional argument.
6199
6200 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * frameset.el (frameset--make): Rename constructor from make-frameset.
6203 (frameset-p, frameset-valid-p): Don't autoload.
6204 (frameset-valid-p): Use normal accessors.
6205
6206 2013-08-13 Glenn Morris <rgm@gnu.org>
6207
6208 * progmodes/compile.el (compile-command): Tweak example in doc.
6209 * obsolete/scribe.el (scribe-mode):
6210 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6211
6212 * mail/feedmail.el (feedmail-confirm-outgoing)
6213 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6214
6215 * cus-start.el (truncate-partial-width-windows): Fix type.
6216
6217 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6218
6219 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6220
6221 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6222
6223 * emacs-lisp/timer.el (timer--time-setter): New function.
6224 (timer--time): Use it as gv-setter.
6225
6226 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6227 setter is not a symbol.
6228
6229 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6230
6231 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6232 if sending fails. This makes debugging easier.
6233
6234 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6235
6236 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6237 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6238 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6239
6240 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6241
6242 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6243
6244 2013-08-12 Glenn Morris <rgm@gnu.org>
6245
6246 * format.el (format-annotate-function):
6247 Handle read-only text properties in the source. (Bug#14887)
6248
6249 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6250
6251 * net/eww.el (eww-display-html): Ignore coding system errors.
6252 One web site uses "utf-8lias" as the coding system.
6253
6254 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6255
6256 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6257
6258 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6261 (tutorial--detailed-help): Remove unused local variables.
6262 (tutorial--save-tutorial-to): Use ignore-errors.
6263 (help-with-tutorial): Use looking-at-p.
6264
6265 * view.el (view-buffer-other-window, view-buffer-other-frame):
6266 Mark unused arguments.
6267
6268 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6269 (woman-select-symbol-fonts, woman, woman-find-file)
6270 (woman-insert-file-contents, woman-non-underline-faces):
6271 Use string-match-p.
6272 (woman1-unquote): Move declaration.
6273
6274 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6275 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6276 argument. Remove unused local variable.
6277 (xml-parse-elem-type): Use string-match-p.
6278 (xml-substitute-numeric-entities): Use ignore-errors.
6279
6280 * calculator.el (calculator): Mark unused argument.
6281 (calculator-paste, calculator-quit, calculator-integer-p):
6282 Use ignore-errors.
6283 (calculator-string-to-number, calculator-decimal, calculator-exp)
6284 (calculator-op-or-exp): Use string-match-p.
6285
6286 * dired.el (dired-buffer-more-recently-used-p): Declare.
6287 (dired-insert-set-properties, dired-insert-old-subdirs):
6288 Use ignore-errors.
6289
6290 * dired-aux.el (dired-compress): Use ignore-errors.
6291 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6292 (dired-do-async-shell-command, dired-do-shell-command)
6293 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6294 (dired-insert-subdir-validate): Use string-match-p.
6295 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6296 (dired-add-entry): Use string-match-p, looking-at-p.
6297 (dired-insert-subdir-newpos): Remove unused local variable.
6298
6299 * filenotify.el (file-notify-callback): Remove unused local variable.
6300
6301 * filesets.el (filesets-error): Mark unused argument.
6302 (filesets-which-command-p, filesets-filter-dir-names)
6303 (filesets-directory-files, filesets-get-external-viewer)
6304 (filesets-ingroup-get-data): Use string-match-p.
6305
6306 * find-file.el (ff-other-file-name, ff-other-file-name)
6307 (ff-find-the-other-file, ff-cc-hh-converter):
6308 Remove unused local variables.
6309 (ff-get-file-name): Use string-match-p.
6310 (ff-all-dirs-under): Use ignore-errors.
6311
6312 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6313 (follow-select-if-visible): Remove unused local variable.
6314
6315 * forms.el (read-file-filter): Move declaration.
6316 (forms--make-format, forms--make-parser, forms-insert-record):
6317 Quote function with #'.
6318 (forms--update): Use string-match-p. Quote function with #'.
6319
6320 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6321 (help-make-xrefs): Use looking-at-p.
6322 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6323
6324 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6325 (ibuffer-confirm-operation-on): Use string-match-p.
6326
6327 * msb.el (msb-item-handler, msb-dired-item-handler):
6328 Mark unused arguments.
6329
6330 * ses.el (ses-decode-cell-symbol)
6331 (ses-kill-override): Remove unused local variable.
6332 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6333 (ses-load): Use ignore-errors, looking-at-p.
6334 (ses-jump-safe): Use ignore-errors.
6335 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6336
6337 * tabify.el (untabify, tabify): Mark unused arguments.
6338
6339 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6340 Mark unused argument.
6341 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6342 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6343
6344 * emacs-lisp/timer.el (timer--time): Define setter with
6345 gv-define-setter to avoid deprecation warning.
6346
6347 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6348 (*record-cmpl-statistics-p*): Remove (was commented out).
6349 (cmpl-statistics-block): Remove (body was commented out).
6350 All callers changed.
6351 (add-completions-from-buffer, load-completions-from-file):
6352 Remove unused variables.
6353
6354 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6355
6356 * filecache.el (file-cache-delete-file-list):
6357 Print message only when told so.
6358 (file-cache-files-matching): Use #' in mapconcat argument.
6359
6360 * ffap.el (ffap-url-at-point): Fix reference to variable
6361 thing-at-point-default-mail-uri-scheme.
6362
6363 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6364
6365 * subr.el (define-error): New function.
6366 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6367 error-file-not-found and define with define-error.
6368 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6369 and define with define-error.
6370 * userlock.el (file-locked, file-supersession):
6371 * simple.el (mark-inactive):
6372 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6373 * progmodes/ada-mode.el (ada-mode-errors):
6374 * play/life.el (life-extinct):
6375 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6376 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6377 * nxml/rng-util.el (rng-error):
6378 * nxml/rng-uri.el (rng-uri-error):
6379 * nxml/rng-match.el (rng-compile-error):
6380 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6381 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6382 * nxml/nxml-rap.el (nxml-scan-error):
6383 * nxml/nxml-outln.el (nxml-outline-error):
6384 * net/soap-client.el (soap-error):
6385 * net/gnutls.el (gnutls-error):
6386 * net/ange-ftp.el (ftp-error):
6387 * mpc.el (mpc-proc-error):
6388 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6389 (json-number-format, json-string-escape, json-string-format)
6390 (json-key-format, json-object-format):
6391 * jka-compr.el (compression-error):
6392 * international/quail.el (quail-error):
6393 * international/kkc.el (kkc-error):
6394 * emacs-lisp/ert.el (ert-test-failed):
6395 * calc/calc.el (calc-error, inexact-result, math-overflow)
6396 (math-underflow):
6397 * bookmark.el (bookmark-error-no-filename):
6398 * epg.el (epg-error): Define with define-error.
6399
6400 * time.el (display-time-event-handler)
6401 (display-time-next-load-average): Don't call sit-for since it seems
6402 unnecessary (bug#15045).
6403
6404 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6405 Use #' instead of ' to quote functions.
6406 (checkdoc-output-mode): Use setq-local.
6407 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6408 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6409 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6410 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6411 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6412 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6413 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6414 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6415
6416 * ido.el (ido-completion-help): Fix up compiler warning.
6417
6418 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6419
6420 * frameset.el (frameset-p): Add autoload cookie.
6421 (frameset--jump-to-register): New function, based on code moved from
6422 register.el.
6423 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6424
6425 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6426 (frameset-restore, frameset-save, frameset-session-filter-alist):
6427 Remove declarations.
6428 (register-alist): Doc fix.
6429 (frameset-to-register): Move to frameset.el.
6430 (jump-to-register, describe-register-1): Remove frameset-specific code.
6431
6432 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6433
6434 * allout-widgets.el (allout-widgets-pre-command-business)
6435 (allout-widgets-post-command-business)
6436 (allout-widgets-after-change-handler)
6437 (allout-decorate-item-and-context, allout-set-boundary-marker)
6438 (allout-body-modification-handler)
6439 (allout-graphics-modification-handler): Mark ignored arguments.
6440 (allout-widgets-post-command-business)
6441 (allout-widgets-exposure-change-processor)
6442 (allout-widgets-exposure-undo-processor)
6443 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6444 (allout-parse-item-at-point, allout-decorate-item-guides)
6445 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6446 * allout.el (epa-passphrase-callback-function): Declare.
6447 (allout-overlay-insert-in-front-handler)
6448 (allout-overlay-interior-modification-handler)
6449 (allout-isearch-end-handler, allout-chart-siblings)
6450 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6451 (allout-yank-processing, allout-process-exposed)
6452 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6453 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6454 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6455 (lisp-indent-defform): Mark ignored arguments.
6456 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6457 (calculate-lisp-indent): Remove unused variables.
6458 * international/characters.el (indian-2-column, arabic-2-column)
6459 (tibetan): Mark ignored arguments.
6460 (use-cjk-char-width-table): Mark ignored arguments.
6461 Remove unused variables.
6462 * international/fontset.el (build-default-fontset-data)
6463 (x-compose-font-name, create-fontset-from-fontset-spec):
6464 Mark ignored arguments.
6465 (fontset-plain-name): Remove unused variables.
6466 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6467 (keyboard-coding-system): Mark ignored arguments.
6468 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6469 * help.el (resize-temp-buffer-window):
6470 * window.el (display-buffer-in-major-side-window)
6471 (display-buffer-in-side-window, display-buffer-in-previous-window):
6472 Remove unused variables.
6473 * isearch.el (isearch-forward-symbol):
6474 * version.el (emacs-bzr-version-bzr):
6475 * international/mule-cmds.el (current-language-environment):
6476 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6477 (x-handle-display):
6478 * term/pc-win.el (x-list-fonts, x-display-planes)
6479 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6480 (x-server-version, x-display-screens, x-display-mm-height)
6481 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6482 (x-selection-owner-p, x-own-selection-internal)
6483 (x-disown-selection-internal, x-get-selection-internal)
6484 (msdos-initialize-window-system):
6485 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6486 * term/x-win.el (x-handle-no-bitmap-icon):
6487 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6488 (vc-default-find-file-hook, vc-default-extra-menu):
6489 Mark ignored arguments.
6490
6491 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6494 break-condition in the context of the debugged code (bug#12685).
6495
6496 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6497
6498 * comint.el:
6499 Do not use an overlay to highlight the last prompt. (Bug#14744)
6500 (comint-mode): Make comint-last-prompt buffer local.
6501 (comint-last-prompt): New variable.
6502 (comint-last-prompt-overlay): Remove. Superseded by
6503 comint-last-prompt.
6504 (comint-snapshot-last-prompt, comint-output-filter):
6505 Use comint-last-prompt.
6506
6507 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6508
6509 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6510 (frameset-save): Check validity of the resulting frameset.
6511
6512 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6513
6514 * ido.el (ido-record-command): Add doc string.
6515
6516 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6517
6518 * frameset.el (frameset): Do not disable creation of the default
6519 frameset-p predicate. Doc fix.
6520 (frameset-valid-p): New function, copied from the old predicate-p.
6521 Add additional checks.
6522 (frameset-restore): Check with frameset-valid-p.
6523 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6524 (frameset-name, frameset-description, frameset-properties)
6525 (frameset-states): Add docstring.
6526 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6527 (frameset-filter-alist): Doc fixes.
6528
6529 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6530
6531 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6532
6533 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6536 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6537 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6538 (byte-compile-normal-call): Remove obsolescence check.
6539
6540 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6541
6542 * frameset.el (frameset-restore): Doc fix.
6543
6544 * register.el (frameset-frame-id, frameset-frame-with-id)
6545 (frameset-p, frameset-restore, frameset-save): Declare.
6546 (register-alist): Document framesets.
6547 (frameset-session-filter-alist): Declare.
6548 (frameset-to-register): New function.
6549 (jump-to-register): Implement jumping to framesets. Doc fix.
6550 (describe-register-1): Describe framesets.
6551
6552 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6553
6554 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6555
6556 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6557 Use lexical-binding.
6558
6559 * frameset.el (frameset): Use type vector, not list (incompatible
6560 change). Do not declare a new constructor, use the default one.
6561 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6562 `name' and `description', respectively, and add read-only slot
6563 `timestamp'. Doc fixes.
6564 (frameset-copy, frameset-persistent-filter-alist)
6565 (frameset-filter-alist, frameset-switch-to-gui-p)
6566 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6567 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6568 (frameset-filter-iconified, frameset-keep-original-display-p):
6569 Doc fixes.
6570 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6571 Rename from frameset-filter-(save|restore)-param. All callers changed.
6572 Doc fix.
6573 (frameset-p): Adapt to change to vector and be more thorough.
6574 Change arg name to OBJECT. Doc fix.
6575 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6576 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6577 All callers changed.
6578 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6579 All callers changed.
6580 (frameset--record-minibuffer-relationships): Rename from
6581 frameset--process-minibuffer-frames. All callers changed.
6582 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6583 Use new default constructor (again). Doc fix.
6584 (frameset--find-frame-if): Rename from `frameset--find-frame.
6585 All callers changed.
6586 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6587 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6588 Doc fix.
6589 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6590 PARAMETERS and WINDOW-STATE, respectively.
6591 (frameset-restore): Add new keyword argument PREDICATE.
6592 Reset frameset--target-display to nil. Doc fix.
6593
6594 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6597 (bat-mode): Use it.
6598 (bat-mode-syntax-table): Mark \n as end-of-comment.
6599 (bat-font-lock-keywords): Remove comment rule.
6600
6601 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6602 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6603
6604 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6605 (byte-compile-callargs-warn): Use `push'.
6606 (byte-compile-arglist-warn): Ignore higher-order "calls".
6607 (byte-compile-file-form-autoload): Use `pcase'.
6608 (byte-compile-function-form): If quoting a symbol, check that it exists.
6609
6610 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6611
6612 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6613 and add a few popular commands found in batch files.
6614 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6615 (dos-mode): Doc fixes.
6616
6617 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6618
6619 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6620 (dos-mode): Use setq-local. Add space after "rem".
6621 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6622 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6623
6624 2013-08-07 Arni Magnusson <arnima@hafro.is>
6625
6626 * progmodes/dos.el: New file.
6627 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6628 dos-mode.
6629
6630 2013-08-06 Glenn Morris <rgm@gnu.org>
6631
6632 * calendar/calendar.el: Add new faces, and day-header-array.
6633 (calendar-weekday-header, calendar-weekend-header)
6634 (calendar-month-header): New faces.
6635 (calendar-day-header-construct): New function.
6636 (calendar-day-header-width): Also :set calendar-day-header-array.
6637 (calendar-american-month-header, calendar-european-month-header)
6638 (calendar-iso-month-header): Use calendar- faces.
6639 (calendar-generate-month):
6640 Use calendar-day-header-array for day headers; apply faces to them.
6641 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6642 (calendar-abbrev-construct): Add optional maxlen argument.
6643 (calendar-day-name-array): Doc fix.
6644 (calendar-day-name-array, calendar-abbrev-length)
6645 (calendar-day-abbrev-array):
6646 Also :set calendar-day-header-array, and maybe redraw.
6647 (calendar-day-header-array): New option. (Bug#15007)
6648 (calendar-font-lock-keywords): Set to nil and make obsolete.
6649 (calendar-day-name): Add option to use header array.
6650
6651 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6652
6653 * net/shr.el (shr-render-td): Remove debugging.
6654 (shr-render-td): Make width computation consistent by defaulting
6655 all zero-width columns to 10 characters. This may not be optimal,
6656 but it's at least consistent.
6657 (shr-make-table-1): Redo last change to fix the real problem in
6658 colspan handling.
6659
6660 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6661
6662 * files.el (cache-long-line-scans):
6663 Make obsolete alias to `cache-long-scans'.
6664
6665 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6666
6667 * frameset.el (frameset, frameset-filter-alist)
6668 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6669 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6670 (frameset-compute-pos): Rename from frameset--compute-pos,
6671 and add docstring.
6672 (frameset-move-onscreen): Use frameset-compute-pos.
6673 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6674
6675 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6676 Fix typos in docstrings.
6677
6678 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6679
6680 * frame.el (get-other-frame): Tiny cleanup.
6681
6682 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6683
6684 * vc/vc.el (vc-default-ignore-completion-table):
6685 Silence byte-compiler warning.
6686
6687 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6688 slot, which can indeed be nil.
6689 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6690 Move entry for `left' from persistent to live filter alist.
6691 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6692 Doc fixes.
6693 (frameset-filter-params): When restoring a frame, copy items added to
6694 `filtered', to avoid unwittingly modifying the original parameters.
6695 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6696 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6697
6698 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6699 to use looking-at-p instead of looking-at. (Bug#15028)
6700
6701 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 Revert introduction of isearch-filter-predicates (bug#14714).
6704 Rely on add-function instead.
6705 * isearch.el (isearch-filter-predicates): Rename it back to
6706 isearch-filter-predicate.
6707 (isearch-message-prefix): Use advice-function-mapc and advice
6708 properties to get the isearch-message-prefix.
6709 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6710 instead of run-hook-with-args-until-failure.
6711 (isearch-filter-visible): Not obsolete any more.
6712 * loadup.el: Preload nadvice.
6713 * replace.el (perform-replace): Revert to funcall
6714 instead of run-hook-with-args-until-failure.
6715 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6716 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6717 dired-isearch-filenames-toggle; make it into a proper minor mode.
6718 Use add/remove-function.
6719 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6720 Call the minor-mode rather than add/remove-hook.
6721 (dired-isearch-filter-filenames):
6722 Remove isearch-message-prefix property.
6723 * info.el (Info--search-loop): New function, extracted from Info-search.
6724 Funcall isearch-filter-predicate instead of
6725 run-hook-with-args-until-failure isearch-filter-predicates.
6726 (Info-search): Use it.
6727 (Info-mode): Use isearch-filter-predicate instead of
6728 isearch-filter-predicates.
6729
6730 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6731
6732 Do not call to `selected-window' where it is assumed by default.
6733 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6734 `window-hscroll', `window-width', `window-height', `window-buffer',
6735 `window-frame', `window-start', `window-point', `next-window'
6736 and `window-display-table'.
6737 * abbrev.el (abbrev--default-expand):
6738 * bs.el (bs--show-with-configuration):
6739 * buff-menu.el (Buffer-menu-mouse-select):
6740 * calc/calc.el (calc):
6741 * calendar/calendar.el (calendar-generate-window):
6742 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6743 (diary-make-entry):
6744 * comint.el (send-invisible, comint-dynamic-complete-filename)
6745 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6746 * completion.el (complete):
6747 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6748 * disp-table.el (describe-current-display-table):
6749 * doc-view.el (doc-view-insert-image):
6750 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6751 * ehelp.el (with-electric-help):
6752 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6753 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6754 * emacs-lisp/helper.el (Helper-help-scroller):
6755 * emulation/cua-base.el (cua--post-command-handler-1):
6756 * eshell/esh-mode.el (eshell-output-filter):
6757 * ffap.el (ffap-gnus-wrapper):
6758 * help-macro.el (make-help-screen):
6759 * hilit-chg.el (highlight-compare-buffers):
6760 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6761 * hl-line.el (global-hl-line-highlight):
6762 * icomplete.el (icomplete-simple-completing-p):
6763 * isearch.el (isearch-done):
6764 * jit-lock.el (jit-lock-stealth-fontify):
6765 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6766 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6767 * mpc.el (mpc-tagbrowser, mpc):
6768 * net/rcirc.el (rcirc-any-buffer):
6769 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6770 * play/landmark.el (landmark-max-width, landmark-max-height):
6771 * play/zone.el (zone):
6772 * progmodes/compile.el (compilation-goto-locus):
6773 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6774 * progmodes/etags.el (find-tag-other-window):
6775 * progmodes/fortran.el (fortran-column-ruler):
6776 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6777 * progmodes/verilog-mode.el (verilog-point-text):
6778 * reposition.el (reposition-window):
6779 * rot13.el (toggle-rot13-mode):
6780 * server.el (server-switch-buffer):
6781 * shell.el (shell-dynamic-complete-command)
6782 (shell-dynamic-complete-environment-variable):
6783 * simple.el (insert-buffer, set-selective-display)
6784 (delete-completion-window):
6785 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6786 (speedbar-recenter):
6787 * startup.el (fancy-splash-head):
6788 * textmodes/ispell.el (ispell-command-loop):
6789 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6790 * tutorial.el (help-with-tutorial):
6791 * vc/add-log.el (add-change-log-entry):
6792 * vc/compare-w.el (compare-windows):
6793 * vc/ediff-help.el (ediff-indent-help-message):
6794 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6795 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6796 (ediff-setup-control-frame):
6797 * vc/emerge.el (emerge-position-region):
6798 * vc/pcvs-util.el (cvs-bury-buffer):
6799 * window.el (walk-windows, mouse-autoselect-window-select):
6800 * winner.el (winner-set-conf, winner-undo): Related users changed.
6801
6802 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * frameset.el (frameset--set-id): Doc fix.
6805 (frameset-frame-id, frameset-frame-id-equal-p)
6806 (frameset-locate-frame-id): New functions.
6807 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6808 (frameset-restore): Use them.
6809
6810 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6811
6812 Do not call to `selected-frame' where it is assumed by default.
6813 Affected functions are `raise-frame', `redraw-frame',
6814 `frame-first-window', `frame-terminal' and `delete-frame'.
6815 * calendar/appt.el (appt-disp-window):
6816 * epg.el (epg-wait-for-completion):
6817 * follow.el (follow-delete-other-windows-and-split)
6818 (follow-avoid-tail-recenter):
6819 * international/mule.el (set-terminal-coding-system):
6820 * mail/rmail.el (rmail-mail-return):
6821 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6822 * progmodes/f90.el (f90-add-imenu-menu):
6823 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6824 * server.el (server-switch-buffer):
6825 * simple.el (delete-completion-window):
6826 * talk.el (talk):
6827 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6828 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6829 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6830 * vc/ediff.el (ediff-documentation): Related users changed.
6831 * frame.el (selected-terminal): Remove the leftover.
6832
6833 2013-08-05 Glenn Morris <rgm@gnu.org>
6834
6835 * calendar/calendar.el (calendar-generate-month):
6836 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6837 (calendar-generate-month, calendar-font-lock-keywords):
6838 Fix for calendar-day-header-width > length of any day name.
6839
6840 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * desktop.el (desktop-clear): Use new name of sort predicate.
6843
6844 * frameset.el (frameset): Add docstring. Move :version property to its
6845 own `version' slot.
6846 (frameset-copy): Rename from copy-frameset.
6847 (frameset-p): Check more thoroughly.
6848 (frameset-prop): Do not check for :version, which is no longer a prop.
6849 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6850 Use new :never value instead of t.
6851 (frameset-filter-alist): Expand and clarify docstring.
6852 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6853 (frameset-filter-minibuffer, frameset-filter-save-param)
6854 (frameset-filter-restore-param, frameset-filter-iconified):
6855 Add pointer to docstring of frameset-filter-alist.
6856 (frameset-filter-params): Rename filter values to be more meaningful:
6857 :never instead of t, and reverse the meanings of :save and :restore.
6858 (frameset--process-minibuffer-frames): Clarify error message.
6859 (frameset-save): Avoid unnecessary and confusing call to framep.
6860 Use new BOA constructor for framesets.
6861 (frameset--reuse-list): Doc fix.
6862 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6863 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6864 (frameset-minibufferless-first-p): Doc fix.
6865 Rename from frameset-sort-frames-for-deletion.
6866 (frameset-restore): Doc fixes. Use new function names.
6867 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6868
6869 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * desktop.el (desktop-restore-forces-onscreen)
6872 (desktop-restore-reuses-frames): Document :keyword constant values.
6873 (desktop-filter-parameters-alist): Remove, now identical to
6874 frameset-filter-alist.
6875 (desktop--filter-tty*): Remove, moved to frameset.el.
6876 (desktop-save-frameset, desktop-restore-frameset):
6877 Do not pass :filters argument.
6878
6879 * frameset.el (frameset-live-filter-alist)
6880 (frameset-persistent-filter-alist): New variables.
6881 (frameset-filter-alist): Use them. Add autoload cookie.
6882 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6883 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6884 `frameset--id' (it's supposed to be internal to frameset.el).
6885 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6886 (frameset--initial-params): New function.
6887 (frameset--get-frame): Use it. Doc fix.
6888 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6889 Accept :all, not 'all.
6890 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6891 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6892 with fbound symbols. Fix frame id matching, and remove matching ids if
6893 the frame being restored is deleted. Obey :delete.
6894
6895 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * subr.el (macrop): New function.
6898 (text-clone--maintaining): New var.
6899 (text-clone--maintain): Rename from text-clone-maintain. Use it
6900 instead of inhibit-modification-hooks.
6901
6902 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6903 a proxy, so as handle autoloads and redefinitions of the target.
6904 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6905
6906 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6907 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6908 (pcase--mutually-exclusive-p): New function.
6909 (pcase--split-consp): Use it.
6910 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6911 mutually exclusive with the current predicate.
6912
6913 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6914 (edebug-macrop): Remove. Use `macrop' instead.
6915 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6916 (ad-macro-p):
6917 * eshell/esh-cmd.el (eshell-macrop):
6918 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6919
6920 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6921
6922 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6923 (advice-mapc): New function, using it.
6924 (advice-function-member-p): New function.
6925 (advice--normalize): Store the cdr in advice--saved-rewrite since
6926 that's the part that will be changed.
6927 (advice--symbol-function): New function.
6928 (advice-remove): Handle removal before the function is defined.
6929 Adjust to new advice--saved-rewrite.
6930 (advice-member-p): Use advice-function-member-p and
6931 advice--symbol-function.
6932
6933 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6936 (frameset-filter-minibuffer): Doc fix.
6937 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6938 (frameset--set-id, frameset--process-minibuffer-frames)
6939 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6940 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6941
6942 * desktop.el (desktop-clear): Only delete frames when called
6943 interactively and desktop-restore-frames is non-nil. Doc fix.
6944 (desktop-read): Set desktop-saved-frameset to nil.
6945
6946 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6947
6948 * vc/vc.el (vc-ignore): Rewrite.
6949 (vc-default-ignore-completion-table):
6950 (vc--read-lines):
6951 (vc--add-line, vc--remove-regexp): New functions.
6952
6953 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6954 (vc-svn-ignore-completion-table): New function.
6955
6956 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6957 (vc-hg-ignore-completion-table):
6958 (vc-hg-find-ignore-file): New functions.
6959
6960 * vc/vc-git.el (vc-git-ignore): Rewrite.
6961 (vc-git-ignore-completion-table):
6962 (vc-git-find-ignore-file): New functions.
6963
6964 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6965
6966 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6967 (vc-bzr-ignore-completion-table):
6968 (vc-bzr-find-ignore-file): New functions.
6969
6970 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6971
6972 * frameset.el (frameset-prop): New function and setter.
6973 (frameset-save): Do not modify frame list passed by the caller.
6974
6975 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6978
6979 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6980
6981 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6982 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6983
6984 * custom.el (custom-initialize-default, custom-initialize-set)
6985 (custom-initialize-reset, custom-initialize-changed): Affect the
6986 toplevel-default-value (bug#6275, bug#14586).
6987 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6988 for bug#6275.
6989
6990 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6991
6992 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6993 Add cl-def* expressions.
6994
6995 * frameset.el (frameset-filter-params): Fix order of arguments.
6996
6997 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6998
6999 Move code related to saving frames to frameset.el.
7000 * desktop.el: Require frameset.
7001 (desktop-restore-frames): Doc fix.
7002 (desktop-restore-reuses-frames): Rename from
7003 desktop-restoring-reuses-frames.
7004 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7005 (desktop-clear): Clear frames too.
7006 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7007 (desktop--filter-tty*, desktop-save, desktop-read):
7008 Use frameset functions.
7009 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7010 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7011 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7012 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7013 (desktop--process-minibuffer-frames, desktop-save-frames)
7014 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7015 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7016 (desktop--sort-states, desktop-restoring-frames-p)
7017 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7018 (desktop-restoring-frameset-p, desktop-restore-frameset)
7019 (desktop--check-dont-save, desktop-save-frameset): New functions.
7020 (desktop--app-id): New constant.
7021 (desktop-first-buffer, desktop-buffer-ok-count)
7022 (desktop-buffer-fail-count): Move before first use.
7023 * frameset.el: New file.
7024
7025 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * files.el: Use lexical-binding.
7028 (dir-locals-read-from-file): Remove unused `err' variable.
7029 (hack-dir-local-variables--warned-coding): New var.
7030 (hack-dir-local-variables): Use it to avoid repeated warnings.
7031 (make-backup-file-name--default-function): New function.
7032 (make-backup-file-name-function): Use it as default.
7033 (buffer-stale--default-function): New function.
7034 (buffer-stale-function): Use it as default.
7035 (revert-buffer-insert-file-contents--default-function): New function.
7036 (revert-buffer-insert-file-contents-function): Use it as default.
7037 (insert-directory): Avoid add-to-list.
7038
7039 * autorevert.el (auto-revert-handler): Simplify.
7040 Use buffer-stale--default-function.
7041
7042 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7043
7044 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7045
7046 * whitespace.el (whitespace-ensure-local-variables): New function.
7047 (whitespace-cleanup-region): Call it.
7048 (whitespace-turn-on): Call it.
7049
7050 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7051
7052 Complete file name handlers.
7053
7054 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7055 (tramp-handle-verify-visited-file-modtime)
7056 (tramp-handle-file-notify-rm-watch): New functions.
7057 (tramp-call-process): Do not bind `default-directory'.
7058
7059 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7060 Order alphabetically.
7061 [access-file, add-name-to-file, dired-call-process]:
7062 [dired-compress-file, file-acl, file-notify-rm-watch]:
7063 [file-ownership-preserved-p, file-selinux-context]:
7064 [make-directory-internal, make-symbolic-link, set-file-acl]:
7065 [set-file-selinux-context, set-visited-file-modtime]:
7066 [verify-visited-file-modtime]: Add handler.
7067 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7068
7069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7070 [file-notify-add-watch, file-notify-rm-watch]:
7071 [set-file-times, set-visited-file-modtime]:
7072 [verify-visited-file-modtime]: Add handler.
7073 (with-tramp-gvfs-error-message)
7074 (tramp-gvfs-handle-set-visited-file-modtime)
7075 (tramp-gvfs-fuse-file-name): Remove.
7076 (tramp-gvfs-handle-file-notify-add-watch)
7077 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7078 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7079
7080 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7081 Order alphabetically.
7082 [file-notify-rm-watch ]: Use default Tramp handler.
7083 [executable-find]: Remove private handler.
7084 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7085 `default-directory'.
7086 (tramp-sh-handle-executable-find)
7087 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7088 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7089 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7090 Do not use `format' in `tramp-message'.
7091
7092 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7093 [file-notify-rm-watch, set-visited-file-modtime]:
7094 [verify-visited-file-modtime]: Add handler.
7095 (tramp-smb-call-winexe): Do not bind `default-directory'.
7096
7097 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7098
7099 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7100
7101 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7102
7103 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7104 use it.
7105 (log-view-diff-changeset): Same.
7106 (log-view-diff-common): Call backend command `previous-revision'
7107 to find out the previous revision, in both cases. Swap the
7108 variables `to' and `fr', so that `fr' usually refers to the
7109 earlier revision (Bug#14989).
7110
7111 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7112
7113 * ibuf-ext.el (ibuffer-filter-by-filename):
7114 Make it work with dired buffers too.
7115
7116 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7117
7118 * emacs-lisp/re-builder.el (reb-color-display-p):
7119 * files.el (save-buffers-kill-terminal):
7120 * net/browse-url.el (browse-url):
7121 * server.el (server-save-buffers-kill-terminal):
7122 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7123 Prefer nil to selected-frame for the first arg of frame-parameter.
7124
7125 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7126
7127 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7128
7129 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7130
7131 * minibuffer.el (completion--twq-all): Try and preserve each
7132 completion's case choice (bug#14907).
7133
7134 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7135
7136 * net/network-stream.el (open-network-stream): Mention the new
7137 :nogreeting parameter.
7138 (network-stream-open-starttls): Use the :nogreeting parameter
7139 (bug#14938).
7140
7141 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7142
7143 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7144 more natural than popping.
7145
7146 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7147 (shr-urlify): Highlight under mouse.
7148
7149 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7150
7151 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7152
7153 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7154
7155 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7156 buffer for output.
7157
7158 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7159 point-min==1. Fix search string. Fix parentheses missing.
7160
7161 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7162 assume point-min==1. Fix search string. Fix parentheses missing.
7163
7164 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7165
7166 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7167 buffer for output.
7168
7169 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7170
7171 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7172 initial frame is minibuffer-less. (Bug#14841)
7173
7174 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7175
7176 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7177 option.
7178
7179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7180 (tramp-maybe-open-connection): Use it.
7181
7182 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7185 minimal set of parameters passed when creating a frame, because
7186 the minibuffer status of a frame cannot be changed later.
7187
7188 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7189
7190 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7191 replace-regexp-in-string and inadvertent omissions in previous change.
7192 (todo-filter-items): Ensure only file names are comma-separated in
7193 name of filtered items buffer.
7194
7195 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7196
7197 * desktop.el: Optionally force offscreen frames back onscreen.
7198 (desktop-restoring-reuses-frames): New option.
7199 (desktop--compute-pos, desktop--move-onscreen): New functions.
7200 (desktop--make-frame): Use desktop--move-onscreen.
7201
7202 2013-07-27 Alan Mackenzie <acm@muc.de>
7203
7204 Fontify a Java generic method as a function.
7205 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7206 value to t.
7207
7208 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7209
7210 * calendar/todo-mode.el: Add command to rename todo files.
7211 (todo-rename-file): New command.
7212 (todo-key-bindings-t): Add key binding for it. Change the
7213 bindings of todo-filter-regexp-items(-multifile) to use `x'
7214 instead of `r', since the latter is better suited to the new
7215 renaming command.
7216
7217 2013-07-27 Alan Mackenzie <acm@muc.de>
7218
7219 Make Java try-with-resources statement parse properly.
7220 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7221 (c-block-stmt-1-2-key): New language constants/variables.
7222 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7223 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7224 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7225 with c-block-stmt-1-2-key.
7226
7227 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * desktop.el (desktop--make-frame): Apply most frame parameters after
7230 creating the frame to force (partially or totally) offscreen frames to
7231 be restored as such.
7232
7233 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7234
7235 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7236 (Bug#14948)
7237
7238 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7241 `base' arg of backtrace-frame.
7242
7243 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7244
7245 * simple.el (list-processes): Doc fix.
7246
7247 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7248
7249 * desktop.el (desktop--select-frame):
7250 Try harder to reuse existing frames.
7251
7252 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7253
7254 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7255 (edebug-eval): Use backtrace-eval.
7256 (edebug--display, edebug--recursive-edit): Don't let-bind the
7257 edebug-outer-* vars that keep track of variables we locally let-bind.
7258 (edebug-outside-excursion): Don't restore outside values of locally
7259 let-bound vars.
7260 (edebug--display): Use user-error.
7261 (cl-lexical-debug, cl-debug-env): Remove.
7262
7263 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7264
7265 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7266 are restored to be sure that they are visible before deleting any
7267 remaining ones.
7268
7269 2013-07-26 Matthias Meulien <orontee@gmail.com>
7270
7271 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7272 vc-print-root-log. (Bug#14948)
7273
7274 2013-07-26 Richard Stallman <rms@gnu.org>
7275
7276 Add aliases for encrypting mail.
7277 * epa.el (epa-mail-aliases): New option.
7278 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7279 Bind inhibit-read-only so read-only text doesn't ruin everything.
7280 (epa-mail-default-recipients): New subroutine broken out.
7281 Handle epa-mail-aliases.
7282
7283 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 Add support for lexical variables to the debugger's `e' command.
7286 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7287 vars, except for debugger-outer-match-data.
7288 (debugger-frame-number): Move check for "on a function call" from
7289 callers into it. Add `skip-base' argument.
7290 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7291 (debugger-env-macro): Only reset the state stored in non-variables,
7292 i.e. current-buffer and match-data.
7293 (debugger-eval-expression): Rewrite using backtrace-eval.
7294 * subr.el (internal--called-interactively-p--get-frame): Remove.
7295 (called-interactively-p):
7296 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7297 `base' arg of backtrace-frame instead.
7298
7299 2013-07-26 Glenn Morris <rgm@gnu.org>
7300
7301 * align.el (align-regexp): Doc fix. (Bug#14857)
7302 (align-region): Explicit error if subexpression missing/does not match.
7303
7304 * simple.el (global-visual-line-mode):
7305 Do not duplicate the mode lighter. (Bug#14858)
7306
7307 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7308
7309 * window.el (display-buffer): In display-buffer bind
7310 split-window-keep-point to t, bug#14829.
7311
7312 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7313
7314 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7315 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7316 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7317 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7318 Change accordingly.
7319 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7320 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7321
7322 2013-07-25 Glenn Morris <rgm@gnu.org>
7323
7324 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7325
7326 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7327
7328 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7329 parameter to modify-frame-parameters if the value has not changed;
7330 this is a workaround for bug#14949.
7331 (desktop--make-frame): On cl-delete-if call, check parameter name,
7332 not full parameter.
7333
7334 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7335
7336 * vc/vc.el (vc-ignore): New function.
7337
7338 * vc/vc-svn.el (vc-svn-ignore): New function.
7339
7340 * vc/vc-hg.el (vc-hg-ignore): New function.
7341
7342 * vc/vc-git.el (vc-git-ignore): New function.
7343
7344 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7345 (vc-dir-ignore): New function.
7346
7347 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7348 (cvs-append-to-ignore): Move here from pcvs.el.
7349
7350 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7351
7352 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7353
7354 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7355
7356 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7357 (desktop-restore-frames): Warn when deleting an existing frame failed.
7358
7359 2013-07-24 Glenn Morris <rgm@gnu.org>
7360
7361 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7362
7363 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7364
7365 * filenotify.el (file-notify-supported-p):
7366 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7367 Remove functions.
7368
7369 * autorevert.el (auto-revert-use-notify):
7370 (auto-revert-notify-add-watch):
7371 * net/tramp.el (tramp-file-name-for-operation):
7372 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7373 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7374 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7375 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7376 Remove `file-notify-supported-p' entry.
7377
7378 2013-07-24 Glenn Morris <rgm@gnu.org>
7379
7380 * printing.el: Replace all uses of deleted ps-windows-system,
7381 ps-lp-system, ps-flatten-list with lpr- versions.
7382
7383 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7386 checked with memq (bug#14935).
7387
7388 * files.el (revert-buffer-function): Use a non-nil default.
7389 (revert-buffer-preserve-modes): Declare var to
7390 provide access to the `preserve-modes' argument.
7391 (revert-buffer): Let-bind it.
7392 (revert-buffer--default): New function, extracted from revert-buffer.
7393
7394 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * lpr.el: Signal print errors more prominently.
7397 (print-region-function): Don't default to nil.
7398 (lpr-print-region): New function, extracted from print-region-1.
7399 Check lpr's return value and signal an error in case of problem.
7400 (print-region-1): Use it.
7401 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7402 versions instead.
7403 (ps-printer-name): Default to nil.
7404 (ps-printer-name-option): Default to lpr-printer-switch.
7405 (ps-print-region-function): Don't default to nil.
7406 (ps-postscript-code-directory): Simplify default.
7407 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7408 (ps-string-list, ps-eval-switch, ps-flatten-list)
7409 (ps-flatten-list-1): Remove.
7410 (ps-multibyte-buffer): Avoid setq.
7411 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7412 (print-region-function, ps-print-region-function): Don't set them here.
7413
7414 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7415
7416 * ido.el (ido-fractionp):
7417 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7418 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7419 (ido-max-directory-size, ido-max-dir-file-cache)
7420 (ido-decorations): Doc fix.
7421
7422 * ansi-color.el: Fix old URL.
7423
7424 2013-07-23 Michael R. Mauger <michael@mauger.com>
7425
7426 * progmodes/sql.el: Version 3.3
7427 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7428 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7429 (sql-interactive-remove-continuation-prompt): Rewrite, use
7430 functions above. Fix continuation prompt and complete output line
7431 handling.
7432 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7433 redirected output buffer.
7434 (sql-mode): Restore deleted code (Bug#13591).
7435
7436 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7437
7438 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7439
7440 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7441
7442 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7443
7444 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7446 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7447
7448 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7449
7450 * desktop.el (desktop-clear): Simplify; remove useless checks
7451 against invalid buffer names.
7452 (desktop-list*): Use cl-list*.
7453 (desktop-buffer-info, desktop-create-buffer): Simplify.
7454
7455 2013-07-23 Leo Liu <sdl.web@gmail.com>
7456
7457 * bookmark.el (bookmark-make-record): Restore NAME as a default
7458 value. (Bug#14933)
7459
7460 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7463 extracted from autoload--insert-text.
7464 (autoload--insert-text): Remove.
7465 (autoload--print-cookie-text): New function, extracted from
7466 autoload--insert-cookie-text.
7467 (autoload--insert-cookie-text): Remove.
7468 (autoload-generate-file-autoloads): Adjust calls accordingly.
7469
7470 * winner.el (winner-hook-installed-p): Remove.
7471 (winner-mode): Simplify accordingly.
7472
7473 * subr.el (add-to-list): Fix compiler-macro when `append' is
7474 not constant. Don't use `cl-member' for the base case.
7475
7476 * progmodes/subword.el: Fix boundary case (bug#13758).
7477 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7478 own group.
7479 (subword-backward-regexp): Make it a constant.
7480 (subword-forward-internal): Don't treat a trailing capital as the
7481 beginning of a word.
7482
7483 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7484
7485 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7486 global value of tabulated-list-revert-hook (bug#14930).
7487
7488 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * desktop.el: Require 'cl-lib.
7491 (desktop-before-saving-frames-functions): New hook.
7492 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7493 for frames being saved. Rename from desktop--save-minibuffer-frames.
7494 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7495 Do not save frames with non-nil `desktop-dont-save' parameter.
7496 Filter out deleted frames.
7497 (desktop--find-frame): Use cl-find-if.
7498 (desktop--select-frame): Use cl-(first|second|third) to access values
7499 of desktop-mini.
7500 (desktop--make-frame): Use cl-delete-if.
7501 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7502 (desktop-restore-frames): Use cl-(first|second|third) to access values
7503 of desktop-mini. Look for visible frame at the end, not while
7504 restoring frames.
7505
7506 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7507 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7508 Use string-match-p, looking-at-p (bug#14927).
7509
7510 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * desktop.el (desktop-saved-frame-states):
7513 Rename from desktop--saved-states; all users changed.
7514 (desktop-save-frames): Rename from desktop--save-frames.
7515 Do not save state to desktop file.
7516 (desktop-save): Save desktop-saved-frame-states to desktop file
7517 and reset to nil.
7518 (desktop-restoring-frames-p): New function.
7519 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7520 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7521 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7522
7523 * desktop.el: Correctly restore iconified frames.
7524 (desktop--filter-iconified-position): New function.
7525 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7526
7527 2013-07-20 Glenn Morris <rgm@gnu.org>
7528
7529 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7530 Let `message' do the formatting.
7531 (def-gdb-preempt-display-buffer): Add explicit format.
7532
7533 * image-dired.el (image-dired-track-original-file):
7534 Use with-current-buffer.
7535 (image-dired-track-thumbnail): Use with-current-buffer.
7536 Avoid changing point of wrong window.
7537
7538 * image-dired.el (image-dired-track-original-file):
7539 Avoid changing point of wrong window. (Bug#14909)
7540
7541 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7542
7543 * progmodes/gdb-mi.el (gdb-done-or-error):
7544 Guard against "%" in gdb output. (Bug#14127)
7545
7546 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7547
7548 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7549 (Bug#14826)
7550
7551 * international/mule.el (coding-system-iso-2022-flags): Fix last
7552 change.
7553
7554 2013-07-20 Kenichi Handa <handa@gnu.org>
7555
7556 * international/mule.el (coding-system-iso-2022-flags):
7557 Add `8-bit-level-4'. (Bug#8522)
7558
7559 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7560
7561 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7562 (bug#14815).
7563
7564 * net/eww.el (eww-process-text-input): Allow inputting when the
7565 point is at the start of the line, as the properties aren't
7566 front-sticky.
7567
7568 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7569 degenerate widths.
7570
7571 2013-07-19 Richard Stallman <rms@gnu.org>
7572
7573 * epa.el (epa-popup-info-window): Doc fix.
7574
7575 * subr.el (split-string): New arg TRIM.
7576
7577 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7578
7579 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7580 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7581
7582 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7583
7584 * filenotify.el (file-notify--library): Rename from
7585 `file-notify-support'. Do not autoload. Adapt all uses.
7586 (file-notify-supported-p): New defun.
7587
7588 * autorevert.el (auto-revert-use-notify):
7589 Use `file-notify-supported-p' instead of `file-notify-support'.
7590 Adapt docstring.
7591 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7592
7593 * net/tramp.el (tramp-file-name-for-operation):
7594 Add `file-notify-supported-p'.
7595
7596 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7597 New defun.
7598 (tramp-sh-file-name-handler-alist): Add it as handler for
7599 `file-notify-supported-p '.
7600
7601 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7602 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7603 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7604 Add `ignore' as handler for `file-notify-*' functions.
7605
7606 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7607
7608 * simple.el (line-move-partial, line-move): Don't start vscroll or
7609 scroll-up if the current line is not taller than the window.
7610 (Bug#14881)
7611
7612 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7613
7614 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7615 highlight question marks in the method names as strings.
7616 (ruby-block-beg-keywords): Inline.
7617 (ruby-font-lock-keyword-beg-re): Extract from
7618 `ruby-font-lock-keywords'.
7619
7620 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7621
7622 * frame.el (blink-cursor-blinks): New defcustom.
7623 (blink-cursor-blinks-done): New defvar.
7624 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7625 (blink-cursor-timer-function): Check if number of blinks has been
7626 done on X and NS.
7627 (blink-cursor-suspend, blink-cursor-check): New defuns.
7628
7629 2013-07-15 Glenn Morris <rgm@gnu.org>
7630
7631 * edmacro.el (edmacro-format-keys): Fix previous change.
7632
7633 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7634
7635 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7636 The hack didn't work outside English locales anyway.
7637
7638 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7639
7640 * simple.el (define-alternatives): Rename from alternatives-define,
7641 per RMS' suggestion.
7642
7643 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7644
7645 * desktop.el (desktop-restore-frames): Change default to t.
7646 (desktop-restore-in-current-display): Now offer more options.
7647 (desktop-restoring-reuses-frames): New customization option.
7648 (desktop--saved-states): Doc fix.
7649 (desktop-filter-parameters-alist): New variable, renamed and expanded
7650 from desktop--excluded-frame-parameters.
7651 (desktop--target-display): New variable.
7652 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7653 (desktop--filter-tty*, desktop--filter-*-color)
7654 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7655 (desktop--filter-save-desktop-parm)
7656 (desktop-restore-in-original-display-p): New functions.
7657 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7658 (desktop--save-minibuffer-frames): New function, inspired by a similar
7659 function from Martin Rudalics.
7660 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7661 (desktop--restore-in-this-display-p): Remove.
7662 (desktop--find-frame): Rename from desktop--find-frame-in-display
7663 and add predicate argument.
7664 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7665 (desktop--reuse-list): New variable.
7666 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7667 New functions.
7668 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7669
7670 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7671
7672 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7673
7674 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7675
7676 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7677 Highlight conversion methods on Kernel.
7678
7679 2013-07-13 Alan Mackenzie <acm@muc.de>
7680
7681 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7682 and comment it out. This out-commenting enables certain C++
7683 declarations to be parsed correctly.
7684
7685 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7686
7687 * international/mule.el (define-coding-system): Doc fix.
7688
7689 * simple.el (default-font-height): Don't call font-info if the
7690 frame's default font didn't change since the frame was created.
7691 (Bug#14838)
7692
7693 2013-07-13 Leo Liu <sdl.web@gmail.com>
7694
7695 * ido.el (ido-read-file-name): Guard against non-symbol value.
7696
7697 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7698
7699 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7700 in nested defuns.
7701
7702 2013-07-13 Leo Liu <sdl.web@gmail.com>
7703
7704 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7705 ido-set-matches call. (Bug#6852)
7706
7707 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7708
7709 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7710 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7711 Ruby 2.0.
7712 (ruby-font-lock-keywords): Distinguish calls to functions with
7713 module-like names from module references. Highlight character
7714 literals.
7715
7716 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7717
7718 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7719 (gdb-send): Handle continued commands. (Bug#14847)
7720
7721 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7722
7723 * desktop.el (desktop--v2s): Remove unused local variable.
7724 (desktop-save-buffer): Make defvar-local; adjust docstring.
7725 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7726 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7727
7728 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7729
7730 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7731
7732 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7733
7734 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7735 (Bug#14842)
7736
7737 2013-07-12 Glenn Morris <rgm@gnu.org>
7738
7739 * doc-view.el: Require cl-lib at runtime too.
7740 (doc-view-remove-if): Remove.
7741 (doc-view-search-next-match, doc-view-search-previous-match):
7742 Use cl-remove-if.
7743
7744 * edmacro.el: Require cl-lib at runtime too.
7745 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7746 (edmacro-mismatch, edmacro-subseq): Remove.
7747
7748 * shadowfile.el: Require cl-lib.
7749 (shadow-remove-if): Remove.
7750 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7751 Use cl-remove-if.
7752
7753 * wid-edit.el: Require cl-lib.
7754 (widget-choose): Use cl-remove-if.
7755 (widget-remove-if): Remove.
7756
7757 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7758 (ebrowse-delete-if-not): Remove.
7759 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7760 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7761 Use cl-delete-if-not.
7762
7763 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7764
7765 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7766 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7767
7768 2013-07-12 Leo Liu <sdl.web@gmail.com>
7769
7770 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7771
7772 2013-07-11 Glenn Morris <rgm@gnu.org>
7773
7774 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7775 (edebug-gensym-index, edebug-gensym):
7776 Remove reimplementation of cl-gensym.
7777 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7778
7779 * thumbs.el: Require cl-lib at run-time too.
7780 (thumbs-gensym-counter, thumbs-gensym):
7781 Remove reimplementation of cl-gensym.
7782 (thumbs-temp-file): Use cl-gensym.
7783
7784 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7785 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7786 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7787 (ert--union, ert--gensym-counter, ert--gensym-counter)
7788 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7789 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7790 (ert-make-test-unbound, ert--expand-should-1)
7791 (ert--expand-should, ert--should-error-handle-error)
7792 (should-error, ert--explain-equal-rec)
7793 (ert--plist-difference-explanation, ert-select-tests)
7794 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7795 Use cl-lib functions rather than reimplementations.
7796
7797 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7798
7799 * net/tramp.el (tramp-methods): Extend docstring.
7800 (tramp-connection-timeout): New defcustom.
7801 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7802 (with-tramp-progress-reporter): Simplify.
7803 (tramp-process-actions): Improve messages.
7804
7805 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7806 * net/tramp-sh.el (tramp-maybe-open-connection):
7807 Use `tramp-connection-timeout'.
7808 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7809 (Bug#14808)
7810
7811 2013-07-11 Leo Liu <sdl.web@gmail.com>
7812
7813 * ido.el (ido-read-file-name): Conform to the requirements of
7814 read-file-name. (Bug#11861)
7815 (ido-read-directory-name): Conform to the requirements of
7816 read-directory-name.
7817
7818 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7819
7820 * subr.el (delay-warning): New function.
7821
7822 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7823
7824 * simple.el (default-line-height): New function.
7825 (line-move-partial, line-move): Use it instead of computing the
7826 line height inline.
7827 (line-move-partial): Always compute ROWH. If the last line is
7828 partially-visible, but its text is completely visible, allow
7829 cursor to enter such a partially-visible line.
7830
7831 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7832
7833 Improve error messages. (Bug#14808)
7834
7835 * net/tramp.el (tramp-current-connection): New defvar, moved from
7836 tramp-sh.el.
7837 (tramp-message-show-progress-reporter-message): Remove, not
7838 needed anymore.
7839 (tramp-error-with-buffer): Show message in minibuffer.
7840 Discard input before waiting. Reset connection timestamp.
7841 (with-tramp-progress-reporter): Improve messages.
7842 (tramp-process-actions): Use progress reporter. Delete process in
7843 case of error. Improve messages.
7844
7845 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7846 Call `tramp-error-with-buffer' with vector and buffer.
7847 (tramp-current-connection): Remove.
7848 (tramp-maybe-open-connection): The car of
7849 `tramp-current-connection' are the first 3 slots of the vector.
7850
7851 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7852
7853 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7854 inside continued strings.
7855
7856 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7857
7858 Timestamp fixes for undo (Bug#14824).
7859 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7860
7861 2013-07-10 Leo Liu <sdl.web@gmail.com>
7862
7863 * files.el (require-final-newline): Allow safe local value.
7864 (Bug#14834)
7865
7866 2013-07-09 Leo Liu <sdl.web@gmail.com>
7867
7868 * ido.el (ido-read-directory-name): Handle fallback.
7869 (ido-read-file-name): Update DIR to ido-current-directory.
7870 (Bug#1516)
7871 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7872
7873 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7874
7875 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7876 "autoload". Remove "warn lower camel case" section, previously
7877 commented out. Highlight negation char. Do not highlight the
7878 target in singleton method definitions.
7879
7880 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * faces.el (tty-setup-hook): Declare the hook.
7883
7884 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7885 and detect when a guard/pred depends on local vars (bug#14773).
7886 (pcase--u1): Adjust caller.
7887
7888 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7889
7890 * simple.el (line-move-partial, line-move): Account for
7891 line-spacing.
7892 (line-move-partial): Avoid setting vscroll when the last
7893 partially-visible line in window is of default height.
7894
7895 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7896
7897 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7898 been used a while.
7899
7900 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * subr.el (read-quoted-char): Remove unused local variable `char'.
7903
7904 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7905
7906 * ediff.el (ediff-version): Version update.
7907 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7908 (ediff-merge-with-ancestor-command, ediff-directories-command)
7909 (ediff-directories3-command, ediff-merge-directories-command)
7910 (ediff-merge-directories-with-ancestor-command): New functions.
7911 All are command-line interfaces to ediff: to facilitate calling
7912 Emacs with the appropriate ediff functions invoked.
7913
7914 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7915 (viper-save-kill-buffer): Check if buffer is modified.
7916
7917 * viper.el (viper-version): Version update.
7918 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7919
7920 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7923 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7924 (viper-intercept-ESC-key): Simplify.
7925 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7926 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7927 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7928 (viper-setup-ESC-to-escape): New functions.
7929 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7930 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7931
7932 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7933
7934 * simple.el (default-font-height, window-screen-lines):
7935 New functions.
7936 (line-move, line-move-partial): Use them instead of
7937 frame-char-height and window-text-height. This makes scrolling
7938 text smoother when the buffer's default face uses a font that is
7939 different from the frame's default font.
7940
7941 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7942
7943 * files.el (write-file): Do not display confirm dialog for NS,
7944 it does its own dialog, which can't be canceled (Bug#14578).
7945
7946 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7947
7948 * simple.el (line-move-partial): Adjust the row returned by
7949 posn-at-point for the current window-vscroll. (Bug#14567)
7950
7951 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7952
7953 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7954 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7955 spaces.
7956
7957 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7958
7959 * window.el (window-state-put-stale-windows): New variable.
7960 (window--state-put-2): Save list of windows without matching buffer.
7961 (window-state-put): Remove "bufferless" windows if possible.
7962
7963 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7964
7965 * simple.el (alternatives-define): Remove leftover :group keyword.
7966 Tweak docstring.
7967
7968 2013-07-06 Leo Liu <sdl.web@gmail.com>
7969
7970 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7971 (ido-enable-virtual-buffers): New variable.
7972 (ido-buffer-internal, ido-toggle-virtual-buffers)
7973 (ido-make-buffer-list): Use it.
7974 (ido-exhibit): Support turning on and off virtual buffers
7975 automatically.
7976
7977 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7978
7979 * simple.el (alternatives-define): New macro.
7980
7981 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7982
7983 * subr.el (read-quoted-char): Use read-key.
7984 (sit-for): Let read-event decode tty input (bug#14782).
7985
7986 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7987
7988 * calendar/todo-mode.el: Add handling of file deletion, both by
7989 mode command and externally. Fix various related bugs.
7990 Clarify Commentary and improve some documentation strings and code.
7991 (todo-delete-file): New command.
7992 (todo-check-file): New function.
7993 (todo-show): Handle external deletion of the file we're trying to
7994 show (bug#14688). Replace called-interactively-p by an optional
7995 prefix argument to avoid problematic interaction with catch form
7996 when byte compiled (bug#14702).
7997 (todo-quit): Handle external deletion of the archive's todo file.
7998 Make sure the buffer that was visiting the archive file is still
7999 live before trying to bury it.
8000 (todo-category-completions): Handle external deletion of any
8001 category completion files.
8002 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8003 of todo files, in case of external deletion.
8004 (todo-add-file): Replace unnecessary setq by let-binding.
8005 (todo-find-archive): Check whether there are any archives.
8006 Replace unnecessary setq by let-binding.
8007 (todo-archive-done-item): Use find-file-noselect to get the
8008 archive buffer whether or not the archive already exists.
8009 Remove superfluous code. Use file size instead of buffer-file-name to
8010 check if the archive is new; if it is, update list of archives.
8011 (todo-default-todo-file): Allow nil to be a valid value for when
8012 there are no todo files.
8013 (todo-reevaluate-default-file-defcustom): Use corrected definition
8014 of todo-default-todo-file.
8015 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8016 (todo-delete-category, todo-show-categories-table)
8017 (todo-category-number): Clarify comment.
8018 (todo-filter-items): Clarify documentation string.
8019 (todo-show-current-file, todo-display-as-todo-file)
8020 (todo-reset-and-enable-done-separator): Tweak documentation string.
8021 (todo-done-separator): Make separator length window-width, since
8022 bug#2749 is now fixed.
8023
8024 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8025
8026 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8027 Support both "gvfs-monitor-dir" and "inotifywait".
8028 (tramp-sh-file-inotifywait-process-filter): Rename from
8029 `tramp-sh-file-notify-process-filter'.
8030 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8031 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8032
8033 2013-07-05 Leo Liu <sdl.web@gmail.com>
8034
8035 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8036
8037 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8038
8039 * frame.el (display-pixel-height, display-pixel-width)
8040 (display-mm-height, display-mm-width): Mention behavior on
8041 multi-monitor setups in docstrings.
8042 (w32-display-monitor-attributes-list): Declare function.
8043 (display-monitor-attributes-list): Use it.
8044
8045 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8046
8047 * filenotify.el: New package.
8048
8049 * autorevert.el (top): Require filenotify.el.
8050 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8051 instead.
8052 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8053 (auto-revert-notify-handler): Use `file-notify-*' functions.
8054
8055 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8056
8057 * net/tramp.el (tramp-file-name-for-operation):
8058 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8059
8060 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8061 for `file-notify-add-watch' and `file-notify-rm-watch'.
8062 (tramp-process-sentinel): Improve trace.
8063 (tramp-sh-handle-file-notify-add-watch)
8064 (tramp-sh-file-notify-process-filter)
8065 (tramp-sh-handle-file-notify-rm-watch)
8066 (tramp-get-remote-inotifywait): New defuns.
8067
8068 2013-07-03 Juri Linkov <juri@jurta.org>
8069
8070 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8071 call of `occur-read-primary-args' to interactive spec.
8072
8073 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8074 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8075
8076 2013-07-03 Matthias Meulien <orontee@gmail.com>
8077
8078 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8079 `Buffer-menu-multi-occur'. Add it to the menu.
8080 (Buffer-menu-mode): Document it in docstring.
8081 (Buffer-menu-multi-occur): New command. (Bug#14673)
8082
8083 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8084
8085 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8086 keywords and built-ins.
8087
8088 2013-07-03 Glenn Morris <rgm@gnu.org>
8089
8090 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8091
8092 Make info-xref checks case-sensitive by default
8093 * info.el (Info-find-node, Info-find-in-tag-table)
8094 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8095 Add option for exact case matching of nodes.
8096 * info-xref.el (info-xref): New custom group.
8097 (info-xref-case-fold): New option.
8098 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8099
8100 2013-07-03 Leo Liu <sdl.web@gmail.com>
8101
8102 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8103
8104 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8105
8106 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8107 middle of block statement initially, lower the depth. Remove
8108 FIXME comment, not longer valid. Remove middle of block statement
8109 detection, no need to do that anymore since we've been using
8110 `ruby-parse-region' here.
8111
8112 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8113
8114 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8115
8116 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8117
8118 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8119
8120 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8121
8122 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8123 (desktop-restore-in-current-display): New customization option.
8124 (desktop--excluded-frame-parameters): Add `font'.
8125 (desktop--save-frames): Rename from desktop--save-windows.
8126 (desktop--restore-in-this-display-p): New function.
8127 (desktop--make-full-frame): Remove unwanted width/height from
8128 full(width|height) frames.
8129 (desktop--restore-frames): Rename from desktop--restore-windows.
8130 Obey desktop-restore-current-display. Do not delete old frames or
8131 select a new frame unless we were able to restore at least one frame.
8132
8133 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8134
8135 * files.el (find-file-noselect): Simplify conditional expression.
8136
8137 * textmodes/remember.el (remember-append-to-file):
8138 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8139
8140 Add `remember-notes' function to store random notes across Emacs
8141 restarts.
8142 * textmodes/remember.el (remember-data-file): Add :set callback to
8143 affect notes buffer (if any).
8144 (remember-notes): New command.
8145 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8146 New defcustoms for the `remember-notes' function.
8147 (remember-notes-save-and-bury-buffer): New command.
8148 (remember-notes-mode-map): New variable.
8149 (remember-mode): New minor mode.
8150 (remember-notes--kill-buffer-query): New function.
8151 * startup.el (initial-buffer-choice): Add notes to custom type.
8152
8153 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8154
8155 * bindings.el (right-char, left-char): Don't call sit-for, this is
8156 no longer needed. Use arithmetic comparison only for numerical
8157 arguments.
8158
8159 * international/mule-cmds.el (select-safe-coding-system):
8160 Handle the case of FROM being a string correctly. (Bug#14755)
8161
8162 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8163
8164 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8165 progression on degenerate tables.
8166 (shr-rescale-image): ImageMagick animated images currently don't work.
8167
8168 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8169
8170 Some fixes and improvements for desktop frame restoration.
8171 It is still experimental and disabled by default.
8172 * desktop.el (desktop--save-windows): Put the selected frame at
8173 the head of the list.
8174 (desktop--make-full-frame): New function.
8175 (desktop--restore-windows): Try to re-select the frame that was
8176 selected upon saving. Do not abort if some frames fail to restore,
8177 just show an error message and continue. Set up maximized frames
8178 so they have default non-maximized dimensions.
8179
8180 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8181
8182 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8183 Don't start heredoc inside a string or comment.
8184
8185 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8186
8187 * bindings.el (visual-order-cursor-movement): New defcustom.
8188 (right-char, left-char): Provide visual-order cursor motion by
8189 calling move-point-visually. Update the doc strings.
8190
8191 2013-06-28 Kenichi Handa <handa@gnu.org>
8192
8193 * international/mule.el (define-coding-system): New coding system
8194 properties :inhibit-null-byte-detection,
8195 :inhibit-iso-escape-detection, and :prefer-utf-8.
8196 (set-buffer-file-coding-system): If :charset-list property of
8197 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8198 appropriate for setting.
8199
8200 * international/mule-cmds.el (select-safe-coding-system):
8201 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8202 multibyte characters, return utf-8 (or one of its siblings).
8203
8204 * international/mule-conf.el (prefer-utf-8): New coding system.
8205 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8206 files.
8207
8208 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8209
8210 * net/shr.el (shr-render-region): New function.
8211
8212 * net/eww.el: Autoload `eww-browse-url'.
8213
8214 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8215
8216 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8217 Adapt to `package-desc-version' being a list.
8218 Use `package--ac-desc-version' to retrieve version from a package
8219 archive element.
8220
8221 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8222
8223 New experimental feature to save&restore window and frame setup.
8224 * desktop.el (desktop-save-windows): New defcustom.
8225 (desktop--saved-states): New var.
8226 (desktop--excluded-frame-parameters): New defconst.
8227 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8228 (desktop--restore-windows, desktop--save-windows): New functions.
8229 (desktop-save): Call `desktop--save-windows'.
8230 (desktop-read): Call `desktop--restore-windows'.
8231
8232 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8233
8234 * net/shr.el (add-face-text-property): Remove compat definition.
8235
8236 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8237
8238 * info.el (Info-try-follow-nearest-node): Move search for footnote
8239 above search for node name to prevent missing a footnote (bug#14717).
8240
8241 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8242
8243 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8244
8245 2013-06-27 Leo Liu <sdl.web@gmail.com>
8246
8247 * net/eww.el (eww-read-bookmarks): Check file size.
8248
8249 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8250
8251 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8252 advice--pending if newdef is nil or an autoload (bug#13820).
8253 (advice-mapc): New function.
8254
8255 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8256
8257 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8258 probably.
8259 (eww-mode-map): Add a menu bar.
8260 (eww-add-bookmark): New command.
8261 (eww-bookmark-mode): New mode and commands.
8262 (eww-add-bookmark): Remove newlines from the title.
8263 (eww-bookmark-browse): Don't bug out if it's the only window.
8264
8265 2013-06-26 Glenn Morris <rgm@gnu.org>
8266
8267 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8268 (hfy-size): Handle ttys. (Bug#14668)
8269
8270 * info-xref.el: Update for Texinfo 5 change in *note format.
8271 (info-xref-node-re, info-xref-note-re): New constants.
8272 (info-xref-check-buffer): Use info-xref-note-re.
8273
8274 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8277
8278 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8279 nil terminate the loop (bug#14718).
8280
8281 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8282
8283 * net/eww.el: Rework history traversal. When going forward/back,
8284 put these actions into the history, too, so that they can be
8285 replayed.
8286 (eww-render): Move the history reset to the correct buffer.
8287
8288 2013-06-25 Juri Linkov <juri@jurta.org>
8289
8290 * files-x.el (modify-dir-local-variable): Change the header comment
8291 in the file with directory local variables. (Bug#14692)
8292
8293 * files-x.el (read-file-local-variable-value): Add `default'.
8294 (Bug#14710)
8295
8296 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8297
8298 * net/eww.el (eww-make-unique-file-name): Create a unique file
8299 name before saving to entering `y' accidentally asynchronously.
8300
8301 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8302
8303 * net/eww.el (eww-download): New command and keystroke.
8304
8305 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
8307 * net/eww.el (eww-copy-page-url): Change name of command.
8308
8309 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8310 be more consistent with Info and dired.
8311
8312 * net/eww.el (eww-mode-map): Ditto.
8313
8314 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8315
8316 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8317 packages from archives.
8318 (package-archive-contents): Change format; include obsolete packages.
8319 (package-desc): Use `dir' to mark builtin packages.
8320 (package--from-builtin): Set the `dir' field to `builtin'.
8321 (generated-autoload-file, version-control): Declare.
8322 (package-compute-transaction): Change first arg and return value to be
8323 lists of package-descs. Adjust to new package-archive-contents format.
8324 (package--add-to-archive-contents): Adjust to new
8325 package-archive-contents format.
8326 (package-download-transaction): Arg is now a list of package-descs.
8327 (package-install): If `pkg' is a package name, pass it as
8328 a requirement, so it is subject to the usual (e.g. disabled) checks.
8329 (describe-package): Accept package-desc as well.
8330 (describe-package-1): Describe a specific package-desc. Add links to
8331 other package-descs for the same package name.
8332 (package-menu-describe-package): Pass the actual package-desc.
8333 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8334 works correctly.
8335 (package-desc-status): New function.
8336 (package-menu--refresh): New function, extracted
8337 from package-menu--generate.
8338 (package-menu--generate): Use it.
8339 (package-delete): Update package-alist.
8340 (package-menu-execute): Don't call package-initialize.
8341
8342 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8343 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8344 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8345 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8346 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8347 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8348
8349 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8350
8351 * window.el (window--state-get-1): Workaround for bug#14527.
8352 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8353
8354 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8355
8356 * net/eww.el (eww-back-url): Implement the history by stashing all
8357 the data into a list.
8358 (eww-forward-url): Allow going forward in the history, too.
8359
8360 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8363 for values and use read--expression for expressions (bug#14710).
8364 (read-file-local-variable): Avoid setq.
8365 (read-file-local-variable-mode): Use minor-mode-list.
8366
8367 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8368
8369 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8370 for DOI URLs.
8371
8372 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8373
8374 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8375 Update imenu-support when dialect changes.
8376
8377 2013-06-25 Leo Liu <sdl.web@gmail.com>
8378
8379 * ido.el (ido-read-internal): Allow forward slash on windows.
8380
8381 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8382
8383 * net/eww.el (eww): Start of strings is \\`, not ^.
8384
8385 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8386
8387 * net/shr.el (shr-browse-url): Fix interactive spec.
8388
8389 * net/eww.el (eww): Add a trailing slash to domain names.
8390
8391 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8394
8395 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8396
8397 * net/shr.el (shr-browse-url): Use an external browser if given a
8398 prefix.
8399
8400 * net/eww.el (eww-external-browser): Move to shr.
8401
8402 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8403
8404 * net/eww.el (eww): Work more correctly for file: URLs.
8405 (eww-detect-charset): Allow quoted charsets.
8406 (eww-yank-page-url): New command and keystroke.
8407
8408 2013-06-24 Daiki Ueno <ueno@gnu.org>
8409
8410 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8411 file name of gpg executable.
8412 (epg-context-program): New function.
8413 (epg-context-home-directory): New function.
8414 (epg-context-set-program): New function.
8415 (epg-context-set-home-directory): New function.
8416 (epg--start): Use `epg-context-program' instead of
8417 'epg-gpg-program'.
8418 (epg--list-keys-1): Likewise.
8419
8420 2013-06-24 Leo Liu <sdl.web@gmail.com>
8421
8422 * ido.el (ido-read-internal): Fix bug#14620.
8423
8424 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8425
8426 * faces.el (face-documentation): Simplify.
8427 (read-face-attribute, tty-find-type, x-resolve-font-name):
8428 Use `string-match-p'.
8429 (list-faces-display): Use `string-match-p'. Simplify.
8430 (face-spec-recalc): Check face to avoid face alias loops.
8431 (read-color): Use `string-match-p' and non-capturing parenthesis.
8432
8433 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8434
8435 * net/shr.el (shr-rescale-image): Use the new
8436 :max-width/:max-height functionality.
8437
8438 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8439
8440 * net/eww.el (eww-search-prefix): New variable.
8441 (eww): Use it.
8442 (eww-external-browser): New variable.
8443 (eww-mode-map): New keystroke.
8444 (eww-browse-with-external-browser): New command.
8445
8446 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8447
8448 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8451 Don't skip aligning the next header field when padding is 0;
8452 otherwise, field width is not respected unless the title is as
8453 wide as the field.
8454
8455 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * emacs-lisp/package.el (package-el-version): Remove.
8458 (package-process-define-package): Fix inf-loop.
8459 (package-install): Allow symbols as arguments again.
8460
8461 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8462
8463 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8464 add some more keyword-like methods.
8465 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8466
8467 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8468
8469 * bs.el (bs-buffer-show-mark): Make defvar-local.
8470 (bs-mode): Use setq-local.
8471
8472 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8473 (emacs-lock--try-unlocking): Make defvar-local.
8474
8475 2013-06-22 Glenn Morris <rgm@gnu.org>
8476
8477 * play/cookie1.el (cookie-apropos): Minor simplification.
8478
8479 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8480
8481 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8482
8483 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8484 `regexp-opt', it breaks the build during dumping.
8485
8486 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8487
8488 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8489 Highlight keyword-like methods on Kernel and Module with
8490 font-lock-builtin-face.
8491 (auto-mode-alist): Consolidate different entries into one regexp
8492 and add more *file-s.
8493
8494 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8495
8496 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8497
8498 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8499 (diary-entry): Use it in the action of this button type instead of
8500 diary-goto-entry.
8501
8502 * calendar/todo-mode.el: New version.
8503 (todo-add-category): Append new category to end of file and give
8504 it the highest number, instead of putting it at the beginning and
8505 giving it 0. Incorporate noninteractive functionality.
8506 (todo-forward-category): Adapt to 1-based category numbering.
8507 Allow skipping over archived categories.
8508 (todo-backward-category): Derive from todo-forward-category.
8509 (todo-backward-item, todo-forward-item): Make noninteractive and
8510 delegate interactive part to new commands. Make sensitive to done items.
8511 (todo-categories): Make value an alist of category names and
8512 vectors of item counts.
8513 (todo-category-beg): Make a defconst.
8514 (todo-category-number): Use 1 instead of 0 as initial value.
8515 (todo-category-select): Make sensitive to overlays, optional item
8516 highlighting and done items.
8517 (todo-delete-item): Make sensitive to overlays and marked and done items.
8518 (todo-edit-item): Make sensitive to overlays and editing of
8519 date/time header optional. Add format checks.
8520 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8521 no-op if point is not on an item. Advertise using todo-edit-quit.
8522 (todo-edit-mode): Make sensitive to new format, font-locking, and
8523 multiple todo files.
8524 (todo-insert-item, todo-insert-item-here): Derive from
8525 todo-basic-insert-item and extend functionality.
8526 (todo-item-end, todo-item-start): Make sensitive to done items.
8527 (todo-item-string): Don't return text properties. Restore point.
8528 (todo-jump-to-category): Make sensitive to multiple todo files and
8529 todo archives. Use extended category completion.
8530 (todo-lower-item, todo-raise-item): Rename to *-priority and
8531 derive from todo-set-item-priority.
8532 (todo-mode): Derive from special-mode. Make sensitive to new
8533 format, font-locking and multiple todo files. Make read-only.
8534 (todo-mode-map): Don't suppress digit keys, so they can supply
8535 prefix arguments. Add many new key bindings.
8536 (todo-prefix): Insert as an overlay instead of file text.
8537 Change semantics from diary date expression to purely visual mark.
8538 (todo-print): Rename to todo-print-buffer. Make buffer display
8539 features printable. Remove option to restrict number of items
8540 printed. Add option to print to file.
8541 (todo-print-function): Rename to todo-print-buffer-function.
8542 (todo-quit): Extend to handle exiting new todo modes.
8543 (todo-remove-item): Make sensitive to overlays.
8544 (todo-save): Extend to buffers of filtered items.
8545 (todo-show): Make sensitive to done items, multiple todo files and
8546 new todo modes. Offer to convert legacy todo file before creating
8547 first new todo file.
8548 (todo-show-priorities): Rename to todo-top-priorities.
8549 Change semantics of value 0.
8550 (todo-top-priorities): Rename to todo-filter-top-priorities,
8551 derive from todo-filter-items and extend functionality.
8552 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8553 and extend functionality to other types of filtered items.
8554 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8555 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8556 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8557 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8558 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8559 (todo-edit-mode-hook, todo-entry-prefix-function)
8560 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8561 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8562 (todo-initials, todo-insert-threshold, todo-item-string-start)
8563 (todo-line-string, todo-menu, todo-mode-hook)
8564 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8565 (todo-print-priorities, todo-remove-separator)
8566 (todo-save-top-priorities-too, todo-string-count-lines)
8567 (todo-string-multiline-p, todo-time-string-format)
8568 (todo-tmp-buffer-name): Remove.
8569 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8570 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8571 (todo-edit-category-diary-inclusion)
8572 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8573 (todo-edit-file, todo-edit-item-date-day)
8574 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8575 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8576 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8577 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8578 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8579 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8580 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8581 (todo-filter-top-priorities-multifile, todo-find-archive)
8582 (todo-find-filtered-items-file, todo-go-to-source-item)
8583 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8584 (todo-jump-to-archive-category, todo-lower-category)
8585 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8586 (todo-move-category, todo-move-item, todo-next-button)
8587 (todo-next-item, todo-padded-string, todo-powerset)
8588 (todo-previous-button, todo-previous-item)
8589 (todo-print-buffer-to-file, todo-raise-category)
8590 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8591 (todo-set-category-number, todo-set-item-priority)
8592 (todo-set-top-priorities-in-category)
8593 (todo-set-top-priorities-in-file, todo-show-categories-table)
8594 (todo-sort-categories-alphabetically-or-numerically)
8595 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8596 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8597 (todo-toggle-item-header, todo-toggle-item-highlighting)
8598 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8599 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8600 (todo-unarchive-items, todo-unmark-category): New commands.
8601 (todo-absolute-file-name, todo-add-to-buffer-list)
8602 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8603 (todo-basic-insert-item, todo-category-completions)
8604 (todo-category-number, todo-category-string-matcher-1)
8605 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8606 (todo-check-format, todo-clear-matches)
8607 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8608 (todo-current-category, todo-date-string-matcher)
8609 (todo-define-insertion-command, todo-diary-expired-matcher)
8610 (todo-diary-goto-entry, todo-diary-item-p)
8611 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8612 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8613 (todo-done-item-section-p, todo-done-separator)
8614 (todo-done-string-matcher, todo-files, todo-filter-items)
8615 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8616 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8617 (todo-insert-category-line, todo-insert-item-from-calendar)
8618 (todo-insert-sort-button, todo-insert-with-overlays)
8619 (todo-insertion-command-name, todo-insertion-key-bindings)
8620 (todo-label-to-key, todo-longest-category-name-length)
8621 (todo-make-categories-list, todo-mode-external-set)
8622 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8623 (todo-modes-set-3, todo-multiple-filter-files)
8624 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8625 (todo-read-category, todo-read-date, todo-read-dayname)
8626 (todo-read-file-name, todo-read-time)
8627 (todo-reevaluate-category-completions-files-defcustom)
8628 (todo-reevaluate-default-file-defcustom)
8629 (todo-reevaluate-filelist-defcustoms)
8630 (todo-reevaluate-filter-files-defcustom)
8631 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8632 (todo-reset-done-separator, todo-reset-done-separator-string)
8633 (todo-reset-done-string, todo-reset-global-current-todo-file)
8634 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8635 (todo-reset-prefix, todo-set-categories)
8636 (todo-set-date-from-calendar, todo-set-show-current-file)
8637 (todo-set-top-priorities, todo-short-file-name)
8638 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8639 (todo-total-item-counts, todo-update-buffer-list)
8640 (todo-update-categories-display, todo-update-categories-sexp)
8641 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8642 New functions.
8643 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8644 New major modes.
8645 (todo-categories, todo-display, todo-edit, todo-faces)
8646 (todo-filtered): New defgroups.
8647 (todo-archived-only, todo-button, todo-category-string, todo-date)
8648 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8649 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8650 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8651 (todo-add-item-if-new-category, todo-always-add-time-string)
8652 (todo-categories-align, todo-categories-archived-label)
8653 (todo-categories-category-label, todo-categories-diary-label)
8654 (todo-categories-done-label, todo-categories-number-separator)
8655 (todo-categories-todo-label, todo-categories-totals-label)
8656 (todo-category-completions-files, todo-completion-ignore-case)
8657 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8658 (todo-done-separator-string, todo-done-string)
8659 (todo-files-function, todo-filter-done-items, todo-filter-files)
8660 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8661 (todo-initial-category, todo-initial-file, todo-item-mark)
8662 (todo-legacy-date-time-regexp, todo-mode-line-function)
8663 (todo-nondiary-marker, todo-number-prefix)
8664 (todo-print-buffer-function, todo-show-current-file)
8665 (todo-show-done-only, todo-show-first, todo-show-with-done)
8666 (todo-skip-archived-categories, todo-top-priorities-overrides)
8667 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8668 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8669 New defcustoms.
8670 (todo-category-done, todo-date-pattern, todo-date-string-start)
8671 (todo-diary-items-buffer, todo-done-string-start)
8672 (todo-filtered-items-buffer, todo-item-start)
8673 (todo-month-abbrev-array, todo-month-name-array)
8674 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8675 (todo-top-priorities-buffer): New defconsts.
8676 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8677 (todo-categories-with-marks, todo-category-string-face)
8678 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8679 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8680 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8681 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8682 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8683 (todo-font-lock-keywords, todo-global-current-todo-file)
8684 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8685 (todo-insertion-commands-args)
8686 (todo-insertion-commands-args-genlist)
8687 (todo-insertion-commands-names, todo-insertion-map)
8688 (todo-key-bindings-t, todo-key-bindings-t+a)
8689 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8690 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8691 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8692 (todo-visited): New variables.
8693
8694 2013-06-21 Glenn Morris <rgm@gnu.org>
8695
8696 * play/cookie1.el (cookie-apropos): Add optional display argument.
8697 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8698 (psychoanalyze-pinhead): Use cookie-doctor.
8699
8700 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * emacs-lisp/package.el (tar-get-file-descriptor)
8703 (tar--extract): Declare.
8704
8705 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8706
8707 Extend flymake's warning predicate to be a function (bug#14217).
8708 * progmodes/flymake.el (flymake-warning-predicate): New.
8709 (flymake-parse-line): Use it.
8710 (flymake-warning-re): Make obsolete alias to
8711 `flymake-warning-predicate'.
8712
8713 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8714
8715 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8716 (package-obsolete-list): Remove.
8717 (package-activate): Remove min-version argument. Add `force' argument.
8718 Adjust to new package-alist format.
8719 (package-mark-obsolete): Remove.
8720 (package-unpack): Force reload of the package's autoloads.
8721 (package-installed-p): Check builtins if the installed package is not
8722 recent enough.
8723 (package-initialize): Don't reset package-obsolete-list.
8724 Don't specify which package version to activate.
8725 (package-process-define-package, describe-package-1)
8726 (package-menu--generate): Adjust to new package-alist format.
8727
8728 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8729
8730 * allout-widgets.el (allout-widgets-mode-off)
8731 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8732 (allout-widgets-post-command-business)
8733 (allout-widgets-after-copy-or-kill-function)
8734 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8735 (allout-decorate-item-and-context)
8736 (allout-graphics-modification-handler): Fix typos in docstrings.
8737 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8738
8739 * cmuscheme.el (scheme-start-file): Doc fix.
8740 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8741 (scheme-input-filter): Use `string-match-p'.
8742
8743 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8744
8745 * dired-x.el: Use Dired consistently in docstrings.
8746
8747 * dired.el: Use Dired consistently in docstrings.
8748 (dired-readin, dired-mode): Use `setq-local'.
8749 (dired-switches-alist): Make defvar-local.
8750 (dired-buffers-for-dir): Use `zerop'.
8751 (dired-safe-switches-p, dired-switches-escape-p)
8752 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8753 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8754 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8755 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8756 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8757 (dired-toggle-marks, dired-mark-files-containing-regexp)
8758 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8759 (dired-flag-auto-save-files, dired-flag-backup-files):
8760 Use `looking-at-p'.
8761 (dired-mark-files-regexp, dired-build-subdir-alist):
8762 Use `string-match-p', `looking-at-p'.
8763
8764 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8765 (direct-print-region-helper): Use `string-match-p'.
8766
8767 2013-06-21 Leo Liu <sdl.web@gmail.com>
8768
8769 * comint.el (comint-redirect-results-list-from-process):
8770 Fix infinite loop.
8771
8772 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773
8774 * net/eww.el (eww-update-header-line-format): Quote % characters.
8775
8776 2013-06-21 Glenn Morris <rgm@gnu.org>
8777
8778 * play/cookie1.el (cookie): New custom group.
8779 (cookie-file): New option.
8780 (cookie-check-file): New function.
8781 (cookie): Make it interactive. Make start and end messages optional.
8782 Interactively, display the result. Default to cookie-file.
8783 (cookie-insert): Default to cookie-file.
8784 (cookie-snarf): Make start and end messages optional.
8785 Default to cookie-file. Use with-temp-buffer.
8786 (cookie-read): Rename from read-cookie.
8787 Make start and end messages optional. Default to cookie-file.
8788 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8789 Do not autoload it.
8790 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8791 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8792
8793 2013-06-21 Leo Liu <sdl.web@gmail.com>
8794
8795 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8796
8797 2013-06-21 Glenn Morris <rgm@gnu.org>
8798
8799 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8800
8801 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8802 Daniel Hackney <dan@haxney.org>
8803
8804 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8805 Consolidate the single-file vs tarball code.
8806 (package-desc-suffix): New function.
8807 (package-desc-full-name): Don't bother inlining it.
8808 (package-load-descriptor): Return the new package-desc.
8809 (package-mark-obsolete): Remove unused arg `package'.
8810 (package-unpack): Make it work for single files as well.
8811 Make it update package-alist.
8812 (package--make-autoloads-and-stuff): Rename from
8813 package--make-autoloads-and-compile. Don't compile any more.
8814 (package--compile): New function.
8815 (package-generate-description-file): New function, extracted from
8816 package-unpack-single.
8817 (package-unpack-single): Remove.
8818 (package--with-work-buffer): Add indentation and debugging info.
8819 (package-download-single): Remove.
8820 (package-install-from-archive): Rename from package-download-tar, make
8821 it take a pkg-desc, and make it work for single files as well.
8822 (package-download-transaction): Simplify.
8823 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8824 external tar program.
8825 (package-install-from-buffer): Remove `pkg-desc' argument.
8826 Use package-tar-file-info for tar-mode buffers.
8827 (package-install-file): Simplify accordingly.
8828 (package-archive-base): Change to take a pkg-desc.
8829 * tar-mode.el (tar--check-descriptor): New function, extracted from
8830 tar-get-descriptor.
8831 (tar-get-descriptor): Use it.
8832 (tar-get-file-descriptor): New function.
8833 (tar--extract): New function, extracted from tar-extract.
8834 (tar--extract): Use it.
8835 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8836 case the summary uses non-ascii. Adjust to new calling convention of
8837 package-tar-file-info.
8838
8839 2013-06-21 Leo Liu <sdl.web@gmail.com>
8840
8841 * comint.el (comint-redirect-results-list-from-process):
8842 Fix random delay. (Bug#14681)
8843
8844 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8845
8846 * profiler.el (profiler-format-number): Use log, not log10.
8847
8848 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8849
8850 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8851
8852 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8855 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8856 yet available.
8857 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8858 (AUTOGENEL): ... here.
8859 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8860 (cl--defsubst-expand): Use it.
8861
8862 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8863
8864 * subr.el (log10): Move here from C code, and declare as obsolete.
8865 All uses of (log10 X) replaced with (log X 10).
8866
8867 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8870 Declare with `defvar-local'.
8871 (tabulated-list-use-header-line, tabulated-list-entries)
8872 (tabulated-list-padding, tabulated-list-printer)
8873 (tabulated-list-sort-key): Declare with `defvar-local'.
8874 (tabulated-list-init-header, tabulated-list-print-fake-header):
8875 Use `setq-local'.
8876
8877 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8878
8879 * arc-mode.el (archive-mode): Add `archive-write-file' to
8880 `write-contents-functions' also for remote files. (Bug#14652)
8881
8882 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8883
8884 * cus-edit.el (custom-commands): Fix typos.
8885 (custom-display): Fix tooltip text.
8886 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8887 Fix typos in docstrings.
8888 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8889 (custom-unlispify-menu-entry, custom-magic-value-create)
8890 (custom-add-see-also, custom-group-value-create): Use ?\s.
8891 (custom-guess-type, customize-apropos, editable-field)
8892 (custom-face-value-create): Use `string-match-p'.
8893 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8894
8895 * custom.el (custom-load-symbol): Use `string-match-p'.
8896
8897 * ansi-color.el: Convert to lexical binding.
8898 (ansi-colors): Fix URL.
8899 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8900 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8901 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8902
8903 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904
8905 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8906
8907 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8908
8909 2013-06-19 Tom Tromey <tromey@redhat.com>
8910
8911 * net/eww.el (eww-top-url): Remove.
8912 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8913 (eww-render): Set new variables. Don't set eww-top-url.
8914 (eww-handle-link): Handle "prev", "home", and "contents".
8915 Downcase the rel text.
8916 (eww-top-url): Choose best top URL.
8917
8918 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919
8920 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8921 relying in widget.el. Using widget.el leads to too many
8922 user interface inconsistencies.
8923 (eww-self-insert): Implement entering commands in text fields.
8924 (eww-process-text-input): New function to make text input field editing
8925 work.
8926 (eww-submit): Rewrite to use the new-style form methods.
8927 (eww-select-display): Display the correct selected item.
8928 (eww-change-select): Implement changing the select value.
8929 (eww-toggle-checkbox): Implement radio/checkboxes.
8930 (eww-update-field): Fix compilation error.
8931 (eww-tag-textarea): Implement <textarea>.
8932
8933 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8934 we don't shadow mode-specific bindings.
8935
8936 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8937 nothing to push.
8938
8939 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8940
8941 2013-06-19 Glenn Morris <rgm@gnu.org>
8942
8943 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8944
8945 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8946
8947 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8948 not needed.
8949
8950 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8951
8952 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8953
8954 * net/browse-url.el (browse-url-browser-function):
8955 `eww-browse-url' has the right calling signature, `eww' does not.
8956
8957 2013-06-19 Glenn Morris <rgm@gnu.org>
8958
8959 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8960 Only eval autoloaded macros.
8961 (byte-compile-autoload): Only give the macro warning for macros.
8962
8963 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8964 (ps-underlined-faces): Declare.
8965
8966 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8967 (speedbar-add-supported-extension): Declare.
8968
8969 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8970 Don't include a date stamp in the header of the generated file;
8971 it leads to needless differences between output files.
8972
8973 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/secrets.el (secrets-struct-secret-content-type):
8976 Replace check of introspection data by a test call of "CreateItem".
8977 Some servers do not offer introspection.
8978
8979 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * electric.el (electric-pair-mode): Improve interaction with
8982 electric-layout-mode.
8983 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8984 (electric-pair-syntax): Use text-mode-syntax-table in comments
8985 and strings.
8986 (electric-pair--insert): New function.
8987 (electric-pair-post-self-insert-function): Use it and
8988 electric--after-char-pos.
8989
8990 2013-06-19 Leo Liu <sdl.web@gmail.com>
8991
8992 * progmodes/octave.el (octave-help): Fix regexp.
8993
8994 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8995
8996 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8997 (shr-table-horizontal-line): Allow nil as a value, and change the
8998 default.
8999 (shr-insert-table-ruler): Respect the nil value.
9000
9001 2013-06-18 Tom Tromey <tromey@barimba>
9002
9003 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9004 New defvars.
9005 (eww-open-file): New defun.
9006 (eww-render): Initialize new variables.
9007 (eww-display-html): Handle "link" and "a".
9008 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9009 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9010 (eww-back-url): Rename from eww-previous-url.
9011 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9012 New defuns.
9013
9014 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9015
9016 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9017 Distinguish ternary operator tokens from slash symbol and slash
9018 char literal.
9019
9020 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9021
9022 Convert symbol prettification into minor mode and global minor mode.
9023
9024 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9025 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9026 (prettify-symbols--keywords): Rename from
9027 `prog-prettify-symbols-alist' and make a local defvar.
9028 (prettify-symbols--compose-symbol): Rename from
9029 `prog--prettify-font-lock-compose-symbol'.
9030 (prettify-symbols--make-keywords): Rename from
9031 `prog-prettify-font-lock-symbols-keywords' and simplify.
9032 (prog-prettify-install): Remove.
9033 (prettify-symbols-mode): New minor mode, based on
9034 `prog-prettify-install'.
9035 (turn-on-prettify-symbols-mode): New function.
9036 (global-prettify-symbols-mode): New globalized minor mode.
9037
9038 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9039 * progmodes/cfengine.el (cfengine3-mode):
9040 * progmodes/perl-mode.el (perl-mode): Don't call
9041 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9042
9043 2013-06-18 Juri Linkov <juri@jurta.org>
9044
9045 * files-x.el (modify-file-local-variable-message): New function.
9046 (modify-file-local-variable)
9047 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9048 and call `modify-file-local-variable-message' when it's non-nil.
9049 (add-file-local-variable, delete-file-local-variable)
9050 (add-file-local-variable-prop-line)
9051 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9052 and use it. (Bug#9820)
9053
9054 2013-06-18 Juri Linkov <juri@jurta.org>
9055
9056 * emulation/vi.el (vi-shell-op):
9057 * emulation/vip.el (vip-execute-com, ex-command):
9058 * emulation/viper-cmd.el (viper-exec-bang):
9059 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9060 the call of `shell-command-on-region'. (Bug#14637)
9061
9062 * simple.el (shell-command-on-region): Doc fix.
9063
9064 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9067 (bug#14633).
9068
9069 2013-06-18 Glenn Morris <rgm@gnu.org>
9070
9071 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9072
9073 * newcomment.el (comment-search-forward, comment-search-backward):
9074 Doc fix. (Bug#14376)
9075
9076 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9077
9078 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9079 (buffer-face-mode-invoke): Doc fix.
9080
9081 2013-06-18 Matthias Meulien <orontee@gmail.com>
9082
9083 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9084 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9085
9086 2013-06-18 Glenn Morris <rgm@gnu.org>
9087
9088 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9089 Replace obsolete function generic-make-keywords with its expansion.
9090
9091 * progmodes/python.el (ffap-alist): Declare.
9092
9093 * textmodes/reftex.el (bibtex-mode-map): Declare.
9094
9095 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9098 (package-unpack, package-unpack-single): Return the pkg-dir.
9099 (package-download-transaction): Use it to update package-alist.
9100
9101 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9102
9103 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9104 possible choice.
9105
9106 2013-06-17 Juri Linkov <juri@jurta.org>
9107
9108 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9109
9110 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9111
9112 * emacs-lisp/package.el (package-load-descriptor):
9113 Remove `with-syntax-table' call, `read' doesn't need it.
9114 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9115
9116 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9117
9118 * startup.el (command-line): Expand package name returned by
9119 `package--description-file' (bug#14639).
9120
9121 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9122
9123 * emacs-lisp/package.el (package-load-descriptor): Do not call
9124 `emacs-lisp-mode', just use its syntax table.
9125
9126 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9127
9128 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9129 `font-lock-extra-managed-props' if any prettifying keyword is added.
9130 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9131 (prog-mode): Use `setq-local'.
9132
9133 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9134
9135 * international/characters.el (standard-case-table): Set syntax of ?»
9136 and ?« to punctuation.
9137
9138 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9141 Save relevant match data before calling `syntax-ppss' (bug#14595).
9142
9143 2013-06-15 Juri Linkov <juri@jurta.org>
9144
9145 * files-x.el (modify-file-local-variable-prop-line): Add local
9146 variables to the end of the existing comment on the first line.
9147 Use `file-auto-mode-skip' to skip interpreter magic line,
9148 and also skip XML declaration.
9149
9150 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9151
9152 * startup.el (package--builtin-versions): New var.
9153 (package-subdirectory-regexp): Remove.
9154 (package--description-file): Hard code its value instead.
9155
9156 * emacs-lisp/package.el: Don't activate packages older than builtin.
9157 (package-obsolete-list): Rename from package-obsolete-alist, and make
9158 it into a simple list of package-desc.
9159 (package-strip-version): Remove.
9160 (package-built-in-p): Use package--builtin-versions.
9161 (package-mark-obsolete): Simplify.
9162 (package-process-define-package): Mark it obsolete if older than the
9163 builtin version.
9164 (package-handle-response): Use line-end-position.
9165 (package-read-archive-contents, package--download-one-archive):
9166 Simplify.
9167 (package--add-to-archive-contents): Skip if older than the builtin or
9168 installed version.
9169 (package-menu-describe-package): Fix last change.
9170 (package-list-unversioned): New var.
9171 (package-menu--generate): Use it.
9172
9173 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9174 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9175 (autoload-builtin-package-versions): New variable.
9176 (autoload-generate-file-autoloads): Use them.
9177 Remove the list of autoloaded functions/macros from the
9178 (autoload...) comments.
9179
9180 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9181
9182 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9183
9184 * simple.el (line-move-partial): Don't jump to the next screen
9185 line as soon as it becomes visible. Instead, continue enlarging
9186 the vscroll until the portion of a tall screen line that's left on
9187 display is about the height of the frame's default font.
9188 (Bug#14567)
9189
9190 2013-06-15 Glenn Morris <rgm@gnu.org>
9191
9192 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9193 compilation-error-regexp-alist void, or local while let-bound.
9194
9195 * progmodes/make-mode.el (makefile-mode-syntax-table):
9196 Treat "=" as punctuation. (Bug#14614)
9197
9198 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9199
9200 * help-fns.el (describe-variable):
9201 Add extra line for permanent-local variables.
9202
9203 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9204
9205 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9206 Add export, import, library. (Bug#9164)
9207 (library): Set indent function.
9208
9209 2013-06-14 Glenn Morris <rgm@gnu.org>
9210
9211 * term/xterm.el (xterm--query):
9212 Stop after first matching handler. (Bug#14615)
9213
9214 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9215
9216 Add support for dired in saveplace.
9217 * dired.el (dired-initial-position-hook): New variable.
9218 (dired-initial-position): Call hook to place cursor position.
9219 * saveplace.el (save-place-to-alist): Add dired position.
9220 (save-place-dired-hook): New function.
9221
9222 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9225 through a symbol rather than letrec.
9226
9227 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9228 (package-desc): Add `dir' field.
9229 (package-desc-full-name): New function.
9230 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9231 (package-maybe-load-descriptor): Remove.
9232 (package-load-all-descriptors): Just call package-load-descriptor.
9233 (package--disabled-p): New function.
9234 (package-desc-vers, package-desc-doc): Remove aliases.
9235 (package--dir): Remove function.
9236 (package-activate): Check if a package is disabled.
9237 (package-process-define-package): New function, extracted from
9238 define-package.
9239 (define-package): Turn into a place holder.
9240 (package-unpack-single, package-tar-file-info):
9241 Use package--description-file.
9242 (package-compute-transaction): Use package--disabled-p.
9243 (package-download-transaction): Don't call
9244 package-maybe-load-descriptor since they're all loaded anyway.
9245 (package-install): Change argument to be a pkg-desc.
9246 (package-delete): Use a single pkg-desc argument.
9247 (describe-package-1): Use package-desc-dir instead of package--dir.
9248 Use package-desc property instead of package-symbol.
9249 (package-install-button-action): Adjust accordingly.
9250 (package--push): Rewrite.
9251 (package-menu--print-info): Adjust accordingly. Change the ID format
9252 to be a pkg-desc.
9253 (package-menu-describe-package, package-menu-get-status)
9254 (package-menu--find-upgrades, package-menu-mark-upgrades)
9255 (package-menu-execute, package-menu--name-predicate):
9256 Adjust accordingly.
9257 * startup.el (package--description-file): New function.
9258 (command-line): Use it.
9259 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9260 Use package-desc-version.
9261
9262 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9263 (byte-compile-preprocess): Use it.
9264 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9265 can't quite recognize.
9266 (byte-compile-add-to-list): Remove.
9267 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9268 (cconv-closure-convert): Add assertion.
9269
9270 * emacs-lisp/map-ynp.el: Use lexical-binding.
9271 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9272 Factor out some repeated code.
9273
9274 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9275
9276 * subr.el (with-eval-after-load): New macro.
9277 (eval-after-load): Allow form to be a function.
9278 take advantage of lexical-binding.
9279 (do-after-load-evaluation): Use dolist and adjust to new format.
9280 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9281
9282 2013-06-13 Juri Linkov <juri@jurta.org>
9283
9284 * replace.el (perform-replace): Display "symbol " and other search
9285 modes from `isearch-message-prefix' in the *Help* buffer.
9286
9287 * isearch.el (isearch-query-replace): Add " symbol" and other
9288 possible search modes from `isearch-message-prefix' to the prompt.
9289 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9290 when reading a regexp to collect.
9291
9292 2013-06-13 Juri Linkov <juri@jurta.org>
9293
9294 * isearch.el (word-search-regexp): Match whitespace if the search
9295 string begins or ends in whitespace. The LAX arg is applied to
9296 both ends of the search string. Use `regexp-quote' and explicit
9297 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9298 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9299 boundaries are replaced with symbol boundaries, and characters
9300 between symbols match non-word non-symbol syntax. (Bug#14602)
9301
9302 2013-06-13 Juri Linkov <juri@jurta.org>
9303
9304 * isearch.el (isearch-del-char): Don't exceed the length of
9305 `isearch-string' by the prefix arg. (Bug#14563)
9306
9307 2013-06-13 Juri Linkov <juri@jurta.org>
9308
9309 * isearch.el (isearch-yank-word, isearch-yank-line)
9310 (isearch-char-by-name, isearch-quote-char)
9311 (isearch-printing-char, isearch-process-search-char):
9312 Add optional count prefix arg. (Bug#14563)
9313
9314 * international/isearch-x.el
9315 (isearch-process-search-multibyte-characters):
9316 Add optional count prefix arg.
9317
9318 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9319
9320 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9321 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9322 lexical-binding.
9323
9324 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9325
9326 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9327
9328 2013-06-13 Glenn Morris <rgm@gnu.org>
9329
9330 * startup.el (tty-handle-args):
9331 Don't just discard "--" and anything after. (Bug#14608)
9332
9333 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9334
9335 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9336
9337 Implement changes in Secret Service API. Make it backward compatible.
9338 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9339 (secrets-create-item): Use it. Prefix properties with interface.
9340
9341 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9342
9343 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9344 (term-emulate-terminal): Respect term-suppress-hard-newline.
9345
9346 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9347
9348 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9349 Only remove a `thumb-file' overlay. (Bug#14548)
9350
9351 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9352
9353 * mail/reporter.el (reporter-submit-bug-report):
9354 Handle missing package-name. (Bug#14600)
9355
9356 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9357
9358 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9359 (reftex-citation-prompt, reftex-default-bibliography)
9360 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9361 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9362 (reftex-bib-sort-author, reftex-bib-sort-year)
9363 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9364 (reftex-extract-bib-entries-from-thebibliography)
9365 (reftex-get-bibkey-default, reftex-get-bib-names)
9366 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9367 (reftex-format-bib-entry, reftex-parse-bibitem)
9368 (reftex-format-bibitem, reftex-do-citation)
9369 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9370 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9371 (reftex-insert-bib-matches, reftex-format-citation)
9372 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9373 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9374 existing comments into docstrings.
9375
9376 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9377
9378 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9379
9380 2013-06-12 Andreas Schwab <schwab@suse.de>
9381
9382 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9383 for auto-save files.
9384
9385 2013-06-12 Glenn Morris <rgm@gnu.org>
9386
9387 * ido.el (ido-delete-ignored-files): Remove.
9388 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9389 Go back to calling ido-ignore-item-p directly.
9390
9391 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9392
9393 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9394
9395 * ido.el (ido-delete-ignored-files): New function,
9396 split from ido-make-file-list-1.
9397 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9398 (ido-make-file-list-1): Use ido-delete-ignored-files.
9399
9400 2013-06-12 Leo Liu <sdl.web@gmail.com>
9401
9402 * progmodes/octave.el (inferior-octave-startup)
9403 (inferior-octave-completion-table)
9404 (inferior-octave-track-window-width-change)
9405 (octave-eldoc-function-signatures, octave-help)
9406 (octave-find-definition): Use single quoted strings.
9407 (inferior-octave-startup-args): Change default value.
9408 (inferior-octave-startup): Do not hard code "-i" and
9409 "--no-line-editing".
9410 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9411 (inferior-octave-directory-tracker): Use it.
9412 (octave-goto-function-definition): Robustify.
9413 (octave-help): Support highlighting operators in 'See also'.
9414 (octave-find-definition): Find subfunctions only in Octave mode.
9415
9416 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * help-fns.el (help-fns--compiler-macro): If the handler function is
9419 named, then put a link to it.
9420 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9421 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9422 (cl-typep): Use it.
9423 (cl-eval-when): Simplify debug spec.
9424 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9425 compiler-macro function instead of setting `compiler-macro-file'.
9426
9427 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9428
9429 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9430 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9431
9432 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9433 Daniel Hackney <dan@haxney.org>
9434
9435 First part of Daniel Hackney's patch to package.el.
9436 * emacs-lisp/package.el: Use defstruct.
9437 (package-desc): New, main struct.
9438 (package--bi-desc, package--ac-desc): New structs, used to describe the
9439 format in external files.
9440 (package-desc-vers): Replace with package-desc-version accessor.
9441 (package-desc-doc): Replace with package-desc-summary accessor.
9442 (package-activate-1): Remove `package' arg since the pkg-vec now
9443 includes the name.
9444 (define-package): Use package-desc-from-define.
9445 (package-unpack-single): Change file-name arg to be a symbol.
9446 (package--add-to-archive-contents): Use package-desc-create and new
9447 accessor functions to package--ac-desc.
9448 (package-buffer-info, package-tar-file-info): Return a package-desc.
9449 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9450 arg to be a package-desc.
9451 (package-install-file): Adjust accordingly. Use \' to match EOS.
9452 (package--from-builtin): New function.
9453 (describe-package-1, package-menu--generate): Use it.
9454 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9455 (package-generate-autoloads): Idem and return the name of the file.
9456 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9457 Change pkg-info arg to be a package-desc.
9458 Use package-make-ac-desc.
9459 (package-upload-file): Use \' to match EOS.
9460 * finder.el (finder-compile-keywords): Use package-make-builtin.
9461
9462 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9463
9464 * vc/vc.el (vc-deduce-fileset): Change error message.
9465 (vc-read-backend): New function.
9466 (vc-next-action): Use it.
9467
9468 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9469
9470 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9471 (prolog-font-lock-keywords): Use regexp-opt instead.
9472 Don't manually highlight strings.
9473 (prolog-mode-variables): Simplify comment-start-skip.
9474 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9475
9476 * emacs-lisp/generic.el (generic--normalise-comments)
9477 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9478 (generic-mode-set-comments): Use them.
9479 (generic-bracket-support): Use setq-local.
9480 (generic-make-keywords-list): Declare obsolete.
9481
9482 2013-06-11 Glenn Morris <rgm@gnu.org>
9483
9484 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9485 Prettify after setting font-lock-defaults. (Bug#14574)
9486
9487 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9488
9489 * replace.el (query-replace, occur-read-regexp-defaults-function)
9490 (replace-search):
9491 * subr.el (declare-function, number-sequence, local-set-key)
9492 (substitute-key-definition, locate-user-emacs-file)
9493 (with-silent-modifications, split-string, eval-after-load):
9494 Fix typos, remove unneeded backslashes and reflow some docstrings.
9495
9496 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9499 default for Elisp files.
9500
9501 2013-06-11 Glenn Morris <rgm@gnu.org>
9502
9503 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9504 although define-derived-mode was doing this anyway. (Bug#14583)
9505
9506 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9507
9508 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9509 Fix make-variable-buffer-local call to refer to the correct variable.
9510
9511 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9512
9513 * eshell/em-term.el (eshell-visual-commands)
9514 (eshell-visual-subcommands, eshell-visual-options):
9515 Add summary line to docstrings. Add cross-references.
9516
9517 2013-06-10 Glenn Morris <rgm@gnu.org>
9518
9519 * epa.el (epa-read-file-name): New function. (Bug#14510)
9520 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9521
9522 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9523
9524 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9525 output redirection to be ignored with visual commands.
9526
9527 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9528
9529 * eshell/em-term.el (eshell-visual-command-p): New function.
9530 (eshell-term-initialize): Move long lambda to separate function
9531 eshell-visual-command-p.
9532 * eshell/em-dirs.el (eshell-dirs-initialise):
9533 * eshell/em-script.el (eshell-script-initialize):
9534 Add missing #' to lambda.
9535
9536 2013-06-08 Leo Liu <sdl.web@gmail.com>
9537
9538 * progmodes/octave.el (octave-add-log-current-defun): New function.
9539 (octave-mode): Set add-log-current-defun-function.
9540 (octave-goto-function-definition): Do not move point if not found.
9541 (octave-find-definition): Enhance to try subfunctions first.
9542
9543 2013-06-08 Glenn Morris <rgm@gnu.org>
9544
9545 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9546 (byte-compile-backward-char, byte-compile-backward-word):
9547 Improve previous change, to handle non-explicit nil.
9548
9549 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9552 (smie--opener/closer-at-point): New function.
9553 (smie--matching-block-data): Use it. Don't match from right after an
9554 opener or right before a closer. Obey smie-blink-matching-inners.
9555 Don't signal a mismatch for repeated inners like "switch..case..case".
9556
9557 2013-06-07 Leo Liu <sdl.web@gmail.com>
9558
9559 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9560 to t. (Bug#14303)
9561 (octave-function-header-regexp): Fix. (Bug#14570)
9562 (octave-help-mode-finish-hook, octave-help-mode-finish):
9563 Remove. Just use temp-buffer-show-hook.
9564
9565 * newcomment.el (comment-search-backward): Revert last change.
9566 (Bug#14434)
9567
9568 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9569
9570 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9571
9572 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9573 through xargs, to avoid failure due to MS-Windows limitations on
9574 command-line length.
9575
9576 2013-06-06 Glenn Morris <rgm@gnu.org>
9577
9578 * font-lock.el (lisp-font-lock-keywords-2):
9579 Treat user-error like error.
9580
9581 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9582 (byte-compile-backward-char, byte-compile-backward-word):
9583 Handle explicit nil arguments. (Bug#14565)
9584
9585 2013-06-05 Alan Mackenzie <acm@muc.de>
9586
9587 * isearch.el (isearch-allow-prefix): New user option.
9588 (isearch-other-meta-char): Don't exit isearch when a prefix
9589 argument is typed whilst `isearch-allow-prefix' is non-nil.
9590 (Bug#9706)
9591
9592 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * autorevert.el (auto-revert-notify-handler): Use memq.
9595 Hide assertion failure.
9596
9597 * skeleton.el: Use cl-lib.
9598 (skeleton-further-elements): Use defvar-local.
9599 (skeleton-insert): Use cl-progv.
9600
9601 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9602
9603 * progmodes/prog-mode.el (prog-prettify-symbols)
9604 (prog-prettify-install): Update docstrings.
9605
9606 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9607
9608 * simple.el: Move all the prog-mode code to prog-mode.el.
9609 * progmodes/prog-mode.el: New file.
9610 * loadup.el: Add prog-mode.el.
9611
9612 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9613
9614 * simple.el (prog-prettify-symbols): Add version.
9615 (prog-prettify-install): Add convenience function to prettify symbols.
9616
9617 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9618 (perl--augmented-font-lock-keywords-1)
9619 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9620 variables and use it.
9621
9622 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9623 (cfengine3-mode): Remove unneeded variable and use it.
9624
9625 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9626 (lisp--augmented-font-lock-keywords-1)
9627 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9628 Remove unneeded variables and use it.
9629
9630 2013-06-05 João Távora <joaotavora@gmail.com>
9631
9632 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9633 to point when opening the connection. (Bug#14380)
9634
9635 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9636
9637 * subr.el (load-history-regexp, load-history-filename-element)
9638 (eval-after-load, after-load-functions, do-after-load-evaluation)
9639 (eval-next-after-load, display-delayed-warnings)
9640 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9641 definition of save-match-data.
9642 (overriding-local-map): Remove accidental obsolescence declaration.
9643
9644 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9645
9646 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9647
9648 Generalize symbol prettify support to prog-mode and implement it
9649 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9650 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9651 (prog--prettify-font-lock-compose-symbol)
9652 (prog-prettify-font-lock-symbols-keywords): New variables and
9653 functions to support symbol prettification.
9654 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9655 (lisp--augmented-font-lock-keywords-1)
9656 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9657 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9658 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9659 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9660 Implement prettify of -> => :: strings.
9661 * progmodes/perl-mode.el (perl-prettify-symbols)
9662 (perl--font-lock-compose-symbol)
9663 (perl--font-lock-symbols-keywords): Move to prog-mode.
9664 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9665 (perl-font-lock-keywords-1)
9666 (perl-font-lock-keywords-2): Remove explicit prettify support.
9667 (perl--augmented-font-lock-keywords)
9668 (perl--augmented-font-lock-keywords-1)
9669 (perl--augmented-font-lock-keywords-2, perl-mode):
9670 Implement prettify support.
9671
9672 2013-06-05 Leo Liu <sdl.web@gmail.com>
9673
9674 Re-implement smie matching block highlight using
9675 show-paren-data-function. (Bug#14395)
9676 * emacs-lisp/smie.el (smie-matching-block-highlight)
9677 (smie--highlight-matching-block-overlay)
9678 (smie--highlight-matching-block-lastpos)
9679 (smie-highlight-matching-block)
9680 (smie-highlight-matching-block-mode): Remove.
9681 (smie--matching-block-data-cache): New variable.
9682 (smie--matching-block-data): New function.
9683 (smie-setup): Use smie--matching-block-data for
9684 show-paren-data-function.
9685
9686 * progmodes/octave.el (octave-mode-menu): Fix.
9687 (octave-find-definition): Skip garbage lines.
9688
9689 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 Fix compilation error with simultaneous dynamic+lexical scoping.
9692 Add warning when a defvar appears after the first let-binding.
9693 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9694 (byte-compile-close-variables): Initialize it.
9695 (byte-compile--declare-var): New function.
9696 (byte-compile-file-form-defvar)
9697 (byte-compile-file-form-define-abbrev-table)
9698 (byte-compile-file-form-custom-declare-variable): Use it.
9699 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9700 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9701 (byte-compile-bind): Handle dynamic bindings that shadow
9702 lexical bindings.
9703 (byte-compile-unbind): Make arg non-optional.
9704 (byte-compile-let): Simplify.
9705 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9706 (cconv--analyse-function, cconv-analyse-form): Populate it.
9707 Protect byte-compile-bound-variables to limit the scope of defvars.
9708 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9709 Remove unneeded rule for `declare'.
9710
9711 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9712 so as to avoid depending on cl-adjoin at run-time.
9713 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9714
9715 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9716 (macroexp--warn-and-return): Use it.
9717
9718 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * subr.el: Convert to lexical binding.
9721 (overriding-local-map): Make obsolete.
9722 (add-to-list): Doc fix. Add compiler macro.
9723 (read-key): Swap values of local maps.
9724
9725 2013-06-05 Leo Liu <sdl.web@gmail.com>
9726
9727 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9728
9729 2013-06-04 Leo Liu <sdl.web@gmail.com>
9730
9731 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9732 (compilation-auto-jump): Suppress the "Mark set" message to give
9733 way to exit message.
9734
9735 2013-06-04 Alan Mackenzie <acm@muc.de>
9736
9737 Remove faulty optimisation from indentation calculation.
9738 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9739 search limit based on 2000 characters back from indent-point.
9740
9741 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9742
9743 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9744
9745 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9746
9747 * emacs-lisp/lisp.el: Use lexical-binding.
9748 (lisp--local-variables-1, lisp--local-variables): New functions.
9749 (lisp--local-variables-completion-table): New var.
9750 (lisp-completion-at-point): Use it complete let-bound vars.
9751
9752 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9753 eagerly (bug#14422).
9754
9755 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9756
9757 * autorevert.el (auto-revert-notify-enabled)
9758 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9759 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9760 (auto-revert-notify-handler): Handle also gfilenotify.
9761
9762 * subr.el (file-notify-handle-event): New defun. Replacing ...
9763 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9764 Remove.
9765
9766 2013-06-03 Juri Linkov <juri@jurta.org>
9767
9768 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9769 `M-s h .'. (Bug#14427)
9770
9771 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9772 command `hi-lock-face-symbol-at-point'.
9773 (hi-lock-face-symbol-at-point): New command.
9774 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9775 (hi-lock-menu): Add `highlight-symbol-at-point'.
9776 (hi-lock-mode): Doc fix.
9777
9778 * isearch.el (isearch-forward-symbol-at-point): New command.
9779 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9780 (isearch-highlight-regexp): Add a regexp which matches
9781 words/symbols for word/symbol mode.
9782
9783 * subr.el (find-tag-default-bounds): New function with the body
9784 mostly moved from `find-tag-default'.
9785 (find-tag-default): Move most code to `find-tag-default-bounds',
9786 call it and apply `buffer-substring-no-properties' afterwards.
9787
9788 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9789
9790 * eshell/em-term.el (eshell-term-initialize):
9791 Use `cl-intersection' rather than `intersection'.
9792
9793 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9794
9795 * vc/log-view.el: Doc fix.
9796 (log-view-mode-map): Copy keymap from `special-mode-map'.
9797
9798 2013-06-02 Eric Ludlam <zappo@gnu.org>
9799
9800 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9801 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9802 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9803 (eieio-unbound, eieio-default-superclass)
9804 (eieio--define-field-accessors, method-static, method-before)
9805 (method-primary, method-after, method-num-lists)
9806 (method-generic-before, method-generic-primary)
9807 (method-generic-after, method-num-slots)
9808 (eieio-specialized-key-to-generic-key)
9809 (eieio--check-type, class-v, class-p)
9810 (eieio-class-name, define-obsolete-function-alias)
9811 (eieio-class-parents-fast, eieio-class-children-fast)
9812 (same-class-fast-p, class-constructor, generic-p)
9813 (generic-primary-only-p, generic-primary-only-one-p)
9814 (class-option-assoc, class-option, eieio-object-p)
9815 (class-abstract-p, class-method-invocation-order)
9816 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9817 (eieio-class-un-autoload, eieio-defclass)
9818 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9819 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9820 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9821 (eieio-defgeneric-reset-generic-form)
9822 (eieio-defgeneric-form-primary-only)
9823 (eieio-defgeneric-reset-generic-form-primary-only)
9824 (eieio-defgeneric-form-primary-only-one)
9825 (eieio-defgeneric-reset-generic-form-primary-only-one)
9826 (eieio-unbind-method-implementations)
9827 (eieio--defmethod, eieio--typep)
9828 (eieio-perform-slot-validation, eieio-validate-slot-value)
9829 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9830 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9831 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9832 (eieio-slot-name-index, eieio-class-slot-name-index)
9833 (eieio-set-defaults, eieio-initarg-to-attribute)
9834 (eieio-attribute-to-initarg, eieio-c3-candidate)
9835 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9836 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9837 (eieio-class-precedence-list, eieio-generic-call-methodname)
9838 (eieio-generic-call-arglst, eieio-generic-call-key)
9839 (eieio-generic-call-next-method-list)
9840 (eieio-pre-method-execution-functions, eieio-generic-call)
9841 (eieio-generic-call-primary-only, eieiomt-method-list)
9842 (eieiomt-optimizing-obarray, eieiomt-install)
9843 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9844 (eieio-generic-form, eieio-defmethod, make-obsolete)
9845 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9846 (defclass): Remove `eval-and-compile' from macro.
9847 (call-next-method, shared-initialize): Instead of using
9848 `scoped-class' variable, use new eieio--scoped-class, and
9849 eieio--with-scoped-class.
9850 (initialize-instance): Rename local variable 'scoped-class' to
9851 'this-class' to remove ambiguitity from old global.
9852
9853 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9854 eieio.el.
9855 (eieio--scoped-class-stack): New variable.
9856 (eieio--scoped-class): New fcn.
9857 (eieio--with-scoped-class): New scoping macro.
9858 (eieio-defclass): Use pushnew instead of add-to-list.
9859 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9860 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9861 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9862 `scoped-class' variable, use new eieio--scoped-class, and
9863 eieio--with-scoped-class.
9864
9865 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9866
9867 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9868
9869 * eshell/esh-ext.el (eshell-external-command): Pass args to
9870 `eshell-find-interpreter'.
9871 (eshell-find-interpreter): Add new second parameter ARGS.
9872
9873 * eshell/em-script.el (eshell-script-initialize): Add second arg
9874 to the function added as MATCH to `eshell-interpreter-alist'.
9875
9876 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9877 the function added as MATCH to `eshell-interpreter-alist'.
9878
9879 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9880 (eshell-visual-options): New defcustom.
9881 (eshell-escape-control-x): Adapt docstring.
9882 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9883 `eshell-visual-options' in addition to `eshell-visual-commands'.
9884 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9885
9886 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9887
9888 * progmodes/python.el (python-indent-block-enders): Add break,
9889 continue and raise keywords.
9890
9891 2013-06-01 Glenn Morris <rgm@gnu.org>
9892
9893 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9894
9895 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9896 * progmodes/cc-cmds.el (delete-forward-p):
9897 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9898 * progmodes/cc-engine.el (buffer-syntactic-context):
9899 * progmodes/cc-fonts.el (face-property-instance):
9900 * progmodes/cc-mode.el (set-keymap-parents):
9901 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9902 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9903 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9904 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9905 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9906
9907 * progmodes/cc-vars.el (other): Emacs has this widget since
9908 at least 21.1, so don't (re)define it.
9909
9910 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9911 Replace the obsolete alias pcomplete-arg-quote-list.
9912
9913 2013-06-01 Leo Liu <sdl.web@gmail.com>
9914
9915 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9916 punctuation syntax.
9917 (inferior-octave-minimal-columns)
9918 (inferior-octave-last-column-width): New variables.
9919 (inferior-octave-track-window-width-change): New function.
9920 (inferior-octave-mode): Adjust column width so that Octave output,
9921 for example from 'ls', can fit into the window nicely.
9922
9923 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9924
9925 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9926 Highlight expansions inside regexp literals.
9927
9928 2013-05-31 Glenn Morris <rgm@gnu.org>
9929
9930 * obsolete/sym-comp.el (symbol-complete):
9931 Replace obsolete completion-annotate-function.
9932
9933 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9934
9935 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9936
9937 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9938 New function, checks if point is inside a literal that allows
9939 expression expansion.
9940 (ruby-syntax-propertize-expansion): Use it.
9941 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9942 around the body.
9943
9944 2013-05-30 Juri Linkov <juri@jurta.org>
9945
9946 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9947 to "\M-si".
9948 (isearch-invisible): New variable.
9949 (isearch-forward): Doc fix.
9950 (isearch-mode): Set `isearch-invisible'
9951 to the value of `search-invisible'.
9952 (isearch-toggle-case-fold): Doc fix.
9953 (isearch-toggle-invisible): New command.
9954 (isearch-query-replace): Let-bind `search-invisible'
9955 to the value of `isearch-invisible'.
9956 (isearch-search): Use `isearch-invisible' instead of
9957 `search-invisible'. Let-bind `search-invisible'
9958 to the value of `isearch-invisible'. (Bug#11378)
9959
9960 2013-05-30 Juri Linkov <juri@jurta.org>
9961
9962 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9963 call when `query-flag' is nil and `search-invisible' is non-nil.
9964 (Bug#11746)
9965
9966 2013-05-30 Glenn Morris <rgm@gnu.org>
9967
9968 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9969
9970 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9971 (cc-require): Suppress spurious "noruntime" warnings.
9972 (cc-require-when-compile): Use fboundp, for sake of compiler.
9973
9974 * progmodes/cc-mode.el: Move load of cc-vars before that of
9975 cc-langs (which in turn loads cc-vars), to quieten compiler.
9976
9977 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * paren.el: Simplify the code.
9980 (show-paren-mode): Always start the timer.
9981 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9982 (show-paren--overlay, show-paren--overlay-1): Rename from
9983 show-paren-overlay and show-paren-overlay-1, and initialize to an
9984 overlay rather than to nil.
9985 (show-paren-function): Misc cleanup and simplifications.
9986
9987 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9988
9989 * paren.el (show-paren-data-function): New hook.
9990 (show-paren--default): New function, extracted from show-paren-function.
9991 (show-paren-function): Use show-paren-data-function.
9992
9993 2013-05-30 Glenn Morris <rgm@gnu.org>
9994
9995 * ielm.el (ielm-map, ielm-complete-symbol):
9996 Use completion-at-point rather than obsolete functions.
9997 (inferior-emacs-lisp-mode): Doc fix.
9998 Set completion-at-point-functions, rather than
9999 comint-dynamic-complete-functions.
10000
10001 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10002 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10003 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10004
10005 * image.el (image-animated-p): Tweak definition.
10006
10007 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10008 (rlogin-process-connection-type): Tweak default. Add set-after.
10009 (rlogin-host): Doc fix.
10010 (rlogin): Tweak prompt.
10011 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10012
10013 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10014 * progmodes/tcl.el (inferior-tcl-mode-map):
10015 Use completion-at-point rather than obsolete alias.
10016
10017 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10018
10019 * minibuffer.el (read-file-name-completion-ignore-case):
10020 Move before completion--in-region, for eager macro expansion.
10021
10022 2013-05-29 Juri Linkov <juri@jurta.org>
10023
10024 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10025 for total count of matching lines. Add `global-matches' for total
10026 count of matches. Rename `matches' to `lines' for count of
10027 matching lines. Add `matches' for count of matches.
10028 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10029 to `prev-line' for line number of prev match endpt.
10030 Increment `matches' for every match. Print the number of
10031 matching lines in the header.
10032 (occur-context-lines): Rename `lines' to `curr-line'.
10033 Rename `prev-lines' to `prev-line'. (Bug#14017)
10034
10035 2013-05-29 Juri Linkov <juri@jurta.org>
10036
10037 * replace.el (perform-replace): Add `skip-read-only-count',
10038 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10039 Increment them for corresponding conditions and report the number
10040 of skipped occurrences in the final message. (Bug#11746)
10041 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10042 (replace-string, replace-regexp): Doc fix.
10043
10044 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10047
10048 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10049 prog-mode-map (bug#14504).
10050
10051 2013-05-29 Leo Liu <sdl.web@gmail.com>
10052
10053 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10054 (octave-help): Small simplification.
10055
10056 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10057 off the highlight first.
10058
10059 2013-05-29 Glenn Morris <rgm@gnu.org>
10060
10061 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10062 Handle idlwave-last-system-routine-info-cons-cell being nil.
10063
10064 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10065 (idlwave-write-paths): Simplify via with-temp-buffer.
10066
10067 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10068 * emulation/cua-rect.el: Also load cua-base at run time.
10069
10070 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10071 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10072 (cperl-imenu-on-info): Require imenu.
10073
10074 2013-05-28 Alan Mackenzie <acm@muc.de>
10075
10076 Handle "capitalised keywords" correctly.
10077 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10078
10079 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10080
10081 * eshell/em-unix.el: Add -r option to cp.
10082
10083 2013-05-28 Glenn Morris <rgm@gnu.org>
10084
10085 * vc/vc-arch.el (vc-exec-after): Declare.
10086 (vc-switches): Autoload.
10087 * vc/vc-bzr.el: No need to require vc when compiling.
10088 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10089 (vc-resynch-buffer, vc-dir-refresh): Declare.
10090 (vc-setup-buffer, vc-switches): Autoload.
10091 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10092 (vc-resynch-buffer): Declare.
10093 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10094 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10095 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10096 (grep-read-regexp, grep-read-files, grep-expand-template)
10097 (vc-dir-refresh): Declare.
10098 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10099 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10100 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10101 * vc/vc-mtn.el (vc-exec-after): Declare.
10102 (vc-switches): Autoload.
10103 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10104 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10105 (vc-file-tree-walk): Declare.
10106 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10107 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10108 (vc-tag-precondition, vc-rename-master): Autoload.
10109 * vc/vc-svn.el (vc-exec-after): Declare.
10110 (vc-switches, vc-setup-buffer): Autoload.
10111 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10112 Autoload.
10113 (vc-resynch-buffer): Declare.
10114
10115 * obsolete/fast-lock.el (byte-compile-warnings):
10116 Don't warn about obsolete features in this obsolete file.
10117
10118 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10119 Move definition before use.
10120
10121 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10122 (dun-unix-verbs): Remove dun-zippy.
10123 (dun-zippy): Remove function.
10124
10125 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10126
10127 2013-05-27 Juri Linkov <juri@jurta.org>
10128
10129 * replace.el (replace-search): New function with code moved out
10130 from `perform-replace'.
10131 (replace-highlight, replace-dehighlight): Move function definitions
10132 up closer to `replace-search'. (Bug#11746)
10133
10134 2013-05-27 Juri Linkov <juri@jurta.org>
10135
10136 * replace.el (perform-replace): Ignore invisible matches.
10137 In addition to checking `query-replace-skip-read-only', also
10138 filter out matches by calling `run-hook-with-args-until-failure'
10139 on `isearch-filter-predicates', and also check `search-invisible'
10140 for t or call `isearch-range-invisible'.
10141 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10142
10143 2013-05-27 Juri Linkov <juri@jurta.org>
10144
10145 * isearch.el (isearch-filter-predicates): Rename from
10146 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10147 (isearch-message-prefix): Display text from the property
10148 `isearch-message-prefix' of the currently active filters.
10149 (isearch-search): Don't compare `isearch-filter-predicate' with
10150 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10151 on `isearch-filter-predicates'. Also check `search-invisible' for t
10152 or call `isearch-range-invisible'.
10153 (isearch-filter-visible): Make obsolete.
10154 (isearch-lazy-highlight-search):
10155 Call `run-hook-with-args-until-failure' on
10156 `isearch-filter-predicates' and use `isearch-range-invisible'.
10157
10158 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10159 `isearch-filter-predicates' instead of `funcall'ing
10160 `isearch-filter-predicate'.
10161 (Info-mode): Set `Info-isearch-filter' to
10162 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10163
10164 * dired-aux.el (dired-isearch-filter-predicate-orig):
10165 Remove variable.
10166 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10167 (dired-isearch-filenames-end): Add and remove
10168 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10169 instead of changing the value of `isearch-filter-predicate'.
10170 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10171 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10172 Put property `isearch-message-prefix' to "filename " on
10173 `dired-isearch-filter-filenames'.
10174
10175 * wdired.el (wdired-change-to-wdired-mode):
10176 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10177 locally instead of changing `isearch-filter-predicate'.
10178 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10179
10180 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10181
10182 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10183 return the commit hash (Bug#14459). Also set the
10184 `vc-git-detached' property.
10185 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10186 (vc-git-mode-line-string): Use the same help-echo format whether
10187 in detached mode or not, because we know the actual revision now.
10188 When in detached mode, shorten the revision to 7 chars.
10189
10190 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * emacs-lisp/easy-mmode.el (define-minor-mode):
10193 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10194 mode hook and provide a docstring.
10195
10196 2013-05-27 Alan Mackenzie <acm@muc.de>
10197
10198 Remove spurious syntax-table text properties inserted by C-y.
10199 * progmodes/cc-mode.el (c-after-change): Also clear hard
10200 syntax-table property with value nil.
10201
10202 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10203
10204 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10205 when reading the events; the buffer layout shall not be changed.
10206
10207 2013-05-27 Leo Liu <sdl.web@gmail.com>
10208
10209 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10210 New variable.
10211 (inferior-octave-directory-tracker): Automatically re-sync
10212 default-directory.
10213 (octave-help): Improve handling of 'See also'.
10214
10215 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10216
10217 * doc-view.el: Minor naming convention tweaks.
10218 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10219
10220 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10221 even if there's no `display' property yet (bug#14435).
10222
10223 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10224
10225 * subr.el (unmsys--file-name): Rename from reveal-filename.
10226
10227 * Makefile.in (custom-deps, finder-data, autoloads)
10228 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10229 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10230 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10231
10232 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10233
10234 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10235 error-completion on the first 2 args of condition-case (bug#14446).
10236 Don't burp at EOB.
10237
10238 2013-05-25 Leo Liu <sdl.web@gmail.com>
10239
10240 * comint.el (comint-previous-matching-input): Do not flood the
10241 *Messages* buffer with trivial messages.
10242
10243 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * progmodes/flymake.el (flymake-nop): Don't return a string.
10246 (flymake-set-at): Fix typo.
10247
10248 * simple.el (read--expression): New function, extracted from
10249 eval-expression. Set completion-at-point-functions (bug#14465).
10250 (eval-expression, eval-minibuffer): Use it.
10251
10252 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10253
10254 * progmodes/flymake.el (flymake-save-buffer-in-file)
10255 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10256 (flymake-selected-frame, flymake-log, flymake-ins-after)
10257 (flymake-set-at, flymake-get-buildfile-from-cache)
10258 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10259 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10260 Refine the doc string.
10261 (flymake-get-file-name-mode-and-masks): Reformat.
10262 (flymake-get-real-file-name-function): Fix a minor bug.
10263
10264 2013-05-24 Juri Linkov <juri@jurta.org>
10265
10266 * progmodes/grep.el (grep-mode-font-lock-keywords):
10267 Support =linenumber= format used by git-grep for lines with
10268 function names. (Bug#13549)
10269
10270 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10271
10272 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10273 0 after a semi-colon; it works better for smie-auto-fill.
10274 (octave--indent-new-comment-line): New function.
10275 (octave-indent-new-comment-line): Use it (indirectly).
10276 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10277 modify comment-line-break-function.
10278
10279 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10280 (smie-setup): Use add-function to set it.
10281
10282 2013-05-24 Sam Steingold <sds@gnu.org>
10283
10284 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10285 argument (before the `interactive' argument).
10286
10287 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * image-mode.el (image-mode-winprops): Add winprops to
10290 image-mode-winprops-alist before running
10291 image-mode-new-window-functions.
10292 * doc-view.el (doc-view-new-window-function): Don't delay
10293 doc-view-goto-page via timers (bug#14435).
10294
10295 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10296
10297 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10298 (doc-view-desktop-save-buffer): New function.
10299 (doc-view-restore-desktop-buffer): New function.
10300 (desktop-buffer-mode-handlers):
10301 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10302 handler.
10303 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10304 `desktop-save-buffer' function.
10305
10306 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10309 (tramp-gvfs-file-name-handler): Raise a user error when
10310 `tramp-gvfs-enabled' is nil.
10311 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10312 Do not raise a user error when loading package. (Bug#14447)
10313
10314 * net/xesam.el: Move to obsolete/.
10315
10316 2013-05-24 Glenn Morris <rgm@gnu.org>
10317
10318 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10319
10320 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10321
10322 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10323 (Info-find-node, Man-getpage-in-background): Declare.
10324
10325 * mail/unrmail.el (unrmail):
10326 Replace obsolete detect-coding-with-priority.
10327
10328 * net/socks.el (socks-split-string): Use this rather than split-string.
10329 (socks-nslookup-host): Update for above change.
10330 (dynamic-choice, s5-dynamic-choice-match)
10331 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10332 Comment out unused code.
10333
10334 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10335 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10336 (gud-tooltip-echo-area): Make obsolete.
10337 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10338
10339 * progmodes/js.el (js--optimize-arglist): Declare.
10340
10341 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10342
10343 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10344 (ediff-window-C): Declare.
10345
10346 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10347 Tweak requires to silence compiler.
10348
10349 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10350 (he-search-string, he-tried-table, he-expand-list)
10351 (he-init-string, he-string-member, he-substitute-string)
10352 (he-reset-string): Declare.
10353
10354 * obsolete/options.el (list-options): Use custom-variable-p,
10355 rather than obsolete alias.
10356
10357 2013-05-23 Sam Steingold <sds@gnu.org>
10358
10359 * simple.el (shell-command-on-region): Pass the `replace' argument
10360 down to `call-process-region' to comply with the doc as reported on
10361 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10362
10363 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10364
10365 * emacs-lisp/smie.el (smie-indent-forward-token)
10366 (smie-indent-backward-token): Handle string tokens (bug#14381).
10367
10368 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10369
10370 * ielm.el (ielm-menu): New menu.
10371 (inferior-emacs-lisp-mode): Set comment-start.
10372
10373 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10374
10375 * textmodes/reftex.el (reftex-ref-style-toggle):
10376 Fix deactivate action.
10377
10378 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10379 Add cleveref macros.
10380
10381 * textmodes/reftex-parse.el
10382 (reftex-locate-bibliography-files): Accept options for
10383 bibliography commands.
10384 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10385 Add addbibresource. Basic Biblatex support.
10386
10387 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10388
10389 * net/tramp-gvfs.el (top):
10390 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10391 when loading package. (Bug#14447)
10392
10393 2013-05-23 Glenn Morris <rgm@gnu.org>
10394
10395 * progmodes/js.el: No need to load comint when compiling.
10396 (ring-insert, comint-send-string, comint-send-input)
10397 (comint-last-input-end, ido-chop): Declare.
10398
10399 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10400 * vc/ediff-mult.el: Adjust requires.
10401 (ediff-directories-internal, ediff-directory-revisions-internal)
10402 (ediff-patch-file-internal): Declare.
10403 * vc/ediff-ptch.el: Adjust requires.
10404 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10405 (ediff-find-file): Autoload.
10406 * vc/ediff-util.el: No need to load ediff when compiling.
10407 (ediff-regions-internal): Declare.
10408 * vc/ediff-wind.el: Adjust requires.
10409 (ediff-compute-toolbar-width): Define when compiling.
10410 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10411 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10412 (dired-get-filename, dired-get-marked-files)
10413 (ediff-last-dir-patch, ediff-patch-default-directory)
10414 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10415 (ediff-patch-buffer-internal): Declare.
10416
10417 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10418 (ispell-process, ispell-buffer-local-words, lm-summary)
10419 (lm-section-start, lm-section-end): Declare.
10420 (checkdoc-ispell-init): Simplify.
10421
10422 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10423 (he-string-member, he-reset-string, he-substitute-string): Declare.
10424
10425 * eshell/em-ls.el: Adjust requires.
10426 (eshell-glob-regexp): Declare.
10427 * eshell/em-tramp.el: Adjust requires.
10428 (eshell-parse-command): Autoload.
10429 * eshell/em-xtra.el: Adjust requires.
10430 (eshell-parse-command): Autoload.
10431 * eshell/esh-ext.el: Adjust requires.
10432 (eshell-parse-command, eshell-close-handles): Autoload.
10433 * eshell/esh-io.el: Adjust requires.
10434 (eshell-output-filter): Autoload.
10435 * eshell/esh-util.el: No need to load tramp when compiling.
10436 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10437 Declare.
10438 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10439 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10440 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10441 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10442 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10443 * eshell/esh-opt.el, eshell/esh-proc.el:
10444 * eshell/esh-var.el: Adjust requires.
10445 * eshell/eshell.el: Do not require esh-util twice.
10446 (eshell-add-input-to-history): Declare.
10447 (eshell-command): Check history module is active before using it.
10448
10449 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10450
10451 2013-05-22 Leo Liu <sdl.web@gmail.com>
10452
10453 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10454
10455 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10456
10457 * autorevert.el (auto-revert-notify-add-watch)
10458 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10459 it indicates changes in file modification time.
10460
10461 2013-05-22 Glenn Morris <rgm@gnu.org>
10462
10463 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10464 Always delete the autoloaded function from the noruntime and
10465 unresolved functions lists.
10466
10467 * allout.el: No need to load epa, epg, overlay when compiling.
10468 (epg-context-set-passphrase-callback, epg-list-keys)
10469 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10470 (epg-key-user-id-list): Declare.
10471
10472 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10473 (viper-set-parsing-style-toggling-macro)
10474 (viper-set-emacs-state-searchstyle-macros):
10475 Use called-interactively-p on Emacs.
10476 (viper-looking-back): Make it an obsolete alias. Update callers.
10477 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10478 Use looking-back rather than viper-looking-back.
10479 (viper-tmp-insert-at-eob, viper-enlarge-region)
10480 (viper-read-string-with-history, viper-register-to-point)
10481 (viper-append-to-register, viper-change-state-to-vi)
10482 (viper-backward-char-carefully, viper-forward-char-carefully)
10483 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10484 (viper-change-state-to-emacs): Declare.
10485 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10486 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10487 * emulation/viper-mous.el: Do not load viper-cmd.
10488 (viper-backward-char-carefully, viper-forward-char-carefully)
10489 (viper-forward-word, viper-adjust-window): Declare.
10490
10491 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10492
10493 * progmodes/idlw-help.el (idlwave-help-fontify):
10494 Use called-interactively-p.
10495
10496 * term/w32console.el (w32-get-console-codepage)
10497 (w32-get-console-output-codepage): Declare.
10498
10499 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10500 Remove unnecessary declarations.
10501 (dframe-message): Doc fix.
10502
10503 * info.el (dframe-select-attached-frame, dframe-current-frame):
10504 Declare.
10505
10506 * speedbar.el (speedbar-message): Make it an obsolete alias.
10507 Update all callers.
10508 (speedbar-with-attached-buffer)
10509 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10510 (speedbar-with-writable): Use backquote.
10511 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10512 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10513 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10514 rather than speedbar- aliases.
10515 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10516 (speedbar-make-specialized-keymap, speedbar-insert-button)
10517 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10518 (speedbar-do-function-pointer): Declare.
10519 (rmail-speedbar-button, rmail-speedbar-find-file)
10520 (rmail-speedbar-move-message):
10521 Use dframe-with-attached-buffer rather than speedbar- alias.
10522 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10523 (dframe-message, speedbar-make-specialized-keymap)
10524 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10525 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10526 (speedbar-insert-button, dframe-select-attached-frame)
10527 (dframe-maybee-jump-to-attached-frame)
10528 (speedbar-change-initial-expansion-list)
10529 (speedbar-previously-used-expansion-list-name): Declare.
10530 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10531 Use dframe-message, dframe-with-attached-buffer rather than
10532 speedbar- aliases.
10533 (gud-sentinel): Silence compiler.
10534 * progmodes/vhdl-mode.el (speedbar-refresh)
10535 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10536 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10537 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10538 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10539 (speedbar-file-lists, speedbar-make-tag-line)
10540 (speedbar-line-directory, speedbar-goto-this-file)
10541 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10542 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10543 (speedbar-make-button, speedbar-reset-scanners)
10544 (speedbar-files-item-info, speedbar-line-text)
10545 (speedbar-find-file-in-frame, speedbar-set-timer)
10546 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10547 (speedbar-with-writable): Do not (re)define it.
10548 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10549 rather than speedbar- alias.
10550
10551 2013-05-21 Leo Liu <sdl.web@gmail.com>
10552
10553 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10554 menu items.
10555 (octave-mode): Tweak fill-nobreak-predicate.
10556 (inferior-octave-startup): Check process to avoid infinite loop.
10557 (inferior-octave): Pop to buffer first to show abornmal process
10558 exit information.
10559
10560 2013-05-21 Glenn Morris <rgm@gnu.org>
10561
10562 * printing.el (pr-menu-bar): Define when compiling.
10563
10564 2013-05-21 Leo Liu <sdl.web@gmail.com>
10565
10566 * progmodes/octave.el (octave-auto-fill): Remove.
10567 (octave-indent-new-comment-line): Improve.
10568 (octave-mode): Use auto fill mode through
10569 comment-line-break-function and fill-nobreak-predicate.
10570 (octave-goto-function-definition): Support DEFUN_DLD.
10571 (octave-beginning-of-defun): Small tweak.
10572 (octave-help): Show parent directory.
10573
10574 2013-05-21 Glenn Morris <rgm@gnu.org>
10575
10576 * files.el (dired-unmark):
10577 * progmodes/gud.el (gdb-input): Update declarations.
10578
10579 * calculator.el (electric, ehelp): No need to load when compiling.
10580 (Electric-command-loop, electric-describe-mode): Declare.
10581
10582 * doc-view.el (doc-view-current-converter-processes): Move before use.
10583
10584 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10585 Move MODE-set-explicitly definition before use.
10586
10587 * international/mule-diag.el (mule-diag):
10588 Don't use obsolete window-system-version.
10589
10590 * mail/feedmail.el (smtpmail): No need to load when compiling.
10591 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10592
10593 * mail/mail-utils.el (rfc822): No need to load when compiling.
10594 (rfc822-addresses): Autoload it.
10595 (mail-strip-quoted-names): Trivial simplification.
10596
10597 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10598 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10599
10600 * net/snmp-mode.el (tempo): Don't duplicate requires.
10601
10602 * progmodes/prolog.el (info): No need to load when compiling.
10603 (comint): Require before shell requires it.
10604 (Info-goto-node): Autoload it.
10605 (Info-follow-nearest-node): Declare.
10606 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10607
10608 * textmodes/artist.el (picture-mode-exit): Declare.
10609
10610 * textmodes/reftex-parse.el (reftex-parse-from-file):
10611 Trivial rewrite so the compiler can parse it better.
10612
10613 2013-05-20 Leo Liu <sdl.web@gmail.com>
10614
10615 * progmodes/octave.el (octave-help-mode-map)
10616 (octave-help-mode-finish-hook): New variables.
10617 (octave-help-mode, octave-help-mode-finish): New functions.
10618 (octave-help): Use octave-help-mode.
10619
10620 2013-05-20 Glenn Morris <rgm@gnu.org>
10621
10622 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10623
10624 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10625
10626 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10627 start at point, so that expansion starting right after opening
10628 slash in a regexp is recognized.
10629 (ruby-syntax-before-regexp-re): New defvar, extracted from
10630 ruby-syntax-propertize-function. Since the value of this regexp
10631 is looked up at runtime now, we should be able to turn
10632 `ruby-syntax-methods-before-regexp' into a defcustom later.
10633 (ruby-syntax-propertize-function): Split regexp matching into two
10634 parts, for opening and closing slashes. That allows us to skip
10635 over string interpolations and support multiline regexps.
10636 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10637 for them, which calls `ruby-syntax-propertize-expansion'.
10638 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10639 call to `ruby-syntax-propertize-function'.
10640 (ruby-syntax-propertize-expansion): Extracted from
10641 `ruby-syntax-propertize-expansions'. Handles one expansion.
10642 (ruby-syntax-propertize-percent-literal): Leave point right after
10643 the percent symbol, so that the expression expansion rule can
10644 propertize the contents.
10645 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10646 heredoc openers.
10647 (ruby-syntax-propertize-expansions): Remove.
10648
10649 2013-05-18 Juri Linkov <juri@jurta.org>
10650
10651 * man.el (Man-default-man-entry): Remove `-' from the end
10652 of the default value. (Bug#14400)
10653
10654 2013-05-18 Glenn Morris <rgm@gnu.org>
10655
10656 * comint.el (comint-password-prompt-regexp):
10657 Allow "password for XXX" where XXX contains colons (eg https://...).
10658
10659 2013-05-18 Leo Liu <sdl.web@gmail.com>
10660
10661 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10662 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10663 (octave-source-directories): Don't check process.
10664 (octave-source-directories, octave-find-definition): Doc fix.
10665
10666 2013-05-18 Glenn Morris <rgm@gnu.org>
10667
10668 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10669 Remove backspace/delete bindings. (Bug#14392)
10670
10671 * cus-dep.el (custom-make-dependencies): Sort the output.
10672 (custom-versions-load-alist): Convert comment to doc.
10673
10674 2013-05-17 Leo Liu <sdl.web@gmail.com>
10675
10676 * newcomment.el (comment-search-backward): Stricter in finding
10677 comment start. (Bug#14303)
10678
10679 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10680 (octave-comment-start-skip): Properly anchored.
10681
10682 2013-05-17 Leo Liu <sdl.web@gmail.com>
10683
10684 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10685 Clean up when turned off. (Bug#14395)
10686 (smie--highlight-matching-block-overlay): No longer buffer-local.
10687 (smie-highlight-matching-block): Adjust.
10688
10689 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10690
10691 Doc string fix for "nanoseconds" (Bug#14406).
10692 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10693 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10694
10695 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10696
10697 * calc/calc-units.el (math-extract-units): Preserve powers
10698 of units.
10699
10700 2013-05-17 Leo Liu <sdl.web@gmail.com>
10701
10702 * subr.el (delete-consecutive-dups): New function.
10703 * ido.el (ido-set-matches-1): Use it.
10704 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10705 * ido.el (ido-remove-consecutive-dups): Remove.
10706
10707 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10708
10709 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10710 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10711 regexp-opt's `words'.
10712
10713 2013-05-16 Leo Liu <sdl.web@gmail.com>
10714
10715 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10716 (smie--highlight-matching-block-overlay)
10717 (smie--highlight-matching-block-lastpos)
10718 (smie--highlight-matching-block-timer): New variables.
10719 (smie-highlight-matching-block): New function.
10720 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10721 (smie-setup): Conditionally enable smie-blink-matching-open.
10722
10723 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10724
10725 Sync with upstream verilog-mode r840.
10726 * progmodes/verilog-mode.el (verilog-mode-version)
10727 (verilog-mode-release-date): Update.
10728 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10729 (verilog-sig-tieoff): Fix string error on
10730 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10731 (verilog-read-decls): Fix parameters confusing
10732 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10733
10734 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10735
10736 * subr.el (reveal-filename): New function.
10737
10738 * loadup.el: Compute Emacs executable versions on MS-Windows,
10739 where executables have the .exe extension. Add a hard link
10740 emacs-XX.YY.ZZ.exe on MS-Windows.
10741
10742 * Makefile.in (XARGS_LIMIT): New variable.
10743 (custom-deps, finder-data, autoloads)
10744 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10745 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10746 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10747 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10748
10749 2013-05-16 Leo Liu <sdl.web@gmail.com>
10750
10751 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10752 (octave-mode-menu, octave-mode-map): Remove its uses.
10753
10754 2013-05-16 Reto Zimmermann <reto@gnu.org>
10755
10756 Sync with upstream vhdl mode v3.34.2.
10757 * progmodes/vhdl-mode.el: Use `push' throughout.
10758 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10759 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10760 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10761 (vhdl-actual-generic-name): New option to derive actual generic name.
10762 (vhdl-port-paste-signals): Replace formal by actual generics.
10763 (vhdl-beautify): New name for old group vhdl-align. Update users.
10764 (vhdl-beautify-options): New option.
10765 (vhdl-last-input-event): New compat alias. Use throughout.
10766 (vhdl-goto-line): Replace user level function `goto-line'.
10767 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10768 vhdl-fix-statement-buffer.
10769 (vhdl-create-mode-menu): Add some entries.
10770 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10771 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10772 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10773 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10774 to force statements on one line.
10775 (vhdl-remove-trailing-spaces-region):
10776 New, split from vhdl-remove-trailing-spaces.
10777 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10778 Respect vhdl-beautify-options.
10779 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10780 (vhdl-update-sensitivity-list): Not add with index if exists without.
10781 Not include array index with signal. Ignore keywords in comments.
10782 (vhdl-get-visible-signals): Regexp tweaks.
10783 (vhdl-template-component-inst): Handle empty library.
10784 (vhdl-template-type): Add template for 'enum' type.
10785 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10786 Use vhdl-replace-string.
10787 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10788 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10789 (vhdl-speedbar-initialize): Update for above name change.
10790 (vhdl-compose-wire-components): Fix in handling of constants.
10791 (vhdl-error-regexp-emacs-alist): New variable.
10792 (vhdl-error-regexp-add-emacs): New function;
10793 adds support for new compile.el (Emacs 22+)
10794 (vhdl-generate-makefile-1): Change target order for single lib. units.
10795 Allow use of absolute file names.
10796
10797 2013-05-16 Leo Liu <sdl.web@gmail.com>
10798
10799 * simple.el (prog-indent-sexp): Indent enclosing defun.
10800
10801 2013-05-15 Glenn Morris <rgm@gnu.org>
10802
10803 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10804 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10805 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10806 (whitespace-highlight): Move to whitespace group.
10807
10808 * comint.el (comint-source):
10809 * pcmpl-linux.el (pcmpl-linux):
10810 * shell.el (shell-faces):
10811 * eshell/esh-opt.el (eshell-opt):
10812 * international/ccl.el (ccl): Remove empty custom groups.
10813
10814 * completion.el (dynamic-completion-mode):
10815 * jit-lock.el (jit-lock-debug-mode):
10816 * minibuffer.el (completion-in-region-mode):
10817 * type-break.el (type-break-mode-line-message-mode)
10818 (type-break-query-mode):
10819 * emulation/tpu-edt.el (tpu-edt-mode):
10820 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10821 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10822 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10823
10824 * term/xterm.el (xterm): Change parent group to terminals.
10825
10826 * master.el (master): Remove empty custom group.
10827 (master-mode): Remove unused :group argument.
10828 * textmodes/refill.el (refill): Remove empty custom group.
10829 (refill-mode): Remove unused :group argument.
10830
10831 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10832
10833 * cus-dep.el: Provide a feature.
10834 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10835 Don't mistakenly ignore files whose basenames match a basename
10836 from preloaded-file-list (eg cedet/ede/simple.el).
10837 Add a fallback method for getting :group.
10838
10839 2013-05-15 Juri Linkov <juri@jurta.org>
10840
10841 * isearch.el (isearch-char-by-name): Rename from
10842 `isearch-insert-char-by-name'. Doc fix.
10843 (isearch-forward): Mention `isearch-char-by-name' in
10844 the docstring. (Bug#13348)
10845
10846 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10847 `exit-minibuffer' instead of
10848 `isearch-nonincremental-exit-minibuffer'.
10849 (isearch-edit-string): Remove mention of
10850 `isearch-nonincremental-exit-minibuffer' from docstring.
10851 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10852 (isearch-forward-exit-minibuffer)
10853 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10854
10855 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10856
10857 * loadup.el: Just use unversioned DOC.
10858
10859 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10860 literals as extending to EOB.
10861 (nxml-last-fontify-end): Remove unused variable.
10862 (nxml-after-change1): Use with-silent-modifications.
10863 (nxml-extend-after-change-region): Simplify.
10864 (nxml-extend-after-change-region1): Remove function.
10865 (nxml-after-change1): Don't adjust for dependent regions.
10866 (nxml-fontify-matcher): Simplify.
10867 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10868 (xmltok-add-dependent): Remove function.
10869 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10870 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10871 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10872 unclosed <[[, <?, comment, and other literals as extending to EOB.
10873 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10874 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10875 Remove functions.
10876 (rng-do-some-validation-1): Don't mark dependent regions.
10877 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10878 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10879 (nxml-clear-dependent-regions): Remove functions.
10880 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10881 (nxml-ensure-scan-up-to-date):
10882 Don't clear&mark dependent regions.
10883
10884 2013-05-15 Leo Liu <sdl.web@gmail.com>
10885
10886 * progmodes/octave.el (octave-goto-function-definition):
10887 Improve and fix callers.
10888
10889 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10890
10891 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10892 the setter (bug#14387).
10893
10894 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10895 surrounding group (bug#14402).
10896
10897 2013-05-14 Juri Linkov <juri@jurta.org>
10898
10899 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10900 (Bug#14390)
10901
10902 2013-05-14 Glenn Morris <rgm@gnu.org>
10903
10904 * progmodes/f90.el (f90-imenu-generic-expression):
10905 Fix typo in 2013-05-08 change. (Bug#14402)
10906
10907 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10908
10909 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10910 Remove signals for which replies are never received.
10911
10912 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10913
10914 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10915 (gdb-handler-alist, gdb-handler-number): Remove variables.
10916 (gdb-handler-list): New variable.
10917 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10918 (gdb-pending-handler-p, gdb-handle-reply)
10919 (gdb-remove-all-pending-triggers): New functions.
10920 (gdb-discard-unordered-replies): New defcustom.
10921 (gdb-handler): New defstruct.
10922 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10923 instead of gdb-pending-triggers. Update docstring.
10924 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10925 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10926 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10927 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10928 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10929 (gdb-frame-handler): Pending triggers are now automatically managed.
10930 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10931 Remove argument.
10932 (gdb-input): Automatically handles pending triggers. Update docstring.
10933 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10934 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10935 Update comments.
10936 (gdb-done-or-error): Now use gdb-handle-reply.
10937
10938 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10939
10940 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10941 gdb-debug-log.
10942
10943 2013-05-14 Glenn Morris <rgm@gnu.org>
10944
10945 * subr.el (user-emacs-directory-warning): New option.
10946 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10947
10948 2013-05-14 Leo Liu <sdl.web@gmail.com>
10949
10950 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10951 during redisplay.
10952 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10953 (octave-font-lock-texinfo-comment): Fix invalid search bound
10954 error: wrong side of point.
10955
10956 2013-05-14 Glenn Morris <rgm@gnu.org>
10957
10958 * progmodes/flymake.el (flymake-xml-program): New option.
10959 (flymake-xml-init): Use it.
10960
10961 * term/xterm.el: Provide a feature.
10962
10963 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10964
10965 2013-05-13 Glenn Morris <rgm@gnu.org>
10966
10967 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10968 Add compat aliases as a hack workaround. (Bug#14384)
10969
10970 2013-05-13 Leo Liu <sdl.web@gmail.com>
10971
10972 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10973 ###, and %!.
10974 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10975 C-M-q.
10976 (octave-comment-start-skip): Include %!.
10977 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10978
10979 2013-05-12 Leo Liu <sdl.web@gmail.com>
10980
10981 * progmodes/octave.el (inferior-octave-startup): Store the value
10982 of __octave_srcdir__ for octave-source-directories.
10983 (inferior-octave-check-process): New function refactored out of
10984 inferior-octave-send-list-and-digest.
10985 (octave-source-directories)
10986 (octave-find-definition-filename-function): New variables.
10987 (octave-source-directories)
10988 (octave-find-definition-default-filename): New functions.
10989 (octave-find-definition): Improve to find functions implemented in C++.
10990
10991 2013-05-12 Glenn Morris <rgm@gnu.org>
10992
10993 * calendar/diary-lib.el (diary-outlook-format-1):
10994 Don't include dayname in the output. (Bug#14349)
10995
10996 2013-05-11 Glenn Morris <rgm@gnu.org>
10997
10998 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10999
11000 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11001 Treat cc-provide like provide.
11002
11003 2013-05-11 Kevin Ryde <user42@zip.com.au>
11004
11005 * cus-dep.el (custom-make-dependencies):
11006 Use generated-autoload-load-name for the sake of files such
11007 such cedet/semantic/bovine/c.el, where the base file name
11008 is not in load-path. (Bug#5277)
11009
11010 2013-05-11 Glenn Morris <rgm@gnu.org>
11011
11012 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11013 Provide features.
11014
11015 2013-05-11 Leo Liu <sdl.web@gmail.com>
11016
11017 * progmodes/octave.el (octave-indent-comment): Improve.
11018 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11019 (octave-eldoc-function-signatures, octave-eldoc-function):
11020 New functions.
11021 (octave-mode, inferior-octave-mode): Add eldoc support.
11022
11023 2013-05-11 Richard Stallman <rms@gnu.org>
11024
11025 * epa.el (epa-decrypt-file): Take output file name as argument
11026 and read it using `interactive'.
11027
11028 2013-05-11 Leo Liu <sdl.web@gmail.com>
11029
11030 * progmodes/octave.el (octave-beginning-of-line)
11031 (octave-end-of-line): Check before using up-list because it jumps
11032 out of more syntactic contructs since moving to smie.
11033 (octave-indent-comment): New function.
11034 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11035 (octave-begin-keywords, octave-end-keywords)
11036 (octave-reserved-words, octave-smie-bnf-table)
11037 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11038
11039 2013-05-11 Glenn Morris <rgm@gnu.org>
11040
11041 * faces.el (internal-face-x-get-resource):
11042 * frame.el (ns-display-monitor-attributes-list):
11043 * calc/calc-aent.el (math-to-radians-2):
11044 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11045 Fix declarations.
11046
11047 * calc/calc-menu.el: Make it loadable in isolation.
11048
11049 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11050 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11051 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11052 (eudc-bbdb-query-internal): Require 'bbdb.
11053
11054 * lpr.el (lpr-headers-switches):
11055 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11056
11057 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11058
11059 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11060
11061 * term.el (term-set-escape-char): Make it idempotent.
11062
11063 2013-05-10 Leo Liu <sdl.web@gmail.com>
11064
11065 * progmodes/octave.el (inferior-octave-completion-table):
11066 No longer a function and all uses changed. Use cache to speed up
11067 completion due to bug#11906.
11068 (octave-beginning-of-defun): Re-write to be more general.
11069
11070 2013-05-10 Glenn Morris <rgm@gnu.org>
11071
11072 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11073
11074 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11075
11076 * comint.el (comint-redirect-send-command-to-process): Use :around
11077 rather than :override for comint-redirect-filter.
11078 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11079 Call it instead of comint-redirect-original-filter-function (which
11080 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11081
11082 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11083
11084 * frame.el (display-monitor-attributes-list): Add NS case.
11085 (ns-display-monitor-attributes-list): Declare.
11086
11087 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11088
11089 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11090
11091 2013-05-09 Glenn Morris <rgm@gnu.org>
11092
11093 * international/fontset.el (vertical-centering-font-regexp):
11094 Set standard-value.
11095
11096 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11097
11098 * bookmark.el (bookmark-search-delay):
11099 * cus-start.el (vertical-centering-font-regexp):
11100 * ps-mule.el (ps-mule-font-info-database-default):
11101 * ps-print.el (ps-default-fg, ps-default-bg):
11102 * type-break.el (type-break-good-break-interval):
11103 * whitespace.el (whitespace-indentation-regexp)
11104 (whitespace-space-after-tab-regexp):
11105 * emacs-lisp/testcover.el (testcover-1value-functions)
11106 (testcover-noreturn-functions, testcover-progn-functions)
11107 (testcover-prog1-functions):
11108 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11109 * eshell/em-glob.el (eshell-glob-translate-alist):
11110 * play/tetris.el (tetris-tty-colors):
11111 * progmodes/cpp.el (cpp-face-default-list):
11112 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11113 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11114 (idlwave-help-browser-generic-args):
11115 * progmodes/make-mode.el (makefile-special-targets-list):
11116 * progmodes/python.el (python-shell-virtualenv-path):
11117 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11118 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11119 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11120 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11121 * textmodes/reftex-vars.el (reftex-format-label-function):
11122 * textmodes/remember.el (remember-diary-file): Fix custom types.
11123
11124 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11125 Add :version.
11126
11127 2013-05-09 Leo Liu <sdl.web@gmail.com>
11128
11129 * progmodes/octave.el (inferior-octave-completion-at-point):
11130 Restore file completion. (Bug#14300)
11131 (inferior-octave-startup): Fix incorrect highlighting for the
11132 first prompt.
11133
11134 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * progmodes/ruby-mode.el: First cut at SMIE support.
11137 (ruby-use-smie): New var.
11138 (ruby-smie-grammar): New constant.
11139 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11140 (ruby-smie--forward-token, ruby-smie--backward-token)
11141 (ruby-smie-rules): New functions.
11142 (ruby-mode-variables): Setup SMIE if applicable.
11143
11144 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11145
11146 * simple.el (line-move-visual): Signal beginning/end of buffer
11147 only if vertical-motion moved less than it was requested. Avoids
11148 silly incorrect error messages when there are display strings with
11149 multiple newlines at EOL.
11150
11151 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11154 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11155 (prolog-char-quote-workaround):
11156 * progmodes/cperl-mode.el (cperl-under-as-char):
11157 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11158 Mark as obsolete.
11159 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11160 their declaration.
11161 (vhdl-mode-syntax-table-init): Remove.
11162
11163 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11164 last change.
11165
11166 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11167 syntax for "_".
11168 (ld-script-font-lock-keywords):
11169 Change regexps to use things like \_< and \_>.
11170
11171 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11172 Change all regexps to use things like \_< and \_>.
11173
11174 * progmodes/autoconf.el (autoconf-definition-regexp)
11175 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11176 Handle a _ with symbol syntax.
11177 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11178
11179 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11180 Consolidate declaration.
11181 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11182 the declaration.
11183 (ada-create-syntax-table): Remove.
11184 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11185 already has the right syntax nowadays.
11186 (ada-goto-next-word): Don't change the syntax of "_".
11187
11188 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11189 with-wrapper-hook.
11190
11191 2013-05-08 Sam Steingold <sds@gnu.org>
11192
11193 * thingatpt.el (thing-at-point): Accept optional second argument
11194 NO-PROPERTIES to strip the text properties from the return value.
11195 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11196 to `thing-at-point' instead of stripping the properties ourselves.
11197 Also, when `thing-at-point' fails to find a url, prepend "http://"
11198 to the filename at point on the assumption that the user is
11199 pointing at something like gnu.org/gnu.
11200
11201 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11202
11203 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11204 * faces.el (crm-separator):
11205 Silence byte-compiler.
11206
11207 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11208 (tool-bar-map): Remove unneeded defvars.
11209
11210 2013-05-08 Leo Liu <sdl.web@gmail.com>
11211
11212 Re-work a fix for bug#10994 based on Le Wang's patch.
11213 * ido.el (ido-remove-consecutive-dups): New helper.
11214 (ido-completing-read): Use it.
11215 (ido-chop): Revert fix for bug#10994.
11216
11217 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11218
11219 * cus-edit.el (custom-save-variables):
11220 Pretty-print long values. (Bug#14187)
11221
11222 2013-05-08 Glenn Morris <rgm@gnu.org>
11223
11224 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11225 (m4-mode-syntax-table): Init in the defvar.
11226 (m4-mode-abbrev-table): Let define-derived-mode define it.
11227
11228 2013-05-08 Tom Tromey <tromey@redhat.com>
11229
11230 * progmodes/m4-mode.el (m4-mode-syntax-table):
11231 Do not treat "_" as word constituent. (Bug#14167)
11232
11233 2013-05-07 Glenn Morris <rgm@gnu.org>
11234
11235 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11236 Remove explicit eshell-isearch-cancel-map.
11237
11238 * progmodes/f90.el (f90-smart-end-names): New option.
11239 (f90-smart-end): Doc fix.
11240 (f90-end-block-optional-name): New constant.
11241 (f90-block-match): Respect f90-smart-end-names.
11242
11243 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11244
11245 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11246 about implicit semi-colons (bug#14218).
11247
11248 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11249
11250 * frame.el (display-monitor-attributes-list)
11251 (frame-monitor-attributes): New functions.
11252
11253 2013-05-06 Leo Liu <sdl.web@gmail.com>
11254
11255 * progmodes/octave.el (octave-syntax-propertize-function): Change
11256 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11257 (octave-font-lock-keywords): Use octave-operator-regexp.
11258 (octave-completion-at-point): Rename from
11259 octave-completion-at-point-function.
11260 (inferior-octave-directory-tracker): Robustify.
11261 (octave-text-functions): Remove and fix its uses. No such things
11262 any more.
11263
11264 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * emacs-lisp/trace.el (trace--display-buffer): New function.
11267 (trace-make-advice): Use it.
11268
11269 2013-05-06 Juri Linkov <juri@jurta.org>
11270
11271 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11272 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11273 Doc fix.
11274 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11275 in the help string. (Bug#12985)
11276
11277 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11278
11279 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11280
11281 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * progmodes/perl-mode.el: Add support for here documents.
11284 (perl-syntax-propertize-function): Match here-doc markers.
11285 (perl-syntax-propertize-special-constructs): Find their end.
11286 (perl-imenu-generic-expression): Use [:alnum:].
11287
11288 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11289 (advice--add-function): Refresh the advice if already present
11290 (bug#14317).
11291
11292 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11293
11294 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11295
11296 2013-05-06 Glenn Morris <rgm@gnu.org>
11297
11298 * w32-fns.el (w32-charset-info-alist): Declare.
11299
11300 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11301 of its defcustom properties.
11302 (eshell-cmpl-initialize): No need to load pcomplete.
11303
11304 * generic-x.el: No need to require comint when compiling.
11305
11306 * net/eudc-export.el: Make it loadable without bbdb.
11307 (top-level): Use require rather than load-library.
11308 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11309 (eudc-batch-export-records-to-bbdb)
11310 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11311 Require bbdb.
11312
11313 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11314
11315 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11316 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11317 some tweaks, instead.
11318
11319 2013-05-05 Leo Liu <sdl.web@gmail.com>
11320
11321 * progmodes/octave.el (octave-font-lock-keywords)
11322 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11323 (inferior-octave-send-list-and-digest): Improve error message.
11324 (octave-mode, inferior-octave-mode): Use setq-local.
11325 (octave-help): Set info-lookup-mode.
11326
11327 2013-05-05 Richard Stallman <rms@gnu.org>
11328
11329 * vc/compare-w.el (compare-windows-whitespace):
11330 Treat no-break space as whitespace.
11331
11332 * mail/rmailsum.el (rmail-summary-rmail-update):
11333 Detect empty summary and don't change selected message.
11334 (rmail-summary-goto-msg): Likewise.
11335
11336 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11337 Doc fixes, rename args.
11338
11339 2013-05-05 Alan Mackenzie <acm@muc.de>
11340
11341 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11342
11343 2013-05-05 Juri Linkov <juri@jurta.org>
11344
11345 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11346 to not add the length of the summary segment to the return value.
11347 (Bug#14125)
11348
11349 2013-05-05 Leo Liu <sdl.web@gmail.com>
11350
11351 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11352 (inferior-octave-output-filter): Remove.
11353 (octave-send-region, inferior-octave-startup): Fix callers.
11354 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11355 (octave-binary-file-extensions): New user variable.
11356 (octave-find-definition): Confirm if opening binary files.
11357 (octave-help-file): Use octave-find-definition to get the binary
11358 confirmation.
11359 (octave-help): Adjust for octave-help-file change.
11360
11361 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11364 Merge the two entries that handle function definitions.
11365 (pascal--syntax-propertize): New const.
11366 (pascal-mode): Use it. Use setq-local.
11367
11368 2013-05-04 Glenn Morris <rgm@gnu.org>
11369
11370 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11371 (diary-from-outlook): Respect diary-from-outlook-function.
11372
11373 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11376 Move the declaration from C.
11377 (read-minibuffer, eval-minibuffer): Move from C.
11378 (completion-setup-function): Avoid minibuffer-completion-contents.
11379
11380 2013-05-03 Leo Liu <sdl.web@gmail.com>
11381
11382 * progmodes/octave.el (octave-font-lock-keywords): Do not
11383 dehighlight 'end' in comments or strings.
11384 (octave-completing-read, octave-goto-function-definition):
11385 New helpers.
11386 (octave-help-buffer): New user variable.
11387 (octave-help-file, octave-help-function): New button types.
11388 (octave-help): New command and bind it to C-h ;.
11389 (octave-find-definition): New command and bind it to M-.
11390 (user-error): Alias to error if not defined.
11391
11392 2013-05-02 Leo Liu <sdl.web@gmail.com>
11393
11394 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11395 for \. (bug#14332)
11396 (octave-font-lock-keywords): Include [ and {.
11397
11398 2013-05-02 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11401 (inferior-octave): Remove calling comint-mode and return the buffer.
11402 (inferior-octave-startup): Cosmetic changes.
11403
11404 2013-05-02 Leo Liu <sdl.web@gmail.com>
11405
11406 * progmodes/octave.el (octave-syntax-propertize-function):
11407 Include the case when ' is at line beginning. (Bug#14336)
11408
11409 2013-05-02 Glenn Morris <rgm@gnu.org>
11410
11411 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11412 * desktop.el (vc-dir-mode): Just autoload it here.
11413
11414 2013-05-02 Alan Mackenzie <acm@muc.de>
11415
11416 Eliminate variable c-standard-font-lock-fontify-region-function.
11417 * progmodes/cc-mode.el
11418 (c-standard-font-lock-fontify-region-function): Remove.
11419 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11420
11421 2013-05-01 Leo Liu <sdl.web@gmail.com>
11422
11423 * progmodes/octave.el: Compatible with older emacs-24 releases.
11424 (inferior-octave-has-built-in-variables): Remove. Built-in
11425 variables were removed from Octave in 2007.
11426 (inferior-octave-startup): Fix uses.
11427 (comint-line-beginning-position): Remove compatibility code for
11428 emacs 21.
11429
11430 2013-05-01 Juri Linkov <juri@jurta.org>
11431
11432 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11433
11434 2013-05-01 Juri Linkov <juri@jurta.org>
11435
11436 * comint.el (comint-previous-matching-input): Don't print message
11437 "History item: %d" when `isearch-mode' is active.
11438 (comint-history-isearch-message): Print message "History item: %d"
11439 when `comint-input-ring-index' is not empty and this function is
11440 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11441
11442 2013-05-01 Leo Liu <sdl.web@gmail.com>
11443
11444 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11445 definitions. Use completion-at-point to insert keywords.
11446 (octave-abbrev-start): Remove.
11447 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11448
11449 2013-04-30 Leo Liu <sdl.web@gmail.com>
11450
11451 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11452 change.
11453
11454 2013-04-30 Alan Mackenzie <acm@muc.de>
11455
11456 Handle arbitrarily long C++ member initialisation lists.
11457 * progmodes/cc-engine.el (c-back-over-member-initializers):
11458 new function.
11459 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11460 (most) member init lists.
11461
11462 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11463
11464 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11465 variable.
11466
11467 2013-04-30 Leo Liu <sdl.web@gmail.com>
11468
11469 * progmodes/octave.el (octave-variables): Remove. No builtin
11470 variables any more. All converted to functions.
11471 (octave-font-lock-keywords, octave-completion-at-point-function):
11472 Fix uses.
11473 (octave-font-lock-texinfo-comment): New user variable.
11474 (octave-texinfo-font-lock-keywords): New variable for texinfo
11475 comment block.
11476 (octave-function-comment-block): New face.
11477 (octave-font-lock-texinfo-comment): New function.
11478 (octave-mode): Font lock texinfo comment block.
11479
11480 2013-04-29 Leo Liu <sdl.web@gmail.com>
11481
11482 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11483 indexing expression.
11484 (octave-continuation-string): Do not use \.
11485 (inferior-octave-complete-impossible): Remove.
11486 (inferior-octave-completion-table)
11487 (inferior-octave-completion-at-point): Remove its uses.
11488 (inferior-octave-startup): completion_matches was introduced to
11489 Octave in 1996 so safe to assume it.
11490 (octave-function-file-comment): Improve to follow how Octave does it.
11491 (octave-update-function-file-comment): Tweak.
11492
11493 2013-04-29 Leo Liu <sdl.web@gmail.com>
11494
11495 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11496 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11497 (octave-function-file-comment): Fix typo.
11498 (octave-sync-function-file-names): Use read-char-choice.
11499
11500 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11501
11502 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11503 to t for the less important warnings.
11504
11505 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11506
11507 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11508
11509 2013-04-27 Glenn Morris <rgm@gnu.org>
11510
11511 * vc/log-view.el (log-view-current-entry):
11512 Treat "---" separator lines as part of the following rev. (Bug#14169)
11513
11514 2013-04-27 Juri Linkov <juri@jurta.org>
11515
11516 * subr.el (read-number): Doc fix about using it by interactive
11517 code letter `n'. (Bug#14254)
11518
11519 2013-04-27 Juri Linkov <juri@jurta.org>
11520
11521 * desktop.el (desktop-auto-save-timeout): New option.
11522 (desktop-file-checksum): New variable.
11523 (desktop-save): Add optional arg `auto-save' and don't auto-save
11524 if nothing changed.
11525 (desktop-auto-save-timer): New variable.
11526 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11527 (after-init-hook): Call `desktop-auto-save-set-timer'.
11528 Suggested by Reuben Thomas <rrt@sc3d.org> in
11529 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11530
11531 2013-04-27 Leo Liu <sdl.web@gmail.com>
11532
11533 * progmodes/octave.el (octave-function-file-p)
11534 (octave-skip-comment-forward, octave-function-file-comment)
11535 (octave-update-function-file-comment): New functions.
11536 (octave-mode-map): Bind C-c ; to
11537 octave-update-function-file-comment.
11538 (octave-mode-menu): Add octave-update-function-file-comment.
11539 (octave-mode, inferior-octave-mode): Fix doc-string.
11540 (octave-insert-defun): Conform to Octave's coding convention.
11541 (Bug#14285)
11542
11543 * files.el (basic-save-buffer): Don't let errors in
11544 before-save-hook prevent saving buffer.
11545
11546 2013-04-20 Roland Winkler <winkler@gnu.org>
11547
11548 * faces.el (read-face-name): Use completing-read if arg multiple
11549 is nil.
11550
11551 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11552
11553 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11554 displayed, move point to after the totals line.
11555 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11556 for the details.
11557
11558 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11559
11560 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11561 Add current dir to the load-path.
11562 (package-generate-autoloads): Don't rely on
11563 autoload-ensure-default-file.
11564
11565 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11566
11567 * textmodes/remember.el (remember-store-in-files): Document that
11568 the file name format is passed to `format-time-string'.
11569
11570 2013-04-26 Leo Liu <sdl.web@gmail.com>
11571
11572 * progmodes/octave.el (octave-sync-function-file-names): New function.
11573 (octave-mode): Use it in before-save-hook.
11574
11575 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11576
11577 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11578 (bug#14274).
11579
11580 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11581 \n and comment, even if it's not an implicit ; (bug#14218).
11582
11583 2013-04-26 Glenn Morris <rgm@gnu.org>
11584
11585 * subr.el (read-number): Once more use `read' rather than
11586 `string-to-number', to trap non-numeric input. (Bug#14254)
11587
11588 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11589
11590 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11591 Use `syntax-multiline' text property consistently instead of
11592 `font-lock-multiline'. (Bug#14237)
11593
11594 2013-04-26 Glenn Morris <rgm@gnu.org>
11595
11596 * emacs-lisp/shadow.el (list-load-path-shadows):
11597 No longer necessary to check for duplicate simple.el, since
11598 2012-07-07 change to init_lread to not include installation lisp
11599 directories in load-path when running uninstalled. (Bug#14270)
11600
11601 2013-04-26 Leo Liu <sdl.web@gmail.com>
11602
11603 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11604 (octave-mode, inferior-octave-mode): Use setq-local.
11605 (octave-not-in-string-or-comment-p): Rename to
11606 octave-in-string-or-comment-p.
11607 (octave-in-comment-p, octave-in-string-p)
11608 (octave-in-string-or-comment-p): Replace defsubst with defun.
11609
11610 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11611
11612 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11613
11614 2013-04-25 Bastien Guerry <bzg@gnu.org>
11615
11616 * textmodes/remember.el (remember-data-directory)
11617 (remember-directory-file-name-format): Fix custom types.
11618
11619 2013-04-25 Leo Liu <sdl.web@gmail.com>
11620
11621 * progmodes/octave.el (octave-completion-at-point-function):
11622 Make use of inferior octave process.
11623 (octave-initialize-completions): Remove.
11624 (inferior-octave-completion-table): New function.
11625 (inferior-octave-completion-at-point): Use it.
11626 (octave-completion-alist): Remove.
11627
11628 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11631 (opascal-mode-syntax-table): New var.
11632 (opascal-literal-kind, opascal-is-literal-end)
11633 (opascal-literal-token-at): Rewrite.
11634 (opascal--literal-start-re, opascal-font-lock-keywords)
11635 (opascal--syntax-propertize): New constants.
11636 (opascal-font-lock-defaults): Adjust.
11637 (opascal-mode): Use them. Set comment-<foo> variables as well.
11638 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11639 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11640 (delphi-other-face, opascal-other-face): Remove face variables.
11641 (opascal-save-state): Remove macro.
11642 (opascal-fontifying-progress-step): Remove constant.
11643 (opascal--ignore-changes): Remove var.
11644 (opascal-set-token-property, opascal-parse-next-literal)
11645 (opascal-is-stable-literal, opascal-complete-literal)
11646 (opascal-is-literal-start, opascal-face-of)
11647 (opascal-parse-region, opascal-parse-region-until-stable)
11648 (opascal-fontify-region, opascal-after-change)
11649 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11650 (opascal-debug-parse-region, opascal-debug-parse-window)
11651 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11652 (opascal-debug-fontify-buffer): Remove.
11653 (opascal-debug-mode-map): Adjust accordingly.
11654
11655 2013-04-25 Leo Liu <sdl.web@gmail.com>
11656
11657 Merge octave-mod.el and octave-inf.el into octave.el with some
11658 cleanups.
11659 * progmodes/octave.el: New file renamed from octave-mod.el.
11660 * progmodes/octave-inf.el: Merged into octave.el.
11661 * progmodes/octave-mod.el: Renamed to octave.el.
11662
11663 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11664
11665 * textmodes/reftex-vars.el
11666 (reftex-label-ignored-macros-and-environments): New defcustom.
11667
11668 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11669
11670 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11671
11672 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11673 (smie-indent-keyword): Improve the check to ensure that the next
11674 comment is really on the same line.
11675 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11676
11677 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11678 semi-colons if the line is not otherwise empty (bug#14218).
11679
11680 2013-04-25 Glenn Morris <rgm@gnu.org>
11681
11682 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11683
11684 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * progmodes/opascal.el (opascal-set-token-property): Rename from
11687 opascal-set-text-properties and only set `token' (bug#14134).
11688 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11689 (opascal-literal-text-properties): Remove.
11690 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11691 Adjust callers.
11692
11693 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11694
11695 * textmodes/remember.el (remember-handler-functions): Add an
11696 option for a new handler `remember-store-in-files'.
11697 (remember-data-directory, remember-directory-file-name-format):
11698 New options.
11699 (remember-store-in-files): New function to store remember notes
11700 as separate files within a directory.
11701
11702 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11703
11704 * progmodes/compile.el (compilation-next-error-function):
11705 Pass "formats" to compilation-find-file (bug#11777).
11706
11707 2013-04-24 Glenn Morris <rgm@gnu.org>
11708
11709 * vc/vc-bzr.el (vc-bzr-print-log):
11710 * vc/vc-hg.el (vc-hg-print-log):
11711 * vc/vc-svn.el (vc-svn-print-log):
11712 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11713
11714 * vc/vc-bzr.el (vc-bzr-print-log):
11715 * vc/vc-cvs.el (vc-cvs-print-log):
11716 * vc/vc-git.el (vc-git-print-log):
11717 * vc/vc-hg.el (vc-hg-print-log):
11718 * vc/vc-mtn.el (vc-mtn-print-log):
11719 * vc/vc-rcs.el (vc-rcs-print-log):
11720 * vc/vc-sccs.el (vc-sccs-print-log):
11721 * vc/vc-svn.el (vc-svn-print-log):
11722 * vc/vc.el (vc-print-log-internal): Doc fixes.
11723
11724 2013-04-23 Glenn Morris <rgm@gnu.org>
11725
11726 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11727 Remove venerable code attempting to avoid substitute-command-keys.
11728
11729 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11730
11731 * textmodes/reftex-vars.el (reftex-label-regexps):
11732 Call `reftex-compile-variables' after changes to this variable.
11733
11734 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11737 Use lexical-binding.
11738 (jit-lock-force-redisplay): Use markers, check buffer's continued
11739 existence and beware narrowed buffers.
11740 (jit-lock-fontify-now): Adjust call accordingly.
11741
11742 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11745 to avoid misleading the user.
11746
11747 2013-04-22 Leo Liu <sdl.web@gmail.com>
11748
11749 * info-look.el: Prefer latex2e.info. (Bug#14240)
11750
11751 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11752
11753 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11754
11755 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11756 * net/tramp.el (tramp-call-process): ... here.
11757 (tramp-set-completion-function, tramp-parse-putty):
11758 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11759 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11760 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11761 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11762 (tramp-call-local-coding-command): Use `tramp-call-process'
11763 instead of `tramp-compat-call-process'.
11764
11765 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11766 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11767 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11768 (tramp-find-inline-compress): Improve traces.
11769 (tramp-maybe-send-script): Check for Perl binary.
11770 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11771
11772 2013-04-22 Daiki Ueno <ueno@gnu.org>
11773
11774 * epg.el (epg-context-pinentry-mode): New function.
11775 (epg-context-set-pinentry-mode): New function.
11776 (epg--start): Pass --pinentry-mode option to gpg command.
11777
11778 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11779
11780 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11781 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11782 `completion-at-point'. (Bug#13774)
11783
11784 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11785 default key binding for `describe-distribution' has been moved to
11786 `C-h C-o'. (Bug#13970)
11787
11788 2013-04-21 Glenn Morris <rgm@gnu.org>
11789
11790 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11791 Add doc strings.
11792 (vc-print-log): Clarify interactive prompt.
11793
11794 2013-04-20 Glenn Morris <rgm@gnu.org>
11795
11796 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11797 No longer include timestamp etc information.
11798
11799 2013-04-20 Roland Winkler <winkler@gnu.org>
11800
11801 * faces.el (read-face-name): Bug fix, return just one face if arg
11802 multiple is nil. (Bug#14209)
11803
11804 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11807 (remove-function): Autoload.
11808
11809 * comint.el (comint-redirect-original-filter-function): Remove.
11810 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11811 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11812 (vc-cvs-annotate-command):
11813 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11814 * progmodes/prolog.el (prolog-consult-compile):
11815 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11816 Use add/remove-function instead.
11817 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11818 (gud-tooltip-process-output, gud-tooltip-tips):
11819 Use add/remove-function instead.
11820 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11821 (scheme-interaction-mode, exit-scheme-interaction-mode):
11822 Use add/remove-function instead.
11823
11824 * vc/vc-dispatcher.el: Use lexical-binding.
11825 (vc--process-sentinel): Rename from vc-process-sentinel.
11826 Change last arg to be the code to run. Don't use vc-previous-sentinel
11827 and vc-sentinel-commands any more.
11828 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11829 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11830
11831 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11832
11833 * progmodes/sh-script.el (sh-imenu-generic-expression):
11834 Handle function names with a single character. (Bug#14111)
11835
11836 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11837
11838 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11839 for subroutines defined in an eval (bug#14182).
11840
11841 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11842
11843 * bookmark.el (bookmark-completing-read): Improve handling of empty
11844 string (bug#14176).
11845
11846 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11847
11848 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11849
11850 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11851
11852 New faster Imenu implementation (bug#14058).
11853 * progmodes/python.el:
11854 (python-imenu-prev-index-position):
11855 (python-imenu-format-item-label-function)
11856 (python-imenu-format-parent-item-label-function)
11857 (python-imenu-format-parent-item-jump-label-function):
11858 New vars.
11859 (python-imenu-format-item-label)
11860 (python-imenu-format-parent-item-label)
11861 (python-imenu-format-parent-item-jump-label)
11862 (python-imenu--put-parent, python-imenu--build-tree)
11863 (python-imenu-create-index, python-imenu-create-flat-index)
11864 (python-util-popn): New functions.
11865 (python-mode): Set imenu-create-index-function to
11866 python-imenu-create-index.
11867
11868 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11869
11870 * winner.el (winner-active-region): Use region-active-p, activate-mark
11871 and deactivate-mark (bug#14225).
11872
11873 * simple.el (deactivate-mark): Don't inline it.
11874
11875 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11876
11877 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11878
11879 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11880
11881 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11882 file extensions from the archive-mode entry in order to prefer
11883 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11884
11885 2013-04-18 Leo Liu <sdl.web@gmail.com>
11886
11887 * bindings.el (help-event-list): Add ?\?.
11888
11889 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * subr.el (with-wrapper-hook): Declare obsolete.
11892 * simple.el (filter-buffer-substring-function): New hook.
11893 (filter-buffer-substring): Use it.
11894 (filter-buffer-substring-functions): Mark obsolete.
11895 * minibuffer.el (completion-in-region-function): New hook.
11896 (completion-in-region): Use it.
11897 (completion-in-region-functions): Mark obsolete.
11898 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11899 * abbrev.el (abbrev-expand-function): New hook.
11900 (expand-abbrev): Use it.
11901 (abbrev-expand-functions): Mark obsolete.
11902 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11903 and :filter-return.
11904
11905 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11906
11907 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11908 and do not care about match data.
11909
11910 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11913 completion tables when completing error conditions and
11914 `declare' arguments.
11915 (lisp-complete-symbol, field-complete): Mark as obsolete.
11916 (check-parens): Unmatched parens are user errors.
11917 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11918
11919 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11920
11921 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11922 command changed buffer (ie. `flyspell-pre-buffer' is not current
11923 buffer), which prevents making decisions based on invalid value of
11924 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11925 cause an error when `flyspell-pre-point' was nil after switching
11926 buffers.
11927 (flyspell-post-command-hook): No longer needs to change buffers when
11928 checking pre-word. While at it remove unnecessary progn.
11929
11930 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11931
11932 * textmodes/ispell.el (ispell-add-per-file-word-list):
11933 Fix `flyspell-correct-word-before-point' error when accepting
11934 words and `coment-padding' is an integer by using
11935 `comment-normalize-vars' (Bug #14214).
11936
11937 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11938
11939 New defun movement commands.
11940 * progmodes/python.el (python-nav--syntactically)
11941 (python-nav--forward-defun, python-nav-backward-defun)
11942 (python-nav-forward-defun): New functions.
11943
11944 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11945
11946 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11947 (python-syntax-context): Use named compiler-macro for backwards
11948 compatibility with Emacs 24.x.
11949
11950 2013-04-17 Leo Liu <sdl.web@gmail.com>
11951
11952 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11953 octave-hide-process-buffer.
11954
11955 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11956
11957 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11958 (bug#14216).
11959
11960 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11961
11962 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11963 Fix adjustment of offset when receiving incomplete responses from GDB
11964 (bug#14129).
11965
11966 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11969 python-mode-abbrev-table.
11970 (python-skeleton-define): Adjust accordingly.
11971 (python-mode-abbrev-table): New table that inherits from it so that
11972 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11973
11974 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11975 (abbrev-symbol): Use it.
11976 (abbrev--before-point): Use it since we already handle inheritance.
11977
11978 2013-04-16 Leo Liu <sdl.web@gmail.com>
11979
11980 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11981 binding to info-lookup-symbol.
11982
11983 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11984
11985 * minibuffer.el (completion--twq-all):
11986 * term/ns-win.el (ns-initialize-window-system):
11987 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11988
11989 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11990
11991 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11992 global bindings.
11993
11994 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11995
11996 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11997
11998 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11999 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12000 to nil.
12001 (ruby-end-of-defun): Remove the unused arg, change the docstring
12002 to reflect that this function is only used as the value of
12003 `end-of-defun-function'.
12004 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12005 to reflect an earlier change that beginning/end-of-defun functions
12006 jump between methods in a class definition, as well as top-level
12007 functions.
12008
12009 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12010
12011 * minibuffer.el (minibuffer-complete): Don't just scroll
12012 a *Completions* that's been iconified.
12013 (minibuffer-force-complete): Make sure repetitions do cycle when going
12014 through completion-in-region -> minibuffer-complete.
12015
12016 2013-04-15 Alan Mackenzie <acm@muc.de>
12017
12018 Correct the placement of c-cpp-delimiters when there're #s not at
12019 col 0.
12020
12021 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12022 place a submatch around the #.
12023 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12024 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12025 on the #, not BOL.
12026
12027 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12030 (advice--member-p): New arg `name'.
12031 (advice--add-function, advice-member-p): Use it (bug#14202).
12032
12033 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12034
12035 Reformulate java imenu-generic-expression.
12036 The old expression contained ill formed regexps.
12037
12038 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12039 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12040 (cc-imenu-java-method-arg-regexp): New defconsts.
12041 (cc-imenu-java-build-type-args-regex): New defun.
12042 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12043 handling of spaces in the regexp.
12044
12045 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12046
12047 * textmodes/ispell.el (ispell-command-loop): Remove
12048 flyspell highlight of a word when ispell accepts it (bug #14178).
12049
12050 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12051
12052 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12053 uses code from the previous `ange-ftp-run-real-handler'.
12054 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12055 only in case that function exist. This is needed for proper
12056 unloading of Tramp.
12057
12058 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12059
12060 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12061
12062 * textmodes/reftex.el (reftex-compile-variables): Use it.
12063
12064 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * files.el (normal-mode): Only use default major-mode if no other mode
12067 was specified.
12068
12069 * emacs-lisp/trace.el (trace-values): New function.
12070
12071 * files.el: Allow : in local variables (bug#14089).
12072 (hack-local-variable-regexp): New var.
12073 (hack-local-variables-prop-line, hack-local-variables): Use it.
12074
12075 2013-04-13 Roland Winkler <winkler@gnu.org>
12076
12077 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12078 data before it gets modified by bibtex-beginning-of-entry.
12079
12080 2013-04-13 Roland Winkler <winkler@gnu.org>
12081
12082 * textmodes/bibtex.el (bibtex-url): Doc fix.
12083
12084 2013-04-13 Roland Winkler <winkler@gnu.org>
12085
12086 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12087 does not visit a BibTeX file, exclude it from the list of buffers
12088 returned by bibtex-initialize.
12089
12090 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12091
12092 * window.el (split-window): Remove interactive form, since as a
12093 command this function is a special case of split-window-below.
12094 Correct doc string.
12095
12096 2013-04-12 Roland Winkler <winkler@gnu.org>
12097
12098 * faces.el (read-face-name): Do not override value of arg default.
12099 Allow single faces and strings as default values. Remove those
12100 elements from return value that are not faces.
12101 (describe-face): Simplify.
12102 (face-at-point): New optional args thing and multiple so that this
12103 function can provide the same functionality previously provided by
12104 read-face-name.
12105 (make-face-bold, make-face-unbold, make-face-italic)
12106 (make-face-unitalic, make-face-bold-italic, invert-face)
12107 (modify-face, read-face-and-attribute): Use face-at-point.
12108
12109 * cus-edit.el (customize-face, customize-face-other-window)
12110 * cus-theme.el (custom-theme-add-face)
12111 * face-remap.el (buffer-face-set)
12112 * facemenu.el (facemenu-set-face): Use face-at-point.
12113
12114 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12115
12116 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12117
12118 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12119
12120 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12121 off leading { and trailing } from field values.
12122
12123 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * emacs-lisp/timer.el (timer--check): New function.
12126 (timer--time, timer-set-function, timer-event-handler): Use it.
12127 (timer-set-idle-time): Simplify.
12128 (timer--activate): CSE.
12129 (timer-event-handler): Give more info in error message.
12130 (internal-timer-start-idle): New function, moved from C.
12131
12132 * mpc.el (mpc-proc): Add `restart' argument.
12133 (mpc-proc-cmd): Use it.
12134 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12135 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12136 less often.
12137
12138 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12139
12140 * progmodes/sh-script.el: Implement `sh-mode' own
12141 `add-log-current-defun-function' (bug#14112).
12142 (sh-current-defun-name): New function.
12143 (sh-mode): Use the function.
12144
12145 2013-04-09 Bastien Guerry <bzg@gnu.org>
12146
12147 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12148
12149 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12152
12153 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12154 timer (bug#14156).
12155
12156 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12157
12158 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12159 declaration.
12160
12161 2013-04-07 Leo Liu <sdl.web@gmail.com>
12162
12163 * pcmpl-x.el: New file.
12164
12165 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12166
12167 Do not set x-display-name until X connection is established.
12168 This is needed to prevent from weird situation described at
12169 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12170 * frame.el (make-frame): Set x-display-name after call to
12171 window system initialization function, not before.
12172 * term/x-win.el (x-initialize-window-system): Add optional
12173 display argument and use it.
12174 * term/w32-win.el (w32-initialize-window-system):
12175 * term/ns-win.el (ns-initialize-window-system):
12176 * term/pc-win.el (msdos-initialize-window-system):
12177 Add compatible optional display argument.
12178
12179 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12180
12181 * files.el (normal-backup-enable-predicate): On MS-Windows and
12182 MS-DOS compare truenames of temporary-file-directory and of the
12183 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12184 don't fail comparison by compare-strings. Also, compare file
12185 names case-insensitively on MS-Windows and MS-DOS.
12186
12187 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12190 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12191
12192 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12193
12194 * whitespace.el (whitespace-color-on, whitespace-color-off):
12195 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12196
12197 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12198
12199 * ispell.el (ispell-set-spellchecker-params):
12200 Really set `ispell-args' for all equivs.
12201
12202 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * ido.el (ido-completions): Use extra elements of ido-decorations
12205 (bug#14143).
12206 (ido-decorations): Update docstring.
12207
12208 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12209
12210 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12211 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12212 nil during initialization, in order not to miss changes since the
12213 file was opened. (Bug#14140)
12214
12215 2013-04-05 Leo Liu <sdl.web@gmail.com>
12216
12217 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12218
12219 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12220
12221 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12222
12223 2013-04-04 Glenn Morris <rgm@gnu.org>
12224
12225 * electric.el (electric-pair-inhibit-predicate): Add :version.
12226
12227 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12230 when a package is required several times (bug#14082).
12231
12232 2013-04-04 Roland Winkler <winkler@gnu.org>
12233
12234 * faces.el (read-face-name): Behave as promised by the docstring.
12235 Assume that arg default is a list of faces.
12236 (describe-face): Call read-face-name with list of default faces.
12237
12238 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12239
12240 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12241 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12242 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12243 the header.
12244 (bookmark-exit-hook-internal): Save even if list is empty.
12245
12246 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12247
12248 * emacs-lisp/package.el (package-pinned-packages): New var.
12249 (package--add-to-archive-contents): Obey it (bug#14118).
12250
12251 2013-04-03 Alan Mackenzie <acm@muc.de>
12252
12253 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12254 Also adapt to the new values of element 7 of a parse state.
12255
12256 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12257 parameter `not-in-delimiter'. Handle being inside comment opener.
12258 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12259 character in case we're typing a '*' after a '/'.
12260 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12261 instead by passing the parameter to c-state-pp-to-literal.
12262
12263 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12264 for elt. 7 of a parse state.
12265
12266 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12267
12268 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12269 * international/latin1-disp.el, international/mule-util.el:
12270 * language/cyril-util.el, language/european.el, language/ind-util.el:
12271 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12272 * language/tibetan.el, language/viet-util.el:
12273 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12274
12275 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12276
12277 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12278 (electric-pair-post-self-insert-function): Use it.
12279 (electric-pair-default-inhibit): New function, extracted from
12280 electric-pair-post-self-insert-function.
12281
12282 2013-03-31 Roland Winkler <winkler@gnu.org>
12283
12284 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12285
12286 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12287
12288 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12289
12290 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12291
12292 Un-indent after "pass" and "return" statements (Bug#13888)
12293 * progmodes/python.el (python-indent-block-enders): New var.
12294 (python-indent-calculate-indentation): Use it.
12295
12296 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12297
12298 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12299 defun. Defining it as defalias could introduce too eager
12300 byte-compiler optimization. (Bug#14030)
12301
12302 2013-03-30 Chong Yidong <cyd@gnu.org>
12303
12304 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12305
12306 2013-03-30 Leo Liu <sdl.web@gmail.com>
12307
12308 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12309 (kmacro-execute-from-register): Pass the keyboard macro to
12310 kmacro-call-macro or repeating won't work correctly.
12311
12312 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12313
12314 * progmodes/subword.el: Back to using `forward-symbol'.
12315
12316 * subr.el (forward-whitespace, forward-symbol)
12317 (forward-same-syntax): Move from thingatpt.el.
12318
12319 2013-03-29 Leo Liu <sdl.web@gmail.com>
12320
12321 * kmacro.el (kmacro-to-register): New command.
12322 (kmacro-execute-from-register): New function.
12323 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12324
12325 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * mpc.el: Use defvar-local and setq-local.
12328 (mpc--proc-connect): Connection failures are not bugs.
12329 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12330 (mpc-volume-map): Bind to the up-events.
12331
12332 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12333
12334 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12335 instead of `forward-symbol'.
12336
12337 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12340 (edebug--recursive-edit): Use it.
12341 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12342 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12343
12344 2013-03-28 Leo Liu <sdl.web@gmail.com>
12345
12346 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12347
12348 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12349
12350 * facemenu.el (list-colors-callback): New defvar.
12351 (list-colors-redisplay): New function.
12352 (list-colors-display): Install list-colors-redisplay as the
12353 revert-buffer-function. (Bug#14063)
12354
12355 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12358 and suffixes don't overlap (bug#14061).
12359
12360 * case-table.el: Use lexical-binding.
12361 (case-table-get-table): New function.
12362 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12363
12364 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12365
12366 * progmodes/subword.el: Add `superword-mode' to do word motion
12367 over symbol_words (parallels and leverages `subword-mode' which
12368 does word motion inside MixedCaseWords).
12369
12370 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12371
12372 * eshell/em-unix.el: Move su and sudo to...
12373 * eshell/em-tramp.el: ...Eshell tramp module.
12374
12375 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12378 Change return value to be a sexp. Delay `get-buffer' to after
12379 restoring the desktop (bug#13951).
12380
12381 2013-03-26 Leo Liu <sdl.web@gmail.com>
12382
12383 * register.el: Move semantic tag handling back to
12384 cedet/semantic/senator.el. (Bug#14052)
12385
12386 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12387
12388 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12389 into the prompt either (bug#13963).
12390
12391 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12394 part of "(error-foo)".
12395
12396 2013-03-24 Juri Linkov <juri@jurta.org>
12397
12398 * replace.el (list-matching-lines-prefix-face): New defcustom.
12399 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12400 `occur-engine' if `face-differs-from-default-p' returns t.
12401 (occur-engine): Add `,' inside backquote construct to evaluate
12402 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12403 Pass `prefix-face' to the functions `occur-context-lines' and
12404 `occur-engine-add-prefix'.
12405 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12406 `prefix-face' and propertize the prefix with `prefix-face'.
12407 (Bug#14017)
12408
12409 2013-03-24 Leo Liu <sdl.web@gmail.com>
12410
12411 * nxml/rng-valid.el (rng-validate-while-idle)
12412 (rng-validate-quick-while-idle): Guard against deleted buffer.
12413 (Bug#13999)
12414
12415 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12416 is the last entry in kill-buffer-hook.
12417
12418 * files.el (kill-buffer-hook): Doc fix.
12419
12420 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12421
12422 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12423 Make it safe-local.
12424
12425 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12426
12427 2013-03-23 Leo Liu <sdl.web@gmail.com>
12428
12429 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12430 Remove.
12431
12432 * nxml/rng-valid.el (rng-validate-mode)
12433 (rng-after-change-function, rng-do-some-validation):
12434 * nxml/rng-maint.el (rng-validate-buffer):
12435 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12436 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12437 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12438 (nxml-extend-after-change-region): Use with-silent-modifications.
12439
12440 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12441 timer-idle-list.
12442
12443 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12444 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12445 timer-idle-list. (Bug#13999)
12446
12447 2013-03-23 Juri Linkov <juri@jurta.org>
12448
12449 * info.el (info-index-match): New face.
12450 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12451 main pattern and add text properties with the new face to matches
12452 in index entries relative to the beginning of the index entry.
12453 (Bug#14015)
12454
12455 2013-03-21 Eric Ludlam <zappo@gnu.org>
12456
12457 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12458 Inhibit read only while inserting objects.
12459
12460 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12461
12462 * progmodes/cfengine.el: Update docs to mention
12463 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12464 symbol motion. Remove "_" from the word syntax.
12465
12466 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12467
12468 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12469 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12470
12471 2013-03-20 Juri Linkov <juri@jurta.org>
12472
12473 * info.el (Info-next-reference-or-link)
12474 (Info-prev-reference-or-link): New functions.
12475 (Info-next-reference, Info-prev-reference): Use them.
12476 (Info-try-follow-nearest-node): Handle footnote navigation.
12477 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12478
12479 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12480
12481 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12482 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12483
12484 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12485
12486 Suppress unnecessary non-ASCII chatter during build process.
12487 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12488 (batch-skkdic-convert): Suppress most of the chatter.
12489 It's not needed so much now that machines are faster,
12490 and its non-ASCII component was confusing; see Dmitry Gutov in
12491 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12492
12493 2013-03-20 Leo Liu <sdl.web@gmail.com>
12494
12495 * ido.el (ido-chop): Fix bug#10994.
12496
12497 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12498
12499 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12500 Remove vars.
12501 (whitespace-color-on, whitespace-color-off):
12502 Use `font-lock-fontify-buffer' (Bug#13817).
12503
12504 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12507 remapping in mode-line.
12508 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12509
12510 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12511
12512 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12513 value for `whitespace-line' face (Bug#13875).
12514 (whitespace-font-lock-keywords): Change description.
12515 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12516 the constructed keywords instead.
12517 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12518
12519 2013-03-19 Leo Liu <sdl.web@gmail.com>
12520
12521 * progmodes/compile.el (compilation-display-error): New command.
12522 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12523 C-o. (Bug#13992)
12524
12525 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12526
12527 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12528
12529 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12530
12531 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12532
12533 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12534
12535 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12536
12537 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12538 * net/tramp-gvfs.el (top):
12539 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12540 (tramp-handle-shell-command): Use it.
12541 (tramp-dissect-file-name): Raise an error when hostname is a
12542 method name, and neither method nor user is specified.
12543
12544 * net/trampver.el: Update release number.
12545
12546 2013-03-18 Leo Liu <sdl.web@gmail.com>
12547
12548 Make sure eldoc can be turned off properly.
12549 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12550 eldoc-mode.
12551 (eldoc-display-message-p): Revert last change.
12552 (eldoc-display-message-no-interference-p)
12553 (eldoc-print-current-symbol-info): Tweak.
12554
12555 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12556
12557 * doc-view.el (doc-view-new-window-function): Check the new window
12558 overlay's display property instead the char property of the
12559 buffer's first char. Use `with-selected-window' instead of
12560 `save-window-excursion' with `select-window'.
12561 (doc-view-document->bitmap): Check the current doc-view overlay's
12562 display property instead the char property of the buffer's first char.
12563
12564 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12565
12566 Automate the build of ja-dic.el (Bug#13984).
12567 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12568 from the input, rather than assume that it's been done for us by the
12569 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12570 the current date into a ja-dic.el comment, as that complicates
12571 regression testing.
12572
12573 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12574
12575 * whitespace.el: Fix double evaluation.
12576 (whitespace-space, whitespace-hspace, whitespace-tab)
12577 (whitespace-newline, whitespace-trailing, whitespace-line)
12578 (whitespace-space-before-tab, whitespace-indentation)
12579 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12580 obsolete defvars.
12581 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12582 (whitespace-color-on): Use a single font-lock-add-keywords call.
12583 Fix double-evaluation of face variables.
12584
12585 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12586
12587 * net/tramp-adb.el (tramp-adb-parse-device-names):
12588 Use `start-process' instead of `call-process'. Otherwise, the
12589 function might be blocked under MS Windows. (Bug#13299)
12590
12591 2013-03-17 Leo Liu <sdl.web@gmail.com>
12592
12593 Extend eldoc to display info in the mode-line. (Bug#13978)
12594 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12595 (eldoc-mode-line-string): New variable.
12596 (eldoc-minibuffer-message): New function.
12597 (eldoc-message-function): New variable.
12598 (eldoc-message): Use it.
12599 (eldoc-display-message-p)
12600 (eldoc-display-message-no-interference-p):
12601 Support eldoc-post-insert-mode.
12602
12603 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12604 (eval-expression): Run it.
12605
12606 2013-03-17 Roland Winkler <winkler@gnu.org>
12607
12608 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12609 strings in the list of return values.
12610
12611 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12612
12613 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12614 radix before checking for HMS forms.
12615
12616 2013-03-16 Leo Liu <sdl.web@gmail.com>
12617
12618 * progmodes/scheme.el: Add indentation and font-locking for λ.
12619 (Bug#13975)
12620
12621 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12622
12623 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12624 token before point (bug#13942).
12625
12626 2013-03-16 Leo Liu <sdl.web@gmail.com>
12627
12628 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12629
12630 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12631
12632 * startup.el (command-line-normalize-file-name): Fix handling of
12633 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12634 <xfq.free@gmail.com> in
12635 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12636
12637 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12638
12639 Sync with Tramp 2.2.7.
12640
12641 * net/trampver.el: Update release number.
12642
12643 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12644
12645 * doc-view.el: Fix bug#13887.
12646 (doc-view-insert-image): Don't modify overlay associated to
12647 non-live windows, and implement horizontal centering of image in
12648 case it's smaller than the window.
12649 (doc-view-new-window-function): Force redisplay of new windows on
12650 doc-view buffers.
12651
12652 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12653
12654 * saveplace.el (save-place-alist-to-file): Don't sort
12655 `save-place-alist', just pretty-print it (bug#13882).
12656
12657 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12658
12659 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12660 Check whether `default-file-name-coding-system' is bound.
12661 It isn't in XEmacs.
12662
12663 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12666 backquotes for `obsolete' (bug#13929).
12667
12668 * international/mule.el (find-auto-coding): Include file name in
12669 obsolescence warning (bug#13922).
12670
12671 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12672
12673 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12674 for CFEngine 3-specific indentation.
12675 (cfengine3-indent-line): Use it. Fix up category regex.
12676 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12677
12678 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * type-break.el (type-break-file-name):
12681 * textmodes/remember.el (remember-data-file):
12682 * strokes.el (strokes-file):
12683 * shadowfile.el (shadow-initialize):
12684 * saveplace.el (save-place-file):
12685 * ps-bdf.el (bdf-cache-file):
12686 * progmodes/idlwave.el (idlwave-config-directory):
12687 * net/quickurl.el (quickurl-url-file):
12688 * international/kkc.el (kkc-init-file-name):
12689 * ido.el (ido-save-directory-list-file):
12690 * emulation/viper.el (viper-custom-file-name):
12691 * emulation/vip.el (vip-startup-file):
12692 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12693 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12694
12695 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12696
12697 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12698 * language/thai-word.el: Switch to UTF-8.
12699
12700 See ChangeLog.16 for earlier changes.
12701
12702 ;; Local Variables:
12703 ;; coding: utf-8
12704 ;; End:
12705
12706 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12707
12708 This file is part of GNU Emacs.
12709
12710 GNU Emacs is free software: you can redistribute it and/or modify
12711 it under the terms of the GNU General Public License as published by
12712 the Free Software Foundation, either version 3 of the License, or
12713 (at your option) any later version.
12714
12715 GNU Emacs is distributed in the hope that it will be useful,
12716 but WITHOUT ANY WARRANTY; without even the implied warranty of
12717 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12718 GNU General Public License for more details.
12719
12720 You should have received a copy of the GNU General Public License
12721 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.