]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
fcbff5b8ee5b4dbff21784a1466170c8dafad282
[gnu-emacs] / lisp / ChangeLog
1 2014-01-26 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4 Doc fix. Make obsolete.
5 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
6
7 * sort.el (delete-duplicate-lines): Doc fix.
8
9 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10
11 * progmodes/ada-mode.el (ada):
12 * woman.el (woman): Link to info manual and Commentary section.
13
14 * progmodes/flymake.el (flymake):
15 * nxml/nxml-mode.el (nxml):
16 * net/eww.el (eww):
17 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
18 * htmlfontify.el (htmlfontify):
19 * ses.el (ses):
20 * epa.el (epa):
21 * ido.el (ido): Link to info manual.
22
23 2014-01-25 Leo Liu <sdl.web@gmail.com>
24
25 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
26
27 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
28
29 * net/shr.el (shr-tag-img): Prefer the title over the alt text
30 (bug#16537).
31
32 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
33
34 * net/eww.el (eww-download-callback):
35 Fix reference to eww-download-directory.
36
37 * emacs-lisp/bytecomp.el (byte-compile-file):
38 Remove unused local variable `file-name'.
39
40 2014-01-24 Glenn Morris <rgm@gnu.org>
41
42 * woman.el (woman-default-faces, woman-monochrome-faces):
43 Fix obsolescence specification.
44
45 * subr.el (with-demoted-errors): Doc fix.
46
47 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
50 (cl--macroexp-fboundp): New function.
51 (cl--make-type-test): Use it.
52
53 2014-01-23 Glenn Morris <rgm@gnu.org>
54
55 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
56 * simple.el (eval-expression): Doc fixes.
57
58 2014-01-22 Glenn Morris <rgm@gnu.org>
59
60 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
61
62 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * emacs-lisp/package.el: Write files silently.
65 (package-autoload-ensure-default-file, package--write-file-no-coding)
66 (package-generate-description-file, package--download-one-archive)
67 (package-install-from-archive): Tell `write-region' to stay quiet.
68 (package-menu-mode, package-menu--print-info): Omit the Archive column
69 if there's only one archive.
70 (package-all-keywords, package--has-keyword-p): Remove dead code.
71
72 2014-01-22 Glenn Morris <rgm@gnu.org>
73
74 * version.el (emacs-bzr-version-bzr): Fix typo.
75
76 * version.el (emacs-repository-get-version):
77 Check either .bzr or .git, but not both.
78 Make the git case actually use the DIR argument, and return nil
79 rather than the empty string.
80 Avoid error if .git exists but the git executable is not found.
81
82 2014-01-22 Martin Rudalics <rudalics@gmx.at>
83
84 Fixes in window size functions around Bug#16430 and Bug#16470.
85 * window.el (window-total-size, window-size): New argument ROUND.
86 (window--min-delta-1, window-min-delta, window--max-delta-1):
87 Be more conservative when calculating the numbers of lines or
88 columns a window can shrink (Bug#16430).
89 (fit-window-to-buffer): Simplify code.
90 * term.el (term-window-width): Call window-body-width again.
91
92 2014-01-22 Glenn Morris <rgm@gnu.org>
93
94 * image.el (image-format-suffixes): Doc fix.
95
96 * international/quail.el (quail-define-package): Doc fix.
97
98 * emacs-lisp/authors.el (authors-valid-file-names):
99 (authors-renamed-files-alist): Additions.
100
101 * vc/vc-git.el (vc-git-print-log): Remove --follow;
102 reverts 2014-01-09 change. (Bug#16422)
103
104 * calc/calc-embed.el (thing-at-point-looking-at):
105 * emacs-lisp/map-ynp.el (x-popup-dialog):
106 * obsolete/lmenu.el (x-popup-dialog):
107 * emacs-lisp/package.el (url-recreate-url):
108 * mail/mailclient.el (clipboard-kill-ring-save):
109 * subr.el (x-popup-dialog): Update declaration.
110 * mail/rmail.el (rmail-mime-message-p):
111 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
112
113 2014-01-21 Daniel Colascione <dancol@dancol.org>
114
115 * progmodes/sh-script.el (sh--inside-noncommand-expression):
116 Correctly detect when we're inside an arithmetic expansion form
117 containing nested parenthesis.
118 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
119 to detect cases where we shouldn't expand "<<" to a heredoc
120 skeleton.
121
122 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
125 (eldoc--message-command-p): New function.
126 (eldoc-display-message-p): Use it.
127 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
128 message is not automatically erased for us.
129 (eldoc-print-current-symbol-info): Erase previous message, if any.
130
131 2014-01-21 Tassilo Horn <tsdh@gnu.org>
132
133 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
134 specify it's an interactive function.
135
136 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
137 Fix regex used for scanning for citation keys which failed for
138 citations with optional arguments.
139
140 2014-01-21 Leo Liu <sdl.web@gmail.com>
141
142 * simple.el (read--expression): Don't enable eldoc-mode.
143
144 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * simple.el (move-beginning-of-line): Make sure we don't move forward
147 (bug#16497).
148
149 2014-01-20 Juri Linkov <juri@jurta.org>
150
151 * saveplace.el (toggle-save-place, save-place-to-alist)
152 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
153 'dired-mode) before checking for dired-directory. (Bug#16477)
154
155 2014-01-20 Juri Linkov <juri@jurta.org>
156
157 * indent.el (indent-line-to): Use backward-to-indentation
158 instead of back-to-indentation. (Bug#16461)
159
160 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
161
162 Revert some of the CANNOT_DUMP fix (Bug#16494).
163 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
164 but fixing this can wait until after the next release.
165 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
166
167 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
168
169 * eshell/esh-mode.el (eshell-password-prompt-regexp):
170 Use `password-word-equivalents'.
171 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
172 to t. (Bug#5664, Bug#13124)
173
174 2014-01-19 Alan Mackenzie <acm@muc.de>
175
176 Bind open-paren-in-column-0-is-defun-start to nil at some entry
177 points.
178 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
179 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
180 * progmodes/cc-mode.el (c-before-change, c-after-change)
181 (c-font-lock-fontify-region): Bind it here.
182
183 2014-01-19 Martin Rudalics <rudalics@gmx.at>
184
185 * term.el (term-window-width): Call window-text-width instead of
186 window-width (Bug#16470).
187
188 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
189
190 * simple.el (password-word-equivalents): Remove duplicates.
191 Sort, to make this easier next time.
192 Downcase. Omit ": " after "jelszó".
193
194 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
195
196 * term/common-win.el (saved-region-selection): Defvar it.
197 (x-select-text): Set saved-region-selection (Bug#16382).
198
199 2014-01-18 Glenn Morris <rgm@gnu.org>
200
201 * emacs-lisp/authors.el (authors-aliases)
202 (authors-renamed-files-alist): Add some entries.
203
204 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
205
206 * net/tramp.el (tramp-password-prompt-regexp):
207 Use `password-word-equivalents' if available.
208 (tramp-action-password, tramp-process-one-action)
209 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
210
211 2014-01-17 Chong Yidong <cyd@gnu.org>
212
213 * simple.el (password-word-equivalents): New defcustom.
214 * comint.el (comint-password-prompt-regexp): Use it. Bump version
215 to 24.4.
216 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
217 to t. (Bug#13124)
218
219 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
220
221 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
222 (ruby-align-to-stmt-keywords): Change the default value.
223 Use `ruby-alignable-keywords' to generate the possible customization
224 choices.
225 (ruby-smie-rules): Instead of using a hardcoded list of alignable
226 keywords, check against the value of `ruby-alignable-keywords'
227 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
228
229 2014-01-17 Glenn Morris <rgm@gnu.org>
230
231 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
232
233 Make M-x authors return zero *Authors Errors* from current logs.
234 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
235 (authors-ignored-files): Add some entries, remove others.
236 (authors-ambiguous-files, authors-valid-file-names):
237 Add some entries.
238 (authors-renamed-files-alist): Add, remove, and adjust entries.
239 (authors-renamed-files-regexps): Add some entries.
240 Remove some very broad ones. Make some entries `lax'.
241 (authors-lax-changelogs): New constant.
242 (authors-disambiguate-file-name): Treat top-level specially.
243 (authors-lax-changelog-p): New function.
244 (authors-canonical-file-name): Check file as written against
245 authors-valid-file-names. Do not special-case etc/.
246 Handle `lax' logs and authors-renamed-files-regexps elements.
247
248 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
249
250 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
251 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
252 callers.
253
254 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
257 Assume we're already in the proper buffer.
258 Inspired by Anders Lindgren <andlind@gmail.com>.
259 (follow-post-command-hook): Call it from the right buffer.
260 (follow-comint-scroll-to-bottom): Adjust call.
261 (follow-all-followers): Use get-buffer-window-list.
262
263 2014-01-15 Daniel Colascione <dancol@dancol.org>
264
265 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
266 `buffer-file-name' in interactive-form so that we don't leave
267 pathless file names in `file-name-history'.
268
269 2014-01-15 Juri Linkov <juri@jurta.org>
270
271 * indent.el (indent-rigidly): Set deactivate-mark to nil
272 in transient indentation mode. (Bug#16438)
273
274 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
275
276 * emacs-lisp/package.el (package-desc-keywords): New function
277 (Bug#16222).
278 (describe-package-1, package-all-keywords)
279 (package--has-keyword-p): Use it.
280
281 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
282
283 * simple.el (define-alternatives): When creating the
284 COMMAND-alternatives variable, assign COMMAND as its definition
285 name so that `describe-variable' can relocate it.
286
287 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
288
289 * font-lock.el (font-lock-keywords): Fix typo in docstring
290 (bug#16307).
291
292 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
293
294 * ispell.el (ispell-region): Reset `in-comment' for new line
295 instead of wrongly reset `add-coment' (bug#13577).
296
297 2014-01-14 Daiki Ueno <ueno@gnu.org>
298
299 * epa-file.el (epa-file-write-region): Encode the region according
300 to `buffer-file-format'. Problem reported at:
301 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
302
303 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
304
305 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
306 so it applies in the right buffer (bug#16410).
307
308 2014-01-13 Daniel Colascione <dancol@dancol.org>
309
310 * textmodes/rst.el (rst-define-key): Provide deprecated
311 keybindings through named functions instead of anonymous ones so
312 that "??" doesn't appear in describe-mode output.
313
314 2014-01-13 Bastien Guerry <bzg@gnu.org>
315
316 * simple.el (define-alternatives): Call the selected command
317 interactively. When setting `COMMAND--implementation' for the
318 first time, tell the user how to chose another implementation.
319 Enhance the docstring.
320
321 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
322
323 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
324 (log-edit--match-first-line): New function.
325 (log-edit-font-lock-keywords): Use it.
326 (log-edit-mode): Make jit-lock-defer-multiline work.
327
328 2014-01-13 Bastien Guerry <bzg@gnu.org>
329
330 * rect.el (rectangle-mark-mode): When the region is not active,
331 display a message saying that the mark as been set and that
332 rectangle mode is in use.
333 (rectangle--highlight-for-redisplay): Only put an overlay with a
334 visible vertical bar when (display-graphic-p) is non-nil.
335 This partially fixes Bug#16403.
336
337 2014-01-13 Juri Linkov <juri@jurta.org>
338
339 * info.el (Info-find-file): Go to DIR before displaying the error
340 about a nonexistent file if no previous Info file is visited.
341 Use `user-error' instead of `error' for "Info file %s does not exist".
342 (Info-find-node-2): In case of a nonexistent node in unwind forms
343 go to the Top node if there is no previous node to revert to.
344 (Bug#16405)
345
346 2014-01-13 Martin Rudalics <rudalics@gmx.at>
347
348 fit-frame/window-to-buffer code fixes including one for Bug#14096.
349 * window.el (fit-frame-to-buffer): Fix doc-string.
350 Respect window-min-height/-width. Fit pixelwise when
351 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
352 when avoiding that frame goes partially off-screen.
353 (fit-window-to-buffer): Respect window-min-height/-width
354 (Bug#14096).
355
356 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
359 after an empty line.
360
361 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * net/shr.el (shr-render-region): Autoload.
364
365 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
366
367 * net/eww.el (eww-download-directory): Rename from
368 `eww-download-path' (Bug#16419).
369
370 2014-01-12 Leo Liu <sdl.web@gmail.com>
371
372 * dired-x.el (dired-mode-map): Fix last change.
373
374 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
375
376 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
377
378 Spelling fixes.
379 * emacs-lisp/generic.el (generic--normalize-comments):
380 Rename from generic--normalise-comments. All uses changed.
381 * play/bubbles.el (bubbles--neighborhood-score):
382 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
383 (bubbles--neighborhood-available)
384 (bubbles--update-neighborhood-score):
385 Rename from names with 'neighbourhood'. All uses changed.
386
387 2014-01-12 Leo Liu <sdl.web@gmail.com>
388
389 Re-implement the feature of showing eldoc info after editing.
390 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
391 (eldoc-edit-message-commands): New function.
392 (eldoc-print-after-edit): New variable.
393 (eldoc-pre-command-refresh-echo-area): Emit message only by
394 eldoc-message-commands.
395 (eldoc-mode): Restrict eldoc-message-commands to editing commands
396 if eldoc-print-after-edit is set. (Bug#16346)
397 * simple.el (read--expression): Enable eldoc-mode.
398 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
399
400 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
401 Eric S. Raymond <esr@thyrsus.com>
402
403 * version.el (emacs-repository-get-version): Enhance so the
404 function works correctly in either a Bazaar or Git repo.
405
406 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
407
408 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
409 Goes with removal of the joke manpages from /etc.
410
411 2014-01-10 K. Handa <handa@gnu.org>
412
413 * mail/rmail.el (rmail-get-coding-system):
414 Check rmail-get-coding-function before "funcall"ing it.
415
416 2014-01-10 Glenn Morris <rgm@gnu.org>
417
418 * emacs-lisp/authors.el (authors-fixed-entries):
419 Update for files that no longer exist.
420
421 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
422
423 * version.el (emacs-bzr-get-version): Restore compatibilty with
424 24.3 (Tested).
425
426 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
427
428 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
429 and Podfile.
430
431 2014-01-10 Eli Zaretskii <eliz@gnu.org>
432
433 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
434
435 2014-01-10 Chong Yidong <cyd@gnu.org>
436
437 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
438
439 2014-01-10 Anders Lindgren <andlind@gmail.com>
440
441 * follow.el (follow-cache-command-list): Include right-char and
442 left-char.
443
444 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
445
446 Spelling fixes.
447 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
448 * woman.el (woman-mark-horizontal-position):
449 Rename from woman-mark-horizonal-position. Use changed.
450
451 2014-01-10 Glenn Morris <rgm@gnu.org>
452
453 * info.el (info-initialize): If running uninstalled, ensure our
454 own info files are always found first, even if INFOPATH is set.
455
456 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
457
458 2014-01-09 David Engster <deng@randomsample.de>
459
460 * emacs-lisp/eieio-custom.el:
461 * emacs-lisp/eieio-opt.el: Set generated autoload file to
462 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
463 * emacs-lisp/eieio.el: Regenerate autoloads.
464
465 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
466
467 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
468 following renames. (Bug#8756)
469
470 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
473 (bug#16382).
474 (activate-mark): Add `no-tmm' argument.
475 (set-mark, push-mark-command): Use it instead of running
476 activate-mark-hook by hand.
477
478 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
479
480 In preparation for the move to git, sanitize out some
481 Bazaar-specific names.
482
483 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
484
485 * version.el (emacs-bzr-version): Name changed to
486 emacs-repository-version. Obsolete-variable alias made.
487 * loadup.el: Follow through on this name change.
488 * mail/emacsbug.el (report-emacs-bug): Factor out any
489 assumption about the version control system in use.
490
491 2014-01-08 David Engster <deng@randomsample.de>
492
493 * help-fns.el (help-fns-describe-function-functions):
494 New variable to call functions for augmenting help buffers.
495 (describe-function-1): Remove explicit calls to
496 `help-fns--compiler-macro', `help-fns--parent-mode' and
497 `help-fns--obsolete'. Put them in above new variable instead, and
498 call them through `run-hook-with-args'.
499 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
500 `eieio-describe-class'. Not meant for interactive use anymore,
501 but to augment existing help buffers. Remove optional second
502 argument. Create proper button for file location.
503 Rewrite function to use `insert' instead of `princ' and `prin1' where
504 possible.
505 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
506 (eieio-method-def, eieio-class-def): Move further up.
507 (describe-method, describe-generic, eieio-describe-method):
508 Remove aliases.
509 (eieio-help-constructor, eieio-help-generic): Rename from
510 `eieio-describe-constructor' and `eieio-describe-generic', resp.
511 Rewrite to use `insert' in the current buffer and use proper help
512 buttons.
513 (eieio-help-find-method-definition)
514 (eieio-help-find-class-definition): Also accept symbols as
515 arguments.
516 (eieio-help-mode-augmentation-maybee): Remove.
517 (eieio-describe-class-sb): Use `describe-function'.
518 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
519 Add `eieio-help-generic' and `eieio-help-constructor'.
520
521 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
522
523 Spelling fixes.
524 * language/china-util.el (hz-ascii-designation):
525 Rename from hz-ascii-designnation.
526 (hz-ascii-designation): Rename from hz-ascii-designnation.
527 All uses changed.
528
529 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
532 package-alist.
533
534 2014-01-08 Bastien Guerry <bzg@gnu.org>
535
536 * emacs-lisp/package.el (package-delete):
537 Correctly delete the package from package-alist.
538
539 2014-01-08 Daiki Ueno <ueno@gnu.org>
540
541 * emacs-lisp/package.el (url-recreate-url): Declare.
542 (url-http-target-url): Declare.
543 (package-handle-response): Include requested URL in the error message.
544 (package--check-signature): Don't re-signal errors from
545 package--with-work-buffer. Suggested by Stefan Monnier.
546
547 2014-01-07 Bastien Guerry <bzg@gnu.org>
548
549 * minibuffer.el (completion--try-word-completion): When both a
550 hyphen and a space are possible candidates for the character
551 following a word, display both candidates. (Bug#15980)
552
553 2014-01-07 Martin Rudalics <rudalics@gmx.at>
554
555 * window.el (balance-windows-2): While rounding don't give a
556 window more than the remainder. Bug#16351, Bug#16383.
557
558 2014-01-07 Glenn Morris <rgm@gnu.org>
559
560 * menu-bar.el (menu-bar-help-extra-packages): Remove.
561 (menu-bar-help-menu): Use view-external-packages instead.
562
563 2014-01-07 Bastien Guerry <bzg@gnu.org>
564
565 * emacs-lisp/package.el (package-delete): Also delete the package
566 name from `package-alist', not its description only.
567
568 2014-01-07 Glenn Morris <rgm@gnu.org>
569
570 * help.el (view-external-packages):
571 * menu-bar.el (menu-bar-help-extra-packages):
572 Visit efaq.info rather than etc/MORE.STUFF.
573
574 2014-01-07 Juri Linkov <juri@jurta.org>
575
576 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
577 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
578
579 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
580 that shadows RET. (Bug#16342)
581
582 2014-01-07 Chong Yidong <cyd@gnu.org>
583
584 * isearch.el (isearch-yank-char, isearch-yank-word)
585 (isearch-yank-line): Doc fix.
586
587 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
590 * emacs-lisp/elint.el (elint-find-builtins):
591 * emacs-lisp/eldoc.el (eldoc-symbol-function):
592 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
593 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
594 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
595 * apropos.el (apropos-safe-documentation):
596 * subr.el (symbol-file): Remove redundant fboundp.
597 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
598
599 2014-01-06 Bastien Guerry <bzg@gnu.org>
600
601 * hl-line.el (global-hl-line-overlay): Make a local variable.
602 (global-hl-line-overlays): New variable to store all overlays.
603 (global-hl-line-mode): Don't delete overlays from the current
604 buffer when `global-hl-line-sticky-flag' is non-nil.
605 (global-hl-line-highlight): Add new overlays to
606 `global-hl-line-overlays'.
607 (global-hl-line-unhighlight-all): New function to delete all
608 overlays when turning off `global-hl-line-mode'.
609 This fixes Bug#16183.
610
611 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * subr.el (set-transient-map): Fix nested case and docstring.
614
615 2014-01-06 Tassilo Horn <tsdh@gnu.org>
616
617 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
618 `Texinfo' entry.
619
620 2014-01-06 Daniel Colascione <dancol@dancol.org>
621
622 Fix defun navigation in vc log view.
623
624 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
625 like `beginning-of-defun'.
626 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
627 log-view-end-of-defun to log-view-end-of-defun-1. Replace
628 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
629 (log-view-extract-comment): Call `log-view-current-entry' directly
630 instead of relying on broken `log-view-beginning-of-defun' behavior.
631
632 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
633
634 Spelling fixes.
635 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
636 * emacs-lisp/debug.el (cancel-debug-on-entry):
637 * epg.el (epg-error-to-string):
638 * files.el (recover-file):
639 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
640 * mail/emacsbug.el (report-emacs-bug-hook):
641 * mail/sendmail.el (mail-recover):
642 * ses.el (ses-yank-resize):
643 * term/ns-win.el (ns-print-buffer):
644 Spelling fixes in diagnostics, mostly for "canceled" with one L.
645 * epg.el (epg-key-capability-alist): Rename from misspelled version.
646 All uses changed.
647 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
648
649 2014-01-06 Leo Liu <sdl.web@gmail.com>
650
651 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
652 to avoid shadowing global key. (Bug#16354)
653
654 2014-01-06 Daniel Colascione <dancol@dancol.org>
655
656 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
657 rst-mode.
658
659 2014-01-05 Martin Rudalics <rudalics@gmx.at>
660
661 * window.el (balance-windows): Add mising t to fix Bug#16351.
662
663 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
664
665 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
666 (bug#16285).
667 (shr-insert): If we have a word that's longer than `shr-width',
668 break after it anyway. Otherwise we'll do no breaking once we get
669 such a long word.
670
671 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
672
673 * net/eww.el (eww): Support single/double quote for search.
674 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
675 (eww-history-quit): Delete and use quit-window.
676 (eww-history-kill): Delete, because it doesn't work well and
677 not necessary.
678 (eww-history-mode-map): Delete some keys and add easy-menu.
679
680 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
681
682 Fix misspelling of 'chinese' in rx (Bug#16237).
683 * emacs-lisp/rx.el (rx-categories): Correct spelling of
684 chinese-two-byte.
685
686 Change subword regexps back to vars (Bug#16296).
687 * progmodes/subword.el (subword-forward-regexp)
688 (subword-backward-regexp): Change these back to variables.
689
690 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
693 syntax-begin-function (bug#16247).
694
695 2014-01-03 Chong Yidong <cyd@gnu.org>
696
697 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
698 (advice--docstring): Delete variable.
699 (advice--make-1): Leave the docstring empty.
700 (advice-add): Use function-documentation for advised docstring.
701
702 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
703 Ignore function-documentation property when getting documentation.
704 (ad-activate-advised-definition): Use function-documentation
705 generate the docstring.
706 (ad-make-advised-definition): Don't call
707 ad-make-advised-definition-docstring.
708 (ad-make-advised-definition-docstring, ad-advised-definition-p):
709 Delete functions.
710
711 * progmodes/sql.el (sql-help): Use function-documentation instead
712 of dynamic-docstring-function property. No need to autoload now.
713 (sql--help-docstring): New variable.
714 (sql--make-help-docstring): Use it.
715
716 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * ielm.el (ielm-tab): Retarget.
719 (ielm-map): Use ielm-tab for tab.
720 (ielm-complete-filename): Use comint-filename-completion.
721 (ielm-complete-symbol): Remove.
722 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
723 remove ielm-tab from completion-at-point-functions (bug#16224).
724
725 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
726 Beware signals raised by predicates (bug#16201).
727
728 2014-01-02 Richard Stallman <rms@gnu.org>
729
730 * dired-aux.el (dired-do-print): Handle printer-name.
731
732 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
733 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
734 (rmail-epa-decrypt): Turn off mime processing.
735
736 * mail/rmail.el (rmail-make-in-reply-to-field):
737 Add parens in message-id.
738
739 * mail/rmail.el (rmail-get-coding-function): Variable.
740 (rmail-get-coding-system): Use it.
741
742 2013-12-31 Eli Zaretskii <eliz@gnu.org>
743
744 * international/mule-conf.el: Unify the charset indian-is13194.
745 (indian-is13194): Specify unify-map.
746
747 2013-12-31 Leo Liu <sdl.web@gmail.com>
748
749 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
750
751 2013-12-30 Daniel Colascione <dancol@dancol.org>
752
753 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
754 of printing a useless when we resume from sleep.
755
756 * progmodes/sh-script.el
757 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
758 in indentation code. (Bug#16233)
759
760 2013-12-28 João Távora <joaotavora@gmail.com>
761
762 * elec-pair.el (electric-pair-post-self-insert-function):
763 Don't open extra newlines at beginning of buffer. (Bug#16272)
764
765 2013-12-28 Eli Zaretskii <eliz@gnu.org>
766
767 * frame.el (window-system-for-display): Don't allow to create a
768 GUI frame from a -nw session on MS-Windows. (Bug#14739)
769
770 2013-12-28 Glenn Morris <rgm@gnu.org>
771
772 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
773 Update callers.
774
775 * apropos.el (apropos-match-face):
776 * calculator.el (calculator-displayer):
777 * dabbrev.el (dabbrev-search-these-buffers-only):
778 * face-remap.el (buffer-face-mode-face):
779 * simple.el (yank-handled-properties):
780 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
781 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
782 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
783 (hashcash-double-spend-database):
784 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
785 (ruby-deep-indent-paren-style):
786 * textmodes/flyspell.el (flyspell-auto-correct-binding):
787 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
788 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
789 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
790 Specify custom types.
791
792 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
793 * bookmark.el (bookmark-bmenu-use-header-line):
794 * doc-view.el (doc-view-scale-internally):
795 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
796 * register.el (register-preview-delay):
797 * net/shr.el (shr-bullet):
798 * progmodes/cfengine.el (cfengine-cf-promises)
799 (cfengine-parameters-indent):
800 * progmodes/octave.el (inferior-octave-error-regexp-alist):
801 * textmodes/reftex-vars.el (reftex-label-regexps):
802 * vc/log-edit.el (log-edit-setup-add-author): Add version.
803
804 * net/tls.el (tls-certtool-program): Fix default value.
805
806 * desktop.el (desktop-restore-in-current-display):
807 * newcomment.el (comment-empty-lines):
808 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
809 (idlwave-pad-keyword):
810 * progmodes/tcl.el (tcl-tab-always-indent):
811 * textmodes/reftex-vars.el (reftex-index-default-tag):
812 * elec-pair.el (electric-pair-skip-whitespace):
813 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
814
815 * emacs-lisp/authors.el (authors-ignored-files)
816 (authors-valid-file-names, authors-renamed-files-alist): Additions.
817
818 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
819
820 * shell.el (shell-dynamic-complete-command): Doc fix.
821 (shell--command-completion-data): Shell completion now matches
822 executable filenames from the current buffer's directory, on
823 systems in which this behavior is the default (windows-nt, ms-dos).
824
825 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
826
827 * net/shr.el (shr-insert): Don't infloop if the width is zero.
828
829 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
832 (bug#16251).
833
834 * electric.el: Move all electric-pair-* to elec-pair.el.
835 * elec-pair.el: New file, split from electric.el.
836
837 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
838
839 * net/shr.el (shr-find-fill-point): Don't try to fill if the
840 indentation level is larger than the width, because that will
841 infloop.
842 (shr-insert): Fill repeatedly long texts, so that Japanese is
843 formatted correctly (bug#16263).
844 (shr-find-fill-point): Off by one error in comparison with the
845 indentation.
846
847 2013-12-26 João Távora <joaotavora@gmail.com>
848
849 * electric.el (electric-pair-mode): More flexible engine for skip-
850 and inhibit predicates, new options for pairing-related functionality.
851 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
852 if that keeps or improves their balance in buffers.
853 (electric-pair-delete-adjacent-pairs): Delete the pair when
854 backspacing over adjacent matched delimiters.
855 (electric-pair-open-extra-newline): Open extra newline when
856 inserting newlines between adjacent matched delimiters.
857 (electric--sort-post-self-insertion-hook):
858 Sort post-self-insert-hook according to priority values when
859 minor-modes are activated.
860 * simple.el (newline-and-indent): Call newline with interactive
861 set to t.
862 (blink-paren-post-self-insert-function): Set priority to 100.
863 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
864 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
865 comments. Locally set electric-pair-skip-whitespace to 'chomp and
866 electric-pair-open-newline-between-pairs to nil.
867
868 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
869
870 * progmodes/python.el: Use lexical-binding.
871 (python-nav-beginning-of-defun): Stop searching ASAP.
872
873 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
874
875 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
876 Fix interactive spec. Doc fix. (Bug#15754)
877
878 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
879
880 * emacs-lisp/byte-run.el (eval-when-compile):
881 * progmodes/cc-defs.el (cc-eval-when-compile):
882 Fix edebug spec (bug#16184).
883
884 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
885
886 * net/shr.el (shr-visit-file): Remove debugging function.
887 (shr-insert): Don't infloop if we can't find a good place to break
888 the line (bug#16256).
889
890 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
891
892 * progmodes/python.el:
893 (python-nav--lisp-forward-sexp): New function.
894 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
895 python-nav-lisp-forward-sexp-safe.
896 (python-nav--forward-sexp): New argument SAFE allows switching
897 forward sexp movement behavior for parens.
898 (python-nav-forward-sexp): Throw errors on unterminated parens
899 (Bug#16191).
900 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
901 (python-nav-backward-sexp-safe): New functions.
902 (python-shell-buffer-substring):
903 Use `python-nav-forward-sexp-safe'.
904
905 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
906
907 * net/shr.el (shr-find-fill-point): Don't break lines before a
908 quotation mark.
909 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
910 (shr-find-fill-point): Remove the special checks for the quotation
911 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
912
913 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
914
915 * net/eww.el (eww-form-textarea): Use a different face for
916 textareas than text input since they have different keymaps
917 (bug#16142).
918
919 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
920
921 * progmodes/python.el (python-nav-beginning-of-statement):
922 Speed up (Bug#15295).
923
924 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
925
926 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
927 the window configuration.
928
929 2013-12-24 Eli Zaretskii <eliz@gnu.org>
930
931 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
932 we run on MS-Windows or MS-DOS.
933
934 2013-12-24 Martin Rudalics <rudalics@gmx.at>
935
936 * window.el (balance-windows-area): Call window-size instead of
937 window-height and window-width. Bug#16241.
938
939 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
940
941 * net/eww.el (eww-bookmark-quit): Remove.
942 (eww-bookmark-browse): Restore the window configuration when you
943 choose a bookmark (bug#16144).
944
945 2013-12-24 Daniel Colascione <dancol@dancol.org>
946
947 * icomplete.el: Remove redundant :group arguments to `defcustom'
948 throughout.
949 (icomplete-show-matches-on-no-input): New customizable variable.
950 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
951 we have something to show.
952 (icomplete-exhibit): Compute completions even if we have no user input.
953
954 2013-12-23 Daniel Colascione <dancol@dancol.org>
955
956 * icomplete.el: Move `provide' to end of file.
957
958 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
959
960 * net/gnutls.el (gnutls-verify-error): Add version tag.
961
962 2013-12-23 Chong Yidong <cyd@gnu.org>
963
964 * subr.el (set-transient-map): Rename from
965 set-temporary-overlay-map. Doc fix.
966
967 * face-remap.el (text-scale-adjust):
968 * indent.el (indent-rigidly):
969 * kmacro.el (kmacro-call-macro):
970 * minibuffer.el (minibuffer-force-complete):
971 * repeat.el (repeat):
972 * simple.el (universal-argument--mode):
973 * calendar/todo-mode.el (todo-insert-item--next-param):
974 * progmodes/f90.el (f90-abbrev-start): Callers changed.
975
976 * indent.el (indent-rigidly): Use substitute-command-keys.
977
978 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
979
980 * net/eww.el (eww-tag-select): Add text-property to jump to next
981 select field.
982 (eww): Add non-supported ftp error.
983
984 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
985
986 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
987 comments. Handle electric indent after typing `?' and `!'.
988
989 2013-12-22 Chong Yidong <cyd@gnu.org>
990
991 * faces.el (face-spec-recalc): If the theme specs are not
992 applicable to a frame, fall back on the defface spec.
993 This prevents themes from obliterating faces on low-color terminals.
994
995 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
996
997 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
998 after `{'. We need it after block openers, and it doesn't seem
999 to hurt after hash openers.
1000
1001 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1002
1003 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1004 extracted from `ruby-smie-rules'.
1005 (ruby--electric-indent-chars): New variable.
1006 (ruby--electric-indent-p): New function.
1007 (ruby-mode): Use `electric-indent-functions' instead of
1008 `electric-indent-chars'.
1009
1010 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1011
1012 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1013 docstring.
1014 (ruby-smie-rules): Indent plus one level after `=>'.
1015
1016 2013-12-21 Richard Stallman <rms@gnu.org>
1017
1018 * simple.el (newline): Doc fix.
1019
1020 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1021
1022 * net/eww.el (eww-list-histories, eww-list-histories)
1023 (eww-history-browse, eww-history-quit, eww-history-kill)
1024 (eww-history-mode-map, eww-history-mode): New command and
1025 functions to list browser histories.
1026 (eww-form-text): Support text form with disabled
1027 and readonly attributes.
1028 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1029
1030 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1031
1032 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1033 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1034 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1035 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1036 Use `user-error'.
1037 (eww-bookmark-mode-map): Add menu.
1038 (eww-render, eww-mode): Use `setq-local'.
1039 (eww-tool-bar-map): New variable.
1040 (eww-mode): Set `tool-bar-map'.
1041 (eww-view-source): Check for `html-mode' with `fboundp'.
1042
1043 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1044
1045 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1046 elements with text inside. Also remove debugging.
1047
1048 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1049
1050 * cus-start.el (all): Add ns-use-srgb-colorspace.
1051
1052 2013-12-21 Chong Yidong <cyd@gnu.org>
1053
1054 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1055 undefined. Thus, theme settings for undefined faces do not take
1056 effect until the faces are defined with defface, the same as with
1057 theme variables.
1058
1059 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1060 (face-spec-reset-face): Don't assign extra properties in temacs.
1061 (face-spec-recalc): Apply X resources too.
1062
1063 2013-12-21 Chong Yidong <cyd@gnu.org>
1064
1065 * faces.el (face-spec-set):
1066 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1067 * custom.el (defface): Doc fixes (Bug#16203).
1068
1069 * indent.el (indent-rigidly-map): Add docstring, and move commands
1070 into named functions.
1071 (indent-rigidly-left, indent-rigidly-right)
1072 (indent-rigidly-left-to-tab-stop)
1073 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1074 indentation direction based on bidi direction, and accumulate
1075 sequential commands in a single undo boundary.
1076 (indent-rigidly--pop-undo): New utility function.
1077
1078 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1079
1080 * faces.el (read-face-name): Require crm.el when using crm-separator.
1081
1082 2013-12-20 Daniel Colascione <dancol@dancol.org>
1083
1084 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1085 so that we don't reflow comments into the shebang line.
1086
1087 2013-12-20 Juri Linkov <juri@jurta.org>
1088
1089 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1090 a position when `dired-directory' is non-nil. Check integer
1091 positions with `integerp'.
1092 (toggle-save-place, save-places-to-alist): Add check for
1093 `dired-directory'.
1094 (save-place-find-file-hook): Check integer positions with
1095 `integerp'.
1096 (save-place-dired-hook): Use `dired-goto-file' when
1097 `dired-filename' is found in the assoc list. Check integer
1098 positions with `integerp'.
1099 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1100
1101 * dired.el (dired-initial-position-hook): Rename back from
1102 `dired-initial-point-hook'.
1103 (dired-initial-position): Rename `dired-initial-point-hook' to
1104 `dired-initial-position-hook'.
1105 (dired-file-name-at-point): Doc fix. (Bug#15329)
1106
1107 2013-12-20 Juri Linkov <juri@jurta.org>
1108
1109 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1110 (read-regexp-suggestions): New function.
1111 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1112 Use `read-regexp-suggestions'. Add non-empty default to history
1113 for empty input.
1114 (occur-read-regexp-defaults-function): Remove function.
1115 (occur-read-primary-args): Use `regexp-history-last' instead of
1116 `occur-read-regexp-defaults-function'.
1117
1118 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1119 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1120 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1121 `hi-lock-read-regexp-defaults-function'. Doc fix.
1122 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1123 with `find-tag-default-as-symbol-regexp'. Doc fix.
1124 (hi-lock-read-regexp-defaults): Remove function.
1125 (hi-lock-regexp-okay): Add check for null.
1126
1127 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1128 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1129
1130 * subr.el (find-tag-default-as-symbol-regexp): New function.
1131 (find-tag-default-as-regexp): Move symbol regexp formatting to
1132 `find-tag-default-as-symbol-regexp'.
1133
1134 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1135
1136 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1137 (Bug#14179)
1138
1139 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1140
1141 * calendar/todo-mode.el: New implementation of item insertion
1142 commands and key bindings.
1143 (todo-key-prompt): New face.
1144 (todo-insert-item): New command.
1145 (todo-insert-item--parameters): New defconst, replacing defvar
1146 todo-insertion-commands-args-genlist.
1147 (todo-insert-item--param-key-alist): New defconst, replacing
1148 defvar todo-insertion-commands-arg-key-list.
1149 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1150 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1151 (todo-insert-item--next-param): New functions.
1152 (todo-insert-item--args, todo-insert-item--argleft)
1153 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1154 New variables.
1155 (todo-key-bindings-t): Change binding of "i" from
1156 todo-insertion-map to todo-insert-item.
1157 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1158 (todo-insertion-command-name, todo-insertion-commands-names)
1159 (todo-define-insertion-command, todo-insertion-commands)
1160 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1161
1162 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1163
1164 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1165 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1166 eval-when-compile.
1167 (todo-move-category): Allow choosing a non-existing todo file to
1168 move the category to, and create that file.
1169 (todo-default-priority): New user option.
1170 (todo-set-item-priority): Use it.
1171 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1172 (desktop-restore-file-buffer): Declare.
1173 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1174 (todo-modes-set-2): Locally set desktop-save-buffer to
1175 todo-desktop-save-buffer.
1176 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1177 (auto-mode-alist): Add autoload cookie.
1178
1179 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1180
1181 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1182 helpers.el was a poor choice of name.
1183 (string-remove-prefix): New function.
1184 (string-remove-suffix): New function.
1185
1186 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1187
1188 Fix assignment for new window total sizes.
1189 * window.el (window--pixel-to-size): Remove function.
1190 (window--pixel-to-total-1, window--pixel-to-total):
1191 Fix calculation of new total sizes.
1192
1193 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1194
1195 * comint.el (comint-output-filter): Fix rear-nonsticky property
1196 placement (Bug#16010).
1197
1198 2013-12-20 Chong Yidong <cyd@gnu.org>
1199
1200 * faces.el (read-color): Minor fix for completion function.
1201
1202 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1203
1204 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1205 New option. (Bug#16182)
1206 (ruby-smie--indent-to-stmt-p): Use it.
1207 (ruby-smie-rules): Revert the logic in the handling of `when'.
1208 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1209 (ruby-deep-arglist, ruby-deep-indent-paren)
1210 (ruby-deep-indent-paren-style): Update docstrings to note that the
1211 vars don't have any effect with SMIE.
1212
1213 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1214
1215 * calc/calc.el (calc-enter, calc-pop): Use the variable
1216 `calc-context-sensitive-enter'.
1217
1218 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1219
1220 * net/shr.el (shr-insert): Protect against infloops in degenerate
1221 tables.
1222
1223 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1224
1225 * progmodes/octave.el (octave): Add link to manual and octave
1226 homepage.
1227 (octave-mode-menu): Link to octave-mode manual.
1228
1229 2013-12-20 Leo Liu <sdl.web@gmail.com>
1230
1231 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1232 insertion using skeleton-end-newline. (Bug#16138)
1233
1234 2013-12-20 Juri Linkov <juri@jurta.org>
1235
1236 * replace.el (occur-engine): Use `add-face-text-property'
1237 to add the face property to matches and titles. (Bug#14645)
1238
1239 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1240 the palette of other hi-lock colors.
1241 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1242
1243 2013-12-19 Juri Linkov <juri@jurta.org>
1244
1245 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1246 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1247 (minibuffer-history-symbol): Move variable declaration closer to
1248 its usage.
1249
1250 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1251 (Bug#14785)
1252
1253 2013-12-19 Juri Linkov <juri@jurta.org>
1254
1255 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1256 New function.
1257 (log-edit-hook): Add it to :options. (Bug#16170)
1258
1259 2013-12-19 Juri Linkov <juri@jurta.org>
1260
1261 * simple.el (eval-expression-print-format): Don't check for
1262 command names and the last command. Always display additional
1263 formats of the integer result in the echo area, and insert them
1264 to the current buffer only with a zero prefix arg.
1265 Display character when char-displayable-p is non-nil.
1266 (eval-expression): With a zero prefix arg, set `print-length' and
1267 `print-level' to nil, and insert the integer values from
1268 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1269
1270 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1271 `eval-last-sexp-arg-internal'. Doc fix.
1272 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1273 `eval-last-sexp-print-value'. Doc fix.
1274 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1275 Set `print-length' and `print-level' to nil when arg is zero.
1276 (eval-last-sexp): Doc fix.
1277 (eval-defun-2): Print the integer values from
1278 `eval-expression-print-format' at the end.
1279
1280 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1281 values from `eval-expression-print-format' at the end.
1282
1283 * ielm.el (ielm-eval-input): Print the integer
1284 values from `eval-expression-print-format' at the end.
1285
1286 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1287
1288 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1289 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1290
1291 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1294 (hl-line-highlight, global-hl-line-highlight): Use it.
1295 (hl-line-overlay): Use defvar-local.
1296
1297 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1298
1299 * term/ns-win.el: Require dnd.
1300 (global-map): Remove drag items.
1301 (ns-insert-text, ns-set-foreground-at-mouse)
1302 (ns-set-background-at-mouse):
1303 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1304 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1305 New functions.
1306
1307 2013-12-19 Glenn Morris <rgm@gnu.org>
1308
1309 * emacs-lisp/ert.el (ert-select-tests):
1310 Fix string/symbol mixup. (Bug#16121)
1311
1312 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1313
1314 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1315 keywords to their parent.
1316
1317 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1318
1319 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1320 first arg to be a string (fixed dead code), or an operator symbol.
1321 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1322 operator symbols.
1323 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1324 did nothing. Don't respond to `(:after ".")', it will be called
1325 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1326 change anything. Only return indentation for binary operators
1327 when they are hanging. De-dent opening paren when its parent is
1328 `.', otherwise it looks bad when the dot is not at bol or eol
1329 (bug#16182).
1330
1331 2013-12-19 Juri Linkov <juri@jurta.org>
1332
1333 * replace.el (query-replace-read-args): Split a non-negative arg
1334 and a negative arg into separate elements.
1335 (query-replace, query-replace-regexp, replace-string)
1336 (replace-regexp): Add arg `backward'. Doc fix.
1337 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1338 move point to the beginning of the match.
1339 (replace-search, replace-highlight): Use new arg `backward'
1340 to set the value of `isearch-forward'.
1341 (perform-replace): Add arg `backward' and use it to perform
1342 replacement backward. (Bug#14979)
1343
1344 * isearch.el (isearch-query-replace): Use a negative prefix arg
1345 to call `perform-replace' with a non-nil arg `backward'.
1346
1347 2013-12-18 Juri Linkov <juri@jurta.org>
1348
1349 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1350 to the default list. Move `log-edit-show-files' to the end.
1351 Add more available functions to options.
1352 (log-edit): Move default specific settings to
1353 `log-edit-insert-message-template'. Don't move point.
1354 (log-edit-insert-message-template): New function.
1355 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1356 (Bug#16170)
1357
1358 2013-12-18 Juri Linkov <juri@jurta.org>
1359
1360 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1361 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1362
1363 2013-12-18 Leo Liu <sdl.web@gmail.com>
1364
1365 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1366 (Bug#16186)
1367
1368 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1369
1370 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1371 formats for displaying file sizes when the -s switch is given.
1372 Instead, compute a separate format for displaying the size in
1373 blocks, which is displayed in addition to the "regular" size.
1374 When -h is given in addition to -s, produce size in blocks in
1375 human-readable form as well. (Bug#16179)
1376
1377 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1378
1379 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1380 Reference tables with ~\ref{...} instead of only \ref{...}.
1381
1382 2013-12-18 Chong Yidong <cyd@gnu.org>
1383
1384 * cus-edit.el (custom-magic-alist): Fix "themed" description
1385 (Bug#14348).
1386
1387 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1388 is non-nil, do not create a new entry in the symbol's theme-value
1389 or theme-face property; update theme-settings only (Bug#14664).
1390 (custom-available-themes): Doc fix.
1391
1392 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1393 (Bug#15674).
1394
1395 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1396
1397 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1398
1399 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1400 (Bug#13914).
1401
1402 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1403
1404 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1405
1406 2013-12-18 Glenn Morris <rgm@gnu.org>
1407
1408 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1409 * cus-start.el (load-prefer-newer): New option.
1410
1411 2013-12-18 Le Wang <l26wang@gmail.com>
1412
1413 * comint.el (comint-previous-matching-input-from-input):
1414 Retain point (Bug#13404).
1415
1416 2013-12-18 Chong Yidong <cyd@gnu.org>
1417
1418 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1419
1420 2013-12-18 Glenn Morris <rgm@gnu.org>
1421
1422 * mail/emacsbug.el (report-emacs-bug):
1423 Only mention enable-multibyte-characters if non-standard.
1424
1425 2013-12-17 Juri Linkov <juri@jurta.org>
1426
1427 * arc-mode.el (archive-extract-by-file): Check if directory exists
1428 before deletion to not show irrelevant errors if it doesn't exist.
1429
1430 2013-12-17 Juri Linkov <juri@jurta.org>
1431
1432 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1433 (Bug#14751)
1434
1435 * net/eww.el (browse-web): Add alias to `eww'.
1436 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1437 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1438
1439 * net/browse-url.el (browse-url-browser-function): Move `eww'
1440 closer to similar functions.
1441
1442 * startup.el (fancy-startup-screen, fancy-about-screen):
1443 Set browse-url-browser-function to eww-browse-url locally.
1444 (Bug#14751)
1445
1446 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * window.el (window--pixel-to-total): Remove unused `mini' var.
1449 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1450 (split-window): Remove unused `new' var.
1451 (window--display-buffer): Remove unused `frame' and `delta' vars.
1452 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1453 and display-width'.
1454
1455 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1456
1457 * dired.el (dired-mark-pop-up):
1458 * register.el (register-preview): Don't bind
1459 split-height-threshold here since it's now done in
1460 display-buffer-below-selected.
1461
1462 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1463
1464 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1465 xterm-rgb-convert-to-16bit.
1466 (rxvt-register-default-colors): Standardize with
1467 xterm-register-default-colors (Bug#14078).
1468
1469 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1470
1471 * simple.el (kill-region): Pass mark first, then point, so that
1472 kill-append works right (Bug#12819).
1473 (copy-region-as-kill, kill-ring-save): Likewise.
1474
1475 2013-12-17 Leo Liu <sdl.web@gmail.com>
1476
1477 * net/rcirc.el (rcirc-add-face):
1478 * eshell/em-prompt.el (eshell-emit-prompt):
1479 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1480 (Bug#16167)
1481
1482 2013-12-17 Chong Yidong <cyd@gnu.org>
1483
1484 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1485 Suggested by Xue Fuqiao.
1486
1487 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1488
1489 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1490
1491 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1492
1493 * net/shr.el (shr-insert-document): Remove unused var
1494 `shr-preliminary-table-render'.
1495 (shr-rescale-image): Remove unused arg `force'.
1496 (shr-put-image): Update calls accordingly.
1497 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1498
1499 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1500
1501 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1502 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1503 :close-all, to see which indentation method to use (Bug#16116).
1504 (smie-rules-function): Document the method :close-all.
1505
1506 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1507
1508 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1509
1510 * net/eww.el (eww-display-html): If we can't find the anchor we're
1511 looking for, then go to point-min.
1512
1513 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1514
1515 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1516 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1517 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1518 Expand dir too, in case it's relative.
1519
1520 2013-12-16 Juri Linkov <juri@jurta.org>
1521
1522 * desktop.el (desktop-auto-save-timeout): Change default to
1523 `auto-save-timeout'. Doc fix.
1524 (desktop-save): Skip the timestamp in desktop-saved-frameset
1525 when checking for auto-save changes.
1526 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1527 `desktop-auto-save' is called repeatedly by the idle timer.
1528 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1529 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1530 (Bug#15331)
1531
1532 2013-12-16 Juri Linkov <juri@jurta.org>
1533
1534 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1535 (Bug#16035)
1536 (isearch-pre-command-hook): Check `this-command' for symbolp.
1537
1538 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1541
1542 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1543
1544 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1545 (cfengine3--current-function): Bring in the current-function
1546 functionality from `cfengine3--current-word'.
1547 (cfengine3-completion-function): Bring in the
1548 bounds-of-current-word functionality from
1549 `cfengine3--current-word'.
1550
1551 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1552
1553 * window.el (display-buffer-below-selected):
1554 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1555
1556 2013-12-16 Leo Liu <sdl.web@gmail.com>
1557
1558 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1559 Remove NOMSG arg and all uses changed.
1560
1561 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1564 (cua--deactivate-rectangle): Don't deactivate the mark.
1565 (cua-set-rectangle-mark): Don't set mark-active since
1566 cua--activate-rectangle already does it for us.
1567 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1568 non-rectangular region.
1569
1570 * emulation/cua-base.el (cua-repeat-replace-region):
1571 Use with-current-buffer.
1572
1573 * net/gnutls.el: Use cl-lib.
1574 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1575
1576 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1577
1578 * emacs-lisp/package.el (package-built-in-p): Support both
1579 built-in and the package.el converted package descriptions.
1580 (package-show-package-list): Allow keywords.
1581 (package-keyword-button-action): Use it instead of
1582 `finder-list-matches'.
1583 (package-menu-filter-interactive): Interactive filtering (by
1584 keyword) function.
1585 (package-menu--generate): Support keywords and change keymappings
1586 and headers when they are given.
1587 (package--has-keyword-p): Helper function.
1588 (package-menu--refresh): Use it.
1589 (package--mapc): Helper function.
1590 (package-all-keywords): Use it.
1591 (package-menu-mode-map): Set up menu items and keybindings to
1592 provide a filtering UI.
1593
1594 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1595
1596 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1597 the behavior when a certificate fails validation. Defaults to
1598 old behavior: never abort, just warn.
1599 (gnutls-negotiate): Use it.
1600
1601 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1602
1603 * window.el (display-buffer-below-selected): Never split window
1604 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1605
1606 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1607
1608 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1609 (package-buffer-info): Use it (bug#15108).
1610
1611 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * icomplete.el (icomplete-completions): Make sure the prefix is already
1614 displayed elsewhere before hiding it (bug#16219).
1615
1616 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1617
1618 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1619 open-paren tokens when preceded by a open-paren, too.
1620 (ruby-smie-rules): Handle virtual indentation after open-paren
1621 tokens specially. If there is code between it and eol, return the
1622 column where is starts (Bug#16118).
1623
1624 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1625
1626 * progmodes/cfengine.el: Fix `add-hook' doc.
1627 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1628 (cfengine3--current-word): Fix parameters.
1629 (cfengine3-make-syntax-cache): Simplify further.
1630 (cfengine3-completion-function, cfengine3--current-function):
1631 Use `assq' for symbols.
1632 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1633
1634 2013-12-13 Glenn Morris <rgm@gnu.org>
1635
1636 * loadup.el (load-path): Warn if site-load or site-init changes it.
1637 No more need to reset it when bootstrapping.
1638
1639 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1640
1641 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1642 locations for cf-promises.
1643 (cfengine-mode-syntax-functions-regex): New caching variable.
1644 (cfengine3-fallback-syntax): Fallback syntax for cases where
1645 cf-promises doesn't run.
1646 (cfengine3--current-word): Reimplement using
1647 `cfengine-mode-syntax-functions-regex'.
1648 (cfengine3-completion-function, cfengine3--current-function):
1649 Use `cfengine3-make-syntax-cache' directly.
1650 (cfengine3-clear-syntax-cache): New function.
1651 (cfengine3-make-syntax-cache): Simplify and create
1652 `cfengine-mode-syntax-functions-regex' on demand.
1653 (cfengine3-format-function-docstring): Don't call
1654 `cfengine3-make-syntax-cache' explicitly.
1655
1656 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1657
1658 Fix windmove-find-other-window broken after pixelwise resizing
1659 (Bug#16017).
1660 * windmove.el (windmove-other-window-loc): Revert change from
1661 2013-12-04.
1662 (windmove-find-other-window): Call window-in-direction.
1663 * window.el (window-in-direction): New arguments SIGN, WRAP and
1664 MINI to emulate original windmove-find-other-window behavior.
1665
1666 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1667
1668 * simple.el (blink-matching--overlay): New variable.
1669 (blink-matching-open): Instead of moving point, highlight the
1670 matching paren with an overlay
1671 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1672
1673 * faces.el (paren-showing-faces, show-paren-match)
1674 (show-paren-mismatch): Move from paren.el.
1675
1676 2013-12-13 Leo Liu <sdl.web@gmail.com>
1677
1678 * indent.el (indent-region): Disable progress reporter in
1679 minibuffer. (Bug#16108)
1680
1681 * bindings.el (visual-order-cursor-movement): Fix version.
1682
1683 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1684
1685 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1686 Also match after beginning of line.
1687 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1688 files. Thanks to Russell Sim. (Bug#15378)
1689
1690 2013-12-13 Juri Linkov <juri@jurta.org>
1691
1692 * simple.el <Keypad support>: Remove key bindings duplicated
1693 with bindings.el. (Bug#14397)
1694
1695 2013-12-13 Juri Linkov <juri@jurta.org>
1696
1697 * comint.el (comint-mode-map): Replace `delete-char' with
1698 `delete-forward-char'. (Bug#16109)
1699
1700 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1701
1702 * progmodes/python.el (python-indent-calculate-indentation):
1703 Fix de-denters cornercase. (Bug#15731)
1704
1705 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1706
1707 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1708 (advice--make): Pay attention to `depth'.
1709 (advice--make-1): Don't autoload commands eagerly.
1710 * emacs-lisp/elp.el (elp-instrument-function):
1711 * emacs-lisp/trace.el (trace-function-internal):
1712 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1713
1714 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1715
1716 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1717
1718 * term/w32-win.el (w32-handle-dropped-file):
1719 * startup.el (normal-top-level):
1720 * net/browse-url.el (browse-url-file-url):
1721 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1722 decode file names using 'utf-8' rather than
1723 file-name-coding-system.
1724
1725 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1726
1727 * progmodes/python.el (python-indent-context)
1728 (python-indent-calculate-indentation): Fix auto-identation
1729 behavior for comment blocks. (Bug#15916)
1730
1731 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1732
1733 * progmodes/python.el (python-indent-calculate-indentation):
1734 When determining indentation, don't treat "return", "pass", etc., as
1735 operators when they are just string constituents. (Bug#15812)
1736
1737 2013-12-12 Juri Linkov <juri@jurta.org>
1738
1739 * uniquify.el (uniquify-buffer-name-style): Change default to
1740 `post-forward-angle-brackets'.
1741
1742 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1743 `uniquify'. Change default to `post-forward-angle-brackets'.
1744
1745 2013-12-11 Glenn Morris <rgm@gnu.org>
1746
1747 * emacs-lisp/package.el (finder-list-matches):
1748 Autoload rather than falsely declaring.
1749
1750 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1751
1752 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1753 (eww-mode-map): Use them.
1754
1755 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1756
1757 * window.el (display-buffer-in-side-window): Fix doc-string
1758 (Bug#16115).
1759
1760 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1761
1762 * vc/vc-git.el: Silence byte-compiler warnings.
1763 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1764 (log-edit-set-header): Declare.
1765
1766 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1767
1768 * Makefile.in (custom-deps, finder-data): Run output file names
1769 through unmsys--file-name. (Bug#16099)
1770
1771 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1774 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1775
1776 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1777 instead of deleting the selection "by hand" (bug#16098).
1778 Rely on insert-for-yank to yank rectangles.
1779 (cua-highlight-region-shift-only): Mark obsolete.
1780 (cua-mode): Don't enable/disable transient-mark-mode,
1781 shift-select-mode (cua-mode works both with and without them), and
1782 pc-selection-mode (obsolete).
1783 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1784 (cua--deactivate-rectangle): Deactivate it.
1785
1786 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1787 (delete-selection-helper): Make sure yank starts at the top of the
1788 deleted region.
1789 (minibuffer-keyboard-quit): Use region-active-p.
1790
1791 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1792
1793 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1794 to `delete' (bug#16109).
1795
1796 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1797
1798 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1799 info manual and show keybindings and set `:group' keyword.
1800
1801 2013-12-11 Juri Linkov <juri@jurta.org>
1802
1803 * delsel.el (delete-active-region): Let-bind `this-command'
1804 to prevent `kill-region' from changing its original value.
1805 (delete-selection-helper): Handle `overwrite-mode' for the type
1806 `kill' exactly the same way as for the type `t'.
1807 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1808 Support more commands. (Bug#13312)
1809
1810 2013-12-11 Juri Linkov <juri@jurta.org>
1811
1812 * bindings.el: Map kp keys to non-kp keys systematically
1813 with basic modifiers control, meta and shift. (Bug#14397)
1814
1815 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1816
1817 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1818 "Close browser" menu items. Fix wrong function of "List
1819 bookmarks".
1820
1821 2013-12-11 Juri Linkov <juri@jurta.org>
1822
1823 * misearch.el (multi-isearch-buffers): Set the value of
1824 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1825 arg of isearch-forward to t.
1826 (multi-isearch-buffers-regexp): Set the value of
1827 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1828 arg of isearch-forward-regexp to t.
1829 (multi-isearch-files): Set the value of
1830 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1831 arg of isearch-forward to t.
1832 (multi-isearch-files-regexp): Set the value of
1833 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1834 arg of isearch-forward-regexp to t. (Bug#16035)
1835
1836 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1837 arg of isearch-forward to t.
1838 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1839 arg of isearch-forward-regexp to t.
1840 (dired-isearch-filter-filenames): Remove unnecessary check for
1841 `dired-isearch-filenames'.
1842
1843 * comint.el (comint-history-isearch-backward):
1844 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1845 (comint-history-isearch-backward-regexp):
1846 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1847
1848 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1849
1850 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1851 unmsys--file-name. (Bug#16099)
1852
1853 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1854
1855 * emacs-lisp/package.el (package-keyword-button-action):
1856 Remove finder.el require dependency.
1857
1858 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1859
1860 * emacs-lisp/package.el: Require finder.el.
1861 (describe-package-1): Add keyword buttons.
1862 (package-make-button): New convenience function.
1863 (package-keyword-button-action): Keyword button action using
1864 `finder-list-matches'.
1865
1866 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1867
1868 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1869 last commit.
1870
1871 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1872
1873 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1874 symlinked files.
1875
1876 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1877
1878 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1879 after the end of a percent literal.
1880
1881 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1882
1883 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1884 Handle caret-delimited strings (Bug#16079).
1885
1886 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1887
1888 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1889 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1890 `ruby-parse-partial' (Bug#16078).
1891
1892 2013-12-09 Leo Liu <sdl.web@gmail.com>
1893
1894 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1895
1896 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1897
1898 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1899 (js-switch-indent-offset): New option.
1900 (js--proper-indentation): Use it. And handle the case when
1901 "default" is actually a key in an object literal.
1902 (js--same-line): New function.
1903 (js--multi-line-declaration-indentation): Use it.
1904 (js--indent-in-array-comp, js--array-comp-indentation):
1905 New functions.
1906 (js--proper-indentation): Use them, to handle array comprehension
1907 continuations.
1908
1909 2013-12-08 Leo Liu <sdl.web@gmail.com>
1910
1911 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1912 (flymake-make-overlay): Remove arg MOUSE-FACE.
1913 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1914
1915 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1916
1917 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1918 New function.
1919 (redisplay-highlight-region-function): Use it.
1920
1921 * emulation/cua-base.el (cua--explicit-region-start)
1922 (cua--last-region-shifted): Remove.
1923 (cua--deactivate): Use deactivate-mark.
1924 (cua--pre-command-handler-1): Don't handle shift-selection.
1925 (cua--post-command-handler-1): Don't change transient-mark-mode.
1926 (cua--select-keymaps): Use region-active-p rather than
1927 cua--explicit-region-start or cua--last-region-shifted.
1928 (cua-mode): Enable shift-select-mode.
1929
1930 2013-12-08 Leo Liu <sdl.web@gmail.com>
1931
1932 * progmodes/flymake.el (flymake-popup-current-error-menu):
1933 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1934 (flymake-posn-at-point-as-event, flymake-popup-menu)
1935 (flymake-make-emacs-menu): Remove. (Bug#16077)
1936
1937 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * rect.el (rectangle-mark-mode): Activate mark even if
1940 transient-mark-mode is off (bug#16066).
1941 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1942 is > mark and at bolp.
1943
1944 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1945 (region-extract-function): Use it.
1946 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1947 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1948 Delete functions.
1949 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1950 kill-ring-save, kill-region, delete-char, delete-forward-char.
1951 Ignore self-insert-iso.
1952
1953 * emulation/cua-gmrk.el (cua--init-global-mark):
1954 Ignore `self-insert-iso'.
1955
1956 * emulation/cua-base.el (cua--prefix-copy-handler)
1957 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1958 checking cua--rectangle.
1959 (cua-delete-region): Use region-extract-function.
1960 (cua-replace-region): Delete function.
1961 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1962 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1963 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1964 (cua--init-keymaps): Don't remap delete-selection commands.
1965 (cua-mode): Use delete-selection-mode instead of rolling our own
1966 (bug#16085).
1967
1968 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1969 Obey region-extract-function.
1970
1971 Make registers and delete-selection-mode work on rectangles.
1972 * register.el (describe-register-1): Don't modify the register's value.
1973 (copy-to-register): Obey region-extract-function.
1974 * delsel.el (delete-active-region): Obey region-extract-function.
1975
1976 2013-12-08 Leo Liu <sdl.web@gmail.com>
1977
1978 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1979 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1980 (flymake-compilation-prevents-syntax-check)
1981 (flymake-start-syntax-check-on-newline)
1982 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1983 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1984 (flymake-xml-program, flymake-master-file-dirs)
1985 (flymake-master-file-count-limit)
1986 (flymake-allowed-file-name-masks): Relocate.
1987 (flymake-makehash, flymake-float-time)
1988 (flymake-replace-regexp-in-string, flymake-split-string)
1989 (flymake-get-temp-dir): Remove.
1990 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1991 (flymake-current-row, flymake-selected-frame)
1992 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1993 related functions. (Bug#16077)
1994
1995 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1996
1997 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1998
1999 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2000
2001 * help-fns.el (describe-function-1): Use new advice-* functions
2002 rather than old ad-* functions. Fix function type description and
2003 source links for advised functions and subrs.
2004
2005 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2006
2007 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2008
2009 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2010
2011 * progmodes/compile.el (compilation-start):
2012 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2013
2014 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2015 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2016
2017 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2018
2019 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2020 Touch up the last change.
2021
2022 2013-12-06 Leo Liu <sdl.web@gmail.com>
2023
2024 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2025 (inferior-octave-startup): Always use "octave> " for prompt.
2026 (octave-goto-function-definition)
2027 (octave-sync-function-file-names)
2028 (octave-find-definition-default-filename): Remove redundant backquotes.
2029
2030 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2031
2032 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2033 syntax for `?'.
2034 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2035 where appropriate already.
2036 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2037 end of method names (Bug#15874).
2038
2039 2013-12-06 Juri Linkov <juri@jurta.org>
2040
2041 * isearch.el (isearch--saved-overriding-local-map):
2042 New internal variable.
2043 (isearch-mode): Set it to the initial value of
2044 `overriding-terminal-local-map'.
2045 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2046 with `isearch--saved-overriding-local-map'. (Bug#16035)
2047
2048 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2049
2050 * progmodes/octave.el (inferior-octave-completion-table):
2051 Turn back into function, use `completion-table-with-cache'
2052 (Bug#11906). Update all references.
2053
2054 * minibuffer.el (completion-table-with-cache): New function.
2055
2056 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2057
2058 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2059
2060 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2061
2062 * net/eww.el (eww-current-source): New variable to store page
2063 source.
2064 (eww-display-html, eww-mode, eww-save-history)
2065 (eww-restore-history): Use it.
2066 (eww-view-source): New command to view page source.
2067 Opportunistically uses `html-mode' to highlight the buffer.
2068 (eww-mode-map): Install it.
2069
2070 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2071
2072 * net/dbus.el (dbus-unregister-service)
2073 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2074 Fix docstring.
2075 (dbus-unregister-service): Skip :serial entries in
2076 `dbus-registered-objects-table'.
2077 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2078
2079 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2080
2081 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2082 around keywords with extra `split-string' argument.
2083
2084 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2085
2086 * windmove.el (windmove-other-window-loc): Handle navigation
2087 between windows (excluding the minibuffer window - Bug#16017).
2088
2089 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2090
2091 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2092 in D-Bus type syntax.
2093 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2094 preserve unibyte strings. (Bug#16048)
2095
2096 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2099 Call force-mode-line-update is the proper buffer (bug#16042).
2100
2101 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2102
2103 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2104 `log-edit-remember-comment', make argument optional. Adjust all
2105 callers.
2106 (log-edit-mode): Add `log-edit-remember-comment' to
2107 `kill-buffer-hook' locally.
2108 (log-edit-kill-buffer): Don't remember comment explicitly since
2109 the buffer is killed anyway.
2110
2111 2013-12-04 Juri Linkov <juri@jurta.org>
2112
2113 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2114 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2115
2116 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2117
2118 * notifications.el (notifications-close-notification): Call the
2119 D-Bus method with ID being a `:uint32'. (Bug#16030)
2120
2121 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2122
2123 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2124
2125 2013-12-03 Juri Linkov <juri@jurta.org>
2126
2127 * progmodes/compile.el (compilation-start): Rename window alist
2128 entry `no-display-ok' to `allow-no-window'.
2129
2130 * simple.el (shell-command): Add window alist entry
2131 `allow-no-window' to `display-buffer'.
2132 (async-shell-command): Doc fix.
2133
2134 * window.el (display-buffer-no-window): New action function.
2135 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2136
2137 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 * vc/log-edit.el (log-edit-set-header): Extract from
2140 `log-edit-toggle-header'.
2141 (log-edit-extract-headers): Separate the summary, when extracted
2142 from header, from the rest of the message with an empty line.
2143
2144 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2145 line, if present, to the Summary header.
2146
2147 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2150 in current-buffer (bug#16029).
2151
2152 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2153
2154 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2155 (debugger-mode-map): Bind it.
2156 (debugger--backtrace-base): New function.
2157 (debugger-eval-expression): Use it.
2158 (debugger-frame-number): Skip local vars when present.
2159 (debugger--locals-visible-p, debugger--insert-locals)
2160 (debugger--show-locals, debugger--hide-locals): New functions.
2161
2162 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2163
2164 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2165 "LC_ALL".
2166 (tramp-get-remote-locale): New defun.
2167 (tramp-open-connection-setup-interactive-shell): Use it.
2168
2169 2013-12-02 Leo Liu <sdl.web@gmail.com>
2170
2171 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2172
2173 * progmodes/sh-script.el (sh-shell-process):
2174 * progmodes/octave.el (inferior-octave-process-live-p):
2175 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2176 (gdb-inferior-io-sentinel):
2177 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2178
2179 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2180
2181 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2182 `save-selected-window' to `log-edit-hide-buf'. This makes
2183 `log-edit-show-files' idempotent.
2184 (log-edit-show-files): Mark the new window as dedicated.
2185
2186 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2187
2188 * vc/log-edit.el (log-edit-mode-map): Add binding for
2189 `log-edit-kill-biffer'.
2190 (log-edit-hide-buf): Add a FIXME comment.
2191 (log-edit-add-new-comment): New function, extracted from
2192 `log-edit-done'.
2193 (log-edit-done, log-edit-add-to-changelog): Use it.
2194 (log-edit-kill-buffer): New command.
2195
2196 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2197
2198 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2199 instead of killing the buffer.
2200
2201 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2204
2205 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2206
2207 * net/eww.el (eww-form-checkbox-selected-symbol)
2208 (eww-form-checkbox-symbol): New customizable variable.
2209 (eww-form-checkbox, eww-toggle-checkbox):
2210 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2211
2212 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2213 (shr--get-media-pref, shr--extract-best-source): New function.
2214 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2215 no :src tag was specified.
2216
2217 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2218 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2219 Use \\` to match beginning of string instead of ^.
2220 (eww-browse-with-external-browser): Provide optional URL parameter.
2221 (eww-render): Set `eww-current-title' back to "".
2222
2223 * net/shr.el (shr-tag-video): Display content for video if no
2224 poster is available.
2225 (shr-tag-audio): Add support for <audio> tag.
2226
2227 * net/eww.el (eww-text-input-types): New const.
2228 (eww-process-text-input): Treat input types in
2229 `eww-text-input-types' as text.
2230
2231 * net/shr.el (shr-tag-table): Fix comment typo.
2232
2233 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2234
2235 * net/eww.el (eww-follow-link): New command to avoid reloading
2236 pages when we follow #target links (bug#15243).
2237 (eww-quit): Special mode buffers shouldn't query before exiting.
2238
2239 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2240
2241 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2242 forms.
2243
2244 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2245
2246 * net/eww.el (eww-restore-history): Update the window title after
2247 moving in the history.
2248 (eww-current-dom): New variable used to save the current DOM.
2249
2250 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2251
2252 * vc/log-edit.el (log-edit-mode-map): Add binding for
2253 `log-edit-beginning-of-line'.
2254 (log-edit-setup-add-author): New user option.
2255 (log-edit-beginning-of-line): New command.
2256 (log-edit): Move major mode call above the contents setup so that
2257 the local variable values are already applied.
2258 (log-edit): Only insert "Author: " when
2259 `log-edit-setup-add-author' is non-nil.
2260 (log-edit): When SETUP is non-nil, position point after ": "
2261 instead of point-min.
2262
2263 2013-12-01 Glenn Morris <rgm@gnu.org>
2264
2265 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2266
2267 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2268
2269 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2270 redisplay to make sure the initial frame gets a chance to become
2271 visible. (Bug#16014)
2272
2273 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2274
2275 Support resizing frames and windows pixelwise.
2276 * cus-start.el (frame-resize-pixelwise)
2277 (window-resize-pixelwise): New entries.
2278 * emacs-lisp/debug.el (debug): Use window-total-height instead
2279 of window-total-size.
2280 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2281 * help.el (describe-bindings-internal): Call help-buffer
2282 (temp-buffer-max-width): New option.
2283 (resize-temp-buffer-window, help-window-setup)
2284 (with-help-window): Rewrite.
2285 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2286 dragging dividers.
2287 * window.el (frame-char-size, window-min-pixel-height)
2288 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2289 (window-min-pixel-width, window-safe-min-pixel-size)
2290 (window-combination-p, window-safe-min-size)
2291 (window-resizable-p, window--size-to-pixel)
2292 (window--pixel-to-size, window--resize-apply-p): New functions.
2293 (window-safe-min-height): Fix doc-string.
2294 (window-size, window-min-size, window--min-size-1)
2295 (window-sizable, window-sizable-p, window--min-delta-1)
2296 (window-min-delta, window--max-delta-1, window-max-delta)
2297 (window--resizable, window--resizable-p, window-resizable)
2298 (window-full-height-p, window-full-width-p, window-at-side-p)
2299 (window--in-direction-2, window-in-direction)
2300 (window--resize-reset-1, window--resize-mini-window)
2301 (window-resize, window-resize-no-error)
2302 (window--resize-child-windows-normal)
2303 (window--resize-child-windows, window--resize-siblings)
2304 (window--resize-this-window, window--resize-root-window)
2305 (window--resize-root-window-vertically)
2306 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2307 (maximize-window, minimize-window, delete-window)
2308 (quit-restore-window, window-split-min-size, split-window)
2309 (balance-windows-2, balance-windows)
2310 (balance-windows-area-adjust, balance-windows-area)
2311 (window--state-get-1, window-state-get, window--state-put-1)
2312 (window--state-put-2, window-state-put)
2313 (display-buffer-record-window, window--display-buffer):
2314 Make functions handle pixelwise sizing of windows.
2315 (display-buffer--action-function-custom-type)
2316 (display-buffer-fallback-action):
2317 Add display-buffer-in-previous-window.
2318 (display-buffer-use-some-window): Resize window to height it had
2319 before.
2320 (fit-window-to-buffer-horizontally): New option.
2321 (fit-frame-to-buffer): Describe new values.
2322 (fit-frame-to-buffer-bottom-margin): Replace with
2323 fit-frame-to-buffer-margins.
2324 (window--sanitize-margin): New function.
2325 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2326 using window-text-pixel-size.
2327
2328 2013-11-30 Glenn Morris <rgm@gnu.org>
2329
2330 * emacs-lisp/bytecomp.el (byte-compile-form):
2331 Make the `interactive-only' warning like the `obsolete' one.
2332 * comint.el (comint-run):
2333 * files.el (insert-file-literally, insert-file):
2334 * replace.el (replace-string, replace-regexp):
2335 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2336 (goto-line, insert-buffer, next-line, previous-line):
2337 Tweak `interactive-only' spec.
2338
2339 Stop keeping (most) generated cedet grammar files in the repository.
2340 * Makefile.in (semantic): New.
2341 (compile-main): Depend on semantic.
2342
2343 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2346 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2347
2348 * uniquify.el (uniquify-buffer-name-style): Change default.
2349
2350 * loadup.el: Preload "uniquify".
2351
2352 * time.el (display-time-update): Update all mode lines (bug#15999).
2353
2354 * electric.el (electric-indent-mode): Enable by default.
2355 * loadup.el: Preload "electric".
2356
2357 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2358
2359 * emacs-lisp/helpers.el (string-empty-p): New function.
2360 (string-blank-p): New function.
2361
2362 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2363
2364 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2365 (Bug#14029).
2366
2367 2013-11-29 Andreas Politz <politza@fh-trier.de>
2368 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2369 allow non-lambda lists as functions.
2370 (imenu--in-alist): Don't recurse into non-subalists.
2371 (imenu): Don't pass function itself as an argument (Bug#14029).
2372
2373 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * progmodes/python.el (python-mode-map): Remove binding for ":".
2376 (python-indent-electric-colon): Remove command.
2377 (python-indent-post-self-insert-function): Integrate the previous code
2378 of python-indent-electric-colon. Make it conditional on
2379 electric-indent-mode.
2380 (python-mode): Add ?: to electric-indent-chars.
2381 Move python-indent-post-self-insert-function to the end of
2382 post-self-insert-hook.
2383
2384 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * doc-view.el (doc-view-goto-page): Update mode-line.
2387
2388 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2389
2390 2013-11-27 Glenn Morris <rgm@gnu.org>
2391
2392 * international/charprop.el, international/uni-bidi.el:
2393 * international/uni-category.el, international/uni-combining.el:
2394 * international/uni-comment.el, international/uni-decimal.el:
2395 * international/uni-decomposition.el, international/uni-digit.el:
2396 * international/uni-lowercase.el, international/uni-mirrored.el:
2397 * international/uni-name.el, international/uni-numeric.el:
2398 * international/uni-old-name.el, international/uni-titlecase.el:
2399 * international/uni-uppercase.el:
2400 Remove generated files from VCS repository.
2401
2402 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2403
2404 * filenotify.el (file-notify-add-watch): Don't special-case
2405 w32notify when computing the directory to watch.
2406
2407 2013-11-27 Glenn Morris <rgm@gnu.org>
2408
2409 Make bootstrap without generated uni-*.el files possible again.
2410 * loadup.el: Update command-line-args checking for unidata-gen.
2411 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2412 * composite.el, international/characters.el:
2413 Handle unicode tables being undefined.
2414
2415 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2416 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2417 (compile-main): Depend on leim rule.
2418 (leim): New rule.
2419 * loadup.el: Move leim-list.el to leim/ subdirectory.
2420 * startup.el (normal-top-level): No more leim directory.
2421 * international/ja-dic-cnv.el (skkdic-convert):
2422 Disable version-control and autoloads in output files.
2423 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2424 Disable version-control and autoloads in output files.
2425 * leim/quail: Move here from ../leim.
2426 * leim/quail/hangul.el (hangul-input-method-activate):
2427 Add autoload cookie.
2428 (generated-autoload-load-name): Set file-local value.
2429 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2430 (generated-autoload-load-name): Set file-local value.
2431
2432 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2433
2434 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2435 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2436 (eww-quit): Ask confirmation before quitting eww.
2437
2438 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2439
2440 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2441 reading output from Diff on MS-Windows and MS-DOS.
2442
2443 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2444
2445 * emacs-lisp/helpers.el (string-reverse): New function.
2446
2447 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2448
2449 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2450 names on MS Windows, like "/[::1]:".
2451
2452 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2453 SWITCHES.
2454
2455 2013-11-26 Glenn Morris <rgm@gnu.org>
2456
2457 * progmodes/python.el (python-indent-guess-indent-offset):
2458 Avoid corner-case error. (Bug#15975)
2459
2460 Preload leim-list.el. (Bug#4789)
2461 * loadup.el: Load leim-list.el when found.
2462 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2463
2464 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2465
2466 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2467
2468 * emacs-lisp/helpers.el (string-join): New function.
2469
2470 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2471
2472 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2473 Mark as obsolete and replace it with a symbol property.
2474 (byte-compile-form): Use new 'interactive-only property.
2475 * comint.el, files.el, replace.el, simple.el:
2476 Apply new 'interactive-only properly.
2477
2478 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2479
2480 * window.el (display-buffer-at-bottom): Make sure that
2481 split-window-sensibly creates the new window on bottom
2482 (Bug#15961).
2483
2484 2013-11-23 David Kastrup <dak@gnu.org>
2485
2486 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2487 on the conflict markers when available.
2488 (smerge--get-marker): New function.
2489 (smerge-end-re, smerge-base-re): Add subgroup.
2490
2491 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * frame.el (handle-focus-in, handle-focus-out): Add missing
2494 interactive spec.
2495
2496 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2499 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2500
2501 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2504 (gomoku--last-pos): New var.
2505 (gomoku--intangible-chars): New const.
2506 (gomoku--intangible): New function.
2507 (gomoku-mode): Use it. Derive from special-mode.
2508 (gomoku-move-up): Adjust line count.
2509 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2510 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2511 Simplify accordingly.
2512
2513 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2514 Remove blink-cursor code.
2515 (blink-cursor-timer-function, blink-cursor-suspend):
2516 Don't special-case GUIs.
2517 (blink-cursor-mode): Use focus-in/out-hook.
2518
2519 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2520
2521 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2522 work when annotation is invisible (Bug#13886).
2523
2524 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2525
2526 * json.el (json-alist-p): Only return non-nil if the alist has
2527 simple keys (Bug#13518).
2528
2529 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2530
2531 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2532 when control-statement is the first statement in a buffer (Bug#15956).
2533
2534 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2535
2536 * imenu.el (imenu-generic-skip-comments-and-strings):
2537 New option (Bug#15560).
2538 (imenu--generic-function): Use it.
2539
2540 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2541
2542 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2543 (Bug#13898)
2544
2545 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2546
2547 * emacs-lisp/helpers.el: Add some string helpers.
2548 (string-trim-left): Removes leading whitespace.
2549 (string-trim-right): Removes trailing whitespace.
2550 (string-trim): Removes leading and trailing whitespace.
2551
2552 * subr.el (string-suffix-p): New function.
2553
2554 2013-11-23 Glenn Morris <rgm@gnu.org>
2555
2556 * progmodes/python.el (python-shell-send-file):
2557 Add option to delete file when done. (Bug#15647)
2558 (python-shell-send-string, python-shell-send-region): Use it.
2559
2560 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2561
2562 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2563 to set buffer-read-only to t, never to nil. (Bug#15938)
2564
2565 * textmodes/tex-mode.el (latex-noindent-environments):
2566 Add safe-local-variable property. (Bug#15936)
2567
2568 2013-11-23 Glenn Morris <rgm@gnu.org>
2569
2570 * textmodes/enriched.el (enriched-mode): Doc fix.
2571 * emacs-lisp/authors.el (authors-renamed-files-alist):
2572 Add enriched.doc -> enriched.txt.
2573
2574 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2575
2576 2013-11-22 Leo Liu <sdl.web@gmail.com>
2577
2578 * progmodes/octave.el (inferior-octave-startup): Spit out error
2579 message.
2580
2581 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2582
2583 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2584 Improve docstring.
2585 Add :version.
2586 (ruby-encoding-magic-comment-style): Add :version.
2587
2588 2013-11-22 Leo Liu <sdl.web@gmail.com>
2589
2590 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2591 (Bug#15076)
2592 (octave-help-mode): Adapt to change to help-mode-finish to use
2593 derived-mode-p on 2013-09-17.
2594 (inferior-octave-prompt): Also match octave-gui.
2595 (octave-kill-process): Don't ask twice. (Bug#10564)
2596
2597 2013-11-22 Leo Liu <sdl.web@gmail.com>
2598
2599 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2600 (inferior-octave-startup, inferior-octave-check-process)
2601 (inferior-octave-track-window-width-change)
2602 (octave-completion-at-point, octave-eldoc-function): Use it.
2603 (octave-kill-process): Provide confirmation. (Bug#10564)
2604
2605 2013-11-21 Leo Liu <sdl.web@gmail.com>
2606
2607 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2608 Fix obsolete variable comment-use-global-state.
2609
2610 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2611
2612 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2613 Add `octave-source-file'.
2614 (octave-source-file): New function. (Bug#15935)
2615
2616 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2617
2618 * net/eww.el (eww-local-regex): New variable.
2619 (eww): Use it to detect localhost and similar.
2620
2621 2013-11-21 Leo Liu <sdl.web@gmail.com>
2622
2623 Add completion for command `ag'.
2624 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2625 (pcomplete/ag): New function.
2626 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2627
2628 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2631 (bug#14646).
2632 (make-obsolete): Remove interactive spec.
2633
2634 2013-11-21 Glenn Morris <rgm@gnu.org>
2635
2636 * startup.el (command-line-1): Use path-separator with -L.
2637
2638 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2639
2640 * emacs-lisp/package.el (describe-package-1): Add package archive
2641 to shown fields.
2642
2643 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2644
2645 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2646 Change default to "# encoding: %s" to differentiate it from the
2647 default Ruby encoding comment template.
2648
2649 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2650
2651 * ses.el (ses-mode): Doc fix. (Bug#14748)
2652
2653 2013-11-20 Leo Liu <sdl.web@gmail.com>
2654
2655 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2656
2657 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2658
2659 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2660 when rebase or bisect are in progress.
2661
2662 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2663
2664 * filenotify.el (file-notify-add-watch): Doc fix.
2665
2666 2013-11-19 Leo Liu <sdl.web@gmail.com>
2667
2668 * obsolete/rcompile.el: Mark obsolete.
2669
2670 * progmodes/compile.el (compilation-start)
2671 (compilation-goto-locus, compilation-find-file):
2672 Pass no-display-ok and handle nil value from display-buffer.
2673 (Bug#13594)
2674
2675 * window.el (display-buffer-alist, display-buffer): Document the
2676 new parameter no-display-ok. Return either a window or nil
2677 but never a non-window value.
2678
2679 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2680
2681 * electric.el (electric-indent-mode-map): Remove.
2682 (electric-indent-mode): Change the global-map instead (bug#15915).
2683
2684 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2685 Use add-function.
2686
2687 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2688
2689 * emacs-lisp/nadvice.el (remove-function): Align with
2690 add-function's behavior.
2691
2692 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2693 (gdb--string-regexp): New constant.
2694 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2695 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2696 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2697 submatch 1.
2698 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2699 Adjust use accordingly.
2700 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2701
2702 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2703
2704 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2705 interpolation curlies (Bug#15914).
2706
2707 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2708
2709 * calc/calc.el (calc-context-sensitive-enter): New variable.
2710 (calc-enter): Use `calc-context-sensitive-enter'.
2711
2712 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2713
2714 * progmodes/cfengine.el: Version bump.
2715 (cfengine-cf-promises): New defcustom to locate cf-promises.
2716 (cfengine3-vartypes): Add new "data" type.
2717 (cfengine3--current-word): New function to get current name-like
2718 word or its bounds.
2719 (cfengine3--current-function): New function to look up a CFEngine
2720 function's definition.
2721 (cfengine3-format-function-docstring): New function.
2722 (cfengine3-make-syntax-cache): New function.
2723 (cfengine3-documentation-function): New function: ElDoc glue.
2724 (cfengine3-completion-function): New function: completion glue.
2725 (cfengine3-mode): Set `compile-command',
2726 `eldoc-documentation-function', and add to
2727 `completion-at-point-functions'.
2728
2729 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2730
2731 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2732 `tramp-current-connection'.
2733
2734 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2735
2736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2737 nil/self/true/false with "end of symbol".
2738
2739 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2740
2741 * subr.el (version-regexp-alist): Fix a typo.
2742
2743 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2746 "en_US.utf8" and "LC_CTYPE" to "".
2747 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2748 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2749
2750 2013-11-15 Leo Liu <sdl.web@gmail.com>
2751
2752 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2753
2754 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 * progmodes/gud.el (ctl-x-map):
2757 Remove C-x SPC binding. (Bug#12342)
2758 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2759
2760 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2761
2762 * subr.el (version-regexp-alist):
2763 Recognize hg, svn and darcs versions as snapshot versions.
2764
2765 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2766 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2767 (ruby--encoding-comment-required-p): Extract from
2768 `ruby-mode-set-encoding'.
2769 (ruby-mode-set-encoding): Add the ability to always insert an
2770 utf-8 encoding comment. Fix and simplify coding comment update
2771 logic.
2772
2773 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2774
2775 * net/tramp-gvfs.el (top): Run init code only when
2776 `tramp-gvfs-enabled' is not nil.
2777 (tramp-gvfs-enabled): Check also :system bus.
2778
2779 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2780
2781 Sync with upstream verilog-mode revision 78e66ba.
2782 * progmodes/verilog-mode.el (verilog-end-of-defun)
2783 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2784 (verilog-get-end-of-defun): Remove unused argument.
2785 (verilog-comment-depth): Remove unused local `e'.
2786 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2787 Don't pass arg to verilog-get-end-of-defun.
2788
2789 2013-11-14 Glenn Morris <rgm@gnu.org>
2790
2791 * obsolete/assoc.el (aget): Prefix dynamic variable.
2792
2793 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2794
2795 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * widget.el, hfy-cmap.el: Remove bogus package version number.
2798
2799 2013-11-13 Glenn Morris <rgm@gnu.org>
2800
2801 * replace.el (replace-eval-replacement):
2802 Try to give more helpful error message. (Bug#15836)
2803
2804 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2805 (archive-7z-update): Avoid custom type mismatches.
2806
2807 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2808
2809 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2810
2811 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2812 address can be empty.
2813
2814 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2815 Accept nil SWITCHES.
2816 (tramp-gvfs-handle-write-region): Implement APPEND.
2817
2818 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2821 binary "|" operator and closing block args delimiter.
2822 Remove FIXME comment referring to Ruby 1.8-only syntax.
2823 (ruby-smie--implicit-semi-p): Not after "|" operator.
2824 (ruby-smie--closing-pipe-p): New function.
2825 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2826 (ruby-smie-rules): Indent after "|".
2827
2828 2013-11-12 Glenn Morris <rgm@gnu.org>
2829
2830 * ps-print.el (ps-face-attribute-list):
2831 Handle anonymous faces. (Bug#15827)
2832
2833 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2834
2835 * window.el (display-buffer-other-frame): Fix doc-string.
2836 (Bug#15868)
2837
2838 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2841
2842 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2845 (tramp-sh-handle-file-local-copy): Don't write a message when
2846 saving temporary files.
2847
2848 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2849 both directories are remote.
2850 (tramp-smb-handle-directory-files): Do not return double entries.
2851 Do not expand full file names.
2852 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2853 (tramp-smb-handle-write-region): Implement APPEND.
2854 (tramp-smb-get-stat-capability): Fix a stupid bug.
2855
2856 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2857
2858 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2859
2860 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2861
2862 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2863 throwing error over malformed let/let* (bug#15814).
2864
2865 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2866
2867 * iswitchb.el (iswitchb-mode): Mark obsolete.
2868
2869 2013-11-11 Glenn Morris <rgm@gnu.org>
2870
2871 * international/uni-bidi.el, international/uni-category.el:
2872 * international/uni-name.el, international/uni-numeric.el:
2873 Regenerate for Unicode 6.3.0.
2874
2875 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2876
2877 * net/tramp.el (tramp-methods):
2878 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2879 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2880
2881 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2882
2883 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2884 Force highlighting text after Summary keyword in doc face for rpm.
2885
2886 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2887
2888 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2889 available and the word has no wildcards, append one to the grep pattern.
2890 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2891 (ispell-complete-word): Call `ispell-lookup-words' with the value
2892 independent of `ispell-look-p'.
2893
2894 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2895
2896 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2897 Not after "||".
2898 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2899 their parent.
2900
2901 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2904 (ruby-font-lock-keywords): Use backquote.
2905
2906 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2907
2908 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2909 (ruby-smie--backward-token): Only consider full-string matches.
2910
2911 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2912
2913 * faces.el (describe-face): Add distant-foreground.
2914
2915 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2916
2917 * progmodes/ruby-mode.el: Improve encoding comment handling.
2918 (ruby-encoding-magic-comment-style): New option.
2919 (ruby-custom-encoding-magic-comment-template): New option.
2920 (ruby--insert-coding-comment, ruby--detect-encoding):
2921 New functions extracted from `ruby-mode-set-encoding'.
2922 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2923 to control the style of the auto-inserted encoding comment.
2924
2925 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2926
2927 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2928 Use `smie-backward-sexp' with token argument.
2929
2930 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2931
2932 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2933 Remove instrumentation code.
2934
2935 2013-11-08 Glenn Morris <rgm@gnu.org>
2936
2937 * progmodes/autoconf.el (autoconf-mode):
2938 Tweak comment-start-skip. (Bug#15822)
2939
2940 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2943 at bobp (bug#15826).
2944 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2945
2946 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2947
2948 * man.el (Man-start-calling): New macro, extracted from
2949 Man-getpage-in-background.
2950 (Man-getpage-in-background): Use it.
2951 (Man-update-manpage): New command.
2952 (Man-mode-map): Bind it.
2953
2954 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2955
2956 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2957 of "and", "or", "&&" and "||".
2958 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2959 argument. Prohibit opening curly brace because it could only be a
2960 block opener in that position.
2961 (ruby-smie--forward-token, ruby-smie--backward-token):
2962 Separate "|" from "&" or "*" going after it. That can happen in block
2963 arguments.
2964 (ruby-smie--indent-to-stmt): New function, seeks the end of
2965 previous statement or beginning of buffer.
2966 (ruby-smie-rules): Use it.
2967 (ruby-smie-rules): Check if there's a ":" before a curly block
2968 opener candidate; if there is, it's a hash.
2969
2970 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2973 (cl--block-wrapper): Fix last accidental change.
2974
2975 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2976
2977 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2978 Instrument, in order to hunt failure on hydra.
2979
2980 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2981
2982 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2983 malformed bindings form (bug#15814).
2984
2985 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2986
2987 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2988 "." compared to " @ ". This incidentally fixes some indentation
2989 examples with "do".
2990 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2991 (ruby-smie-grammar): New tokens: "and" and "or".
2992 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2993 Exclude "and" and "or". Remove "do" in order to work around token
2994 priorities.
2995 (ruby-smie-rules): Add all infix tokens. Handle the case of
2996 beginning-of-buffer.
2997
2998 2013-11-06 Glenn Morris <rgm@gnu.org>
2999
3000 * Makefile.in (setwins_almost, setwins_for_subdirs):
3001 Avoid accidental matches.
3002
3003 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3004
3005 * menu-bar.el (popup-menu): Use key-binding.
3006
3007 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3008
3009 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3010 menus, support also the menus produced by minor modes.
3011 (Bug#15817)
3012
3013 2013-11-06 Leo Liu <sdl.web@gmail.com>
3014
3015 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3016 DISTANCE to bound the search. All uses changed. (Bug#15808)
3017
3018 2013-11-06 Glenn Morris <rgm@gnu.org>
3019
3020 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3021 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3022 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3023
3024 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * electric.el (electric-indent-just-newline): New command.
3027 (electric-indent-mode-map): New keymap.
3028 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3029 Re-add :group which weren't redundant.
3030
3031 * electric.el (electric-indent-local-mode): New minor mode.
3032 (electric-indent-functions-without-reindent): New var.
3033 (electric-indent-post-self-insert-function): Use it.
3034 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3035
3036 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3037
3038 * international/quail.el (quail-help): Be more explicit about the
3039 meaning of the labels shown on the keys. (Bug#15800)
3040
3041 * startup.el (normal-top-level): Load the subdirs.el files before
3042 setting the locale environment. (Bug#15805)
3043
3044 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3045
3046 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3047 via arguments so as to get the right ones (bug#15418).
3048
3049 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3050
3051 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3052
3053 Fix problems found while writing a test suite.
3054
3055 * net/tramp-compat.el (tramp-compat-load): New defun.
3056 * net/tramp.el (tramp-handle-load): Use it.
3057
3058 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3059 "(numberp ok-if-already-exists)" correctly.
3060
3061 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3062
3063 * international/characters.el (glyphless-char-display-control):
3064 Add usage note.
3065
3066 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3067
3068 * progmodes/python.el (python-mode):
3069 * progmodes/scheme.el (scheme-mode):
3070 * progmodes/prolog.el (prolog-mode):
3071 * progmodes/ruby-mode.el (ruby-mode):
3072 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3073 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3074
3075 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * rect.el (rectangle--highlight-for-redisplay):
3078 * emacs-lisp/smie.el (smie--next-indent-change):
3079 Use buffer-chars-modified-tick.
3080
3081 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3082
3083 * electric.el (electric-indent-post-self-insert-function):
3084 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3085
3086 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3087
3088 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3089
3090 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3091
3092 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3093 (bug#15786).
3094
3095 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3096
3097 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3098
3099 * progmodes/python.el: Fix up last change.
3100 (python-shell--save-temp-file): New function.
3101 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3102 `string' comes from the current buffer.
3103 (python-shell-send-string-no-output): Remove `msg' arg.
3104 (python--use-fake-loc): New var.
3105 (python-shell-buffer-substring): Obey it. Try to compensate for the
3106 extra coding line added by python-shell--save-temp-file.
3107 (python-shell-send-region): Use python-shell--save-temp-file and
3108 python-shell-send-file directly. Add `nomain' argument.
3109 (python-shell-send-buffer): Use python-shell-send-region.
3110 (python-electric-pair-string-delimiter): New function.
3111 (python-mode): Use it.
3112
3113 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3114
3115 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3116 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3117 environment and decoding all of the default-directory's to here
3118 from command-line.
3119 (command-line): Decode also argv[0].
3120
3121 * loadup.el: Error out if default-directory is a multibyte string
3122 when we are dumping.
3123
3124 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3125
3126 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3127
3128 * emacs-lisp/package.el (package-menu-mode)
3129 (package-menu--print-info, package-menu--archive-predicate):
3130 Add Archive column to package list.
3131
3132 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3133
3134 Fix problems found while writing a test suite.
3135
3136 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3137 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3138 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3139 to nil when running original file name handler. Otherwise,
3140 there are problems with constructs like "$$FOO".
3141
3142 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3143 for `localname'.
3144
3145 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3146
3147 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3148
3149 * subr.el (version<, version<=, version=):
3150 Update docstrings with information for snapshot versions.
3151
3152 * helpers.el: New library for misc helper functions.
3153 (hash-table-keys): New function returning a list of hash keys.
3154 (hash-table-values): New function returning a list of hash values.
3155
3156 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3157
3158 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3159 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3160
3161 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3162
3163 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3164 checking whether point is after a 1-letter word.
3165
3166 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3167
3168 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3169 Don't infloop when expanding region over `multiline' syntax-type that
3170 begins a line (bug#15778).
3171
3172 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3173
3174 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3175 Make it into a proper minor mode.
3176 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3177 (rectangle-mark-mode-map): New keymap.
3178 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3179
3180 2013-11-04 Glenn Morris <rgm@gnu.org>
3181
3182 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3183
3184 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3185
3186 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3187 (ruby-smie-rules): Use smie-rule-parent instead.
3188
3189 * emacs-lisp/smie.el (smie-rule-parent): Always call
3190 smie-indent-virtual rather than only for hanging tokens.
3191 (smie--next-indent-change): New helper command.
3192
3193 2013-11-03 Glenn Morris <rgm@gnu.org>
3194
3195 * Makefile.in (abs_srcdir): Remove.
3196 (emacs): Unset EMACSLOADPATH.
3197
3198 2013-11-02 Glenn Morris <rgm@gnu.org>
3199
3200 * Makefile.in (EMACS): Use a relative filename.
3201 (abs_top_builddir): Remove.
3202 (custom-deps, finder-data, autoloads): Use --chdir.
3203
3204 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3205
3206 Use relative filenames in TAGS files.
3207 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3208 (lisptagsfiles4, TAGS): Use relative file names.
3209 (TAGS-LISP): Remove.
3210 (maintainer-clean): No more TAGS-LISP file.
3211
3212 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3213 (lisptagsfiles4): Use absolute filenames again.
3214 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3215 Remove all *loaddefs files, not just the first. Remove esh-groups.
3216 (maintainer-clean): Delete TAGS, TAGS-LISP.
3217
3218 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3219
3220 * emacs-lisp/package.el (package-version-join):
3221 Recognize snapshot versions.
3222
3223 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3224
3225 * subr.el (version-regexp-alist): Add support for snapshot versions.
3226
3227 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3228
3229 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3230 New function, replacement for `smie-rule-parent' for when we want to
3231 skip over our direct parent if it's an assignment token..
3232 (ruby-smie-rules): Use it.
3233
3234 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3237 unconditionally. Remove now unnecessary forward declarations.
3238 Remove XEmacs-specific setup.
3239 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3240 (ruby-font-lock-syntactic-keywords)
3241 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3242 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3243 (ruby-here-doc-end-syntax): Remove.
3244 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3245 defined as function.
3246
3247 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3248
3249 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3250
3251 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3252
3253 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3254 table and abbrev table, `define-derived-mode' does that for us
3255 anyway.
3256
3257 2013-11-01 Glenn Morris <rgm@gnu.org>
3258
3259 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3260 files is atomic for some time, so no parallel compilation issues).
3261
3262 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3263
3264 * faces.el (face-x-resources): Add :distant-foreground.
3265 (region): Use :distant-foreground for gtk and ns.
3266
3267 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3268
3269 Allow multiple bibliographies when BibLaTeX is used rather than
3270 BibTeX.
3271 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3272 (reftex-locate-bibliography-files): Us it.
3273
3274 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3275
3276 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3277 allow comments in pbm files.
3278
3279 * term/w32-win.el (dynamic-library-alist): Support newer versions
3280 of libjpeg starting with v7: look only for the DLL from the
3281 version against which Emacs was built.
3282 Support versions of libpng beyond 1.4.x.
3283 Support libtiff v4.x.
3284
3285 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3286
3287 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3288 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3289 Add property :safe.
3290 (ruby-deep-arglist): Add property :type.
3291
3292 2013-10-31 Glenn Morris <rgm@gnu.org>
3293
3294 * Makefile.in (custom-deps, finder-data): No need to setq the target
3295 variables, we are in the right directory and the defaults work fine.
3296
3297 2013-10-30 Glenn Morris <rgm@gnu.org>
3298
3299 * Makefile.in (autoloads): Do not use abs_lisp.
3300
3301 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3302 `newline' does not respect `standard-output', so use `princ'.
3303
3304 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3305
3306 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3307 * buff-menu.el (Buffer-menu--unmark): New function.
3308 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3309
3310 2013-10-30 Glenn Morris <rgm@gnu.org>
3311
3312 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3313
3314 * emacs-lisp/package.el (lm-homepage): Declare.
3315
3316 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3317 Fix doc typos.
3318
3319 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3320
3321 * Makefile.in (finder-data, autoloads, update-subdirs)
3322 (compile-main, compile-clean, compile-always, bootstrap-clean):
3323 Check return value of cd.
3324 (compile-calc): Remove.
3325
3326 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3327
3328 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3329
3330 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3331 (byte-compile-and-folded): New function.
3332 (=, <, >, <=, >=): Use it.
3333
3334 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3335 (path-separator, null-device, buffer-file-coding-system)
3336 (lpr-headers-switches): Check system-type before modifying them.
3337 (find-buffer-file-type-coding-system): Mark obsolete.
3338 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3339 find-file-not-found-set-buffer-file-coding-system.
3340 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3341 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3342 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3343 (w32-direct-print-region-helper, w32-direct-print-region-function)
3344 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3345 * startup.el (normal-top-level-add-subdirs-to-load-path):
3346 * ps-print.el (ps-print-region-function):
3347 * lpr.el (print-region-function): Use new name.
3348
3349 * subr.el (custom-declare-variable-early): Remove function.
3350 (custom-declare-variable-list): Remove var.
3351 (error, user-error): Remove `while' loop.
3352 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3353 (user-emacs-directory-warning, locate-user-emacs-file):
3354 Move to files.el.
3355 * simple.el (read-quoted-char-radix, read-quoted-char):
3356 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3357 Move from subr.el.
3358 * custom.el (custom-declare-variable-list): Don't process
3359 custom-declare-variable-list.
3360
3361 * progmodes/python.el (python-shell-get-buffer): New function.
3362 (python-shell-get-process): Use it.
3363 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3364 Python which encoding was used. Don't split-string since we only care
3365 about the first line. Return the temp-file, if applicable.
3366 (python-shell-send-region): Tell compile.el how to turn locations in
3367 the temp-file into locations in the source buffer.
3368
3369 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3370
3371 * subr.el (undefined): Add missing behavior from the C code for
3372 unbound keys.
3373
3374 * rect.el: Use lexical-binding. Add new rectangular region support.
3375 (rectangle-mark): New command.
3376 (rectangle--region): New var.
3377 (deactivate-mark-hook): Reset rectangle--region.
3378 (rectangle--extract-region, rectangle--insert-for-yank)
3379 (rectangle--highlight-for-redisplay)
3380 (rectangle--unhighlight-for-redisplay): New functions.
3381 (region-extract-function, redisplay-unhighlight-region-function)
3382 (redisplay-highlight-region-function): Use them to handle
3383 rectangular region.
3384 * simple.el (region-extract-function): New var.
3385 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3386 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3387 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3388 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3389 (redisplay-unhighlight-region-function)
3390 (redisplay-highlight-region-function): New vars.
3391 (redisplay--update-region-highlight): New function.
3392 (pre-redisplay-function): Use it.
3393 (exchange-point-and-mark): Don't deactivate the mark before
3394 reactivate-it anyway.
3395 * comint.el (comint-kill-region): Remove yank-handler argument.
3396 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3397 (delete-char): Remove property, since it's now part of their
3398 default behavior.
3399 (self-insert-iso): Remove property since this command doesn't exist.
3400
3401 * emacs-lisp/package.el (package--download-one-archive)
3402 (describe-package-1): Don't query the user about final newline.
3403
3404 2013-10-29 Daniel Colascione <dancol@dancol.org>
3405
3406 * net/tramp.el (tramp-methods): Document new functionality.
3407 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3408 tramp-hostname-checker if method provides one instead of scanning
3409 argument list for "%h" to decide hostname acceptability.
3410
3411 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3412
3413 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3414 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3415 Handle COPY-CONTENTS. (Bug#15737)
3416
3417 2013-10-28 Daiki Ueno <ueno@gnu.org>
3418
3419 * epa-file.el
3420 (epa-file-cache-passphrase-for-symmetric-encryption):
3421 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3422
3423 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3424
3425 * image.el (defimage):
3426 (image-load-path): Doc fixes.
3427
3428 2013-10-27 Alan Mackenzie <acm@muc.de>
3429
3430 Indent statements in macros following "##" correctly.
3431 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3432 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3433
3434 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3435
3436 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3437
3438 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3439
3440 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3441 after `=' is probably a new expression.
3442
3443 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3444
3445 * man.el (man-imenu-title): New option.
3446 (Man-mode-map): Add menu. (Bug#15722)
3447 (Man-mode): Add imenu to menu.
3448
3449 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3450
3451 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3452 specific in what the first arg can be: a non-keyword word,
3453 string/regexp/percent literal opener, opening paren, or unary
3454 operator followed directly by word.
3455
3456 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3457
3458 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3459 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3460 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3461 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3462 Remove vars, they do not apply any more.
3463 (prolog-mode-abbrev-table): Remove redundant declaration.
3464 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3465 (prolog-use-smie): Remove.
3466 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3467 supported by prolog-electric-if-then-else-flag.
3468 (prolog-mode-variables, prolog-menu): Use setq-local.
3469 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3470 Remove binding to `Backspace' since this key doesn't exist anyway.
3471 Remove bindings for electric self-inserting keys.
3472 (prog-mode): Assume it's defined.
3473 (prolog-post-self-insert): New function.
3474 (prolog-mode): Use it.
3475 (prolog-indent-line, prolog-indent-level)
3476 (prolog-find-indent-of-matching-paren)
3477 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3478 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3479 (prolog-goto-next-paren, prolog-in-string-or-comment)
3480 (prolog-tokenize, prolog-inside-mline-comment)
3481 (prolog-find-start-of-mline-comment): Remove functions.
3482 (prolog-find-unmatched-paren, prolog-clause-end)
3483 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3484 (prolog-electric--if-then-else): Rename from
3485 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3486 (prolog-tokenize-searchkey): Remove const.
3487 (prolog-clause-info): Use forward-sexp.
3488 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3489 (prolog-electric-if-then-else): Remove commands.
3490 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3491 for use in post-self-insert-hook.
3492 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3493 for use in post-self-insert-hook.
3494 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3495 for use in post-self-insert-hook.
3496 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3497 adapt it for use in post-self-insert-hook.
3498
3499 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * emacs-lisp/ert.el (ert-run-tests-interactively):
3502 Use `completing-read'. (Bug#9756)
3503
3504 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3505
3506 * simple.el (line-move): Call line-move-1 instead of
3507 line-move-visual when the current window hscroll is zero, but
3508 temporary-goal-column indicates we will need to hscroll as result
3509 of the movement. (Bug#15712)
3510
3511 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3512
3513 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3514 capitalization. Use :visible instead of :active.
3515 Fix `ruby-indent-exp' reference. Add menu items for the generic
3516 commands that are used with SMIE.
3517 (ruby-do-end-to-brace): Insert space after `{'.
3518
3519 2013-10-25 John Anthony <john@jo.hnanthony.com>
3520
3521 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3522
3523 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3524
3525 2013-10-25 Glenn Morris <rgm@gnu.org>
3526
3527 * vc/vc.el (vc-print-log): Don't use a working revision unless
3528 one was explicitly specified. (Bug#15322)
3529
3530 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3531
3532 * subr.el (add-to-list): Preserve return value in compiler-macro
3533 (bug#15692).
3534
3535 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3536
3537 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3538 result. Ask user to retry using '-all' flag. (Bug#15701)
3539
3540 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * emacs-lisp/smie.el: New smie-config system.
3543 (smie-config): New defcustom.
3544 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3545 (smie-config-guess, smie-config-save): New commands.
3546 (smie-config--mode-local, smie-config--buffer-local)
3547 (smie-config--trace, smie-config--modefuns): New vars.
3548 (smie-config--advice, smie-config--mode-hook)
3549 (smie-config--setter, smie-config-local, smie-config--get-trace)
3550 (smie-config--guess-value, smie-config--guess): New functions.
3551 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3552 text properties. Treat "string fence" syntax like string syntax.
3553
3554 * progmodes/sh-script.el (sh-use-smie): Change default.
3555 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3556 (sh-var-value): Simplify by CSE.
3557 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3558 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3559 is used.
3560 (sh-guess-basic-offset): Use cl-incf.
3561 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3562
3563 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3564
3565 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3566 (bug#15699).
3567
3568 2013-10-24 Glenn Morris <rgm@gnu.org>
3569
3570 * Makefile.in (abs_top_srcdir): Remove.
3571 (update-subdirs): Use relative path to update-subdirs.
3572
3573 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3574
3575 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3576 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3577 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3578 Call unmsys--file-name before expand-file-name, not after it.
3579
3580 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3581
3582 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3583 (ert-test-skipped): New error.
3584 (ert-skip, ert-stats-skipped): New defuns.
3585 (ert--skip-unless): New macro.
3586 (ert-test-skipped): New struct.
3587 (ert--run-test-debugger, ert-test-result-type-p)
3588 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3589 (ert--stats-set-test-and-result, ert-char-for-test-result)
3590 (ert-string-for-test-result, ert-run-tests-batch)
3591 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3592 Handle skipped tests. (Bug#9803)
3593
3594 2013-10-24 Glenn Morris <rgm@gnu.org>
3595
3596 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3597
3598 * Makefile.in (abs_top_srcdir): New, set by configure.
3599 (update-subdirs): Correct build-aux location.
3600
3601 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3602
3603 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3604 value, whether we could auto-deduce `backend', or not.
3605
3606 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3607 with parameters" example. Simplify the "is it block or is it
3608 hash" check, but also make it more thorough.
3609
3610 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3611
3612 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3613
3614 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3615
3616 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3617 { if it is hanging.
3618
3619 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3620 :before ";".
3621
3622 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3623
3624 * progmodes/compile.el (compilation-directory-matcher)
3625 (compilation-page-delimiter):
3626 Support GNU Make-4.0 directory quoting. (Bug#15678)
3627
3628 2013-10-23 Leo Liu <sdl.web@gmail.com>
3629
3630 * ido.el (ido-tidy): Handle read-only text.
3631
3632 2013-10-23 Glenn Morris <rgm@gnu.org>
3633
3634 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3635 (emacs, compile, compile-always):
3636 Quote entities that might contain whitespace.
3637 (custom-deps, finder-data, autoloads): Use abs_lisp.
3638 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3639 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3640 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3641
3642 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3643
3644 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3645 Use `following-char'.
3646
3647 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3648
3649 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3650 * progmodes/ruby-mode.el (ruby-smie-rules):
3651 Remove corresponding workaround. Fix indentation rule of ";" so it
3652 also applies when ";" is the parent.
3653
3654 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3655
3656 * frame.el (display-screens, display-pixel-height)
3657 (display-pixel-width, display-mm-width, display-backing-store)
3658 (display-save-under, display-planes, display-color-cells)
3659 (display-visual-class, display-monitor-attributes-list):
3660 Mention the optional ‘display’ argument in doc strings.
3661
3662 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3663
3664 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3665 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3666
3667 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3668
3669 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3670 TODO. Add "." after " @ ".
3671 (ruby-smie--at-dot-call): New function. Checks if point at method
3672 call with explicit target.
3673 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3674 to the method name tokens when it precedes them.
3675 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3676 (ruby-smie-rules): Add rule for indentation before and after "."
3677 token.
3678
3679 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * textmodes/remember.el (remember-diary-extract-entries):
3682 Avoid add-to-list.
3683
3684 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3685 an instruction.
3686
3687 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3688
3689 * progmodes/ruby-mode.el (ruby-smie-grammar):
3690 Add (almost) all infix operators.
3691 (ruby-smie--implicit-semi-p): Add new operator chars.
3692
3693 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3694 `smie-down-list'.
3695 (ruby-smie--args-separator-p): Check that there's no newline
3696 between method call and its arguments.
3697
3698 2013-10-20 Alan Mackenzie <acm@muc.de>
3699
3700 Allow comma separated lists after Java "implements".
3701
3702 * progmodes/cc-engine.el (c-backward-over-enum-header):
3703 Parse commas.
3704 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3705 from a "disallowed" list in enum fontification.
3706
3707 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3708
3709 * startup.el (default-frame-background-mode): Remove unused defvar.
3710
3711 * progmodes/verilog-mode.el (verilog-mode): Don't set
3712 comment-indent-function globally.
3713
3714 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3715
3716 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3717 Move Info menu item creation to ns-win.el.
3718
3719 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3720 in menu bar.
3721
3722 * menu-bar.el: Move GNUstep specific menus...
3723
3724 * term/ns-win.el (ns-initialize-window-system): ... to here.
3725
3726 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * simple.el (newline): Only run post-self-insert-hook when
3729 called interactively.
3730
3731 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3732
3733 * icomplete.el (icomplete-with-completion-tables): Add :version.
3734
3735 2013-10-19 Alan Mackenzie <acm@muc.de>
3736
3737 Fix fontification bugs with constructors and const.
3738
3739 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3740 CASE 2) Remove the check for the absence of a suffix construct
3741 after a function declaration with only types (no identifiers) in
3742 the parentheses. Also, accept a function declaration with just a
3743 type inside the parentheses, if this type can be positively
3744 recognised as such, or if a prefix keyword like "explicit" nails
3745 down the construct as a declaration.
3746
3747 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3748
3749 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3750 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3751 the problem whereby selecting a menu item that leads to a
3752 minibuffer prompt moves the cursor out of the minibuffer window,
3753 making it hard to type at the prompt. Suggested by Stefan Monnier
3754 <monnier@iro.umontreal.ca>.
3755
3756 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3757
3758 * menu-bar.el: Don't make Services menu.
3759
3760 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3761
3762 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3763 (ffap-alist): Use ffap-c++-mode for c++-mode.
3764 (ffap-c++-path): New variable.
3765 (ffap-c++-mode): New function.
3766
3767 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3768
3769 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3770
3771 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3774 introduced on 2013-09-08, which results in an infinite loop
3775 requesting a password.
3776
3777 2013-10-18 Glenn Morris <rgm@gnu.org>
3778
3779 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3780
3781 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3782
3783 Sync with upstream verilog-mode revision 1a6ecec7.
3784 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3785 (verilog-mode-release-date): Remove.
3786 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3787 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3788 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3789 (verilog-auto-tieoff-ignore-regexp)
3790 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3791 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3792 (verilog-signals-with, verilog-dir-cache-preserving)
3793 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3794 Doc fixes.
3795 (verilog-case-fold): New option, to control case folding in
3796 regexp searches, bug597.
3797 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3798 (verilog-string-match-fold, verilog-in-paren-count)
3799 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3800 (verilog-at-close-struct-p): New functions.
3801 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3802 (verilog-forward-sexp, verilog-set-auto-endcomments):
3803 (verilog-leap-to-case-head): Handle "unique0" case.
3804 (verilog-in-constraint-re): New constant.
3805 (verilog-keywords, verilog-type-font-keywords):
3806 Add some SystemVerilog 1800-2012 keywords.
3807 (verilog-label-be): Remove unimplemented argument, bug669.
3808 (verilog-batch-execute-func): When batch expanding clear
3809 create-lockfiles to prevent spurious user locks when a file ends
3810 up not changing.
3811 (verilog-calculate-indent, verilog-calc-1)
3812 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3813 (verilog-do-indent): Fix indentation of nested constraints
3814 and structures.
3815 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3816 (verilog-auto-inst-param): Use verilog-string-match-fold.
3817 (verilog-read-inst-module-matcher):
3818 Fix AUTOINST on gate primitives with #1.
3819 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3820 Reads all user-defined typed variables.
3821 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3822 (verilog-signals-matching-regexp)
3823 (verilog-signals-not-matching-regexp, verilog-auto):
3824 Respect verilog-case-fold.
3825 (verilog-diff-report): Fix line count.
3826 (verilog-auto-assign-modport): Remove unused local `modi'.
3827 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3828 better handle multidimensional arrays.
3829 Fix packed array ports misadding bit index in AUTOINST, bug637.
3830 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3831 to not double-declare existing outputs and inputs, respectively.
3832 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3833 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3834 (verilog-sk-uvm-component): New skeleton.
3835 (verilog-submit-bug-report): Add verilog-case-fold,
3836 remove verilog-mode-release-date.
3837
3838 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3839
3840 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3841 as before.
3842
3843 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3844
3845 * textmodes/remember.el (remember): Set buffer-offer-save in
3846 remember buffers (bug#13566).
3847
3848 2013-10-18 Daniel Colascione <dancol@dancol.org>
3849
3850 When evaluating forms in ielm, direct standard output to ielm
3851 buffer. Add new ielm-return-for-effect command. Remove trailing
3852 whitespace throughout.
3853
3854 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3855 (ielm-return-for-effect): New command.
3856 (ielm-send-input): Accept optional `for-effect' parameter.
3857 (ielm-eval-input): Accept optional `for-effect' parameter.
3858 Bind `standard-output' to stream we create using
3859 `ielm-standard-output-impl'. Suppress printing result when
3860 `for-effect'.
3861 (ielm-standard-output-impl): New function.
3862 (inferior-emacs-lisp-mode): Explain new features in documentation.
3863
3864 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3865
3866 Code cleanup.
3867
3868 * net/tramp.el (tramp-debug-message): Do not check for connection
3869 buffer.
3870 (tramp-message): Use "vector" connection property.
3871
3872 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3873 (tramp-equal-remote, tramp-eshell-directory-change)
3874 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3875 (tramp-adb-handle-rename-file)
3876 * net/tramp-cmds.el (tramp-list-remote-buffers)
3877 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3878 * net/tramp-compat.el (tramp-compat-process-running-p)
3879 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3880 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3881 (tramp-gvfs-handle-rename-file)
3882 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3883 (tramp-set-file-uid-gid)
3884 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3885 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3886 of `file-remote-p'.
3887
3888 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3889 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3890 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3891 (tramp-gw-open-network-stream): Suppress unrelated traces.
3892
3893 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3894 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3895 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3896 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3897 connection property.
3898
3899 * net/tramp-cache.el (top): Suppress traces when reading
3900 persistency file.
3901
3902 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3903 Refactor common code. Improve debug message.
3904 (tramp-maybe-open-connection)
3905 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3906 connection buffer too early.
3907
3908 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3909 from `tramp-smb-actions-with-acl'.
3910 (tramp-smb-actions-set-acl): New defconst.
3911 (tramp-smb-handle-copy-directory)
3912 (tramp-smb-action-get-acl): New defun, renamed from
3913 `tramp-smb-action-with-acl'.
3914 (tramp-smb-action-set-acl): New defun.
3915 (tramp-smb-handle-set-file-acl): Rewrite.
3916
3917 2013-10-17 Glenn Morris <rgm@gnu.org>
3918
3919 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3920
3921 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3922
3923 * skeleton.el (skeleton-newline): Remove.
3924 (skeleton-internal-1): Use (insert "\n") instead.
3925
3926 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3927 let-bindings.
3928
3929 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3930 forward-sexp-function while we redo its job (bug#15613).
3931
3932 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3933
3934 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3935 represented by lists.
3936
3937 2013-10-16 Glenn Morris <rgm@gnu.org>
3938
3939 * tmm.el (tmm--history): New dynamic variable.
3940 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3941
3942 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3943
3944 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3945 (tramp-smb-errors): Add error messages.
3946 (tramp-smb-actions-with-acl): New defconst.
3947 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3948 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3949 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3950 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3951 (tramp-smb-get-stat-capability): Fix tests.
3952
3953 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3954
3955 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3956 (bug#15580).
3957
3958 2013-10-16 Glenn Morris <rgm@gnu.org>
3959
3960 * ansi-color.el (ansi-color-drop-regexp):
3961 Add 1J, 1K, 2K. (Bug#15617)
3962
3963 * files.el (hack-local-variables--warned-lexical): New.
3964 (hack-local-variables):
3965 Warn about misplaced lexical-binding. (Bug#15616)
3966
3967 * net/eww.el (eww-render): Always set eww-current-url,
3968 and update header line. (Bug#15622)
3969 (eww-display-html): ... Rather than just doing it here.
3970
3971 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3972
3973 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3974 menu navigations commands.
3975
3976 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3977
3978 * progmodes/subword.el (subword-capitalize): Be careful when
3979 the search for [[:alpha:]] fails (bug#15580).
3980
3981 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3982
3983 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3984 to commands that scroll the menu.
3985
3986 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3987
3988 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3989 Handle methods ending with `?' and `!'.
3990
3991 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3992
3993 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3994 `japanese-cp932' to `cp932' to fix the problem where saving a
3995 source file written in Shift_JIS twice would end up having
3996 `coding: japanese-cp932' which Ruby could not recognize.
3997 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3998 in `ruby-encoding-map'.
3999 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4000 doesn't need to be explicitly declared in magic comment.
4001 (ruby-encoding-map): Add type declaration for better customize UI.
4002
4003 2013-10-13 Glenn Morris <rgm@gnu.org>
4004
4005 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4006 Occur buffers are read-only. http://bugs.debian.org/720775
4007
4008 * emacs-lisp/authors.el (authors-fixed-entries):
4009 Comment out old alpha stuff.
4010
4011 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4012
4013 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4014 to `after-save-hook' instead of `before-save-hook'.
4015 (ruby-mode-set-encoding): Use the value of coding system used to
4016 write the file. Call `basic-save-buffer-1' after modifying the
4017 buffer.
4018
4019 2013-10-13 Alan Mackenzie <acm@muc.de>
4020
4021 Fix indentation/fontification of Java enum with
4022 "implements"/generic.
4023
4024 * progmodes/cc-engine.el (c-backward-over-enum-header):
4025 Extracted from the three other places and enhanced to handle generics.
4026 (c-inside-bracelist-p): Uses new function above.
4027 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4028 function above.
4029 (c-font-lock-enum-tail): Uses new function above.
4030
4031 2013-10-13 Kenichi Handa <handa@gnu.org>
4032
4033 * international/mule-cmds.el (select-safe-coding-system): Remove a
4034 superfluous condition in chekcing whether a coding system is safe
4035 or not.
4036
4037 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4038
4039 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4040
4041 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4042
4043 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4044
4045 2013-10-13 Glenn Morris <rgm@gnu.org>
4046
4047 * menu-bar.el (menu-bar-update-buffers):
4048 Unify Buffers menu prompt string. (Bug#15576)
4049
4050 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4051
4052 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4053 Add some entries.
4054 (authors-fixed-entries): Use accented form of name.
4055
4056 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4057
4058 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4059 method calls (bug#15594).
4060 (ruby-smie--args-separator-p): New function.
4061 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4062 recognize paren-free method calls.
4063
4064 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4065 internals of universal-argument.
4066
4067 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4068
4069 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4070 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4071 dropped menu on second mouse click on the menu bar.
4072
4073 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4074
4075 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4076 (explicit-shell-file-name): Declare.
4077 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4078 (sh-completion-at-point-function): New function.
4079 (sh-mode): Use it.
4080 (sh-smie--keyword-p): Remove unused argument.
4081 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4082 vars.
4083 (sh-set-shell): Always setup SMIE, even if we use the
4084 old indentation code.
4085
4086 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4087
4088 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4089 cases of ? and =.
4090 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4091 predicate would return nil are almost non-existent.
4092 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4093
4094 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4095 cache also after commands that modify the buffer but don't move
4096 point.
4097
4098 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4099
4100 * env.el (substitute-env-in-file-name): New function.
4101 (substitute-env-vars): Extend the meaning of the optional arg.
4102
4103 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4104
4105 * term/w32-win.el (dynamic-library-alist): Define separate lists
4106 of GIF DLLs for versions before and after 5.0.0 of giflib.
4107 (Bug#15531)
4108
4109 2013-10-10 João Távora <joaotavora@gmail.com>
4110
4111 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4112 not locked, use last revision and current source as
4113 defaults. (Bug#15569)
4114
4115 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4116
4117 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4118 menu-bar is hidden.
4119
4120 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4121
4122 * window.el (pop-to-buffer-same-window): Fix doc-string.
4123 (Bug#15492)
4124
4125 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4128
4129 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4130
4131 * calendar/icalendar.el (icalendar-import-file):
4132 Fix interactive spec. (Bug#15482)
4133
4134 2013-10-10 Glenn Morris <rgm@gnu.org>
4135
4136 * desktop.el (desktop-save): Default to saving in .emacs.d,
4137 since PWD is no longer in desktop-path by default. (Bug#15319)
4138
4139 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4140 now that text mode has a menu with the same entry.
4141 (menu-bar-text-mode-auto-fill): Remove now unused func.
4142 * textmodes/text-mode.el (text-mode-map):
4143 Use auto-fill help text from menu-bar.el.
4144
4145 2013-10-10 John Anthony <john@jo.hnanthony.com>
4146
4147 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4148
4149 2013-10-09 Juri Linkov <juri@jurta.org>
4150
4151 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4152 instead of this-command-keys. Add universal-argument-more and
4153 universal-argument-minus to the list of prefix commands. (Bug#15568)
4154
4155 2013-10-09 Glenn Morris <rgm@gnu.org>
4156
4157 * vc/vc-svn.el (vc-svn-create-repo):
4158 Expand paths in file://... url. (Bug#15446)
4159
4160 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4161 Add some entries.
4162 (authors): Remove unused local variables.
4163
4164 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4165
4166 * profiler.el: Create a more coherent calltree from partial backtraces.
4167 (profiler-format): Hide the tail with `invisible' so that C-s can still
4168 find the hidden elements.
4169 (profiler-calltree-depth): Don't recurse so enthusiastically.
4170 (profiler-function-equal): New hash-table-test.
4171 (profiler-calltree-build-unified): New function.
4172 (profiler-calltree-build): Use it.
4173 (profiler-report-make-name-part): Indent the calltree less.
4174 (profiler-report-mode): Add visibility specs for profiler-format.
4175 (profiler-report-expand-entry, profiler-report-toggle-entry):
4176 Expand the whole subtree when provided with a prefix arg.
4177
4178 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4179
4180 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4181 iuwu-mod token.
4182 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4183 hanging iuwu-mod token.
4184 (ruby-smie--forward-token): Do not include a dot after a token in
4185 that token.
4186 (ruby-smie--backward-token): Likewise.
4187
4188 2013-10-08 Juri Linkov <juri@jurta.org>
4189
4190 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4191 to isearch-other-control-char.
4192 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4193 and isearch-post-command-hook to post-command-hook.
4194 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4195 and isearch-post-command-hook from post-command-hook.
4196 (isearch-unread-key-sequence)
4197 (isearch-reread-key-sequence-naturally)
4198 (isearch-lookup-scroll-key, isearch-other-control-char)
4199 (isearch-other-meta-char): Remove functions.
4200 (isearch-pre-command-hook, isearch-post-command-hook):
4201 New functions based on isearch-other-meta-char rewritten
4202 relying on the new behavior of overriding-terminal-local-map
4203 that does not replace the local keymaps any more. (Bug#15200)
4204
4205 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4206
4207 Support menus on text-mode terminals.
4208 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4209 functionality.
4210
4211 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4212
4213 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4214 Move here from mouse.el.
4215 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4216 and arrow keys.
4217 (tty-menu-navigation-map): New map for TTY menu navigation.
4218
4219 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4220
4221 * frame.el (display-mouse-p): Report text-mode mouse as available
4222 on w32.
4223 (display-popup-menus-p): Report availability if mouse is
4224 available; don't condition on window-system.
4225
4226 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4227 (tty-menu-selected-face): New faces.
4228
4229 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4232 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4233 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4234 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4235 New constants.
4236 (lisp-mode-variables): New `elisp' argument.
4237 (emacs-lisp-mode): Use it.
4238 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4239 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4240
4241 * indent.el: Use lexical-binding.
4242 (indent-region): Add progress reporter.
4243 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4244 last step.
4245 (indent--next-tab-stop): New function to implement this behavior.
4246 (tab-to-tab-stop, move-to-tab-stop): Use it.
4247
4248 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4249
4250 * indent.el (indent-rigidly--current-indentation): New function.
4251 (indent-rigidly-map): New var.
4252 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4253
4254 2013-10-08 Bastien Guerry <bzg@gnu.org>
4255
4256 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4257
4258 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * progmodes/perl-mode.el: Use lexical-binding.
4261 Remove redundant :group args.
4262 (perl-nochange): Change default to be closer to other major modes's
4263 standard behavior.
4264 (perl-indent-line): Don't consider text on current line as a
4265 valid beginning of function from which to indent.
4266
4267 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4268 with more than one argument (bug#15538).
4269
4270 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4271
4272 * vc/pcvs.el: Use lexical-binding.
4273 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4274 environment of `eval'.
4275 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4276 than a list of expressions. Adjust callers.
4277 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4278
4279 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4280
4281 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4282 case of the dot in a chained method call being on the following line.
4283
4284 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4285
4286 * electric.el (electric-indent-inhibit): New var.
4287 (electric-indent-post-self-insert-function): Use it.
4288 * progmodes/python.el (python-mode): Set it.
4289
4290 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4291 open braces.
4292
4293 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4294
4295 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4296 (css-mode): Use electric-indent-chars.
4297
4298 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4299 (font-lock-beg, font-lock-end): Move before first use.
4300 (nxml-mode): Use syntax-propertize-function.
4301 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4302 (nxml-extend-after-change-region): Remove.
4303 * nxml/xmltok.el: Use lexical-binding.
4304 (xmltok-save): Use `declare'.
4305 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4306 * nxml/nxml-util.el: Use lexical-binding.
4307 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4308 Use `declare'.
4309 * nxml/nxml-ns.el: Use lexical-binding.
4310 (nxml-ns-save): Use `declare'.
4311 (nxml-ns-prefixes-for): Avoid add-to-list.
4312 * nxml/rng-match.el: Use lexical-binding.
4313 (rng--ipattern): Use cl-defstruct.
4314 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4315 (rng-cons-group-after, rng-subst-group-after)
4316 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4317 Use closures instead of `(lambda...).
4318
4319 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4320
4321 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4322 of BEG and END.
4323
4324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4325 Use `tramp-handle-insert-file-contents'.
4326 (tramp-gvfs-handle-insert-file-contents): Remove function.
4327
4328 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4329 Use `save-restriction' in order to keep markers.
4330
4331 * net/trampver.el: Update release number.
4332
4333 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4334
4335 * progmodes/compile.el (compilation-parse-errors):
4336 Use compilation--put-prop.
4337 (compilation--ensure-parse): Check compilation-multiline.
4338
4339 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4340
4341 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4342 lexical-binding.
4343
4344 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4345
4346 * progmodes/ruby-mode.el: Fix recently added tests.
4347 (ruby-smie-grammar): Add - and +.
4348 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4349 (ruby-smie--backward-id): New functions.
4350 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4351 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4352 any more.
4353
4354 2013-10-07 Leo Liu <sdl.web@gmail.com>
4355
4356 * register.el (register-preview-delay)
4357 (register-preview-functions): New variables.
4358 (register-read-with-preview, register-preview)
4359 (register-describe-oneline): New functions.
4360 (point-to-register, window-configuration-to-register)
4361 (frame-configuration-to-register, jump-to-register)
4362 (number-to-register, view-register, insert-register)
4363 (copy-to-register, append-to-register, prepend-to-register)
4364 (copy-rectangle-to-register): Use register-read-with-preview to
4365 read register. (Bug#15525)
4366
4367 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4368
4369 * net/network-stream.el (network-stream-open-starttls): Don't add
4370 --insecure if it's already present, because that gnutls-cli
4371 rejects getting that parameter twice.
4372
4373 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4374
4375 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4376 keyword, too.
4377
4378 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * newcomment.el (comment-use-global-state): Change default value
4381 to t, mark obsolete (Bug#15251).
4382 (comment-beginning): In addition to `comment-to-syntax', check the
4383 value of `comment-use-global-state'.
4384
4385 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4386
4387 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4388 (ruby-comment-column): Follow the global default, by default.
4389 (ruby-smie-grammar): Add assignment syntax.
4390 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4391 open-paren, a comma, or a \.
4392 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4393 and line continuations.
4394 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4395 followed by implicit semi-colons. Add rule for string concatenation
4396 and for indentation at BOB.
4397 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4398
4399 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4400 calling next-sexp, since next-token may have skipped chars which
4401 next-sexp doesn't know should be skipped!
4402
4403 2013-10-05 Leo Liu <sdl.web@gmail.com>
4404
4405 * progmodes/octave.el (octave-send-region):
4406 Call compilation-forget-errors.
4407
4408 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4409
4410 * vc/vc-svn.el (vc-svn-find-admin-dir):
4411 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4412 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4413 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4414 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4415
4416 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4417
4418 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4419
4420 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4421
4422 * subr.el (read-passwd): Hide chars even when called within a context
4423 where after-change-functions is disabled (bug#15501).
4424 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4425 until we removed ourself from overriding-terminal-local-map.
4426
4427 2013-10-04 Leo Liu <sdl.web@gmail.com>
4428
4429 * progmodes/octave.el (inferior-octave-mode):
4430 Call compilation-forget-errors.
4431
4432 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4433
4434 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4435
4436 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/secrets.el (secrets-create-collection): Add optional
4439 argument ALIAS. Use proper Label keyword. Append ALIAS as
4440 dbus-call-method argument. (Bug#15516)
4441
4442 2013-10-04 Leo Liu <sdl.web@gmail.com>
4443
4444 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4445 (inferior-octave-compilation-font-lock-keywords): New variables.
4446 (compilation-error-regexp-alist)
4447 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4448 (inferior-octave-mode): Use compilation-shell-minor-mode.
4449
4450 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4451
4452 * minibuffer.el (completion--replace): Be careful that `end' might be
4453 a marker.
4454
4455 2013-10-03 Daiki Ueno <ueno@gnu.org>
4456
4457 Add support for package signature checking.
4458 * emacs-lisp/package.el (url-http-file-exists-p)
4459 (epg-make-context, epg-context-set-home-directory)
4460 (epg-verify-string, epg-context-result-for)
4461 (epg-signature-status, epg-signature-to-string)
4462 (epg-check-configuration, epg-configuration)
4463 (epg-import-keys-from-file): Declare.
4464 (package-check-signature): New user option.
4465 (package-unsigned-archives): New user option.
4466 (package-desc): Add `signed' field.
4467 (package-load-descriptor): Set `signed' field if .signed file exists.
4468 (package--archive-file-exists-p): New function.
4469 (package--check-signature): New function.
4470 (package-install-from-archive): Check package signature.
4471 (package--download-one-archive): Check archive signature.
4472 (package-delete): Remove .signed file.
4473 (package-import-keyring): New command.
4474 (package-refresh-contents): Import default keyring.
4475 (package-desc-status): Add "unsigned" status.
4476 (describe-package-1, package-menu--print-info)
4477 (package-menu-mark-delete, package-menu--find-upgrades)
4478 (package-menu--status-predicate): Support "unsigned" status.
4479
4480 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4481
4482 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4483 the new compilation scheme using the new byte-codes.
4484
4485 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4486 (byte-pophandler): New byte codes.
4487 (byte-goto-ops): Adjust accordingly.
4488 (byte-compile--use-old-handlers): New var.
4489 (byte-compile-catch): Use new byte codes depending on
4490 byte-compile--use-old-handlers.
4491 (byte-compile-condition-case--old): Rename from
4492 byte-compile-condition-case.
4493 (byte-compile-condition-case--new): New function.
4494 (byte-compile-condition-case): New function that dispatches depending
4495 on byte-compile--use-old-handlers.
4496 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4497 when we can.
4498
4499 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4500 Optimize under `condition-case' and `catch' if
4501 byte-compile--use-old-handlers is nil.
4502 (disassemble-offset): Handle new bytecodes.
4503
4504 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * subr.el (error): Use `declare'.
4507 (decode-char, encode-char): Use advertised-calling-convention instead
4508 of the docstring to discourage use of the `restriction' arg.
4509
4510 2013-10-03 Daiki Ueno <ueno@gnu.org>
4511
4512 * epg.el (epg-verify-file): Add a comment saying that it does not
4513 notify verification error as a return value nor a signal.
4514 (epg-verify-string): Ditto.
4515
4516 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4517
4518 * progmodes/compile.el (compilation-start): Try globbing the arg to
4519 `cd' (bug#15417).
4520
4521 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4522
4523 Sync with Tramp 2.2.8.
4524
4525 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4526 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4527 * net/trampver.el: Update release number.
4528
4529 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4530
4531 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4532 and default-process-coding-system for darwin only.
4533
4534 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4535
4536 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4537
4538 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4539
4540 * vc/vc-git.el (vc-git-grep): Disable pager.
4541
4542 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4543
4544 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4545 Use :url instead of :homepage, as per
4546 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4547
4548 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4549 non-nil, use `syntax-ppss' (Bug#15251).
4550
4551 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4552
4553 * progmodes/octave.el (inferior-octave-startup-file):
4554 Prefer ~/.emacs.d/init_octave.m.
4555
4556 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4557
4558 * emacs-lisp/package.el (package-desc-from-define):
4559 Accept additional arguments as plist, convert them to an alist and store
4560 them in the `extras' slot.
4561 (package-generate-description-file): Convert extras alist back to
4562 plist and append to the `define-package' form arguments.
4563 (package--alist-to-plist): New function.
4564 (package--ac-desc): Add `extras' slot.
4565 (package--add-to-archive-contents): Check if the archive-contents
4566 vector is long enough, and if it is, pass its `extras' slot value
4567 to `package-desc-create'.
4568 (package-buffer-info): Call `lm-homepage', pass the returned value
4569 to `package-desc-from-define'.
4570 (describe-package-1): Render the homepage button (Bug#13291).
4571
4572 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4573 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4574
4575 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4576
4577 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4578 and default-process-coding-system to utf-8-unix (Bug#15402).
4579
4580 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4581
4582 * subr.el (looking-back): Do not recommend using looking-back.
4583
4584 2013-09-28 Alan Mackenzie <acm@muc.de>
4585
4586 Fix indentation/fontification of Java enum with "implements".
4587
4588 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4589 regexp which matches "implements", etc., in Java.
4590 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4591 specifier clauses coming after "enum".
4592 * progmodes/cc-fonts.el (c-font-lock-declarations)
4593 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4594 after "enum".
4595
4596 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4597
4598 * faces.el (region): Change ns_selection_color to
4599 ns_selection_fg_color, add ns_selection_bg_color.
4600
4601 2013-09-28 Leo Liu <sdl.web@gmail.com>
4602
4603 * progmodes/octave.el (inferior-octave-completion-table)
4604 (inferior-octave-completion-at-point): Minor tweaks.
4605
4606 * textmodes/ispell.el (ispell-lookup-words): Rename from
4607 lookup-words. (Bug#15460)
4608 (lookup-words): Obsolete.
4609 (ispell-complete-word, ispell-command-loop): All uses changed.
4610
4611 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4612
4613 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4614 (octave-mode-menu): Add octave-send-buffer.
4615 (octave-send-buffer): New function.
4616
4617 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4618
4619 * progmodes/octave.el (octave-mode-map): Add key binding for
4620 octave-lookfor.
4621 (octave-mode-menu): Add octave-lookfor.
4622 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4623 octave-lookfor.
4624 (octave-lookfor): New function.
4625
4626 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * emacs-lisp/cl-macs.el:
4629 (cl--loop-destr-temps): Remove.
4630 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4631 its convention.
4632 (cl--loop-set-iterator-function): New function.
4633 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4634 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4635 Bind `it' with `let' instead of substituting it with `cl-subst'.
4636 (cl--unused-var-p): New function.
4637 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4638 Eliminate some unused variable warnings (bug#15326).
4639
4640 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4641
4642 * doc-view.el (doc-view-scale-reset): Rename from
4643 `doc-view-reset-zoom-level'.
4644 (doc-view-scale-adjust): New command.
4645 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4646 `doc-view-scale-adjust'.
4647
4648 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4649
4650 * doc-view.el (doc-view-reset-zoom-level): New command.
4651 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4652 zoom commands (bug#15466).
4653
4654 2013-09-26 Kenichi Handa <handa@gnu.org>
4655
4656 * international/quail.el (quail-help): Make it not a command.
4657
4658 2013-09-26 Leo Liu <sdl.web@gmail.com>
4659
4660 * minibuffer.el (completion-all-sorted-completions): Make args
4661 optional as they are.
4662
4663 2013-09-25 Daniel Colascione <dancol@dancol.org>
4664
4665 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4666 specs are and that they're not evaluated.
4667
4668 2013-09-24 Sam Steingold <sds@gnu.org>
4669
4670 * midnight.el (clean-buffer-list-kill-regexps)
4671 (clean-buffer-list-kill-buffer-names): Update for the new Man
4672 buffer naming which includes the object name.
4673
4674 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4677 (eshell-parse-command, eshell-parse-pipeline): Use it since
4678 eshell-separate-commands requires a dynamic scoped var.
4679 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4680
4681 2013-09-23 Leo Liu <sdl.web@gmail.com>
4682
4683 * autoinsert.el (auto-insert-alist): Make the value of
4684 lexical-binding match its file setting.
4685
4686 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4687
4688 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4689
4690 * autoarg.el (autoarg-kp-digit-argument):
4691 * electric.el (Electric-command-loop):
4692 * kmacro.el (kmacro-step-edit-insert):
4693 Do not set universal-argument-num-events.
4694
4695 2013-09-22 Leo Liu <sdl.web@gmail.com>
4696
4697 * files.el (interpreter-mode-alist): Add octave.
4698
4699 2013-09-21 Alan Mackenzie <acm@muc.de>
4700
4701 C++: fontify identifier in declaration following "public:" correctly.
4702 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4703 to match "public", etc.
4704 (c-decl-prefix-re): Add ":" into the C++ value.
4705 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4706 bit. Add a check for a ":" preceded by "public", etc.
4707
4708 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4709
4710 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4711 recognized by GDB 7.5 and later.
4712
4713 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4714
4715 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4716
4717 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * subr.el (internal--call-interactively): New const.
4720 (called-interactively-p): Use it (bug#3984).
4721
4722 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4723
4724 * vc/pcvs.el (cvs-mode-ignore):
4725 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4726 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4727
4728 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4729
4730 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4731 (eshell-ls-orig-insert-directory): Remove.
4732 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4733 (eshell-ls-use-in-dired): Use advice-add/remove.
4734 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4735 Add `orig-fun' arg for use in :around advice.
4736 Make it check (redundantly) eshell-ls-use-in-dired.
4737
4738 2013-09-19 Glenn Morris <rgm@gnu.org>
4739
4740 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4741
4742 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4743
4744 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4745
4746 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4749 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4750 (tramp-get-remote-python): New defuns.
4751 (tramp-get-remote-uid-with-perl)
4752 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4753 contributed by yary <not.com@gmail.com> (tiny change).
4754 (tramp-get-remote-uid-with-python)
4755 (tramp-get-remote-gid-with-python): New defuns. Python code
4756 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4757 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4758
4759 2013-09-19 Glenn Morris <rgm@gnu.org>
4760
4761 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4762
4763 * eshell/em-unix.el (eshell-remove-entries):
4764 Rename argument to avoid name-clash with global `top-level'.
4765
4766 * eshell/esh-proc.el (eshell-kill-process-function):
4767 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4768 (eshell-reset-after-proc): Remove unused arg `proc'.
4769
4770 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4771 (directory-files-and-attributes): Mark unused arg.
4772
4773 * eshell/em-unix.el (eshell-remove-entries):
4774 Remove unused arg `path'. Update callers.
4775
4776 * eshell/em-hist.el (eshell-hist-parse-arguments):
4777 Remove unused arg `silent'. Update callers.
4778
4779 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4780 Fix (f)boundp mix-up.
4781
4782 * eshell/em-smart.el (eshell-smart-scroll-window)
4783 (eshell-disable-after-change):
4784 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4785
4786 2013-09-18 Alan Mackenzie <acm@muc.de>
4787
4788 Fix fontification of type when followed by "const".
4789 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4790 "known" types from fontification.
4791
4792 2013-09-18 Glenn Morris <rgm@gnu.org>
4793
4794 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4795 (chart-face-list): Drop Emacsen without display-color-p.
4796
4797 * net/eww.el (libxml-parse-html-region): Declare.
4798 (eww-display-html): Explicit error if no libxml2 support.
4799
4800 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4801
4802 * image.el (image-type-from-buffer, image-multi-frame-p):
4803 Remove --without-x warning/error.
4804
4805 * mouse.el (mouse-yank-primary):
4806 * term.el (term-mouse-paste):
4807 Reorder to silence --without-x compilation.
4808
4809 * mpc.el (doc-view-mode): Silence --without-x compilation.
4810
4811 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4812 Silence --without-x compilation.
4813
4814 * progmodes/gud.el (gud-find-file, gud-mode):
4815 Silence --without-x compilation.
4816 (tooltip-mode): Declare.
4817
4818 * wdired.el (dired-backup-overwrite): Remove declaration.
4819 (wdired-mode-map): Add doc string.
4820
4821 * custom.el (x-get-resource): Declare.
4822
4823 * eshell/em-glob.el (ange-cache):
4824 * eshell/em-unix.el (ange-cache): Declare.
4825
4826 * faces.el (x-display-list, x-open-connection, x-get-resource):
4827 Declare.
4828
4829 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4830 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4831 Declare.
4832
4833 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4834
4835 * net/gnutls.el (gnutls-log-level): Declare.
4836
4837 * net/shr.el (image-size, image-animate): Declare.
4838
4839 * simple.el (font-info): Declare.
4840
4841 * subr.el (x-popup-dialog): Declare.
4842
4843 * term/common-win.el (x-select-enable-primary)
4844 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4845 Declare.
4846
4847 * term/ns-win.el (x-handle-args): Declare.
4848
4849 * term/x-win.el (x-select-enable-clipboard): Declare.
4850
4851 * term/w32-win.el (create-default-fontset): Declare.
4852
4853 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4854 Declare.
4855
4856 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4857 (fit-frame-to-buffer): Explicit error if --without-x.
4858 (mouse-autoselect-window-select): Silence compiler.
4859
4860 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4861
4862 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4863 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4864 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4865 * eshell/esh-util.el (eshell-sublist):
4866 Remove unused local variables.
4867
4868 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4869
4870 * textmodes/two-column.el: Make 2C-split work for --without-x.
4871 (scroll-bar-columns): Autoload.
4872 (top-level): Require fringe when compiling.
4873
4874 2013-09-18 Leo Liu <sdl.web@gmail.com>
4875
4876 * subr.el (add-hook): Robustify to handle closure as well.
4877
4878 2013-09-17 Glenn Morris <rgm@gnu.org>
4879
4880 * simple.el (messages-buffer-mode-map): Unbind "g".
4881
4882 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4883
4884 * help-mode.el (help-mode-finish): Use derived-mode-p.
4885 Remove obsolete highlighting.
4886
4887 * play/life.el (life-mode): Use define-derived-mode. Derive from
4888 special-mode.
4889 (life): Let-bind inhibit-read-only.
4890 (life-setup): Avoid `setq'. Use `life-mode'.
4891
4892 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4893 which should not be needed any more.
4894 (package-menu-refresh, package-menu-describe-package): Use user-error.
4895
4896 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4897 (eshell-post-rewrite-command-hook): Make obsolete.
4898 (eshell-parse-command): Simplify.
4899 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4900 (eshell--cmd): Declare.
4901 (eshell-parse-pipeline): Remove unused var `final-p'.
4902 Pass a dynvar to eshell-post-rewrite-command-hook.
4903 Implement the new eshell-post-rewrite-command-function.
4904 (eshell-invoke-directly): Remove unused arg `input'.
4905 * eshell/esh-io.el (eshell-io-initialize):
4906 Use eshell-post-rewrite-command-function (bug#15399).
4907 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4908 adjust to new calling convention.
4909 (eshell-create-handles): Rename args to avoid clashing with dynvar
4910 `standard-output'.
4911
4912 2013-09-17 Glenn Morris <rgm@gnu.org>
4913
4914 * simple.el (messages-buffer-mode): New major mode.
4915 (messages-buffer): New function.
4916 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4917 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4918 (ert-run-test): Use `messages-buffer' function.
4919 (ert--force-message-log-buffer-truncation): Ignore read-only.
4920 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4921 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4922
4923 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4926
4927 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4928
4929 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * icomplete.el (icomplete-in-buffer): New var.
4932 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4933 vars and replace them with functions.
4934 (icomplete-minibuffer-setup): Adjust accordingly.
4935 (icomplete--completion-table, icomplete--completion-predicate)
4936 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4937 New functions.
4938 (icomplete-forward-completions, icomplete-backward-completions)
4939 (icomplete-simple-completing-p, icomplete-exhibit)
4940 (icomplete-completions): Use them.
4941 (icomplete--in-region-buffer): New var.
4942 (icomplete--in-region-setup): New function.
4943 (icomplete-mode): Use it.
4944
4945 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4946 (bug#15379).
4947 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4948 return args and options.
4949 (eshell-eval-using-options): Use the new return value of
4950 eshell--do-opts to set the options's vars in their scope.
4951 (eshell--set-option): Rename from eshell-set-option.
4952 Add arg `opt-vals'.
4953 (eshell--process-option): Rename from eshell-process-option.
4954 Add arg `opt-vals'.
4955 (eshell--process-args): Use an `opt-vals' alist to store the options's
4956 values during their processing and return them additionally to the
4957 remaining args.
4958
4959 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4960
4961 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4962 continuation character an operator, as far as indentation is
4963 concerned (Bug#15369).
4964
4965 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4966
4967 * window.el (window--state-put-2): Don't process buffer state
4968 when buffer doesn't exist any more (Bug#15382).
4969
4970 2013-09-15 Glenn Morris <rgm@gnu.org>
4971
4972 * eshell/em-unix.el (eshell/rm):
4973 Make -f ignore missing files. (Bug#15373)
4974
4975 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4976 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4977 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4978
4979 2013-09-14 Glenn Morris <rgm@gnu.org>
4980
4981 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4982
4983 2013-09-13 Glenn Morris <rgm@gnu.org>
4984
4985 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4986 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4987
4988 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4989
4990 * frame.el (x-focus-frame): Mark as declared in frame.c.
4991
4992 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * ls-lisp.el: Use advice-add.
4995 (original-insert-directory): Remove.
4996 (ls-lisp--insert-directory): Rename from insert-directory; add
4997 `orig-fun' argument.
4998 (insert-directory): Advise.
4999
5000 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5001
5002 * term.el (term-emulate-terminal): Decode the command string
5003 before passing it to term-command-hook. (Bug#15337)
5004
5005 2013-09-13 Glenn Morris <rgm@gnu.org>
5006
5007 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5008
5009 * eshell/esh-ext.el (eshell-search-path): Declare.
5010
5011 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5012 Otherwise an error occurs if eshell-dirs module not loaded.
5013
5014 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5015
5016 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5017
5018 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5019 `tramp-check-proper-host'. Check for a valid method name.
5020
5021 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5022 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5023 * net/tramp-sh.el (tramp-maybe-open-connection):
5024 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5025
5026 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5027 also for hash values.
5028
5029 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5030
5031 * term/ns-win.el (parameters): Don't declare as dynamic.
5032 (before-make-frame-hook): Don't add ineffective function.
5033
5034 * eshell/*.el: Use lexical-binding (bug#15231).
5035
5036 2013-09-12 Kenichi Handa <handa@gnu.org>
5037
5038 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5039
5040 2013-09-12 Glenn Morris <rgm@gnu.org>
5041
5042 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5043 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5044
5045 * subr.el (do-after-load-evaluation): Also give compiler warnings
5046 when obsolete files are used (except by obsolete files).
5047
5048 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5049 in the status output, assume `filename' is the first. (Bug#15322)
5050
5051 * vc/vc.el (vc-deduce-fileset): Doc fix.
5052
5053 * calc/calc-help.el (Info-goto-node):
5054 * progmodes/cperl-mode.el (Info-find-node):
5055 * vc/ediff.el (Info-goto-node): Update declarations.
5056
5057 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5058
5059 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5060 (vc-bzr-pull): Require vc-dispatcher.
5061 * vc/vc-git.el (vc-compilation-mode): Declare.
5062 (vc-git-pull): Require vc-dispatcher.
5063
5064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5065
5066 * progmodes/octave.el (help-button-action): Declare.
5067
5068 * shell.el (shell-directory-tracker): Output error as a message
5069 rather than just returning it as a string.
5070 (shell-process-pushd): Remove useless use of message.
5071
5072 * dframe.el (dframe-timer-fn):
5073 * files.el (dir-locals-read-from-file):
5074 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5075 (mpc-format):
5076 * reveal.el (reveal-post-command):
5077 * saveplace.el (load-save-place-alist-from-file):
5078 * shell.el (shell-resync-dirs):
5079 * w32-common-fns.el (x-get-selection-value):
5080 * emacs-lisp/copyright.el (copyright-find-copyright):
5081 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5082 * emulation/tpu-edt.el (tpu-copy-keyfile):
5083 * play/bubbles.el (bubbles--mark-neighbourhood):
5084 * progmodes/executable.el
5085 (executable-make-buffer-file-executable-if-script-p):
5086 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5087
5088 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5089
5090 Cleanup Eshell to rely less on dynamic scoping.
5091 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5092 last-value, and ext-command here. Bind `args' closer to `body'.
5093 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5094 (eshell--args): Declare new dynamic var.
5095 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5096 last-value, and ext-command. Pass `args' to `body'.
5097 (eshell-process-args): Bind eshell--args.
5098 (eshell-set-option): Use eshell--args.
5099 * eshell/eshell.el (eshell): Use derived-mode-p.
5100 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5101 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5102 (eshell-glob-function): Declare.
5103 * eshell/esh-util.el: Require cl-lib.
5104 (eshell-read-hosts-file): Avoid add-to-list.
5105 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5106 `err'.
5107 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5108 Declare.
5109 (eshell/diff): Remove unused var `err'.
5110 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5111 `killflag'.
5112 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5113 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5114 first use.
5115 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5116 Move declaration before first use.
5117 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5118 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5119 rely on cl-return.
5120
5121 2013-09-12 Glenn Morris <rgm@gnu.org>
5122
5123 * term/ns-win.el (global-map): Remove binding for ispell-next,
5124 deleted 1999-05-29. (Bug#15357)
5125
5126 2013-09-11 Glenn Morris <rgm@gnu.org>
5127
5128 * echistory.el (electric-command-history): Remove call to deleted func.
5129
5130 * play/landmark.el (landmark-mode): Fix typos.
5131
5132 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5133 Check cvs-sort-ignore-file is bound.
5134
5135 * savehist.el: No need for cl when compiling on Emacs.
5136
5137 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5138
5139 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5140 (bug#15338).
5141 (eshell-self-insert-command, eshell-send-invisible):
5142 Remove unused argument.
5143 (eshell-handle-control-codes): Remove unused var `orig'.
5144 Avoid delete-backward-char.
5145
5146 * files.el (set-auto-mode): Simplify a bit further.
5147
5148 2013-09-11 Glenn Morris <rgm@gnu.org>
5149
5150 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5151 (set-auto-mode): Don't regexp-quote elements.
5152 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5153 * progmodes/cc-mode.el (interpreter-mode-alist):
5154 * progmodes/ruby-mode.el (interpreter-mode-alist):
5155 Revert previous change.
5156
5157 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5158
5159 * play/snake.el (snake-mode):
5160 * play/mpuz.el (mpuz-mode):
5161 * play/landmark.el (lm-mode):
5162 * play/blackbox.el (blackbox-mode):
5163 * play/5x5.el (5x5-mode):
5164 * obsolete/options.el (Edit-options-mode):
5165 * net/quickurl.el (quickurl-list-mode):
5166 * net/newst-treeview.el (newsticker-treeview-mode):
5167 * mail/rmailsum.el (rmail-summary-mode):
5168 * mail/mspools.el (mspools-mode):
5169 * locate.el (locate-mode):
5170 * ibuffer.el (ibuffer-mode):
5171 * emulation/ws-mode.el (wordstar-mode):
5172 * emacs-lisp/debug.el (debugger-mode):
5173 * array.el (array-mode):
5174 * net/eudc.el (eudc-mode): Use define-derived-mode.
5175 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5176 Move initialization into declaration.
5177 (mairix-searches-mode): Use define-derived-mode.
5178 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5179 (eudc-edit-hotlist): Use dolist.
5180 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5181 (Man-mode): Use define-derived-mode.
5182 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5183 (Info-edit-mode): Use define-derived-mode.
5184 (Info-cease-edit): Use Info-mode.
5185 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5186 into declaration.
5187 (eshell-mode): Use define-derived-mode.
5188 * chistory.el (command-history-mode-map): Rename from
5189 command-history-map.
5190 (command-history-mode): Use define-derived-mode.
5191 (Command-history-setup): Remove function.
5192 * calc/calc.el (calc-trail-mode-map): New var.
5193 (calc-trail-mode): Use define-derived-mode.
5194 (calc-trail-buffer): Set calc-main-buffer manually.
5195 * bookmark.el (bookmark-insert-annotation): New function.
5196 (bookmark-edit-annotation): Use it.
5197 (bookmark-edit-annotation-mode): Make it a proper major mode.
5198 (bookmark-send-edited-annotation): Use derived-mode-p.
5199 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5200 closer to its ideal place. Use \' to match EOS.
5201
5202 * profiler.el (profiler-calltree-find): Use function-equal.
5203
5204 2013-09-10 Glenn Morris <rgm@gnu.org>
5205
5206 * files.el (interpreter-mode-alist): Convert to regexps.
5207 (set-auto-mode): Adapt for this. (Bug#15306)
5208 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5209 Comment out unused variable.
5210 * progmodes/cc-mode.el (interpreter-mode-alist):
5211 * progmodes/python.el (interpreter-mode-alist):
5212 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5213 * progmodes/sh-script.el (sh-set-shell):
5214 No longer use interpreter-mode-alist to get list of shells.
5215
5216 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5217
5218 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5219
5220 * simple.el: Use set-temporary-overlay-map for universal-argument.
5221 (universal-argument-map): Don't use default-bindings (bug#15317).
5222 Bind switch-frame explicitly. Replace universal-argument-minus with
5223 a conditional binding.
5224 (universal-argument-num-events, saved-overriding-map): Remove.
5225 (restore-overriding-map): Remove.
5226 (universal-argument--mode): Rename from save&set-overriding-map,
5227 and rewrite.
5228 (universal-argument, universal-argument-more, negative-argument)
5229 (digit-argument): Adjust accordingly.
5230 (universal-argument-minus): Remove.
5231 (universal-argument-other-key): Remove.
5232
5233 * subr.el (with-demoted-errors): Add `format' argument.
5234
5235 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5236
5237 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5238 `tramp-cleanup-connection'.
5239
5240 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5241 parameters KEEP-DEBUG and KEEP-PASSWORD.
5242
5243 * net/tramp.el (tramp-file-name-handler):
5244 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5245 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5246 (tramp-maybe-open-connection):
5247 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5248 Use `tramp-cleanup-connection'.
5249
5250 * net/tramp-sh.el (tramp-maybe-open-connection):
5251 Catch 'uname-changed inside the progress reporter.
5252
5253 2013-09-10 Glenn Morris <rgm@gnu.org>
5254
5255 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5256
5257 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5258 returns "alternate access method" in mode (eg "-rw-r--r--.").
5259
5260 2013-09-08 Glenn Morris <rgm@gnu.org>
5261
5262 * saveplace.el (load-save-place-alist-from-file):
5263 Demote errors. (Bug#15305)
5264
5265 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5266
5267 Improve compatibility with older Emacsen, and XEmacs.
5268
5269 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5270 only if it is bound. It isn't for XEmacs.
5271 (with-tramp-progress-reporter): Do not let-bind `result'.
5272 This yields to scoping errors in XEmacs.
5273 (tramp-handle-make-auto-save-file-name): New function, moved from
5274 tramp-sh.el.
5275
5276 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5277 for `make-auto-save-file-name'.
5278 (tramp-adb--gnu-switches-to-ash):
5279 Use `tramp-compat-replace-regexp-in-string'.
5280
5281 * net/tramp-cache.el (tramp-cache-print): Call
5282 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5283
5284 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5285 bound. It isn't for XEmacs.
5286
5287 * net/tramp-compat.el (tramp-compat-copy-file):
5288 Catch `wrong-number-of-arguments' error.
5289 (tramp-compat-replace-regexp-in-string): New defun.
5290
5291 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5292 for `make-auto-save-file-name'.
5293 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5294 `copy-file'.
5295 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5296 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5297 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5298
5299 * net/tramp-gw.el (tramp-gw-open-network-stream):
5300 Use `tramp-compat-replace-regexp-in-string'.
5301
5302 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5303 Call `tramp-handle-make-auto-save-file-name'.
5304 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5305 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5306 (tramp-sh-file-inotifywait-process-filter):
5307 Use `tramp-compat-replace-regexp-in-string'.
5308 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5309
5310 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5311 for `make-auto-save-file-name'.
5312 (tramp-smb-handle-copy-directory):
5313 Call `tramp-compat-replace-regexp-in-string'.
5314 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5315 (tramp-smb-handle-copy-file): Improve error message.
5316 (tramp-smb-handle-rename-file): Rename directly only in case
5317 `newname' does not exist yet. This is a restriction of smbclient.
5318 (tramp-smb-maybe-open-connection): Rerun the function only when
5319 `auth-sources' is non-nil.
5320
5321 2013-09-08 Kenichi Handa <handa@gnu.org>
5322
5323 * international/characters.el: Set category "^" (Combining) for
5324 more characters.
5325
5326 2013-09-07 Alan Mackenzie <acm@muc.de>
5327
5328 Correctly fontify Java class constructors.
5329 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5330 in Java Mode.
5331 (c-recognize-typeless-decls): Set the Java value to t.
5332 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5333 While handling a "(", add a check for, effectively, Java, and handle a
5334 "typeless" declaration there.
5335
5336 2013-09-07 Roland Winkler <winkler@gnu.org>
5337
5338 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5339 field subtitle for entry type book.
5340
5341 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * minibuffer.el: Make minibuffer-complete call completion-in-region
5344 rather than other way around.
5345 (completion--some, completion-pcm--find-all-completions):
5346 Don't delay signals when debugging.
5347 (minibuffer-completion-contents): Beware fields within the
5348 minibuffer contents.
5349 (completion-all-sorted-completions): Use defvar-local.
5350 (completion--do-completion, completion--cache-all-sorted-completions)
5351 (completion-all-sorted-completions, minibuffer-force-complete):
5352 Add args `beg' and `end'.
5353 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5354 (minibuffer-complete): Use completion-in-region.
5355 (completion-complete-and-exit): New fun, extracted from
5356 minibuffer-complete-and-exit.
5357 (minibuffer-complete-and-exit): Use it.
5358 (completion--complete-and-exit): Rename from
5359 minibuffer--complete-and-exit.
5360 (completion-in-region--single-word): New function, extracted from
5361 minibuffer-complete-word.
5362 (minibuffer-complete-word): Use it.
5363 (display-completion-list): Make `common-substring' argument obsolete.
5364 (completion--in-region): Call completion--in-region-1 instead of
5365 minibuffer-complete.
5366 (completion-help-at-point): Pass boundaries to
5367 minibuffer-completion-help as args rather than via an overlay.
5368 (completion-pcm--string->pattern): Use `any-delim'.
5369 (completion-pcm--optimize-pattern): New function.
5370 (completion-pcm--pattern->regex): Handle `any-delim'.
5371 * icomplete.el (icomplete-forward-completions)
5372 (icomplete-backward-completions, icomplete-completions):
5373 Adjust calls to completion-all-sorted-completions and
5374 completion--cache-all-sorted-completions.
5375 (icomplete-with-completion-tables): Default to t.
5376 * emacs-lisp/crm.el (crm--current-element): Rename from
5377 crm--select-current-element. Don't put an overlay but return the
5378 boundaries instead.
5379 (crm--completion-command): Take two new args to bind to the boundaries.
5380 (crm-completion-help): Adjust accordingly.
5381 (crm-complete): Use completion-in-region.
5382 (crm-complete-word): Use completion-in-region--single-word.
5383 (crm-complete-and-exit): Use completion-complete-and-exit.
5384
5385 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5386
5387 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5388 than dynamically.
5389
5390 2013-09-06 Juri Linkov <juri@jurta.org>
5391
5392 * info.el (Info-display-images-node): When image file doesn't exist
5393 display text version of the image if it's provided in the Info file.
5394 Otherwise, display the location of missing image from SRC attribute.
5395 Add help-echo text property from ALT attribute. (Bug#15279)
5396
5397 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5398
5399 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5400 (edit-abbrevs-mode): Use define-derived-mode.
5401
5402 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5403 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5404 that it's defined.
5405 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5406 Use define-derived-mode.
5407
5408 * epg.el (epg-start-encrypt): Minor CSE simplification.
5409
5410 2013-09-06 William Xu <william.xwl@gmail.com>
5411
5412 * arc-mode.el: Add support for 7za (bug#15264).
5413 (archive-7z-program): New var.
5414 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5415 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5416 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5417
5418 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5419
5420 Remove URL syntax.
5421
5422 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5423 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5424 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5425 (tramp-postfix-host-format, tramp-file-name-regexp)
5426 (tramp-completion-file-name-regexp)
5427 (tramp-completion-dissect-file-name)
5428 (tramp-handle-substitute-in-file-name): Remove 'url case.
5429 (tramp-file-name-regexp-url)
5430 (tramp-completion-file-name-regexp-url): Remove constants.
5431
5432 2013-09-06 Glenn Morris <rgm@gnu.org>
5433
5434 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5435
5436 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5437
5438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5439 keywords" below "here-doc beginnings" (Bug#15270).
5440
5441 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * subr.el (pop): Use `car-safe'.
5444 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5445 to detect unused `pop' return value.
5446
5447 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5448 var `block-regexp'.
5449 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5450 (python-fill-string): Remove unused var `marker'.
5451 (python-skeleton-add-menu-items): Remove unused var `items'.
5452
5453 * international/mule-cmds.el: Require CL.
5454 (find-coding-systems-for-charsets): Avoid add-to-list.
5455 (sanitize-coding-system-list): New function, extracted from
5456 select-safe-coding-system-interactively.
5457 (select-safe-coding-system-interactively): Use it.
5458 (read-input-method-name): Accept symbols for `default'.
5459
5460 * emacs-lisp/advice.el (defadvice): Add indent rule.
5461
5462 2013-09-05 Daniel Hackney <dan@haxney.org>
5463
5464 * dired-x.el:
5465 * net/ange-ftp.el:
5466 * net/browse-url.el:
5467 * net/dbus.el:
5468 * net/eudc.el:
5469 * net/eudcb-ldap.el:
5470 * net/eww.el:
5471 * net/imap.el:
5472 * printing.el:
5473 * vc/ediff-diff.el:
5474 * vc/ediff-init.el:
5475 * vc/ediff-merg.el:
5476 * vc/ediff-mult.el:
5477 * vc/ediff-util.el:
5478 * vc/ediff-wind.el:
5479 * vc/ediff.el:
5480 * vc/emerge.el:
5481 * vc/pcvs.el:
5482 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5483 byte compiler. Remove some unused let-bound variables.
5484
5485 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5488 a "ref-cell", since it gets better optimized (bug#14883).
5489
5490 2013-09-05 Glenn Morris <rgm@gnu.org>
5491
5492 * progmodes/cc-awk.el (c-forward-sws): Declare.
5493
5494 2013-09-04 Glenn Morris <rgm@gnu.org>
5495
5496 * generic-x.el [rul-generic-mode]: Require cc-mode.
5497 (c++-mode-syntax-table): Declare.
5498 (rul-generic-mode-syntax-table): Init in the defvar.
5499
5500 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5501
5502 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5503 (vc-do-command, vc-set-async-update):
5504 * vc/vc-mtn.el (vc-mtn-dir-status):
5505 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5506 (vc-hg-pull, vc-hg-merge-branch):
5507 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5508 (vc-git-merge-branch):
5509 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5510 (vc-cvs-dir-status-files):
5511 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5512 (vc-bzr-dir-status-files):
5513 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5514 * vc/vc-annotate.el: Use lexical-binding.
5515 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5516 (vc-sentinel-movepoint): Declare.
5517 (vc-annotate): Don't use `goto-line'.
5518 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5519 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5520 (vc-sentinel-movepoint): Declare.
5521 * vc/vc-svn.el: Use lexical-binding.
5522 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5523 * vc/vc-sccs.el:
5524 * vc/vc-rcs.el: Use lexical-binding.
5525
5526 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5527 `deleted'. Don't drop errors silently.
5528
5529 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5530
5531 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5532
5533 * vc/vc.el (vc-ignore): Rewrite.
5534 (vc-default-ignore): New function.
5535 (vc-default-ignore-completion-table): Use find-ignore-file.
5536
5537 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5538 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5539 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5540 Remove. Most code moved to vc.el.
5541
5542 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5545 * net/tramp-smb.el (tramp-smb-get-file-entries):
5546 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5547 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5548
5549 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5550 Update call to it.
5551 (eww-change-select): Remove unused var `properties'.
5552 (eww-make-unique-file-name): Remove unused var `base'.
5553
5554 * finder.el (finder-compile-keywords): Don't mess with windows.
5555
5556 * calculator.el (calculator-funcall): Fix typo in last change.
5557
5558 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5559
5560 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5561 <pkg>-autoloads.el file stop us.
5562
5563 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5564 warnings, and factor out common code.
5565
5566 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5567
5568 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5569 two-character operators and whether the character preceding them
5570 changes their meaning (Bug#15208).
5571
5572 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5573
5574 Format code sent to Python shell for robustness.
5575 * progmodes/python.el (python-shell-buffer-substring):
5576 New function.
5577 (python-shell-send-region, python-shell-send-buffer): Use it.
5578
5579 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5580
5581 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5582 * net/tramp.el (tramp-user-error): ... here.
5583 (tramp-find-method, tramp-check-proper-host)
5584 (tramp-dissect-file-name, tramp-debug-message)
5585 (tramp-handle-shell-command):
5586 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5587 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5588
5589 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5590
5591 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5592
5593 * avoid.el (mouse-avoidance-point-position)
5594 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5595 returns nil.
5596
5597 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5598
5599 * progmodes/python.el (python-shell-completion-get-completions):
5600 Drop use of deleted `comint-last-prompt-overlay'.
5601 (python-nav-if-name-main): New command.
5602
5603 2013-09-01 Glenn Morris <rgm@gnu.org>
5604
5605 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5606 Avoid leading space in $wins. Otherwise the sed command used by
5607 eg compile-main ends up containing "/*.el". (Bug#15170)
5608
5609 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5610
5611 2013-08-30 Glenn Morris <rgm@gnu.org>
5612
5613 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5614 Fix is-this-a-directory logic. (Bug#15220)
5615
5616 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5617
5618 * textmodes/css-mode.el: Use SMIE.
5619 (css-smie-grammar): New var.
5620 (css-smie--forward-token, css-smie--backward-token)
5621 (css-smie-rules): New functions.
5622 (css-mode): Use them.
5623 (css-navigation-syntax-table): Remove var.
5624 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5625 (css-indent-calculate, css-indent-line): Remove functions.
5626
5627 Misc changes to reduce use of `(lambda...); and other cleanups.
5628 * cus-edit.el: Use lexical-binding.
5629 (customize-push-and-save, customize-apropos)
5630 (custom-buffer-create-internal): Use closures.
5631 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5632 * progmodes/ada-xref.el: Use setq.
5633 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5634 * dframe.el: Use lexical-binding.
5635 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5636 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5637 * descr-text.el: Use lexical-binding.
5638 (describe-text-widget, describe-text-sexp, describe-property-list):
5639 Use closures.
5640 * comint.el (comint-history-isearch-push-state): Use a closure.
5641 * calculator.el: Use lexical-binding.
5642 (calculator-number-to-string): Make it work with lexical-binding.
5643 (calculator-funcall): Same and use cl-letf.
5644
5645 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5646 (lisp--company-doc-string, lisp--company-location): New functions.
5647 (lisp-completion-at-point): Use them to improve Company support.
5648
5649 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5650 params of lambda expressions.
5651 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5652 (ruby-smie--opening-pipe-p): New function.
5653 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5654 symbols and matched |...| for formal params.
5655 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5656 from being treated as hanging. Handle "rescue".
5657
5658 2013-08-29 Glenn Morris <rgm@gnu.org>
5659
5660 * progmodes/cc-engine.el (c-pull-open-brace):
5661 Move definition before use.
5662
5663 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5666 are immutable. Don't use `unsafe' any more.
5667 (cl--defsubst-expand): Don't substitute at the same time as keeping
5668 a residual unused let-binding. Don't use `unsafe' any more.
5669
5670 2013-08-29 Glenn Morris <rgm@gnu.org>
5671
5672 * calendar/cal-china.el (calendar-chinese-year-cache):
5673 Recenter on 2015.
5674
5675 * nxml/nxml-util.el (nxml-debug-clear-inside):
5676 Use cl-loop rather than loop.
5677
5678 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5679
5680 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5681
5682 2013-08-28 Glenn Morris <rgm@gnu.org>
5683
5684 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5685
5686 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5687
5688 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5689
5690 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * simple.el (repeat-complex-command--called-interactively-skip):
5693 New function.
5694 (repeat-complex-command): Use it (bug#14136).
5695
5696 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5697 (c-define-abbrev-table): Add `doc' argument.
5698 (c-mode-abbrev-table, c++-mode-abbrev-table)
5699 (objc-mode-abbrev-table, java-mode-abbrev-table)
5700 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5701 (awk-mode-abbrev-table): Use it.
5702 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5703 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5704 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5705 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5706 Move initialization into the declaration; and remove any
5707 autoload cookie.
5708
5709 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5710 and dynamic let binding.
5711
5712 * vc/smerge-mode.el: Remove redundant :group args.
5713
5714 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5715 to load-path.
5716
5717 2013-08-28 Juri Linkov <juri@jurta.org>
5718
5719 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5720 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5721 (isearch-other-meta-char): Handle an undefined shifted printing
5722 character by downshifting it. (Bug#15200)
5723
5724 2013-08-28 Juri Linkov <juri@jurta.org>
5725
5726 * isearch.el (isearch-search): Change regexp error message for
5727 non-regexp searches. (Bug#15166)
5728
5729 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5730
5731 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5732 for portability to hosts where /bin/sh has problems.
5733
5734 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5737
5738 2013-08-27 Juri Linkov <juri@jurta.org>
5739
5740 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5741 in the keyboard macro. (Bug#15126)
5742
5743 2013-08-27 Juri Linkov <juri@jurta.org>
5744
5745 * isearch.el (isearch-quote-char): Comment out converting unibyte
5746 to multibyte, thus syncing with its `quoted-insert' counterpart.
5747 (Bug#15166)
5748
5749 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5750
5751 * window.el (display-buffer-use-some-window): Add missing
5752 argument in call of get-largest-window (Bug#15185).
5753 Reported by Stephen Leake.
5754
5755 2013-08-27 Glenn Morris <rgm@gnu.org>
5756
5757 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5758
5759 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5762 from a matcher-function unless there's no more matches (bug#15161).
5763
5764 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5765
5766 * minibuffer.el: Revert change from 2013-08-20.
5767
5768 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5769 with text property `tramp-default', if appropriate.
5770 (tramp-check-proper-host): New defun.
5771 (tramp-dissect-file-name): Do not check hostname. Revert change
5772 of 2013-03-18.
5773 (tramp-backtrace): Make VEC-OR-PROC optional.
5774
5775 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5776 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5777 * net/tramp-sh.el (tramp-maybe-open-connection):
5778 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5779 Apply `tramp-check-proper-host'.
5780
5781 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5782
5783 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5784 lambda expression in order to have `describe-variable' display it.
5785
5786 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5787
5788 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5789 BUF can be optional. (Bug#15186)
5790
5791 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5792
5793 * progmodes/flymake.el (flymake-get-real-file-name-function):
5794 Fix broken customization. (Bug#15184)
5795
5796 2013-08-25 Alan Mackenzie <acm@muc.de>
5797
5798 Improve indentation of bracelists defined by macros (without "=").
5799
5800 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5801 expansion begins with "{", regard it as bracelist when it doesn't
5802 contain a ";".
5803
5804 Parse C++ inher-intro when there's a template split over 2 lines.
5805
5806 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5807 rigorously the search for "class" etc. followed by ":".
5808
5809 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5810 random languages a regexp which never matches rather than nil.
5811
5812 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5813
5814 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5815 (c-awk-regexp-one-line-possibly-open-char-list-re)
5816 (c-awk-one-line-possibly-open-regexp-re)
5817 (c-awk-one-line-non-syn-ws*-re): Remove.
5818 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5819 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5820 (c-awk-space*-unclosed-regexp-/-re): New constants.
5821 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5822 aren't regexp delimiters.
5823
5824 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5825 handling for a rare situation in AWK Mode involving unterminated
5826 strings/regexps.
5827
5828 2013-08-23 Glenn Morris <rgm@gnu.org>
5829
5830 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5831
5832 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5833
5834 * files.el (create-file-buffer): If the result would begin with
5835 spaces, prepend a "|" instead of removing them. (Bug#15162)
5836
5837 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5840 text-properties (bug#15155).
5841
5842 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5843 exist any more.
5844 (calc-keypad-redraw): Remove unused var `pad'.
5845 (calc-keypad-press): Remove unused var `menu'.
5846
5847 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5848
5849 * window.el (display-buffer-pop-up-frame):
5850 Call pop-up-frame-function with BUFFER current so `make-frame' will
5851 use it as the new frame's buffer (Bug#15133).
5852
5853 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * calendar/timeclock.el: Minor cleanups.
5856 (timeclock-ask-before-exiting, timeclock-use-display-time):
5857 Use `symbol'.
5858 (timeclock-modeline-display): Define as alias before the
5859 actual definition.
5860 (timeclock-mode-line-display): Use define-minor-mode.
5861 (timeclock-day-list-template): Make it a function, add an argument.
5862 (timeclock-day-list-required, timeclock-day-list-length)
5863 (timeclock-day-list-debt, timeclock-day-list-span)
5864 (timeclock-day-list-break): Adjust calls accordingly.
5865
5866 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5869 Use read--expression so that completion works again.
5870
5871 2013-08-21 Sam Steingold <sds@gnu.org>
5872
5873 Add rudimentary inferior shell interaction
5874 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5875 (sh-set-shell): Reset it.
5876 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5877 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5878
5879 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5880
5881 * align.el: Use lexical-binding.
5882 (align-region): Simplify accordingly.
5883
5884 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5887
5888 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5889 `non-essential' up.
5890
5891 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5892
5893 * net/tramp.el:
5894 * net/tramp-adb.el:
5895 * net/tramp-cmds.el:
5896 * net/tramp-ftp.el:
5897 * net/tramp-gvfs.el:
5898 * net/tramp-gw.el:
5899 * net/tramp-sh.el: Don't wrap external variable declarations by
5900 `eval-when-compile'.
5901
5902 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5903
5904 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5905 now that Emacs supports ImageMagick animations.
5906
5907 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5908
5909 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5910 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5911
5912 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5913
5914 * window.el (mouse-autoselect-window-select): Do autoselect when
5915 mouse pointer is on margin.
5916
5917 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5918
5919 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5920
5921 2013-08-16 Glenn Morris <rgm@gnu.org>
5922
5923 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5924 Handle "Remote Directory" response of some clients. (Bug#15058)
5925
5926 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5927 Tweak warning. (Bug#14926)
5928
5929 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5930 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5931
5932 * image-mode.el (image-mode-map): Add menu items to reverse,
5933 increase, decrease, reset animation speed.
5934 (image--set-speed, image-increase-speed, image-decrease-speed)
5935 (image-reverse-speed, image-reset-speed): New functions.
5936 (image-mode-map): Add bindings for speed commands.
5937
5938 * image.el (image-animate-get-speed, image-animate-set-speed):
5939 New functions.
5940 (image-animate-timeout): Respect image :speed property.
5941
5942 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5945 previous line (bug#15101).
5946 (debugger-eval-expression, debugger-record-expression):
5947 Use read--expression (bug#15102).
5948
5949 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5950
5951 Remove byte compiler warnings, visible when compiling with
5952 `byte-compile-force-lexical-warnings' set to t.
5953
5954 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5955 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5956 (tramp-handle-unhandled-file-name-directory)
5957 (tramp-handle-file-notify-add-watch, tramp-action-login)
5958 (tramp-action-succeed, tramp-action-permission-denied)
5959 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5960 arguments with "_".
5961
5962 * net/tramp-adb.el (tramp-adb-parse-device-names)
5963 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5964 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5965 (tramp-adb-handle-file-truename): Remove unused arguments.
5966
5967 * net/tramp-cache.el (tramp-flush-directory-property)
5968 (tramp-flush-connection-property, tramp-list-connections)
5969 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5970
5971 * net/tramp-compat.el (tramp-compat-make-temp-file):
5972 Rename FILENAME to F.
5973
5974 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5975 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5976 (tramp-zeroconf-parse-workstation-device-names)
5977 (tramp-zeroconf-parse-webdav-device-names)
5978 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5979
5980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5981 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5982
5983 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5984 arguments.
5985 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5986 (tramp-sh-handle-insert-file-contents-literally)
5987 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5988 with "_".
5989 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5990 Remove unused variables.
5991
5992 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5993 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5994 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5995
5996 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5997 Make them a defconst.
5998 (tramp-uuencode-region): Remove unused variable.
5999
6000 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6001
6002 * frameset.el (frameset--prop-setter): New function.
6003 (frameset-prop): Add gv-setter declaration.
6004 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6005 parameter was already set in FILTERED. Doc fix.
6006 (frameset--record-minibuffer-relationships): Allow saving a
6007 minibufferless frame without its corresponding minibuffer frame.
6008 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6009 frame, if the frame id matches.
6010 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6011 frames before orphaned ones.
6012 (frameset-restore): Warn about orphaned windows, instead of error out.
6013
6014 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6015
6016 * window.el (window-make-atom): Don't overwrite parameter
6017 already present.
6018 (display-buffer-in-atom-window): Handle special case where we
6019 split an already atomic window.
6020 (window--major-non-side-window, display-buffer-in-side-window)
6021 (window--side-check): Ignore minibuffer window when walking
6022 window tree.
6023 (window-deletable-p): Return 'frame only if no other frame uses
6024 our minibuffer window.
6025 (record-window-buffer): Run buffer-list-update-hook.
6026 (split-window): Make sure window--check-frame won't destroy an
6027 existing atomic window in case the new window gets nested
6028 inside.
6029 (display-buffer-at-bottom): Ignore minibuffer window when
6030 walking window tree. Don't split a side window.
6031 (pop-to-buffer): Don't set-buffer here, the select-window call
6032 should do that.
6033 (mouse-autoselect-window-select): Autoselect only if we are in the
6034 text portion of the window.
6035
6036 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6037
6038 * net/shr.el (shr-parse-image-data): New function to grab both the
6039 data itself and the Content-Type.
6040 (shr-put-image): Use it.
6041
6042 * net/eww.el (eww-display-image): Ditto.
6043
6044 * image.el (image-content-type-suffixes): New variable.
6045
6046 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6047
6048 * progmodes/python.el (python-imenu--build-tree)
6049 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6050
6051 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6052
6053 * simple.el (backward-word): Mention the optional argument.
6054
6055 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6056
6057 * frameset.el (frameset--make): Rename constructor from make-frameset.
6058 (frameset-p, frameset-valid-p): Don't autoload.
6059 (frameset-valid-p): Use normal accessors.
6060
6061 2013-08-13 Glenn Morris <rgm@gnu.org>
6062
6063 * progmodes/compile.el (compile-command): Tweak example in doc.
6064 * obsolete/scribe.el (scribe-mode):
6065 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6066
6067 * mail/feedmail.el (feedmail-confirm-outgoing)
6068 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6069
6070 * cus-start.el (truncate-partial-width-windows): Fix type.
6071
6072 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6073
6074 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6075
6076 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * emacs-lisp/timer.el (timer--time-setter): New function.
6079 (timer--time): Use it as gv-setter.
6080
6081 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6082 setter is not a symbol.
6083
6084 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6085
6086 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6087 if sending fails. This makes debugging easier.
6088
6089 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6090
6091 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6092 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6093 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6094
6095 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6096
6097 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6098
6099 2013-08-12 Glenn Morris <rgm@gnu.org>
6100
6101 * format.el (format-annotate-function):
6102 Handle read-only text properties in the source. (Bug#14887)
6103
6104 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6105
6106 * net/eww.el (eww-display-html): Ignore coding system errors.
6107 One web site uses "utf-8lias" as the coding system.
6108
6109 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6112
6113 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6114
6115 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6116 (tutorial--detailed-help): Remove unused local variables.
6117 (tutorial--save-tutorial-to): Use ignore-errors.
6118 (help-with-tutorial): Use looking-at-p.
6119
6120 * view.el (view-buffer-other-window, view-buffer-other-frame):
6121 Mark unused arguments.
6122
6123 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6124 (woman-select-symbol-fonts, woman, woman-find-file)
6125 (woman-insert-file-contents, woman-non-underline-faces):
6126 Use string-match-p.
6127 (woman1-unquote): Move declaration.
6128
6129 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6130 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6131 argument. Remove unused local variable.
6132 (xml-parse-elem-type): Use string-match-p.
6133 (xml-substitute-numeric-entities): Use ignore-errors.
6134
6135 * calculator.el (calculator): Mark unused argument.
6136 (calculator-paste, calculator-quit, calculator-integer-p):
6137 Use ignore-errors.
6138 (calculator-string-to-number, calculator-decimal, calculator-exp)
6139 (calculator-op-or-exp): Use string-match-p.
6140
6141 * dired.el (dired-buffer-more-recently-used-p): Declare.
6142 (dired-insert-set-properties, dired-insert-old-subdirs):
6143 Use ignore-errors.
6144
6145 * dired-aux.el (dired-compress): Use ignore-errors.
6146 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6147 (dired-do-async-shell-command, dired-do-shell-command)
6148 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6149 (dired-insert-subdir-validate): Use string-match-p.
6150 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6151 (dired-add-entry): Use string-match-p, looking-at-p.
6152 (dired-insert-subdir-newpos): Remove unused local variable.
6153
6154 * filenotify.el (file-notify-callback): Remove unused local variable.
6155
6156 * filesets.el (filesets-error): Mark unused argument.
6157 (filesets-which-command-p, filesets-filter-dir-names)
6158 (filesets-directory-files, filesets-get-external-viewer)
6159 (filesets-ingroup-get-data): Use string-match-p.
6160
6161 * find-file.el (ff-other-file-name, ff-other-file-name)
6162 (ff-find-the-other-file, ff-cc-hh-converter):
6163 Remove unused local variables.
6164 (ff-get-file-name): Use string-match-p.
6165 (ff-all-dirs-under): Use ignore-errors.
6166
6167 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6168 (follow-select-if-visible): Remove unused local variable.
6169
6170 * forms.el (read-file-filter): Move declaration.
6171 (forms--make-format, forms--make-parser, forms-insert-record):
6172 Quote function with #'.
6173 (forms--update): Use string-match-p. Quote function with #'.
6174
6175 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6176 (help-make-xrefs): Use looking-at-p.
6177 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6178
6179 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6180 (ibuffer-confirm-operation-on): Use string-match-p.
6181
6182 * msb.el (msb-item-handler, msb-dired-item-handler):
6183 Mark unused arguments.
6184
6185 * ses.el (ses-decode-cell-symbol)
6186 (ses-kill-override): Remove unused local variable.
6187 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6188 (ses-load): Use ignore-errors, looking-at-p.
6189 (ses-jump-safe): Use ignore-errors.
6190 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6191
6192 * tabify.el (untabify, tabify): Mark unused arguments.
6193
6194 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6195 Mark unused argument.
6196 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6197 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6198
6199 * emacs-lisp/timer.el (timer--time): Define setter with
6200 gv-define-setter to avoid deprecation warning.
6201
6202 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6203 (*record-cmpl-statistics-p*): Remove (was commented out).
6204 (cmpl-statistics-block): Remove (body was commented out).
6205 All callers changed.
6206 (add-completions-from-buffer, load-completions-from-file):
6207 Remove unused variables.
6208
6209 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6210
6211 * filecache.el (file-cache-delete-file-list):
6212 Print message only when told so.
6213 (file-cache-files-matching): Use #' in mapconcat argument.
6214
6215 * ffap.el (ffap-url-at-point): Fix reference to variable
6216 thing-at-point-default-mail-uri-scheme.
6217
6218 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * subr.el (define-error): New function.
6221 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6222 error-file-not-found and define with define-error.
6223 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6224 and define with define-error.
6225 * userlock.el (file-locked, file-supersession):
6226 * simple.el (mark-inactive):
6227 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6228 * progmodes/ada-mode.el (ada-mode-errors):
6229 * play/life.el (life-extinct):
6230 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6231 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6232 * nxml/rng-util.el (rng-error):
6233 * nxml/rng-uri.el (rng-uri-error):
6234 * nxml/rng-match.el (rng-compile-error):
6235 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6236 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6237 * nxml/nxml-rap.el (nxml-scan-error):
6238 * nxml/nxml-outln.el (nxml-outline-error):
6239 * net/soap-client.el (soap-error):
6240 * net/gnutls.el (gnutls-error):
6241 * net/ange-ftp.el (ftp-error):
6242 * mpc.el (mpc-proc-error):
6243 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6244 (json-number-format, json-string-escape, json-string-format)
6245 (json-key-format, json-object-format):
6246 * jka-compr.el (compression-error):
6247 * international/quail.el (quail-error):
6248 * international/kkc.el (kkc-error):
6249 * emacs-lisp/ert.el (ert-test-failed):
6250 * calc/calc.el (calc-error, inexact-result, math-overflow)
6251 (math-underflow):
6252 * bookmark.el (bookmark-error-no-filename):
6253 * epg.el (epg-error): Define with define-error.
6254
6255 * time.el (display-time-event-handler)
6256 (display-time-next-load-average): Don't call sit-for since it seems
6257 unnecessary (bug#15045).
6258
6259 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6260 Use #' instead of ' to quote functions.
6261 (checkdoc-output-mode): Use setq-local.
6262 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6263 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6264 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6265 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6266 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6267 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6268 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6269 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6270
6271 * ido.el (ido-completion-help): Fix up compiler warning.
6272
6273 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6274
6275 * frameset.el (frameset-p): Add autoload cookie.
6276 (frameset--jump-to-register): New function, based on code moved from
6277 register.el.
6278 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6279
6280 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6281 (frameset-restore, frameset-save, frameset-session-filter-alist):
6282 Remove declarations.
6283 (register-alist): Doc fix.
6284 (frameset-to-register): Move to frameset.el.
6285 (jump-to-register, describe-register-1): Remove frameset-specific code.
6286
6287 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * allout-widgets.el (allout-widgets-pre-command-business)
6290 (allout-widgets-post-command-business)
6291 (allout-widgets-after-change-handler)
6292 (allout-decorate-item-and-context, allout-set-boundary-marker)
6293 (allout-body-modification-handler)
6294 (allout-graphics-modification-handler): Mark ignored arguments.
6295 (allout-widgets-post-command-business)
6296 (allout-widgets-exposure-change-processor)
6297 (allout-widgets-exposure-undo-processor)
6298 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6299 (allout-parse-item-at-point, allout-decorate-item-guides)
6300 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6301 * allout.el (epa-passphrase-callback-function): Declare.
6302 (allout-overlay-insert-in-front-handler)
6303 (allout-overlay-interior-modification-handler)
6304 (allout-isearch-end-handler, allout-chart-siblings)
6305 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6306 (allout-yank-processing, allout-process-exposed)
6307 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6308 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6309 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6310 (lisp-indent-defform): Mark ignored arguments.
6311 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6312 (calculate-lisp-indent): Remove unused variables.
6313 * international/characters.el (indian-2-column, arabic-2-column)
6314 (tibetan): Mark ignored arguments.
6315 (use-cjk-char-width-table): Mark ignored arguments.
6316 Remove unused variables.
6317 * international/fontset.el (build-default-fontset-data)
6318 (x-compose-font-name, create-fontset-from-fontset-spec):
6319 Mark ignored arguments.
6320 (fontset-plain-name): Remove unused variables.
6321 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6322 (keyboard-coding-system): Mark ignored arguments.
6323 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6324 * help.el (resize-temp-buffer-window):
6325 * window.el (display-buffer-in-major-side-window)
6326 (display-buffer-in-side-window, display-buffer-in-previous-window):
6327 Remove unused variables.
6328 * isearch.el (isearch-forward-symbol):
6329 * version.el (emacs-bzr-version-bzr):
6330 * international/mule-cmds.el (current-language-environment):
6331 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6332 (x-handle-display):
6333 * term/pc-win.el (x-list-fonts, x-display-planes)
6334 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6335 (x-server-version, x-display-screens, x-display-mm-height)
6336 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6337 (x-selection-owner-p, x-own-selection-internal)
6338 (x-disown-selection-internal, x-get-selection-internal)
6339 (msdos-initialize-window-system):
6340 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6341 * term/x-win.el (x-handle-no-bitmap-icon):
6342 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6343 (vc-default-find-file-hook, vc-default-extra-menu):
6344 Mark ignored arguments.
6345
6346 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6347
6348 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6349 break-condition in the context of the debugged code (bug#12685).
6350
6351 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6352
6353 * comint.el:
6354 Do not use an overlay to highlight the last prompt. (Bug#14744)
6355 (comint-mode): Make comint-last-prompt buffer local.
6356 (comint-last-prompt): New variable.
6357 (comint-last-prompt-overlay): Remove. Superseded by
6358 comint-last-prompt.
6359 (comint-snapshot-last-prompt, comint-output-filter):
6360 Use comint-last-prompt.
6361
6362 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6363
6364 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6365 (frameset-save): Check validity of the resulting frameset.
6366
6367 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6368
6369 * ido.el (ido-record-command): Add doc string.
6370
6371 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6372
6373 * frameset.el (frameset): Do not disable creation of the default
6374 frameset-p predicate. Doc fix.
6375 (frameset-valid-p): New function, copied from the old predicate-p.
6376 Add additional checks.
6377 (frameset-restore): Check with frameset-valid-p.
6378 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6379 (frameset-name, frameset-description, frameset-properties)
6380 (frameset-states): Add docstring.
6381 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6382 (frameset-filter-alist): Doc fixes.
6383
6384 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6385
6386 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6387
6388 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6389
6390 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6391 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6392 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6393 (byte-compile-normal-call): Remove obsolescence check.
6394
6395 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6396
6397 * frameset.el (frameset-restore): Doc fix.
6398
6399 * register.el (frameset-frame-id, frameset-frame-with-id)
6400 (frameset-p, frameset-restore, frameset-save): Declare.
6401 (register-alist): Document framesets.
6402 (frameset-session-filter-alist): Declare.
6403 (frameset-to-register): New function.
6404 (jump-to-register): Implement jumping to framesets. Doc fix.
6405 (describe-register-1): Describe framesets.
6406
6407 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6408
6409 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6410
6411 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6412 Use lexical-binding.
6413
6414 * frameset.el (frameset): Use type vector, not list (incompatible
6415 change). Do not declare a new constructor, use the default one.
6416 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6417 `name' and `description', respectively, and add read-only slot
6418 `timestamp'. Doc fixes.
6419 (frameset-copy, frameset-persistent-filter-alist)
6420 (frameset-filter-alist, frameset-switch-to-gui-p)
6421 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6422 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6423 (frameset-filter-iconified, frameset-keep-original-display-p):
6424 Doc fixes.
6425 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6426 Rename from frameset-filter-(save|restore)-param. All callers changed.
6427 Doc fix.
6428 (frameset-p): Adapt to change to vector and be more thorough.
6429 Change arg name to OBJECT. Doc fix.
6430 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6431 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6432 All callers changed.
6433 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6434 All callers changed.
6435 (frameset--record-minibuffer-relationships): Rename from
6436 frameset--process-minibuffer-frames. All callers changed.
6437 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6438 Use new default constructor (again). Doc fix.
6439 (frameset--find-frame-if): Rename from `frameset--find-frame.
6440 All callers changed.
6441 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6442 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6443 Doc fix.
6444 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6445 PARAMETERS and WINDOW-STATE, respectively.
6446 (frameset-restore): Add new keyword argument PREDICATE.
6447 Reset frameset--target-display to nil. Doc fix.
6448
6449 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6452 (bat-mode): Use it.
6453 (bat-mode-syntax-table): Mark \n as end-of-comment.
6454 (bat-font-lock-keywords): Remove comment rule.
6455
6456 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6457 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6458
6459 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6460 (byte-compile-callargs-warn): Use `push'.
6461 (byte-compile-arglist-warn): Ignore higher-order "calls".
6462 (byte-compile-file-form-autoload): Use `pcase'.
6463 (byte-compile-function-form): If quoting a symbol, check that it exists.
6464
6465 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6466
6467 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6468 and add a few popular commands found in batch files.
6469 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6470 (dos-mode): Doc fixes.
6471
6472 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6475 (dos-mode): Use setq-local. Add space after "rem".
6476 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6477 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6478
6479 2013-08-07 Arni Magnusson <arnima@hafro.is>
6480
6481 * progmodes/dos.el: New file.
6482 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6483 dos-mode.
6484
6485 2013-08-06 Glenn Morris <rgm@gnu.org>
6486
6487 * calendar/calendar.el: Add new faces, and day-header-array.
6488 (calendar-weekday-header, calendar-weekend-header)
6489 (calendar-month-header): New faces.
6490 (calendar-day-header-construct): New function.
6491 (calendar-day-header-width): Also :set calendar-day-header-array.
6492 (calendar-american-month-header, calendar-european-month-header)
6493 (calendar-iso-month-header): Use calendar- faces.
6494 (calendar-generate-month):
6495 Use calendar-day-header-array for day headers; apply faces to them.
6496 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6497 (calendar-abbrev-construct): Add optional maxlen argument.
6498 (calendar-day-name-array): Doc fix.
6499 (calendar-day-name-array, calendar-abbrev-length)
6500 (calendar-day-abbrev-array):
6501 Also :set calendar-day-header-array, and maybe redraw.
6502 (calendar-day-header-array): New option. (Bug#15007)
6503 (calendar-font-lock-keywords): Set to nil and make obsolete.
6504 (calendar-day-name): Add option to use header array.
6505
6506 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6507
6508 * net/shr.el (shr-render-td): Remove debugging.
6509 (shr-render-td): Make width computation consistent by defaulting
6510 all zero-width columns to 10 characters. This may not be optimal,
6511 but it's at least consistent.
6512 (shr-make-table-1): Redo last change to fix the real problem in
6513 colspan handling.
6514
6515 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6516
6517 * files.el (cache-long-line-scans):
6518 Make obsolete alias to `cache-long-scans'.
6519
6520 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * frameset.el (frameset, frameset-filter-alist)
6523 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6524 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6525 (frameset-compute-pos): Rename from frameset--compute-pos,
6526 and add docstring.
6527 (frameset-move-onscreen): Use frameset-compute-pos.
6528 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6529
6530 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6531 Fix typos in docstrings.
6532
6533 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6534
6535 * frame.el (get-other-frame): Tiny cleanup.
6536
6537 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * vc/vc.el (vc-default-ignore-completion-table):
6540 Silence byte-compiler warning.
6541
6542 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6543 slot, which can indeed be nil.
6544 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6545 Move entry for `left' from persistent to live filter alist.
6546 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6547 Doc fixes.
6548 (frameset-filter-params): When restoring a frame, copy items added to
6549 `filtered', to avoid unwittingly modifying the original parameters.
6550 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6551 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6552
6553 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6554 to use looking-at-p instead of looking-at. (Bug#15028)
6555
6556 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 Revert introduction of isearch-filter-predicates (bug#14714).
6559 Rely on add-function instead.
6560 * isearch.el (isearch-filter-predicates): Rename it back to
6561 isearch-filter-predicate.
6562 (isearch-message-prefix): Use advice-function-mapc and advice
6563 properties to get the isearch-message-prefix.
6564 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6565 instead of run-hook-with-args-until-failure.
6566 (isearch-filter-visible): Not obsolete any more.
6567 * loadup.el: Preload nadvice.
6568 * replace.el (perform-replace): Revert to funcall
6569 instead of run-hook-with-args-until-failure.
6570 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6571 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6572 dired-isearch-filenames-toggle; make it into a proper minor mode.
6573 Use add/remove-function.
6574 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6575 Call the minor-mode rather than add/remove-hook.
6576 (dired-isearch-filter-filenames):
6577 Remove isearch-message-prefix property.
6578 * info.el (Info--search-loop): New function, extracted from Info-search.
6579 Funcall isearch-filter-predicate instead of
6580 run-hook-with-args-until-failure isearch-filter-predicates.
6581 (Info-search): Use it.
6582 (Info-mode): Use isearch-filter-predicate instead of
6583 isearch-filter-predicates.
6584
6585 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6586
6587 Do not call to `selected-window' where it is assumed by default.
6588 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6589 `window-hscroll', `window-width', `window-height', `window-buffer',
6590 `window-frame', `window-start', `window-point', `next-window'
6591 and `window-display-table'.
6592 * abbrev.el (abbrev--default-expand):
6593 * bs.el (bs--show-with-configuration):
6594 * buff-menu.el (Buffer-menu-mouse-select):
6595 * calc/calc.el (calc):
6596 * calendar/calendar.el (calendar-generate-window):
6597 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6598 (diary-make-entry):
6599 * comint.el (send-invisible, comint-dynamic-complete-filename)
6600 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6601 * completion.el (complete):
6602 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6603 * disp-table.el (describe-current-display-table):
6604 * doc-view.el (doc-view-insert-image):
6605 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6606 * ehelp.el (with-electric-help):
6607 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6608 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6609 * emacs-lisp/helper.el (Helper-help-scroller):
6610 * emulation/cua-base.el (cua--post-command-handler-1):
6611 * eshell/esh-mode.el (eshell-output-filter):
6612 * ffap.el (ffap-gnus-wrapper):
6613 * help-macro.el (make-help-screen):
6614 * hilit-chg.el (highlight-compare-buffers):
6615 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6616 * hl-line.el (global-hl-line-highlight):
6617 * icomplete.el (icomplete-simple-completing-p):
6618 * isearch.el (isearch-done):
6619 * jit-lock.el (jit-lock-stealth-fontify):
6620 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6621 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6622 * mpc.el (mpc-tagbrowser, mpc):
6623 * net/rcirc.el (rcirc-any-buffer):
6624 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6625 * play/landmark.el (landmark-max-width, landmark-max-height):
6626 * play/zone.el (zone):
6627 * progmodes/compile.el (compilation-goto-locus):
6628 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6629 * progmodes/etags.el (find-tag-other-window):
6630 * progmodes/fortran.el (fortran-column-ruler):
6631 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6632 * progmodes/verilog-mode.el (verilog-point-text):
6633 * reposition.el (reposition-window):
6634 * rot13.el (toggle-rot13-mode):
6635 * server.el (server-switch-buffer):
6636 * shell.el (shell-dynamic-complete-command)
6637 (shell-dynamic-complete-environment-variable):
6638 * simple.el (insert-buffer, set-selective-display)
6639 (delete-completion-window):
6640 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6641 (speedbar-recenter):
6642 * startup.el (fancy-splash-head):
6643 * textmodes/ispell.el (ispell-command-loop):
6644 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6645 * tutorial.el (help-with-tutorial):
6646 * vc/add-log.el (add-change-log-entry):
6647 * vc/compare-w.el (compare-windows):
6648 * vc/ediff-help.el (ediff-indent-help-message):
6649 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6650 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6651 (ediff-setup-control-frame):
6652 * vc/emerge.el (emerge-position-region):
6653 * vc/pcvs-util.el (cvs-bury-buffer):
6654 * window.el (walk-windows, mouse-autoselect-window-select):
6655 * winner.el (winner-set-conf, winner-undo): Related users changed.
6656
6657 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6658
6659 * frameset.el (frameset--set-id): Doc fix.
6660 (frameset-frame-id, frameset-frame-id-equal-p)
6661 (frameset-locate-frame-id): New functions.
6662 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6663 (frameset-restore): Use them.
6664
6665 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6666
6667 Do not call to `selected-frame' where it is assumed by default.
6668 Affected functions are `raise-frame', `redraw-frame',
6669 `frame-first-window', `frame-terminal' and `delete-frame'.
6670 * calendar/appt.el (appt-disp-window):
6671 * epg.el (epg-wait-for-completion):
6672 * follow.el (follow-delete-other-windows-and-split)
6673 (follow-avoid-tail-recenter):
6674 * international/mule.el (set-terminal-coding-system):
6675 * mail/rmail.el (rmail-mail-return):
6676 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6677 * progmodes/f90.el (f90-add-imenu-menu):
6678 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6679 * server.el (server-switch-buffer):
6680 * simple.el (delete-completion-window):
6681 * talk.el (talk):
6682 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6683 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6684 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6685 * vc/ediff.el (ediff-documentation): Related users changed.
6686 * frame.el (selected-terminal): Remove the leftover.
6687
6688 2013-08-05 Glenn Morris <rgm@gnu.org>
6689
6690 * calendar/calendar.el (calendar-generate-month):
6691 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6692 (calendar-generate-month, calendar-font-lock-keywords):
6693 Fix for calendar-day-header-width > length of any day name.
6694
6695 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6696
6697 * desktop.el (desktop-clear): Use new name of sort predicate.
6698
6699 * frameset.el (frameset): Add docstring. Move :version property to its
6700 own `version' slot.
6701 (frameset-copy): Rename from copy-frameset.
6702 (frameset-p): Check more thoroughly.
6703 (frameset-prop): Do not check for :version, which is no longer a prop.
6704 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6705 Use new :never value instead of t.
6706 (frameset-filter-alist): Expand and clarify docstring.
6707 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6708 (frameset-filter-minibuffer, frameset-filter-save-param)
6709 (frameset-filter-restore-param, frameset-filter-iconified):
6710 Add pointer to docstring of frameset-filter-alist.
6711 (frameset-filter-params): Rename filter values to be more meaningful:
6712 :never instead of t, and reverse the meanings of :save and :restore.
6713 (frameset--process-minibuffer-frames): Clarify error message.
6714 (frameset-save): Avoid unnecessary and confusing call to framep.
6715 Use new BOA constructor for framesets.
6716 (frameset--reuse-list): Doc fix.
6717 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6718 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6719 (frameset-minibufferless-first-p): Doc fix.
6720 Rename from frameset-sort-frames-for-deletion.
6721 (frameset-restore): Doc fixes. Use new function names.
6722 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6723
6724 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6725
6726 * desktop.el (desktop-restore-forces-onscreen)
6727 (desktop-restore-reuses-frames): Document :keyword constant values.
6728 (desktop-filter-parameters-alist): Remove, now identical to
6729 frameset-filter-alist.
6730 (desktop--filter-tty*): Remove, moved to frameset.el.
6731 (desktop-save-frameset, desktop-restore-frameset):
6732 Do not pass :filters argument.
6733
6734 * frameset.el (frameset-live-filter-alist)
6735 (frameset-persistent-filter-alist): New variables.
6736 (frameset-filter-alist): Use them. Add autoload cookie.
6737 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6738 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6739 `frameset--id' (it's supposed to be internal to frameset.el).
6740 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6741 (frameset--initial-params): New function.
6742 (frameset--get-frame): Use it. Doc fix.
6743 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6744 Accept :all, not 'all.
6745 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6746 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6747 with fbound symbols. Fix frame id matching, and remove matching ids if
6748 the frame being restored is deleted. Obey :delete.
6749
6750 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6751
6752 * subr.el (macrop): New function.
6753 (text-clone--maintaining): New var.
6754 (text-clone--maintain): Rename from text-clone-maintain. Use it
6755 instead of inhibit-modification-hooks.
6756
6757 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6758 a proxy, so as handle autoloads and redefinitions of the target.
6759 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6760
6761 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6762 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6763 (pcase--mutually-exclusive-p): New function.
6764 (pcase--split-consp): Use it.
6765 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6766 mutually exclusive with the current predicate.
6767
6768 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6769 (edebug-macrop): Remove. Use `macrop' instead.
6770 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6771 (ad-macro-p):
6772 * eshell/esh-cmd.el (eshell-macrop):
6773 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6774
6775 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6778 (advice-mapc): New function, using it.
6779 (advice-function-member-p): New function.
6780 (advice--normalize): Store the cdr in advice--saved-rewrite since
6781 that's the part that will be changed.
6782 (advice--symbol-function): New function.
6783 (advice-remove): Handle removal before the function is defined.
6784 Adjust to new advice--saved-rewrite.
6785 (advice-member-p): Use advice-function-member-p and
6786 advice--symbol-function.
6787
6788 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6789
6790 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6791 (frameset-filter-minibuffer): Doc fix.
6792 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6793 (frameset--set-id, frameset--process-minibuffer-frames)
6794 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6795 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6796
6797 * desktop.el (desktop-clear): Only delete frames when called
6798 interactively and desktop-restore-frames is non-nil. Doc fix.
6799 (desktop-read): Set desktop-saved-frameset to nil.
6800
6801 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6802
6803 * vc/vc.el (vc-ignore): Rewrite.
6804 (vc-default-ignore-completion-table):
6805 (vc--read-lines):
6806 (vc--add-line, vc--remove-regexp): New functions.
6807
6808 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6809 (vc-svn-ignore-completion-table): New function.
6810
6811 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6812 (vc-hg-ignore-completion-table):
6813 (vc-hg-find-ignore-file): New functions.
6814
6815 * vc/vc-git.el (vc-git-ignore): Rewrite.
6816 (vc-git-ignore-completion-table):
6817 (vc-git-find-ignore-file): New functions.
6818
6819 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6820
6821 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6822 (vc-bzr-ignore-completion-table):
6823 (vc-bzr-find-ignore-file): New functions.
6824
6825 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6826
6827 * frameset.el (frameset-prop): New function and setter.
6828 (frameset-save): Do not modify frame list passed by the caller.
6829
6830 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6833
6834 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6835
6836 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6837 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6838
6839 * custom.el (custom-initialize-default, custom-initialize-set)
6840 (custom-initialize-reset, custom-initialize-changed): Affect the
6841 toplevel-default-value (bug#6275, bug#14586).
6842 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6843 for bug#6275.
6844
6845 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6846
6847 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6848 Add cl-def* expressions.
6849
6850 * frameset.el (frameset-filter-params): Fix order of arguments.
6851
6852 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6853
6854 Move code related to saving frames to frameset.el.
6855 * desktop.el: Require frameset.
6856 (desktop-restore-frames): Doc fix.
6857 (desktop-restore-reuses-frames): Rename from
6858 desktop-restoring-reuses-frames.
6859 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6860 (desktop-clear): Clear frames too.
6861 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6862 (desktop--filter-tty*, desktop-save, desktop-read):
6863 Use frameset functions.
6864 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6865 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6866 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6867 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6868 (desktop--process-minibuffer-frames, desktop-save-frames)
6869 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6870 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6871 (desktop--sort-states, desktop-restoring-frames-p)
6872 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6873 (desktop-restoring-frameset-p, desktop-restore-frameset)
6874 (desktop--check-dont-save, desktop-save-frameset): New functions.
6875 (desktop--app-id): New constant.
6876 (desktop-first-buffer, desktop-buffer-ok-count)
6877 (desktop-buffer-fail-count): Move before first use.
6878 * frameset.el: New file.
6879
6880 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * files.el: Use lexical-binding.
6883 (dir-locals-read-from-file): Remove unused `err' variable.
6884 (hack-dir-local-variables--warned-coding): New var.
6885 (hack-dir-local-variables): Use it to avoid repeated warnings.
6886 (make-backup-file-name--default-function): New function.
6887 (make-backup-file-name-function): Use it as default.
6888 (buffer-stale--default-function): New function.
6889 (buffer-stale-function): Use it as default.
6890 (revert-buffer-insert-file-contents--default-function): New function.
6891 (revert-buffer-insert-file-contents-function): Use it as default.
6892 (insert-directory): Avoid add-to-list.
6893
6894 * autorevert.el (auto-revert-handler): Simplify.
6895 Use buffer-stale--default-function.
6896
6897 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6898
6899 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6900
6901 * whitespace.el (whitespace-ensure-local-variables): New function.
6902 (whitespace-cleanup-region): Call it.
6903 (whitespace-turn-on): Call it.
6904
6905 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6906
6907 Complete file name handlers.
6908
6909 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6910 (tramp-handle-verify-visited-file-modtime)
6911 (tramp-handle-file-notify-rm-watch): New functions.
6912 (tramp-call-process): Do not bind `default-directory'.
6913
6914 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6915 Order alphabetically.
6916 [access-file, add-name-to-file, dired-call-process]:
6917 [dired-compress-file, file-acl, file-notify-rm-watch]:
6918 [file-ownership-preserved-p, file-selinux-context]:
6919 [make-directory-internal, make-symbolic-link, set-file-acl]:
6920 [set-file-selinux-context, set-visited-file-modtime]:
6921 [verify-visited-file-modtime]: Add handler.
6922 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6923
6924 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6925 [file-notify-add-watch, file-notify-rm-watch]:
6926 [set-file-times, set-visited-file-modtime]:
6927 [verify-visited-file-modtime]: Add handler.
6928 (with-tramp-gvfs-error-message)
6929 (tramp-gvfs-handle-set-visited-file-modtime)
6930 (tramp-gvfs-fuse-file-name): Remove.
6931 (tramp-gvfs-handle-file-notify-add-watch)
6932 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6933 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6934
6935 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6936 Order alphabetically.
6937 [file-notify-rm-watch ]: Use default Tramp handler.
6938 [executable-find]: Remove private handler.
6939 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6940 `default-directory'.
6941 (tramp-sh-handle-executable-find)
6942 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6943 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6944 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6945 Do not use `format' in `tramp-message'.
6946
6947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6948 [file-notify-rm-watch, set-visited-file-modtime]:
6949 [verify-visited-file-modtime]: Add handler.
6950 (tramp-smb-call-winexe): Do not bind `default-directory'.
6951
6952 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6953
6954 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6955
6956 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6957
6958 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6959 use it.
6960 (log-view-diff-changeset): Same.
6961 (log-view-diff-common): Call backend command `previous-revision'
6962 to find out the previous revision, in both cases. Swap the
6963 variables `to' and `fr', so that `fr' usually refers to the
6964 earlier revision (Bug#14989).
6965
6966 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6967
6968 * ibuf-ext.el (ibuffer-filter-by-filename):
6969 Make it work with dired buffers too.
6970
6971 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6972
6973 * emacs-lisp/re-builder.el (reb-color-display-p):
6974 * files.el (save-buffers-kill-terminal):
6975 * net/browse-url.el (browse-url):
6976 * server.el (server-save-buffers-kill-terminal):
6977 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6978 Prefer nil to selected-frame for the first arg of frame-parameter.
6979
6980 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6981
6982 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6983
6984 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6985
6986 * minibuffer.el (completion--twq-all): Try and preserve each
6987 completion's case choice (bug#14907).
6988
6989 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990
6991 * net/network-stream.el (open-network-stream): Mention the new
6992 :nogreeting parameter.
6993 (network-stream-open-starttls): Use the :nogreeting parameter
6994 (bug#14938).
6995
6996 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6997
6998 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6999 more natural than popping.
7000
7001 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7002 (shr-urlify): Highlight under mouse.
7003
7004 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7005
7006 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7007
7008 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7009
7010 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7011 buffer for output.
7012
7013 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7014 point-min==1. Fix search string. Fix parentheses missing.
7015
7016 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7017 assume point-min==1. Fix search string. Fix parentheses missing.
7018
7019 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7020
7021 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7022 buffer for output.
7023
7024 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7025
7026 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7027 initial frame is minibuffer-less. (Bug#14841)
7028
7029 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7030
7031 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7032 option.
7033
7034 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7035 (tramp-maybe-open-connection): Use it.
7036
7037 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7038
7039 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7040 minimal set of parameters passed when creating a frame, because
7041 the minibuffer status of a frame cannot be changed later.
7042
7043 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7044
7045 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7046 replace-regexp-in-string and inadvertent omissions in previous change.
7047 (todo-filter-items): Ensure only file names are comma-separated in
7048 name of filtered items buffer.
7049
7050 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7051
7052 * desktop.el: Optionally force offscreen frames back onscreen.
7053 (desktop-restoring-reuses-frames): New option.
7054 (desktop--compute-pos, desktop--move-onscreen): New functions.
7055 (desktop--make-frame): Use desktop--move-onscreen.
7056
7057 2013-07-27 Alan Mackenzie <acm@muc.de>
7058
7059 Fontify a Java generic method as a function.
7060 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7061 value to t.
7062
7063 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7064
7065 * calendar/todo-mode.el: Add command to rename todo files.
7066 (todo-rename-file): New command.
7067 (todo-key-bindings-t): Add key binding for it. Change the
7068 bindings of todo-filter-regexp-items(-multifile) to use `x'
7069 instead of `r', since the latter is better suited to the new
7070 renaming command.
7071
7072 2013-07-27 Alan Mackenzie <acm@muc.de>
7073
7074 Make Java try-with-resources statement parse properly.
7075 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7076 (c-block-stmt-1-2-key): New language constants/variables.
7077 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7078 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7079 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7080 with c-block-stmt-1-2-key.
7081
7082 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7083
7084 * desktop.el (desktop--make-frame): Apply most frame parameters after
7085 creating the frame to force (partially or totally) offscreen frames to
7086 be restored as such.
7087
7088 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7089
7090 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7091 (Bug#14948)
7092
7093 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7096 `base' arg of backtrace-frame.
7097
7098 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7099
7100 * simple.el (list-processes): Doc fix.
7101
7102 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7103
7104 * desktop.el (desktop--select-frame):
7105 Try harder to reuse existing frames.
7106
7107 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7108
7109 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7110 (edebug-eval): Use backtrace-eval.
7111 (edebug--display, edebug--recursive-edit): Don't let-bind the
7112 edebug-outer-* vars that keep track of variables we locally let-bind.
7113 (edebug-outside-excursion): Don't restore outside values of locally
7114 let-bound vars.
7115 (edebug--display): Use user-error.
7116 (cl-lexical-debug, cl-debug-env): Remove.
7117
7118 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7119
7120 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7121 are restored to be sure that they are visible before deleting any
7122 remaining ones.
7123
7124 2013-07-26 Matthias Meulien <orontee@gmail.com>
7125
7126 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7127 vc-print-root-log. (Bug#14948)
7128
7129 2013-07-26 Richard Stallman <rms@gnu.org>
7130
7131 Add aliases for encrypting mail.
7132 * epa.el (epa-mail-aliases): New option.
7133 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7134 Bind inhibit-read-only so read-only text doesn't ruin everything.
7135 (epa-mail-default-recipients): New subroutine broken out.
7136 Handle epa-mail-aliases.
7137
7138 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7139
7140 Add support for lexical variables to the debugger's `e' command.
7141 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7142 vars, except for debugger-outer-match-data.
7143 (debugger-frame-number): Move check for "on a function call" from
7144 callers into it. Add `skip-base' argument.
7145 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7146 (debugger-env-macro): Only reset the state stored in non-variables,
7147 i.e. current-buffer and match-data.
7148 (debugger-eval-expression): Rewrite using backtrace-eval.
7149 * subr.el (internal--called-interactively-p--get-frame): Remove.
7150 (called-interactively-p):
7151 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7152 `base' arg of backtrace-frame instead.
7153
7154 2013-07-26 Glenn Morris <rgm@gnu.org>
7155
7156 * align.el (align-regexp): Doc fix. (Bug#14857)
7157 (align-region): Explicit error if subexpression missing/does not match.
7158
7159 * simple.el (global-visual-line-mode):
7160 Do not duplicate the mode lighter. (Bug#14858)
7161
7162 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7163
7164 * window.el (display-buffer): In display-buffer bind
7165 split-window-keep-point to t, bug#14829.
7166
7167 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7170 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7171 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7172 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7173 Change accordingly.
7174 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7175 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7176
7177 2013-07-25 Glenn Morris <rgm@gnu.org>
7178
7179 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7180
7181 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7182
7183 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7184 parameter to modify-frame-parameters if the value has not changed;
7185 this is a workaround for bug#14949.
7186 (desktop--make-frame): On cl-delete-if call, check parameter name,
7187 not full parameter.
7188
7189 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7190
7191 * vc/vc.el (vc-ignore): New function.
7192
7193 * vc/vc-svn.el (vc-svn-ignore): New function.
7194
7195 * vc/vc-hg.el (vc-hg-ignore): New function.
7196
7197 * vc/vc-git.el (vc-git-ignore): New function.
7198
7199 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7200 (vc-dir-ignore): New function.
7201
7202 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7203 (cvs-append-to-ignore): Move here from pcvs.el.
7204
7205 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7206
7207 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7208
7209 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7210
7211 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7212 (desktop-restore-frames): Warn when deleting an existing frame failed.
7213
7214 2013-07-24 Glenn Morris <rgm@gnu.org>
7215
7216 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7217
7218 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7219
7220 * filenotify.el (file-notify-supported-p):
7221 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7222 Remove functions.
7223
7224 * autorevert.el (auto-revert-use-notify):
7225 (auto-revert-notify-add-watch):
7226 * net/tramp.el (tramp-file-name-for-operation):
7227 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7228 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7229 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7230 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7231 Remove `file-notify-supported-p' entry.
7232
7233 2013-07-24 Glenn Morris <rgm@gnu.org>
7234
7235 * printing.el: Replace all uses of deleted ps-windows-system,
7236 ps-lp-system, ps-flatten-list with lpr- versions.
7237
7238 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7241 checked with memq (bug#14935).
7242
7243 * files.el (revert-buffer-function): Use a non-nil default.
7244 (revert-buffer-preserve-modes): Declare var to
7245 provide access to the `preserve-modes' argument.
7246 (revert-buffer): Let-bind it.
7247 (revert-buffer--default): New function, extracted from revert-buffer.
7248
7249 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * lpr.el: Signal print errors more prominently.
7252 (print-region-function): Don't default to nil.
7253 (lpr-print-region): New function, extracted from print-region-1.
7254 Check lpr's return value and signal an error in case of problem.
7255 (print-region-1): Use it.
7256 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7257 versions instead.
7258 (ps-printer-name): Default to nil.
7259 (ps-printer-name-option): Default to lpr-printer-switch.
7260 (ps-print-region-function): Don't default to nil.
7261 (ps-postscript-code-directory): Simplify default.
7262 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7263 (ps-string-list, ps-eval-switch, ps-flatten-list)
7264 (ps-flatten-list-1): Remove.
7265 (ps-multibyte-buffer): Avoid setq.
7266 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7267 (print-region-function, ps-print-region-function): Don't set them here.
7268
7269 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7270
7271 * ido.el (ido-fractionp):
7272 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7273 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7274 (ido-max-directory-size, ido-max-dir-file-cache)
7275 (ido-decorations): Doc fix.
7276
7277 * ansi-color.el: Fix old URL.
7278
7279 2013-07-23 Michael R. Mauger <michael@mauger.com>
7280
7281 * progmodes/sql.el: Version 3.3
7282 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7283 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7284 (sql-interactive-remove-continuation-prompt): Rewrite, use
7285 functions above. Fix continuation prompt and complete output line
7286 handling.
7287 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7288 redirected output buffer.
7289 (sql-mode): Restore deleted code (Bug#13591).
7290
7291 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7292
7293 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7294
7295 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7296
7297 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7298
7299 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7301 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7302
7303 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7304
7305 * desktop.el (desktop-clear): Simplify; remove useless checks
7306 against invalid buffer names.
7307 (desktop-list*): Use cl-list*.
7308 (desktop-buffer-info, desktop-create-buffer): Simplify.
7309
7310 2013-07-23 Leo Liu <sdl.web@gmail.com>
7311
7312 * bookmark.el (bookmark-make-record): Restore NAME as a default
7313 value. (Bug#14933)
7314
7315 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7316
7317 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7318 extracted from autoload--insert-text.
7319 (autoload--insert-text): Remove.
7320 (autoload--print-cookie-text): New function, extracted from
7321 autoload--insert-cookie-text.
7322 (autoload--insert-cookie-text): Remove.
7323 (autoload-generate-file-autoloads): Adjust calls accordingly.
7324
7325 * winner.el (winner-hook-installed-p): Remove.
7326 (winner-mode): Simplify accordingly.
7327
7328 * subr.el (add-to-list): Fix compiler-macro when `append' is
7329 not constant. Don't use `cl-member' for the base case.
7330
7331 * progmodes/subword.el: Fix boundary case (bug#13758).
7332 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7333 own group.
7334 (subword-backward-regexp): Make it a constant.
7335 (subword-forward-internal): Don't treat a trailing capital as the
7336 beginning of a word.
7337
7338 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7339
7340 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7341 global value of tabulated-list-revert-hook (bug#14930).
7342
7343 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7344
7345 * desktop.el: Require 'cl-lib.
7346 (desktop-before-saving-frames-functions): New hook.
7347 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7348 for frames being saved. Rename from desktop--save-minibuffer-frames.
7349 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7350 Do not save frames with non-nil `desktop-dont-save' parameter.
7351 Filter out deleted frames.
7352 (desktop--find-frame): Use cl-find-if.
7353 (desktop--select-frame): Use cl-(first|second|third) to access values
7354 of desktop-mini.
7355 (desktop--make-frame): Use cl-delete-if.
7356 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7357 (desktop-restore-frames): Use cl-(first|second|third) to access values
7358 of desktop-mini. Look for visible frame at the end, not while
7359 restoring frames.
7360
7361 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7362 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7363 Use string-match-p, looking-at-p (bug#14927).
7364
7365 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7366
7367 * desktop.el (desktop-saved-frame-states):
7368 Rename from desktop--saved-states; all users changed.
7369 (desktop-save-frames): Rename from desktop--save-frames.
7370 Do not save state to desktop file.
7371 (desktop-save): Save desktop-saved-frame-states to desktop file
7372 and reset to nil.
7373 (desktop-restoring-frames-p): New function.
7374 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7375 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7376 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7377
7378 * desktop.el: Correctly restore iconified frames.
7379 (desktop--filter-iconified-position): New function.
7380 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7381
7382 2013-07-20 Glenn Morris <rgm@gnu.org>
7383
7384 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7385 Let `message' do the formatting.
7386 (def-gdb-preempt-display-buffer): Add explicit format.
7387
7388 * image-dired.el (image-dired-track-original-file):
7389 Use with-current-buffer.
7390 (image-dired-track-thumbnail): Use with-current-buffer.
7391 Avoid changing point of wrong window.
7392
7393 * image-dired.el (image-dired-track-original-file):
7394 Avoid changing point of wrong window. (Bug#14909)
7395
7396 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7397
7398 * progmodes/gdb-mi.el (gdb-done-or-error):
7399 Guard against "%" in gdb output. (Bug#14127)
7400
7401 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7402
7403 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7404 (Bug#14826)
7405
7406 * international/mule.el (coding-system-iso-2022-flags): Fix last
7407 change.
7408
7409 2013-07-20 Kenichi Handa <handa@gnu.org>
7410
7411 * international/mule.el (coding-system-iso-2022-flags):
7412 Add `8-bit-level-4'. (Bug#8522)
7413
7414 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7415
7416 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7417 (bug#14815).
7418
7419 * net/eww.el (eww-process-text-input): Allow inputting when the
7420 point is at the start of the line, as the properties aren't
7421 front-sticky.
7422
7423 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7424 degenerate widths.
7425
7426 2013-07-19 Richard Stallman <rms@gnu.org>
7427
7428 * epa.el (epa-popup-info-window): Doc fix.
7429
7430 * subr.el (split-string): New arg TRIM.
7431
7432 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7433
7434 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7435 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7436
7437 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7438
7439 * filenotify.el (file-notify--library): Rename from
7440 `file-notify-support'. Do not autoload. Adapt all uses.
7441 (file-notify-supported-p): New defun.
7442
7443 * autorevert.el (auto-revert-use-notify):
7444 Use `file-notify-supported-p' instead of `file-notify-support'.
7445 Adapt docstring.
7446 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7447
7448 * net/tramp.el (tramp-file-name-for-operation):
7449 Add `file-notify-supported-p'.
7450
7451 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7452 New defun.
7453 (tramp-sh-file-name-handler-alist): Add it as handler for
7454 `file-notify-supported-p '.
7455
7456 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7457 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7458 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7459 Add `ignore' as handler for `file-notify-*' functions.
7460
7461 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7462
7463 * simple.el (line-move-partial, line-move): Don't start vscroll or
7464 scroll-up if the current line is not taller than the window.
7465 (Bug#14881)
7466
7467 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7468
7469 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7470 highlight question marks in the method names as strings.
7471 (ruby-block-beg-keywords): Inline.
7472 (ruby-font-lock-keyword-beg-re): Extract from
7473 `ruby-font-lock-keywords'.
7474
7475 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7476
7477 * frame.el (blink-cursor-blinks): New defcustom.
7478 (blink-cursor-blinks-done): New defvar.
7479 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7480 (blink-cursor-timer-function): Check if number of blinks has been
7481 done on X and NS.
7482 (blink-cursor-suspend, blink-cursor-check): New defuns.
7483
7484 2013-07-15 Glenn Morris <rgm@gnu.org>
7485
7486 * edmacro.el (edmacro-format-keys): Fix previous change.
7487
7488 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7489
7490 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7491 The hack didn't work outside English locales anyway.
7492
7493 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7494
7495 * simple.el (define-alternatives): Rename from alternatives-define,
7496 per RMS' suggestion.
7497
7498 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7499
7500 * desktop.el (desktop-restore-frames): Change default to t.
7501 (desktop-restore-in-current-display): Now offer more options.
7502 (desktop-restoring-reuses-frames): New customization option.
7503 (desktop--saved-states): Doc fix.
7504 (desktop-filter-parameters-alist): New variable, renamed and expanded
7505 from desktop--excluded-frame-parameters.
7506 (desktop--target-display): New variable.
7507 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7508 (desktop--filter-tty*, desktop--filter-*-color)
7509 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7510 (desktop--filter-save-desktop-parm)
7511 (desktop-restore-in-original-display-p): New functions.
7512 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7513 (desktop--save-minibuffer-frames): New function, inspired by a similar
7514 function from Martin Rudalics.
7515 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7516 (desktop--restore-in-this-display-p): Remove.
7517 (desktop--find-frame): Rename from desktop--find-frame-in-display
7518 and add predicate argument.
7519 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7520 (desktop--reuse-list): New variable.
7521 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7522 New functions.
7523 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7524
7525 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7526
7527 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7528
7529 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7530
7531 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7532 Highlight conversion methods on Kernel.
7533
7534 2013-07-13 Alan Mackenzie <acm@muc.de>
7535
7536 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7537 and comment it out. This out-commenting enables certain C++
7538 declarations to be parsed correctly.
7539
7540 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7541
7542 * international/mule.el (define-coding-system): Doc fix.
7543
7544 * simple.el (default-font-height): Don't call font-info if the
7545 frame's default font didn't change since the frame was created.
7546 (Bug#14838)
7547
7548 2013-07-13 Leo Liu <sdl.web@gmail.com>
7549
7550 * ido.el (ido-read-file-name): Guard against non-symbol value.
7551
7552 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7553
7554 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7555 in nested defuns.
7556
7557 2013-07-13 Leo Liu <sdl.web@gmail.com>
7558
7559 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7560 ido-set-matches call. (Bug#6852)
7561
7562 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7563
7564 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7565 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7566 Ruby 2.0.
7567 (ruby-font-lock-keywords): Distinguish calls to functions with
7568 module-like names from module references. Highlight character
7569 literals.
7570
7571 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7572
7573 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7574 (gdb-send): Handle continued commands. (Bug#14847)
7575
7576 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7577
7578 * desktop.el (desktop--v2s): Remove unused local variable.
7579 (desktop-save-buffer): Make defvar-local; adjust docstring.
7580 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7581 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7582
7583 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7584
7585 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7586
7587 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7588
7589 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7590 (Bug#14842)
7591
7592 2013-07-12 Glenn Morris <rgm@gnu.org>
7593
7594 * doc-view.el: Require cl-lib at runtime too.
7595 (doc-view-remove-if): Remove.
7596 (doc-view-search-next-match, doc-view-search-previous-match):
7597 Use cl-remove-if.
7598
7599 * edmacro.el: Require cl-lib at runtime too.
7600 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7601 (edmacro-mismatch, edmacro-subseq): Remove.
7602
7603 * shadowfile.el: Require cl-lib.
7604 (shadow-remove-if): Remove.
7605 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7606 Use cl-remove-if.
7607
7608 * wid-edit.el: Require cl-lib.
7609 (widget-choose): Use cl-remove-if.
7610 (widget-remove-if): Remove.
7611
7612 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7613 (ebrowse-delete-if-not): Remove.
7614 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7615 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7616 Use cl-delete-if-not.
7617
7618 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7619
7620 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7621 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7622
7623 2013-07-12 Leo Liu <sdl.web@gmail.com>
7624
7625 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7626
7627 2013-07-11 Glenn Morris <rgm@gnu.org>
7628
7629 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7630 (edebug-gensym-index, edebug-gensym):
7631 Remove reimplementation of cl-gensym.
7632 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7633
7634 * thumbs.el: Require cl-lib at run-time too.
7635 (thumbs-gensym-counter, thumbs-gensym):
7636 Remove reimplementation of cl-gensym.
7637 (thumbs-temp-file): Use cl-gensym.
7638
7639 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7640 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7641 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7642 (ert--union, ert--gensym-counter, ert--gensym-counter)
7643 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7644 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7645 (ert-make-test-unbound, ert--expand-should-1)
7646 (ert--expand-should, ert--should-error-handle-error)
7647 (should-error, ert--explain-equal-rec)
7648 (ert--plist-difference-explanation, ert-select-tests)
7649 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7650 Use cl-lib functions rather than reimplementations.
7651
7652 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7653
7654 * net/tramp.el (tramp-methods): Extend docstring.
7655 (tramp-connection-timeout): New defcustom.
7656 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7657 (with-tramp-progress-reporter): Simplify.
7658 (tramp-process-actions): Improve messages.
7659
7660 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7661 * net/tramp-sh.el (tramp-maybe-open-connection):
7662 Use `tramp-connection-timeout'.
7663 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7664 (Bug#14808)
7665
7666 2013-07-11 Leo Liu <sdl.web@gmail.com>
7667
7668 * ido.el (ido-read-file-name): Conform to the requirements of
7669 read-file-name. (Bug#11861)
7670 (ido-read-directory-name): Conform to the requirements of
7671 read-directory-name.
7672
7673 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7674
7675 * subr.el (delay-warning): New function.
7676
7677 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7678
7679 * simple.el (default-line-height): New function.
7680 (line-move-partial, line-move): Use it instead of computing the
7681 line height inline.
7682 (line-move-partial): Always compute ROWH. If the last line is
7683 partially-visible, but its text is completely visible, allow
7684 cursor to enter such a partially-visible line.
7685
7686 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7687
7688 Improve error messages. (Bug#14808)
7689
7690 * net/tramp.el (tramp-current-connection): New defvar, moved from
7691 tramp-sh.el.
7692 (tramp-message-show-progress-reporter-message): Remove, not
7693 needed anymore.
7694 (tramp-error-with-buffer): Show message in minibuffer.
7695 Discard input before waiting. Reset connection timestamp.
7696 (with-tramp-progress-reporter): Improve messages.
7697 (tramp-process-actions): Use progress reporter. Delete process in
7698 case of error. Improve messages.
7699
7700 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7701 Call `tramp-error-with-buffer' with vector and buffer.
7702 (tramp-current-connection): Remove.
7703 (tramp-maybe-open-connection): The car of
7704 `tramp-current-connection' are the first 3 slots of the vector.
7705
7706 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7707
7708 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7709 inside continued strings.
7710
7711 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7712
7713 Timestamp fixes for undo (Bug#14824).
7714 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7715
7716 2013-07-10 Leo Liu <sdl.web@gmail.com>
7717
7718 * files.el (require-final-newline): Allow safe local value.
7719 (Bug#14834)
7720
7721 2013-07-09 Leo Liu <sdl.web@gmail.com>
7722
7723 * ido.el (ido-read-directory-name): Handle fallback.
7724 (ido-read-file-name): Update DIR to ido-current-directory.
7725 (Bug#1516)
7726 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7727
7728 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7729
7730 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7731 "autoload". Remove "warn lower camel case" section, previously
7732 commented out. Highlight negation char. Do not highlight the
7733 target in singleton method definitions.
7734
7735 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7736
7737 * faces.el (tty-setup-hook): Declare the hook.
7738
7739 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7740 and detect when a guard/pred depends on local vars (bug#14773).
7741 (pcase--u1): Adjust caller.
7742
7743 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7744
7745 * simple.el (line-move-partial, line-move): Account for
7746 line-spacing.
7747 (line-move-partial): Avoid setting vscroll when the last
7748 partially-visible line in window is of default height.
7749
7750 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7751
7752 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7753 been used a while.
7754
7755 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7756
7757 * subr.el (read-quoted-char): Remove unused local variable `char'.
7758
7759 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7760
7761 * ediff.el (ediff-version): Version update.
7762 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7763 (ediff-merge-with-ancestor-command, ediff-directories-command)
7764 (ediff-directories3-command, ediff-merge-directories-command)
7765 (ediff-merge-directories-with-ancestor-command): New functions.
7766 All are command-line interfaces to ediff: to facilitate calling
7767 Emacs with the appropriate ediff functions invoked.
7768
7769 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7770 (viper-save-kill-buffer): Check if buffer is modified.
7771
7772 * viper.el (viper-version): Version update.
7773 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7774
7775 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7776
7777 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7778 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7779 (viper-intercept-ESC-key): Simplify.
7780 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7781 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7782 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7783 (viper-setup-ESC-to-escape): New functions.
7784 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7785 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7786
7787 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7788
7789 * simple.el (default-font-height, window-screen-lines):
7790 New functions.
7791 (line-move, line-move-partial): Use them instead of
7792 frame-char-height and window-text-height. This makes scrolling
7793 text smoother when the buffer's default face uses a font that is
7794 different from the frame's default font.
7795
7796 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7797
7798 * files.el (write-file): Do not display confirm dialog for NS,
7799 it does its own dialog, which can't be canceled (Bug#14578).
7800
7801 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7802
7803 * simple.el (line-move-partial): Adjust the row returned by
7804 posn-at-point for the current window-vscroll. (Bug#14567)
7805
7806 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7807
7808 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7809 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7810 spaces.
7811
7812 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7813
7814 * window.el (window-state-put-stale-windows): New variable.
7815 (window--state-put-2): Save list of windows without matching buffer.
7816 (window-state-put): Remove "bufferless" windows if possible.
7817
7818 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7819
7820 * simple.el (alternatives-define): Remove leftover :group keyword.
7821 Tweak docstring.
7822
7823 2013-07-06 Leo Liu <sdl.web@gmail.com>
7824
7825 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7826 (ido-enable-virtual-buffers): New variable.
7827 (ido-buffer-internal, ido-toggle-virtual-buffers)
7828 (ido-make-buffer-list): Use it.
7829 (ido-exhibit): Support turning on and off virtual buffers
7830 automatically.
7831
7832 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7833
7834 * simple.el (alternatives-define): New macro.
7835
7836 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * subr.el (read-quoted-char): Use read-key.
7839 (sit-for): Let read-event decode tty input (bug#14782).
7840
7841 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7842
7843 * calendar/todo-mode.el: Add handling of file deletion, both by
7844 mode command and externally. Fix various related bugs.
7845 Clarify Commentary and improve some documentation strings and code.
7846 (todo-delete-file): New command.
7847 (todo-check-file): New function.
7848 (todo-show): Handle external deletion of the file we're trying to
7849 show (bug#14688). Replace called-interactively-p by an optional
7850 prefix argument to avoid problematic interaction with catch form
7851 when byte compiled (bug#14702).
7852 (todo-quit): Handle external deletion of the archive's todo file.
7853 Make sure the buffer that was visiting the archive file is still
7854 live before trying to bury it.
7855 (todo-category-completions): Handle external deletion of any
7856 category completion files.
7857 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7858 of todo files, in case of external deletion.
7859 (todo-add-file): Replace unnecessary setq by let-binding.
7860 (todo-find-archive): Check whether there are any archives.
7861 Replace unnecessary setq by let-binding.
7862 (todo-archive-done-item): Use find-file-noselect to get the
7863 archive buffer whether or not the archive already exists.
7864 Remove superfluous code. Use file size instead of buffer-file-name to
7865 check if the archive is new; if it is, update list of archives.
7866 (todo-default-todo-file): Allow nil to be a valid value for when
7867 there are no todo files.
7868 (todo-reevaluate-default-file-defcustom): Use corrected definition
7869 of todo-default-todo-file.
7870 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7871 (todo-delete-category, todo-show-categories-table)
7872 (todo-category-number): Clarify comment.
7873 (todo-filter-items): Clarify documentation string.
7874 (todo-show-current-file, todo-display-as-todo-file)
7875 (todo-reset-and-enable-done-separator): Tweak documentation string.
7876 (todo-done-separator): Make separator length window-width, since
7877 bug#2749 is now fixed.
7878
7879 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7880
7881 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7882 Support both "gvfs-monitor-dir" and "inotifywait".
7883 (tramp-sh-file-inotifywait-process-filter): Rename from
7884 `tramp-sh-file-notify-process-filter'.
7885 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7886 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7887
7888 2013-07-05 Leo Liu <sdl.web@gmail.com>
7889
7890 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7891
7892 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7893
7894 * frame.el (display-pixel-height, display-pixel-width)
7895 (display-mm-height, display-mm-width): Mention behavior on
7896 multi-monitor setups in docstrings.
7897 (w32-display-monitor-attributes-list): Declare function.
7898 (display-monitor-attributes-list): Use it.
7899
7900 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7901
7902 * filenotify.el: New package.
7903
7904 * autorevert.el (top): Require filenotify.el.
7905 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7906 instead.
7907 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7908 (auto-revert-notify-handler): Use `file-notify-*' functions.
7909
7910 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7911
7912 * net/tramp.el (tramp-file-name-for-operation):
7913 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7914
7915 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7916 for `file-notify-add-watch' and `file-notify-rm-watch'.
7917 (tramp-process-sentinel): Improve trace.
7918 (tramp-sh-handle-file-notify-add-watch)
7919 (tramp-sh-file-notify-process-filter)
7920 (tramp-sh-handle-file-notify-rm-watch)
7921 (tramp-get-remote-inotifywait): New defuns.
7922
7923 2013-07-03 Juri Linkov <juri@jurta.org>
7924
7925 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7926 call of `occur-read-primary-args' to interactive spec.
7927
7928 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7929 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7930
7931 2013-07-03 Matthias Meulien <orontee@gmail.com>
7932
7933 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7934 `Buffer-menu-multi-occur'. Add it to the menu.
7935 (Buffer-menu-mode): Document it in docstring.
7936 (Buffer-menu-multi-occur): New command. (Bug#14673)
7937
7938 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7939
7940 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7941 keywords and built-ins.
7942
7943 2013-07-03 Glenn Morris <rgm@gnu.org>
7944
7945 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7946
7947 Make info-xref checks case-sensitive by default
7948 * info.el (Info-find-node, Info-find-in-tag-table)
7949 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7950 Add option for exact case matching of nodes.
7951 * info-xref.el (info-xref): New custom group.
7952 (info-xref-case-fold): New option.
7953 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7954
7955 2013-07-03 Leo Liu <sdl.web@gmail.com>
7956
7957 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7958
7959 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7960
7961 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7962 middle of block statement initially, lower the depth. Remove
7963 FIXME comment, not longer valid. Remove middle of block statement
7964 detection, no need to do that anymore since we've been using
7965 `ruby-parse-region' here.
7966
7967 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7968
7969 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7970
7971 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7972
7973 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7974
7975 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7976
7977 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7978 (desktop-restore-in-current-display): New customization option.
7979 (desktop--excluded-frame-parameters): Add `font'.
7980 (desktop--save-frames): Rename from desktop--save-windows.
7981 (desktop--restore-in-this-display-p): New function.
7982 (desktop--make-full-frame): Remove unwanted width/height from
7983 full(width|height) frames.
7984 (desktop--restore-frames): Rename from desktop--restore-windows.
7985 Obey desktop-restore-current-display. Do not delete old frames or
7986 select a new frame unless we were able to restore at least one frame.
7987
7988 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7989
7990 * files.el (find-file-noselect): Simplify conditional expression.
7991
7992 * textmodes/remember.el (remember-append-to-file):
7993 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7994
7995 Add `remember-notes' function to store random notes across Emacs
7996 restarts.
7997 * textmodes/remember.el (remember-data-file): Add :set callback to
7998 affect notes buffer (if any).
7999 (remember-notes): New command.
8000 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8001 New defcustoms for the `remember-notes' function.
8002 (remember-notes-save-and-bury-buffer): New command.
8003 (remember-notes-mode-map): New variable.
8004 (remember-mode): New minor mode.
8005 (remember-notes--kill-buffer-query): New function.
8006 * startup.el (initial-buffer-choice): Add notes to custom type.
8007
8008 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8009
8010 * bindings.el (right-char, left-char): Don't call sit-for, this is
8011 no longer needed. Use arithmetic comparison only for numerical
8012 arguments.
8013
8014 * international/mule-cmds.el (select-safe-coding-system):
8015 Handle the case of FROM being a string correctly. (Bug#14755)
8016
8017 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8018
8019 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8020 progression on degenerate tables.
8021 (shr-rescale-image): ImageMagick animated images currently don't work.
8022
8023 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8024
8025 Some fixes and improvements for desktop frame restoration.
8026 It is still experimental and disabled by default.
8027 * desktop.el (desktop--save-windows): Put the selected frame at
8028 the head of the list.
8029 (desktop--make-full-frame): New function.
8030 (desktop--restore-windows): Try to re-select the frame that was
8031 selected upon saving. Do not abort if some frames fail to restore,
8032 just show an error message and continue. Set up maximized frames
8033 so they have default non-maximized dimensions.
8034
8035 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8038 Don't start heredoc inside a string or comment.
8039
8040 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8041
8042 * bindings.el (visual-order-cursor-movement): New defcustom.
8043 (right-char, left-char): Provide visual-order cursor motion by
8044 calling move-point-visually. Update the doc strings.
8045
8046 2013-06-28 Kenichi Handa <handa@gnu.org>
8047
8048 * international/mule.el (define-coding-system): New coding system
8049 properties :inhibit-null-byte-detection,
8050 :inhibit-iso-escape-detection, and :prefer-utf-8.
8051 (set-buffer-file-coding-system): If :charset-list property of
8052 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8053 appropriate for setting.
8054
8055 * international/mule-cmds.el (select-safe-coding-system):
8056 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8057 multibyte characters, return utf-8 (or one of its siblings).
8058
8059 * international/mule-conf.el (prefer-utf-8): New coding system.
8060 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8061 files.
8062
8063 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8064
8065 * net/shr.el (shr-render-region): New function.
8066
8067 * net/eww.el: Autoload `eww-browse-url'.
8068
8069 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8070
8071 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8072 Adapt to `package-desc-version' being a list.
8073 Use `package--ac-desc-version' to retrieve version from a package
8074 archive element.
8075
8076 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8077
8078 New experimental feature to save&restore window and frame setup.
8079 * desktop.el (desktop-save-windows): New defcustom.
8080 (desktop--saved-states): New var.
8081 (desktop--excluded-frame-parameters): New defconst.
8082 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8083 (desktop--restore-windows, desktop--save-windows): New functions.
8084 (desktop-save): Call `desktop--save-windows'.
8085 (desktop-read): Call `desktop--restore-windows'.
8086
8087 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8088
8089 * net/shr.el (add-face-text-property): Remove compat definition.
8090
8091 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8092
8093 * info.el (Info-try-follow-nearest-node): Move search for footnote
8094 above search for node name to prevent missing a footnote (bug#14717).
8095
8096 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8097
8098 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8099
8100 2013-06-27 Leo Liu <sdl.web@gmail.com>
8101
8102 * net/eww.el (eww-read-bookmarks): Check file size.
8103
8104 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8105
8106 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8107 advice--pending if newdef is nil or an autoload (bug#13820).
8108 (advice-mapc): New function.
8109
8110 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8113 probably.
8114 (eww-mode-map): Add a menu bar.
8115 (eww-add-bookmark): New command.
8116 (eww-bookmark-mode): New mode and commands.
8117 (eww-add-bookmark): Remove newlines from the title.
8118 (eww-bookmark-browse): Don't bug out if it's the only window.
8119
8120 2013-06-26 Glenn Morris <rgm@gnu.org>
8121
8122 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8123 (hfy-size): Handle ttys. (Bug#14668)
8124
8125 * info-xref.el: Update for Texinfo 5 change in *note format.
8126 (info-xref-node-re, info-xref-note-re): New constants.
8127 (info-xref-check-buffer): Use info-xref-note-re.
8128
8129 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8132
8133 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8134 nil terminate the loop (bug#14718).
8135
8136 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8137
8138 * net/eww.el: Rework history traversal. When going forward/back,
8139 put these actions into the history, too, so that they can be
8140 replayed.
8141 (eww-render): Move the history reset to the correct buffer.
8142
8143 2013-06-25 Juri Linkov <juri@jurta.org>
8144
8145 * files-x.el (modify-dir-local-variable): Change the header comment
8146 in the file with directory local variables. (Bug#14692)
8147
8148 * files-x.el (read-file-local-variable-value): Add `default'.
8149 (Bug#14710)
8150
8151 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8152
8153 * net/eww.el (eww-make-unique-file-name): Create a unique file
8154 name before saving to entering `y' accidentally asynchronously.
8155
8156 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8157
8158 * net/eww.el (eww-download): New command and keystroke.
8159
8160 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161
8162 * net/eww.el (eww-copy-page-url): Change name of command.
8163
8164 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8165 be more consistent with Info and dired.
8166
8167 * net/eww.el (eww-mode-map): Ditto.
8168
8169 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8170
8171 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8172 packages from archives.
8173 (package-archive-contents): Change format; include obsolete packages.
8174 (package-desc): Use `dir' to mark builtin packages.
8175 (package--from-builtin): Set the `dir' field to `builtin'.
8176 (generated-autoload-file, version-control): Declare.
8177 (package-compute-transaction): Change first arg and return value to be
8178 lists of package-descs. Adjust to new package-archive-contents format.
8179 (package--add-to-archive-contents): Adjust to new
8180 package-archive-contents format.
8181 (package-download-transaction): Arg is now a list of package-descs.
8182 (package-install): If `pkg' is a package name, pass it as
8183 a requirement, so it is subject to the usual (e.g. disabled) checks.
8184 (describe-package): Accept package-desc as well.
8185 (describe-package-1): Describe a specific package-desc. Add links to
8186 other package-descs for the same package name.
8187 (package-menu-describe-package): Pass the actual package-desc.
8188 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8189 works correctly.
8190 (package-desc-status): New function.
8191 (package-menu--refresh): New function, extracted
8192 from package-menu--generate.
8193 (package-menu--generate): Use it.
8194 (package-delete): Update package-alist.
8195 (package-menu-execute): Don't call package-initialize.
8196
8197 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8198 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8199 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8200 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8201 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8202 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8203
8204 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8205
8206 * window.el (window--state-get-1): Workaround for bug#14527.
8207 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8208
8209 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8210
8211 * net/eww.el (eww-back-url): Implement the history by stashing all
8212 the data into a list.
8213 (eww-forward-url): Allow going forward in the history, too.
8214
8215 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8218 for values and use read--expression for expressions (bug#14710).
8219 (read-file-local-variable): Avoid setq.
8220 (read-file-local-variable-mode): Use minor-mode-list.
8221
8222 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8223
8224 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8225 for DOI URLs.
8226
8227 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8228
8229 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8230 Update imenu-support when dialect changes.
8231
8232 2013-06-25 Leo Liu <sdl.web@gmail.com>
8233
8234 * ido.el (ido-read-internal): Allow forward slash on windows.
8235
8236 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8237
8238 * net/eww.el (eww): Start of strings is \\`, not ^.
8239
8240 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8241
8242 * net/shr.el (shr-browse-url): Fix interactive spec.
8243
8244 * net/eww.el (eww): Add a trailing slash to domain names.
8245
8246 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8247
8248 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8249
8250 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8251
8252 * net/shr.el (shr-browse-url): Use an external browser if given a
8253 prefix.
8254
8255 * net/eww.el (eww-external-browser): Move to shr.
8256
8257 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8258
8259 * net/eww.el (eww): Work more correctly for file: URLs.
8260 (eww-detect-charset): Allow quoted charsets.
8261 (eww-yank-page-url): New command and keystroke.
8262
8263 2013-06-24 Daiki Ueno <ueno@gnu.org>
8264
8265 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8266 file name of gpg executable.
8267 (epg-context-program): New function.
8268 (epg-context-home-directory): New function.
8269 (epg-context-set-program): New function.
8270 (epg-context-set-home-directory): New function.
8271 (epg--start): Use `epg-context-program' instead of
8272 'epg-gpg-program'.
8273 (epg--list-keys-1): Likewise.
8274
8275 2013-06-24 Leo Liu <sdl.web@gmail.com>
8276
8277 * ido.el (ido-read-internal): Fix bug#14620.
8278
8279 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8280
8281 * faces.el (face-documentation): Simplify.
8282 (read-face-attribute, tty-find-type, x-resolve-font-name):
8283 Use `string-match-p'.
8284 (list-faces-display): Use `string-match-p'. Simplify.
8285 (face-spec-recalc): Check face to avoid face alias loops.
8286 (read-color): Use `string-match-p' and non-capturing parenthesis.
8287
8288 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8289
8290 * net/shr.el (shr-rescale-image): Use the new
8291 :max-width/:max-height functionality.
8292
8293 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8294
8295 * net/eww.el (eww-search-prefix): New variable.
8296 (eww): Use it.
8297 (eww-external-browser): New variable.
8298 (eww-mode-map): New keystroke.
8299 (eww-browse-with-external-browser): New command.
8300
8301 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8302
8303 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8304
8305 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8306 Don't skip aligning the next header field when padding is 0;
8307 otherwise, field width is not respected unless the title is as
8308 wide as the field.
8309
8310 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8311
8312 * emacs-lisp/package.el (package-el-version): Remove.
8313 (package-process-define-package): Fix inf-loop.
8314 (package-install): Allow symbols as arguments again.
8315
8316 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8317
8318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8319 add some more keyword-like methods.
8320 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8321
8322 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * bs.el (bs-buffer-show-mark): Make defvar-local.
8325 (bs-mode): Use setq-local.
8326
8327 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8328 (emacs-lock--try-unlocking): Make defvar-local.
8329
8330 2013-06-22 Glenn Morris <rgm@gnu.org>
8331
8332 * play/cookie1.el (cookie-apropos): Minor simplification.
8333
8334 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8335
8336 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8337
8338 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8339 `regexp-opt', it breaks the build during dumping.
8340
8341 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8342
8343 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8344 Highlight keyword-like methods on Kernel and Module with
8345 font-lock-builtin-face.
8346 (auto-mode-alist): Consolidate different entries into one regexp
8347 and add more *file-s.
8348
8349 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8350
8351 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8352
8353 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8354 (diary-entry): Use it in the action of this button type instead of
8355 diary-goto-entry.
8356
8357 * calendar/todo-mode.el: New version.
8358 (todo-add-category): Append new category to end of file and give
8359 it the highest number, instead of putting it at the beginning and
8360 giving it 0. Incorporate noninteractive functionality.
8361 (todo-forward-category): Adapt to 1-based category numbering.
8362 Allow skipping over archived categories.
8363 (todo-backward-category): Derive from todo-forward-category.
8364 (todo-backward-item, todo-forward-item): Make noninteractive and
8365 delegate interactive part to new commands. Make sensitive to done items.
8366 (todo-categories): Make value an alist of category names and
8367 vectors of item counts.
8368 (todo-category-beg): Make a defconst.
8369 (todo-category-number): Use 1 instead of 0 as initial value.
8370 (todo-category-select): Make sensitive to overlays, optional item
8371 highlighting and done items.
8372 (todo-delete-item): Make sensitive to overlays and marked and done items.
8373 (todo-edit-item): Make sensitive to overlays and editing of
8374 date/time header optional. Add format checks.
8375 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8376 no-op if point is not on an item. Advertise using todo-edit-quit.
8377 (todo-edit-mode): Make sensitive to new format, font-locking, and
8378 multiple todo files.
8379 (todo-insert-item, todo-insert-item-here): Derive from
8380 todo-basic-insert-item and extend functionality.
8381 (todo-item-end, todo-item-start): Make sensitive to done items.
8382 (todo-item-string): Don't return text properties. Restore point.
8383 (todo-jump-to-category): Make sensitive to multiple todo files and
8384 todo archives. Use extended category completion.
8385 (todo-lower-item, todo-raise-item): Rename to *-priority and
8386 derive from todo-set-item-priority.
8387 (todo-mode): Derive from special-mode. Make sensitive to new
8388 format, font-locking and multiple todo files. Make read-only.
8389 (todo-mode-map): Don't suppress digit keys, so they can supply
8390 prefix arguments. Add many new key bindings.
8391 (todo-prefix): Insert as an overlay instead of file text.
8392 Change semantics from diary date expression to purely visual mark.
8393 (todo-print): Rename to todo-print-buffer. Make buffer display
8394 features printable. Remove option to restrict number of items
8395 printed. Add option to print to file.
8396 (todo-print-function): Rename to todo-print-buffer-function.
8397 (todo-quit): Extend to handle exiting new todo modes.
8398 (todo-remove-item): Make sensitive to overlays.
8399 (todo-save): Extend to buffers of filtered items.
8400 (todo-show): Make sensitive to done items, multiple todo files and
8401 new todo modes. Offer to convert legacy todo file before creating
8402 first new todo file.
8403 (todo-show-priorities): Rename to todo-top-priorities.
8404 Change semantics of value 0.
8405 (todo-top-priorities): Rename to todo-filter-top-priorities,
8406 derive from todo-filter-items and extend functionality.
8407 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8408 and extend functionality to other types of filtered items.
8409 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8410 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8411 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8412 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8413 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8414 (todo-edit-mode-hook, todo-entry-prefix-function)
8415 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8416 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8417 (todo-initials, todo-insert-threshold, todo-item-string-start)
8418 (todo-line-string, todo-menu, todo-mode-hook)
8419 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8420 (todo-print-priorities, todo-remove-separator)
8421 (todo-save-top-priorities-too, todo-string-count-lines)
8422 (todo-string-multiline-p, todo-time-string-format)
8423 (todo-tmp-buffer-name): Remove.
8424 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8425 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8426 (todo-edit-category-diary-inclusion)
8427 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8428 (todo-edit-file, todo-edit-item-date-day)
8429 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8430 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8431 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8432 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8433 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8434 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8435 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8436 (todo-filter-top-priorities-multifile, todo-find-archive)
8437 (todo-find-filtered-items-file, todo-go-to-source-item)
8438 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8439 (todo-jump-to-archive-category, todo-lower-category)
8440 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8441 (todo-move-category, todo-move-item, todo-next-button)
8442 (todo-next-item, todo-padded-string, todo-powerset)
8443 (todo-previous-button, todo-previous-item)
8444 (todo-print-buffer-to-file, todo-raise-category)
8445 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8446 (todo-set-category-number, todo-set-item-priority)
8447 (todo-set-top-priorities-in-category)
8448 (todo-set-top-priorities-in-file, todo-show-categories-table)
8449 (todo-sort-categories-alphabetically-or-numerically)
8450 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8451 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8452 (todo-toggle-item-header, todo-toggle-item-highlighting)
8453 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8454 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8455 (todo-unarchive-items, todo-unmark-category): New commands.
8456 (todo-absolute-file-name, todo-add-to-buffer-list)
8457 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8458 (todo-basic-insert-item, todo-category-completions)
8459 (todo-category-number, todo-category-string-matcher-1)
8460 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8461 (todo-check-format, todo-clear-matches)
8462 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8463 (todo-current-category, todo-date-string-matcher)
8464 (todo-define-insertion-command, todo-diary-expired-matcher)
8465 (todo-diary-goto-entry, todo-diary-item-p)
8466 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8467 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8468 (todo-done-item-section-p, todo-done-separator)
8469 (todo-done-string-matcher, todo-files, todo-filter-items)
8470 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8471 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8472 (todo-insert-category-line, todo-insert-item-from-calendar)
8473 (todo-insert-sort-button, todo-insert-with-overlays)
8474 (todo-insertion-command-name, todo-insertion-key-bindings)
8475 (todo-label-to-key, todo-longest-category-name-length)
8476 (todo-make-categories-list, todo-mode-external-set)
8477 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8478 (todo-modes-set-3, todo-multiple-filter-files)
8479 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8480 (todo-read-category, todo-read-date, todo-read-dayname)
8481 (todo-read-file-name, todo-read-time)
8482 (todo-reevaluate-category-completions-files-defcustom)
8483 (todo-reevaluate-default-file-defcustom)
8484 (todo-reevaluate-filelist-defcustoms)
8485 (todo-reevaluate-filter-files-defcustom)
8486 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8487 (todo-reset-done-separator, todo-reset-done-separator-string)
8488 (todo-reset-done-string, todo-reset-global-current-todo-file)
8489 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8490 (todo-reset-prefix, todo-set-categories)
8491 (todo-set-date-from-calendar, todo-set-show-current-file)
8492 (todo-set-top-priorities, todo-short-file-name)
8493 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8494 (todo-total-item-counts, todo-update-buffer-list)
8495 (todo-update-categories-display, todo-update-categories-sexp)
8496 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8497 New functions.
8498 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8499 New major modes.
8500 (todo-categories, todo-display, todo-edit, todo-faces)
8501 (todo-filtered): New defgroups.
8502 (todo-archived-only, todo-button, todo-category-string, todo-date)
8503 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8504 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8505 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8506 (todo-add-item-if-new-category, todo-always-add-time-string)
8507 (todo-categories-align, todo-categories-archived-label)
8508 (todo-categories-category-label, todo-categories-diary-label)
8509 (todo-categories-done-label, todo-categories-number-separator)
8510 (todo-categories-todo-label, todo-categories-totals-label)
8511 (todo-category-completions-files, todo-completion-ignore-case)
8512 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8513 (todo-done-separator-string, todo-done-string)
8514 (todo-files-function, todo-filter-done-items, todo-filter-files)
8515 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8516 (todo-initial-category, todo-initial-file, todo-item-mark)
8517 (todo-legacy-date-time-regexp, todo-mode-line-function)
8518 (todo-nondiary-marker, todo-number-prefix)
8519 (todo-print-buffer-function, todo-show-current-file)
8520 (todo-show-done-only, todo-show-first, todo-show-with-done)
8521 (todo-skip-archived-categories, todo-top-priorities-overrides)
8522 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8523 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8524 New defcustoms.
8525 (todo-category-done, todo-date-pattern, todo-date-string-start)
8526 (todo-diary-items-buffer, todo-done-string-start)
8527 (todo-filtered-items-buffer, todo-item-start)
8528 (todo-month-abbrev-array, todo-month-name-array)
8529 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8530 (todo-top-priorities-buffer): New defconsts.
8531 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8532 (todo-categories-with-marks, todo-category-string-face)
8533 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8534 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8535 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8536 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8537 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8538 (todo-font-lock-keywords, todo-global-current-todo-file)
8539 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8540 (todo-insertion-commands-args)
8541 (todo-insertion-commands-args-genlist)
8542 (todo-insertion-commands-names, todo-insertion-map)
8543 (todo-key-bindings-t, todo-key-bindings-t+a)
8544 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8545 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8546 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8547 (todo-visited): New variables.
8548
8549 2013-06-21 Glenn Morris <rgm@gnu.org>
8550
8551 * play/cookie1.el (cookie-apropos): Add optional display argument.
8552 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8553 (psychoanalyze-pinhead): Use cookie-doctor.
8554
8555 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8556
8557 * emacs-lisp/package.el (tar-get-file-descriptor)
8558 (tar--extract): Declare.
8559
8560 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8561
8562 Extend flymake's warning predicate to be a function (bug#14217).
8563 * progmodes/flymake.el (flymake-warning-predicate): New.
8564 (flymake-parse-line): Use it.
8565 (flymake-warning-re): Make obsolete alias to
8566 `flymake-warning-predicate'.
8567
8568 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8569
8570 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8571 (package-obsolete-list): Remove.
8572 (package-activate): Remove min-version argument. Add `force' argument.
8573 Adjust to new package-alist format.
8574 (package-mark-obsolete): Remove.
8575 (package-unpack): Force reload of the package's autoloads.
8576 (package-installed-p): Check builtins if the installed package is not
8577 recent enough.
8578 (package-initialize): Don't reset package-obsolete-list.
8579 Don't specify which package version to activate.
8580 (package-process-define-package, describe-package-1)
8581 (package-menu--generate): Adjust to new package-alist format.
8582
8583 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8584
8585 * allout-widgets.el (allout-widgets-mode-off)
8586 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8587 (allout-widgets-post-command-business)
8588 (allout-widgets-after-copy-or-kill-function)
8589 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8590 (allout-decorate-item-and-context)
8591 (allout-graphics-modification-handler): Fix typos in docstrings.
8592 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8593
8594 * cmuscheme.el (scheme-start-file): Doc fix.
8595 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8596 (scheme-input-filter): Use `string-match-p'.
8597
8598 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8599
8600 * dired-x.el: Use Dired consistently in docstrings.
8601
8602 * dired.el: Use Dired consistently in docstrings.
8603 (dired-readin, dired-mode): Use `setq-local'.
8604 (dired-switches-alist): Make defvar-local.
8605 (dired-buffers-for-dir): Use `zerop'.
8606 (dired-safe-switches-p, dired-switches-escape-p)
8607 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8608 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8609 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8610 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8611 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8612 (dired-toggle-marks, dired-mark-files-containing-regexp)
8613 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8614 (dired-flag-auto-save-files, dired-flag-backup-files):
8615 Use `looking-at-p'.
8616 (dired-mark-files-regexp, dired-build-subdir-alist):
8617 Use `string-match-p', `looking-at-p'.
8618
8619 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8620 (direct-print-region-helper): Use `string-match-p'.
8621
8622 2013-06-21 Leo Liu <sdl.web@gmail.com>
8623
8624 * comint.el (comint-redirect-results-list-from-process):
8625 Fix infinite loop.
8626
8627 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8628
8629 * net/eww.el (eww-update-header-line-format): Quote % characters.
8630
8631 2013-06-21 Glenn Morris <rgm@gnu.org>
8632
8633 * play/cookie1.el (cookie): New custom group.
8634 (cookie-file): New option.
8635 (cookie-check-file): New function.
8636 (cookie): Make it interactive. Make start and end messages optional.
8637 Interactively, display the result. Default to cookie-file.
8638 (cookie-insert): Default to cookie-file.
8639 (cookie-snarf): Make start and end messages optional.
8640 Default to cookie-file. Use with-temp-buffer.
8641 (cookie-read): Rename from read-cookie.
8642 Make start and end messages optional. Default to cookie-file.
8643 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8644 Do not autoload it.
8645 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8646 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8647
8648 2013-06-21 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8651
8652 2013-06-21 Glenn Morris <rgm@gnu.org>
8653
8654 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8655
8656 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8657 Daniel Hackney <dan@haxney.org>
8658
8659 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8660 Consolidate the single-file vs tarball code.
8661 (package-desc-suffix): New function.
8662 (package-desc-full-name): Don't bother inlining it.
8663 (package-load-descriptor): Return the new package-desc.
8664 (package-mark-obsolete): Remove unused arg `package'.
8665 (package-unpack): Make it work for single files as well.
8666 Make it update package-alist.
8667 (package--make-autoloads-and-stuff): Rename from
8668 package--make-autoloads-and-compile. Don't compile any more.
8669 (package--compile): New function.
8670 (package-generate-description-file): New function, extracted from
8671 package-unpack-single.
8672 (package-unpack-single): Remove.
8673 (package--with-work-buffer): Add indentation and debugging info.
8674 (package-download-single): Remove.
8675 (package-install-from-archive): Rename from package-download-tar, make
8676 it take a pkg-desc, and make it work for single files as well.
8677 (package-download-transaction): Simplify.
8678 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8679 external tar program.
8680 (package-install-from-buffer): Remove `pkg-desc' argument.
8681 Use package-tar-file-info for tar-mode buffers.
8682 (package-install-file): Simplify accordingly.
8683 (package-archive-base): Change to take a pkg-desc.
8684 * tar-mode.el (tar--check-descriptor): New function, extracted from
8685 tar-get-descriptor.
8686 (tar-get-descriptor): Use it.
8687 (tar-get-file-descriptor): New function.
8688 (tar--extract): New function, extracted from tar-extract.
8689 (tar--extract): Use it.
8690 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8691 case the summary uses non-ascii. Adjust to new calling convention of
8692 package-tar-file-info.
8693
8694 2013-06-21 Leo Liu <sdl.web@gmail.com>
8695
8696 * comint.el (comint-redirect-results-list-from-process):
8697 Fix random delay. (Bug#14681)
8698
8699 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8700
8701 * profiler.el (profiler-format-number): Use log, not log10.
8702
8703 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8706
8707 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8710 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8711 yet available.
8712 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8713 (AUTOGENEL): ... here.
8714 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8715 (cl--defsubst-expand): Use it.
8716
8717 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8718
8719 * subr.el (log10): Move here from C code, and declare as obsolete.
8720 All uses of (log10 X) replaced with (log X 10).
8721
8722 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8725 Declare with `defvar-local'.
8726 (tabulated-list-use-header-line, tabulated-list-entries)
8727 (tabulated-list-padding, tabulated-list-printer)
8728 (tabulated-list-sort-key): Declare with `defvar-local'.
8729 (tabulated-list-init-header, tabulated-list-print-fake-header):
8730 Use `setq-local'.
8731
8732 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8733
8734 * arc-mode.el (archive-mode): Add `archive-write-file' to
8735 `write-contents-functions' also for remote files. (Bug#14652)
8736
8737 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8738
8739 * cus-edit.el (custom-commands): Fix typos.
8740 (custom-display): Fix tooltip text.
8741 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8742 Fix typos in docstrings.
8743 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8744 (custom-unlispify-menu-entry, custom-magic-value-create)
8745 (custom-add-see-also, custom-group-value-create): Use ?\s.
8746 (custom-guess-type, customize-apropos, editable-field)
8747 (custom-face-value-create): Use `string-match-p'.
8748 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8749
8750 * custom.el (custom-load-symbol): Use `string-match-p'.
8751
8752 * ansi-color.el: Convert to lexical binding.
8753 (ansi-colors): Fix URL.
8754 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8755 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8756 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8757
8758 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8759
8760 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8761
8762 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8763
8764 2013-06-19 Tom Tromey <tromey@redhat.com>
8765
8766 * net/eww.el (eww-top-url): Remove.
8767 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8768 (eww-render): Set new variables. Don't set eww-top-url.
8769 (eww-handle-link): Handle "prev", "home", and "contents".
8770 Downcase the rel text.
8771 (eww-top-url): Choose best top URL.
8772
8773 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8774
8775 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8776 relying in widget.el. Using widget.el leads to too many
8777 user interface inconsistencies.
8778 (eww-self-insert): Implement entering commands in text fields.
8779 (eww-process-text-input): New function to make text input field editing
8780 work.
8781 (eww-submit): Rewrite to use the new-style form methods.
8782 (eww-select-display): Display the correct selected item.
8783 (eww-change-select): Implement changing the select value.
8784 (eww-toggle-checkbox): Implement radio/checkboxes.
8785 (eww-update-field): Fix compilation error.
8786 (eww-tag-textarea): Implement <textarea>.
8787
8788 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8789 we don't shadow mode-specific bindings.
8790
8791 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8792 nothing to push.
8793
8794 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8795
8796 2013-06-19 Glenn Morris <rgm@gnu.org>
8797
8798 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8799
8800 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8801
8802 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8803 not needed.
8804
8805 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8806
8807 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8808
8809 * net/browse-url.el (browse-url-browser-function):
8810 `eww-browse-url' has the right calling signature, `eww' does not.
8811
8812 2013-06-19 Glenn Morris <rgm@gnu.org>
8813
8814 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8815 Only eval autoloaded macros.
8816 (byte-compile-autoload): Only give the macro warning for macros.
8817
8818 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8819 (ps-underlined-faces): Declare.
8820
8821 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8822 (speedbar-add-supported-extension): Declare.
8823
8824 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8825 Don't include a date stamp in the header of the generated file;
8826 it leads to needless differences between output files.
8827
8828 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8829
8830 * net/secrets.el (secrets-struct-secret-content-type):
8831 Replace check of introspection data by a test call of "CreateItem".
8832 Some servers do not offer introspection.
8833
8834 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * electric.el (electric-pair-mode): Improve interaction with
8837 electric-layout-mode.
8838 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8839 (electric-pair-syntax): Use text-mode-syntax-table in comments
8840 and strings.
8841 (electric-pair--insert): New function.
8842 (electric-pair-post-self-insert-function): Use it and
8843 electric--after-char-pos.
8844
8845 2013-06-19 Leo Liu <sdl.web@gmail.com>
8846
8847 * progmodes/octave.el (octave-help): Fix regexp.
8848
8849 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8850
8851 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8852 (shr-table-horizontal-line): Allow nil as a value, and change the
8853 default.
8854 (shr-insert-table-ruler): Respect the nil value.
8855
8856 2013-06-18 Tom Tromey <tromey@barimba>
8857
8858 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8859 New defvars.
8860 (eww-open-file): New defun.
8861 (eww-render): Initialize new variables.
8862 (eww-display-html): Handle "link" and "a".
8863 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8864 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8865 (eww-back-url): Rename from eww-previous-url.
8866 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8867 New defuns.
8868
8869 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8870
8871 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8872 Distinguish ternary operator tokens from slash symbol and slash
8873 char literal.
8874
8875 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8876
8877 Convert symbol prettification into minor mode and global minor mode.
8878
8879 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8880 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8881 (prettify-symbols--keywords): Rename from
8882 `prog-prettify-symbols-alist' and make a local defvar.
8883 (prettify-symbols--compose-symbol): Rename from
8884 `prog--prettify-font-lock-compose-symbol'.
8885 (prettify-symbols--make-keywords): Rename from
8886 `prog-prettify-font-lock-symbols-keywords' and simplify.
8887 (prog-prettify-install): Remove.
8888 (prettify-symbols-mode): New minor mode, based on
8889 `prog-prettify-install'.
8890 (turn-on-prettify-symbols-mode): New function.
8891 (global-prettify-symbols-mode): New globalized minor mode.
8892
8893 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8894 * progmodes/cfengine.el (cfengine3-mode):
8895 * progmodes/perl-mode.el (perl-mode): Don't call
8896 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8897
8898 2013-06-18 Juri Linkov <juri@jurta.org>
8899
8900 * files-x.el (modify-file-local-variable-message): New function.
8901 (modify-file-local-variable)
8902 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8903 and call `modify-file-local-variable-message' when it's non-nil.
8904 (add-file-local-variable, delete-file-local-variable)
8905 (add-file-local-variable-prop-line)
8906 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8907 and use it. (Bug#9820)
8908
8909 2013-06-18 Juri Linkov <juri@jurta.org>
8910
8911 * emulation/vi.el (vi-shell-op):
8912 * emulation/vip.el (vip-execute-com, ex-command):
8913 * emulation/viper-cmd.el (viper-exec-bang):
8914 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8915 the call of `shell-command-on-region'. (Bug#14637)
8916
8917 * simple.el (shell-command-on-region): Doc fix.
8918
8919 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8920
8921 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8922 (bug#14633).
8923
8924 2013-06-18 Glenn Morris <rgm@gnu.org>
8925
8926 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8927
8928 * newcomment.el (comment-search-forward, comment-search-backward):
8929 Doc fix. (Bug#14376)
8930
8931 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8932
8933 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8934 (buffer-face-mode-invoke): Doc fix.
8935
8936 2013-06-18 Matthias Meulien <orontee@gmail.com>
8937
8938 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8939 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8940
8941 2013-06-18 Glenn Morris <rgm@gnu.org>
8942
8943 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8944 Replace obsolete function generic-make-keywords with its expansion.
8945
8946 * progmodes/python.el (ffap-alist): Declare.
8947
8948 * textmodes/reftex.el (bibtex-mode-map): Declare.
8949
8950 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8953 (package-unpack, package-unpack-single): Return the pkg-dir.
8954 (package-download-transaction): Use it to update package-alist.
8955
8956 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8957
8958 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8959 possible choice.
8960
8961 2013-06-17 Juri Linkov <juri@jurta.org>
8962
8963 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8964
8965 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8966
8967 * emacs-lisp/package.el (package-load-descriptor):
8968 Remove `with-syntax-table' call, `read' doesn't need it.
8969 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8970
8971 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8972
8973 * startup.el (command-line): Expand package name returned by
8974 `package--description-file' (bug#14639).
8975
8976 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8977
8978 * emacs-lisp/package.el (package-load-descriptor): Do not call
8979 `emacs-lisp-mode', just use its syntax table.
8980
8981 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8982
8983 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8984 `font-lock-extra-managed-props' if any prettifying keyword is added.
8985 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8986 (prog-mode): Use `setq-local'.
8987
8988 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8989
8990 * international/characters.el (standard-case-table): Set syntax of ?»
8991 and ?« to punctuation.
8992
8993 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8994
8995 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8996 Save relevant match data before calling `syntax-ppss' (bug#14595).
8997
8998 2013-06-15 Juri Linkov <juri@jurta.org>
8999
9000 * files-x.el (modify-file-local-variable-prop-line): Add local
9001 variables to the end of the existing comment on the first line.
9002 Use `file-auto-mode-skip' to skip interpreter magic line,
9003 and also skip XML declaration.
9004
9005 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * startup.el (package--builtin-versions): New var.
9008 (package-subdirectory-regexp): Remove.
9009 (package--description-file): Hard code its value instead.
9010
9011 * emacs-lisp/package.el: Don't activate packages older than builtin.
9012 (package-obsolete-list): Rename from package-obsolete-alist, and make
9013 it into a simple list of package-desc.
9014 (package-strip-version): Remove.
9015 (package-built-in-p): Use package--builtin-versions.
9016 (package-mark-obsolete): Simplify.
9017 (package-process-define-package): Mark it obsolete if older than the
9018 builtin version.
9019 (package-handle-response): Use line-end-position.
9020 (package-read-archive-contents, package--download-one-archive):
9021 Simplify.
9022 (package--add-to-archive-contents): Skip if older than the builtin or
9023 installed version.
9024 (package-menu-describe-package): Fix last change.
9025 (package-list-unversioned): New var.
9026 (package-menu--generate): Use it.
9027
9028 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9029 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9030 (autoload-builtin-package-versions): New variable.
9031 (autoload-generate-file-autoloads): Use them.
9032 Remove the list of autoloaded functions/macros from the
9033 (autoload...) comments.
9034
9035 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9036
9037 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9038
9039 * simple.el (line-move-partial): Don't jump to the next screen
9040 line as soon as it becomes visible. Instead, continue enlarging
9041 the vscroll until the portion of a tall screen line that's left on
9042 display is about the height of the frame's default font.
9043 (Bug#14567)
9044
9045 2013-06-15 Glenn Morris <rgm@gnu.org>
9046
9047 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9048 compilation-error-regexp-alist void, or local while let-bound.
9049
9050 * progmodes/make-mode.el (makefile-mode-syntax-table):
9051 Treat "=" as punctuation. (Bug#14614)
9052
9053 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9054
9055 * help-fns.el (describe-variable):
9056 Add extra line for permanent-local variables.
9057
9058 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9059
9060 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9061 Add export, import, library. (Bug#9164)
9062 (library): Set indent function.
9063
9064 2013-06-14 Glenn Morris <rgm@gnu.org>
9065
9066 * term/xterm.el (xterm--query):
9067 Stop after first matching handler. (Bug#14615)
9068
9069 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9070
9071 Add support for dired in saveplace.
9072 * dired.el (dired-initial-position-hook): New variable.
9073 (dired-initial-position): Call hook to place cursor position.
9074 * saveplace.el (save-place-to-alist): Add dired position.
9075 (save-place-dired-hook): New function.
9076
9077 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9080 through a symbol rather than letrec.
9081
9082 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9083 (package-desc): Add `dir' field.
9084 (package-desc-full-name): New function.
9085 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9086 (package-maybe-load-descriptor): Remove.
9087 (package-load-all-descriptors): Just call package-load-descriptor.
9088 (package--disabled-p): New function.
9089 (package-desc-vers, package-desc-doc): Remove aliases.
9090 (package--dir): Remove function.
9091 (package-activate): Check if a package is disabled.
9092 (package-process-define-package): New function, extracted from
9093 define-package.
9094 (define-package): Turn into a place holder.
9095 (package-unpack-single, package-tar-file-info):
9096 Use package--description-file.
9097 (package-compute-transaction): Use package--disabled-p.
9098 (package-download-transaction): Don't call
9099 package-maybe-load-descriptor since they're all loaded anyway.
9100 (package-install): Change argument to be a pkg-desc.
9101 (package-delete): Use a single pkg-desc argument.
9102 (describe-package-1): Use package-desc-dir instead of package--dir.
9103 Use package-desc property instead of package-symbol.
9104 (package-install-button-action): Adjust accordingly.
9105 (package--push): Rewrite.
9106 (package-menu--print-info): Adjust accordingly. Change the ID format
9107 to be a pkg-desc.
9108 (package-menu-describe-package, package-menu-get-status)
9109 (package-menu--find-upgrades, package-menu-mark-upgrades)
9110 (package-menu-execute, package-menu--name-predicate):
9111 Adjust accordingly.
9112 * startup.el (package--description-file): New function.
9113 (command-line): Use it.
9114 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9115 Use package-desc-version.
9116
9117 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9118 (byte-compile-preprocess): Use it.
9119 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9120 can't quite recognize.
9121 (byte-compile-add-to-list): Remove.
9122 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9123 (cconv-closure-convert): Add assertion.
9124
9125 * emacs-lisp/map-ynp.el: Use lexical-binding.
9126 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9127 Factor out some repeated code.
9128
9129 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9130
9131 * subr.el (with-eval-after-load): New macro.
9132 (eval-after-load): Allow form to be a function.
9133 take advantage of lexical-binding.
9134 (do-after-load-evaluation): Use dolist and adjust to new format.
9135 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9136
9137 2013-06-13 Juri Linkov <juri@jurta.org>
9138
9139 * replace.el (perform-replace): Display "symbol " and other search
9140 modes from `isearch-message-prefix' in the *Help* buffer.
9141
9142 * isearch.el (isearch-query-replace): Add " symbol" and other
9143 possible search modes from `isearch-message-prefix' to the prompt.
9144 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9145 when reading a regexp to collect.
9146
9147 2013-06-13 Juri Linkov <juri@jurta.org>
9148
9149 * isearch.el (word-search-regexp): Match whitespace if the search
9150 string begins or ends in whitespace. The LAX arg is applied to
9151 both ends of the search string. Use `regexp-quote' and explicit
9152 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9153 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9154 boundaries are replaced with symbol boundaries, and characters
9155 between symbols match non-word non-symbol syntax. (Bug#14602)
9156
9157 2013-06-13 Juri Linkov <juri@jurta.org>
9158
9159 * isearch.el (isearch-del-char): Don't exceed the length of
9160 `isearch-string' by the prefix arg. (Bug#14563)
9161
9162 2013-06-13 Juri Linkov <juri@jurta.org>
9163
9164 * isearch.el (isearch-yank-word, isearch-yank-line)
9165 (isearch-char-by-name, isearch-quote-char)
9166 (isearch-printing-char, isearch-process-search-char):
9167 Add optional count prefix arg. (Bug#14563)
9168
9169 * international/isearch-x.el
9170 (isearch-process-search-multibyte-characters):
9171 Add optional count prefix arg.
9172
9173 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9176 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9177 lexical-binding.
9178
9179 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9180
9181 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9182
9183 2013-06-13 Glenn Morris <rgm@gnu.org>
9184
9185 * startup.el (tty-handle-args):
9186 Don't just discard "--" and anything after. (Bug#14608)
9187
9188 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9189
9190 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9191
9192 Implement changes in Secret Service API. Make it backward compatible.
9193 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9194 (secrets-create-item): Use it. Prefix properties with interface.
9195
9196 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9197
9198 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9199 (term-emulate-terminal): Respect term-suppress-hard-newline.
9200
9201 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9202
9203 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9204 Only remove a `thumb-file' overlay. (Bug#14548)
9205
9206 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9207
9208 * mail/reporter.el (reporter-submit-bug-report):
9209 Handle missing package-name. (Bug#14600)
9210
9211 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9212
9213 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9214 (reftex-citation-prompt, reftex-default-bibliography)
9215 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9216 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9217 (reftex-bib-sort-author, reftex-bib-sort-year)
9218 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9219 (reftex-extract-bib-entries-from-thebibliography)
9220 (reftex-get-bibkey-default, reftex-get-bib-names)
9221 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9222 (reftex-format-bib-entry, reftex-parse-bibitem)
9223 (reftex-format-bibitem, reftex-do-citation)
9224 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9225 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9226 (reftex-insert-bib-matches, reftex-format-citation)
9227 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9228 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9229 existing comments into docstrings.
9230
9231 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9232
9233 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9234
9235 2013-06-12 Andreas Schwab <schwab@suse.de>
9236
9237 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9238 for auto-save files.
9239
9240 2013-06-12 Glenn Morris <rgm@gnu.org>
9241
9242 * ido.el (ido-delete-ignored-files): Remove.
9243 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9244 Go back to calling ido-ignore-item-p directly.
9245
9246 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9247
9248 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9249
9250 * ido.el (ido-delete-ignored-files): New function,
9251 split from ido-make-file-list-1.
9252 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9253 (ido-make-file-list-1): Use ido-delete-ignored-files.
9254
9255 2013-06-12 Leo Liu <sdl.web@gmail.com>
9256
9257 * progmodes/octave.el (inferior-octave-startup)
9258 (inferior-octave-completion-table)
9259 (inferior-octave-track-window-width-change)
9260 (octave-eldoc-function-signatures, octave-help)
9261 (octave-find-definition): Use single quoted strings.
9262 (inferior-octave-startup-args): Change default value.
9263 (inferior-octave-startup): Do not hard code "-i" and
9264 "--no-line-editing".
9265 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9266 (inferior-octave-directory-tracker): Use it.
9267 (octave-goto-function-definition): Robustify.
9268 (octave-help): Support highlighting operators in 'See also'.
9269 (octave-find-definition): Find subfunctions only in Octave mode.
9270
9271 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * help-fns.el (help-fns--compiler-macro): If the handler function is
9274 named, then put a link to it.
9275 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9276 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9277 (cl-typep): Use it.
9278 (cl-eval-when): Simplify debug spec.
9279 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9280 compiler-macro function instead of setting `compiler-macro-file'.
9281
9282 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9283
9284 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9285 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9286
9287 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9288 Daniel Hackney <dan@haxney.org>
9289
9290 First part of Daniel Hackney's patch to package.el.
9291 * emacs-lisp/package.el: Use defstruct.
9292 (package-desc): New, main struct.
9293 (package--bi-desc, package--ac-desc): New structs, used to describe the
9294 format in external files.
9295 (package-desc-vers): Replace with package-desc-version accessor.
9296 (package-desc-doc): Replace with package-desc-summary accessor.
9297 (package-activate-1): Remove `package' arg since the pkg-vec now
9298 includes the name.
9299 (define-package): Use package-desc-from-define.
9300 (package-unpack-single): Change file-name arg to be a symbol.
9301 (package--add-to-archive-contents): Use package-desc-create and new
9302 accessor functions to package--ac-desc.
9303 (package-buffer-info, package-tar-file-info): Return a package-desc.
9304 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9305 arg to be a package-desc.
9306 (package-install-file): Adjust accordingly. Use \' to match EOS.
9307 (package--from-builtin): New function.
9308 (describe-package-1, package-menu--generate): Use it.
9309 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9310 (package-generate-autoloads): Idem and return the name of the file.
9311 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9312 Change pkg-info arg to be a package-desc.
9313 Use package-make-ac-desc.
9314 (package-upload-file): Use \' to match EOS.
9315 * finder.el (finder-compile-keywords): Use package-make-builtin.
9316
9317 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * vc/vc.el (vc-deduce-fileset): Change error message.
9320 (vc-read-backend): New function.
9321 (vc-next-action): Use it.
9322
9323 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9324
9325 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9326 (prolog-font-lock-keywords): Use regexp-opt instead.
9327 Don't manually highlight strings.
9328 (prolog-mode-variables): Simplify comment-start-skip.
9329 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9330
9331 * emacs-lisp/generic.el (generic--normalise-comments)
9332 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9333 (generic-mode-set-comments): Use them.
9334 (generic-bracket-support): Use setq-local.
9335 (generic-make-keywords-list): Declare obsolete.
9336
9337 2013-06-11 Glenn Morris <rgm@gnu.org>
9338
9339 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9340 Prettify after setting font-lock-defaults. (Bug#14574)
9341
9342 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9343
9344 * replace.el (query-replace, occur-read-regexp-defaults-function)
9345 (replace-search):
9346 * subr.el (declare-function, number-sequence, local-set-key)
9347 (substitute-key-definition, locate-user-emacs-file)
9348 (with-silent-modifications, split-string, eval-after-load):
9349 Fix typos, remove unneeded backslashes and reflow some docstrings.
9350
9351 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9352
9353 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9354 default for Elisp files.
9355
9356 2013-06-11 Glenn Morris <rgm@gnu.org>
9357
9358 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9359 although define-derived-mode was doing this anyway. (Bug#14583)
9360
9361 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9362
9363 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9364 Fix make-variable-buffer-local call to refer to the correct variable.
9365
9366 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9367
9368 * eshell/em-term.el (eshell-visual-commands)
9369 (eshell-visual-subcommands, eshell-visual-options):
9370 Add summary line to docstrings. Add cross-references.
9371
9372 2013-06-10 Glenn Morris <rgm@gnu.org>
9373
9374 * epa.el (epa-read-file-name): New function. (Bug#14510)
9375 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9376
9377 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9378
9379 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9380 output redirection to be ignored with visual commands.
9381
9382 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9383
9384 * eshell/em-term.el (eshell-visual-command-p): New function.
9385 (eshell-term-initialize): Move long lambda to separate function
9386 eshell-visual-command-p.
9387 * eshell/em-dirs.el (eshell-dirs-initialise):
9388 * eshell/em-script.el (eshell-script-initialize):
9389 Add missing #' to lambda.
9390
9391 2013-06-08 Leo Liu <sdl.web@gmail.com>
9392
9393 * progmodes/octave.el (octave-add-log-current-defun): New function.
9394 (octave-mode): Set add-log-current-defun-function.
9395 (octave-goto-function-definition): Do not move point if not found.
9396 (octave-find-definition): Enhance to try subfunctions first.
9397
9398 2013-06-08 Glenn Morris <rgm@gnu.org>
9399
9400 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9401 (byte-compile-backward-char, byte-compile-backward-word):
9402 Improve previous change, to handle non-explicit nil.
9403
9404 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9405
9406 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9407 (smie--opener/closer-at-point): New function.
9408 (smie--matching-block-data): Use it. Don't match from right after an
9409 opener or right before a closer. Obey smie-blink-matching-inners.
9410 Don't signal a mismatch for repeated inners like "switch..case..case".
9411
9412 2013-06-07 Leo Liu <sdl.web@gmail.com>
9413
9414 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9415 to t. (Bug#14303)
9416 (octave-function-header-regexp): Fix. (Bug#14570)
9417 (octave-help-mode-finish-hook, octave-help-mode-finish):
9418 Remove. Just use temp-buffer-show-hook.
9419
9420 * newcomment.el (comment-search-backward): Revert last change.
9421 (Bug#14434)
9422
9423 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9424
9425 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9426
9427 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9428 through xargs, to avoid failure due to MS-Windows limitations on
9429 command-line length.
9430
9431 2013-06-06 Glenn Morris <rgm@gnu.org>
9432
9433 * font-lock.el (lisp-font-lock-keywords-2):
9434 Treat user-error like error.
9435
9436 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9437 (byte-compile-backward-char, byte-compile-backward-word):
9438 Handle explicit nil arguments. (Bug#14565)
9439
9440 2013-06-05 Alan Mackenzie <acm@muc.de>
9441
9442 * isearch.el (isearch-allow-prefix): New user option.
9443 (isearch-other-meta-char): Don't exit isearch when a prefix
9444 argument is typed whilst `isearch-allow-prefix' is non-nil.
9445 (Bug#9706)
9446
9447 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * autorevert.el (auto-revert-notify-handler): Use memq.
9450 Hide assertion failure.
9451
9452 * skeleton.el: Use cl-lib.
9453 (skeleton-further-elements): Use defvar-local.
9454 (skeleton-insert): Use cl-progv.
9455
9456 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9457
9458 * progmodes/prog-mode.el (prog-prettify-symbols)
9459 (prog-prettify-install): Update docstrings.
9460
9461 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * simple.el: Move all the prog-mode code to prog-mode.el.
9464 * progmodes/prog-mode.el: New file.
9465 * loadup.el: Add prog-mode.el.
9466
9467 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9468
9469 * simple.el (prog-prettify-symbols): Add version.
9470 (prog-prettify-install): Add convenience function to prettify symbols.
9471
9472 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9473 (perl--augmented-font-lock-keywords-1)
9474 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9475 variables and use it.
9476
9477 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9478 (cfengine3-mode): Remove unneeded variable and use it.
9479
9480 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9481 (lisp--augmented-font-lock-keywords-1)
9482 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9483 Remove unneeded variables and use it.
9484
9485 2013-06-05 João Távora <joaotavora@gmail.com>
9486
9487 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9488 to point when opening the connection. (Bug#14380)
9489
9490 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * subr.el (load-history-regexp, load-history-filename-element)
9493 (eval-after-load, after-load-functions, do-after-load-evaluation)
9494 (eval-next-after-load, display-delayed-warnings)
9495 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9496 definition of save-match-data.
9497 (overriding-local-map): Remove accidental obsolescence declaration.
9498
9499 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9500
9501 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9502
9503 Generalize symbol prettify support to prog-mode and implement it
9504 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9505 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9506 (prog--prettify-font-lock-compose-symbol)
9507 (prog-prettify-font-lock-symbols-keywords): New variables and
9508 functions to support symbol prettification.
9509 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9510 (lisp--augmented-font-lock-keywords-1)
9511 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9512 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9513 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9514 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9515 Implement prettify of -> => :: strings.
9516 * progmodes/perl-mode.el (perl-prettify-symbols)
9517 (perl--font-lock-compose-symbol)
9518 (perl--font-lock-symbols-keywords): Move to prog-mode.
9519 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9520 (perl-font-lock-keywords-1)
9521 (perl-font-lock-keywords-2): Remove explicit prettify support.
9522 (perl--augmented-font-lock-keywords)
9523 (perl--augmented-font-lock-keywords-1)
9524 (perl--augmented-font-lock-keywords-2, perl-mode):
9525 Implement prettify support.
9526
9527 2013-06-05 Leo Liu <sdl.web@gmail.com>
9528
9529 Re-implement smie matching block highlight using
9530 show-paren-data-function. (Bug#14395)
9531 * emacs-lisp/smie.el (smie-matching-block-highlight)
9532 (smie--highlight-matching-block-overlay)
9533 (smie--highlight-matching-block-lastpos)
9534 (smie-highlight-matching-block)
9535 (smie-highlight-matching-block-mode): Remove.
9536 (smie--matching-block-data-cache): New variable.
9537 (smie--matching-block-data): New function.
9538 (smie-setup): Use smie--matching-block-data for
9539 show-paren-data-function.
9540
9541 * progmodes/octave.el (octave-mode-menu): Fix.
9542 (octave-find-definition): Skip garbage lines.
9543
9544 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 Fix compilation error with simultaneous dynamic+lexical scoping.
9547 Add warning when a defvar appears after the first let-binding.
9548 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9549 (byte-compile-close-variables): Initialize it.
9550 (byte-compile--declare-var): New function.
9551 (byte-compile-file-form-defvar)
9552 (byte-compile-file-form-define-abbrev-table)
9553 (byte-compile-file-form-custom-declare-variable): Use it.
9554 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9555 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9556 (byte-compile-bind): Handle dynamic bindings that shadow
9557 lexical bindings.
9558 (byte-compile-unbind): Make arg non-optional.
9559 (byte-compile-let): Simplify.
9560 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9561 (cconv--analyse-function, cconv-analyse-form): Populate it.
9562 Protect byte-compile-bound-variables to limit the scope of defvars.
9563 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9564 Remove unneeded rule for `declare'.
9565
9566 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9567 so as to avoid depending on cl-adjoin at run-time.
9568 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9569
9570 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9571 (macroexp--warn-and-return): Use it.
9572
9573 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9574
9575 * subr.el: Convert to lexical binding.
9576 (overriding-local-map): Make obsolete.
9577 (add-to-list): Doc fix. Add compiler macro.
9578 (read-key): Swap values of local maps.
9579
9580 2013-06-05 Leo Liu <sdl.web@gmail.com>
9581
9582 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9583
9584 2013-06-04 Leo Liu <sdl.web@gmail.com>
9585
9586 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9587 (compilation-auto-jump): Suppress the "Mark set" message to give
9588 way to exit message.
9589
9590 2013-06-04 Alan Mackenzie <acm@muc.de>
9591
9592 Remove faulty optimisation from indentation calculation.
9593 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9594 search limit based on 2000 characters back from indent-point.
9595
9596 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9597
9598 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9599
9600 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9601
9602 * emacs-lisp/lisp.el: Use lexical-binding.
9603 (lisp--local-variables-1, lisp--local-variables): New functions.
9604 (lisp--local-variables-completion-table): New var.
9605 (lisp-completion-at-point): Use it complete let-bound vars.
9606
9607 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9608 eagerly (bug#14422).
9609
9610 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9611
9612 * autorevert.el (auto-revert-notify-enabled)
9613 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9614 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9615 (auto-revert-notify-handler): Handle also gfilenotify.
9616
9617 * subr.el (file-notify-handle-event): New defun. Replacing ...
9618 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9619 Remove.
9620
9621 2013-06-03 Juri Linkov <juri@jurta.org>
9622
9623 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9624 `M-s h .'. (Bug#14427)
9625
9626 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9627 command `hi-lock-face-symbol-at-point'.
9628 (hi-lock-face-symbol-at-point): New command.
9629 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9630 (hi-lock-menu): Add `highlight-symbol-at-point'.
9631 (hi-lock-mode): Doc fix.
9632
9633 * isearch.el (isearch-forward-symbol-at-point): New command.
9634 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9635 (isearch-highlight-regexp): Add a regexp which matches
9636 words/symbols for word/symbol mode.
9637
9638 * subr.el (find-tag-default-bounds): New function with the body
9639 mostly moved from `find-tag-default'.
9640 (find-tag-default): Move most code to `find-tag-default-bounds',
9641 call it and apply `buffer-substring-no-properties' afterwards.
9642
9643 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9644
9645 * eshell/em-term.el (eshell-term-initialize):
9646 Use `cl-intersection' rather than `intersection'.
9647
9648 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9649
9650 * vc/log-view.el: Doc fix.
9651 (log-view-mode-map): Copy keymap from `special-mode-map'.
9652
9653 2013-06-02 Eric Ludlam <zappo@gnu.org>
9654
9655 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9656 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9657 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9658 (eieio-unbound, eieio-default-superclass)
9659 (eieio--define-field-accessors, method-static, method-before)
9660 (method-primary, method-after, method-num-lists)
9661 (method-generic-before, method-generic-primary)
9662 (method-generic-after, method-num-slots)
9663 (eieio-specialized-key-to-generic-key)
9664 (eieio--check-type, class-v, class-p)
9665 (eieio-class-name, define-obsolete-function-alias)
9666 (eieio-class-parents-fast, eieio-class-children-fast)
9667 (same-class-fast-p, class-constructor, generic-p)
9668 (generic-primary-only-p, generic-primary-only-one-p)
9669 (class-option-assoc, class-option, eieio-object-p)
9670 (class-abstract-p, class-method-invocation-order)
9671 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9672 (eieio-class-un-autoload, eieio-defclass)
9673 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9674 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9675 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9676 (eieio-defgeneric-reset-generic-form)
9677 (eieio-defgeneric-form-primary-only)
9678 (eieio-defgeneric-reset-generic-form-primary-only)
9679 (eieio-defgeneric-form-primary-only-one)
9680 (eieio-defgeneric-reset-generic-form-primary-only-one)
9681 (eieio-unbind-method-implementations)
9682 (eieio--defmethod, eieio--typep)
9683 (eieio-perform-slot-validation, eieio-validate-slot-value)
9684 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9685 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9686 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9687 (eieio-slot-name-index, eieio-class-slot-name-index)
9688 (eieio-set-defaults, eieio-initarg-to-attribute)
9689 (eieio-attribute-to-initarg, eieio-c3-candidate)
9690 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9691 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9692 (eieio-class-precedence-list, eieio-generic-call-methodname)
9693 (eieio-generic-call-arglst, eieio-generic-call-key)
9694 (eieio-generic-call-next-method-list)
9695 (eieio-pre-method-execution-functions, eieio-generic-call)
9696 (eieio-generic-call-primary-only, eieiomt-method-list)
9697 (eieiomt-optimizing-obarray, eieiomt-install)
9698 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9699 (eieio-generic-form, eieio-defmethod, make-obsolete)
9700 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9701 (defclass): Remove `eval-and-compile' from macro.
9702 (call-next-method, shared-initialize): Instead of using
9703 `scoped-class' variable, use new eieio--scoped-class, and
9704 eieio--with-scoped-class.
9705 (initialize-instance): Rename local variable 'scoped-class' to
9706 'this-class' to remove ambiguitity from old global.
9707
9708 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9709 eieio.el.
9710 (eieio--scoped-class-stack): New variable.
9711 (eieio--scoped-class): New fcn.
9712 (eieio--with-scoped-class): New scoping macro.
9713 (eieio-defclass): Use pushnew instead of add-to-list.
9714 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9715 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9716 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9717 `scoped-class' variable, use new eieio--scoped-class, and
9718 eieio--with-scoped-class.
9719
9720 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9721
9722 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9723
9724 * eshell/esh-ext.el (eshell-external-command): Pass args to
9725 `eshell-find-interpreter'.
9726 (eshell-find-interpreter): Add new second parameter ARGS.
9727
9728 * eshell/em-script.el (eshell-script-initialize): Add second arg
9729 to the function added as MATCH to `eshell-interpreter-alist'.
9730
9731 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9732 the function added as MATCH to `eshell-interpreter-alist'.
9733
9734 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9735 (eshell-visual-options): New defcustom.
9736 (eshell-escape-control-x): Adapt docstring.
9737 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9738 `eshell-visual-options' in addition to `eshell-visual-commands'.
9739 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9740
9741 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9742
9743 * progmodes/python.el (python-indent-block-enders): Add break,
9744 continue and raise keywords.
9745
9746 2013-06-01 Glenn Morris <rgm@gnu.org>
9747
9748 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9749
9750 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9751 * progmodes/cc-cmds.el (delete-forward-p):
9752 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9753 * progmodes/cc-engine.el (buffer-syntactic-context):
9754 * progmodes/cc-fonts.el (face-property-instance):
9755 * progmodes/cc-mode.el (set-keymap-parents):
9756 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9757 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9758 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9759 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9760 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9761
9762 * progmodes/cc-vars.el (other): Emacs has this widget since
9763 at least 21.1, so don't (re)define it.
9764
9765 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9766 Replace the obsolete alias pcomplete-arg-quote-list.
9767
9768 2013-06-01 Leo Liu <sdl.web@gmail.com>
9769
9770 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9771 punctuation syntax.
9772 (inferior-octave-minimal-columns)
9773 (inferior-octave-last-column-width): New variables.
9774 (inferior-octave-track-window-width-change): New function.
9775 (inferior-octave-mode): Adjust column width so that Octave output,
9776 for example from 'ls', can fit into the window nicely.
9777
9778 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9779
9780 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9781 Highlight expansions inside regexp literals.
9782
9783 2013-05-31 Glenn Morris <rgm@gnu.org>
9784
9785 * obsolete/sym-comp.el (symbol-complete):
9786 Replace obsolete completion-annotate-function.
9787
9788 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9789
9790 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9791
9792 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9793 New function, checks if point is inside a literal that allows
9794 expression expansion.
9795 (ruby-syntax-propertize-expansion): Use it.
9796 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9797 around the body.
9798
9799 2013-05-30 Juri Linkov <juri@jurta.org>
9800
9801 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9802 to "\M-si".
9803 (isearch-invisible): New variable.
9804 (isearch-forward): Doc fix.
9805 (isearch-mode): Set `isearch-invisible'
9806 to the value of `search-invisible'.
9807 (isearch-toggle-case-fold): Doc fix.
9808 (isearch-toggle-invisible): New command.
9809 (isearch-query-replace): Let-bind `search-invisible'
9810 to the value of `isearch-invisible'.
9811 (isearch-search): Use `isearch-invisible' instead of
9812 `search-invisible'. Let-bind `search-invisible'
9813 to the value of `isearch-invisible'. (Bug#11378)
9814
9815 2013-05-30 Juri Linkov <juri@jurta.org>
9816
9817 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9818 call when `query-flag' is nil and `search-invisible' is non-nil.
9819 (Bug#11746)
9820
9821 2013-05-30 Glenn Morris <rgm@gnu.org>
9822
9823 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9824
9825 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9826 (cc-require): Suppress spurious "noruntime" warnings.
9827 (cc-require-when-compile): Use fboundp, for sake of compiler.
9828
9829 * progmodes/cc-mode.el: Move load of cc-vars before that of
9830 cc-langs (which in turn loads cc-vars), to quieten compiler.
9831
9832 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * paren.el: Simplify the code.
9835 (show-paren-mode): Always start the timer.
9836 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9837 (show-paren--overlay, show-paren--overlay-1): Rename from
9838 show-paren-overlay and show-paren-overlay-1, and initialize to an
9839 overlay rather than to nil.
9840 (show-paren-function): Misc cleanup and simplifications.
9841
9842 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9843
9844 * paren.el (show-paren-data-function): New hook.
9845 (show-paren--default): New function, extracted from show-paren-function.
9846 (show-paren-function): Use show-paren-data-function.
9847
9848 2013-05-30 Glenn Morris <rgm@gnu.org>
9849
9850 * ielm.el (ielm-map, ielm-complete-symbol):
9851 Use completion-at-point rather than obsolete functions.
9852 (inferior-emacs-lisp-mode): Doc fix.
9853 Set completion-at-point-functions, rather than
9854 comint-dynamic-complete-functions.
9855
9856 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9857 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9858 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9859
9860 * image.el (image-animated-p): Tweak definition.
9861
9862 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9863 (rlogin-process-connection-type): Tweak default. Add set-after.
9864 (rlogin-host): Doc fix.
9865 (rlogin): Tweak prompt.
9866 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9867
9868 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9869 * progmodes/tcl.el (inferior-tcl-mode-map):
9870 Use completion-at-point rather than obsolete alias.
9871
9872 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9873
9874 * minibuffer.el (read-file-name-completion-ignore-case):
9875 Move before completion--in-region, for eager macro expansion.
9876
9877 2013-05-29 Juri Linkov <juri@jurta.org>
9878
9879 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9880 for total count of matching lines. Add `global-matches' for total
9881 count of matches. Rename `matches' to `lines' for count of
9882 matching lines. Add `matches' for count of matches.
9883 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9884 to `prev-line' for line number of prev match endpt.
9885 Increment `matches' for every match. Print the number of
9886 matching lines in the header.
9887 (occur-context-lines): Rename `lines' to `curr-line'.
9888 Rename `prev-lines' to `prev-line'. (Bug#14017)
9889
9890 2013-05-29 Juri Linkov <juri@jurta.org>
9891
9892 * replace.el (perform-replace): Add `skip-read-only-count',
9893 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9894 Increment them for corresponding conditions and report the number
9895 of skipped occurrences in the final message. (Bug#11746)
9896 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9897 (replace-string, replace-regexp): Doc fix.
9898
9899 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9900
9901 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9902
9903 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9904 prog-mode-map (bug#14504).
9905
9906 2013-05-29 Leo Liu <sdl.web@gmail.com>
9907
9908 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9909 (octave-help): Small simplification.
9910
9911 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9912 off the highlight first.
9913
9914 2013-05-29 Glenn Morris <rgm@gnu.org>
9915
9916 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9917 Handle idlwave-last-system-routine-info-cons-cell being nil.
9918
9919 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9920 (idlwave-write-paths): Simplify via with-temp-buffer.
9921
9922 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9923 * emulation/cua-rect.el: Also load cua-base at run time.
9924
9925 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9926 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9927 (cperl-imenu-on-info): Require imenu.
9928
9929 2013-05-28 Alan Mackenzie <acm@muc.de>
9930
9931 Handle "capitalised keywords" correctly.
9932 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9933
9934 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9935
9936 * eshell/em-unix.el: Add -r option to cp.
9937
9938 2013-05-28 Glenn Morris <rgm@gnu.org>
9939
9940 * vc/vc-arch.el (vc-exec-after): Declare.
9941 (vc-switches): Autoload.
9942 * vc/vc-bzr.el: No need to require vc when compiling.
9943 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9944 (vc-resynch-buffer, vc-dir-refresh): Declare.
9945 (vc-setup-buffer, vc-switches): Autoload.
9946 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9947 (vc-resynch-buffer): Declare.
9948 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9949 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9950 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9951 (grep-read-regexp, grep-read-files, grep-expand-template)
9952 (vc-dir-refresh): Declare.
9953 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9954 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9955 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9956 * vc/vc-mtn.el (vc-exec-after): Declare.
9957 (vc-switches): Autoload.
9958 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9959 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9960 (vc-file-tree-walk): Declare.
9961 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9962 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9963 (vc-tag-precondition, vc-rename-master): Autoload.
9964 * vc/vc-svn.el (vc-exec-after): Declare.
9965 (vc-switches, vc-setup-buffer): Autoload.
9966 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9967 Autoload.
9968 (vc-resynch-buffer): Declare.
9969
9970 * obsolete/fast-lock.el (byte-compile-warnings):
9971 Don't warn about obsolete features in this obsolete file.
9972
9973 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9974 Move definition before use.
9975
9976 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9977 (dun-unix-verbs): Remove dun-zippy.
9978 (dun-zippy): Remove function.
9979
9980 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9981
9982 2013-05-27 Juri Linkov <juri@jurta.org>
9983
9984 * replace.el (replace-search): New function with code moved out
9985 from `perform-replace'.
9986 (replace-highlight, replace-dehighlight): Move function definitions
9987 up closer to `replace-search'. (Bug#11746)
9988
9989 2013-05-27 Juri Linkov <juri@jurta.org>
9990
9991 * replace.el (perform-replace): Ignore invisible matches.
9992 In addition to checking `query-replace-skip-read-only', also
9993 filter out matches by calling `run-hook-with-args-until-failure'
9994 on `isearch-filter-predicates', and also check `search-invisible'
9995 for t or call `isearch-range-invisible'.
9996 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9997
9998 2013-05-27 Juri Linkov <juri@jurta.org>
9999
10000 * isearch.el (isearch-filter-predicates): Rename from
10001 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10002 (isearch-message-prefix): Display text from the property
10003 `isearch-message-prefix' of the currently active filters.
10004 (isearch-search): Don't compare `isearch-filter-predicate' with
10005 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10006 on `isearch-filter-predicates'. Also check `search-invisible' for t
10007 or call `isearch-range-invisible'.
10008 (isearch-filter-visible): Make obsolete.
10009 (isearch-lazy-highlight-search):
10010 Call `run-hook-with-args-until-failure' on
10011 `isearch-filter-predicates' and use `isearch-range-invisible'.
10012
10013 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10014 `isearch-filter-predicates' instead of `funcall'ing
10015 `isearch-filter-predicate'.
10016 (Info-mode): Set `Info-isearch-filter' to
10017 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10018
10019 * dired-aux.el (dired-isearch-filter-predicate-orig):
10020 Remove variable.
10021 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10022 (dired-isearch-filenames-end): Add and remove
10023 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10024 instead of changing the value of `isearch-filter-predicate'.
10025 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10026 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10027 Put property `isearch-message-prefix' to "filename " on
10028 `dired-isearch-filter-filenames'.
10029
10030 * wdired.el (wdired-change-to-wdired-mode):
10031 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10032 locally instead of changing `isearch-filter-predicate'.
10033 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10034
10035 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10036
10037 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10038 return the commit hash (Bug#14459). Also set the
10039 `vc-git-detached' property.
10040 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10041 (vc-git-mode-line-string): Use the same help-echo format whether
10042 in detached mode or not, because we know the actual revision now.
10043 When in detached mode, shorten the revision to 7 chars.
10044
10045 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * emacs-lisp/easy-mmode.el (define-minor-mode):
10048 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10049 mode hook and provide a docstring.
10050
10051 2013-05-27 Alan Mackenzie <acm@muc.de>
10052
10053 Remove spurious syntax-table text properties inserted by C-y.
10054 * progmodes/cc-mode.el (c-after-change): Also clear hard
10055 syntax-table property with value nil.
10056
10057 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10060 when reading the events; the buffer layout shall not be changed.
10061
10062 2013-05-27 Leo Liu <sdl.web@gmail.com>
10063
10064 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10065 New variable.
10066 (inferior-octave-directory-tracker): Automatically re-sync
10067 default-directory.
10068 (octave-help): Improve handling of 'See also'.
10069
10070 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * doc-view.el: Minor naming convention tweaks.
10073 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10074
10075 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10076 even if there's no `display' property yet (bug#14435).
10077
10078 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10079
10080 * subr.el (unmsys--file-name): Rename from reveal-filename.
10081
10082 * Makefile.in (custom-deps, finder-data, autoloads)
10083 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10084 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10085 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10086
10087 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10090 error-completion on the first 2 args of condition-case (bug#14446).
10091 Don't burp at EOB.
10092
10093 2013-05-25 Leo Liu <sdl.web@gmail.com>
10094
10095 * comint.el (comint-previous-matching-input): Do not flood the
10096 *Messages* buffer with trivial messages.
10097
10098 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * progmodes/flymake.el (flymake-nop): Don't return a string.
10101 (flymake-set-at): Fix typo.
10102
10103 * simple.el (read--expression): New function, extracted from
10104 eval-expression. Set completion-at-point-functions (bug#14465).
10105 (eval-expression, eval-minibuffer): Use it.
10106
10107 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10108
10109 * progmodes/flymake.el (flymake-save-buffer-in-file)
10110 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10111 (flymake-selected-frame, flymake-log, flymake-ins-after)
10112 (flymake-set-at, flymake-get-buildfile-from-cache)
10113 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10114 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10115 Refine the doc string.
10116 (flymake-get-file-name-mode-and-masks): Reformat.
10117 (flymake-get-real-file-name-function): Fix a minor bug.
10118
10119 2013-05-24 Juri Linkov <juri@jurta.org>
10120
10121 * progmodes/grep.el (grep-mode-font-lock-keywords):
10122 Support =linenumber= format used by git-grep for lines with
10123 function names. (Bug#13549)
10124
10125 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10128 0 after a semi-colon; it works better for smie-auto-fill.
10129 (octave--indent-new-comment-line): New function.
10130 (octave-indent-new-comment-line): Use it (indirectly).
10131 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10132 modify comment-line-break-function.
10133
10134 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10135 (smie-setup): Use add-function to set it.
10136
10137 2013-05-24 Sam Steingold <sds@gnu.org>
10138
10139 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10140 argument (before the `interactive' argument).
10141
10142 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * image-mode.el (image-mode-winprops): Add winprops to
10145 image-mode-winprops-alist before running
10146 image-mode-new-window-functions.
10147 * doc-view.el (doc-view-new-window-function): Don't delay
10148 doc-view-goto-page via timers (bug#14435).
10149
10150 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10151
10152 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10153 (doc-view-desktop-save-buffer): New function.
10154 (doc-view-restore-desktop-buffer): New function.
10155 (desktop-buffer-mode-handlers):
10156 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10157 handler.
10158 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10159 `desktop-save-buffer' function.
10160
10161 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10162
10163 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10164 (tramp-gvfs-file-name-handler): Raise a user error when
10165 `tramp-gvfs-enabled' is nil.
10166 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10167 Do not raise a user error when loading package. (Bug#14447)
10168
10169 * net/xesam.el: Move to obsolete/.
10170
10171 2013-05-24 Glenn Morris <rgm@gnu.org>
10172
10173 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10174
10175 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10176
10177 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10178 (Info-find-node, Man-getpage-in-background): Declare.
10179
10180 * mail/unrmail.el (unrmail):
10181 Replace obsolete detect-coding-with-priority.
10182
10183 * net/socks.el (socks-split-string): Use this rather than split-string.
10184 (socks-nslookup-host): Update for above change.
10185 (dynamic-choice, s5-dynamic-choice-match)
10186 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10187 Comment out unused code.
10188
10189 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10190 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10191 (gud-tooltip-echo-area): Make obsolete.
10192 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10193
10194 * progmodes/js.el (js--optimize-arglist): Declare.
10195
10196 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10197
10198 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10199 (ediff-window-C): Declare.
10200
10201 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10202 Tweak requires to silence compiler.
10203
10204 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10205 (he-search-string, he-tried-table, he-expand-list)
10206 (he-init-string, he-string-member, he-substitute-string)
10207 (he-reset-string): Declare.
10208
10209 * obsolete/options.el (list-options): Use custom-variable-p,
10210 rather than obsolete alias.
10211
10212 2013-05-23 Sam Steingold <sds@gnu.org>
10213
10214 * simple.el (shell-command-on-region): Pass the `replace' argument
10215 down to `call-process-region' to comply with the doc as reported on
10216 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10217
10218 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * emacs-lisp/smie.el (smie-indent-forward-token)
10221 (smie-indent-backward-token): Handle string tokens (bug#14381).
10222
10223 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10224
10225 * ielm.el (ielm-menu): New menu.
10226 (inferior-emacs-lisp-mode): Set comment-start.
10227
10228 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10229
10230 * textmodes/reftex.el (reftex-ref-style-toggle):
10231 Fix deactivate action.
10232
10233 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10234 Add cleveref macros.
10235
10236 * textmodes/reftex-parse.el
10237 (reftex-locate-bibliography-files): Accept options for
10238 bibliography commands.
10239 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10240 Add addbibresource. Basic Biblatex support.
10241
10242 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10243
10244 * net/tramp-gvfs.el (top):
10245 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10246 when loading package. (Bug#14447)
10247
10248 2013-05-23 Glenn Morris <rgm@gnu.org>
10249
10250 * progmodes/js.el: No need to load comint when compiling.
10251 (ring-insert, comint-send-string, comint-send-input)
10252 (comint-last-input-end, ido-chop): Declare.
10253
10254 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10255 * vc/ediff-mult.el: Adjust requires.
10256 (ediff-directories-internal, ediff-directory-revisions-internal)
10257 (ediff-patch-file-internal): Declare.
10258 * vc/ediff-ptch.el: Adjust requires.
10259 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10260 (ediff-find-file): Autoload.
10261 * vc/ediff-util.el: No need to load ediff when compiling.
10262 (ediff-regions-internal): Declare.
10263 * vc/ediff-wind.el: Adjust requires.
10264 (ediff-compute-toolbar-width): Define when compiling.
10265 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10266 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10267 (dired-get-filename, dired-get-marked-files)
10268 (ediff-last-dir-patch, ediff-patch-default-directory)
10269 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10270 (ediff-patch-buffer-internal): Declare.
10271
10272 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10273 (ispell-process, ispell-buffer-local-words, lm-summary)
10274 (lm-section-start, lm-section-end): Declare.
10275 (checkdoc-ispell-init): Simplify.
10276
10277 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10278 (he-string-member, he-reset-string, he-substitute-string): Declare.
10279
10280 * eshell/em-ls.el: Adjust requires.
10281 (eshell-glob-regexp): Declare.
10282 * eshell/em-tramp.el: Adjust requires.
10283 (eshell-parse-command): Autoload.
10284 * eshell/em-xtra.el: Adjust requires.
10285 (eshell-parse-command): Autoload.
10286 * eshell/esh-ext.el: Adjust requires.
10287 (eshell-parse-command, eshell-close-handles): Autoload.
10288 * eshell/esh-io.el: Adjust requires.
10289 (eshell-output-filter): Autoload.
10290 * eshell/esh-util.el: No need to load tramp when compiling.
10291 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10292 Declare.
10293 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10294 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10295 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10296 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10297 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10298 * eshell/esh-opt.el, eshell/esh-proc.el:
10299 * eshell/esh-var.el: Adjust requires.
10300 * eshell/eshell.el: Do not require esh-util twice.
10301 (eshell-add-input-to-history): Declare.
10302 (eshell-command): Check history module is active before using it.
10303
10304 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10305
10306 2013-05-22 Leo Liu <sdl.web@gmail.com>
10307
10308 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10309
10310 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10311
10312 * autorevert.el (auto-revert-notify-add-watch)
10313 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10314 it indicates changes in file modification time.
10315
10316 2013-05-22 Glenn Morris <rgm@gnu.org>
10317
10318 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10319 Always delete the autoloaded function from the noruntime and
10320 unresolved functions lists.
10321
10322 * allout.el: No need to load epa, epg, overlay when compiling.
10323 (epg-context-set-passphrase-callback, epg-list-keys)
10324 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10325 (epg-key-user-id-list): Declare.
10326
10327 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10328 (viper-set-parsing-style-toggling-macro)
10329 (viper-set-emacs-state-searchstyle-macros):
10330 Use called-interactively-p on Emacs.
10331 (viper-looking-back): Make it an obsolete alias. Update callers.
10332 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10333 Use looking-back rather than viper-looking-back.
10334 (viper-tmp-insert-at-eob, viper-enlarge-region)
10335 (viper-read-string-with-history, viper-register-to-point)
10336 (viper-append-to-register, viper-change-state-to-vi)
10337 (viper-backward-char-carefully, viper-forward-char-carefully)
10338 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10339 (viper-change-state-to-emacs): Declare.
10340 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10341 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10342 * emulation/viper-mous.el: Do not load viper-cmd.
10343 (viper-backward-char-carefully, viper-forward-char-carefully)
10344 (viper-forward-word, viper-adjust-window): Declare.
10345
10346 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10347
10348 * progmodes/idlw-help.el (idlwave-help-fontify):
10349 Use called-interactively-p.
10350
10351 * term/w32console.el (w32-get-console-codepage)
10352 (w32-get-console-output-codepage): Declare.
10353
10354 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10355 Remove unnecessary declarations.
10356 (dframe-message): Doc fix.
10357
10358 * info.el (dframe-select-attached-frame, dframe-current-frame):
10359 Declare.
10360
10361 * speedbar.el (speedbar-message): Make it an obsolete alias.
10362 Update all callers.
10363 (speedbar-with-attached-buffer)
10364 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10365 (speedbar-with-writable): Use backquote.
10366 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10367 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10368 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10369 rather than speedbar- aliases.
10370 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10371 (speedbar-make-specialized-keymap, speedbar-insert-button)
10372 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10373 (speedbar-do-function-pointer): Declare.
10374 (rmail-speedbar-button, rmail-speedbar-find-file)
10375 (rmail-speedbar-move-message):
10376 Use dframe-with-attached-buffer rather than speedbar- alias.
10377 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10378 (dframe-message, speedbar-make-specialized-keymap)
10379 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10380 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10381 (speedbar-insert-button, dframe-select-attached-frame)
10382 (dframe-maybee-jump-to-attached-frame)
10383 (speedbar-change-initial-expansion-list)
10384 (speedbar-previously-used-expansion-list-name): Declare.
10385 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10386 Use dframe-message, dframe-with-attached-buffer rather than
10387 speedbar- aliases.
10388 (gud-sentinel): Silence compiler.
10389 * progmodes/vhdl-mode.el (speedbar-refresh)
10390 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10391 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10392 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10393 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10394 (speedbar-file-lists, speedbar-make-tag-line)
10395 (speedbar-line-directory, speedbar-goto-this-file)
10396 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10397 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10398 (speedbar-make-button, speedbar-reset-scanners)
10399 (speedbar-files-item-info, speedbar-line-text)
10400 (speedbar-find-file-in-frame, speedbar-set-timer)
10401 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10402 (speedbar-with-writable): Do not (re)define it.
10403 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10404 rather than speedbar- alias.
10405
10406 2013-05-21 Leo Liu <sdl.web@gmail.com>
10407
10408 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10409 menu items.
10410 (octave-mode): Tweak fill-nobreak-predicate.
10411 (inferior-octave-startup): Check process to avoid infinite loop.
10412 (inferior-octave): Pop to buffer first to show abornmal process
10413 exit information.
10414
10415 2013-05-21 Glenn Morris <rgm@gnu.org>
10416
10417 * printing.el (pr-menu-bar): Define when compiling.
10418
10419 2013-05-21 Leo Liu <sdl.web@gmail.com>
10420
10421 * progmodes/octave.el (octave-auto-fill): Remove.
10422 (octave-indent-new-comment-line): Improve.
10423 (octave-mode): Use auto fill mode through
10424 comment-line-break-function and fill-nobreak-predicate.
10425 (octave-goto-function-definition): Support DEFUN_DLD.
10426 (octave-beginning-of-defun): Small tweak.
10427 (octave-help): Show parent directory.
10428
10429 2013-05-21 Glenn Morris <rgm@gnu.org>
10430
10431 * files.el (dired-unmark):
10432 * progmodes/gud.el (gdb-input): Update declarations.
10433
10434 * calculator.el (electric, ehelp): No need to load when compiling.
10435 (Electric-command-loop, electric-describe-mode): Declare.
10436
10437 * doc-view.el (doc-view-current-converter-processes): Move before use.
10438
10439 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10440 Move MODE-set-explicitly definition before use.
10441
10442 * international/mule-diag.el (mule-diag):
10443 Don't use obsolete window-system-version.
10444
10445 * mail/feedmail.el (smtpmail): No need to load when compiling.
10446 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10447
10448 * mail/mail-utils.el (rfc822): No need to load when compiling.
10449 (rfc822-addresses): Autoload it.
10450 (mail-strip-quoted-names): Trivial simplification.
10451
10452 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10453 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10454
10455 * net/snmp-mode.el (tempo): Don't duplicate requires.
10456
10457 * progmodes/prolog.el (info): No need to load when compiling.
10458 (comint): Require before shell requires it.
10459 (Info-goto-node): Autoload it.
10460 (Info-follow-nearest-node): Declare.
10461 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10462
10463 * textmodes/artist.el (picture-mode-exit): Declare.
10464
10465 * textmodes/reftex-parse.el (reftex-parse-from-file):
10466 Trivial rewrite so the compiler can parse it better.
10467
10468 2013-05-20 Leo Liu <sdl.web@gmail.com>
10469
10470 * progmodes/octave.el (octave-help-mode-map)
10471 (octave-help-mode-finish-hook): New variables.
10472 (octave-help-mode, octave-help-mode-finish): New functions.
10473 (octave-help): Use octave-help-mode.
10474
10475 2013-05-20 Glenn Morris <rgm@gnu.org>
10476
10477 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10478
10479 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10480
10481 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10482 start at point, so that expansion starting right after opening
10483 slash in a regexp is recognized.
10484 (ruby-syntax-before-regexp-re): New defvar, extracted from
10485 ruby-syntax-propertize-function. Since the value of this regexp
10486 is looked up at runtime now, we should be able to turn
10487 `ruby-syntax-methods-before-regexp' into a defcustom later.
10488 (ruby-syntax-propertize-function): Split regexp matching into two
10489 parts, for opening and closing slashes. That allows us to skip
10490 over string interpolations and support multiline regexps.
10491 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10492 for them, which calls `ruby-syntax-propertize-expansion'.
10493 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10494 call to `ruby-syntax-propertize-function'.
10495 (ruby-syntax-propertize-expansion): Extracted from
10496 `ruby-syntax-propertize-expansions'. Handles one expansion.
10497 (ruby-syntax-propertize-percent-literal): Leave point right after
10498 the percent symbol, so that the expression expansion rule can
10499 propertize the contents.
10500 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10501 heredoc openers.
10502 (ruby-syntax-propertize-expansions): Remove.
10503
10504 2013-05-18 Juri Linkov <juri@jurta.org>
10505
10506 * man.el (Man-default-man-entry): Remove `-' from the end
10507 of the default value. (Bug#14400)
10508
10509 2013-05-18 Glenn Morris <rgm@gnu.org>
10510
10511 * comint.el (comint-password-prompt-regexp):
10512 Allow "password for XXX" where XXX contains colons (eg https://...).
10513
10514 2013-05-18 Leo Liu <sdl.web@gmail.com>
10515
10516 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10517 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10518 (octave-source-directories): Don't check process.
10519 (octave-source-directories, octave-find-definition): Doc fix.
10520
10521 2013-05-18 Glenn Morris <rgm@gnu.org>
10522
10523 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10524 Remove backspace/delete bindings. (Bug#14392)
10525
10526 * cus-dep.el (custom-make-dependencies): Sort the output.
10527 (custom-versions-load-alist): Convert comment to doc.
10528
10529 2013-05-17 Leo Liu <sdl.web@gmail.com>
10530
10531 * newcomment.el (comment-search-backward): Stricter in finding
10532 comment start. (Bug#14303)
10533
10534 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10535 (octave-comment-start-skip): Properly anchored.
10536
10537 2013-05-17 Leo Liu <sdl.web@gmail.com>
10538
10539 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10540 Clean up when turned off. (Bug#14395)
10541 (smie--highlight-matching-block-overlay): No longer buffer-local.
10542 (smie-highlight-matching-block): Adjust.
10543
10544 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10545
10546 Doc string fix for "nanoseconds" (Bug#14406).
10547 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10548 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10549
10550 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10551
10552 * calc/calc-units.el (math-extract-units): Preserve powers
10553 of units.
10554
10555 2013-05-17 Leo Liu <sdl.web@gmail.com>
10556
10557 * subr.el (delete-consecutive-dups): New function.
10558 * ido.el (ido-set-matches-1): Use it.
10559 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10560 * ido.el (ido-remove-consecutive-dups): Remove.
10561
10562 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10565 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10566 regexp-opt's `words'.
10567
10568 2013-05-16 Leo Liu <sdl.web@gmail.com>
10569
10570 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10571 (smie--highlight-matching-block-overlay)
10572 (smie--highlight-matching-block-lastpos)
10573 (smie--highlight-matching-block-timer): New variables.
10574 (smie-highlight-matching-block): New function.
10575 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10576 (smie-setup): Conditionally enable smie-blink-matching-open.
10577
10578 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10579
10580 Sync with upstream verilog-mode r840.
10581 * progmodes/verilog-mode.el (verilog-mode-version)
10582 (verilog-mode-release-date): Update.
10583 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10584 (verilog-sig-tieoff): Fix string error on
10585 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10586 (verilog-read-decls): Fix parameters confusing
10587 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10588
10589 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10590
10591 * subr.el (reveal-filename): New function.
10592
10593 * loadup.el: Compute Emacs executable versions on MS-Windows,
10594 where executables have the .exe extension. Add a hard link
10595 emacs-XX.YY.ZZ.exe on MS-Windows.
10596
10597 * Makefile.in (XARGS_LIMIT): New variable.
10598 (custom-deps, finder-data, autoloads)
10599 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10600 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10601 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10602 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10603
10604 2013-05-16 Leo Liu <sdl.web@gmail.com>
10605
10606 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10607 (octave-mode-menu, octave-mode-map): Remove its uses.
10608
10609 2013-05-16 Reto Zimmermann <reto@gnu.org>
10610
10611 Sync with upstream vhdl mode v3.34.2.
10612 * progmodes/vhdl-mode.el: Use `push' throughout.
10613 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10614 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10615 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10616 (vhdl-actual-generic-name): New option to derive actual generic name.
10617 (vhdl-port-paste-signals): Replace formal by actual generics.
10618 (vhdl-beautify): New name for old group vhdl-align. Update users.
10619 (vhdl-beautify-options): New option.
10620 (vhdl-last-input-event): New compat alias. Use throughout.
10621 (vhdl-goto-line): Replace user level function `goto-line'.
10622 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10623 vhdl-fix-statement-buffer.
10624 (vhdl-create-mode-menu): Add some entries.
10625 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10626 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10627 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10628 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10629 to force statements on one line.
10630 (vhdl-remove-trailing-spaces-region):
10631 New, split from vhdl-remove-trailing-spaces.
10632 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10633 Respect vhdl-beautify-options.
10634 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10635 (vhdl-update-sensitivity-list): Not add with index if exists without.
10636 Not include array index with signal. Ignore keywords in comments.
10637 (vhdl-get-visible-signals): Regexp tweaks.
10638 (vhdl-template-component-inst): Handle empty library.
10639 (vhdl-template-type): Add template for 'enum' type.
10640 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10641 Use vhdl-replace-string.
10642 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10643 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10644 (vhdl-speedbar-initialize): Update for above name change.
10645 (vhdl-compose-wire-components): Fix in handling of constants.
10646 (vhdl-error-regexp-emacs-alist): New variable.
10647 (vhdl-error-regexp-add-emacs): New function;
10648 adds support for new compile.el (Emacs 22+)
10649 (vhdl-generate-makefile-1): Change target order for single lib. units.
10650 Allow use of absolute file names.
10651
10652 2013-05-16 Leo Liu <sdl.web@gmail.com>
10653
10654 * simple.el (prog-indent-sexp): Indent enclosing defun.
10655
10656 2013-05-15 Glenn Morris <rgm@gnu.org>
10657
10658 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10659 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10660 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10661 (whitespace-highlight): Move to whitespace group.
10662
10663 * comint.el (comint-source):
10664 * pcmpl-linux.el (pcmpl-linux):
10665 * shell.el (shell-faces):
10666 * eshell/esh-opt.el (eshell-opt):
10667 * international/ccl.el (ccl): Remove empty custom groups.
10668
10669 * completion.el (dynamic-completion-mode):
10670 * jit-lock.el (jit-lock-debug-mode):
10671 * minibuffer.el (completion-in-region-mode):
10672 * type-break.el (type-break-mode-line-message-mode)
10673 (type-break-query-mode):
10674 * emulation/tpu-edt.el (tpu-edt-mode):
10675 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10676 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10677 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10678
10679 * term/xterm.el (xterm): Change parent group to terminals.
10680
10681 * master.el (master): Remove empty custom group.
10682 (master-mode): Remove unused :group argument.
10683 * textmodes/refill.el (refill): Remove empty custom group.
10684 (refill-mode): Remove unused :group argument.
10685
10686 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10687
10688 * cus-dep.el: Provide a feature.
10689 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10690 Don't mistakenly ignore files whose basenames match a basename
10691 from preloaded-file-list (eg cedet/ede/simple.el).
10692 Add a fallback method for getting :group.
10693
10694 2013-05-15 Juri Linkov <juri@jurta.org>
10695
10696 * isearch.el (isearch-char-by-name): Rename from
10697 `isearch-insert-char-by-name'. Doc fix.
10698 (isearch-forward): Mention `isearch-char-by-name' in
10699 the docstring. (Bug#13348)
10700
10701 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10702 `exit-minibuffer' instead of
10703 `isearch-nonincremental-exit-minibuffer'.
10704 (isearch-edit-string): Remove mention of
10705 `isearch-nonincremental-exit-minibuffer' from docstring.
10706 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10707 (isearch-forward-exit-minibuffer)
10708 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10709
10710 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * loadup.el: Just use unversioned DOC.
10713
10714 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10715 literals as extending to EOB.
10716 (nxml-last-fontify-end): Remove unused variable.
10717 (nxml-after-change1): Use with-silent-modifications.
10718 (nxml-extend-after-change-region): Simplify.
10719 (nxml-extend-after-change-region1): Remove function.
10720 (nxml-after-change1): Don't adjust for dependent regions.
10721 (nxml-fontify-matcher): Simplify.
10722 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10723 (xmltok-add-dependent): Remove function.
10724 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10725 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10726 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10727 unclosed <[[, <?, comment, and other literals as extending to EOB.
10728 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10729 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10730 Remove functions.
10731 (rng-do-some-validation-1): Don't mark dependent regions.
10732 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10733 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10734 (nxml-clear-dependent-regions): Remove functions.
10735 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10736 (nxml-ensure-scan-up-to-date):
10737 Don't clear&mark dependent regions.
10738
10739 2013-05-15 Leo Liu <sdl.web@gmail.com>
10740
10741 * progmodes/octave.el (octave-goto-function-definition):
10742 Improve and fix callers.
10743
10744 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10745
10746 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10747 the setter (bug#14387).
10748
10749 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10750 surrounding group (bug#14402).
10751
10752 2013-05-14 Juri Linkov <juri@jurta.org>
10753
10754 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10755 (Bug#14390)
10756
10757 2013-05-14 Glenn Morris <rgm@gnu.org>
10758
10759 * progmodes/f90.el (f90-imenu-generic-expression):
10760 Fix typo in 2013-05-08 change. (Bug#14402)
10761
10762 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10763
10764 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10765 Remove signals for which replies are never received.
10766
10767 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10768
10769 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10770 (gdb-handler-alist, gdb-handler-number): Remove variables.
10771 (gdb-handler-list): New variable.
10772 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10773 (gdb-pending-handler-p, gdb-handle-reply)
10774 (gdb-remove-all-pending-triggers): New functions.
10775 (gdb-discard-unordered-replies): New defcustom.
10776 (gdb-handler): New defstruct.
10777 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10778 instead of gdb-pending-triggers. Update docstring.
10779 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10780 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10781 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10782 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10783 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10784 (gdb-frame-handler): Pending triggers are now automatically managed.
10785 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10786 Remove argument.
10787 (gdb-input): Automatically handles pending triggers. Update docstring.
10788 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10789 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10790 Update comments.
10791 (gdb-done-or-error): Now use gdb-handle-reply.
10792
10793 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10794
10795 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10796 gdb-debug-log.
10797
10798 2013-05-14 Glenn Morris <rgm@gnu.org>
10799
10800 * subr.el (user-emacs-directory-warning): New option.
10801 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10802
10803 2013-05-14 Leo Liu <sdl.web@gmail.com>
10804
10805 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10806 during redisplay.
10807 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10808 (octave-font-lock-texinfo-comment): Fix invalid search bound
10809 error: wrong side of point.
10810
10811 2013-05-14 Glenn Morris <rgm@gnu.org>
10812
10813 * progmodes/flymake.el (flymake-xml-program): New option.
10814 (flymake-xml-init): Use it.
10815
10816 * term/xterm.el: Provide a feature.
10817
10818 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10819
10820 2013-05-13 Glenn Morris <rgm@gnu.org>
10821
10822 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10823 Add compat aliases as a hack workaround. (Bug#14384)
10824
10825 2013-05-13 Leo Liu <sdl.web@gmail.com>
10826
10827 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10828 ###, and %!.
10829 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10830 C-M-q.
10831 (octave-comment-start-skip): Include %!.
10832 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10833
10834 2013-05-12 Leo Liu <sdl.web@gmail.com>
10835
10836 * progmodes/octave.el (inferior-octave-startup): Store the value
10837 of __octave_srcdir__ for octave-source-directories.
10838 (inferior-octave-check-process): New function refactored out of
10839 inferior-octave-send-list-and-digest.
10840 (octave-source-directories)
10841 (octave-find-definition-filename-function): New variables.
10842 (octave-source-directories)
10843 (octave-find-definition-default-filename): New functions.
10844 (octave-find-definition): Improve to find functions implemented in C++.
10845
10846 2013-05-12 Glenn Morris <rgm@gnu.org>
10847
10848 * calendar/diary-lib.el (diary-outlook-format-1):
10849 Don't include dayname in the output. (Bug#14349)
10850
10851 2013-05-11 Glenn Morris <rgm@gnu.org>
10852
10853 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10854
10855 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10856 Treat cc-provide like provide.
10857
10858 2013-05-11 Kevin Ryde <user42@zip.com.au>
10859
10860 * cus-dep.el (custom-make-dependencies):
10861 Use generated-autoload-load-name for the sake of files such
10862 such cedet/semantic/bovine/c.el, where the base file name
10863 is not in load-path. (Bug#5277)
10864
10865 2013-05-11 Glenn Morris <rgm@gnu.org>
10866
10867 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10868 Provide features.
10869
10870 2013-05-11 Leo Liu <sdl.web@gmail.com>
10871
10872 * progmodes/octave.el (octave-indent-comment): Improve.
10873 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10874 (octave-eldoc-function-signatures, octave-eldoc-function):
10875 New functions.
10876 (octave-mode, inferior-octave-mode): Add eldoc support.
10877
10878 2013-05-11 Richard Stallman <rms@gnu.org>
10879
10880 * epa.el (epa-decrypt-file): Take output file name as argument
10881 and read it using `interactive'.
10882
10883 2013-05-11 Leo Liu <sdl.web@gmail.com>
10884
10885 * progmodes/octave.el (octave-beginning-of-line)
10886 (octave-end-of-line): Check before using up-list because it jumps
10887 out of more syntactic contructs since moving to smie.
10888 (octave-indent-comment): New function.
10889 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10890 (octave-begin-keywords, octave-end-keywords)
10891 (octave-reserved-words, octave-smie-bnf-table)
10892 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10893
10894 2013-05-11 Glenn Morris <rgm@gnu.org>
10895
10896 * faces.el (internal-face-x-get-resource):
10897 * frame.el (ns-display-monitor-attributes-list):
10898 * calc/calc-aent.el (math-to-radians-2):
10899 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10900 Fix declarations.
10901
10902 * calc/calc-menu.el: Make it loadable in isolation.
10903
10904 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10905 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10906 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10907 (eudc-bbdb-query-internal): Require 'bbdb.
10908
10909 * lpr.el (lpr-headers-switches):
10910 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10911
10912 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10913
10914 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10915
10916 * term.el (term-set-escape-char): Make it idempotent.
10917
10918 2013-05-10 Leo Liu <sdl.web@gmail.com>
10919
10920 * progmodes/octave.el (inferior-octave-completion-table):
10921 No longer a function and all uses changed. Use cache to speed up
10922 completion due to bug#11906.
10923 (octave-beginning-of-defun): Re-write to be more general.
10924
10925 2013-05-10 Glenn Morris <rgm@gnu.org>
10926
10927 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10928
10929 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10930
10931 * comint.el (comint-redirect-send-command-to-process): Use :around
10932 rather than :override for comint-redirect-filter.
10933 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10934 Call it instead of comint-redirect-original-filter-function (which
10935 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10936
10937 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10938
10939 * frame.el (display-monitor-attributes-list): Add NS case.
10940 (ns-display-monitor-attributes-list): Declare.
10941
10942 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10943
10944 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10945
10946 2013-05-09 Glenn Morris <rgm@gnu.org>
10947
10948 * international/fontset.el (vertical-centering-font-regexp):
10949 Set standard-value.
10950
10951 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10952
10953 * bookmark.el (bookmark-search-delay):
10954 * cus-start.el (vertical-centering-font-regexp):
10955 * ps-mule.el (ps-mule-font-info-database-default):
10956 * ps-print.el (ps-default-fg, ps-default-bg):
10957 * type-break.el (type-break-good-break-interval):
10958 * whitespace.el (whitespace-indentation-regexp)
10959 (whitespace-space-after-tab-regexp):
10960 * emacs-lisp/testcover.el (testcover-1value-functions)
10961 (testcover-noreturn-functions, testcover-progn-functions)
10962 (testcover-prog1-functions):
10963 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10964 * eshell/em-glob.el (eshell-glob-translate-alist):
10965 * play/tetris.el (tetris-tty-colors):
10966 * progmodes/cpp.el (cpp-face-default-list):
10967 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10968 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10969 (idlwave-help-browser-generic-args):
10970 * progmodes/make-mode.el (makefile-special-targets-list):
10971 * progmodes/python.el (python-shell-virtualenv-path):
10972 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10973 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10974 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10975 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10976 * textmodes/reftex-vars.el (reftex-format-label-function):
10977 * textmodes/remember.el (remember-diary-file): Fix custom types.
10978
10979 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10980 Add :version.
10981
10982 2013-05-09 Leo Liu <sdl.web@gmail.com>
10983
10984 * progmodes/octave.el (inferior-octave-completion-at-point):
10985 Restore file completion. (Bug#14300)
10986 (inferior-octave-startup): Fix incorrect highlighting for the
10987 first prompt.
10988
10989 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10990
10991 * progmodes/ruby-mode.el: First cut at SMIE support.
10992 (ruby-use-smie): New var.
10993 (ruby-smie-grammar): New constant.
10994 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10995 (ruby-smie--forward-token, ruby-smie--backward-token)
10996 (ruby-smie-rules): New functions.
10997 (ruby-mode-variables): Setup SMIE if applicable.
10998
10999 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11000
11001 * simple.el (line-move-visual): Signal beginning/end of buffer
11002 only if vertical-motion moved less than it was requested. Avoids
11003 silly incorrect error messages when there are display strings with
11004 multiple newlines at EOL.
11005
11006 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11007
11008 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11009 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11010 (prolog-char-quote-workaround):
11011 * progmodes/cperl-mode.el (cperl-under-as-char):
11012 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11013 Mark as obsolete.
11014 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11015 their declaration.
11016 (vhdl-mode-syntax-table-init): Remove.
11017
11018 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11019 last change.
11020
11021 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11022 syntax for "_".
11023 (ld-script-font-lock-keywords):
11024 Change regexps to use things like \_< and \_>.
11025
11026 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11027 Change all regexps to use things like \_< and \_>.
11028
11029 * progmodes/autoconf.el (autoconf-definition-regexp)
11030 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11031 Handle a _ with symbol syntax.
11032 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11033
11034 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11035 Consolidate declaration.
11036 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11037 the declaration.
11038 (ada-create-syntax-table): Remove.
11039 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11040 already has the right syntax nowadays.
11041 (ada-goto-next-word): Don't change the syntax of "_".
11042
11043 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11044 with-wrapper-hook.
11045
11046 2013-05-08 Sam Steingold <sds@gnu.org>
11047
11048 * thingatpt.el (thing-at-point): Accept optional second argument
11049 NO-PROPERTIES to strip the text properties from the return value.
11050 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11051 to `thing-at-point' instead of stripping the properties ourselves.
11052 Also, when `thing-at-point' fails to find a url, prepend "http://"
11053 to the filename at point on the assumption that the user is
11054 pointing at something like gnu.org/gnu.
11055
11056 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11057
11058 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11059 * faces.el (crm-separator):
11060 Silence byte-compiler.
11061
11062 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11063 (tool-bar-map): Remove unneeded defvars.
11064
11065 2013-05-08 Leo Liu <sdl.web@gmail.com>
11066
11067 Re-work a fix for bug#10994 based on Le Wang's patch.
11068 * ido.el (ido-remove-consecutive-dups): New helper.
11069 (ido-completing-read): Use it.
11070 (ido-chop): Revert fix for bug#10994.
11071
11072 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11073
11074 * cus-edit.el (custom-save-variables):
11075 Pretty-print long values. (Bug#14187)
11076
11077 2013-05-08 Glenn Morris <rgm@gnu.org>
11078
11079 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11080 (m4-mode-syntax-table): Init in the defvar.
11081 (m4-mode-abbrev-table): Let define-derived-mode define it.
11082
11083 2013-05-08 Tom Tromey <tromey@redhat.com>
11084
11085 * progmodes/m4-mode.el (m4-mode-syntax-table):
11086 Do not treat "_" as word constituent. (Bug#14167)
11087
11088 2013-05-07 Glenn Morris <rgm@gnu.org>
11089
11090 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11091 Remove explicit eshell-isearch-cancel-map.
11092
11093 * progmodes/f90.el (f90-smart-end-names): New option.
11094 (f90-smart-end): Doc fix.
11095 (f90-end-block-optional-name): New constant.
11096 (f90-block-match): Respect f90-smart-end-names.
11097
11098 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11099
11100 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11101 about implicit semi-colons (bug#14218).
11102
11103 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11104
11105 * frame.el (display-monitor-attributes-list)
11106 (frame-monitor-attributes): New functions.
11107
11108 2013-05-06 Leo Liu <sdl.web@gmail.com>
11109
11110 * progmodes/octave.el (octave-syntax-propertize-function): Change
11111 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11112 (octave-font-lock-keywords): Use octave-operator-regexp.
11113 (octave-completion-at-point): Rename from
11114 octave-completion-at-point-function.
11115 (inferior-octave-directory-tracker): Robustify.
11116 (octave-text-functions): Remove and fix its uses. No such things
11117 any more.
11118
11119 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11120
11121 * emacs-lisp/trace.el (trace--display-buffer): New function.
11122 (trace-make-advice): Use it.
11123
11124 2013-05-06 Juri Linkov <juri@jurta.org>
11125
11126 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11127 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11128 Doc fix.
11129 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11130 in the help string. (Bug#12985)
11131
11132 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11133
11134 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11135
11136 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11137
11138 * progmodes/perl-mode.el: Add support for here documents.
11139 (perl-syntax-propertize-function): Match here-doc markers.
11140 (perl-syntax-propertize-special-constructs): Find their end.
11141 (perl-imenu-generic-expression): Use [:alnum:].
11142
11143 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11144 (advice--add-function): Refresh the advice if already present
11145 (bug#14317).
11146
11147 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11148
11149 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11150
11151 2013-05-06 Glenn Morris <rgm@gnu.org>
11152
11153 * w32-fns.el (w32-charset-info-alist): Declare.
11154
11155 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11156 of its defcustom properties.
11157 (eshell-cmpl-initialize): No need to load pcomplete.
11158
11159 * generic-x.el: No need to require comint when compiling.
11160
11161 * net/eudc-export.el: Make it loadable without bbdb.
11162 (top-level): Use require rather than load-library.
11163 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11164 (eudc-batch-export-records-to-bbdb)
11165 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11166 Require bbdb.
11167
11168 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11171 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11172 some tweaks, instead.
11173
11174 2013-05-05 Leo Liu <sdl.web@gmail.com>
11175
11176 * progmodes/octave.el (octave-font-lock-keywords)
11177 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11178 (inferior-octave-send-list-and-digest): Improve error message.
11179 (octave-mode, inferior-octave-mode): Use setq-local.
11180 (octave-help): Set info-lookup-mode.
11181
11182 2013-05-05 Richard Stallman <rms@gnu.org>
11183
11184 * vc/compare-w.el (compare-windows-whitespace):
11185 Treat no-break space as whitespace.
11186
11187 * mail/rmailsum.el (rmail-summary-rmail-update):
11188 Detect empty summary and don't change selected message.
11189 (rmail-summary-goto-msg): Likewise.
11190
11191 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11192 Doc fixes, rename args.
11193
11194 2013-05-05 Alan Mackenzie <acm@muc.de>
11195
11196 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11197
11198 2013-05-05 Juri Linkov <juri@jurta.org>
11199
11200 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11201 to not add the length of the summary segment to the return value.
11202 (Bug#14125)
11203
11204 2013-05-05 Leo Liu <sdl.web@gmail.com>
11205
11206 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11207 (inferior-octave-output-filter): Remove.
11208 (octave-send-region, inferior-octave-startup): Fix callers.
11209 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11210 (octave-binary-file-extensions): New user variable.
11211 (octave-find-definition): Confirm if opening binary files.
11212 (octave-help-file): Use octave-find-definition to get the binary
11213 confirmation.
11214 (octave-help): Adjust for octave-help-file change.
11215
11216 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11219 Merge the two entries that handle function definitions.
11220 (pascal--syntax-propertize): New const.
11221 (pascal-mode): Use it. Use setq-local.
11222
11223 2013-05-04 Glenn Morris <rgm@gnu.org>
11224
11225 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11226 (diary-from-outlook): Respect diary-from-outlook-function.
11227
11228 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11229
11230 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11231 Move the declaration from C.
11232 (read-minibuffer, eval-minibuffer): Move from C.
11233 (completion-setup-function): Avoid minibuffer-completion-contents.
11234
11235 2013-05-03 Leo Liu <sdl.web@gmail.com>
11236
11237 * progmodes/octave.el (octave-font-lock-keywords): Do not
11238 dehighlight 'end' in comments or strings.
11239 (octave-completing-read, octave-goto-function-definition):
11240 New helpers.
11241 (octave-help-buffer): New user variable.
11242 (octave-help-file, octave-help-function): New button types.
11243 (octave-help): New command and bind it to C-h ;.
11244 (octave-find-definition): New command and bind it to M-.
11245 (user-error): Alias to error if not defined.
11246
11247 2013-05-02 Leo Liu <sdl.web@gmail.com>
11248
11249 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11250 for \. (bug#14332)
11251 (octave-font-lock-keywords): Include [ and {.
11252
11253 2013-05-02 Leo Liu <sdl.web@gmail.com>
11254
11255 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11256 (inferior-octave): Remove calling comint-mode and return the buffer.
11257 (inferior-octave-startup): Cosmetic changes.
11258
11259 2013-05-02 Leo Liu <sdl.web@gmail.com>
11260
11261 * progmodes/octave.el (octave-syntax-propertize-function):
11262 Include the case when ' is at line beginning. (Bug#14336)
11263
11264 2013-05-02 Glenn Morris <rgm@gnu.org>
11265
11266 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11267 * desktop.el (vc-dir-mode): Just autoload it here.
11268
11269 2013-05-02 Alan Mackenzie <acm@muc.de>
11270
11271 Eliminate variable c-standard-font-lock-fontify-region-function.
11272 * progmodes/cc-mode.el
11273 (c-standard-font-lock-fontify-region-function): Remove.
11274 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11275
11276 2013-05-01 Leo Liu <sdl.web@gmail.com>
11277
11278 * progmodes/octave.el: Compatible with older emacs-24 releases.
11279 (inferior-octave-has-built-in-variables): Remove. Built-in
11280 variables were removed from Octave in 2007.
11281 (inferior-octave-startup): Fix uses.
11282 (comint-line-beginning-position): Remove compatibility code for
11283 emacs 21.
11284
11285 2013-05-01 Juri Linkov <juri@jurta.org>
11286
11287 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11288
11289 2013-05-01 Juri Linkov <juri@jurta.org>
11290
11291 * comint.el (comint-previous-matching-input): Don't print message
11292 "History item: %d" when `isearch-mode' is active.
11293 (comint-history-isearch-message): Print message "History item: %d"
11294 when `comint-input-ring-index' is not empty and this function is
11295 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11296
11297 2013-05-01 Leo Liu <sdl.web@gmail.com>
11298
11299 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11300 definitions. Use completion-at-point to insert keywords.
11301 (octave-abbrev-start): Remove.
11302 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11303
11304 2013-04-30 Leo Liu <sdl.web@gmail.com>
11305
11306 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11307 change.
11308
11309 2013-04-30 Alan Mackenzie <acm@muc.de>
11310
11311 Handle arbitrarily long C++ member initialisation lists.
11312 * progmodes/cc-engine.el (c-back-over-member-initializers):
11313 new function.
11314 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11315 (most) member init lists.
11316
11317 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11318
11319 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11320 variable.
11321
11322 2013-04-30 Leo Liu <sdl.web@gmail.com>
11323
11324 * progmodes/octave.el (octave-variables): Remove. No builtin
11325 variables any more. All converted to functions.
11326 (octave-font-lock-keywords, octave-completion-at-point-function):
11327 Fix uses.
11328 (octave-font-lock-texinfo-comment): New user variable.
11329 (octave-texinfo-font-lock-keywords): New variable for texinfo
11330 comment block.
11331 (octave-function-comment-block): New face.
11332 (octave-font-lock-texinfo-comment): New function.
11333 (octave-mode): Font lock texinfo comment block.
11334
11335 2013-04-29 Leo Liu <sdl.web@gmail.com>
11336
11337 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11338 indexing expression.
11339 (octave-continuation-string): Do not use \.
11340 (inferior-octave-complete-impossible): Remove.
11341 (inferior-octave-completion-table)
11342 (inferior-octave-completion-at-point): Remove its uses.
11343 (inferior-octave-startup): completion_matches was introduced to
11344 Octave in 1996 so safe to assume it.
11345 (octave-function-file-comment): Improve to follow how Octave does it.
11346 (octave-update-function-file-comment): Tweak.
11347
11348 2013-04-29 Leo Liu <sdl.web@gmail.com>
11349
11350 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11351 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11352 (octave-function-file-comment): Fix typo.
11353 (octave-sync-function-file-names): Use read-char-choice.
11354
11355 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11356
11357 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11358 to t for the less important warnings.
11359
11360 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11361
11362 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11363
11364 2013-04-27 Glenn Morris <rgm@gnu.org>
11365
11366 * vc/log-view.el (log-view-current-entry):
11367 Treat "---" separator lines as part of the following rev. (Bug#14169)
11368
11369 2013-04-27 Juri Linkov <juri@jurta.org>
11370
11371 * subr.el (read-number): Doc fix about using it by interactive
11372 code letter `n'. (Bug#14254)
11373
11374 2013-04-27 Juri Linkov <juri@jurta.org>
11375
11376 * desktop.el (desktop-auto-save-timeout): New option.
11377 (desktop-file-checksum): New variable.
11378 (desktop-save): Add optional arg `auto-save' and don't auto-save
11379 if nothing changed.
11380 (desktop-auto-save-timer): New variable.
11381 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11382 (after-init-hook): Call `desktop-auto-save-set-timer'.
11383 Suggested by Reuben Thomas <rrt@sc3d.org> in
11384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11385
11386 2013-04-27 Leo Liu <sdl.web@gmail.com>
11387
11388 * progmodes/octave.el (octave-function-file-p)
11389 (octave-skip-comment-forward, octave-function-file-comment)
11390 (octave-update-function-file-comment): New functions.
11391 (octave-mode-map): Bind C-c ; to
11392 octave-update-function-file-comment.
11393 (octave-mode-menu): Add octave-update-function-file-comment.
11394 (octave-mode, inferior-octave-mode): Fix doc-string.
11395 (octave-insert-defun): Conform to Octave's coding convention.
11396 (Bug#14285)
11397
11398 * files.el (basic-save-buffer): Don't let errors in
11399 before-save-hook prevent saving buffer.
11400
11401 2013-04-20 Roland Winkler <winkler@gnu.org>
11402
11403 * faces.el (read-face-name): Use completing-read if arg multiple
11404 is nil.
11405
11406 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11407
11408 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11409 displayed, move point to after the totals line.
11410 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11411 for the details.
11412
11413 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11414
11415 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11416 Add current dir to the load-path.
11417 (package-generate-autoloads): Don't rely on
11418 autoload-ensure-default-file.
11419
11420 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11421
11422 * textmodes/remember.el (remember-store-in-files): Document that
11423 the file name format is passed to `format-time-string'.
11424
11425 2013-04-26 Leo Liu <sdl.web@gmail.com>
11426
11427 * progmodes/octave.el (octave-sync-function-file-names): New function.
11428 (octave-mode): Use it in before-save-hook.
11429
11430 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11431
11432 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11433 (bug#14274).
11434
11435 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11436 \n and comment, even if it's not an implicit ; (bug#14218).
11437
11438 2013-04-26 Glenn Morris <rgm@gnu.org>
11439
11440 * subr.el (read-number): Once more use `read' rather than
11441 `string-to-number', to trap non-numeric input. (Bug#14254)
11442
11443 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11444
11445 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11446 Use `syntax-multiline' text property consistently instead of
11447 `font-lock-multiline'. (Bug#14237)
11448
11449 2013-04-26 Glenn Morris <rgm@gnu.org>
11450
11451 * emacs-lisp/shadow.el (list-load-path-shadows):
11452 No longer necessary to check for duplicate simple.el, since
11453 2012-07-07 change to init_lread to not include installation lisp
11454 directories in load-path when running uninstalled. (Bug#14270)
11455
11456 2013-04-26 Leo Liu <sdl.web@gmail.com>
11457
11458 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11459 (octave-mode, inferior-octave-mode): Use setq-local.
11460 (octave-not-in-string-or-comment-p): Rename to
11461 octave-in-string-or-comment-p.
11462 (octave-in-comment-p, octave-in-string-p)
11463 (octave-in-string-or-comment-p): Replace defsubst with defun.
11464
11465 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11466
11467 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11468
11469 2013-04-25 Bastien Guerry <bzg@gnu.org>
11470
11471 * textmodes/remember.el (remember-data-directory)
11472 (remember-directory-file-name-format): Fix custom types.
11473
11474 2013-04-25 Leo Liu <sdl.web@gmail.com>
11475
11476 * progmodes/octave.el (octave-completion-at-point-function):
11477 Make use of inferior octave process.
11478 (octave-initialize-completions): Remove.
11479 (inferior-octave-completion-table): New function.
11480 (inferior-octave-completion-at-point): Use it.
11481 (octave-completion-alist): Remove.
11482
11483 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11486 (opascal-mode-syntax-table): New var.
11487 (opascal-literal-kind, opascal-is-literal-end)
11488 (opascal-literal-token-at): Rewrite.
11489 (opascal--literal-start-re, opascal-font-lock-keywords)
11490 (opascal--syntax-propertize): New constants.
11491 (opascal-font-lock-defaults): Adjust.
11492 (opascal-mode): Use them. Set comment-<foo> variables as well.
11493 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11494 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11495 (delphi-other-face, opascal-other-face): Remove face variables.
11496 (opascal-save-state): Remove macro.
11497 (opascal-fontifying-progress-step): Remove constant.
11498 (opascal--ignore-changes): Remove var.
11499 (opascal-set-token-property, opascal-parse-next-literal)
11500 (opascal-is-stable-literal, opascal-complete-literal)
11501 (opascal-is-literal-start, opascal-face-of)
11502 (opascal-parse-region, opascal-parse-region-until-stable)
11503 (opascal-fontify-region, opascal-after-change)
11504 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11505 (opascal-debug-parse-region, opascal-debug-parse-window)
11506 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11507 (opascal-debug-fontify-buffer): Remove.
11508 (opascal-debug-mode-map): Adjust accordingly.
11509
11510 2013-04-25 Leo Liu <sdl.web@gmail.com>
11511
11512 Merge octave-mod.el and octave-inf.el into octave.el with some
11513 cleanups.
11514 * progmodes/octave.el: New file renamed from octave-mod.el.
11515 * progmodes/octave-inf.el: Merged into octave.el.
11516 * progmodes/octave-mod.el: Renamed to octave.el.
11517
11518 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11519
11520 * textmodes/reftex-vars.el
11521 (reftex-label-ignored-macros-and-environments): New defcustom.
11522
11523 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11524
11525 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11526
11527 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11528 (smie-indent-keyword): Improve the check to ensure that the next
11529 comment is really on the same line.
11530 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11531
11532 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11533 semi-colons if the line is not otherwise empty (bug#14218).
11534
11535 2013-04-25 Glenn Morris <rgm@gnu.org>
11536
11537 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11538
11539 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * progmodes/opascal.el (opascal-set-token-property): Rename from
11542 opascal-set-text-properties and only set `token' (bug#14134).
11543 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11544 (opascal-literal-text-properties): Remove.
11545 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11546 Adjust callers.
11547
11548 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11549
11550 * textmodes/remember.el (remember-handler-functions): Add an
11551 option for a new handler `remember-store-in-files'.
11552 (remember-data-directory, remember-directory-file-name-format):
11553 New options.
11554 (remember-store-in-files): New function to store remember notes
11555 as separate files within a directory.
11556
11557 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11558
11559 * progmodes/compile.el (compilation-next-error-function):
11560 Pass "formats" to compilation-find-file (bug#11777).
11561
11562 2013-04-24 Glenn Morris <rgm@gnu.org>
11563
11564 * vc/vc-bzr.el (vc-bzr-print-log):
11565 * vc/vc-hg.el (vc-hg-print-log):
11566 * vc/vc-svn.el (vc-svn-print-log):
11567 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11568
11569 * vc/vc-bzr.el (vc-bzr-print-log):
11570 * vc/vc-cvs.el (vc-cvs-print-log):
11571 * vc/vc-git.el (vc-git-print-log):
11572 * vc/vc-hg.el (vc-hg-print-log):
11573 * vc/vc-mtn.el (vc-mtn-print-log):
11574 * vc/vc-rcs.el (vc-rcs-print-log):
11575 * vc/vc-sccs.el (vc-sccs-print-log):
11576 * vc/vc-svn.el (vc-svn-print-log):
11577 * vc/vc.el (vc-print-log-internal): Doc fixes.
11578
11579 2013-04-23 Glenn Morris <rgm@gnu.org>
11580
11581 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11582 Remove venerable code attempting to avoid substitute-command-keys.
11583
11584 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11585
11586 * textmodes/reftex-vars.el (reftex-label-regexps):
11587 Call `reftex-compile-variables' after changes to this variable.
11588
11589 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11592 Use lexical-binding.
11593 (jit-lock-force-redisplay): Use markers, check buffer's continued
11594 existence and beware narrowed buffers.
11595 (jit-lock-fontify-now): Adjust call accordingly.
11596
11597 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11600 to avoid misleading the user.
11601
11602 2013-04-22 Leo Liu <sdl.web@gmail.com>
11603
11604 * info-look.el: Prefer latex2e.info. (Bug#14240)
11605
11606 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11607
11608 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11609
11610 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11611 * net/tramp.el (tramp-call-process): ... here.
11612 (tramp-set-completion-function, tramp-parse-putty):
11613 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11614 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11615 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11616 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11617 (tramp-call-local-coding-command): Use `tramp-call-process'
11618 instead of `tramp-compat-call-process'.
11619
11620 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11621 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11622 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11623 (tramp-find-inline-compress): Improve traces.
11624 (tramp-maybe-send-script): Check for Perl binary.
11625 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11626
11627 2013-04-22 Daiki Ueno <ueno@gnu.org>
11628
11629 * epg.el (epg-context-pinentry-mode): New function.
11630 (epg-context-set-pinentry-mode): New function.
11631 (epg--start): Pass --pinentry-mode option to gpg command.
11632
11633 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11634
11635 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11636 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11637 `completion-at-point'. (Bug#13774)
11638
11639 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11640 default key binding for `describe-distribution' has been moved to
11641 `C-h C-o'. (Bug#13970)
11642
11643 2013-04-21 Glenn Morris <rgm@gnu.org>
11644
11645 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11646 Add doc strings.
11647 (vc-print-log): Clarify interactive prompt.
11648
11649 2013-04-20 Glenn Morris <rgm@gnu.org>
11650
11651 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11652 No longer include timestamp etc information.
11653
11654 2013-04-20 Roland Winkler <winkler@gnu.org>
11655
11656 * faces.el (read-face-name): Bug fix, return just one face if arg
11657 multiple is nil. (Bug#14209)
11658
11659 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11662 (remove-function): Autoload.
11663
11664 * comint.el (comint-redirect-original-filter-function): Remove.
11665 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11666 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11667 (vc-cvs-annotate-command):
11668 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11669 * progmodes/prolog.el (prolog-consult-compile):
11670 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11671 Use add/remove-function instead.
11672 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11673 (gud-tooltip-process-output, gud-tooltip-tips):
11674 Use add/remove-function instead.
11675 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11676 (scheme-interaction-mode, exit-scheme-interaction-mode):
11677 Use add/remove-function instead.
11678
11679 * vc/vc-dispatcher.el: Use lexical-binding.
11680 (vc--process-sentinel): Rename from vc-process-sentinel.
11681 Change last arg to be the code to run. Don't use vc-previous-sentinel
11682 and vc-sentinel-commands any more.
11683 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11684 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11685
11686 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11687
11688 * progmodes/sh-script.el (sh-imenu-generic-expression):
11689 Handle function names with a single character. (Bug#14111)
11690
11691 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11692
11693 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11694 for subroutines defined in an eval (bug#14182).
11695
11696 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11697
11698 * bookmark.el (bookmark-completing-read): Improve handling of empty
11699 string (bug#14176).
11700
11701 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11704
11705 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11706
11707 New faster Imenu implementation (bug#14058).
11708 * progmodes/python.el:
11709 (python-imenu-prev-index-position):
11710 (python-imenu-format-item-label-function)
11711 (python-imenu-format-parent-item-label-function)
11712 (python-imenu-format-parent-item-jump-label-function):
11713 New vars.
11714 (python-imenu-format-item-label)
11715 (python-imenu-format-parent-item-label)
11716 (python-imenu-format-parent-item-jump-label)
11717 (python-imenu--put-parent, python-imenu--build-tree)
11718 (python-imenu-create-index, python-imenu-create-flat-index)
11719 (python-util-popn): New functions.
11720 (python-mode): Set imenu-create-index-function to
11721 python-imenu-create-index.
11722
11723 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11724
11725 * winner.el (winner-active-region): Use region-active-p, activate-mark
11726 and deactivate-mark (bug#14225).
11727
11728 * simple.el (deactivate-mark): Don't inline it.
11729
11730 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11731
11732 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11733
11734 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11735
11736 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11737 file extensions from the archive-mode entry in order to prefer
11738 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11739
11740 2013-04-18 Leo Liu <sdl.web@gmail.com>
11741
11742 * bindings.el (help-event-list): Add ?\?.
11743
11744 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11745
11746 * subr.el (with-wrapper-hook): Declare obsolete.
11747 * simple.el (filter-buffer-substring-function): New hook.
11748 (filter-buffer-substring): Use it.
11749 (filter-buffer-substring-functions): Mark obsolete.
11750 * minibuffer.el (completion-in-region-function): New hook.
11751 (completion-in-region): Use it.
11752 (completion-in-region-functions): Mark obsolete.
11753 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11754 * abbrev.el (abbrev-expand-function): New hook.
11755 (expand-abbrev): Use it.
11756 (abbrev-expand-functions): Mark obsolete.
11757 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11758 and :filter-return.
11759
11760 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11761
11762 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11763 and do not care about match data.
11764
11765 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11766
11767 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11768 completion tables when completing error conditions and
11769 `declare' arguments.
11770 (lisp-complete-symbol, field-complete): Mark as obsolete.
11771 (check-parens): Unmatched parens are user errors.
11772 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11773
11774 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11775
11776 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11777 command changed buffer (ie. `flyspell-pre-buffer' is not current
11778 buffer), which prevents making decisions based on invalid value of
11779 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11780 cause an error when `flyspell-pre-point' was nil after switching
11781 buffers.
11782 (flyspell-post-command-hook): No longer needs to change buffers when
11783 checking pre-word. While at it remove unnecessary progn.
11784
11785 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11786
11787 * textmodes/ispell.el (ispell-add-per-file-word-list):
11788 Fix `flyspell-correct-word-before-point' error when accepting
11789 words and `coment-padding' is an integer by using
11790 `comment-normalize-vars' (Bug #14214).
11791
11792 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11793
11794 New defun movement commands.
11795 * progmodes/python.el (python-nav--syntactically)
11796 (python-nav--forward-defun, python-nav-backward-defun)
11797 (python-nav-forward-defun): New functions.
11798
11799 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11800
11801 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11802 (python-syntax-context): Use named compiler-macro for backwards
11803 compatibility with Emacs 24.x.
11804
11805 2013-04-17 Leo Liu <sdl.web@gmail.com>
11806
11807 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11808 octave-hide-process-buffer.
11809
11810 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11813 (bug#14216).
11814
11815 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11816
11817 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11818 Fix adjustment of offset when receiving incomplete responses from GDB
11819 (bug#14129).
11820
11821 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11822
11823 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11824 python-mode-abbrev-table.
11825 (python-skeleton-define): Adjust accordingly.
11826 (python-mode-abbrev-table): New table that inherits from it so that
11827 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11828
11829 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11830 (abbrev-symbol): Use it.
11831 (abbrev--before-point): Use it since we already handle inheritance.
11832
11833 2013-04-16 Leo Liu <sdl.web@gmail.com>
11834
11835 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11836 binding to info-lookup-symbol.
11837
11838 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11839
11840 * minibuffer.el (completion--twq-all):
11841 * term/ns-win.el (ns-initialize-window-system):
11842 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11843
11844 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11847 global bindings.
11848
11849 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11850
11851 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11852
11853 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11854 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11855 to nil.
11856 (ruby-end-of-defun): Remove the unused arg, change the docstring
11857 to reflect that this function is only used as the value of
11858 `end-of-defun-function'.
11859 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11860 to reflect an earlier change that beginning/end-of-defun functions
11861 jump between methods in a class definition, as well as top-level
11862 functions.
11863
11864 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11865
11866 * minibuffer.el (minibuffer-complete): Don't just scroll
11867 a *Completions* that's been iconified.
11868 (minibuffer-force-complete): Make sure repetitions do cycle when going
11869 through completion-in-region -> minibuffer-complete.
11870
11871 2013-04-15 Alan Mackenzie <acm@muc.de>
11872
11873 Correct the placement of c-cpp-delimiters when there're #s not at
11874 col 0.
11875
11876 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11877 place a submatch around the #.
11878 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11879 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11880 on the #, not BOL.
11881
11882 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11883
11884 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11885 (advice--member-p): New arg `name'.
11886 (advice--add-function, advice-member-p): Use it (bug#14202).
11887
11888 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11889
11890 Reformulate java imenu-generic-expression.
11891 The old expression contained ill formed regexps.
11892
11893 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11894 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11895 (cc-imenu-java-method-arg-regexp): New defconsts.
11896 (cc-imenu-java-build-type-args-regex): New defun.
11897 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11898 handling of spaces in the regexp.
11899
11900 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11901
11902 * textmodes/ispell.el (ispell-command-loop): Remove
11903 flyspell highlight of a word when ispell accepts it (bug #14178).
11904
11905 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11906
11907 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11908 uses code from the previous `ange-ftp-run-real-handler'.
11909 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11910 only in case that function exist. This is needed for proper
11911 unloading of Tramp.
11912
11913 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11914
11915 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11916
11917 * textmodes/reftex.el (reftex-compile-variables): Use it.
11918
11919 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * files.el (normal-mode): Only use default major-mode if no other mode
11922 was specified.
11923
11924 * emacs-lisp/trace.el (trace-values): New function.
11925
11926 * files.el: Allow : in local variables (bug#14089).
11927 (hack-local-variable-regexp): New var.
11928 (hack-local-variables-prop-line, hack-local-variables): Use it.
11929
11930 2013-04-13 Roland Winkler <winkler@gnu.org>
11931
11932 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11933 data before it gets modified by bibtex-beginning-of-entry.
11934
11935 2013-04-13 Roland Winkler <winkler@gnu.org>
11936
11937 * textmodes/bibtex.el (bibtex-url): Doc fix.
11938
11939 2013-04-13 Roland Winkler <winkler@gnu.org>
11940
11941 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11942 does not visit a BibTeX file, exclude it from the list of buffers
11943 returned by bibtex-initialize.
11944
11945 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11946
11947 * window.el (split-window): Remove interactive form, since as a
11948 command this function is a special case of split-window-below.
11949 Correct doc string.
11950
11951 2013-04-12 Roland Winkler <winkler@gnu.org>
11952
11953 * faces.el (read-face-name): Do not override value of arg default.
11954 Allow single faces and strings as default values. Remove those
11955 elements from return value that are not faces.
11956 (describe-face): Simplify.
11957 (face-at-point): New optional args thing and multiple so that this
11958 function can provide the same functionality previously provided by
11959 read-face-name.
11960 (make-face-bold, make-face-unbold, make-face-italic)
11961 (make-face-unitalic, make-face-bold-italic, invert-face)
11962 (modify-face, read-face-and-attribute): Use face-at-point.
11963
11964 * cus-edit.el (customize-face, customize-face-other-window)
11965 * cus-theme.el (custom-theme-add-face)
11966 * face-remap.el (buffer-face-set)
11967 * facemenu.el (facemenu-set-face): Use face-at-point.
11968
11969 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11970
11971 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11972
11973 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11974
11975 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11976 off leading { and trailing } from field values.
11977
11978 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * emacs-lisp/timer.el (timer--check): New function.
11981 (timer--time, timer-set-function, timer-event-handler): Use it.
11982 (timer-set-idle-time): Simplify.
11983 (timer--activate): CSE.
11984 (timer-event-handler): Give more info in error message.
11985 (internal-timer-start-idle): New function, moved from C.
11986
11987 * mpc.el (mpc-proc): Add `restart' argument.
11988 (mpc-proc-cmd): Use it.
11989 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11990 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11991 less often.
11992
11993 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11994
11995 * progmodes/sh-script.el: Implement `sh-mode' own
11996 `add-log-current-defun-function' (bug#14112).
11997 (sh-current-defun-name): New function.
11998 (sh-mode): Use the function.
11999
12000 2013-04-09 Bastien Guerry <bzg@gnu.org>
12001
12002 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12003
12004 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12005
12006 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12007
12008 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12009 timer (bug#14156).
12010
12011 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12012
12013 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12014 declaration.
12015
12016 2013-04-07 Leo Liu <sdl.web@gmail.com>
12017
12018 * pcmpl-x.el: New file.
12019
12020 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12021
12022 Do not set x-display-name until X connection is established.
12023 This is needed to prevent from weird situation described at
12024 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12025 * frame.el (make-frame): Set x-display-name after call to
12026 window system initialization function, not before.
12027 * term/x-win.el (x-initialize-window-system): Add optional
12028 display argument and use it.
12029 * term/w32-win.el (w32-initialize-window-system):
12030 * term/ns-win.el (ns-initialize-window-system):
12031 * term/pc-win.el (msdos-initialize-window-system):
12032 Add compatible optional display argument.
12033
12034 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12035
12036 * files.el (normal-backup-enable-predicate): On MS-Windows and
12037 MS-DOS compare truenames of temporary-file-directory and of the
12038 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12039 don't fail comparison by compare-strings. Also, compare file
12040 names case-insensitively on MS-Windows and MS-DOS.
12041
12042 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12043
12044 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12045 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12046
12047 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12048
12049 * whitespace.el (whitespace-color-on, whitespace-color-off):
12050 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12051
12052 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12053
12054 * ispell.el (ispell-set-spellchecker-params):
12055 Really set `ispell-args' for all equivs.
12056
12057 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * ido.el (ido-completions): Use extra elements of ido-decorations
12060 (bug#14143).
12061 (ido-decorations): Update docstring.
12062
12063 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12064
12065 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12066 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12067 nil during initialization, in order not to miss changes since the
12068 file was opened. (Bug#14140)
12069
12070 2013-04-05 Leo Liu <sdl.web@gmail.com>
12071
12072 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12073
12074 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12075
12076 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12077
12078 2013-04-04 Glenn Morris <rgm@gnu.org>
12079
12080 * electric.el (electric-pair-inhibit-predicate): Add :version.
12081
12082 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12085 when a package is required several times (bug#14082).
12086
12087 2013-04-04 Roland Winkler <winkler@gnu.org>
12088
12089 * faces.el (read-face-name): Behave as promised by the docstring.
12090 Assume that arg default is a list of faces.
12091 (describe-face): Call read-face-name with list of default faces.
12092
12093 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12094
12095 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12096 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12097 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12098 the header.
12099 (bookmark-exit-hook-internal): Save even if list is empty.
12100
12101 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12102
12103 * emacs-lisp/package.el (package-pinned-packages): New var.
12104 (package--add-to-archive-contents): Obey it (bug#14118).
12105
12106 2013-04-03 Alan Mackenzie <acm@muc.de>
12107
12108 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12109 Also adapt to the new values of element 7 of a parse state.
12110
12111 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12112 parameter `not-in-delimiter'. Handle being inside comment opener.
12113 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12114 character in case we're typing a '*' after a '/'.
12115 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12116 instead by passing the parameter to c-state-pp-to-literal.
12117
12118 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12119 for elt. 7 of a parse state.
12120
12121 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12122
12123 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12124 * international/latin1-disp.el, international/mule-util.el:
12125 * language/cyril-util.el, language/european.el, language/ind-util.el:
12126 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12127 * language/tibetan.el, language/viet-util.el:
12128 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12129
12130 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12131
12132 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12133 (electric-pair-post-self-insert-function): Use it.
12134 (electric-pair-default-inhibit): New function, extracted from
12135 electric-pair-post-self-insert-function.
12136
12137 2013-03-31 Roland Winkler <winkler@gnu.org>
12138
12139 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12140
12141 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12144
12145 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12146
12147 Un-indent after "pass" and "return" statements (Bug#13888)
12148 * progmodes/python.el (python-indent-block-enders): New var.
12149 (python-indent-calculate-indentation): Use it.
12150
12151 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12152
12153 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12154 defun. Defining it as defalias could introduce too eager
12155 byte-compiler optimization. (Bug#14030)
12156
12157 2013-03-30 Chong Yidong <cyd@gnu.org>
12158
12159 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12160
12161 2013-03-30 Leo Liu <sdl.web@gmail.com>
12162
12163 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12164 (kmacro-execute-from-register): Pass the keyboard macro to
12165 kmacro-call-macro or repeating won't work correctly.
12166
12167 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12168
12169 * progmodes/subword.el: Back to using `forward-symbol'.
12170
12171 * subr.el (forward-whitespace, forward-symbol)
12172 (forward-same-syntax): Move from thingatpt.el.
12173
12174 2013-03-29 Leo Liu <sdl.web@gmail.com>
12175
12176 * kmacro.el (kmacro-to-register): New command.
12177 (kmacro-execute-from-register): New function.
12178 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12179
12180 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * mpc.el: Use defvar-local and setq-local.
12183 (mpc--proc-connect): Connection failures are not bugs.
12184 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12185 (mpc-volume-map): Bind to the up-events.
12186
12187 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12188
12189 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12190 instead of `forward-symbol'.
12191
12192 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12193
12194 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12195 (edebug--recursive-edit): Use it.
12196 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12197 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12198
12199 2013-03-28 Leo Liu <sdl.web@gmail.com>
12200
12201 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12202
12203 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12204
12205 * facemenu.el (list-colors-callback): New defvar.
12206 (list-colors-redisplay): New function.
12207 (list-colors-display): Install list-colors-redisplay as the
12208 revert-buffer-function. (Bug#14063)
12209
12210 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12213 and suffixes don't overlap (bug#14061).
12214
12215 * case-table.el: Use lexical-binding.
12216 (case-table-get-table): New function.
12217 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12218
12219 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12220
12221 * progmodes/subword.el: Add `superword-mode' to do word motion
12222 over symbol_words (parallels and leverages `subword-mode' which
12223 does word motion inside MixedCaseWords).
12224
12225 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12226
12227 * eshell/em-unix.el: Move su and sudo to...
12228 * eshell/em-tramp.el: ...Eshell tramp module.
12229
12230 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12233 Change return value to be a sexp. Delay `get-buffer' to after
12234 restoring the desktop (bug#13951).
12235
12236 2013-03-26 Leo Liu <sdl.web@gmail.com>
12237
12238 * register.el: Move semantic tag handling back to
12239 cedet/semantic/senator.el. (Bug#14052)
12240
12241 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12244 into the prompt either (bug#13963).
12245
12246 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12249 part of "(error-foo)".
12250
12251 2013-03-24 Juri Linkov <juri@jurta.org>
12252
12253 * replace.el (list-matching-lines-prefix-face): New defcustom.
12254 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12255 `occur-engine' if `face-differs-from-default-p' returns t.
12256 (occur-engine): Add `,' inside backquote construct to evaluate
12257 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12258 Pass `prefix-face' to the functions `occur-context-lines' and
12259 `occur-engine-add-prefix'.
12260 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12261 `prefix-face' and propertize the prefix with `prefix-face'.
12262 (Bug#14017)
12263
12264 2013-03-24 Leo Liu <sdl.web@gmail.com>
12265
12266 * nxml/rng-valid.el (rng-validate-while-idle)
12267 (rng-validate-quick-while-idle): Guard against deleted buffer.
12268 (Bug#13999)
12269
12270 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12271 is the last entry in kill-buffer-hook.
12272
12273 * files.el (kill-buffer-hook): Doc fix.
12274
12275 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12276
12277 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12278 Make it safe-local.
12279
12280 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12281
12282 2013-03-23 Leo Liu <sdl.web@gmail.com>
12283
12284 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12285 Remove.
12286
12287 * nxml/rng-valid.el (rng-validate-mode)
12288 (rng-after-change-function, rng-do-some-validation):
12289 * nxml/rng-maint.el (rng-validate-buffer):
12290 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12291 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12292 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12293 (nxml-extend-after-change-region): Use with-silent-modifications.
12294
12295 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12296 timer-idle-list.
12297
12298 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12299 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12300 timer-idle-list. (Bug#13999)
12301
12302 2013-03-23 Juri Linkov <juri@jurta.org>
12303
12304 * info.el (info-index-match): New face.
12305 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12306 main pattern and add text properties with the new face to matches
12307 in index entries relative to the beginning of the index entry.
12308 (Bug#14015)
12309
12310 2013-03-21 Eric Ludlam <zappo@gnu.org>
12311
12312 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12313 Inhibit read only while inserting objects.
12314
12315 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12316
12317 * progmodes/cfengine.el: Update docs to mention
12318 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12319 symbol motion. Remove "_" from the word syntax.
12320
12321 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12322
12323 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12324 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12325
12326 2013-03-20 Juri Linkov <juri@jurta.org>
12327
12328 * info.el (Info-next-reference-or-link)
12329 (Info-prev-reference-or-link): New functions.
12330 (Info-next-reference, Info-prev-reference): Use them.
12331 (Info-try-follow-nearest-node): Handle footnote navigation.
12332 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12333
12334 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12337 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12338
12339 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12340
12341 Suppress unnecessary non-ASCII chatter during build process.
12342 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12343 (batch-skkdic-convert): Suppress most of the chatter.
12344 It's not needed so much now that machines are faster,
12345 and its non-ASCII component was confusing; see Dmitry Gutov in
12346 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12347
12348 2013-03-20 Leo Liu <sdl.web@gmail.com>
12349
12350 * ido.el (ido-chop): Fix bug#10994.
12351
12352 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12353
12354 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12355 Remove vars.
12356 (whitespace-color-on, whitespace-color-off):
12357 Use `font-lock-fontify-buffer' (Bug#13817).
12358
12359 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12360
12361 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12362 remapping in mode-line.
12363 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12364
12365 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12366
12367 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12368 value for `whitespace-line' face (Bug#13875).
12369 (whitespace-font-lock-keywords): Change description.
12370 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12371 the constructed keywords instead.
12372 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12373
12374 2013-03-19 Leo Liu <sdl.web@gmail.com>
12375
12376 * progmodes/compile.el (compilation-display-error): New command.
12377 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12378 C-o. (Bug#13992)
12379
12380 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12381
12382 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12383
12384 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12385
12386 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12387
12388 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12389
12390 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12391
12392 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12393 * net/tramp-gvfs.el (top):
12394 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12395 (tramp-handle-shell-command): Use it.
12396 (tramp-dissect-file-name): Raise an error when hostname is a
12397 method name, and neither method nor user is specified.
12398
12399 * net/trampver.el: Update release number.
12400
12401 2013-03-18 Leo Liu <sdl.web@gmail.com>
12402
12403 Make sure eldoc can be turned off properly.
12404 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12405 eldoc-mode.
12406 (eldoc-display-message-p): Revert last change.
12407 (eldoc-display-message-no-interference-p)
12408 (eldoc-print-current-symbol-info): Tweak.
12409
12410 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12411
12412 * doc-view.el (doc-view-new-window-function): Check the new window
12413 overlay's display property instead the char property of the
12414 buffer's first char. Use `with-selected-window' instead of
12415 `save-window-excursion' with `select-window'.
12416 (doc-view-document->bitmap): Check the current doc-view overlay's
12417 display property instead the char property of the buffer's first char.
12418
12419 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12420
12421 Automate the build of ja-dic.el (Bug#13984).
12422 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12423 from the input, rather than assume that it's been done for us by the
12424 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12425 the current date into a ja-dic.el comment, as that complicates
12426 regression testing.
12427
12428 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12429
12430 * whitespace.el: Fix double evaluation.
12431 (whitespace-space, whitespace-hspace, whitespace-tab)
12432 (whitespace-newline, whitespace-trailing, whitespace-line)
12433 (whitespace-space-before-tab, whitespace-indentation)
12434 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12435 obsolete defvars.
12436 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12437 (whitespace-color-on): Use a single font-lock-add-keywords call.
12438 Fix double-evaluation of face variables.
12439
12440 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12441
12442 * net/tramp-adb.el (tramp-adb-parse-device-names):
12443 Use `start-process' instead of `call-process'. Otherwise, the
12444 function might be blocked under MS Windows. (Bug#13299)
12445
12446 2013-03-17 Leo Liu <sdl.web@gmail.com>
12447
12448 Extend eldoc to display info in the mode-line. (Bug#13978)
12449 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12450 (eldoc-mode-line-string): New variable.
12451 (eldoc-minibuffer-message): New function.
12452 (eldoc-message-function): New variable.
12453 (eldoc-message): Use it.
12454 (eldoc-display-message-p)
12455 (eldoc-display-message-no-interference-p):
12456 Support eldoc-post-insert-mode.
12457
12458 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12459 (eval-expression): Run it.
12460
12461 2013-03-17 Roland Winkler <winkler@gnu.org>
12462
12463 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12464 strings in the list of return values.
12465
12466 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12467
12468 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12469 radix before checking for HMS forms.
12470
12471 2013-03-16 Leo Liu <sdl.web@gmail.com>
12472
12473 * progmodes/scheme.el: Add indentation and font-locking for λ.
12474 (Bug#13975)
12475
12476 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12477
12478 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12479 token before point (bug#13942).
12480
12481 2013-03-16 Leo Liu <sdl.web@gmail.com>
12482
12483 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12484
12485 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12486
12487 * startup.el (command-line-normalize-file-name): Fix handling of
12488 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12489 <xfq.free@gmail.com> in
12490 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12491
12492 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12493
12494 Sync with Tramp 2.2.7.
12495
12496 * net/trampver.el: Update release number.
12497
12498 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12499
12500 * doc-view.el: Fix bug#13887.
12501 (doc-view-insert-image): Don't modify overlay associated to
12502 non-live windows, and implement horizontal centering of image in
12503 case it's smaller than the window.
12504 (doc-view-new-window-function): Force redisplay of new windows on
12505 doc-view buffers.
12506
12507 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12508
12509 * saveplace.el (save-place-alist-to-file): Don't sort
12510 `save-place-alist', just pretty-print it (bug#13882).
12511
12512 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12513
12514 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12515 Check whether `default-file-name-coding-system' is bound.
12516 It isn't in XEmacs.
12517
12518 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12521 backquotes for `obsolete' (bug#13929).
12522
12523 * international/mule.el (find-auto-coding): Include file name in
12524 obsolescence warning (bug#13922).
12525
12526 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12527
12528 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12529 for CFEngine 3-specific indentation.
12530 (cfengine3-indent-line): Use it. Fix up category regex.
12531 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12532
12533 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12534
12535 * type-break.el (type-break-file-name):
12536 * textmodes/remember.el (remember-data-file):
12537 * strokes.el (strokes-file):
12538 * shadowfile.el (shadow-initialize):
12539 * saveplace.el (save-place-file):
12540 * ps-bdf.el (bdf-cache-file):
12541 * progmodes/idlwave.el (idlwave-config-directory):
12542 * net/quickurl.el (quickurl-url-file):
12543 * international/kkc.el (kkc-init-file-name):
12544 * ido.el (ido-save-directory-list-file):
12545 * emulation/viper.el (viper-custom-file-name):
12546 * emulation/vip.el (vip-startup-file):
12547 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12548 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12549
12550 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12551
12552 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12553 * language/thai-word.el: Switch to UTF-8.
12554
12555 See ChangeLog.16 for earlier changes.
12556
12557 ;; Local Variables:
12558 ;; coding: utf-8
12559 ;; End:
12560
12561 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12562
12563 This file is part of GNU Emacs.
12564
12565 GNU Emacs is free software: you can redistribute it and/or modify
12566 it under the terms of the GNU General Public License as published by
12567 the Free Software Foundation, either version 3 of the License, or
12568 (at your option) any later version.
12569
12570 GNU Emacs is distributed in the hope that it will be useful,
12571 but WITHOUT ANY WARRANTY; without even the implied warranty of
12572 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12573 GNU General Public License for more details.
12574
12575 You should have received a copy of the GNU General Public License
12576 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.