]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Replace refs to obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'
[gnu-emacs] / lisp / ChangeLog
1 2014-01-30 Glenn Morris <rgm@gnu.org>
2
3 * hexl.el (hexl-mode-hook):
4 * ielm.el (ielm-mode-hook):
5 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
6 (lisp-interaction-mode-hook):
7 * progmodes/cfengine.e (cfengine3-documentation-function):
8 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
9
10 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
13 is a symbol (bug#16584).
14
15 2014-01-30 Glenn Morris <rgm@gnu.org>
16
17 * help.el (help-for-help-internal): Add "P" to text.
18
19 2014-01-29 Glenn Morris <rgm@gnu.org>
20
21 * simple.el (just-one-space, cycle-spacing): Doc fixes.
22
23 2014-01-28 Martin Rudalics <rudalics@gmx.at>
24
25 * window.el (fit-frame-to-buffer): Fix calculations for margins and
26 height constraints.
27
28 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
29
30 * progmodes/hideif.el: Extend to full CPP expression syntax.
31 (hif-token-alist): Add missing tokens.
32 (hif-token-regexp): Add support for float/octal/hex immediates.
33 (hif-string-literal-regexp): New const.
34 (hif-tokenize): Recognize strings and float/octal/hex immediates.
35 (hif-exprlist): New function.
36 (hif-parse-if-exp): Use it.
37 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
38 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
39 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
40 (hif-logxor, hif-comma): New functions.
41
42 2014-01-28 Glenn Morris <rgm@gnu.org>
43
44 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
45
46 * indent.el (tab-stop-list): Doc fix. Add :version.
47
48 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
49 (cvs-append-to-ignore): Add compatibility alias.
50
51 2014-01-27 Glenn Morris <rgm@gnu.org>
52
53 * dired.el (dired-hide-details-mode): Don't autoload it,
54 since it cannot be used outside Dired buffers anyway.
55
56 * emulation/cua-base.el (cua-mode): Doc fix.
57
58 * dired.el (dired-hide-details-hide-symlink-targets)
59 (dired-hide-details-hide-information-lines)
60 (dired-hide-details-mode): Doc fixes.
61
62 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
63 * strokes.el (strokes-file): Doc fix. Bump :version.
64 (strokes-help): Doc fix.
65 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
66 * emulation/viper.el (viper): Doc fix for custom group.
67 (top-level): Remove oh-so-no-longer-relevant text about vip.
68 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
69
70 * ido.el (ido-save-directory-list-file):
71 * saveplace.el (save-place-file):
72 * calendar/timeclock.el (timeclock-file):
73 * net/quickurl.el (quickurl-url-file):
74 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
75 * progmodes/idlwave.el (idlwave-config-directory):
76 * textmodes/remember.el (remember-data-file):
77 Bump :version.
78
79 2014-01-26 Glenn Morris <rgm@gnu.org>
80
81 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
82 Doc fix. Make obsolete.
83 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
84
85 * sort.el (delete-duplicate-lines): Doc fix.
86
87 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
88
89 * progmodes/ada-mode.el (ada):
90 * woman.el (woman): Link to info manual and Commentary section.
91
92 * progmodes/flymake.el (flymake):
93 * nxml/nxml-mode.el (nxml):
94 * net/eww.el (eww):
95 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
96 * htmlfontify.el (htmlfontify):
97 * ses.el (ses):
98 * epa.el (epa):
99 * ido.el (ido): Link to info manual.
100
101 2014-01-25 Leo Liu <sdl.web@gmail.com>
102
103 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
104
105 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
106
107 * net/shr.el (shr-tag-img): Prefer the title over the alt text
108 (bug#16537).
109
110 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
111
112 * net/eww.el (eww-download-callback):
113 Fix reference to eww-download-directory.
114
115 * emacs-lisp/bytecomp.el (byte-compile-file):
116 Remove unused local variable `file-name'.
117
118 2014-01-24 Glenn Morris <rgm@gnu.org>
119
120 * woman.el (woman-default-faces, woman-monochrome-faces):
121 Fix obsolescence specification.
122
123 * subr.el (with-demoted-errors): Doc fix.
124
125 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
128 (cl--macroexp-fboundp): New function.
129 (cl--make-type-test): Use it.
130
131 2014-01-23 Glenn Morris <rgm@gnu.org>
132
133 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
134 * simple.el (eval-expression): Doc fixes.
135
136 2014-01-22 Glenn Morris <rgm@gnu.org>
137
138 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
139
140 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * emacs-lisp/package.el: Write files silently.
143 (package-autoload-ensure-default-file, package--write-file-no-coding)
144 (package-generate-description-file, package--download-one-archive)
145 (package-install-from-archive): Tell `write-region' to stay quiet.
146 (package-menu-mode, package-menu--print-info): Omit the Archive column
147 if there's only one archive.
148 (package-all-keywords, package--has-keyword-p): Remove dead code.
149
150 2014-01-22 Glenn Morris <rgm@gnu.org>
151
152 * version.el (emacs-bzr-version-bzr): Fix typo.
153
154 * version.el (emacs-repository-get-version):
155 Check either .bzr or .git, but not both.
156 Make the git case actually use the DIR argument, and return nil
157 rather than the empty string.
158 Avoid error if .git exists but the git executable is not found.
159
160 2014-01-22 Martin Rudalics <rudalics@gmx.at>
161
162 Fixes in window size functions around Bug#16430 and Bug#16470.
163 * window.el (window-total-size, window-size): New argument ROUND.
164 (window--min-delta-1, window-min-delta, window--max-delta-1):
165 Be more conservative when calculating the numbers of lines or
166 columns a window can shrink (Bug#16430).
167 (fit-window-to-buffer): Simplify code.
168 * term.el (term-window-width): Call window-body-width again.
169
170 2014-01-22 Glenn Morris <rgm@gnu.org>
171
172 * image.el (image-format-suffixes): Doc fix.
173
174 * international/quail.el (quail-define-package): Doc fix.
175
176 * emacs-lisp/authors.el (authors-valid-file-names):
177 (authors-renamed-files-alist): Additions.
178
179 * vc/vc-git.el (vc-git-print-log): Remove --follow;
180 reverts 2014-01-09 change. (Bug#16422)
181
182 * calc/calc-embed.el (thing-at-point-looking-at):
183 * emacs-lisp/map-ynp.el (x-popup-dialog):
184 * obsolete/lmenu.el (x-popup-dialog):
185 * emacs-lisp/package.el (url-recreate-url):
186 * mail/mailclient.el (clipboard-kill-ring-save):
187 * subr.el (x-popup-dialog): Update declaration.
188 * mail/rmail.el (rmail-mime-message-p):
189 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
190
191 2014-01-21 Daniel Colascione <dancol@dancol.org>
192
193 * progmodes/sh-script.el (sh--inside-noncommand-expression):
194 Correctly detect when we're inside an arithmetic expansion form
195 containing nested parenthesis.
196 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
197 to detect cases where we shouldn't expand "<<" to a heredoc
198 skeleton.
199
200 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
201
202 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
203 (eldoc--message-command-p): New function.
204 (eldoc-display-message-p): Use it.
205 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
206 message is not automatically erased for us.
207 (eldoc-print-current-symbol-info): Erase previous message, if any.
208
209 2014-01-21 Tassilo Horn <tsdh@gnu.org>
210
211 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
212 specify it's an interactive function.
213
214 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
215 Fix regex used for scanning for citation keys which failed for
216 citations with optional arguments.
217
218 2014-01-21 Leo Liu <sdl.web@gmail.com>
219
220 * simple.el (read--expression): Don't enable eldoc-mode.
221
222 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * simple.el (move-beginning-of-line): Make sure we don't move forward
225 (bug#16497).
226
227 2014-01-20 Juri Linkov <juri@jurta.org>
228
229 * saveplace.el (toggle-save-place, save-place-to-alist)
230 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
231 'dired-mode) before checking for dired-directory. (Bug#16477)
232
233 2014-01-20 Juri Linkov <juri@jurta.org>
234
235 * indent.el (indent-line-to): Use backward-to-indentation
236 instead of back-to-indentation. (Bug#16461)
237
238 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
239
240 Revert some of the CANNOT_DUMP fix (Bug#16494).
241 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
242 but fixing this can wait until after the next release.
243 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
244
245 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
246
247 * eshell/esh-mode.el (eshell-password-prompt-regexp):
248 Use `password-word-equivalents'.
249 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
250 to t. (Bug#5664, Bug#13124)
251
252 2014-01-19 Alan Mackenzie <acm@muc.de>
253
254 Bind open-paren-in-column-0-is-defun-start to nil at some entry
255 points.
256 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
257 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
258 * progmodes/cc-mode.el (c-before-change, c-after-change)
259 (c-font-lock-fontify-region): Bind it here.
260
261 2014-01-19 Martin Rudalics <rudalics@gmx.at>
262
263 * term.el (term-window-width): Call window-text-width instead of
264 window-width (Bug#16470).
265
266 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
267
268 * simple.el (password-word-equivalents): Remove duplicates.
269 Sort, to make this easier next time.
270 Downcase. Omit ": " after "jelszó".
271
272 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
273
274 * term/common-win.el (saved-region-selection): Defvar it.
275 (x-select-text): Set saved-region-selection (Bug#16382).
276
277 2014-01-18 Glenn Morris <rgm@gnu.org>
278
279 * emacs-lisp/authors.el (authors-aliases)
280 (authors-renamed-files-alist): Add some entries.
281
282 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp.el (tramp-password-prompt-regexp):
285 Use `password-word-equivalents' if available.
286 (tramp-action-password, tramp-process-one-action)
287 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
288
289 2014-01-17 Chong Yidong <cyd@gnu.org>
290
291 * simple.el (password-word-equivalents): New defcustom.
292 * comint.el (comint-password-prompt-regexp): Use it. Bump version
293 to 24.4.
294 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
295 to t. (Bug#13124)
296
297 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
298
299 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
300 (ruby-align-to-stmt-keywords): Change the default value.
301 Use `ruby-alignable-keywords' to generate the possible customization
302 choices.
303 (ruby-smie-rules): Instead of using a hardcoded list of alignable
304 keywords, check against the value of `ruby-alignable-keywords'
305 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
306
307 2014-01-17 Glenn Morris <rgm@gnu.org>
308
309 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
310
311 Make M-x authors return zero *Authors Errors* from current logs.
312 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
313 (authors-ignored-files): Add some entries, remove others.
314 (authors-ambiguous-files, authors-valid-file-names):
315 Add some entries.
316 (authors-renamed-files-alist): Add, remove, and adjust entries.
317 (authors-renamed-files-regexps): Add some entries.
318 Remove some very broad ones. Make some entries `lax'.
319 (authors-lax-changelogs): New constant.
320 (authors-disambiguate-file-name): Treat top-level specially.
321 (authors-lax-changelog-p): New function.
322 (authors-canonical-file-name): Check file as written against
323 authors-valid-file-names. Do not special-case etc/.
324 Handle `lax' logs and authors-renamed-files-regexps elements.
325
326 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
327
328 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
329 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
330 callers.
331
332 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
335 Assume we're already in the proper buffer.
336 Inspired by Anders Lindgren <andlind@gmail.com>.
337 (follow-post-command-hook): Call it from the right buffer.
338 (follow-comint-scroll-to-bottom): Adjust call.
339 (follow-all-followers): Use get-buffer-window-list.
340
341 2014-01-15 Daniel Colascione <dancol@dancol.org>
342
343 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
344 `buffer-file-name' in interactive-form so that we don't leave
345 pathless file names in `file-name-history'.
346
347 2014-01-15 Juri Linkov <juri@jurta.org>
348
349 * indent.el (indent-rigidly): Set deactivate-mark to nil
350 in transient indentation mode. (Bug#16438)
351
352 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
353
354 * emacs-lisp/package.el (package-desc-keywords): New function
355 (Bug#16222).
356 (describe-package-1, package-all-keywords)
357 (package--has-keyword-p): Use it.
358
359 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
360
361 * simple.el (define-alternatives): When creating the
362 COMMAND-alternatives variable, assign COMMAND as its definition
363 name so that `describe-variable' can relocate it.
364
365 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
366
367 * font-lock.el (font-lock-keywords): Fix typo in docstring
368 (bug#16307).
369
370 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
371
372 * ispell.el (ispell-region): Reset `in-comment' for new line
373 instead of wrongly reset `add-coment' (bug#13577).
374
375 2014-01-14 Daiki Ueno <ueno@gnu.org>
376
377 * epa-file.el (epa-file-write-region): Encode the region according
378 to `buffer-file-format'. Problem reported at:
379 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
380
381 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
384 so it applies in the right buffer (bug#16410).
385
386 2014-01-13 Daniel Colascione <dancol@dancol.org>
387
388 * textmodes/rst.el (rst-define-key): Provide deprecated
389 keybindings through named functions instead of anonymous ones so
390 that "??" doesn't appear in describe-mode output.
391
392 2014-01-13 Bastien Guerry <bzg@gnu.org>
393
394 * simple.el (define-alternatives): Call the selected command
395 interactively. When setting `COMMAND--implementation' for the
396 first time, tell the user how to chose another implementation.
397 Enhance the docstring.
398
399 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
402 (log-edit--match-first-line): New function.
403 (log-edit-font-lock-keywords): Use it.
404 (log-edit-mode): Make jit-lock-defer-multiline work.
405
406 2014-01-13 Bastien Guerry <bzg@gnu.org>
407
408 * rect.el (rectangle-mark-mode): When the region is not active,
409 display a message saying that the mark as been set and that
410 rectangle mode is in use.
411 (rectangle--highlight-for-redisplay): Only put an overlay with a
412 visible vertical bar when (display-graphic-p) is non-nil.
413 This partially fixes Bug#16403.
414
415 2014-01-13 Juri Linkov <juri@jurta.org>
416
417 * info.el (Info-find-file): Go to DIR before displaying the error
418 about a nonexistent file if no previous Info file is visited.
419 Use `user-error' instead of `error' for "Info file %s does not exist".
420 (Info-find-node-2): In case of a nonexistent node in unwind forms
421 go to the Top node if there is no previous node to revert to.
422 (Bug#16405)
423
424 2014-01-13 Martin Rudalics <rudalics@gmx.at>
425
426 fit-frame/window-to-buffer code fixes including one for Bug#14096.
427 * window.el (fit-frame-to-buffer): Fix doc-string.
428 Respect window-min-height/-width. Fit pixelwise when
429 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
430 when avoiding that frame goes partially off-screen.
431 (fit-window-to-buffer): Respect window-min-height/-width
432 (Bug#14096).
433
434 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
435
436 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
437 after an empty line.
438
439 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
440
441 * net/shr.el (shr-render-region): Autoload.
442
443 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
444
445 * net/eww.el (eww-download-directory): Rename from
446 `eww-download-path' (Bug#16419).
447
448 2014-01-12 Leo Liu <sdl.web@gmail.com>
449
450 * dired-x.el (dired-mode-map): Fix last change.
451
452 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
453
454 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
455
456 Spelling fixes.
457 * emacs-lisp/generic.el (generic--normalize-comments):
458 Rename from generic--normalise-comments. All uses changed.
459 * play/bubbles.el (bubbles--neighborhood-score):
460 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
461 (bubbles--neighborhood-available)
462 (bubbles--update-neighborhood-score):
463 Rename from names with 'neighbourhood'. All uses changed.
464
465 2014-01-12 Leo Liu <sdl.web@gmail.com>
466
467 Re-implement the feature of showing eldoc info after editing.
468 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
469 (eldoc-edit-message-commands): New function.
470 (eldoc-print-after-edit): New variable.
471 (eldoc-pre-command-refresh-echo-area): Emit message only by
472 eldoc-message-commands.
473 (eldoc-mode): Restrict eldoc-message-commands to editing commands
474 if eldoc-print-after-edit is set. (Bug#16346)
475 * simple.el (read--expression): Enable eldoc-mode.
476 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
477
478 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
479 Eric S. Raymond <esr@thyrsus.com>
480
481 * version.el (emacs-repository-get-version): Enhance so the
482 function works correctly in either a Bazaar or Git repo.
483
484 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
485
486 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
487 Goes with removal of the joke manpages from /etc.
488
489 2014-01-10 K. Handa <handa@gnu.org>
490
491 * mail/rmail.el (rmail-get-coding-system):
492 Check rmail-get-coding-function before "funcall"ing it.
493
494 2014-01-10 Glenn Morris <rgm@gnu.org>
495
496 * emacs-lisp/authors.el (authors-fixed-entries):
497 Update for files that no longer exist.
498
499 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
500
501 * version.el (emacs-bzr-get-version): Restore compatibilty with
502 24.3 (Tested).
503
504 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
505
506 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
507 and Podfile.
508
509 2014-01-10 Eli Zaretskii <eliz@gnu.org>
510
511 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
512
513 2014-01-10 Chong Yidong <cyd@gnu.org>
514
515 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
516
517 2014-01-10 Anders Lindgren <andlind@gmail.com>
518
519 * follow.el (follow-cache-command-list): Include right-char and
520 left-char.
521
522 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
523
524 Spelling fixes.
525 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
526 * woman.el (woman-mark-horizontal-position):
527 Rename from woman-mark-horizonal-position. Use changed.
528
529 2014-01-10 Glenn Morris <rgm@gnu.org>
530
531 * info.el (info-initialize): If running uninstalled, ensure our
532 own info files are always found first, even if INFOPATH is set.
533
534 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
535
536 2014-01-09 David Engster <deng@randomsample.de>
537
538 * emacs-lisp/eieio-custom.el:
539 * emacs-lisp/eieio-opt.el: Set generated autoload file to
540 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
541 * emacs-lisp/eieio.el: Regenerate autoloads.
542
543 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
544
545 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
546 following renames. (Bug#8756)
547
548 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
549
550 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
551 (bug#16382).
552 (activate-mark): Add `no-tmm' argument.
553 (set-mark, push-mark-command): Use it instead of running
554 activate-mark-hook by hand.
555
556 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
557
558 In preparation for the move to git, sanitize out some
559 Bazaar-specific names.
560
561 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
562
563 * version.el (emacs-bzr-version): Name changed to
564 emacs-repository-version. Obsolete-variable alias made.
565 * loadup.el: Follow through on this name change.
566 * mail/emacsbug.el (report-emacs-bug): Factor out any
567 assumption about the version control system in use.
568
569 2014-01-08 David Engster <deng@randomsample.de>
570
571 * help-fns.el (help-fns-describe-function-functions):
572 New variable to call functions for augmenting help buffers.
573 (describe-function-1): Remove explicit calls to
574 `help-fns--compiler-macro', `help-fns--parent-mode' and
575 `help-fns--obsolete'. Put them in above new variable instead, and
576 call them through `run-hook-with-args'.
577 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
578 `eieio-describe-class'. Not meant for interactive use anymore,
579 but to augment existing help buffers. Remove optional second
580 argument. Create proper button for file location.
581 Rewrite function to use `insert' instead of `princ' and `prin1' where
582 possible.
583 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
584 (eieio-method-def, eieio-class-def): Move further up.
585 (describe-method, describe-generic, eieio-describe-method):
586 Remove aliases.
587 (eieio-help-constructor, eieio-help-generic): Rename from
588 `eieio-describe-constructor' and `eieio-describe-generic', resp.
589 Rewrite to use `insert' in the current buffer and use proper help
590 buttons.
591 (eieio-help-find-method-definition)
592 (eieio-help-find-class-definition): Also accept symbols as
593 arguments.
594 (eieio-help-mode-augmentation-maybee): Remove.
595 (eieio-describe-class-sb): Use `describe-function'.
596 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
597 Add `eieio-help-generic' and `eieio-help-constructor'.
598
599 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
600
601 Spelling fixes.
602 * language/china-util.el (hz-ascii-designation):
603 Rename from hz-ascii-designnation.
604 (hz-ascii-designation): Rename from hz-ascii-designnation.
605 All uses changed.
606
607 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
608
609 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
610 package-alist.
611
612 2014-01-08 Bastien Guerry <bzg@gnu.org>
613
614 * emacs-lisp/package.el (package-delete):
615 Correctly delete the package from package-alist.
616
617 2014-01-08 Daiki Ueno <ueno@gnu.org>
618
619 * emacs-lisp/package.el (url-recreate-url): Declare.
620 (url-http-target-url): Declare.
621 (package-handle-response): Include requested URL in the error message.
622 (package--check-signature): Don't re-signal errors from
623 package--with-work-buffer. Suggested by Stefan Monnier.
624
625 2014-01-07 Bastien Guerry <bzg@gnu.org>
626
627 * minibuffer.el (completion--try-word-completion): When both a
628 hyphen and a space are possible candidates for the character
629 following a word, display both candidates. (Bug#15980)
630
631 2014-01-07 Martin Rudalics <rudalics@gmx.at>
632
633 * window.el (balance-windows-2): While rounding don't give a
634 window more than the remainder. Bug#16351, Bug#16383.
635
636 2014-01-07 Glenn Morris <rgm@gnu.org>
637
638 * menu-bar.el (menu-bar-help-extra-packages): Remove.
639 (menu-bar-help-menu): Use view-external-packages instead.
640
641 2014-01-07 Bastien Guerry <bzg@gnu.org>
642
643 * emacs-lisp/package.el (package-delete): Also delete the package
644 name from `package-alist', not its description only.
645
646 2014-01-07 Glenn Morris <rgm@gnu.org>
647
648 * help.el (view-external-packages):
649 * menu-bar.el (menu-bar-help-extra-packages):
650 Visit efaq.info rather than etc/MORE.STUFF.
651
652 2014-01-07 Juri Linkov <juri@jurta.org>
653
654 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
655 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
656
657 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
658 that shadows RET. (Bug#16342)
659
660 2014-01-07 Chong Yidong <cyd@gnu.org>
661
662 * isearch.el (isearch-yank-char, isearch-yank-word)
663 (isearch-yank-line): Doc fix.
664
665 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
668 * emacs-lisp/elint.el (elint-find-builtins):
669 * emacs-lisp/eldoc.el (eldoc-symbol-function):
670 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
671 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
672 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
673 * apropos.el (apropos-safe-documentation):
674 * subr.el (symbol-file): Remove redundant fboundp.
675 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
676
677 2014-01-06 Bastien Guerry <bzg@gnu.org>
678
679 * hl-line.el (global-hl-line-overlay): Make a local variable.
680 (global-hl-line-overlays): New variable to store all overlays.
681 (global-hl-line-mode): Don't delete overlays from the current
682 buffer when `global-hl-line-sticky-flag' is non-nil.
683 (global-hl-line-highlight): Add new overlays to
684 `global-hl-line-overlays'.
685 (global-hl-line-unhighlight-all): New function to delete all
686 overlays when turning off `global-hl-line-mode'.
687 This fixes Bug#16183.
688
689 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
690
691 * subr.el (set-transient-map): Fix nested case and docstring.
692
693 2014-01-06 Tassilo Horn <tsdh@gnu.org>
694
695 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
696 `Texinfo' entry.
697
698 2014-01-06 Daniel Colascione <dancol@dancol.org>
699
700 Fix defun navigation in vc log view.
701
702 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
703 like `beginning-of-defun'.
704 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
705 log-view-end-of-defun to log-view-end-of-defun-1. Replace
706 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
707 (log-view-extract-comment): Call `log-view-current-entry' directly
708 instead of relying on broken `log-view-beginning-of-defun' behavior.
709
710 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
711
712 Spelling fixes.
713 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
714 * emacs-lisp/debug.el (cancel-debug-on-entry):
715 * epg.el (epg-error-to-string):
716 * files.el (recover-file):
717 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
718 * mail/emacsbug.el (report-emacs-bug-hook):
719 * mail/sendmail.el (mail-recover):
720 * ses.el (ses-yank-resize):
721 * term/ns-win.el (ns-print-buffer):
722 Spelling fixes in diagnostics, mostly for "canceled" with one L.
723 * epg.el (epg-key-capability-alist): Rename from misspelled version.
724 All uses changed.
725 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
726
727 2014-01-06 Leo Liu <sdl.web@gmail.com>
728
729 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
730 to avoid shadowing global key. (Bug#16354)
731
732 2014-01-06 Daniel Colascione <dancol@dancol.org>
733
734 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
735 rst-mode.
736
737 2014-01-05 Martin Rudalics <rudalics@gmx.at>
738
739 * window.el (balance-windows): Add mising t to fix Bug#16351.
740
741 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
742
743 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
744 (bug#16285).
745 (shr-insert): If we have a word that's longer than `shr-width',
746 break after it anyway. Otherwise we'll do no breaking once we get
747 such a long word.
748
749 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
750
751 * net/eww.el (eww): Support single/double quote for search.
752 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
753 (eww-history-quit): Delete and use quit-window.
754 (eww-history-kill): Delete, because it doesn't work well and
755 not necessary.
756 (eww-history-mode-map): Delete some keys and add easy-menu.
757
758 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
759
760 Fix misspelling of 'chinese' in rx (Bug#16237).
761 * emacs-lisp/rx.el (rx-categories): Correct spelling of
762 chinese-two-byte.
763
764 Change subword regexps back to vars (Bug#16296).
765 * progmodes/subword.el (subword-forward-regexp)
766 (subword-backward-regexp): Change these back to variables.
767
768 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
771 syntax-begin-function (bug#16247).
772
773 2014-01-03 Chong Yidong <cyd@gnu.org>
774
775 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
776 (advice--docstring): Delete variable.
777 (advice--make-1): Leave the docstring empty.
778 (advice-add): Use function-documentation for advised docstring.
779
780 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
781 Ignore function-documentation property when getting documentation.
782 (ad-activate-advised-definition): Use function-documentation
783 generate the docstring.
784 (ad-make-advised-definition): Don't call
785 ad-make-advised-definition-docstring.
786 (ad-make-advised-definition-docstring, ad-advised-definition-p):
787 Delete functions.
788
789 * progmodes/sql.el (sql-help): Use function-documentation instead
790 of dynamic-docstring-function property. No need to autoload now.
791 (sql--help-docstring): New variable.
792 (sql--make-help-docstring): Use it.
793
794 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * ielm.el (ielm-tab): Retarget.
797 (ielm-map): Use ielm-tab for tab.
798 (ielm-complete-filename): Use comint-filename-completion.
799 (ielm-complete-symbol): Remove.
800 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
801 remove ielm-tab from completion-at-point-functions (bug#16224).
802
803 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
804 Beware signals raised by predicates (bug#16201).
805
806 2014-01-02 Richard Stallman <rms@gnu.org>
807
808 * dired-aux.el (dired-do-print): Handle printer-name.
809
810 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
811 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
812 (rmail-epa-decrypt): Turn off mime processing.
813
814 * mail/rmail.el (rmail-make-in-reply-to-field):
815 Add parens in message-id.
816
817 * mail/rmail.el (rmail-get-coding-function): Variable.
818 (rmail-get-coding-system): Use it.
819
820 2013-12-31 Eli Zaretskii <eliz@gnu.org>
821
822 * international/mule-conf.el: Unify the charset indian-is13194.
823 (indian-is13194): Specify unify-map.
824
825 2013-12-31 Leo Liu <sdl.web@gmail.com>
826
827 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
828
829 2013-12-30 Daniel Colascione <dancol@dancol.org>
830
831 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
832 of printing a useless when we resume from sleep.
833
834 * progmodes/sh-script.el
835 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
836 in indentation code. (Bug#16233)
837
838 2013-12-28 João Távora <joaotavora@gmail.com>
839
840 * elec-pair.el (electric-pair-post-self-insert-function):
841 Don't open extra newlines at beginning of buffer. (Bug#16272)
842
843 2013-12-28 Eli Zaretskii <eliz@gnu.org>
844
845 * frame.el (window-system-for-display): Don't allow to create a
846 GUI frame from a -nw session on MS-Windows. (Bug#14739)
847
848 2013-12-28 Glenn Morris <rgm@gnu.org>
849
850 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
851 Update callers.
852
853 * apropos.el (apropos-match-face):
854 * calculator.el (calculator-displayer):
855 * dabbrev.el (dabbrev-search-these-buffers-only):
856 * face-remap.el (buffer-face-mode-face):
857 * simple.el (yank-handled-properties):
858 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
859 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
860 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
861 (hashcash-double-spend-database):
862 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
863 (ruby-deep-indent-paren-style):
864 * textmodes/flyspell.el (flyspell-auto-correct-binding):
865 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
866 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
867 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
868 Specify custom types.
869
870 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
871 * bookmark.el (bookmark-bmenu-use-header-line):
872 * doc-view.el (doc-view-scale-internally):
873 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
874 * register.el (register-preview-delay):
875 * net/shr.el (shr-bullet):
876 * progmodes/cfengine.el (cfengine-cf-promises)
877 (cfengine-parameters-indent):
878 * progmodes/octave.el (inferior-octave-error-regexp-alist):
879 * textmodes/reftex-vars.el (reftex-label-regexps):
880 * vc/log-edit.el (log-edit-setup-add-author): Add version.
881
882 * net/tls.el (tls-certtool-program): Fix default value.
883
884 * desktop.el (desktop-restore-in-current-display):
885 * newcomment.el (comment-empty-lines):
886 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
887 (idlwave-pad-keyword):
888 * progmodes/tcl.el (tcl-tab-always-indent):
889 * textmodes/reftex-vars.el (reftex-index-default-tag):
890 * elec-pair.el (electric-pair-skip-whitespace):
891 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
892
893 * emacs-lisp/authors.el (authors-ignored-files)
894 (authors-valid-file-names, authors-renamed-files-alist): Additions.
895
896 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
897
898 * shell.el (shell-dynamic-complete-command): Doc fix.
899 (shell--command-completion-data): Shell completion now matches
900 executable filenames from the current buffer's directory, on
901 systems in which this behavior is the default (windows-nt, ms-dos).
902
903 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
904
905 * net/shr.el (shr-insert): Don't infloop if the width is zero.
906
907 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
910 (bug#16251).
911
912 * electric.el: Move all electric-pair-* to elec-pair.el.
913 * elec-pair.el: New file, split from electric.el.
914
915 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
916
917 * net/shr.el (shr-find-fill-point): Don't try to fill if the
918 indentation level is larger than the width, because that will
919 infloop.
920 (shr-insert): Fill repeatedly long texts, so that Japanese is
921 formatted correctly (bug#16263).
922 (shr-find-fill-point): Off by one error in comparison with the
923 indentation.
924
925 2013-12-26 João Távora <joaotavora@gmail.com>
926
927 * electric.el (electric-pair-mode): More flexible engine for skip-
928 and inhibit predicates, new options for pairing-related functionality.
929 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
930 if that keeps or improves their balance in buffers.
931 (electric-pair-delete-adjacent-pairs): Delete the pair when
932 backspacing over adjacent matched delimiters.
933 (electric-pair-open-extra-newline): Open extra newline when
934 inserting newlines between adjacent matched delimiters.
935 (electric--sort-post-self-insertion-hook):
936 Sort post-self-insert-hook according to priority values when
937 minor-modes are activated.
938 * simple.el (newline-and-indent): Call newline with interactive
939 set to t.
940 (blink-paren-post-self-insert-function): Set priority to 100.
941 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
942 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
943 comments. Locally set electric-pair-skip-whitespace to 'chomp and
944 electric-pair-open-newline-between-pairs to nil.
945
946 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
947
948 * progmodes/python.el: Use lexical-binding.
949 (python-nav-beginning-of-defun): Stop searching ASAP.
950
951 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
952
953 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
954 Fix interactive spec. Doc fix. (Bug#15754)
955
956 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
957
958 * emacs-lisp/byte-run.el (eval-when-compile):
959 * progmodes/cc-defs.el (cc-eval-when-compile):
960 Fix edebug spec (bug#16184).
961
962 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
963
964 * net/shr.el (shr-visit-file): Remove debugging function.
965 (shr-insert): Don't infloop if we can't find a good place to break
966 the line (bug#16256).
967
968 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
969
970 * progmodes/python.el:
971 (python-nav--lisp-forward-sexp): New function.
972 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
973 python-nav-lisp-forward-sexp-safe.
974 (python-nav--forward-sexp): New argument SAFE allows switching
975 forward sexp movement behavior for parens.
976 (python-nav-forward-sexp): Throw errors on unterminated parens
977 (Bug#16191).
978 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
979 (python-nav-backward-sexp-safe): New functions.
980 (python-shell-buffer-substring):
981 Use `python-nav-forward-sexp-safe'.
982
983 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
984
985 * net/shr.el (shr-find-fill-point): Don't break lines before a
986 quotation mark.
987 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
988 (shr-find-fill-point): Remove the special checks for the quotation
989 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
990
991 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
992
993 * net/eww.el (eww-form-textarea): Use a different face for
994 textareas than text input since they have different keymaps
995 (bug#16142).
996
997 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
998
999 * progmodes/python.el (python-nav-beginning-of-statement):
1000 Speed up (Bug#15295).
1001
1002 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1003
1004 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1005 the window configuration.
1006
1007 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1008
1009 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1010 we run on MS-Windows or MS-DOS.
1011
1012 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1013
1014 * window.el (balance-windows-area): Call window-size instead of
1015 window-height and window-width. Bug#16241.
1016
1017 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1018
1019 * net/eww.el (eww-bookmark-quit): Remove.
1020 (eww-bookmark-browse): Restore the window configuration when you
1021 choose a bookmark (bug#16144).
1022
1023 2013-12-24 Daniel Colascione <dancol@dancol.org>
1024
1025 * icomplete.el: Remove redundant :group arguments to `defcustom'
1026 throughout.
1027 (icomplete-show-matches-on-no-input): New customizable variable.
1028 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1029 we have something to show.
1030 (icomplete-exhibit): Compute completions even if we have no user input.
1031
1032 2013-12-23 Daniel Colascione <dancol@dancol.org>
1033
1034 * icomplete.el: Move `provide' to end of file.
1035
1036 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1037
1038 * net/gnutls.el (gnutls-verify-error): Add version tag.
1039
1040 2013-12-23 Chong Yidong <cyd@gnu.org>
1041
1042 * subr.el (set-transient-map): Rename from
1043 set-temporary-overlay-map. Doc fix.
1044
1045 * face-remap.el (text-scale-adjust):
1046 * indent.el (indent-rigidly):
1047 * kmacro.el (kmacro-call-macro):
1048 * minibuffer.el (minibuffer-force-complete):
1049 * repeat.el (repeat):
1050 * simple.el (universal-argument--mode):
1051 * calendar/todo-mode.el (todo-insert-item--next-param):
1052 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1053
1054 * indent.el (indent-rigidly): Use substitute-command-keys.
1055
1056 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1057
1058 * net/eww.el (eww-tag-select): Add text-property to jump to next
1059 select field.
1060 (eww): Add non-supported ftp error.
1061
1062 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1063
1064 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1065 comments. Handle electric indent after typing `?' and `!'.
1066
1067 2013-12-22 Chong Yidong <cyd@gnu.org>
1068
1069 * faces.el (face-spec-recalc): If the theme specs are not
1070 applicable to a frame, fall back on the defface spec.
1071 This prevents themes from obliterating faces on low-color terminals.
1072
1073 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1074
1075 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1076 after `{'. We need it after block openers, and it doesn't seem
1077 to hurt after hash openers.
1078
1079 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1082 extracted from `ruby-smie-rules'.
1083 (ruby--electric-indent-chars): New variable.
1084 (ruby--electric-indent-p): New function.
1085 (ruby-mode): Use `electric-indent-functions' instead of
1086 `electric-indent-chars'.
1087
1088 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1089
1090 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1091 docstring.
1092 (ruby-smie-rules): Indent plus one level after `=>'.
1093
1094 2013-12-21 Richard Stallman <rms@gnu.org>
1095
1096 * simple.el (newline): Doc fix.
1097
1098 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1099
1100 * net/eww.el (eww-list-histories, eww-list-histories)
1101 (eww-history-browse, eww-history-quit, eww-history-kill)
1102 (eww-history-mode-map, eww-history-mode): New command and
1103 functions to list browser histories.
1104 (eww-form-text): Support text form with disabled
1105 and readonly attributes.
1106 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1107
1108 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1109
1110 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1111 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1112 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1113 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1114 Use `user-error'.
1115 (eww-bookmark-mode-map): Add menu.
1116 (eww-render, eww-mode): Use `setq-local'.
1117 (eww-tool-bar-map): New variable.
1118 (eww-mode): Set `tool-bar-map'.
1119 (eww-view-source): Check for `html-mode' with `fboundp'.
1120
1121 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1122
1123 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1124 elements with text inside. Also remove debugging.
1125
1126 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1127
1128 * cus-start.el (all): Add ns-use-srgb-colorspace.
1129
1130 2013-12-21 Chong Yidong <cyd@gnu.org>
1131
1132 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1133 undefined. Thus, theme settings for undefined faces do not take
1134 effect until the faces are defined with defface, the same as with
1135 theme variables.
1136
1137 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1138 (face-spec-reset-face): Don't assign extra properties in temacs.
1139 (face-spec-recalc): Apply X resources too.
1140
1141 2013-12-21 Chong Yidong <cyd@gnu.org>
1142
1143 * faces.el (face-spec-set):
1144 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1145 * custom.el (defface): Doc fixes (Bug#16203).
1146
1147 * indent.el (indent-rigidly-map): Add docstring, and move commands
1148 into named functions.
1149 (indent-rigidly-left, indent-rigidly-right)
1150 (indent-rigidly-left-to-tab-stop)
1151 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1152 indentation direction based on bidi direction, and accumulate
1153 sequential commands in a single undo boundary.
1154 (indent-rigidly--pop-undo): New utility function.
1155
1156 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1157
1158 * faces.el (read-face-name): Require crm.el when using crm-separator.
1159
1160 2013-12-20 Daniel Colascione <dancol@dancol.org>
1161
1162 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1163 so that we don't reflow comments into the shebang line.
1164
1165 2013-12-20 Juri Linkov <juri@jurta.org>
1166
1167 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1168 a position when `dired-directory' is non-nil. Check integer
1169 positions with `integerp'.
1170 (toggle-save-place, save-places-to-alist): Add check for
1171 `dired-directory'.
1172 (save-place-find-file-hook): Check integer positions with
1173 `integerp'.
1174 (save-place-dired-hook): Use `dired-goto-file' when
1175 `dired-filename' is found in the assoc list. Check integer
1176 positions with `integerp'.
1177 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1178
1179 * dired.el (dired-initial-position-hook): Rename back from
1180 `dired-initial-point-hook'.
1181 (dired-initial-position): Rename `dired-initial-point-hook' to
1182 `dired-initial-position-hook'.
1183 (dired-file-name-at-point): Doc fix. (Bug#15329)
1184
1185 2013-12-20 Juri Linkov <juri@jurta.org>
1186
1187 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1188 (read-regexp-suggestions): New function.
1189 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1190 Use `read-regexp-suggestions'. Add non-empty default to history
1191 for empty input.
1192 (occur-read-regexp-defaults-function): Remove function.
1193 (occur-read-primary-args): Use `regexp-history-last' instead of
1194 `occur-read-regexp-defaults-function'.
1195
1196 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1197 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1198 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1199 `hi-lock-read-regexp-defaults-function'. Doc fix.
1200 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1201 with `find-tag-default-as-symbol-regexp'. Doc fix.
1202 (hi-lock-read-regexp-defaults): Remove function.
1203 (hi-lock-regexp-okay): Add check for null.
1204
1205 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1206 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1207
1208 * subr.el (find-tag-default-as-symbol-regexp): New function.
1209 (find-tag-default-as-regexp): Move symbol regexp formatting to
1210 `find-tag-default-as-symbol-regexp'.
1211
1212 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1213
1214 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1215 (Bug#14179)
1216
1217 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1218
1219 * calendar/todo-mode.el: New implementation of item insertion
1220 commands and key bindings.
1221 (todo-key-prompt): New face.
1222 (todo-insert-item): New command.
1223 (todo-insert-item--parameters): New defconst, replacing defvar
1224 todo-insertion-commands-args-genlist.
1225 (todo-insert-item--param-key-alist): New defconst, replacing
1226 defvar todo-insertion-commands-arg-key-list.
1227 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1228 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1229 (todo-insert-item--next-param): New functions.
1230 (todo-insert-item--args, todo-insert-item--argleft)
1231 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1232 New variables.
1233 (todo-key-bindings-t): Change binding of "i" from
1234 todo-insertion-map to todo-insert-item.
1235 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1236 (todo-insertion-command-name, todo-insertion-commands-names)
1237 (todo-define-insertion-command, todo-insertion-commands)
1238 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1239
1240 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1241
1242 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1243 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1244 eval-when-compile.
1245 (todo-move-category): Allow choosing a non-existing todo file to
1246 move the category to, and create that file.
1247 (todo-default-priority): New user option.
1248 (todo-set-item-priority): Use it.
1249 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1250 (desktop-restore-file-buffer): Declare.
1251 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1252 (todo-modes-set-2): Locally set desktop-save-buffer to
1253 todo-desktop-save-buffer.
1254 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1255 (auto-mode-alist): Add autoload cookie.
1256
1257 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1258
1259 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1260 helpers.el was a poor choice of name.
1261 (string-remove-prefix): New function.
1262 (string-remove-suffix): New function.
1263
1264 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1265
1266 Fix assignment for new window total sizes.
1267 * window.el (window--pixel-to-size): Remove function.
1268 (window--pixel-to-total-1, window--pixel-to-total):
1269 Fix calculation of new total sizes.
1270
1271 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1272
1273 * comint.el (comint-output-filter): Fix rear-nonsticky property
1274 placement (Bug#16010).
1275
1276 2013-12-20 Chong Yidong <cyd@gnu.org>
1277
1278 * faces.el (read-color): Minor fix for completion function.
1279
1280 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1283 New option. (Bug#16182)
1284 (ruby-smie--indent-to-stmt-p): Use it.
1285 (ruby-smie-rules): Revert the logic in the handling of `when'.
1286 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1287 (ruby-deep-arglist, ruby-deep-indent-paren)
1288 (ruby-deep-indent-paren-style): Update docstrings to note that the
1289 vars don't have any effect with SMIE.
1290
1291 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1292
1293 * calc/calc.el (calc-enter, calc-pop): Use the variable
1294 `calc-context-sensitive-enter'.
1295
1296 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1297
1298 * net/shr.el (shr-insert): Protect against infloops in degenerate
1299 tables.
1300
1301 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1302
1303 * progmodes/octave.el (octave): Add link to manual and octave
1304 homepage.
1305 (octave-mode-menu): Link to octave-mode manual.
1306
1307 2013-12-20 Leo Liu <sdl.web@gmail.com>
1308
1309 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1310 insertion using skeleton-end-newline. (Bug#16138)
1311
1312 2013-12-20 Juri Linkov <juri@jurta.org>
1313
1314 * replace.el (occur-engine): Use `add-face-text-property'
1315 to add the face property to matches and titles. (Bug#14645)
1316
1317 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1318 the palette of other hi-lock colors.
1319 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1320
1321 2013-12-19 Juri Linkov <juri@jurta.org>
1322
1323 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1324 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1325 (minibuffer-history-symbol): Move variable declaration closer to
1326 its usage.
1327
1328 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1329 (Bug#14785)
1330
1331 2013-12-19 Juri Linkov <juri@jurta.org>
1332
1333 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1334 New function.
1335 (log-edit-hook): Add it to :options. (Bug#16170)
1336
1337 2013-12-19 Juri Linkov <juri@jurta.org>
1338
1339 * simple.el (eval-expression-print-format): Don't check for
1340 command names and the last command. Always display additional
1341 formats of the integer result in the echo area, and insert them
1342 to the current buffer only with a zero prefix arg.
1343 Display character when char-displayable-p is non-nil.
1344 (eval-expression): With a zero prefix arg, set `print-length' and
1345 `print-level' to nil, and insert the integer values from
1346 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1347
1348 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1349 `eval-last-sexp-arg-internal'. Doc fix.
1350 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1351 `eval-last-sexp-print-value'. Doc fix.
1352 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1353 Set `print-length' and `print-level' to nil when arg is zero.
1354 (eval-last-sexp): Doc fix.
1355 (eval-defun-2): Print the integer values from
1356 `eval-expression-print-format' at the end.
1357
1358 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1359 values from `eval-expression-print-format' at the end.
1360
1361 * ielm.el (ielm-eval-input): Print the integer
1362 values from `eval-expression-print-format' at the end.
1363
1364 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1365
1366 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1367 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1368
1369 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1372 (hl-line-highlight, global-hl-line-highlight): Use it.
1373 (hl-line-overlay): Use defvar-local.
1374
1375 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1376
1377 * term/ns-win.el: Require dnd.
1378 (global-map): Remove drag items.
1379 (ns-insert-text, ns-set-foreground-at-mouse)
1380 (ns-set-background-at-mouse):
1381 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1382 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1383 New functions.
1384
1385 2013-12-19 Glenn Morris <rgm@gnu.org>
1386
1387 * emacs-lisp/ert.el (ert-select-tests):
1388 Fix string/symbol mixup. (Bug#16121)
1389
1390 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1391
1392 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1393 keywords to their parent.
1394
1395 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1396
1397 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1398 first arg to be a string (fixed dead code), or an operator symbol.
1399 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1400 operator symbols.
1401 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1402 did nothing. Don't respond to `(:after ".")', it will be called
1403 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1404 change anything. Only return indentation for binary operators
1405 when they are hanging. De-dent opening paren when its parent is
1406 `.', otherwise it looks bad when the dot is not at bol or eol
1407 (bug#16182).
1408
1409 2013-12-19 Juri Linkov <juri@jurta.org>
1410
1411 * replace.el (query-replace-read-args): Split a non-negative arg
1412 and a negative arg into separate elements.
1413 (query-replace, query-replace-regexp, replace-string)
1414 (replace-regexp): Add arg `backward'. Doc fix.
1415 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1416 move point to the beginning of the match.
1417 (replace-search, replace-highlight): Use new arg `backward'
1418 to set the value of `isearch-forward'.
1419 (perform-replace): Add arg `backward' and use it to perform
1420 replacement backward. (Bug#14979)
1421
1422 * isearch.el (isearch-query-replace): Use a negative prefix arg
1423 to call `perform-replace' with a non-nil arg `backward'.
1424
1425 2013-12-18 Juri Linkov <juri@jurta.org>
1426
1427 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1428 to the default list. Move `log-edit-show-files' to the end.
1429 Add more available functions to options.
1430 (log-edit): Move default specific settings to
1431 `log-edit-insert-message-template'. Don't move point.
1432 (log-edit-insert-message-template): New function.
1433 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1434 (Bug#16170)
1435
1436 2013-12-18 Juri Linkov <juri@jurta.org>
1437
1438 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1439 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1440
1441 2013-12-18 Leo Liu <sdl.web@gmail.com>
1442
1443 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1444 (Bug#16186)
1445
1446 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1447
1448 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1449 formats for displaying file sizes when the -s switch is given.
1450 Instead, compute a separate format for displaying the size in
1451 blocks, which is displayed in addition to the "regular" size.
1452 When -h is given in addition to -s, produce size in blocks in
1453 human-readable form as well. (Bug#16179)
1454
1455 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1456
1457 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1458 Reference tables with ~\ref{...} instead of only \ref{...}.
1459
1460 2013-12-18 Chong Yidong <cyd@gnu.org>
1461
1462 * cus-edit.el (custom-magic-alist): Fix "themed" description
1463 (Bug#14348).
1464
1465 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1466 is non-nil, do not create a new entry in the symbol's theme-value
1467 or theme-face property; update theme-settings only (Bug#14664).
1468 (custom-available-themes): Doc fix.
1469
1470 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1471 (Bug#15674).
1472
1473 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1474
1475 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1476
1477 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1478 (Bug#13914).
1479
1480 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1481
1482 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1483
1484 2013-12-18 Glenn Morris <rgm@gnu.org>
1485
1486 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1487 * cus-start.el (load-prefer-newer): New option.
1488
1489 2013-12-18 Le Wang <l26wang@gmail.com>
1490
1491 * comint.el (comint-previous-matching-input-from-input):
1492 Retain point (Bug#13404).
1493
1494 2013-12-18 Chong Yidong <cyd@gnu.org>
1495
1496 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1497
1498 2013-12-18 Glenn Morris <rgm@gnu.org>
1499
1500 * mail/emacsbug.el (report-emacs-bug):
1501 Only mention enable-multibyte-characters if non-standard.
1502
1503 2013-12-17 Juri Linkov <juri@jurta.org>
1504
1505 * arc-mode.el (archive-extract-by-file): Check if directory exists
1506 before deletion to not show irrelevant errors if it doesn't exist.
1507
1508 2013-12-17 Juri Linkov <juri@jurta.org>
1509
1510 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1511 (Bug#14751)
1512
1513 * net/eww.el (browse-web): Add alias to `eww'.
1514 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1515 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1516
1517 * net/browse-url.el (browse-url-browser-function): Move `eww'
1518 closer to similar functions.
1519
1520 * startup.el (fancy-startup-screen, fancy-about-screen):
1521 Set browse-url-browser-function to eww-browse-url locally.
1522 (Bug#14751)
1523
1524 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * window.el (window--pixel-to-total): Remove unused `mini' var.
1527 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1528 (split-window): Remove unused `new' var.
1529 (window--display-buffer): Remove unused `frame' and `delta' vars.
1530 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1531 and display-width'.
1532
1533 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1534
1535 * dired.el (dired-mark-pop-up):
1536 * register.el (register-preview): Don't bind
1537 split-height-threshold here since it's now done in
1538 display-buffer-below-selected.
1539
1540 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1541
1542 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1543 xterm-rgb-convert-to-16bit.
1544 (rxvt-register-default-colors): Standardize with
1545 xterm-register-default-colors (Bug#14078).
1546
1547 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1548
1549 * simple.el (kill-region): Pass mark first, then point, so that
1550 kill-append works right (Bug#12819).
1551 (copy-region-as-kill, kill-ring-save): Likewise.
1552
1553 2013-12-17 Leo Liu <sdl.web@gmail.com>
1554
1555 * net/rcirc.el (rcirc-add-face):
1556 * eshell/em-prompt.el (eshell-emit-prompt):
1557 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1558 (Bug#16167)
1559
1560 2013-12-17 Chong Yidong <cyd@gnu.org>
1561
1562 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1563 Suggested by Xue Fuqiao.
1564
1565 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1566
1567 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1568
1569 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1570
1571 * net/shr.el (shr-insert-document): Remove unused var
1572 `shr-preliminary-table-render'.
1573 (shr-rescale-image): Remove unused arg `force'.
1574 (shr-put-image): Update calls accordingly.
1575 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1576
1577 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1578
1579 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1580 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1581 :close-all, to see which indentation method to use (Bug#16116).
1582 (smie-rules-function): Document the method :close-all.
1583
1584 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1585
1586 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1587
1588 * net/eww.el (eww-display-html): If we can't find the anchor we're
1589 looking for, then go to point-min.
1590
1591 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1592
1593 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1594 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1595 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1596 Expand dir too, in case it's relative.
1597
1598 2013-12-16 Juri Linkov <juri@jurta.org>
1599
1600 * desktop.el (desktop-auto-save-timeout): Change default to
1601 `auto-save-timeout'. Doc fix.
1602 (desktop-save): Skip the timestamp in desktop-saved-frameset
1603 when checking for auto-save changes.
1604 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1605 `desktop-auto-save' is called repeatedly by the idle timer.
1606 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1607 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1608 (Bug#15331)
1609
1610 2013-12-16 Juri Linkov <juri@jurta.org>
1611
1612 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1613 (Bug#16035)
1614 (isearch-pre-command-hook): Check `this-command' for symbolp.
1615
1616 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1619
1620 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1621
1622 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1623 (cfengine3--current-function): Bring in the current-function
1624 functionality from `cfengine3--current-word'.
1625 (cfengine3-completion-function): Bring in the
1626 bounds-of-current-word functionality from
1627 `cfengine3--current-word'.
1628
1629 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1630
1631 * window.el (display-buffer-below-selected):
1632 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1633
1634 2013-12-16 Leo Liu <sdl.web@gmail.com>
1635
1636 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1637 Remove NOMSG arg and all uses changed.
1638
1639 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1640
1641 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1642 (cua--deactivate-rectangle): Don't deactivate the mark.
1643 (cua-set-rectangle-mark): Don't set mark-active since
1644 cua--activate-rectangle already does it for us.
1645 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1646 non-rectangular region.
1647
1648 * emulation/cua-base.el (cua-repeat-replace-region):
1649 Use with-current-buffer.
1650
1651 * net/gnutls.el: Use cl-lib.
1652 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1653
1654 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1655
1656 * emacs-lisp/package.el (package-built-in-p): Support both
1657 built-in and the package.el converted package descriptions.
1658 (package-show-package-list): Allow keywords.
1659 (package-keyword-button-action): Use it instead of
1660 `finder-list-matches'.
1661 (package-menu-filter-interactive): Interactive filtering (by
1662 keyword) function.
1663 (package-menu--generate): Support keywords and change keymappings
1664 and headers when they are given.
1665 (package--has-keyword-p): Helper function.
1666 (package-menu--refresh): Use it.
1667 (package--mapc): Helper function.
1668 (package-all-keywords): Use it.
1669 (package-menu-mode-map): Set up menu items and keybindings to
1670 provide a filtering UI.
1671
1672 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1673
1674 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1675 the behavior when a certificate fails validation. Defaults to
1676 old behavior: never abort, just warn.
1677 (gnutls-negotiate): Use it.
1678
1679 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1680
1681 * window.el (display-buffer-below-selected): Never split window
1682 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1683
1684 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1685
1686 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1687 (package-buffer-info): Use it (bug#15108).
1688
1689 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1690
1691 * icomplete.el (icomplete-completions): Make sure the prefix is already
1692 displayed elsewhere before hiding it (bug#16219).
1693
1694 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1695
1696 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1697 open-paren tokens when preceded by a open-paren, too.
1698 (ruby-smie-rules): Handle virtual indentation after open-paren
1699 tokens specially. If there is code between it and eol, return the
1700 column where is starts (Bug#16118).
1701
1702 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1703
1704 * progmodes/cfengine.el: Fix `add-hook' doc.
1705 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1706 (cfengine3--current-word): Fix parameters.
1707 (cfengine3-make-syntax-cache): Simplify further.
1708 (cfengine3-completion-function, cfengine3--current-function):
1709 Use `assq' for symbols.
1710 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1711
1712 2013-12-13 Glenn Morris <rgm@gnu.org>
1713
1714 * loadup.el (load-path): Warn if site-load or site-init changes it.
1715 No more need to reset it when bootstrapping.
1716
1717 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1718
1719 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1720 locations for cf-promises.
1721 (cfengine-mode-syntax-functions-regex): New caching variable.
1722 (cfengine3-fallback-syntax): Fallback syntax for cases where
1723 cf-promises doesn't run.
1724 (cfengine3--current-word): Reimplement using
1725 `cfengine-mode-syntax-functions-regex'.
1726 (cfengine3-completion-function, cfengine3--current-function):
1727 Use `cfengine3-make-syntax-cache' directly.
1728 (cfengine3-clear-syntax-cache): New function.
1729 (cfengine3-make-syntax-cache): Simplify and create
1730 `cfengine-mode-syntax-functions-regex' on demand.
1731 (cfengine3-format-function-docstring): Don't call
1732 `cfengine3-make-syntax-cache' explicitly.
1733
1734 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1735
1736 Fix windmove-find-other-window broken after pixelwise resizing
1737 (Bug#16017).
1738 * windmove.el (windmove-other-window-loc): Revert change from
1739 2013-12-04.
1740 (windmove-find-other-window): Call window-in-direction.
1741 * window.el (window-in-direction): New arguments SIGN, WRAP and
1742 MINI to emulate original windmove-find-other-window behavior.
1743
1744 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1745
1746 * simple.el (blink-matching--overlay): New variable.
1747 (blink-matching-open): Instead of moving point, highlight the
1748 matching paren with an overlay
1749 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1750
1751 * faces.el (paren-showing-faces, show-paren-match)
1752 (show-paren-mismatch): Move from paren.el.
1753
1754 2013-12-13 Leo Liu <sdl.web@gmail.com>
1755
1756 * indent.el (indent-region): Disable progress reporter in
1757 minibuffer. (Bug#16108)
1758
1759 * bindings.el (visual-order-cursor-movement): Fix version.
1760
1761 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1762
1763 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1764 Also match after beginning of line.
1765 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1766 files. Thanks to Russell Sim. (Bug#15378)
1767
1768 2013-12-13 Juri Linkov <juri@jurta.org>
1769
1770 * simple.el <Keypad support>: Remove key bindings duplicated
1771 with bindings.el. (Bug#14397)
1772
1773 2013-12-13 Juri Linkov <juri@jurta.org>
1774
1775 * comint.el (comint-mode-map): Replace `delete-char' with
1776 `delete-forward-char'. (Bug#16109)
1777
1778 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1779
1780 * progmodes/python.el (python-indent-calculate-indentation):
1781 Fix de-denters cornercase. (Bug#15731)
1782
1783 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1786 (advice--make): Pay attention to `depth'.
1787 (advice--make-1): Don't autoload commands eagerly.
1788 * emacs-lisp/elp.el (elp-instrument-function):
1789 * emacs-lisp/trace.el (trace-function-internal):
1790 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1791
1792 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1793
1794 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1795
1796 * term/w32-win.el (w32-handle-dropped-file):
1797 * startup.el (normal-top-level):
1798 * net/browse-url.el (browse-url-file-url):
1799 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1800 decode file names using 'utf-8' rather than
1801 file-name-coding-system.
1802
1803 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1804
1805 * progmodes/python.el (python-indent-context)
1806 (python-indent-calculate-indentation): Fix auto-identation
1807 behavior for comment blocks. (Bug#15916)
1808
1809 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1810
1811 * progmodes/python.el (python-indent-calculate-indentation):
1812 When determining indentation, don't treat "return", "pass", etc., as
1813 operators when they are just string constituents. (Bug#15812)
1814
1815 2013-12-12 Juri Linkov <juri@jurta.org>
1816
1817 * uniquify.el (uniquify-buffer-name-style): Change default to
1818 `post-forward-angle-brackets'.
1819
1820 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1821 `uniquify'. Change default to `post-forward-angle-brackets'.
1822
1823 2013-12-11 Glenn Morris <rgm@gnu.org>
1824
1825 * emacs-lisp/package.el (finder-list-matches):
1826 Autoload rather than falsely declaring.
1827
1828 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1829
1830 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1831 (eww-mode-map): Use them.
1832
1833 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1834
1835 * window.el (display-buffer-in-side-window): Fix doc-string
1836 (Bug#16115).
1837
1838 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1839
1840 * vc/vc-git.el: Silence byte-compiler warnings.
1841 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1842 (log-edit-set-header): Declare.
1843
1844 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1845
1846 * Makefile.in (custom-deps, finder-data): Run output file names
1847 through unmsys--file-name. (Bug#16099)
1848
1849 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1852 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1853
1854 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1855 instead of deleting the selection "by hand" (bug#16098).
1856 Rely on insert-for-yank to yank rectangles.
1857 (cua-highlight-region-shift-only): Mark obsolete.
1858 (cua-mode): Don't enable/disable transient-mark-mode,
1859 shift-select-mode (cua-mode works both with and without them), and
1860 pc-selection-mode (obsolete).
1861 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1862 (cua--deactivate-rectangle): Deactivate it.
1863
1864 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1865 (delete-selection-helper): Make sure yank starts at the top of the
1866 deleted region.
1867 (minibuffer-keyboard-quit): Use region-active-p.
1868
1869 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1870
1871 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1872 to `delete' (bug#16109).
1873
1874 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1875
1876 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1877 info manual and show keybindings and set `:group' keyword.
1878
1879 2013-12-11 Juri Linkov <juri@jurta.org>
1880
1881 * delsel.el (delete-active-region): Let-bind `this-command'
1882 to prevent `kill-region' from changing its original value.
1883 (delete-selection-helper): Handle `overwrite-mode' for the type
1884 `kill' exactly the same way as for the type `t'.
1885 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1886 Support more commands. (Bug#13312)
1887
1888 2013-12-11 Juri Linkov <juri@jurta.org>
1889
1890 * bindings.el: Map kp keys to non-kp keys systematically
1891 with basic modifiers control, meta and shift. (Bug#14397)
1892
1893 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1894
1895 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1896 "Close browser" menu items. Fix wrong function of "List
1897 bookmarks".
1898
1899 2013-12-11 Juri Linkov <juri@jurta.org>
1900
1901 * misearch.el (multi-isearch-buffers): Set the value of
1902 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1903 arg of isearch-forward to t.
1904 (multi-isearch-buffers-regexp): Set the value of
1905 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1906 arg of isearch-forward-regexp to t.
1907 (multi-isearch-files): Set the value of
1908 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1909 arg of isearch-forward to t.
1910 (multi-isearch-files-regexp): Set the value of
1911 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1912 arg of isearch-forward-regexp to t. (Bug#16035)
1913
1914 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1915 arg of isearch-forward to t.
1916 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1917 arg of isearch-forward-regexp to t.
1918 (dired-isearch-filter-filenames): Remove unnecessary check for
1919 `dired-isearch-filenames'.
1920
1921 * comint.el (comint-history-isearch-backward):
1922 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1923 (comint-history-isearch-backward-regexp):
1924 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1925
1926 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1927
1928 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1929 unmsys--file-name. (Bug#16099)
1930
1931 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1932
1933 * emacs-lisp/package.el (package-keyword-button-action):
1934 Remove finder.el require dependency.
1935
1936 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1937
1938 * emacs-lisp/package.el: Require finder.el.
1939 (describe-package-1): Add keyword buttons.
1940 (package-make-button): New convenience function.
1941 (package-keyword-button-action): Keyword button action using
1942 `finder-list-matches'.
1943
1944 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1945
1946 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1947 last commit.
1948
1949 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1950
1951 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1952 symlinked files.
1953
1954 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1957 after the end of a percent literal.
1958
1959 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1960
1961 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1962 Handle caret-delimited strings (Bug#16079).
1963
1964 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1967 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1968 `ruby-parse-partial' (Bug#16078).
1969
1970 2013-12-09 Leo Liu <sdl.web@gmail.com>
1971
1972 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1973
1974 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1975
1976 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1977 (js-switch-indent-offset): New option.
1978 (js--proper-indentation): Use it. And handle the case when
1979 "default" is actually a key in an object literal.
1980 (js--same-line): New function.
1981 (js--multi-line-declaration-indentation): Use it.
1982 (js--indent-in-array-comp, js--array-comp-indentation):
1983 New functions.
1984 (js--proper-indentation): Use them, to handle array comprehension
1985 continuations.
1986
1987 2013-12-08 Leo Liu <sdl.web@gmail.com>
1988
1989 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1990 (flymake-make-overlay): Remove arg MOUSE-FACE.
1991 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1992
1993 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1996 New function.
1997 (redisplay-highlight-region-function): Use it.
1998
1999 * emulation/cua-base.el (cua--explicit-region-start)
2000 (cua--last-region-shifted): Remove.
2001 (cua--deactivate): Use deactivate-mark.
2002 (cua--pre-command-handler-1): Don't handle shift-selection.
2003 (cua--post-command-handler-1): Don't change transient-mark-mode.
2004 (cua--select-keymaps): Use region-active-p rather than
2005 cua--explicit-region-start or cua--last-region-shifted.
2006 (cua-mode): Enable shift-select-mode.
2007
2008 2013-12-08 Leo Liu <sdl.web@gmail.com>
2009
2010 * progmodes/flymake.el (flymake-popup-current-error-menu):
2011 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2012 (flymake-posn-at-point-as-event, flymake-popup-menu)
2013 (flymake-make-emacs-menu): Remove. (Bug#16077)
2014
2015 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * rect.el (rectangle-mark-mode): Activate mark even if
2018 transient-mark-mode is off (bug#16066).
2019 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2020 is > mark and at bolp.
2021
2022 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2023 (region-extract-function): Use it.
2024 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2025 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2026 Delete functions.
2027 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2028 kill-ring-save, kill-region, delete-char, delete-forward-char.
2029 Ignore self-insert-iso.
2030
2031 * emulation/cua-gmrk.el (cua--init-global-mark):
2032 Ignore `self-insert-iso'.
2033
2034 * emulation/cua-base.el (cua--prefix-copy-handler)
2035 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2036 checking cua--rectangle.
2037 (cua-delete-region): Use region-extract-function.
2038 (cua-replace-region): Delete function.
2039 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2040 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2041 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2042 (cua--init-keymaps): Don't remap delete-selection commands.
2043 (cua-mode): Use delete-selection-mode instead of rolling our own
2044 (bug#16085).
2045
2046 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2047 Obey region-extract-function.
2048
2049 Make registers and delete-selection-mode work on rectangles.
2050 * register.el (describe-register-1): Don't modify the register's value.
2051 (copy-to-register): Obey region-extract-function.
2052 * delsel.el (delete-active-region): Obey region-extract-function.
2053
2054 2013-12-08 Leo Liu <sdl.web@gmail.com>
2055
2056 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2057 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2058 (flymake-compilation-prevents-syntax-check)
2059 (flymake-start-syntax-check-on-newline)
2060 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2061 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2062 (flymake-xml-program, flymake-master-file-dirs)
2063 (flymake-master-file-count-limit)
2064 (flymake-allowed-file-name-masks): Relocate.
2065 (flymake-makehash, flymake-float-time)
2066 (flymake-replace-regexp-in-string, flymake-split-string)
2067 (flymake-get-temp-dir): Remove.
2068 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2069 (flymake-current-row, flymake-selected-frame)
2070 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2071 related functions. (Bug#16077)
2072
2073 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2074
2075 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2076
2077 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2078
2079 * help-fns.el (describe-function-1): Use new advice-* functions
2080 rather than old ad-* functions. Fix function type description and
2081 source links for advised functions and subrs.
2082
2083 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2084
2085 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2086
2087 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2088
2089 * progmodes/compile.el (compilation-start):
2090 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2091
2092 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2093 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2094
2095 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2096
2097 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2098 Touch up the last change.
2099
2100 2013-12-06 Leo Liu <sdl.web@gmail.com>
2101
2102 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2103 (inferior-octave-startup): Always use "octave> " for prompt.
2104 (octave-goto-function-definition)
2105 (octave-sync-function-file-names)
2106 (octave-find-definition-default-filename): Remove redundant backquotes.
2107
2108 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2109
2110 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2111 syntax for `?'.
2112 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2113 where appropriate already.
2114 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2115 end of method names (Bug#15874).
2116
2117 2013-12-06 Juri Linkov <juri@jurta.org>
2118
2119 * isearch.el (isearch--saved-overriding-local-map):
2120 New internal variable.
2121 (isearch-mode): Set it to the initial value of
2122 `overriding-terminal-local-map'.
2123 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2124 with `isearch--saved-overriding-local-map'. (Bug#16035)
2125
2126 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2127
2128 * progmodes/octave.el (inferior-octave-completion-table):
2129 Turn back into function, use `completion-table-with-cache'
2130 (Bug#11906). Update all references.
2131
2132 * minibuffer.el (completion-table-with-cache): New function.
2133
2134 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2135
2136 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2137
2138 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2139
2140 * net/eww.el (eww-current-source): New variable to store page
2141 source.
2142 (eww-display-html, eww-mode, eww-save-history)
2143 (eww-restore-history): Use it.
2144 (eww-view-source): New command to view page source.
2145 Opportunistically uses `html-mode' to highlight the buffer.
2146 (eww-mode-map): Install it.
2147
2148 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2149
2150 * net/dbus.el (dbus-unregister-service)
2151 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2152 Fix docstring.
2153 (dbus-unregister-service): Skip :serial entries in
2154 `dbus-registered-objects-table'.
2155 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2156
2157 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2158
2159 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2160 around keywords with extra `split-string' argument.
2161
2162 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2163
2164 * windmove.el (windmove-other-window-loc): Handle navigation
2165 between windows (excluding the minibuffer window - Bug#16017).
2166
2167 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2168
2169 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2170 in D-Bus type syntax.
2171 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2172 preserve unibyte strings. (Bug#16048)
2173
2174 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2177 Call force-mode-line-update is the proper buffer (bug#16042).
2178
2179 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2180
2181 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2182 `log-edit-remember-comment', make argument optional. Adjust all
2183 callers.
2184 (log-edit-mode): Add `log-edit-remember-comment' to
2185 `kill-buffer-hook' locally.
2186 (log-edit-kill-buffer): Don't remember comment explicitly since
2187 the buffer is killed anyway.
2188
2189 2013-12-04 Juri Linkov <juri@jurta.org>
2190
2191 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2192 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2193
2194 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2195
2196 * notifications.el (notifications-close-notification): Call the
2197 D-Bus method with ID being a `:uint32'. (Bug#16030)
2198
2199 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2200
2201 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2202
2203 2013-12-03 Juri Linkov <juri@jurta.org>
2204
2205 * progmodes/compile.el (compilation-start): Rename window alist
2206 entry `no-display-ok' to `allow-no-window'.
2207
2208 * simple.el (shell-command): Add window alist entry
2209 `allow-no-window' to `display-buffer'.
2210 (async-shell-command): Doc fix.
2211
2212 * window.el (display-buffer-no-window): New action function.
2213 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2214
2215 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * vc/log-edit.el (log-edit-set-header): Extract from
2218 `log-edit-toggle-header'.
2219 (log-edit-extract-headers): Separate the summary, when extracted
2220 from header, from the rest of the message with an empty line.
2221
2222 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2223 line, if present, to the Summary header.
2224
2225 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2228 in current-buffer (bug#16029).
2229
2230 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2231
2232 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2233 (debugger-mode-map): Bind it.
2234 (debugger--backtrace-base): New function.
2235 (debugger-eval-expression): Use it.
2236 (debugger-frame-number): Skip local vars when present.
2237 (debugger--locals-visible-p, debugger--insert-locals)
2238 (debugger--show-locals, debugger--hide-locals): New functions.
2239
2240 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2243 "LC_ALL".
2244 (tramp-get-remote-locale): New defun.
2245 (tramp-open-connection-setup-interactive-shell): Use it.
2246
2247 2013-12-02 Leo Liu <sdl.web@gmail.com>
2248
2249 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2250
2251 * progmodes/sh-script.el (sh-shell-process):
2252 * progmodes/octave.el (inferior-octave-process-live-p):
2253 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2254 (gdb-inferior-io-sentinel):
2255 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2256
2257 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2258
2259 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2260 `save-selected-window' to `log-edit-hide-buf'. This makes
2261 `log-edit-show-files' idempotent.
2262 (log-edit-show-files): Mark the new window as dedicated.
2263
2264 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2265
2266 * vc/log-edit.el (log-edit-mode-map): Add binding for
2267 `log-edit-kill-biffer'.
2268 (log-edit-hide-buf): Add a FIXME comment.
2269 (log-edit-add-new-comment): New function, extracted from
2270 `log-edit-done'.
2271 (log-edit-done, log-edit-add-to-changelog): Use it.
2272 (log-edit-kill-buffer): New command.
2273
2274 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2275
2276 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2277 instead of killing the buffer.
2278
2279 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2280
2281 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2282
2283 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2284
2285 * net/eww.el (eww-form-checkbox-selected-symbol)
2286 (eww-form-checkbox-symbol): New customizable variable.
2287 (eww-form-checkbox, eww-toggle-checkbox):
2288 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2289
2290 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2291 (shr--get-media-pref, shr--extract-best-source): New function.
2292 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2293 no :src tag was specified.
2294
2295 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2296 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2297 Use \\` to match beginning of string instead of ^.
2298 (eww-browse-with-external-browser): Provide optional URL parameter.
2299 (eww-render): Set `eww-current-title' back to "".
2300
2301 * net/shr.el (shr-tag-video): Display content for video if no
2302 poster is available.
2303 (shr-tag-audio): Add support for <audio> tag.
2304
2305 * net/eww.el (eww-text-input-types): New const.
2306 (eww-process-text-input): Treat input types in
2307 `eww-text-input-types' as text.
2308
2309 * net/shr.el (shr-tag-table): Fix comment typo.
2310
2311 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2312
2313 * net/eww.el (eww-follow-link): New command to avoid reloading
2314 pages when we follow #target links (bug#15243).
2315 (eww-quit): Special mode buffers shouldn't query before exiting.
2316
2317 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2318
2319 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2320 forms.
2321
2322 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2323
2324 * net/eww.el (eww-restore-history): Update the window title after
2325 moving in the history.
2326 (eww-current-dom): New variable used to save the current DOM.
2327
2328 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2329
2330 * vc/log-edit.el (log-edit-mode-map): Add binding for
2331 `log-edit-beginning-of-line'.
2332 (log-edit-setup-add-author): New user option.
2333 (log-edit-beginning-of-line): New command.
2334 (log-edit): Move major mode call above the contents setup so that
2335 the local variable values are already applied.
2336 (log-edit): Only insert "Author: " when
2337 `log-edit-setup-add-author' is non-nil.
2338 (log-edit): When SETUP is non-nil, position point after ": "
2339 instead of point-min.
2340
2341 2013-12-01 Glenn Morris <rgm@gnu.org>
2342
2343 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2344
2345 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2346
2347 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2348 redisplay to make sure the initial frame gets a chance to become
2349 visible. (Bug#16014)
2350
2351 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2352
2353 Support resizing frames and windows pixelwise.
2354 * cus-start.el (frame-resize-pixelwise)
2355 (window-resize-pixelwise): New entries.
2356 * emacs-lisp/debug.el (debug): Use window-total-height instead
2357 of window-total-size.
2358 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2359 * help.el (describe-bindings-internal): Call help-buffer
2360 (temp-buffer-max-width): New option.
2361 (resize-temp-buffer-window, help-window-setup)
2362 (with-help-window): Rewrite.
2363 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2364 dragging dividers.
2365 * window.el (frame-char-size, window-min-pixel-height)
2366 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2367 (window-min-pixel-width, window-safe-min-pixel-size)
2368 (window-combination-p, window-safe-min-size)
2369 (window-resizable-p, window--size-to-pixel)
2370 (window--pixel-to-size, window--resize-apply-p): New functions.
2371 (window-safe-min-height): Fix doc-string.
2372 (window-size, window-min-size, window--min-size-1)
2373 (window-sizable, window-sizable-p, window--min-delta-1)
2374 (window-min-delta, window--max-delta-1, window-max-delta)
2375 (window--resizable, window--resizable-p, window-resizable)
2376 (window-full-height-p, window-full-width-p, window-at-side-p)
2377 (window--in-direction-2, window-in-direction)
2378 (window--resize-reset-1, window--resize-mini-window)
2379 (window-resize, window-resize-no-error)
2380 (window--resize-child-windows-normal)
2381 (window--resize-child-windows, window--resize-siblings)
2382 (window--resize-this-window, window--resize-root-window)
2383 (window--resize-root-window-vertically)
2384 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2385 (maximize-window, minimize-window, delete-window)
2386 (quit-restore-window, window-split-min-size, split-window)
2387 (balance-windows-2, balance-windows)
2388 (balance-windows-area-adjust, balance-windows-area)
2389 (window--state-get-1, window-state-get, window--state-put-1)
2390 (window--state-put-2, window-state-put)
2391 (display-buffer-record-window, window--display-buffer):
2392 Make functions handle pixelwise sizing of windows.
2393 (display-buffer--action-function-custom-type)
2394 (display-buffer-fallback-action):
2395 Add display-buffer-in-previous-window.
2396 (display-buffer-use-some-window): Resize window to height it had
2397 before.
2398 (fit-window-to-buffer-horizontally): New option.
2399 (fit-frame-to-buffer): Describe new values.
2400 (fit-frame-to-buffer-bottom-margin): Replace with
2401 fit-frame-to-buffer-margins.
2402 (window--sanitize-margin): New function.
2403 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2404 using window-text-pixel-size.
2405
2406 2013-11-30 Glenn Morris <rgm@gnu.org>
2407
2408 * emacs-lisp/bytecomp.el (byte-compile-form):
2409 Make the `interactive-only' warning like the `obsolete' one.
2410 * comint.el (comint-run):
2411 * files.el (insert-file-literally, insert-file):
2412 * replace.el (replace-string, replace-regexp):
2413 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2414 (goto-line, insert-buffer, next-line, previous-line):
2415 Tweak `interactive-only' spec.
2416
2417 Stop keeping (most) generated cedet grammar files in the repository.
2418 * Makefile.in (semantic): New.
2419 (compile-main): Depend on semantic.
2420
2421 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2424 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2425
2426 * uniquify.el (uniquify-buffer-name-style): Change default.
2427
2428 * loadup.el: Preload "uniquify".
2429
2430 * time.el (display-time-update): Update all mode lines (bug#15999).
2431
2432 * electric.el (electric-indent-mode): Enable by default.
2433 * loadup.el: Preload "electric".
2434
2435 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2436
2437 * emacs-lisp/helpers.el (string-empty-p): New function.
2438 (string-blank-p): New function.
2439
2440 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2441
2442 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2443 (Bug#14029).
2444
2445 2013-11-29 Andreas Politz <politza@fh-trier.de>
2446 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2447 allow non-lambda lists as functions.
2448 (imenu--in-alist): Don't recurse into non-subalists.
2449 (imenu): Don't pass function itself as an argument (Bug#14029).
2450
2451 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * progmodes/python.el (python-mode-map): Remove binding for ":".
2454 (python-indent-electric-colon): Remove command.
2455 (python-indent-post-self-insert-function): Integrate the previous code
2456 of python-indent-electric-colon. Make it conditional on
2457 electric-indent-mode.
2458 (python-mode): Add ?: to electric-indent-chars.
2459 Move python-indent-post-self-insert-function to the end of
2460 post-self-insert-hook.
2461
2462 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * doc-view.el (doc-view-goto-page): Update mode-line.
2465
2466 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2467
2468 2013-11-27 Glenn Morris <rgm@gnu.org>
2469
2470 * international/charprop.el, international/uni-bidi.el:
2471 * international/uni-category.el, international/uni-combining.el:
2472 * international/uni-comment.el, international/uni-decimal.el:
2473 * international/uni-decomposition.el, international/uni-digit.el:
2474 * international/uni-lowercase.el, international/uni-mirrored.el:
2475 * international/uni-name.el, international/uni-numeric.el:
2476 * international/uni-old-name.el, international/uni-titlecase.el:
2477 * international/uni-uppercase.el:
2478 Remove generated files from VCS repository.
2479
2480 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2481
2482 * filenotify.el (file-notify-add-watch): Don't special-case
2483 w32notify when computing the directory to watch.
2484
2485 2013-11-27 Glenn Morris <rgm@gnu.org>
2486
2487 Make bootstrap without generated uni-*.el files possible again.
2488 * loadup.el: Update command-line-args checking for unidata-gen.
2489 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2490 * composite.el, international/characters.el:
2491 Handle unicode tables being undefined.
2492
2493 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2494 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2495 (compile-main): Depend on leim rule.
2496 (leim): New rule.
2497 * loadup.el: Move leim-list.el to leim/ subdirectory.
2498 * startup.el (normal-top-level): No more leim directory.
2499 * international/ja-dic-cnv.el (skkdic-convert):
2500 Disable version-control and autoloads in output files.
2501 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2502 Disable version-control and autoloads in output files.
2503 * leim/quail: Move here from ../leim.
2504 * leim/quail/hangul.el (hangul-input-method-activate):
2505 Add autoload cookie.
2506 (generated-autoload-load-name): Set file-local value.
2507 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2508 (generated-autoload-load-name): Set file-local value.
2509
2510 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2511
2512 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2513 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2514 (eww-quit): Ask confirmation before quitting eww.
2515
2516 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2517
2518 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2519 reading output from Diff on MS-Windows and MS-DOS.
2520
2521 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2522
2523 * emacs-lisp/helpers.el (string-reverse): New function.
2524
2525 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2526
2527 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2528 names on MS Windows, like "/[::1]:".
2529
2530 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2531 SWITCHES.
2532
2533 2013-11-26 Glenn Morris <rgm@gnu.org>
2534
2535 * progmodes/python.el (python-indent-guess-indent-offset):
2536 Avoid corner-case error. (Bug#15975)
2537
2538 Preload leim-list.el. (Bug#4789)
2539 * loadup.el: Load leim-list.el when found.
2540 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2541
2542 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2543
2544 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2545
2546 * emacs-lisp/helpers.el (string-join): New function.
2547
2548 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2549
2550 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2551 Mark as obsolete and replace it with a symbol property.
2552 (byte-compile-form): Use new 'interactive-only property.
2553 * comint.el, files.el, replace.el, simple.el:
2554 Apply new 'interactive-only properly.
2555
2556 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2557
2558 * window.el (display-buffer-at-bottom): Make sure that
2559 split-window-sensibly creates the new window on bottom
2560 (Bug#15961).
2561
2562 2013-11-23 David Kastrup <dak@gnu.org>
2563
2564 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2565 on the conflict markers when available.
2566 (smerge--get-marker): New function.
2567 (smerge-end-re, smerge-base-re): Add subgroup.
2568
2569 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2570
2571 * frame.el (handle-focus-in, handle-focus-out): Add missing
2572 interactive spec.
2573
2574 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2577 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2578
2579 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2580
2581 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2582 (gomoku--last-pos): New var.
2583 (gomoku--intangible-chars): New const.
2584 (gomoku--intangible): New function.
2585 (gomoku-mode): Use it. Derive from special-mode.
2586 (gomoku-move-up): Adjust line count.
2587 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2588 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2589 Simplify accordingly.
2590
2591 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2592 Remove blink-cursor code.
2593 (blink-cursor-timer-function, blink-cursor-suspend):
2594 Don't special-case GUIs.
2595 (blink-cursor-mode): Use focus-in/out-hook.
2596
2597 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2598
2599 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2600 work when annotation is invisible (Bug#13886).
2601
2602 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2603
2604 * json.el (json-alist-p): Only return non-nil if the alist has
2605 simple keys (Bug#13518).
2606
2607 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2608
2609 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2610 when control-statement is the first statement in a buffer (Bug#15956).
2611
2612 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * imenu.el (imenu-generic-skip-comments-and-strings):
2615 New option (Bug#15560).
2616 (imenu--generic-function): Use it.
2617
2618 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2619
2620 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2621 (Bug#13898)
2622
2623 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2624
2625 * emacs-lisp/helpers.el: Add some string helpers.
2626 (string-trim-left): Removes leading whitespace.
2627 (string-trim-right): Removes trailing whitespace.
2628 (string-trim): Removes leading and trailing whitespace.
2629
2630 * subr.el (string-suffix-p): New function.
2631
2632 2013-11-23 Glenn Morris <rgm@gnu.org>
2633
2634 * progmodes/python.el (python-shell-send-file):
2635 Add option to delete file when done. (Bug#15647)
2636 (python-shell-send-string, python-shell-send-region): Use it.
2637
2638 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2639
2640 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2641 to set buffer-read-only to t, never to nil. (Bug#15938)
2642
2643 * textmodes/tex-mode.el (latex-noindent-environments):
2644 Add safe-local-variable property. (Bug#15936)
2645
2646 2013-11-23 Glenn Morris <rgm@gnu.org>
2647
2648 * textmodes/enriched.el (enriched-mode): Doc fix.
2649 * emacs-lisp/authors.el (authors-renamed-files-alist):
2650 Add enriched.doc -> enriched.txt.
2651
2652 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2653
2654 2013-11-22 Leo Liu <sdl.web@gmail.com>
2655
2656 * progmodes/octave.el (inferior-octave-startup): Spit out error
2657 message.
2658
2659 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2660
2661 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2662 Improve docstring.
2663 Add :version.
2664 (ruby-encoding-magic-comment-style): Add :version.
2665
2666 2013-11-22 Leo Liu <sdl.web@gmail.com>
2667
2668 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2669 (Bug#15076)
2670 (octave-help-mode): Adapt to change to help-mode-finish to use
2671 derived-mode-p on 2013-09-17.
2672 (inferior-octave-prompt): Also match octave-gui.
2673 (octave-kill-process): Don't ask twice. (Bug#10564)
2674
2675 2013-11-22 Leo Liu <sdl.web@gmail.com>
2676
2677 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2678 (inferior-octave-startup, inferior-octave-check-process)
2679 (inferior-octave-track-window-width-change)
2680 (octave-completion-at-point, octave-eldoc-function): Use it.
2681 (octave-kill-process): Provide confirmation. (Bug#10564)
2682
2683 2013-11-21 Leo Liu <sdl.web@gmail.com>
2684
2685 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2686 Fix obsolete variable comment-use-global-state.
2687
2688 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2689
2690 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2691 Add `octave-source-file'.
2692 (octave-source-file): New function. (Bug#15935)
2693
2694 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2695
2696 * net/eww.el (eww-local-regex): New variable.
2697 (eww): Use it to detect localhost and similar.
2698
2699 2013-11-21 Leo Liu <sdl.web@gmail.com>
2700
2701 Add completion for command `ag'.
2702 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2703 (pcomplete/ag): New function.
2704 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2705
2706 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2707
2708 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2709 (bug#14646).
2710 (make-obsolete): Remove interactive spec.
2711
2712 2013-11-21 Glenn Morris <rgm@gnu.org>
2713
2714 * startup.el (command-line-1): Use path-separator with -L.
2715
2716 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2717
2718 * emacs-lisp/package.el (describe-package-1): Add package archive
2719 to shown fields.
2720
2721 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2722
2723 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2724 Change default to "# encoding: %s" to differentiate it from the
2725 default Ruby encoding comment template.
2726
2727 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2728
2729 * ses.el (ses-mode): Doc fix. (Bug#14748)
2730
2731 2013-11-20 Leo Liu <sdl.web@gmail.com>
2732
2733 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2734
2735 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2736
2737 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2738 when rebase or bisect are in progress.
2739
2740 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2741
2742 * filenotify.el (file-notify-add-watch): Doc fix.
2743
2744 2013-11-19 Leo Liu <sdl.web@gmail.com>
2745
2746 * obsolete/rcompile.el: Mark obsolete.
2747
2748 * progmodes/compile.el (compilation-start)
2749 (compilation-goto-locus, compilation-find-file):
2750 Pass no-display-ok and handle nil value from display-buffer.
2751 (Bug#13594)
2752
2753 * window.el (display-buffer-alist, display-buffer): Document the
2754 new parameter no-display-ok. Return either a window or nil
2755 but never a non-window value.
2756
2757 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * electric.el (electric-indent-mode-map): Remove.
2760 (electric-indent-mode): Change the global-map instead (bug#15915).
2761
2762 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2763 Use add-function.
2764
2765 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * emacs-lisp/nadvice.el (remove-function): Align with
2768 add-function's behavior.
2769
2770 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2771 (gdb--string-regexp): New constant.
2772 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2773 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2774 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2775 submatch 1.
2776 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2777 Adjust use accordingly.
2778 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2779
2780 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2781
2782 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2783 interpolation curlies (Bug#15914).
2784
2785 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2786
2787 * calc/calc.el (calc-context-sensitive-enter): New variable.
2788 (calc-enter): Use `calc-context-sensitive-enter'.
2789
2790 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2791
2792 * progmodes/cfengine.el: Version bump.
2793 (cfengine-cf-promises): New defcustom to locate cf-promises.
2794 (cfengine3-vartypes): Add new "data" type.
2795 (cfengine3--current-word): New function to get current name-like
2796 word or its bounds.
2797 (cfengine3--current-function): New function to look up a CFEngine
2798 function's definition.
2799 (cfengine3-format-function-docstring): New function.
2800 (cfengine3-make-syntax-cache): New function.
2801 (cfengine3-documentation-function): New function: ElDoc glue.
2802 (cfengine3-completion-function): New function: completion glue.
2803 (cfengine3-mode): Set `compile-command',
2804 `eldoc-documentation-function', and add to
2805 `completion-at-point-functions'.
2806
2807 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2810 `tramp-current-connection'.
2811
2812 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2813
2814 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2815 nil/self/true/false with "end of symbol".
2816
2817 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2818
2819 * subr.el (version-regexp-alist): Fix a typo.
2820
2821 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2822
2823 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2824 "en_US.utf8" and "LC_CTYPE" to "".
2825 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2826 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2827
2828 2013-11-15 Leo Liu <sdl.web@gmail.com>
2829
2830 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2831
2832 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2833
2834 * progmodes/gud.el (ctl-x-map):
2835 Remove C-x SPC binding. (Bug#12342)
2836 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2837
2838 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2839
2840 * subr.el (version-regexp-alist):
2841 Recognize hg, svn and darcs versions as snapshot versions.
2842
2843 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2844 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2845 (ruby--encoding-comment-required-p): Extract from
2846 `ruby-mode-set-encoding'.
2847 (ruby-mode-set-encoding): Add the ability to always insert an
2848 utf-8 encoding comment. Fix and simplify coding comment update
2849 logic.
2850
2851 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2852
2853 * net/tramp-gvfs.el (top): Run init code only when
2854 `tramp-gvfs-enabled' is not nil.
2855 (tramp-gvfs-enabled): Check also :system bus.
2856
2857 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 Sync with upstream verilog-mode revision 78e66ba.
2860 * progmodes/verilog-mode.el (verilog-end-of-defun)
2861 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2862 (verilog-get-end-of-defun): Remove unused argument.
2863 (verilog-comment-depth): Remove unused local `e'.
2864 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2865 Don't pass arg to verilog-get-end-of-defun.
2866
2867 2013-11-14 Glenn Morris <rgm@gnu.org>
2868
2869 * obsolete/assoc.el (aget): Prefix dynamic variable.
2870
2871 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2872
2873 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2874
2875 * widget.el, hfy-cmap.el: Remove bogus package version number.
2876
2877 2013-11-13 Glenn Morris <rgm@gnu.org>
2878
2879 * replace.el (replace-eval-replacement):
2880 Try to give more helpful error message. (Bug#15836)
2881
2882 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2883 (archive-7z-update): Avoid custom type mismatches.
2884
2885 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2886
2887 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2890 address can be empty.
2891
2892 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2893 Accept nil SWITCHES.
2894 (tramp-gvfs-handle-write-region): Implement APPEND.
2895
2896 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2897
2898 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2899 binary "|" operator and closing block args delimiter.
2900 Remove FIXME comment referring to Ruby 1.8-only syntax.
2901 (ruby-smie--implicit-semi-p): Not after "|" operator.
2902 (ruby-smie--closing-pipe-p): New function.
2903 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2904 (ruby-smie-rules): Indent after "|".
2905
2906 2013-11-12 Glenn Morris <rgm@gnu.org>
2907
2908 * ps-print.el (ps-face-attribute-list):
2909 Handle anonymous faces. (Bug#15827)
2910
2911 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2912
2913 * window.el (display-buffer-other-frame): Fix doc-string.
2914 (Bug#15868)
2915
2916 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2917
2918 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2919
2920 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2923 (tramp-sh-handle-file-local-copy): Don't write a message when
2924 saving temporary files.
2925
2926 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2927 both directories are remote.
2928 (tramp-smb-handle-directory-files): Do not return double entries.
2929 Do not expand full file names.
2930 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2931 (tramp-smb-handle-write-region): Implement APPEND.
2932 (tramp-smb-get-stat-capability): Fix a stupid bug.
2933
2934 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2937
2938 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2939
2940 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2941 throwing error over malformed let/let* (bug#15814).
2942
2943 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * iswitchb.el (iswitchb-mode): Mark obsolete.
2946
2947 2013-11-11 Glenn Morris <rgm@gnu.org>
2948
2949 * international/uni-bidi.el, international/uni-category.el:
2950 * international/uni-name.el, international/uni-numeric.el:
2951 Regenerate for Unicode 6.3.0.
2952
2953 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * net/tramp.el (tramp-methods):
2956 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2957 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2958
2959 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2960
2961 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2962 Force highlighting text after Summary keyword in doc face for rpm.
2963
2964 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2965
2966 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2967 available and the word has no wildcards, append one to the grep pattern.
2968 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2969 (ispell-complete-word): Call `ispell-lookup-words' with the value
2970 independent of `ispell-look-p'.
2971
2972 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2973
2974 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2975 Not after "||".
2976 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2977 their parent.
2978
2979 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2982 (ruby-font-lock-keywords): Use backquote.
2983
2984 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2985
2986 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2987 (ruby-smie--backward-token): Only consider full-string matches.
2988
2989 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2990
2991 * faces.el (describe-face): Add distant-foreground.
2992
2993 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2994
2995 * progmodes/ruby-mode.el: Improve encoding comment handling.
2996 (ruby-encoding-magic-comment-style): New option.
2997 (ruby-custom-encoding-magic-comment-template): New option.
2998 (ruby--insert-coding-comment, ruby--detect-encoding):
2999 New functions extracted from `ruby-mode-set-encoding'.
3000 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3001 to control the style of the auto-inserted encoding comment.
3002
3003 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3004
3005 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3006 Use `smie-backward-sexp' with token argument.
3007
3008 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3009
3010 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3011 Remove instrumentation code.
3012
3013 2013-11-08 Glenn Morris <rgm@gnu.org>
3014
3015 * progmodes/autoconf.el (autoconf-mode):
3016 Tweak comment-start-skip. (Bug#15822)
3017
3018 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3021 at bobp (bug#15826).
3022 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3023
3024 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3025
3026 * man.el (Man-start-calling): New macro, extracted from
3027 Man-getpage-in-background.
3028 (Man-getpage-in-background): Use it.
3029 (Man-update-manpage): New command.
3030 (Man-mode-map): Bind it.
3031
3032 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3035 of "and", "or", "&&" and "||".
3036 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3037 argument. Prohibit opening curly brace because it could only be a
3038 block opener in that position.
3039 (ruby-smie--forward-token, ruby-smie--backward-token):
3040 Separate "|" from "&" or "*" going after it. That can happen in block
3041 arguments.
3042 (ruby-smie--indent-to-stmt): New function, seeks the end of
3043 previous statement or beginning of buffer.
3044 (ruby-smie-rules): Use it.
3045 (ruby-smie-rules): Check if there's a ":" before a curly block
3046 opener candidate; if there is, it's a hash.
3047
3048 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3049
3050 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3051 (cl--block-wrapper): Fix last accidental change.
3052
3053 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3054
3055 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3056 Instrument, in order to hunt failure on hydra.
3057
3058 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3059
3060 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3061 malformed bindings form (bug#15814).
3062
3063 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3066 "." compared to " @ ". This incidentally fixes some indentation
3067 examples with "do".
3068 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3069 (ruby-smie-grammar): New tokens: "and" and "or".
3070 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3071 Exclude "and" and "or". Remove "do" in order to work around token
3072 priorities.
3073 (ruby-smie-rules): Add all infix tokens. Handle the case of
3074 beginning-of-buffer.
3075
3076 2013-11-06 Glenn Morris <rgm@gnu.org>
3077
3078 * Makefile.in (setwins_almost, setwins_for_subdirs):
3079 Avoid accidental matches.
3080
3081 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * menu-bar.el (popup-menu): Use key-binding.
3084
3085 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3086
3087 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3088 menus, support also the menus produced by minor modes.
3089 (Bug#15817)
3090
3091 2013-11-06 Leo Liu <sdl.web@gmail.com>
3092
3093 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3094 DISTANCE to bound the search. All uses changed. (Bug#15808)
3095
3096 2013-11-06 Glenn Morris <rgm@gnu.org>
3097
3098 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3099 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3100 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3101
3102 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * electric.el (electric-indent-just-newline): New command.
3105 (electric-indent-mode-map): New keymap.
3106 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3107 Re-add :group which weren't redundant.
3108
3109 * electric.el (electric-indent-local-mode): New minor mode.
3110 (electric-indent-functions-without-reindent): New var.
3111 (electric-indent-post-self-insert-function): Use it.
3112 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3113
3114 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3115
3116 * international/quail.el (quail-help): Be more explicit about the
3117 meaning of the labels shown on the keys. (Bug#15800)
3118
3119 * startup.el (normal-top-level): Load the subdirs.el files before
3120 setting the locale environment. (Bug#15805)
3121
3122 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3123
3124 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3125 via arguments so as to get the right ones (bug#15418).
3126
3127 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3128
3129 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3130
3131 Fix problems found while writing a test suite.
3132
3133 * net/tramp-compat.el (tramp-compat-load): New defun.
3134 * net/tramp.el (tramp-handle-load): Use it.
3135
3136 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3137 "(numberp ok-if-already-exists)" correctly.
3138
3139 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3140
3141 * international/characters.el (glyphless-char-display-control):
3142 Add usage note.
3143
3144 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3145
3146 * progmodes/python.el (python-mode):
3147 * progmodes/scheme.el (scheme-mode):
3148 * progmodes/prolog.el (prolog-mode):
3149 * progmodes/ruby-mode.el (ruby-mode):
3150 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3151 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3152
3153 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3154
3155 * rect.el (rectangle--highlight-for-redisplay):
3156 * emacs-lisp/smie.el (smie--next-indent-change):
3157 Use buffer-chars-modified-tick.
3158
3159 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3160
3161 * electric.el (electric-indent-post-self-insert-function):
3162 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3163
3164 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3165
3166 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3167
3168 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3169
3170 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3171 (bug#15786).
3172
3173 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3176
3177 * progmodes/python.el: Fix up last change.
3178 (python-shell--save-temp-file): New function.
3179 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3180 `string' comes from the current buffer.
3181 (python-shell-send-string-no-output): Remove `msg' arg.
3182 (python--use-fake-loc): New var.
3183 (python-shell-buffer-substring): Obey it. Try to compensate for the
3184 extra coding line added by python-shell--save-temp-file.
3185 (python-shell-send-region): Use python-shell--save-temp-file and
3186 python-shell-send-file directly. Add `nomain' argument.
3187 (python-shell-send-buffer): Use python-shell-send-region.
3188 (python-electric-pair-string-delimiter): New function.
3189 (python-mode): Use it.
3190
3191 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3192
3193 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3194 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3195 environment and decoding all of the default-directory's to here
3196 from command-line.
3197 (command-line): Decode also argv[0].
3198
3199 * loadup.el: Error out if default-directory is a multibyte string
3200 when we are dumping.
3201
3202 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3203
3204 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3205
3206 * emacs-lisp/package.el (package-menu-mode)
3207 (package-menu--print-info, package-menu--archive-predicate):
3208 Add Archive column to package list.
3209
3210 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3211
3212 Fix problems found while writing a test suite.
3213
3214 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3215 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3216 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3217 to nil when running original file name handler. Otherwise,
3218 there are problems with constructs like "$$FOO".
3219
3220 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3221 for `localname'.
3222
3223 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3224
3225 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3226
3227 * subr.el (version<, version<=, version=):
3228 Update docstrings with information for snapshot versions.
3229
3230 * helpers.el: New library for misc helper functions.
3231 (hash-table-keys): New function returning a list of hash keys.
3232 (hash-table-values): New function returning a list of hash values.
3233
3234 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3237 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3238
3239 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3240
3241 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3242 checking whether point is after a 1-letter word.
3243
3244 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3245
3246 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3247 Don't infloop when expanding region over `multiline' syntax-type that
3248 begins a line (bug#15778).
3249
3250 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3253 Make it into a proper minor mode.
3254 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3255 (rectangle-mark-mode-map): New keymap.
3256 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3257
3258 2013-11-04 Glenn Morris <rgm@gnu.org>
3259
3260 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3261
3262 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3263
3264 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3265 (ruby-smie-rules): Use smie-rule-parent instead.
3266
3267 * emacs-lisp/smie.el (smie-rule-parent): Always call
3268 smie-indent-virtual rather than only for hanging tokens.
3269 (smie--next-indent-change): New helper command.
3270
3271 2013-11-03 Glenn Morris <rgm@gnu.org>
3272
3273 * Makefile.in (abs_srcdir): Remove.
3274 (emacs): Unset EMACSLOADPATH.
3275
3276 2013-11-02 Glenn Morris <rgm@gnu.org>
3277
3278 * Makefile.in (EMACS): Use a relative filename.
3279 (abs_top_builddir): Remove.
3280 (custom-deps, finder-data, autoloads): Use --chdir.
3281
3282 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3283
3284 Use relative filenames in TAGS files.
3285 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3286 (lisptagsfiles4, TAGS): Use relative file names.
3287 (TAGS-LISP): Remove.
3288 (maintainer-clean): No more TAGS-LISP file.
3289
3290 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3291 (lisptagsfiles4): Use absolute filenames again.
3292 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3293 Remove all *loaddefs files, not just the first. Remove esh-groups.
3294 (maintainer-clean): Delete TAGS, TAGS-LISP.
3295
3296 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3297
3298 * emacs-lisp/package.el (package-version-join):
3299 Recognize snapshot versions.
3300
3301 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3302
3303 * subr.el (version-regexp-alist): Add support for snapshot versions.
3304
3305 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3306
3307 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3308 New function, replacement for `smie-rule-parent' for when we want to
3309 skip over our direct parent if it's an assignment token..
3310 (ruby-smie-rules): Use it.
3311
3312 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3313
3314 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3315 unconditionally. Remove now unnecessary forward declarations.
3316 Remove XEmacs-specific setup.
3317 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3318 (ruby-font-lock-syntactic-keywords)
3319 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3320 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3321 (ruby-here-doc-end-syntax): Remove.
3322 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3323 defined as function.
3324
3325 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3326
3327 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3328
3329 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3330
3331 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3332 table and abbrev table, `define-derived-mode' does that for us
3333 anyway.
3334
3335 2013-11-01 Glenn Morris <rgm@gnu.org>
3336
3337 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3338 files is atomic for some time, so no parallel compilation issues).
3339
3340 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3341
3342 * faces.el (face-x-resources): Add :distant-foreground.
3343 (region): Use :distant-foreground for gtk and ns.
3344
3345 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3346
3347 Allow multiple bibliographies when BibLaTeX is used rather than
3348 BibTeX.
3349 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3350 (reftex-locate-bibliography-files): Us it.
3351
3352 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3353
3354 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3355 allow comments in pbm files.
3356
3357 * term/w32-win.el (dynamic-library-alist): Support newer versions
3358 of libjpeg starting with v7: look only for the DLL from the
3359 version against which Emacs was built.
3360 Support versions of libpng beyond 1.4.x.
3361 Support libtiff v4.x.
3362
3363 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3364
3365 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3366 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3367 Add property :safe.
3368 (ruby-deep-arglist): Add property :type.
3369
3370 2013-10-31 Glenn Morris <rgm@gnu.org>
3371
3372 * Makefile.in (custom-deps, finder-data): No need to setq the target
3373 variables, we are in the right directory and the defaults work fine.
3374
3375 2013-10-30 Glenn Morris <rgm@gnu.org>
3376
3377 * Makefile.in (autoloads): Do not use abs_lisp.
3378
3379 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3380 `newline' does not respect `standard-output', so use `princ'.
3381
3382 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3383
3384 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3385 * buff-menu.el (Buffer-menu--unmark): New function.
3386 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3387
3388 2013-10-30 Glenn Morris <rgm@gnu.org>
3389
3390 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3391
3392 * emacs-lisp/package.el (lm-homepage): Declare.
3393
3394 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3395 Fix doc typos.
3396
3397 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3398
3399 * Makefile.in (finder-data, autoloads, update-subdirs)
3400 (compile-main, compile-clean, compile-always, bootstrap-clean):
3401 Check return value of cd.
3402 (compile-calc): Remove.
3403
3404 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3405
3406 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3407
3408 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3409 (byte-compile-and-folded): New function.
3410 (=, <, >, <=, >=): Use it.
3411
3412 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3413 (path-separator, null-device, buffer-file-coding-system)
3414 (lpr-headers-switches): Check system-type before modifying them.
3415 (find-buffer-file-type-coding-system): Mark obsolete.
3416 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3417 find-file-not-found-set-buffer-file-coding-system.
3418 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3419 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3420 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3421 (w32-direct-print-region-helper, w32-direct-print-region-function)
3422 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3423 * startup.el (normal-top-level-add-subdirs-to-load-path):
3424 * ps-print.el (ps-print-region-function):
3425 * lpr.el (print-region-function): Use new name.
3426
3427 * subr.el (custom-declare-variable-early): Remove function.
3428 (custom-declare-variable-list): Remove var.
3429 (error, user-error): Remove `while' loop.
3430 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3431 (user-emacs-directory-warning, locate-user-emacs-file):
3432 Move to files.el.
3433 * simple.el (read-quoted-char-radix, read-quoted-char):
3434 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3435 Move from subr.el.
3436 * custom.el (custom-declare-variable-list): Don't process
3437 custom-declare-variable-list.
3438
3439 * progmodes/python.el (python-shell-get-buffer): New function.
3440 (python-shell-get-process): Use it.
3441 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3442 Python which encoding was used. Don't split-string since we only care
3443 about the first line. Return the temp-file, if applicable.
3444 (python-shell-send-region): Tell compile.el how to turn locations in
3445 the temp-file into locations in the source buffer.
3446
3447 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3448
3449 * subr.el (undefined): Add missing behavior from the C code for
3450 unbound keys.
3451
3452 * rect.el: Use lexical-binding. Add new rectangular region support.
3453 (rectangle-mark): New command.
3454 (rectangle--region): New var.
3455 (deactivate-mark-hook): Reset rectangle--region.
3456 (rectangle--extract-region, rectangle--insert-for-yank)
3457 (rectangle--highlight-for-redisplay)
3458 (rectangle--unhighlight-for-redisplay): New functions.
3459 (region-extract-function, redisplay-unhighlight-region-function)
3460 (redisplay-highlight-region-function): Use them to handle
3461 rectangular region.
3462 * simple.el (region-extract-function): New var.
3463 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3464 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3465 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3466 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3467 (redisplay-unhighlight-region-function)
3468 (redisplay-highlight-region-function): New vars.
3469 (redisplay--update-region-highlight): New function.
3470 (pre-redisplay-function): Use it.
3471 (exchange-point-and-mark): Don't deactivate the mark before
3472 reactivate-it anyway.
3473 * comint.el (comint-kill-region): Remove yank-handler argument.
3474 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3475 (delete-char): Remove property, since it's now part of their
3476 default behavior.
3477 (self-insert-iso): Remove property since this command doesn't exist.
3478
3479 * emacs-lisp/package.el (package--download-one-archive)
3480 (describe-package-1): Don't query the user about final newline.
3481
3482 2013-10-29 Daniel Colascione <dancol@dancol.org>
3483
3484 * net/tramp.el (tramp-methods): Document new functionality.
3485 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3486 tramp-hostname-checker if method provides one instead of scanning
3487 argument list for "%h" to decide hostname acceptability.
3488
3489 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3492 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3493 Handle COPY-CONTENTS. (Bug#15737)
3494
3495 2013-10-28 Daiki Ueno <ueno@gnu.org>
3496
3497 * epa-file.el
3498 (epa-file-cache-passphrase-for-symmetric-encryption):
3499 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3500
3501 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3502
3503 * image.el (defimage):
3504 (image-load-path): Doc fixes.
3505
3506 2013-10-27 Alan Mackenzie <acm@muc.de>
3507
3508 Indent statements in macros following "##" correctly.
3509 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3510 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3511
3512 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3513
3514 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3515
3516 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3517
3518 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3519 after `=' is probably a new expression.
3520
3521 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3522
3523 * man.el (man-imenu-title): New option.
3524 (Man-mode-map): Add menu. (Bug#15722)
3525 (Man-mode): Add imenu to menu.
3526
3527 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3528
3529 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3530 specific in what the first arg can be: a non-keyword word,
3531 string/regexp/percent literal opener, opening paren, or unary
3532 operator followed directly by word.
3533
3534 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3535
3536 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3537 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3538 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3539 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3540 Remove vars, they do not apply any more.
3541 (prolog-mode-abbrev-table): Remove redundant declaration.
3542 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3543 (prolog-use-smie): Remove.
3544 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3545 supported by prolog-electric-if-then-else-flag.
3546 (prolog-mode-variables, prolog-menu): Use setq-local.
3547 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3548 Remove binding to `Backspace' since this key doesn't exist anyway.
3549 Remove bindings for electric self-inserting keys.
3550 (prog-mode): Assume it's defined.
3551 (prolog-post-self-insert): New function.
3552 (prolog-mode): Use it.
3553 (prolog-indent-line, prolog-indent-level)
3554 (prolog-find-indent-of-matching-paren)
3555 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3556 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3557 (prolog-goto-next-paren, prolog-in-string-or-comment)
3558 (prolog-tokenize, prolog-inside-mline-comment)
3559 (prolog-find-start-of-mline-comment): Remove functions.
3560 (prolog-find-unmatched-paren, prolog-clause-end)
3561 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3562 (prolog-electric--if-then-else): Rename from
3563 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3564 (prolog-tokenize-searchkey): Remove const.
3565 (prolog-clause-info): Use forward-sexp.
3566 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3567 (prolog-electric-if-then-else): Remove commands.
3568 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3569 for use in post-self-insert-hook.
3570 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3571 for use in post-self-insert-hook.
3572 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3573 for use in post-self-insert-hook.
3574 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3575 adapt it for use in post-self-insert-hook.
3576
3577 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * emacs-lisp/ert.el (ert-run-tests-interactively):
3580 Use `completing-read'. (Bug#9756)
3581
3582 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3583
3584 * simple.el (line-move): Call line-move-1 instead of
3585 line-move-visual when the current window hscroll is zero, but
3586 temporary-goal-column indicates we will need to hscroll as result
3587 of the movement. (Bug#15712)
3588
3589 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3590
3591 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3592 capitalization. Use :visible instead of :active.
3593 Fix `ruby-indent-exp' reference. Add menu items for the generic
3594 commands that are used with SMIE.
3595 (ruby-do-end-to-brace): Insert space after `{'.
3596
3597 2013-10-25 John Anthony <john@jo.hnanthony.com>
3598
3599 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3600
3601 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3602
3603 2013-10-25 Glenn Morris <rgm@gnu.org>
3604
3605 * vc/vc.el (vc-print-log): Don't use a working revision unless
3606 one was explicitly specified. (Bug#15322)
3607
3608 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * subr.el (add-to-list): Preserve return value in compiler-macro
3611 (bug#15692).
3612
3613 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3614
3615 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3616 result. Ask user to retry using '-all' flag. (Bug#15701)
3617
3618 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * emacs-lisp/smie.el: New smie-config system.
3621 (smie-config): New defcustom.
3622 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3623 (smie-config-guess, smie-config-save): New commands.
3624 (smie-config--mode-local, smie-config--buffer-local)
3625 (smie-config--trace, smie-config--modefuns): New vars.
3626 (smie-config--advice, smie-config--mode-hook)
3627 (smie-config--setter, smie-config-local, smie-config--get-trace)
3628 (smie-config--guess-value, smie-config--guess): New functions.
3629 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3630 text properties. Treat "string fence" syntax like string syntax.
3631
3632 * progmodes/sh-script.el (sh-use-smie): Change default.
3633 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3634 (sh-var-value): Simplify by CSE.
3635 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3636 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3637 is used.
3638 (sh-guess-basic-offset): Use cl-incf.
3639 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3640
3641 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3642
3643 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3644 (bug#15699).
3645
3646 2013-10-24 Glenn Morris <rgm@gnu.org>
3647
3648 * Makefile.in (abs_top_srcdir): Remove.
3649 (update-subdirs): Use relative path to update-subdirs.
3650
3651 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3652
3653 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3654 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3655 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3656 Call unmsys--file-name before expand-file-name, not after it.
3657
3658 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3659
3660 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3661 (ert-test-skipped): New error.
3662 (ert-skip, ert-stats-skipped): New defuns.
3663 (ert--skip-unless): New macro.
3664 (ert-test-skipped): New struct.
3665 (ert--run-test-debugger, ert-test-result-type-p)
3666 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3667 (ert--stats-set-test-and-result, ert-char-for-test-result)
3668 (ert-string-for-test-result, ert-run-tests-batch)
3669 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3670 Handle skipped tests. (Bug#9803)
3671
3672 2013-10-24 Glenn Morris <rgm@gnu.org>
3673
3674 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3675
3676 * Makefile.in (abs_top_srcdir): New, set by configure.
3677 (update-subdirs): Correct build-aux location.
3678
3679 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3680
3681 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3682 value, whether we could auto-deduce `backend', or not.
3683
3684 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3685 with parameters" example. Simplify the "is it block or is it
3686 hash" check, but also make it more thorough.
3687
3688 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3689
3690 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3691
3692 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3695 { if it is hanging.
3696
3697 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3698 :before ";".
3699
3700 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3701
3702 * progmodes/compile.el (compilation-directory-matcher)
3703 (compilation-page-delimiter):
3704 Support GNU Make-4.0 directory quoting. (Bug#15678)
3705
3706 2013-10-23 Leo Liu <sdl.web@gmail.com>
3707
3708 * ido.el (ido-tidy): Handle read-only text.
3709
3710 2013-10-23 Glenn Morris <rgm@gnu.org>
3711
3712 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3713 (emacs, compile, compile-always):
3714 Quote entities that might contain whitespace.
3715 (custom-deps, finder-data, autoloads): Use abs_lisp.
3716 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3717 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3718 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3719
3720 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3721
3722 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3723 Use `following-char'.
3724
3725 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3728 * progmodes/ruby-mode.el (ruby-smie-rules):
3729 Remove corresponding workaround. Fix indentation rule of ";" so it
3730 also applies when ";" is the parent.
3731
3732 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3733
3734 * frame.el (display-screens, display-pixel-height)
3735 (display-pixel-width, display-mm-width, display-backing-store)
3736 (display-save-under, display-planes, display-color-cells)
3737 (display-visual-class, display-monitor-attributes-list):
3738 Mention the optional ‘display’ argument in doc strings.
3739
3740 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3741
3742 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3743 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3744
3745 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3746
3747 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3748 TODO. Add "." after " @ ".
3749 (ruby-smie--at-dot-call): New function. Checks if point at method
3750 call with explicit target.
3751 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3752 to the method name tokens when it precedes them.
3753 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3754 (ruby-smie-rules): Add rule for indentation before and after "."
3755 token.
3756
3757 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * textmodes/remember.el (remember-diary-extract-entries):
3760 Avoid add-to-list.
3761
3762 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3763 an instruction.
3764
3765 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3766
3767 * progmodes/ruby-mode.el (ruby-smie-grammar):
3768 Add (almost) all infix operators.
3769 (ruby-smie--implicit-semi-p): Add new operator chars.
3770
3771 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3772 `smie-down-list'.
3773 (ruby-smie--args-separator-p): Check that there's no newline
3774 between method call and its arguments.
3775
3776 2013-10-20 Alan Mackenzie <acm@muc.de>
3777
3778 Allow comma separated lists after Java "implements".
3779
3780 * progmodes/cc-engine.el (c-backward-over-enum-header):
3781 Parse commas.
3782 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3783 from a "disallowed" list in enum fontification.
3784
3785 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3786
3787 * startup.el (default-frame-background-mode): Remove unused defvar.
3788
3789 * progmodes/verilog-mode.el (verilog-mode): Don't set
3790 comment-indent-function globally.
3791
3792 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3793
3794 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3795 Move Info menu item creation to ns-win.el.
3796
3797 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3798 in menu bar.
3799
3800 * menu-bar.el: Move GNUstep specific menus...
3801
3802 * term/ns-win.el (ns-initialize-window-system): ... to here.
3803
3804 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3805
3806 * simple.el (newline): Only run post-self-insert-hook when
3807 called interactively.
3808
3809 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3810
3811 * icomplete.el (icomplete-with-completion-tables): Add :version.
3812
3813 2013-10-19 Alan Mackenzie <acm@muc.de>
3814
3815 Fix fontification bugs with constructors and const.
3816
3817 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3818 CASE 2) Remove the check for the absence of a suffix construct
3819 after a function declaration with only types (no identifiers) in
3820 the parentheses. Also, accept a function declaration with just a
3821 type inside the parentheses, if this type can be positively
3822 recognised as such, or if a prefix keyword like "explicit" nails
3823 down the construct as a declaration.
3824
3825 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3826
3827 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3828 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3829 the problem whereby selecting a menu item that leads to a
3830 minibuffer prompt moves the cursor out of the minibuffer window,
3831 making it hard to type at the prompt. Suggested by Stefan Monnier
3832 <monnier@iro.umontreal.ca>.
3833
3834 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3835
3836 * menu-bar.el: Don't make Services menu.
3837
3838 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3839
3840 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3841 (ffap-alist): Use ffap-c++-mode for c++-mode.
3842 (ffap-c++-path): New variable.
3843 (ffap-c++-mode): New function.
3844
3845 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3846
3847 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3848
3849 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3852 introduced on 2013-09-08, which results in an infinite loop
3853 requesting a password.
3854
3855 2013-10-18 Glenn Morris <rgm@gnu.org>
3856
3857 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3858
3859 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3860
3861 Sync with upstream verilog-mode revision 1a6ecec7.
3862 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3863 (verilog-mode-release-date): Remove.
3864 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3865 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3866 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3867 (verilog-auto-tieoff-ignore-regexp)
3868 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3869 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3870 (verilog-signals-with, verilog-dir-cache-preserving)
3871 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3872 Doc fixes.
3873 (verilog-case-fold): New option, to control case folding in
3874 regexp searches, bug597.
3875 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3876 (verilog-string-match-fold, verilog-in-paren-count)
3877 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3878 (verilog-at-close-struct-p): New functions.
3879 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3880 (verilog-forward-sexp, verilog-set-auto-endcomments):
3881 (verilog-leap-to-case-head): Handle "unique0" case.
3882 (verilog-in-constraint-re): New constant.
3883 (verilog-keywords, verilog-type-font-keywords):
3884 Add some SystemVerilog 1800-2012 keywords.
3885 (verilog-label-be): Remove unimplemented argument, bug669.
3886 (verilog-batch-execute-func): When batch expanding clear
3887 create-lockfiles to prevent spurious user locks when a file ends
3888 up not changing.
3889 (verilog-calculate-indent, verilog-calc-1)
3890 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3891 (verilog-do-indent): Fix indentation of nested constraints
3892 and structures.
3893 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3894 (verilog-auto-inst-param): Use verilog-string-match-fold.
3895 (verilog-read-inst-module-matcher):
3896 Fix AUTOINST on gate primitives with #1.
3897 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3898 Reads all user-defined typed variables.
3899 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3900 (verilog-signals-matching-regexp)
3901 (verilog-signals-not-matching-regexp, verilog-auto):
3902 Respect verilog-case-fold.
3903 (verilog-diff-report): Fix line count.
3904 (verilog-auto-assign-modport): Remove unused local `modi'.
3905 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3906 better handle multidimensional arrays.
3907 Fix packed array ports misadding bit index in AUTOINST, bug637.
3908 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3909 to not double-declare existing outputs and inputs, respectively.
3910 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3911 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3912 (verilog-sk-uvm-component): New skeleton.
3913 (verilog-submit-bug-report): Add verilog-case-fold,
3914 remove verilog-mode-release-date.
3915
3916 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3917
3918 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3919 as before.
3920
3921 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3922
3923 * textmodes/remember.el (remember): Set buffer-offer-save in
3924 remember buffers (bug#13566).
3925
3926 2013-10-18 Daniel Colascione <dancol@dancol.org>
3927
3928 When evaluating forms in ielm, direct standard output to ielm
3929 buffer. Add new ielm-return-for-effect command. Remove trailing
3930 whitespace throughout.
3931
3932 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3933 (ielm-return-for-effect): New command.
3934 (ielm-send-input): Accept optional `for-effect' parameter.
3935 (ielm-eval-input): Accept optional `for-effect' parameter.
3936 Bind `standard-output' to stream we create using
3937 `ielm-standard-output-impl'. Suppress printing result when
3938 `for-effect'.
3939 (ielm-standard-output-impl): New function.
3940 (inferior-emacs-lisp-mode): Explain new features in documentation.
3941
3942 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3943
3944 Code cleanup.
3945
3946 * net/tramp.el (tramp-debug-message): Do not check for connection
3947 buffer.
3948 (tramp-message): Use "vector" connection property.
3949
3950 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3951 (tramp-equal-remote, tramp-eshell-directory-change)
3952 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3953 (tramp-adb-handle-rename-file)
3954 * net/tramp-cmds.el (tramp-list-remote-buffers)
3955 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3956 * net/tramp-compat.el (tramp-compat-process-running-p)
3957 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3958 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3959 (tramp-gvfs-handle-rename-file)
3960 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3961 (tramp-set-file-uid-gid)
3962 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3963 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3964 of `file-remote-p'.
3965
3966 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3967 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3968 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3969 (tramp-gw-open-network-stream): Suppress unrelated traces.
3970
3971 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3972 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3973 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3974 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3975 connection property.
3976
3977 * net/tramp-cache.el (top): Suppress traces when reading
3978 persistency file.
3979
3980 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3981 Refactor common code. Improve debug message.
3982 (tramp-maybe-open-connection)
3983 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3984 connection buffer too early.
3985
3986 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3987 from `tramp-smb-actions-with-acl'.
3988 (tramp-smb-actions-set-acl): New defconst.
3989 (tramp-smb-handle-copy-directory)
3990 (tramp-smb-action-get-acl): New defun, renamed from
3991 `tramp-smb-action-with-acl'.
3992 (tramp-smb-action-set-acl): New defun.
3993 (tramp-smb-handle-set-file-acl): Rewrite.
3994
3995 2013-10-17 Glenn Morris <rgm@gnu.org>
3996
3997 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3998
3999 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * skeleton.el (skeleton-newline): Remove.
4002 (skeleton-internal-1): Use (insert "\n") instead.
4003
4004 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4005 let-bindings.
4006
4007 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4008 forward-sexp-function while we redo its job (bug#15613).
4009
4010 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4011
4012 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4013 represented by lists.
4014
4015 2013-10-16 Glenn Morris <rgm@gnu.org>
4016
4017 * tmm.el (tmm--history): New dynamic variable.
4018 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4019
4020 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4021
4022 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4023 (tramp-smb-errors): Add error messages.
4024 (tramp-smb-actions-with-acl): New defconst.
4025 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4026 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4027 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4028 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4029 (tramp-smb-get-stat-capability): Fix tests.
4030
4031 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4032
4033 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4034 (bug#15580).
4035
4036 2013-10-16 Glenn Morris <rgm@gnu.org>
4037
4038 * ansi-color.el (ansi-color-drop-regexp):
4039 Add 1J, 1K, 2K. (Bug#15617)
4040
4041 * files.el (hack-local-variables--warned-lexical): New.
4042 (hack-local-variables):
4043 Warn about misplaced lexical-binding. (Bug#15616)
4044
4045 * net/eww.el (eww-render): Always set eww-current-url,
4046 and update header line. (Bug#15622)
4047 (eww-display-html): ... Rather than just doing it here.
4048
4049 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4050
4051 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4052 menu navigations commands.
4053
4054 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4055
4056 * progmodes/subword.el (subword-capitalize): Be careful when
4057 the search for [[:alpha:]] fails (bug#15580).
4058
4059 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4060
4061 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4062 to commands that scroll the menu.
4063
4064 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4065
4066 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4067 Handle methods ending with `?' and `!'.
4068
4069 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4070
4071 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4072 `japanese-cp932' to `cp932' to fix the problem where saving a
4073 source file written in Shift_JIS twice would end up having
4074 `coding: japanese-cp932' which Ruby could not recognize.
4075 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4076 in `ruby-encoding-map'.
4077 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4078 doesn't need to be explicitly declared in magic comment.
4079 (ruby-encoding-map): Add type declaration for better customize UI.
4080
4081 2013-10-13 Glenn Morris <rgm@gnu.org>
4082
4083 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4084 Occur buffers are read-only. http://bugs.debian.org/720775
4085
4086 * emacs-lisp/authors.el (authors-fixed-entries):
4087 Comment out old alpha stuff.
4088
4089 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4090
4091 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4092 to `after-save-hook' instead of `before-save-hook'.
4093 (ruby-mode-set-encoding): Use the value of coding system used to
4094 write the file. Call `basic-save-buffer-1' after modifying the
4095 buffer.
4096
4097 2013-10-13 Alan Mackenzie <acm@muc.de>
4098
4099 Fix indentation/fontification of Java enum with
4100 "implements"/generic.
4101
4102 * progmodes/cc-engine.el (c-backward-over-enum-header):
4103 Extracted from the three other places and enhanced to handle generics.
4104 (c-inside-bracelist-p): Uses new function above.
4105 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4106 function above.
4107 (c-font-lock-enum-tail): Uses new function above.
4108
4109 2013-10-13 Kenichi Handa <handa@gnu.org>
4110
4111 * international/mule-cmds.el (select-safe-coding-system): Remove a
4112 superfluous condition in chekcing whether a coding system is safe
4113 or not.
4114
4115 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4116
4117 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4118
4119 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4120
4121 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4122
4123 2013-10-13 Glenn Morris <rgm@gnu.org>
4124
4125 * menu-bar.el (menu-bar-update-buffers):
4126 Unify Buffers menu prompt string. (Bug#15576)
4127
4128 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4129
4130 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4131 Add some entries.
4132 (authors-fixed-entries): Use accented form of name.
4133
4134 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4135
4136 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4137 method calls (bug#15594).
4138 (ruby-smie--args-separator-p): New function.
4139 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4140 recognize paren-free method calls.
4141
4142 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4143 internals of universal-argument.
4144
4145 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4146
4147 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4148 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4149 dropped menu on second mouse click on the menu bar.
4150
4151 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4152
4153 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4154 (explicit-shell-file-name): Declare.
4155 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4156 (sh-completion-at-point-function): New function.
4157 (sh-mode): Use it.
4158 (sh-smie--keyword-p): Remove unused argument.
4159 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4160 vars.
4161 (sh-set-shell): Always setup SMIE, even if we use the
4162 old indentation code.
4163
4164 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4165
4166 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4167 cases of ? and =.
4168 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4169 predicate would return nil are almost non-existent.
4170 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4171
4172 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4173 cache also after commands that modify the buffer but don't move
4174 point.
4175
4176 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4177
4178 * env.el (substitute-env-in-file-name): New function.
4179 (substitute-env-vars): Extend the meaning of the optional arg.
4180
4181 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4182
4183 * term/w32-win.el (dynamic-library-alist): Define separate lists
4184 of GIF DLLs for versions before and after 5.0.0 of giflib.
4185 (Bug#15531)
4186
4187 2013-10-10 João Távora <joaotavora@gmail.com>
4188
4189 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4190 not locked, use last revision and current source as
4191 defaults. (Bug#15569)
4192
4193 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4194
4195 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4196 menu-bar is hidden.
4197
4198 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4199
4200 * window.el (pop-to-buffer-same-window): Fix doc-string.
4201 (Bug#15492)
4202
4203 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4206
4207 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4208
4209 * calendar/icalendar.el (icalendar-import-file):
4210 Fix interactive spec. (Bug#15482)
4211
4212 2013-10-10 Glenn Morris <rgm@gnu.org>
4213
4214 * desktop.el (desktop-save): Default to saving in .emacs.d,
4215 since PWD is no longer in desktop-path by default. (Bug#15319)
4216
4217 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4218 now that text mode has a menu with the same entry.
4219 (menu-bar-text-mode-auto-fill): Remove now unused func.
4220 * textmodes/text-mode.el (text-mode-map):
4221 Use auto-fill help text from menu-bar.el.
4222
4223 2013-10-10 John Anthony <john@jo.hnanthony.com>
4224
4225 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4226
4227 2013-10-09 Juri Linkov <juri@jurta.org>
4228
4229 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4230 instead of this-command-keys. Add universal-argument-more and
4231 universal-argument-minus to the list of prefix commands. (Bug#15568)
4232
4233 2013-10-09 Glenn Morris <rgm@gnu.org>
4234
4235 * vc/vc-svn.el (vc-svn-create-repo):
4236 Expand paths in file://... url. (Bug#15446)
4237
4238 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4239 Add some entries.
4240 (authors): Remove unused local variables.
4241
4242 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4243
4244 * profiler.el: Create a more coherent calltree from partial backtraces.
4245 (profiler-format): Hide the tail with `invisible' so that C-s can still
4246 find the hidden elements.
4247 (profiler-calltree-depth): Don't recurse so enthusiastically.
4248 (profiler-function-equal): New hash-table-test.
4249 (profiler-calltree-build-unified): New function.
4250 (profiler-calltree-build): Use it.
4251 (profiler-report-make-name-part): Indent the calltree less.
4252 (profiler-report-mode): Add visibility specs for profiler-format.
4253 (profiler-report-expand-entry, profiler-report-toggle-entry):
4254 Expand the whole subtree when provided with a prefix arg.
4255
4256 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4257
4258 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4259 iuwu-mod token.
4260 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4261 hanging iuwu-mod token.
4262 (ruby-smie--forward-token): Do not include a dot after a token in
4263 that token.
4264 (ruby-smie--backward-token): Likewise.
4265
4266 2013-10-08 Juri Linkov <juri@jurta.org>
4267
4268 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4269 to isearch-other-control-char.
4270 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4271 and isearch-post-command-hook to post-command-hook.
4272 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4273 and isearch-post-command-hook from post-command-hook.
4274 (isearch-unread-key-sequence)
4275 (isearch-reread-key-sequence-naturally)
4276 (isearch-lookup-scroll-key, isearch-other-control-char)
4277 (isearch-other-meta-char): Remove functions.
4278 (isearch-pre-command-hook, isearch-post-command-hook):
4279 New functions based on isearch-other-meta-char rewritten
4280 relying on the new behavior of overriding-terminal-local-map
4281 that does not replace the local keymaps any more. (Bug#15200)
4282
4283 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4284
4285 Support menus on text-mode terminals.
4286 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4287 functionality.
4288
4289 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4290
4291 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4292 Move here from mouse.el.
4293 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4294 and arrow keys.
4295 (tty-menu-navigation-map): New map for TTY menu navigation.
4296
4297 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4298
4299 * frame.el (display-mouse-p): Report text-mode mouse as available
4300 on w32.
4301 (display-popup-menus-p): Report availability if mouse is
4302 available; don't condition on window-system.
4303
4304 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4305 (tty-menu-selected-face): New faces.
4306
4307 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4310 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4311 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4312 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4313 New constants.
4314 (lisp-mode-variables): New `elisp' argument.
4315 (emacs-lisp-mode): Use it.
4316 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4317 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4318
4319 * indent.el: Use lexical-binding.
4320 (indent-region): Add progress reporter.
4321 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4322 last step.
4323 (indent--next-tab-stop): New function to implement this behavior.
4324 (tab-to-tab-stop, move-to-tab-stop): Use it.
4325
4326 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4327
4328 * indent.el (indent-rigidly--current-indentation): New function.
4329 (indent-rigidly-map): New var.
4330 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4331
4332 2013-10-08 Bastien Guerry <bzg@gnu.org>
4333
4334 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4335
4336 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4337
4338 * progmodes/perl-mode.el: Use lexical-binding.
4339 Remove redundant :group args.
4340 (perl-nochange): Change default to be closer to other major modes's
4341 standard behavior.
4342 (perl-indent-line): Don't consider text on current line as a
4343 valid beginning of function from which to indent.
4344
4345 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4346 with more than one argument (bug#15538).
4347
4348 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4349
4350 * vc/pcvs.el: Use lexical-binding.
4351 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4352 environment of `eval'.
4353 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4354 than a list of expressions. Adjust callers.
4355 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4356
4357 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4358
4359 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4360 case of the dot in a chained method call being on the following line.
4361
4362 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * electric.el (electric-indent-inhibit): New var.
4365 (electric-indent-post-self-insert-function): Use it.
4366 * progmodes/python.el (python-mode): Set it.
4367
4368 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4369 open braces.
4370
4371 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4372
4373 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4374 (css-mode): Use electric-indent-chars.
4375
4376 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4377 (font-lock-beg, font-lock-end): Move before first use.
4378 (nxml-mode): Use syntax-propertize-function.
4379 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4380 (nxml-extend-after-change-region): Remove.
4381 * nxml/xmltok.el: Use lexical-binding.
4382 (xmltok-save): Use `declare'.
4383 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4384 * nxml/nxml-util.el: Use lexical-binding.
4385 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4386 Use `declare'.
4387 * nxml/nxml-ns.el: Use lexical-binding.
4388 (nxml-ns-save): Use `declare'.
4389 (nxml-ns-prefixes-for): Avoid add-to-list.
4390 * nxml/rng-match.el: Use lexical-binding.
4391 (rng--ipattern): Use cl-defstruct.
4392 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4393 (rng-cons-group-after, rng-subst-group-after)
4394 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4395 Use closures instead of `(lambda...).
4396
4397 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4398
4399 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4400 of BEG and END.
4401
4402 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4403 Use `tramp-handle-insert-file-contents'.
4404 (tramp-gvfs-handle-insert-file-contents): Remove function.
4405
4406 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4407 Use `save-restriction' in order to keep markers.
4408
4409 * net/trampver.el: Update release number.
4410
4411 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * progmodes/compile.el (compilation-parse-errors):
4414 Use compilation--put-prop.
4415 (compilation--ensure-parse): Check compilation-multiline.
4416
4417 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4418
4419 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4420 lexical-binding.
4421
4422 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4423
4424 * progmodes/ruby-mode.el: Fix recently added tests.
4425 (ruby-smie-grammar): Add - and +.
4426 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4427 (ruby-smie--backward-id): New functions.
4428 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4429 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4430 any more.
4431
4432 2013-10-07 Leo Liu <sdl.web@gmail.com>
4433
4434 * register.el (register-preview-delay)
4435 (register-preview-functions): New variables.
4436 (register-read-with-preview, register-preview)
4437 (register-describe-oneline): New functions.
4438 (point-to-register, window-configuration-to-register)
4439 (frame-configuration-to-register, jump-to-register)
4440 (number-to-register, view-register, insert-register)
4441 (copy-to-register, append-to-register, prepend-to-register)
4442 (copy-rectangle-to-register): Use register-read-with-preview to
4443 read register. (Bug#15525)
4444
4445 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4446
4447 * net/network-stream.el (network-stream-open-starttls): Don't add
4448 --insecure if it's already present, because that gnutls-cli
4449 rejects getting that parameter twice.
4450
4451 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4452
4453 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4454 keyword, too.
4455
4456 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4457
4458 * newcomment.el (comment-use-global-state): Change default value
4459 to t, mark obsolete (Bug#15251).
4460 (comment-beginning): In addition to `comment-to-syntax', check the
4461 value of `comment-use-global-state'.
4462
4463 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4464
4465 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4466 (ruby-comment-column): Follow the global default, by default.
4467 (ruby-smie-grammar): Add assignment syntax.
4468 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4469 open-paren, a comma, or a \.
4470 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4471 and line continuations.
4472 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4473 followed by implicit semi-colons. Add rule for string concatenation
4474 and for indentation at BOB.
4475 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4476
4477 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4478 calling next-sexp, since next-token may have skipped chars which
4479 next-sexp doesn't know should be skipped!
4480
4481 2013-10-05 Leo Liu <sdl.web@gmail.com>
4482
4483 * progmodes/octave.el (octave-send-region):
4484 Call compilation-forget-errors.
4485
4486 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4487
4488 * vc/vc-svn.el (vc-svn-find-admin-dir):
4489 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4490 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4491 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4492 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4493
4494 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4497
4498 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4499
4500 * subr.el (read-passwd): Hide chars even when called within a context
4501 where after-change-functions is disabled (bug#15501).
4502 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4503 until we removed ourself from overriding-terminal-local-map.
4504
4505 2013-10-04 Leo Liu <sdl.web@gmail.com>
4506
4507 * progmodes/octave.el (inferior-octave-mode):
4508 Call compilation-forget-errors.
4509
4510 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4511
4512 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4513
4514 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4515
4516 * net/secrets.el (secrets-create-collection): Add optional
4517 argument ALIAS. Use proper Label keyword. Append ALIAS as
4518 dbus-call-method argument. (Bug#15516)
4519
4520 2013-10-04 Leo Liu <sdl.web@gmail.com>
4521
4522 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4523 (inferior-octave-compilation-font-lock-keywords): New variables.
4524 (compilation-error-regexp-alist)
4525 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4526 (inferior-octave-mode): Use compilation-shell-minor-mode.
4527
4528 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4529
4530 * minibuffer.el (completion--replace): Be careful that `end' might be
4531 a marker.
4532
4533 2013-10-03 Daiki Ueno <ueno@gnu.org>
4534
4535 Add support for package signature checking.
4536 * emacs-lisp/package.el (url-http-file-exists-p)
4537 (epg-make-context, epg-context-set-home-directory)
4538 (epg-verify-string, epg-context-result-for)
4539 (epg-signature-status, epg-signature-to-string)
4540 (epg-check-configuration, epg-configuration)
4541 (epg-import-keys-from-file): Declare.
4542 (package-check-signature): New user option.
4543 (package-unsigned-archives): New user option.
4544 (package-desc): Add `signed' field.
4545 (package-load-descriptor): Set `signed' field if .signed file exists.
4546 (package--archive-file-exists-p): New function.
4547 (package--check-signature): New function.
4548 (package-install-from-archive): Check package signature.
4549 (package--download-one-archive): Check archive signature.
4550 (package-delete): Remove .signed file.
4551 (package-import-keyring): New command.
4552 (package-refresh-contents): Import default keyring.
4553 (package-desc-status): Add "unsigned" status.
4554 (describe-package-1, package-menu--print-info)
4555 (package-menu-mark-delete, package-menu--find-upgrades)
4556 (package-menu--status-predicate): Support "unsigned" status.
4557
4558 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4559
4560 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4561 the new compilation scheme using the new byte-codes.
4562
4563 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4564 (byte-pophandler): New byte codes.
4565 (byte-goto-ops): Adjust accordingly.
4566 (byte-compile--use-old-handlers): New var.
4567 (byte-compile-catch): Use new byte codes depending on
4568 byte-compile--use-old-handlers.
4569 (byte-compile-condition-case--old): Rename from
4570 byte-compile-condition-case.
4571 (byte-compile-condition-case--new): New function.
4572 (byte-compile-condition-case): New function that dispatches depending
4573 on byte-compile--use-old-handlers.
4574 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4575 when we can.
4576
4577 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4578 Optimize under `condition-case' and `catch' if
4579 byte-compile--use-old-handlers is nil.
4580 (disassemble-offset): Handle new bytecodes.
4581
4582 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * subr.el (error): Use `declare'.
4585 (decode-char, encode-char): Use advertised-calling-convention instead
4586 of the docstring to discourage use of the `restriction' arg.
4587
4588 2013-10-03 Daiki Ueno <ueno@gnu.org>
4589
4590 * epg.el (epg-verify-file): Add a comment saying that it does not
4591 notify verification error as a return value nor a signal.
4592 (epg-verify-string): Ditto.
4593
4594 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4595
4596 * progmodes/compile.el (compilation-start): Try globbing the arg to
4597 `cd' (bug#15417).
4598
4599 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4600
4601 Sync with Tramp 2.2.8.
4602
4603 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4604 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4605 * net/trampver.el: Update release number.
4606
4607 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4608
4609 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4610 and default-process-coding-system for darwin only.
4611
4612 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4615
4616 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4617
4618 * vc/vc-git.el (vc-git-grep): Disable pager.
4619
4620 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4621
4622 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4623 Use :url instead of :homepage, as per
4624 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4625
4626 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4627 non-nil, use `syntax-ppss' (Bug#15251).
4628
4629 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4630
4631 * progmodes/octave.el (inferior-octave-startup-file):
4632 Prefer ~/.emacs.d/init_octave.m.
4633
4634 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * emacs-lisp/package.el (package-desc-from-define):
4637 Accept additional arguments as plist, convert them to an alist and store
4638 them in the `extras' slot.
4639 (package-generate-description-file): Convert extras alist back to
4640 plist and append to the `define-package' form arguments.
4641 (package--alist-to-plist): New function.
4642 (package--ac-desc): Add `extras' slot.
4643 (package--add-to-archive-contents): Check if the archive-contents
4644 vector is long enough, and if it is, pass its `extras' slot value
4645 to `package-desc-create'.
4646 (package-buffer-info): Call `lm-homepage', pass the returned value
4647 to `package-desc-from-define'.
4648 (describe-package-1): Render the homepage button (Bug#13291).
4649
4650 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4651 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4652
4653 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4654
4655 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4656 and default-process-coding-system to utf-8-unix (Bug#15402).
4657
4658 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4659
4660 * subr.el (looking-back): Do not recommend using looking-back.
4661
4662 2013-09-28 Alan Mackenzie <acm@muc.de>
4663
4664 Fix indentation/fontification of Java enum with "implements".
4665
4666 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4667 regexp which matches "implements", etc., in Java.
4668 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4669 specifier clauses coming after "enum".
4670 * progmodes/cc-fonts.el (c-font-lock-declarations)
4671 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4672 after "enum".
4673
4674 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4675
4676 * faces.el (region): Change ns_selection_color to
4677 ns_selection_fg_color, add ns_selection_bg_color.
4678
4679 2013-09-28 Leo Liu <sdl.web@gmail.com>
4680
4681 * progmodes/octave.el (inferior-octave-completion-table)
4682 (inferior-octave-completion-at-point): Minor tweaks.
4683
4684 * textmodes/ispell.el (ispell-lookup-words): Rename from
4685 lookup-words. (Bug#15460)
4686 (lookup-words): Obsolete.
4687 (ispell-complete-word, ispell-command-loop): All uses changed.
4688
4689 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4690
4691 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4692 (octave-mode-menu): Add octave-send-buffer.
4693 (octave-send-buffer): New function.
4694
4695 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4696
4697 * progmodes/octave.el (octave-mode-map): Add key binding for
4698 octave-lookfor.
4699 (octave-mode-menu): Add octave-lookfor.
4700 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4701 octave-lookfor.
4702 (octave-lookfor): New function.
4703
4704 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/cl-macs.el:
4707 (cl--loop-destr-temps): Remove.
4708 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4709 its convention.
4710 (cl--loop-set-iterator-function): New function.
4711 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4712 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4713 Bind `it' with `let' instead of substituting it with `cl-subst'.
4714 (cl--unused-var-p): New function.
4715 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4716 Eliminate some unused variable warnings (bug#15326).
4717
4718 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4719
4720 * doc-view.el (doc-view-scale-reset): Rename from
4721 `doc-view-reset-zoom-level'.
4722 (doc-view-scale-adjust): New command.
4723 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4724 `doc-view-scale-adjust'.
4725
4726 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4727
4728 * doc-view.el (doc-view-reset-zoom-level): New command.
4729 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4730 zoom commands (bug#15466).
4731
4732 2013-09-26 Kenichi Handa <handa@gnu.org>
4733
4734 * international/quail.el (quail-help): Make it not a command.
4735
4736 2013-09-26 Leo Liu <sdl.web@gmail.com>
4737
4738 * minibuffer.el (completion-all-sorted-completions): Make args
4739 optional as they are.
4740
4741 2013-09-25 Daniel Colascione <dancol@dancol.org>
4742
4743 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4744 specs are and that they're not evaluated.
4745
4746 2013-09-24 Sam Steingold <sds@gnu.org>
4747
4748 * midnight.el (clean-buffer-list-kill-regexps)
4749 (clean-buffer-list-kill-buffer-names): Update for the new Man
4750 buffer naming which includes the object name.
4751
4752 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4755 (eshell-parse-command, eshell-parse-pipeline): Use it since
4756 eshell-separate-commands requires a dynamic scoped var.
4757 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4758
4759 2013-09-23 Leo Liu <sdl.web@gmail.com>
4760
4761 * autoinsert.el (auto-insert-alist): Make the value of
4762 lexical-binding match its file setting.
4763
4764 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4765
4766 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4767
4768 * autoarg.el (autoarg-kp-digit-argument):
4769 * electric.el (Electric-command-loop):
4770 * kmacro.el (kmacro-step-edit-insert):
4771 Do not set universal-argument-num-events.
4772
4773 2013-09-22 Leo Liu <sdl.web@gmail.com>
4774
4775 * files.el (interpreter-mode-alist): Add octave.
4776
4777 2013-09-21 Alan Mackenzie <acm@muc.de>
4778
4779 C++: fontify identifier in declaration following "public:" correctly.
4780 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4781 to match "public", etc.
4782 (c-decl-prefix-re): Add ":" into the C++ value.
4783 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4784 bit. Add a check for a ":" preceded by "public", etc.
4785
4786 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4787
4788 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4789 recognized by GDB 7.5 and later.
4790
4791 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4792
4793 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4794
4795 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4796
4797 * subr.el (internal--call-interactively): New const.
4798 (called-interactively-p): Use it (bug#3984).
4799
4800 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4801
4802 * vc/pcvs.el (cvs-mode-ignore):
4803 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4804 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4805
4806 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4809 (eshell-ls-orig-insert-directory): Remove.
4810 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4811 (eshell-ls-use-in-dired): Use advice-add/remove.
4812 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4813 Add `orig-fun' arg for use in :around advice.
4814 Make it check (redundantly) eshell-ls-use-in-dired.
4815
4816 2013-09-19 Glenn Morris <rgm@gnu.org>
4817
4818 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4819
4820 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4821
4822 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4823
4824 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4825
4826 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4827 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4828 (tramp-get-remote-python): New defuns.
4829 (tramp-get-remote-uid-with-perl)
4830 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4831 contributed by yary <not.com@gmail.com> (tiny change).
4832 (tramp-get-remote-uid-with-python)
4833 (tramp-get-remote-gid-with-python): New defuns. Python code
4834 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4835 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4836
4837 2013-09-19 Glenn Morris <rgm@gnu.org>
4838
4839 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4840
4841 * eshell/em-unix.el (eshell-remove-entries):
4842 Rename argument to avoid name-clash with global `top-level'.
4843
4844 * eshell/esh-proc.el (eshell-kill-process-function):
4845 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4846 (eshell-reset-after-proc): Remove unused arg `proc'.
4847
4848 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4849 (directory-files-and-attributes): Mark unused arg.
4850
4851 * eshell/em-unix.el (eshell-remove-entries):
4852 Remove unused arg `path'. Update callers.
4853
4854 * eshell/em-hist.el (eshell-hist-parse-arguments):
4855 Remove unused arg `silent'. Update callers.
4856
4857 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4858 Fix (f)boundp mix-up.
4859
4860 * eshell/em-smart.el (eshell-smart-scroll-window)
4861 (eshell-disable-after-change):
4862 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4863
4864 2013-09-18 Alan Mackenzie <acm@muc.de>
4865
4866 Fix fontification of type when followed by "const".
4867 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4868 "known" types from fontification.
4869
4870 2013-09-18 Glenn Morris <rgm@gnu.org>
4871
4872 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4873 (chart-face-list): Drop Emacsen without display-color-p.
4874
4875 * net/eww.el (libxml-parse-html-region): Declare.
4876 (eww-display-html): Explicit error if no libxml2 support.
4877
4878 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4879
4880 * image.el (image-type-from-buffer, image-multi-frame-p):
4881 Remove --without-x warning/error.
4882
4883 * mouse.el (mouse-yank-primary):
4884 * term.el (term-mouse-paste):
4885 Reorder to silence --without-x compilation.
4886
4887 * mpc.el (doc-view-mode): Silence --without-x compilation.
4888
4889 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4890 Silence --without-x compilation.
4891
4892 * progmodes/gud.el (gud-find-file, gud-mode):
4893 Silence --without-x compilation.
4894 (tooltip-mode): Declare.
4895
4896 * wdired.el (dired-backup-overwrite): Remove declaration.
4897 (wdired-mode-map): Add doc string.
4898
4899 * custom.el (x-get-resource): Declare.
4900
4901 * eshell/em-glob.el (ange-cache):
4902 * eshell/em-unix.el (ange-cache): Declare.
4903
4904 * faces.el (x-display-list, x-open-connection, x-get-resource):
4905 Declare.
4906
4907 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4908 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4909 Declare.
4910
4911 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4912
4913 * net/gnutls.el (gnutls-log-level): Declare.
4914
4915 * net/shr.el (image-size, image-animate): Declare.
4916
4917 * simple.el (font-info): Declare.
4918
4919 * subr.el (x-popup-dialog): Declare.
4920
4921 * term/common-win.el (x-select-enable-primary)
4922 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4923 Declare.
4924
4925 * term/ns-win.el (x-handle-args): Declare.
4926
4927 * term/x-win.el (x-select-enable-clipboard): Declare.
4928
4929 * term/w32-win.el (create-default-fontset): Declare.
4930
4931 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4932 Declare.
4933
4934 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4935 (fit-frame-to-buffer): Explicit error if --without-x.
4936 (mouse-autoselect-window-select): Silence compiler.
4937
4938 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4939
4940 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4941 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4942 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4943 * eshell/esh-util.el (eshell-sublist):
4944 Remove unused local variables.
4945
4946 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4947
4948 * textmodes/two-column.el: Make 2C-split work for --without-x.
4949 (scroll-bar-columns): Autoload.
4950 (top-level): Require fringe when compiling.
4951
4952 2013-09-18 Leo Liu <sdl.web@gmail.com>
4953
4954 * subr.el (add-hook): Robustify to handle closure as well.
4955
4956 2013-09-17 Glenn Morris <rgm@gnu.org>
4957
4958 * simple.el (messages-buffer-mode-map): Unbind "g".
4959
4960 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * help-mode.el (help-mode-finish): Use derived-mode-p.
4963 Remove obsolete highlighting.
4964
4965 * play/life.el (life-mode): Use define-derived-mode. Derive from
4966 special-mode.
4967 (life): Let-bind inhibit-read-only.
4968 (life-setup): Avoid `setq'. Use `life-mode'.
4969
4970 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4971 which should not be needed any more.
4972 (package-menu-refresh, package-menu-describe-package): Use user-error.
4973
4974 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4975 (eshell-post-rewrite-command-hook): Make obsolete.
4976 (eshell-parse-command): Simplify.
4977 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4978 (eshell--cmd): Declare.
4979 (eshell-parse-pipeline): Remove unused var `final-p'.
4980 Pass a dynvar to eshell-post-rewrite-command-hook.
4981 Implement the new eshell-post-rewrite-command-function.
4982 (eshell-invoke-directly): Remove unused arg `input'.
4983 * eshell/esh-io.el (eshell-io-initialize):
4984 Use eshell-post-rewrite-command-function (bug#15399).
4985 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4986 adjust to new calling convention.
4987 (eshell-create-handles): Rename args to avoid clashing with dynvar
4988 `standard-output'.
4989
4990 2013-09-17 Glenn Morris <rgm@gnu.org>
4991
4992 * simple.el (messages-buffer-mode): New major mode.
4993 (messages-buffer): New function.
4994 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4995 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4996 (ert-run-test): Use `messages-buffer' function.
4997 (ert--force-message-log-buffer-truncation): Ignore read-only.
4998 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4999 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5000
5001 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5002
5003 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5004
5005 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5006
5007 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * icomplete.el (icomplete-in-buffer): New var.
5010 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5011 vars and replace them with functions.
5012 (icomplete-minibuffer-setup): Adjust accordingly.
5013 (icomplete--completion-table, icomplete--completion-predicate)
5014 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5015 New functions.
5016 (icomplete-forward-completions, icomplete-backward-completions)
5017 (icomplete-simple-completing-p, icomplete-exhibit)
5018 (icomplete-completions): Use them.
5019 (icomplete--in-region-buffer): New var.
5020 (icomplete--in-region-setup): New function.
5021 (icomplete-mode): Use it.
5022
5023 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5024 (bug#15379).
5025 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5026 return args and options.
5027 (eshell-eval-using-options): Use the new return value of
5028 eshell--do-opts to set the options's vars in their scope.
5029 (eshell--set-option): Rename from eshell-set-option.
5030 Add arg `opt-vals'.
5031 (eshell--process-option): Rename from eshell-process-option.
5032 Add arg `opt-vals'.
5033 (eshell--process-args): Use an `opt-vals' alist to store the options's
5034 values during their processing and return them additionally to the
5035 remaining args.
5036
5037 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5038
5039 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5040 continuation character an operator, as far as indentation is
5041 concerned (Bug#15369).
5042
5043 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5044
5045 * window.el (window--state-put-2): Don't process buffer state
5046 when buffer doesn't exist any more (Bug#15382).
5047
5048 2013-09-15 Glenn Morris <rgm@gnu.org>
5049
5050 * eshell/em-unix.el (eshell/rm):
5051 Make -f ignore missing files. (Bug#15373)
5052
5053 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5054 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5055 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5056
5057 2013-09-14 Glenn Morris <rgm@gnu.org>
5058
5059 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5060
5061 2013-09-13 Glenn Morris <rgm@gnu.org>
5062
5063 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5064 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5065
5066 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5067
5068 * frame.el (x-focus-frame): Mark as declared in frame.c.
5069
5070 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5071
5072 * ls-lisp.el: Use advice-add.
5073 (original-insert-directory): Remove.
5074 (ls-lisp--insert-directory): Rename from insert-directory; add
5075 `orig-fun' argument.
5076 (insert-directory): Advise.
5077
5078 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5079
5080 * term.el (term-emulate-terminal): Decode the command string
5081 before passing it to term-command-hook. (Bug#15337)
5082
5083 2013-09-13 Glenn Morris <rgm@gnu.org>
5084
5085 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5086
5087 * eshell/esh-ext.el (eshell-search-path): Declare.
5088
5089 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5090 Otherwise an error occurs if eshell-dirs module not loaded.
5091
5092 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5093
5094 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5095
5096 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5097 `tramp-check-proper-host'. Check for a valid method name.
5098
5099 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5100 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5101 * net/tramp-sh.el (tramp-maybe-open-connection):
5102 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5103
5104 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5105 also for hash values.
5106
5107 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * term/ns-win.el (parameters): Don't declare as dynamic.
5110 (before-make-frame-hook): Don't add ineffective function.
5111
5112 * eshell/*.el: Use lexical-binding (bug#15231).
5113
5114 2013-09-12 Kenichi Handa <handa@gnu.org>
5115
5116 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5117
5118 2013-09-12 Glenn Morris <rgm@gnu.org>
5119
5120 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5121 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5122
5123 * subr.el (do-after-load-evaluation): Also give compiler warnings
5124 when obsolete files are used (except by obsolete files).
5125
5126 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5127 in the status output, assume `filename' is the first. (Bug#15322)
5128
5129 * vc/vc.el (vc-deduce-fileset): Doc fix.
5130
5131 * calc/calc-help.el (Info-goto-node):
5132 * progmodes/cperl-mode.el (Info-find-node):
5133 * vc/ediff.el (Info-goto-node): Update declarations.
5134
5135 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5136
5137 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5138 (vc-bzr-pull): Require vc-dispatcher.
5139 * vc/vc-git.el (vc-compilation-mode): Declare.
5140 (vc-git-pull): Require vc-dispatcher.
5141
5142 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5143
5144 * progmodes/octave.el (help-button-action): Declare.
5145
5146 * shell.el (shell-directory-tracker): Output error as a message
5147 rather than just returning it as a string.
5148 (shell-process-pushd): Remove useless use of message.
5149
5150 * dframe.el (dframe-timer-fn):
5151 * files.el (dir-locals-read-from-file):
5152 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5153 (mpc-format):
5154 * reveal.el (reveal-post-command):
5155 * saveplace.el (load-save-place-alist-from-file):
5156 * shell.el (shell-resync-dirs):
5157 * w32-common-fns.el (x-get-selection-value):
5158 * emacs-lisp/copyright.el (copyright-find-copyright):
5159 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5160 * emulation/tpu-edt.el (tpu-copy-keyfile):
5161 * play/bubbles.el (bubbles--mark-neighbourhood):
5162 * progmodes/executable.el
5163 (executable-make-buffer-file-executable-if-script-p):
5164 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5165
5166 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5167
5168 Cleanup Eshell to rely less on dynamic scoping.
5169 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5170 last-value, and ext-command here. Bind `args' closer to `body'.
5171 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5172 (eshell--args): Declare new dynamic var.
5173 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5174 last-value, and ext-command. Pass `args' to `body'.
5175 (eshell-process-args): Bind eshell--args.
5176 (eshell-set-option): Use eshell--args.
5177 * eshell/eshell.el (eshell): Use derived-mode-p.
5178 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5179 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5180 (eshell-glob-function): Declare.
5181 * eshell/esh-util.el: Require cl-lib.
5182 (eshell-read-hosts-file): Avoid add-to-list.
5183 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5184 `err'.
5185 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5186 Declare.
5187 (eshell/diff): Remove unused var `err'.
5188 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5189 `killflag'.
5190 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5191 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5192 first use.
5193 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5194 Move declaration before first use.
5195 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5196 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5197 rely on cl-return.
5198
5199 2013-09-12 Glenn Morris <rgm@gnu.org>
5200
5201 * term/ns-win.el (global-map): Remove binding for ispell-next,
5202 deleted 1999-05-29. (Bug#15357)
5203
5204 2013-09-11 Glenn Morris <rgm@gnu.org>
5205
5206 * echistory.el (electric-command-history): Remove call to deleted func.
5207
5208 * play/landmark.el (landmark-mode): Fix typos.
5209
5210 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5211 Check cvs-sort-ignore-file is bound.
5212
5213 * savehist.el: No need for cl when compiling on Emacs.
5214
5215 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5218 (bug#15338).
5219 (eshell-self-insert-command, eshell-send-invisible):
5220 Remove unused argument.
5221 (eshell-handle-control-codes): Remove unused var `orig'.
5222 Avoid delete-backward-char.
5223
5224 * files.el (set-auto-mode): Simplify a bit further.
5225
5226 2013-09-11 Glenn Morris <rgm@gnu.org>
5227
5228 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5229 (set-auto-mode): Don't regexp-quote elements.
5230 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5231 * progmodes/cc-mode.el (interpreter-mode-alist):
5232 * progmodes/ruby-mode.el (interpreter-mode-alist):
5233 Revert previous change.
5234
5235 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * play/snake.el (snake-mode):
5238 * play/mpuz.el (mpuz-mode):
5239 * play/landmark.el (lm-mode):
5240 * play/blackbox.el (blackbox-mode):
5241 * play/5x5.el (5x5-mode):
5242 * obsolete/options.el (Edit-options-mode):
5243 * net/quickurl.el (quickurl-list-mode):
5244 * net/newst-treeview.el (newsticker-treeview-mode):
5245 * mail/rmailsum.el (rmail-summary-mode):
5246 * mail/mspools.el (mspools-mode):
5247 * locate.el (locate-mode):
5248 * ibuffer.el (ibuffer-mode):
5249 * emulation/ws-mode.el (wordstar-mode):
5250 * emacs-lisp/debug.el (debugger-mode):
5251 * array.el (array-mode):
5252 * net/eudc.el (eudc-mode): Use define-derived-mode.
5253 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5254 Move initialization into declaration.
5255 (mairix-searches-mode): Use define-derived-mode.
5256 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5257 (eudc-edit-hotlist): Use dolist.
5258 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5259 (Man-mode): Use define-derived-mode.
5260 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5261 (Info-edit-mode): Use define-derived-mode.
5262 (Info-cease-edit): Use Info-mode.
5263 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5264 into declaration.
5265 (eshell-mode): Use define-derived-mode.
5266 * chistory.el (command-history-mode-map): Rename from
5267 command-history-map.
5268 (command-history-mode): Use define-derived-mode.
5269 (Command-history-setup): Remove function.
5270 * calc/calc.el (calc-trail-mode-map): New var.
5271 (calc-trail-mode): Use define-derived-mode.
5272 (calc-trail-buffer): Set calc-main-buffer manually.
5273 * bookmark.el (bookmark-insert-annotation): New function.
5274 (bookmark-edit-annotation): Use it.
5275 (bookmark-edit-annotation-mode): Make it a proper major mode.
5276 (bookmark-send-edited-annotation): Use derived-mode-p.
5277 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5278 closer to its ideal place. Use \' to match EOS.
5279
5280 * profiler.el (profiler-calltree-find): Use function-equal.
5281
5282 2013-09-10 Glenn Morris <rgm@gnu.org>
5283
5284 * files.el (interpreter-mode-alist): Convert to regexps.
5285 (set-auto-mode): Adapt for this. (Bug#15306)
5286 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5287 Comment out unused variable.
5288 * progmodes/cc-mode.el (interpreter-mode-alist):
5289 * progmodes/python.el (interpreter-mode-alist):
5290 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5291 * progmodes/sh-script.el (sh-set-shell):
5292 No longer use interpreter-mode-alist to get list of shells.
5293
5294 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5295
5296 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5297
5298 * simple.el: Use set-temporary-overlay-map for universal-argument.
5299 (universal-argument-map): Don't use default-bindings (bug#15317).
5300 Bind switch-frame explicitly. Replace universal-argument-minus with
5301 a conditional binding.
5302 (universal-argument-num-events, saved-overriding-map): Remove.
5303 (restore-overriding-map): Remove.
5304 (universal-argument--mode): Rename from save&set-overriding-map,
5305 and rewrite.
5306 (universal-argument, universal-argument-more, negative-argument)
5307 (digit-argument): Adjust accordingly.
5308 (universal-argument-minus): Remove.
5309 (universal-argument-other-key): Remove.
5310
5311 * subr.el (with-demoted-errors): Add `format' argument.
5312
5313 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5314
5315 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5316 `tramp-cleanup-connection'.
5317
5318 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5319 parameters KEEP-DEBUG and KEEP-PASSWORD.
5320
5321 * net/tramp.el (tramp-file-name-handler):
5322 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5323 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5324 (tramp-maybe-open-connection):
5325 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5326 Use `tramp-cleanup-connection'.
5327
5328 * net/tramp-sh.el (tramp-maybe-open-connection):
5329 Catch 'uname-changed inside the progress reporter.
5330
5331 2013-09-10 Glenn Morris <rgm@gnu.org>
5332
5333 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5334
5335 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5336 returns "alternate access method" in mode (eg "-rw-r--r--.").
5337
5338 2013-09-08 Glenn Morris <rgm@gnu.org>
5339
5340 * saveplace.el (load-save-place-alist-from-file):
5341 Demote errors. (Bug#15305)
5342
5343 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5344
5345 Improve compatibility with older Emacsen, and XEmacs.
5346
5347 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5348 only if it is bound. It isn't for XEmacs.
5349 (with-tramp-progress-reporter): Do not let-bind `result'.
5350 This yields to scoping errors in XEmacs.
5351 (tramp-handle-make-auto-save-file-name): New function, moved from
5352 tramp-sh.el.
5353
5354 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5355 for `make-auto-save-file-name'.
5356 (tramp-adb--gnu-switches-to-ash):
5357 Use `tramp-compat-replace-regexp-in-string'.
5358
5359 * net/tramp-cache.el (tramp-cache-print): Call
5360 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5361
5362 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5363 bound. It isn't for XEmacs.
5364
5365 * net/tramp-compat.el (tramp-compat-copy-file):
5366 Catch `wrong-number-of-arguments' error.
5367 (tramp-compat-replace-regexp-in-string): New defun.
5368
5369 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5370 for `make-auto-save-file-name'.
5371 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5372 `copy-file'.
5373 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5374 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5375 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5376
5377 * net/tramp-gw.el (tramp-gw-open-network-stream):
5378 Use `tramp-compat-replace-regexp-in-string'.
5379
5380 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5381 Call `tramp-handle-make-auto-save-file-name'.
5382 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5383 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5384 (tramp-sh-file-inotifywait-process-filter):
5385 Use `tramp-compat-replace-regexp-in-string'.
5386 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5387
5388 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5389 for `make-auto-save-file-name'.
5390 (tramp-smb-handle-copy-directory):
5391 Call `tramp-compat-replace-regexp-in-string'.
5392 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5393 (tramp-smb-handle-copy-file): Improve error message.
5394 (tramp-smb-handle-rename-file): Rename directly only in case
5395 `newname' does not exist yet. This is a restriction of smbclient.
5396 (tramp-smb-maybe-open-connection): Rerun the function only when
5397 `auth-sources' is non-nil.
5398
5399 2013-09-08 Kenichi Handa <handa@gnu.org>
5400
5401 * international/characters.el: Set category "^" (Combining) for
5402 more characters.
5403
5404 2013-09-07 Alan Mackenzie <acm@muc.de>
5405
5406 Correctly fontify Java class constructors.
5407 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5408 in Java Mode.
5409 (c-recognize-typeless-decls): Set the Java value to t.
5410 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5411 While handling a "(", add a check for, effectively, Java, and handle a
5412 "typeless" declaration there.
5413
5414 2013-09-07 Roland Winkler <winkler@gnu.org>
5415
5416 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5417 field subtitle for entry type book.
5418
5419 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * minibuffer.el: Make minibuffer-complete call completion-in-region
5422 rather than other way around.
5423 (completion--some, completion-pcm--find-all-completions):
5424 Don't delay signals when debugging.
5425 (minibuffer-completion-contents): Beware fields within the
5426 minibuffer contents.
5427 (completion-all-sorted-completions): Use defvar-local.
5428 (completion--do-completion, completion--cache-all-sorted-completions)
5429 (completion-all-sorted-completions, minibuffer-force-complete):
5430 Add args `beg' and `end'.
5431 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5432 (minibuffer-complete): Use completion-in-region.
5433 (completion-complete-and-exit): New fun, extracted from
5434 minibuffer-complete-and-exit.
5435 (minibuffer-complete-and-exit): Use it.
5436 (completion--complete-and-exit): Rename from
5437 minibuffer--complete-and-exit.
5438 (completion-in-region--single-word): New function, extracted from
5439 minibuffer-complete-word.
5440 (minibuffer-complete-word): Use it.
5441 (display-completion-list): Make `common-substring' argument obsolete.
5442 (completion--in-region): Call completion--in-region-1 instead of
5443 minibuffer-complete.
5444 (completion-help-at-point): Pass boundaries to
5445 minibuffer-completion-help as args rather than via an overlay.
5446 (completion-pcm--string->pattern): Use `any-delim'.
5447 (completion-pcm--optimize-pattern): New function.
5448 (completion-pcm--pattern->regex): Handle `any-delim'.
5449 * icomplete.el (icomplete-forward-completions)
5450 (icomplete-backward-completions, icomplete-completions):
5451 Adjust calls to completion-all-sorted-completions and
5452 completion--cache-all-sorted-completions.
5453 (icomplete-with-completion-tables): Default to t.
5454 * emacs-lisp/crm.el (crm--current-element): Rename from
5455 crm--select-current-element. Don't put an overlay but return the
5456 boundaries instead.
5457 (crm--completion-command): Take two new args to bind to the boundaries.
5458 (crm-completion-help): Adjust accordingly.
5459 (crm-complete): Use completion-in-region.
5460 (crm-complete-word): Use completion-in-region--single-word.
5461 (crm-complete-and-exit): Use completion-complete-and-exit.
5462
5463 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5466 than dynamically.
5467
5468 2013-09-06 Juri Linkov <juri@jurta.org>
5469
5470 * info.el (Info-display-images-node): When image file doesn't exist
5471 display text version of the image if it's provided in the Info file.
5472 Otherwise, display the location of missing image from SRC attribute.
5473 Add help-echo text property from ALT attribute. (Bug#15279)
5474
5475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5478 (edit-abbrevs-mode): Use define-derived-mode.
5479
5480 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5481 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5482 that it's defined.
5483 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5484 Use define-derived-mode.
5485
5486 * epg.el (epg-start-encrypt): Minor CSE simplification.
5487
5488 2013-09-06 William Xu <william.xwl@gmail.com>
5489
5490 * arc-mode.el: Add support for 7za (bug#15264).
5491 (archive-7z-program): New var.
5492 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5493 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5494 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5495
5496 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5497
5498 Remove URL syntax.
5499
5500 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5501 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5502 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5503 (tramp-postfix-host-format, tramp-file-name-regexp)
5504 (tramp-completion-file-name-regexp)
5505 (tramp-completion-dissect-file-name)
5506 (tramp-handle-substitute-in-file-name): Remove 'url case.
5507 (tramp-file-name-regexp-url)
5508 (tramp-completion-file-name-regexp-url): Remove constants.
5509
5510 2013-09-06 Glenn Morris <rgm@gnu.org>
5511
5512 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5513
5514 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5515
5516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5517 keywords" below "here-doc beginnings" (Bug#15270).
5518
5519 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * subr.el (pop): Use `car-safe'.
5522 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5523 to detect unused `pop' return value.
5524
5525 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5526 var `block-regexp'.
5527 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5528 (python-fill-string): Remove unused var `marker'.
5529 (python-skeleton-add-menu-items): Remove unused var `items'.
5530
5531 * international/mule-cmds.el: Require CL.
5532 (find-coding-systems-for-charsets): Avoid add-to-list.
5533 (sanitize-coding-system-list): New function, extracted from
5534 select-safe-coding-system-interactively.
5535 (select-safe-coding-system-interactively): Use it.
5536 (read-input-method-name): Accept symbols for `default'.
5537
5538 * emacs-lisp/advice.el (defadvice): Add indent rule.
5539
5540 2013-09-05 Daniel Hackney <dan@haxney.org>
5541
5542 * dired-x.el:
5543 * net/ange-ftp.el:
5544 * net/browse-url.el:
5545 * net/dbus.el:
5546 * net/eudc.el:
5547 * net/eudcb-ldap.el:
5548 * net/eww.el:
5549 * net/imap.el:
5550 * printing.el:
5551 * vc/ediff-diff.el:
5552 * vc/ediff-init.el:
5553 * vc/ediff-merg.el:
5554 * vc/ediff-mult.el:
5555 * vc/ediff-util.el:
5556 * vc/ediff-wind.el:
5557 * vc/ediff.el:
5558 * vc/emerge.el:
5559 * vc/pcvs.el:
5560 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5561 byte compiler. Remove some unused let-bound variables.
5562
5563 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5566 a "ref-cell", since it gets better optimized (bug#14883).
5567
5568 2013-09-05 Glenn Morris <rgm@gnu.org>
5569
5570 * progmodes/cc-awk.el (c-forward-sws): Declare.
5571
5572 2013-09-04 Glenn Morris <rgm@gnu.org>
5573
5574 * generic-x.el [rul-generic-mode]: Require cc-mode.
5575 (c++-mode-syntax-table): Declare.
5576 (rul-generic-mode-syntax-table): Init in the defvar.
5577
5578 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5579
5580 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5581 (vc-do-command, vc-set-async-update):
5582 * vc/vc-mtn.el (vc-mtn-dir-status):
5583 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5584 (vc-hg-pull, vc-hg-merge-branch):
5585 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5586 (vc-git-merge-branch):
5587 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5588 (vc-cvs-dir-status-files):
5589 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5590 (vc-bzr-dir-status-files):
5591 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5592 * vc/vc-annotate.el: Use lexical-binding.
5593 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5594 (vc-sentinel-movepoint): Declare.
5595 (vc-annotate): Don't use `goto-line'.
5596 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5597 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5598 (vc-sentinel-movepoint): Declare.
5599 * vc/vc-svn.el: Use lexical-binding.
5600 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5601 * vc/vc-sccs.el:
5602 * vc/vc-rcs.el: Use lexical-binding.
5603
5604 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5605 `deleted'. Don't drop errors silently.
5606
5607 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5608
5609 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5610
5611 * vc/vc.el (vc-ignore): Rewrite.
5612 (vc-default-ignore): New function.
5613 (vc-default-ignore-completion-table): Use find-ignore-file.
5614
5615 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5616 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5617 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5618 Remove. Most code moved to vc.el.
5619
5620 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5623 * net/tramp-smb.el (tramp-smb-get-file-entries):
5624 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5625 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5626
5627 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5628 Update call to it.
5629 (eww-change-select): Remove unused var `properties'.
5630 (eww-make-unique-file-name): Remove unused var `base'.
5631
5632 * finder.el (finder-compile-keywords): Don't mess with windows.
5633
5634 * calculator.el (calculator-funcall): Fix typo in last change.
5635
5636 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5637
5638 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5639 <pkg>-autoloads.el file stop us.
5640
5641 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5642 warnings, and factor out common code.
5643
5644 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5645
5646 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5647 two-character operators and whether the character preceding them
5648 changes their meaning (Bug#15208).
5649
5650 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5651
5652 Format code sent to Python shell for robustness.
5653 * progmodes/python.el (python-shell-buffer-substring):
5654 New function.
5655 (python-shell-send-region, python-shell-send-buffer): Use it.
5656
5657 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5660 * net/tramp.el (tramp-user-error): ... here.
5661 (tramp-find-method, tramp-check-proper-host)
5662 (tramp-dissect-file-name, tramp-debug-message)
5663 (tramp-handle-shell-command):
5664 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5665 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5666
5667 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5668
5669 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5670
5671 * avoid.el (mouse-avoidance-point-position)
5672 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5673 returns nil.
5674
5675 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5676
5677 * progmodes/python.el (python-shell-completion-get-completions):
5678 Drop use of deleted `comint-last-prompt-overlay'.
5679 (python-nav-if-name-main): New command.
5680
5681 2013-09-01 Glenn Morris <rgm@gnu.org>
5682
5683 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5684 Avoid leading space in $wins. Otherwise the sed command used by
5685 eg compile-main ends up containing "/*.el". (Bug#15170)
5686
5687 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5688
5689 2013-08-30 Glenn Morris <rgm@gnu.org>
5690
5691 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5692 Fix is-this-a-directory logic. (Bug#15220)
5693
5694 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5695
5696 * textmodes/css-mode.el: Use SMIE.
5697 (css-smie-grammar): New var.
5698 (css-smie--forward-token, css-smie--backward-token)
5699 (css-smie-rules): New functions.
5700 (css-mode): Use them.
5701 (css-navigation-syntax-table): Remove var.
5702 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5703 (css-indent-calculate, css-indent-line): Remove functions.
5704
5705 Misc changes to reduce use of `(lambda...); and other cleanups.
5706 * cus-edit.el: Use lexical-binding.
5707 (customize-push-and-save, customize-apropos)
5708 (custom-buffer-create-internal): Use closures.
5709 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5710 * progmodes/ada-xref.el: Use setq.
5711 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5712 * dframe.el: Use lexical-binding.
5713 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5714 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5715 * descr-text.el: Use lexical-binding.
5716 (describe-text-widget, describe-text-sexp, describe-property-list):
5717 Use closures.
5718 * comint.el (comint-history-isearch-push-state): Use a closure.
5719 * calculator.el: Use lexical-binding.
5720 (calculator-number-to-string): Make it work with lexical-binding.
5721 (calculator-funcall): Same and use cl-letf.
5722
5723 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5724 (lisp--company-doc-string, lisp--company-location): New functions.
5725 (lisp-completion-at-point): Use them to improve Company support.
5726
5727 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5728 params of lambda expressions.
5729 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5730 (ruby-smie--opening-pipe-p): New function.
5731 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5732 symbols and matched |...| for formal params.
5733 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5734 from being treated as hanging. Handle "rescue".
5735
5736 2013-08-29 Glenn Morris <rgm@gnu.org>
5737
5738 * progmodes/cc-engine.el (c-pull-open-brace):
5739 Move definition before use.
5740
5741 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5742
5743 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5744 are immutable. Don't use `unsafe' any more.
5745 (cl--defsubst-expand): Don't substitute at the same time as keeping
5746 a residual unused let-binding. Don't use `unsafe' any more.
5747
5748 2013-08-29 Glenn Morris <rgm@gnu.org>
5749
5750 * calendar/cal-china.el (calendar-chinese-year-cache):
5751 Recenter on 2015.
5752
5753 * nxml/nxml-util.el (nxml-debug-clear-inside):
5754 Use cl-loop rather than loop.
5755
5756 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5757
5758 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5759
5760 2013-08-28 Glenn Morris <rgm@gnu.org>
5761
5762 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5763
5764 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5765
5766 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5767
5768 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5769
5770 * simple.el (repeat-complex-command--called-interactively-skip):
5771 New function.
5772 (repeat-complex-command): Use it (bug#14136).
5773
5774 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5775 (c-define-abbrev-table): Add `doc' argument.
5776 (c-mode-abbrev-table, c++-mode-abbrev-table)
5777 (objc-mode-abbrev-table, java-mode-abbrev-table)
5778 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5779 (awk-mode-abbrev-table): Use it.
5780 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5781 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5782 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5783 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5784 Move initialization into the declaration; and remove any
5785 autoload cookie.
5786
5787 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5788 and dynamic let binding.
5789
5790 * vc/smerge-mode.el: Remove redundant :group args.
5791
5792 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5793 to load-path.
5794
5795 2013-08-28 Juri Linkov <juri@jurta.org>
5796
5797 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5798 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5799 (isearch-other-meta-char): Handle an undefined shifted printing
5800 character by downshifting it. (Bug#15200)
5801
5802 2013-08-28 Juri Linkov <juri@jurta.org>
5803
5804 * isearch.el (isearch-search): Change regexp error message for
5805 non-regexp searches. (Bug#15166)
5806
5807 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5808
5809 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5810 for portability to hosts where /bin/sh has problems.
5811
5812 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5813
5814 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5815
5816 2013-08-27 Juri Linkov <juri@jurta.org>
5817
5818 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5819 in the keyboard macro. (Bug#15126)
5820
5821 2013-08-27 Juri Linkov <juri@jurta.org>
5822
5823 * isearch.el (isearch-quote-char): Comment out converting unibyte
5824 to multibyte, thus syncing with its `quoted-insert' counterpart.
5825 (Bug#15166)
5826
5827 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5828
5829 * window.el (display-buffer-use-some-window): Add missing
5830 argument in call of get-largest-window (Bug#15185).
5831 Reported by Stephen Leake.
5832
5833 2013-08-27 Glenn Morris <rgm@gnu.org>
5834
5835 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5836
5837 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5840 from a matcher-function unless there's no more matches (bug#15161).
5841
5842 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5843
5844 * minibuffer.el: Revert change from 2013-08-20.
5845
5846 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5847 with text property `tramp-default', if appropriate.
5848 (tramp-check-proper-host): New defun.
5849 (tramp-dissect-file-name): Do not check hostname. Revert change
5850 of 2013-03-18.
5851 (tramp-backtrace): Make VEC-OR-PROC optional.
5852
5853 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5854 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5855 * net/tramp-sh.el (tramp-maybe-open-connection):
5856 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5857 Apply `tramp-check-proper-host'.
5858
5859 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5860
5861 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5862 lambda expression in order to have `describe-variable' display it.
5863
5864 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5867 BUF can be optional. (Bug#15186)
5868
5869 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5870
5871 * progmodes/flymake.el (flymake-get-real-file-name-function):
5872 Fix broken customization. (Bug#15184)
5873
5874 2013-08-25 Alan Mackenzie <acm@muc.de>
5875
5876 Improve indentation of bracelists defined by macros (without "=").
5877
5878 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5879 expansion begins with "{", regard it as bracelist when it doesn't
5880 contain a ";".
5881
5882 Parse C++ inher-intro when there's a template split over 2 lines.
5883
5884 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5885 rigorously the search for "class" etc. followed by ":".
5886
5887 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5888 random languages a regexp which never matches rather than nil.
5889
5890 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5891
5892 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5893 (c-awk-regexp-one-line-possibly-open-char-list-re)
5894 (c-awk-one-line-possibly-open-regexp-re)
5895 (c-awk-one-line-non-syn-ws*-re): Remove.
5896 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5897 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5898 (c-awk-space*-unclosed-regexp-/-re): New constants.
5899 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5900 aren't regexp delimiters.
5901
5902 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5903 handling for a rare situation in AWK Mode involving unterminated
5904 strings/regexps.
5905
5906 2013-08-23 Glenn Morris <rgm@gnu.org>
5907
5908 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5909
5910 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5911
5912 * files.el (create-file-buffer): If the result would begin with
5913 spaces, prepend a "|" instead of removing them. (Bug#15162)
5914
5915 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5918 text-properties (bug#15155).
5919
5920 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5921 exist any more.
5922 (calc-keypad-redraw): Remove unused var `pad'.
5923 (calc-keypad-press): Remove unused var `menu'.
5924
5925 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5926
5927 * window.el (display-buffer-pop-up-frame):
5928 Call pop-up-frame-function with BUFFER current so `make-frame' will
5929 use it as the new frame's buffer (Bug#15133).
5930
5931 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5932
5933 * calendar/timeclock.el: Minor cleanups.
5934 (timeclock-ask-before-exiting, timeclock-use-display-time):
5935 Use `symbol'.
5936 (timeclock-modeline-display): Define as alias before the
5937 actual definition.
5938 (timeclock-mode-line-display): Use define-minor-mode.
5939 (timeclock-day-list-template): Make it a function, add an argument.
5940 (timeclock-day-list-required, timeclock-day-list-length)
5941 (timeclock-day-list-debt, timeclock-day-list-span)
5942 (timeclock-day-list-break): Adjust calls accordingly.
5943
5944 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5947 Use read--expression so that completion works again.
5948
5949 2013-08-21 Sam Steingold <sds@gnu.org>
5950
5951 Add rudimentary inferior shell interaction
5952 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5953 (sh-set-shell): Reset it.
5954 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5955 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5956
5957 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * align.el: Use lexical-binding.
5960 (align-region): Simplify accordingly.
5961
5962 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5963
5964 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5965
5966 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5967 `non-essential' up.
5968
5969 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5970
5971 * net/tramp.el:
5972 * net/tramp-adb.el:
5973 * net/tramp-cmds.el:
5974 * net/tramp-ftp.el:
5975 * net/tramp-gvfs.el:
5976 * net/tramp-gw.el:
5977 * net/tramp-sh.el: Don't wrap external variable declarations by
5978 `eval-when-compile'.
5979
5980 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5981
5982 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5983 now that Emacs supports ImageMagick animations.
5984
5985 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5986
5987 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5988 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5989
5990 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5991
5992 * window.el (mouse-autoselect-window-select): Do autoselect when
5993 mouse pointer is on margin.
5994
5995 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5996
5997 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5998
5999 2013-08-16 Glenn Morris <rgm@gnu.org>
6000
6001 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6002 Handle "Remote Directory" response of some clients. (Bug#15058)
6003
6004 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6005 Tweak warning. (Bug#14926)
6006
6007 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6008 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6009
6010 * image-mode.el (image-mode-map): Add menu items to reverse,
6011 increase, decrease, reset animation speed.
6012 (image--set-speed, image-increase-speed, image-decrease-speed)
6013 (image-reverse-speed, image-reset-speed): New functions.
6014 (image-mode-map): Add bindings for speed commands.
6015
6016 * image.el (image-animate-get-speed, image-animate-set-speed):
6017 New functions.
6018 (image-animate-timeout): Respect image :speed property.
6019
6020 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6023 previous line (bug#15101).
6024 (debugger-eval-expression, debugger-record-expression):
6025 Use read--expression (bug#15102).
6026
6027 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6028
6029 Remove byte compiler warnings, visible when compiling with
6030 `byte-compile-force-lexical-warnings' set to t.
6031
6032 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6033 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6034 (tramp-handle-unhandled-file-name-directory)
6035 (tramp-handle-file-notify-add-watch, tramp-action-login)
6036 (tramp-action-succeed, tramp-action-permission-denied)
6037 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6038 arguments with "_".
6039
6040 * net/tramp-adb.el (tramp-adb-parse-device-names)
6041 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6042 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6043 (tramp-adb-handle-file-truename): Remove unused arguments.
6044
6045 * net/tramp-cache.el (tramp-flush-directory-property)
6046 (tramp-flush-connection-property, tramp-list-connections)
6047 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6048
6049 * net/tramp-compat.el (tramp-compat-make-temp-file):
6050 Rename FILENAME to F.
6051
6052 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6053 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6054 (tramp-zeroconf-parse-workstation-device-names)
6055 (tramp-zeroconf-parse-webdav-device-names)
6056 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6057
6058 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6059 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6060
6061 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6062 arguments.
6063 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6064 (tramp-sh-handle-insert-file-contents-literally)
6065 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6066 with "_".
6067 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6068 Remove unused variables.
6069
6070 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6071 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6072 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6073
6074 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6075 Make them a defconst.
6076 (tramp-uuencode-region): Remove unused variable.
6077
6078 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6079
6080 * frameset.el (frameset--prop-setter): New function.
6081 (frameset-prop): Add gv-setter declaration.
6082 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6083 parameter was already set in FILTERED. Doc fix.
6084 (frameset--record-minibuffer-relationships): Allow saving a
6085 minibufferless frame without its corresponding minibuffer frame.
6086 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6087 frame, if the frame id matches.
6088 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6089 frames before orphaned ones.
6090 (frameset-restore): Warn about orphaned windows, instead of error out.
6091
6092 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6093
6094 * window.el (window-make-atom): Don't overwrite parameter
6095 already present.
6096 (display-buffer-in-atom-window): Handle special case where we
6097 split an already atomic window.
6098 (window--major-non-side-window, display-buffer-in-side-window)
6099 (window--side-check): Ignore minibuffer window when walking
6100 window tree.
6101 (window-deletable-p): Return 'frame only if no other frame uses
6102 our minibuffer window.
6103 (record-window-buffer): Run buffer-list-update-hook.
6104 (split-window): Make sure window--check-frame won't destroy an
6105 existing atomic window in case the new window gets nested
6106 inside.
6107 (display-buffer-at-bottom): Ignore minibuffer window when
6108 walking window tree. Don't split a side window.
6109 (pop-to-buffer): Don't set-buffer here, the select-window call
6110 should do that.
6111 (mouse-autoselect-window-select): Autoselect only if we are in the
6112 text portion of the window.
6113
6114 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6115
6116 * net/shr.el (shr-parse-image-data): New function to grab both the
6117 data itself and the Content-Type.
6118 (shr-put-image): Use it.
6119
6120 * net/eww.el (eww-display-image): Ditto.
6121
6122 * image.el (image-content-type-suffixes): New variable.
6123
6124 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6125
6126 * progmodes/python.el (python-imenu--build-tree)
6127 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6128
6129 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6130
6131 * simple.el (backward-word): Mention the optional argument.
6132
6133 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6134
6135 * frameset.el (frameset--make): Rename constructor from make-frameset.
6136 (frameset-p, frameset-valid-p): Don't autoload.
6137 (frameset-valid-p): Use normal accessors.
6138
6139 2013-08-13 Glenn Morris <rgm@gnu.org>
6140
6141 * progmodes/compile.el (compile-command): Tweak example in doc.
6142 * obsolete/scribe.el (scribe-mode):
6143 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6144
6145 * mail/feedmail.el (feedmail-confirm-outgoing)
6146 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6147
6148 * cus-start.el (truncate-partial-width-windows): Fix type.
6149
6150 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6151
6152 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6153
6154 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * emacs-lisp/timer.el (timer--time-setter): New function.
6157 (timer--time): Use it as gv-setter.
6158
6159 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6160 setter is not a symbol.
6161
6162 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6163
6164 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6165 if sending fails. This makes debugging easier.
6166
6167 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6168
6169 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6170 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6171 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6172
6173 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6174
6175 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6176
6177 2013-08-12 Glenn Morris <rgm@gnu.org>
6178
6179 * format.el (format-annotate-function):
6180 Handle read-only text properties in the source. (Bug#14887)
6181
6182 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6183
6184 * net/eww.el (eww-display-html): Ignore coding system errors.
6185 One web site uses "utf-8lias" as the coding system.
6186
6187 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6188
6189 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6190
6191 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6192
6193 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6194 (tutorial--detailed-help): Remove unused local variables.
6195 (tutorial--save-tutorial-to): Use ignore-errors.
6196 (help-with-tutorial): Use looking-at-p.
6197
6198 * view.el (view-buffer-other-window, view-buffer-other-frame):
6199 Mark unused arguments.
6200
6201 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6202 (woman-select-symbol-fonts, woman, woman-find-file)
6203 (woman-insert-file-contents, woman-non-underline-faces):
6204 Use string-match-p.
6205 (woman1-unquote): Move declaration.
6206
6207 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6208 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6209 argument. Remove unused local variable.
6210 (xml-parse-elem-type): Use string-match-p.
6211 (xml-substitute-numeric-entities): Use ignore-errors.
6212
6213 * calculator.el (calculator): Mark unused argument.
6214 (calculator-paste, calculator-quit, calculator-integer-p):
6215 Use ignore-errors.
6216 (calculator-string-to-number, calculator-decimal, calculator-exp)
6217 (calculator-op-or-exp): Use string-match-p.
6218
6219 * dired.el (dired-buffer-more-recently-used-p): Declare.
6220 (dired-insert-set-properties, dired-insert-old-subdirs):
6221 Use ignore-errors.
6222
6223 * dired-aux.el (dired-compress): Use ignore-errors.
6224 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6225 (dired-do-async-shell-command, dired-do-shell-command)
6226 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6227 (dired-insert-subdir-validate): Use string-match-p.
6228 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6229 (dired-add-entry): Use string-match-p, looking-at-p.
6230 (dired-insert-subdir-newpos): Remove unused local variable.
6231
6232 * filenotify.el (file-notify-callback): Remove unused local variable.
6233
6234 * filesets.el (filesets-error): Mark unused argument.
6235 (filesets-which-command-p, filesets-filter-dir-names)
6236 (filesets-directory-files, filesets-get-external-viewer)
6237 (filesets-ingroup-get-data): Use string-match-p.
6238
6239 * find-file.el (ff-other-file-name, ff-other-file-name)
6240 (ff-find-the-other-file, ff-cc-hh-converter):
6241 Remove unused local variables.
6242 (ff-get-file-name): Use string-match-p.
6243 (ff-all-dirs-under): Use ignore-errors.
6244
6245 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6246 (follow-select-if-visible): Remove unused local variable.
6247
6248 * forms.el (read-file-filter): Move declaration.
6249 (forms--make-format, forms--make-parser, forms-insert-record):
6250 Quote function with #'.
6251 (forms--update): Use string-match-p. Quote function with #'.
6252
6253 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6254 (help-make-xrefs): Use looking-at-p.
6255 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6256
6257 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6258 (ibuffer-confirm-operation-on): Use string-match-p.
6259
6260 * msb.el (msb-item-handler, msb-dired-item-handler):
6261 Mark unused arguments.
6262
6263 * ses.el (ses-decode-cell-symbol)
6264 (ses-kill-override): Remove unused local variable.
6265 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6266 (ses-load): Use ignore-errors, looking-at-p.
6267 (ses-jump-safe): Use ignore-errors.
6268 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6269
6270 * tabify.el (untabify, tabify): Mark unused arguments.
6271
6272 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6273 Mark unused argument.
6274 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6275 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6276
6277 * emacs-lisp/timer.el (timer--time): Define setter with
6278 gv-define-setter to avoid deprecation warning.
6279
6280 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6281 (*record-cmpl-statistics-p*): Remove (was commented out).
6282 (cmpl-statistics-block): Remove (body was commented out).
6283 All callers changed.
6284 (add-completions-from-buffer, load-completions-from-file):
6285 Remove unused variables.
6286
6287 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * filecache.el (file-cache-delete-file-list):
6290 Print message only when told so.
6291 (file-cache-files-matching): Use #' in mapconcat argument.
6292
6293 * ffap.el (ffap-url-at-point): Fix reference to variable
6294 thing-at-point-default-mail-uri-scheme.
6295
6296 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * subr.el (define-error): New function.
6299 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6300 error-file-not-found and define with define-error.
6301 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6302 and define with define-error.
6303 * userlock.el (file-locked, file-supersession):
6304 * simple.el (mark-inactive):
6305 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6306 * progmodes/ada-mode.el (ada-mode-errors):
6307 * play/life.el (life-extinct):
6308 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6309 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6310 * nxml/rng-util.el (rng-error):
6311 * nxml/rng-uri.el (rng-uri-error):
6312 * nxml/rng-match.el (rng-compile-error):
6313 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6314 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6315 * nxml/nxml-rap.el (nxml-scan-error):
6316 * nxml/nxml-outln.el (nxml-outline-error):
6317 * net/soap-client.el (soap-error):
6318 * net/gnutls.el (gnutls-error):
6319 * net/ange-ftp.el (ftp-error):
6320 * mpc.el (mpc-proc-error):
6321 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6322 (json-number-format, json-string-escape, json-string-format)
6323 (json-key-format, json-object-format):
6324 * jka-compr.el (compression-error):
6325 * international/quail.el (quail-error):
6326 * international/kkc.el (kkc-error):
6327 * emacs-lisp/ert.el (ert-test-failed):
6328 * calc/calc.el (calc-error, inexact-result, math-overflow)
6329 (math-underflow):
6330 * bookmark.el (bookmark-error-no-filename):
6331 * epg.el (epg-error): Define with define-error.
6332
6333 * time.el (display-time-event-handler)
6334 (display-time-next-load-average): Don't call sit-for since it seems
6335 unnecessary (bug#15045).
6336
6337 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6338 Use #' instead of ' to quote functions.
6339 (checkdoc-output-mode): Use setq-local.
6340 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6341 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6342 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6343 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6344 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6345 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6346 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6347 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6348
6349 * ido.el (ido-completion-help): Fix up compiler warning.
6350
6351 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6352
6353 * frameset.el (frameset-p): Add autoload cookie.
6354 (frameset--jump-to-register): New function, based on code moved from
6355 register.el.
6356 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6357
6358 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6359 (frameset-restore, frameset-save, frameset-session-filter-alist):
6360 Remove declarations.
6361 (register-alist): Doc fix.
6362 (frameset-to-register): Move to frameset.el.
6363 (jump-to-register, describe-register-1): Remove frameset-specific code.
6364
6365 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6366
6367 * allout-widgets.el (allout-widgets-pre-command-business)
6368 (allout-widgets-post-command-business)
6369 (allout-widgets-after-change-handler)
6370 (allout-decorate-item-and-context, allout-set-boundary-marker)
6371 (allout-body-modification-handler)
6372 (allout-graphics-modification-handler): Mark ignored arguments.
6373 (allout-widgets-post-command-business)
6374 (allout-widgets-exposure-change-processor)
6375 (allout-widgets-exposure-undo-processor)
6376 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6377 (allout-parse-item-at-point, allout-decorate-item-guides)
6378 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6379 * allout.el (epa-passphrase-callback-function): Declare.
6380 (allout-overlay-insert-in-front-handler)
6381 (allout-overlay-interior-modification-handler)
6382 (allout-isearch-end-handler, allout-chart-siblings)
6383 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6384 (allout-yank-processing, allout-process-exposed)
6385 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6386 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6387 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6388 (lisp-indent-defform): Mark ignored arguments.
6389 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6390 (calculate-lisp-indent): Remove unused variables.
6391 * international/characters.el (indian-2-column, arabic-2-column)
6392 (tibetan): Mark ignored arguments.
6393 (use-cjk-char-width-table): Mark ignored arguments.
6394 Remove unused variables.
6395 * international/fontset.el (build-default-fontset-data)
6396 (x-compose-font-name, create-fontset-from-fontset-spec):
6397 Mark ignored arguments.
6398 (fontset-plain-name): Remove unused variables.
6399 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6400 (keyboard-coding-system): Mark ignored arguments.
6401 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6402 * help.el (resize-temp-buffer-window):
6403 * window.el (display-buffer-in-major-side-window)
6404 (display-buffer-in-side-window, display-buffer-in-previous-window):
6405 Remove unused variables.
6406 * isearch.el (isearch-forward-symbol):
6407 * version.el (emacs-bzr-version-bzr):
6408 * international/mule-cmds.el (current-language-environment):
6409 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6410 (x-handle-display):
6411 * term/pc-win.el (x-list-fonts, x-display-planes)
6412 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6413 (x-server-version, x-display-screens, x-display-mm-height)
6414 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6415 (x-selection-owner-p, x-own-selection-internal)
6416 (x-disown-selection-internal, x-get-selection-internal)
6417 (msdos-initialize-window-system):
6418 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6419 * term/x-win.el (x-handle-no-bitmap-icon):
6420 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6421 (vc-default-find-file-hook, vc-default-extra-menu):
6422 Mark ignored arguments.
6423
6424 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6427 break-condition in the context of the debugged code (bug#12685).
6428
6429 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6430
6431 * comint.el:
6432 Do not use an overlay to highlight the last prompt. (Bug#14744)
6433 (comint-mode): Make comint-last-prompt buffer local.
6434 (comint-last-prompt): New variable.
6435 (comint-last-prompt-overlay): Remove. Superseded by
6436 comint-last-prompt.
6437 (comint-snapshot-last-prompt, comint-output-filter):
6438 Use comint-last-prompt.
6439
6440 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6441
6442 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6443 (frameset-save): Check validity of the resulting frameset.
6444
6445 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6446
6447 * ido.el (ido-record-command): Add doc string.
6448
6449 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6450
6451 * frameset.el (frameset): Do not disable creation of the default
6452 frameset-p predicate. Doc fix.
6453 (frameset-valid-p): New function, copied from the old predicate-p.
6454 Add additional checks.
6455 (frameset-restore): Check with frameset-valid-p.
6456 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6457 (frameset-name, frameset-description, frameset-properties)
6458 (frameset-states): Add docstring.
6459 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6460 (frameset-filter-alist): Doc fixes.
6461
6462 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6465
6466 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6467
6468 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6469 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6470 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6471 (byte-compile-normal-call): Remove obsolescence check.
6472
6473 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6474
6475 * frameset.el (frameset-restore): Doc fix.
6476
6477 * register.el (frameset-frame-id, frameset-frame-with-id)
6478 (frameset-p, frameset-restore, frameset-save): Declare.
6479 (register-alist): Document framesets.
6480 (frameset-session-filter-alist): Declare.
6481 (frameset-to-register): New function.
6482 (jump-to-register): Implement jumping to framesets. Doc fix.
6483 (describe-register-1): Describe framesets.
6484
6485 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6486
6487 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6488
6489 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6490 Use lexical-binding.
6491
6492 * frameset.el (frameset): Use type vector, not list (incompatible
6493 change). Do not declare a new constructor, use the default one.
6494 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6495 `name' and `description', respectively, and add read-only slot
6496 `timestamp'. Doc fixes.
6497 (frameset-copy, frameset-persistent-filter-alist)
6498 (frameset-filter-alist, frameset-switch-to-gui-p)
6499 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6500 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6501 (frameset-filter-iconified, frameset-keep-original-display-p):
6502 Doc fixes.
6503 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6504 Rename from frameset-filter-(save|restore)-param. All callers changed.
6505 Doc fix.
6506 (frameset-p): Adapt to change to vector and be more thorough.
6507 Change arg name to OBJECT. Doc fix.
6508 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6509 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6510 All callers changed.
6511 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6512 All callers changed.
6513 (frameset--record-minibuffer-relationships): Rename from
6514 frameset--process-minibuffer-frames. All callers changed.
6515 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6516 Use new default constructor (again). Doc fix.
6517 (frameset--find-frame-if): Rename from `frameset--find-frame.
6518 All callers changed.
6519 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6520 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6521 Doc fix.
6522 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6523 PARAMETERS and WINDOW-STATE, respectively.
6524 (frameset-restore): Add new keyword argument PREDICATE.
6525 Reset frameset--target-display to nil. Doc fix.
6526
6527 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6528
6529 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6530 (bat-mode): Use it.
6531 (bat-mode-syntax-table): Mark \n as end-of-comment.
6532 (bat-font-lock-keywords): Remove comment rule.
6533
6534 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6535 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6536
6537 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6538 (byte-compile-callargs-warn): Use `push'.
6539 (byte-compile-arglist-warn): Ignore higher-order "calls".
6540 (byte-compile-file-form-autoload): Use `pcase'.
6541 (byte-compile-function-form): If quoting a symbol, check that it exists.
6542
6543 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6544
6545 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6546 and add a few popular commands found in batch files.
6547 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6548 (dos-mode): Doc fixes.
6549
6550 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6553 (dos-mode): Use setq-local. Add space after "rem".
6554 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6555 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6556
6557 2013-08-07 Arni Magnusson <arnima@hafro.is>
6558
6559 * progmodes/dos.el: New file.
6560 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6561 dos-mode.
6562
6563 2013-08-06 Glenn Morris <rgm@gnu.org>
6564
6565 * calendar/calendar.el: Add new faces, and day-header-array.
6566 (calendar-weekday-header, calendar-weekend-header)
6567 (calendar-month-header): New faces.
6568 (calendar-day-header-construct): New function.
6569 (calendar-day-header-width): Also :set calendar-day-header-array.
6570 (calendar-american-month-header, calendar-european-month-header)
6571 (calendar-iso-month-header): Use calendar- faces.
6572 (calendar-generate-month):
6573 Use calendar-day-header-array for day headers; apply faces to them.
6574 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6575 (calendar-abbrev-construct): Add optional maxlen argument.
6576 (calendar-day-name-array): Doc fix.
6577 (calendar-day-name-array, calendar-abbrev-length)
6578 (calendar-day-abbrev-array):
6579 Also :set calendar-day-header-array, and maybe redraw.
6580 (calendar-day-header-array): New option. (Bug#15007)
6581 (calendar-font-lock-keywords): Set to nil and make obsolete.
6582 (calendar-day-name): Add option to use header array.
6583
6584 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6585
6586 * net/shr.el (shr-render-td): Remove debugging.
6587 (shr-render-td): Make width computation consistent by defaulting
6588 all zero-width columns to 10 characters. This may not be optimal,
6589 but it's at least consistent.
6590 (shr-make-table-1): Redo last change to fix the real problem in
6591 colspan handling.
6592
6593 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6594
6595 * files.el (cache-long-line-scans):
6596 Make obsolete alias to `cache-long-scans'.
6597
6598 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6599
6600 * frameset.el (frameset, frameset-filter-alist)
6601 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6602 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6603 (frameset-compute-pos): Rename from frameset--compute-pos,
6604 and add docstring.
6605 (frameset-move-onscreen): Use frameset-compute-pos.
6606 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6607
6608 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6609 Fix typos in docstrings.
6610
6611 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6612
6613 * frame.el (get-other-frame): Tiny cleanup.
6614
6615 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6616
6617 * vc/vc.el (vc-default-ignore-completion-table):
6618 Silence byte-compiler warning.
6619
6620 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6621 slot, which can indeed be nil.
6622 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6623 Move entry for `left' from persistent to live filter alist.
6624 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6625 Doc fixes.
6626 (frameset-filter-params): When restoring a frame, copy items added to
6627 `filtered', to avoid unwittingly modifying the original parameters.
6628 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6629 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6630
6631 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6632 to use looking-at-p instead of looking-at. (Bug#15028)
6633
6634 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 Revert introduction of isearch-filter-predicates (bug#14714).
6637 Rely on add-function instead.
6638 * isearch.el (isearch-filter-predicates): Rename it back to
6639 isearch-filter-predicate.
6640 (isearch-message-prefix): Use advice-function-mapc and advice
6641 properties to get the isearch-message-prefix.
6642 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6643 instead of run-hook-with-args-until-failure.
6644 (isearch-filter-visible): Not obsolete any more.
6645 * loadup.el: Preload nadvice.
6646 * replace.el (perform-replace): Revert to funcall
6647 instead of run-hook-with-args-until-failure.
6648 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6649 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6650 dired-isearch-filenames-toggle; make it into a proper minor mode.
6651 Use add/remove-function.
6652 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6653 Call the minor-mode rather than add/remove-hook.
6654 (dired-isearch-filter-filenames):
6655 Remove isearch-message-prefix property.
6656 * info.el (Info--search-loop): New function, extracted from Info-search.
6657 Funcall isearch-filter-predicate instead of
6658 run-hook-with-args-until-failure isearch-filter-predicates.
6659 (Info-search): Use it.
6660 (Info-mode): Use isearch-filter-predicate instead of
6661 isearch-filter-predicates.
6662
6663 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6664
6665 Do not call to `selected-window' where it is assumed by default.
6666 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6667 `window-hscroll', `window-width', `window-height', `window-buffer',
6668 `window-frame', `window-start', `window-point', `next-window'
6669 and `window-display-table'.
6670 * abbrev.el (abbrev--default-expand):
6671 * bs.el (bs--show-with-configuration):
6672 * buff-menu.el (Buffer-menu-mouse-select):
6673 * calc/calc.el (calc):
6674 * calendar/calendar.el (calendar-generate-window):
6675 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6676 (diary-make-entry):
6677 * comint.el (send-invisible, comint-dynamic-complete-filename)
6678 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6679 * completion.el (complete):
6680 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6681 * disp-table.el (describe-current-display-table):
6682 * doc-view.el (doc-view-insert-image):
6683 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6684 * ehelp.el (with-electric-help):
6685 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6686 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6687 * emacs-lisp/helper.el (Helper-help-scroller):
6688 * emulation/cua-base.el (cua--post-command-handler-1):
6689 * eshell/esh-mode.el (eshell-output-filter):
6690 * ffap.el (ffap-gnus-wrapper):
6691 * help-macro.el (make-help-screen):
6692 * hilit-chg.el (highlight-compare-buffers):
6693 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6694 * hl-line.el (global-hl-line-highlight):
6695 * icomplete.el (icomplete-simple-completing-p):
6696 * isearch.el (isearch-done):
6697 * jit-lock.el (jit-lock-stealth-fontify):
6698 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6699 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6700 * mpc.el (mpc-tagbrowser, mpc):
6701 * net/rcirc.el (rcirc-any-buffer):
6702 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6703 * play/landmark.el (landmark-max-width, landmark-max-height):
6704 * play/zone.el (zone):
6705 * progmodes/compile.el (compilation-goto-locus):
6706 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6707 * progmodes/etags.el (find-tag-other-window):
6708 * progmodes/fortran.el (fortran-column-ruler):
6709 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6710 * progmodes/verilog-mode.el (verilog-point-text):
6711 * reposition.el (reposition-window):
6712 * rot13.el (toggle-rot13-mode):
6713 * server.el (server-switch-buffer):
6714 * shell.el (shell-dynamic-complete-command)
6715 (shell-dynamic-complete-environment-variable):
6716 * simple.el (insert-buffer, set-selective-display)
6717 (delete-completion-window):
6718 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6719 (speedbar-recenter):
6720 * startup.el (fancy-splash-head):
6721 * textmodes/ispell.el (ispell-command-loop):
6722 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6723 * tutorial.el (help-with-tutorial):
6724 * vc/add-log.el (add-change-log-entry):
6725 * vc/compare-w.el (compare-windows):
6726 * vc/ediff-help.el (ediff-indent-help-message):
6727 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6728 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6729 (ediff-setup-control-frame):
6730 * vc/emerge.el (emerge-position-region):
6731 * vc/pcvs-util.el (cvs-bury-buffer):
6732 * window.el (walk-windows, mouse-autoselect-window-select):
6733 * winner.el (winner-set-conf, winner-undo): Related users changed.
6734
6735 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6736
6737 * frameset.el (frameset--set-id): Doc fix.
6738 (frameset-frame-id, frameset-frame-id-equal-p)
6739 (frameset-locate-frame-id): New functions.
6740 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6741 (frameset-restore): Use them.
6742
6743 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6744
6745 Do not call to `selected-frame' where it is assumed by default.
6746 Affected functions are `raise-frame', `redraw-frame',
6747 `frame-first-window', `frame-terminal' and `delete-frame'.
6748 * calendar/appt.el (appt-disp-window):
6749 * epg.el (epg-wait-for-completion):
6750 * follow.el (follow-delete-other-windows-and-split)
6751 (follow-avoid-tail-recenter):
6752 * international/mule.el (set-terminal-coding-system):
6753 * mail/rmail.el (rmail-mail-return):
6754 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6755 * progmodes/f90.el (f90-add-imenu-menu):
6756 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6757 * server.el (server-switch-buffer):
6758 * simple.el (delete-completion-window):
6759 * talk.el (talk):
6760 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6761 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6762 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6763 * vc/ediff.el (ediff-documentation): Related users changed.
6764 * frame.el (selected-terminal): Remove the leftover.
6765
6766 2013-08-05 Glenn Morris <rgm@gnu.org>
6767
6768 * calendar/calendar.el (calendar-generate-month):
6769 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6770 (calendar-generate-month, calendar-font-lock-keywords):
6771 Fix for calendar-day-header-width > length of any day name.
6772
6773 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6774
6775 * desktop.el (desktop-clear): Use new name of sort predicate.
6776
6777 * frameset.el (frameset): Add docstring. Move :version property to its
6778 own `version' slot.
6779 (frameset-copy): Rename from copy-frameset.
6780 (frameset-p): Check more thoroughly.
6781 (frameset-prop): Do not check for :version, which is no longer a prop.
6782 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6783 Use new :never value instead of t.
6784 (frameset-filter-alist): Expand and clarify docstring.
6785 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6786 (frameset-filter-minibuffer, frameset-filter-save-param)
6787 (frameset-filter-restore-param, frameset-filter-iconified):
6788 Add pointer to docstring of frameset-filter-alist.
6789 (frameset-filter-params): Rename filter values to be more meaningful:
6790 :never instead of t, and reverse the meanings of :save and :restore.
6791 (frameset--process-minibuffer-frames): Clarify error message.
6792 (frameset-save): Avoid unnecessary and confusing call to framep.
6793 Use new BOA constructor for framesets.
6794 (frameset--reuse-list): Doc fix.
6795 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6796 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6797 (frameset-minibufferless-first-p): Doc fix.
6798 Rename from frameset-sort-frames-for-deletion.
6799 (frameset-restore): Doc fixes. Use new function names.
6800 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6801
6802 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6803
6804 * desktop.el (desktop-restore-forces-onscreen)
6805 (desktop-restore-reuses-frames): Document :keyword constant values.
6806 (desktop-filter-parameters-alist): Remove, now identical to
6807 frameset-filter-alist.
6808 (desktop--filter-tty*): Remove, moved to frameset.el.
6809 (desktop-save-frameset, desktop-restore-frameset):
6810 Do not pass :filters argument.
6811
6812 * frameset.el (frameset-live-filter-alist)
6813 (frameset-persistent-filter-alist): New variables.
6814 (frameset-filter-alist): Use them. Add autoload cookie.
6815 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6816 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6817 `frameset--id' (it's supposed to be internal to frameset.el).
6818 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6819 (frameset--initial-params): New function.
6820 (frameset--get-frame): Use it. Doc fix.
6821 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6822 Accept :all, not 'all.
6823 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6824 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6825 with fbound symbols. Fix frame id matching, and remove matching ids if
6826 the frame being restored is deleted. Obey :delete.
6827
6828 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * subr.el (macrop): New function.
6831 (text-clone--maintaining): New var.
6832 (text-clone--maintain): Rename from text-clone-maintain. Use it
6833 instead of inhibit-modification-hooks.
6834
6835 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6836 a proxy, so as handle autoloads and redefinitions of the target.
6837 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6838
6839 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6840 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6841 (pcase--mutually-exclusive-p): New function.
6842 (pcase--split-consp): Use it.
6843 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6844 mutually exclusive with the current predicate.
6845
6846 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6847 (edebug-macrop): Remove. Use `macrop' instead.
6848 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6849 (ad-macro-p):
6850 * eshell/esh-cmd.el (eshell-macrop):
6851 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6852
6853 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6854
6855 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6856 (advice-mapc): New function, using it.
6857 (advice-function-member-p): New function.
6858 (advice--normalize): Store the cdr in advice--saved-rewrite since
6859 that's the part that will be changed.
6860 (advice--symbol-function): New function.
6861 (advice-remove): Handle removal before the function is defined.
6862 Adjust to new advice--saved-rewrite.
6863 (advice-member-p): Use advice-function-member-p and
6864 advice--symbol-function.
6865
6866 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6867
6868 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6869 (frameset-filter-minibuffer): Doc fix.
6870 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6871 (frameset--set-id, frameset--process-minibuffer-frames)
6872 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6873 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6874
6875 * desktop.el (desktop-clear): Only delete frames when called
6876 interactively and desktop-restore-frames is non-nil. Doc fix.
6877 (desktop-read): Set desktop-saved-frameset to nil.
6878
6879 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6880
6881 * vc/vc.el (vc-ignore): Rewrite.
6882 (vc-default-ignore-completion-table):
6883 (vc--read-lines):
6884 (vc--add-line, vc--remove-regexp): New functions.
6885
6886 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6887 (vc-svn-ignore-completion-table): New function.
6888
6889 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6890 (vc-hg-ignore-completion-table):
6891 (vc-hg-find-ignore-file): New functions.
6892
6893 * vc/vc-git.el (vc-git-ignore): Rewrite.
6894 (vc-git-ignore-completion-table):
6895 (vc-git-find-ignore-file): New functions.
6896
6897 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6898
6899 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6900 (vc-bzr-ignore-completion-table):
6901 (vc-bzr-find-ignore-file): New functions.
6902
6903 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6904
6905 * frameset.el (frameset-prop): New function and setter.
6906 (frameset-save): Do not modify frame list passed by the caller.
6907
6908 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6909
6910 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6911
6912 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6915 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6916
6917 * custom.el (custom-initialize-default, custom-initialize-set)
6918 (custom-initialize-reset, custom-initialize-changed): Affect the
6919 toplevel-default-value (bug#6275, bug#14586).
6920 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6921 for bug#6275.
6922
6923 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6924
6925 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6926 Add cl-def* expressions.
6927
6928 * frameset.el (frameset-filter-params): Fix order of arguments.
6929
6930 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6931
6932 Move code related to saving frames to frameset.el.
6933 * desktop.el: Require frameset.
6934 (desktop-restore-frames): Doc fix.
6935 (desktop-restore-reuses-frames): Rename from
6936 desktop-restoring-reuses-frames.
6937 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6938 (desktop-clear): Clear frames too.
6939 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6940 (desktop--filter-tty*, desktop-save, desktop-read):
6941 Use frameset functions.
6942 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6943 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6944 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6945 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6946 (desktop--process-minibuffer-frames, desktop-save-frames)
6947 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6948 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6949 (desktop--sort-states, desktop-restoring-frames-p)
6950 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6951 (desktop-restoring-frameset-p, desktop-restore-frameset)
6952 (desktop--check-dont-save, desktop-save-frameset): New functions.
6953 (desktop--app-id): New constant.
6954 (desktop-first-buffer, desktop-buffer-ok-count)
6955 (desktop-buffer-fail-count): Move before first use.
6956 * frameset.el: New file.
6957
6958 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * files.el: Use lexical-binding.
6961 (dir-locals-read-from-file): Remove unused `err' variable.
6962 (hack-dir-local-variables--warned-coding): New var.
6963 (hack-dir-local-variables): Use it to avoid repeated warnings.
6964 (make-backup-file-name--default-function): New function.
6965 (make-backup-file-name-function): Use it as default.
6966 (buffer-stale--default-function): New function.
6967 (buffer-stale-function): Use it as default.
6968 (revert-buffer-insert-file-contents--default-function): New function.
6969 (revert-buffer-insert-file-contents-function): Use it as default.
6970 (insert-directory): Avoid add-to-list.
6971
6972 * autorevert.el (auto-revert-handler): Simplify.
6973 Use buffer-stale--default-function.
6974
6975 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6976
6977 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6978
6979 * whitespace.el (whitespace-ensure-local-variables): New function.
6980 (whitespace-cleanup-region): Call it.
6981 (whitespace-turn-on): Call it.
6982
6983 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6984
6985 Complete file name handlers.
6986
6987 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6988 (tramp-handle-verify-visited-file-modtime)
6989 (tramp-handle-file-notify-rm-watch): New functions.
6990 (tramp-call-process): Do not bind `default-directory'.
6991
6992 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6993 Order alphabetically.
6994 [access-file, add-name-to-file, dired-call-process]:
6995 [dired-compress-file, file-acl, file-notify-rm-watch]:
6996 [file-ownership-preserved-p, file-selinux-context]:
6997 [make-directory-internal, make-symbolic-link, set-file-acl]:
6998 [set-file-selinux-context, set-visited-file-modtime]:
6999 [verify-visited-file-modtime]: Add handler.
7000 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7001
7002 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7003 [file-notify-add-watch, file-notify-rm-watch]:
7004 [set-file-times, set-visited-file-modtime]:
7005 [verify-visited-file-modtime]: Add handler.
7006 (with-tramp-gvfs-error-message)
7007 (tramp-gvfs-handle-set-visited-file-modtime)
7008 (tramp-gvfs-fuse-file-name): Remove.
7009 (tramp-gvfs-handle-file-notify-add-watch)
7010 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7011 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7012
7013 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7014 Order alphabetically.
7015 [file-notify-rm-watch ]: Use default Tramp handler.
7016 [executable-find]: Remove private handler.
7017 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7018 `default-directory'.
7019 (tramp-sh-handle-executable-find)
7020 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7021 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7022 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7023 Do not use `format' in `tramp-message'.
7024
7025 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7026 [file-notify-rm-watch, set-visited-file-modtime]:
7027 [verify-visited-file-modtime]: Add handler.
7028 (tramp-smb-call-winexe): Do not bind `default-directory'.
7029
7030 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7031
7032 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7033
7034 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7035
7036 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7037 use it.
7038 (log-view-diff-changeset): Same.
7039 (log-view-diff-common): Call backend command `previous-revision'
7040 to find out the previous revision, in both cases. Swap the
7041 variables `to' and `fr', so that `fr' usually refers to the
7042 earlier revision (Bug#14989).
7043
7044 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7045
7046 * ibuf-ext.el (ibuffer-filter-by-filename):
7047 Make it work with dired buffers too.
7048
7049 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7050
7051 * emacs-lisp/re-builder.el (reb-color-display-p):
7052 * files.el (save-buffers-kill-terminal):
7053 * net/browse-url.el (browse-url):
7054 * server.el (server-save-buffers-kill-terminal):
7055 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7056 Prefer nil to selected-frame for the first arg of frame-parameter.
7057
7058 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7059
7060 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7061
7062 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7063
7064 * minibuffer.el (completion--twq-all): Try and preserve each
7065 completion's case choice (bug#14907).
7066
7067 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7068
7069 * net/network-stream.el (open-network-stream): Mention the new
7070 :nogreeting parameter.
7071 (network-stream-open-starttls): Use the :nogreeting parameter
7072 (bug#14938).
7073
7074 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7075
7076 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7077 more natural than popping.
7078
7079 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7080 (shr-urlify): Highlight under mouse.
7081
7082 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7083
7084 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7085
7086 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7087
7088 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7089 buffer for output.
7090
7091 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7092 point-min==1. Fix search string. Fix parentheses missing.
7093
7094 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7095 assume point-min==1. Fix search string. Fix parentheses missing.
7096
7097 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7098
7099 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7100 buffer for output.
7101
7102 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7103
7104 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7105 initial frame is minibuffer-less. (Bug#14841)
7106
7107 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7108
7109 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7110 option.
7111
7112 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7113 (tramp-maybe-open-connection): Use it.
7114
7115 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7116
7117 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7118 minimal set of parameters passed when creating a frame, because
7119 the minibuffer status of a frame cannot be changed later.
7120
7121 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7122
7123 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7124 replace-regexp-in-string and inadvertent omissions in previous change.
7125 (todo-filter-items): Ensure only file names are comma-separated in
7126 name of filtered items buffer.
7127
7128 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7129
7130 * desktop.el: Optionally force offscreen frames back onscreen.
7131 (desktop-restoring-reuses-frames): New option.
7132 (desktop--compute-pos, desktop--move-onscreen): New functions.
7133 (desktop--make-frame): Use desktop--move-onscreen.
7134
7135 2013-07-27 Alan Mackenzie <acm@muc.de>
7136
7137 Fontify a Java generic method as a function.
7138 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7139 value to t.
7140
7141 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7142
7143 * calendar/todo-mode.el: Add command to rename todo files.
7144 (todo-rename-file): New command.
7145 (todo-key-bindings-t): Add key binding for it. Change the
7146 bindings of todo-filter-regexp-items(-multifile) to use `x'
7147 instead of `r', since the latter is better suited to the new
7148 renaming command.
7149
7150 2013-07-27 Alan Mackenzie <acm@muc.de>
7151
7152 Make Java try-with-resources statement parse properly.
7153 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7154 (c-block-stmt-1-2-key): New language constants/variables.
7155 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7156 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7157 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7158 with c-block-stmt-1-2-key.
7159
7160 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7161
7162 * desktop.el (desktop--make-frame): Apply most frame parameters after
7163 creating the frame to force (partially or totally) offscreen frames to
7164 be restored as such.
7165
7166 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7167
7168 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7169 (Bug#14948)
7170
7171 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7172
7173 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7174 `base' arg of backtrace-frame.
7175
7176 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7177
7178 * simple.el (list-processes): Doc fix.
7179
7180 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7181
7182 * desktop.el (desktop--select-frame):
7183 Try harder to reuse existing frames.
7184
7185 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7186
7187 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7188 (edebug-eval): Use backtrace-eval.
7189 (edebug--display, edebug--recursive-edit): Don't let-bind the
7190 edebug-outer-* vars that keep track of variables we locally let-bind.
7191 (edebug-outside-excursion): Don't restore outside values of locally
7192 let-bound vars.
7193 (edebug--display): Use user-error.
7194 (cl-lexical-debug, cl-debug-env): Remove.
7195
7196 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7197
7198 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7199 are restored to be sure that they are visible before deleting any
7200 remaining ones.
7201
7202 2013-07-26 Matthias Meulien <orontee@gmail.com>
7203
7204 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7205 vc-print-root-log. (Bug#14948)
7206
7207 2013-07-26 Richard Stallman <rms@gnu.org>
7208
7209 Add aliases for encrypting mail.
7210 * epa.el (epa-mail-aliases): New option.
7211 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7212 Bind inhibit-read-only so read-only text doesn't ruin everything.
7213 (epa-mail-default-recipients): New subroutine broken out.
7214 Handle epa-mail-aliases.
7215
7216 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 Add support for lexical variables to the debugger's `e' command.
7219 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7220 vars, except for debugger-outer-match-data.
7221 (debugger-frame-number): Move check for "on a function call" from
7222 callers into it. Add `skip-base' argument.
7223 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7224 (debugger-env-macro): Only reset the state stored in non-variables,
7225 i.e. current-buffer and match-data.
7226 (debugger-eval-expression): Rewrite using backtrace-eval.
7227 * subr.el (internal--called-interactively-p--get-frame): Remove.
7228 (called-interactively-p):
7229 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7230 `base' arg of backtrace-frame instead.
7231
7232 2013-07-26 Glenn Morris <rgm@gnu.org>
7233
7234 * align.el (align-regexp): Doc fix. (Bug#14857)
7235 (align-region): Explicit error if subexpression missing/does not match.
7236
7237 * simple.el (global-visual-line-mode):
7238 Do not duplicate the mode lighter. (Bug#14858)
7239
7240 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7241
7242 * window.el (display-buffer): In display-buffer bind
7243 split-window-keep-point to t, bug#14829.
7244
7245 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7246
7247 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7248 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7249 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7250 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7251 Change accordingly.
7252 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7253 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7254
7255 2013-07-25 Glenn Morris <rgm@gnu.org>
7256
7257 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7258
7259 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7262 parameter to modify-frame-parameters if the value has not changed;
7263 this is a workaround for bug#14949.
7264 (desktop--make-frame): On cl-delete-if call, check parameter name,
7265 not full parameter.
7266
7267 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7268
7269 * vc/vc.el (vc-ignore): New function.
7270
7271 * vc/vc-svn.el (vc-svn-ignore): New function.
7272
7273 * vc/vc-hg.el (vc-hg-ignore): New function.
7274
7275 * vc/vc-git.el (vc-git-ignore): New function.
7276
7277 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7278 (vc-dir-ignore): New function.
7279
7280 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7281 (cvs-append-to-ignore): Move here from pcvs.el.
7282
7283 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7284
7285 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7286
7287 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7288
7289 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7290 (desktop-restore-frames): Warn when deleting an existing frame failed.
7291
7292 2013-07-24 Glenn Morris <rgm@gnu.org>
7293
7294 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7295
7296 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7297
7298 * filenotify.el (file-notify-supported-p):
7299 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7300 Remove functions.
7301
7302 * autorevert.el (auto-revert-use-notify):
7303 (auto-revert-notify-add-watch):
7304 * net/tramp.el (tramp-file-name-for-operation):
7305 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7306 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7307 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7308 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7309 Remove `file-notify-supported-p' entry.
7310
7311 2013-07-24 Glenn Morris <rgm@gnu.org>
7312
7313 * printing.el: Replace all uses of deleted ps-windows-system,
7314 ps-lp-system, ps-flatten-list with lpr- versions.
7315
7316 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7319 checked with memq (bug#14935).
7320
7321 * files.el (revert-buffer-function): Use a non-nil default.
7322 (revert-buffer-preserve-modes): Declare var to
7323 provide access to the `preserve-modes' argument.
7324 (revert-buffer): Let-bind it.
7325 (revert-buffer--default): New function, extracted from revert-buffer.
7326
7327 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * lpr.el: Signal print errors more prominently.
7330 (print-region-function): Don't default to nil.
7331 (lpr-print-region): New function, extracted from print-region-1.
7332 Check lpr's return value and signal an error in case of problem.
7333 (print-region-1): Use it.
7334 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7335 versions instead.
7336 (ps-printer-name): Default to nil.
7337 (ps-printer-name-option): Default to lpr-printer-switch.
7338 (ps-print-region-function): Don't default to nil.
7339 (ps-postscript-code-directory): Simplify default.
7340 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7341 (ps-string-list, ps-eval-switch, ps-flatten-list)
7342 (ps-flatten-list-1): Remove.
7343 (ps-multibyte-buffer): Avoid setq.
7344 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7345 (print-region-function, ps-print-region-function): Don't set them here.
7346
7347 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7348
7349 * ido.el (ido-fractionp):
7350 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7351 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7352 (ido-max-directory-size, ido-max-dir-file-cache)
7353 (ido-decorations): Doc fix.
7354
7355 * ansi-color.el: Fix old URL.
7356
7357 2013-07-23 Michael R. Mauger <michael@mauger.com>
7358
7359 * progmodes/sql.el: Version 3.3
7360 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7361 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7362 (sql-interactive-remove-continuation-prompt): Rewrite, use
7363 functions above. Fix continuation prompt and complete output line
7364 handling.
7365 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7366 redirected output buffer.
7367 (sql-mode): Restore deleted code (Bug#13591).
7368
7369 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7370
7371 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7372
7373 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7374
7375 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7376
7377 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7378 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7379 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7380
7381 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7382
7383 * desktop.el (desktop-clear): Simplify; remove useless checks
7384 against invalid buffer names.
7385 (desktop-list*): Use cl-list*.
7386 (desktop-buffer-info, desktop-create-buffer): Simplify.
7387
7388 2013-07-23 Leo Liu <sdl.web@gmail.com>
7389
7390 * bookmark.el (bookmark-make-record): Restore NAME as a default
7391 value. (Bug#14933)
7392
7393 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7394
7395 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7396 extracted from autoload--insert-text.
7397 (autoload--insert-text): Remove.
7398 (autoload--print-cookie-text): New function, extracted from
7399 autoload--insert-cookie-text.
7400 (autoload--insert-cookie-text): Remove.
7401 (autoload-generate-file-autoloads): Adjust calls accordingly.
7402
7403 * winner.el (winner-hook-installed-p): Remove.
7404 (winner-mode): Simplify accordingly.
7405
7406 * subr.el (add-to-list): Fix compiler-macro when `append' is
7407 not constant. Don't use `cl-member' for the base case.
7408
7409 * progmodes/subword.el: Fix boundary case (bug#13758).
7410 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7411 own group.
7412 (subword-backward-regexp): Make it a constant.
7413 (subword-forward-internal): Don't treat a trailing capital as the
7414 beginning of a word.
7415
7416 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7417
7418 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7419 global value of tabulated-list-revert-hook (bug#14930).
7420
7421 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7422
7423 * desktop.el: Require 'cl-lib.
7424 (desktop-before-saving-frames-functions): New hook.
7425 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7426 for frames being saved. Rename from desktop--save-minibuffer-frames.
7427 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7428 Do not save frames with non-nil `desktop-dont-save' parameter.
7429 Filter out deleted frames.
7430 (desktop--find-frame): Use cl-find-if.
7431 (desktop--select-frame): Use cl-(first|second|third) to access values
7432 of desktop-mini.
7433 (desktop--make-frame): Use cl-delete-if.
7434 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7435 (desktop-restore-frames): Use cl-(first|second|third) to access values
7436 of desktop-mini. Look for visible frame at the end, not while
7437 restoring frames.
7438
7439 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7440 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7441 Use string-match-p, looking-at-p (bug#14927).
7442
7443 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7444
7445 * desktop.el (desktop-saved-frame-states):
7446 Rename from desktop--saved-states; all users changed.
7447 (desktop-save-frames): Rename from desktop--save-frames.
7448 Do not save state to desktop file.
7449 (desktop-save): Save desktop-saved-frame-states to desktop file
7450 and reset to nil.
7451 (desktop-restoring-frames-p): New function.
7452 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7453 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7454 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7455
7456 * desktop.el: Correctly restore iconified frames.
7457 (desktop--filter-iconified-position): New function.
7458 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7459
7460 2013-07-20 Glenn Morris <rgm@gnu.org>
7461
7462 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7463 Let `message' do the formatting.
7464 (def-gdb-preempt-display-buffer): Add explicit format.
7465
7466 * image-dired.el (image-dired-track-original-file):
7467 Use with-current-buffer.
7468 (image-dired-track-thumbnail): Use with-current-buffer.
7469 Avoid changing point of wrong window.
7470
7471 * image-dired.el (image-dired-track-original-file):
7472 Avoid changing point of wrong window. (Bug#14909)
7473
7474 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7475
7476 * progmodes/gdb-mi.el (gdb-done-or-error):
7477 Guard against "%" in gdb output. (Bug#14127)
7478
7479 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7480
7481 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7482 (Bug#14826)
7483
7484 * international/mule.el (coding-system-iso-2022-flags): Fix last
7485 change.
7486
7487 2013-07-20 Kenichi Handa <handa@gnu.org>
7488
7489 * international/mule.el (coding-system-iso-2022-flags):
7490 Add `8-bit-level-4'. (Bug#8522)
7491
7492 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7493
7494 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7495 (bug#14815).
7496
7497 * net/eww.el (eww-process-text-input): Allow inputting when the
7498 point is at the start of the line, as the properties aren't
7499 front-sticky.
7500
7501 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7502 degenerate widths.
7503
7504 2013-07-19 Richard Stallman <rms@gnu.org>
7505
7506 * epa.el (epa-popup-info-window): Doc fix.
7507
7508 * subr.el (split-string): New arg TRIM.
7509
7510 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7511
7512 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7513 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7514
7515 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7516
7517 * filenotify.el (file-notify--library): Rename from
7518 `file-notify-support'. Do not autoload. Adapt all uses.
7519 (file-notify-supported-p): New defun.
7520
7521 * autorevert.el (auto-revert-use-notify):
7522 Use `file-notify-supported-p' instead of `file-notify-support'.
7523 Adapt docstring.
7524 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7525
7526 * net/tramp.el (tramp-file-name-for-operation):
7527 Add `file-notify-supported-p'.
7528
7529 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7530 New defun.
7531 (tramp-sh-file-name-handler-alist): Add it as handler for
7532 `file-notify-supported-p '.
7533
7534 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7535 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7536 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7537 Add `ignore' as handler for `file-notify-*' functions.
7538
7539 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7540
7541 * simple.el (line-move-partial, line-move): Don't start vscroll or
7542 scroll-up if the current line is not taller than the window.
7543 (Bug#14881)
7544
7545 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7546
7547 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7548 highlight question marks in the method names as strings.
7549 (ruby-block-beg-keywords): Inline.
7550 (ruby-font-lock-keyword-beg-re): Extract from
7551 `ruby-font-lock-keywords'.
7552
7553 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7554
7555 * frame.el (blink-cursor-blinks): New defcustom.
7556 (blink-cursor-blinks-done): New defvar.
7557 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7558 (blink-cursor-timer-function): Check if number of blinks has been
7559 done on X and NS.
7560 (blink-cursor-suspend, blink-cursor-check): New defuns.
7561
7562 2013-07-15 Glenn Morris <rgm@gnu.org>
7563
7564 * edmacro.el (edmacro-format-keys): Fix previous change.
7565
7566 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7567
7568 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7569 The hack didn't work outside English locales anyway.
7570
7571 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7572
7573 * simple.el (define-alternatives): Rename from alternatives-define,
7574 per RMS' suggestion.
7575
7576 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7577
7578 * desktop.el (desktop-restore-frames): Change default to t.
7579 (desktop-restore-in-current-display): Now offer more options.
7580 (desktop-restoring-reuses-frames): New customization option.
7581 (desktop--saved-states): Doc fix.
7582 (desktop-filter-parameters-alist): New variable, renamed and expanded
7583 from desktop--excluded-frame-parameters.
7584 (desktop--target-display): New variable.
7585 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7586 (desktop--filter-tty*, desktop--filter-*-color)
7587 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7588 (desktop--filter-save-desktop-parm)
7589 (desktop-restore-in-original-display-p): New functions.
7590 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7591 (desktop--save-minibuffer-frames): New function, inspired by a similar
7592 function from Martin Rudalics.
7593 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7594 (desktop--restore-in-this-display-p): Remove.
7595 (desktop--find-frame): Rename from desktop--find-frame-in-display
7596 and add predicate argument.
7597 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7598 (desktop--reuse-list): New variable.
7599 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7600 New functions.
7601 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7602
7603 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7604
7605 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7606
7607 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7608
7609 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7610 Highlight conversion methods on Kernel.
7611
7612 2013-07-13 Alan Mackenzie <acm@muc.de>
7613
7614 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7615 and comment it out. This out-commenting enables certain C++
7616 declarations to be parsed correctly.
7617
7618 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7619
7620 * international/mule.el (define-coding-system): Doc fix.
7621
7622 * simple.el (default-font-height): Don't call font-info if the
7623 frame's default font didn't change since the frame was created.
7624 (Bug#14838)
7625
7626 2013-07-13 Leo Liu <sdl.web@gmail.com>
7627
7628 * ido.el (ido-read-file-name): Guard against non-symbol value.
7629
7630 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7631
7632 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7633 in nested defuns.
7634
7635 2013-07-13 Leo Liu <sdl.web@gmail.com>
7636
7637 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7638 ido-set-matches call. (Bug#6852)
7639
7640 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7641
7642 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7643 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7644 Ruby 2.0.
7645 (ruby-font-lock-keywords): Distinguish calls to functions with
7646 module-like names from module references. Highlight character
7647 literals.
7648
7649 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7650
7651 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7652 (gdb-send): Handle continued commands. (Bug#14847)
7653
7654 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * desktop.el (desktop--v2s): Remove unused local variable.
7657 (desktop-save-buffer): Make defvar-local; adjust docstring.
7658 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7659 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7660
7661 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7662
7663 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7664
7665 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7666
7667 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7668 (Bug#14842)
7669
7670 2013-07-12 Glenn Morris <rgm@gnu.org>
7671
7672 * doc-view.el: Require cl-lib at runtime too.
7673 (doc-view-remove-if): Remove.
7674 (doc-view-search-next-match, doc-view-search-previous-match):
7675 Use cl-remove-if.
7676
7677 * edmacro.el: Require cl-lib at runtime too.
7678 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7679 (edmacro-mismatch, edmacro-subseq): Remove.
7680
7681 * shadowfile.el: Require cl-lib.
7682 (shadow-remove-if): Remove.
7683 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7684 Use cl-remove-if.
7685
7686 * wid-edit.el: Require cl-lib.
7687 (widget-choose): Use cl-remove-if.
7688 (widget-remove-if): Remove.
7689
7690 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7691 (ebrowse-delete-if-not): Remove.
7692 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7693 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7694 Use cl-delete-if-not.
7695
7696 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7697
7698 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7699 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7700
7701 2013-07-12 Leo Liu <sdl.web@gmail.com>
7702
7703 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7704
7705 2013-07-11 Glenn Morris <rgm@gnu.org>
7706
7707 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7708 (edebug-gensym-index, edebug-gensym):
7709 Remove reimplementation of cl-gensym.
7710 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7711
7712 * thumbs.el: Require cl-lib at run-time too.
7713 (thumbs-gensym-counter, thumbs-gensym):
7714 Remove reimplementation of cl-gensym.
7715 (thumbs-temp-file): Use cl-gensym.
7716
7717 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7718 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7719 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7720 (ert--union, ert--gensym-counter, ert--gensym-counter)
7721 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7722 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7723 (ert-make-test-unbound, ert--expand-should-1)
7724 (ert--expand-should, ert--should-error-handle-error)
7725 (should-error, ert--explain-equal-rec)
7726 (ert--plist-difference-explanation, ert-select-tests)
7727 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7728 Use cl-lib functions rather than reimplementations.
7729
7730 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp.el (tramp-methods): Extend docstring.
7733 (tramp-connection-timeout): New defcustom.
7734 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7735 (with-tramp-progress-reporter): Simplify.
7736 (tramp-process-actions): Improve messages.
7737
7738 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7739 * net/tramp-sh.el (tramp-maybe-open-connection):
7740 Use `tramp-connection-timeout'.
7741 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7742 (Bug#14808)
7743
7744 2013-07-11 Leo Liu <sdl.web@gmail.com>
7745
7746 * ido.el (ido-read-file-name): Conform to the requirements of
7747 read-file-name. (Bug#11861)
7748 (ido-read-directory-name): Conform to the requirements of
7749 read-directory-name.
7750
7751 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7752
7753 * subr.el (delay-warning): New function.
7754
7755 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7756
7757 * simple.el (default-line-height): New function.
7758 (line-move-partial, line-move): Use it instead of computing the
7759 line height inline.
7760 (line-move-partial): Always compute ROWH. If the last line is
7761 partially-visible, but its text is completely visible, allow
7762 cursor to enter such a partially-visible line.
7763
7764 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7765
7766 Improve error messages. (Bug#14808)
7767
7768 * net/tramp.el (tramp-current-connection): New defvar, moved from
7769 tramp-sh.el.
7770 (tramp-message-show-progress-reporter-message): Remove, not
7771 needed anymore.
7772 (tramp-error-with-buffer): Show message in minibuffer.
7773 Discard input before waiting. Reset connection timestamp.
7774 (with-tramp-progress-reporter): Improve messages.
7775 (tramp-process-actions): Use progress reporter. Delete process in
7776 case of error. Improve messages.
7777
7778 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7779 Call `tramp-error-with-buffer' with vector and buffer.
7780 (tramp-current-connection): Remove.
7781 (tramp-maybe-open-connection): The car of
7782 `tramp-current-connection' are the first 3 slots of the vector.
7783
7784 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7785
7786 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7787 inside continued strings.
7788
7789 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7790
7791 Timestamp fixes for undo (Bug#14824).
7792 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7793
7794 2013-07-10 Leo Liu <sdl.web@gmail.com>
7795
7796 * files.el (require-final-newline): Allow safe local value.
7797 (Bug#14834)
7798
7799 2013-07-09 Leo Liu <sdl.web@gmail.com>
7800
7801 * ido.el (ido-read-directory-name): Handle fallback.
7802 (ido-read-file-name): Update DIR to ido-current-directory.
7803 (Bug#1516)
7804 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7805
7806 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7807
7808 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7809 "autoload". Remove "warn lower camel case" section, previously
7810 commented out. Highlight negation char. Do not highlight the
7811 target in singleton method definitions.
7812
7813 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * faces.el (tty-setup-hook): Declare the hook.
7816
7817 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7818 and detect when a guard/pred depends on local vars (bug#14773).
7819 (pcase--u1): Adjust caller.
7820
7821 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7822
7823 * simple.el (line-move-partial, line-move): Account for
7824 line-spacing.
7825 (line-move-partial): Avoid setting vscroll when the last
7826 partially-visible line in window is of default height.
7827
7828 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7829
7830 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7831 been used a while.
7832
7833 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7834
7835 * subr.el (read-quoted-char): Remove unused local variable `char'.
7836
7837 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7838
7839 * ediff.el (ediff-version): Version update.
7840 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7841 (ediff-merge-with-ancestor-command, ediff-directories-command)
7842 (ediff-directories3-command, ediff-merge-directories-command)
7843 (ediff-merge-directories-with-ancestor-command): New functions.
7844 All are command-line interfaces to ediff: to facilitate calling
7845 Emacs with the appropriate ediff functions invoked.
7846
7847 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7848 (viper-save-kill-buffer): Check if buffer is modified.
7849
7850 * viper.el (viper-version): Version update.
7851 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7852
7853 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7856 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7857 (viper-intercept-ESC-key): Simplify.
7858 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7859 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7860 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7861 (viper-setup-ESC-to-escape): New functions.
7862 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7863 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7864
7865 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7866
7867 * simple.el (default-font-height, window-screen-lines):
7868 New functions.
7869 (line-move, line-move-partial): Use them instead of
7870 frame-char-height and window-text-height. This makes scrolling
7871 text smoother when the buffer's default face uses a font that is
7872 different from the frame's default font.
7873
7874 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7875
7876 * files.el (write-file): Do not display confirm dialog for NS,
7877 it does its own dialog, which can't be canceled (Bug#14578).
7878
7879 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7880
7881 * simple.el (line-move-partial): Adjust the row returned by
7882 posn-at-point for the current window-vscroll. (Bug#14567)
7883
7884 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7885
7886 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7887 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7888 spaces.
7889
7890 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7891
7892 * window.el (window-state-put-stale-windows): New variable.
7893 (window--state-put-2): Save list of windows without matching buffer.
7894 (window-state-put): Remove "bufferless" windows if possible.
7895
7896 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7897
7898 * simple.el (alternatives-define): Remove leftover :group keyword.
7899 Tweak docstring.
7900
7901 2013-07-06 Leo Liu <sdl.web@gmail.com>
7902
7903 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7904 (ido-enable-virtual-buffers): New variable.
7905 (ido-buffer-internal, ido-toggle-virtual-buffers)
7906 (ido-make-buffer-list): Use it.
7907 (ido-exhibit): Support turning on and off virtual buffers
7908 automatically.
7909
7910 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7911
7912 * simple.el (alternatives-define): New macro.
7913
7914 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * subr.el (read-quoted-char): Use read-key.
7917 (sit-for): Let read-event decode tty input (bug#14782).
7918
7919 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7920
7921 * calendar/todo-mode.el: Add handling of file deletion, both by
7922 mode command and externally. Fix various related bugs.
7923 Clarify Commentary and improve some documentation strings and code.
7924 (todo-delete-file): New command.
7925 (todo-check-file): New function.
7926 (todo-show): Handle external deletion of the file we're trying to
7927 show (bug#14688). Replace called-interactively-p by an optional
7928 prefix argument to avoid problematic interaction with catch form
7929 when byte compiled (bug#14702).
7930 (todo-quit): Handle external deletion of the archive's todo file.
7931 Make sure the buffer that was visiting the archive file is still
7932 live before trying to bury it.
7933 (todo-category-completions): Handle external deletion of any
7934 category completion files.
7935 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7936 of todo files, in case of external deletion.
7937 (todo-add-file): Replace unnecessary setq by let-binding.
7938 (todo-find-archive): Check whether there are any archives.
7939 Replace unnecessary setq by let-binding.
7940 (todo-archive-done-item): Use find-file-noselect to get the
7941 archive buffer whether or not the archive already exists.
7942 Remove superfluous code. Use file size instead of buffer-file-name to
7943 check if the archive is new; if it is, update list of archives.
7944 (todo-default-todo-file): Allow nil to be a valid value for when
7945 there are no todo files.
7946 (todo-reevaluate-default-file-defcustom): Use corrected definition
7947 of todo-default-todo-file.
7948 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7949 (todo-delete-category, todo-show-categories-table)
7950 (todo-category-number): Clarify comment.
7951 (todo-filter-items): Clarify documentation string.
7952 (todo-show-current-file, todo-display-as-todo-file)
7953 (todo-reset-and-enable-done-separator): Tweak documentation string.
7954 (todo-done-separator): Make separator length window-width, since
7955 bug#2749 is now fixed.
7956
7957 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7958
7959 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7960 Support both "gvfs-monitor-dir" and "inotifywait".
7961 (tramp-sh-file-inotifywait-process-filter): Rename from
7962 `tramp-sh-file-notify-process-filter'.
7963 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7964 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7965
7966 2013-07-05 Leo Liu <sdl.web@gmail.com>
7967
7968 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7969
7970 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7971
7972 * frame.el (display-pixel-height, display-pixel-width)
7973 (display-mm-height, display-mm-width): Mention behavior on
7974 multi-monitor setups in docstrings.
7975 (w32-display-monitor-attributes-list): Declare function.
7976 (display-monitor-attributes-list): Use it.
7977
7978 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7979
7980 * filenotify.el: New package.
7981
7982 * autorevert.el (top): Require filenotify.el.
7983 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7984 instead.
7985 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7986 (auto-revert-notify-handler): Use `file-notify-*' functions.
7987
7988 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7989
7990 * net/tramp.el (tramp-file-name-for-operation):
7991 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7992
7993 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7994 for `file-notify-add-watch' and `file-notify-rm-watch'.
7995 (tramp-process-sentinel): Improve trace.
7996 (tramp-sh-handle-file-notify-add-watch)
7997 (tramp-sh-file-notify-process-filter)
7998 (tramp-sh-handle-file-notify-rm-watch)
7999 (tramp-get-remote-inotifywait): New defuns.
8000
8001 2013-07-03 Juri Linkov <juri@jurta.org>
8002
8003 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8004 call of `occur-read-primary-args' to interactive spec.
8005
8006 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8007 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8008
8009 2013-07-03 Matthias Meulien <orontee@gmail.com>
8010
8011 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8012 `Buffer-menu-multi-occur'. Add it to the menu.
8013 (Buffer-menu-mode): Document it in docstring.
8014 (Buffer-menu-multi-occur): New command. (Bug#14673)
8015
8016 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8017
8018 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8019 keywords and built-ins.
8020
8021 2013-07-03 Glenn Morris <rgm@gnu.org>
8022
8023 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8024
8025 Make info-xref checks case-sensitive by default
8026 * info.el (Info-find-node, Info-find-in-tag-table)
8027 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8028 Add option for exact case matching of nodes.
8029 * info-xref.el (info-xref): New custom group.
8030 (info-xref-case-fold): New option.
8031 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8032
8033 2013-07-03 Leo Liu <sdl.web@gmail.com>
8034
8035 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8036
8037 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8038
8039 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8040 middle of block statement initially, lower the depth. Remove
8041 FIXME comment, not longer valid. Remove middle of block statement
8042 detection, no need to do that anymore since we've been using
8043 `ruby-parse-region' here.
8044
8045 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8046
8047 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8048
8049 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8050
8051 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8052
8053 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8054
8055 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8056 (desktop-restore-in-current-display): New customization option.
8057 (desktop--excluded-frame-parameters): Add `font'.
8058 (desktop--save-frames): Rename from desktop--save-windows.
8059 (desktop--restore-in-this-display-p): New function.
8060 (desktop--make-full-frame): Remove unwanted width/height from
8061 full(width|height) frames.
8062 (desktop--restore-frames): Rename from desktop--restore-windows.
8063 Obey desktop-restore-current-display. Do not delete old frames or
8064 select a new frame unless we were able to restore at least one frame.
8065
8066 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8067
8068 * files.el (find-file-noselect): Simplify conditional expression.
8069
8070 * textmodes/remember.el (remember-append-to-file):
8071 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8072
8073 Add `remember-notes' function to store random notes across Emacs
8074 restarts.
8075 * textmodes/remember.el (remember-data-file): Add :set callback to
8076 affect notes buffer (if any).
8077 (remember-notes): New command.
8078 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8079 New defcustoms for the `remember-notes' function.
8080 (remember-notes-save-and-bury-buffer): New command.
8081 (remember-notes-mode-map): New variable.
8082 (remember-mode): New minor mode.
8083 (remember-notes--kill-buffer-query): New function.
8084 * startup.el (initial-buffer-choice): Add notes to custom type.
8085
8086 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8087
8088 * bindings.el (right-char, left-char): Don't call sit-for, this is
8089 no longer needed. Use arithmetic comparison only for numerical
8090 arguments.
8091
8092 * international/mule-cmds.el (select-safe-coding-system):
8093 Handle the case of FROM being a string correctly. (Bug#14755)
8094
8095 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8096
8097 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8098 progression on degenerate tables.
8099 (shr-rescale-image): ImageMagick animated images currently don't work.
8100
8101 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8102
8103 Some fixes and improvements for desktop frame restoration.
8104 It is still experimental and disabled by default.
8105 * desktop.el (desktop--save-windows): Put the selected frame at
8106 the head of the list.
8107 (desktop--make-full-frame): New function.
8108 (desktop--restore-windows): Try to re-select the frame that was
8109 selected upon saving. Do not abort if some frames fail to restore,
8110 just show an error message and continue. Set up maximized frames
8111 so they have default non-maximized dimensions.
8112
8113 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8114
8115 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8116 Don't start heredoc inside a string or comment.
8117
8118 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8119
8120 * bindings.el (visual-order-cursor-movement): New defcustom.
8121 (right-char, left-char): Provide visual-order cursor motion by
8122 calling move-point-visually. Update the doc strings.
8123
8124 2013-06-28 Kenichi Handa <handa@gnu.org>
8125
8126 * international/mule.el (define-coding-system): New coding system
8127 properties :inhibit-null-byte-detection,
8128 :inhibit-iso-escape-detection, and :prefer-utf-8.
8129 (set-buffer-file-coding-system): If :charset-list property of
8130 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8131 appropriate for setting.
8132
8133 * international/mule-cmds.el (select-safe-coding-system):
8134 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8135 multibyte characters, return utf-8 (or one of its siblings).
8136
8137 * international/mule-conf.el (prefer-utf-8): New coding system.
8138 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8139 files.
8140
8141 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8142
8143 * net/shr.el (shr-render-region): New function.
8144
8145 * net/eww.el: Autoload `eww-browse-url'.
8146
8147 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8148
8149 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8150 Adapt to `package-desc-version' being a list.
8151 Use `package--ac-desc-version' to retrieve version from a package
8152 archive element.
8153
8154 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8155
8156 New experimental feature to save&restore window and frame setup.
8157 * desktop.el (desktop-save-windows): New defcustom.
8158 (desktop--saved-states): New var.
8159 (desktop--excluded-frame-parameters): New defconst.
8160 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8161 (desktop--restore-windows, desktop--save-windows): New functions.
8162 (desktop-save): Call `desktop--save-windows'.
8163 (desktop-read): Call `desktop--restore-windows'.
8164
8165 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8166
8167 * net/shr.el (add-face-text-property): Remove compat definition.
8168
8169 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8170
8171 * info.el (Info-try-follow-nearest-node): Move search for footnote
8172 above search for node name to prevent missing a footnote (bug#14717).
8173
8174 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8175
8176 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8177
8178 2013-06-27 Leo Liu <sdl.web@gmail.com>
8179
8180 * net/eww.el (eww-read-bookmarks): Check file size.
8181
8182 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8185 advice--pending if newdef is nil or an autoload (bug#13820).
8186 (advice-mapc): New function.
8187
8188 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8189
8190 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8191 probably.
8192 (eww-mode-map): Add a menu bar.
8193 (eww-add-bookmark): New command.
8194 (eww-bookmark-mode): New mode and commands.
8195 (eww-add-bookmark): Remove newlines from the title.
8196 (eww-bookmark-browse): Don't bug out if it's the only window.
8197
8198 2013-06-26 Glenn Morris <rgm@gnu.org>
8199
8200 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8201 (hfy-size): Handle ttys. (Bug#14668)
8202
8203 * info-xref.el: Update for Texinfo 5 change in *note format.
8204 (info-xref-node-re, info-xref-note-re): New constants.
8205 (info-xref-check-buffer): Use info-xref-note-re.
8206
8207 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8208
8209 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8210
8211 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8212 nil terminate the loop (bug#14718).
8213
8214 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8215
8216 * net/eww.el: Rework history traversal. When going forward/back,
8217 put these actions into the history, too, so that they can be
8218 replayed.
8219 (eww-render): Move the history reset to the correct buffer.
8220
8221 2013-06-25 Juri Linkov <juri@jurta.org>
8222
8223 * files-x.el (modify-dir-local-variable): Change the header comment
8224 in the file with directory local variables. (Bug#14692)
8225
8226 * files-x.el (read-file-local-variable-value): Add `default'.
8227 (Bug#14710)
8228
8229 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8230
8231 * net/eww.el (eww-make-unique-file-name): Create a unique file
8232 name before saving to entering `y' accidentally asynchronously.
8233
8234 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8235
8236 * net/eww.el (eww-download): New command and keystroke.
8237
8238 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * net/eww.el (eww-copy-page-url): Change name of command.
8241
8242 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8243 be more consistent with Info and dired.
8244
8245 * net/eww.el (eww-mode-map): Ditto.
8246
8247 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8248
8249 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8250 packages from archives.
8251 (package-archive-contents): Change format; include obsolete packages.
8252 (package-desc): Use `dir' to mark builtin packages.
8253 (package--from-builtin): Set the `dir' field to `builtin'.
8254 (generated-autoload-file, version-control): Declare.
8255 (package-compute-transaction): Change first arg and return value to be
8256 lists of package-descs. Adjust to new package-archive-contents format.
8257 (package--add-to-archive-contents): Adjust to new
8258 package-archive-contents format.
8259 (package-download-transaction): Arg is now a list of package-descs.
8260 (package-install): If `pkg' is a package name, pass it as
8261 a requirement, so it is subject to the usual (e.g. disabled) checks.
8262 (describe-package): Accept package-desc as well.
8263 (describe-package-1): Describe a specific package-desc. Add links to
8264 other package-descs for the same package name.
8265 (package-menu-describe-package): Pass the actual package-desc.
8266 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8267 works correctly.
8268 (package-desc-status): New function.
8269 (package-menu--refresh): New function, extracted
8270 from package-menu--generate.
8271 (package-menu--generate): Use it.
8272 (package-delete): Update package-alist.
8273 (package-menu-execute): Don't call package-initialize.
8274
8275 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8276 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8277 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8278 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8279 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8280 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8281
8282 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8283
8284 * window.el (window--state-get-1): Workaround for bug#14527.
8285 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8286
8287 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8288
8289 * net/eww.el (eww-back-url): Implement the history by stashing all
8290 the data into a list.
8291 (eww-forward-url): Allow going forward in the history, too.
8292
8293 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8294
8295 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8296 for values and use read--expression for expressions (bug#14710).
8297 (read-file-local-variable): Avoid setq.
8298 (read-file-local-variable-mode): Use minor-mode-list.
8299
8300 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8301
8302 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8303 for DOI URLs.
8304
8305 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8306
8307 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8308 Update imenu-support when dialect changes.
8309
8310 2013-06-25 Leo Liu <sdl.web@gmail.com>
8311
8312 * ido.el (ido-read-internal): Allow forward slash on windows.
8313
8314 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8315
8316 * net/eww.el (eww): Start of strings is \\`, not ^.
8317
8318 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8319
8320 * net/shr.el (shr-browse-url): Fix interactive spec.
8321
8322 * net/eww.el (eww): Add a trailing slash to domain names.
8323
8324 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8327
8328 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8329
8330 * net/shr.el (shr-browse-url): Use an external browser if given a
8331 prefix.
8332
8333 * net/eww.el (eww-external-browser): Move to shr.
8334
8335 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8336
8337 * net/eww.el (eww): Work more correctly for file: URLs.
8338 (eww-detect-charset): Allow quoted charsets.
8339 (eww-yank-page-url): New command and keystroke.
8340
8341 2013-06-24 Daiki Ueno <ueno@gnu.org>
8342
8343 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8344 file name of gpg executable.
8345 (epg-context-program): New function.
8346 (epg-context-home-directory): New function.
8347 (epg-context-set-program): New function.
8348 (epg-context-set-home-directory): New function.
8349 (epg--start): Use `epg-context-program' instead of
8350 'epg-gpg-program'.
8351 (epg--list-keys-1): Likewise.
8352
8353 2013-06-24 Leo Liu <sdl.web@gmail.com>
8354
8355 * ido.el (ido-read-internal): Fix bug#14620.
8356
8357 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8358
8359 * faces.el (face-documentation): Simplify.
8360 (read-face-attribute, tty-find-type, x-resolve-font-name):
8361 Use `string-match-p'.
8362 (list-faces-display): Use `string-match-p'. Simplify.
8363 (face-spec-recalc): Check face to avoid face alias loops.
8364 (read-color): Use `string-match-p' and non-capturing parenthesis.
8365
8366 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8367
8368 * net/shr.el (shr-rescale-image): Use the new
8369 :max-width/:max-height functionality.
8370
8371 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8372
8373 * net/eww.el (eww-search-prefix): New variable.
8374 (eww): Use it.
8375 (eww-external-browser): New variable.
8376 (eww-mode-map): New keystroke.
8377 (eww-browse-with-external-browser): New command.
8378
8379 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8380
8381 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8382
8383 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8384 Don't skip aligning the next header field when padding is 0;
8385 otherwise, field width is not respected unless the title is as
8386 wide as the field.
8387
8388 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8389
8390 * emacs-lisp/package.el (package-el-version): Remove.
8391 (package-process-define-package): Fix inf-loop.
8392 (package-install): Allow symbols as arguments again.
8393
8394 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8395
8396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8397 add some more keyword-like methods.
8398 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8399
8400 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8401
8402 * bs.el (bs-buffer-show-mark): Make defvar-local.
8403 (bs-mode): Use setq-local.
8404
8405 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8406 (emacs-lock--try-unlocking): Make defvar-local.
8407
8408 2013-06-22 Glenn Morris <rgm@gnu.org>
8409
8410 * play/cookie1.el (cookie-apropos): Minor simplification.
8411
8412 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8413
8414 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8415
8416 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8417 `regexp-opt', it breaks the build during dumping.
8418
8419 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8420
8421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8422 Highlight keyword-like methods on Kernel and Module with
8423 font-lock-builtin-face.
8424 (auto-mode-alist): Consolidate different entries into one regexp
8425 and add more *file-s.
8426
8427 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8428
8429 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8430
8431 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8432 (diary-entry): Use it in the action of this button type instead of
8433 diary-goto-entry.
8434
8435 * calendar/todo-mode.el: New version.
8436 (todo-add-category): Append new category to end of file and give
8437 it the highest number, instead of putting it at the beginning and
8438 giving it 0. Incorporate noninteractive functionality.
8439 (todo-forward-category): Adapt to 1-based category numbering.
8440 Allow skipping over archived categories.
8441 (todo-backward-category): Derive from todo-forward-category.
8442 (todo-backward-item, todo-forward-item): Make noninteractive and
8443 delegate interactive part to new commands. Make sensitive to done items.
8444 (todo-categories): Make value an alist of category names and
8445 vectors of item counts.
8446 (todo-category-beg): Make a defconst.
8447 (todo-category-number): Use 1 instead of 0 as initial value.
8448 (todo-category-select): Make sensitive to overlays, optional item
8449 highlighting and done items.
8450 (todo-delete-item): Make sensitive to overlays and marked and done items.
8451 (todo-edit-item): Make sensitive to overlays and editing of
8452 date/time header optional. Add format checks.
8453 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8454 no-op if point is not on an item. Advertise using todo-edit-quit.
8455 (todo-edit-mode): Make sensitive to new format, font-locking, and
8456 multiple todo files.
8457 (todo-insert-item, todo-insert-item-here): Derive from
8458 todo-basic-insert-item and extend functionality.
8459 (todo-item-end, todo-item-start): Make sensitive to done items.
8460 (todo-item-string): Don't return text properties. Restore point.
8461 (todo-jump-to-category): Make sensitive to multiple todo files and
8462 todo archives. Use extended category completion.
8463 (todo-lower-item, todo-raise-item): Rename to *-priority and
8464 derive from todo-set-item-priority.
8465 (todo-mode): Derive from special-mode. Make sensitive to new
8466 format, font-locking and multiple todo files. Make read-only.
8467 (todo-mode-map): Don't suppress digit keys, so they can supply
8468 prefix arguments. Add many new key bindings.
8469 (todo-prefix): Insert as an overlay instead of file text.
8470 Change semantics from diary date expression to purely visual mark.
8471 (todo-print): Rename to todo-print-buffer. Make buffer display
8472 features printable. Remove option to restrict number of items
8473 printed. Add option to print to file.
8474 (todo-print-function): Rename to todo-print-buffer-function.
8475 (todo-quit): Extend to handle exiting new todo modes.
8476 (todo-remove-item): Make sensitive to overlays.
8477 (todo-save): Extend to buffers of filtered items.
8478 (todo-show): Make sensitive to done items, multiple todo files and
8479 new todo modes. Offer to convert legacy todo file before creating
8480 first new todo file.
8481 (todo-show-priorities): Rename to todo-top-priorities.
8482 Change semantics of value 0.
8483 (todo-top-priorities): Rename to todo-filter-top-priorities,
8484 derive from todo-filter-items and extend functionality.
8485 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8486 and extend functionality to other types of filtered items.
8487 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8488 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8489 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8490 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8491 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8492 (todo-edit-mode-hook, todo-entry-prefix-function)
8493 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8494 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8495 (todo-initials, todo-insert-threshold, todo-item-string-start)
8496 (todo-line-string, todo-menu, todo-mode-hook)
8497 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8498 (todo-print-priorities, todo-remove-separator)
8499 (todo-save-top-priorities-too, todo-string-count-lines)
8500 (todo-string-multiline-p, todo-time-string-format)
8501 (todo-tmp-buffer-name): Remove.
8502 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8503 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8504 (todo-edit-category-diary-inclusion)
8505 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8506 (todo-edit-file, todo-edit-item-date-day)
8507 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8508 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8509 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8510 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8511 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8512 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8513 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8514 (todo-filter-top-priorities-multifile, todo-find-archive)
8515 (todo-find-filtered-items-file, todo-go-to-source-item)
8516 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8517 (todo-jump-to-archive-category, todo-lower-category)
8518 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8519 (todo-move-category, todo-move-item, todo-next-button)
8520 (todo-next-item, todo-padded-string, todo-powerset)
8521 (todo-previous-button, todo-previous-item)
8522 (todo-print-buffer-to-file, todo-raise-category)
8523 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8524 (todo-set-category-number, todo-set-item-priority)
8525 (todo-set-top-priorities-in-category)
8526 (todo-set-top-priorities-in-file, todo-show-categories-table)
8527 (todo-sort-categories-alphabetically-or-numerically)
8528 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8529 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8530 (todo-toggle-item-header, todo-toggle-item-highlighting)
8531 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8532 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8533 (todo-unarchive-items, todo-unmark-category): New commands.
8534 (todo-absolute-file-name, todo-add-to-buffer-list)
8535 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8536 (todo-basic-insert-item, todo-category-completions)
8537 (todo-category-number, todo-category-string-matcher-1)
8538 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8539 (todo-check-format, todo-clear-matches)
8540 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8541 (todo-current-category, todo-date-string-matcher)
8542 (todo-define-insertion-command, todo-diary-expired-matcher)
8543 (todo-diary-goto-entry, todo-diary-item-p)
8544 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8545 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8546 (todo-done-item-section-p, todo-done-separator)
8547 (todo-done-string-matcher, todo-files, todo-filter-items)
8548 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8549 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8550 (todo-insert-category-line, todo-insert-item-from-calendar)
8551 (todo-insert-sort-button, todo-insert-with-overlays)
8552 (todo-insertion-command-name, todo-insertion-key-bindings)
8553 (todo-label-to-key, todo-longest-category-name-length)
8554 (todo-make-categories-list, todo-mode-external-set)
8555 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8556 (todo-modes-set-3, todo-multiple-filter-files)
8557 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8558 (todo-read-category, todo-read-date, todo-read-dayname)
8559 (todo-read-file-name, todo-read-time)
8560 (todo-reevaluate-category-completions-files-defcustom)
8561 (todo-reevaluate-default-file-defcustom)
8562 (todo-reevaluate-filelist-defcustoms)
8563 (todo-reevaluate-filter-files-defcustom)
8564 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8565 (todo-reset-done-separator, todo-reset-done-separator-string)
8566 (todo-reset-done-string, todo-reset-global-current-todo-file)
8567 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8568 (todo-reset-prefix, todo-set-categories)
8569 (todo-set-date-from-calendar, todo-set-show-current-file)
8570 (todo-set-top-priorities, todo-short-file-name)
8571 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8572 (todo-total-item-counts, todo-update-buffer-list)
8573 (todo-update-categories-display, todo-update-categories-sexp)
8574 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8575 New functions.
8576 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8577 New major modes.
8578 (todo-categories, todo-display, todo-edit, todo-faces)
8579 (todo-filtered): New defgroups.
8580 (todo-archived-only, todo-button, todo-category-string, todo-date)
8581 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8582 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8583 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8584 (todo-add-item-if-new-category, todo-always-add-time-string)
8585 (todo-categories-align, todo-categories-archived-label)
8586 (todo-categories-category-label, todo-categories-diary-label)
8587 (todo-categories-done-label, todo-categories-number-separator)
8588 (todo-categories-todo-label, todo-categories-totals-label)
8589 (todo-category-completions-files, todo-completion-ignore-case)
8590 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8591 (todo-done-separator-string, todo-done-string)
8592 (todo-files-function, todo-filter-done-items, todo-filter-files)
8593 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8594 (todo-initial-category, todo-initial-file, todo-item-mark)
8595 (todo-legacy-date-time-regexp, todo-mode-line-function)
8596 (todo-nondiary-marker, todo-number-prefix)
8597 (todo-print-buffer-function, todo-show-current-file)
8598 (todo-show-done-only, todo-show-first, todo-show-with-done)
8599 (todo-skip-archived-categories, todo-top-priorities-overrides)
8600 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8601 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8602 New defcustoms.
8603 (todo-category-done, todo-date-pattern, todo-date-string-start)
8604 (todo-diary-items-buffer, todo-done-string-start)
8605 (todo-filtered-items-buffer, todo-item-start)
8606 (todo-month-abbrev-array, todo-month-name-array)
8607 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8608 (todo-top-priorities-buffer): New defconsts.
8609 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8610 (todo-categories-with-marks, todo-category-string-face)
8611 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8612 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8613 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8614 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8615 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8616 (todo-font-lock-keywords, todo-global-current-todo-file)
8617 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8618 (todo-insertion-commands-args)
8619 (todo-insertion-commands-args-genlist)
8620 (todo-insertion-commands-names, todo-insertion-map)
8621 (todo-key-bindings-t, todo-key-bindings-t+a)
8622 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8623 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8624 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8625 (todo-visited): New variables.
8626
8627 2013-06-21 Glenn Morris <rgm@gnu.org>
8628
8629 * play/cookie1.el (cookie-apropos): Add optional display argument.
8630 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8631 (psychoanalyze-pinhead): Use cookie-doctor.
8632
8633 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * emacs-lisp/package.el (tar-get-file-descriptor)
8636 (tar--extract): Declare.
8637
8638 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8639
8640 Extend flymake's warning predicate to be a function (bug#14217).
8641 * progmodes/flymake.el (flymake-warning-predicate): New.
8642 (flymake-parse-line): Use it.
8643 (flymake-warning-re): Make obsolete alias to
8644 `flymake-warning-predicate'.
8645
8646 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8649 (package-obsolete-list): Remove.
8650 (package-activate): Remove min-version argument. Add `force' argument.
8651 Adjust to new package-alist format.
8652 (package-mark-obsolete): Remove.
8653 (package-unpack): Force reload of the package's autoloads.
8654 (package-installed-p): Check builtins if the installed package is not
8655 recent enough.
8656 (package-initialize): Don't reset package-obsolete-list.
8657 Don't specify which package version to activate.
8658 (package-process-define-package, describe-package-1)
8659 (package-menu--generate): Adjust to new package-alist format.
8660
8661 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8662
8663 * allout-widgets.el (allout-widgets-mode-off)
8664 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8665 (allout-widgets-post-command-business)
8666 (allout-widgets-after-copy-or-kill-function)
8667 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8668 (allout-decorate-item-and-context)
8669 (allout-graphics-modification-handler): Fix typos in docstrings.
8670 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8671
8672 * cmuscheme.el (scheme-start-file): Doc fix.
8673 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8674 (scheme-input-filter): Use `string-match-p'.
8675
8676 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8677
8678 * dired-x.el: Use Dired consistently in docstrings.
8679
8680 * dired.el: Use Dired consistently in docstrings.
8681 (dired-readin, dired-mode): Use `setq-local'.
8682 (dired-switches-alist): Make defvar-local.
8683 (dired-buffers-for-dir): Use `zerop'.
8684 (dired-safe-switches-p, dired-switches-escape-p)
8685 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8686 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8687 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8688 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8689 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8690 (dired-toggle-marks, dired-mark-files-containing-regexp)
8691 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8692 (dired-flag-auto-save-files, dired-flag-backup-files):
8693 Use `looking-at-p'.
8694 (dired-mark-files-regexp, dired-build-subdir-alist):
8695 Use `string-match-p', `looking-at-p'.
8696
8697 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8698 (direct-print-region-helper): Use `string-match-p'.
8699
8700 2013-06-21 Leo Liu <sdl.web@gmail.com>
8701
8702 * comint.el (comint-redirect-results-list-from-process):
8703 Fix infinite loop.
8704
8705 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8706
8707 * net/eww.el (eww-update-header-line-format): Quote % characters.
8708
8709 2013-06-21 Glenn Morris <rgm@gnu.org>
8710
8711 * play/cookie1.el (cookie): New custom group.
8712 (cookie-file): New option.
8713 (cookie-check-file): New function.
8714 (cookie): Make it interactive. Make start and end messages optional.
8715 Interactively, display the result. Default to cookie-file.
8716 (cookie-insert): Default to cookie-file.
8717 (cookie-snarf): Make start and end messages optional.
8718 Default to cookie-file. Use with-temp-buffer.
8719 (cookie-read): Rename from read-cookie.
8720 Make start and end messages optional. Default to cookie-file.
8721 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8722 Do not autoload it.
8723 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8724 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8725
8726 2013-06-21 Leo Liu <sdl.web@gmail.com>
8727
8728 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8729
8730 2013-06-21 Glenn Morris <rgm@gnu.org>
8731
8732 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8733
8734 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8735 Daniel Hackney <dan@haxney.org>
8736
8737 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8738 Consolidate the single-file vs tarball code.
8739 (package-desc-suffix): New function.
8740 (package-desc-full-name): Don't bother inlining it.
8741 (package-load-descriptor): Return the new package-desc.
8742 (package-mark-obsolete): Remove unused arg `package'.
8743 (package-unpack): Make it work for single files as well.
8744 Make it update package-alist.
8745 (package--make-autoloads-and-stuff): Rename from
8746 package--make-autoloads-and-compile. Don't compile any more.
8747 (package--compile): New function.
8748 (package-generate-description-file): New function, extracted from
8749 package-unpack-single.
8750 (package-unpack-single): Remove.
8751 (package--with-work-buffer): Add indentation and debugging info.
8752 (package-download-single): Remove.
8753 (package-install-from-archive): Rename from package-download-tar, make
8754 it take a pkg-desc, and make it work for single files as well.
8755 (package-download-transaction): Simplify.
8756 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8757 external tar program.
8758 (package-install-from-buffer): Remove `pkg-desc' argument.
8759 Use package-tar-file-info for tar-mode buffers.
8760 (package-install-file): Simplify accordingly.
8761 (package-archive-base): Change to take a pkg-desc.
8762 * tar-mode.el (tar--check-descriptor): New function, extracted from
8763 tar-get-descriptor.
8764 (tar-get-descriptor): Use it.
8765 (tar-get-file-descriptor): New function.
8766 (tar--extract): New function, extracted from tar-extract.
8767 (tar--extract): Use it.
8768 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8769 case the summary uses non-ascii. Adjust to new calling convention of
8770 package-tar-file-info.
8771
8772 2013-06-21 Leo Liu <sdl.web@gmail.com>
8773
8774 * comint.el (comint-redirect-results-list-from-process):
8775 Fix random delay. (Bug#14681)
8776
8777 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8778
8779 * profiler.el (profiler-format-number): Use log, not log10.
8780
8781 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8782
8783 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8784
8785 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8786
8787 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8788 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8789 yet available.
8790 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8791 (AUTOGENEL): ... here.
8792 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8793 (cl--defsubst-expand): Use it.
8794
8795 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8796
8797 * subr.el (log10): Move here from C code, and declare as obsolete.
8798 All uses of (log10 X) replaced with (log X 10).
8799
8800 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8801
8802 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8803 Declare with `defvar-local'.
8804 (tabulated-list-use-header-line, tabulated-list-entries)
8805 (tabulated-list-padding, tabulated-list-printer)
8806 (tabulated-list-sort-key): Declare with `defvar-local'.
8807 (tabulated-list-init-header, tabulated-list-print-fake-header):
8808 Use `setq-local'.
8809
8810 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8811
8812 * arc-mode.el (archive-mode): Add `archive-write-file' to
8813 `write-contents-functions' also for remote files. (Bug#14652)
8814
8815 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * cus-edit.el (custom-commands): Fix typos.
8818 (custom-display): Fix tooltip text.
8819 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8820 Fix typos in docstrings.
8821 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8822 (custom-unlispify-menu-entry, custom-magic-value-create)
8823 (custom-add-see-also, custom-group-value-create): Use ?\s.
8824 (custom-guess-type, customize-apropos, editable-field)
8825 (custom-face-value-create): Use `string-match-p'.
8826 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8827
8828 * custom.el (custom-load-symbol): Use `string-match-p'.
8829
8830 * ansi-color.el: Convert to lexical binding.
8831 (ansi-colors): Fix URL.
8832 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8833 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8834 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8835
8836 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8837
8838 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8839
8840 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8841
8842 2013-06-19 Tom Tromey <tromey@redhat.com>
8843
8844 * net/eww.el (eww-top-url): Remove.
8845 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8846 (eww-render): Set new variables. Don't set eww-top-url.
8847 (eww-handle-link): Handle "prev", "home", and "contents".
8848 Downcase the rel text.
8849 (eww-top-url): Choose best top URL.
8850
8851 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8852
8853 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8854 relying in widget.el. Using widget.el leads to too many
8855 user interface inconsistencies.
8856 (eww-self-insert): Implement entering commands in text fields.
8857 (eww-process-text-input): New function to make text input field editing
8858 work.
8859 (eww-submit): Rewrite to use the new-style form methods.
8860 (eww-select-display): Display the correct selected item.
8861 (eww-change-select): Implement changing the select value.
8862 (eww-toggle-checkbox): Implement radio/checkboxes.
8863 (eww-update-field): Fix compilation error.
8864 (eww-tag-textarea): Implement <textarea>.
8865
8866 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8867 we don't shadow mode-specific bindings.
8868
8869 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8870 nothing to push.
8871
8872 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8873
8874 2013-06-19 Glenn Morris <rgm@gnu.org>
8875
8876 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8877
8878 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8879
8880 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8881 not needed.
8882
8883 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8884
8885 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8886
8887 * net/browse-url.el (browse-url-browser-function):
8888 `eww-browse-url' has the right calling signature, `eww' does not.
8889
8890 2013-06-19 Glenn Morris <rgm@gnu.org>
8891
8892 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8893 Only eval autoloaded macros.
8894 (byte-compile-autoload): Only give the macro warning for macros.
8895
8896 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8897 (ps-underlined-faces): Declare.
8898
8899 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8900 (speedbar-add-supported-extension): Declare.
8901
8902 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8903 Don't include a date stamp in the header of the generated file;
8904 it leads to needless differences between output files.
8905
8906 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8907
8908 * net/secrets.el (secrets-struct-secret-content-type):
8909 Replace check of introspection data by a test call of "CreateItem".
8910 Some servers do not offer introspection.
8911
8912 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * electric.el (electric-pair-mode): Improve interaction with
8915 electric-layout-mode.
8916 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8917 (electric-pair-syntax): Use text-mode-syntax-table in comments
8918 and strings.
8919 (electric-pair--insert): New function.
8920 (electric-pair-post-self-insert-function): Use it and
8921 electric--after-char-pos.
8922
8923 2013-06-19 Leo Liu <sdl.web@gmail.com>
8924
8925 * progmodes/octave.el (octave-help): Fix regexp.
8926
8927 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928
8929 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8930 (shr-table-horizontal-line): Allow nil as a value, and change the
8931 default.
8932 (shr-insert-table-ruler): Respect the nil value.
8933
8934 2013-06-18 Tom Tromey <tromey@barimba>
8935
8936 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8937 New defvars.
8938 (eww-open-file): New defun.
8939 (eww-render): Initialize new variables.
8940 (eww-display-html): Handle "link" and "a".
8941 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8942 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8943 (eww-back-url): Rename from eww-previous-url.
8944 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8945 New defuns.
8946
8947 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8948
8949 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8950 Distinguish ternary operator tokens from slash symbol and slash
8951 char literal.
8952
8953 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8954
8955 Convert symbol prettification into minor mode and global minor mode.
8956
8957 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8958 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8959 (prettify-symbols--keywords): Rename from
8960 `prog-prettify-symbols-alist' and make a local defvar.
8961 (prettify-symbols--compose-symbol): Rename from
8962 `prog--prettify-font-lock-compose-symbol'.
8963 (prettify-symbols--make-keywords): Rename from
8964 `prog-prettify-font-lock-symbols-keywords' and simplify.
8965 (prog-prettify-install): Remove.
8966 (prettify-symbols-mode): New minor mode, based on
8967 `prog-prettify-install'.
8968 (turn-on-prettify-symbols-mode): New function.
8969 (global-prettify-symbols-mode): New globalized minor mode.
8970
8971 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8972 * progmodes/cfengine.el (cfengine3-mode):
8973 * progmodes/perl-mode.el (perl-mode): Don't call
8974 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8975
8976 2013-06-18 Juri Linkov <juri@jurta.org>
8977
8978 * files-x.el (modify-file-local-variable-message): New function.
8979 (modify-file-local-variable)
8980 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8981 and call `modify-file-local-variable-message' when it's non-nil.
8982 (add-file-local-variable, delete-file-local-variable)
8983 (add-file-local-variable-prop-line)
8984 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8985 and use it. (Bug#9820)
8986
8987 2013-06-18 Juri Linkov <juri@jurta.org>
8988
8989 * emulation/vi.el (vi-shell-op):
8990 * emulation/vip.el (vip-execute-com, ex-command):
8991 * emulation/viper-cmd.el (viper-exec-bang):
8992 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8993 the call of `shell-command-on-region'. (Bug#14637)
8994
8995 * simple.el (shell-command-on-region): Doc fix.
8996
8997 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9000 (bug#14633).
9001
9002 2013-06-18 Glenn Morris <rgm@gnu.org>
9003
9004 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9005
9006 * newcomment.el (comment-search-forward, comment-search-backward):
9007 Doc fix. (Bug#14376)
9008
9009 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9010
9011 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9012 (buffer-face-mode-invoke): Doc fix.
9013
9014 2013-06-18 Matthias Meulien <orontee@gmail.com>
9015
9016 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9017 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9018
9019 2013-06-18 Glenn Morris <rgm@gnu.org>
9020
9021 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9022 Replace obsolete function generic-make-keywords with its expansion.
9023
9024 * progmodes/python.el (ffap-alist): Declare.
9025
9026 * textmodes/reftex.el (bibtex-mode-map): Declare.
9027
9028 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9029
9030 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9031 (package-unpack, package-unpack-single): Return the pkg-dir.
9032 (package-download-transaction): Use it to update package-alist.
9033
9034 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9035
9036 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9037 possible choice.
9038
9039 2013-06-17 Juri Linkov <juri@jurta.org>
9040
9041 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9042
9043 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9044
9045 * emacs-lisp/package.el (package-load-descriptor):
9046 Remove `with-syntax-table' call, `read' doesn't need it.
9047 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9048
9049 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9050
9051 * startup.el (command-line): Expand package name returned by
9052 `package--description-file' (bug#14639).
9053
9054 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9055
9056 * emacs-lisp/package.el (package-load-descriptor): Do not call
9057 `emacs-lisp-mode', just use its syntax table.
9058
9059 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9062 `font-lock-extra-managed-props' if any prettifying keyword is added.
9063 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9064 (prog-mode): Use `setq-local'.
9065
9066 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * international/characters.el (standard-case-table): Set syntax of ?»
9069 and ?« to punctuation.
9070
9071 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9072
9073 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9074 Save relevant match data before calling `syntax-ppss' (bug#14595).
9075
9076 2013-06-15 Juri Linkov <juri@jurta.org>
9077
9078 * files-x.el (modify-file-local-variable-prop-line): Add local
9079 variables to the end of the existing comment on the first line.
9080 Use `file-auto-mode-skip' to skip interpreter magic line,
9081 and also skip XML declaration.
9082
9083 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9084
9085 * startup.el (package--builtin-versions): New var.
9086 (package-subdirectory-regexp): Remove.
9087 (package--description-file): Hard code its value instead.
9088
9089 * emacs-lisp/package.el: Don't activate packages older than builtin.
9090 (package-obsolete-list): Rename from package-obsolete-alist, and make
9091 it into a simple list of package-desc.
9092 (package-strip-version): Remove.
9093 (package-built-in-p): Use package--builtin-versions.
9094 (package-mark-obsolete): Simplify.
9095 (package-process-define-package): Mark it obsolete if older than the
9096 builtin version.
9097 (package-handle-response): Use line-end-position.
9098 (package-read-archive-contents, package--download-one-archive):
9099 Simplify.
9100 (package--add-to-archive-contents): Skip if older than the builtin or
9101 installed version.
9102 (package-menu-describe-package): Fix last change.
9103 (package-list-unversioned): New var.
9104 (package-menu--generate): Use it.
9105
9106 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9107 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9108 (autoload-builtin-package-versions): New variable.
9109 (autoload-generate-file-autoloads): Use them.
9110 Remove the list of autoloaded functions/macros from the
9111 (autoload...) comments.
9112
9113 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9114
9115 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9116
9117 * simple.el (line-move-partial): Don't jump to the next screen
9118 line as soon as it becomes visible. Instead, continue enlarging
9119 the vscroll until the portion of a tall screen line that's left on
9120 display is about the height of the frame's default font.
9121 (Bug#14567)
9122
9123 2013-06-15 Glenn Morris <rgm@gnu.org>
9124
9125 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9126 compilation-error-regexp-alist void, or local while let-bound.
9127
9128 * progmodes/make-mode.el (makefile-mode-syntax-table):
9129 Treat "=" as punctuation. (Bug#14614)
9130
9131 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9132
9133 * help-fns.el (describe-variable):
9134 Add extra line for permanent-local variables.
9135
9136 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9137
9138 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9139 Add export, import, library. (Bug#9164)
9140 (library): Set indent function.
9141
9142 2013-06-14 Glenn Morris <rgm@gnu.org>
9143
9144 * term/xterm.el (xterm--query):
9145 Stop after first matching handler. (Bug#14615)
9146
9147 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9148
9149 Add support for dired in saveplace.
9150 * dired.el (dired-initial-position-hook): New variable.
9151 (dired-initial-position): Call hook to place cursor position.
9152 * saveplace.el (save-place-to-alist): Add dired position.
9153 (save-place-dired-hook): New function.
9154
9155 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9158 through a symbol rather than letrec.
9159
9160 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9161 (package-desc): Add `dir' field.
9162 (package-desc-full-name): New function.
9163 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9164 (package-maybe-load-descriptor): Remove.
9165 (package-load-all-descriptors): Just call package-load-descriptor.
9166 (package--disabled-p): New function.
9167 (package-desc-vers, package-desc-doc): Remove aliases.
9168 (package--dir): Remove function.
9169 (package-activate): Check if a package is disabled.
9170 (package-process-define-package): New function, extracted from
9171 define-package.
9172 (define-package): Turn into a place holder.
9173 (package-unpack-single, package-tar-file-info):
9174 Use package--description-file.
9175 (package-compute-transaction): Use package--disabled-p.
9176 (package-download-transaction): Don't call
9177 package-maybe-load-descriptor since they're all loaded anyway.
9178 (package-install): Change argument to be a pkg-desc.
9179 (package-delete): Use a single pkg-desc argument.
9180 (describe-package-1): Use package-desc-dir instead of package--dir.
9181 Use package-desc property instead of package-symbol.
9182 (package-install-button-action): Adjust accordingly.
9183 (package--push): Rewrite.
9184 (package-menu--print-info): Adjust accordingly. Change the ID format
9185 to be a pkg-desc.
9186 (package-menu-describe-package, package-menu-get-status)
9187 (package-menu--find-upgrades, package-menu-mark-upgrades)
9188 (package-menu-execute, package-menu--name-predicate):
9189 Adjust accordingly.
9190 * startup.el (package--description-file): New function.
9191 (command-line): Use it.
9192 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9193 Use package-desc-version.
9194
9195 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9196 (byte-compile-preprocess): Use it.
9197 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9198 can't quite recognize.
9199 (byte-compile-add-to-list): Remove.
9200 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9201 (cconv-closure-convert): Add assertion.
9202
9203 * emacs-lisp/map-ynp.el: Use lexical-binding.
9204 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9205 Factor out some repeated code.
9206
9207 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * subr.el (with-eval-after-load): New macro.
9210 (eval-after-load): Allow form to be a function.
9211 take advantage of lexical-binding.
9212 (do-after-load-evaluation): Use dolist and adjust to new format.
9213 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9214
9215 2013-06-13 Juri Linkov <juri@jurta.org>
9216
9217 * replace.el (perform-replace): Display "symbol " and other search
9218 modes from `isearch-message-prefix' in the *Help* buffer.
9219
9220 * isearch.el (isearch-query-replace): Add " symbol" and other
9221 possible search modes from `isearch-message-prefix' to the prompt.
9222 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9223 when reading a regexp to collect.
9224
9225 2013-06-13 Juri Linkov <juri@jurta.org>
9226
9227 * isearch.el (word-search-regexp): Match whitespace if the search
9228 string begins or ends in whitespace. The LAX arg is applied to
9229 both ends of the search string. Use `regexp-quote' and explicit
9230 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9231 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9232 boundaries are replaced with symbol boundaries, and characters
9233 between symbols match non-word non-symbol syntax. (Bug#14602)
9234
9235 2013-06-13 Juri Linkov <juri@jurta.org>
9236
9237 * isearch.el (isearch-del-char): Don't exceed the length of
9238 `isearch-string' by the prefix arg. (Bug#14563)
9239
9240 2013-06-13 Juri Linkov <juri@jurta.org>
9241
9242 * isearch.el (isearch-yank-word, isearch-yank-line)
9243 (isearch-char-by-name, isearch-quote-char)
9244 (isearch-printing-char, isearch-process-search-char):
9245 Add optional count prefix arg. (Bug#14563)
9246
9247 * international/isearch-x.el
9248 (isearch-process-search-multibyte-characters):
9249 Add optional count prefix arg.
9250
9251 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9252
9253 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9254 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9255 lexical-binding.
9256
9257 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9258
9259 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9260
9261 2013-06-13 Glenn Morris <rgm@gnu.org>
9262
9263 * startup.el (tty-handle-args):
9264 Don't just discard "--" and anything after. (Bug#14608)
9265
9266 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9267
9268 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9269
9270 Implement changes in Secret Service API. Make it backward compatible.
9271 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9272 (secrets-create-item): Use it. Prefix properties with interface.
9273
9274 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9275
9276 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9277 (term-emulate-terminal): Respect term-suppress-hard-newline.
9278
9279 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9280
9281 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9282 Only remove a `thumb-file' overlay. (Bug#14548)
9283
9284 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9285
9286 * mail/reporter.el (reporter-submit-bug-report):
9287 Handle missing package-name. (Bug#14600)
9288
9289 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9290
9291 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9292 (reftex-citation-prompt, reftex-default-bibliography)
9293 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9294 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9295 (reftex-bib-sort-author, reftex-bib-sort-year)
9296 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9297 (reftex-extract-bib-entries-from-thebibliography)
9298 (reftex-get-bibkey-default, reftex-get-bib-names)
9299 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9300 (reftex-format-bib-entry, reftex-parse-bibitem)
9301 (reftex-format-bibitem, reftex-do-citation)
9302 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9303 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9304 (reftex-insert-bib-matches, reftex-format-citation)
9305 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9306 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9307 existing comments into docstrings.
9308
9309 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9310
9311 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9312
9313 2013-06-12 Andreas Schwab <schwab@suse.de>
9314
9315 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9316 for auto-save files.
9317
9318 2013-06-12 Glenn Morris <rgm@gnu.org>
9319
9320 * ido.el (ido-delete-ignored-files): Remove.
9321 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9322 Go back to calling ido-ignore-item-p directly.
9323
9324 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9325
9326 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9327
9328 * ido.el (ido-delete-ignored-files): New function,
9329 split from ido-make-file-list-1.
9330 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9331 (ido-make-file-list-1): Use ido-delete-ignored-files.
9332
9333 2013-06-12 Leo Liu <sdl.web@gmail.com>
9334
9335 * progmodes/octave.el (inferior-octave-startup)
9336 (inferior-octave-completion-table)
9337 (inferior-octave-track-window-width-change)
9338 (octave-eldoc-function-signatures, octave-help)
9339 (octave-find-definition): Use single quoted strings.
9340 (inferior-octave-startup-args): Change default value.
9341 (inferior-octave-startup): Do not hard code "-i" and
9342 "--no-line-editing".
9343 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9344 (inferior-octave-directory-tracker): Use it.
9345 (octave-goto-function-definition): Robustify.
9346 (octave-help): Support highlighting operators in 'See also'.
9347 (octave-find-definition): Find subfunctions only in Octave mode.
9348
9349 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * help-fns.el (help-fns--compiler-macro): If the handler function is
9352 named, then put a link to it.
9353 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9354 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9355 (cl-typep): Use it.
9356 (cl-eval-when): Simplify debug spec.
9357 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9358 compiler-macro function instead of setting `compiler-macro-file'.
9359
9360 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9361
9362 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9363 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9364
9365 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9366 Daniel Hackney <dan@haxney.org>
9367
9368 First part of Daniel Hackney's patch to package.el.
9369 * emacs-lisp/package.el: Use defstruct.
9370 (package-desc): New, main struct.
9371 (package--bi-desc, package--ac-desc): New structs, used to describe the
9372 format in external files.
9373 (package-desc-vers): Replace with package-desc-version accessor.
9374 (package-desc-doc): Replace with package-desc-summary accessor.
9375 (package-activate-1): Remove `package' arg since the pkg-vec now
9376 includes the name.
9377 (define-package): Use package-desc-from-define.
9378 (package-unpack-single): Change file-name arg to be a symbol.
9379 (package--add-to-archive-contents): Use package-desc-create and new
9380 accessor functions to package--ac-desc.
9381 (package-buffer-info, package-tar-file-info): Return a package-desc.
9382 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9383 arg to be a package-desc.
9384 (package-install-file): Adjust accordingly. Use \' to match EOS.
9385 (package--from-builtin): New function.
9386 (describe-package-1, package-menu--generate): Use it.
9387 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9388 (package-generate-autoloads): Idem and return the name of the file.
9389 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9390 Change pkg-info arg to be a package-desc.
9391 Use package-make-ac-desc.
9392 (package-upload-file): Use \' to match EOS.
9393 * finder.el (finder-compile-keywords): Use package-make-builtin.
9394
9395 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9396
9397 * vc/vc.el (vc-deduce-fileset): Change error message.
9398 (vc-read-backend): New function.
9399 (vc-next-action): Use it.
9400
9401 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9402
9403 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9404 (prolog-font-lock-keywords): Use regexp-opt instead.
9405 Don't manually highlight strings.
9406 (prolog-mode-variables): Simplify comment-start-skip.
9407 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9408
9409 * emacs-lisp/generic.el (generic--normalise-comments)
9410 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9411 (generic-mode-set-comments): Use them.
9412 (generic-bracket-support): Use setq-local.
9413 (generic-make-keywords-list): Declare obsolete.
9414
9415 2013-06-11 Glenn Morris <rgm@gnu.org>
9416
9417 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9418 Prettify after setting font-lock-defaults. (Bug#14574)
9419
9420 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9421
9422 * replace.el (query-replace, occur-read-regexp-defaults-function)
9423 (replace-search):
9424 * subr.el (declare-function, number-sequence, local-set-key)
9425 (substitute-key-definition, locate-user-emacs-file)
9426 (with-silent-modifications, split-string, eval-after-load):
9427 Fix typos, remove unneeded backslashes and reflow some docstrings.
9428
9429 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9430
9431 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9432 default for Elisp files.
9433
9434 2013-06-11 Glenn Morris <rgm@gnu.org>
9435
9436 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9437 although define-derived-mode was doing this anyway. (Bug#14583)
9438
9439 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9440
9441 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9442 Fix make-variable-buffer-local call to refer to the correct variable.
9443
9444 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9445
9446 * eshell/em-term.el (eshell-visual-commands)
9447 (eshell-visual-subcommands, eshell-visual-options):
9448 Add summary line to docstrings. Add cross-references.
9449
9450 2013-06-10 Glenn Morris <rgm@gnu.org>
9451
9452 * epa.el (epa-read-file-name): New function. (Bug#14510)
9453 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9454
9455 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9456
9457 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9458 output redirection to be ignored with visual commands.
9459
9460 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9461
9462 * eshell/em-term.el (eshell-visual-command-p): New function.
9463 (eshell-term-initialize): Move long lambda to separate function
9464 eshell-visual-command-p.
9465 * eshell/em-dirs.el (eshell-dirs-initialise):
9466 * eshell/em-script.el (eshell-script-initialize):
9467 Add missing #' to lambda.
9468
9469 2013-06-08 Leo Liu <sdl.web@gmail.com>
9470
9471 * progmodes/octave.el (octave-add-log-current-defun): New function.
9472 (octave-mode): Set add-log-current-defun-function.
9473 (octave-goto-function-definition): Do not move point if not found.
9474 (octave-find-definition): Enhance to try subfunctions first.
9475
9476 2013-06-08 Glenn Morris <rgm@gnu.org>
9477
9478 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9479 (byte-compile-backward-char, byte-compile-backward-word):
9480 Improve previous change, to handle non-explicit nil.
9481
9482 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9485 (smie--opener/closer-at-point): New function.
9486 (smie--matching-block-data): Use it. Don't match from right after an
9487 opener or right before a closer. Obey smie-blink-matching-inners.
9488 Don't signal a mismatch for repeated inners like "switch..case..case".
9489
9490 2013-06-07 Leo Liu <sdl.web@gmail.com>
9491
9492 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9493 to t. (Bug#14303)
9494 (octave-function-header-regexp): Fix. (Bug#14570)
9495 (octave-help-mode-finish-hook, octave-help-mode-finish):
9496 Remove. Just use temp-buffer-show-hook.
9497
9498 * newcomment.el (comment-search-backward): Revert last change.
9499 (Bug#14434)
9500
9501 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9502
9503 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9504
9505 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9506 through xargs, to avoid failure due to MS-Windows limitations on
9507 command-line length.
9508
9509 2013-06-06 Glenn Morris <rgm@gnu.org>
9510
9511 * font-lock.el (lisp-font-lock-keywords-2):
9512 Treat user-error like error.
9513
9514 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9515 (byte-compile-backward-char, byte-compile-backward-word):
9516 Handle explicit nil arguments. (Bug#14565)
9517
9518 2013-06-05 Alan Mackenzie <acm@muc.de>
9519
9520 * isearch.el (isearch-allow-prefix): New user option.
9521 (isearch-other-meta-char): Don't exit isearch when a prefix
9522 argument is typed whilst `isearch-allow-prefix' is non-nil.
9523 (Bug#9706)
9524
9525 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 * autorevert.el (auto-revert-notify-handler): Use memq.
9528 Hide assertion failure.
9529
9530 * skeleton.el: Use cl-lib.
9531 (skeleton-further-elements): Use defvar-local.
9532 (skeleton-insert): Use cl-progv.
9533
9534 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9535
9536 * progmodes/prog-mode.el (prog-prettify-symbols)
9537 (prog-prettify-install): Update docstrings.
9538
9539 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * simple.el: Move all the prog-mode code to prog-mode.el.
9542 * progmodes/prog-mode.el: New file.
9543 * loadup.el: Add prog-mode.el.
9544
9545 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9546
9547 * simple.el (prog-prettify-symbols): Add version.
9548 (prog-prettify-install): Add convenience function to prettify symbols.
9549
9550 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9551 (perl--augmented-font-lock-keywords-1)
9552 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9553 variables and use it.
9554
9555 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9556 (cfengine3-mode): Remove unneeded variable and use it.
9557
9558 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9559 (lisp--augmented-font-lock-keywords-1)
9560 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9561 Remove unneeded variables and use it.
9562
9563 2013-06-05 João Távora <joaotavora@gmail.com>
9564
9565 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9566 to point when opening the connection. (Bug#14380)
9567
9568 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9569
9570 * subr.el (load-history-regexp, load-history-filename-element)
9571 (eval-after-load, after-load-functions, do-after-load-evaluation)
9572 (eval-next-after-load, display-delayed-warnings)
9573 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9574 definition of save-match-data.
9575 (overriding-local-map): Remove accidental obsolescence declaration.
9576
9577 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9578
9579 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9580
9581 Generalize symbol prettify support to prog-mode and implement it
9582 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9583 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9584 (prog--prettify-font-lock-compose-symbol)
9585 (prog-prettify-font-lock-symbols-keywords): New variables and
9586 functions to support symbol prettification.
9587 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9588 (lisp--augmented-font-lock-keywords-1)
9589 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9590 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9591 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9592 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9593 Implement prettify of -> => :: strings.
9594 * progmodes/perl-mode.el (perl-prettify-symbols)
9595 (perl--font-lock-compose-symbol)
9596 (perl--font-lock-symbols-keywords): Move to prog-mode.
9597 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9598 (perl-font-lock-keywords-1)
9599 (perl-font-lock-keywords-2): Remove explicit prettify support.
9600 (perl--augmented-font-lock-keywords)
9601 (perl--augmented-font-lock-keywords-1)
9602 (perl--augmented-font-lock-keywords-2, perl-mode):
9603 Implement prettify support.
9604
9605 2013-06-05 Leo Liu <sdl.web@gmail.com>
9606
9607 Re-implement smie matching block highlight using
9608 show-paren-data-function. (Bug#14395)
9609 * emacs-lisp/smie.el (smie-matching-block-highlight)
9610 (smie--highlight-matching-block-overlay)
9611 (smie--highlight-matching-block-lastpos)
9612 (smie-highlight-matching-block)
9613 (smie-highlight-matching-block-mode): Remove.
9614 (smie--matching-block-data-cache): New variable.
9615 (smie--matching-block-data): New function.
9616 (smie-setup): Use smie--matching-block-data for
9617 show-paren-data-function.
9618
9619 * progmodes/octave.el (octave-mode-menu): Fix.
9620 (octave-find-definition): Skip garbage lines.
9621
9622 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9623
9624 Fix compilation error with simultaneous dynamic+lexical scoping.
9625 Add warning when a defvar appears after the first let-binding.
9626 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9627 (byte-compile-close-variables): Initialize it.
9628 (byte-compile--declare-var): New function.
9629 (byte-compile-file-form-defvar)
9630 (byte-compile-file-form-define-abbrev-table)
9631 (byte-compile-file-form-custom-declare-variable): Use it.
9632 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9633 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9634 (byte-compile-bind): Handle dynamic bindings that shadow
9635 lexical bindings.
9636 (byte-compile-unbind): Make arg non-optional.
9637 (byte-compile-let): Simplify.
9638 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9639 (cconv--analyse-function, cconv-analyse-form): Populate it.
9640 Protect byte-compile-bound-variables to limit the scope of defvars.
9641 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9642 Remove unneeded rule for `declare'.
9643
9644 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9645 so as to avoid depending on cl-adjoin at run-time.
9646 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9647
9648 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9649 (macroexp--warn-and-return): Use it.
9650
9651 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * subr.el: Convert to lexical binding.
9654 (overriding-local-map): Make obsolete.
9655 (add-to-list): Doc fix. Add compiler macro.
9656 (read-key): Swap values of local maps.
9657
9658 2013-06-05 Leo Liu <sdl.web@gmail.com>
9659
9660 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9661
9662 2013-06-04 Leo Liu <sdl.web@gmail.com>
9663
9664 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9665 (compilation-auto-jump): Suppress the "Mark set" message to give
9666 way to exit message.
9667
9668 2013-06-04 Alan Mackenzie <acm@muc.de>
9669
9670 Remove faulty optimisation from indentation calculation.
9671 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9672 search limit based on 2000 characters back from indent-point.
9673
9674 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9675
9676 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9677
9678 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * emacs-lisp/lisp.el: Use lexical-binding.
9681 (lisp--local-variables-1, lisp--local-variables): New functions.
9682 (lisp--local-variables-completion-table): New var.
9683 (lisp-completion-at-point): Use it complete let-bound vars.
9684
9685 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9686 eagerly (bug#14422).
9687
9688 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9689
9690 * autorevert.el (auto-revert-notify-enabled)
9691 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9692 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9693 (auto-revert-notify-handler): Handle also gfilenotify.
9694
9695 * subr.el (file-notify-handle-event): New defun. Replacing ...
9696 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9697 Remove.
9698
9699 2013-06-03 Juri Linkov <juri@jurta.org>
9700
9701 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9702 `M-s h .'. (Bug#14427)
9703
9704 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9705 command `hi-lock-face-symbol-at-point'.
9706 (hi-lock-face-symbol-at-point): New command.
9707 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9708 (hi-lock-menu): Add `highlight-symbol-at-point'.
9709 (hi-lock-mode): Doc fix.
9710
9711 * isearch.el (isearch-forward-symbol-at-point): New command.
9712 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9713 (isearch-highlight-regexp): Add a regexp which matches
9714 words/symbols for word/symbol mode.
9715
9716 * subr.el (find-tag-default-bounds): New function with the body
9717 mostly moved from `find-tag-default'.
9718 (find-tag-default): Move most code to `find-tag-default-bounds',
9719 call it and apply `buffer-substring-no-properties' afterwards.
9720
9721 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9722
9723 * eshell/em-term.el (eshell-term-initialize):
9724 Use `cl-intersection' rather than `intersection'.
9725
9726 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9727
9728 * vc/log-view.el: Doc fix.
9729 (log-view-mode-map): Copy keymap from `special-mode-map'.
9730
9731 2013-06-02 Eric Ludlam <zappo@gnu.org>
9732
9733 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9734 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9735 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9736 (eieio-unbound, eieio-default-superclass)
9737 (eieio--define-field-accessors, method-static, method-before)
9738 (method-primary, method-after, method-num-lists)
9739 (method-generic-before, method-generic-primary)
9740 (method-generic-after, method-num-slots)
9741 (eieio-specialized-key-to-generic-key)
9742 (eieio--check-type, class-v, class-p)
9743 (eieio-class-name, define-obsolete-function-alias)
9744 (eieio-class-parents-fast, eieio-class-children-fast)
9745 (same-class-fast-p, class-constructor, generic-p)
9746 (generic-primary-only-p, generic-primary-only-one-p)
9747 (class-option-assoc, class-option, eieio-object-p)
9748 (class-abstract-p, class-method-invocation-order)
9749 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9750 (eieio-class-un-autoload, eieio-defclass)
9751 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9752 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9753 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9754 (eieio-defgeneric-reset-generic-form)
9755 (eieio-defgeneric-form-primary-only)
9756 (eieio-defgeneric-reset-generic-form-primary-only)
9757 (eieio-defgeneric-form-primary-only-one)
9758 (eieio-defgeneric-reset-generic-form-primary-only-one)
9759 (eieio-unbind-method-implementations)
9760 (eieio--defmethod, eieio--typep)
9761 (eieio-perform-slot-validation, eieio-validate-slot-value)
9762 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9763 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9764 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9765 (eieio-slot-name-index, eieio-class-slot-name-index)
9766 (eieio-set-defaults, eieio-initarg-to-attribute)
9767 (eieio-attribute-to-initarg, eieio-c3-candidate)
9768 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9769 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9770 (eieio-class-precedence-list, eieio-generic-call-methodname)
9771 (eieio-generic-call-arglst, eieio-generic-call-key)
9772 (eieio-generic-call-next-method-list)
9773 (eieio-pre-method-execution-functions, eieio-generic-call)
9774 (eieio-generic-call-primary-only, eieiomt-method-list)
9775 (eieiomt-optimizing-obarray, eieiomt-install)
9776 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9777 (eieio-generic-form, eieio-defmethod, make-obsolete)
9778 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9779 (defclass): Remove `eval-and-compile' from macro.
9780 (call-next-method, shared-initialize): Instead of using
9781 `scoped-class' variable, use new eieio--scoped-class, and
9782 eieio--with-scoped-class.
9783 (initialize-instance): Rename local variable 'scoped-class' to
9784 'this-class' to remove ambiguitity from old global.
9785
9786 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9787 eieio.el.
9788 (eieio--scoped-class-stack): New variable.
9789 (eieio--scoped-class): New fcn.
9790 (eieio--with-scoped-class): New scoping macro.
9791 (eieio-defclass): Use pushnew instead of add-to-list.
9792 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9793 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9794 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9795 `scoped-class' variable, use new eieio--scoped-class, and
9796 eieio--with-scoped-class.
9797
9798 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9799
9800 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9801
9802 * eshell/esh-ext.el (eshell-external-command): Pass args to
9803 `eshell-find-interpreter'.
9804 (eshell-find-interpreter): Add new second parameter ARGS.
9805
9806 * eshell/em-script.el (eshell-script-initialize): Add second arg
9807 to the function added as MATCH to `eshell-interpreter-alist'.
9808
9809 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9810 the function added as MATCH to `eshell-interpreter-alist'.
9811
9812 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9813 (eshell-visual-options): New defcustom.
9814 (eshell-escape-control-x): Adapt docstring.
9815 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9816 `eshell-visual-options' in addition to `eshell-visual-commands'.
9817 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9818
9819 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9820
9821 * progmodes/python.el (python-indent-block-enders): Add break,
9822 continue and raise keywords.
9823
9824 2013-06-01 Glenn Morris <rgm@gnu.org>
9825
9826 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9827
9828 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9829 * progmodes/cc-cmds.el (delete-forward-p):
9830 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9831 * progmodes/cc-engine.el (buffer-syntactic-context):
9832 * progmodes/cc-fonts.el (face-property-instance):
9833 * progmodes/cc-mode.el (set-keymap-parents):
9834 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9835 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9836 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9837 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9838 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9839
9840 * progmodes/cc-vars.el (other): Emacs has this widget since
9841 at least 21.1, so don't (re)define it.
9842
9843 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9844 Replace the obsolete alias pcomplete-arg-quote-list.
9845
9846 2013-06-01 Leo Liu <sdl.web@gmail.com>
9847
9848 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9849 punctuation syntax.
9850 (inferior-octave-minimal-columns)
9851 (inferior-octave-last-column-width): New variables.
9852 (inferior-octave-track-window-width-change): New function.
9853 (inferior-octave-mode): Adjust column width so that Octave output,
9854 for example from 'ls', can fit into the window nicely.
9855
9856 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9857
9858 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9859 Highlight expansions inside regexp literals.
9860
9861 2013-05-31 Glenn Morris <rgm@gnu.org>
9862
9863 * obsolete/sym-comp.el (symbol-complete):
9864 Replace obsolete completion-annotate-function.
9865
9866 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9867
9868 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9869
9870 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9871 New function, checks if point is inside a literal that allows
9872 expression expansion.
9873 (ruby-syntax-propertize-expansion): Use it.
9874 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9875 around the body.
9876
9877 2013-05-30 Juri Linkov <juri@jurta.org>
9878
9879 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9880 to "\M-si".
9881 (isearch-invisible): New variable.
9882 (isearch-forward): Doc fix.
9883 (isearch-mode): Set `isearch-invisible'
9884 to the value of `search-invisible'.
9885 (isearch-toggle-case-fold): Doc fix.
9886 (isearch-toggle-invisible): New command.
9887 (isearch-query-replace): Let-bind `search-invisible'
9888 to the value of `isearch-invisible'.
9889 (isearch-search): Use `isearch-invisible' instead of
9890 `search-invisible'. Let-bind `search-invisible'
9891 to the value of `isearch-invisible'. (Bug#11378)
9892
9893 2013-05-30 Juri Linkov <juri@jurta.org>
9894
9895 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9896 call when `query-flag' is nil and `search-invisible' is non-nil.
9897 (Bug#11746)
9898
9899 2013-05-30 Glenn Morris <rgm@gnu.org>
9900
9901 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9902
9903 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9904 (cc-require): Suppress spurious "noruntime" warnings.
9905 (cc-require-when-compile): Use fboundp, for sake of compiler.
9906
9907 * progmodes/cc-mode.el: Move load of cc-vars before that of
9908 cc-langs (which in turn loads cc-vars), to quieten compiler.
9909
9910 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * paren.el: Simplify the code.
9913 (show-paren-mode): Always start the timer.
9914 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9915 (show-paren--overlay, show-paren--overlay-1): Rename from
9916 show-paren-overlay and show-paren-overlay-1, and initialize to an
9917 overlay rather than to nil.
9918 (show-paren-function): Misc cleanup and simplifications.
9919
9920 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * paren.el (show-paren-data-function): New hook.
9923 (show-paren--default): New function, extracted from show-paren-function.
9924 (show-paren-function): Use show-paren-data-function.
9925
9926 2013-05-30 Glenn Morris <rgm@gnu.org>
9927
9928 * ielm.el (ielm-map, ielm-complete-symbol):
9929 Use completion-at-point rather than obsolete functions.
9930 (inferior-emacs-lisp-mode): Doc fix.
9931 Set completion-at-point-functions, rather than
9932 comint-dynamic-complete-functions.
9933
9934 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9935 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9936 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9937
9938 * image.el (image-animated-p): Tweak definition.
9939
9940 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9941 (rlogin-process-connection-type): Tweak default. Add set-after.
9942 (rlogin-host): Doc fix.
9943 (rlogin): Tweak prompt.
9944 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9945
9946 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9947 * progmodes/tcl.el (inferior-tcl-mode-map):
9948 Use completion-at-point rather than obsolete alias.
9949
9950 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9951
9952 * minibuffer.el (read-file-name-completion-ignore-case):
9953 Move before completion--in-region, for eager macro expansion.
9954
9955 2013-05-29 Juri Linkov <juri@jurta.org>
9956
9957 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9958 for total count of matching lines. Add `global-matches' for total
9959 count of matches. Rename `matches' to `lines' for count of
9960 matching lines. Add `matches' for count of matches.
9961 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9962 to `prev-line' for line number of prev match endpt.
9963 Increment `matches' for every match. Print the number of
9964 matching lines in the header.
9965 (occur-context-lines): Rename `lines' to `curr-line'.
9966 Rename `prev-lines' to `prev-line'. (Bug#14017)
9967
9968 2013-05-29 Juri Linkov <juri@jurta.org>
9969
9970 * replace.el (perform-replace): Add `skip-read-only-count',
9971 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9972 Increment them for corresponding conditions and report the number
9973 of skipped occurrences in the final message. (Bug#11746)
9974 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9975 (replace-string, replace-regexp): Doc fix.
9976
9977 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9980
9981 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9982 prog-mode-map (bug#14504).
9983
9984 2013-05-29 Leo Liu <sdl.web@gmail.com>
9985
9986 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9987 (octave-help): Small simplification.
9988
9989 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9990 off the highlight first.
9991
9992 2013-05-29 Glenn Morris <rgm@gnu.org>
9993
9994 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9995 Handle idlwave-last-system-routine-info-cons-cell being nil.
9996
9997 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9998 (idlwave-write-paths): Simplify via with-temp-buffer.
9999
10000 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10001 * emulation/cua-rect.el: Also load cua-base at run time.
10002
10003 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10004 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10005 (cperl-imenu-on-info): Require imenu.
10006
10007 2013-05-28 Alan Mackenzie <acm@muc.de>
10008
10009 Handle "capitalised keywords" correctly.
10010 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10011
10012 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10013
10014 * eshell/em-unix.el: Add -r option to cp.
10015
10016 2013-05-28 Glenn Morris <rgm@gnu.org>
10017
10018 * vc/vc-arch.el (vc-exec-after): Declare.
10019 (vc-switches): Autoload.
10020 * vc/vc-bzr.el: No need to require vc when compiling.
10021 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10022 (vc-resynch-buffer, vc-dir-refresh): Declare.
10023 (vc-setup-buffer, vc-switches): Autoload.
10024 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10025 (vc-resynch-buffer): Declare.
10026 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10027 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10028 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10029 (grep-read-regexp, grep-read-files, grep-expand-template)
10030 (vc-dir-refresh): Declare.
10031 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10032 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10033 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10034 * vc/vc-mtn.el (vc-exec-after): Declare.
10035 (vc-switches): Autoload.
10036 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10037 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10038 (vc-file-tree-walk): Declare.
10039 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10040 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10041 (vc-tag-precondition, vc-rename-master): Autoload.
10042 * vc/vc-svn.el (vc-exec-after): Declare.
10043 (vc-switches, vc-setup-buffer): Autoload.
10044 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10045 Autoload.
10046 (vc-resynch-buffer): Declare.
10047
10048 * obsolete/fast-lock.el (byte-compile-warnings):
10049 Don't warn about obsolete features in this obsolete file.
10050
10051 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10052 Move definition before use.
10053
10054 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10055 (dun-unix-verbs): Remove dun-zippy.
10056 (dun-zippy): Remove function.
10057
10058 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10059
10060 2013-05-27 Juri Linkov <juri@jurta.org>
10061
10062 * replace.el (replace-search): New function with code moved out
10063 from `perform-replace'.
10064 (replace-highlight, replace-dehighlight): Move function definitions
10065 up closer to `replace-search'. (Bug#11746)
10066
10067 2013-05-27 Juri Linkov <juri@jurta.org>
10068
10069 * replace.el (perform-replace): Ignore invisible matches.
10070 In addition to checking `query-replace-skip-read-only', also
10071 filter out matches by calling `run-hook-with-args-until-failure'
10072 on `isearch-filter-predicates', and also check `search-invisible'
10073 for t or call `isearch-range-invisible'.
10074 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10075
10076 2013-05-27 Juri Linkov <juri@jurta.org>
10077
10078 * isearch.el (isearch-filter-predicates): Rename from
10079 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10080 (isearch-message-prefix): Display text from the property
10081 `isearch-message-prefix' of the currently active filters.
10082 (isearch-search): Don't compare `isearch-filter-predicate' with
10083 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10084 on `isearch-filter-predicates'. Also check `search-invisible' for t
10085 or call `isearch-range-invisible'.
10086 (isearch-filter-visible): Make obsolete.
10087 (isearch-lazy-highlight-search):
10088 Call `run-hook-with-args-until-failure' on
10089 `isearch-filter-predicates' and use `isearch-range-invisible'.
10090
10091 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10092 `isearch-filter-predicates' instead of `funcall'ing
10093 `isearch-filter-predicate'.
10094 (Info-mode): Set `Info-isearch-filter' to
10095 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10096
10097 * dired-aux.el (dired-isearch-filter-predicate-orig):
10098 Remove variable.
10099 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10100 (dired-isearch-filenames-end): Add and remove
10101 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10102 instead of changing the value of `isearch-filter-predicate'.
10103 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10104 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10105 Put property `isearch-message-prefix' to "filename " on
10106 `dired-isearch-filter-filenames'.
10107
10108 * wdired.el (wdired-change-to-wdired-mode):
10109 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10110 locally instead of changing `isearch-filter-predicate'.
10111 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10112
10113 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10114
10115 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10116 return the commit hash (Bug#14459). Also set the
10117 `vc-git-detached' property.
10118 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10119 (vc-git-mode-line-string): Use the same help-echo format whether
10120 in detached mode or not, because we know the actual revision now.
10121 When in detached mode, shorten the revision to 7 chars.
10122
10123 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10124
10125 * emacs-lisp/easy-mmode.el (define-minor-mode):
10126 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10127 mode hook and provide a docstring.
10128
10129 2013-05-27 Alan Mackenzie <acm@muc.de>
10130
10131 Remove spurious syntax-table text properties inserted by C-y.
10132 * progmodes/cc-mode.el (c-after-change): Also clear hard
10133 syntax-table property with value nil.
10134
10135 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10138 when reading the events; the buffer layout shall not be changed.
10139
10140 2013-05-27 Leo Liu <sdl.web@gmail.com>
10141
10142 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10143 New variable.
10144 (inferior-octave-directory-tracker): Automatically re-sync
10145 default-directory.
10146 (octave-help): Improve handling of 'See also'.
10147
10148 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * doc-view.el: Minor naming convention tweaks.
10151 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10152
10153 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10154 even if there's no `display' property yet (bug#14435).
10155
10156 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10157
10158 * subr.el (unmsys--file-name): Rename from reveal-filename.
10159
10160 * Makefile.in (custom-deps, finder-data, autoloads)
10161 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10162 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10163 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10164
10165 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10166
10167 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10168 error-completion on the first 2 args of condition-case (bug#14446).
10169 Don't burp at EOB.
10170
10171 2013-05-25 Leo Liu <sdl.web@gmail.com>
10172
10173 * comint.el (comint-previous-matching-input): Do not flood the
10174 *Messages* buffer with trivial messages.
10175
10176 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10177
10178 * progmodes/flymake.el (flymake-nop): Don't return a string.
10179 (flymake-set-at): Fix typo.
10180
10181 * simple.el (read--expression): New function, extracted from
10182 eval-expression. Set completion-at-point-functions (bug#14465).
10183 (eval-expression, eval-minibuffer): Use it.
10184
10185 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10186
10187 * progmodes/flymake.el (flymake-save-buffer-in-file)
10188 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10189 (flymake-selected-frame, flymake-log, flymake-ins-after)
10190 (flymake-set-at, flymake-get-buildfile-from-cache)
10191 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10192 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10193 Refine the doc string.
10194 (flymake-get-file-name-mode-and-masks): Reformat.
10195 (flymake-get-real-file-name-function): Fix a minor bug.
10196
10197 2013-05-24 Juri Linkov <juri@jurta.org>
10198
10199 * progmodes/grep.el (grep-mode-font-lock-keywords):
10200 Support =linenumber= format used by git-grep for lines with
10201 function names. (Bug#13549)
10202
10203 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10204
10205 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10206 0 after a semi-colon; it works better for smie-auto-fill.
10207 (octave--indent-new-comment-line): New function.
10208 (octave-indent-new-comment-line): Use it (indirectly).
10209 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10210 modify comment-line-break-function.
10211
10212 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10213 (smie-setup): Use add-function to set it.
10214
10215 2013-05-24 Sam Steingold <sds@gnu.org>
10216
10217 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10218 argument (before the `interactive' argument).
10219
10220 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10221
10222 * image-mode.el (image-mode-winprops): Add winprops to
10223 image-mode-winprops-alist before running
10224 image-mode-new-window-functions.
10225 * doc-view.el (doc-view-new-window-function): Don't delay
10226 doc-view-goto-page via timers (bug#14435).
10227
10228 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10229
10230 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10231 (doc-view-desktop-save-buffer): New function.
10232 (doc-view-restore-desktop-buffer): New function.
10233 (desktop-buffer-mode-handlers):
10234 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10235 handler.
10236 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10237 `desktop-save-buffer' function.
10238
10239 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10242 (tramp-gvfs-file-name-handler): Raise a user error when
10243 `tramp-gvfs-enabled' is nil.
10244 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10245 Do not raise a user error when loading package. (Bug#14447)
10246
10247 * net/xesam.el: Move to obsolete/.
10248
10249 2013-05-24 Glenn Morris <rgm@gnu.org>
10250
10251 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10252
10253 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10254
10255 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10256 (Info-find-node, Man-getpage-in-background): Declare.
10257
10258 * mail/unrmail.el (unrmail):
10259 Replace obsolete detect-coding-with-priority.
10260
10261 * net/socks.el (socks-split-string): Use this rather than split-string.
10262 (socks-nslookup-host): Update for above change.
10263 (dynamic-choice, s5-dynamic-choice-match)
10264 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10265 Comment out unused code.
10266
10267 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10268 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10269 (gud-tooltip-echo-area): Make obsolete.
10270 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10271
10272 * progmodes/js.el (js--optimize-arglist): Declare.
10273
10274 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10275
10276 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10277 (ediff-window-C): Declare.
10278
10279 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10280 Tweak requires to silence compiler.
10281
10282 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10283 (he-search-string, he-tried-table, he-expand-list)
10284 (he-init-string, he-string-member, he-substitute-string)
10285 (he-reset-string): Declare.
10286
10287 * obsolete/options.el (list-options): Use custom-variable-p,
10288 rather than obsolete alias.
10289
10290 2013-05-23 Sam Steingold <sds@gnu.org>
10291
10292 * simple.el (shell-command-on-region): Pass the `replace' argument
10293 down to `call-process-region' to comply with the doc as reported on
10294 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10295
10296 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/smie.el (smie-indent-forward-token)
10299 (smie-indent-backward-token): Handle string tokens (bug#14381).
10300
10301 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10302
10303 * ielm.el (ielm-menu): New menu.
10304 (inferior-emacs-lisp-mode): Set comment-start.
10305
10306 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10307
10308 * textmodes/reftex.el (reftex-ref-style-toggle):
10309 Fix deactivate action.
10310
10311 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10312 Add cleveref macros.
10313
10314 * textmodes/reftex-parse.el
10315 (reftex-locate-bibliography-files): Accept options for
10316 bibliography commands.
10317 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10318 Add addbibresource. Basic Biblatex support.
10319
10320 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10321
10322 * net/tramp-gvfs.el (top):
10323 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10324 when loading package. (Bug#14447)
10325
10326 2013-05-23 Glenn Morris <rgm@gnu.org>
10327
10328 * progmodes/js.el: No need to load comint when compiling.
10329 (ring-insert, comint-send-string, comint-send-input)
10330 (comint-last-input-end, ido-chop): Declare.
10331
10332 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10333 * vc/ediff-mult.el: Adjust requires.
10334 (ediff-directories-internal, ediff-directory-revisions-internal)
10335 (ediff-patch-file-internal): Declare.
10336 * vc/ediff-ptch.el: Adjust requires.
10337 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10338 (ediff-find-file): Autoload.
10339 * vc/ediff-util.el: No need to load ediff when compiling.
10340 (ediff-regions-internal): Declare.
10341 * vc/ediff-wind.el: Adjust requires.
10342 (ediff-compute-toolbar-width): Define when compiling.
10343 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10344 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10345 (dired-get-filename, dired-get-marked-files)
10346 (ediff-last-dir-patch, ediff-patch-default-directory)
10347 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10348 (ediff-patch-buffer-internal): Declare.
10349
10350 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10351 (ispell-process, ispell-buffer-local-words, lm-summary)
10352 (lm-section-start, lm-section-end): Declare.
10353 (checkdoc-ispell-init): Simplify.
10354
10355 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10356 (he-string-member, he-reset-string, he-substitute-string): Declare.
10357
10358 * eshell/em-ls.el: Adjust requires.
10359 (eshell-glob-regexp): Declare.
10360 * eshell/em-tramp.el: Adjust requires.
10361 (eshell-parse-command): Autoload.
10362 * eshell/em-xtra.el: Adjust requires.
10363 (eshell-parse-command): Autoload.
10364 * eshell/esh-ext.el: Adjust requires.
10365 (eshell-parse-command, eshell-close-handles): Autoload.
10366 * eshell/esh-io.el: Adjust requires.
10367 (eshell-output-filter): Autoload.
10368 * eshell/esh-util.el: No need to load tramp when compiling.
10369 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10370 Declare.
10371 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10372 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10373 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10374 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10375 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10376 * eshell/esh-opt.el, eshell/esh-proc.el:
10377 * eshell/esh-var.el: Adjust requires.
10378 * eshell/eshell.el: Do not require esh-util twice.
10379 (eshell-add-input-to-history): Declare.
10380 (eshell-command): Check history module is active before using it.
10381
10382 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10383
10384 2013-05-22 Leo Liu <sdl.web@gmail.com>
10385
10386 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10387
10388 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10389
10390 * autorevert.el (auto-revert-notify-add-watch)
10391 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10392 it indicates changes in file modification time.
10393
10394 2013-05-22 Glenn Morris <rgm@gnu.org>
10395
10396 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10397 Always delete the autoloaded function from the noruntime and
10398 unresolved functions lists.
10399
10400 * allout.el: No need to load epa, epg, overlay when compiling.
10401 (epg-context-set-passphrase-callback, epg-list-keys)
10402 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10403 (epg-key-user-id-list): Declare.
10404
10405 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10406 (viper-set-parsing-style-toggling-macro)
10407 (viper-set-emacs-state-searchstyle-macros):
10408 Use called-interactively-p on Emacs.
10409 (viper-looking-back): Make it an obsolete alias. Update callers.
10410 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10411 Use looking-back rather than viper-looking-back.
10412 (viper-tmp-insert-at-eob, viper-enlarge-region)
10413 (viper-read-string-with-history, viper-register-to-point)
10414 (viper-append-to-register, viper-change-state-to-vi)
10415 (viper-backward-char-carefully, viper-forward-char-carefully)
10416 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10417 (viper-change-state-to-emacs): Declare.
10418 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10419 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10420 * emulation/viper-mous.el: Do not load viper-cmd.
10421 (viper-backward-char-carefully, viper-forward-char-carefully)
10422 (viper-forward-word, viper-adjust-window): Declare.
10423
10424 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10425
10426 * progmodes/idlw-help.el (idlwave-help-fontify):
10427 Use called-interactively-p.
10428
10429 * term/w32console.el (w32-get-console-codepage)
10430 (w32-get-console-output-codepage): Declare.
10431
10432 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10433 Remove unnecessary declarations.
10434 (dframe-message): Doc fix.
10435
10436 * info.el (dframe-select-attached-frame, dframe-current-frame):
10437 Declare.
10438
10439 * speedbar.el (speedbar-message): Make it an obsolete alias.
10440 Update all callers.
10441 (speedbar-with-attached-buffer)
10442 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10443 (speedbar-with-writable): Use backquote.
10444 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10445 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10446 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10447 rather than speedbar- aliases.
10448 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10449 (speedbar-make-specialized-keymap, speedbar-insert-button)
10450 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10451 (speedbar-do-function-pointer): Declare.
10452 (rmail-speedbar-button, rmail-speedbar-find-file)
10453 (rmail-speedbar-move-message):
10454 Use dframe-with-attached-buffer rather than speedbar- alias.
10455 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10456 (dframe-message, speedbar-make-specialized-keymap)
10457 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10458 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10459 (speedbar-insert-button, dframe-select-attached-frame)
10460 (dframe-maybee-jump-to-attached-frame)
10461 (speedbar-change-initial-expansion-list)
10462 (speedbar-previously-used-expansion-list-name): Declare.
10463 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10464 Use dframe-message, dframe-with-attached-buffer rather than
10465 speedbar- aliases.
10466 (gud-sentinel): Silence compiler.
10467 * progmodes/vhdl-mode.el (speedbar-refresh)
10468 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10469 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10470 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10471 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10472 (speedbar-file-lists, speedbar-make-tag-line)
10473 (speedbar-line-directory, speedbar-goto-this-file)
10474 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10475 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10476 (speedbar-make-button, speedbar-reset-scanners)
10477 (speedbar-files-item-info, speedbar-line-text)
10478 (speedbar-find-file-in-frame, speedbar-set-timer)
10479 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10480 (speedbar-with-writable): Do not (re)define it.
10481 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10482 rather than speedbar- alias.
10483
10484 2013-05-21 Leo Liu <sdl.web@gmail.com>
10485
10486 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10487 menu items.
10488 (octave-mode): Tweak fill-nobreak-predicate.
10489 (inferior-octave-startup): Check process to avoid infinite loop.
10490 (inferior-octave): Pop to buffer first to show abornmal process
10491 exit information.
10492
10493 2013-05-21 Glenn Morris <rgm@gnu.org>
10494
10495 * printing.el (pr-menu-bar): Define when compiling.
10496
10497 2013-05-21 Leo Liu <sdl.web@gmail.com>
10498
10499 * progmodes/octave.el (octave-auto-fill): Remove.
10500 (octave-indent-new-comment-line): Improve.
10501 (octave-mode): Use auto fill mode through
10502 comment-line-break-function and fill-nobreak-predicate.
10503 (octave-goto-function-definition): Support DEFUN_DLD.
10504 (octave-beginning-of-defun): Small tweak.
10505 (octave-help): Show parent directory.
10506
10507 2013-05-21 Glenn Morris <rgm@gnu.org>
10508
10509 * files.el (dired-unmark):
10510 * progmodes/gud.el (gdb-input): Update declarations.
10511
10512 * calculator.el (electric, ehelp): No need to load when compiling.
10513 (Electric-command-loop, electric-describe-mode): Declare.
10514
10515 * doc-view.el (doc-view-current-converter-processes): Move before use.
10516
10517 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10518 Move MODE-set-explicitly definition before use.
10519
10520 * international/mule-diag.el (mule-diag):
10521 Don't use obsolete window-system-version.
10522
10523 * mail/feedmail.el (smtpmail): No need to load when compiling.
10524 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10525
10526 * mail/mail-utils.el (rfc822): No need to load when compiling.
10527 (rfc822-addresses): Autoload it.
10528 (mail-strip-quoted-names): Trivial simplification.
10529
10530 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10531 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10532
10533 * net/snmp-mode.el (tempo): Don't duplicate requires.
10534
10535 * progmodes/prolog.el (info): No need to load when compiling.
10536 (comint): Require before shell requires it.
10537 (Info-goto-node): Autoload it.
10538 (Info-follow-nearest-node): Declare.
10539 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10540
10541 * textmodes/artist.el (picture-mode-exit): Declare.
10542
10543 * textmodes/reftex-parse.el (reftex-parse-from-file):
10544 Trivial rewrite so the compiler can parse it better.
10545
10546 2013-05-20 Leo Liu <sdl.web@gmail.com>
10547
10548 * progmodes/octave.el (octave-help-mode-map)
10549 (octave-help-mode-finish-hook): New variables.
10550 (octave-help-mode, octave-help-mode-finish): New functions.
10551 (octave-help): Use octave-help-mode.
10552
10553 2013-05-20 Glenn Morris <rgm@gnu.org>
10554
10555 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10556
10557 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10558
10559 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10560 start at point, so that expansion starting right after opening
10561 slash in a regexp is recognized.
10562 (ruby-syntax-before-regexp-re): New defvar, extracted from
10563 ruby-syntax-propertize-function. Since the value of this regexp
10564 is looked up at runtime now, we should be able to turn
10565 `ruby-syntax-methods-before-regexp' into a defcustom later.
10566 (ruby-syntax-propertize-function): Split regexp matching into two
10567 parts, for opening and closing slashes. That allows us to skip
10568 over string interpolations and support multiline regexps.
10569 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10570 for them, which calls `ruby-syntax-propertize-expansion'.
10571 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10572 call to `ruby-syntax-propertize-function'.
10573 (ruby-syntax-propertize-expansion): Extracted from
10574 `ruby-syntax-propertize-expansions'. Handles one expansion.
10575 (ruby-syntax-propertize-percent-literal): Leave point right after
10576 the percent symbol, so that the expression expansion rule can
10577 propertize the contents.
10578 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10579 heredoc openers.
10580 (ruby-syntax-propertize-expansions): Remove.
10581
10582 2013-05-18 Juri Linkov <juri@jurta.org>
10583
10584 * man.el (Man-default-man-entry): Remove `-' from the end
10585 of the default value. (Bug#14400)
10586
10587 2013-05-18 Glenn Morris <rgm@gnu.org>
10588
10589 * comint.el (comint-password-prompt-regexp):
10590 Allow "password for XXX" where XXX contains colons (eg https://...).
10591
10592 2013-05-18 Leo Liu <sdl.web@gmail.com>
10593
10594 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10595 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10596 (octave-source-directories): Don't check process.
10597 (octave-source-directories, octave-find-definition): Doc fix.
10598
10599 2013-05-18 Glenn Morris <rgm@gnu.org>
10600
10601 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10602 Remove backspace/delete bindings. (Bug#14392)
10603
10604 * cus-dep.el (custom-make-dependencies): Sort the output.
10605 (custom-versions-load-alist): Convert comment to doc.
10606
10607 2013-05-17 Leo Liu <sdl.web@gmail.com>
10608
10609 * newcomment.el (comment-search-backward): Stricter in finding
10610 comment start. (Bug#14303)
10611
10612 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10613 (octave-comment-start-skip): Properly anchored.
10614
10615 2013-05-17 Leo Liu <sdl.web@gmail.com>
10616
10617 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10618 Clean up when turned off. (Bug#14395)
10619 (smie--highlight-matching-block-overlay): No longer buffer-local.
10620 (smie-highlight-matching-block): Adjust.
10621
10622 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10623
10624 Doc string fix for "nanoseconds" (Bug#14406).
10625 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10626 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10627
10628 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10629
10630 * calc/calc-units.el (math-extract-units): Preserve powers
10631 of units.
10632
10633 2013-05-17 Leo Liu <sdl.web@gmail.com>
10634
10635 * subr.el (delete-consecutive-dups): New function.
10636 * ido.el (ido-set-matches-1): Use it.
10637 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10638 * ido.el (ido-remove-consecutive-dups): Remove.
10639
10640 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10643 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10644 regexp-opt's `words'.
10645
10646 2013-05-16 Leo Liu <sdl.web@gmail.com>
10647
10648 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10649 (smie--highlight-matching-block-overlay)
10650 (smie--highlight-matching-block-lastpos)
10651 (smie--highlight-matching-block-timer): New variables.
10652 (smie-highlight-matching-block): New function.
10653 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10654 (smie-setup): Conditionally enable smie-blink-matching-open.
10655
10656 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10657
10658 Sync with upstream verilog-mode r840.
10659 * progmodes/verilog-mode.el (verilog-mode-version)
10660 (verilog-mode-release-date): Update.
10661 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10662 (verilog-sig-tieoff): Fix string error on
10663 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10664 (verilog-read-decls): Fix parameters confusing
10665 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10666
10667 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10668
10669 * subr.el (reveal-filename): New function.
10670
10671 * loadup.el: Compute Emacs executable versions on MS-Windows,
10672 where executables have the .exe extension. Add a hard link
10673 emacs-XX.YY.ZZ.exe on MS-Windows.
10674
10675 * Makefile.in (XARGS_LIMIT): New variable.
10676 (custom-deps, finder-data, autoloads)
10677 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10678 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10679 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10680 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10681
10682 2013-05-16 Leo Liu <sdl.web@gmail.com>
10683
10684 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10685 (octave-mode-menu, octave-mode-map): Remove its uses.
10686
10687 2013-05-16 Reto Zimmermann <reto@gnu.org>
10688
10689 Sync with upstream vhdl mode v3.34.2.
10690 * progmodes/vhdl-mode.el: Use `push' throughout.
10691 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10692 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10693 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10694 (vhdl-actual-generic-name): New option to derive actual generic name.
10695 (vhdl-port-paste-signals): Replace formal by actual generics.
10696 (vhdl-beautify): New name for old group vhdl-align. Update users.
10697 (vhdl-beautify-options): New option.
10698 (vhdl-last-input-event): New compat alias. Use throughout.
10699 (vhdl-goto-line): Replace user level function `goto-line'.
10700 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10701 vhdl-fix-statement-buffer.
10702 (vhdl-create-mode-menu): Add some entries.
10703 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10704 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10705 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10706 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10707 to force statements on one line.
10708 (vhdl-remove-trailing-spaces-region):
10709 New, split from vhdl-remove-trailing-spaces.
10710 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10711 Respect vhdl-beautify-options.
10712 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10713 (vhdl-update-sensitivity-list): Not add with index if exists without.
10714 Not include array index with signal. Ignore keywords in comments.
10715 (vhdl-get-visible-signals): Regexp tweaks.
10716 (vhdl-template-component-inst): Handle empty library.
10717 (vhdl-template-type): Add template for 'enum' type.
10718 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10719 Use vhdl-replace-string.
10720 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10721 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10722 (vhdl-speedbar-initialize): Update for above name change.
10723 (vhdl-compose-wire-components): Fix in handling of constants.
10724 (vhdl-error-regexp-emacs-alist): New variable.
10725 (vhdl-error-regexp-add-emacs): New function;
10726 adds support for new compile.el (Emacs 22+)
10727 (vhdl-generate-makefile-1): Change target order for single lib. units.
10728 Allow use of absolute file names.
10729
10730 2013-05-16 Leo Liu <sdl.web@gmail.com>
10731
10732 * simple.el (prog-indent-sexp): Indent enclosing defun.
10733
10734 2013-05-15 Glenn Morris <rgm@gnu.org>
10735
10736 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10737 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10738 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10739 (whitespace-highlight): Move to whitespace group.
10740
10741 * comint.el (comint-source):
10742 * pcmpl-linux.el (pcmpl-linux):
10743 * shell.el (shell-faces):
10744 * eshell/esh-opt.el (eshell-opt):
10745 * international/ccl.el (ccl): Remove empty custom groups.
10746
10747 * completion.el (dynamic-completion-mode):
10748 * jit-lock.el (jit-lock-debug-mode):
10749 * minibuffer.el (completion-in-region-mode):
10750 * type-break.el (type-break-mode-line-message-mode)
10751 (type-break-query-mode):
10752 * emulation/tpu-edt.el (tpu-edt-mode):
10753 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10754 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10755 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10756
10757 * term/xterm.el (xterm): Change parent group to terminals.
10758
10759 * master.el (master): Remove empty custom group.
10760 (master-mode): Remove unused :group argument.
10761 * textmodes/refill.el (refill): Remove empty custom group.
10762 (refill-mode): Remove unused :group argument.
10763
10764 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10765
10766 * cus-dep.el: Provide a feature.
10767 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10768 Don't mistakenly ignore files whose basenames match a basename
10769 from preloaded-file-list (eg cedet/ede/simple.el).
10770 Add a fallback method for getting :group.
10771
10772 2013-05-15 Juri Linkov <juri@jurta.org>
10773
10774 * isearch.el (isearch-char-by-name): Rename from
10775 `isearch-insert-char-by-name'. Doc fix.
10776 (isearch-forward): Mention `isearch-char-by-name' in
10777 the docstring. (Bug#13348)
10778
10779 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10780 `exit-minibuffer' instead of
10781 `isearch-nonincremental-exit-minibuffer'.
10782 (isearch-edit-string): Remove mention of
10783 `isearch-nonincremental-exit-minibuffer' from docstring.
10784 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10785 (isearch-forward-exit-minibuffer)
10786 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10787
10788 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10789
10790 * loadup.el: Just use unversioned DOC.
10791
10792 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10793 literals as extending to EOB.
10794 (nxml-last-fontify-end): Remove unused variable.
10795 (nxml-after-change1): Use with-silent-modifications.
10796 (nxml-extend-after-change-region): Simplify.
10797 (nxml-extend-after-change-region1): Remove function.
10798 (nxml-after-change1): Don't adjust for dependent regions.
10799 (nxml-fontify-matcher): Simplify.
10800 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10801 (xmltok-add-dependent): Remove function.
10802 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10803 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10804 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10805 unclosed <[[, <?, comment, and other literals as extending to EOB.
10806 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10807 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10808 Remove functions.
10809 (rng-do-some-validation-1): Don't mark dependent regions.
10810 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10811 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10812 (nxml-clear-dependent-regions): Remove functions.
10813 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10814 (nxml-ensure-scan-up-to-date):
10815 Don't clear&mark dependent regions.
10816
10817 2013-05-15 Leo Liu <sdl.web@gmail.com>
10818
10819 * progmodes/octave.el (octave-goto-function-definition):
10820 Improve and fix callers.
10821
10822 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10823
10824 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10825 the setter (bug#14387).
10826
10827 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10828 surrounding group (bug#14402).
10829
10830 2013-05-14 Juri Linkov <juri@jurta.org>
10831
10832 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10833 (Bug#14390)
10834
10835 2013-05-14 Glenn Morris <rgm@gnu.org>
10836
10837 * progmodes/f90.el (f90-imenu-generic-expression):
10838 Fix typo in 2013-05-08 change. (Bug#14402)
10839
10840 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10841
10842 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10843 Remove signals for which replies are never received.
10844
10845 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10846
10847 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10848 (gdb-handler-alist, gdb-handler-number): Remove variables.
10849 (gdb-handler-list): New variable.
10850 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10851 (gdb-pending-handler-p, gdb-handle-reply)
10852 (gdb-remove-all-pending-triggers): New functions.
10853 (gdb-discard-unordered-replies): New defcustom.
10854 (gdb-handler): New defstruct.
10855 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10856 instead of gdb-pending-triggers. Update docstring.
10857 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10858 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10859 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10860 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10861 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10862 (gdb-frame-handler): Pending triggers are now automatically managed.
10863 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10864 Remove argument.
10865 (gdb-input): Automatically handles pending triggers. Update docstring.
10866 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10867 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10868 Update comments.
10869 (gdb-done-or-error): Now use gdb-handle-reply.
10870
10871 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10872
10873 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10874 gdb-debug-log.
10875
10876 2013-05-14 Glenn Morris <rgm@gnu.org>
10877
10878 * subr.el (user-emacs-directory-warning): New option.
10879 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10880
10881 2013-05-14 Leo Liu <sdl.web@gmail.com>
10882
10883 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10884 during redisplay.
10885 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10886 (octave-font-lock-texinfo-comment): Fix invalid search bound
10887 error: wrong side of point.
10888
10889 2013-05-14 Glenn Morris <rgm@gnu.org>
10890
10891 * progmodes/flymake.el (flymake-xml-program): New option.
10892 (flymake-xml-init): Use it.
10893
10894 * term/xterm.el: Provide a feature.
10895
10896 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10897
10898 2013-05-13 Glenn Morris <rgm@gnu.org>
10899
10900 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10901 Add compat aliases as a hack workaround. (Bug#14384)
10902
10903 2013-05-13 Leo Liu <sdl.web@gmail.com>
10904
10905 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10906 ###, and %!.
10907 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10908 C-M-q.
10909 (octave-comment-start-skip): Include %!.
10910 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10911
10912 2013-05-12 Leo Liu <sdl.web@gmail.com>
10913
10914 * progmodes/octave.el (inferior-octave-startup): Store the value
10915 of __octave_srcdir__ for octave-source-directories.
10916 (inferior-octave-check-process): New function refactored out of
10917 inferior-octave-send-list-and-digest.
10918 (octave-source-directories)
10919 (octave-find-definition-filename-function): New variables.
10920 (octave-source-directories)
10921 (octave-find-definition-default-filename): New functions.
10922 (octave-find-definition): Improve to find functions implemented in C++.
10923
10924 2013-05-12 Glenn Morris <rgm@gnu.org>
10925
10926 * calendar/diary-lib.el (diary-outlook-format-1):
10927 Don't include dayname in the output. (Bug#14349)
10928
10929 2013-05-11 Glenn Morris <rgm@gnu.org>
10930
10931 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10932
10933 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10934 Treat cc-provide like provide.
10935
10936 2013-05-11 Kevin Ryde <user42@zip.com.au>
10937
10938 * cus-dep.el (custom-make-dependencies):
10939 Use generated-autoload-load-name for the sake of files such
10940 such cedet/semantic/bovine/c.el, where the base file name
10941 is not in load-path. (Bug#5277)
10942
10943 2013-05-11 Glenn Morris <rgm@gnu.org>
10944
10945 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10946 Provide features.
10947
10948 2013-05-11 Leo Liu <sdl.web@gmail.com>
10949
10950 * progmodes/octave.el (octave-indent-comment): Improve.
10951 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10952 (octave-eldoc-function-signatures, octave-eldoc-function):
10953 New functions.
10954 (octave-mode, inferior-octave-mode): Add eldoc support.
10955
10956 2013-05-11 Richard Stallman <rms@gnu.org>
10957
10958 * epa.el (epa-decrypt-file): Take output file name as argument
10959 and read it using `interactive'.
10960
10961 2013-05-11 Leo Liu <sdl.web@gmail.com>
10962
10963 * progmodes/octave.el (octave-beginning-of-line)
10964 (octave-end-of-line): Check before using up-list because it jumps
10965 out of more syntactic contructs since moving to smie.
10966 (octave-indent-comment): New function.
10967 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10968 (octave-begin-keywords, octave-end-keywords)
10969 (octave-reserved-words, octave-smie-bnf-table)
10970 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10971
10972 2013-05-11 Glenn Morris <rgm@gnu.org>
10973
10974 * faces.el (internal-face-x-get-resource):
10975 * frame.el (ns-display-monitor-attributes-list):
10976 * calc/calc-aent.el (math-to-radians-2):
10977 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10978 Fix declarations.
10979
10980 * calc/calc-menu.el: Make it loadable in isolation.
10981
10982 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10983 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10984 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10985 (eudc-bbdb-query-internal): Require 'bbdb.
10986
10987 * lpr.el (lpr-headers-switches):
10988 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10989
10990 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10991
10992 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10993
10994 * term.el (term-set-escape-char): Make it idempotent.
10995
10996 2013-05-10 Leo Liu <sdl.web@gmail.com>
10997
10998 * progmodes/octave.el (inferior-octave-completion-table):
10999 No longer a function and all uses changed. Use cache to speed up
11000 completion due to bug#11906.
11001 (octave-beginning-of-defun): Re-write to be more general.
11002
11003 2013-05-10 Glenn Morris <rgm@gnu.org>
11004
11005 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11006
11007 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11008
11009 * comint.el (comint-redirect-send-command-to-process): Use :around
11010 rather than :override for comint-redirect-filter.
11011 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11012 Call it instead of comint-redirect-original-filter-function (which
11013 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11014
11015 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11016
11017 * frame.el (display-monitor-attributes-list): Add NS case.
11018 (ns-display-monitor-attributes-list): Declare.
11019
11020 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11021
11022 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11023
11024 2013-05-09 Glenn Morris <rgm@gnu.org>
11025
11026 * international/fontset.el (vertical-centering-font-regexp):
11027 Set standard-value.
11028
11029 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11030
11031 * bookmark.el (bookmark-search-delay):
11032 * cus-start.el (vertical-centering-font-regexp):
11033 * ps-mule.el (ps-mule-font-info-database-default):
11034 * ps-print.el (ps-default-fg, ps-default-bg):
11035 * type-break.el (type-break-good-break-interval):
11036 * whitespace.el (whitespace-indentation-regexp)
11037 (whitespace-space-after-tab-regexp):
11038 * emacs-lisp/testcover.el (testcover-1value-functions)
11039 (testcover-noreturn-functions, testcover-progn-functions)
11040 (testcover-prog1-functions):
11041 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11042 * eshell/em-glob.el (eshell-glob-translate-alist):
11043 * play/tetris.el (tetris-tty-colors):
11044 * progmodes/cpp.el (cpp-face-default-list):
11045 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11046 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11047 (idlwave-help-browser-generic-args):
11048 * progmodes/make-mode.el (makefile-special-targets-list):
11049 * progmodes/python.el (python-shell-virtualenv-path):
11050 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11051 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11052 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11053 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11054 * textmodes/reftex-vars.el (reftex-format-label-function):
11055 * textmodes/remember.el (remember-diary-file): Fix custom types.
11056
11057 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11058 Add :version.
11059
11060 2013-05-09 Leo Liu <sdl.web@gmail.com>
11061
11062 * progmodes/octave.el (inferior-octave-completion-at-point):
11063 Restore file completion. (Bug#14300)
11064 (inferior-octave-startup): Fix incorrect highlighting for the
11065 first prompt.
11066
11067 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11068
11069 * progmodes/ruby-mode.el: First cut at SMIE support.
11070 (ruby-use-smie): New var.
11071 (ruby-smie-grammar): New constant.
11072 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11073 (ruby-smie--forward-token, ruby-smie--backward-token)
11074 (ruby-smie-rules): New functions.
11075 (ruby-mode-variables): Setup SMIE if applicable.
11076
11077 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11078
11079 * simple.el (line-move-visual): Signal beginning/end of buffer
11080 only if vertical-motion moved less than it was requested. Avoids
11081 silly incorrect error messages when there are display strings with
11082 multiple newlines at EOL.
11083
11084 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11085
11086 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11087 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11088 (prolog-char-quote-workaround):
11089 * progmodes/cperl-mode.el (cperl-under-as-char):
11090 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11091 Mark as obsolete.
11092 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11093 their declaration.
11094 (vhdl-mode-syntax-table-init): Remove.
11095
11096 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11097 last change.
11098
11099 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11100 syntax for "_".
11101 (ld-script-font-lock-keywords):
11102 Change regexps to use things like \_< and \_>.
11103
11104 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11105 Change all regexps to use things like \_< and \_>.
11106
11107 * progmodes/autoconf.el (autoconf-definition-regexp)
11108 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11109 Handle a _ with symbol syntax.
11110 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11111
11112 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11113 Consolidate declaration.
11114 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11115 the declaration.
11116 (ada-create-syntax-table): Remove.
11117 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11118 already has the right syntax nowadays.
11119 (ada-goto-next-word): Don't change the syntax of "_".
11120
11121 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11122 with-wrapper-hook.
11123
11124 2013-05-08 Sam Steingold <sds@gnu.org>
11125
11126 * thingatpt.el (thing-at-point): Accept optional second argument
11127 NO-PROPERTIES to strip the text properties from the return value.
11128 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11129 to `thing-at-point' instead of stripping the properties ourselves.
11130 Also, when `thing-at-point' fails to find a url, prepend "http://"
11131 to the filename at point on the assumption that the user is
11132 pointing at something like gnu.org/gnu.
11133
11134 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11135
11136 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11137 * faces.el (crm-separator):
11138 Silence byte-compiler.
11139
11140 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11141 (tool-bar-map): Remove unneeded defvars.
11142
11143 2013-05-08 Leo Liu <sdl.web@gmail.com>
11144
11145 Re-work a fix for bug#10994 based on Le Wang's patch.
11146 * ido.el (ido-remove-consecutive-dups): New helper.
11147 (ido-completing-read): Use it.
11148 (ido-chop): Revert fix for bug#10994.
11149
11150 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11151
11152 * cus-edit.el (custom-save-variables):
11153 Pretty-print long values. (Bug#14187)
11154
11155 2013-05-08 Glenn Morris <rgm@gnu.org>
11156
11157 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11158 (m4-mode-syntax-table): Init in the defvar.
11159 (m4-mode-abbrev-table): Let define-derived-mode define it.
11160
11161 2013-05-08 Tom Tromey <tromey@redhat.com>
11162
11163 * progmodes/m4-mode.el (m4-mode-syntax-table):
11164 Do not treat "_" as word constituent. (Bug#14167)
11165
11166 2013-05-07 Glenn Morris <rgm@gnu.org>
11167
11168 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11169 Remove explicit eshell-isearch-cancel-map.
11170
11171 * progmodes/f90.el (f90-smart-end-names): New option.
11172 (f90-smart-end): Doc fix.
11173 (f90-end-block-optional-name): New constant.
11174 (f90-block-match): Respect f90-smart-end-names.
11175
11176 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11179 about implicit semi-colons (bug#14218).
11180
11181 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11182
11183 * frame.el (display-monitor-attributes-list)
11184 (frame-monitor-attributes): New functions.
11185
11186 2013-05-06 Leo Liu <sdl.web@gmail.com>
11187
11188 * progmodes/octave.el (octave-syntax-propertize-function): Change
11189 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11190 (octave-font-lock-keywords): Use octave-operator-regexp.
11191 (octave-completion-at-point): Rename from
11192 octave-completion-at-point-function.
11193 (inferior-octave-directory-tracker): Robustify.
11194 (octave-text-functions): Remove and fix its uses. No such things
11195 any more.
11196
11197 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * emacs-lisp/trace.el (trace--display-buffer): New function.
11200 (trace-make-advice): Use it.
11201
11202 2013-05-06 Juri Linkov <juri@jurta.org>
11203
11204 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11205 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11206 Doc fix.
11207 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11208 in the help string. (Bug#12985)
11209
11210 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11211
11212 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11213
11214 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11215
11216 * progmodes/perl-mode.el: Add support for here documents.
11217 (perl-syntax-propertize-function): Match here-doc markers.
11218 (perl-syntax-propertize-special-constructs): Find their end.
11219 (perl-imenu-generic-expression): Use [:alnum:].
11220
11221 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11222 (advice--add-function): Refresh the advice if already present
11223 (bug#14317).
11224
11225 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11226
11227 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11228
11229 2013-05-06 Glenn Morris <rgm@gnu.org>
11230
11231 * w32-fns.el (w32-charset-info-alist): Declare.
11232
11233 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11234 of its defcustom properties.
11235 (eshell-cmpl-initialize): No need to load pcomplete.
11236
11237 * generic-x.el: No need to require comint when compiling.
11238
11239 * net/eudc-export.el: Make it loadable without bbdb.
11240 (top-level): Use require rather than load-library.
11241 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11242 (eudc-batch-export-records-to-bbdb)
11243 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11244 Require bbdb.
11245
11246 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11247
11248 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11249 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11250 some tweaks, instead.
11251
11252 2013-05-05 Leo Liu <sdl.web@gmail.com>
11253
11254 * progmodes/octave.el (octave-font-lock-keywords)
11255 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11256 (inferior-octave-send-list-and-digest): Improve error message.
11257 (octave-mode, inferior-octave-mode): Use setq-local.
11258 (octave-help): Set info-lookup-mode.
11259
11260 2013-05-05 Richard Stallman <rms@gnu.org>
11261
11262 * vc/compare-w.el (compare-windows-whitespace):
11263 Treat no-break space as whitespace.
11264
11265 * mail/rmailsum.el (rmail-summary-rmail-update):
11266 Detect empty summary and don't change selected message.
11267 (rmail-summary-goto-msg): Likewise.
11268
11269 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11270 Doc fixes, rename args.
11271
11272 2013-05-05 Alan Mackenzie <acm@muc.de>
11273
11274 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11275
11276 2013-05-05 Juri Linkov <juri@jurta.org>
11277
11278 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11279 to not add the length of the summary segment to the return value.
11280 (Bug#14125)
11281
11282 2013-05-05 Leo Liu <sdl.web@gmail.com>
11283
11284 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11285 (inferior-octave-output-filter): Remove.
11286 (octave-send-region, inferior-octave-startup): Fix callers.
11287 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11288 (octave-binary-file-extensions): New user variable.
11289 (octave-find-definition): Confirm if opening binary files.
11290 (octave-help-file): Use octave-find-definition to get the binary
11291 confirmation.
11292 (octave-help): Adjust for octave-help-file change.
11293
11294 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11297 Merge the two entries that handle function definitions.
11298 (pascal--syntax-propertize): New const.
11299 (pascal-mode): Use it. Use setq-local.
11300
11301 2013-05-04 Glenn Morris <rgm@gnu.org>
11302
11303 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11304 (diary-from-outlook): Respect diary-from-outlook-function.
11305
11306 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11309 Move the declaration from C.
11310 (read-minibuffer, eval-minibuffer): Move from C.
11311 (completion-setup-function): Avoid minibuffer-completion-contents.
11312
11313 2013-05-03 Leo Liu <sdl.web@gmail.com>
11314
11315 * progmodes/octave.el (octave-font-lock-keywords): Do not
11316 dehighlight 'end' in comments or strings.
11317 (octave-completing-read, octave-goto-function-definition):
11318 New helpers.
11319 (octave-help-buffer): New user variable.
11320 (octave-help-file, octave-help-function): New button types.
11321 (octave-help): New command and bind it to C-h ;.
11322 (octave-find-definition): New command and bind it to M-.
11323 (user-error): Alias to error if not defined.
11324
11325 2013-05-02 Leo Liu <sdl.web@gmail.com>
11326
11327 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11328 for \. (bug#14332)
11329 (octave-font-lock-keywords): Include [ and {.
11330
11331 2013-05-02 Leo Liu <sdl.web@gmail.com>
11332
11333 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11334 (inferior-octave): Remove calling comint-mode and return the buffer.
11335 (inferior-octave-startup): Cosmetic changes.
11336
11337 2013-05-02 Leo Liu <sdl.web@gmail.com>
11338
11339 * progmodes/octave.el (octave-syntax-propertize-function):
11340 Include the case when ' is at line beginning. (Bug#14336)
11341
11342 2013-05-02 Glenn Morris <rgm@gnu.org>
11343
11344 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11345 * desktop.el (vc-dir-mode): Just autoload it here.
11346
11347 2013-05-02 Alan Mackenzie <acm@muc.de>
11348
11349 Eliminate variable c-standard-font-lock-fontify-region-function.
11350 * progmodes/cc-mode.el
11351 (c-standard-font-lock-fontify-region-function): Remove.
11352 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11353
11354 2013-05-01 Leo Liu <sdl.web@gmail.com>
11355
11356 * progmodes/octave.el: Compatible with older emacs-24 releases.
11357 (inferior-octave-has-built-in-variables): Remove. Built-in
11358 variables were removed from Octave in 2007.
11359 (inferior-octave-startup): Fix uses.
11360 (comint-line-beginning-position): Remove compatibility code for
11361 emacs 21.
11362
11363 2013-05-01 Juri Linkov <juri@jurta.org>
11364
11365 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11366
11367 2013-05-01 Juri Linkov <juri@jurta.org>
11368
11369 * comint.el (comint-previous-matching-input): Don't print message
11370 "History item: %d" when `isearch-mode' is active.
11371 (comint-history-isearch-message): Print message "History item: %d"
11372 when `comint-input-ring-index' is not empty and this function is
11373 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11374
11375 2013-05-01 Leo Liu <sdl.web@gmail.com>
11376
11377 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11378 definitions. Use completion-at-point to insert keywords.
11379 (octave-abbrev-start): Remove.
11380 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11381
11382 2013-04-30 Leo Liu <sdl.web@gmail.com>
11383
11384 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11385 change.
11386
11387 2013-04-30 Alan Mackenzie <acm@muc.de>
11388
11389 Handle arbitrarily long C++ member initialisation lists.
11390 * progmodes/cc-engine.el (c-back-over-member-initializers):
11391 new function.
11392 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11393 (most) member init lists.
11394
11395 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11396
11397 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11398 variable.
11399
11400 2013-04-30 Leo Liu <sdl.web@gmail.com>
11401
11402 * progmodes/octave.el (octave-variables): Remove. No builtin
11403 variables any more. All converted to functions.
11404 (octave-font-lock-keywords, octave-completion-at-point-function):
11405 Fix uses.
11406 (octave-font-lock-texinfo-comment): New user variable.
11407 (octave-texinfo-font-lock-keywords): New variable for texinfo
11408 comment block.
11409 (octave-function-comment-block): New face.
11410 (octave-font-lock-texinfo-comment): New function.
11411 (octave-mode): Font lock texinfo comment block.
11412
11413 2013-04-29 Leo Liu <sdl.web@gmail.com>
11414
11415 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11416 indexing expression.
11417 (octave-continuation-string): Do not use \.
11418 (inferior-octave-complete-impossible): Remove.
11419 (inferior-octave-completion-table)
11420 (inferior-octave-completion-at-point): Remove its uses.
11421 (inferior-octave-startup): completion_matches was introduced to
11422 Octave in 1996 so safe to assume it.
11423 (octave-function-file-comment): Improve to follow how Octave does it.
11424 (octave-update-function-file-comment): Tweak.
11425
11426 2013-04-29 Leo Liu <sdl.web@gmail.com>
11427
11428 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11429 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11430 (octave-function-file-comment): Fix typo.
11431 (octave-sync-function-file-names): Use read-char-choice.
11432
11433 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11434
11435 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11436 to t for the less important warnings.
11437
11438 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11439
11440 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11441
11442 2013-04-27 Glenn Morris <rgm@gnu.org>
11443
11444 * vc/log-view.el (log-view-current-entry):
11445 Treat "---" separator lines as part of the following rev. (Bug#14169)
11446
11447 2013-04-27 Juri Linkov <juri@jurta.org>
11448
11449 * subr.el (read-number): Doc fix about using it by interactive
11450 code letter `n'. (Bug#14254)
11451
11452 2013-04-27 Juri Linkov <juri@jurta.org>
11453
11454 * desktop.el (desktop-auto-save-timeout): New option.
11455 (desktop-file-checksum): New variable.
11456 (desktop-save): Add optional arg `auto-save' and don't auto-save
11457 if nothing changed.
11458 (desktop-auto-save-timer): New variable.
11459 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11460 (after-init-hook): Call `desktop-auto-save-set-timer'.
11461 Suggested by Reuben Thomas <rrt@sc3d.org> in
11462 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11463
11464 2013-04-27 Leo Liu <sdl.web@gmail.com>
11465
11466 * progmodes/octave.el (octave-function-file-p)
11467 (octave-skip-comment-forward, octave-function-file-comment)
11468 (octave-update-function-file-comment): New functions.
11469 (octave-mode-map): Bind C-c ; to
11470 octave-update-function-file-comment.
11471 (octave-mode-menu): Add octave-update-function-file-comment.
11472 (octave-mode, inferior-octave-mode): Fix doc-string.
11473 (octave-insert-defun): Conform to Octave's coding convention.
11474 (Bug#14285)
11475
11476 * files.el (basic-save-buffer): Don't let errors in
11477 before-save-hook prevent saving buffer.
11478
11479 2013-04-20 Roland Winkler <winkler@gnu.org>
11480
11481 * faces.el (read-face-name): Use completing-read if arg multiple
11482 is nil.
11483
11484 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11485
11486 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11487 displayed, move point to after the totals line.
11488 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11489 for the details.
11490
11491 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11494 Add current dir to the load-path.
11495 (package-generate-autoloads): Don't rely on
11496 autoload-ensure-default-file.
11497
11498 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11499
11500 * textmodes/remember.el (remember-store-in-files): Document that
11501 the file name format is passed to `format-time-string'.
11502
11503 2013-04-26 Leo Liu <sdl.web@gmail.com>
11504
11505 * progmodes/octave.el (octave-sync-function-file-names): New function.
11506 (octave-mode): Use it in before-save-hook.
11507
11508 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11511 (bug#14274).
11512
11513 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11514 \n and comment, even if it's not an implicit ; (bug#14218).
11515
11516 2013-04-26 Glenn Morris <rgm@gnu.org>
11517
11518 * subr.el (read-number): Once more use `read' rather than
11519 `string-to-number', to trap non-numeric input. (Bug#14254)
11520
11521 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11522
11523 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11524 Use `syntax-multiline' text property consistently instead of
11525 `font-lock-multiline'. (Bug#14237)
11526
11527 2013-04-26 Glenn Morris <rgm@gnu.org>
11528
11529 * emacs-lisp/shadow.el (list-load-path-shadows):
11530 No longer necessary to check for duplicate simple.el, since
11531 2012-07-07 change to init_lread to not include installation lisp
11532 directories in load-path when running uninstalled. (Bug#14270)
11533
11534 2013-04-26 Leo Liu <sdl.web@gmail.com>
11535
11536 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11537 (octave-mode, inferior-octave-mode): Use setq-local.
11538 (octave-not-in-string-or-comment-p): Rename to
11539 octave-in-string-or-comment-p.
11540 (octave-in-comment-p, octave-in-string-p)
11541 (octave-in-string-or-comment-p): Replace defsubst with defun.
11542
11543 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11544
11545 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11546
11547 2013-04-25 Bastien Guerry <bzg@gnu.org>
11548
11549 * textmodes/remember.el (remember-data-directory)
11550 (remember-directory-file-name-format): Fix custom types.
11551
11552 2013-04-25 Leo Liu <sdl.web@gmail.com>
11553
11554 * progmodes/octave.el (octave-completion-at-point-function):
11555 Make use of inferior octave process.
11556 (octave-initialize-completions): Remove.
11557 (inferior-octave-completion-table): New function.
11558 (inferior-octave-completion-at-point): Use it.
11559 (octave-completion-alist): Remove.
11560
11561 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11564 (opascal-mode-syntax-table): New var.
11565 (opascal-literal-kind, opascal-is-literal-end)
11566 (opascal-literal-token-at): Rewrite.
11567 (opascal--literal-start-re, opascal-font-lock-keywords)
11568 (opascal--syntax-propertize): New constants.
11569 (opascal-font-lock-defaults): Adjust.
11570 (opascal-mode): Use them. Set comment-<foo> variables as well.
11571 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11572 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11573 (delphi-other-face, opascal-other-face): Remove face variables.
11574 (opascal-save-state): Remove macro.
11575 (opascal-fontifying-progress-step): Remove constant.
11576 (opascal--ignore-changes): Remove var.
11577 (opascal-set-token-property, opascal-parse-next-literal)
11578 (opascal-is-stable-literal, opascal-complete-literal)
11579 (opascal-is-literal-start, opascal-face-of)
11580 (opascal-parse-region, opascal-parse-region-until-stable)
11581 (opascal-fontify-region, opascal-after-change)
11582 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11583 (opascal-debug-parse-region, opascal-debug-parse-window)
11584 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11585 (opascal-debug-fontify-buffer): Remove.
11586 (opascal-debug-mode-map): Adjust accordingly.
11587
11588 2013-04-25 Leo Liu <sdl.web@gmail.com>
11589
11590 Merge octave-mod.el and octave-inf.el into octave.el with some
11591 cleanups.
11592 * progmodes/octave.el: New file renamed from octave-mod.el.
11593 * progmodes/octave-inf.el: Merged into octave.el.
11594 * progmodes/octave-mod.el: Renamed to octave.el.
11595
11596 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11597
11598 * textmodes/reftex-vars.el
11599 (reftex-label-ignored-macros-and-environments): New defcustom.
11600
11601 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11602
11603 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11606 (smie-indent-keyword): Improve the check to ensure that the next
11607 comment is really on the same line.
11608 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11609
11610 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11611 semi-colons if the line is not otherwise empty (bug#14218).
11612
11613 2013-04-25 Glenn Morris <rgm@gnu.org>
11614
11615 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11616
11617 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * progmodes/opascal.el (opascal-set-token-property): Rename from
11620 opascal-set-text-properties and only set `token' (bug#14134).
11621 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11622 (opascal-literal-text-properties): Remove.
11623 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11624 Adjust callers.
11625
11626 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11627
11628 * textmodes/remember.el (remember-handler-functions): Add an
11629 option for a new handler `remember-store-in-files'.
11630 (remember-data-directory, remember-directory-file-name-format):
11631 New options.
11632 (remember-store-in-files): New function to store remember notes
11633 as separate files within a directory.
11634
11635 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11636
11637 * progmodes/compile.el (compilation-next-error-function):
11638 Pass "formats" to compilation-find-file (bug#11777).
11639
11640 2013-04-24 Glenn Morris <rgm@gnu.org>
11641
11642 * vc/vc-bzr.el (vc-bzr-print-log):
11643 * vc/vc-hg.el (vc-hg-print-log):
11644 * vc/vc-svn.el (vc-svn-print-log):
11645 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11646
11647 * vc/vc-bzr.el (vc-bzr-print-log):
11648 * vc/vc-cvs.el (vc-cvs-print-log):
11649 * vc/vc-git.el (vc-git-print-log):
11650 * vc/vc-hg.el (vc-hg-print-log):
11651 * vc/vc-mtn.el (vc-mtn-print-log):
11652 * vc/vc-rcs.el (vc-rcs-print-log):
11653 * vc/vc-sccs.el (vc-sccs-print-log):
11654 * vc/vc-svn.el (vc-svn-print-log):
11655 * vc/vc.el (vc-print-log-internal): Doc fixes.
11656
11657 2013-04-23 Glenn Morris <rgm@gnu.org>
11658
11659 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11660 Remove venerable code attempting to avoid substitute-command-keys.
11661
11662 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11663
11664 * textmodes/reftex-vars.el (reftex-label-regexps):
11665 Call `reftex-compile-variables' after changes to this variable.
11666
11667 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11670 Use lexical-binding.
11671 (jit-lock-force-redisplay): Use markers, check buffer's continued
11672 existence and beware narrowed buffers.
11673 (jit-lock-fontify-now): Adjust call accordingly.
11674
11675 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11678 to avoid misleading the user.
11679
11680 2013-04-22 Leo Liu <sdl.web@gmail.com>
11681
11682 * info-look.el: Prefer latex2e.info. (Bug#14240)
11683
11684 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11685
11686 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11687
11688 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11689 * net/tramp.el (tramp-call-process): ... here.
11690 (tramp-set-completion-function, tramp-parse-putty):
11691 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11692 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11693 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11694 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11695 (tramp-call-local-coding-command): Use `tramp-call-process'
11696 instead of `tramp-compat-call-process'.
11697
11698 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11699 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11700 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11701 (tramp-find-inline-compress): Improve traces.
11702 (tramp-maybe-send-script): Check for Perl binary.
11703 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11704
11705 2013-04-22 Daiki Ueno <ueno@gnu.org>
11706
11707 * epg.el (epg-context-pinentry-mode): New function.
11708 (epg-context-set-pinentry-mode): New function.
11709 (epg--start): Pass --pinentry-mode option to gpg command.
11710
11711 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11712
11713 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11714 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11715 `completion-at-point'. (Bug#13774)
11716
11717 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11718 default key binding for `describe-distribution' has been moved to
11719 `C-h C-o'. (Bug#13970)
11720
11721 2013-04-21 Glenn Morris <rgm@gnu.org>
11722
11723 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11724 Add doc strings.
11725 (vc-print-log): Clarify interactive prompt.
11726
11727 2013-04-20 Glenn Morris <rgm@gnu.org>
11728
11729 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11730 No longer include timestamp etc information.
11731
11732 2013-04-20 Roland Winkler <winkler@gnu.org>
11733
11734 * faces.el (read-face-name): Bug fix, return just one face if arg
11735 multiple is nil. (Bug#14209)
11736
11737 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11738
11739 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11740 (remove-function): Autoload.
11741
11742 * comint.el (comint-redirect-original-filter-function): Remove.
11743 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11744 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11745 (vc-cvs-annotate-command):
11746 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11747 * progmodes/prolog.el (prolog-consult-compile):
11748 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11749 Use add/remove-function instead.
11750 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11751 (gud-tooltip-process-output, gud-tooltip-tips):
11752 Use add/remove-function instead.
11753 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11754 (scheme-interaction-mode, exit-scheme-interaction-mode):
11755 Use add/remove-function instead.
11756
11757 * vc/vc-dispatcher.el: Use lexical-binding.
11758 (vc--process-sentinel): Rename from vc-process-sentinel.
11759 Change last arg to be the code to run. Don't use vc-previous-sentinel
11760 and vc-sentinel-commands any more.
11761 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11762 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11763
11764 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11765
11766 * progmodes/sh-script.el (sh-imenu-generic-expression):
11767 Handle function names with a single character. (Bug#14111)
11768
11769 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11770
11771 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11772 for subroutines defined in an eval (bug#14182).
11773
11774 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11775
11776 * bookmark.el (bookmark-completing-read): Improve handling of empty
11777 string (bug#14176).
11778
11779 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11782
11783 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11784
11785 New faster Imenu implementation (bug#14058).
11786 * progmodes/python.el:
11787 (python-imenu-prev-index-position):
11788 (python-imenu-format-item-label-function)
11789 (python-imenu-format-parent-item-label-function)
11790 (python-imenu-format-parent-item-jump-label-function):
11791 New vars.
11792 (python-imenu-format-item-label)
11793 (python-imenu-format-parent-item-label)
11794 (python-imenu-format-parent-item-jump-label)
11795 (python-imenu--put-parent, python-imenu--build-tree)
11796 (python-imenu-create-index, python-imenu-create-flat-index)
11797 (python-util-popn): New functions.
11798 (python-mode): Set imenu-create-index-function to
11799 python-imenu-create-index.
11800
11801 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11802
11803 * winner.el (winner-active-region): Use region-active-p, activate-mark
11804 and deactivate-mark (bug#14225).
11805
11806 * simple.el (deactivate-mark): Don't inline it.
11807
11808 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11809
11810 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11811
11812 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11813
11814 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11815 file extensions from the archive-mode entry in order to prefer
11816 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11817
11818 2013-04-18 Leo Liu <sdl.web@gmail.com>
11819
11820 * bindings.el (help-event-list): Add ?\?.
11821
11822 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11823
11824 * subr.el (with-wrapper-hook): Declare obsolete.
11825 * simple.el (filter-buffer-substring-function): New hook.
11826 (filter-buffer-substring): Use it.
11827 (filter-buffer-substring-functions): Mark obsolete.
11828 * minibuffer.el (completion-in-region-function): New hook.
11829 (completion-in-region): Use it.
11830 (completion-in-region-functions): Mark obsolete.
11831 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11832 * abbrev.el (abbrev-expand-function): New hook.
11833 (expand-abbrev): Use it.
11834 (abbrev-expand-functions): Mark obsolete.
11835 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11836 and :filter-return.
11837
11838 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11839
11840 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11841 and do not care about match data.
11842
11843 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11846 completion tables when completing error conditions and
11847 `declare' arguments.
11848 (lisp-complete-symbol, field-complete): Mark as obsolete.
11849 (check-parens): Unmatched parens are user errors.
11850 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11851
11852 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11853
11854 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11855 command changed buffer (ie. `flyspell-pre-buffer' is not current
11856 buffer), which prevents making decisions based on invalid value of
11857 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11858 cause an error when `flyspell-pre-point' was nil after switching
11859 buffers.
11860 (flyspell-post-command-hook): No longer needs to change buffers when
11861 checking pre-word. While at it remove unnecessary progn.
11862
11863 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11864
11865 * textmodes/ispell.el (ispell-add-per-file-word-list):
11866 Fix `flyspell-correct-word-before-point' error when accepting
11867 words and `coment-padding' is an integer by using
11868 `comment-normalize-vars' (Bug #14214).
11869
11870 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11871
11872 New defun movement commands.
11873 * progmodes/python.el (python-nav--syntactically)
11874 (python-nav--forward-defun, python-nav-backward-defun)
11875 (python-nav-forward-defun): New functions.
11876
11877 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11878
11879 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11880 (python-syntax-context): Use named compiler-macro for backwards
11881 compatibility with Emacs 24.x.
11882
11883 2013-04-17 Leo Liu <sdl.web@gmail.com>
11884
11885 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11886 octave-hide-process-buffer.
11887
11888 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11889
11890 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11891 (bug#14216).
11892
11893 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11894
11895 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11896 Fix adjustment of offset when receiving incomplete responses from GDB
11897 (bug#14129).
11898
11899 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11902 python-mode-abbrev-table.
11903 (python-skeleton-define): Adjust accordingly.
11904 (python-mode-abbrev-table): New table that inherits from it so that
11905 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11906
11907 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11908 (abbrev-symbol): Use it.
11909 (abbrev--before-point): Use it since we already handle inheritance.
11910
11911 2013-04-16 Leo Liu <sdl.web@gmail.com>
11912
11913 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11914 binding to info-lookup-symbol.
11915
11916 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11917
11918 * minibuffer.el (completion--twq-all):
11919 * term/ns-win.el (ns-initialize-window-system):
11920 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11921
11922 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11925 global bindings.
11926
11927 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11928
11929 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11930
11931 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11932 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11933 to nil.
11934 (ruby-end-of-defun): Remove the unused arg, change the docstring
11935 to reflect that this function is only used as the value of
11936 `end-of-defun-function'.
11937 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11938 to reflect an earlier change that beginning/end-of-defun functions
11939 jump between methods in a class definition, as well as top-level
11940 functions.
11941
11942 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11943
11944 * minibuffer.el (minibuffer-complete): Don't just scroll
11945 a *Completions* that's been iconified.
11946 (minibuffer-force-complete): Make sure repetitions do cycle when going
11947 through completion-in-region -> minibuffer-complete.
11948
11949 2013-04-15 Alan Mackenzie <acm@muc.de>
11950
11951 Correct the placement of c-cpp-delimiters when there're #s not at
11952 col 0.
11953
11954 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11955 place a submatch around the #.
11956 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11957 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11958 on the #, not BOL.
11959
11960 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11961
11962 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11963 (advice--member-p): New arg `name'.
11964 (advice--add-function, advice-member-p): Use it (bug#14202).
11965
11966 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11967
11968 Reformulate java imenu-generic-expression.
11969 The old expression contained ill formed regexps.
11970
11971 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11972 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11973 (cc-imenu-java-method-arg-regexp): New defconsts.
11974 (cc-imenu-java-build-type-args-regex): New defun.
11975 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11976 handling of spaces in the regexp.
11977
11978 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11979
11980 * textmodes/ispell.el (ispell-command-loop): Remove
11981 flyspell highlight of a word when ispell accepts it (bug #14178).
11982
11983 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11984
11985 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11986 uses code from the previous `ange-ftp-run-real-handler'.
11987 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11988 only in case that function exist. This is needed for proper
11989 unloading of Tramp.
11990
11991 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11992
11993 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11994
11995 * textmodes/reftex.el (reftex-compile-variables): Use it.
11996
11997 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * files.el (normal-mode): Only use default major-mode if no other mode
12000 was specified.
12001
12002 * emacs-lisp/trace.el (trace-values): New function.
12003
12004 * files.el: Allow : in local variables (bug#14089).
12005 (hack-local-variable-regexp): New var.
12006 (hack-local-variables-prop-line, hack-local-variables): Use it.
12007
12008 2013-04-13 Roland Winkler <winkler@gnu.org>
12009
12010 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12011 data before it gets modified by bibtex-beginning-of-entry.
12012
12013 2013-04-13 Roland Winkler <winkler@gnu.org>
12014
12015 * textmodes/bibtex.el (bibtex-url): Doc fix.
12016
12017 2013-04-13 Roland Winkler <winkler@gnu.org>
12018
12019 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12020 does not visit a BibTeX file, exclude it from the list of buffers
12021 returned by bibtex-initialize.
12022
12023 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12024
12025 * window.el (split-window): Remove interactive form, since as a
12026 command this function is a special case of split-window-below.
12027 Correct doc string.
12028
12029 2013-04-12 Roland Winkler <winkler@gnu.org>
12030
12031 * faces.el (read-face-name): Do not override value of arg default.
12032 Allow single faces and strings as default values. Remove those
12033 elements from return value that are not faces.
12034 (describe-face): Simplify.
12035 (face-at-point): New optional args thing and multiple so that this
12036 function can provide the same functionality previously provided by
12037 read-face-name.
12038 (make-face-bold, make-face-unbold, make-face-italic)
12039 (make-face-unitalic, make-face-bold-italic, invert-face)
12040 (modify-face, read-face-and-attribute): Use face-at-point.
12041
12042 * cus-edit.el (customize-face, customize-face-other-window)
12043 * cus-theme.el (custom-theme-add-face)
12044 * face-remap.el (buffer-face-set)
12045 * facemenu.el (facemenu-set-face): Use face-at-point.
12046
12047 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12048
12049 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12050
12051 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12052
12053 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12054 off leading { and trailing } from field values.
12055
12056 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * emacs-lisp/timer.el (timer--check): New function.
12059 (timer--time, timer-set-function, timer-event-handler): Use it.
12060 (timer-set-idle-time): Simplify.
12061 (timer--activate): CSE.
12062 (timer-event-handler): Give more info in error message.
12063 (internal-timer-start-idle): New function, moved from C.
12064
12065 * mpc.el (mpc-proc): Add `restart' argument.
12066 (mpc-proc-cmd): Use it.
12067 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12068 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12069 less often.
12070
12071 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12072
12073 * progmodes/sh-script.el: Implement `sh-mode' own
12074 `add-log-current-defun-function' (bug#14112).
12075 (sh-current-defun-name): New function.
12076 (sh-mode): Use the function.
12077
12078 2013-04-09 Bastien Guerry <bzg@gnu.org>
12079
12080 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12081
12082 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12085
12086 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12087 timer (bug#14156).
12088
12089 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12090
12091 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12092 declaration.
12093
12094 2013-04-07 Leo Liu <sdl.web@gmail.com>
12095
12096 * pcmpl-x.el: New file.
12097
12098 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12099
12100 Do not set x-display-name until X connection is established.
12101 This is needed to prevent from weird situation described at
12102 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12103 * frame.el (make-frame): Set x-display-name after call to
12104 window system initialization function, not before.
12105 * term/x-win.el (x-initialize-window-system): Add optional
12106 display argument and use it.
12107 * term/w32-win.el (w32-initialize-window-system):
12108 * term/ns-win.el (ns-initialize-window-system):
12109 * term/pc-win.el (msdos-initialize-window-system):
12110 Add compatible optional display argument.
12111
12112 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12113
12114 * files.el (normal-backup-enable-predicate): On MS-Windows and
12115 MS-DOS compare truenames of temporary-file-directory and of the
12116 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12117 don't fail comparison by compare-strings. Also, compare file
12118 names case-insensitively on MS-Windows and MS-DOS.
12119
12120 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12123 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12124
12125 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12126
12127 * whitespace.el (whitespace-color-on, whitespace-color-off):
12128 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12129
12130 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12131
12132 * ispell.el (ispell-set-spellchecker-params):
12133 Really set `ispell-args' for all equivs.
12134
12135 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12136
12137 * ido.el (ido-completions): Use extra elements of ido-decorations
12138 (bug#14143).
12139 (ido-decorations): Update docstring.
12140
12141 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12142
12143 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12144 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12145 nil during initialization, in order not to miss changes since the
12146 file was opened. (Bug#14140)
12147
12148 2013-04-05 Leo Liu <sdl.web@gmail.com>
12149
12150 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12151
12152 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12153
12154 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12155
12156 2013-04-04 Glenn Morris <rgm@gnu.org>
12157
12158 * electric.el (electric-pair-inhibit-predicate): Add :version.
12159
12160 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12163 when a package is required several times (bug#14082).
12164
12165 2013-04-04 Roland Winkler <winkler@gnu.org>
12166
12167 * faces.el (read-face-name): Behave as promised by the docstring.
12168 Assume that arg default is a list of faces.
12169 (describe-face): Call read-face-name with list of default faces.
12170
12171 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12172
12173 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12174 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12175 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12176 the header.
12177 (bookmark-exit-hook-internal): Save even if list is empty.
12178
12179 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12180
12181 * emacs-lisp/package.el (package-pinned-packages): New var.
12182 (package--add-to-archive-contents): Obey it (bug#14118).
12183
12184 2013-04-03 Alan Mackenzie <acm@muc.de>
12185
12186 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12187 Also adapt to the new values of element 7 of a parse state.
12188
12189 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12190 parameter `not-in-delimiter'. Handle being inside comment opener.
12191 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12192 character in case we're typing a '*' after a '/'.
12193 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12194 instead by passing the parameter to c-state-pp-to-literal.
12195
12196 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12197 for elt. 7 of a parse state.
12198
12199 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12200
12201 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12202 * international/latin1-disp.el, international/mule-util.el:
12203 * language/cyril-util.el, language/european.el, language/ind-util.el:
12204 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12205 * language/tibetan.el, language/viet-util.el:
12206 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12207
12208 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12211 (electric-pair-post-self-insert-function): Use it.
12212 (electric-pair-default-inhibit): New function, extracted from
12213 electric-pair-post-self-insert-function.
12214
12215 2013-03-31 Roland Winkler <winkler@gnu.org>
12216
12217 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12218
12219 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12220
12221 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12222
12223 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12224
12225 Un-indent after "pass" and "return" statements (Bug#13888)
12226 * progmodes/python.el (python-indent-block-enders): New var.
12227 (python-indent-calculate-indentation): Use it.
12228
12229 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12230
12231 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12232 defun. Defining it as defalias could introduce too eager
12233 byte-compiler optimization. (Bug#14030)
12234
12235 2013-03-30 Chong Yidong <cyd@gnu.org>
12236
12237 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12238
12239 2013-03-30 Leo Liu <sdl.web@gmail.com>
12240
12241 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12242 (kmacro-execute-from-register): Pass the keyboard macro to
12243 kmacro-call-macro or repeating won't work correctly.
12244
12245 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12246
12247 * progmodes/subword.el: Back to using `forward-symbol'.
12248
12249 * subr.el (forward-whitespace, forward-symbol)
12250 (forward-same-syntax): Move from thingatpt.el.
12251
12252 2013-03-29 Leo Liu <sdl.web@gmail.com>
12253
12254 * kmacro.el (kmacro-to-register): New command.
12255 (kmacro-execute-from-register): New function.
12256 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12257
12258 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * mpc.el: Use defvar-local and setq-local.
12261 (mpc--proc-connect): Connection failures are not bugs.
12262 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12263 (mpc-volume-map): Bind to the up-events.
12264
12265 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12266
12267 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12268 instead of `forward-symbol'.
12269
12270 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12273 (edebug--recursive-edit): Use it.
12274 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12275 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12276
12277 2013-03-28 Leo Liu <sdl.web@gmail.com>
12278
12279 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12280
12281 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12282
12283 * facemenu.el (list-colors-callback): New defvar.
12284 (list-colors-redisplay): New function.
12285 (list-colors-display): Install list-colors-redisplay as the
12286 revert-buffer-function. (Bug#14063)
12287
12288 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12289
12290 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12291 and suffixes don't overlap (bug#14061).
12292
12293 * case-table.el: Use lexical-binding.
12294 (case-table-get-table): New function.
12295 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12296
12297 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12298
12299 * progmodes/subword.el: Add `superword-mode' to do word motion
12300 over symbol_words (parallels and leverages `subword-mode' which
12301 does word motion inside MixedCaseWords).
12302
12303 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12304
12305 * eshell/em-unix.el: Move su and sudo to...
12306 * eshell/em-tramp.el: ...Eshell tramp module.
12307
12308 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12311 Change return value to be a sexp. Delay `get-buffer' to after
12312 restoring the desktop (bug#13951).
12313
12314 2013-03-26 Leo Liu <sdl.web@gmail.com>
12315
12316 * register.el: Move semantic tag handling back to
12317 cedet/semantic/senator.el. (Bug#14052)
12318
12319 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12320
12321 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12322 into the prompt either (bug#13963).
12323
12324 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12327 part of "(error-foo)".
12328
12329 2013-03-24 Juri Linkov <juri@jurta.org>
12330
12331 * replace.el (list-matching-lines-prefix-face): New defcustom.
12332 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12333 `occur-engine' if `face-differs-from-default-p' returns t.
12334 (occur-engine): Add `,' inside backquote construct to evaluate
12335 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12336 Pass `prefix-face' to the functions `occur-context-lines' and
12337 `occur-engine-add-prefix'.
12338 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12339 `prefix-face' and propertize the prefix with `prefix-face'.
12340 (Bug#14017)
12341
12342 2013-03-24 Leo Liu <sdl.web@gmail.com>
12343
12344 * nxml/rng-valid.el (rng-validate-while-idle)
12345 (rng-validate-quick-while-idle): Guard against deleted buffer.
12346 (Bug#13999)
12347
12348 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12349 is the last entry in kill-buffer-hook.
12350
12351 * files.el (kill-buffer-hook): Doc fix.
12352
12353 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12354
12355 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12356 Make it safe-local.
12357
12358 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12359
12360 2013-03-23 Leo Liu <sdl.web@gmail.com>
12361
12362 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12363 Remove.
12364
12365 * nxml/rng-valid.el (rng-validate-mode)
12366 (rng-after-change-function, rng-do-some-validation):
12367 * nxml/rng-maint.el (rng-validate-buffer):
12368 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12369 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12370 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12371 (nxml-extend-after-change-region): Use with-silent-modifications.
12372
12373 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12374 timer-idle-list.
12375
12376 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12377 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12378 timer-idle-list. (Bug#13999)
12379
12380 2013-03-23 Juri Linkov <juri@jurta.org>
12381
12382 * info.el (info-index-match): New face.
12383 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12384 main pattern and add text properties with the new face to matches
12385 in index entries relative to the beginning of the index entry.
12386 (Bug#14015)
12387
12388 2013-03-21 Eric Ludlam <zappo@gnu.org>
12389
12390 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12391 Inhibit read only while inserting objects.
12392
12393 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12394
12395 * progmodes/cfengine.el: Update docs to mention
12396 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12397 symbol motion. Remove "_" from the word syntax.
12398
12399 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12400
12401 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12402 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12403
12404 2013-03-20 Juri Linkov <juri@jurta.org>
12405
12406 * info.el (Info-next-reference-or-link)
12407 (Info-prev-reference-or-link): New functions.
12408 (Info-next-reference, Info-prev-reference): Use them.
12409 (Info-try-follow-nearest-node): Handle footnote navigation.
12410 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12411
12412 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12413
12414 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12415 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12416
12417 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12418
12419 Suppress unnecessary non-ASCII chatter during build process.
12420 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12421 (batch-skkdic-convert): Suppress most of the chatter.
12422 It's not needed so much now that machines are faster,
12423 and its non-ASCII component was confusing; see Dmitry Gutov in
12424 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12425
12426 2013-03-20 Leo Liu <sdl.web@gmail.com>
12427
12428 * ido.el (ido-chop): Fix bug#10994.
12429
12430 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12431
12432 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12433 Remove vars.
12434 (whitespace-color-on, whitespace-color-off):
12435 Use `font-lock-fontify-buffer' (Bug#13817).
12436
12437 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12440 remapping in mode-line.
12441 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12442
12443 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12444
12445 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12446 value for `whitespace-line' face (Bug#13875).
12447 (whitespace-font-lock-keywords): Change description.
12448 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12449 the constructed keywords instead.
12450 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12451
12452 2013-03-19 Leo Liu <sdl.web@gmail.com>
12453
12454 * progmodes/compile.el (compilation-display-error): New command.
12455 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12456 C-o. (Bug#13992)
12457
12458 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12459
12460 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12461
12462 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12463
12464 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12465
12466 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12467
12468 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12469
12470 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12471 * net/tramp-gvfs.el (top):
12472 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12473 (tramp-handle-shell-command): Use it.
12474 (tramp-dissect-file-name): Raise an error when hostname is a
12475 method name, and neither method nor user is specified.
12476
12477 * net/trampver.el: Update release number.
12478
12479 2013-03-18 Leo Liu <sdl.web@gmail.com>
12480
12481 Make sure eldoc can be turned off properly.
12482 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12483 eldoc-mode.
12484 (eldoc-display-message-p): Revert last change.
12485 (eldoc-display-message-no-interference-p)
12486 (eldoc-print-current-symbol-info): Tweak.
12487
12488 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12489
12490 * doc-view.el (doc-view-new-window-function): Check the new window
12491 overlay's display property instead the char property of the
12492 buffer's first char. Use `with-selected-window' instead of
12493 `save-window-excursion' with `select-window'.
12494 (doc-view-document->bitmap): Check the current doc-view overlay's
12495 display property instead the char property of the buffer's first char.
12496
12497 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12498
12499 Automate the build of ja-dic.el (Bug#13984).
12500 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12501 from the input, rather than assume that it's been done for us by the
12502 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12503 the current date into a ja-dic.el comment, as that complicates
12504 regression testing.
12505
12506 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * whitespace.el: Fix double evaluation.
12509 (whitespace-space, whitespace-hspace, whitespace-tab)
12510 (whitespace-newline, whitespace-trailing, whitespace-line)
12511 (whitespace-space-before-tab, whitespace-indentation)
12512 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12513 obsolete defvars.
12514 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12515 (whitespace-color-on): Use a single font-lock-add-keywords call.
12516 Fix double-evaluation of face variables.
12517
12518 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12519
12520 * net/tramp-adb.el (tramp-adb-parse-device-names):
12521 Use `start-process' instead of `call-process'. Otherwise, the
12522 function might be blocked under MS Windows. (Bug#13299)
12523
12524 2013-03-17 Leo Liu <sdl.web@gmail.com>
12525
12526 Extend eldoc to display info in the mode-line. (Bug#13978)
12527 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12528 (eldoc-mode-line-string): New variable.
12529 (eldoc-minibuffer-message): New function.
12530 (eldoc-message-function): New variable.
12531 (eldoc-message): Use it.
12532 (eldoc-display-message-p)
12533 (eldoc-display-message-no-interference-p):
12534 Support eldoc-post-insert-mode.
12535
12536 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12537 (eval-expression): Run it.
12538
12539 2013-03-17 Roland Winkler <winkler@gnu.org>
12540
12541 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12542 strings in the list of return values.
12543
12544 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12545
12546 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12547 radix before checking for HMS forms.
12548
12549 2013-03-16 Leo Liu <sdl.web@gmail.com>
12550
12551 * progmodes/scheme.el: Add indentation and font-locking for λ.
12552 (Bug#13975)
12553
12554 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12555
12556 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12557 token before point (bug#13942).
12558
12559 2013-03-16 Leo Liu <sdl.web@gmail.com>
12560
12561 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12562
12563 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12564
12565 * startup.el (command-line-normalize-file-name): Fix handling of
12566 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12567 <xfq.free@gmail.com> in
12568 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12569
12570 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12571
12572 Sync with Tramp 2.2.7.
12573
12574 * net/trampver.el: Update release number.
12575
12576 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12577
12578 * doc-view.el: Fix bug#13887.
12579 (doc-view-insert-image): Don't modify overlay associated to
12580 non-live windows, and implement horizontal centering of image in
12581 case it's smaller than the window.
12582 (doc-view-new-window-function): Force redisplay of new windows on
12583 doc-view buffers.
12584
12585 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12586
12587 * saveplace.el (save-place-alist-to-file): Don't sort
12588 `save-place-alist', just pretty-print it (bug#13882).
12589
12590 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12593 Check whether `default-file-name-coding-system' is bound.
12594 It isn't in XEmacs.
12595
12596 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12597
12598 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12599 backquotes for `obsolete' (bug#13929).
12600
12601 * international/mule.el (find-auto-coding): Include file name in
12602 obsolescence warning (bug#13922).
12603
12604 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12605
12606 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12607 for CFEngine 3-specific indentation.
12608 (cfengine3-indent-line): Use it. Fix up category regex.
12609 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12610
12611 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12612
12613 * type-break.el (type-break-file-name):
12614 * textmodes/remember.el (remember-data-file):
12615 * strokes.el (strokes-file):
12616 * shadowfile.el (shadow-initialize):
12617 * saveplace.el (save-place-file):
12618 * ps-bdf.el (bdf-cache-file):
12619 * progmodes/idlwave.el (idlwave-config-directory):
12620 * net/quickurl.el (quickurl-url-file):
12621 * international/kkc.el (kkc-init-file-name):
12622 * ido.el (ido-save-directory-list-file):
12623 * emulation/viper.el (viper-custom-file-name):
12624 * emulation/vip.el (vip-startup-file):
12625 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12626 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12627
12628 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12629
12630 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12631 * language/thai-word.el: Switch to UTF-8.
12632
12633 See ChangeLog.16 for earlier changes.
12634
12635 ;; Local Variables:
12636 ;; coding: utf-8
12637 ;; End:
12638
12639 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12640
12641 This file is part of GNU Emacs.
12642
12643 GNU Emacs is free software: you can redistribute it and/or modify
12644 it under the terms of the GNU General Public License as published by
12645 the Free Software Foundation, either version 3 of the License, or
12646 (at your option) any later version.
12647
12648 GNU Emacs is distributed in the hope that it will be useful,
12649 but WITHOUT ANY WARRANTY; without even the implied warranty of
12650 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12651 GNU General Public License for more details.
12652
12653 You should have received a copy of the GNU General Public License
12654 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.