Delete Selection mode doc updates
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-31 Glenn Morris <rgm@gnu.org>
2
3 * delsel.el (delete-selection-mode): Doc fix.
4
5 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
6 (trace-function-background): Doc fixes.
7
8 * ido.el (ido-use-virtual-buffers): Doc fix.
9 Reset :version, since the default value has not changed.
10
11 * register.el (register-preview-delay, register-read-with-preview):
12 Doc fixes.
13
14 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
15 do not mess with mail-buffer position (fixes 2009-11-03 change).
16 * progmodes/cc-mode.el (c-submit-bug-report):
17 Check auto-fill-mode is bound. (Bug#16592)
18
19 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
20
21 * startup.el (fancy-splash-image-file): New function,
22 split from fancy-splash-head.
23 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
24 so that we are both using the same image. (Bug#16574)
25
26 2014-01-30 Glenn Morris <rgm@gnu.org>
27
28 * simple.el (eval-expression): Doc fix.
29
30 * hexl.el (hexl-mode-hook):
31 * ielm.el (ielm-mode-hook):
32 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
33 (lisp-interaction-mode-hook):
34 * progmodes/cfengine.e (cfengine3-documentation-function):
35 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
36
37 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
40 is a symbol (bug#16584).
41
42 2014-01-30 Glenn Morris <rgm@gnu.org>
43
44 * help.el (help-for-help-internal): Add "P" to text.
45
46 2014-01-29 Glenn Morris <rgm@gnu.org>
47
48 * simple.el (just-one-space, cycle-spacing): Doc fixes.
49
50 2014-01-28 Martin Rudalics <rudalics@gmx.at>
51
52 * window.el (fit-frame-to-buffer): Fix calculations for margins and
53 height constraints.
54
55 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
56
57 * progmodes/hideif.el: Extend to full CPP expression syntax.
58 (hif-token-alist): Add missing tokens.
59 (hif-token-regexp): Add support for float/octal/hex immediates.
60 (hif-string-literal-regexp): New const.
61 (hif-tokenize): Recognize strings and float/octal/hex immediates.
62 (hif-exprlist): New function.
63 (hif-parse-if-exp): Use it.
64 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
65 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
66 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
67 (hif-logxor, hif-comma): New functions.
68
69 2014-01-28 Glenn Morris <rgm@gnu.org>
70
71 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
72
73 * indent.el (tab-stop-list): Doc fix. Add :version.
74
75 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
76 (cvs-append-to-ignore): Add compatibility alias.
77
78 2014-01-27 Glenn Morris <rgm@gnu.org>
79
80 * dired.el (dired-hide-details-mode): Don't autoload it,
81 since it cannot be used outside Dired buffers anyway.
82
83 * emulation/cua-base.el (cua-mode): Doc fix.
84
85 * dired.el (dired-hide-details-hide-symlink-targets)
86 (dired-hide-details-hide-information-lines)
87 (dired-hide-details-mode): Doc fixes.
88
89 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
90 * strokes.el (strokes-file): Doc fix. Bump :version.
91 (strokes-help): Doc fix.
92 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
93 * emulation/viper.el (viper): Doc fix for custom group.
94 (top-level): Remove oh-so-no-longer-relevant text about vip.
95 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
96
97 * ido.el (ido-save-directory-list-file):
98 * saveplace.el (save-place-file):
99 * calendar/timeclock.el (timeclock-file):
100 * net/quickurl.el (quickurl-url-file):
101 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
102 * progmodes/idlwave.el (idlwave-config-directory):
103 * textmodes/remember.el (remember-data-file):
104 Bump :version.
105
106 2014-01-26 Glenn Morris <rgm@gnu.org>
107
108 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
109 Doc fix. Make obsolete.
110 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
111
112 * sort.el (delete-duplicate-lines): Doc fix.
113
114 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
115
116 * progmodes/ada-mode.el (ada):
117 * woman.el (woman): Link to info manual and Commentary section.
118
119 * progmodes/flymake.el (flymake):
120 * nxml/nxml-mode.el (nxml):
121 * net/eww.el (eww):
122 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
123 * htmlfontify.el (htmlfontify):
124 * ses.el (ses):
125 * epa.el (epa):
126 * ido.el (ido): Link to info manual.
127
128 2014-01-25 Leo Liu <sdl.web@gmail.com>
129
130 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
131
132 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
133
134 * net/shr.el (shr-tag-img): Prefer the title over the alt text
135 (bug#16537).
136
137 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
138
139 * net/eww.el (eww-download-callback):
140 Fix reference to eww-download-directory.
141
142 * emacs-lisp/bytecomp.el (byte-compile-file):
143 Remove unused local variable `file-name'.
144
145 2014-01-24 Glenn Morris <rgm@gnu.org>
146
147 * woman.el (woman-default-faces, woman-monochrome-faces):
148 Fix obsolescence specification.
149
150 * subr.el (with-demoted-errors): Doc fix.
151
152 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
155 (cl--macroexp-fboundp): New function.
156 (cl--make-type-test): Use it.
157
158 2014-01-23 Glenn Morris <rgm@gnu.org>
159
160 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
161 * simple.el (eval-expression): Doc fixes.
162
163 2014-01-22 Glenn Morris <rgm@gnu.org>
164
165 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
166
167 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/package.el: Write files silently.
170 (package-autoload-ensure-default-file, package--write-file-no-coding)
171 (package-generate-description-file, package--download-one-archive)
172 (package-install-from-archive): Tell `write-region' to stay quiet.
173 (package-menu-mode, package-menu--print-info): Omit the Archive column
174 if there's only one archive.
175 (package-all-keywords, package--has-keyword-p): Remove dead code.
176
177 2014-01-22 Glenn Morris <rgm@gnu.org>
178
179 * version.el (emacs-bzr-version-bzr): Fix typo.
180
181 * version.el (emacs-repository-get-version):
182 Check either .bzr or .git, but not both.
183 Make the git case actually use the DIR argument, and return nil
184 rather than the empty string.
185 Avoid error if .git exists but the git executable is not found.
186
187 2014-01-22 Martin Rudalics <rudalics@gmx.at>
188
189 Fixes in window size functions around Bug#16430 and Bug#16470.
190 * window.el (window-total-size, window-size): New argument ROUND.
191 (window--min-delta-1, window-min-delta, window--max-delta-1):
192 Be more conservative when calculating the numbers of lines or
193 columns a window can shrink (Bug#16430).
194 (fit-window-to-buffer): Simplify code.
195 * term.el (term-window-width): Call window-body-width again.
196
197 2014-01-22 Glenn Morris <rgm@gnu.org>
198
199 * image.el (image-format-suffixes): Doc fix.
200
201 * international/quail.el (quail-define-package): Doc fix.
202
203 * emacs-lisp/authors.el (authors-valid-file-names):
204 (authors-renamed-files-alist): Additions.
205
206 * vc/vc-git.el (vc-git-print-log): Remove --follow;
207 reverts 2014-01-09 change. (Bug#16422)
208
209 * calc/calc-embed.el (thing-at-point-looking-at):
210 * emacs-lisp/map-ynp.el (x-popup-dialog):
211 * obsolete/lmenu.el (x-popup-dialog):
212 * emacs-lisp/package.el (url-recreate-url):
213 * mail/mailclient.el (clipboard-kill-ring-save):
214 * subr.el (x-popup-dialog): Update declaration.
215 * mail/rmail.el (rmail-mime-message-p):
216 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
217
218 2014-01-21 Daniel Colascione <dancol@dancol.org>
219
220 * progmodes/sh-script.el (sh--inside-noncommand-expression):
221 Correctly detect when we're inside an arithmetic expansion form
222 containing nested parenthesis.
223 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
224 to detect cases where we shouldn't expand "<<" to a heredoc
225 skeleton.
226
227 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
228
229 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
230 (eldoc--message-command-p): New function.
231 (eldoc-display-message-p): Use it.
232 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
233 message is not automatically erased for us.
234 (eldoc-print-current-symbol-info): Erase previous message, if any.
235
236 2014-01-21 Tassilo Horn <tsdh@gnu.org>
237
238 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
239 specify it's an interactive function.
240
241 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
242 Fix regex used for scanning for citation keys which failed for
243 citations with optional arguments.
244
245 2014-01-21 Leo Liu <sdl.web@gmail.com>
246
247 * simple.el (read--expression): Don't enable eldoc-mode.
248
249 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
250
251 * simple.el (move-beginning-of-line): Make sure we don't move forward
252 (bug#16497).
253
254 2014-01-20 Juri Linkov <juri@jurta.org>
255
256 * saveplace.el (toggle-save-place, save-place-to-alist)
257 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
258 'dired-mode) before checking for dired-directory. (Bug#16477)
259
260 2014-01-20 Juri Linkov <juri@jurta.org>
261
262 * indent.el (indent-line-to): Use backward-to-indentation
263 instead of back-to-indentation. (Bug#16461)
264
265 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
266
267 Revert some of the CANNOT_DUMP fix (Bug#16494).
268 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
269 but fixing this can wait until after the next release.
270 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
271
272 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
273
274 * eshell/esh-mode.el (eshell-password-prompt-regexp):
275 Use `password-word-equivalents'.
276 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
277 to t. (Bug#5664, Bug#13124)
278
279 2014-01-19 Alan Mackenzie <acm@muc.de>
280
281 Bind open-paren-in-column-0-is-defun-start to nil at some entry
282 points.
283 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
284 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
285 * progmodes/cc-mode.el (c-before-change, c-after-change)
286 (c-font-lock-fontify-region): Bind it here.
287
288 2014-01-19 Martin Rudalics <rudalics@gmx.at>
289
290 * term.el (term-window-width): Call window-text-width instead of
291 window-width (Bug#16470).
292
293 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
294
295 * simple.el (password-word-equivalents): Remove duplicates.
296 Sort, to make this easier next time.
297 Downcase. Omit ": " after "jelszó".
298
299 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
300
301 * term/common-win.el (saved-region-selection): Defvar it.
302 (x-select-text): Set saved-region-selection (Bug#16382).
303
304 2014-01-18 Glenn Morris <rgm@gnu.org>
305
306 * emacs-lisp/authors.el (authors-aliases)
307 (authors-renamed-files-alist): Add some entries.
308
309 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
310
311 * net/tramp.el (tramp-password-prompt-regexp):
312 Use `password-word-equivalents' if available.
313 (tramp-action-password, tramp-process-one-action)
314 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
315
316 2014-01-17 Chong Yidong <cyd@gnu.org>
317
318 * simple.el (password-word-equivalents): New defcustom.
319 * comint.el (comint-password-prompt-regexp): Use it. Bump version
320 to 24.4.
321 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
322 to t. (Bug#13124)
323
324 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
325
326 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
327 (ruby-align-to-stmt-keywords): Change the default value.
328 Use `ruby-alignable-keywords' to generate the possible customization
329 choices.
330 (ruby-smie-rules): Instead of using a hardcoded list of alignable
331 keywords, check against the value of `ruby-alignable-keywords'
332 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
333
334 2014-01-17 Glenn Morris <rgm@gnu.org>
335
336 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
337
338 Make M-x authors return zero *Authors Errors* from current logs.
339 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
340 (authors-ignored-files): Add some entries, remove others.
341 (authors-ambiguous-files, authors-valid-file-names):
342 Add some entries.
343 (authors-renamed-files-alist): Add, remove, and adjust entries.
344 (authors-renamed-files-regexps): Add some entries.
345 Remove some very broad ones. Make some entries `lax'.
346 (authors-lax-changelogs): New constant.
347 (authors-disambiguate-file-name): Treat top-level specially.
348 (authors-lax-changelog-p): New function.
349 (authors-canonical-file-name): Check file as written against
350 authors-valid-file-names. Do not special-case etc/.
351 Handle `lax' logs and authors-renamed-files-regexps elements.
352
353 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
354
355 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
356 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
357 callers.
358
359 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
362 Assume we're already in the proper buffer.
363 Inspired by Anders Lindgren <andlind@gmail.com>.
364 (follow-post-command-hook): Call it from the right buffer.
365 (follow-comint-scroll-to-bottom): Adjust call.
366 (follow-all-followers): Use get-buffer-window-list.
367
368 2014-01-15 Daniel Colascione <dancol@dancol.org>
369
370 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
371 `buffer-file-name' in interactive-form so that we don't leave
372 pathless file names in `file-name-history'.
373
374 2014-01-15 Juri Linkov <juri@jurta.org>
375
376 * indent.el (indent-rigidly): Set deactivate-mark to nil
377 in transient indentation mode. (Bug#16438)
378
379 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
380
381 * emacs-lisp/package.el (package-desc-keywords): New function
382 (Bug#16222).
383 (describe-package-1, package-all-keywords)
384 (package--has-keyword-p): Use it.
385
386 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
387
388 * simple.el (define-alternatives): When creating the
389 COMMAND-alternatives variable, assign COMMAND as its definition
390 name so that `describe-variable' can relocate it.
391
392 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
393
394 * font-lock.el (font-lock-keywords): Fix typo in docstring
395 (bug#16307).
396
397 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
398
399 * ispell.el (ispell-region): Reset `in-comment' for new line
400 instead of wrongly reset `add-coment' (bug#13577).
401
402 2014-01-14 Daiki Ueno <ueno@gnu.org>
403
404 * epa-file.el (epa-file-write-region): Encode the region according
405 to `buffer-file-format'. Problem reported at:
406 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
407
408 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
411 so it applies in the right buffer (bug#16410).
412
413 2014-01-13 Daniel Colascione <dancol@dancol.org>
414
415 * textmodes/rst.el (rst-define-key): Provide deprecated
416 keybindings through named functions instead of anonymous ones so
417 that "??" doesn't appear in describe-mode output.
418
419 2014-01-13 Bastien Guerry <bzg@gnu.org>
420
421 * simple.el (define-alternatives): Call the selected command
422 interactively. When setting `COMMAND--implementation' for the
423 first time, tell the user how to chose another implementation.
424 Enhance the docstring.
425
426 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
427
428 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
429 (log-edit--match-first-line): New function.
430 (log-edit-font-lock-keywords): Use it.
431 (log-edit-mode): Make jit-lock-defer-multiline work.
432
433 2014-01-13 Bastien Guerry <bzg@gnu.org>
434
435 * rect.el (rectangle-mark-mode): When the region is not active,
436 display a message saying that the mark as been set and that
437 rectangle mode is in use.
438 (rectangle--highlight-for-redisplay): Only put an overlay with a
439 visible vertical bar when (display-graphic-p) is non-nil.
440 This partially fixes Bug#16403.
441
442 2014-01-13 Juri Linkov <juri@jurta.org>
443
444 * info.el (Info-find-file): Go to DIR before displaying the error
445 about a nonexistent file if no previous Info file is visited.
446 Use `user-error' instead of `error' for "Info file %s does not exist".
447 (Info-find-node-2): In case of a nonexistent node in unwind forms
448 go to the Top node if there is no previous node to revert to.
449 (Bug#16405)
450
451 2014-01-13 Martin Rudalics <rudalics@gmx.at>
452
453 fit-frame/window-to-buffer code fixes including one for Bug#14096.
454 * window.el (fit-frame-to-buffer): Fix doc-string.
455 Respect window-min-height/-width. Fit pixelwise when
456 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
457 when avoiding that frame goes partially off-screen.
458 (fit-window-to-buffer): Respect window-min-height/-width
459 (Bug#14096).
460
461 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
464 after an empty line.
465
466 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * net/shr.el (shr-render-region): Autoload.
469
470 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
471
472 * net/eww.el (eww-download-directory): Rename from
473 `eww-download-path' (Bug#16419).
474
475 2014-01-12 Leo Liu <sdl.web@gmail.com>
476
477 * dired-x.el (dired-mode-map): Fix last change.
478
479 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
480
481 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
482
483 Spelling fixes.
484 * emacs-lisp/generic.el (generic--normalize-comments):
485 Rename from generic--normalise-comments. All uses changed.
486 * play/bubbles.el (bubbles--neighborhood-score):
487 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
488 (bubbles--neighborhood-available)
489 (bubbles--update-neighborhood-score):
490 Rename from names with 'neighbourhood'. All uses changed.
491
492 2014-01-12 Leo Liu <sdl.web@gmail.com>
493
494 Re-implement the feature of showing eldoc info after editing.
495 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
496 (eldoc-edit-message-commands): New function.
497 (eldoc-print-after-edit): New variable.
498 (eldoc-pre-command-refresh-echo-area): Emit message only by
499 eldoc-message-commands.
500 (eldoc-mode): Restrict eldoc-message-commands to editing commands
501 if eldoc-print-after-edit is set. (Bug#16346)
502 * simple.el (read--expression): Enable eldoc-mode.
503 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
504
505 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
506 Eric S. Raymond <esr@thyrsus.com>
507
508 * version.el (emacs-repository-get-version): Enhance so the
509 function works correctly in either a Bazaar or Git repo.
510
511 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
512
513 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
514 Goes with removal of the joke manpages from /etc.
515
516 2014-01-10 K. Handa <handa@gnu.org>
517
518 * mail/rmail.el (rmail-get-coding-system):
519 Check rmail-get-coding-function before "funcall"ing it.
520
521 2014-01-10 Glenn Morris <rgm@gnu.org>
522
523 * emacs-lisp/authors.el (authors-fixed-entries):
524 Update for files that no longer exist.
525
526 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
527
528 * version.el (emacs-bzr-get-version): Restore compatibilty with
529 24.3 (Tested).
530
531 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
532
533 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
534 and Podfile.
535
536 2014-01-10 Eli Zaretskii <eliz@gnu.org>
537
538 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
539
540 2014-01-10 Chong Yidong <cyd@gnu.org>
541
542 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
543
544 2014-01-10 Anders Lindgren <andlind@gmail.com>
545
546 * follow.el (follow-cache-command-list): Include right-char and
547 left-char.
548
549 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
550
551 Spelling fixes.
552 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
553 * woman.el (woman-mark-horizontal-position):
554 Rename from woman-mark-horizonal-position. Use changed.
555
556 2014-01-10 Glenn Morris <rgm@gnu.org>
557
558 * info.el (info-initialize): If running uninstalled, ensure our
559 own info files are always found first, even if INFOPATH is set.
560
561 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
562
563 2014-01-09 David Engster <deng@randomsample.de>
564
565 * emacs-lisp/eieio-custom.el:
566 * emacs-lisp/eieio-opt.el: Set generated autoload file to
567 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
568 * emacs-lisp/eieio.el: Regenerate autoloads.
569
570 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
571
572 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
573 following renames. (Bug#8756)
574
575 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
578 (bug#16382).
579 (activate-mark): Add `no-tmm' argument.
580 (set-mark, push-mark-command): Use it instead of running
581 activate-mark-hook by hand.
582
583 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
584
585 In preparation for the move to git, sanitize out some
586 Bazaar-specific names.
587
588 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
589
590 * version.el (emacs-bzr-version): Name changed to
591 emacs-repository-version. Obsolete-variable alias made.
592 * loadup.el: Follow through on this name change.
593 * mail/emacsbug.el (report-emacs-bug): Factor out any
594 assumption about the version control system in use.
595
596 2014-01-08 David Engster <deng@randomsample.de>
597
598 * help-fns.el (help-fns-describe-function-functions):
599 New variable to call functions for augmenting help buffers.
600 (describe-function-1): Remove explicit calls to
601 `help-fns--compiler-macro', `help-fns--parent-mode' and
602 `help-fns--obsolete'. Put them in above new variable instead, and
603 call them through `run-hook-with-args'.
604 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
605 `eieio-describe-class'. Not meant for interactive use anymore,
606 but to augment existing help buffers. Remove optional second
607 argument. Create proper button for file location.
608 Rewrite function to use `insert' instead of `princ' and `prin1' where
609 possible.
610 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
611 (eieio-method-def, eieio-class-def): Move further up.
612 (describe-method, describe-generic, eieio-describe-method):
613 Remove aliases.
614 (eieio-help-constructor, eieio-help-generic): Rename from
615 `eieio-describe-constructor' and `eieio-describe-generic', resp.
616 Rewrite to use `insert' in the current buffer and use proper help
617 buttons.
618 (eieio-help-find-method-definition)
619 (eieio-help-find-class-definition): Also accept symbols as
620 arguments.
621 (eieio-help-mode-augmentation-maybee): Remove.
622 (eieio-describe-class-sb): Use `describe-function'.
623 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
624 Add `eieio-help-generic' and `eieio-help-constructor'.
625
626 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
627
628 Spelling fixes.
629 * language/china-util.el (hz-ascii-designation):
630 Rename from hz-ascii-designnation.
631 (hz-ascii-designation): Rename from hz-ascii-designnation.
632 All uses changed.
633
634 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
637 package-alist.
638
639 2014-01-08 Bastien Guerry <bzg@gnu.org>
640
641 * emacs-lisp/package.el (package-delete):
642 Correctly delete the package from package-alist.
643
644 2014-01-08 Daiki Ueno <ueno@gnu.org>
645
646 * emacs-lisp/package.el (url-recreate-url): Declare.
647 (url-http-target-url): Declare.
648 (package-handle-response): Include requested URL in the error message.
649 (package--check-signature): Don't re-signal errors from
650 package--with-work-buffer. Suggested by Stefan Monnier.
651
652 2014-01-07 Bastien Guerry <bzg@gnu.org>
653
654 * minibuffer.el (completion--try-word-completion): When both a
655 hyphen and a space are possible candidates for the character
656 following a word, display both candidates. (Bug#15980)
657
658 2014-01-07 Martin Rudalics <rudalics@gmx.at>
659
660 * window.el (balance-windows-2): While rounding don't give a
661 window more than the remainder. Bug#16351, Bug#16383.
662
663 2014-01-07 Glenn Morris <rgm@gnu.org>
664
665 * menu-bar.el (menu-bar-help-extra-packages): Remove.
666 (menu-bar-help-menu): Use view-external-packages instead.
667
668 2014-01-07 Bastien Guerry <bzg@gnu.org>
669
670 * emacs-lisp/package.el (package-delete): Also delete the package
671 name from `package-alist', not its description only.
672
673 2014-01-07 Glenn Morris <rgm@gnu.org>
674
675 * help.el (view-external-packages):
676 * menu-bar.el (menu-bar-help-extra-packages):
677 Visit efaq.info rather than etc/MORE.STUFF.
678
679 2014-01-07 Juri Linkov <juri@jurta.org>
680
681 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
682 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
683
684 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
685 that shadows RET. (Bug#16342)
686
687 2014-01-07 Chong Yidong <cyd@gnu.org>
688
689 * isearch.el (isearch-yank-char, isearch-yank-word)
690 (isearch-yank-line): Doc fix.
691
692 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
695 * emacs-lisp/elint.el (elint-find-builtins):
696 * emacs-lisp/eldoc.el (eldoc-symbol-function):
697 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
698 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
699 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
700 * apropos.el (apropos-safe-documentation):
701 * subr.el (symbol-file): Remove redundant fboundp.
702 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
703
704 2014-01-06 Bastien Guerry <bzg@gnu.org>
705
706 * hl-line.el (global-hl-line-overlay): Make a local variable.
707 (global-hl-line-overlays): New variable to store all overlays.
708 (global-hl-line-mode): Don't delete overlays from the current
709 buffer when `global-hl-line-sticky-flag' is non-nil.
710 (global-hl-line-highlight): Add new overlays to
711 `global-hl-line-overlays'.
712 (global-hl-line-unhighlight-all): New function to delete all
713 overlays when turning off `global-hl-line-mode'.
714 This fixes Bug#16183.
715
716 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * subr.el (set-transient-map): Fix nested case and docstring.
719
720 2014-01-06 Tassilo Horn <tsdh@gnu.org>
721
722 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
723 `Texinfo' entry.
724
725 2014-01-06 Daniel Colascione <dancol@dancol.org>
726
727 Fix defun navigation in vc log view.
728
729 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
730 like `beginning-of-defun'.
731 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
732 log-view-end-of-defun to log-view-end-of-defun-1. Replace
733 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
734 (log-view-extract-comment): Call `log-view-current-entry' directly
735 instead of relying on broken `log-view-beginning-of-defun' behavior.
736
737 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
738
739 Spelling fixes.
740 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
741 * emacs-lisp/debug.el (cancel-debug-on-entry):
742 * epg.el (epg-error-to-string):
743 * files.el (recover-file):
744 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
745 * mail/emacsbug.el (report-emacs-bug-hook):
746 * mail/sendmail.el (mail-recover):
747 * ses.el (ses-yank-resize):
748 * term/ns-win.el (ns-print-buffer):
749 Spelling fixes in diagnostics, mostly for "canceled" with one L.
750 * epg.el (epg-key-capability-alist): Rename from misspelled version.
751 All uses changed.
752 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
753
754 2014-01-06 Leo Liu <sdl.web@gmail.com>
755
756 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
757 to avoid shadowing global key. (Bug#16354)
758
759 2014-01-06 Daniel Colascione <dancol@dancol.org>
760
761 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
762 rst-mode.
763
764 2014-01-05 Martin Rudalics <rudalics@gmx.at>
765
766 * window.el (balance-windows): Add mising t to fix Bug#16351.
767
768 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
769
770 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
771 (bug#16285).
772 (shr-insert): If we have a word that's longer than `shr-width',
773 break after it anyway. Otherwise we'll do no breaking once we get
774 such a long word.
775
776 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
777
778 * net/eww.el (eww): Support single/double quote for search.
779 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
780 (eww-history-quit): Delete and use quit-window.
781 (eww-history-kill): Delete, because it doesn't work well and
782 not necessary.
783 (eww-history-mode-map): Delete some keys and add easy-menu.
784
785 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
786
787 Fix misspelling of 'chinese' in rx (Bug#16237).
788 * emacs-lisp/rx.el (rx-categories): Correct spelling of
789 chinese-two-byte.
790
791 Change subword regexps back to vars (Bug#16296).
792 * progmodes/subword.el (subword-forward-regexp)
793 (subword-backward-regexp): Change these back to variables.
794
795 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
798 syntax-begin-function (bug#16247).
799
800 2014-01-03 Chong Yidong <cyd@gnu.org>
801
802 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
803 (advice--docstring): Delete variable.
804 (advice--make-1): Leave the docstring empty.
805 (advice-add): Use function-documentation for advised docstring.
806
807 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
808 Ignore function-documentation property when getting documentation.
809 (ad-activate-advised-definition): Use function-documentation
810 generate the docstring.
811 (ad-make-advised-definition): Don't call
812 ad-make-advised-definition-docstring.
813 (ad-make-advised-definition-docstring, ad-advised-definition-p):
814 Delete functions.
815
816 * progmodes/sql.el (sql-help): Use function-documentation instead
817 of dynamic-docstring-function property. No need to autoload now.
818 (sql--help-docstring): New variable.
819 (sql--make-help-docstring): Use it.
820
821 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * ielm.el (ielm-tab): Retarget.
824 (ielm-map): Use ielm-tab for tab.
825 (ielm-complete-filename): Use comint-filename-completion.
826 (ielm-complete-symbol): Remove.
827 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
828 remove ielm-tab from completion-at-point-functions (bug#16224).
829
830 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
831 Beware signals raised by predicates (bug#16201).
832
833 2014-01-02 Richard Stallman <rms@gnu.org>
834
835 * dired-aux.el (dired-do-print): Handle printer-name.
836
837 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
838 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
839 (rmail-epa-decrypt): Turn off mime processing.
840
841 * mail/rmail.el (rmail-make-in-reply-to-field):
842 Add parens in message-id.
843
844 * mail/rmail.el (rmail-get-coding-function): Variable.
845 (rmail-get-coding-system): Use it.
846
847 2013-12-31 Eli Zaretskii <eliz@gnu.org>
848
849 * international/mule-conf.el: Unify the charset indian-is13194.
850 (indian-is13194): Specify unify-map.
851
852 2013-12-31 Leo Liu <sdl.web@gmail.com>
853
854 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
855
856 2013-12-30 Daniel Colascione <dancol@dancol.org>
857
858 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
859 of printing a useless when we resume from sleep.
860
861 * progmodes/sh-script.el
862 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
863 in indentation code. (Bug#16233)
864
865 2013-12-28 João Távora <joaotavora@gmail.com>
866
867 * elec-pair.el (electric-pair-post-self-insert-function):
868 Don't open extra newlines at beginning of buffer. (Bug#16272)
869
870 2013-12-28 Eli Zaretskii <eliz@gnu.org>
871
872 * frame.el (window-system-for-display): Don't allow to create a
873 GUI frame from a -nw session on MS-Windows. (Bug#14739)
874
875 2013-12-28 Glenn Morris <rgm@gnu.org>
876
877 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
878 Update callers.
879
880 * apropos.el (apropos-match-face):
881 * calculator.el (calculator-displayer):
882 * dabbrev.el (dabbrev-search-these-buffers-only):
883 * face-remap.el (buffer-face-mode-face):
884 * simple.el (yank-handled-properties):
885 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
886 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
887 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
888 (hashcash-double-spend-database):
889 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
890 (ruby-deep-indent-paren-style):
891 * textmodes/flyspell.el (flyspell-auto-correct-binding):
892 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
893 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
894 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
895 Specify custom types.
896
897 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
898 * bookmark.el (bookmark-bmenu-use-header-line):
899 * doc-view.el (doc-view-scale-internally):
900 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
901 * register.el (register-preview-delay):
902 * net/shr.el (shr-bullet):
903 * progmodes/cfengine.el (cfengine-cf-promises)
904 (cfengine-parameters-indent):
905 * progmodes/octave.el (inferior-octave-error-regexp-alist):
906 * textmodes/reftex-vars.el (reftex-label-regexps):
907 * vc/log-edit.el (log-edit-setup-add-author): Add version.
908
909 * net/tls.el (tls-certtool-program): Fix default value.
910
911 * desktop.el (desktop-restore-in-current-display):
912 * newcomment.el (comment-empty-lines):
913 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
914 (idlwave-pad-keyword):
915 * progmodes/tcl.el (tcl-tab-always-indent):
916 * textmodes/reftex-vars.el (reftex-index-default-tag):
917 * elec-pair.el (electric-pair-skip-whitespace):
918 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
919
920 * emacs-lisp/authors.el (authors-ignored-files)
921 (authors-valid-file-names, authors-renamed-files-alist): Additions.
922
923 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
924
925 * shell.el (shell-dynamic-complete-command): Doc fix.
926 (shell--command-completion-data): Shell completion now matches
927 executable filenames from the current buffer's directory, on
928 systems in which this behavior is the default (windows-nt, ms-dos).
929
930 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
931
932 * net/shr.el (shr-insert): Don't infloop if the width is zero.
933
934 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
937 (bug#16251).
938
939 * electric.el: Move all electric-pair-* to elec-pair.el.
940 * elec-pair.el: New file, split from electric.el.
941
942 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
943
944 * net/shr.el (shr-find-fill-point): Don't try to fill if the
945 indentation level is larger than the width, because that will
946 infloop.
947 (shr-insert): Fill repeatedly long texts, so that Japanese is
948 formatted correctly (bug#16263).
949 (shr-find-fill-point): Off by one error in comparison with the
950 indentation.
951
952 2013-12-26 João Távora <joaotavora@gmail.com>
953
954 * electric.el (electric-pair-mode): More flexible engine for skip-
955 and inhibit predicates, new options for pairing-related functionality.
956 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
957 if that keeps or improves their balance in buffers.
958 (electric-pair-delete-adjacent-pairs): Delete the pair when
959 backspacing over adjacent matched delimiters.
960 (electric-pair-open-extra-newline): Open extra newline when
961 inserting newlines between adjacent matched delimiters.
962 (electric--sort-post-self-insertion-hook):
963 Sort post-self-insert-hook according to priority values when
964 minor-modes are activated.
965 * simple.el (newline-and-indent): Call newline with interactive
966 set to t.
967 (blink-paren-post-self-insert-function): Set priority to 100.
968 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
969 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
970 comments. Locally set electric-pair-skip-whitespace to 'chomp and
971 electric-pair-open-newline-between-pairs to nil.
972
973 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
974
975 * progmodes/python.el: Use lexical-binding.
976 (python-nav-beginning-of-defun): Stop searching ASAP.
977
978 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
979
980 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
981 Fix interactive spec. Doc fix. (Bug#15754)
982
983 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
984
985 * emacs-lisp/byte-run.el (eval-when-compile):
986 * progmodes/cc-defs.el (cc-eval-when-compile):
987 Fix edebug spec (bug#16184).
988
989 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
990
991 * net/shr.el (shr-visit-file): Remove debugging function.
992 (shr-insert): Don't infloop if we can't find a good place to break
993 the line (bug#16256).
994
995 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
996
997 * progmodes/python.el:
998 (python-nav--lisp-forward-sexp): New function.
999 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1000 python-nav-lisp-forward-sexp-safe.
1001 (python-nav--forward-sexp): New argument SAFE allows switching
1002 forward sexp movement behavior for parens.
1003 (python-nav-forward-sexp): Throw errors on unterminated parens
1004 (Bug#16191).
1005 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1006 (python-nav-backward-sexp-safe): New functions.
1007 (python-shell-buffer-substring):
1008 Use `python-nav-forward-sexp-safe'.
1009
1010 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1011
1012 * net/shr.el (shr-find-fill-point): Don't break lines before a
1013 quotation mark.
1014 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1015 (shr-find-fill-point): Remove the special checks for the quotation
1016 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1017
1018 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1019
1020 * net/eww.el (eww-form-textarea): Use a different face for
1021 textareas than text input since they have different keymaps
1022 (bug#16142).
1023
1024 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1025
1026 * progmodes/python.el (python-nav-beginning-of-statement):
1027 Speed up (Bug#15295).
1028
1029 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1030
1031 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1032 the window configuration.
1033
1034 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1035
1036 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1037 we run on MS-Windows or MS-DOS.
1038
1039 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1040
1041 * window.el (balance-windows-area): Call window-size instead of
1042 window-height and window-width. Bug#16241.
1043
1044 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1045
1046 * net/eww.el (eww-bookmark-quit): Remove.
1047 (eww-bookmark-browse): Restore the window configuration when you
1048 choose a bookmark (bug#16144).
1049
1050 2013-12-24 Daniel Colascione <dancol@dancol.org>
1051
1052 * icomplete.el: Remove redundant :group arguments to `defcustom'
1053 throughout.
1054 (icomplete-show-matches-on-no-input): New customizable variable.
1055 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1056 we have something to show.
1057 (icomplete-exhibit): Compute completions even if we have no user input.
1058
1059 2013-12-23 Daniel Colascione <dancol@dancol.org>
1060
1061 * icomplete.el: Move `provide' to end of file.
1062
1063 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1064
1065 * net/gnutls.el (gnutls-verify-error): Add version tag.
1066
1067 2013-12-23 Chong Yidong <cyd@gnu.org>
1068
1069 * subr.el (set-transient-map): Rename from
1070 set-temporary-overlay-map. Doc fix.
1071
1072 * face-remap.el (text-scale-adjust):
1073 * indent.el (indent-rigidly):
1074 * kmacro.el (kmacro-call-macro):
1075 * minibuffer.el (minibuffer-force-complete):
1076 * repeat.el (repeat):
1077 * simple.el (universal-argument--mode):
1078 * calendar/todo-mode.el (todo-insert-item--next-param):
1079 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1080
1081 * indent.el (indent-rigidly): Use substitute-command-keys.
1082
1083 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1084
1085 * net/eww.el (eww-tag-select): Add text-property to jump to next
1086 select field.
1087 (eww): Add non-supported ftp error.
1088
1089 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1090
1091 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1092 comments. Handle electric indent after typing `?' and `!'.
1093
1094 2013-12-22 Chong Yidong <cyd@gnu.org>
1095
1096 * faces.el (face-spec-recalc): If the theme specs are not
1097 applicable to a frame, fall back on the defface spec.
1098 This prevents themes from obliterating faces on low-color terminals.
1099
1100 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1101
1102 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1103 after `{'. We need it after block openers, and it doesn't seem
1104 to hurt after hash openers.
1105
1106 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1107
1108 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1109 extracted from `ruby-smie-rules'.
1110 (ruby--electric-indent-chars): New variable.
1111 (ruby--electric-indent-p): New function.
1112 (ruby-mode): Use `electric-indent-functions' instead of
1113 `electric-indent-chars'.
1114
1115 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1116
1117 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1118 docstring.
1119 (ruby-smie-rules): Indent plus one level after `=>'.
1120
1121 2013-12-21 Richard Stallman <rms@gnu.org>
1122
1123 * simple.el (newline): Doc fix.
1124
1125 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1126
1127 * net/eww.el (eww-list-histories, eww-list-histories)
1128 (eww-history-browse, eww-history-quit, eww-history-kill)
1129 (eww-history-mode-map, eww-history-mode): New command and
1130 functions to list browser histories.
1131 (eww-form-text): Support text form with disabled
1132 and readonly attributes.
1133 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1134
1135 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1136
1137 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1138 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1139 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1140 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1141 Use `user-error'.
1142 (eww-bookmark-mode-map): Add menu.
1143 (eww-render, eww-mode): Use `setq-local'.
1144 (eww-tool-bar-map): New variable.
1145 (eww-mode): Set `tool-bar-map'.
1146 (eww-view-source): Check for `html-mode' with `fboundp'.
1147
1148 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1149
1150 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1151 elements with text inside. Also remove debugging.
1152
1153 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1154
1155 * cus-start.el (all): Add ns-use-srgb-colorspace.
1156
1157 2013-12-21 Chong Yidong <cyd@gnu.org>
1158
1159 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1160 undefined. Thus, theme settings for undefined faces do not take
1161 effect until the faces are defined with defface, the same as with
1162 theme variables.
1163
1164 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1165 (face-spec-reset-face): Don't assign extra properties in temacs.
1166 (face-spec-recalc): Apply X resources too.
1167
1168 2013-12-21 Chong Yidong <cyd@gnu.org>
1169
1170 * faces.el (face-spec-set):
1171 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1172 * custom.el (defface): Doc fixes (Bug#16203).
1173
1174 * indent.el (indent-rigidly-map): Add docstring, and move commands
1175 into named functions.
1176 (indent-rigidly-left, indent-rigidly-right)
1177 (indent-rigidly-left-to-tab-stop)
1178 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1179 indentation direction based on bidi direction, and accumulate
1180 sequential commands in a single undo boundary.
1181 (indent-rigidly--pop-undo): New utility function.
1182
1183 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1184
1185 * faces.el (read-face-name): Require crm.el when using crm-separator.
1186
1187 2013-12-20 Daniel Colascione <dancol@dancol.org>
1188
1189 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1190 so that we don't reflow comments into the shebang line.
1191
1192 2013-12-20 Juri Linkov <juri@jurta.org>
1193
1194 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1195 a position when `dired-directory' is non-nil. Check integer
1196 positions with `integerp'.
1197 (toggle-save-place, save-places-to-alist): Add check for
1198 `dired-directory'.
1199 (save-place-find-file-hook): Check integer positions with
1200 `integerp'.
1201 (save-place-dired-hook): Use `dired-goto-file' when
1202 `dired-filename' is found in the assoc list. Check integer
1203 positions with `integerp'.
1204 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1205
1206 * dired.el (dired-initial-position-hook): Rename back from
1207 `dired-initial-point-hook'.
1208 (dired-initial-position): Rename `dired-initial-point-hook' to
1209 `dired-initial-position-hook'.
1210 (dired-file-name-at-point): Doc fix. (Bug#15329)
1211
1212 2013-12-20 Juri Linkov <juri@jurta.org>
1213
1214 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1215 (read-regexp-suggestions): New function.
1216 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1217 Use `read-regexp-suggestions'. Add non-empty default to history
1218 for empty input.
1219 (occur-read-regexp-defaults-function): Remove function.
1220 (occur-read-primary-args): Use `regexp-history-last' instead of
1221 `occur-read-regexp-defaults-function'.
1222
1223 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1224 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1225 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1226 `hi-lock-read-regexp-defaults-function'. Doc fix.
1227 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1228 with `find-tag-default-as-symbol-regexp'. Doc fix.
1229 (hi-lock-read-regexp-defaults): Remove function.
1230 (hi-lock-regexp-okay): Add check for null.
1231
1232 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1233 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1234
1235 * subr.el (find-tag-default-as-symbol-regexp): New function.
1236 (find-tag-default-as-regexp): Move symbol regexp formatting to
1237 `find-tag-default-as-symbol-regexp'.
1238
1239 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1240
1241 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1242 (Bug#14179)
1243
1244 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1245
1246 * calendar/todo-mode.el: New implementation of item insertion
1247 commands and key bindings.
1248 (todo-key-prompt): New face.
1249 (todo-insert-item): New command.
1250 (todo-insert-item--parameters): New defconst, replacing defvar
1251 todo-insertion-commands-args-genlist.
1252 (todo-insert-item--param-key-alist): New defconst, replacing
1253 defvar todo-insertion-commands-arg-key-list.
1254 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1255 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1256 (todo-insert-item--next-param): New functions.
1257 (todo-insert-item--args, todo-insert-item--argleft)
1258 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1259 New variables.
1260 (todo-key-bindings-t): Change binding of "i" from
1261 todo-insertion-map to todo-insert-item.
1262 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1263 (todo-insertion-command-name, todo-insertion-commands-names)
1264 (todo-define-insertion-command, todo-insertion-commands)
1265 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1266
1267 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1268
1269 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1270 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1271 eval-when-compile.
1272 (todo-move-category): Allow choosing a non-existing todo file to
1273 move the category to, and create that file.
1274 (todo-default-priority): New user option.
1275 (todo-set-item-priority): Use it.
1276 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1277 (desktop-restore-file-buffer): Declare.
1278 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1279 (todo-modes-set-2): Locally set desktop-save-buffer to
1280 todo-desktop-save-buffer.
1281 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1282 (auto-mode-alist): Add autoload cookie.
1283
1284 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1285
1286 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1287 helpers.el was a poor choice of name.
1288 (string-remove-prefix): New function.
1289 (string-remove-suffix): New function.
1290
1291 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1292
1293 Fix assignment for new window total sizes.
1294 * window.el (window--pixel-to-size): Remove function.
1295 (window--pixel-to-total-1, window--pixel-to-total):
1296 Fix calculation of new total sizes.
1297
1298 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1299
1300 * comint.el (comint-output-filter): Fix rear-nonsticky property
1301 placement (Bug#16010).
1302
1303 2013-12-20 Chong Yidong <cyd@gnu.org>
1304
1305 * faces.el (read-color): Minor fix for completion function.
1306
1307 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1308
1309 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1310 New option. (Bug#16182)
1311 (ruby-smie--indent-to-stmt-p): Use it.
1312 (ruby-smie-rules): Revert the logic in the handling of `when'.
1313 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1314 (ruby-deep-arglist, ruby-deep-indent-paren)
1315 (ruby-deep-indent-paren-style): Update docstrings to note that the
1316 vars don't have any effect with SMIE.
1317
1318 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1319
1320 * calc/calc.el (calc-enter, calc-pop): Use the variable
1321 `calc-context-sensitive-enter'.
1322
1323 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1324
1325 * net/shr.el (shr-insert): Protect against infloops in degenerate
1326 tables.
1327
1328 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1329
1330 * progmodes/octave.el (octave): Add link to manual and octave
1331 homepage.
1332 (octave-mode-menu): Link to octave-mode manual.
1333
1334 2013-12-20 Leo Liu <sdl.web@gmail.com>
1335
1336 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1337 insertion using skeleton-end-newline. (Bug#16138)
1338
1339 2013-12-20 Juri Linkov <juri@jurta.org>
1340
1341 * replace.el (occur-engine): Use `add-face-text-property'
1342 to add the face property to matches and titles. (Bug#14645)
1343
1344 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1345 the palette of other hi-lock colors.
1346 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1347
1348 2013-12-19 Juri Linkov <juri@jurta.org>
1349
1350 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1351 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1352 (minibuffer-history-symbol): Move variable declaration closer to
1353 its usage.
1354
1355 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1356 (Bug#14785)
1357
1358 2013-12-19 Juri Linkov <juri@jurta.org>
1359
1360 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1361 New function.
1362 (log-edit-hook): Add it to :options. (Bug#16170)
1363
1364 2013-12-19 Juri Linkov <juri@jurta.org>
1365
1366 * simple.el (eval-expression-print-format): Don't check for
1367 command names and the last command. Always display additional
1368 formats of the integer result in the echo area, and insert them
1369 to the current buffer only with a zero prefix arg.
1370 Display character when char-displayable-p is non-nil.
1371 (eval-expression): With a zero prefix arg, set `print-length' and
1372 `print-level' to nil, and insert the integer values from
1373 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1374
1375 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1376 `eval-last-sexp-arg-internal'. Doc fix.
1377 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1378 `eval-last-sexp-print-value'. Doc fix.
1379 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1380 Set `print-length' and `print-level' to nil when arg is zero.
1381 (eval-last-sexp): Doc fix.
1382 (eval-defun-2): Print the integer values from
1383 `eval-expression-print-format' at the end.
1384
1385 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1386 values from `eval-expression-print-format' at the end.
1387
1388 * ielm.el (ielm-eval-input): Print the integer
1389 values from `eval-expression-print-format' at the end.
1390
1391 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1392
1393 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1394 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1395
1396 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1399 (hl-line-highlight, global-hl-line-highlight): Use it.
1400 (hl-line-overlay): Use defvar-local.
1401
1402 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1403
1404 * term/ns-win.el: Require dnd.
1405 (global-map): Remove drag items.
1406 (ns-insert-text, ns-set-foreground-at-mouse)
1407 (ns-set-background-at-mouse):
1408 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1409 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1410 New functions.
1411
1412 2013-12-19 Glenn Morris <rgm@gnu.org>
1413
1414 * emacs-lisp/ert.el (ert-select-tests):
1415 Fix string/symbol mixup. (Bug#16121)
1416
1417 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1418
1419 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1420 keywords to their parent.
1421
1422 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1425 first arg to be a string (fixed dead code), or an operator symbol.
1426 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1427 operator symbols.
1428 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1429 did nothing. Don't respond to `(:after ".")', it will be called
1430 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1431 change anything. Only return indentation for binary operators
1432 when they are hanging. De-dent opening paren when its parent is
1433 `.', otherwise it looks bad when the dot is not at bol or eol
1434 (bug#16182).
1435
1436 2013-12-19 Juri Linkov <juri@jurta.org>
1437
1438 * replace.el (query-replace-read-args): Split a non-negative arg
1439 and a negative arg into separate elements.
1440 (query-replace, query-replace-regexp, replace-string)
1441 (replace-regexp): Add arg `backward'. Doc fix.
1442 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1443 move point to the beginning of the match.
1444 (replace-search, replace-highlight): Use new arg `backward'
1445 to set the value of `isearch-forward'.
1446 (perform-replace): Add arg `backward' and use it to perform
1447 replacement backward. (Bug#14979)
1448
1449 * isearch.el (isearch-query-replace): Use a negative prefix arg
1450 to call `perform-replace' with a non-nil arg `backward'.
1451
1452 2013-12-18 Juri Linkov <juri@jurta.org>
1453
1454 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1455 to the default list. Move `log-edit-show-files' to the end.
1456 Add more available functions to options.
1457 (log-edit): Move default specific settings to
1458 `log-edit-insert-message-template'. Don't move point.
1459 (log-edit-insert-message-template): New function.
1460 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1461 (Bug#16170)
1462
1463 2013-12-18 Juri Linkov <juri@jurta.org>
1464
1465 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1466 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1467
1468 2013-12-18 Leo Liu <sdl.web@gmail.com>
1469
1470 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1471 (Bug#16186)
1472
1473 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1474
1475 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1476 formats for displaying file sizes when the -s switch is given.
1477 Instead, compute a separate format for displaying the size in
1478 blocks, which is displayed in addition to the "regular" size.
1479 When -h is given in addition to -s, produce size in blocks in
1480 human-readable form as well. (Bug#16179)
1481
1482 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1483
1484 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1485 Reference tables with ~\ref{...} instead of only \ref{...}.
1486
1487 2013-12-18 Chong Yidong <cyd@gnu.org>
1488
1489 * cus-edit.el (custom-magic-alist): Fix "themed" description
1490 (Bug#14348).
1491
1492 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1493 is non-nil, do not create a new entry in the symbol's theme-value
1494 or theme-face property; update theme-settings only (Bug#14664).
1495 (custom-available-themes): Doc fix.
1496
1497 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1498 (Bug#15674).
1499
1500 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1501
1502 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1503
1504 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1505 (Bug#13914).
1506
1507 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1508
1509 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1510
1511 2013-12-18 Glenn Morris <rgm@gnu.org>
1512
1513 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1514 * cus-start.el (load-prefer-newer): New option.
1515
1516 2013-12-18 Le Wang <l26wang@gmail.com>
1517
1518 * comint.el (comint-previous-matching-input-from-input):
1519 Retain point (Bug#13404).
1520
1521 2013-12-18 Chong Yidong <cyd@gnu.org>
1522
1523 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1524
1525 2013-12-18 Glenn Morris <rgm@gnu.org>
1526
1527 * mail/emacsbug.el (report-emacs-bug):
1528 Only mention enable-multibyte-characters if non-standard.
1529
1530 2013-12-17 Juri Linkov <juri@jurta.org>
1531
1532 * arc-mode.el (archive-extract-by-file): Check if directory exists
1533 before deletion to not show irrelevant errors if it doesn't exist.
1534
1535 2013-12-17 Juri Linkov <juri@jurta.org>
1536
1537 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1538 (Bug#14751)
1539
1540 * net/eww.el (browse-web): Add alias to `eww'.
1541 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1542 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1543
1544 * net/browse-url.el (browse-url-browser-function): Move `eww'
1545 closer to similar functions.
1546
1547 * startup.el (fancy-startup-screen, fancy-about-screen):
1548 Set browse-url-browser-function to eww-browse-url locally.
1549 (Bug#14751)
1550
1551 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * window.el (window--pixel-to-total): Remove unused `mini' var.
1554 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1555 (split-window): Remove unused `new' var.
1556 (window--display-buffer): Remove unused `frame' and `delta' vars.
1557 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1558 and display-width'.
1559
1560 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1561
1562 * dired.el (dired-mark-pop-up):
1563 * register.el (register-preview): Don't bind
1564 split-height-threshold here since it's now done in
1565 display-buffer-below-selected.
1566
1567 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1568
1569 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1570 xterm-rgb-convert-to-16bit.
1571 (rxvt-register-default-colors): Standardize with
1572 xterm-register-default-colors (Bug#14078).
1573
1574 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1575
1576 * simple.el (kill-region): Pass mark first, then point, so that
1577 kill-append works right (Bug#12819).
1578 (copy-region-as-kill, kill-ring-save): Likewise.
1579
1580 2013-12-17 Leo Liu <sdl.web@gmail.com>
1581
1582 * net/rcirc.el (rcirc-add-face):
1583 * eshell/em-prompt.el (eshell-emit-prompt):
1584 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1585 (Bug#16167)
1586
1587 2013-12-17 Chong Yidong <cyd@gnu.org>
1588
1589 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1590 Suggested by Xue Fuqiao.
1591
1592 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1593
1594 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1595
1596 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * net/shr.el (shr-insert-document): Remove unused var
1599 `shr-preliminary-table-render'.
1600 (shr-rescale-image): Remove unused arg `force'.
1601 (shr-put-image): Update calls accordingly.
1602 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1603
1604 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1605
1606 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1607 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1608 :close-all, to see which indentation method to use (Bug#16116).
1609 (smie-rules-function): Document the method :close-all.
1610
1611 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1612
1613 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1614
1615 * net/eww.el (eww-display-html): If we can't find the anchor we're
1616 looking for, then go to point-min.
1617
1618 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1619
1620 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1621 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1622 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1623 Expand dir too, in case it's relative.
1624
1625 2013-12-16 Juri Linkov <juri@jurta.org>
1626
1627 * desktop.el (desktop-auto-save-timeout): Change default to
1628 `auto-save-timeout'. Doc fix.
1629 (desktop-save): Skip the timestamp in desktop-saved-frameset
1630 when checking for auto-save changes.
1631 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1632 `desktop-auto-save' is called repeatedly by the idle timer.
1633 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1634 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1635 (Bug#15331)
1636
1637 2013-12-16 Juri Linkov <juri@jurta.org>
1638
1639 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1640 (Bug#16035)
1641 (isearch-pre-command-hook): Check `this-command' for symbolp.
1642
1643 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1646
1647 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1648
1649 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1650 (cfengine3--current-function): Bring in the current-function
1651 functionality from `cfengine3--current-word'.
1652 (cfengine3-completion-function): Bring in the
1653 bounds-of-current-word functionality from
1654 `cfengine3--current-word'.
1655
1656 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1657
1658 * window.el (display-buffer-below-selected):
1659 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1660
1661 2013-12-16 Leo Liu <sdl.web@gmail.com>
1662
1663 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1664 Remove NOMSG arg and all uses changed.
1665
1666 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1669 (cua--deactivate-rectangle): Don't deactivate the mark.
1670 (cua-set-rectangle-mark): Don't set mark-active since
1671 cua--activate-rectangle already does it for us.
1672 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1673 non-rectangular region.
1674
1675 * emulation/cua-base.el (cua-repeat-replace-region):
1676 Use with-current-buffer.
1677
1678 * net/gnutls.el: Use cl-lib.
1679 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1680
1681 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1682
1683 * emacs-lisp/package.el (package-built-in-p): Support both
1684 built-in and the package.el converted package descriptions.
1685 (package-show-package-list): Allow keywords.
1686 (package-keyword-button-action): Use it instead of
1687 `finder-list-matches'.
1688 (package-menu-filter-interactive): Interactive filtering (by
1689 keyword) function.
1690 (package-menu--generate): Support keywords and change keymappings
1691 and headers when they are given.
1692 (package--has-keyword-p): Helper function.
1693 (package-menu--refresh): Use it.
1694 (package--mapc): Helper function.
1695 (package-all-keywords): Use it.
1696 (package-menu-mode-map): Set up menu items and keybindings to
1697 provide a filtering UI.
1698
1699 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1700
1701 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1702 the behavior when a certificate fails validation. Defaults to
1703 old behavior: never abort, just warn.
1704 (gnutls-negotiate): Use it.
1705
1706 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1707
1708 * window.el (display-buffer-below-selected): Never split window
1709 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1710
1711 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1712
1713 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1714 (package-buffer-info): Use it (bug#15108).
1715
1716 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * icomplete.el (icomplete-completions): Make sure the prefix is already
1719 displayed elsewhere before hiding it (bug#16219).
1720
1721 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1722
1723 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1724 open-paren tokens when preceded by a open-paren, too.
1725 (ruby-smie-rules): Handle virtual indentation after open-paren
1726 tokens specially. If there is code between it and eol, return the
1727 column where is starts (Bug#16118).
1728
1729 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1730
1731 * progmodes/cfengine.el: Fix `add-hook' doc.
1732 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1733 (cfengine3--current-word): Fix parameters.
1734 (cfengine3-make-syntax-cache): Simplify further.
1735 (cfengine3-completion-function, cfengine3--current-function):
1736 Use `assq' for symbols.
1737 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1738
1739 2013-12-13 Glenn Morris <rgm@gnu.org>
1740
1741 * loadup.el (load-path): Warn if site-load or site-init changes it.
1742 No more need to reset it when bootstrapping.
1743
1744 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1745
1746 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1747 locations for cf-promises.
1748 (cfengine-mode-syntax-functions-regex): New caching variable.
1749 (cfengine3-fallback-syntax): Fallback syntax for cases where
1750 cf-promises doesn't run.
1751 (cfengine3--current-word): Reimplement using
1752 `cfengine-mode-syntax-functions-regex'.
1753 (cfengine3-completion-function, cfengine3--current-function):
1754 Use `cfengine3-make-syntax-cache' directly.
1755 (cfengine3-clear-syntax-cache): New function.
1756 (cfengine3-make-syntax-cache): Simplify and create
1757 `cfengine-mode-syntax-functions-regex' on demand.
1758 (cfengine3-format-function-docstring): Don't call
1759 `cfengine3-make-syntax-cache' explicitly.
1760
1761 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1762
1763 Fix windmove-find-other-window broken after pixelwise resizing
1764 (Bug#16017).
1765 * windmove.el (windmove-other-window-loc): Revert change from
1766 2013-12-04.
1767 (windmove-find-other-window): Call window-in-direction.
1768 * window.el (window-in-direction): New arguments SIGN, WRAP and
1769 MINI to emulate original windmove-find-other-window behavior.
1770
1771 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1772
1773 * simple.el (blink-matching--overlay): New variable.
1774 (blink-matching-open): Instead of moving point, highlight the
1775 matching paren with an overlay
1776 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1777
1778 * faces.el (paren-showing-faces, show-paren-match)
1779 (show-paren-mismatch): Move from paren.el.
1780
1781 2013-12-13 Leo Liu <sdl.web@gmail.com>
1782
1783 * indent.el (indent-region): Disable progress reporter in
1784 minibuffer. (Bug#16108)
1785
1786 * bindings.el (visual-order-cursor-movement): Fix version.
1787
1788 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1789
1790 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1791 Also match after beginning of line.
1792 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1793 files. Thanks to Russell Sim. (Bug#15378)
1794
1795 2013-12-13 Juri Linkov <juri@jurta.org>
1796
1797 * simple.el <Keypad support>: Remove key bindings duplicated
1798 with bindings.el. (Bug#14397)
1799
1800 2013-12-13 Juri Linkov <juri@jurta.org>
1801
1802 * comint.el (comint-mode-map): Replace `delete-char' with
1803 `delete-forward-char'. (Bug#16109)
1804
1805 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1806
1807 * progmodes/python.el (python-indent-calculate-indentation):
1808 Fix de-denters cornercase. (Bug#15731)
1809
1810 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1813 (advice--make): Pay attention to `depth'.
1814 (advice--make-1): Don't autoload commands eagerly.
1815 * emacs-lisp/elp.el (elp-instrument-function):
1816 * emacs-lisp/trace.el (trace-function-internal):
1817 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1818
1819 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1820
1821 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1822
1823 * term/w32-win.el (w32-handle-dropped-file):
1824 * startup.el (normal-top-level):
1825 * net/browse-url.el (browse-url-file-url):
1826 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1827 decode file names using 'utf-8' rather than
1828 file-name-coding-system.
1829
1830 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1831
1832 * progmodes/python.el (python-indent-context)
1833 (python-indent-calculate-indentation): Fix auto-identation
1834 behavior for comment blocks. (Bug#15916)
1835
1836 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1837
1838 * progmodes/python.el (python-indent-calculate-indentation):
1839 When determining indentation, don't treat "return", "pass", etc., as
1840 operators when they are just string constituents. (Bug#15812)
1841
1842 2013-12-12 Juri Linkov <juri@jurta.org>
1843
1844 * uniquify.el (uniquify-buffer-name-style): Change default to
1845 `post-forward-angle-brackets'.
1846
1847 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1848 `uniquify'. Change default to `post-forward-angle-brackets'.
1849
1850 2013-12-11 Glenn Morris <rgm@gnu.org>
1851
1852 * emacs-lisp/package.el (finder-list-matches):
1853 Autoload rather than falsely declaring.
1854
1855 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1856
1857 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1858 (eww-mode-map): Use them.
1859
1860 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1861
1862 * window.el (display-buffer-in-side-window): Fix doc-string
1863 (Bug#16115).
1864
1865 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1866
1867 * vc/vc-git.el: Silence byte-compiler warnings.
1868 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1869 (log-edit-set-header): Declare.
1870
1871 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1872
1873 * Makefile.in (custom-deps, finder-data): Run output file names
1874 through unmsys--file-name. (Bug#16099)
1875
1876 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1879 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1880
1881 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1882 instead of deleting the selection "by hand" (bug#16098).
1883 Rely on insert-for-yank to yank rectangles.
1884 (cua-highlight-region-shift-only): Mark obsolete.
1885 (cua-mode): Don't enable/disable transient-mark-mode,
1886 shift-select-mode (cua-mode works both with and without them), and
1887 pc-selection-mode (obsolete).
1888 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1889 (cua--deactivate-rectangle): Deactivate it.
1890
1891 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1892 (delete-selection-helper): Make sure yank starts at the top of the
1893 deleted region.
1894 (minibuffer-keyboard-quit): Use region-active-p.
1895
1896 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1897
1898 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1899 to `delete' (bug#16109).
1900
1901 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1902
1903 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1904 info manual and show keybindings and set `:group' keyword.
1905
1906 2013-12-11 Juri Linkov <juri@jurta.org>
1907
1908 * delsel.el (delete-active-region): Let-bind `this-command'
1909 to prevent `kill-region' from changing its original value.
1910 (delete-selection-helper): Handle `overwrite-mode' for the type
1911 `kill' exactly the same way as for the type `t'.
1912 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1913 Support more commands. (Bug#13312)
1914
1915 2013-12-11 Juri Linkov <juri@jurta.org>
1916
1917 * bindings.el: Map kp keys to non-kp keys systematically
1918 with basic modifiers control, meta and shift. (Bug#14397)
1919
1920 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1921
1922 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1923 "Close browser" menu items. Fix wrong function of "List
1924 bookmarks".
1925
1926 2013-12-11 Juri Linkov <juri@jurta.org>
1927
1928 * misearch.el (multi-isearch-buffers): Set the value of
1929 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1930 arg of isearch-forward to t.
1931 (multi-isearch-buffers-regexp): Set the value of
1932 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1933 arg of isearch-forward-regexp to t.
1934 (multi-isearch-files): Set the value of
1935 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1936 arg of isearch-forward to t.
1937 (multi-isearch-files-regexp): Set the value of
1938 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1939 arg of isearch-forward-regexp to t. (Bug#16035)
1940
1941 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1942 arg of isearch-forward to t.
1943 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1944 arg of isearch-forward-regexp to t.
1945 (dired-isearch-filter-filenames): Remove unnecessary check for
1946 `dired-isearch-filenames'.
1947
1948 * comint.el (comint-history-isearch-backward):
1949 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1950 (comint-history-isearch-backward-regexp):
1951 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1952
1953 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1954
1955 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1956 unmsys--file-name. (Bug#16099)
1957
1958 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1959
1960 * emacs-lisp/package.el (package-keyword-button-action):
1961 Remove finder.el require dependency.
1962
1963 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1964
1965 * emacs-lisp/package.el: Require finder.el.
1966 (describe-package-1): Add keyword buttons.
1967 (package-make-button): New convenience function.
1968 (package-keyword-button-action): Keyword button action using
1969 `finder-list-matches'.
1970
1971 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1972
1973 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1974 last commit.
1975
1976 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1977
1978 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1979 symlinked files.
1980
1981 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1982
1983 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1984 after the end of a percent literal.
1985
1986 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1987
1988 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1989 Handle caret-delimited strings (Bug#16079).
1990
1991 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1992
1993 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1994 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1995 `ruby-parse-partial' (Bug#16078).
1996
1997 2013-12-09 Leo Liu <sdl.web@gmail.com>
1998
1999 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2000
2001 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2002
2003 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2004 (js-switch-indent-offset): New option.
2005 (js--proper-indentation): Use it. And handle the case when
2006 "default" is actually a key in an object literal.
2007 (js--same-line): New function.
2008 (js--multi-line-declaration-indentation): Use it.
2009 (js--indent-in-array-comp, js--array-comp-indentation):
2010 New functions.
2011 (js--proper-indentation): Use them, to handle array comprehension
2012 continuations.
2013
2014 2013-12-08 Leo Liu <sdl.web@gmail.com>
2015
2016 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2017 (flymake-make-overlay): Remove arg MOUSE-FACE.
2018 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2019
2020 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2023 New function.
2024 (redisplay-highlight-region-function): Use it.
2025
2026 * emulation/cua-base.el (cua--explicit-region-start)
2027 (cua--last-region-shifted): Remove.
2028 (cua--deactivate): Use deactivate-mark.
2029 (cua--pre-command-handler-1): Don't handle shift-selection.
2030 (cua--post-command-handler-1): Don't change transient-mark-mode.
2031 (cua--select-keymaps): Use region-active-p rather than
2032 cua--explicit-region-start or cua--last-region-shifted.
2033 (cua-mode): Enable shift-select-mode.
2034
2035 2013-12-08 Leo Liu <sdl.web@gmail.com>
2036
2037 * progmodes/flymake.el (flymake-popup-current-error-menu):
2038 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2039 (flymake-posn-at-point-as-event, flymake-popup-menu)
2040 (flymake-make-emacs-menu): Remove. (Bug#16077)
2041
2042 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * rect.el (rectangle-mark-mode): Activate mark even if
2045 transient-mark-mode is off (bug#16066).
2046 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2047 is > mark and at bolp.
2048
2049 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2050 (region-extract-function): Use it.
2051 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2052 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2053 Delete functions.
2054 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2055 kill-ring-save, kill-region, delete-char, delete-forward-char.
2056 Ignore self-insert-iso.
2057
2058 * emulation/cua-gmrk.el (cua--init-global-mark):
2059 Ignore `self-insert-iso'.
2060
2061 * emulation/cua-base.el (cua--prefix-copy-handler)
2062 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2063 checking cua--rectangle.
2064 (cua-delete-region): Use region-extract-function.
2065 (cua-replace-region): Delete function.
2066 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2067 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2068 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2069 (cua--init-keymaps): Don't remap delete-selection commands.
2070 (cua-mode): Use delete-selection-mode instead of rolling our own
2071 (bug#16085).
2072
2073 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2074 Obey region-extract-function.
2075
2076 Make registers and delete-selection-mode work on rectangles.
2077 * register.el (describe-register-1): Don't modify the register's value.
2078 (copy-to-register): Obey region-extract-function.
2079 * delsel.el (delete-active-region): Obey region-extract-function.
2080
2081 2013-12-08 Leo Liu <sdl.web@gmail.com>
2082
2083 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2084 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2085 (flymake-compilation-prevents-syntax-check)
2086 (flymake-start-syntax-check-on-newline)
2087 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2088 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2089 (flymake-xml-program, flymake-master-file-dirs)
2090 (flymake-master-file-count-limit)
2091 (flymake-allowed-file-name-masks): Relocate.
2092 (flymake-makehash, flymake-float-time)
2093 (flymake-replace-regexp-in-string, flymake-split-string)
2094 (flymake-get-temp-dir): Remove.
2095 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2096 (flymake-current-row, flymake-selected-frame)
2097 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2098 related functions. (Bug#16077)
2099
2100 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2101
2102 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2103
2104 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2105
2106 * help-fns.el (describe-function-1): Use new advice-* functions
2107 rather than old ad-* functions. Fix function type description and
2108 source links for advised functions and subrs.
2109
2110 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2111
2112 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2113
2114 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2115
2116 * progmodes/compile.el (compilation-start):
2117 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2118
2119 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2120 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2121
2122 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2125 Touch up the last change.
2126
2127 2013-12-06 Leo Liu <sdl.web@gmail.com>
2128
2129 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2130 (inferior-octave-startup): Always use "octave> " for prompt.
2131 (octave-goto-function-definition)
2132 (octave-sync-function-file-names)
2133 (octave-find-definition-default-filename): Remove redundant backquotes.
2134
2135 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2138 syntax for `?'.
2139 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2140 where appropriate already.
2141 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2142 end of method names (Bug#15874).
2143
2144 2013-12-06 Juri Linkov <juri@jurta.org>
2145
2146 * isearch.el (isearch--saved-overriding-local-map):
2147 New internal variable.
2148 (isearch-mode): Set it to the initial value of
2149 `overriding-terminal-local-map'.
2150 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2151 with `isearch--saved-overriding-local-map'. (Bug#16035)
2152
2153 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * progmodes/octave.el (inferior-octave-completion-table):
2156 Turn back into function, use `completion-table-with-cache'
2157 (Bug#11906). Update all references.
2158
2159 * minibuffer.el (completion-table-with-cache): New function.
2160
2161 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2162
2163 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2164
2165 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2166
2167 * net/eww.el (eww-current-source): New variable to store page
2168 source.
2169 (eww-display-html, eww-mode, eww-save-history)
2170 (eww-restore-history): Use it.
2171 (eww-view-source): New command to view page source.
2172 Opportunistically uses `html-mode' to highlight the buffer.
2173 (eww-mode-map): Install it.
2174
2175 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/dbus.el (dbus-unregister-service)
2178 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2179 Fix docstring.
2180 (dbus-unregister-service): Skip :serial entries in
2181 `dbus-registered-objects-table'.
2182 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2183
2184 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2185
2186 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2187 around keywords with extra `split-string' argument.
2188
2189 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2190
2191 * windmove.el (windmove-other-window-loc): Handle navigation
2192 between windows (excluding the minibuffer window - Bug#16017).
2193
2194 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2195
2196 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2197 in D-Bus type syntax.
2198 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2199 preserve unibyte strings. (Bug#16048)
2200
2201 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2204 Call force-mode-line-update is the proper buffer (bug#16042).
2205
2206 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2207
2208 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2209 `log-edit-remember-comment', make argument optional. Adjust all
2210 callers.
2211 (log-edit-mode): Add `log-edit-remember-comment' to
2212 `kill-buffer-hook' locally.
2213 (log-edit-kill-buffer): Don't remember comment explicitly since
2214 the buffer is killed anyway.
2215
2216 2013-12-04 Juri Linkov <juri@jurta.org>
2217
2218 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2219 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2220
2221 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2222
2223 * notifications.el (notifications-close-notification): Call the
2224 D-Bus method with ID being a `:uint32'. (Bug#16030)
2225
2226 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2227
2228 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2229
2230 2013-12-03 Juri Linkov <juri@jurta.org>
2231
2232 * progmodes/compile.el (compilation-start): Rename window alist
2233 entry `no-display-ok' to `allow-no-window'.
2234
2235 * simple.el (shell-command): Add window alist entry
2236 `allow-no-window' to `display-buffer'.
2237 (async-shell-command): Doc fix.
2238
2239 * window.el (display-buffer-no-window): New action function.
2240 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2241
2242 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2243
2244 * vc/log-edit.el (log-edit-set-header): Extract from
2245 `log-edit-toggle-header'.
2246 (log-edit-extract-headers): Separate the summary, when extracted
2247 from header, from the rest of the message with an empty line.
2248
2249 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2250 line, if present, to the Summary header.
2251
2252 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2253
2254 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2255 in current-buffer (bug#16029).
2256
2257 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2258
2259 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2260 (debugger-mode-map): Bind it.
2261 (debugger--backtrace-base): New function.
2262 (debugger-eval-expression): Use it.
2263 (debugger-frame-number): Skip local vars when present.
2264 (debugger--locals-visible-p, debugger--insert-locals)
2265 (debugger--show-locals, debugger--hide-locals): New functions.
2266
2267 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2268
2269 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2270 "LC_ALL".
2271 (tramp-get-remote-locale): New defun.
2272 (tramp-open-connection-setup-interactive-shell): Use it.
2273
2274 2013-12-02 Leo Liu <sdl.web@gmail.com>
2275
2276 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2277
2278 * progmodes/sh-script.el (sh-shell-process):
2279 * progmodes/octave.el (inferior-octave-process-live-p):
2280 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2281 (gdb-inferior-io-sentinel):
2282 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2283
2284 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2285
2286 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2287 `save-selected-window' to `log-edit-hide-buf'. This makes
2288 `log-edit-show-files' idempotent.
2289 (log-edit-show-files): Mark the new window as dedicated.
2290
2291 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2292
2293 * vc/log-edit.el (log-edit-mode-map): Add binding for
2294 `log-edit-kill-biffer'.
2295 (log-edit-hide-buf): Add a FIXME comment.
2296 (log-edit-add-new-comment): New function, extracted from
2297 `log-edit-done'.
2298 (log-edit-done, log-edit-add-to-changelog): Use it.
2299 (log-edit-kill-buffer): New command.
2300
2301 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2302
2303 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2304 instead of killing the buffer.
2305
2306 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2309
2310 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2311
2312 * net/eww.el (eww-form-checkbox-selected-symbol)
2313 (eww-form-checkbox-symbol): New customizable variable.
2314 (eww-form-checkbox, eww-toggle-checkbox):
2315 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2316
2317 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2318 (shr--get-media-pref, shr--extract-best-source): New function.
2319 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2320 no :src tag was specified.
2321
2322 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2323 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2324 Use \\` to match beginning of string instead of ^.
2325 (eww-browse-with-external-browser): Provide optional URL parameter.
2326 (eww-render): Set `eww-current-title' back to "".
2327
2328 * net/shr.el (shr-tag-video): Display content for video if no
2329 poster is available.
2330 (shr-tag-audio): Add support for <audio> tag.
2331
2332 * net/eww.el (eww-text-input-types): New const.
2333 (eww-process-text-input): Treat input types in
2334 `eww-text-input-types' as text.
2335
2336 * net/shr.el (shr-tag-table): Fix comment typo.
2337
2338 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2339
2340 * net/eww.el (eww-follow-link): New command to avoid reloading
2341 pages when we follow #target links (bug#15243).
2342 (eww-quit): Special mode buffers shouldn't query before exiting.
2343
2344 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2345
2346 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2347 forms.
2348
2349 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2350
2351 * net/eww.el (eww-restore-history): Update the window title after
2352 moving in the history.
2353 (eww-current-dom): New variable used to save the current DOM.
2354
2355 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * vc/log-edit.el (log-edit-mode-map): Add binding for
2358 `log-edit-beginning-of-line'.
2359 (log-edit-setup-add-author): New user option.
2360 (log-edit-beginning-of-line): New command.
2361 (log-edit): Move major mode call above the contents setup so that
2362 the local variable values are already applied.
2363 (log-edit): Only insert "Author: " when
2364 `log-edit-setup-add-author' is non-nil.
2365 (log-edit): When SETUP is non-nil, position point after ": "
2366 instead of point-min.
2367
2368 2013-12-01 Glenn Morris <rgm@gnu.org>
2369
2370 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2371
2372 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2373
2374 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2375 redisplay to make sure the initial frame gets a chance to become
2376 visible. (Bug#16014)
2377
2378 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2379
2380 Support resizing frames and windows pixelwise.
2381 * cus-start.el (frame-resize-pixelwise)
2382 (window-resize-pixelwise): New entries.
2383 * emacs-lisp/debug.el (debug): Use window-total-height instead
2384 of window-total-size.
2385 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2386 * help.el (describe-bindings-internal): Call help-buffer
2387 (temp-buffer-max-width): New option.
2388 (resize-temp-buffer-window, help-window-setup)
2389 (with-help-window): Rewrite.
2390 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2391 dragging dividers.
2392 * window.el (frame-char-size, window-min-pixel-height)
2393 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2394 (window-min-pixel-width, window-safe-min-pixel-size)
2395 (window-combination-p, window-safe-min-size)
2396 (window-resizable-p, window--size-to-pixel)
2397 (window--pixel-to-size, window--resize-apply-p): New functions.
2398 (window-safe-min-height): Fix doc-string.
2399 (window-size, window-min-size, window--min-size-1)
2400 (window-sizable, window-sizable-p, window--min-delta-1)
2401 (window-min-delta, window--max-delta-1, window-max-delta)
2402 (window--resizable, window--resizable-p, window-resizable)
2403 (window-full-height-p, window-full-width-p, window-at-side-p)
2404 (window--in-direction-2, window-in-direction)
2405 (window--resize-reset-1, window--resize-mini-window)
2406 (window-resize, window-resize-no-error)
2407 (window--resize-child-windows-normal)
2408 (window--resize-child-windows, window--resize-siblings)
2409 (window--resize-this-window, window--resize-root-window)
2410 (window--resize-root-window-vertically)
2411 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2412 (maximize-window, minimize-window, delete-window)
2413 (quit-restore-window, window-split-min-size, split-window)
2414 (balance-windows-2, balance-windows)
2415 (balance-windows-area-adjust, balance-windows-area)
2416 (window--state-get-1, window-state-get, window--state-put-1)
2417 (window--state-put-2, window-state-put)
2418 (display-buffer-record-window, window--display-buffer):
2419 Make functions handle pixelwise sizing of windows.
2420 (display-buffer--action-function-custom-type)
2421 (display-buffer-fallback-action):
2422 Add display-buffer-in-previous-window.
2423 (display-buffer-use-some-window): Resize window to height it had
2424 before.
2425 (fit-window-to-buffer-horizontally): New option.
2426 (fit-frame-to-buffer): Describe new values.
2427 (fit-frame-to-buffer-bottom-margin): Replace with
2428 fit-frame-to-buffer-margins.
2429 (window--sanitize-margin): New function.
2430 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2431 using window-text-pixel-size.
2432
2433 2013-11-30 Glenn Morris <rgm@gnu.org>
2434
2435 * emacs-lisp/bytecomp.el (byte-compile-form):
2436 Make the `interactive-only' warning like the `obsolete' one.
2437 * comint.el (comint-run):
2438 * files.el (insert-file-literally, insert-file):
2439 * replace.el (replace-string, replace-regexp):
2440 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2441 (goto-line, insert-buffer, next-line, previous-line):
2442 Tweak `interactive-only' spec.
2443
2444 Stop keeping (most) generated cedet grammar files in the repository.
2445 * Makefile.in (semantic): New.
2446 (compile-main): Depend on semantic.
2447
2448 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2449
2450 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2451 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2452
2453 * uniquify.el (uniquify-buffer-name-style): Change default.
2454
2455 * loadup.el: Preload "uniquify".
2456
2457 * time.el (display-time-update): Update all mode lines (bug#15999).
2458
2459 * electric.el (electric-indent-mode): Enable by default.
2460 * loadup.el: Preload "electric".
2461
2462 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2463
2464 * emacs-lisp/helpers.el (string-empty-p): New function.
2465 (string-blank-p): New function.
2466
2467 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2468
2469 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2470 (Bug#14029).
2471
2472 2013-11-29 Andreas Politz <politza@fh-trier.de>
2473 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2474 allow non-lambda lists as functions.
2475 (imenu--in-alist): Don't recurse into non-subalists.
2476 (imenu): Don't pass function itself as an argument (Bug#14029).
2477
2478 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * progmodes/python.el (python-mode-map): Remove binding for ":".
2481 (python-indent-electric-colon): Remove command.
2482 (python-indent-post-self-insert-function): Integrate the previous code
2483 of python-indent-electric-colon. Make it conditional on
2484 electric-indent-mode.
2485 (python-mode): Add ?: to electric-indent-chars.
2486 Move python-indent-post-self-insert-function to the end of
2487 post-self-insert-hook.
2488
2489 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * doc-view.el (doc-view-goto-page): Update mode-line.
2492
2493 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2494
2495 2013-11-27 Glenn Morris <rgm@gnu.org>
2496
2497 * international/charprop.el, international/uni-bidi.el:
2498 * international/uni-category.el, international/uni-combining.el:
2499 * international/uni-comment.el, international/uni-decimal.el:
2500 * international/uni-decomposition.el, international/uni-digit.el:
2501 * international/uni-lowercase.el, international/uni-mirrored.el:
2502 * international/uni-name.el, international/uni-numeric.el:
2503 * international/uni-old-name.el, international/uni-titlecase.el:
2504 * international/uni-uppercase.el:
2505 Remove generated files from VCS repository.
2506
2507 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2508
2509 * filenotify.el (file-notify-add-watch): Don't special-case
2510 w32notify when computing the directory to watch.
2511
2512 2013-11-27 Glenn Morris <rgm@gnu.org>
2513
2514 Make bootstrap without generated uni-*.el files possible again.
2515 * loadup.el: Update command-line-args checking for unidata-gen.
2516 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2517 * composite.el, international/characters.el:
2518 Handle unicode tables being undefined.
2519
2520 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2521 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2522 (compile-main): Depend on leim rule.
2523 (leim): New rule.
2524 * loadup.el: Move leim-list.el to leim/ subdirectory.
2525 * startup.el (normal-top-level): No more leim directory.
2526 * international/ja-dic-cnv.el (skkdic-convert):
2527 Disable version-control and autoloads in output files.
2528 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2529 Disable version-control and autoloads in output files.
2530 * leim/quail: Move here from ../leim.
2531 * leim/quail/hangul.el (hangul-input-method-activate):
2532 Add autoload cookie.
2533 (generated-autoload-load-name): Set file-local value.
2534 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2535 (generated-autoload-load-name): Set file-local value.
2536
2537 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2538
2539 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2540 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2541 (eww-quit): Ask confirmation before quitting eww.
2542
2543 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2544
2545 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2546 reading output from Diff on MS-Windows and MS-DOS.
2547
2548 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2549
2550 * emacs-lisp/helpers.el (string-reverse): New function.
2551
2552 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2555 names on MS Windows, like "/[::1]:".
2556
2557 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2558 SWITCHES.
2559
2560 2013-11-26 Glenn Morris <rgm@gnu.org>
2561
2562 * progmodes/python.el (python-indent-guess-indent-offset):
2563 Avoid corner-case error. (Bug#15975)
2564
2565 Preload leim-list.el. (Bug#4789)
2566 * loadup.el: Load leim-list.el when found.
2567 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2568
2569 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2570
2571 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2572
2573 * emacs-lisp/helpers.el (string-join): New function.
2574
2575 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2576
2577 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2578 Mark as obsolete and replace it with a symbol property.
2579 (byte-compile-form): Use new 'interactive-only property.
2580 * comint.el, files.el, replace.el, simple.el:
2581 Apply new 'interactive-only properly.
2582
2583 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2584
2585 * window.el (display-buffer-at-bottom): Make sure that
2586 split-window-sensibly creates the new window on bottom
2587 (Bug#15961).
2588
2589 2013-11-23 David Kastrup <dak@gnu.org>
2590
2591 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2592 on the conflict markers when available.
2593 (smerge--get-marker): New function.
2594 (smerge-end-re, smerge-base-re): Add subgroup.
2595
2596 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * frame.el (handle-focus-in, handle-focus-out): Add missing
2599 interactive spec.
2600
2601 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2602
2603 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2604 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2605
2606 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2607
2608 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2609 (gomoku--last-pos): New var.
2610 (gomoku--intangible-chars): New const.
2611 (gomoku--intangible): New function.
2612 (gomoku-mode): Use it. Derive from special-mode.
2613 (gomoku-move-up): Adjust line count.
2614 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2615 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2616 Simplify accordingly.
2617
2618 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2619 Remove blink-cursor code.
2620 (blink-cursor-timer-function, blink-cursor-suspend):
2621 Don't special-case GUIs.
2622 (blink-cursor-mode): Use focus-in/out-hook.
2623
2624 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2625
2626 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2627 work when annotation is invisible (Bug#13886).
2628
2629 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2630
2631 * json.el (json-alist-p): Only return non-nil if the alist has
2632 simple keys (Bug#13518).
2633
2634 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2635
2636 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2637 when control-statement is the first statement in a buffer (Bug#15956).
2638
2639 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2640
2641 * imenu.el (imenu-generic-skip-comments-and-strings):
2642 New option (Bug#15560).
2643 (imenu--generic-function): Use it.
2644
2645 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2646
2647 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2648 (Bug#13898)
2649
2650 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2651
2652 * emacs-lisp/helpers.el: Add some string helpers.
2653 (string-trim-left): Removes leading whitespace.
2654 (string-trim-right): Removes trailing whitespace.
2655 (string-trim): Removes leading and trailing whitespace.
2656
2657 * subr.el (string-suffix-p): New function.
2658
2659 2013-11-23 Glenn Morris <rgm@gnu.org>
2660
2661 * progmodes/python.el (python-shell-send-file):
2662 Add option to delete file when done. (Bug#15647)
2663 (python-shell-send-string, python-shell-send-region): Use it.
2664
2665 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2666
2667 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2668 to set buffer-read-only to t, never to nil. (Bug#15938)
2669
2670 * textmodes/tex-mode.el (latex-noindent-environments):
2671 Add safe-local-variable property. (Bug#15936)
2672
2673 2013-11-23 Glenn Morris <rgm@gnu.org>
2674
2675 * textmodes/enriched.el (enriched-mode): Doc fix.
2676 * emacs-lisp/authors.el (authors-renamed-files-alist):
2677 Add enriched.doc -> enriched.txt.
2678
2679 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2680
2681 2013-11-22 Leo Liu <sdl.web@gmail.com>
2682
2683 * progmodes/octave.el (inferior-octave-startup): Spit out error
2684 message.
2685
2686 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2687
2688 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2689 Improve docstring.
2690 Add :version.
2691 (ruby-encoding-magic-comment-style): Add :version.
2692
2693 2013-11-22 Leo Liu <sdl.web@gmail.com>
2694
2695 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2696 (Bug#15076)
2697 (octave-help-mode): Adapt to change to help-mode-finish to use
2698 derived-mode-p on 2013-09-17.
2699 (inferior-octave-prompt): Also match octave-gui.
2700 (octave-kill-process): Don't ask twice. (Bug#10564)
2701
2702 2013-11-22 Leo Liu <sdl.web@gmail.com>
2703
2704 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2705 (inferior-octave-startup, inferior-octave-check-process)
2706 (inferior-octave-track-window-width-change)
2707 (octave-completion-at-point, octave-eldoc-function): Use it.
2708 (octave-kill-process): Provide confirmation. (Bug#10564)
2709
2710 2013-11-21 Leo Liu <sdl.web@gmail.com>
2711
2712 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2713 Fix obsolete variable comment-use-global-state.
2714
2715 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2716
2717 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2718 Add `octave-source-file'.
2719 (octave-source-file): New function. (Bug#15935)
2720
2721 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2722
2723 * net/eww.el (eww-local-regex): New variable.
2724 (eww): Use it to detect localhost and similar.
2725
2726 2013-11-21 Leo Liu <sdl.web@gmail.com>
2727
2728 Add completion for command `ag'.
2729 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2730 (pcomplete/ag): New function.
2731 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2732
2733 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2736 (bug#14646).
2737 (make-obsolete): Remove interactive spec.
2738
2739 2013-11-21 Glenn Morris <rgm@gnu.org>
2740
2741 * startup.el (command-line-1): Use path-separator with -L.
2742
2743 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2744
2745 * emacs-lisp/package.el (describe-package-1): Add package archive
2746 to shown fields.
2747
2748 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2749
2750 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2751 Change default to "# encoding: %s" to differentiate it from the
2752 default Ruby encoding comment template.
2753
2754 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2755
2756 * ses.el (ses-mode): Doc fix. (Bug#14748)
2757
2758 2013-11-20 Leo Liu <sdl.web@gmail.com>
2759
2760 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2761
2762 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2763
2764 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2765 when rebase or bisect are in progress.
2766
2767 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2768
2769 * filenotify.el (file-notify-add-watch): Doc fix.
2770
2771 2013-11-19 Leo Liu <sdl.web@gmail.com>
2772
2773 * obsolete/rcompile.el: Mark obsolete.
2774
2775 * progmodes/compile.el (compilation-start)
2776 (compilation-goto-locus, compilation-find-file):
2777 Pass no-display-ok and handle nil value from display-buffer.
2778 (Bug#13594)
2779
2780 * window.el (display-buffer-alist, display-buffer): Document the
2781 new parameter no-display-ok. Return either a window or nil
2782 but never a non-window value.
2783
2784 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2785
2786 * electric.el (electric-indent-mode-map): Remove.
2787 (electric-indent-mode): Change the global-map instead (bug#15915).
2788
2789 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2790 Use add-function.
2791
2792 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 * emacs-lisp/nadvice.el (remove-function): Align with
2795 add-function's behavior.
2796
2797 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2798 (gdb--string-regexp): New constant.
2799 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2800 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2801 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2802 submatch 1.
2803 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2804 Adjust use accordingly.
2805 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2806
2807 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2808
2809 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2810 interpolation curlies (Bug#15914).
2811
2812 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2813
2814 * calc/calc.el (calc-context-sensitive-enter): New variable.
2815 (calc-enter): Use `calc-context-sensitive-enter'.
2816
2817 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2818
2819 * progmodes/cfengine.el: Version bump.
2820 (cfengine-cf-promises): New defcustom to locate cf-promises.
2821 (cfengine3-vartypes): Add new "data" type.
2822 (cfengine3--current-word): New function to get current name-like
2823 word or its bounds.
2824 (cfengine3--current-function): New function to look up a CFEngine
2825 function's definition.
2826 (cfengine3-format-function-docstring): New function.
2827 (cfengine3-make-syntax-cache): New function.
2828 (cfengine3-documentation-function): New function: ElDoc glue.
2829 (cfengine3-completion-function): New function: completion glue.
2830 (cfengine3-mode): Set `compile-command',
2831 `eldoc-documentation-function', and add to
2832 `completion-at-point-functions'.
2833
2834 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2837 `tramp-current-connection'.
2838
2839 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2840
2841 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2842 nil/self/true/false with "end of symbol".
2843
2844 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2845
2846 * subr.el (version-regexp-alist): Fix a typo.
2847
2848 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2849
2850 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2851 "en_US.utf8" and "LC_CTYPE" to "".
2852 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2853 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2854
2855 2013-11-15 Leo Liu <sdl.web@gmail.com>
2856
2857 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2858
2859 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * progmodes/gud.el (ctl-x-map):
2862 Remove C-x SPC binding. (Bug#12342)
2863 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2864
2865 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2866
2867 * subr.el (version-regexp-alist):
2868 Recognize hg, svn and darcs versions as snapshot versions.
2869
2870 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2871 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2872 (ruby--encoding-comment-required-p): Extract from
2873 `ruby-mode-set-encoding'.
2874 (ruby-mode-set-encoding): Add the ability to always insert an
2875 utf-8 encoding comment. Fix and simplify coding comment update
2876 logic.
2877
2878 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * net/tramp-gvfs.el (top): Run init code only when
2881 `tramp-gvfs-enabled' is not nil.
2882 (tramp-gvfs-enabled): Check also :system bus.
2883
2884 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2885
2886 Sync with upstream verilog-mode revision 78e66ba.
2887 * progmodes/verilog-mode.el (verilog-end-of-defun)
2888 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2889 (verilog-get-end-of-defun): Remove unused argument.
2890 (verilog-comment-depth): Remove unused local `e'.
2891 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2892 Don't pass arg to verilog-get-end-of-defun.
2893
2894 2013-11-14 Glenn Morris <rgm@gnu.org>
2895
2896 * obsolete/assoc.el (aget): Prefix dynamic variable.
2897
2898 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2899
2900 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2901
2902 * widget.el, hfy-cmap.el: Remove bogus package version number.
2903
2904 2013-11-13 Glenn Morris <rgm@gnu.org>
2905
2906 * replace.el (replace-eval-replacement):
2907 Try to give more helpful error message. (Bug#15836)
2908
2909 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2910 (archive-7z-update): Avoid custom type mismatches.
2911
2912 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2913
2914 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2915
2916 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2917 address can be empty.
2918
2919 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2920 Accept nil SWITCHES.
2921 (tramp-gvfs-handle-write-region): Implement APPEND.
2922
2923 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2924
2925 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2926 binary "|" operator and closing block args delimiter.
2927 Remove FIXME comment referring to Ruby 1.8-only syntax.
2928 (ruby-smie--implicit-semi-p): Not after "|" operator.
2929 (ruby-smie--closing-pipe-p): New function.
2930 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2931 (ruby-smie-rules): Indent after "|".
2932
2933 2013-11-12 Glenn Morris <rgm@gnu.org>
2934
2935 * ps-print.el (ps-face-attribute-list):
2936 Handle anonymous faces. (Bug#15827)
2937
2938 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2939
2940 * window.el (display-buffer-other-frame): Fix doc-string.
2941 (Bug#15868)
2942
2943 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2946
2947 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2948
2949 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2950 (tramp-sh-handle-file-local-copy): Don't write a message when
2951 saving temporary files.
2952
2953 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2954 both directories are remote.
2955 (tramp-smb-handle-directory-files): Do not return double entries.
2956 Do not expand full file names.
2957 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2958 (tramp-smb-handle-write-region): Implement APPEND.
2959 (tramp-smb-get-stat-capability): Fix a stupid bug.
2960
2961 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2964
2965 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2966
2967 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2968 throwing error over malformed let/let* (bug#15814).
2969
2970 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * iswitchb.el (iswitchb-mode): Mark obsolete.
2973
2974 2013-11-11 Glenn Morris <rgm@gnu.org>
2975
2976 * international/uni-bidi.el, international/uni-category.el:
2977 * international/uni-name.el, international/uni-numeric.el:
2978 Regenerate for Unicode 6.3.0.
2979
2980 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * net/tramp.el (tramp-methods):
2983 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2984 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2985
2986 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2987
2988 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2989 Force highlighting text after Summary keyword in doc face for rpm.
2990
2991 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2992
2993 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2994 available and the word has no wildcards, append one to the grep pattern.
2995 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2996 (ispell-complete-word): Call `ispell-lookup-words' with the value
2997 independent of `ispell-look-p'.
2998
2999 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3000
3001 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3002 Not after "||".
3003 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3004 their parent.
3005
3006 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3007
3008 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3009 (ruby-font-lock-keywords): Use backquote.
3010
3011 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3012
3013 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3014 (ruby-smie--backward-token): Only consider full-string matches.
3015
3016 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3017
3018 * faces.el (describe-face): Add distant-foreground.
3019
3020 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3021
3022 * progmodes/ruby-mode.el: Improve encoding comment handling.
3023 (ruby-encoding-magic-comment-style): New option.
3024 (ruby-custom-encoding-magic-comment-template): New option.
3025 (ruby--insert-coding-comment, ruby--detect-encoding):
3026 New functions extracted from `ruby-mode-set-encoding'.
3027 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3028 to control the style of the auto-inserted encoding comment.
3029
3030 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3031
3032 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3033 Use `smie-backward-sexp' with token argument.
3034
3035 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3036
3037 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3038 Remove instrumentation code.
3039
3040 2013-11-08 Glenn Morris <rgm@gnu.org>
3041
3042 * progmodes/autoconf.el (autoconf-mode):
3043 Tweak comment-start-skip. (Bug#15822)
3044
3045 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3048 at bobp (bug#15826).
3049 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3050
3051 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3052
3053 * man.el (Man-start-calling): New macro, extracted from
3054 Man-getpage-in-background.
3055 (Man-getpage-in-background): Use it.
3056 (Man-update-manpage): New command.
3057 (Man-mode-map): Bind it.
3058
3059 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3060
3061 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3062 of "and", "or", "&&" and "||".
3063 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3064 argument. Prohibit opening curly brace because it could only be a
3065 block opener in that position.
3066 (ruby-smie--forward-token, ruby-smie--backward-token):
3067 Separate "|" from "&" or "*" going after it. That can happen in block
3068 arguments.
3069 (ruby-smie--indent-to-stmt): New function, seeks the end of
3070 previous statement or beginning of buffer.
3071 (ruby-smie-rules): Use it.
3072 (ruby-smie-rules): Check if there's a ":" before a curly block
3073 opener candidate; if there is, it's a hash.
3074
3075 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3078 (cl--block-wrapper): Fix last accidental change.
3079
3080 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3081
3082 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3083 Instrument, in order to hunt failure on hydra.
3084
3085 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3086
3087 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3088 malformed bindings form (bug#15814).
3089
3090 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3091
3092 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3093 "." compared to " @ ". This incidentally fixes some indentation
3094 examples with "do".
3095 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3096 (ruby-smie-grammar): New tokens: "and" and "or".
3097 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3098 Exclude "and" and "or". Remove "do" in order to work around token
3099 priorities.
3100 (ruby-smie-rules): Add all infix tokens. Handle the case of
3101 beginning-of-buffer.
3102
3103 2013-11-06 Glenn Morris <rgm@gnu.org>
3104
3105 * Makefile.in (setwins_almost, setwins_for_subdirs):
3106 Avoid accidental matches.
3107
3108 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * menu-bar.el (popup-menu): Use key-binding.
3111
3112 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3113
3114 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3115 menus, support also the menus produced by minor modes.
3116 (Bug#15817)
3117
3118 2013-11-06 Leo Liu <sdl.web@gmail.com>
3119
3120 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3121 DISTANCE to bound the search. All uses changed. (Bug#15808)
3122
3123 2013-11-06 Glenn Morris <rgm@gnu.org>
3124
3125 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3126 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3127 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3128
3129 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * electric.el (electric-indent-just-newline): New command.
3132 (electric-indent-mode-map): New keymap.
3133 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3134 Re-add :group which weren't redundant.
3135
3136 * electric.el (electric-indent-local-mode): New minor mode.
3137 (electric-indent-functions-without-reindent): New var.
3138 (electric-indent-post-self-insert-function): Use it.
3139 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3140
3141 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3142
3143 * international/quail.el (quail-help): Be more explicit about the
3144 meaning of the labels shown on the keys. (Bug#15800)
3145
3146 * startup.el (normal-top-level): Load the subdirs.el files before
3147 setting the locale environment. (Bug#15805)
3148
3149 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3152 via arguments so as to get the right ones (bug#15418).
3153
3154 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3155
3156 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3157
3158 Fix problems found while writing a test suite.
3159
3160 * net/tramp-compat.el (tramp-compat-load): New defun.
3161 * net/tramp.el (tramp-handle-load): Use it.
3162
3163 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3164 "(numberp ok-if-already-exists)" correctly.
3165
3166 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3167
3168 * international/characters.el (glyphless-char-display-control):
3169 Add usage note.
3170
3171 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3172
3173 * progmodes/python.el (python-mode):
3174 * progmodes/scheme.el (scheme-mode):
3175 * progmodes/prolog.el (prolog-mode):
3176 * progmodes/ruby-mode.el (ruby-mode):
3177 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3178 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3179
3180 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 * rect.el (rectangle--highlight-for-redisplay):
3183 * emacs-lisp/smie.el (smie--next-indent-change):
3184 Use buffer-chars-modified-tick.
3185
3186 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3187
3188 * electric.el (electric-indent-post-self-insert-function):
3189 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3190
3191 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3192
3193 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3194
3195 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3196
3197 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3198 (bug#15786).
3199
3200 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3201
3202 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3203
3204 * progmodes/python.el: Fix up last change.
3205 (python-shell--save-temp-file): New function.
3206 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3207 `string' comes from the current buffer.
3208 (python-shell-send-string-no-output): Remove `msg' arg.
3209 (python--use-fake-loc): New var.
3210 (python-shell-buffer-substring): Obey it. Try to compensate for the
3211 extra coding line added by python-shell--save-temp-file.
3212 (python-shell-send-region): Use python-shell--save-temp-file and
3213 python-shell-send-file directly. Add `nomain' argument.
3214 (python-shell-send-buffer): Use python-shell-send-region.
3215 (python-electric-pair-string-delimiter): New function.
3216 (python-mode): Use it.
3217
3218 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3219
3220 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3221 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3222 environment and decoding all of the default-directory's to here
3223 from command-line.
3224 (command-line): Decode also argv[0].
3225
3226 * loadup.el: Error out if default-directory is a multibyte string
3227 when we are dumping.
3228
3229 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3230
3231 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3232
3233 * emacs-lisp/package.el (package-menu-mode)
3234 (package-menu--print-info, package-menu--archive-predicate):
3235 Add Archive column to package list.
3236
3237 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3238
3239 Fix problems found while writing a test suite.
3240
3241 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3242 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3243 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3244 to nil when running original file name handler. Otherwise,
3245 there are problems with constructs like "$$FOO".
3246
3247 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3248 for `localname'.
3249
3250 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3251
3252 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3253
3254 * subr.el (version<, version<=, version=):
3255 Update docstrings with information for snapshot versions.
3256
3257 * helpers.el: New library for misc helper functions.
3258 (hash-table-keys): New function returning a list of hash keys.
3259 (hash-table-values): New function returning a list of hash values.
3260
3261 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3262
3263 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3264 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3265
3266 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3267
3268 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3269 checking whether point is after a 1-letter word.
3270
3271 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3272
3273 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3274 Don't infloop when expanding region over `multiline' syntax-type that
3275 begins a line (bug#15778).
3276
3277 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3279 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3280 Make it into a proper minor mode.
3281 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3282 (rectangle-mark-mode-map): New keymap.
3283 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3284
3285 2013-11-04 Glenn Morris <rgm@gnu.org>
3286
3287 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3288
3289 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3290
3291 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3292 (ruby-smie-rules): Use smie-rule-parent instead.
3293
3294 * emacs-lisp/smie.el (smie-rule-parent): Always call
3295 smie-indent-virtual rather than only for hanging tokens.
3296 (smie--next-indent-change): New helper command.
3297
3298 2013-11-03 Glenn Morris <rgm@gnu.org>
3299
3300 * Makefile.in (abs_srcdir): Remove.
3301 (emacs): Unset EMACSLOADPATH.
3302
3303 2013-11-02 Glenn Morris <rgm@gnu.org>
3304
3305 * Makefile.in (EMACS): Use a relative filename.
3306 (abs_top_builddir): Remove.
3307 (custom-deps, finder-data, autoloads): Use --chdir.
3308
3309 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3310
3311 Use relative filenames in TAGS files.
3312 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3313 (lisptagsfiles4, TAGS): Use relative file names.
3314 (TAGS-LISP): Remove.
3315 (maintainer-clean): No more TAGS-LISP file.
3316
3317 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3318 (lisptagsfiles4): Use absolute filenames again.
3319 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3320 Remove all *loaddefs files, not just the first. Remove esh-groups.
3321 (maintainer-clean): Delete TAGS, TAGS-LISP.
3322
3323 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3324
3325 * emacs-lisp/package.el (package-version-join):
3326 Recognize snapshot versions.
3327
3328 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3329
3330 * subr.el (version-regexp-alist): Add support for snapshot versions.
3331
3332 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3333
3334 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3335 New function, replacement for `smie-rule-parent' for when we want to
3336 skip over our direct parent if it's an assignment token..
3337 (ruby-smie-rules): Use it.
3338
3339 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3340
3341 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3342 unconditionally. Remove now unnecessary forward declarations.
3343 Remove XEmacs-specific setup.
3344 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3345 (ruby-font-lock-syntactic-keywords)
3346 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3347 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3348 (ruby-here-doc-end-syntax): Remove.
3349 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3350 defined as function.
3351
3352 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3353
3354 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3355
3356 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3357
3358 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3359 table and abbrev table, `define-derived-mode' does that for us
3360 anyway.
3361
3362 2013-11-01 Glenn Morris <rgm@gnu.org>
3363
3364 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3365 files is atomic for some time, so no parallel compilation issues).
3366
3367 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3368
3369 * faces.el (face-x-resources): Add :distant-foreground.
3370 (region): Use :distant-foreground for gtk and ns.
3371
3372 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3373
3374 Allow multiple bibliographies when BibLaTeX is used rather than
3375 BibTeX.
3376 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3377 (reftex-locate-bibliography-files): Us it.
3378
3379 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3380
3381 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3382 allow comments in pbm files.
3383
3384 * term/w32-win.el (dynamic-library-alist): Support newer versions
3385 of libjpeg starting with v7: look only for the DLL from the
3386 version against which Emacs was built.
3387 Support versions of libpng beyond 1.4.x.
3388 Support libtiff v4.x.
3389
3390 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3391
3392 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3393 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3394 Add property :safe.
3395 (ruby-deep-arglist): Add property :type.
3396
3397 2013-10-31 Glenn Morris <rgm@gnu.org>
3398
3399 * Makefile.in (custom-deps, finder-data): No need to setq the target
3400 variables, we are in the right directory and the defaults work fine.
3401
3402 2013-10-30 Glenn Morris <rgm@gnu.org>
3403
3404 * Makefile.in (autoloads): Do not use abs_lisp.
3405
3406 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3407 `newline' does not respect `standard-output', so use `princ'.
3408
3409 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3410
3411 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3412 * buff-menu.el (Buffer-menu--unmark): New function.
3413 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3414
3415 2013-10-30 Glenn Morris <rgm@gnu.org>
3416
3417 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3418
3419 * emacs-lisp/package.el (lm-homepage): Declare.
3420
3421 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3422 Fix doc typos.
3423
3424 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3425
3426 * Makefile.in (finder-data, autoloads, update-subdirs)
3427 (compile-main, compile-clean, compile-always, bootstrap-clean):
3428 Check return value of cd.
3429 (compile-calc): Remove.
3430
3431 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3434
3435 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3436 (byte-compile-and-folded): New function.
3437 (=, <, >, <=, >=): Use it.
3438
3439 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3440 (path-separator, null-device, buffer-file-coding-system)
3441 (lpr-headers-switches): Check system-type before modifying them.
3442 (find-buffer-file-type-coding-system): Mark obsolete.
3443 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3444 find-file-not-found-set-buffer-file-coding-system.
3445 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3446 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3447 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3448 (w32-direct-print-region-helper, w32-direct-print-region-function)
3449 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3450 * startup.el (normal-top-level-add-subdirs-to-load-path):
3451 * ps-print.el (ps-print-region-function):
3452 * lpr.el (print-region-function): Use new name.
3453
3454 * subr.el (custom-declare-variable-early): Remove function.
3455 (custom-declare-variable-list): Remove var.
3456 (error, user-error): Remove `while' loop.
3457 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3458 (user-emacs-directory-warning, locate-user-emacs-file):
3459 Move to files.el.
3460 * simple.el (read-quoted-char-radix, read-quoted-char):
3461 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3462 Move from subr.el.
3463 * custom.el (custom-declare-variable-list): Don't process
3464 custom-declare-variable-list.
3465
3466 * progmodes/python.el (python-shell-get-buffer): New function.
3467 (python-shell-get-process): Use it.
3468 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3469 Python which encoding was used. Don't split-string since we only care
3470 about the first line. Return the temp-file, if applicable.
3471 (python-shell-send-region): Tell compile.el how to turn locations in
3472 the temp-file into locations in the source buffer.
3473
3474 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * subr.el (undefined): Add missing behavior from the C code for
3477 unbound keys.
3478
3479 * rect.el: Use lexical-binding. Add new rectangular region support.
3480 (rectangle-mark): New command.
3481 (rectangle--region): New var.
3482 (deactivate-mark-hook): Reset rectangle--region.
3483 (rectangle--extract-region, rectangle--insert-for-yank)
3484 (rectangle--highlight-for-redisplay)
3485 (rectangle--unhighlight-for-redisplay): New functions.
3486 (region-extract-function, redisplay-unhighlight-region-function)
3487 (redisplay-highlight-region-function): Use them to handle
3488 rectangular region.
3489 * simple.el (region-extract-function): New var.
3490 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3491 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3492 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3493 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3494 (redisplay-unhighlight-region-function)
3495 (redisplay-highlight-region-function): New vars.
3496 (redisplay--update-region-highlight): New function.
3497 (pre-redisplay-function): Use it.
3498 (exchange-point-and-mark): Don't deactivate the mark before
3499 reactivate-it anyway.
3500 * comint.el (comint-kill-region): Remove yank-handler argument.
3501 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3502 (delete-char): Remove property, since it's now part of their
3503 default behavior.
3504 (self-insert-iso): Remove property since this command doesn't exist.
3505
3506 * emacs-lisp/package.el (package--download-one-archive)
3507 (describe-package-1): Don't query the user about final newline.
3508
3509 2013-10-29 Daniel Colascione <dancol@dancol.org>
3510
3511 * net/tramp.el (tramp-methods): Document new functionality.
3512 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3513 tramp-hostname-checker if method provides one instead of scanning
3514 argument list for "%h" to decide hostname acceptability.
3515
3516 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3517
3518 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3519 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3520 Handle COPY-CONTENTS. (Bug#15737)
3521
3522 2013-10-28 Daiki Ueno <ueno@gnu.org>
3523
3524 * epa-file.el
3525 (epa-file-cache-passphrase-for-symmetric-encryption):
3526 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3527
3528 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3529
3530 * image.el (defimage):
3531 (image-load-path): Doc fixes.
3532
3533 2013-10-27 Alan Mackenzie <acm@muc.de>
3534
3535 Indent statements in macros following "##" correctly.
3536 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3537 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3538
3539 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3540
3541 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3542
3543 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3544
3545 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3546 after `=' is probably a new expression.
3547
3548 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3549
3550 * man.el (man-imenu-title): New option.
3551 (Man-mode-map): Add menu. (Bug#15722)
3552 (Man-mode): Add imenu to menu.
3553
3554 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3555
3556 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3557 specific in what the first arg can be: a non-keyword word,
3558 string/regexp/percent literal opener, opening paren, or unary
3559 operator followed directly by word.
3560
3561 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3562
3563 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3564 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3565 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3566 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3567 Remove vars, they do not apply any more.
3568 (prolog-mode-abbrev-table): Remove redundant declaration.
3569 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3570 (prolog-use-smie): Remove.
3571 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3572 supported by prolog-electric-if-then-else-flag.
3573 (prolog-mode-variables, prolog-menu): Use setq-local.
3574 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3575 Remove binding to `Backspace' since this key doesn't exist anyway.
3576 Remove bindings for electric self-inserting keys.
3577 (prog-mode): Assume it's defined.
3578 (prolog-post-self-insert): New function.
3579 (prolog-mode): Use it.
3580 (prolog-indent-line, prolog-indent-level)
3581 (prolog-find-indent-of-matching-paren)
3582 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3583 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3584 (prolog-goto-next-paren, prolog-in-string-or-comment)
3585 (prolog-tokenize, prolog-inside-mline-comment)
3586 (prolog-find-start-of-mline-comment): Remove functions.
3587 (prolog-find-unmatched-paren, prolog-clause-end)
3588 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3589 (prolog-electric--if-then-else): Rename from
3590 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3591 (prolog-tokenize-searchkey): Remove const.
3592 (prolog-clause-info): Use forward-sexp.
3593 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3594 (prolog-electric-if-then-else): Remove commands.
3595 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3596 for use in post-self-insert-hook.
3597 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3598 for use in post-self-insert-hook.
3599 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3600 for use in post-self-insert-hook.
3601 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3602 adapt it for use in post-self-insert-hook.
3603
3604 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3605
3606 * emacs-lisp/ert.el (ert-run-tests-interactively):
3607 Use `completing-read'. (Bug#9756)
3608
3609 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3610
3611 * simple.el (line-move): Call line-move-1 instead of
3612 line-move-visual when the current window hscroll is zero, but
3613 temporary-goal-column indicates we will need to hscroll as result
3614 of the movement. (Bug#15712)
3615
3616 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3617
3618 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3619 capitalization. Use :visible instead of :active.
3620 Fix `ruby-indent-exp' reference. Add menu items for the generic
3621 commands that are used with SMIE.
3622 (ruby-do-end-to-brace): Insert space after `{'.
3623
3624 2013-10-25 John Anthony <john@jo.hnanthony.com>
3625
3626 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3627
3628 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3629
3630 2013-10-25 Glenn Morris <rgm@gnu.org>
3631
3632 * vc/vc.el (vc-print-log): Don't use a working revision unless
3633 one was explicitly specified. (Bug#15322)
3634
3635 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * subr.el (add-to-list): Preserve return value in compiler-macro
3638 (bug#15692).
3639
3640 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3641
3642 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3643 result. Ask user to retry using '-all' flag. (Bug#15701)
3644
3645 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * emacs-lisp/smie.el: New smie-config system.
3648 (smie-config): New defcustom.
3649 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3650 (smie-config-guess, smie-config-save): New commands.
3651 (smie-config--mode-local, smie-config--buffer-local)
3652 (smie-config--trace, smie-config--modefuns): New vars.
3653 (smie-config--advice, smie-config--mode-hook)
3654 (smie-config--setter, smie-config-local, smie-config--get-trace)
3655 (smie-config--guess-value, smie-config--guess): New functions.
3656 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3657 text properties. Treat "string fence" syntax like string syntax.
3658
3659 * progmodes/sh-script.el (sh-use-smie): Change default.
3660 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3661 (sh-var-value): Simplify by CSE.
3662 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3663 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3664 is used.
3665 (sh-guess-basic-offset): Use cl-incf.
3666 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3667
3668 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3669
3670 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3671 (bug#15699).
3672
3673 2013-10-24 Glenn Morris <rgm@gnu.org>
3674
3675 * Makefile.in (abs_top_srcdir): Remove.
3676 (update-subdirs): Use relative path to update-subdirs.
3677
3678 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3679
3680 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3681 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3682 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3683 Call unmsys--file-name before expand-file-name, not after it.
3684
3685 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3688 (ert-test-skipped): New error.
3689 (ert-skip, ert-stats-skipped): New defuns.
3690 (ert--skip-unless): New macro.
3691 (ert-test-skipped): New struct.
3692 (ert--run-test-debugger, ert-test-result-type-p)
3693 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3694 (ert--stats-set-test-and-result, ert-char-for-test-result)
3695 (ert-string-for-test-result, ert-run-tests-batch)
3696 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3697 Handle skipped tests. (Bug#9803)
3698
3699 2013-10-24 Glenn Morris <rgm@gnu.org>
3700
3701 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3702
3703 * Makefile.in (abs_top_srcdir): New, set by configure.
3704 (update-subdirs): Correct build-aux location.
3705
3706 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3707
3708 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3709 value, whether we could auto-deduce `backend', or not.
3710
3711 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3712 with parameters" example. Simplify the "is it block or is it
3713 hash" check, but also make it more thorough.
3714
3715 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3716
3717 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3718
3719 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3722 { if it is hanging.
3723
3724 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3725 :before ";".
3726
3727 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3728
3729 * progmodes/compile.el (compilation-directory-matcher)
3730 (compilation-page-delimiter):
3731 Support GNU Make-4.0 directory quoting. (Bug#15678)
3732
3733 2013-10-23 Leo Liu <sdl.web@gmail.com>
3734
3735 * ido.el (ido-tidy): Handle read-only text.
3736
3737 2013-10-23 Glenn Morris <rgm@gnu.org>
3738
3739 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3740 (emacs, compile, compile-always):
3741 Quote entities that might contain whitespace.
3742 (custom-deps, finder-data, autoloads): Use abs_lisp.
3743 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3744 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3745 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3746
3747 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3748
3749 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3750 Use `following-char'.
3751
3752 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3753
3754 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3755 * progmodes/ruby-mode.el (ruby-smie-rules):
3756 Remove corresponding workaround. Fix indentation rule of ";" so it
3757 also applies when ";" is the parent.
3758
3759 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3760
3761 * frame.el (display-screens, display-pixel-height)
3762 (display-pixel-width, display-mm-width, display-backing-store)
3763 (display-save-under, display-planes, display-color-cells)
3764 (display-visual-class, display-monitor-attributes-list):
3765 Mention the optional ‘display’ argument in doc strings.
3766
3767 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3768
3769 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3770 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3771
3772 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3773
3774 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3775 TODO. Add "." after " @ ".
3776 (ruby-smie--at-dot-call): New function. Checks if point at method
3777 call with explicit target.
3778 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3779 to the method name tokens when it precedes them.
3780 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3781 (ruby-smie-rules): Add rule for indentation before and after "."
3782 token.
3783
3784 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3785
3786 * textmodes/remember.el (remember-diary-extract-entries):
3787 Avoid add-to-list.
3788
3789 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3790 an instruction.
3791
3792 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3793
3794 * progmodes/ruby-mode.el (ruby-smie-grammar):
3795 Add (almost) all infix operators.
3796 (ruby-smie--implicit-semi-p): Add new operator chars.
3797
3798 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3799 `smie-down-list'.
3800 (ruby-smie--args-separator-p): Check that there's no newline
3801 between method call and its arguments.
3802
3803 2013-10-20 Alan Mackenzie <acm@muc.de>
3804
3805 Allow comma separated lists after Java "implements".
3806
3807 * progmodes/cc-engine.el (c-backward-over-enum-header):
3808 Parse commas.
3809 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3810 from a "disallowed" list in enum fontification.
3811
3812 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3813
3814 * startup.el (default-frame-background-mode): Remove unused defvar.
3815
3816 * progmodes/verilog-mode.el (verilog-mode): Don't set
3817 comment-indent-function globally.
3818
3819 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3820
3821 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3822 Move Info menu item creation to ns-win.el.
3823
3824 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3825 in menu bar.
3826
3827 * menu-bar.el: Move GNUstep specific menus...
3828
3829 * term/ns-win.el (ns-initialize-window-system): ... to here.
3830
3831 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3832
3833 * simple.el (newline): Only run post-self-insert-hook when
3834 called interactively.
3835
3836 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3837
3838 * icomplete.el (icomplete-with-completion-tables): Add :version.
3839
3840 2013-10-19 Alan Mackenzie <acm@muc.de>
3841
3842 Fix fontification bugs with constructors and const.
3843
3844 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3845 CASE 2) Remove the check for the absence of a suffix construct
3846 after a function declaration with only types (no identifiers) in
3847 the parentheses. Also, accept a function declaration with just a
3848 type inside the parentheses, if this type can be positively
3849 recognised as such, or if a prefix keyword like "explicit" nails
3850 down the construct as a declaration.
3851
3852 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3853
3854 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3855 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3856 the problem whereby selecting a menu item that leads to a
3857 minibuffer prompt moves the cursor out of the minibuffer window,
3858 making it hard to type at the prompt. Suggested by Stefan Monnier
3859 <monnier@iro.umontreal.ca>.
3860
3861 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3862
3863 * menu-bar.el: Don't make Services menu.
3864
3865 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3866
3867 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3868 (ffap-alist): Use ffap-c++-mode for c++-mode.
3869 (ffap-c++-path): New variable.
3870 (ffap-c++-mode): New function.
3871
3872 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3873
3874 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3875
3876 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3879 introduced on 2013-09-08, which results in an infinite loop
3880 requesting a password.
3881
3882 2013-10-18 Glenn Morris <rgm@gnu.org>
3883
3884 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3885
3886 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3887
3888 Sync with upstream verilog-mode revision 1a6ecec7.
3889 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3890 (verilog-mode-release-date): Remove.
3891 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3892 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3893 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3894 (verilog-auto-tieoff-ignore-regexp)
3895 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3896 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3897 (verilog-signals-with, verilog-dir-cache-preserving)
3898 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3899 Doc fixes.
3900 (verilog-case-fold): New option, to control case folding in
3901 regexp searches, bug597.
3902 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3903 (verilog-string-match-fold, verilog-in-paren-count)
3904 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3905 (verilog-at-close-struct-p): New functions.
3906 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3907 (verilog-forward-sexp, verilog-set-auto-endcomments):
3908 (verilog-leap-to-case-head): Handle "unique0" case.
3909 (verilog-in-constraint-re): New constant.
3910 (verilog-keywords, verilog-type-font-keywords):
3911 Add some SystemVerilog 1800-2012 keywords.
3912 (verilog-label-be): Remove unimplemented argument, bug669.
3913 (verilog-batch-execute-func): When batch expanding clear
3914 create-lockfiles to prevent spurious user locks when a file ends
3915 up not changing.
3916 (verilog-calculate-indent, verilog-calc-1)
3917 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3918 (verilog-do-indent): Fix indentation of nested constraints
3919 and structures.
3920 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3921 (verilog-auto-inst-param): Use verilog-string-match-fold.
3922 (verilog-read-inst-module-matcher):
3923 Fix AUTOINST on gate primitives with #1.
3924 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3925 Reads all user-defined typed variables.
3926 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3927 (verilog-signals-matching-regexp)
3928 (verilog-signals-not-matching-regexp, verilog-auto):
3929 Respect verilog-case-fold.
3930 (verilog-diff-report): Fix line count.
3931 (verilog-auto-assign-modport): Remove unused local `modi'.
3932 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3933 better handle multidimensional arrays.
3934 Fix packed array ports misadding bit index in AUTOINST, bug637.
3935 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3936 to not double-declare existing outputs and inputs, respectively.
3937 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3938 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3939 (verilog-sk-uvm-component): New skeleton.
3940 (verilog-submit-bug-report): Add verilog-case-fold,
3941 remove verilog-mode-release-date.
3942
3943 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3944
3945 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3946 as before.
3947
3948 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3949
3950 * textmodes/remember.el (remember): Set buffer-offer-save in
3951 remember buffers (bug#13566).
3952
3953 2013-10-18 Daniel Colascione <dancol@dancol.org>
3954
3955 When evaluating forms in ielm, direct standard output to ielm
3956 buffer. Add new ielm-return-for-effect command. Remove trailing
3957 whitespace throughout.
3958
3959 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3960 (ielm-return-for-effect): New command.
3961 (ielm-send-input): Accept optional `for-effect' parameter.
3962 (ielm-eval-input): Accept optional `for-effect' parameter.
3963 Bind `standard-output' to stream we create using
3964 `ielm-standard-output-impl'. Suppress printing result when
3965 `for-effect'.
3966 (ielm-standard-output-impl): New function.
3967 (inferior-emacs-lisp-mode): Explain new features in documentation.
3968
3969 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3970
3971 Code cleanup.
3972
3973 * net/tramp.el (tramp-debug-message): Do not check for connection
3974 buffer.
3975 (tramp-message): Use "vector" connection property.
3976
3977 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3978 (tramp-equal-remote, tramp-eshell-directory-change)
3979 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3980 (tramp-adb-handle-rename-file)
3981 * net/tramp-cmds.el (tramp-list-remote-buffers)
3982 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3983 * net/tramp-compat.el (tramp-compat-process-running-p)
3984 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3985 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3986 (tramp-gvfs-handle-rename-file)
3987 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3988 (tramp-set-file-uid-gid)
3989 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3990 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3991 of `file-remote-p'.
3992
3993 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3994 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3995 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3996 (tramp-gw-open-network-stream): Suppress unrelated traces.
3997
3998 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3999 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4001 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4002 connection property.
4003
4004 * net/tramp-cache.el (top): Suppress traces when reading
4005 persistency file.
4006
4007 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4008 Refactor common code. Improve debug message.
4009 (tramp-maybe-open-connection)
4010 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4011 connection buffer too early.
4012
4013 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4014 from `tramp-smb-actions-with-acl'.
4015 (tramp-smb-actions-set-acl): New defconst.
4016 (tramp-smb-handle-copy-directory)
4017 (tramp-smb-action-get-acl): New defun, renamed from
4018 `tramp-smb-action-with-acl'.
4019 (tramp-smb-action-set-acl): New defun.
4020 (tramp-smb-handle-set-file-acl): Rewrite.
4021
4022 2013-10-17 Glenn Morris <rgm@gnu.org>
4023
4024 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4025
4026 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * skeleton.el (skeleton-newline): Remove.
4029 (skeleton-internal-1): Use (insert "\n") instead.
4030
4031 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4032 let-bindings.
4033
4034 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4035 forward-sexp-function while we redo its job (bug#15613).
4036
4037 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4038
4039 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4040 represented by lists.
4041
4042 2013-10-16 Glenn Morris <rgm@gnu.org>
4043
4044 * tmm.el (tmm--history): New dynamic variable.
4045 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4046
4047 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4048
4049 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4050 (tramp-smb-errors): Add error messages.
4051 (tramp-smb-actions-with-acl): New defconst.
4052 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4053 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4054 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4055 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4056 (tramp-smb-get-stat-capability): Fix tests.
4057
4058 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4059
4060 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4061 (bug#15580).
4062
4063 2013-10-16 Glenn Morris <rgm@gnu.org>
4064
4065 * ansi-color.el (ansi-color-drop-regexp):
4066 Add 1J, 1K, 2K. (Bug#15617)
4067
4068 * files.el (hack-local-variables--warned-lexical): New.
4069 (hack-local-variables):
4070 Warn about misplaced lexical-binding. (Bug#15616)
4071
4072 * net/eww.el (eww-render): Always set eww-current-url,
4073 and update header line. (Bug#15622)
4074 (eww-display-html): ... Rather than just doing it here.
4075
4076 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4077
4078 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4079 menu navigations commands.
4080
4081 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4082
4083 * progmodes/subword.el (subword-capitalize): Be careful when
4084 the search for [[:alpha:]] fails (bug#15580).
4085
4086 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4087
4088 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4089 to commands that scroll the menu.
4090
4091 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4092
4093 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4094 Handle methods ending with `?' and `!'.
4095
4096 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4097
4098 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4099 `japanese-cp932' to `cp932' to fix the problem where saving a
4100 source file written in Shift_JIS twice would end up having
4101 `coding: japanese-cp932' which Ruby could not recognize.
4102 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4103 in `ruby-encoding-map'.
4104 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4105 doesn't need to be explicitly declared in magic comment.
4106 (ruby-encoding-map): Add type declaration for better customize UI.
4107
4108 2013-10-13 Glenn Morris <rgm@gnu.org>
4109
4110 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4111 Occur buffers are read-only. http://bugs.debian.org/720775
4112
4113 * emacs-lisp/authors.el (authors-fixed-entries):
4114 Comment out old alpha stuff.
4115
4116 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4117
4118 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4119 to `after-save-hook' instead of `before-save-hook'.
4120 (ruby-mode-set-encoding): Use the value of coding system used to
4121 write the file. Call `basic-save-buffer-1' after modifying the
4122 buffer.
4123
4124 2013-10-13 Alan Mackenzie <acm@muc.de>
4125
4126 Fix indentation/fontification of Java enum with
4127 "implements"/generic.
4128
4129 * progmodes/cc-engine.el (c-backward-over-enum-header):
4130 Extracted from the three other places and enhanced to handle generics.
4131 (c-inside-bracelist-p): Uses new function above.
4132 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4133 function above.
4134 (c-font-lock-enum-tail): Uses new function above.
4135
4136 2013-10-13 Kenichi Handa <handa@gnu.org>
4137
4138 * international/mule-cmds.el (select-safe-coding-system): Remove a
4139 superfluous condition in chekcing whether a coding system is safe
4140 or not.
4141
4142 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4143
4144 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4145
4146 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4147
4148 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4149
4150 2013-10-13 Glenn Morris <rgm@gnu.org>
4151
4152 * menu-bar.el (menu-bar-update-buffers):
4153 Unify Buffers menu prompt string. (Bug#15576)
4154
4155 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4156
4157 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4158 Add some entries.
4159 (authors-fixed-entries): Use accented form of name.
4160
4161 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4162
4163 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4164 method calls (bug#15594).
4165 (ruby-smie--args-separator-p): New function.
4166 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4167 recognize paren-free method calls.
4168
4169 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4170 internals of universal-argument.
4171
4172 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4173
4174 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4175 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4176 dropped menu on second mouse click on the menu bar.
4177
4178 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4181 (explicit-shell-file-name): Declare.
4182 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4183 (sh-completion-at-point-function): New function.
4184 (sh-mode): Use it.
4185 (sh-smie--keyword-p): Remove unused argument.
4186 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4187 vars.
4188 (sh-set-shell): Always setup SMIE, even if we use the
4189 old indentation code.
4190
4191 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4192
4193 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4194 cases of ? and =.
4195 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4196 predicate would return nil are almost non-existent.
4197 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4198
4199 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4200 cache also after commands that modify the buffer but don't move
4201 point.
4202
4203 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * env.el (substitute-env-in-file-name): New function.
4206 (substitute-env-vars): Extend the meaning of the optional arg.
4207
4208 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4209
4210 * term/w32-win.el (dynamic-library-alist): Define separate lists
4211 of GIF DLLs for versions before and after 5.0.0 of giflib.
4212 (Bug#15531)
4213
4214 2013-10-10 João Távora <joaotavora@gmail.com>
4215
4216 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4217 not locked, use last revision and current source as
4218 defaults. (Bug#15569)
4219
4220 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4221
4222 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4223 menu-bar is hidden.
4224
4225 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4226
4227 * window.el (pop-to-buffer-same-window): Fix doc-string.
4228 (Bug#15492)
4229
4230 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4231
4232 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4233
4234 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4235
4236 * calendar/icalendar.el (icalendar-import-file):
4237 Fix interactive spec. (Bug#15482)
4238
4239 2013-10-10 Glenn Morris <rgm@gnu.org>
4240
4241 * desktop.el (desktop-save): Default to saving in .emacs.d,
4242 since PWD is no longer in desktop-path by default. (Bug#15319)
4243
4244 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4245 now that text mode has a menu with the same entry.
4246 (menu-bar-text-mode-auto-fill): Remove now unused func.
4247 * textmodes/text-mode.el (text-mode-map):
4248 Use auto-fill help text from menu-bar.el.
4249
4250 2013-10-10 John Anthony <john@jo.hnanthony.com>
4251
4252 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4253
4254 2013-10-09 Juri Linkov <juri@jurta.org>
4255
4256 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4257 instead of this-command-keys. Add universal-argument-more and
4258 universal-argument-minus to the list of prefix commands. (Bug#15568)
4259
4260 2013-10-09 Glenn Morris <rgm@gnu.org>
4261
4262 * vc/vc-svn.el (vc-svn-create-repo):
4263 Expand paths in file://... url. (Bug#15446)
4264
4265 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4266 Add some entries.
4267 (authors): Remove unused local variables.
4268
4269 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4270
4271 * profiler.el: Create a more coherent calltree from partial backtraces.
4272 (profiler-format): Hide the tail with `invisible' so that C-s can still
4273 find the hidden elements.
4274 (profiler-calltree-depth): Don't recurse so enthusiastically.
4275 (profiler-function-equal): New hash-table-test.
4276 (profiler-calltree-build-unified): New function.
4277 (profiler-calltree-build): Use it.
4278 (profiler-report-make-name-part): Indent the calltree less.
4279 (profiler-report-mode): Add visibility specs for profiler-format.
4280 (profiler-report-expand-entry, profiler-report-toggle-entry):
4281 Expand the whole subtree when provided with a prefix arg.
4282
4283 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4284
4285 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4286 iuwu-mod token.
4287 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4288 hanging iuwu-mod token.
4289 (ruby-smie--forward-token): Do not include a dot after a token in
4290 that token.
4291 (ruby-smie--backward-token): Likewise.
4292
4293 2013-10-08 Juri Linkov <juri@jurta.org>
4294
4295 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4296 to isearch-other-control-char.
4297 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4298 and isearch-post-command-hook to post-command-hook.
4299 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4300 and isearch-post-command-hook from post-command-hook.
4301 (isearch-unread-key-sequence)
4302 (isearch-reread-key-sequence-naturally)
4303 (isearch-lookup-scroll-key, isearch-other-control-char)
4304 (isearch-other-meta-char): Remove functions.
4305 (isearch-pre-command-hook, isearch-post-command-hook):
4306 New functions based on isearch-other-meta-char rewritten
4307 relying on the new behavior of overriding-terminal-local-map
4308 that does not replace the local keymaps any more. (Bug#15200)
4309
4310 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4311
4312 Support menus on text-mode terminals.
4313 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4314 functionality.
4315
4316 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4317
4318 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4319 Move here from mouse.el.
4320 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4321 and arrow keys.
4322 (tty-menu-navigation-map): New map for TTY menu navigation.
4323
4324 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4325
4326 * frame.el (display-mouse-p): Report text-mode mouse as available
4327 on w32.
4328 (display-popup-menus-p): Report availability if mouse is
4329 available; don't condition on window-system.
4330
4331 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4332 (tty-menu-selected-face): New faces.
4333
4334 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4337 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4338 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4339 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4340 New constants.
4341 (lisp-mode-variables): New `elisp' argument.
4342 (emacs-lisp-mode): Use it.
4343 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4344 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4345
4346 * indent.el: Use lexical-binding.
4347 (indent-region): Add progress reporter.
4348 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4349 last step.
4350 (indent--next-tab-stop): New function to implement this behavior.
4351 (tab-to-tab-stop, move-to-tab-stop): Use it.
4352
4353 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4354
4355 * indent.el (indent-rigidly--current-indentation): New function.
4356 (indent-rigidly-map): New var.
4357 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4358
4359 2013-10-08 Bastien Guerry <bzg@gnu.org>
4360
4361 * register.el (insert-register): Fix 2013-10-07 change.
4362
4363 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4364
4365 * progmodes/perl-mode.el: Use lexical-binding.
4366 Remove redundant :group args.
4367 (perl-nochange): Change default to be closer to other major modes's
4368 standard behavior.
4369 (perl-indent-line): Don't consider text on current line as a
4370 valid beginning of function from which to indent.
4371
4372 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4373 with more than one argument (bug#15538).
4374
4375 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4376
4377 * vc/pcvs.el: Use lexical-binding.
4378 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4379 environment of `eval'.
4380 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4381 than a list of expressions. Adjust callers.
4382 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4383
4384 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4385
4386 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4387 case of the dot in a chained method call being on the following line.
4388
4389 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * electric.el (electric-indent-inhibit): New var.
4392 (electric-indent-post-self-insert-function): Use it.
4393 * progmodes/python.el (python-mode): Set it.
4394
4395 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4396 open braces.
4397
4398 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4399
4400 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4401 (css-mode): Use electric-indent-chars.
4402
4403 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4404 (font-lock-beg, font-lock-end): Move before first use.
4405 (nxml-mode): Use syntax-propertize-function.
4406 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4407 (nxml-extend-after-change-region): Remove.
4408 * nxml/xmltok.el: Use lexical-binding.
4409 (xmltok-save): Use `declare'.
4410 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4411 * nxml/nxml-util.el: Use lexical-binding.
4412 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4413 Use `declare'.
4414 * nxml/nxml-ns.el: Use lexical-binding.
4415 (nxml-ns-save): Use `declare'.
4416 (nxml-ns-prefixes-for): Avoid add-to-list.
4417 * nxml/rng-match.el: Use lexical-binding.
4418 (rng--ipattern): Use cl-defstruct.
4419 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4420 (rng-cons-group-after, rng-subst-group-after)
4421 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4422 Use closures instead of `(lambda...).
4423
4424 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4425
4426 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4427 of BEG and END.
4428
4429 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4430 Use `tramp-handle-insert-file-contents'.
4431 (tramp-gvfs-handle-insert-file-contents): Remove function.
4432
4433 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4434 Use `save-restriction' in order to keep markers.
4435
4436 * net/trampver.el: Update release number.
4437
4438 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4439
4440 * progmodes/compile.el (compilation-parse-errors):
4441 Use compilation--put-prop.
4442 (compilation--ensure-parse): Check compilation-multiline.
4443
4444 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4445
4446 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4447 lexical-binding.
4448
4449 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4450
4451 * progmodes/ruby-mode.el: Fix recently added tests.
4452 (ruby-smie-grammar): Add - and +.
4453 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4454 (ruby-smie--backward-id): New functions.
4455 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4456 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4457 any more.
4458
4459 2013-10-07 Leo Liu <sdl.web@gmail.com>
4460
4461 * register.el (register-preview-delay)
4462 (register-preview-functions): New variables.
4463 (register-read-with-preview, register-preview)
4464 (register-describe-oneline): New functions.
4465 (point-to-register, window-configuration-to-register)
4466 (frame-configuration-to-register, jump-to-register)
4467 (number-to-register, view-register, insert-register)
4468 (copy-to-register, append-to-register, prepend-to-register)
4469 (copy-rectangle-to-register): Use register-read-with-preview to
4470 read register. (Bug#15525)
4471
4472 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4473
4474 * net/network-stream.el (network-stream-open-starttls): Don't add
4475 --insecure if it's already present, because that gnutls-cli
4476 rejects getting that parameter twice.
4477
4478 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4479
4480 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4481 keyword, too.
4482
4483 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4484
4485 * newcomment.el (comment-use-global-state): Change default value
4486 to t, mark obsolete (Bug#15251).
4487 (comment-beginning): In addition to `comment-to-syntax', check the
4488 value of `comment-use-global-state'.
4489
4490 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4493 (ruby-comment-column): Follow the global default, by default.
4494 (ruby-smie-grammar): Add assignment syntax.
4495 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4496 open-paren, a comma, or a \.
4497 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4498 and line continuations.
4499 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4500 followed by implicit semi-colons. Add rule for string concatenation
4501 and for indentation at BOB.
4502 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4503
4504 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4505 calling next-sexp, since next-token may have skipped chars which
4506 next-sexp doesn't know should be skipped!
4507
4508 2013-10-05 Leo Liu <sdl.web@gmail.com>
4509
4510 * progmodes/octave.el (octave-send-region):
4511 Call compilation-forget-errors.
4512
4513 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4514
4515 * vc/vc-svn.el (vc-svn-find-admin-dir):
4516 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4517 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4518 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4519 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4520
4521 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4524
4525 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4526
4527 * subr.el (read-passwd): Hide chars even when called within a context
4528 where after-change-functions is disabled (bug#15501).
4529 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4530 until we removed ourself from overriding-terminal-local-map.
4531
4532 2013-10-04 Leo Liu <sdl.web@gmail.com>
4533
4534 * progmodes/octave.el (inferior-octave-mode):
4535 Call compilation-forget-errors.
4536
4537 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4538
4539 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4540
4541 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4542
4543 * net/secrets.el (secrets-create-collection): Add optional
4544 argument ALIAS. Use proper Label keyword. Append ALIAS as
4545 dbus-call-method argument. (Bug#15516)
4546
4547 2013-10-04 Leo Liu <sdl.web@gmail.com>
4548
4549 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4550 (inferior-octave-compilation-font-lock-keywords): New variables.
4551 (compilation-error-regexp-alist)
4552 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4553 (inferior-octave-mode): Use compilation-shell-minor-mode.
4554
4555 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4556
4557 * minibuffer.el (completion--replace): Be careful that `end' might be
4558 a marker.
4559
4560 2013-10-03 Daiki Ueno <ueno@gnu.org>
4561
4562 Add support for package signature checking.
4563 * emacs-lisp/package.el (url-http-file-exists-p)
4564 (epg-make-context, epg-context-set-home-directory)
4565 (epg-verify-string, epg-context-result-for)
4566 (epg-signature-status, epg-signature-to-string)
4567 (epg-check-configuration, epg-configuration)
4568 (epg-import-keys-from-file): Declare.
4569 (package-check-signature): New user option.
4570 (package-unsigned-archives): New user option.
4571 (package-desc): Add `signed' field.
4572 (package-load-descriptor): Set `signed' field if .signed file exists.
4573 (package--archive-file-exists-p): New function.
4574 (package--check-signature): New function.
4575 (package-install-from-archive): Check package signature.
4576 (package--download-one-archive): Check archive signature.
4577 (package-delete): Remove .signed file.
4578 (package-import-keyring): New command.
4579 (package-refresh-contents): Import default keyring.
4580 (package-desc-status): Add "unsigned" status.
4581 (describe-package-1, package-menu--print-info)
4582 (package-menu-mark-delete, package-menu--find-upgrades)
4583 (package-menu--status-predicate): Support "unsigned" status.
4584
4585 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4586
4587 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4588 the new compilation scheme using the new byte-codes.
4589
4590 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4591 (byte-pophandler): New byte codes.
4592 (byte-goto-ops): Adjust accordingly.
4593 (byte-compile--use-old-handlers): New var.
4594 (byte-compile-catch): Use new byte codes depending on
4595 byte-compile--use-old-handlers.
4596 (byte-compile-condition-case--old): Rename from
4597 byte-compile-condition-case.
4598 (byte-compile-condition-case--new): New function.
4599 (byte-compile-condition-case): New function that dispatches depending
4600 on byte-compile--use-old-handlers.
4601 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4602 when we can.
4603
4604 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4605 Optimize under `condition-case' and `catch' if
4606 byte-compile--use-old-handlers is nil.
4607 (disassemble-offset): Handle new bytecodes.
4608
4609 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * subr.el (error): Use `declare'.
4612 (decode-char, encode-char): Use advertised-calling-convention instead
4613 of the docstring to discourage use of the `restriction' arg.
4614
4615 2013-10-03 Daiki Ueno <ueno@gnu.org>
4616
4617 * epg.el (epg-verify-file): Add a comment saying that it does not
4618 notify verification error as a return value nor a signal.
4619 (epg-verify-string): Ditto.
4620
4621 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4622
4623 * progmodes/compile.el (compilation-start): Try globbing the arg to
4624 `cd' (bug#15417).
4625
4626 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4627
4628 Sync with Tramp 2.2.8.
4629
4630 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4631 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4632 * net/trampver.el: Update release number.
4633
4634 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4635
4636 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4637 and default-process-coding-system for darwin only.
4638
4639 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4642
4643 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4644
4645 * vc/vc-git.el (vc-git-grep): Disable pager.
4646
4647 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4648
4649 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4650 Use :url instead of :homepage, as per
4651 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4652
4653 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4654 non-nil, use `syntax-ppss' (Bug#15251).
4655
4656 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4657
4658 * progmodes/octave.el (inferior-octave-startup-file):
4659 Prefer ~/.emacs.d/init_octave.m.
4660
4661 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4662
4663 * emacs-lisp/package.el (package-desc-from-define):
4664 Accept additional arguments as plist, convert them to an alist and store
4665 them in the `extras' slot.
4666 (package-generate-description-file): Convert extras alist back to
4667 plist and append to the `define-package' form arguments.
4668 (package--alist-to-plist): New function.
4669 (package--ac-desc): Add `extras' slot.
4670 (package--add-to-archive-contents): Check if the archive-contents
4671 vector is long enough, and if it is, pass its `extras' slot value
4672 to `package-desc-create'.
4673 (package-buffer-info): Call `lm-homepage', pass the returned value
4674 to `package-desc-from-define'.
4675 (describe-package-1): Render the homepage button (Bug#13291).
4676
4677 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4678 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4679
4680 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4681
4682 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4683 and default-process-coding-system to utf-8-unix (Bug#15402).
4684
4685 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4686
4687 * subr.el (looking-back): Do not recommend using looking-back.
4688
4689 2013-09-28 Alan Mackenzie <acm@muc.de>
4690
4691 Fix indentation/fontification of Java enum with "implements".
4692
4693 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4694 regexp which matches "implements", etc., in Java.
4695 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4696 specifier clauses coming after "enum".
4697 * progmodes/cc-fonts.el (c-font-lock-declarations)
4698 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4699 after "enum".
4700
4701 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4702
4703 * faces.el (region): Change ns_selection_color to
4704 ns_selection_fg_color, add ns_selection_bg_color.
4705
4706 2013-09-28 Leo Liu <sdl.web@gmail.com>
4707
4708 * progmodes/octave.el (inferior-octave-completion-table)
4709 (inferior-octave-completion-at-point): Minor tweaks.
4710
4711 * textmodes/ispell.el (ispell-lookup-words): Rename from
4712 lookup-words. (Bug#15460)
4713 (lookup-words): Obsolete.
4714 (ispell-complete-word, ispell-command-loop): All uses changed.
4715
4716 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4717
4718 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4719 (octave-mode-menu): Add octave-send-buffer.
4720 (octave-send-buffer): New function.
4721
4722 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4723
4724 * progmodes/octave.el (octave-mode-map): Add key binding for
4725 octave-lookfor.
4726 (octave-mode-menu): Add octave-lookfor.
4727 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4728 octave-lookfor.
4729 (octave-lookfor): New function.
4730
4731 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4732
4733 * emacs-lisp/cl-macs.el:
4734 (cl--loop-destr-temps): Remove.
4735 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4736 its convention.
4737 (cl--loop-set-iterator-function): New function.
4738 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4739 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4740 Bind `it' with `let' instead of substituting it with `cl-subst'.
4741 (cl--unused-var-p): New function.
4742 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4743 Eliminate some unused variable warnings (bug#15326).
4744
4745 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4746
4747 * doc-view.el (doc-view-scale-reset): Rename from
4748 `doc-view-reset-zoom-level'.
4749 (doc-view-scale-adjust): New command.
4750 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4751 `doc-view-scale-adjust'.
4752
4753 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4754
4755 * doc-view.el (doc-view-reset-zoom-level): New command.
4756 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4757 zoom commands (bug#15466).
4758
4759 2013-09-26 Kenichi Handa <handa@gnu.org>
4760
4761 * international/quail.el (quail-help): Make it not a command.
4762
4763 2013-09-26 Leo Liu <sdl.web@gmail.com>
4764
4765 * minibuffer.el (completion-all-sorted-completions): Make args
4766 optional as they are.
4767
4768 2013-09-25 Daniel Colascione <dancol@dancol.org>
4769
4770 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4771 specs are and that they're not evaluated.
4772
4773 2013-09-24 Sam Steingold <sds@gnu.org>
4774
4775 * midnight.el (clean-buffer-list-kill-regexps)
4776 (clean-buffer-list-kill-buffer-names): Update for the new Man
4777 buffer naming which includes the object name.
4778
4779 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4780
4781 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4782 (eshell-parse-command, eshell-parse-pipeline): Use it since
4783 eshell-separate-commands requires a dynamic scoped var.
4784 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4785
4786 2013-09-23 Leo Liu <sdl.web@gmail.com>
4787
4788 * autoinsert.el (auto-insert-alist): Make the value of
4789 lexical-binding match its file setting.
4790
4791 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4792
4793 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4794
4795 * autoarg.el (autoarg-kp-digit-argument):
4796 * electric.el (Electric-command-loop):
4797 * kmacro.el (kmacro-step-edit-insert):
4798 Do not set universal-argument-num-events.
4799
4800 2013-09-22 Leo Liu <sdl.web@gmail.com>
4801
4802 * files.el (interpreter-mode-alist): Add octave.
4803
4804 2013-09-21 Alan Mackenzie <acm@muc.de>
4805
4806 C++: fontify identifier in declaration following "public:" correctly.
4807 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4808 to match "public", etc.
4809 (c-decl-prefix-re): Add ":" into the C++ value.
4810 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4811 bit. Add a check for a ":" preceded by "public", etc.
4812
4813 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4814
4815 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4816 recognized by GDB 7.5 and later.
4817
4818 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4819
4820 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4821
4822 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4823
4824 * subr.el (internal--call-interactively): New const.
4825 (called-interactively-p): Use it (bug#3984).
4826
4827 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4828
4829 * vc/pcvs.el (cvs-mode-ignore):
4830 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4831 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4832
4833 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4834
4835 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4836 (eshell-ls-orig-insert-directory): Remove.
4837 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4838 (eshell-ls-use-in-dired): Use advice-add/remove.
4839 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4840 Add `orig-fun' arg for use in :around advice.
4841 Make it check (redundantly) eshell-ls-use-in-dired.
4842
4843 2013-09-19 Glenn Morris <rgm@gnu.org>
4844
4845 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4846
4847 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4848
4849 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4850
4851 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4852
4853 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4854 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4855 (tramp-get-remote-python): New defuns.
4856 (tramp-get-remote-uid-with-perl)
4857 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4858 contributed by yary <not.com@gmail.com> (tiny change).
4859 (tramp-get-remote-uid-with-python)
4860 (tramp-get-remote-gid-with-python): New defuns. Python code
4861 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4862 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4863
4864 2013-09-19 Glenn Morris <rgm@gnu.org>
4865
4866 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4867
4868 * eshell/em-unix.el (eshell-remove-entries):
4869 Rename argument to avoid name-clash with global `top-level'.
4870
4871 * eshell/esh-proc.el (eshell-kill-process-function):
4872 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4873 (eshell-reset-after-proc): Remove unused arg `proc'.
4874
4875 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4876 (directory-files-and-attributes): Mark unused arg.
4877
4878 * eshell/em-unix.el (eshell-remove-entries):
4879 Remove unused arg `path'. Update callers.
4880
4881 * eshell/em-hist.el (eshell-hist-parse-arguments):
4882 Remove unused arg `silent'. Update callers.
4883
4884 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4885 Fix (f)boundp mix-up.
4886
4887 * eshell/em-smart.el (eshell-smart-scroll-window)
4888 (eshell-disable-after-change):
4889 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4890
4891 2013-09-18 Alan Mackenzie <acm@muc.de>
4892
4893 Fix fontification of type when followed by "const".
4894 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4895 "known" types from fontification.
4896
4897 2013-09-18 Glenn Morris <rgm@gnu.org>
4898
4899 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4900 (chart-face-list): Drop Emacsen without display-color-p.
4901
4902 * net/eww.el (libxml-parse-html-region): Declare.
4903 (eww-display-html): Explicit error if no libxml2 support.
4904
4905 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4906
4907 * image.el (image-type-from-buffer, image-multi-frame-p):
4908 Remove --without-x warning/error.
4909
4910 * mouse.el (mouse-yank-primary):
4911 * term.el (term-mouse-paste):
4912 Reorder to silence --without-x compilation.
4913
4914 * mpc.el (doc-view-mode): Silence --without-x compilation.
4915
4916 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4917 Silence --without-x compilation.
4918
4919 * progmodes/gud.el (gud-find-file, gud-mode):
4920 Silence --without-x compilation.
4921 (tooltip-mode): Declare.
4922
4923 * wdired.el (dired-backup-overwrite): Remove declaration.
4924 (wdired-mode-map): Add doc string.
4925
4926 * custom.el (x-get-resource): Declare.
4927
4928 * eshell/em-glob.el (ange-cache):
4929 * eshell/em-unix.el (ange-cache): Declare.
4930
4931 * faces.el (x-display-list, x-open-connection, x-get-resource):
4932 Declare.
4933
4934 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4935 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4936 Declare.
4937
4938 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4939
4940 * net/gnutls.el (gnutls-log-level): Declare.
4941
4942 * net/shr.el (image-size, image-animate): Declare.
4943
4944 * simple.el (font-info): Declare.
4945
4946 * subr.el (x-popup-dialog): Declare.
4947
4948 * term/common-win.el (x-select-enable-primary)
4949 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4950 Declare.
4951
4952 * term/ns-win.el (x-handle-args): Declare.
4953
4954 * term/x-win.el (x-select-enable-clipboard): Declare.
4955
4956 * term/w32-win.el (create-default-fontset): Declare.
4957
4958 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4959 Declare.
4960
4961 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4962 (fit-frame-to-buffer): Explicit error if --without-x.
4963 (mouse-autoselect-window-select): Silence compiler.
4964
4965 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4966
4967 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4968 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4969 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4970 * eshell/esh-util.el (eshell-sublist):
4971 Remove unused local variables.
4972
4973 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4974
4975 * textmodes/two-column.el: Make 2C-split work for --without-x.
4976 (scroll-bar-columns): Autoload.
4977 (top-level): Require fringe when compiling.
4978
4979 2013-09-18 Leo Liu <sdl.web@gmail.com>
4980
4981 * subr.el (add-hook): Robustify to handle closure as well.
4982
4983 2013-09-17 Glenn Morris <rgm@gnu.org>
4984
4985 * simple.el (messages-buffer-mode-map): Unbind "g".
4986
4987 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * help-mode.el (help-mode-finish): Use derived-mode-p.
4990 Remove obsolete highlighting.
4991
4992 * play/life.el (life-mode): Use define-derived-mode. Derive from
4993 special-mode.
4994 (life): Let-bind inhibit-read-only.
4995 (life-setup): Avoid `setq'. Use `life-mode'.
4996
4997 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4998 which should not be needed any more.
4999 (package-menu-refresh, package-menu-describe-package): Use user-error.
5000
5001 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5002 (eshell-post-rewrite-command-hook): Make obsolete.
5003 (eshell-parse-command): Simplify.
5004 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5005 (eshell--cmd): Declare.
5006 (eshell-parse-pipeline): Remove unused var `final-p'.
5007 Pass a dynvar to eshell-post-rewrite-command-hook.
5008 Implement the new eshell-post-rewrite-command-function.
5009 (eshell-invoke-directly): Remove unused arg `input'.
5010 * eshell/esh-io.el (eshell-io-initialize):
5011 Use eshell-post-rewrite-command-function (bug#15399).
5012 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5013 adjust to new calling convention.
5014 (eshell-create-handles): Rename args to avoid clashing with dynvar
5015 `standard-output'.
5016
5017 2013-09-17 Glenn Morris <rgm@gnu.org>
5018
5019 * simple.el (messages-buffer-mode): New major mode.
5020 (messages-buffer): New function.
5021 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5022 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5023 (ert-run-test): Use `messages-buffer' function.
5024 (ert--force-message-log-buffer-truncation): Ignore read-only.
5025 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5026 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5027
5028 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5029
5030 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5031
5032 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5033
5034 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * icomplete.el (icomplete-in-buffer): New var.
5037 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5038 vars and replace them with functions.
5039 (icomplete-minibuffer-setup): Adjust accordingly.
5040 (icomplete--completion-table, icomplete--completion-predicate)
5041 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5042 New functions.
5043 (icomplete-forward-completions, icomplete-backward-completions)
5044 (icomplete-simple-completing-p, icomplete-exhibit)
5045 (icomplete-completions): Use them.
5046 (icomplete--in-region-buffer): New var.
5047 (icomplete--in-region-setup): New function.
5048 (icomplete-mode): Use it.
5049
5050 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5051 (bug#15379).
5052 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5053 return args and options.
5054 (eshell-eval-using-options): Use the new return value of
5055 eshell--do-opts to set the options's vars in their scope.
5056 (eshell--set-option): Rename from eshell-set-option.
5057 Add arg `opt-vals'.
5058 (eshell--process-option): Rename from eshell-process-option.
5059 Add arg `opt-vals'.
5060 (eshell--process-args): Use an `opt-vals' alist to store the options's
5061 values during their processing and return them additionally to the
5062 remaining args.
5063
5064 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5065
5066 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5067 continuation character an operator, as far as indentation is
5068 concerned (Bug#15369).
5069
5070 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5071
5072 * window.el (window--state-put-2): Don't process buffer state
5073 when buffer doesn't exist any more (Bug#15382).
5074
5075 2013-09-15 Glenn Morris <rgm@gnu.org>
5076
5077 * eshell/em-unix.el (eshell/rm):
5078 Make -f ignore missing files. (Bug#15373)
5079
5080 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5081 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5082 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5083
5084 2013-09-14 Glenn Morris <rgm@gnu.org>
5085
5086 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5087
5088 2013-09-13 Glenn Morris <rgm@gnu.org>
5089
5090 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5091 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5092
5093 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5094
5095 * frame.el (x-focus-frame): Mark as declared in frame.c.
5096
5097 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * ls-lisp.el: Use advice-add.
5100 (original-insert-directory): Remove.
5101 (ls-lisp--insert-directory): Rename from insert-directory; add
5102 `orig-fun' argument.
5103 (insert-directory): Advise.
5104
5105 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5106
5107 * term.el (term-emulate-terminal): Decode the command string
5108 before passing it to term-command-hook. (Bug#15337)
5109
5110 2013-09-13 Glenn Morris <rgm@gnu.org>
5111
5112 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5113
5114 * eshell/esh-ext.el (eshell-search-path): Declare.
5115
5116 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5117 Otherwise an error occurs if eshell-dirs module not loaded.
5118
5119 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5120
5121 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5122
5123 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5124 `tramp-check-proper-host'. Check for a valid method name.
5125
5126 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5127 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5128 * net/tramp-sh.el (tramp-maybe-open-connection):
5129 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5130
5131 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5132 also for hash values.
5133
5134 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5135
5136 * term/ns-win.el (parameters): Don't declare as dynamic.
5137 (before-make-frame-hook): Don't add ineffective function.
5138
5139 * eshell/*.el: Use lexical-binding (bug#15231).
5140
5141 2013-09-12 Kenichi Handa <handa@gnu.org>
5142
5143 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5144
5145 2013-09-12 Glenn Morris <rgm@gnu.org>
5146
5147 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5148 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5149
5150 * subr.el (do-after-load-evaluation): Also give compiler warnings
5151 when obsolete files are used (except by obsolete files).
5152
5153 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5154 in the status output, assume `filename' is the first. (Bug#15322)
5155
5156 * vc/vc.el (vc-deduce-fileset): Doc fix.
5157
5158 * calc/calc-help.el (Info-goto-node):
5159 * progmodes/cperl-mode.el (Info-find-node):
5160 * vc/ediff.el (Info-goto-node): Update declarations.
5161
5162 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5163
5164 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5165 (vc-bzr-pull): Require vc-dispatcher.
5166 * vc/vc-git.el (vc-compilation-mode): Declare.
5167 (vc-git-pull): Require vc-dispatcher.
5168
5169 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5170
5171 * progmodes/octave.el (help-button-action): Declare.
5172
5173 * shell.el (shell-directory-tracker): Output error as a message
5174 rather than just returning it as a string.
5175 (shell-process-pushd): Remove useless use of message.
5176
5177 * dframe.el (dframe-timer-fn):
5178 * files.el (dir-locals-read-from-file):
5179 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5180 (mpc-format):
5181 * reveal.el (reveal-post-command):
5182 * saveplace.el (load-save-place-alist-from-file):
5183 * shell.el (shell-resync-dirs):
5184 * w32-common-fns.el (x-get-selection-value):
5185 * emacs-lisp/copyright.el (copyright-find-copyright):
5186 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5187 * emulation/tpu-edt.el (tpu-copy-keyfile):
5188 * play/bubbles.el (bubbles--mark-neighbourhood):
5189 * progmodes/executable.el
5190 (executable-make-buffer-file-executable-if-script-p):
5191 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5192
5193 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5194
5195 Cleanup Eshell to rely less on dynamic scoping.
5196 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5197 last-value, and ext-command here. Bind `args' closer to `body'.
5198 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5199 (eshell--args): Declare new dynamic var.
5200 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5201 last-value, and ext-command. Pass `args' to `body'.
5202 (eshell-process-args): Bind eshell--args.
5203 (eshell-set-option): Use eshell--args.
5204 * eshell/eshell.el (eshell): Use derived-mode-p.
5205 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5206 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5207 (eshell-glob-function): Declare.
5208 * eshell/esh-util.el: Require cl-lib.
5209 (eshell-read-hosts-file): Avoid add-to-list.
5210 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5211 `err'.
5212 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5213 Declare.
5214 (eshell/diff): Remove unused var `err'.
5215 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5216 `killflag'.
5217 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5218 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5219 first use.
5220 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5221 Move declaration before first use.
5222 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5223 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5224 rely on cl-return.
5225
5226 2013-09-12 Glenn Morris <rgm@gnu.org>
5227
5228 * term/ns-win.el (global-map): Remove binding for ispell-next,
5229 deleted 1999-05-29. (Bug#15357)
5230
5231 2013-09-11 Glenn Morris <rgm@gnu.org>
5232
5233 * echistory.el (electric-command-history): Remove call to deleted func.
5234
5235 * play/landmark.el (landmark-mode): Fix typos.
5236
5237 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5238 Check cvs-sort-ignore-file is bound.
5239
5240 * savehist.el: No need for cl when compiling on Emacs.
5241
5242 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5243
5244 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5245 (bug#15338).
5246 (eshell-self-insert-command, eshell-send-invisible):
5247 Remove unused argument.
5248 (eshell-handle-control-codes): Remove unused var `orig'.
5249 Avoid delete-backward-char.
5250
5251 * files.el (set-auto-mode): Simplify a bit further.
5252
5253 2013-09-11 Glenn Morris <rgm@gnu.org>
5254
5255 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5256 (set-auto-mode): Don't regexp-quote elements.
5257 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5258 * progmodes/cc-mode.el (interpreter-mode-alist):
5259 * progmodes/ruby-mode.el (interpreter-mode-alist):
5260 Revert previous change.
5261
5262 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * play/snake.el (snake-mode):
5265 * play/mpuz.el (mpuz-mode):
5266 * play/landmark.el (lm-mode):
5267 * play/blackbox.el (blackbox-mode):
5268 * play/5x5.el (5x5-mode):
5269 * obsolete/options.el (Edit-options-mode):
5270 * net/quickurl.el (quickurl-list-mode):
5271 * net/newst-treeview.el (newsticker-treeview-mode):
5272 * mail/rmailsum.el (rmail-summary-mode):
5273 * mail/mspools.el (mspools-mode):
5274 * locate.el (locate-mode):
5275 * ibuffer.el (ibuffer-mode):
5276 * emulation/ws-mode.el (wordstar-mode):
5277 * emacs-lisp/debug.el (debugger-mode):
5278 * array.el (array-mode):
5279 * net/eudc.el (eudc-mode): Use define-derived-mode.
5280 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5281 Move initialization into declaration.
5282 (mairix-searches-mode): Use define-derived-mode.
5283 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5284 (eudc-edit-hotlist): Use dolist.
5285 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5286 (Man-mode): Use define-derived-mode.
5287 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5288 (Info-edit-mode): Use define-derived-mode.
5289 (Info-cease-edit): Use Info-mode.
5290 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5291 into declaration.
5292 (eshell-mode): Use define-derived-mode.
5293 * chistory.el (command-history-mode-map): Rename from
5294 command-history-map.
5295 (command-history-mode): Use define-derived-mode.
5296 (Command-history-setup): Remove function.
5297 * calc/calc.el (calc-trail-mode-map): New var.
5298 (calc-trail-mode): Use define-derived-mode.
5299 (calc-trail-buffer): Set calc-main-buffer manually.
5300 * bookmark.el (bookmark-insert-annotation): New function.
5301 (bookmark-edit-annotation): Use it.
5302 (bookmark-edit-annotation-mode): Make it a proper major mode.
5303 (bookmark-send-edited-annotation): Use derived-mode-p.
5304 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5305 closer to its ideal place. Use \' to match EOS.
5306
5307 * profiler.el (profiler-calltree-find): Use function-equal.
5308
5309 2013-09-10 Glenn Morris <rgm@gnu.org>
5310
5311 * files.el (interpreter-mode-alist): Convert to regexps.
5312 (set-auto-mode): Adapt for this. (Bug#15306)
5313 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5314 Comment out unused variable.
5315 * progmodes/cc-mode.el (interpreter-mode-alist):
5316 * progmodes/python.el (interpreter-mode-alist):
5317 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5318 * progmodes/sh-script.el (sh-set-shell):
5319 No longer use interpreter-mode-alist to get list of shells.
5320
5321 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5322
5323 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5324
5325 * simple.el: Use set-temporary-overlay-map for universal-argument.
5326 (universal-argument-map): Don't use default-bindings (bug#15317).
5327 Bind switch-frame explicitly. Replace universal-argument-minus with
5328 a conditional binding.
5329 (universal-argument-num-events, saved-overriding-map): Remove.
5330 (restore-overriding-map): Remove.
5331 (universal-argument--mode): Rename from save&set-overriding-map,
5332 and rewrite.
5333 (universal-argument, universal-argument-more, negative-argument)
5334 (digit-argument): Adjust accordingly.
5335 (universal-argument-minus): Remove.
5336 (universal-argument-other-key): Remove.
5337
5338 * subr.el (with-demoted-errors): Add `format' argument.
5339
5340 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5341
5342 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5343 `tramp-cleanup-connection'.
5344
5345 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5346 parameters KEEP-DEBUG and KEEP-PASSWORD.
5347
5348 * net/tramp.el (tramp-file-name-handler):
5349 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5350 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5351 (tramp-maybe-open-connection):
5352 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5353 Use `tramp-cleanup-connection'.
5354
5355 * net/tramp-sh.el (tramp-maybe-open-connection):
5356 Catch 'uname-changed inside the progress reporter.
5357
5358 2013-09-10 Glenn Morris <rgm@gnu.org>
5359
5360 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5361
5362 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5363 returns "alternate access method" in mode (eg "-rw-r--r--.").
5364
5365 2013-09-08 Glenn Morris <rgm@gnu.org>
5366
5367 * saveplace.el (load-save-place-alist-from-file):
5368 Demote errors. (Bug#15305)
5369
5370 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5371
5372 Improve compatibility with older Emacsen, and XEmacs.
5373
5374 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5375 only if it is bound. It isn't for XEmacs.
5376 (with-tramp-progress-reporter): Do not let-bind `result'.
5377 This yields to scoping errors in XEmacs.
5378 (tramp-handle-make-auto-save-file-name): New function, moved from
5379 tramp-sh.el.
5380
5381 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5382 for `make-auto-save-file-name'.
5383 (tramp-adb--gnu-switches-to-ash):
5384 Use `tramp-compat-replace-regexp-in-string'.
5385
5386 * net/tramp-cache.el (tramp-cache-print): Call
5387 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5388
5389 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5390 bound. It isn't for XEmacs.
5391
5392 * net/tramp-compat.el (tramp-compat-copy-file):
5393 Catch `wrong-number-of-arguments' error.
5394 (tramp-compat-replace-regexp-in-string): New defun.
5395
5396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5397 for `make-auto-save-file-name'.
5398 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5399 `copy-file'.
5400 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5401 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5402 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5403
5404 * net/tramp-gw.el (tramp-gw-open-network-stream):
5405 Use `tramp-compat-replace-regexp-in-string'.
5406
5407 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5408 Call `tramp-handle-make-auto-save-file-name'.
5409 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5410 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5411 (tramp-sh-file-inotifywait-process-filter):
5412 Use `tramp-compat-replace-regexp-in-string'.
5413 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5414
5415 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5416 for `make-auto-save-file-name'.
5417 (tramp-smb-handle-copy-directory):
5418 Call `tramp-compat-replace-regexp-in-string'.
5419 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5420 (tramp-smb-handle-copy-file): Improve error message.
5421 (tramp-smb-handle-rename-file): Rename directly only in case
5422 `newname' does not exist yet. This is a restriction of smbclient.
5423 (tramp-smb-maybe-open-connection): Rerun the function only when
5424 `auth-sources' is non-nil.
5425
5426 2013-09-08 Kenichi Handa <handa@gnu.org>
5427
5428 * international/characters.el: Set category "^" (Combining) for
5429 more characters.
5430
5431 2013-09-07 Alan Mackenzie <acm@muc.de>
5432
5433 Correctly fontify Java class constructors.
5434 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5435 in Java Mode.
5436 (c-recognize-typeless-decls): Set the Java value to t.
5437 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5438 While handling a "(", add a check for, effectively, Java, and handle a
5439 "typeless" declaration there.
5440
5441 2013-09-07 Roland Winkler <winkler@gnu.org>
5442
5443 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5444 field subtitle for entry type book.
5445
5446 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * minibuffer.el: Make minibuffer-complete call completion-in-region
5449 rather than other way around.
5450 (completion--some, completion-pcm--find-all-completions):
5451 Don't delay signals when debugging.
5452 (minibuffer-completion-contents): Beware fields within the
5453 minibuffer contents.
5454 (completion-all-sorted-completions): Use defvar-local.
5455 (completion--do-completion, completion--cache-all-sorted-completions)
5456 (completion-all-sorted-completions, minibuffer-force-complete):
5457 Add args `beg' and `end'.
5458 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5459 (minibuffer-complete): Use completion-in-region.
5460 (completion-complete-and-exit): New fun, extracted from
5461 minibuffer-complete-and-exit.
5462 (minibuffer-complete-and-exit): Use it.
5463 (completion--complete-and-exit): Rename from
5464 minibuffer--complete-and-exit.
5465 (completion-in-region--single-word): New function, extracted from
5466 minibuffer-complete-word.
5467 (minibuffer-complete-word): Use it.
5468 (display-completion-list): Make `common-substring' argument obsolete.
5469 (completion--in-region): Call completion--in-region-1 instead of
5470 minibuffer-complete.
5471 (completion-help-at-point): Pass boundaries to
5472 minibuffer-completion-help as args rather than via an overlay.
5473 (completion-pcm--string->pattern): Use `any-delim'.
5474 (completion-pcm--optimize-pattern): New function.
5475 (completion-pcm--pattern->regex): Handle `any-delim'.
5476 * icomplete.el (icomplete-forward-completions)
5477 (icomplete-backward-completions, icomplete-completions):
5478 Adjust calls to completion-all-sorted-completions and
5479 completion--cache-all-sorted-completions.
5480 (icomplete-with-completion-tables): Default to t.
5481 * emacs-lisp/crm.el (crm--current-element): Rename from
5482 crm--select-current-element. Don't put an overlay but return the
5483 boundaries instead.
5484 (crm--completion-command): Take two new args to bind to the boundaries.
5485 (crm-completion-help): Adjust accordingly.
5486 (crm-complete): Use completion-in-region.
5487 (crm-complete-word): Use completion-in-region--single-word.
5488 (crm-complete-and-exit): Use completion-complete-and-exit.
5489
5490 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5493 than dynamically.
5494
5495 2013-09-06 Juri Linkov <juri@jurta.org>
5496
5497 * info.el (Info-display-images-node): When image file doesn't exist
5498 display text version of the image if it's provided in the Info file.
5499 Otherwise, display the location of missing image from SRC attribute.
5500 Add help-echo text property from ALT attribute. (Bug#15279)
5501
5502 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5505 (edit-abbrevs-mode): Use define-derived-mode.
5506
5507 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5508 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5509 that it's defined.
5510 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5511 Use define-derived-mode.
5512
5513 * epg.el (epg-start-encrypt): Minor CSE simplification.
5514
5515 2013-09-06 William Xu <william.xwl@gmail.com>
5516
5517 * arc-mode.el: Add support for 7za (bug#15264).
5518 (archive-7z-program): New var.
5519 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5520 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5521 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5522
5523 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5524
5525 Remove URL syntax.
5526
5527 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5528 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5529 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5530 (tramp-postfix-host-format, tramp-file-name-regexp)
5531 (tramp-completion-file-name-regexp)
5532 (tramp-completion-dissect-file-name)
5533 (tramp-handle-substitute-in-file-name): Remove 'url case.
5534 (tramp-file-name-regexp-url)
5535 (tramp-completion-file-name-regexp-url): Remove constants.
5536
5537 2013-09-06 Glenn Morris <rgm@gnu.org>
5538
5539 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5540
5541 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5542
5543 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5544 keywords" below "here-doc beginnings" (Bug#15270).
5545
5546 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * subr.el (pop): Use `car-safe'.
5549 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5550 to detect unused `pop' return value.
5551
5552 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5553 var `block-regexp'.
5554 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5555 (python-fill-string): Remove unused var `marker'.
5556 (python-skeleton-add-menu-items): Remove unused var `items'.
5557
5558 * international/mule-cmds.el: Require CL.
5559 (find-coding-systems-for-charsets): Avoid add-to-list.
5560 (sanitize-coding-system-list): New function, extracted from
5561 select-safe-coding-system-interactively.
5562 (select-safe-coding-system-interactively): Use it.
5563 (read-input-method-name): Accept symbols for `default'.
5564
5565 * emacs-lisp/advice.el (defadvice): Add indent rule.
5566
5567 2013-09-05 Daniel Hackney <dan@haxney.org>
5568
5569 * dired-x.el:
5570 * net/ange-ftp.el:
5571 * net/browse-url.el:
5572 * net/dbus.el:
5573 * net/eudc.el:
5574 * net/eudcb-ldap.el:
5575 * net/eww.el:
5576 * net/imap.el:
5577 * printing.el:
5578 * vc/ediff-diff.el:
5579 * vc/ediff-init.el:
5580 * vc/ediff-merg.el:
5581 * vc/ediff-mult.el:
5582 * vc/ediff-util.el:
5583 * vc/ediff-wind.el:
5584 * vc/ediff.el:
5585 * vc/emerge.el:
5586 * vc/pcvs.el:
5587 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5588 byte compiler. Remove some unused let-bound variables.
5589
5590 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5593 a "ref-cell", since it gets better optimized (bug#14883).
5594
5595 2013-09-05 Glenn Morris <rgm@gnu.org>
5596
5597 * progmodes/cc-awk.el (c-forward-sws): Declare.
5598
5599 2013-09-04 Glenn Morris <rgm@gnu.org>
5600
5601 * generic-x.el [rul-generic-mode]: Require cc-mode.
5602 (c++-mode-syntax-table): Declare.
5603 (rul-generic-mode-syntax-table): Init in the defvar.
5604
5605 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5608 (vc-do-command, vc-set-async-update):
5609 * vc/vc-mtn.el (vc-mtn-dir-status):
5610 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5611 (vc-hg-pull, vc-hg-merge-branch):
5612 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5613 (vc-git-merge-branch):
5614 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5615 (vc-cvs-dir-status-files):
5616 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5617 (vc-bzr-dir-status-files):
5618 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5619 * vc/vc-annotate.el: Use lexical-binding.
5620 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5621 (vc-sentinel-movepoint): Declare.
5622 (vc-annotate): Don't use `goto-line'.
5623 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5624 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5625 (vc-sentinel-movepoint): Declare.
5626 * vc/vc-svn.el: Use lexical-binding.
5627 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5628 * vc/vc-sccs.el:
5629 * vc/vc-rcs.el: Use lexical-binding.
5630
5631 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5632 `deleted'. Don't drop errors silently.
5633
5634 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5635
5636 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5637
5638 * vc/vc.el (vc-ignore): Rewrite.
5639 (vc-default-ignore): New function.
5640 (vc-default-ignore-completion-table): Use find-ignore-file.
5641
5642 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5643 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5644 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5645 Remove. Most code moved to vc.el.
5646
5647 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5650 * net/tramp-smb.el (tramp-smb-get-file-entries):
5651 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5652 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5653
5654 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5655 Update call to it.
5656 (eww-change-select): Remove unused var `properties'.
5657 (eww-make-unique-file-name): Remove unused var `base'.
5658
5659 * finder.el (finder-compile-keywords): Don't mess with windows.
5660
5661 * calculator.el (calculator-funcall): Fix typo in last change.
5662
5663 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5664
5665 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5666 <pkg>-autoloads.el file stop us.
5667
5668 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5669 warnings, and factor out common code.
5670
5671 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5672
5673 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5674 two-character operators and whether the character preceding them
5675 changes their meaning (Bug#15208).
5676
5677 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5678
5679 Format code sent to Python shell for robustness.
5680 * progmodes/python.el (python-shell-buffer-substring):
5681 New function.
5682 (python-shell-send-region, python-shell-send-buffer): Use it.
5683
5684 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5685
5686 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5687 * net/tramp.el (tramp-user-error): ... here.
5688 (tramp-find-method, tramp-check-proper-host)
5689 (tramp-dissect-file-name, tramp-debug-message)
5690 (tramp-handle-shell-command):
5691 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5693
5694 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5695
5696 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5697
5698 * avoid.el (mouse-avoidance-point-position)
5699 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5700 returns nil.
5701
5702 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5703
5704 * progmodes/python.el (python-shell-completion-get-completions):
5705 Drop use of deleted `comint-last-prompt-overlay'.
5706 (python-nav-if-name-main): New command.
5707
5708 2013-09-01 Glenn Morris <rgm@gnu.org>
5709
5710 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5711 Avoid leading space in $wins. Otherwise the sed command used by
5712 eg compile-main ends up containing "/*.el". (Bug#15170)
5713
5714 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5715
5716 2013-08-30 Glenn Morris <rgm@gnu.org>
5717
5718 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5719 Fix is-this-a-directory logic. (Bug#15220)
5720
5721 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * textmodes/css-mode.el: Use SMIE.
5724 (css-smie-grammar): New var.
5725 (css-smie--forward-token, css-smie--backward-token)
5726 (css-smie-rules): New functions.
5727 (css-mode): Use them.
5728 (css-navigation-syntax-table): Remove var.
5729 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5730 (css-indent-calculate, css-indent-line): Remove functions.
5731
5732 Misc changes to reduce use of `(lambda...); and other cleanups.
5733 * cus-edit.el: Use lexical-binding.
5734 (customize-push-and-save, customize-apropos)
5735 (custom-buffer-create-internal): Use closures.
5736 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5737 * progmodes/ada-xref.el: Use setq.
5738 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5739 * dframe.el: Use lexical-binding.
5740 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5741 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5742 * descr-text.el: Use lexical-binding.
5743 (describe-text-widget, describe-text-sexp, describe-property-list):
5744 Use closures.
5745 * comint.el (comint-history-isearch-push-state): Use a closure.
5746 * calculator.el: Use lexical-binding.
5747 (calculator-number-to-string): Make it work with lexical-binding.
5748 (calculator-funcall): Same and use cl-letf.
5749
5750 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5751 (lisp--company-doc-string, lisp--company-location): New functions.
5752 (lisp-completion-at-point): Use them to improve Company support.
5753
5754 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5755 params of lambda expressions.
5756 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5757 (ruby-smie--opening-pipe-p): New function.
5758 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5759 symbols and matched |...| for formal params.
5760 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5761 from being treated as hanging. Handle "rescue".
5762
5763 2013-08-29 Glenn Morris <rgm@gnu.org>
5764
5765 * progmodes/cc-engine.el (c-pull-open-brace):
5766 Move definition before use.
5767
5768 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5771 are immutable. Don't use `unsafe' any more.
5772 (cl--defsubst-expand): Don't substitute at the same time as keeping
5773 a residual unused let-binding. Don't use `unsafe' any more.
5774
5775 2013-08-29 Glenn Morris <rgm@gnu.org>
5776
5777 * calendar/cal-china.el (calendar-chinese-year-cache):
5778 Recenter on 2015.
5779
5780 * nxml/nxml-util.el (nxml-debug-clear-inside):
5781 Use cl-loop rather than loop.
5782
5783 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5784
5785 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5786
5787 2013-08-28 Glenn Morris <rgm@gnu.org>
5788
5789 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5790
5791 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5792
5793 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5794
5795 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * simple.el (repeat-complex-command--called-interactively-skip):
5798 New function.
5799 (repeat-complex-command): Use it (bug#14136).
5800
5801 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5802 (c-define-abbrev-table): Add `doc' argument.
5803 (c-mode-abbrev-table, c++-mode-abbrev-table)
5804 (objc-mode-abbrev-table, java-mode-abbrev-table)
5805 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5806 (awk-mode-abbrev-table): Use it.
5807 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5808 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5809 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5810 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5811 Move initialization into the declaration; and remove any
5812 autoload cookie.
5813
5814 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5815 and dynamic let binding.
5816
5817 * vc/smerge-mode.el: Remove redundant :group args.
5818
5819 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5820 to load-path.
5821
5822 2013-08-28 Juri Linkov <juri@jurta.org>
5823
5824 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5825 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5826 (isearch-other-meta-char): Handle an undefined shifted printing
5827 character by downshifting it. (Bug#15200)
5828
5829 2013-08-28 Juri Linkov <juri@jurta.org>
5830
5831 * isearch.el (isearch-search): Change regexp error message for
5832 non-regexp searches. (Bug#15166)
5833
5834 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5835
5836 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5837 for portability to hosts where /bin/sh has problems.
5838
5839 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5842
5843 2013-08-27 Juri Linkov <juri@jurta.org>
5844
5845 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5846 in the keyboard macro. (Bug#15126)
5847
5848 2013-08-27 Juri Linkov <juri@jurta.org>
5849
5850 * isearch.el (isearch-quote-char): Comment out converting unibyte
5851 to multibyte, thus syncing with its `quoted-insert' counterpart.
5852 (Bug#15166)
5853
5854 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5855
5856 * window.el (display-buffer-use-some-window): Add missing
5857 argument in call of get-largest-window (Bug#15185).
5858 Reported by Stephen Leake.
5859
5860 2013-08-27 Glenn Morris <rgm@gnu.org>
5861
5862 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5863
5864 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5867 from a matcher-function unless there's no more matches (bug#15161).
5868
5869 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5870
5871 * minibuffer.el: Revert change from 2013-08-20.
5872
5873 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5874 with text property `tramp-default', if appropriate.
5875 (tramp-check-proper-host): New defun.
5876 (tramp-dissect-file-name): Do not check hostname. Revert change
5877 of 2013-03-18.
5878 (tramp-backtrace): Make VEC-OR-PROC optional.
5879
5880 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5881 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5882 * net/tramp-sh.el (tramp-maybe-open-connection):
5883 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5884 Apply `tramp-check-proper-host'.
5885
5886 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5887
5888 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5889 lambda expression in order to have `describe-variable' display it.
5890
5891 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5894 BUF can be optional. (Bug#15186)
5895
5896 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5897
5898 * progmodes/flymake.el (flymake-get-real-file-name-function):
5899 Fix broken customization. (Bug#15184)
5900
5901 2013-08-25 Alan Mackenzie <acm@muc.de>
5902
5903 Improve indentation of bracelists defined by macros (without "=").
5904
5905 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5906 expansion begins with "{", regard it as bracelist when it doesn't
5907 contain a ";".
5908
5909 Parse C++ inher-intro when there's a template split over 2 lines.
5910
5911 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5912 rigorously the search for "class" etc. followed by ":".
5913
5914 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5915 random languages a regexp which never matches rather than nil.
5916
5917 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5918
5919 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5920 (c-awk-regexp-one-line-possibly-open-char-list-re)
5921 (c-awk-one-line-possibly-open-regexp-re)
5922 (c-awk-one-line-non-syn-ws*-re): Remove.
5923 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5924 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5925 (c-awk-space*-unclosed-regexp-/-re): New constants.
5926 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5927 aren't regexp delimiters.
5928
5929 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5930 handling for a rare situation in AWK Mode involving unterminated
5931 strings/regexps.
5932
5933 2013-08-23 Glenn Morris <rgm@gnu.org>
5934
5935 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5936
5937 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5938
5939 * files.el (create-file-buffer): If the result would begin with
5940 spaces, prepend a "|" instead of removing them. (Bug#15162)
5941
5942 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5945 text-properties (bug#15155).
5946
5947 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5948 exist any more.
5949 (calc-keypad-redraw): Remove unused var `pad'.
5950 (calc-keypad-press): Remove unused var `menu'.
5951
5952 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5953
5954 * window.el (display-buffer-pop-up-frame):
5955 Call pop-up-frame-function with BUFFER current so `make-frame' will
5956 use it as the new frame's buffer (Bug#15133).
5957
5958 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * calendar/timeclock.el: Minor cleanups.
5961 (timeclock-ask-before-exiting, timeclock-use-display-time):
5962 Use `symbol'.
5963 (timeclock-modeline-display): Define as alias before the
5964 actual definition.
5965 (timeclock-mode-line-display): Use define-minor-mode.
5966 (timeclock-day-list-template): Make it a function, add an argument.
5967 (timeclock-day-list-required, timeclock-day-list-length)
5968 (timeclock-day-list-debt, timeclock-day-list-span)
5969 (timeclock-day-list-break): Adjust calls accordingly.
5970
5971 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5974 Use read--expression so that completion works again.
5975
5976 2013-08-21 Sam Steingold <sds@gnu.org>
5977
5978 Add rudimentary inferior shell interaction
5979 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5980 (sh-set-shell): Reset it.
5981 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5982 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5983
5984 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * align.el: Use lexical-binding.
5987 (align-region): Simplify accordingly.
5988
5989 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5990
5991 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5992
5993 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5994 `non-essential' up.
5995
5996 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5997
5998 * net/tramp.el:
5999 * net/tramp-adb.el:
6000 * net/tramp-cmds.el:
6001 * net/tramp-ftp.el:
6002 * net/tramp-gvfs.el:
6003 * net/tramp-gw.el:
6004 * net/tramp-sh.el: Don't wrap external variable declarations by
6005 `eval-when-compile'.
6006
6007 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6008
6009 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6010 now that Emacs supports ImageMagick animations.
6011
6012 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6013
6014 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6015 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6016
6017 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6018
6019 * window.el (mouse-autoselect-window-select): Do autoselect when
6020 mouse pointer is on margin.
6021
6022 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6023
6024 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6025
6026 2013-08-16 Glenn Morris <rgm@gnu.org>
6027
6028 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6029 Handle "Remote Directory" response of some clients. (Bug#15058)
6030
6031 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6032 Tweak warning. (Bug#14926)
6033
6034 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6035 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6036
6037 * image-mode.el (image-mode-map): Add menu items to reverse,
6038 increase, decrease, reset animation speed.
6039 (image--set-speed, image-increase-speed, image-decrease-speed)
6040 (image-reverse-speed, image-reset-speed): New functions.
6041 (image-mode-map): Add bindings for speed commands.
6042
6043 * image.el (image-animate-get-speed, image-animate-set-speed):
6044 New functions.
6045 (image-animate-timeout): Respect image :speed property.
6046
6047 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6050 previous line (bug#15101).
6051 (debugger-eval-expression, debugger-record-expression):
6052 Use read--expression (bug#15102).
6053
6054 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6055
6056 Remove byte compiler warnings, visible when compiling with
6057 `byte-compile-force-lexical-warnings' set to t.
6058
6059 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6060 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6061 (tramp-handle-unhandled-file-name-directory)
6062 (tramp-handle-file-notify-add-watch, tramp-action-login)
6063 (tramp-action-succeed, tramp-action-permission-denied)
6064 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6065 arguments with "_".
6066
6067 * net/tramp-adb.el (tramp-adb-parse-device-names)
6068 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6069 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6070 (tramp-adb-handle-file-truename): Remove unused arguments.
6071
6072 * net/tramp-cache.el (tramp-flush-directory-property)
6073 (tramp-flush-connection-property, tramp-list-connections)
6074 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6075
6076 * net/tramp-compat.el (tramp-compat-make-temp-file):
6077 Rename FILENAME to F.
6078
6079 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6080 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6081 (tramp-zeroconf-parse-workstation-device-names)
6082 (tramp-zeroconf-parse-webdav-device-names)
6083 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6084
6085 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6086 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6087
6088 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6089 arguments.
6090 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6091 (tramp-sh-handle-insert-file-contents-literally)
6092 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6093 with "_".
6094 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6095 Remove unused variables.
6096
6097 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6098 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6099 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6100
6101 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6102 Make them a defconst.
6103 (tramp-uuencode-region): Remove unused variable.
6104
6105 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6106
6107 * frameset.el (frameset--prop-setter): New function.
6108 (frameset-prop): Add gv-setter declaration.
6109 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6110 parameter was already set in FILTERED. Doc fix.
6111 (frameset--record-minibuffer-relationships): Allow saving a
6112 minibufferless frame without its corresponding minibuffer frame.
6113 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6114 frame, if the frame id matches.
6115 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6116 frames before orphaned ones.
6117 (frameset-restore): Warn about orphaned windows, instead of error out.
6118
6119 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6120
6121 * window.el (window-make-atom): Don't overwrite parameter
6122 already present.
6123 (display-buffer-in-atom-window): Handle special case where we
6124 split an already atomic window.
6125 (window--major-non-side-window, display-buffer-in-side-window)
6126 (window--side-check): Ignore minibuffer window when walking
6127 window tree.
6128 (window-deletable-p): Return 'frame only if no other frame uses
6129 our minibuffer window.
6130 (record-window-buffer): Run buffer-list-update-hook.
6131 (split-window): Make sure window--check-frame won't destroy an
6132 existing atomic window in case the new window gets nested
6133 inside.
6134 (display-buffer-at-bottom): Ignore minibuffer window when
6135 walking window tree. Don't split a side window.
6136 (pop-to-buffer): Don't set-buffer here, the select-window call
6137 should do that.
6138 (mouse-autoselect-window-select): Autoselect only if we are in the
6139 text portion of the window.
6140
6141 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6142
6143 * net/shr.el (shr-parse-image-data): New function to grab both the
6144 data itself and the Content-Type.
6145 (shr-put-image): Use it.
6146
6147 * net/eww.el (eww-display-image): Ditto.
6148
6149 * image.el (image-content-type-suffixes): New variable.
6150
6151 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6152
6153 * progmodes/python.el (python-imenu--build-tree)
6154 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6155
6156 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6157
6158 * simple.el (backward-word): Mention the optional argument.
6159
6160 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * frameset.el (frameset--make): Rename constructor from make-frameset.
6163 (frameset-p, frameset-valid-p): Don't autoload.
6164 (frameset-valid-p): Use normal accessors.
6165
6166 2013-08-13 Glenn Morris <rgm@gnu.org>
6167
6168 * progmodes/compile.el (compile-command): Tweak example in doc.
6169 * obsolete/scribe.el (scribe-mode):
6170 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6171
6172 * mail/feedmail.el (feedmail-confirm-outgoing)
6173 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6174
6175 * cus-start.el (truncate-partial-width-windows): Fix type.
6176
6177 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6178
6179 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6180
6181 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/timer.el (timer--time-setter): New function.
6184 (timer--time): Use it as gv-setter.
6185
6186 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6187 setter is not a symbol.
6188
6189 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6190
6191 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6192 if sending fails. This makes debugging easier.
6193
6194 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6195
6196 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6197 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6198 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6199
6200 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6201
6202 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6203
6204 2013-08-12 Glenn Morris <rgm@gnu.org>
6205
6206 * format.el (format-annotate-function):
6207 Handle read-only text properties in the source. (Bug#14887)
6208
6209 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6210
6211 * net/eww.el (eww-display-html): Ignore coding system errors.
6212 One web site uses "utf-8lias" as the coding system.
6213
6214 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6215
6216 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6217
6218 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6219
6220 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6221 (tutorial--detailed-help): Remove unused local variables.
6222 (tutorial--save-tutorial-to): Use ignore-errors.
6223 (help-with-tutorial): Use looking-at-p.
6224
6225 * view.el (view-buffer-other-window, view-buffer-other-frame):
6226 Mark unused arguments.
6227
6228 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6229 (woman-select-symbol-fonts, woman, woman-find-file)
6230 (woman-insert-file-contents, woman-non-underline-faces):
6231 Use string-match-p.
6232 (woman1-unquote): Move declaration.
6233
6234 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6235 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6236 argument. Remove unused local variable.
6237 (xml-parse-elem-type): Use string-match-p.
6238 (xml-substitute-numeric-entities): Use ignore-errors.
6239
6240 * calculator.el (calculator): Mark unused argument.
6241 (calculator-paste, calculator-quit, calculator-integer-p):
6242 Use ignore-errors.
6243 (calculator-string-to-number, calculator-decimal, calculator-exp)
6244 (calculator-op-or-exp): Use string-match-p.
6245
6246 * dired.el (dired-buffer-more-recently-used-p): Declare.
6247 (dired-insert-set-properties, dired-insert-old-subdirs):
6248 Use ignore-errors.
6249
6250 * dired-aux.el (dired-compress): Use ignore-errors.
6251 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6252 (dired-do-async-shell-command, dired-do-shell-command)
6253 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6254 (dired-insert-subdir-validate): Use string-match-p.
6255 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6256 (dired-add-entry): Use string-match-p, looking-at-p.
6257 (dired-insert-subdir-newpos): Remove unused local variable.
6258
6259 * filenotify.el (file-notify-callback): Remove unused local variable.
6260
6261 * filesets.el (filesets-error): Mark unused argument.
6262 (filesets-which-command-p, filesets-filter-dir-names)
6263 (filesets-directory-files, filesets-get-external-viewer)
6264 (filesets-ingroup-get-data): Use string-match-p.
6265
6266 * find-file.el (ff-other-file-name, ff-other-file-name)
6267 (ff-find-the-other-file, ff-cc-hh-converter):
6268 Remove unused local variables.
6269 (ff-get-file-name): Use string-match-p.
6270 (ff-all-dirs-under): Use ignore-errors.
6271
6272 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6273 (follow-select-if-visible): Remove unused local variable.
6274
6275 * forms.el (read-file-filter): Move declaration.
6276 (forms--make-format, forms--make-parser, forms-insert-record):
6277 Quote function with #'.
6278 (forms--update): Use string-match-p. Quote function with #'.
6279
6280 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6281 (help-make-xrefs): Use looking-at-p.
6282 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6283
6284 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6285 (ibuffer-confirm-operation-on): Use string-match-p.
6286
6287 * msb.el (msb-item-handler, msb-dired-item-handler):
6288 Mark unused arguments.
6289
6290 * ses.el (ses-decode-cell-symbol)
6291 (ses-kill-override): Remove unused local variable.
6292 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6293 (ses-load): Use ignore-errors, looking-at-p.
6294 (ses-jump-safe): Use ignore-errors.
6295 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6296
6297 * tabify.el (untabify, tabify): Mark unused arguments.
6298
6299 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6300 Mark unused argument.
6301 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6302 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6303
6304 * emacs-lisp/timer.el (timer--time): Define setter with
6305 gv-define-setter to avoid deprecation warning.
6306
6307 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6308 (*record-cmpl-statistics-p*): Remove (was commented out).
6309 (cmpl-statistics-block): Remove (body was commented out).
6310 All callers changed.
6311 (add-completions-from-buffer, load-completions-from-file):
6312 Remove unused variables.
6313
6314 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6315
6316 * filecache.el (file-cache-delete-file-list):
6317 Print message only when told so.
6318 (file-cache-files-matching): Use #' in mapconcat argument.
6319
6320 * ffap.el (ffap-url-at-point): Fix reference to variable
6321 thing-at-point-default-mail-uri-scheme.
6322
6323 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * subr.el (define-error): New function.
6326 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6327 error-file-not-found and define with define-error.
6328 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6329 and define with define-error.
6330 * userlock.el (file-locked, file-supersession):
6331 * simple.el (mark-inactive):
6332 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6333 * progmodes/ada-mode.el (ada-mode-errors):
6334 * play/life.el (life-extinct):
6335 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6336 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6337 * nxml/rng-util.el (rng-error):
6338 * nxml/rng-uri.el (rng-uri-error):
6339 * nxml/rng-match.el (rng-compile-error):
6340 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6341 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6342 * nxml/nxml-rap.el (nxml-scan-error):
6343 * nxml/nxml-outln.el (nxml-outline-error):
6344 * net/soap-client.el (soap-error):
6345 * net/gnutls.el (gnutls-error):
6346 * net/ange-ftp.el (ftp-error):
6347 * mpc.el (mpc-proc-error):
6348 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6349 (json-number-format, json-string-escape, json-string-format)
6350 (json-key-format, json-object-format):
6351 * jka-compr.el (compression-error):
6352 * international/quail.el (quail-error):
6353 * international/kkc.el (kkc-error):
6354 * emacs-lisp/ert.el (ert-test-failed):
6355 * calc/calc.el (calc-error, inexact-result, math-overflow)
6356 (math-underflow):
6357 * bookmark.el (bookmark-error-no-filename):
6358 * epg.el (epg-error): Define with define-error.
6359
6360 * time.el (display-time-event-handler)
6361 (display-time-next-load-average): Don't call sit-for since it seems
6362 unnecessary (bug#15045).
6363
6364 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6365 Use #' instead of ' to quote functions.
6366 (checkdoc-output-mode): Use setq-local.
6367 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6368 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6369 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6370 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6371 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6372 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6373 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6374 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6375
6376 * ido.el (ido-completion-help): Fix up compiler warning.
6377
6378 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6379
6380 * frameset.el (frameset-p): Add autoload cookie.
6381 (frameset--jump-to-register): New function, based on code moved from
6382 register.el.
6383 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6384
6385 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6386 (frameset-restore, frameset-save, frameset-session-filter-alist):
6387 Remove declarations.
6388 (register-alist): Doc fix.
6389 (frameset-to-register): Move to frameset.el.
6390 (jump-to-register, describe-register-1): Remove frameset-specific code.
6391
6392 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6393
6394 * allout-widgets.el (allout-widgets-pre-command-business)
6395 (allout-widgets-post-command-business)
6396 (allout-widgets-after-change-handler)
6397 (allout-decorate-item-and-context, allout-set-boundary-marker)
6398 (allout-body-modification-handler)
6399 (allout-graphics-modification-handler): Mark ignored arguments.
6400 (allout-widgets-post-command-business)
6401 (allout-widgets-exposure-change-processor)
6402 (allout-widgets-exposure-undo-processor)
6403 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6404 (allout-parse-item-at-point, allout-decorate-item-guides)
6405 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6406 * allout.el (epa-passphrase-callback-function): Declare.
6407 (allout-overlay-insert-in-front-handler)
6408 (allout-overlay-interior-modification-handler)
6409 (allout-isearch-end-handler, allout-chart-siblings)
6410 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6411 (allout-yank-processing, allout-process-exposed)
6412 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6413 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6414 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6415 (lisp-indent-defform): Mark ignored arguments.
6416 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6417 (calculate-lisp-indent): Remove unused variables.
6418 * international/characters.el (indian-2-column, arabic-2-column)
6419 (tibetan): Mark ignored arguments.
6420 (use-cjk-char-width-table): Mark ignored arguments.
6421 Remove unused variables.
6422 * international/fontset.el (build-default-fontset-data)
6423 (x-compose-font-name, create-fontset-from-fontset-spec):
6424 Mark ignored arguments.
6425 (fontset-plain-name): Remove unused variables.
6426 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6427 (keyboard-coding-system): Mark ignored arguments.
6428 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6429 * help.el (resize-temp-buffer-window):
6430 * window.el (display-buffer-in-major-side-window)
6431 (display-buffer-in-side-window, display-buffer-in-previous-window):
6432 Remove unused variables.
6433 * isearch.el (isearch-forward-symbol):
6434 * version.el (emacs-bzr-version-bzr):
6435 * international/mule-cmds.el (current-language-environment):
6436 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6437 (x-handle-display):
6438 * term/pc-win.el (x-list-fonts, x-display-planes)
6439 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6440 (x-server-version, x-display-screens, x-display-mm-height)
6441 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6442 (x-selection-owner-p, x-own-selection-internal)
6443 (x-disown-selection-internal, x-get-selection-internal)
6444 (msdos-initialize-window-system):
6445 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6446 * term/x-win.el (x-handle-no-bitmap-icon):
6447 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6448 (vc-default-find-file-hook, vc-default-extra-menu):
6449 Mark ignored arguments.
6450
6451 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6454 break-condition in the context of the debugged code (bug#12685).
6455
6456 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6457
6458 * comint.el:
6459 Do not use an overlay to highlight the last prompt. (Bug#14744)
6460 (comint-mode): Make comint-last-prompt buffer local.
6461 (comint-last-prompt): New variable.
6462 (comint-last-prompt-overlay): Remove. Superseded by
6463 comint-last-prompt.
6464 (comint-snapshot-last-prompt, comint-output-filter):
6465 Use comint-last-prompt.
6466
6467 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6470 (frameset-save): Check validity of the resulting frameset.
6471
6472 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6473
6474 * ido.el (ido-record-command): Add doc string.
6475
6476 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6477
6478 * frameset.el (frameset): Do not disable creation of the default
6479 frameset-p predicate. Doc fix.
6480 (frameset-valid-p): New function, copied from the old predicate-p.
6481 Add additional checks.
6482 (frameset-restore): Check with frameset-valid-p.
6483 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6484 (frameset-name, frameset-description, frameset-properties)
6485 (frameset-states): Add docstring.
6486 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6487 (frameset-filter-alist): Doc fixes.
6488
6489 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6490
6491 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6492
6493 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6494
6495 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6496 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6497 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6498 (byte-compile-normal-call): Remove obsolescence check.
6499
6500 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6501
6502 * frameset.el (frameset-restore): Doc fix.
6503
6504 * register.el (frameset-frame-id, frameset-frame-with-id)
6505 (frameset-p, frameset-restore, frameset-save): Declare.
6506 (register-alist): Document framesets.
6507 (frameset-session-filter-alist): Declare.
6508 (frameset-to-register): New function.
6509 (jump-to-register): Implement jumping to framesets. Doc fix.
6510 (describe-register-1): Describe framesets.
6511
6512 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6513
6514 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6515
6516 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6517 Use lexical-binding.
6518
6519 * frameset.el (frameset): Use type vector, not list (incompatible
6520 change). Do not declare a new constructor, use the default one.
6521 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6522 `name' and `description', respectively, and add read-only slot
6523 `timestamp'. Doc fixes.
6524 (frameset-copy, frameset-persistent-filter-alist)
6525 (frameset-filter-alist, frameset-switch-to-gui-p)
6526 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6527 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6528 (frameset-filter-iconified, frameset-keep-original-display-p):
6529 Doc fixes.
6530 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6531 Rename from frameset-filter-(save|restore)-param. All callers changed.
6532 Doc fix.
6533 (frameset-p): Adapt to change to vector and be more thorough.
6534 Change arg name to OBJECT. Doc fix.
6535 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6536 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6537 All callers changed.
6538 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6539 All callers changed.
6540 (frameset--record-minibuffer-relationships): Rename from
6541 frameset--process-minibuffer-frames. All callers changed.
6542 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6543 Use new default constructor (again). Doc fix.
6544 (frameset--find-frame-if): Rename from `frameset--find-frame.
6545 All callers changed.
6546 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6547 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6548 Doc fix.
6549 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6550 PARAMETERS and WINDOW-STATE, respectively.
6551 (frameset-restore): Add new keyword argument PREDICATE.
6552 Reset frameset--target-display to nil. Doc fix.
6553
6554 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6557 (bat-mode): Use it.
6558 (bat-mode-syntax-table): Mark \n as end-of-comment.
6559 (bat-font-lock-keywords): Remove comment rule.
6560
6561 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6562 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6563
6564 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6565 (byte-compile-callargs-warn): Use `push'.
6566 (byte-compile-arglist-warn): Ignore higher-order "calls".
6567 (byte-compile-file-form-autoload): Use `pcase'.
6568 (byte-compile-function-form): If quoting a symbol, check that it exists.
6569
6570 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6571
6572 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6573 and add a few popular commands found in batch files.
6574 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6575 (dos-mode): Doc fixes.
6576
6577 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6580 (dos-mode): Use setq-local. Add space after "rem".
6581 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6582 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6583
6584 2013-08-07 Arni Magnusson <arnima@hafro.is>
6585
6586 * progmodes/dos.el: New file.
6587 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6588 dos-mode.
6589
6590 2013-08-06 Glenn Morris <rgm@gnu.org>
6591
6592 * calendar/calendar.el: Add new faces, and day-header-array.
6593 (calendar-weekday-header, calendar-weekend-header)
6594 (calendar-month-header): New faces.
6595 (calendar-day-header-construct): New function.
6596 (calendar-day-header-width): Also :set calendar-day-header-array.
6597 (calendar-american-month-header, calendar-european-month-header)
6598 (calendar-iso-month-header): Use calendar- faces.
6599 (calendar-generate-month):
6600 Use calendar-day-header-array for day headers; apply faces to them.
6601 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6602 (calendar-abbrev-construct): Add optional maxlen argument.
6603 (calendar-day-name-array): Doc fix.
6604 (calendar-day-name-array, calendar-abbrev-length)
6605 (calendar-day-abbrev-array):
6606 Also :set calendar-day-header-array, and maybe redraw.
6607 (calendar-day-header-array): New option. (Bug#15007)
6608 (calendar-font-lock-keywords): Set to nil and make obsolete.
6609 (calendar-day-name): Add option to use header array.
6610
6611 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6612
6613 * net/shr.el (shr-render-td): Remove debugging.
6614 (shr-render-td): Make width computation consistent by defaulting
6615 all zero-width columns to 10 characters. This may not be optimal,
6616 but it's at least consistent.
6617 (shr-make-table-1): Redo last change to fix the real problem in
6618 colspan handling.
6619
6620 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6621
6622 * files.el (cache-long-line-scans):
6623 Make obsolete alias to `cache-long-scans'.
6624
6625 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * frameset.el (frameset, frameset-filter-alist)
6628 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6629 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6630 (frameset-compute-pos): Rename from frameset--compute-pos,
6631 and add docstring.
6632 (frameset-move-onscreen): Use frameset-compute-pos.
6633 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6634
6635 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6636 Fix typos in docstrings.
6637
6638 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6639
6640 * frame.el (get-other-frame): Tiny cleanup.
6641
6642 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6643
6644 * vc/vc.el (vc-default-ignore-completion-table):
6645 Silence byte-compiler warning.
6646
6647 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6648 slot, which can indeed be nil.
6649 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6650 Move entry for `left' from persistent to live filter alist.
6651 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6652 Doc fixes.
6653 (frameset-filter-params): When restoring a frame, copy items added to
6654 `filtered', to avoid unwittingly modifying the original parameters.
6655 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6656 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6657
6658 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6659 to use looking-at-p instead of looking-at. (Bug#15028)
6660
6661 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 Revert introduction of isearch-filter-predicates (bug#14714).
6664 Rely on add-function instead.
6665 * isearch.el (isearch-filter-predicates): Rename it back to
6666 isearch-filter-predicate.
6667 (isearch-message-prefix): Use advice-function-mapc and advice
6668 properties to get the isearch-message-prefix.
6669 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6670 instead of run-hook-with-args-until-failure.
6671 (isearch-filter-visible): Not obsolete any more.
6672 * loadup.el: Preload nadvice.
6673 * replace.el (perform-replace): Revert to funcall
6674 instead of run-hook-with-args-until-failure.
6675 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6676 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6677 dired-isearch-filenames-toggle; make it into a proper minor mode.
6678 Use add/remove-function.
6679 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6680 Call the minor-mode rather than add/remove-hook.
6681 (dired-isearch-filter-filenames):
6682 Remove isearch-message-prefix property.
6683 * info.el (Info--search-loop): New function, extracted from Info-search.
6684 Funcall isearch-filter-predicate instead of
6685 run-hook-with-args-until-failure isearch-filter-predicates.
6686 (Info-search): Use it.
6687 (Info-mode): Use isearch-filter-predicate instead of
6688 isearch-filter-predicates.
6689
6690 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6691
6692 Do not call to `selected-window' where it is assumed by default.
6693 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6694 `window-hscroll', `window-width', `window-height', `window-buffer',
6695 `window-frame', `window-start', `window-point', `next-window'
6696 and `window-display-table'.
6697 * abbrev.el (abbrev--default-expand):
6698 * bs.el (bs--show-with-configuration):
6699 * buff-menu.el (Buffer-menu-mouse-select):
6700 * calc/calc.el (calc):
6701 * calendar/calendar.el (calendar-generate-window):
6702 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6703 (diary-make-entry):
6704 * comint.el (send-invisible, comint-dynamic-complete-filename)
6705 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6706 * completion.el (complete):
6707 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6708 * disp-table.el (describe-current-display-table):
6709 * doc-view.el (doc-view-insert-image):
6710 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6711 * ehelp.el (with-electric-help):
6712 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6713 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6714 * emacs-lisp/helper.el (Helper-help-scroller):
6715 * emulation/cua-base.el (cua--post-command-handler-1):
6716 * eshell/esh-mode.el (eshell-output-filter):
6717 * ffap.el (ffap-gnus-wrapper):
6718 * help-macro.el (make-help-screen):
6719 * hilit-chg.el (highlight-compare-buffers):
6720 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6721 * hl-line.el (global-hl-line-highlight):
6722 * icomplete.el (icomplete-simple-completing-p):
6723 * isearch.el (isearch-done):
6724 * jit-lock.el (jit-lock-stealth-fontify):
6725 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6726 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6727 * mpc.el (mpc-tagbrowser, mpc):
6728 * net/rcirc.el (rcirc-any-buffer):
6729 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6730 * play/landmark.el (landmark-max-width, landmark-max-height):
6731 * play/zone.el (zone):
6732 * progmodes/compile.el (compilation-goto-locus):
6733 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6734 * progmodes/etags.el (find-tag-other-window):
6735 * progmodes/fortran.el (fortran-column-ruler):
6736 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6737 * progmodes/verilog-mode.el (verilog-point-text):
6738 * reposition.el (reposition-window):
6739 * rot13.el (toggle-rot13-mode):
6740 * server.el (server-switch-buffer):
6741 * shell.el (shell-dynamic-complete-command)
6742 (shell-dynamic-complete-environment-variable):
6743 * simple.el (insert-buffer, set-selective-display)
6744 (delete-completion-window):
6745 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6746 (speedbar-recenter):
6747 * startup.el (fancy-splash-head):
6748 * textmodes/ispell.el (ispell-command-loop):
6749 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6750 * tutorial.el (help-with-tutorial):
6751 * vc/add-log.el (add-change-log-entry):
6752 * vc/compare-w.el (compare-windows):
6753 * vc/ediff-help.el (ediff-indent-help-message):
6754 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6755 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6756 (ediff-setup-control-frame):
6757 * vc/emerge.el (emerge-position-region):
6758 * vc/pcvs-util.el (cvs-bury-buffer):
6759 * window.el (walk-windows, mouse-autoselect-window-select):
6760 * winner.el (winner-set-conf, winner-undo): Related users changed.
6761
6762 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * frameset.el (frameset--set-id): Doc fix.
6765 (frameset-frame-id, frameset-frame-id-equal-p)
6766 (frameset-locate-frame-id): New functions.
6767 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6768 (frameset-restore): Use them.
6769
6770 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6771
6772 Do not call to `selected-frame' where it is assumed by default.
6773 Affected functions are `raise-frame', `redraw-frame',
6774 `frame-first-window', `frame-terminal' and `delete-frame'.
6775 * calendar/appt.el (appt-disp-window):
6776 * epg.el (epg-wait-for-completion):
6777 * follow.el (follow-delete-other-windows-and-split)
6778 (follow-avoid-tail-recenter):
6779 * international/mule.el (set-terminal-coding-system):
6780 * mail/rmail.el (rmail-mail-return):
6781 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6782 * progmodes/f90.el (f90-add-imenu-menu):
6783 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6784 * server.el (server-switch-buffer):
6785 * simple.el (delete-completion-window):
6786 * talk.el (talk):
6787 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6788 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6789 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6790 * vc/ediff.el (ediff-documentation): Related users changed.
6791 * frame.el (selected-terminal): Remove the leftover.
6792
6793 2013-08-05 Glenn Morris <rgm@gnu.org>
6794
6795 * calendar/calendar.el (calendar-generate-month):
6796 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6797 (calendar-generate-month, calendar-font-lock-keywords):
6798 Fix for calendar-day-header-width > length of any day name.
6799
6800 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6801
6802 * desktop.el (desktop-clear): Use new name of sort predicate.
6803
6804 * frameset.el (frameset): Add docstring. Move :version property to its
6805 own `version' slot.
6806 (frameset-copy): Rename from copy-frameset.
6807 (frameset-p): Check more thoroughly.
6808 (frameset-prop): Do not check for :version, which is no longer a prop.
6809 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6810 Use new :never value instead of t.
6811 (frameset-filter-alist): Expand and clarify docstring.
6812 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6813 (frameset-filter-minibuffer, frameset-filter-save-param)
6814 (frameset-filter-restore-param, frameset-filter-iconified):
6815 Add pointer to docstring of frameset-filter-alist.
6816 (frameset-filter-params): Rename filter values to be more meaningful:
6817 :never instead of t, and reverse the meanings of :save and :restore.
6818 (frameset--process-minibuffer-frames): Clarify error message.
6819 (frameset-save): Avoid unnecessary and confusing call to framep.
6820 Use new BOA constructor for framesets.
6821 (frameset--reuse-list): Doc fix.
6822 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6823 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6824 (frameset-minibufferless-first-p): Doc fix.
6825 Rename from frameset-sort-frames-for-deletion.
6826 (frameset-restore): Doc fixes. Use new function names.
6827 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6828
6829 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6830
6831 * desktop.el (desktop-restore-forces-onscreen)
6832 (desktop-restore-reuses-frames): Document :keyword constant values.
6833 (desktop-filter-parameters-alist): Remove, now identical to
6834 frameset-filter-alist.
6835 (desktop--filter-tty*): Remove, moved to frameset.el.
6836 (desktop-save-frameset, desktop-restore-frameset):
6837 Do not pass :filters argument.
6838
6839 * frameset.el (frameset-live-filter-alist)
6840 (frameset-persistent-filter-alist): New variables.
6841 (frameset-filter-alist): Use them. Add autoload cookie.
6842 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6843 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6844 `frameset--id' (it's supposed to be internal to frameset.el).
6845 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6846 (frameset--initial-params): New function.
6847 (frameset--get-frame): Use it. Doc fix.
6848 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6849 Accept :all, not 'all.
6850 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6851 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6852 with fbound symbols. Fix frame id matching, and remove matching ids if
6853 the frame being restored is deleted. Obey :delete.
6854
6855 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6856
6857 * subr.el (macrop): New function.
6858 (text-clone--maintaining): New var.
6859 (text-clone--maintain): Rename from text-clone-maintain. Use it
6860 instead of inhibit-modification-hooks.
6861
6862 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6863 a proxy, so as handle autoloads and redefinitions of the target.
6864 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6865
6866 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6867 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6868 (pcase--mutually-exclusive-p): New function.
6869 (pcase--split-consp): Use it.
6870 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6871 mutually exclusive with the current predicate.
6872
6873 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6874 (edebug-macrop): Remove. Use `macrop' instead.
6875 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6876 (ad-macro-p):
6877 * eshell/esh-cmd.el (eshell-macrop):
6878 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6879
6880 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6883 (advice-mapc): New function, using it.
6884 (advice-function-member-p): New function.
6885 (advice--normalize): Store the cdr in advice--saved-rewrite since
6886 that's the part that will be changed.
6887 (advice--symbol-function): New function.
6888 (advice-remove): Handle removal before the function is defined.
6889 Adjust to new advice--saved-rewrite.
6890 (advice-member-p): Use advice-function-member-p and
6891 advice--symbol-function.
6892
6893 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6894
6895 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6896 (frameset-filter-minibuffer): Doc fix.
6897 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6898 (frameset--set-id, frameset--process-minibuffer-frames)
6899 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6900 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6901
6902 * desktop.el (desktop-clear): Only delete frames when called
6903 interactively and desktop-restore-frames is non-nil. Doc fix.
6904 (desktop-read): Set desktop-saved-frameset to nil.
6905
6906 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6907
6908 * vc/vc.el (vc-ignore): Rewrite.
6909 (vc-default-ignore-completion-table):
6910 (vc--read-lines):
6911 (vc--add-line, vc--remove-regexp): New functions.
6912
6913 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6914 (vc-svn-ignore-completion-table): New function.
6915
6916 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6917 (vc-hg-ignore-completion-table):
6918 (vc-hg-find-ignore-file): New functions.
6919
6920 * vc/vc-git.el (vc-git-ignore): Rewrite.
6921 (vc-git-ignore-completion-table):
6922 (vc-git-find-ignore-file): New functions.
6923
6924 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6925
6926 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6927 (vc-bzr-ignore-completion-table):
6928 (vc-bzr-find-ignore-file): New functions.
6929
6930 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6931
6932 * frameset.el (frameset-prop): New function and setter.
6933 (frameset-save): Do not modify frame list passed by the caller.
6934
6935 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6938
6939 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6942 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6943
6944 * custom.el (custom-initialize-default, custom-initialize-set)
6945 (custom-initialize-reset, custom-initialize-changed): Affect the
6946 toplevel-default-value (bug#6275, bug#14586).
6947 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6948 for bug#6275.
6949
6950 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6951
6952 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6953 Add cl-def* expressions.
6954
6955 * frameset.el (frameset-filter-params): Fix order of arguments.
6956
6957 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6958
6959 Move code related to saving frames to frameset.el.
6960 * desktop.el: Require frameset.
6961 (desktop-restore-frames): Doc fix.
6962 (desktop-restore-reuses-frames): Rename from
6963 desktop-restoring-reuses-frames.
6964 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6965 (desktop-clear): Clear frames too.
6966 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6967 (desktop--filter-tty*, desktop-save, desktop-read):
6968 Use frameset functions.
6969 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6970 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6971 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6972 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6973 (desktop--process-minibuffer-frames, desktop-save-frames)
6974 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6975 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6976 (desktop--sort-states, desktop-restoring-frames-p)
6977 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6978 (desktop-restoring-frameset-p, desktop-restore-frameset)
6979 (desktop--check-dont-save, desktop-save-frameset): New functions.
6980 (desktop--app-id): New constant.
6981 (desktop-first-buffer, desktop-buffer-ok-count)
6982 (desktop-buffer-fail-count): Move before first use.
6983 * frameset.el: New file.
6984
6985 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * files.el: Use lexical-binding.
6988 (dir-locals-read-from-file): Remove unused `err' variable.
6989 (hack-dir-local-variables--warned-coding): New var.
6990 (hack-dir-local-variables): Use it to avoid repeated warnings.
6991 (make-backup-file-name--default-function): New function.
6992 (make-backup-file-name-function): Use it as default.
6993 (buffer-stale--default-function): New function.
6994 (buffer-stale-function): Use it as default.
6995 (revert-buffer-insert-file-contents--default-function): New function.
6996 (revert-buffer-insert-file-contents-function): Use it as default.
6997 (insert-directory): Avoid add-to-list.
6998
6999 * autorevert.el (auto-revert-handler): Simplify.
7000 Use buffer-stale--default-function.
7001
7002 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7003
7004 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7005
7006 * whitespace.el (whitespace-ensure-local-variables): New function.
7007 (whitespace-cleanup-region): Call it.
7008 (whitespace-turn-on): Call it.
7009
7010 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7011
7012 Complete file name handlers.
7013
7014 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7015 (tramp-handle-verify-visited-file-modtime)
7016 (tramp-handle-file-notify-rm-watch): New functions.
7017 (tramp-call-process): Do not bind `default-directory'.
7018
7019 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7020 Order alphabetically.
7021 [access-file, add-name-to-file, dired-call-process]:
7022 [dired-compress-file, file-acl, file-notify-rm-watch]:
7023 [file-ownership-preserved-p, file-selinux-context]:
7024 [make-directory-internal, make-symbolic-link, set-file-acl]:
7025 [set-file-selinux-context, set-visited-file-modtime]:
7026 [verify-visited-file-modtime]: Add handler.
7027 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7028
7029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7030 [file-notify-add-watch, file-notify-rm-watch]:
7031 [set-file-times, set-visited-file-modtime]:
7032 [verify-visited-file-modtime]: Add handler.
7033 (with-tramp-gvfs-error-message)
7034 (tramp-gvfs-handle-set-visited-file-modtime)
7035 (tramp-gvfs-fuse-file-name): Remove.
7036 (tramp-gvfs-handle-file-notify-add-watch)
7037 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7038 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7039
7040 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7041 Order alphabetically.
7042 [file-notify-rm-watch ]: Use default Tramp handler.
7043 [executable-find]: Remove private handler.
7044 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7045 `default-directory'.
7046 (tramp-sh-handle-executable-find)
7047 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7048 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7049 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7050 Do not use `format' in `tramp-message'.
7051
7052 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7053 [file-notify-rm-watch, set-visited-file-modtime]:
7054 [verify-visited-file-modtime]: Add handler.
7055 (tramp-smb-call-winexe): Do not bind `default-directory'.
7056
7057 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7058
7059 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7060
7061 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7062
7063 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7064 use it.
7065 (log-view-diff-changeset): Same.
7066 (log-view-diff-common): Call backend command `previous-revision'
7067 to find out the previous revision, in both cases. Swap the
7068 variables `to' and `fr', so that `fr' usually refers to the
7069 earlier revision (Bug#14989).
7070
7071 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7072
7073 * ibuf-ext.el (ibuffer-filter-by-filename):
7074 Make it work with dired buffers too.
7075
7076 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7077
7078 * emacs-lisp/re-builder.el (reb-color-display-p):
7079 * files.el (save-buffers-kill-terminal):
7080 * net/browse-url.el (browse-url):
7081 * server.el (server-save-buffers-kill-terminal):
7082 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7083 Prefer nil to selected-frame for the first arg of frame-parameter.
7084
7085 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7086
7087 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7088
7089 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7090
7091 * minibuffer.el (completion--twq-all): Try and preserve each
7092 completion's case choice (bug#14907).
7093
7094 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7095
7096 * net/network-stream.el (open-network-stream): Mention the new
7097 :nogreeting parameter.
7098 (network-stream-open-starttls): Use the :nogreeting parameter
7099 (bug#14938).
7100
7101 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7102
7103 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7104 more natural than popping.
7105
7106 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7107 (shr-urlify): Highlight under mouse.
7108
7109 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7110
7111 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7112
7113 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7114
7115 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7116 buffer for output.
7117
7118 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7119 point-min==1. Fix search string. Fix parentheses missing.
7120
7121 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7122 assume point-min==1. Fix search string. Fix parentheses missing.
7123
7124 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7125
7126 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7127 buffer for output.
7128
7129 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7130
7131 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7132 initial frame is minibuffer-less. (Bug#14841)
7133
7134 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7135
7136 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7137 option.
7138
7139 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7140 (tramp-maybe-open-connection): Use it.
7141
7142 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7143
7144 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7145 minimal set of parameters passed when creating a frame, because
7146 the minibuffer status of a frame cannot be changed later.
7147
7148 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7149
7150 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7151 replace-regexp-in-string and inadvertent omissions in previous change.
7152 (todo-filter-items): Ensure only file names are comma-separated in
7153 name of filtered items buffer.
7154
7155 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * desktop.el: Optionally force offscreen frames back onscreen.
7158 (desktop-restoring-reuses-frames): New option.
7159 (desktop--compute-pos, desktop--move-onscreen): New functions.
7160 (desktop--make-frame): Use desktop--move-onscreen.
7161
7162 2013-07-27 Alan Mackenzie <acm@muc.de>
7163
7164 Fontify a Java generic method as a function.
7165 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7166 value to t.
7167
7168 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7169
7170 * calendar/todo-mode.el: Add command to rename todo files.
7171 (todo-rename-file): New command.
7172 (todo-key-bindings-t): Add key binding for it. Change the
7173 bindings of todo-filter-regexp-items(-multifile) to use `x'
7174 instead of `r', since the latter is better suited to the new
7175 renaming command.
7176
7177 2013-07-27 Alan Mackenzie <acm@muc.de>
7178
7179 Make Java try-with-resources statement parse properly.
7180 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7181 (c-block-stmt-1-2-key): New language constants/variables.
7182 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7183 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7184 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7185 with c-block-stmt-1-2-key.
7186
7187 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7188
7189 * desktop.el (desktop--make-frame): Apply most frame parameters after
7190 creating the frame to force (partially or totally) offscreen frames to
7191 be restored as such.
7192
7193 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7194
7195 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7196 (Bug#14948)
7197
7198 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7199
7200 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7201 `base' arg of backtrace-frame.
7202
7203 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7204
7205 * simple.el (list-processes): Doc fix.
7206
7207 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7208
7209 * desktop.el (desktop--select-frame):
7210 Try harder to reuse existing frames.
7211
7212 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7215 (edebug-eval): Use backtrace-eval.
7216 (edebug--display, edebug--recursive-edit): Don't let-bind the
7217 edebug-outer-* vars that keep track of variables we locally let-bind.
7218 (edebug-outside-excursion): Don't restore outside values of locally
7219 let-bound vars.
7220 (edebug--display): Use user-error.
7221 (cl-lexical-debug, cl-debug-env): Remove.
7222
7223 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7226 are restored to be sure that they are visible before deleting any
7227 remaining ones.
7228
7229 2013-07-26 Matthias Meulien <orontee@gmail.com>
7230
7231 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7232 vc-print-root-log. (Bug#14948)
7233
7234 2013-07-26 Richard Stallman <rms@gnu.org>
7235
7236 Add aliases for encrypting mail.
7237 * epa.el (epa-mail-aliases): New option.
7238 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7239 Bind inhibit-read-only so read-only text doesn't ruin everything.
7240 (epa-mail-default-recipients): New subroutine broken out.
7241 Handle epa-mail-aliases.
7242
7243 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 Add support for lexical variables to the debugger's `e' command.
7246 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7247 vars, except for debugger-outer-match-data.
7248 (debugger-frame-number): Move check for "on a function call" from
7249 callers into it. Add `skip-base' argument.
7250 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7251 (debugger-env-macro): Only reset the state stored in non-variables,
7252 i.e. current-buffer and match-data.
7253 (debugger-eval-expression): Rewrite using backtrace-eval.
7254 * subr.el (internal--called-interactively-p--get-frame): Remove.
7255 (called-interactively-p):
7256 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7257 `base' arg of backtrace-frame instead.
7258
7259 2013-07-26 Glenn Morris <rgm@gnu.org>
7260
7261 * align.el (align-regexp): Doc fix. (Bug#14857)
7262 (align-region): Explicit error if subexpression missing/does not match.
7263
7264 * simple.el (global-visual-line-mode):
7265 Do not duplicate the mode lighter. (Bug#14858)
7266
7267 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7268
7269 * window.el (display-buffer): In display-buffer bind
7270 split-window-keep-point to t, bug#14829.
7271
7272 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7273
7274 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7275 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7276 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7277 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7278 Change accordingly.
7279 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7280 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7281
7282 2013-07-25 Glenn Morris <rgm@gnu.org>
7283
7284 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7285
7286 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7287
7288 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7289 parameter to modify-frame-parameters if the value has not changed;
7290 this is a workaround for bug#14949.
7291 (desktop--make-frame): On cl-delete-if call, check parameter name,
7292 not full parameter.
7293
7294 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7295
7296 * vc/vc.el (vc-ignore): New function.
7297
7298 * vc/vc-svn.el (vc-svn-ignore): New function.
7299
7300 * vc/vc-hg.el (vc-hg-ignore): New function.
7301
7302 * vc/vc-git.el (vc-git-ignore): New function.
7303
7304 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7305 (vc-dir-ignore): New function.
7306
7307 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7308 (cvs-append-to-ignore): Move here from pcvs.el.
7309
7310 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7311
7312 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7313
7314 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7315
7316 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7317 (desktop-restore-frames): Warn when deleting an existing frame failed.
7318
7319 2013-07-24 Glenn Morris <rgm@gnu.org>
7320
7321 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7322
7323 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7324
7325 * filenotify.el (file-notify-supported-p):
7326 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7327 Remove functions.
7328
7329 * autorevert.el (auto-revert-use-notify):
7330 (auto-revert-notify-add-watch):
7331 * net/tramp.el (tramp-file-name-for-operation):
7332 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7333 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7334 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7335 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7336 Remove `file-notify-supported-p' entry.
7337
7338 2013-07-24 Glenn Morris <rgm@gnu.org>
7339
7340 * printing.el: Replace all uses of deleted ps-windows-system,
7341 ps-lp-system, ps-flatten-list with lpr- versions.
7342
7343 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7344
7345 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7346 checked with memq (bug#14935).
7347
7348 * files.el (revert-buffer-function): Use a non-nil default.
7349 (revert-buffer-preserve-modes): Declare var to
7350 provide access to the `preserve-modes' argument.
7351 (revert-buffer): Let-bind it.
7352 (revert-buffer--default): New function, extracted from revert-buffer.
7353
7354 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7355
7356 * lpr.el: Signal print errors more prominently.
7357 (print-region-function): Don't default to nil.
7358 (lpr-print-region): New function, extracted from print-region-1.
7359 Check lpr's return value and signal an error in case of problem.
7360 (print-region-1): Use it.
7361 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7362 versions instead.
7363 (ps-printer-name): Default to nil.
7364 (ps-printer-name-option): Default to lpr-printer-switch.
7365 (ps-print-region-function): Don't default to nil.
7366 (ps-postscript-code-directory): Simplify default.
7367 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7368 (ps-string-list, ps-eval-switch, ps-flatten-list)
7369 (ps-flatten-list-1): Remove.
7370 (ps-multibyte-buffer): Avoid setq.
7371 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7372 (print-region-function, ps-print-region-function): Don't set them here.
7373
7374 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7375
7376 * ido.el (ido-fractionp):
7377 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7378 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7379 (ido-max-directory-size, ido-max-dir-file-cache)
7380 (ido-decorations): Doc fix.
7381
7382 * ansi-color.el: Fix old URL.
7383
7384 2013-07-23 Michael R. Mauger <michael@mauger.com>
7385
7386 * progmodes/sql.el: Version 3.3
7387 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7388 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7389 (sql-interactive-remove-continuation-prompt): Rewrite, use
7390 functions above. Fix continuation prompt and complete output line
7391 handling.
7392 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7393 redirected output buffer.
7394 (sql-mode): Restore deleted code (Bug#13591).
7395
7396 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7397
7398 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7399
7400 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7401
7402 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7403
7404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7405 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7407
7408 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7409
7410 * desktop.el (desktop-clear): Simplify; remove useless checks
7411 against invalid buffer names.
7412 (desktop-list*): Use cl-list*.
7413 (desktop-buffer-info, desktop-create-buffer): Simplify.
7414
7415 2013-07-23 Leo Liu <sdl.web@gmail.com>
7416
7417 * bookmark.el (bookmark-make-record): Restore NAME as a default
7418 value. (Bug#14933)
7419
7420 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7423 extracted from autoload--insert-text.
7424 (autoload--insert-text): Remove.
7425 (autoload--print-cookie-text): New function, extracted from
7426 autoload--insert-cookie-text.
7427 (autoload--insert-cookie-text): Remove.
7428 (autoload-generate-file-autoloads): Adjust calls accordingly.
7429
7430 * winner.el (winner-hook-installed-p): Remove.
7431 (winner-mode): Simplify accordingly.
7432
7433 * subr.el (add-to-list): Fix compiler-macro when `append' is
7434 not constant. Don't use `cl-member' for the base case.
7435
7436 * progmodes/subword.el: Fix boundary case (bug#13758).
7437 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7438 own group.
7439 (subword-backward-regexp): Make it a constant.
7440 (subword-forward-internal): Don't treat a trailing capital as the
7441 beginning of a word.
7442
7443 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7444
7445 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7446 global value of tabulated-list-revert-hook (bug#14930).
7447
7448 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7449
7450 * desktop.el: Require 'cl-lib.
7451 (desktop-before-saving-frames-functions): New hook.
7452 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7453 for frames being saved. Rename from desktop--save-minibuffer-frames.
7454 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7455 Do not save frames with non-nil `desktop-dont-save' parameter.
7456 Filter out deleted frames.
7457 (desktop--find-frame): Use cl-find-if.
7458 (desktop--select-frame): Use cl-(first|second|third) to access values
7459 of desktop-mini.
7460 (desktop--make-frame): Use cl-delete-if.
7461 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7462 (desktop-restore-frames): Use cl-(first|second|third) to access values
7463 of desktop-mini. Look for visible frame at the end, not while
7464 restoring frames.
7465
7466 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7467 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7468 Use string-match-p, looking-at-p (bug#14927).
7469
7470 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7471
7472 * desktop.el (desktop-saved-frame-states):
7473 Rename from desktop--saved-states; all users changed.
7474 (desktop-save-frames): Rename from desktop--save-frames.
7475 Do not save state to desktop file.
7476 (desktop-save): Save desktop-saved-frame-states to desktop file
7477 and reset to nil.
7478 (desktop-restoring-frames-p): New function.
7479 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7480 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7481 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7482
7483 * desktop.el: Correctly restore iconified frames.
7484 (desktop--filter-iconified-position): New function.
7485 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7486
7487 2013-07-20 Glenn Morris <rgm@gnu.org>
7488
7489 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7490 Let `message' do the formatting.
7491 (def-gdb-preempt-display-buffer): Add explicit format.
7492
7493 * image-dired.el (image-dired-track-original-file):
7494 Use with-current-buffer.
7495 (image-dired-track-thumbnail): Use with-current-buffer.
7496 Avoid changing point of wrong window.
7497
7498 * image-dired.el (image-dired-track-original-file):
7499 Avoid changing point of wrong window. (Bug#14909)
7500
7501 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7502
7503 * progmodes/gdb-mi.el (gdb-done-or-error):
7504 Guard against "%" in gdb output. (Bug#14127)
7505
7506 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7507
7508 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7509 (Bug#14826)
7510
7511 * international/mule.el (coding-system-iso-2022-flags): Fix last
7512 change.
7513
7514 2013-07-20 Kenichi Handa <handa@gnu.org>
7515
7516 * international/mule.el (coding-system-iso-2022-flags):
7517 Add `8-bit-level-4'. (Bug#8522)
7518
7519 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7520
7521 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7522 (bug#14815).
7523
7524 * net/eww.el (eww-process-text-input): Allow inputting when the
7525 point is at the start of the line, as the properties aren't
7526 front-sticky.
7527
7528 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7529 degenerate widths.
7530
7531 2013-07-19 Richard Stallman <rms@gnu.org>
7532
7533 * epa.el (epa-popup-info-window): Doc fix.
7534
7535 * subr.el (split-string): New arg TRIM.
7536
7537 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7538
7539 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7540 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7541
7542 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7543
7544 * filenotify.el (file-notify--library): Rename from
7545 `file-notify-support'. Do not autoload. Adapt all uses.
7546 (file-notify-supported-p): New defun.
7547
7548 * autorevert.el (auto-revert-use-notify):
7549 Use `file-notify-supported-p' instead of `file-notify-support'.
7550 Adapt docstring.
7551 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7552
7553 * net/tramp.el (tramp-file-name-for-operation):
7554 Add `file-notify-supported-p'.
7555
7556 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7557 New defun.
7558 (tramp-sh-file-name-handler-alist): Add it as handler for
7559 `file-notify-supported-p '.
7560
7561 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7562 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7563 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7564 Add `ignore' as handler for `file-notify-*' functions.
7565
7566 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7567
7568 * simple.el (line-move-partial, line-move): Don't start vscroll or
7569 scroll-up if the current line is not taller than the window.
7570 (Bug#14881)
7571
7572 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7573
7574 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7575 highlight question marks in the method names as strings.
7576 (ruby-block-beg-keywords): Inline.
7577 (ruby-font-lock-keyword-beg-re): Extract from
7578 `ruby-font-lock-keywords'.
7579
7580 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7581
7582 * frame.el (blink-cursor-blinks): New defcustom.
7583 (blink-cursor-blinks-done): New defvar.
7584 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7585 (blink-cursor-timer-function): Check if number of blinks has been
7586 done on X and NS.
7587 (blink-cursor-suspend, blink-cursor-check): New defuns.
7588
7589 2013-07-15 Glenn Morris <rgm@gnu.org>
7590
7591 * edmacro.el (edmacro-format-keys): Fix previous change.
7592
7593 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7594
7595 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7596 The hack didn't work outside English locales anyway.
7597
7598 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7599
7600 * simple.el (define-alternatives): Rename from alternatives-define,
7601 per RMS' suggestion.
7602
7603 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * desktop.el (desktop-restore-frames): Change default to t.
7606 (desktop-restore-in-current-display): Now offer more options.
7607 (desktop-restoring-reuses-frames): New customization option.
7608 (desktop--saved-states): Doc fix.
7609 (desktop-filter-parameters-alist): New variable, renamed and expanded
7610 from desktop--excluded-frame-parameters.
7611 (desktop--target-display): New variable.
7612 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7613 (desktop--filter-tty*, desktop--filter-*-color)
7614 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7615 (desktop--filter-save-desktop-parm)
7616 (desktop-restore-in-original-display-p): New functions.
7617 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7618 (desktop--save-minibuffer-frames): New function, inspired by a similar
7619 function from Martin Rudalics.
7620 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7621 (desktop--restore-in-this-display-p): Remove.
7622 (desktop--find-frame): Rename from desktop--find-frame-in-display
7623 and add predicate argument.
7624 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7625 (desktop--reuse-list): New variable.
7626 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7627 New functions.
7628 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7629
7630 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7631
7632 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7633
7634 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7635
7636 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7637 Highlight conversion methods on Kernel.
7638
7639 2013-07-13 Alan Mackenzie <acm@muc.de>
7640
7641 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7642 and comment it out. This out-commenting enables certain C++
7643 declarations to be parsed correctly.
7644
7645 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7646
7647 * international/mule.el (define-coding-system): Doc fix.
7648
7649 * simple.el (default-font-height): Don't call font-info if the
7650 frame's default font didn't change since the frame was created.
7651 (Bug#14838)
7652
7653 2013-07-13 Leo Liu <sdl.web@gmail.com>
7654
7655 * ido.el (ido-read-file-name): Guard against non-symbol value.
7656
7657 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7658
7659 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7660 in nested defuns.
7661
7662 2013-07-13 Leo Liu <sdl.web@gmail.com>
7663
7664 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7665 ido-set-matches call. (Bug#6852)
7666
7667 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7668
7669 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7670 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7671 Ruby 2.0.
7672 (ruby-font-lock-keywords): Distinguish calls to functions with
7673 module-like names from module references. Highlight character
7674 literals.
7675
7676 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7677
7678 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7679 (gdb-send): Handle continued commands. (Bug#14847)
7680
7681 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7682
7683 * desktop.el (desktop--v2s): Remove unused local variable.
7684 (desktop-save-buffer): Make defvar-local; adjust docstring.
7685 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7686 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7687
7688 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7689
7690 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7691
7692 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7693
7694 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7695 (Bug#14842)
7696
7697 2013-07-12 Glenn Morris <rgm@gnu.org>
7698
7699 * doc-view.el: Require cl-lib at runtime too.
7700 (doc-view-remove-if): Remove.
7701 (doc-view-search-next-match, doc-view-search-previous-match):
7702 Use cl-remove-if.
7703
7704 * edmacro.el: Require cl-lib at runtime too.
7705 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7706 (edmacro-mismatch, edmacro-subseq): Remove.
7707
7708 * shadowfile.el: Require cl-lib.
7709 (shadow-remove-if): Remove.
7710 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7711 Use cl-remove-if.
7712
7713 * wid-edit.el: Require cl-lib.
7714 (widget-choose): Use cl-remove-if.
7715 (widget-remove-if): Remove.
7716
7717 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7718 (ebrowse-delete-if-not): Remove.
7719 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7720 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7721 Use cl-delete-if-not.
7722
7723 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7724
7725 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7726 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7727
7728 2013-07-12 Leo Liu <sdl.web@gmail.com>
7729
7730 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7731
7732 2013-07-11 Glenn Morris <rgm@gnu.org>
7733
7734 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7735 (edebug-gensym-index, edebug-gensym):
7736 Remove reimplementation of cl-gensym.
7737 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7738
7739 * thumbs.el: Require cl-lib at run-time too.
7740 (thumbs-gensym-counter, thumbs-gensym):
7741 Remove reimplementation of cl-gensym.
7742 (thumbs-temp-file): Use cl-gensym.
7743
7744 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7745 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7746 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7747 (ert--union, ert--gensym-counter, ert--gensym-counter)
7748 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7749 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7750 (ert-make-test-unbound, ert--expand-should-1)
7751 (ert--expand-should, ert--should-error-handle-error)
7752 (should-error, ert--explain-equal-rec)
7753 (ert--plist-difference-explanation, ert-select-tests)
7754 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7755 Use cl-lib functions rather than reimplementations.
7756
7757 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7758
7759 * net/tramp.el (tramp-methods): Extend docstring.
7760 (tramp-connection-timeout): New defcustom.
7761 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7762 (with-tramp-progress-reporter): Simplify.
7763 (tramp-process-actions): Improve messages.
7764
7765 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7766 * net/tramp-sh.el (tramp-maybe-open-connection):
7767 Use `tramp-connection-timeout'.
7768 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7769 (Bug#14808)
7770
7771 2013-07-11 Leo Liu <sdl.web@gmail.com>
7772
7773 * ido.el (ido-read-file-name): Conform to the requirements of
7774 read-file-name. (Bug#11861)
7775 (ido-read-directory-name): Conform to the requirements of
7776 read-directory-name.
7777
7778 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * subr.el (delay-warning): New function.
7781
7782 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7783
7784 * simple.el (default-line-height): New function.
7785 (line-move-partial, line-move): Use it instead of computing the
7786 line height inline.
7787 (line-move-partial): Always compute ROWH. If the last line is
7788 partially-visible, but its text is completely visible, allow
7789 cursor to enter such a partially-visible line.
7790
7791 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7792
7793 Improve error messages. (Bug#14808)
7794
7795 * net/tramp.el (tramp-current-connection): New defvar, moved from
7796 tramp-sh.el.
7797 (tramp-message-show-progress-reporter-message): Remove, not
7798 needed anymore.
7799 (tramp-error-with-buffer): Show message in minibuffer.
7800 Discard input before waiting. Reset connection timestamp.
7801 (with-tramp-progress-reporter): Improve messages.
7802 (tramp-process-actions): Use progress reporter. Delete process in
7803 case of error. Improve messages.
7804
7805 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7806 Call `tramp-error-with-buffer' with vector and buffer.
7807 (tramp-current-connection): Remove.
7808 (tramp-maybe-open-connection): The car of
7809 `tramp-current-connection' are the first 3 slots of the vector.
7810
7811 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7812
7813 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7814 inside continued strings.
7815
7816 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7817
7818 Timestamp fixes for undo (Bug#14824).
7819 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7820
7821 2013-07-10 Leo Liu <sdl.web@gmail.com>
7822
7823 * files.el (require-final-newline): Allow safe local value.
7824 (Bug#14834)
7825
7826 2013-07-09 Leo Liu <sdl.web@gmail.com>
7827
7828 * ido.el (ido-read-directory-name): Handle fallback.
7829 (ido-read-file-name): Update DIR to ido-current-directory.
7830 (Bug#1516)
7831 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7832
7833 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7834
7835 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7836 "autoload". Remove "warn lower camel case" section, previously
7837 commented out. Highlight negation char. Do not highlight the
7838 target in singleton method definitions.
7839
7840 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7841
7842 * faces.el (tty-setup-hook): Declare the hook.
7843
7844 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7845 and detect when a guard/pred depends on local vars (bug#14773).
7846 (pcase--u1): Adjust caller.
7847
7848 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7849
7850 * simple.el (line-move-partial, line-move): Account for
7851 line-spacing.
7852 (line-move-partial): Avoid setting vscroll when the last
7853 partially-visible line in window is of default height.
7854
7855 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7856
7857 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7858 been used a while.
7859
7860 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7861
7862 * subr.el (read-quoted-char): Remove unused local variable `char'.
7863
7864 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7865
7866 * ediff.el (ediff-version): Version update.
7867 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7868 (ediff-merge-with-ancestor-command, ediff-directories-command)
7869 (ediff-directories3-command, ediff-merge-directories-command)
7870 (ediff-merge-directories-with-ancestor-command): New functions.
7871 All are command-line interfaces to ediff: to facilitate calling
7872 Emacs with the appropriate ediff functions invoked.
7873
7874 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7875 (viper-save-kill-buffer): Check if buffer is modified.
7876
7877 * viper.el (viper-version): Version update.
7878 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7879
7880 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7883 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7884 (viper-intercept-ESC-key): Simplify.
7885 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7886 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7887 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7888 (viper-setup-ESC-to-escape): New functions.
7889 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7890 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7891
7892 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7893
7894 * simple.el (default-font-height, window-screen-lines):
7895 New functions.
7896 (line-move, line-move-partial): Use them instead of
7897 frame-char-height and window-text-height. This makes scrolling
7898 text smoother when the buffer's default face uses a font that is
7899 different from the frame's default font.
7900
7901 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7902
7903 * files.el (write-file): Do not display confirm dialog for NS,
7904 it does its own dialog, which can't be canceled (Bug#14578).
7905
7906 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7907
7908 * simple.el (line-move-partial): Adjust the row returned by
7909 posn-at-point for the current window-vscroll. (Bug#14567)
7910
7911 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7912
7913 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7914 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7915 spaces.
7916
7917 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7918
7919 * window.el (window-state-put-stale-windows): New variable.
7920 (window--state-put-2): Save list of windows without matching buffer.
7921 (window-state-put): Remove "bufferless" windows if possible.
7922
7923 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7924
7925 * simple.el (alternatives-define): Remove leftover :group keyword.
7926 Tweak docstring.
7927
7928 2013-07-06 Leo Liu <sdl.web@gmail.com>
7929
7930 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7931 (ido-enable-virtual-buffers): New variable.
7932 (ido-buffer-internal, ido-toggle-virtual-buffers)
7933 (ido-make-buffer-list): Use it.
7934 (ido-exhibit): Support turning on and off virtual buffers
7935 automatically.
7936
7937 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7938
7939 * simple.el (alternatives-define): New macro.
7940
7941 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * subr.el (read-quoted-char): Use read-key.
7944 (sit-for): Let read-event decode tty input (bug#14782).
7945
7946 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7947
7948 * calendar/todo-mode.el: Add handling of file deletion, both by
7949 mode command and externally. Fix various related bugs.
7950 Clarify Commentary and improve some documentation strings and code.
7951 (todo-delete-file): New command.
7952 (todo-check-file): New function.
7953 (todo-show): Handle external deletion of the file we're trying to
7954 show (bug#14688). Replace called-interactively-p by an optional
7955 prefix argument to avoid problematic interaction with catch form
7956 when byte compiled (bug#14702).
7957 (todo-quit): Handle external deletion of the archive's todo file.
7958 Make sure the buffer that was visiting the archive file is still
7959 live before trying to bury it.
7960 (todo-category-completions): Handle external deletion of any
7961 category completion files.
7962 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7963 of todo files, in case of external deletion.
7964 (todo-add-file): Replace unnecessary setq by let-binding.
7965 (todo-find-archive): Check whether there are any archives.
7966 Replace unnecessary setq by let-binding.
7967 (todo-archive-done-item): Use find-file-noselect to get the
7968 archive buffer whether or not the archive already exists.
7969 Remove superfluous code. Use file size instead of buffer-file-name to
7970 check if the archive is new; if it is, update list of archives.
7971 (todo-default-todo-file): Allow nil to be a valid value for when
7972 there are no todo files.
7973 (todo-reevaluate-default-file-defcustom): Use corrected definition
7974 of todo-default-todo-file.
7975 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7976 (todo-delete-category, todo-show-categories-table)
7977 (todo-category-number): Clarify comment.
7978 (todo-filter-items): Clarify documentation string.
7979 (todo-show-current-file, todo-display-as-todo-file)
7980 (todo-reset-and-enable-done-separator): Tweak documentation string.
7981 (todo-done-separator): Make separator length window-width, since
7982 bug#2749 is now fixed.
7983
7984 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7985
7986 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7987 Support both "gvfs-monitor-dir" and "inotifywait".
7988 (tramp-sh-file-inotifywait-process-filter): Rename from
7989 `tramp-sh-file-notify-process-filter'.
7990 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7991 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7992
7993 2013-07-05 Leo Liu <sdl.web@gmail.com>
7994
7995 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7996
7997 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7998
7999 * frame.el (display-pixel-height, display-pixel-width)
8000 (display-mm-height, display-mm-width): Mention behavior on
8001 multi-monitor setups in docstrings.
8002 (w32-display-monitor-attributes-list): Declare function.
8003 (display-monitor-attributes-list): Use it.
8004
8005 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8006
8007 * filenotify.el: New package.
8008
8009 * autorevert.el (top): Require filenotify.el.
8010 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8011 instead.
8012 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8013 (auto-revert-notify-handler): Use `file-notify-*' functions.
8014
8015 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8016
8017 * net/tramp.el (tramp-file-name-for-operation):
8018 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8019
8020 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8021 for `file-notify-add-watch' and `file-notify-rm-watch'.
8022 (tramp-process-sentinel): Improve trace.
8023 (tramp-sh-handle-file-notify-add-watch)
8024 (tramp-sh-file-notify-process-filter)
8025 (tramp-sh-handle-file-notify-rm-watch)
8026 (tramp-get-remote-inotifywait): New defuns.
8027
8028 2013-07-03 Juri Linkov <juri@jurta.org>
8029
8030 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8031 call of `occur-read-primary-args' to interactive spec.
8032
8033 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8034 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8035
8036 2013-07-03 Matthias Meulien <orontee@gmail.com>
8037
8038 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8039 `Buffer-menu-multi-occur'. Add it to the menu.
8040 (Buffer-menu-mode): Document it in docstring.
8041 (Buffer-menu-multi-occur): New command. (Bug#14673)
8042
8043 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8046 keywords and built-ins.
8047
8048 2013-07-03 Glenn Morris <rgm@gnu.org>
8049
8050 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8051
8052 Make info-xref checks case-sensitive by default
8053 * info.el (Info-find-node, Info-find-in-tag-table)
8054 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8055 Add option for exact case matching of nodes.
8056 * info-xref.el (info-xref): New custom group.
8057 (info-xref-case-fold): New option.
8058 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8059
8060 2013-07-03 Leo Liu <sdl.web@gmail.com>
8061
8062 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8063
8064 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8065
8066 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8067 middle of block statement initially, lower the depth. Remove
8068 FIXME comment, not longer valid. Remove middle of block statement
8069 detection, no need to do that anymore since we've been using
8070 `ruby-parse-region' here.
8071
8072 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8073
8074 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8075
8076 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8077
8078 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8079
8080 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8081
8082 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8083 (desktop-restore-in-current-display): New customization option.
8084 (desktop--excluded-frame-parameters): Add `font'.
8085 (desktop--save-frames): Rename from desktop--save-windows.
8086 (desktop--restore-in-this-display-p): New function.
8087 (desktop--make-full-frame): Remove unwanted width/height from
8088 full(width|height) frames.
8089 (desktop--restore-frames): Rename from desktop--restore-windows.
8090 Obey desktop-restore-current-display. Do not delete old frames or
8091 select a new frame unless we were able to restore at least one frame.
8092
8093 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8094
8095 * files.el (find-file-noselect): Simplify conditional expression.
8096
8097 * textmodes/remember.el (remember-append-to-file):
8098 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8099
8100 Add `remember-notes' function to store random notes across Emacs
8101 restarts.
8102 * textmodes/remember.el (remember-data-file): Add :set callback to
8103 affect notes buffer (if any).
8104 (remember-notes): New command.
8105 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8106 New defcustoms for the `remember-notes' function.
8107 (remember-notes-save-and-bury-buffer): New command.
8108 (remember-notes-mode-map): New variable.
8109 (remember-mode): New minor mode.
8110 (remember-notes--kill-buffer-query): New function.
8111 * startup.el (initial-buffer-choice): Add notes to custom type.
8112
8113 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8114
8115 * bindings.el (right-char, left-char): Don't call sit-for, this is
8116 no longer needed. Use arithmetic comparison only for numerical
8117 arguments.
8118
8119 * international/mule-cmds.el (select-safe-coding-system):
8120 Handle the case of FROM being a string correctly. (Bug#14755)
8121
8122 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8123
8124 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8125 progression on degenerate tables.
8126 (shr-rescale-image): ImageMagick animated images currently don't work.
8127
8128 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8129
8130 Some fixes and improvements for desktop frame restoration.
8131 It is still experimental and disabled by default.
8132 * desktop.el (desktop--save-windows): Put the selected frame at
8133 the head of the list.
8134 (desktop--make-full-frame): New function.
8135 (desktop--restore-windows): Try to re-select the frame that was
8136 selected upon saving. Do not abort if some frames fail to restore,
8137 just show an error message and continue. Set up maximized frames
8138 so they have default non-maximized dimensions.
8139
8140 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8141
8142 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8143 Don't start heredoc inside a string or comment.
8144
8145 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8146
8147 * bindings.el (visual-order-cursor-movement): New defcustom.
8148 (right-char, left-char): Provide visual-order cursor motion by
8149 calling move-point-visually. Update the doc strings.
8150
8151 2013-06-28 Kenichi Handa <handa@gnu.org>
8152
8153 * international/mule.el (define-coding-system): New coding system
8154 properties :inhibit-null-byte-detection,
8155 :inhibit-iso-escape-detection, and :prefer-utf-8.
8156 (set-buffer-file-coding-system): If :charset-list property of
8157 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8158 appropriate for setting.
8159
8160 * international/mule-cmds.el (select-safe-coding-system):
8161 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8162 multibyte characters, return utf-8 (or one of its siblings).
8163
8164 * international/mule-conf.el (prefer-utf-8): New coding system.
8165 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8166 files.
8167
8168 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8169
8170 * net/shr.el (shr-render-region): New function.
8171
8172 * net/eww.el: Autoload `eww-browse-url'.
8173
8174 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8175
8176 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8177 Adapt to `package-desc-version' being a list.
8178 Use `package--ac-desc-version' to retrieve version from a package
8179 archive element.
8180
8181 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8182
8183 New experimental feature to save&restore window and frame setup.
8184 * desktop.el (desktop-save-windows): New defcustom.
8185 (desktop--saved-states): New var.
8186 (desktop--excluded-frame-parameters): New defconst.
8187 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8188 (desktop--restore-windows, desktop--save-windows): New functions.
8189 (desktop-save): Call `desktop--save-windows'.
8190 (desktop-read): Call `desktop--restore-windows'.
8191
8192 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8193
8194 * net/shr.el (add-face-text-property): Remove compat definition.
8195
8196 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8197
8198 * info.el (Info-try-follow-nearest-node): Move search for footnote
8199 above search for node name to prevent missing a footnote (bug#14717).
8200
8201 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8202
8203 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8204
8205 2013-06-27 Leo Liu <sdl.web@gmail.com>
8206
8207 * net/eww.el (eww-read-bookmarks): Check file size.
8208
8209 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8212 advice--pending if newdef is nil or an autoload (bug#13820).
8213 (advice-mapc): New function.
8214
8215 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216
8217 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8218 probably.
8219 (eww-mode-map): Add a menu bar.
8220 (eww-add-bookmark): New command.
8221 (eww-bookmark-mode): New mode and commands.
8222 (eww-add-bookmark): Remove newlines from the title.
8223 (eww-bookmark-browse): Don't bug out if it's the only window.
8224
8225 2013-06-26 Glenn Morris <rgm@gnu.org>
8226
8227 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8228 (hfy-size): Handle ttys. (Bug#14668)
8229
8230 * info-xref.el: Update for Texinfo 5 change in *note format.
8231 (info-xref-node-re, info-xref-note-re): New constants.
8232 (info-xref-check-buffer): Use info-xref-note-re.
8233
8234 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8237
8238 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8239 nil terminate the loop (bug#14718).
8240
8241 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8242
8243 * net/eww.el: Rework history traversal. When going forward/back,
8244 put these actions into the history, too, so that they can be
8245 replayed.
8246 (eww-render): Move the history reset to the correct buffer.
8247
8248 2013-06-25 Juri Linkov <juri@jurta.org>
8249
8250 * files-x.el (modify-dir-local-variable): Change the header comment
8251 in the file with directory local variables. (Bug#14692)
8252
8253 * files-x.el (read-file-local-variable-value): Add `default'.
8254 (Bug#14710)
8255
8256 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8257
8258 * net/eww.el (eww-make-unique-file-name): Create a unique file
8259 name before saving to entering `y' accidentally asynchronously.
8260
8261 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8262
8263 * net/eww.el (eww-download): New command and keystroke.
8264
8265 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8266
8267 * net/eww.el (eww-copy-page-url): Change name of command.
8268
8269 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8270 be more consistent with Info and dired.
8271
8272 * net/eww.el (eww-mode-map): Ditto.
8273
8274 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8275
8276 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8277 packages from archives.
8278 (package-archive-contents): Change format; include obsolete packages.
8279 (package-desc): Use `dir' to mark builtin packages.
8280 (package--from-builtin): Set the `dir' field to `builtin'.
8281 (generated-autoload-file, version-control): Declare.
8282 (package-compute-transaction): Change first arg and return value to be
8283 lists of package-descs. Adjust to new package-archive-contents format.
8284 (package--add-to-archive-contents): Adjust to new
8285 package-archive-contents format.
8286 (package-download-transaction): Arg is now a list of package-descs.
8287 (package-install): If `pkg' is a package name, pass it as
8288 a requirement, so it is subject to the usual (e.g. disabled) checks.
8289 (describe-package): Accept package-desc as well.
8290 (describe-package-1): Describe a specific package-desc. Add links to
8291 other package-descs for the same package name.
8292 (package-menu-describe-package): Pass the actual package-desc.
8293 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8294 works correctly.
8295 (package-desc-status): New function.
8296 (package-menu--refresh): New function, extracted
8297 from package-menu--generate.
8298 (package-menu--generate): Use it.
8299 (package-delete): Update package-alist.
8300 (package-menu-execute): Don't call package-initialize.
8301
8302 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8303 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8304 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8305 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8306 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8307 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8308
8309 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8310
8311 * window.el (window--state-get-1): Workaround for bug#14527.
8312 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8313
8314 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315
8316 * net/eww.el (eww-back-url): Implement the history by stashing all
8317 the data into a list.
8318 (eww-forward-url): Allow going forward in the history, too.
8319
8320 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8321
8322 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8323 for values and use read--expression for expressions (bug#14710).
8324 (read-file-local-variable): Avoid setq.
8325 (read-file-local-variable-mode): Use minor-mode-list.
8326
8327 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8328
8329 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8330 for DOI URLs.
8331
8332 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8333
8334 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8335 Update imenu-support when dialect changes.
8336
8337 2013-06-25 Leo Liu <sdl.web@gmail.com>
8338
8339 * ido.el (ido-read-internal): Allow forward slash on windows.
8340
8341 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8342
8343 * net/eww.el (eww): Start of strings is \\`, not ^.
8344
8345 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8346
8347 * net/shr.el (shr-browse-url): Fix interactive spec.
8348
8349 * net/eww.el (eww): Add a trailing slash to domain names.
8350
8351 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8352
8353 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8354
8355 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8356
8357 * net/shr.el (shr-browse-url): Use an external browser if given a
8358 prefix.
8359
8360 * net/eww.el (eww-external-browser): Move to shr.
8361
8362 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8363
8364 * net/eww.el (eww): Work more correctly for file: URLs.
8365 (eww-detect-charset): Allow quoted charsets.
8366 (eww-yank-page-url): New command and keystroke.
8367
8368 2013-06-24 Daiki Ueno <ueno@gnu.org>
8369
8370 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8371 file name of gpg executable.
8372 (epg-context-program): New function.
8373 (epg-context-home-directory): New function.
8374 (epg-context-set-program): New function.
8375 (epg-context-set-home-directory): New function.
8376 (epg--start): Use `epg-context-program' instead of
8377 'epg-gpg-program'.
8378 (epg--list-keys-1): Likewise.
8379
8380 2013-06-24 Leo Liu <sdl.web@gmail.com>
8381
8382 * ido.el (ido-read-internal): Fix bug#14620.
8383
8384 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8385
8386 * faces.el (face-documentation): Simplify.
8387 (read-face-attribute, tty-find-type, x-resolve-font-name):
8388 Use `string-match-p'.
8389 (list-faces-display): Use `string-match-p'. Simplify.
8390 (face-spec-recalc): Check face to avoid face alias loops.
8391 (read-color): Use `string-match-p' and non-capturing parenthesis.
8392
8393 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8394
8395 * net/shr.el (shr-rescale-image): Use the new
8396 :max-width/:max-height functionality.
8397
8398 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8399
8400 * net/eww.el (eww-search-prefix): New variable.
8401 (eww): Use it.
8402 (eww-external-browser): New variable.
8403 (eww-mode-map): New keystroke.
8404 (eww-browse-with-external-browser): New command.
8405
8406 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8407
8408 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8409
8410 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8411 Don't skip aligning the next header field when padding is 0;
8412 otherwise, field width is not respected unless the title is as
8413 wide as the field.
8414
8415 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8416
8417 * emacs-lisp/package.el (package-el-version): Remove.
8418 (package-process-define-package): Fix inf-loop.
8419 (package-install): Allow symbols as arguments again.
8420
8421 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8422
8423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8424 add some more keyword-like methods.
8425 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8426
8427 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8428
8429 * bs.el (bs-buffer-show-mark): Make defvar-local.
8430 (bs-mode): Use setq-local.
8431
8432 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8433 (emacs-lock--try-unlocking): Make defvar-local.
8434
8435 2013-06-22 Glenn Morris <rgm@gnu.org>
8436
8437 * play/cookie1.el (cookie-apropos): Minor simplification.
8438
8439 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8440
8441 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8442
8443 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8444 `regexp-opt', it breaks the build during dumping.
8445
8446 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8447
8448 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8449 Highlight keyword-like methods on Kernel and Module with
8450 font-lock-builtin-face.
8451 (auto-mode-alist): Consolidate different entries into one regexp
8452 and add more *file-s.
8453
8454 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8455
8456 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8457
8458 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8459 (diary-entry): Use it in the action of this button type instead of
8460 diary-goto-entry.
8461
8462 * calendar/todo-mode.el: New version.
8463 (todo-add-category): Append new category to end of file and give
8464 it the highest number, instead of putting it at the beginning and
8465 giving it 0. Incorporate noninteractive functionality.
8466 (todo-forward-category): Adapt to 1-based category numbering.
8467 Allow skipping over archived categories.
8468 (todo-backward-category): Derive from todo-forward-category.
8469 (todo-backward-item, todo-forward-item): Make noninteractive and
8470 delegate interactive part to new commands. Make sensitive to done items.
8471 (todo-categories): Make value an alist of category names and
8472 vectors of item counts.
8473 (todo-category-beg): Make a defconst.
8474 (todo-category-number): Use 1 instead of 0 as initial value.
8475 (todo-category-select): Make sensitive to overlays, optional item
8476 highlighting and done items.
8477 (todo-delete-item): Make sensitive to overlays and marked and done items.
8478 (todo-edit-item): Make sensitive to overlays and editing of
8479 date/time header optional. Add format checks.
8480 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8481 no-op if point is not on an item. Advertise using todo-edit-quit.
8482 (todo-edit-mode): Make sensitive to new format, font-locking, and
8483 multiple todo files.
8484 (todo-insert-item, todo-insert-item-here): Derive from
8485 todo-basic-insert-item and extend functionality.
8486 (todo-item-end, todo-item-start): Make sensitive to done items.
8487 (todo-item-string): Don't return text properties. Restore point.
8488 (todo-jump-to-category): Make sensitive to multiple todo files and
8489 todo archives. Use extended category completion.
8490 (todo-lower-item, todo-raise-item): Rename to *-priority and
8491 derive from todo-set-item-priority.
8492 (todo-mode): Derive from special-mode. Make sensitive to new
8493 format, font-locking and multiple todo files. Make read-only.
8494 (todo-mode-map): Don't suppress digit keys, so they can supply
8495 prefix arguments. Add many new key bindings.
8496 (todo-prefix): Insert as an overlay instead of file text.
8497 Change semantics from diary date expression to purely visual mark.
8498 (todo-print): Rename to todo-print-buffer. Make buffer display
8499 features printable. Remove option to restrict number of items
8500 printed. Add option to print to file.
8501 (todo-print-function): Rename to todo-print-buffer-function.
8502 (todo-quit): Extend to handle exiting new todo modes.
8503 (todo-remove-item): Make sensitive to overlays.
8504 (todo-save): Extend to buffers of filtered items.
8505 (todo-show): Make sensitive to done items, multiple todo files and
8506 new todo modes. Offer to convert legacy todo file before creating
8507 first new todo file.
8508 (todo-show-priorities): Rename to todo-top-priorities.
8509 Change semantics of value 0.
8510 (todo-top-priorities): Rename to todo-filter-top-priorities,
8511 derive from todo-filter-items and extend functionality.
8512 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8513 and extend functionality to other types of filtered items.
8514 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8515 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8516 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8517 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8518 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8519 (todo-edit-mode-hook, todo-entry-prefix-function)
8520 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8521 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8522 (todo-initials, todo-insert-threshold, todo-item-string-start)
8523 (todo-line-string, todo-menu, todo-mode-hook)
8524 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8525 (todo-print-priorities, todo-remove-separator)
8526 (todo-save-top-priorities-too, todo-string-count-lines)
8527 (todo-string-multiline-p, todo-time-string-format)
8528 (todo-tmp-buffer-name): Remove.
8529 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8530 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8531 (todo-edit-category-diary-inclusion)
8532 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8533 (todo-edit-file, todo-edit-item-date-day)
8534 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8535 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8536 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8537 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8538 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8539 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8540 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8541 (todo-filter-top-priorities-multifile, todo-find-archive)
8542 (todo-find-filtered-items-file, todo-go-to-source-item)
8543 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8544 (todo-jump-to-archive-category, todo-lower-category)
8545 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8546 (todo-move-category, todo-move-item, todo-next-button)
8547 (todo-next-item, todo-padded-string, todo-powerset)
8548 (todo-previous-button, todo-previous-item)
8549 (todo-print-buffer-to-file, todo-raise-category)
8550 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8551 (todo-set-category-number, todo-set-item-priority)
8552 (todo-set-top-priorities-in-category)
8553 (todo-set-top-priorities-in-file, todo-show-categories-table)
8554 (todo-sort-categories-alphabetically-or-numerically)
8555 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8556 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8557 (todo-toggle-item-header, todo-toggle-item-highlighting)
8558 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8559 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8560 (todo-unarchive-items, todo-unmark-category): New commands.
8561 (todo-absolute-file-name, todo-add-to-buffer-list)
8562 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8563 (todo-basic-insert-item, todo-category-completions)
8564 (todo-category-number, todo-category-string-matcher-1)
8565 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8566 (todo-check-format, todo-clear-matches)
8567 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8568 (todo-current-category, todo-date-string-matcher)
8569 (todo-define-insertion-command, todo-diary-expired-matcher)
8570 (todo-diary-goto-entry, todo-diary-item-p)
8571 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8572 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8573 (todo-done-item-section-p, todo-done-separator)
8574 (todo-done-string-matcher, todo-files, todo-filter-items)
8575 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8576 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8577 (todo-insert-category-line, todo-insert-item-from-calendar)
8578 (todo-insert-sort-button, todo-insert-with-overlays)
8579 (todo-insertion-command-name, todo-insertion-key-bindings)
8580 (todo-label-to-key, todo-longest-category-name-length)
8581 (todo-make-categories-list, todo-mode-external-set)
8582 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8583 (todo-modes-set-3, todo-multiple-filter-files)
8584 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8585 (todo-read-category, todo-read-date, todo-read-dayname)
8586 (todo-read-file-name, todo-read-time)
8587 (todo-reevaluate-category-completions-files-defcustom)
8588 (todo-reevaluate-default-file-defcustom)
8589 (todo-reevaluate-filelist-defcustoms)
8590 (todo-reevaluate-filter-files-defcustom)
8591 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8592 (todo-reset-done-separator, todo-reset-done-separator-string)
8593 (todo-reset-done-string, todo-reset-global-current-todo-file)
8594 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8595 (todo-reset-prefix, todo-set-categories)
8596 (todo-set-date-from-calendar, todo-set-show-current-file)
8597 (todo-set-top-priorities, todo-short-file-name)
8598 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8599 (todo-total-item-counts, todo-update-buffer-list)
8600 (todo-update-categories-display, todo-update-categories-sexp)
8601 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8602 New functions.
8603 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8604 New major modes.
8605 (todo-categories, todo-display, todo-edit, todo-faces)
8606 (todo-filtered): New defgroups.
8607 (todo-archived-only, todo-button, todo-category-string, todo-date)
8608 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8609 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8610 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8611 (todo-add-item-if-new-category, todo-always-add-time-string)
8612 (todo-categories-align, todo-categories-archived-label)
8613 (todo-categories-category-label, todo-categories-diary-label)
8614 (todo-categories-done-label, todo-categories-number-separator)
8615 (todo-categories-todo-label, todo-categories-totals-label)
8616 (todo-category-completions-files, todo-completion-ignore-case)
8617 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8618 (todo-done-separator-string, todo-done-string)
8619 (todo-files-function, todo-filter-done-items, todo-filter-files)
8620 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8621 (todo-initial-category, todo-initial-file, todo-item-mark)
8622 (todo-legacy-date-time-regexp, todo-mode-line-function)
8623 (todo-nondiary-marker, todo-number-prefix)
8624 (todo-print-buffer-function, todo-show-current-file)
8625 (todo-show-done-only, todo-show-first, todo-show-with-done)
8626 (todo-skip-archived-categories, todo-top-priorities-overrides)
8627 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8628 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8629 New defcustoms.
8630 (todo-category-done, todo-date-pattern, todo-date-string-start)
8631 (todo-diary-items-buffer, todo-done-string-start)
8632 (todo-filtered-items-buffer, todo-item-start)
8633 (todo-month-abbrev-array, todo-month-name-array)
8634 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8635 (todo-top-priorities-buffer): New defconsts.
8636 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8637 (todo-categories-with-marks, todo-category-string-face)
8638 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8639 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8640 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8641 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8642 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8643 (todo-font-lock-keywords, todo-global-current-todo-file)
8644 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8645 (todo-insertion-commands-args)
8646 (todo-insertion-commands-args-genlist)
8647 (todo-insertion-commands-names, todo-insertion-map)
8648 (todo-key-bindings-t, todo-key-bindings-t+a)
8649 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8650 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8651 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8652 (todo-visited): New variables.
8653
8654 2013-06-21 Glenn Morris <rgm@gnu.org>
8655
8656 * play/cookie1.el (cookie-apropos): Add optional display argument.
8657 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8658 (psychoanalyze-pinhead): Use cookie-doctor.
8659
8660 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8661
8662 * emacs-lisp/package.el (tar-get-file-descriptor)
8663 (tar--extract): Declare.
8664
8665 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8666
8667 Extend flymake's warning predicate to be a function (bug#14217).
8668 * progmodes/flymake.el (flymake-warning-predicate): New.
8669 (flymake-parse-line): Use it.
8670 (flymake-warning-re): Make obsolete alias to
8671 `flymake-warning-predicate'.
8672
8673 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8676 (package-obsolete-list): Remove.
8677 (package-activate): Remove min-version argument. Add `force' argument.
8678 Adjust to new package-alist format.
8679 (package-mark-obsolete): Remove.
8680 (package-unpack): Force reload of the package's autoloads.
8681 (package-installed-p): Check builtins if the installed package is not
8682 recent enough.
8683 (package-initialize): Don't reset package-obsolete-list.
8684 Don't specify which package version to activate.
8685 (package-process-define-package, describe-package-1)
8686 (package-menu--generate): Adjust to new package-alist format.
8687
8688 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8689
8690 * allout-widgets.el (allout-widgets-mode-off)
8691 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8692 (allout-widgets-post-command-business)
8693 (allout-widgets-after-copy-or-kill-function)
8694 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8695 (allout-decorate-item-and-context)
8696 (allout-graphics-modification-handler): Fix typos in docstrings.
8697 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8698
8699 * cmuscheme.el (scheme-start-file): Doc fix.
8700 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8701 (scheme-input-filter): Use `string-match-p'.
8702
8703 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8704
8705 * dired-x.el: Use Dired consistently in docstrings.
8706
8707 * dired.el: Use Dired consistently in docstrings.
8708 (dired-readin, dired-mode): Use `setq-local'.
8709 (dired-switches-alist): Make defvar-local.
8710 (dired-buffers-for-dir): Use `zerop'.
8711 (dired-safe-switches-p, dired-switches-escape-p)
8712 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8713 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8714 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8715 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8716 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8717 (dired-toggle-marks, dired-mark-files-containing-regexp)
8718 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8719 (dired-flag-auto-save-files, dired-flag-backup-files):
8720 Use `looking-at-p'.
8721 (dired-mark-files-regexp, dired-build-subdir-alist):
8722 Use `string-match-p', `looking-at-p'.
8723
8724 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8725 (direct-print-region-helper): Use `string-match-p'.
8726
8727 2013-06-21 Leo Liu <sdl.web@gmail.com>
8728
8729 * comint.el (comint-redirect-results-list-from-process):
8730 Fix infinite loop.
8731
8732 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8733
8734 * net/eww.el (eww-update-header-line-format): Quote % characters.
8735
8736 2013-06-21 Glenn Morris <rgm@gnu.org>
8737
8738 * play/cookie1.el (cookie): New custom group.
8739 (cookie-file): New option.
8740 (cookie-check-file): New function.
8741 (cookie): Make it interactive. Make start and end messages optional.
8742 Interactively, display the result. Default to cookie-file.
8743 (cookie-insert): Default to cookie-file.
8744 (cookie-snarf): Make start and end messages optional.
8745 Default to cookie-file. Use with-temp-buffer.
8746 (cookie-read): Rename from read-cookie.
8747 Make start and end messages optional. Default to cookie-file.
8748 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8749 Do not autoload it.
8750 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8751 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8752
8753 2013-06-21 Leo Liu <sdl.web@gmail.com>
8754
8755 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8756
8757 2013-06-21 Glenn Morris <rgm@gnu.org>
8758
8759 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8760
8761 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8762 Daniel Hackney <dan@haxney.org>
8763
8764 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8765 Consolidate the single-file vs tarball code.
8766 (package-desc-suffix): New function.
8767 (package-desc-full-name): Don't bother inlining it.
8768 (package-load-descriptor): Return the new package-desc.
8769 (package-mark-obsolete): Remove unused arg `package'.
8770 (package-unpack): Make it work for single files as well.
8771 Make it update package-alist.
8772 (package--make-autoloads-and-stuff): Rename from
8773 package--make-autoloads-and-compile. Don't compile any more.
8774 (package--compile): New function.
8775 (package-generate-description-file): New function, extracted from
8776 package-unpack-single.
8777 (package-unpack-single): Remove.
8778 (package--with-work-buffer): Add indentation and debugging info.
8779 (package-download-single): Remove.
8780 (package-install-from-archive): Rename from package-download-tar, make
8781 it take a pkg-desc, and make it work for single files as well.
8782 (package-download-transaction): Simplify.
8783 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8784 external tar program.
8785 (package-install-from-buffer): Remove `pkg-desc' argument.
8786 Use package-tar-file-info for tar-mode buffers.
8787 (package-install-file): Simplify accordingly.
8788 (package-archive-base): Change to take a pkg-desc.
8789 * tar-mode.el (tar--check-descriptor): New function, extracted from
8790 tar-get-descriptor.
8791 (tar-get-descriptor): Use it.
8792 (tar-get-file-descriptor): New function.
8793 (tar--extract): New function, extracted from tar-extract.
8794 (tar--extract): Use it.
8795 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8796 case the summary uses non-ascii. Adjust to new calling convention of
8797 package-tar-file-info.
8798
8799 2013-06-21 Leo Liu <sdl.web@gmail.com>
8800
8801 * comint.el (comint-redirect-results-list-from-process):
8802 Fix random delay. (Bug#14681)
8803
8804 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * profiler.el (profiler-format-number): Use log, not log10.
8807
8808 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8809
8810 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8811
8812 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8815 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8816 yet available.
8817 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8818 (AUTOGENEL): ... here.
8819 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8820 (cl--defsubst-expand): Use it.
8821
8822 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8823
8824 * subr.el (log10): Move here from C code, and declare as obsolete.
8825 All uses of (log10 X) replaced with (log X 10).
8826
8827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8828
8829 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8830 Declare with `defvar-local'.
8831 (tabulated-list-use-header-line, tabulated-list-entries)
8832 (tabulated-list-padding, tabulated-list-printer)
8833 (tabulated-list-sort-key): Declare with `defvar-local'.
8834 (tabulated-list-init-header, tabulated-list-print-fake-header):
8835 Use `setq-local'.
8836
8837 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8838
8839 * arc-mode.el (archive-mode): Add `archive-write-file' to
8840 `write-contents-functions' also for remote files. (Bug#14652)
8841
8842 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8843
8844 * cus-edit.el (custom-commands): Fix typos.
8845 (custom-display): Fix tooltip text.
8846 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8847 Fix typos in docstrings.
8848 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8849 (custom-unlispify-menu-entry, custom-magic-value-create)
8850 (custom-add-see-also, custom-group-value-create): Use ?\s.
8851 (custom-guess-type, customize-apropos, editable-field)
8852 (custom-face-value-create): Use `string-match-p'.
8853 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8854
8855 * custom.el (custom-load-symbol): Use `string-match-p'.
8856
8857 * ansi-color.el: Convert to lexical binding.
8858 (ansi-colors): Fix URL.
8859 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8860 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8861 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8862
8863 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8864
8865 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8866
8867 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8868
8869 2013-06-19 Tom Tromey <tromey@redhat.com>
8870
8871 * net/eww.el (eww-top-url): Remove.
8872 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8873 (eww-render): Set new variables. Don't set eww-top-url.
8874 (eww-handle-link): Handle "prev", "home", and "contents".
8875 Downcase the rel text.
8876 (eww-top-url): Choose best top URL.
8877
8878 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8879
8880 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8881 relying in widget.el. Using widget.el leads to too many
8882 user interface inconsistencies.
8883 (eww-self-insert): Implement entering commands in text fields.
8884 (eww-process-text-input): New function to make text input field editing
8885 work.
8886 (eww-submit): Rewrite to use the new-style form methods.
8887 (eww-select-display): Display the correct selected item.
8888 (eww-change-select): Implement changing the select value.
8889 (eww-toggle-checkbox): Implement radio/checkboxes.
8890 (eww-update-field): Fix compilation error.
8891 (eww-tag-textarea): Implement <textarea>.
8892
8893 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8894 we don't shadow mode-specific bindings.
8895
8896 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8897 nothing to push.
8898
8899 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8900
8901 2013-06-19 Glenn Morris <rgm@gnu.org>
8902
8903 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8904
8905 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8906
8907 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8908 not needed.
8909
8910 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8911
8912 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8913
8914 * net/browse-url.el (browse-url-browser-function):
8915 `eww-browse-url' has the right calling signature, `eww' does not.
8916
8917 2013-06-19 Glenn Morris <rgm@gnu.org>
8918
8919 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8920 Only eval autoloaded macros.
8921 (byte-compile-autoload): Only give the macro warning for macros.
8922
8923 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8924 (ps-underlined-faces): Declare.
8925
8926 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8927 (speedbar-add-supported-extension): Declare.
8928
8929 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8930 Don't include a date stamp in the header of the generated file;
8931 it leads to needless differences between output files.
8932
8933 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8934
8935 * net/secrets.el (secrets-struct-secret-content-type):
8936 Replace check of introspection data by a test call of "CreateItem".
8937 Some servers do not offer introspection.
8938
8939 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8940
8941 * electric.el (electric-pair-mode): Improve interaction with
8942 electric-layout-mode.
8943 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8944 (electric-pair-syntax): Use text-mode-syntax-table in comments
8945 and strings.
8946 (electric-pair--insert): New function.
8947 (electric-pair-post-self-insert-function): Use it and
8948 electric--after-char-pos.
8949
8950 2013-06-19 Leo Liu <sdl.web@gmail.com>
8951
8952 * progmodes/octave.el (octave-help): Fix regexp.
8953
8954 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955
8956 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8957 (shr-table-horizontal-line): Allow nil as a value, and change the
8958 default.
8959 (shr-insert-table-ruler): Respect the nil value.
8960
8961 2013-06-18 Tom Tromey <tromey@barimba>
8962
8963 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8964 New defvars.
8965 (eww-open-file): New defun.
8966 (eww-render): Initialize new variables.
8967 (eww-display-html): Handle "link" and "a".
8968 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8969 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8970 (eww-back-url): Rename from eww-previous-url.
8971 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8972 New defuns.
8973
8974 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8975
8976 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8977 Distinguish ternary operator tokens from slash symbol and slash
8978 char literal.
8979
8980 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8981
8982 Convert symbol prettification into minor mode and global minor mode.
8983
8984 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8985 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8986 (prettify-symbols--keywords): Rename from
8987 `prog-prettify-symbols-alist' and make a local defvar.
8988 (prettify-symbols--compose-symbol): Rename from
8989 `prog--prettify-font-lock-compose-symbol'.
8990 (prettify-symbols--make-keywords): Rename from
8991 `prog-prettify-font-lock-symbols-keywords' and simplify.
8992 (prog-prettify-install): Remove.
8993 (prettify-symbols-mode): New minor mode, based on
8994 `prog-prettify-install'.
8995 (turn-on-prettify-symbols-mode): New function.
8996 (global-prettify-symbols-mode): New globalized minor mode.
8997
8998 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8999 * progmodes/cfengine.el (cfengine3-mode):
9000 * progmodes/perl-mode.el (perl-mode): Don't call
9001 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9002
9003 2013-06-18 Juri Linkov <juri@jurta.org>
9004
9005 * files-x.el (modify-file-local-variable-message): New function.
9006 (modify-file-local-variable)
9007 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9008 and call `modify-file-local-variable-message' when it's non-nil.
9009 (add-file-local-variable, delete-file-local-variable)
9010 (add-file-local-variable-prop-line)
9011 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9012 and use it. (Bug#9820)
9013
9014 2013-06-18 Juri Linkov <juri@jurta.org>
9015
9016 * emulation/vi.el (vi-shell-op):
9017 * emulation/vip.el (vip-execute-com, ex-command):
9018 * emulation/viper-cmd.el (viper-exec-bang):
9019 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9020 the call of `shell-command-on-region'. (Bug#14637)
9021
9022 * simple.el (shell-command-on-region): Doc fix.
9023
9024 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9025
9026 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9027 (bug#14633).
9028
9029 2013-06-18 Glenn Morris <rgm@gnu.org>
9030
9031 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9032
9033 * newcomment.el (comment-search-forward, comment-search-backward):
9034 Doc fix. (Bug#14376)
9035
9036 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9037
9038 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9039 (buffer-face-mode-invoke): Doc fix.
9040
9041 2013-06-18 Matthias Meulien <orontee@gmail.com>
9042
9043 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9044 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9045
9046 2013-06-18 Glenn Morris <rgm@gnu.org>
9047
9048 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9049 Replace obsolete function generic-make-keywords with its expansion.
9050
9051 * progmodes/python.el (ffap-alist): Declare.
9052
9053 * textmodes/reftex.el (bibtex-mode-map): Declare.
9054
9055 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9056
9057 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9058 (package-unpack, package-unpack-single): Return the pkg-dir.
9059 (package-download-transaction): Use it to update package-alist.
9060
9061 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9062
9063 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9064 possible choice.
9065
9066 2013-06-17 Juri Linkov <juri@jurta.org>
9067
9068 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9069
9070 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9071
9072 * emacs-lisp/package.el (package-load-descriptor):
9073 Remove `with-syntax-table' call, `read' doesn't need it.
9074 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9075
9076 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9077
9078 * startup.el (command-line): Expand package name returned by
9079 `package--description-file' (bug#14639).
9080
9081 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9082
9083 * emacs-lisp/package.el (package-load-descriptor): Do not call
9084 `emacs-lisp-mode', just use its syntax table.
9085
9086 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9087
9088 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9089 `font-lock-extra-managed-props' if any prettifying keyword is added.
9090 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9091 (prog-mode): Use `setq-local'.
9092
9093 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9094
9095 * international/characters.el (standard-case-table): Set syntax of ?»
9096 and ?« to punctuation.
9097
9098 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9101 Save relevant match data before calling `syntax-ppss' (bug#14595).
9102
9103 2013-06-15 Juri Linkov <juri@jurta.org>
9104
9105 * files-x.el (modify-file-local-variable-prop-line): Add local
9106 variables to the end of the existing comment on the first line.
9107 Use `file-auto-mode-skip' to skip interpreter magic line,
9108 and also skip XML declaration.
9109
9110 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9111
9112 * startup.el (package--builtin-versions): New var.
9113 (package-subdirectory-regexp): Remove.
9114 (package--description-file): Hard code its value instead.
9115
9116 * emacs-lisp/package.el: Don't activate packages older than builtin.
9117 (package-obsolete-list): Rename from package-obsolete-alist, and make
9118 it into a simple list of package-desc.
9119 (package-strip-version): Remove.
9120 (package-built-in-p): Use package--builtin-versions.
9121 (package-mark-obsolete): Simplify.
9122 (package-process-define-package): Mark it obsolete if older than the
9123 builtin version.
9124 (package-handle-response): Use line-end-position.
9125 (package-read-archive-contents, package--download-one-archive):
9126 Simplify.
9127 (package--add-to-archive-contents): Skip if older than the builtin or
9128 installed version.
9129 (package-menu-describe-package): Fix last change.
9130 (package-list-unversioned): New var.
9131 (package-menu--generate): Use it.
9132
9133 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9134 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9135 (autoload-builtin-package-versions): New variable.
9136 (autoload-generate-file-autoloads): Use them.
9137 Remove the list of autoloaded functions/macros from the
9138 (autoload...) comments.
9139
9140 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9141
9142 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9143
9144 * simple.el (line-move-partial): Don't jump to the next screen
9145 line as soon as it becomes visible. Instead, continue enlarging
9146 the vscroll until the portion of a tall screen line that's left on
9147 display is about the height of the frame's default font.
9148 (Bug#14567)
9149
9150 2013-06-15 Glenn Morris <rgm@gnu.org>
9151
9152 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9153 compilation-error-regexp-alist void, or local while let-bound.
9154
9155 * progmodes/make-mode.el (makefile-mode-syntax-table):
9156 Treat "=" as punctuation. (Bug#14614)
9157
9158 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9159
9160 * help-fns.el (describe-variable):
9161 Add extra line for permanent-local variables.
9162
9163 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9164
9165 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9166 Add export, import, library. (Bug#9164)
9167 (library): Set indent function.
9168
9169 2013-06-14 Glenn Morris <rgm@gnu.org>
9170
9171 * term/xterm.el (xterm--query):
9172 Stop after first matching handler. (Bug#14615)
9173
9174 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9175
9176 Add support for dired in saveplace.
9177 * dired.el (dired-initial-position-hook): New variable.
9178 (dired-initial-position): Call hook to place cursor position.
9179 * saveplace.el (save-place-to-alist): Add dired position.
9180 (save-place-dired-hook): New function.
9181
9182 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9185 through a symbol rather than letrec.
9186
9187 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9188 (package-desc): Add `dir' field.
9189 (package-desc-full-name): New function.
9190 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9191 (package-maybe-load-descriptor): Remove.
9192 (package-load-all-descriptors): Just call package-load-descriptor.
9193 (package--disabled-p): New function.
9194 (package-desc-vers, package-desc-doc): Remove aliases.
9195 (package--dir): Remove function.
9196 (package-activate): Check if a package is disabled.
9197 (package-process-define-package): New function, extracted from
9198 define-package.
9199 (define-package): Turn into a place holder.
9200 (package-unpack-single, package-tar-file-info):
9201 Use package--description-file.
9202 (package-compute-transaction): Use package--disabled-p.
9203 (package-download-transaction): Don't call
9204 package-maybe-load-descriptor since they're all loaded anyway.
9205 (package-install): Change argument to be a pkg-desc.
9206 (package-delete): Use a single pkg-desc argument.
9207 (describe-package-1): Use package-desc-dir instead of package--dir.
9208 Use package-desc property instead of package-symbol.
9209 (package-install-button-action): Adjust accordingly.
9210 (package--push): Rewrite.
9211 (package-menu--print-info): Adjust accordingly. Change the ID format
9212 to be a pkg-desc.
9213 (package-menu-describe-package, package-menu-get-status)
9214 (package-menu--find-upgrades, package-menu-mark-upgrades)
9215 (package-menu-execute, package-menu--name-predicate):
9216 Adjust accordingly.
9217 * startup.el (package--description-file): New function.
9218 (command-line): Use it.
9219 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9220 Use package-desc-version.
9221
9222 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9223 (byte-compile-preprocess): Use it.
9224 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9225 can't quite recognize.
9226 (byte-compile-add-to-list): Remove.
9227 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9228 (cconv-closure-convert): Add assertion.
9229
9230 * emacs-lisp/map-ynp.el: Use lexical-binding.
9231 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9232 Factor out some repeated code.
9233
9234 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9235
9236 * subr.el (with-eval-after-load): New macro.
9237 (eval-after-load): Allow form to be a function.
9238 take advantage of lexical-binding.
9239 (do-after-load-evaluation): Use dolist and adjust to new format.
9240 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9241
9242 2013-06-13 Juri Linkov <juri@jurta.org>
9243
9244 * replace.el (perform-replace): Display "symbol " and other search
9245 modes from `isearch-message-prefix' in the *Help* buffer.
9246
9247 * isearch.el (isearch-query-replace): Add " symbol" and other
9248 possible search modes from `isearch-message-prefix' to the prompt.
9249 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9250 when reading a regexp to collect.
9251
9252 2013-06-13 Juri Linkov <juri@jurta.org>
9253
9254 * isearch.el (word-search-regexp): Match whitespace if the search
9255 string begins or ends in whitespace. The LAX arg is applied to
9256 both ends of the search string. Use `regexp-quote' and explicit
9257 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9258 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9259 boundaries are replaced with symbol boundaries, and characters
9260 between symbols match non-word non-symbol syntax. (Bug#14602)
9261
9262 2013-06-13 Juri Linkov <juri@jurta.org>
9263
9264 * isearch.el (isearch-del-char): Don't exceed the length of
9265 `isearch-string' by the prefix arg. (Bug#14563)
9266
9267 2013-06-13 Juri Linkov <juri@jurta.org>
9268
9269 * isearch.el (isearch-yank-word, isearch-yank-line)
9270 (isearch-char-by-name, isearch-quote-char)
9271 (isearch-printing-char, isearch-process-search-char):
9272 Add optional count prefix arg. (Bug#14563)
9273
9274 * international/isearch-x.el
9275 (isearch-process-search-multibyte-characters):
9276 Add optional count prefix arg.
9277
9278 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9279
9280 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9281 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9282 lexical-binding.
9283
9284 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9285
9286 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9287
9288 2013-06-13 Glenn Morris <rgm@gnu.org>
9289
9290 * startup.el (tty-handle-args):
9291 Don't just discard "--" and anything after. (Bug#14608)
9292
9293 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9294
9295 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9296
9297 Implement changes in Secret Service API. Make it backward compatible.
9298 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9299 (secrets-create-item): Use it. Prefix properties with interface.
9300
9301 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9302
9303 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9304 (term-emulate-terminal): Respect term-suppress-hard-newline.
9305
9306 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9307
9308 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9309 Only remove a `thumb-file' overlay. (Bug#14548)
9310
9311 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9312
9313 * mail/reporter.el (reporter-submit-bug-report):
9314 Handle missing package-name. (Bug#14600)
9315
9316 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9317
9318 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9319 (reftex-citation-prompt, reftex-default-bibliography)
9320 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9321 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9322 (reftex-bib-sort-author, reftex-bib-sort-year)
9323 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9324 (reftex-extract-bib-entries-from-thebibliography)
9325 (reftex-get-bibkey-default, reftex-get-bib-names)
9326 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9327 (reftex-format-bib-entry, reftex-parse-bibitem)
9328 (reftex-format-bibitem, reftex-do-citation)
9329 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9330 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9331 (reftex-insert-bib-matches, reftex-format-citation)
9332 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9333 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9334 existing comments into docstrings.
9335
9336 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9337
9338 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9339
9340 2013-06-12 Andreas Schwab <schwab@suse.de>
9341
9342 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9343 for auto-save files.
9344
9345 2013-06-12 Glenn Morris <rgm@gnu.org>
9346
9347 * ido.el (ido-delete-ignored-files): Remove.
9348 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9349 Go back to calling ido-ignore-item-p directly.
9350
9351 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9352
9353 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9354
9355 * ido.el (ido-delete-ignored-files): New function,
9356 split from ido-make-file-list-1.
9357 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9358 (ido-make-file-list-1): Use ido-delete-ignored-files.
9359
9360 2013-06-12 Leo Liu <sdl.web@gmail.com>
9361
9362 * progmodes/octave.el (inferior-octave-startup)
9363 (inferior-octave-completion-table)
9364 (inferior-octave-track-window-width-change)
9365 (octave-eldoc-function-signatures, octave-help)
9366 (octave-find-definition): Use single quoted strings.
9367 (inferior-octave-startup-args): Change default value.
9368 (inferior-octave-startup): Do not hard code "-i" and
9369 "--no-line-editing".
9370 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9371 (inferior-octave-directory-tracker): Use it.
9372 (octave-goto-function-definition): Robustify.
9373 (octave-help): Support highlighting operators in 'See also'.
9374 (octave-find-definition): Find subfunctions only in Octave mode.
9375
9376 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * help-fns.el (help-fns--compiler-macro): If the handler function is
9379 named, then put a link to it.
9380 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9381 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9382 (cl-typep): Use it.
9383 (cl-eval-when): Simplify debug spec.
9384 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9385 compiler-macro function instead of setting `compiler-macro-file'.
9386
9387 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9388
9389 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9390 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9391
9392 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9393 Daniel Hackney <dan@haxney.org>
9394
9395 First part of Daniel Hackney's patch to package.el.
9396 * emacs-lisp/package.el: Use defstruct.
9397 (package-desc): New, main struct.
9398 (package--bi-desc, package--ac-desc): New structs, used to describe the
9399 format in external files.
9400 (package-desc-vers): Replace with package-desc-version accessor.
9401 (package-desc-doc): Replace with package-desc-summary accessor.
9402 (package-activate-1): Remove `package' arg since the pkg-vec now
9403 includes the name.
9404 (define-package): Use package-desc-from-define.
9405 (package-unpack-single): Change file-name arg to be a symbol.
9406 (package--add-to-archive-contents): Use package-desc-create and new
9407 accessor functions to package--ac-desc.
9408 (package-buffer-info, package-tar-file-info): Return a package-desc.
9409 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9410 arg to be a package-desc.
9411 (package-install-file): Adjust accordingly. Use \' to match EOS.
9412 (package--from-builtin): New function.
9413 (describe-package-1, package-menu--generate): Use it.
9414 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9415 (package-generate-autoloads): Idem and return the name of the file.
9416 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9417 Change pkg-info arg to be a package-desc.
9418 Use package-make-ac-desc.
9419 (package-upload-file): Use \' to match EOS.
9420 * finder.el (finder-compile-keywords): Use package-make-builtin.
9421
9422 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9423
9424 * vc/vc.el (vc-deduce-fileset): Change error message.
9425 (vc-read-backend): New function.
9426 (vc-next-action): Use it.
9427
9428 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9429
9430 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9431 (prolog-font-lock-keywords): Use regexp-opt instead.
9432 Don't manually highlight strings.
9433 (prolog-mode-variables): Simplify comment-start-skip.
9434 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9435
9436 * emacs-lisp/generic.el (generic--normalise-comments)
9437 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9438 (generic-mode-set-comments): Use them.
9439 (generic-bracket-support): Use setq-local.
9440 (generic-make-keywords-list): Declare obsolete.
9441
9442 2013-06-11 Glenn Morris <rgm@gnu.org>
9443
9444 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9445 Prettify after setting font-lock-defaults. (Bug#14574)
9446
9447 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9448
9449 * replace.el (query-replace, occur-read-regexp-defaults-function)
9450 (replace-search):
9451 * subr.el (declare-function, number-sequence, local-set-key)
9452 (substitute-key-definition, locate-user-emacs-file)
9453 (with-silent-modifications, split-string, eval-after-load):
9454 Fix typos, remove unneeded backslashes and reflow some docstrings.
9455
9456 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9459 default for Elisp files.
9460
9461 2013-06-11 Glenn Morris <rgm@gnu.org>
9462
9463 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9464 although define-derived-mode was doing this anyway. (Bug#14583)
9465
9466 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9467
9468 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9469 Fix make-variable-buffer-local call to refer to the correct variable.
9470
9471 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9472
9473 * eshell/em-term.el (eshell-visual-commands)
9474 (eshell-visual-subcommands, eshell-visual-options):
9475 Add summary line to docstrings. Add cross-references.
9476
9477 2013-06-10 Glenn Morris <rgm@gnu.org>
9478
9479 * epa.el (epa-read-file-name): New function. (Bug#14510)
9480 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9481
9482 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9483
9484 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9485 output redirection to be ignored with visual commands.
9486
9487 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9488
9489 * eshell/em-term.el (eshell-visual-command-p): New function.
9490 (eshell-term-initialize): Move long lambda to separate function
9491 eshell-visual-command-p.
9492 * eshell/em-dirs.el (eshell-dirs-initialise):
9493 * eshell/em-script.el (eshell-script-initialize):
9494 Add missing #' to lambda.
9495
9496 2013-06-08 Leo Liu <sdl.web@gmail.com>
9497
9498 * progmodes/octave.el (octave-add-log-current-defun): New function.
9499 (octave-mode): Set add-log-current-defun-function.
9500 (octave-goto-function-definition): Do not move point if not found.
9501 (octave-find-definition): Enhance to try subfunctions first.
9502
9503 2013-06-08 Glenn Morris <rgm@gnu.org>
9504
9505 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9506 (byte-compile-backward-char, byte-compile-backward-word):
9507 Improve previous change, to handle non-explicit nil.
9508
9509 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9512 (smie--opener/closer-at-point): New function.
9513 (smie--matching-block-data): Use it. Don't match from right after an
9514 opener or right before a closer. Obey smie-blink-matching-inners.
9515 Don't signal a mismatch for repeated inners like "switch..case..case".
9516
9517 2013-06-07 Leo Liu <sdl.web@gmail.com>
9518
9519 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9520 to t. (Bug#14303)
9521 (octave-function-header-regexp): Fix. (Bug#14570)
9522 (octave-help-mode-finish-hook, octave-help-mode-finish):
9523 Remove. Just use temp-buffer-show-hook.
9524
9525 * newcomment.el (comment-search-backward): Revert last change.
9526 (Bug#14434)
9527
9528 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9529
9530 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9531
9532 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9533 through xargs, to avoid failure due to MS-Windows limitations on
9534 command-line length.
9535
9536 2013-06-06 Glenn Morris <rgm@gnu.org>
9537
9538 * font-lock.el (lisp-font-lock-keywords-2):
9539 Treat user-error like error.
9540
9541 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9542 (byte-compile-backward-char, byte-compile-backward-word):
9543 Handle explicit nil arguments. (Bug#14565)
9544
9545 2013-06-05 Alan Mackenzie <acm@muc.de>
9546
9547 * isearch.el (isearch-allow-prefix): New user option.
9548 (isearch-other-meta-char): Don't exit isearch when a prefix
9549 argument is typed whilst `isearch-allow-prefix' is non-nil.
9550 (Bug#9706)
9551
9552 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9553
9554 * autorevert.el (auto-revert-notify-handler): Use memq.
9555 Hide assertion failure.
9556
9557 * skeleton.el: Use cl-lib.
9558 (skeleton-further-elements): Use defvar-local.
9559 (skeleton-insert): Use cl-progv.
9560
9561 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9562
9563 * progmodes/prog-mode.el (prog-prettify-symbols)
9564 (prog-prettify-install): Update docstrings.
9565
9566 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * simple.el: Move all the prog-mode code to prog-mode.el.
9569 * progmodes/prog-mode.el: New file.
9570 * loadup.el: Add prog-mode.el.
9571
9572 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9573
9574 * simple.el (prog-prettify-symbols): Add version.
9575 (prog-prettify-install): Add convenience function to prettify symbols.
9576
9577 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9578 (perl--augmented-font-lock-keywords-1)
9579 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9580 variables and use it.
9581
9582 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9583 (cfengine3-mode): Remove unneeded variable and use it.
9584
9585 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9586 (lisp--augmented-font-lock-keywords-1)
9587 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9588 Remove unneeded variables and use it.
9589
9590 2013-06-05 João Távora <joaotavora@gmail.com>
9591
9592 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9593 to point when opening the connection. (Bug#14380)
9594
9595 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * subr.el (load-history-regexp, load-history-filename-element)
9598 (eval-after-load, after-load-functions, do-after-load-evaluation)
9599 (eval-next-after-load, display-delayed-warnings)
9600 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9601 definition of save-match-data.
9602 (overriding-local-map): Remove accidental obsolescence declaration.
9603
9604 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9605
9606 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9607
9608 Generalize symbol prettify support to prog-mode and implement it
9609 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9610 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9611 (prog--prettify-font-lock-compose-symbol)
9612 (prog-prettify-font-lock-symbols-keywords): New variables and
9613 functions to support symbol prettification.
9614 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9615 (lisp--augmented-font-lock-keywords-1)
9616 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9617 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9618 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9619 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9620 Implement prettify of -> => :: strings.
9621 * progmodes/perl-mode.el (perl-prettify-symbols)
9622 (perl--font-lock-compose-symbol)
9623 (perl--font-lock-symbols-keywords): Move to prog-mode.
9624 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9625 (perl-font-lock-keywords-1)
9626 (perl-font-lock-keywords-2): Remove explicit prettify support.
9627 (perl--augmented-font-lock-keywords)
9628 (perl--augmented-font-lock-keywords-1)
9629 (perl--augmented-font-lock-keywords-2, perl-mode):
9630 Implement prettify support.
9631
9632 2013-06-05 Leo Liu <sdl.web@gmail.com>
9633
9634 Re-implement smie matching block highlight using
9635 show-paren-data-function. (Bug#14395)
9636 * emacs-lisp/smie.el (smie-matching-block-highlight)
9637 (smie--highlight-matching-block-overlay)
9638 (smie--highlight-matching-block-lastpos)
9639 (smie-highlight-matching-block)
9640 (smie-highlight-matching-block-mode): Remove.
9641 (smie--matching-block-data-cache): New variable.
9642 (smie--matching-block-data): New function.
9643 (smie-setup): Use smie--matching-block-data for
9644 show-paren-data-function.
9645
9646 * progmodes/octave.el (octave-mode-menu): Fix.
9647 (octave-find-definition): Skip garbage lines.
9648
9649 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 Fix compilation error with simultaneous dynamic+lexical scoping.
9652 Add warning when a defvar appears after the first let-binding.
9653 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9654 (byte-compile-close-variables): Initialize it.
9655 (byte-compile--declare-var): New function.
9656 (byte-compile-file-form-defvar)
9657 (byte-compile-file-form-define-abbrev-table)
9658 (byte-compile-file-form-custom-declare-variable): Use it.
9659 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9660 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9661 (byte-compile-bind): Handle dynamic bindings that shadow
9662 lexical bindings.
9663 (byte-compile-unbind): Make arg non-optional.
9664 (byte-compile-let): Simplify.
9665 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9666 (cconv--analyse-function, cconv-analyse-form): Populate it.
9667 Protect byte-compile-bound-variables to limit the scope of defvars.
9668 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9669 Remove unneeded rule for `declare'.
9670
9671 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9672 so as to avoid depending on cl-adjoin at run-time.
9673 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9674
9675 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9676 (macroexp--warn-and-return): Use it.
9677
9678 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * subr.el: Convert to lexical binding.
9681 (overriding-local-map): Make obsolete.
9682 (add-to-list): Doc fix. Add compiler macro.
9683 (read-key): Swap values of local maps.
9684
9685 2013-06-05 Leo Liu <sdl.web@gmail.com>
9686
9687 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9688
9689 2013-06-04 Leo Liu <sdl.web@gmail.com>
9690
9691 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9692 (compilation-auto-jump): Suppress the "Mark set" message to give
9693 way to exit message.
9694
9695 2013-06-04 Alan Mackenzie <acm@muc.de>
9696
9697 Remove faulty optimisation from indentation calculation.
9698 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9699 search limit based on 2000 characters back from indent-point.
9700
9701 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9702
9703 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9704
9705 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * emacs-lisp/lisp.el: Use lexical-binding.
9708 (lisp--local-variables-1, lisp--local-variables): New functions.
9709 (lisp--local-variables-completion-table): New var.
9710 (lisp-completion-at-point): Use it complete let-bound vars.
9711
9712 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9713 eagerly (bug#14422).
9714
9715 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9716
9717 * autorevert.el (auto-revert-notify-enabled)
9718 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9719 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9720 (auto-revert-notify-handler): Handle also gfilenotify.
9721
9722 * subr.el (file-notify-handle-event): New defun. Replacing ...
9723 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9724 Remove.
9725
9726 2013-06-03 Juri Linkov <juri@jurta.org>
9727
9728 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9729 `M-s h .'. (Bug#14427)
9730
9731 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9732 command `hi-lock-face-symbol-at-point'.
9733 (hi-lock-face-symbol-at-point): New command.
9734 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9735 (hi-lock-menu): Add `highlight-symbol-at-point'.
9736 (hi-lock-mode): Doc fix.
9737
9738 * isearch.el (isearch-forward-symbol-at-point): New command.
9739 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9740 (isearch-highlight-regexp): Add a regexp which matches
9741 words/symbols for word/symbol mode.
9742
9743 * subr.el (find-tag-default-bounds): New function with the body
9744 mostly moved from `find-tag-default'.
9745 (find-tag-default): Move most code to `find-tag-default-bounds',
9746 call it and apply `buffer-substring-no-properties' afterwards.
9747
9748 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9749
9750 * eshell/em-term.el (eshell-term-initialize):
9751 Use `cl-intersection' rather than `intersection'.
9752
9753 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9754
9755 * vc/log-view.el: Doc fix.
9756 (log-view-mode-map): Copy keymap from `special-mode-map'.
9757
9758 2013-06-02 Eric Ludlam <zappo@gnu.org>
9759
9760 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9761 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9762 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9763 (eieio-unbound, eieio-default-superclass)
9764 (eieio--define-field-accessors, method-static, method-before)
9765 (method-primary, method-after, method-num-lists)
9766 (method-generic-before, method-generic-primary)
9767 (method-generic-after, method-num-slots)
9768 (eieio-specialized-key-to-generic-key)
9769 (eieio--check-type, class-v, class-p)
9770 (eieio-class-name, define-obsolete-function-alias)
9771 (eieio-class-parents-fast, eieio-class-children-fast)
9772 (same-class-fast-p, class-constructor, generic-p)
9773 (generic-primary-only-p, generic-primary-only-one-p)
9774 (class-option-assoc, class-option, eieio-object-p)
9775 (class-abstract-p, class-method-invocation-order)
9776 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9777 (eieio-class-un-autoload, eieio-defclass)
9778 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9779 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9780 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9781 (eieio-defgeneric-reset-generic-form)
9782 (eieio-defgeneric-form-primary-only)
9783 (eieio-defgeneric-reset-generic-form-primary-only)
9784 (eieio-defgeneric-form-primary-only-one)
9785 (eieio-defgeneric-reset-generic-form-primary-only-one)
9786 (eieio-unbind-method-implementations)
9787 (eieio--defmethod, eieio--typep)
9788 (eieio-perform-slot-validation, eieio-validate-slot-value)
9789 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9790 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9791 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9792 (eieio-slot-name-index, eieio-class-slot-name-index)
9793 (eieio-set-defaults, eieio-initarg-to-attribute)
9794 (eieio-attribute-to-initarg, eieio-c3-candidate)
9795 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9796 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9797 (eieio-class-precedence-list, eieio-generic-call-methodname)
9798 (eieio-generic-call-arglst, eieio-generic-call-key)
9799 (eieio-generic-call-next-method-list)
9800 (eieio-pre-method-execution-functions, eieio-generic-call)
9801 (eieio-generic-call-primary-only, eieiomt-method-list)
9802 (eieiomt-optimizing-obarray, eieiomt-install)
9803 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9804 (eieio-generic-form, eieio-defmethod, make-obsolete)
9805 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9806 (defclass): Remove `eval-and-compile' from macro.
9807 (call-next-method, shared-initialize): Instead of using
9808 `scoped-class' variable, use new eieio--scoped-class, and
9809 eieio--with-scoped-class.
9810 (initialize-instance): Rename local variable 'scoped-class' to
9811 'this-class' to remove ambiguitity from old global.
9812
9813 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9814 eieio.el.
9815 (eieio--scoped-class-stack): New variable.
9816 (eieio--scoped-class): New fcn.
9817 (eieio--with-scoped-class): New scoping macro.
9818 (eieio-defclass): Use pushnew instead of add-to-list.
9819 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9820 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9821 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9822 `scoped-class' variable, use new eieio--scoped-class, and
9823 eieio--with-scoped-class.
9824
9825 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9826
9827 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9828
9829 * eshell/esh-ext.el (eshell-external-command): Pass args to
9830 `eshell-find-interpreter'.
9831 (eshell-find-interpreter): Add new second parameter ARGS.
9832
9833 * eshell/em-script.el (eshell-script-initialize): Add second arg
9834 to the function added as MATCH to `eshell-interpreter-alist'.
9835
9836 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9837 the function added as MATCH to `eshell-interpreter-alist'.
9838
9839 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9840 (eshell-visual-options): New defcustom.
9841 (eshell-escape-control-x): Adapt docstring.
9842 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9843 `eshell-visual-options' in addition to `eshell-visual-commands'.
9844 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9845
9846 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9847
9848 * progmodes/python.el (python-indent-block-enders): Add break,
9849 continue and raise keywords.
9850
9851 2013-06-01 Glenn Morris <rgm@gnu.org>
9852
9853 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9854
9855 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9856 * progmodes/cc-cmds.el (delete-forward-p):
9857 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9858 * progmodes/cc-engine.el (buffer-syntactic-context):
9859 * progmodes/cc-fonts.el (face-property-instance):
9860 * progmodes/cc-mode.el (set-keymap-parents):
9861 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9862 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9863 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9864 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9865 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9866
9867 * progmodes/cc-vars.el (other): Emacs has this widget since
9868 at least 21.1, so don't (re)define it.
9869
9870 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9871 Replace the obsolete alias pcomplete-arg-quote-list.
9872
9873 2013-06-01 Leo Liu <sdl.web@gmail.com>
9874
9875 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9876 punctuation syntax.
9877 (inferior-octave-minimal-columns)
9878 (inferior-octave-last-column-width): New variables.
9879 (inferior-octave-track-window-width-change): New function.
9880 (inferior-octave-mode): Adjust column width so that Octave output,
9881 for example from 'ls', can fit into the window nicely.
9882
9883 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9884
9885 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9886 Highlight expansions inside regexp literals.
9887
9888 2013-05-31 Glenn Morris <rgm@gnu.org>
9889
9890 * obsolete/sym-comp.el (symbol-complete):
9891 Replace obsolete completion-annotate-function.
9892
9893 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9894
9895 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9896
9897 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9898 New function, checks if point is inside a literal that allows
9899 expression expansion.
9900 (ruby-syntax-propertize-expansion): Use it.
9901 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9902 around the body.
9903
9904 2013-05-30 Juri Linkov <juri@jurta.org>
9905
9906 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9907 to "\M-si".
9908 (isearch-invisible): New variable.
9909 (isearch-forward): Doc fix.
9910 (isearch-mode): Set `isearch-invisible'
9911 to the value of `search-invisible'.
9912 (isearch-toggle-case-fold): Doc fix.
9913 (isearch-toggle-invisible): New command.
9914 (isearch-query-replace): Let-bind `search-invisible'
9915 to the value of `isearch-invisible'.
9916 (isearch-search): Use `isearch-invisible' instead of
9917 `search-invisible'. Let-bind `search-invisible'
9918 to the value of `isearch-invisible'. (Bug#11378)
9919
9920 2013-05-30 Juri Linkov <juri@jurta.org>
9921
9922 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9923 call when `query-flag' is nil and `search-invisible' is non-nil.
9924 (Bug#11746)
9925
9926 2013-05-30 Glenn Morris <rgm@gnu.org>
9927
9928 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9929
9930 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9931 (cc-require): Suppress spurious "noruntime" warnings.
9932 (cc-require-when-compile): Use fboundp, for sake of compiler.
9933
9934 * progmodes/cc-mode.el: Move load of cc-vars before that of
9935 cc-langs (which in turn loads cc-vars), to quieten compiler.
9936
9937 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * paren.el: Simplify the code.
9940 (show-paren-mode): Always start the timer.
9941 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9942 (show-paren--overlay, show-paren--overlay-1): Rename from
9943 show-paren-overlay and show-paren-overlay-1, and initialize to an
9944 overlay rather than to nil.
9945 (show-paren-function): Misc cleanup and simplifications.
9946
9947 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * paren.el (show-paren-data-function): New hook.
9950 (show-paren--default): New function, extracted from show-paren-function.
9951 (show-paren-function): Use show-paren-data-function.
9952
9953 2013-05-30 Glenn Morris <rgm@gnu.org>
9954
9955 * ielm.el (ielm-map, ielm-complete-symbol):
9956 Use completion-at-point rather than obsolete functions.
9957 (inferior-emacs-lisp-mode): Doc fix.
9958 Set completion-at-point-functions, rather than
9959 comint-dynamic-complete-functions.
9960
9961 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9962 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9963 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9964
9965 * image.el (image-animated-p): Tweak definition.
9966
9967 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9968 (rlogin-process-connection-type): Tweak default. Add set-after.
9969 (rlogin-host): Doc fix.
9970 (rlogin): Tweak prompt.
9971 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9972
9973 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9974 * progmodes/tcl.el (inferior-tcl-mode-map):
9975 Use completion-at-point rather than obsolete alias.
9976
9977 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9978
9979 * minibuffer.el (read-file-name-completion-ignore-case):
9980 Move before completion--in-region, for eager macro expansion.
9981
9982 2013-05-29 Juri Linkov <juri@jurta.org>
9983
9984 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9985 for total count of matching lines. Add `global-matches' for total
9986 count of matches. Rename `matches' to `lines' for count of
9987 matching lines. Add `matches' for count of matches.
9988 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9989 to `prev-line' for line number of prev match endpt.
9990 Increment `matches' for every match. Print the number of
9991 matching lines in the header.
9992 (occur-context-lines): Rename `lines' to `curr-line'.
9993 Rename `prev-lines' to `prev-line'. (Bug#14017)
9994
9995 2013-05-29 Juri Linkov <juri@jurta.org>
9996
9997 * replace.el (perform-replace): Add `skip-read-only-count',
9998 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9999 Increment them for corresponding conditions and report the number
10000 of skipped occurrences in the final message. (Bug#11746)
10001 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10002 (replace-string, replace-regexp): Doc fix.
10003
10004 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10005
10006 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10007
10008 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10009 prog-mode-map (bug#14504).
10010
10011 2013-05-29 Leo Liu <sdl.web@gmail.com>
10012
10013 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10014 (octave-help): Small simplification.
10015
10016 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10017 off the highlight first.
10018
10019 2013-05-29 Glenn Morris <rgm@gnu.org>
10020
10021 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10022 Handle idlwave-last-system-routine-info-cons-cell being nil.
10023
10024 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10025 (idlwave-write-paths): Simplify via with-temp-buffer.
10026
10027 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10028 * emulation/cua-rect.el: Also load cua-base at run time.
10029
10030 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10031 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10032 (cperl-imenu-on-info): Require imenu.
10033
10034 2013-05-28 Alan Mackenzie <acm@muc.de>
10035
10036 Handle "capitalised keywords" correctly.
10037 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10038
10039 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10040
10041 * eshell/em-unix.el: Add -r option to cp.
10042
10043 2013-05-28 Glenn Morris <rgm@gnu.org>
10044
10045 * vc/vc-arch.el (vc-exec-after): Declare.
10046 (vc-switches): Autoload.
10047 * vc/vc-bzr.el: No need to require vc when compiling.
10048 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10049 (vc-resynch-buffer, vc-dir-refresh): Declare.
10050 (vc-setup-buffer, vc-switches): Autoload.
10051 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10052 (vc-resynch-buffer): Declare.
10053 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10054 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10055 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10056 (grep-read-regexp, grep-read-files, grep-expand-template)
10057 (vc-dir-refresh): Declare.
10058 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10059 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10060 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10061 * vc/vc-mtn.el (vc-exec-after): Declare.
10062 (vc-switches): Autoload.
10063 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10064 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10065 (vc-file-tree-walk): Declare.
10066 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10067 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10068 (vc-tag-precondition, vc-rename-master): Autoload.
10069 * vc/vc-svn.el (vc-exec-after): Declare.
10070 (vc-switches, vc-setup-buffer): Autoload.
10071 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10072 Autoload.
10073 (vc-resynch-buffer): Declare.
10074
10075 * obsolete/fast-lock.el (byte-compile-warnings):
10076 Don't warn about obsolete features in this obsolete file.
10077
10078 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10079 Move definition before use.
10080
10081 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10082 (dun-unix-verbs): Remove dun-zippy.
10083 (dun-zippy): Remove function.
10084
10085 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10086
10087 2013-05-27 Juri Linkov <juri@jurta.org>
10088
10089 * replace.el (replace-search): New function with code moved out
10090 from `perform-replace'.
10091 (replace-highlight, replace-dehighlight): Move function definitions
10092 up closer to `replace-search'. (Bug#11746)
10093
10094 2013-05-27 Juri Linkov <juri@jurta.org>
10095
10096 * replace.el (perform-replace): Ignore invisible matches.
10097 In addition to checking `query-replace-skip-read-only', also
10098 filter out matches by calling `run-hook-with-args-until-failure'
10099 on `isearch-filter-predicates', and also check `search-invisible'
10100 for t or call `isearch-range-invisible'.
10101 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10102
10103 2013-05-27 Juri Linkov <juri@jurta.org>
10104
10105 * isearch.el (isearch-filter-predicates): Rename from
10106 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10107 (isearch-message-prefix): Display text from the property
10108 `isearch-message-prefix' of the currently active filters.
10109 (isearch-search): Don't compare `isearch-filter-predicate' with
10110 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10111 on `isearch-filter-predicates'. Also check `search-invisible' for t
10112 or call `isearch-range-invisible'.
10113 (isearch-filter-visible): Make obsolete.
10114 (isearch-lazy-highlight-search):
10115 Call `run-hook-with-args-until-failure' on
10116 `isearch-filter-predicates' and use `isearch-range-invisible'.
10117
10118 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10119 `isearch-filter-predicates' instead of `funcall'ing
10120 `isearch-filter-predicate'.
10121 (Info-mode): Set `Info-isearch-filter' to
10122 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10123
10124 * dired-aux.el (dired-isearch-filter-predicate-orig):
10125 Remove variable.
10126 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10127 (dired-isearch-filenames-end): Add and remove
10128 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10129 instead of changing the value of `isearch-filter-predicate'.
10130 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10131 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10132 Put property `isearch-message-prefix' to "filename " on
10133 `dired-isearch-filter-filenames'.
10134
10135 * wdired.el (wdired-change-to-wdired-mode):
10136 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10137 locally instead of changing `isearch-filter-predicate'.
10138 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10139
10140 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10141
10142 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10143 return the commit hash (Bug#14459). Also set the
10144 `vc-git-detached' property.
10145 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10146 (vc-git-mode-line-string): Use the same help-echo format whether
10147 in detached mode or not, because we know the actual revision now.
10148 When in detached mode, shorten the revision to 7 chars.
10149
10150 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10151
10152 * emacs-lisp/easy-mmode.el (define-minor-mode):
10153 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10154 mode hook and provide a docstring.
10155
10156 2013-05-27 Alan Mackenzie <acm@muc.de>
10157
10158 Remove spurious syntax-table text properties inserted by C-y.
10159 * progmodes/cc-mode.el (c-after-change): Also clear hard
10160 syntax-table property with value nil.
10161
10162 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10163
10164 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10165 when reading the events; the buffer layout shall not be changed.
10166
10167 2013-05-27 Leo Liu <sdl.web@gmail.com>
10168
10169 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10170 New variable.
10171 (inferior-octave-directory-tracker): Automatically re-sync
10172 default-directory.
10173 (octave-help): Improve handling of 'See also'.
10174
10175 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10176
10177 * doc-view.el: Minor naming convention tweaks.
10178 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10179
10180 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10181 even if there's no `display' property yet (bug#14435).
10182
10183 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10184
10185 * subr.el (unmsys--file-name): Rename from reveal-filename.
10186
10187 * Makefile.in (custom-deps, finder-data, autoloads)
10188 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10189 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10190 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10191
10192 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10195 error-completion on the first 2 args of condition-case (bug#14446).
10196 Don't burp at EOB.
10197
10198 2013-05-25 Leo Liu <sdl.web@gmail.com>
10199
10200 * comint.el (comint-previous-matching-input): Do not flood the
10201 *Messages* buffer with trivial messages.
10202
10203 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * progmodes/flymake.el (flymake-nop): Don't return a string.
10206 (flymake-set-at): Fix typo.
10207
10208 * simple.el (read--expression): New function, extracted from
10209 eval-expression. Set completion-at-point-functions (bug#14465).
10210 (eval-expression, eval-minibuffer): Use it.
10211
10212 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10213
10214 * progmodes/flymake.el (flymake-save-buffer-in-file)
10215 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10216 (flymake-selected-frame, flymake-log, flymake-ins-after)
10217 (flymake-set-at, flymake-get-buildfile-from-cache)
10218 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10219 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10220 Refine the doc string.
10221 (flymake-get-file-name-mode-and-masks): Reformat.
10222 (flymake-get-real-file-name-function): Fix a minor bug.
10223
10224 2013-05-24 Juri Linkov <juri@jurta.org>
10225
10226 * progmodes/grep.el (grep-mode-font-lock-keywords):
10227 Support =linenumber= format used by git-grep for lines with
10228 function names. (Bug#13549)
10229
10230 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10231
10232 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10233 0 after a semi-colon; it works better for smie-auto-fill.
10234 (octave--indent-new-comment-line): New function.
10235 (octave-indent-new-comment-line): Use it (indirectly).
10236 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10237 modify comment-line-break-function.
10238
10239 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10240 (smie-setup): Use add-function to set it.
10241
10242 2013-05-24 Sam Steingold <sds@gnu.org>
10243
10244 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10245 argument (before the `interactive' argument).
10246
10247 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * image-mode.el (image-mode-winprops): Add winprops to
10250 image-mode-winprops-alist before running
10251 image-mode-new-window-functions.
10252 * doc-view.el (doc-view-new-window-function): Don't delay
10253 doc-view-goto-page via timers (bug#14435).
10254
10255 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10256
10257 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10258 (doc-view-desktop-save-buffer): New function.
10259 (doc-view-restore-desktop-buffer): New function.
10260 (desktop-buffer-mode-handlers):
10261 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10262 handler.
10263 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10264 `desktop-save-buffer' function.
10265
10266 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10267
10268 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10269 (tramp-gvfs-file-name-handler): Raise a user error when
10270 `tramp-gvfs-enabled' is nil.
10271 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10272 Do not raise a user error when loading package. (Bug#14447)
10273
10274 * net/xesam.el: Move to obsolete/.
10275
10276 2013-05-24 Glenn Morris <rgm@gnu.org>
10277
10278 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10279
10280 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10281
10282 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10283 (Info-find-node, Man-getpage-in-background): Declare.
10284
10285 * mail/unrmail.el (unrmail):
10286 Replace obsolete detect-coding-with-priority.
10287
10288 * net/socks.el (socks-split-string): Use this rather than split-string.
10289 (socks-nslookup-host): Update for above change.
10290 (dynamic-choice, s5-dynamic-choice-match)
10291 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10292 Comment out unused code.
10293
10294 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10295 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10296 (gud-tooltip-echo-area): Make obsolete.
10297 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10298
10299 * progmodes/js.el (js--optimize-arglist): Declare.
10300
10301 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10302
10303 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10304 (ediff-window-C): Declare.
10305
10306 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10307 Tweak requires to silence compiler.
10308
10309 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10310 (he-search-string, he-tried-table, he-expand-list)
10311 (he-init-string, he-string-member, he-substitute-string)
10312 (he-reset-string): Declare.
10313
10314 * obsolete/options.el (list-options): Use custom-variable-p,
10315 rather than obsolete alias.
10316
10317 2013-05-23 Sam Steingold <sds@gnu.org>
10318
10319 * simple.el (shell-command-on-region): Pass the `replace' argument
10320 down to `call-process-region' to comply with the doc as reported on
10321 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10322
10323 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10324
10325 * emacs-lisp/smie.el (smie-indent-forward-token)
10326 (smie-indent-backward-token): Handle string tokens (bug#14381).
10327
10328 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10329
10330 * ielm.el (ielm-menu): New menu.
10331 (inferior-emacs-lisp-mode): Set comment-start.
10332
10333 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10334
10335 * textmodes/reftex.el (reftex-ref-style-toggle):
10336 Fix deactivate action.
10337
10338 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10339 Add cleveref macros.
10340
10341 * textmodes/reftex-parse.el
10342 (reftex-locate-bibliography-files): Accept options for
10343 bibliography commands.
10344 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10345 Add addbibresource. Basic Biblatex support.
10346
10347 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * net/tramp-gvfs.el (top):
10350 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10351 when loading package. (Bug#14447)
10352
10353 2013-05-23 Glenn Morris <rgm@gnu.org>
10354
10355 * progmodes/js.el: No need to load comint when compiling.
10356 (ring-insert, comint-send-string, comint-send-input)
10357 (comint-last-input-end, ido-chop): Declare.
10358
10359 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10360 * vc/ediff-mult.el: Adjust requires.
10361 (ediff-directories-internal, ediff-directory-revisions-internal)
10362 (ediff-patch-file-internal): Declare.
10363 * vc/ediff-ptch.el: Adjust requires.
10364 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10365 (ediff-find-file): Autoload.
10366 * vc/ediff-util.el: No need to load ediff when compiling.
10367 (ediff-regions-internal): Declare.
10368 * vc/ediff-wind.el: Adjust requires.
10369 (ediff-compute-toolbar-width): Define when compiling.
10370 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10371 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10372 (dired-get-filename, dired-get-marked-files)
10373 (ediff-last-dir-patch, ediff-patch-default-directory)
10374 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10375 (ediff-patch-buffer-internal): Declare.
10376
10377 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10378 (ispell-process, ispell-buffer-local-words, lm-summary)
10379 (lm-section-start, lm-section-end): Declare.
10380 (checkdoc-ispell-init): Simplify.
10381
10382 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10383 (he-string-member, he-reset-string, he-substitute-string): Declare.
10384
10385 * eshell/em-ls.el: Adjust requires.
10386 (eshell-glob-regexp): Declare.
10387 * eshell/em-tramp.el: Adjust requires.
10388 (eshell-parse-command): Autoload.
10389 * eshell/em-xtra.el: Adjust requires.
10390 (eshell-parse-command): Autoload.
10391 * eshell/esh-ext.el: Adjust requires.
10392 (eshell-parse-command, eshell-close-handles): Autoload.
10393 * eshell/esh-io.el: Adjust requires.
10394 (eshell-output-filter): Autoload.
10395 * eshell/esh-util.el: No need to load tramp when compiling.
10396 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10397 Declare.
10398 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10399 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10400 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10401 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10402 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10403 * eshell/esh-opt.el, eshell/esh-proc.el:
10404 * eshell/esh-var.el: Adjust requires.
10405 * eshell/eshell.el: Do not require esh-util twice.
10406 (eshell-add-input-to-history): Declare.
10407 (eshell-command): Check history module is active before using it.
10408
10409 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10410
10411 2013-05-22 Leo Liu <sdl.web@gmail.com>
10412
10413 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10414
10415 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10416
10417 * autorevert.el (auto-revert-notify-add-watch)
10418 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10419 it indicates changes in file modification time.
10420
10421 2013-05-22 Glenn Morris <rgm@gnu.org>
10422
10423 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10424 Always delete the autoloaded function from the noruntime and
10425 unresolved functions lists.
10426
10427 * allout.el: No need to load epa, epg, overlay when compiling.
10428 (epg-context-set-passphrase-callback, epg-list-keys)
10429 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10430 (epg-key-user-id-list): Declare.
10431
10432 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10433 (viper-set-parsing-style-toggling-macro)
10434 (viper-set-emacs-state-searchstyle-macros):
10435 Use called-interactively-p on Emacs.
10436 (viper-looking-back): Make it an obsolete alias. Update callers.
10437 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10438 Use looking-back rather than viper-looking-back.
10439 (viper-tmp-insert-at-eob, viper-enlarge-region)
10440 (viper-read-string-with-history, viper-register-to-point)
10441 (viper-append-to-register, viper-change-state-to-vi)
10442 (viper-backward-char-carefully, viper-forward-char-carefully)
10443 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10444 (viper-change-state-to-emacs): Declare.
10445 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10446 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10447 * emulation/viper-mous.el: Do not load viper-cmd.
10448 (viper-backward-char-carefully, viper-forward-char-carefully)
10449 (viper-forward-word, viper-adjust-window): Declare.
10450
10451 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10452
10453 * progmodes/idlw-help.el (idlwave-help-fontify):
10454 Use called-interactively-p.
10455
10456 * term/w32console.el (w32-get-console-codepage)
10457 (w32-get-console-output-codepage): Declare.
10458
10459 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10460 Remove unnecessary declarations.
10461 (dframe-message): Doc fix.
10462
10463 * info.el (dframe-select-attached-frame, dframe-current-frame):
10464 Declare.
10465
10466 * speedbar.el (speedbar-message): Make it an obsolete alias.
10467 Update all callers.
10468 (speedbar-with-attached-buffer)
10469 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10470 (speedbar-with-writable): Use backquote.
10471 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10472 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10473 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10474 rather than speedbar- aliases.
10475 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10476 (speedbar-make-specialized-keymap, speedbar-insert-button)
10477 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10478 (speedbar-do-function-pointer): Declare.
10479 (rmail-speedbar-button, rmail-speedbar-find-file)
10480 (rmail-speedbar-move-message):
10481 Use dframe-with-attached-buffer rather than speedbar- alias.
10482 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10483 (dframe-message, speedbar-make-specialized-keymap)
10484 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10485 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10486 (speedbar-insert-button, dframe-select-attached-frame)
10487 (dframe-maybee-jump-to-attached-frame)
10488 (speedbar-change-initial-expansion-list)
10489 (speedbar-previously-used-expansion-list-name): Declare.
10490 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10491 Use dframe-message, dframe-with-attached-buffer rather than
10492 speedbar- aliases.
10493 (gud-sentinel): Silence compiler.
10494 * progmodes/vhdl-mode.el (speedbar-refresh)
10495 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10496 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10497 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10498 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10499 (speedbar-file-lists, speedbar-make-tag-line)
10500 (speedbar-line-directory, speedbar-goto-this-file)
10501 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10502 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10503 (speedbar-make-button, speedbar-reset-scanners)
10504 (speedbar-files-item-info, speedbar-line-text)
10505 (speedbar-find-file-in-frame, speedbar-set-timer)
10506 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10507 (speedbar-with-writable): Do not (re)define it.
10508 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10509 rather than speedbar- alias.
10510
10511 2013-05-21 Leo Liu <sdl.web@gmail.com>
10512
10513 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10514 menu items.
10515 (octave-mode): Tweak fill-nobreak-predicate.
10516 (inferior-octave-startup): Check process to avoid infinite loop.
10517 (inferior-octave): Pop to buffer first to show abornmal process
10518 exit information.
10519
10520 2013-05-21 Glenn Morris <rgm@gnu.org>
10521
10522 * printing.el (pr-menu-bar): Define when compiling.
10523
10524 2013-05-21 Leo Liu <sdl.web@gmail.com>
10525
10526 * progmodes/octave.el (octave-auto-fill): Remove.
10527 (octave-indent-new-comment-line): Improve.
10528 (octave-mode): Use auto fill mode through
10529 comment-line-break-function and fill-nobreak-predicate.
10530 (octave-goto-function-definition): Support DEFUN_DLD.
10531 (octave-beginning-of-defun): Small tweak.
10532 (octave-help): Show parent directory.
10533
10534 2013-05-21 Glenn Morris <rgm@gnu.org>
10535
10536 * files.el (dired-unmark):
10537 * progmodes/gud.el (gdb-input): Update declarations.
10538
10539 * calculator.el (electric, ehelp): No need to load when compiling.
10540 (Electric-command-loop, electric-describe-mode): Declare.
10541
10542 * doc-view.el (doc-view-current-converter-processes): Move before use.
10543
10544 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10545 Move MODE-set-explicitly definition before use.
10546
10547 * international/mule-diag.el (mule-diag):
10548 Don't use obsolete window-system-version.
10549
10550 * mail/feedmail.el (smtpmail): No need to load when compiling.
10551 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10552
10553 * mail/mail-utils.el (rfc822): No need to load when compiling.
10554 (rfc822-addresses): Autoload it.
10555 (mail-strip-quoted-names): Trivial simplification.
10556
10557 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10558 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10559
10560 * net/snmp-mode.el (tempo): Don't duplicate requires.
10561
10562 * progmodes/prolog.el (info): No need to load when compiling.
10563 (comint): Require before shell requires it.
10564 (Info-goto-node): Autoload it.
10565 (Info-follow-nearest-node): Declare.
10566 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10567
10568 * textmodes/artist.el (picture-mode-exit): Declare.
10569
10570 * textmodes/reftex-parse.el (reftex-parse-from-file):
10571 Trivial rewrite so the compiler can parse it better.
10572
10573 2013-05-20 Leo Liu <sdl.web@gmail.com>
10574
10575 * progmodes/octave.el (octave-help-mode-map)
10576 (octave-help-mode-finish-hook): New variables.
10577 (octave-help-mode, octave-help-mode-finish): New functions.
10578 (octave-help): Use octave-help-mode.
10579
10580 2013-05-20 Glenn Morris <rgm@gnu.org>
10581
10582 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10583
10584 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10585
10586 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10587 start at point, so that expansion starting right after opening
10588 slash in a regexp is recognized.
10589 (ruby-syntax-before-regexp-re): New defvar, extracted from
10590 ruby-syntax-propertize-function. Since the value of this regexp
10591 is looked up at runtime now, we should be able to turn
10592 `ruby-syntax-methods-before-regexp' into a defcustom later.
10593 (ruby-syntax-propertize-function): Split regexp matching into two
10594 parts, for opening and closing slashes. That allows us to skip
10595 over string interpolations and support multiline regexps.
10596 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10597 for them, which calls `ruby-syntax-propertize-expansion'.
10598 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10599 call to `ruby-syntax-propertize-function'.
10600 (ruby-syntax-propertize-expansion): Extracted from
10601 `ruby-syntax-propertize-expansions'. Handles one expansion.
10602 (ruby-syntax-propertize-percent-literal): Leave point right after
10603 the percent symbol, so that the expression expansion rule can
10604 propertize the contents.
10605 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10606 heredoc openers.
10607 (ruby-syntax-propertize-expansions): Remove.
10608
10609 2013-05-18 Juri Linkov <juri@jurta.org>
10610
10611 * man.el (Man-default-man-entry): Remove `-' from the end
10612 of the default value. (Bug#14400)
10613
10614 2013-05-18 Glenn Morris <rgm@gnu.org>
10615
10616 * comint.el (comint-password-prompt-regexp):
10617 Allow "password for XXX" where XXX contains colons (eg https://...).
10618
10619 2013-05-18 Leo Liu <sdl.web@gmail.com>
10620
10621 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10622 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10623 (octave-source-directories): Don't check process.
10624 (octave-source-directories, octave-find-definition): Doc fix.
10625
10626 2013-05-18 Glenn Morris <rgm@gnu.org>
10627
10628 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10629 Remove backspace/delete bindings. (Bug#14392)
10630
10631 * cus-dep.el (custom-make-dependencies): Sort the output.
10632 (custom-versions-load-alist): Convert comment to doc.
10633
10634 2013-05-17 Leo Liu <sdl.web@gmail.com>
10635
10636 * newcomment.el (comment-search-backward): Stricter in finding
10637 comment start. (Bug#14303)
10638
10639 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10640 (octave-comment-start-skip): Properly anchored.
10641
10642 2013-05-17 Leo Liu <sdl.web@gmail.com>
10643
10644 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10645 Clean up when turned off. (Bug#14395)
10646 (smie--highlight-matching-block-overlay): No longer buffer-local.
10647 (smie-highlight-matching-block): Adjust.
10648
10649 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10650
10651 Doc string fix for "nanoseconds" (Bug#14406).
10652 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10653 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10654
10655 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10656
10657 * calc/calc-units.el (math-extract-units): Preserve powers
10658 of units.
10659
10660 2013-05-17 Leo Liu <sdl.web@gmail.com>
10661
10662 * subr.el (delete-consecutive-dups): New function.
10663 * ido.el (ido-set-matches-1): Use it.
10664 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10665 * ido.el (ido-remove-consecutive-dups): Remove.
10666
10667 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10668
10669 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10670 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10671 regexp-opt's `words'.
10672
10673 2013-05-16 Leo Liu <sdl.web@gmail.com>
10674
10675 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10676 (smie--highlight-matching-block-overlay)
10677 (smie--highlight-matching-block-lastpos)
10678 (smie--highlight-matching-block-timer): New variables.
10679 (smie-highlight-matching-block): New function.
10680 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10681 (smie-setup): Conditionally enable smie-blink-matching-open.
10682
10683 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10684
10685 Sync with upstream verilog-mode r840.
10686 * progmodes/verilog-mode.el (verilog-mode-version)
10687 (verilog-mode-release-date): Update.
10688 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10689 (verilog-sig-tieoff): Fix string error on
10690 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10691 (verilog-read-decls): Fix parameters confusing
10692 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10693
10694 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10695
10696 * subr.el (reveal-filename): New function.
10697
10698 * loadup.el: Compute Emacs executable versions on MS-Windows,
10699 where executables have the .exe extension. Add a hard link
10700 emacs-XX.YY.ZZ.exe on MS-Windows.
10701
10702 * Makefile.in (XARGS_LIMIT): New variable.
10703 (custom-deps, finder-data, autoloads)
10704 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10705 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10706 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10707 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10708
10709 2013-05-16 Leo Liu <sdl.web@gmail.com>
10710
10711 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10712 (octave-mode-menu, octave-mode-map): Remove its uses.
10713
10714 2013-05-16 Reto Zimmermann <reto@gnu.org>
10715
10716 Sync with upstream vhdl mode v3.34.2.
10717 * progmodes/vhdl-mode.el: Use `push' throughout.
10718 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10719 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10720 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10721 (vhdl-actual-generic-name): New option to derive actual generic name.
10722 (vhdl-port-paste-signals): Replace formal by actual generics.
10723 (vhdl-beautify): New name for old group vhdl-align. Update users.
10724 (vhdl-beautify-options): New option.
10725 (vhdl-last-input-event): New compat alias. Use throughout.
10726 (vhdl-goto-line): Replace user level function `goto-line'.
10727 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10728 vhdl-fix-statement-buffer.
10729 (vhdl-create-mode-menu): Add some entries.
10730 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10731 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10732 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10733 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10734 to force statements on one line.
10735 (vhdl-remove-trailing-spaces-region):
10736 New, split from vhdl-remove-trailing-spaces.
10737 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10738 Respect vhdl-beautify-options.
10739 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10740 (vhdl-update-sensitivity-list): Not add with index if exists without.
10741 Not include array index with signal. Ignore keywords in comments.
10742 (vhdl-get-visible-signals): Regexp tweaks.
10743 (vhdl-template-component-inst): Handle empty library.
10744 (vhdl-template-type): Add template for 'enum' type.
10745 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10746 Use vhdl-replace-string.
10747 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10748 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10749 (vhdl-speedbar-initialize): Update for above name change.
10750 (vhdl-compose-wire-components): Fix in handling of constants.
10751 (vhdl-error-regexp-emacs-alist): New variable.
10752 (vhdl-error-regexp-add-emacs): New function;
10753 adds support for new compile.el (Emacs 22+)
10754 (vhdl-generate-makefile-1): Change target order for single lib. units.
10755 Allow use of absolute file names.
10756
10757 2013-05-16 Leo Liu <sdl.web@gmail.com>
10758
10759 * simple.el (prog-indent-sexp): Indent enclosing defun.
10760
10761 2013-05-15 Glenn Morris <rgm@gnu.org>
10762
10763 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10764 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10765 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10766 (whitespace-highlight): Move to whitespace group.
10767
10768 * comint.el (comint-source):
10769 * pcmpl-linux.el (pcmpl-linux):
10770 * shell.el (shell-faces):
10771 * eshell/esh-opt.el (eshell-opt):
10772 * international/ccl.el (ccl): Remove empty custom groups.
10773
10774 * completion.el (dynamic-completion-mode):
10775 * jit-lock.el (jit-lock-debug-mode):
10776 * minibuffer.el (completion-in-region-mode):
10777 * type-break.el (type-break-mode-line-message-mode)
10778 (type-break-query-mode):
10779 * emulation/tpu-edt.el (tpu-edt-mode):
10780 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10781 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10782 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10783
10784 * term/xterm.el (xterm): Change parent group to terminals.
10785
10786 * master.el (master): Remove empty custom group.
10787 (master-mode): Remove unused :group argument.
10788 * textmodes/refill.el (refill): Remove empty custom group.
10789 (refill-mode): Remove unused :group argument.
10790
10791 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10792
10793 * cus-dep.el: Provide a feature.
10794 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10795 Don't mistakenly ignore files whose basenames match a basename
10796 from preloaded-file-list (eg cedet/ede/simple.el).
10797 Add a fallback method for getting :group.
10798
10799 2013-05-15 Juri Linkov <juri@jurta.org>
10800
10801 * isearch.el (isearch-char-by-name): Rename from
10802 `isearch-insert-char-by-name'. Doc fix.
10803 (isearch-forward): Mention `isearch-char-by-name' in
10804 the docstring. (Bug#13348)
10805
10806 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10807 `exit-minibuffer' instead of
10808 `isearch-nonincremental-exit-minibuffer'.
10809 (isearch-edit-string): Remove mention of
10810 `isearch-nonincremental-exit-minibuffer' from docstring.
10811 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10812 (isearch-forward-exit-minibuffer)
10813 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10814
10815 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10816
10817 * loadup.el: Just use unversioned DOC.
10818
10819 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10820 literals as extending to EOB.
10821 (nxml-last-fontify-end): Remove unused variable.
10822 (nxml-after-change1): Use with-silent-modifications.
10823 (nxml-extend-after-change-region): Simplify.
10824 (nxml-extend-after-change-region1): Remove function.
10825 (nxml-after-change1): Don't adjust for dependent regions.
10826 (nxml-fontify-matcher): Simplify.
10827 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10828 (xmltok-add-dependent): Remove function.
10829 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10830 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10831 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10832 unclosed <[[, <?, comment, and other literals as extending to EOB.
10833 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10834 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10835 Remove functions.
10836 (rng-do-some-validation-1): Don't mark dependent regions.
10837 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10838 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10839 (nxml-clear-dependent-regions): Remove functions.
10840 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10841 (nxml-ensure-scan-up-to-date):
10842 Don't clear&mark dependent regions.
10843
10844 2013-05-15 Leo Liu <sdl.web@gmail.com>
10845
10846 * progmodes/octave.el (octave-goto-function-definition):
10847 Improve and fix callers.
10848
10849 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10852 the setter (bug#14387).
10853
10854 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10855 surrounding group (bug#14402).
10856
10857 2013-05-14 Juri Linkov <juri@jurta.org>
10858
10859 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10860 (Bug#14390)
10861
10862 2013-05-14 Glenn Morris <rgm@gnu.org>
10863
10864 * progmodes/f90.el (f90-imenu-generic-expression):
10865 Fix typo in 2013-05-08 change. (Bug#14402)
10866
10867 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10868
10869 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10870 Remove signals for which replies are never received.
10871
10872 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10873
10874 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10875 (gdb-handler-alist, gdb-handler-number): Remove variables.
10876 (gdb-handler-list): New variable.
10877 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10878 (gdb-pending-handler-p, gdb-handle-reply)
10879 (gdb-remove-all-pending-triggers): New functions.
10880 (gdb-discard-unordered-replies): New defcustom.
10881 (gdb-handler): New defstruct.
10882 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10883 instead of gdb-pending-triggers. Update docstring.
10884 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10885 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10886 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10887 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10888 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10889 (gdb-frame-handler): Pending triggers are now automatically managed.
10890 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10891 Remove argument.
10892 (gdb-input): Automatically handles pending triggers. Update docstring.
10893 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10894 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10895 Update comments.
10896 (gdb-done-or-error): Now use gdb-handle-reply.
10897
10898 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10899
10900 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10901 gdb-debug-log.
10902
10903 2013-05-14 Glenn Morris <rgm@gnu.org>
10904
10905 * subr.el (user-emacs-directory-warning): New option.
10906 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10907
10908 2013-05-14 Leo Liu <sdl.web@gmail.com>
10909
10910 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10911 during redisplay.
10912 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10913 (octave-font-lock-texinfo-comment): Fix invalid search bound
10914 error: wrong side of point.
10915
10916 2013-05-14 Glenn Morris <rgm@gnu.org>
10917
10918 * progmodes/flymake.el (flymake-xml-program): New option.
10919 (flymake-xml-init): Use it.
10920
10921 * term/xterm.el: Provide a feature.
10922
10923 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10924
10925 2013-05-13 Glenn Morris <rgm@gnu.org>
10926
10927 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10928 Add compat aliases as a hack workaround. (Bug#14384)
10929
10930 2013-05-13 Leo Liu <sdl.web@gmail.com>
10931
10932 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10933 ###, and %!.
10934 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10935 C-M-q.
10936 (octave-comment-start-skip): Include %!.
10937 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10938
10939 2013-05-12 Leo Liu <sdl.web@gmail.com>
10940
10941 * progmodes/octave.el (inferior-octave-startup): Store the value
10942 of __octave_srcdir__ for octave-source-directories.
10943 (inferior-octave-check-process): New function refactored out of
10944 inferior-octave-send-list-and-digest.
10945 (octave-source-directories)
10946 (octave-find-definition-filename-function): New variables.
10947 (octave-source-directories)
10948 (octave-find-definition-default-filename): New functions.
10949 (octave-find-definition): Improve to find functions implemented in C++.
10950
10951 2013-05-12 Glenn Morris <rgm@gnu.org>
10952
10953 * calendar/diary-lib.el (diary-outlook-format-1):
10954 Don't include dayname in the output. (Bug#14349)
10955
10956 2013-05-11 Glenn Morris <rgm@gnu.org>
10957
10958 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10959
10960 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10961 Treat cc-provide like provide.
10962
10963 2013-05-11 Kevin Ryde <user42@zip.com.au>
10964
10965 * cus-dep.el (custom-make-dependencies):
10966 Use generated-autoload-load-name for the sake of files such
10967 such cedet/semantic/bovine/c.el, where the base file name
10968 is not in load-path. (Bug#5277)
10969
10970 2013-05-11 Glenn Morris <rgm@gnu.org>
10971
10972 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10973 Provide features.
10974
10975 2013-05-11 Leo Liu <sdl.web@gmail.com>
10976
10977 * progmodes/octave.el (octave-indent-comment): Improve.
10978 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10979 (octave-eldoc-function-signatures, octave-eldoc-function):
10980 New functions.
10981 (octave-mode, inferior-octave-mode): Add eldoc support.
10982
10983 2013-05-11 Richard Stallman <rms@gnu.org>
10984
10985 * epa.el (epa-decrypt-file): Take output file name as argument
10986 and read it using `interactive'.
10987
10988 2013-05-11 Leo Liu <sdl.web@gmail.com>
10989
10990 * progmodes/octave.el (octave-beginning-of-line)
10991 (octave-end-of-line): Check before using up-list because it jumps
10992 out of more syntactic contructs since moving to smie.
10993 (octave-indent-comment): New function.
10994 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10995 (octave-begin-keywords, octave-end-keywords)
10996 (octave-reserved-words, octave-smie-bnf-table)
10997 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10998
10999 2013-05-11 Glenn Morris <rgm@gnu.org>
11000
11001 * faces.el (internal-face-x-get-resource):
11002 * frame.el (ns-display-monitor-attributes-list):
11003 * calc/calc-aent.el (math-to-radians-2):
11004 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11005 Fix declarations.
11006
11007 * calc/calc-menu.el: Make it loadable in isolation.
11008
11009 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11010 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11011 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11012 (eudc-bbdb-query-internal): Require 'bbdb.
11013
11014 * lpr.el (lpr-headers-switches):
11015 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11016
11017 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11018
11019 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11020
11021 * term.el (term-set-escape-char): Make it idempotent.
11022
11023 2013-05-10 Leo Liu <sdl.web@gmail.com>
11024
11025 * progmodes/octave.el (inferior-octave-completion-table):
11026 No longer a function and all uses changed. Use cache to speed up
11027 completion due to bug#11906.
11028 (octave-beginning-of-defun): Re-write to be more general.
11029
11030 2013-05-10 Glenn Morris <rgm@gnu.org>
11031
11032 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11033
11034 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11035
11036 * comint.el (comint-redirect-send-command-to-process): Use :around
11037 rather than :override for comint-redirect-filter.
11038 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11039 Call it instead of comint-redirect-original-filter-function (which
11040 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11041
11042 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11043
11044 * frame.el (display-monitor-attributes-list): Add NS case.
11045 (ns-display-monitor-attributes-list): Declare.
11046
11047 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11048
11049 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11050
11051 2013-05-09 Glenn Morris <rgm@gnu.org>
11052
11053 * international/fontset.el (vertical-centering-font-regexp):
11054 Set standard-value.
11055
11056 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11057
11058 * bookmark.el (bookmark-search-delay):
11059 * cus-start.el (vertical-centering-font-regexp):
11060 * ps-mule.el (ps-mule-font-info-database-default):
11061 * ps-print.el (ps-default-fg, ps-default-bg):
11062 * type-break.el (type-break-good-break-interval):
11063 * whitespace.el (whitespace-indentation-regexp)
11064 (whitespace-space-after-tab-regexp):
11065 * emacs-lisp/testcover.el (testcover-1value-functions)
11066 (testcover-noreturn-functions, testcover-progn-functions)
11067 (testcover-prog1-functions):
11068 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11069 * eshell/em-glob.el (eshell-glob-translate-alist):
11070 * play/tetris.el (tetris-tty-colors):
11071 * progmodes/cpp.el (cpp-face-default-list):
11072 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11073 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11074 (idlwave-help-browser-generic-args):
11075 * progmodes/make-mode.el (makefile-special-targets-list):
11076 * progmodes/python.el (python-shell-virtualenv-path):
11077 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11078 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11079 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11080 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11081 * textmodes/reftex-vars.el (reftex-format-label-function):
11082 * textmodes/remember.el (remember-diary-file): Fix custom types.
11083
11084 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11085 Add :version.
11086
11087 2013-05-09 Leo Liu <sdl.web@gmail.com>
11088
11089 * progmodes/octave.el (inferior-octave-completion-at-point):
11090 Restore file completion. (Bug#14300)
11091 (inferior-octave-startup): Fix incorrect highlighting for the
11092 first prompt.
11093
11094 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11095
11096 * progmodes/ruby-mode.el: First cut at SMIE support.
11097 (ruby-use-smie): New var.
11098 (ruby-smie-grammar): New constant.
11099 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11100 (ruby-smie--forward-token, ruby-smie--backward-token)
11101 (ruby-smie-rules): New functions.
11102 (ruby-mode-variables): Setup SMIE if applicable.
11103
11104 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11105
11106 * simple.el (line-move-visual): Signal beginning/end of buffer
11107 only if vertical-motion moved less than it was requested. Avoids
11108 silly incorrect error messages when there are display strings with
11109 multiple newlines at EOL.
11110
11111 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11112
11113 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11114 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11115 (prolog-char-quote-workaround):
11116 * progmodes/cperl-mode.el (cperl-under-as-char):
11117 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11118 Mark as obsolete.
11119 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11120 their declaration.
11121 (vhdl-mode-syntax-table-init): Remove.
11122
11123 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11124 last change.
11125
11126 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11127 syntax for "_".
11128 (ld-script-font-lock-keywords):
11129 Change regexps to use things like \_< and \_>.
11130
11131 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11132 Change all regexps to use things like \_< and \_>.
11133
11134 * progmodes/autoconf.el (autoconf-definition-regexp)
11135 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11136 Handle a _ with symbol syntax.
11137 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11138
11139 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11140 Consolidate declaration.
11141 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11142 the declaration.
11143 (ada-create-syntax-table): Remove.
11144 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11145 already has the right syntax nowadays.
11146 (ada-goto-next-word): Don't change the syntax of "_".
11147
11148 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11149 with-wrapper-hook.
11150
11151 2013-05-08 Sam Steingold <sds@gnu.org>
11152
11153 * thingatpt.el (thing-at-point): Accept optional second argument
11154 NO-PROPERTIES to strip the text properties from the return value.
11155 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11156 to `thing-at-point' instead of stripping the properties ourselves.
11157 Also, when `thing-at-point' fails to find a url, prepend "http://"
11158 to the filename at point on the assumption that the user is
11159 pointing at something like gnu.org/gnu.
11160
11161 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11162
11163 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11164 * faces.el (crm-separator):
11165 Silence byte-compiler.
11166
11167 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11168 (tool-bar-map): Remove unneeded defvars.
11169
11170 2013-05-08 Leo Liu <sdl.web@gmail.com>
11171
11172 Re-work a fix for bug#10994 based on Le Wang's patch.
11173 * ido.el (ido-remove-consecutive-dups): New helper.
11174 (ido-completing-read): Use it.
11175 (ido-chop): Revert fix for bug#10994.
11176
11177 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11178
11179 * cus-edit.el (custom-save-variables):
11180 Pretty-print long values. (Bug#14187)
11181
11182 2013-05-08 Glenn Morris <rgm@gnu.org>
11183
11184 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11185 (m4-mode-syntax-table): Init in the defvar.
11186 (m4-mode-abbrev-table): Let define-derived-mode define it.
11187
11188 2013-05-08 Tom Tromey <tromey@redhat.com>
11189
11190 * progmodes/m4-mode.el (m4-mode-syntax-table):
11191 Do not treat "_" as word constituent. (Bug#14167)
11192
11193 2013-05-07 Glenn Morris <rgm@gnu.org>
11194
11195 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11196 Remove explicit eshell-isearch-cancel-map.
11197
11198 * progmodes/f90.el (f90-smart-end-names): New option.
11199 (f90-smart-end): Doc fix.
11200 (f90-end-block-optional-name): New constant.
11201 (f90-block-match): Respect f90-smart-end-names.
11202
11203 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11206 about implicit semi-colons (bug#14218).
11207
11208 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11209
11210 * frame.el (display-monitor-attributes-list)
11211 (frame-monitor-attributes): New functions.
11212
11213 2013-05-06 Leo Liu <sdl.web@gmail.com>
11214
11215 * progmodes/octave.el (octave-syntax-propertize-function): Change
11216 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11217 (octave-font-lock-keywords): Use octave-operator-regexp.
11218 (octave-completion-at-point): Rename from
11219 octave-completion-at-point-function.
11220 (inferior-octave-directory-tracker): Robustify.
11221 (octave-text-functions): Remove and fix its uses. No such things
11222 any more.
11223
11224 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11225
11226 * emacs-lisp/trace.el (trace--display-buffer): New function.
11227 (trace-make-advice): Use it.
11228
11229 2013-05-06 Juri Linkov <juri@jurta.org>
11230
11231 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11232 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11233 Doc fix.
11234 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11235 in the help string. (Bug#12985)
11236
11237 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11238
11239 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11240
11241 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11242
11243 * progmodes/perl-mode.el: Add support for here documents.
11244 (perl-syntax-propertize-function): Match here-doc markers.
11245 (perl-syntax-propertize-special-constructs): Find their end.
11246 (perl-imenu-generic-expression): Use [:alnum:].
11247
11248 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11249 (advice--add-function): Refresh the advice if already present
11250 (bug#14317).
11251
11252 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11253
11254 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11255
11256 2013-05-06 Glenn Morris <rgm@gnu.org>
11257
11258 * w32-fns.el (w32-charset-info-alist): Declare.
11259
11260 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11261 of its defcustom properties.
11262 (eshell-cmpl-initialize): No need to load pcomplete.
11263
11264 * generic-x.el: No need to require comint when compiling.
11265
11266 * net/eudc-export.el: Make it loadable without bbdb.
11267 (top-level): Use require rather than load-library.
11268 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11269 (eudc-batch-export-records-to-bbdb)
11270 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11271 Require bbdb.
11272
11273 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11276 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11277 some tweaks, instead.
11278
11279 2013-05-05 Leo Liu <sdl.web@gmail.com>
11280
11281 * progmodes/octave.el (octave-font-lock-keywords)
11282 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11283 (inferior-octave-send-list-and-digest): Improve error message.
11284 (octave-mode, inferior-octave-mode): Use setq-local.
11285 (octave-help): Set info-lookup-mode.
11286
11287 2013-05-05 Richard Stallman <rms@gnu.org>
11288
11289 * vc/compare-w.el (compare-windows-whitespace):
11290 Treat no-break space as whitespace.
11291
11292 * mail/rmailsum.el (rmail-summary-rmail-update):
11293 Detect empty summary and don't change selected message.
11294 (rmail-summary-goto-msg): Likewise.
11295
11296 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11297 Doc fixes, rename args.
11298
11299 2013-05-05 Alan Mackenzie <acm@muc.de>
11300
11301 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11302
11303 2013-05-05 Juri Linkov <juri@jurta.org>
11304
11305 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11306 to not add the length of the summary segment to the return value.
11307 (Bug#14125)
11308
11309 2013-05-05 Leo Liu <sdl.web@gmail.com>
11310
11311 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11312 (inferior-octave-output-filter): Remove.
11313 (octave-send-region, inferior-octave-startup): Fix callers.
11314 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11315 (octave-binary-file-extensions): New user variable.
11316 (octave-find-definition): Confirm if opening binary files.
11317 (octave-help-file): Use octave-find-definition to get the binary
11318 confirmation.
11319 (octave-help): Adjust for octave-help-file change.
11320
11321 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11322
11323 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11324 Merge the two entries that handle function definitions.
11325 (pascal--syntax-propertize): New const.
11326 (pascal-mode): Use it. Use setq-local.
11327
11328 2013-05-04 Glenn Morris <rgm@gnu.org>
11329
11330 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11331 (diary-from-outlook): Respect diary-from-outlook-function.
11332
11333 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11336 Move the declaration from C.
11337 (read-minibuffer, eval-minibuffer): Move from C.
11338 (completion-setup-function): Avoid minibuffer-completion-contents.
11339
11340 2013-05-03 Leo Liu <sdl.web@gmail.com>
11341
11342 * progmodes/octave.el (octave-font-lock-keywords): Do not
11343 dehighlight 'end' in comments or strings.
11344 (octave-completing-read, octave-goto-function-definition):
11345 New helpers.
11346 (octave-help-buffer): New user variable.
11347 (octave-help-file, octave-help-function): New button types.
11348 (octave-help): New command and bind it to C-h ;.
11349 (octave-find-definition): New command and bind it to M-.
11350 (user-error): Alias to error if not defined.
11351
11352 2013-05-02 Leo Liu <sdl.web@gmail.com>
11353
11354 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11355 for \. (bug#14332)
11356 (octave-font-lock-keywords): Include [ and {.
11357
11358 2013-05-02 Leo Liu <sdl.web@gmail.com>
11359
11360 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11361 (inferior-octave): Remove calling comint-mode and return the buffer.
11362 (inferior-octave-startup): Cosmetic changes.
11363
11364 2013-05-02 Leo Liu <sdl.web@gmail.com>
11365
11366 * progmodes/octave.el (octave-syntax-propertize-function):
11367 Include the case when ' is at line beginning. (Bug#14336)
11368
11369 2013-05-02 Glenn Morris <rgm@gnu.org>
11370
11371 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11372 * desktop.el (vc-dir-mode): Just autoload it here.
11373
11374 2013-05-02 Alan Mackenzie <acm@muc.de>
11375
11376 Eliminate variable c-standard-font-lock-fontify-region-function.
11377 * progmodes/cc-mode.el
11378 (c-standard-font-lock-fontify-region-function): Remove.
11379 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11380
11381 2013-05-01 Leo Liu <sdl.web@gmail.com>
11382
11383 * progmodes/octave.el: Compatible with older emacs-24 releases.
11384 (inferior-octave-has-built-in-variables): Remove. Built-in
11385 variables were removed from Octave in 2007.
11386 (inferior-octave-startup): Fix uses.
11387 (comint-line-beginning-position): Remove compatibility code for
11388 emacs 21.
11389
11390 2013-05-01 Juri Linkov <juri@jurta.org>
11391
11392 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11393
11394 2013-05-01 Juri Linkov <juri@jurta.org>
11395
11396 * comint.el (comint-previous-matching-input): Don't print message
11397 "History item: %d" when `isearch-mode' is active.
11398 (comint-history-isearch-message): Print message "History item: %d"
11399 when `comint-input-ring-index' is not empty and this function is
11400 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11401
11402 2013-05-01 Leo Liu <sdl.web@gmail.com>
11403
11404 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11405 definitions. Use completion-at-point to insert keywords.
11406 (octave-abbrev-start): Remove.
11407 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11408
11409 2013-04-30 Leo Liu <sdl.web@gmail.com>
11410
11411 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11412 change.
11413
11414 2013-04-30 Alan Mackenzie <acm@muc.de>
11415
11416 Handle arbitrarily long C++ member initialisation lists.
11417 * progmodes/cc-engine.el (c-back-over-member-initializers):
11418 new function.
11419 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11420 (most) member init lists.
11421
11422 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11423
11424 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11425 variable.
11426
11427 2013-04-30 Leo Liu <sdl.web@gmail.com>
11428
11429 * progmodes/octave.el (octave-variables): Remove. No builtin
11430 variables any more. All converted to functions.
11431 (octave-font-lock-keywords, octave-completion-at-point-function):
11432 Fix uses.
11433 (octave-font-lock-texinfo-comment): New user variable.
11434 (octave-texinfo-font-lock-keywords): New variable for texinfo
11435 comment block.
11436 (octave-function-comment-block): New face.
11437 (octave-font-lock-texinfo-comment): New function.
11438 (octave-mode): Font lock texinfo comment block.
11439
11440 2013-04-29 Leo Liu <sdl.web@gmail.com>
11441
11442 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11443 indexing expression.
11444 (octave-continuation-string): Do not use \.
11445 (inferior-octave-complete-impossible): Remove.
11446 (inferior-octave-completion-table)
11447 (inferior-octave-completion-at-point): Remove its uses.
11448 (inferior-octave-startup): completion_matches was introduced to
11449 Octave in 1996 so safe to assume it.
11450 (octave-function-file-comment): Improve to follow how Octave does it.
11451 (octave-update-function-file-comment): Tweak.
11452
11453 2013-04-29 Leo Liu <sdl.web@gmail.com>
11454
11455 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11456 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11457 (octave-function-file-comment): Fix typo.
11458 (octave-sync-function-file-names): Use read-char-choice.
11459
11460 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11461
11462 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11463 to t for the less important warnings.
11464
11465 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11466
11467 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11468
11469 2013-04-27 Glenn Morris <rgm@gnu.org>
11470
11471 * vc/log-view.el (log-view-current-entry):
11472 Treat "---" separator lines as part of the following rev. (Bug#14169)
11473
11474 2013-04-27 Juri Linkov <juri@jurta.org>
11475
11476 * subr.el (read-number): Doc fix about using it by interactive
11477 code letter `n'. (Bug#14254)
11478
11479 2013-04-27 Juri Linkov <juri@jurta.org>
11480
11481 * desktop.el (desktop-auto-save-timeout): New option.
11482 (desktop-file-checksum): New variable.
11483 (desktop-save): Add optional arg `auto-save' and don't auto-save
11484 if nothing changed.
11485 (desktop-auto-save-timer): New variable.
11486 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11487 (after-init-hook): Call `desktop-auto-save-set-timer'.
11488 Suggested by Reuben Thomas <rrt@sc3d.org> in
11489 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11490
11491 2013-04-27 Leo Liu <sdl.web@gmail.com>
11492
11493 * progmodes/octave.el (octave-function-file-p)
11494 (octave-skip-comment-forward, octave-function-file-comment)
11495 (octave-update-function-file-comment): New functions.
11496 (octave-mode-map): Bind C-c ; to
11497 octave-update-function-file-comment.
11498 (octave-mode-menu): Add octave-update-function-file-comment.
11499 (octave-mode, inferior-octave-mode): Fix doc-string.
11500 (octave-insert-defun): Conform to Octave's coding convention.
11501 (Bug#14285)
11502
11503 * files.el (basic-save-buffer): Don't let errors in
11504 before-save-hook prevent saving buffer.
11505
11506 2013-04-20 Roland Winkler <winkler@gnu.org>
11507
11508 * faces.el (read-face-name): Use completing-read if arg multiple
11509 is nil.
11510
11511 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11512
11513 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11514 displayed, move point to after the totals line.
11515 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11516 for the details.
11517
11518 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11519
11520 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11521 Add current dir to the load-path.
11522 (package-generate-autoloads): Don't rely on
11523 autoload-ensure-default-file.
11524
11525 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11526
11527 * textmodes/remember.el (remember-store-in-files): Document that
11528 the file name format is passed to `format-time-string'.
11529
11530 2013-04-26 Leo Liu <sdl.web@gmail.com>
11531
11532 * progmodes/octave.el (octave-sync-function-file-names): New function.
11533 (octave-mode): Use it in before-save-hook.
11534
11535 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11536
11537 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11538 (bug#14274).
11539
11540 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11541 \n and comment, even if it's not an implicit ; (bug#14218).
11542
11543 2013-04-26 Glenn Morris <rgm@gnu.org>
11544
11545 * subr.el (read-number): Once more use `read' rather than
11546 `string-to-number', to trap non-numeric input. (Bug#14254)
11547
11548 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11549
11550 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11551 Use `syntax-multiline' text property consistently instead of
11552 `font-lock-multiline'. (Bug#14237)
11553
11554 2013-04-26 Glenn Morris <rgm@gnu.org>
11555
11556 * emacs-lisp/shadow.el (list-load-path-shadows):
11557 No longer necessary to check for duplicate simple.el, since
11558 2012-07-07 change to init_lread to not include installation lisp
11559 directories in load-path when running uninstalled. (Bug#14270)
11560
11561 2013-04-26 Leo Liu <sdl.web@gmail.com>
11562
11563 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11564 (octave-mode, inferior-octave-mode): Use setq-local.
11565 (octave-not-in-string-or-comment-p): Rename to
11566 octave-in-string-or-comment-p.
11567 (octave-in-comment-p, octave-in-string-p)
11568 (octave-in-string-or-comment-p): Replace defsubst with defun.
11569
11570 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11571
11572 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11573
11574 2013-04-25 Bastien Guerry <bzg@gnu.org>
11575
11576 * textmodes/remember.el (remember-data-directory)
11577 (remember-directory-file-name-format): Fix custom types.
11578
11579 2013-04-25 Leo Liu <sdl.web@gmail.com>
11580
11581 * progmodes/octave.el (octave-completion-at-point-function):
11582 Make use of inferior octave process.
11583 (octave-initialize-completions): Remove.
11584 (inferior-octave-completion-table): New function.
11585 (inferior-octave-completion-at-point): Use it.
11586 (octave-completion-alist): Remove.
11587
11588 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11591 (opascal-mode-syntax-table): New var.
11592 (opascal-literal-kind, opascal-is-literal-end)
11593 (opascal-literal-token-at): Rewrite.
11594 (opascal--literal-start-re, opascal-font-lock-keywords)
11595 (opascal--syntax-propertize): New constants.
11596 (opascal-font-lock-defaults): Adjust.
11597 (opascal-mode): Use them. Set comment-<foo> variables as well.
11598 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11599 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11600 (delphi-other-face, opascal-other-face): Remove face variables.
11601 (opascal-save-state): Remove macro.
11602 (opascal-fontifying-progress-step): Remove constant.
11603 (opascal--ignore-changes): Remove var.
11604 (opascal-set-token-property, opascal-parse-next-literal)
11605 (opascal-is-stable-literal, opascal-complete-literal)
11606 (opascal-is-literal-start, opascal-face-of)
11607 (opascal-parse-region, opascal-parse-region-until-stable)
11608 (opascal-fontify-region, opascal-after-change)
11609 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11610 (opascal-debug-parse-region, opascal-debug-parse-window)
11611 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11612 (opascal-debug-fontify-buffer): Remove.
11613 (opascal-debug-mode-map): Adjust accordingly.
11614
11615 2013-04-25 Leo Liu <sdl.web@gmail.com>
11616
11617 Merge octave-mod.el and octave-inf.el into octave.el with some
11618 cleanups.
11619 * progmodes/octave.el: New file renamed from octave-mod.el.
11620 * progmodes/octave-inf.el: Merged into octave.el.
11621 * progmodes/octave-mod.el: Renamed to octave.el.
11622
11623 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11624
11625 * textmodes/reftex-vars.el
11626 (reftex-label-ignored-macros-and-environments): New defcustom.
11627
11628 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11629
11630 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11633 (smie-indent-keyword): Improve the check to ensure that the next
11634 comment is really on the same line.
11635 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11636
11637 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11638 semi-colons if the line is not otherwise empty (bug#14218).
11639
11640 2013-04-25 Glenn Morris <rgm@gnu.org>
11641
11642 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11643
11644 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * progmodes/opascal.el (opascal-set-token-property): Rename from
11647 opascal-set-text-properties and only set `token' (bug#14134).
11648 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11649 (opascal-literal-text-properties): Remove.
11650 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11651 Adjust callers.
11652
11653 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11654
11655 * textmodes/remember.el (remember-handler-functions): Add an
11656 option for a new handler `remember-store-in-files'.
11657 (remember-data-directory, remember-directory-file-name-format):
11658 New options.
11659 (remember-store-in-files): New function to store remember notes
11660 as separate files within a directory.
11661
11662 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11663
11664 * progmodes/compile.el (compilation-next-error-function):
11665 Pass "formats" to compilation-find-file (bug#11777).
11666
11667 2013-04-24 Glenn Morris <rgm@gnu.org>
11668
11669 * vc/vc-bzr.el (vc-bzr-print-log):
11670 * vc/vc-hg.el (vc-hg-print-log):
11671 * vc/vc-svn.el (vc-svn-print-log):
11672 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11673
11674 * vc/vc-bzr.el (vc-bzr-print-log):
11675 * vc/vc-cvs.el (vc-cvs-print-log):
11676 * vc/vc-git.el (vc-git-print-log):
11677 * vc/vc-hg.el (vc-hg-print-log):
11678 * vc/vc-mtn.el (vc-mtn-print-log):
11679 * vc/vc-rcs.el (vc-rcs-print-log):
11680 * vc/vc-sccs.el (vc-sccs-print-log):
11681 * vc/vc-svn.el (vc-svn-print-log):
11682 * vc/vc.el (vc-print-log-internal): Doc fixes.
11683
11684 2013-04-23 Glenn Morris <rgm@gnu.org>
11685
11686 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11687 Remove venerable code attempting to avoid substitute-command-keys.
11688
11689 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11690
11691 * textmodes/reftex-vars.el (reftex-label-regexps):
11692 Call `reftex-compile-variables' after changes to this variable.
11693
11694 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11695
11696 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11697 Use lexical-binding.
11698 (jit-lock-force-redisplay): Use markers, check buffer's continued
11699 existence and beware narrowed buffers.
11700 (jit-lock-fontify-now): Adjust call accordingly.
11701
11702 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11703
11704 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11705 to avoid misleading the user.
11706
11707 2013-04-22 Leo Liu <sdl.web@gmail.com>
11708
11709 * info-look.el: Prefer latex2e.info. (Bug#14240)
11710
11711 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11712
11713 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11714
11715 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11716 * net/tramp.el (tramp-call-process): ... here.
11717 (tramp-set-completion-function, tramp-parse-putty):
11718 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11719 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11720 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11721 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11722 (tramp-call-local-coding-command): Use `tramp-call-process'
11723 instead of `tramp-compat-call-process'.
11724
11725 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11726 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11727 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11728 (tramp-find-inline-compress): Improve traces.
11729 (tramp-maybe-send-script): Check for Perl binary.
11730 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11731
11732 2013-04-22 Daiki Ueno <ueno@gnu.org>
11733
11734 * epg.el (epg-context-pinentry-mode): New function.
11735 (epg-context-set-pinentry-mode): New function.
11736 (epg--start): Pass --pinentry-mode option to gpg command.
11737
11738 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11739
11740 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11741 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11742 `completion-at-point'. (Bug#13774)
11743
11744 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11745 default key binding for `describe-distribution' has been moved to
11746 `C-h C-o'. (Bug#13970)
11747
11748 2013-04-21 Glenn Morris <rgm@gnu.org>
11749
11750 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11751 Add doc strings.
11752 (vc-print-log): Clarify interactive prompt.
11753
11754 2013-04-20 Glenn Morris <rgm@gnu.org>
11755
11756 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11757 No longer include timestamp etc information.
11758
11759 2013-04-20 Roland Winkler <winkler@gnu.org>
11760
11761 * faces.el (read-face-name): Bug fix, return just one face if arg
11762 multiple is nil. (Bug#14209)
11763
11764 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11765
11766 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11767 (remove-function): Autoload.
11768
11769 * comint.el (comint-redirect-original-filter-function): Remove.
11770 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11771 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11772 (vc-cvs-annotate-command):
11773 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11774 * progmodes/prolog.el (prolog-consult-compile):
11775 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11776 Use add/remove-function instead.
11777 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11778 (gud-tooltip-process-output, gud-tooltip-tips):
11779 Use add/remove-function instead.
11780 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11781 (scheme-interaction-mode, exit-scheme-interaction-mode):
11782 Use add/remove-function instead.
11783
11784 * vc/vc-dispatcher.el: Use lexical-binding.
11785 (vc--process-sentinel): Rename from vc-process-sentinel.
11786 Change last arg to be the code to run. Don't use vc-previous-sentinel
11787 and vc-sentinel-commands any more.
11788 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11789 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11790
11791 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11792
11793 * progmodes/sh-script.el (sh-imenu-generic-expression):
11794 Handle function names with a single character. (Bug#14111)
11795
11796 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11797
11798 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11799 for subroutines defined in an eval (bug#14182).
11800
11801 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11802
11803 * bookmark.el (bookmark-completing-read): Improve handling of empty
11804 string (bug#14176).
11805
11806 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11809
11810 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11811
11812 New faster Imenu implementation (bug#14058).
11813 * progmodes/python.el:
11814 (python-imenu-prev-index-position):
11815 (python-imenu-format-item-label-function)
11816 (python-imenu-format-parent-item-label-function)
11817 (python-imenu-format-parent-item-jump-label-function):
11818 New vars.
11819 (python-imenu-format-item-label)
11820 (python-imenu-format-parent-item-label)
11821 (python-imenu-format-parent-item-jump-label)
11822 (python-imenu--put-parent, python-imenu--build-tree)
11823 (python-imenu-create-index, python-imenu-create-flat-index)
11824 (python-util-popn): New functions.
11825 (python-mode): Set imenu-create-index-function to
11826 python-imenu-create-index.
11827
11828 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11829
11830 * winner.el (winner-active-region): Use region-active-p, activate-mark
11831 and deactivate-mark (bug#14225).
11832
11833 * simple.el (deactivate-mark): Don't inline it.
11834
11835 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11836
11837 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11838
11839 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11840
11841 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11842 file extensions from the archive-mode entry in order to prefer
11843 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11844
11845 2013-04-18 Leo Liu <sdl.web@gmail.com>
11846
11847 * bindings.el (help-event-list): Add ?\?.
11848
11849 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * subr.el (with-wrapper-hook): Declare obsolete.
11852 * simple.el (filter-buffer-substring-function): New hook.
11853 (filter-buffer-substring): Use it.
11854 (filter-buffer-substring-functions): Mark obsolete.
11855 * minibuffer.el (completion-in-region-function): New hook.
11856 (completion-in-region): Use it.
11857 (completion-in-region-functions): Mark obsolete.
11858 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11859 * abbrev.el (abbrev-expand-function): New hook.
11860 (expand-abbrev): Use it.
11861 (abbrev-expand-functions): Mark obsolete.
11862 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11863 and :filter-return.
11864
11865 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11866
11867 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11868 and do not care about match data.
11869
11870 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11873 completion tables when completing error conditions and
11874 `declare' arguments.
11875 (lisp-complete-symbol, field-complete): Mark as obsolete.
11876 (check-parens): Unmatched parens are user errors.
11877 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11878
11879 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11880
11881 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11882 command changed buffer (ie. `flyspell-pre-buffer' is not current
11883 buffer), which prevents making decisions based on invalid value of
11884 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11885 cause an error when `flyspell-pre-point' was nil after switching
11886 buffers.
11887 (flyspell-post-command-hook): No longer needs to change buffers when
11888 checking pre-word. While at it remove unnecessary progn.
11889
11890 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11891
11892 * textmodes/ispell.el (ispell-add-per-file-word-list):
11893 Fix `flyspell-correct-word-before-point' error when accepting
11894 words and `coment-padding' is an integer by using
11895 `comment-normalize-vars' (Bug #14214).
11896
11897 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11898
11899 New defun movement commands.
11900 * progmodes/python.el (python-nav--syntactically)
11901 (python-nav--forward-defun, python-nav-backward-defun)
11902 (python-nav-forward-defun): New functions.
11903
11904 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11905
11906 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11907 (python-syntax-context): Use named compiler-macro for backwards
11908 compatibility with Emacs 24.x.
11909
11910 2013-04-17 Leo Liu <sdl.web@gmail.com>
11911
11912 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11913 octave-hide-process-buffer.
11914
11915 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11918 (bug#14216).
11919
11920 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11921
11922 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11923 Fix adjustment of offset when receiving incomplete responses from GDB
11924 (bug#14129).
11925
11926 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11929 python-mode-abbrev-table.
11930 (python-skeleton-define): Adjust accordingly.
11931 (python-mode-abbrev-table): New table that inherits from it so that
11932 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11933
11934 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11935 (abbrev-symbol): Use it.
11936 (abbrev--before-point): Use it since we already handle inheritance.
11937
11938 2013-04-16 Leo Liu <sdl.web@gmail.com>
11939
11940 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11941 binding to info-lookup-symbol.
11942
11943 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11944
11945 * minibuffer.el (completion--twq-all):
11946 * term/ns-win.el (ns-initialize-window-system):
11947 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11948
11949 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11950
11951 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11952 global bindings.
11953
11954 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11955
11956 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11957
11958 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11959 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11960 to nil.
11961 (ruby-end-of-defun): Remove the unused arg, change the docstring
11962 to reflect that this function is only used as the value of
11963 `end-of-defun-function'.
11964 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11965 to reflect an earlier change that beginning/end-of-defun functions
11966 jump between methods in a class definition, as well as top-level
11967 functions.
11968
11969 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * minibuffer.el (minibuffer-complete): Don't just scroll
11972 a *Completions* that's been iconified.
11973 (minibuffer-force-complete): Make sure repetitions do cycle when going
11974 through completion-in-region -> minibuffer-complete.
11975
11976 2013-04-15 Alan Mackenzie <acm@muc.de>
11977
11978 Correct the placement of c-cpp-delimiters when there're #s not at
11979 col 0.
11980
11981 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11982 place a submatch around the #.
11983 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11984 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11985 on the #, not BOL.
11986
11987 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11990 (advice--member-p): New arg `name'.
11991 (advice--add-function, advice-member-p): Use it (bug#14202).
11992
11993 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11994
11995 Reformulate java imenu-generic-expression.
11996 The old expression contained ill formed regexps.
11997
11998 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11999 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12000 (cc-imenu-java-method-arg-regexp): New defconsts.
12001 (cc-imenu-java-build-type-args-regex): New defun.
12002 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12003 handling of spaces in the regexp.
12004
12005 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12006
12007 * textmodes/ispell.el (ispell-command-loop): Remove
12008 flyspell highlight of a word when ispell accepts it (bug #14178).
12009
12010 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12011
12012 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12013 uses code from the previous `ange-ftp-run-real-handler'.
12014 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12015 only in case that function exist. This is needed for proper
12016 unloading of Tramp.
12017
12018 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12019
12020 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12021
12022 * textmodes/reftex.el (reftex-compile-variables): Use it.
12023
12024 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12025
12026 * files.el (normal-mode): Only use default major-mode if no other mode
12027 was specified.
12028
12029 * emacs-lisp/trace.el (trace-values): New function.
12030
12031 * files.el: Allow : in local variables (bug#14089).
12032 (hack-local-variable-regexp): New var.
12033 (hack-local-variables-prop-line, hack-local-variables): Use it.
12034
12035 2013-04-13 Roland Winkler <winkler@gnu.org>
12036
12037 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12038 data before it gets modified by bibtex-beginning-of-entry.
12039
12040 2013-04-13 Roland Winkler <winkler@gnu.org>
12041
12042 * textmodes/bibtex.el (bibtex-url): Doc fix.
12043
12044 2013-04-13 Roland Winkler <winkler@gnu.org>
12045
12046 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12047 does not visit a BibTeX file, exclude it from the list of buffers
12048 returned by bibtex-initialize.
12049
12050 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12051
12052 * window.el (split-window): Remove interactive form, since as a
12053 command this function is a special case of split-window-below.
12054 Correct doc string.
12055
12056 2013-04-12 Roland Winkler <winkler@gnu.org>
12057
12058 * faces.el (read-face-name): Do not override value of arg default.
12059 Allow single faces and strings as default values. Remove those
12060 elements from return value that are not faces.
12061 (describe-face): Simplify.
12062 (face-at-point): New optional args thing and multiple so that this
12063 function can provide the same functionality previously provided by
12064 read-face-name.
12065 (make-face-bold, make-face-unbold, make-face-italic)
12066 (make-face-unitalic, make-face-bold-italic, invert-face)
12067 (modify-face, read-face-and-attribute): Use face-at-point.
12068
12069 * cus-edit.el (customize-face, customize-face-other-window)
12070 * cus-theme.el (custom-theme-add-face)
12071 * face-remap.el (buffer-face-set)
12072 * facemenu.el (facemenu-set-face): Use face-at-point.
12073
12074 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12075
12076 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12077
12078 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12079
12080 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12081 off leading { and trailing } from field values.
12082
12083 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12084
12085 * emacs-lisp/timer.el (timer--check): New function.
12086 (timer--time, timer-set-function, timer-event-handler): Use it.
12087 (timer-set-idle-time): Simplify.
12088 (timer--activate): CSE.
12089 (timer-event-handler): Give more info in error message.
12090 (internal-timer-start-idle): New function, moved from C.
12091
12092 * mpc.el (mpc-proc): Add `restart' argument.
12093 (mpc-proc-cmd): Use it.
12094 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12095 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12096 less often.
12097
12098 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12099
12100 * progmodes/sh-script.el: Implement `sh-mode' own
12101 `add-log-current-defun-function' (bug#14112).
12102 (sh-current-defun-name): New function.
12103 (sh-mode): Use the function.
12104
12105 2013-04-09 Bastien Guerry <bzg@gnu.org>
12106
12107 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12108
12109 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12110
12111 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12112
12113 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12114 timer (bug#14156).
12115
12116 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12117
12118 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12119 declaration.
12120
12121 2013-04-07 Leo Liu <sdl.web@gmail.com>
12122
12123 * pcmpl-x.el: New file.
12124
12125 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12126
12127 Do not set x-display-name until X connection is established.
12128 This is needed to prevent from weird situation described at
12129 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12130 * frame.el (make-frame): Set x-display-name after call to
12131 window system initialization function, not before.
12132 * term/x-win.el (x-initialize-window-system): Add optional
12133 display argument and use it.
12134 * term/w32-win.el (w32-initialize-window-system):
12135 * term/ns-win.el (ns-initialize-window-system):
12136 * term/pc-win.el (msdos-initialize-window-system):
12137 Add compatible optional display argument.
12138
12139 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12140
12141 * files.el (normal-backup-enable-predicate): On MS-Windows and
12142 MS-DOS compare truenames of temporary-file-directory and of the
12143 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12144 don't fail comparison by compare-strings. Also, compare file
12145 names case-insensitively on MS-Windows and MS-DOS.
12146
12147 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12148
12149 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12150 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12151
12152 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12153
12154 * whitespace.el (whitespace-color-on, whitespace-color-off):
12155 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12156
12157 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12158
12159 * ispell.el (ispell-set-spellchecker-params):
12160 Really set `ispell-args' for all equivs.
12161
12162 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12163
12164 * ido.el (ido-completions): Use extra elements of ido-decorations
12165 (bug#14143).
12166 (ido-decorations): Update docstring.
12167
12168 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12169
12170 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12171 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12172 nil during initialization, in order not to miss changes since the
12173 file was opened. (Bug#14140)
12174
12175 2013-04-05 Leo Liu <sdl.web@gmail.com>
12176
12177 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12178
12179 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12180
12181 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12182
12183 2013-04-04 Glenn Morris <rgm@gnu.org>
12184
12185 * electric.el (electric-pair-inhibit-predicate): Add :version.
12186
12187 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12190 when a package is required several times (bug#14082).
12191
12192 2013-04-04 Roland Winkler <winkler@gnu.org>
12193
12194 * faces.el (read-face-name): Behave as promised by the docstring.
12195 Assume that arg default is a list of faces.
12196 (describe-face): Call read-face-name with list of default faces.
12197
12198 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12199
12200 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12201 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12202 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12203 the header.
12204 (bookmark-exit-hook-internal): Save even if list is empty.
12205
12206 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12207
12208 * emacs-lisp/package.el (package-pinned-packages): New var.
12209 (package--add-to-archive-contents): Obey it (bug#14118).
12210
12211 2013-04-03 Alan Mackenzie <acm@muc.de>
12212
12213 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12214 Also adapt to the new values of element 7 of a parse state.
12215
12216 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12217 parameter `not-in-delimiter'. Handle being inside comment opener.
12218 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12219 character in case we're typing a '*' after a '/'.
12220 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12221 instead by passing the parameter to c-state-pp-to-literal.
12222
12223 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12224 for elt. 7 of a parse state.
12225
12226 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12227
12228 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12229 * international/latin1-disp.el, international/mule-util.el:
12230 * language/cyril-util.el, language/european.el, language/ind-util.el:
12231 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12232 * language/tibetan.el, language/viet-util.el:
12233 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12234
12235 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12238 (electric-pair-post-self-insert-function): Use it.
12239 (electric-pair-default-inhibit): New function, extracted from
12240 electric-pair-post-self-insert-function.
12241
12242 2013-03-31 Roland Winkler <winkler@gnu.org>
12243
12244 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12245
12246 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12249
12250 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12251
12252 Un-indent after "pass" and "return" statements (Bug#13888)
12253 * progmodes/python.el (python-indent-block-enders): New var.
12254 (python-indent-calculate-indentation): Use it.
12255
12256 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12257
12258 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12259 defun. Defining it as defalias could introduce too eager
12260 byte-compiler optimization. (Bug#14030)
12261
12262 2013-03-30 Chong Yidong <cyd@gnu.org>
12263
12264 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12265
12266 2013-03-30 Leo Liu <sdl.web@gmail.com>
12267
12268 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12269 (kmacro-execute-from-register): Pass the keyboard macro to
12270 kmacro-call-macro or repeating won't work correctly.
12271
12272 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12273
12274 * progmodes/subword.el: Back to using `forward-symbol'.
12275
12276 * subr.el (forward-whitespace, forward-symbol)
12277 (forward-same-syntax): Move from thingatpt.el.
12278
12279 2013-03-29 Leo Liu <sdl.web@gmail.com>
12280
12281 * kmacro.el (kmacro-to-register): New command.
12282 (kmacro-execute-from-register): New function.
12283 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12284
12285 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12286
12287 * mpc.el: Use defvar-local and setq-local.
12288 (mpc--proc-connect): Connection failures are not bugs.
12289 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12290 (mpc-volume-map): Bind to the up-events.
12291
12292 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12293
12294 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12295 instead of `forward-symbol'.
12296
12297 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12300 (edebug--recursive-edit): Use it.
12301 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12302 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12303
12304 2013-03-28 Leo Liu <sdl.web@gmail.com>
12305
12306 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12307
12308 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12309
12310 * facemenu.el (list-colors-callback): New defvar.
12311 (list-colors-redisplay): New function.
12312 (list-colors-display): Install list-colors-redisplay as the
12313 revert-buffer-function. (Bug#14063)
12314
12315 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12316
12317 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12318 and suffixes don't overlap (bug#14061).
12319
12320 * case-table.el: Use lexical-binding.
12321 (case-table-get-table): New function.
12322 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12323
12324 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12325
12326 * progmodes/subword.el: Add `superword-mode' to do word motion
12327 over symbol_words (parallels and leverages `subword-mode' which
12328 does word motion inside MixedCaseWords).
12329
12330 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12331
12332 * eshell/em-unix.el: Move su and sudo to...
12333 * eshell/em-tramp.el: ...Eshell tramp module.
12334
12335 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12338 Change return value to be a sexp. Delay `get-buffer' to after
12339 restoring the desktop (bug#13951).
12340
12341 2013-03-26 Leo Liu <sdl.web@gmail.com>
12342
12343 * register.el: Move semantic tag handling back to
12344 cedet/semantic/senator.el. (Bug#14052)
12345
12346 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12347
12348 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12349 into the prompt either (bug#13963).
12350
12351 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12352
12353 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12354 part of "(error-foo)".
12355
12356 2013-03-24 Juri Linkov <juri@jurta.org>
12357
12358 * replace.el (list-matching-lines-prefix-face): New defcustom.
12359 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12360 `occur-engine' if `face-differs-from-default-p' returns t.
12361 (occur-engine): Add `,' inside backquote construct to evaluate
12362 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12363 Pass `prefix-face' to the functions `occur-context-lines' and
12364 `occur-engine-add-prefix'.
12365 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12366 `prefix-face' and propertize the prefix with `prefix-face'.
12367 (Bug#14017)
12368
12369 2013-03-24 Leo Liu <sdl.web@gmail.com>
12370
12371 * nxml/rng-valid.el (rng-validate-while-idle)
12372 (rng-validate-quick-while-idle): Guard against deleted buffer.
12373 (Bug#13999)
12374
12375 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12376 is the last entry in kill-buffer-hook.
12377
12378 * files.el (kill-buffer-hook): Doc fix.
12379
12380 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12381
12382 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12383 Make it safe-local.
12384
12385 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12386
12387 2013-03-23 Leo Liu <sdl.web@gmail.com>
12388
12389 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12390 Remove.
12391
12392 * nxml/rng-valid.el (rng-validate-mode)
12393 (rng-after-change-function, rng-do-some-validation):
12394 * nxml/rng-maint.el (rng-validate-buffer):
12395 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12396 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12397 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12398 (nxml-extend-after-change-region): Use with-silent-modifications.
12399
12400 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12401 timer-idle-list.
12402
12403 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12404 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12405 timer-idle-list. (Bug#13999)
12406
12407 2013-03-23 Juri Linkov <juri@jurta.org>
12408
12409 * info.el (info-index-match): New face.
12410 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12411 main pattern and add text properties with the new face to matches
12412 in index entries relative to the beginning of the index entry.
12413 (Bug#14015)
12414
12415 2013-03-21 Eric Ludlam <zappo@gnu.org>
12416
12417 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12418 Inhibit read only while inserting objects.
12419
12420 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12421
12422 * progmodes/cfengine.el: Update docs to mention
12423 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12424 symbol motion. Remove "_" from the word syntax.
12425
12426 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12427
12428 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12429 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12430
12431 2013-03-20 Juri Linkov <juri@jurta.org>
12432
12433 * info.el (Info-next-reference-or-link)
12434 (Info-prev-reference-or-link): New functions.
12435 (Info-next-reference, Info-prev-reference): Use them.
12436 (Info-try-follow-nearest-node): Handle footnote navigation.
12437 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12438
12439 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12440
12441 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12442 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12443
12444 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12445
12446 Suppress unnecessary non-ASCII chatter during build process.
12447 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12448 (batch-skkdic-convert): Suppress most of the chatter.
12449 It's not needed so much now that machines are faster,
12450 and its non-ASCII component was confusing; see Dmitry Gutov in
12451 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12452
12453 2013-03-20 Leo Liu <sdl.web@gmail.com>
12454
12455 * ido.el (ido-chop): Fix bug#10994.
12456
12457 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12458
12459 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12460 Remove vars.
12461 (whitespace-color-on, whitespace-color-off):
12462 Use `font-lock-fontify-buffer' (Bug#13817).
12463
12464 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12467 remapping in mode-line.
12468 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12469
12470 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12471
12472 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12473 value for `whitespace-line' face (Bug#13875).
12474 (whitespace-font-lock-keywords): Change description.
12475 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12476 the constructed keywords instead.
12477 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12478
12479 2013-03-19 Leo Liu <sdl.web@gmail.com>
12480
12481 * progmodes/compile.el (compilation-display-error): New command.
12482 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12483 C-o. (Bug#13992)
12484
12485 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12486
12487 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12488
12489 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12490
12491 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12492
12493 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12494
12495 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12496
12497 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12498 * net/tramp-gvfs.el (top):
12499 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12500 (tramp-handle-shell-command): Use it.
12501 (tramp-dissect-file-name): Raise an error when hostname is a
12502 method name, and neither method nor user is specified.
12503
12504 * net/trampver.el: Update release number.
12505
12506 2013-03-18 Leo Liu <sdl.web@gmail.com>
12507
12508 Make sure eldoc can be turned off properly.
12509 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12510 eldoc-mode.
12511 (eldoc-display-message-p): Revert last change.
12512 (eldoc-display-message-no-interference-p)
12513 (eldoc-print-current-symbol-info): Tweak.
12514
12515 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12516
12517 * doc-view.el (doc-view-new-window-function): Check the new window
12518 overlay's display property instead the char property of the
12519 buffer's first char. Use `with-selected-window' instead of
12520 `save-window-excursion' with `select-window'.
12521 (doc-view-document->bitmap): Check the current doc-view overlay's
12522 display property instead the char property of the buffer's first char.
12523
12524 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12525
12526 Automate the build of ja-dic.el (Bug#13984).
12527 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12528 from the input, rather than assume that it's been done for us by the
12529 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12530 the current date into a ja-dic.el comment, as that complicates
12531 regression testing.
12532
12533 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * whitespace.el: Fix double evaluation.
12536 (whitespace-space, whitespace-hspace, whitespace-tab)
12537 (whitespace-newline, whitespace-trailing, whitespace-line)
12538 (whitespace-space-before-tab, whitespace-indentation)
12539 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12540 obsolete defvars.
12541 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12542 (whitespace-color-on): Use a single font-lock-add-keywords call.
12543 Fix double-evaluation of face variables.
12544
12545 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12546
12547 * net/tramp-adb.el (tramp-adb-parse-device-names):
12548 Use `start-process' instead of `call-process'. Otherwise, the
12549 function might be blocked under MS Windows. (Bug#13299)
12550
12551 2013-03-17 Leo Liu <sdl.web@gmail.com>
12552
12553 Extend eldoc to display info in the mode-line. (Bug#13978)
12554 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12555 (eldoc-mode-line-string): New variable.
12556 (eldoc-minibuffer-message): New function.
12557 (eldoc-message-function): New variable.
12558 (eldoc-message): Use it.
12559 (eldoc-display-message-p)
12560 (eldoc-display-message-no-interference-p):
12561 Support eldoc-post-insert-mode.
12562
12563 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12564 (eval-expression): Run it.
12565
12566 2013-03-17 Roland Winkler <winkler@gnu.org>
12567
12568 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12569 strings in the list of return values.
12570
12571 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12572
12573 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12574 radix before checking for HMS forms.
12575
12576 2013-03-16 Leo Liu <sdl.web@gmail.com>
12577
12578 * progmodes/scheme.el: Add indentation and font-locking for λ.
12579 (Bug#13975)
12580
12581 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12584 token before point (bug#13942).
12585
12586 2013-03-16 Leo Liu <sdl.web@gmail.com>
12587
12588 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12589
12590 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12591
12592 * startup.el (command-line-normalize-file-name): Fix handling of
12593 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12594 <xfq.free@gmail.com> in
12595 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12596
12597 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12598
12599 Sync with Tramp 2.2.7.
12600
12601 * net/trampver.el: Update release number.
12602
12603 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12604
12605 * doc-view.el: Fix bug#13887.
12606 (doc-view-insert-image): Don't modify overlay associated to
12607 non-live windows, and implement horizontal centering of image in
12608 case it's smaller than the window.
12609 (doc-view-new-window-function): Force redisplay of new windows on
12610 doc-view buffers.
12611
12612 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12613
12614 * saveplace.el (save-place-alist-to-file): Don't sort
12615 `save-place-alist', just pretty-print it (bug#13882).
12616
12617 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12618
12619 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12620 Check whether `default-file-name-coding-system' is bound.
12621 It isn't in XEmacs.
12622
12623 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12626 backquotes for `obsolete' (bug#13929).
12627
12628 * international/mule.el (find-auto-coding): Include file name in
12629 obsolescence warning (bug#13922).
12630
12631 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12632
12633 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12634 for CFEngine 3-specific indentation.
12635 (cfengine3-indent-line): Use it. Fix up category regex.
12636 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12637
12638 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * type-break.el (type-break-file-name):
12641 * textmodes/remember.el (remember-data-file):
12642 * strokes.el (strokes-file):
12643 * shadowfile.el (shadow-initialize):
12644 * saveplace.el (save-place-file):
12645 * ps-bdf.el (bdf-cache-file):
12646 * progmodes/idlwave.el (idlwave-config-directory):
12647 * net/quickurl.el (quickurl-url-file):
12648 * international/kkc.el (kkc-init-file-name):
12649 * ido.el (ido-save-directory-list-file):
12650 * emulation/viper.el (viper-custom-file-name):
12651 * emulation/vip.el (vip-startup-file):
12652 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12653 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12654
12655 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12656
12657 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12658 * language/thai-word.el: Switch to UTF-8.
12659
12660 See ChangeLog.16 for earlier changes.
12661
12662 ;; Local Variables:
12663 ;; coding: utf-8
12664 ;; End:
12665
12666 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12667
12668 This file is part of GNU Emacs.
12669
12670 GNU Emacs is free software: you can redistribute it and/or modify
12671 it under the terms of the GNU General Public License as published by
12672 the Free Software Foundation, either version 3 of the License, or
12673 (at your option) any later version.
12674
12675 GNU Emacs is distributed in the hope that it will be useful,
12676 but WITHOUT ANY WARRANTY; without even the implied warranty of
12677 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12678 GNU General Public License for more details.
12679
12680 You should have received a copy of the GNU General Public License
12681 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.