* net/shr.el (shr-tag-img): Prefer the title over the alt text.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2
3 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4 (bug#16537).
5
6 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
7
8 * net/eww.el (eww-download-callback):
9 Fix reference to eww-download-directory.
10
11 * emacs-lisp/bytecomp.el (byte-compile-file):
12 Remove unused local variable `file-name'.
13
14 2014-01-24 Glenn Morris <rgm@gnu.org>
15
16 * woman.el (woman-default-faces, woman-monochrome-faces):
17 Fix obsolescence specification.
18
19 * subr.el (with-demoted-errors): Doc fix.
20
21 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
24 (cl--macroexp-fboundp): New function.
25 (cl--make-type-test): Use it.
26
27 2014-01-23 Glenn Morris <rgm@gnu.org>
28
29 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
30 * simple.el (eval-expression): Doc fixes.
31
32 2014-01-22 Glenn Morris <rgm@gnu.org>
33
34 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
35
36 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * emacs-lisp/package.el: Write files silently.
39 (package-autoload-ensure-default-file, package--write-file-no-coding)
40 (package-generate-description-file, package--download-one-archive)
41 (package-install-from-archive): Tell `write-region' to stay quiet.
42 (package-menu-mode, package-menu--print-info): Omit the Archive column
43 if there's only one archive.
44 (package-all-keywords, package--has-keyword-p): Remove dead code.
45
46 2014-01-22 Glenn Morris <rgm@gnu.org>
47
48 * version.el (emacs-bzr-version-bzr): Fix typo.
49
50 * version.el (emacs-repository-get-version):
51 Check either .bzr or .git, but not both.
52 Make the git case actually use the DIR argument, and return nil
53 rather than the empty string.
54 Avoid error if .git exists but the git executable is not found.
55
56 2014-01-22 Martin Rudalics <rudalics@gmx.at>
57
58 Fixes in window size functions around Bug#16430 and Bug#16470.
59 * window.el (window-total-size, window-size): New argument ROUND.
60 (window--min-delta-1, window-min-delta, window--max-delta-1):
61 Be more conservative when calculating the numbers of lines or
62 columns a window can shrink (Bug#16430).
63 (fit-window-to-buffer): Simplify code.
64 * term.el (term-window-width): Call window-body-width again.
65
66 2014-01-22 Glenn Morris <rgm@gnu.org>
67
68 * image.el (image-format-suffixes): Doc fix.
69
70 * international/quail.el (quail-define-package): Doc fix.
71
72 * emacs-lisp/authors.el (authors-valid-file-names):
73 (authors-renamed-files-alist): Additions.
74
75 * vc/vc-git.el (vc-git-print-log): Remove --follow;
76 reverts 2014-01-09 change. (Bug#16422)
77
78 * calc/calc-embed.el (thing-at-point-looking-at):
79 * emacs-lisp/map-ynp.el (x-popup-dialog):
80 * obsolete/lmenu.el (x-popup-dialog):
81 * emacs-lisp/package.el (url-recreate-url):
82 * mail/mailclient.el (clipboard-kill-ring-save):
83 * subr.el (x-popup-dialog): Update declaration.
84 * mail/rmail.el (rmail-mime-message-p):
85 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
86
87 2014-01-21 Daniel Colascione <dancol@dancol.org>
88
89 * progmodes/sh-script.el (sh--inside-noncommand-expression):
90 Correctly detect when we're inside an arithmetic expansion form
91 containing nested parenthesis.
92 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
93 to detect cases where we shouldn't expand "<<" to a heredoc
94 skeleton.
95
96 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
99 (eldoc--message-command-p): New function.
100 (eldoc-display-message-p): Use it.
101 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
102 message is not automatically erased for us.
103 (eldoc-print-current-symbol-info): Erase previous message, if any.
104
105 2014-01-21 Tassilo Horn <tsdh@gnu.org>
106
107 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
108 specify it's an interactive function.
109
110 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
111 Fix regex used for scanning for citation keys which failed for
112 citations with optional arguments.
113
114 2014-01-21 Leo Liu <sdl.web@gmail.com>
115
116 * simple.el (read--expression): Don't enable eldoc-mode.
117
118 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
119
120 * simple.el (move-beginning-of-line): Make sure we don't move forward
121 (bug#16497).
122
123 2014-01-20 Juri Linkov <juri@jurta.org>
124
125 * saveplace.el (toggle-save-place, save-place-to-alist)
126 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
127 'dired-mode) before checking for dired-directory. (Bug#16477)
128
129 2014-01-20 Juri Linkov <juri@jurta.org>
130
131 * indent.el (indent-line-to): Use backward-to-indentation
132 instead of back-to-indentation. (Bug#16461)
133
134 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
135
136 Revert some of the CANNOT_DUMP fix (Bug#16494).
137 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
138 but fixing this can wait until after the next release.
139 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
140
141 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
142
143 * eshell/esh-mode.el (eshell-password-prompt-regexp):
144 Use `password-word-equivalents'.
145 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
146 to t. (Bug#5664, Bug#13124)
147
148 2014-01-19 Alan Mackenzie <acm@muc.de>
149
150 Bind open-paren-in-column-0-is-defun-start to nil at some entry
151 points.
152 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
153 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
154 * progmodes/cc-mode.el (c-before-change, c-after-change)
155 (c-font-lock-fontify-region): Bind it here.
156
157 2014-01-19 Martin Rudalics <rudalics@gmx.at>
158
159 * term.el (term-window-width): Call window-text-width instead of
160 window-width (Bug#16470).
161
162 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
163
164 * simple.el (password-word-equivalents): Remove duplicates.
165 Sort, to make this easier next time.
166 Downcase. Omit ": " after "jelszó".
167
168 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
169
170 * term/common-win.el (saved-region-selection): Defvar it.
171 (x-select-text): Set saved-region-selection (Bug#16382).
172
173 2014-01-18 Glenn Morris <rgm@gnu.org>
174
175 * emacs-lisp/authors.el (authors-aliases)
176 (authors-renamed-files-alist): Add some entries.
177
178 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
179
180 * net/tramp.el (tramp-password-prompt-regexp):
181 Use `password-word-equivalents' if available.
182 (tramp-action-password, tramp-process-one-action)
183 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
184
185 2014-01-17 Chong Yidong <cyd@gnu.org>
186
187 * simple.el (password-word-equivalents): New defcustom.
188 * comint.el (comint-password-prompt-regexp): Use it. Bump version
189 to 24.4.
190 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
191 to t. (Bug#13124)
192
193 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
194
195 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
196 (ruby-align-to-stmt-keywords): Change the default value.
197 Use `ruby-alignable-keywords' to generate the possible customization
198 choices.
199 (ruby-smie-rules): Instead of using a hardcoded list of alignable
200 keywords, check against the value of `ruby-alignable-keywords'
201 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
202
203 2014-01-17 Glenn Morris <rgm@gnu.org>
204
205 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
206
207 Make M-x authors return zero *Authors Errors* from current logs.
208 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
209 (authors-ignored-files): Add some entries, remove others.
210 (authors-ambiguous-files, authors-valid-file-names):
211 Add some entries.
212 (authors-renamed-files-alist): Add, remove, and adjust entries.
213 (authors-renamed-files-regexps): Add some entries.
214 Remove some very broad ones. Make some entries `lax'.
215 (authors-lax-changelogs): New constant.
216 (authors-disambiguate-file-name): Treat top-level specially.
217 (authors-lax-changelog-p): New function.
218 (authors-canonical-file-name): Check file as written against
219 authors-valid-file-names. Do not special-case etc/.
220 Handle `lax' logs and authors-renamed-files-regexps elements.
221
222 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
223
224 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
225 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
226 callers.
227
228 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
231 Assume we're already in the proper buffer.
232 Inspired by Anders Lindgren <andlind@gmail.com>.
233 (follow-post-command-hook): Call it from the right buffer.
234 (follow-comint-scroll-to-bottom): Adjust call.
235 (follow-all-followers): Use get-buffer-window-list.
236
237 2014-01-15 Daniel Colascione <dancol@dancol.org>
238
239 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
240 `buffer-file-name' in interactive-form so that we don't leave
241 pathless file names in `file-name-history'.
242
243 2014-01-15 Juri Linkov <juri@jurta.org>
244
245 * indent.el (indent-rigidly): Set deactivate-mark to nil
246 in transient indentation mode. (Bug#16438)
247
248 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
249
250 * emacs-lisp/package.el (package-desc-keywords): New function
251 (Bug#16222).
252 (describe-package-1, package-all-keywords)
253 (package--has-keyword-p): Use it.
254
255 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
256
257 * simple.el (define-alternatives): When creating the
258 COMMAND-alternatives variable, assign COMMAND as its definition
259 name so that `describe-variable' can relocate it.
260
261 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
262
263 * font-lock.el (font-lock-keywords): Fix typo in docstring
264 (bug#16307).
265
266 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
267
268 * ispell.el (ispell-region): Reset `in-comment' for new line
269 instead of wrongly reset `add-coment' (bug#13577).
270
271 2014-01-14 Daiki Ueno <ueno@gnu.org>
272
273 * epa-file.el (epa-file-write-region): Encode the region according
274 to `buffer-file-format'. Problem reported at:
275 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
276
277 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
278
279 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
280 so it applies in the right buffer (bug#16410).
281
282 2014-01-13 Daniel Colascione <dancol@dancol.org>
283
284 * textmodes/rst.el (rst-define-key): Provide deprecated
285 keybindings through named functions instead of anonymous ones so
286 that "??" doesn't appear in describe-mode output.
287
288 2014-01-13 Bastien Guerry <bzg@gnu.org>
289
290 * simple.el (define-alternatives): Call the selected command
291 interactively. When setting `COMMAND--implementation' for the
292 first time, tell the user how to chose another implementation.
293 Enhance the docstring.
294
295 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
296
297 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
298 (log-edit--match-first-line): New function.
299 (log-edit-font-lock-keywords): Use it.
300 (log-edit-mode): Make jit-lock-defer-multiline work.
301
302 2014-01-13 Bastien Guerry <bzg@gnu.org>
303
304 * rect.el (rectangle-mark-mode): When the region is not active,
305 display a message saying that the mark as been set and that
306 rectangle mode is in use.
307 (rectangle--highlight-for-redisplay): Only put an overlay with a
308 visible vertical bar when (display-graphic-p) is non-nil.
309 This partially fixes Bug#16403.
310
311 2014-01-13 Juri Linkov <juri@jurta.org>
312
313 * info.el (Info-find-file): Go to DIR before displaying the error
314 about a nonexistent file if no previous Info file is visited.
315 Use `user-error' instead of `error' for "Info file %s does not exist".
316 (Info-find-node-2): In case of a nonexistent node in unwind forms
317 go to the Top node if there is no previous node to revert to.
318 (Bug#16405)
319
320 2014-01-13 Martin Rudalics <rudalics@gmx.at>
321
322 fit-frame/window-to-buffer code fixes including one for Bug#14096.
323 * window.el (fit-frame-to-buffer): Fix doc-string.
324 Respect window-min-height/-width. Fit pixelwise when
325 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
326 when avoiding that frame goes partially off-screen.
327 (fit-window-to-buffer): Respect window-min-height/-width
328 (Bug#14096).
329
330 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
333 after an empty line.
334
335 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * net/shr.el (shr-render-region): Autoload.
338
339 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
340
341 * net/eww.el (eww-download-directory): Rename from
342 `eww-download-path' (Bug#16419).
343
344 2014-01-12 Leo Liu <sdl.web@gmail.com>
345
346 * dired-x.el (dired-mode-map): Fix last change.
347
348 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
349
350 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
351
352 Spelling fixes.
353 * emacs-lisp/generic.el (generic--normalize-comments):
354 Rename from generic--normalise-comments. All uses changed.
355 * play/bubbles.el (bubbles--neighborhood-score):
356 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
357 (bubbles--neighborhood-available)
358 (bubbles--update-neighborhood-score):
359 Rename from names with 'neighbourhood'. All uses changed.
360
361 2014-01-12 Leo Liu <sdl.web@gmail.com>
362
363 Re-implement the feature of showing eldoc info after editing.
364 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
365 (eldoc-edit-message-commands): New function.
366 (eldoc-print-after-edit): New variable.
367 (eldoc-pre-command-refresh-echo-area): Emit message only by
368 eldoc-message-commands.
369 (eldoc-mode): Restrict eldoc-message-commands to editing commands
370 if eldoc-print-after-edit is set. (Bug#16346)
371 * simple.el (read--expression): Enable eldoc-mode.
372 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
373
374 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
375 Eric S. Raymond <esr@thyrsus.com>
376
377 * version.el (emacs-repository-get-version): Enhance so the
378 function works correctly in either a Bazaar or Git repo.
379
380 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
381
382 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
383 Goes with removal of the joke manpages from /etc.
384
385 2014-01-10 K. Handa <handa@gnu.org>
386
387 * mail/rmail.el (rmail-get-coding-system):
388 Check rmail-get-coding-function before "funcall"ing it.
389
390 2014-01-10 Glenn Morris <rgm@gnu.org>
391
392 * emacs-lisp/authors.el (authors-fixed-entries):
393 Update for files that no longer exist.
394
395 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
396
397 * version.el (emacs-bzr-get-version): Restore compatibilty with
398 24.3 (Tested).
399
400 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
401
402 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
403 and Podfile.
404
405 2014-01-10 Eli Zaretskii <eliz@gnu.org>
406
407 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
408
409 2014-01-10 Chong Yidong <cyd@gnu.org>
410
411 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
412
413 2014-01-10 Anders Lindgren <andlind@gmail.com>
414
415 * follow.el (follow-cache-command-list): Include right-char and
416 left-char.
417
418 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
419
420 Spelling fixes.
421 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
422 * woman.el (woman-mark-horizontal-position):
423 Rename from woman-mark-horizonal-position. Use changed.
424
425 2014-01-10 Glenn Morris <rgm@gnu.org>
426
427 * info.el (info-initialize): If running uninstalled, ensure our
428 own info files are always found first, even if INFOPATH is set.
429
430 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
431
432 2014-01-09 David Engster <deng@randomsample.de>
433
434 * emacs-lisp/eieio-custom.el:
435 * emacs-lisp/eieio-opt.el: Set generated autoload file to
436 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
437 * emacs-lisp/eieio.el: Regenerate autoloads.
438
439 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
440
441 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
442 following renames. (Bug#8756)
443
444 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
445
446 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
447 (bug#16382).
448 (activate-mark): Add `no-tmm' argument.
449 (set-mark, push-mark-command): Use it instead of running
450 activate-mark-hook by hand.
451
452 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
453
454 In preparation for the move to git, sanitize out some
455 Bazaar-specific names.
456
457 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
458
459 * version.el (emacs-bzr-version): Name changed to
460 emacs-repository-version. Obsolete-variable alias made.
461 * loadup.el: Follow through on this name change.
462 * mail/emacsbug.el (report-emacs-bug): Factor out any
463 assumption about the version control system in use.
464
465 2014-01-08 David Engster <deng@randomsample.de>
466
467 * help-fns.el (help-fns-describe-function-functions):
468 New variable to call functions for augmenting help buffers.
469 (describe-function-1): Remove explicit calls to
470 `help-fns--compiler-macro', `help-fns--parent-mode' and
471 `help-fns--obsolete'. Put them in above new variable instead, and
472 call them through `run-hook-with-args'.
473 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
474 `eieio-describe-class'. Not meant for interactive use anymore,
475 but to augment existing help buffers. Remove optional second
476 argument. Create proper button for file location.
477 Rewrite function to use `insert' instead of `princ' and `prin1' where
478 possible.
479 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
480 (eieio-method-def, eieio-class-def): Move further up.
481 (describe-method, describe-generic, eieio-describe-method):
482 Remove aliases.
483 (eieio-help-constructor, eieio-help-generic): Rename from
484 `eieio-describe-constructor' and `eieio-describe-generic', resp.
485 Rewrite to use `insert' in the current buffer and use proper help
486 buttons.
487 (eieio-help-find-method-definition)
488 (eieio-help-find-class-definition): Also accept symbols as
489 arguments.
490 (eieio-help-mode-augmentation-maybee): Remove.
491 (eieio-describe-class-sb): Use `describe-function'.
492 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
493 Add `eieio-help-generic' and `eieio-help-constructor'.
494
495 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
496
497 Spelling fixes.
498 * language/china-util.el (hz-ascii-designation):
499 Rename from hz-ascii-designnation.
500 (hz-ascii-designation): Rename from hz-ascii-designnation.
501 All uses changed.
502
503 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
506 package-alist.
507
508 2014-01-08 Bastien Guerry <bzg@gnu.org>
509
510 * emacs-lisp/package.el (package-delete):
511 Correctly delete the package from package-alist.
512
513 2014-01-08 Daiki Ueno <ueno@gnu.org>
514
515 * emacs-lisp/package.el (url-recreate-url): Declare.
516 (url-http-target-url): Declare.
517 (package-handle-response): Include requested URL in the error message.
518 (package--check-signature): Don't re-signal errors from
519 package--with-work-buffer. Suggested by Stefan Monnier.
520
521 2014-01-07 Bastien Guerry <bzg@gnu.org>
522
523 * minibuffer.el (completion--try-word-completion): When both a
524 hyphen and a space are possible candidates for the character
525 following a word, display both candidates. (Bug#15980)
526
527 2014-01-07 Martin Rudalics <rudalics@gmx.at>
528
529 * window.el (balance-windows-2): While rounding don't give a
530 window more than the remainder. Bug#16351, Bug#16383.
531
532 2014-01-07 Glenn Morris <rgm@gnu.org>
533
534 * menu-bar.el (menu-bar-help-extra-packages): Remove.
535 (menu-bar-help-menu): Use view-external-packages instead.
536
537 2014-01-07 Bastien Guerry <bzg@gnu.org>
538
539 * emacs-lisp/package.el (package-delete): Also delete the package
540 name from `package-alist', not its description only.
541
542 2014-01-07 Glenn Morris <rgm@gnu.org>
543
544 * help.el (view-external-packages):
545 * menu-bar.el (menu-bar-help-extra-packages):
546 Visit efaq.info rather than etc/MORE.STUFF.
547
548 2014-01-07 Juri Linkov <juri@jurta.org>
549
550 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
551 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
552
553 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
554 that shadows RET. (Bug#16342)
555
556 2014-01-07 Chong Yidong <cyd@gnu.org>
557
558 * isearch.el (isearch-yank-char, isearch-yank-word)
559 (isearch-yank-line): Doc fix.
560
561 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
564 * emacs-lisp/elint.el (elint-find-builtins):
565 * emacs-lisp/eldoc.el (eldoc-symbol-function):
566 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
567 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
568 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
569 * apropos.el (apropos-safe-documentation):
570 * subr.el (symbol-file): Remove redundant fboundp.
571 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
572
573 2014-01-06 Bastien Guerry <bzg@gnu.org>
574
575 * hl-line.el (global-hl-line-overlay): Make a local variable.
576 (global-hl-line-overlays): New variable to store all overlays.
577 (global-hl-line-mode): Don't delete overlays from the current
578 buffer when `global-hl-line-sticky-flag' is non-nil.
579 (global-hl-line-highlight): Add new overlays to
580 `global-hl-line-overlays'.
581 (global-hl-line-unhighlight-all): New function to delete all
582 overlays when turning off `global-hl-line-mode'.
583 This fixes Bug#16183.
584
585 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * subr.el (set-transient-map): Fix nested case and docstring.
588
589 2014-01-06 Tassilo Horn <tsdh@gnu.org>
590
591 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
592 `Texinfo' entry.
593
594 2014-01-06 Daniel Colascione <dancol@dancol.org>
595
596 Fix defun navigation in vc log view.
597
598 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
599 like `beginning-of-defun'.
600 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
601 log-view-end-of-defun to log-view-end-of-defun-1. Replace
602 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
603 (log-view-extract-comment): Call `log-view-current-entry' directly
604 instead of relying on broken `log-view-beginning-of-defun' behavior.
605
606 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
607
608 Spelling fixes.
609 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
610 * emacs-lisp/debug.el (cancel-debug-on-entry):
611 * epg.el (epg-error-to-string):
612 * files.el (recover-file):
613 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
614 * mail/emacsbug.el (report-emacs-bug-hook):
615 * mail/sendmail.el (mail-recover):
616 * ses.el (ses-yank-resize):
617 * term/ns-win.el (ns-print-buffer):
618 Spelling fixes in diagnostics, mostly for "canceled" with one L.
619 * epg.el (epg-key-capability-alist): Rename from misspelled version.
620 All uses changed.
621 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
622
623 2014-01-06 Leo Liu <sdl.web@gmail.com>
624
625 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
626 to avoid shadowing global key. (Bug#16354)
627
628 2014-01-06 Daniel Colascione <dancol@dancol.org>
629
630 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
631 rst-mode.
632
633 2014-01-05 Martin Rudalics <rudalics@gmx.at>
634
635 * window.el (balance-windows): Add mising t to fix Bug#16351.
636
637 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
638
639 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
640 (bug#16285).
641 (shr-insert): If we have a word that's longer than `shr-width',
642 break after it anyway. Otherwise we'll do no breaking once we get
643 such a long word.
644
645 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
646
647 * net/eww.el (eww): Support single/double quote for search.
648 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
649 (eww-history-quit): Delete and use quit-window.
650 (eww-history-kill): Delete, because it doesn't work well and
651 not necessary.
652 (eww-history-mode-map): Delete some keys and add easy-menu.
653
654 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
655
656 Fix misspelling of 'chinese' in rx (Bug#16237).
657 * emacs-lisp/rx.el (rx-categories): Correct spelling of
658 chinese-two-byte.
659
660 Change subword regexps back to vars (Bug#16296).
661 * progmodes/subword.el (subword-forward-regexp)
662 (subword-backward-regexp): Change these back to variables.
663
664 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
665
666 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
667 syntax-begin-function (bug#16247).
668
669 2014-01-03 Chong Yidong <cyd@gnu.org>
670
671 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
672 (advice--docstring): Delete variable.
673 (advice--make-1): Leave the docstring empty.
674 (advice-add): Use function-documentation for advised docstring.
675
676 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
677 Ignore function-documentation property when getting documentation.
678 (ad-activate-advised-definition): Use function-documentation
679 generate the docstring.
680 (ad-make-advised-definition): Don't call
681 ad-make-advised-definition-docstring.
682 (ad-make-advised-definition-docstring, ad-advised-definition-p):
683 Delete functions.
684
685 * progmodes/sql.el (sql-help): Use function-documentation instead
686 of dynamic-docstring-function property. No need to autoload now.
687 (sql--help-docstring): New variable.
688 (sql--make-help-docstring): Use it.
689
690 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * ielm.el (ielm-tab): Retarget.
693 (ielm-map): Use ielm-tab for tab.
694 (ielm-complete-filename): Use comint-filename-completion.
695 (ielm-complete-symbol): Remove.
696 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
697 remove ielm-tab from completion-at-point-functions (bug#16224).
698
699 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
700 Beware signals raised by predicates (bug#16201).
701
702 2014-01-02 Richard Stallman <rms@gnu.org>
703
704 * dired-aux.el (dired-do-print): Handle printer-name.
705
706 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
707 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
708 (rmail-epa-decrypt): Turn off mime processing.
709
710 * mail/rmail.el (rmail-make-in-reply-to-field):
711 Add parens in message-id.
712
713 * mail/rmail.el (rmail-get-coding-function): Variable.
714 (rmail-get-coding-system): Use it.
715
716 2013-12-31 Eli Zaretskii <eliz@gnu.org>
717
718 * international/mule-conf.el: Unify the charset indian-is13194.
719 (indian-is13194): Specify unify-map.
720
721 2013-12-31 Leo Liu <sdl.web@gmail.com>
722
723 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
724
725 2013-12-30 Daniel Colascione <dancol@dancol.org>
726
727 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
728 of printing a useless when we resume from sleep.
729
730 * progmodes/sh-script.el
731 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
732 in indentation code. (Bug#16233)
733
734 2013-12-28 João Távora <joaotavora@gmail.com>
735
736 * elec-pair.el (electric-pair-post-self-insert-function):
737 Don't open extra newlines at beginning of buffer. (Bug#16272)
738
739 2013-12-28 Eli Zaretskii <eliz@gnu.org>
740
741 * frame.el (window-system-for-display): Don't allow to create a
742 GUI frame from a -nw session on MS-Windows. (Bug#14739)
743
744 2013-12-28 Glenn Morris <rgm@gnu.org>
745
746 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
747 Update callers.
748
749 * apropos.el (apropos-match-face):
750 * calculator.el (calculator-displayer):
751 * dabbrev.el (dabbrev-search-these-buffers-only):
752 * face-remap.el (buffer-face-mode-face):
753 * simple.el (yank-handled-properties):
754 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
755 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
756 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
757 (hashcash-double-spend-database):
758 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
759 (ruby-deep-indent-paren-style):
760 * textmodes/flyspell.el (flyspell-auto-correct-binding):
761 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
762 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
763 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
764 Specify custom types.
765
766 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
767 * bookmark.el (bookmark-bmenu-use-header-line):
768 * doc-view.el (doc-view-scale-internally):
769 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
770 * register.el (register-preview-delay):
771 * net/shr.el (shr-bullet):
772 * progmodes/cfengine.el (cfengine-cf-promises)
773 (cfengine-parameters-indent):
774 * progmodes/octave.el (inferior-octave-error-regexp-alist):
775 * textmodes/reftex-vars.el (reftex-label-regexps):
776 * vc/log-edit.el (log-edit-setup-add-author): Add version.
777
778 * net/tls.el (tls-certtool-program): Fix default value.
779
780 * desktop.el (desktop-restore-in-current-display):
781 * newcomment.el (comment-empty-lines):
782 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
783 (idlwave-pad-keyword):
784 * progmodes/tcl.el (tcl-tab-always-indent):
785 * textmodes/reftex-vars.el (reftex-index-default-tag):
786 * elec-pair.el (electric-pair-skip-whitespace):
787 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
788
789 * emacs-lisp/authors.el (authors-ignored-files)
790 (authors-valid-file-names, authors-renamed-files-alist): Additions.
791
792 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
793
794 * shell.el (shell-dynamic-complete-command): Doc fix.
795 (shell--command-completion-data): Shell completion now matches
796 executable filenames from the current buffer's directory, on
797 systems in which this behavior is the default (windows-nt, ms-dos).
798
799 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
800
801 * net/shr.el (shr-insert): Don't infloop if the width is zero.
802
803 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
806 (bug#16251).
807
808 * electric.el: Move all electric-pair-* to elec-pair.el.
809 * elec-pair.el: New file, split from electric.el.
810
811 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
812
813 * net/shr.el (shr-find-fill-point): Don't try to fill if the
814 indentation level is larger than the width, because that will
815 infloop.
816 (shr-insert): Fill repeatedly long texts, so that Japanese is
817 formatted correctly (bug#16263).
818 (shr-find-fill-point): Off by one error in comparison with the
819 indentation.
820
821 2013-12-26 João Távora <joaotavora@gmail.com>
822
823 * electric.el (electric-pair-mode): More flexible engine for skip-
824 and inhibit predicates, new options for pairing-related functionality.
825 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
826 if that keeps or improves their balance in buffers.
827 (electric-pair-delete-adjacent-pairs): Delete the pair when
828 backspacing over adjacent matched delimiters.
829 (electric-pair-open-extra-newline): Open extra newline when
830 inserting newlines between adjacent matched delimiters.
831 (electric--sort-post-self-insertion-hook):
832 Sort post-self-insert-hook according to priority values when
833 minor-modes are activated.
834 * simple.el (newline-and-indent): Call newline with interactive
835 set to t.
836 (blink-paren-post-self-insert-function): Set priority to 100.
837 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
838 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
839 comments. Locally set electric-pair-skip-whitespace to 'chomp and
840 electric-pair-open-newline-between-pairs to nil.
841
842 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
843
844 * progmodes/python.el: Use lexical-binding.
845 (python-nav-beginning-of-defun): Stop searching ASAP.
846
847 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
848
849 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
850 Fix interactive spec. Doc fix. (Bug#15754)
851
852 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
853
854 * emacs-lisp/byte-run.el (eval-when-compile):
855 * progmodes/cc-defs.el (cc-eval-when-compile):
856 Fix edebug spec (bug#16184).
857
858 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
859
860 * net/shr.el (shr-visit-file): Remove debugging function.
861 (shr-insert): Don't infloop if we can't find a good place to break
862 the line (bug#16256).
863
864 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
865
866 * progmodes/python.el:
867 (python-nav--lisp-forward-sexp): New function.
868 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
869 python-nav-lisp-forward-sexp-safe.
870 (python-nav--forward-sexp): New argument SAFE allows switching
871 forward sexp movement behavior for parens.
872 (python-nav-forward-sexp): Throw errors on unterminated parens
873 (Bug#16191).
874 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
875 (python-nav-backward-sexp-safe): New functions.
876 (python-shell-buffer-substring):
877 Use `python-nav-forward-sexp-safe'.
878
879 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
880
881 * net/shr.el (shr-find-fill-point): Don't break lines before a
882 quotation mark.
883 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
884 (shr-find-fill-point): Remove the special checks for the quotation
885 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
886
887 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
888
889 * net/eww.el (eww-form-textarea): Use a different face for
890 textareas than text input since they have different keymaps
891 (bug#16142).
892
893 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
894
895 * progmodes/python.el (python-nav-beginning-of-statement):
896 Speed up (Bug#15295).
897
898 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
899
900 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
901 the window configuration.
902
903 2013-12-24 Eli Zaretskii <eliz@gnu.org>
904
905 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
906 we run on MS-Windows or MS-DOS.
907
908 2013-12-24 Martin Rudalics <rudalics@gmx.at>
909
910 * window.el (balance-windows-area): Call window-size instead of
911 window-height and window-width. Bug#16241.
912
913 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
914
915 * net/eww.el (eww-bookmark-quit): Remove.
916 (eww-bookmark-browse): Restore the window configuration when you
917 choose a bookmark (bug#16144).
918
919 2013-12-24 Daniel Colascione <dancol@dancol.org>
920
921 * icomplete.el: Remove redundant :group arguments to `defcustom'
922 throughout.
923 (icomplete-show-matches-on-no-input): New customizable variable.
924 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
925 we have something to show.
926 (icomplete-exhibit): Compute completions even if we have no user input.
927
928 2013-12-23 Daniel Colascione <dancol@dancol.org>
929
930 * icomplete.el: Move `provide' to end of file.
931
932 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
933
934 * net/gnutls.el (gnutls-verify-error): Add version tag.
935
936 2013-12-23 Chong Yidong <cyd@gnu.org>
937
938 * subr.el (set-transient-map): Rename from
939 set-temporary-overlay-map. Doc fix.
940
941 * face-remap.el (text-scale-adjust):
942 * indent.el (indent-rigidly):
943 * kmacro.el (kmacro-call-macro):
944 * minibuffer.el (minibuffer-force-complete):
945 * repeat.el (repeat):
946 * simple.el (universal-argument--mode):
947 * calendar/todo-mode.el (todo-insert-item--next-param):
948 * progmodes/f90.el (f90-abbrev-start): Callers changed.
949
950 * indent.el (indent-rigidly): Use substitute-command-keys.
951
952 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
953
954 * net/eww.el (eww-tag-select): Add text-property to jump to next
955 select field.
956 (eww): Add non-supported ftp error.
957
958 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
959
960 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
961 comments. Handle electric indent after typing `?' and `!'.
962
963 2013-12-22 Chong Yidong <cyd@gnu.org>
964
965 * faces.el (face-spec-recalc): If the theme specs are not
966 applicable to a frame, fall back on the defface spec.
967 This prevents themes from obliterating faces on low-color terminals.
968
969 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
970
971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
972 after `{'. We need it after block openers, and it doesn't seem
973 to hurt after hash openers.
974
975 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
976
977 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
978 extracted from `ruby-smie-rules'.
979 (ruby--electric-indent-chars): New variable.
980 (ruby--electric-indent-p): New function.
981 (ruby-mode): Use `electric-indent-functions' instead of
982 `electric-indent-chars'.
983
984 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
985
986 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
987 docstring.
988 (ruby-smie-rules): Indent plus one level after `=>'.
989
990 2013-12-21 Richard Stallman <rms@gnu.org>
991
992 * simple.el (newline): Doc fix.
993
994 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
995
996 * net/eww.el (eww-list-histories, eww-list-histories)
997 (eww-history-browse, eww-history-quit, eww-history-kill)
998 (eww-history-mode-map, eww-history-mode): New command and
999 functions to list browser histories.
1000 (eww-form-text): Support text form with disabled
1001 and readonly attributes.
1002 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1003
1004 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1005
1006 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1007 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1008 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1009 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1010 Use `user-error'.
1011 (eww-bookmark-mode-map): Add menu.
1012 (eww-render, eww-mode): Use `setq-local'.
1013 (eww-tool-bar-map): New variable.
1014 (eww-mode): Set `tool-bar-map'.
1015 (eww-view-source): Check for `html-mode' with `fboundp'.
1016
1017 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1018
1019 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1020 elements with text inside. Also remove debugging.
1021
1022 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1023
1024 * cus-start.el (all): Add ns-use-srgb-colorspace.
1025
1026 2013-12-21 Chong Yidong <cyd@gnu.org>
1027
1028 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1029 undefined. Thus, theme settings for undefined faces do not take
1030 effect until the faces are defined with defface, the same as with
1031 theme variables.
1032
1033 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1034 (face-spec-reset-face): Don't assign extra properties in temacs.
1035 (face-spec-recalc): Apply X resources too.
1036
1037 2013-12-21 Chong Yidong <cyd@gnu.org>
1038
1039 * faces.el (face-spec-set):
1040 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1041 * custom.el (defface): Doc fixes (Bug#16203).
1042
1043 * indent.el (indent-rigidly-map): Add docstring, and move commands
1044 into named functions.
1045 (indent-rigidly-left, indent-rigidly-right)
1046 (indent-rigidly-left-to-tab-stop)
1047 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1048 indentation direction based on bidi direction, and accumulate
1049 sequential commands in a single undo boundary.
1050 (indent-rigidly--pop-undo): New utility function.
1051
1052 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1053
1054 * faces.el (read-face-name): Require crm.el when using crm-separator.
1055
1056 2013-12-20 Daniel Colascione <dancol@dancol.org>
1057
1058 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1059 so that we don't reflow comments into the shebang line.
1060
1061 2013-12-20 Juri Linkov <juri@jurta.org>
1062
1063 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1064 a position when `dired-directory' is non-nil. Check integer
1065 positions with `integerp'.
1066 (toggle-save-place, save-places-to-alist): Add check for
1067 `dired-directory'.
1068 (save-place-find-file-hook): Check integer positions with
1069 `integerp'.
1070 (save-place-dired-hook): Use `dired-goto-file' when
1071 `dired-filename' is found in the assoc list. Check integer
1072 positions with `integerp'.
1073 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1074
1075 * dired.el (dired-initial-position-hook): Rename back from
1076 `dired-initial-point-hook'.
1077 (dired-initial-position): Rename `dired-initial-point-hook' to
1078 `dired-initial-position-hook'.
1079 (dired-file-name-at-point): Doc fix. (Bug#15329)
1080
1081 2013-12-20 Juri Linkov <juri@jurta.org>
1082
1083 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1084 (read-regexp-suggestions): New function.
1085 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1086 Use `read-regexp-suggestions'. Add non-empty default to history
1087 for empty input.
1088 (occur-read-regexp-defaults-function): Remove function.
1089 (occur-read-primary-args): Use `regexp-history-last' instead of
1090 `occur-read-regexp-defaults-function'.
1091
1092 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1093 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1094 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1095 `hi-lock-read-regexp-defaults-function'. Doc fix.
1096 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1097 with `find-tag-default-as-symbol-regexp'. Doc fix.
1098 (hi-lock-read-regexp-defaults): Remove function.
1099 (hi-lock-regexp-okay): Add check for null.
1100
1101 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1102 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1103
1104 * subr.el (find-tag-default-as-symbol-regexp): New function.
1105 (find-tag-default-as-regexp): Move symbol regexp formatting to
1106 `find-tag-default-as-symbol-regexp'.
1107
1108 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1109
1110 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1111 (Bug#14179)
1112
1113 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1114
1115 * calendar/todo-mode.el: New implementation of item insertion
1116 commands and key bindings.
1117 (todo-key-prompt): New face.
1118 (todo-insert-item): New command.
1119 (todo-insert-item--parameters): New defconst, replacing defvar
1120 todo-insertion-commands-args-genlist.
1121 (todo-insert-item--param-key-alist): New defconst, replacing
1122 defvar todo-insertion-commands-arg-key-list.
1123 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1124 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1125 (todo-insert-item--next-param): New functions.
1126 (todo-insert-item--args, todo-insert-item--argleft)
1127 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1128 New variables.
1129 (todo-key-bindings-t): Change binding of "i" from
1130 todo-insertion-map to todo-insert-item.
1131 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1132 (todo-insertion-command-name, todo-insertion-commands-names)
1133 (todo-define-insertion-command, todo-insertion-commands)
1134 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1135
1136 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1137
1138 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1139 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1140 eval-when-compile.
1141 (todo-move-category): Allow choosing a non-existing todo file to
1142 move the category to, and create that file.
1143 (todo-default-priority): New user option.
1144 (todo-set-item-priority): Use it.
1145 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1146 (desktop-restore-file-buffer): Declare.
1147 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1148 (todo-modes-set-2): Locally set desktop-save-buffer to
1149 todo-desktop-save-buffer.
1150 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1151 (auto-mode-alist): Add autoload cookie.
1152
1153 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1154
1155 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1156 helpers.el was a poor choice of name.
1157 (string-remove-prefix): New function.
1158 (string-remove-suffix): New function.
1159
1160 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1161
1162 Fix assignment for new window total sizes.
1163 * window.el (window--pixel-to-size): Remove function.
1164 (window--pixel-to-total-1, window--pixel-to-total):
1165 Fix calculation of new total sizes.
1166
1167 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1168
1169 * comint.el (comint-output-filter): Fix rear-nonsticky property
1170 placement (Bug#16010).
1171
1172 2013-12-20 Chong Yidong <cyd@gnu.org>
1173
1174 * faces.el (read-color): Minor fix for completion function.
1175
1176 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1177
1178 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1179 New option. (Bug#16182)
1180 (ruby-smie--indent-to-stmt-p): Use it.
1181 (ruby-smie-rules): Revert the logic in the handling of `when'.
1182 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1183 (ruby-deep-arglist, ruby-deep-indent-paren)
1184 (ruby-deep-indent-paren-style): Update docstrings to note that the
1185 vars don't have any effect with SMIE.
1186
1187 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1188
1189 * calc/calc.el (calc-enter, calc-pop): Use the variable
1190 `calc-context-sensitive-enter'.
1191
1192 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1193
1194 * net/shr.el (shr-insert): Protect against infloops in degenerate
1195 tables.
1196
1197 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1198
1199 * progmodes/octave.el (octave): Add link to manual and octave
1200 homepage.
1201 (octave-mode-menu): Link to octave-mode manual.
1202
1203 2013-12-20 Leo Liu <sdl.web@gmail.com>
1204
1205 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1206 insertion using skeleton-end-newline. (Bug#16138)
1207
1208 2013-12-20 Juri Linkov <juri@jurta.org>
1209
1210 * replace.el (occur-engine): Use `add-face-text-property'
1211 to add the face property to matches and titles. (Bug#14645)
1212
1213 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1214 the palette of other hi-lock colors.
1215 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1216
1217 2013-12-19 Juri Linkov <juri@jurta.org>
1218
1219 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1220 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1221 (minibuffer-history-symbol): Move variable declaration closer to
1222 its usage.
1223
1224 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1225 (Bug#14785)
1226
1227 2013-12-19 Juri Linkov <juri@jurta.org>
1228
1229 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1230 New function.
1231 (log-edit-hook): Add it to :options. (Bug#16170)
1232
1233 2013-12-19 Juri Linkov <juri@jurta.org>
1234
1235 * simple.el (eval-expression-print-format): Don't check for
1236 command names and the last command. Always display additional
1237 formats of the integer result in the echo area, and insert them
1238 to the current buffer only with a zero prefix arg.
1239 Display character when char-displayable-p is non-nil.
1240 (eval-expression): With a zero prefix arg, set `print-length' and
1241 `print-level' to nil, and insert the integer values from
1242 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1243
1244 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1245 `eval-last-sexp-arg-internal'. Doc fix.
1246 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1247 `eval-last-sexp-print-value'. Doc fix.
1248 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1249 Set `print-length' and `print-level' to nil when arg is zero.
1250 (eval-last-sexp): Doc fix.
1251 (eval-defun-2): Print the integer values from
1252 `eval-expression-print-format' at the end.
1253
1254 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1255 values from `eval-expression-print-format' at the end.
1256
1257 * ielm.el (ielm-eval-input): Print the integer
1258 values from `eval-expression-print-format' at the end.
1259
1260 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1261
1262 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1263 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1264
1265 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1268 (hl-line-highlight, global-hl-line-highlight): Use it.
1269 (hl-line-overlay): Use defvar-local.
1270
1271 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1272
1273 * term/ns-win.el: Require dnd.
1274 (global-map): Remove drag items.
1275 (ns-insert-text, ns-set-foreground-at-mouse)
1276 (ns-set-background-at-mouse):
1277 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1278 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1279 New functions.
1280
1281 2013-12-19 Glenn Morris <rgm@gnu.org>
1282
1283 * emacs-lisp/ert.el (ert-select-tests):
1284 Fix string/symbol mixup. (Bug#16121)
1285
1286 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1287
1288 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1289 keywords to their parent.
1290
1291 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1294 first arg to be a string (fixed dead code), or an operator symbol.
1295 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1296 operator symbols.
1297 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1298 did nothing. Don't respond to `(:after ".")', it will be called
1299 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1300 change anything. Only return indentation for binary operators
1301 when they are hanging. De-dent opening paren when its parent is
1302 `.', otherwise it looks bad when the dot is not at bol or eol
1303 (bug#16182).
1304
1305 2013-12-19 Juri Linkov <juri@jurta.org>
1306
1307 * replace.el (query-replace-read-args): Split a non-negative arg
1308 and a negative arg into separate elements.
1309 (query-replace, query-replace-regexp, replace-string)
1310 (replace-regexp): Add arg `backward'. Doc fix.
1311 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1312 move point to the beginning of the match.
1313 (replace-search, replace-highlight): Use new arg `backward'
1314 to set the value of `isearch-forward'.
1315 (perform-replace): Add arg `backward' and use it to perform
1316 replacement backward. (Bug#14979)
1317
1318 * isearch.el (isearch-query-replace): Use a negative prefix arg
1319 to call `perform-replace' with a non-nil arg `backward'.
1320
1321 2013-12-18 Juri Linkov <juri@jurta.org>
1322
1323 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1324 to the default list. Move `log-edit-show-files' to the end.
1325 Add more available functions to options.
1326 (log-edit): Move default specific settings to
1327 `log-edit-insert-message-template'. Don't move point.
1328 (log-edit-insert-message-template): New function.
1329 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1330 (Bug#16170)
1331
1332 2013-12-18 Juri Linkov <juri@jurta.org>
1333
1334 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1335 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1336
1337 2013-12-18 Leo Liu <sdl.web@gmail.com>
1338
1339 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1340 (Bug#16186)
1341
1342 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1343
1344 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1345 formats for displaying file sizes when the -s switch is given.
1346 Instead, compute a separate format for displaying the size in
1347 blocks, which is displayed in addition to the "regular" size.
1348 When -h is given in addition to -s, produce size in blocks in
1349 human-readable form as well. (Bug#16179)
1350
1351 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1352
1353 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1354 Reference tables with ~\ref{...} instead of only \ref{...}.
1355
1356 2013-12-18 Chong Yidong <cyd@gnu.org>
1357
1358 * cus-edit.el (custom-magic-alist): Fix "themed" description
1359 (Bug#14348).
1360
1361 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1362 is non-nil, do not create a new entry in the symbol's theme-value
1363 or theme-face property; update theme-settings only (Bug#14664).
1364 (custom-available-themes): Doc fix.
1365
1366 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1367 (Bug#15674).
1368
1369 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1370
1371 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1372
1373 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1374 (Bug#13914).
1375
1376 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1377
1378 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1379
1380 2013-12-18 Glenn Morris <rgm@gnu.org>
1381
1382 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1383 * cus-start.el (load-prefer-newer): New option.
1384
1385 2013-12-18 Le Wang <l26wang@gmail.com>
1386
1387 * comint.el (comint-previous-matching-input-from-input):
1388 Retain point (Bug#13404).
1389
1390 2013-12-18 Chong Yidong <cyd@gnu.org>
1391
1392 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1393
1394 2013-12-18 Glenn Morris <rgm@gnu.org>
1395
1396 * mail/emacsbug.el (report-emacs-bug):
1397 Only mention enable-multibyte-characters if non-standard.
1398
1399 2013-12-17 Juri Linkov <juri@jurta.org>
1400
1401 * arc-mode.el (archive-extract-by-file): Check if directory exists
1402 before deletion to not show irrelevant errors if it doesn't exist.
1403
1404 2013-12-17 Juri Linkov <juri@jurta.org>
1405
1406 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1407 (Bug#14751)
1408
1409 * net/eww.el (browse-web): Add alias to `eww'.
1410 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1411 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1412
1413 * net/browse-url.el (browse-url-browser-function): Move `eww'
1414 closer to similar functions.
1415
1416 * startup.el (fancy-startup-screen, fancy-about-screen):
1417 Set browse-url-browser-function to eww-browse-url locally.
1418 (Bug#14751)
1419
1420 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * window.el (window--pixel-to-total): Remove unused `mini' var.
1423 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1424 (split-window): Remove unused `new' var.
1425 (window--display-buffer): Remove unused `frame' and `delta' vars.
1426 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1427 and display-width'.
1428
1429 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1430
1431 * dired.el (dired-mark-pop-up):
1432 * register.el (register-preview): Don't bind
1433 split-height-threshold here since it's now done in
1434 display-buffer-below-selected.
1435
1436 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1437
1438 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1439 xterm-rgb-convert-to-16bit.
1440 (rxvt-register-default-colors): Standardize with
1441 xterm-register-default-colors (Bug#14078).
1442
1443 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1444
1445 * simple.el (kill-region): Pass mark first, then point, so that
1446 kill-append works right (Bug#12819).
1447 (copy-region-as-kill, kill-ring-save): Likewise.
1448
1449 2013-12-17 Leo Liu <sdl.web@gmail.com>
1450
1451 * net/rcirc.el (rcirc-add-face):
1452 * eshell/em-prompt.el (eshell-emit-prompt):
1453 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1454 (Bug#16167)
1455
1456 2013-12-17 Chong Yidong <cyd@gnu.org>
1457
1458 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1459 Suggested by Xue Fuqiao.
1460
1461 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1462
1463 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1464
1465 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1466
1467 * net/shr.el (shr-insert-document): Remove unused var
1468 `shr-preliminary-table-render'.
1469 (shr-rescale-image): Remove unused arg `force'.
1470 (shr-put-image): Update calls accordingly.
1471 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1472
1473 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1474
1475 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1476 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1477 :close-all, to see which indentation method to use (Bug#16116).
1478 (smie-rules-function): Document the method :close-all.
1479
1480 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1481
1482 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1483
1484 * net/eww.el (eww-display-html): If we can't find the anchor we're
1485 looking for, then go to point-min.
1486
1487 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1488
1489 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1490 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1491 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1492 Expand dir too, in case it's relative.
1493
1494 2013-12-16 Juri Linkov <juri@jurta.org>
1495
1496 * desktop.el (desktop-auto-save-timeout): Change default to
1497 `auto-save-timeout'. Doc fix.
1498 (desktop-save): Skip the timestamp in desktop-saved-frameset
1499 when checking for auto-save changes.
1500 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1501 `desktop-auto-save' is called repeatedly by the idle timer.
1502 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1503 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1504 (Bug#15331)
1505
1506 2013-12-16 Juri Linkov <juri@jurta.org>
1507
1508 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1509 (Bug#16035)
1510 (isearch-pre-command-hook): Check `this-command' for symbolp.
1511
1512 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1515
1516 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1517
1518 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1519 (cfengine3--current-function): Bring in the current-function
1520 functionality from `cfengine3--current-word'.
1521 (cfengine3-completion-function): Bring in the
1522 bounds-of-current-word functionality from
1523 `cfengine3--current-word'.
1524
1525 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1526
1527 * window.el (display-buffer-below-selected):
1528 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1529
1530 2013-12-16 Leo Liu <sdl.web@gmail.com>
1531
1532 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1533 Remove NOMSG arg and all uses changed.
1534
1535 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1538 (cua--deactivate-rectangle): Don't deactivate the mark.
1539 (cua-set-rectangle-mark): Don't set mark-active since
1540 cua--activate-rectangle already does it for us.
1541 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1542 non-rectangular region.
1543
1544 * emulation/cua-base.el (cua-repeat-replace-region):
1545 Use with-current-buffer.
1546
1547 * net/gnutls.el: Use cl-lib.
1548 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1549
1550 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1551
1552 * emacs-lisp/package.el (package-built-in-p): Support both
1553 built-in and the package.el converted package descriptions.
1554 (package-show-package-list): Allow keywords.
1555 (package-keyword-button-action): Use it instead of
1556 `finder-list-matches'.
1557 (package-menu-filter-interactive): Interactive filtering (by
1558 keyword) function.
1559 (package-menu--generate): Support keywords and change keymappings
1560 and headers when they are given.
1561 (package--has-keyword-p): Helper function.
1562 (package-menu--refresh): Use it.
1563 (package--mapc): Helper function.
1564 (package-all-keywords): Use it.
1565 (package-menu-mode-map): Set up menu items and keybindings to
1566 provide a filtering UI.
1567
1568 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1569
1570 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1571 the behavior when a certificate fails validation. Defaults to
1572 old behavior: never abort, just warn.
1573 (gnutls-negotiate): Use it.
1574
1575 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1576
1577 * window.el (display-buffer-below-selected): Never split window
1578 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1579
1580 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1581
1582 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1583 (package-buffer-info): Use it (bug#15108).
1584
1585 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * icomplete.el (icomplete-completions): Make sure the prefix is already
1588 displayed elsewhere before hiding it (bug#16219).
1589
1590 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1591
1592 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1593 open-paren tokens when preceded by a open-paren, too.
1594 (ruby-smie-rules): Handle virtual indentation after open-paren
1595 tokens specially. If there is code between it and eol, return the
1596 column where is starts (Bug#16118).
1597
1598 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1599
1600 * progmodes/cfengine.el: Fix `add-hook' doc.
1601 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1602 (cfengine3--current-word): Fix parameters.
1603 (cfengine3-make-syntax-cache): Simplify further.
1604 (cfengine3-completion-function, cfengine3--current-function):
1605 Use `assq' for symbols.
1606 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1607
1608 2013-12-13 Glenn Morris <rgm@gnu.org>
1609
1610 * loadup.el (load-path): Warn if site-load or site-init changes it.
1611 No more need to reset it when bootstrapping.
1612
1613 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1614
1615 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1616 locations for cf-promises.
1617 (cfengine-mode-syntax-functions-regex): New caching variable.
1618 (cfengine3-fallback-syntax): Fallback syntax for cases where
1619 cf-promises doesn't run.
1620 (cfengine3--current-word): Reimplement using
1621 `cfengine-mode-syntax-functions-regex'.
1622 (cfengine3-completion-function, cfengine3--current-function):
1623 Use `cfengine3-make-syntax-cache' directly.
1624 (cfengine3-clear-syntax-cache): New function.
1625 (cfengine3-make-syntax-cache): Simplify and create
1626 `cfengine-mode-syntax-functions-regex' on demand.
1627 (cfengine3-format-function-docstring): Don't call
1628 `cfengine3-make-syntax-cache' explicitly.
1629
1630 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1631
1632 Fix windmove-find-other-window broken after pixelwise resizing
1633 (Bug#16017).
1634 * windmove.el (windmove-other-window-loc): Revert change from
1635 2013-12-04.
1636 (windmove-find-other-window): Call window-in-direction.
1637 * window.el (window-in-direction): New arguments SIGN, WRAP and
1638 MINI to emulate original windmove-find-other-window behavior.
1639
1640 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1641
1642 * simple.el (blink-matching--overlay): New variable.
1643 (blink-matching-open): Instead of moving point, highlight the
1644 matching paren with an overlay
1645 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1646
1647 * faces.el (paren-showing-faces, show-paren-match)
1648 (show-paren-mismatch): Move from paren.el.
1649
1650 2013-12-13 Leo Liu <sdl.web@gmail.com>
1651
1652 * indent.el (indent-region): Disable progress reporter in
1653 minibuffer. (Bug#16108)
1654
1655 * bindings.el (visual-order-cursor-movement): Fix version.
1656
1657 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1658
1659 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1660 Also match after beginning of line.
1661 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1662 files. Thanks to Russell Sim. (Bug#15378)
1663
1664 2013-12-13 Juri Linkov <juri@jurta.org>
1665
1666 * simple.el <Keypad support>: Remove key bindings duplicated
1667 with bindings.el. (Bug#14397)
1668
1669 2013-12-13 Juri Linkov <juri@jurta.org>
1670
1671 * comint.el (comint-mode-map): Replace `delete-char' with
1672 `delete-forward-char'. (Bug#16109)
1673
1674 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1675
1676 * progmodes/python.el (python-indent-calculate-indentation):
1677 Fix de-denters cornercase. (Bug#15731)
1678
1679 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1682 (advice--make): Pay attention to `depth'.
1683 (advice--make-1): Don't autoload commands eagerly.
1684 * emacs-lisp/elp.el (elp-instrument-function):
1685 * emacs-lisp/trace.el (trace-function-internal):
1686 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1687
1688 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1689
1690 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1691
1692 * term/w32-win.el (w32-handle-dropped-file):
1693 * startup.el (normal-top-level):
1694 * net/browse-url.el (browse-url-file-url):
1695 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1696 decode file names using 'utf-8' rather than
1697 file-name-coding-system.
1698
1699 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1700
1701 * progmodes/python.el (python-indent-context)
1702 (python-indent-calculate-indentation): Fix auto-identation
1703 behavior for comment blocks. (Bug#15916)
1704
1705 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1706
1707 * progmodes/python.el (python-indent-calculate-indentation):
1708 When determining indentation, don't treat "return", "pass", etc., as
1709 operators when they are just string constituents. (Bug#15812)
1710
1711 2013-12-12 Juri Linkov <juri@jurta.org>
1712
1713 * uniquify.el (uniquify-buffer-name-style): Change default to
1714 `post-forward-angle-brackets'.
1715
1716 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1717 `uniquify'. Change default to `post-forward-angle-brackets'.
1718
1719 2013-12-11 Glenn Morris <rgm@gnu.org>
1720
1721 * emacs-lisp/package.el (finder-list-matches):
1722 Autoload rather than falsely declaring.
1723
1724 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1725
1726 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1727 (eww-mode-map): Use them.
1728
1729 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1730
1731 * window.el (display-buffer-in-side-window): Fix doc-string
1732 (Bug#16115).
1733
1734 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1735
1736 * vc/vc-git.el: Silence byte-compiler warnings.
1737 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1738 (log-edit-set-header): Declare.
1739
1740 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1741
1742 * Makefile.in (custom-deps, finder-data): Run output file names
1743 through unmsys--file-name. (Bug#16099)
1744
1745 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1746
1747 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1748 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1749
1750 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1751 instead of deleting the selection "by hand" (bug#16098).
1752 Rely on insert-for-yank to yank rectangles.
1753 (cua-highlight-region-shift-only): Mark obsolete.
1754 (cua-mode): Don't enable/disable transient-mark-mode,
1755 shift-select-mode (cua-mode works both with and without them), and
1756 pc-selection-mode (obsolete).
1757 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1758 (cua--deactivate-rectangle): Deactivate it.
1759
1760 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1761 (delete-selection-helper): Make sure yank starts at the top of the
1762 deleted region.
1763 (minibuffer-keyboard-quit): Use region-active-p.
1764
1765 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1766
1767 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1768 to `delete' (bug#16109).
1769
1770 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1771
1772 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1773 info manual and show keybindings and set `:group' keyword.
1774
1775 2013-12-11 Juri Linkov <juri@jurta.org>
1776
1777 * delsel.el (delete-active-region): Let-bind `this-command'
1778 to prevent `kill-region' from changing its original value.
1779 (delete-selection-helper): Handle `overwrite-mode' for the type
1780 `kill' exactly the same way as for the type `t'.
1781 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1782 Support more commands. (Bug#13312)
1783
1784 2013-12-11 Juri Linkov <juri@jurta.org>
1785
1786 * bindings.el: Map kp keys to non-kp keys systematically
1787 with basic modifiers control, meta and shift. (Bug#14397)
1788
1789 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1790
1791 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1792 "Close browser" menu items. Fix wrong function of "List
1793 bookmarks".
1794
1795 2013-12-11 Juri Linkov <juri@jurta.org>
1796
1797 * misearch.el (multi-isearch-buffers): Set the value of
1798 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1799 arg of isearch-forward to t.
1800 (multi-isearch-buffers-regexp): Set the value of
1801 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1802 arg of isearch-forward-regexp to t.
1803 (multi-isearch-files): Set the value of
1804 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1805 arg of isearch-forward to t.
1806 (multi-isearch-files-regexp): Set the value of
1807 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1808 arg of isearch-forward-regexp to t. (Bug#16035)
1809
1810 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1811 arg of isearch-forward to t.
1812 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1813 arg of isearch-forward-regexp to t.
1814 (dired-isearch-filter-filenames): Remove unnecessary check for
1815 `dired-isearch-filenames'.
1816
1817 * comint.el (comint-history-isearch-backward):
1818 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1819 (comint-history-isearch-backward-regexp):
1820 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1821
1822 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1823
1824 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1825 unmsys--file-name. (Bug#16099)
1826
1827 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1828
1829 * emacs-lisp/package.el (package-keyword-button-action):
1830 Remove finder.el require dependency.
1831
1832 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1833
1834 * emacs-lisp/package.el: Require finder.el.
1835 (describe-package-1): Add keyword buttons.
1836 (package-make-button): New convenience function.
1837 (package-keyword-button-action): Keyword button action using
1838 `finder-list-matches'.
1839
1840 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1841
1842 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1843 last commit.
1844
1845 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1848 symlinked files.
1849
1850 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1851
1852 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1853 after the end of a percent literal.
1854
1855 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1856
1857 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1858 Handle caret-delimited strings (Bug#16079).
1859
1860 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1861
1862 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1863 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1864 `ruby-parse-partial' (Bug#16078).
1865
1866 2013-12-09 Leo Liu <sdl.web@gmail.com>
1867
1868 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1869
1870 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1873 (js-switch-indent-offset): New option.
1874 (js--proper-indentation): Use it. And handle the case when
1875 "default" is actually a key in an object literal.
1876 (js--same-line): New function.
1877 (js--multi-line-declaration-indentation): Use it.
1878 (js--indent-in-array-comp, js--array-comp-indentation):
1879 New functions.
1880 (js--proper-indentation): Use them, to handle array comprehension
1881 continuations.
1882
1883 2013-12-08 Leo Liu <sdl.web@gmail.com>
1884
1885 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1886 (flymake-make-overlay): Remove arg MOUSE-FACE.
1887 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1888
1889 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1890
1891 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1892 New function.
1893 (redisplay-highlight-region-function): Use it.
1894
1895 * emulation/cua-base.el (cua--explicit-region-start)
1896 (cua--last-region-shifted): Remove.
1897 (cua--deactivate): Use deactivate-mark.
1898 (cua--pre-command-handler-1): Don't handle shift-selection.
1899 (cua--post-command-handler-1): Don't change transient-mark-mode.
1900 (cua--select-keymaps): Use region-active-p rather than
1901 cua--explicit-region-start or cua--last-region-shifted.
1902 (cua-mode): Enable shift-select-mode.
1903
1904 2013-12-08 Leo Liu <sdl.web@gmail.com>
1905
1906 * progmodes/flymake.el (flymake-popup-current-error-menu):
1907 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1908 (flymake-posn-at-point-as-event, flymake-popup-menu)
1909 (flymake-make-emacs-menu): Remove. (Bug#16077)
1910
1911 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * rect.el (rectangle-mark-mode): Activate mark even if
1914 transient-mark-mode is off (bug#16066).
1915 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1916 is > mark and at bolp.
1917
1918 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1919 (region-extract-function): Use it.
1920 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1921 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1922 Delete functions.
1923 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1924 kill-ring-save, kill-region, delete-char, delete-forward-char.
1925 Ignore self-insert-iso.
1926
1927 * emulation/cua-gmrk.el (cua--init-global-mark):
1928 Ignore `self-insert-iso'.
1929
1930 * emulation/cua-base.el (cua--prefix-copy-handler)
1931 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1932 checking cua--rectangle.
1933 (cua-delete-region): Use region-extract-function.
1934 (cua-replace-region): Delete function.
1935 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1936 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1937 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1938 (cua--init-keymaps): Don't remap delete-selection commands.
1939 (cua-mode): Use delete-selection-mode instead of rolling our own
1940 (bug#16085).
1941
1942 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1943 Obey region-extract-function.
1944
1945 Make registers and delete-selection-mode work on rectangles.
1946 * register.el (describe-register-1): Don't modify the register's value.
1947 (copy-to-register): Obey region-extract-function.
1948 * delsel.el (delete-active-region): Obey region-extract-function.
1949
1950 2013-12-08 Leo Liu <sdl.web@gmail.com>
1951
1952 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1953 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1954 (flymake-compilation-prevents-syntax-check)
1955 (flymake-start-syntax-check-on-newline)
1956 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1957 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1958 (flymake-xml-program, flymake-master-file-dirs)
1959 (flymake-master-file-count-limit)
1960 (flymake-allowed-file-name-masks): Relocate.
1961 (flymake-makehash, flymake-float-time)
1962 (flymake-replace-regexp-in-string, flymake-split-string)
1963 (flymake-get-temp-dir): Remove.
1964 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1965 (flymake-current-row, flymake-selected-frame)
1966 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1967 related functions. (Bug#16077)
1968
1969 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1970
1971 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1972
1973 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1974
1975 * help-fns.el (describe-function-1): Use new advice-* functions
1976 rather than old ad-* functions. Fix function type description and
1977 source links for advised functions and subrs.
1978
1979 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1980
1981 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1982
1983 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1984
1985 * progmodes/compile.el (compilation-start):
1986 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1987
1988 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1989 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1990
1991 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1992
1993 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1994 Touch up the last change.
1995
1996 2013-12-06 Leo Liu <sdl.web@gmail.com>
1997
1998 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1999 (inferior-octave-startup): Always use "octave> " for prompt.
2000 (octave-goto-function-definition)
2001 (octave-sync-function-file-names)
2002 (octave-find-definition-default-filename): Remove redundant backquotes.
2003
2004 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2005
2006 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2007 syntax for `?'.
2008 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2009 where appropriate already.
2010 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2011 end of method names (Bug#15874).
2012
2013 2013-12-06 Juri Linkov <juri@jurta.org>
2014
2015 * isearch.el (isearch--saved-overriding-local-map):
2016 New internal variable.
2017 (isearch-mode): Set it to the initial value of
2018 `overriding-terminal-local-map'.
2019 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2020 with `isearch--saved-overriding-local-map'. (Bug#16035)
2021
2022 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * progmodes/octave.el (inferior-octave-completion-table):
2025 Turn back into function, use `completion-table-with-cache'
2026 (Bug#11906). Update all references.
2027
2028 * minibuffer.el (completion-table-with-cache): New function.
2029
2030 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2031
2032 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2033
2034 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2035
2036 * net/eww.el (eww-current-source): New variable to store page
2037 source.
2038 (eww-display-html, eww-mode, eww-save-history)
2039 (eww-restore-history): Use it.
2040 (eww-view-source): New command to view page source.
2041 Opportunistically uses `html-mode' to highlight the buffer.
2042 (eww-mode-map): Install it.
2043
2044 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2045
2046 * net/dbus.el (dbus-unregister-service)
2047 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2048 Fix docstring.
2049 (dbus-unregister-service): Skip :serial entries in
2050 `dbus-registered-objects-table'.
2051 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2052
2053 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2054
2055 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2056 around keywords with extra `split-string' argument.
2057
2058 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2059
2060 * windmove.el (windmove-other-window-loc): Handle navigation
2061 between windows (excluding the minibuffer window - Bug#16017).
2062
2063 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2066 in D-Bus type syntax.
2067 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2068 preserve unibyte strings. (Bug#16048)
2069
2070 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2071
2072 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2073 Call force-mode-line-update is the proper buffer (bug#16042).
2074
2075 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2076
2077 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2078 `log-edit-remember-comment', make argument optional. Adjust all
2079 callers.
2080 (log-edit-mode): Add `log-edit-remember-comment' to
2081 `kill-buffer-hook' locally.
2082 (log-edit-kill-buffer): Don't remember comment explicitly since
2083 the buffer is killed anyway.
2084
2085 2013-12-04 Juri Linkov <juri@jurta.org>
2086
2087 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2088 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2089
2090 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2091
2092 * notifications.el (notifications-close-notification): Call the
2093 D-Bus method with ID being a `:uint32'. (Bug#16030)
2094
2095 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2096
2097 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2098
2099 2013-12-03 Juri Linkov <juri@jurta.org>
2100
2101 * progmodes/compile.el (compilation-start): Rename window alist
2102 entry `no-display-ok' to `allow-no-window'.
2103
2104 * simple.el (shell-command): Add window alist entry
2105 `allow-no-window' to `display-buffer'.
2106 (async-shell-command): Doc fix.
2107
2108 * window.el (display-buffer-no-window): New action function.
2109 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2110
2111 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2112
2113 * vc/log-edit.el (log-edit-set-header): Extract from
2114 `log-edit-toggle-header'.
2115 (log-edit-extract-headers): Separate the summary, when extracted
2116 from header, from the rest of the message with an empty line.
2117
2118 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2119 line, if present, to the Summary header.
2120
2121 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2122
2123 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2124 in current-buffer (bug#16029).
2125
2126 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2127
2128 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2129 (debugger-mode-map): Bind it.
2130 (debugger--backtrace-base): New function.
2131 (debugger-eval-expression): Use it.
2132 (debugger-frame-number): Skip local vars when present.
2133 (debugger--locals-visible-p, debugger--insert-locals)
2134 (debugger--show-locals, debugger--hide-locals): New functions.
2135
2136 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2139 "LC_ALL".
2140 (tramp-get-remote-locale): New defun.
2141 (tramp-open-connection-setup-interactive-shell): Use it.
2142
2143 2013-12-02 Leo Liu <sdl.web@gmail.com>
2144
2145 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2146
2147 * progmodes/sh-script.el (sh-shell-process):
2148 * progmodes/octave.el (inferior-octave-process-live-p):
2149 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2150 (gdb-inferior-io-sentinel):
2151 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2152
2153 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2154
2155 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2156 `save-selected-window' to `log-edit-hide-buf'. This makes
2157 `log-edit-show-files' idempotent.
2158 (log-edit-show-files): Mark the new window as dedicated.
2159
2160 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2161
2162 * vc/log-edit.el (log-edit-mode-map): Add binding for
2163 `log-edit-kill-biffer'.
2164 (log-edit-hide-buf): Add a FIXME comment.
2165 (log-edit-add-new-comment): New function, extracted from
2166 `log-edit-done'.
2167 (log-edit-done, log-edit-add-to-changelog): Use it.
2168 (log-edit-kill-buffer): New command.
2169
2170 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2171
2172 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2173 instead of killing the buffer.
2174
2175 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2178
2179 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2180
2181 * net/eww.el (eww-form-checkbox-selected-symbol)
2182 (eww-form-checkbox-symbol): New customizable variable.
2183 (eww-form-checkbox, eww-toggle-checkbox):
2184 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2185
2186 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2187 (shr--get-media-pref, shr--extract-best-source): New function.
2188 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2189 no :src tag was specified.
2190
2191 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2192 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2193 Use \\` to match beginning of string instead of ^.
2194 (eww-browse-with-external-browser): Provide optional URL parameter.
2195 (eww-render): Set `eww-current-title' back to "".
2196
2197 * net/shr.el (shr-tag-video): Display content for video if no
2198 poster is available.
2199 (shr-tag-audio): Add support for <audio> tag.
2200
2201 * net/eww.el (eww-text-input-types): New const.
2202 (eww-process-text-input): Treat input types in
2203 `eww-text-input-types' as text.
2204
2205 * net/shr.el (shr-tag-table): Fix comment typo.
2206
2207 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2208
2209 * net/eww.el (eww-follow-link): New command to avoid reloading
2210 pages when we follow #target links (bug#15243).
2211 (eww-quit): Special mode buffers shouldn't query before exiting.
2212
2213 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2214
2215 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2216 forms.
2217
2218 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2219
2220 * net/eww.el (eww-restore-history): Update the window title after
2221 moving in the history.
2222 (eww-current-dom): New variable used to save the current DOM.
2223
2224 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2225
2226 * vc/log-edit.el (log-edit-mode-map): Add binding for
2227 `log-edit-beginning-of-line'.
2228 (log-edit-setup-add-author): New user option.
2229 (log-edit-beginning-of-line): New command.
2230 (log-edit): Move major mode call above the contents setup so that
2231 the local variable values are already applied.
2232 (log-edit): Only insert "Author: " when
2233 `log-edit-setup-add-author' is non-nil.
2234 (log-edit): When SETUP is non-nil, position point after ": "
2235 instead of point-min.
2236
2237 2013-12-01 Glenn Morris <rgm@gnu.org>
2238
2239 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2240
2241 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2242
2243 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2244 redisplay to make sure the initial frame gets a chance to become
2245 visible. (Bug#16014)
2246
2247 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2248
2249 Support resizing frames and windows pixelwise.
2250 * cus-start.el (frame-resize-pixelwise)
2251 (window-resize-pixelwise): New entries.
2252 * emacs-lisp/debug.el (debug): Use window-total-height instead
2253 of window-total-size.
2254 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2255 * help.el (describe-bindings-internal): Call help-buffer
2256 (temp-buffer-max-width): New option.
2257 (resize-temp-buffer-window, help-window-setup)
2258 (with-help-window): Rewrite.
2259 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2260 dragging dividers.
2261 * window.el (frame-char-size, window-min-pixel-height)
2262 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2263 (window-min-pixel-width, window-safe-min-pixel-size)
2264 (window-combination-p, window-safe-min-size)
2265 (window-resizable-p, window--size-to-pixel)
2266 (window--pixel-to-size, window--resize-apply-p): New functions.
2267 (window-safe-min-height): Fix doc-string.
2268 (window-size, window-min-size, window--min-size-1)
2269 (window-sizable, window-sizable-p, window--min-delta-1)
2270 (window-min-delta, window--max-delta-1, window-max-delta)
2271 (window--resizable, window--resizable-p, window-resizable)
2272 (window-full-height-p, window-full-width-p, window-at-side-p)
2273 (window--in-direction-2, window-in-direction)
2274 (window--resize-reset-1, window--resize-mini-window)
2275 (window-resize, window-resize-no-error)
2276 (window--resize-child-windows-normal)
2277 (window--resize-child-windows, window--resize-siblings)
2278 (window--resize-this-window, window--resize-root-window)
2279 (window--resize-root-window-vertically)
2280 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2281 (maximize-window, minimize-window, delete-window)
2282 (quit-restore-window, window-split-min-size, split-window)
2283 (balance-windows-2, balance-windows)
2284 (balance-windows-area-adjust, balance-windows-area)
2285 (window--state-get-1, window-state-get, window--state-put-1)
2286 (window--state-put-2, window-state-put)
2287 (display-buffer-record-window, window--display-buffer):
2288 Make functions handle pixelwise sizing of windows.
2289 (display-buffer--action-function-custom-type)
2290 (display-buffer-fallback-action):
2291 Add display-buffer-in-previous-window.
2292 (display-buffer-use-some-window): Resize window to height it had
2293 before.
2294 (fit-window-to-buffer-horizontally): New option.
2295 (fit-frame-to-buffer): Describe new values.
2296 (fit-frame-to-buffer-bottom-margin): Replace with
2297 fit-frame-to-buffer-margins.
2298 (window--sanitize-margin): New function.
2299 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2300 using window-text-pixel-size.
2301
2302 2013-11-30 Glenn Morris <rgm@gnu.org>
2303
2304 * emacs-lisp/bytecomp.el (byte-compile-form):
2305 Make the `interactive-only' warning like the `obsolete' one.
2306 * comint.el (comint-run):
2307 * files.el (insert-file-literally, insert-file):
2308 * replace.el (replace-string, replace-regexp):
2309 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2310 (goto-line, insert-buffer, next-line, previous-line):
2311 Tweak `interactive-only' spec.
2312
2313 Stop keeping (most) generated cedet grammar files in the repository.
2314 * Makefile.in (semantic): New.
2315 (compile-main): Depend on semantic.
2316
2317 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2318
2319 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2320 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2321
2322 * uniquify.el (uniquify-buffer-name-style): Change default.
2323
2324 * loadup.el: Preload "uniquify".
2325
2326 * time.el (display-time-update): Update all mode lines (bug#15999).
2327
2328 * electric.el (electric-indent-mode): Enable by default.
2329 * loadup.el: Preload "electric".
2330
2331 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2332
2333 * emacs-lisp/helpers.el (string-empty-p): New function.
2334 (string-blank-p): New function.
2335
2336 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2337
2338 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2339 (Bug#14029).
2340
2341 2013-11-29 Andreas Politz <politza@fh-trier.de>
2342 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2343 allow non-lambda lists as functions.
2344 (imenu--in-alist): Don't recurse into non-subalists.
2345 (imenu): Don't pass function itself as an argument (Bug#14029).
2346
2347 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2348
2349 * progmodes/python.el (python-mode-map): Remove binding for ":".
2350 (python-indent-electric-colon): Remove command.
2351 (python-indent-post-self-insert-function): Integrate the previous code
2352 of python-indent-electric-colon. Make it conditional on
2353 electric-indent-mode.
2354 (python-mode): Add ?: to electric-indent-chars.
2355 Move python-indent-post-self-insert-function to the end of
2356 post-self-insert-hook.
2357
2358 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2359
2360 * doc-view.el (doc-view-goto-page): Update mode-line.
2361
2362 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2363
2364 2013-11-27 Glenn Morris <rgm@gnu.org>
2365
2366 * international/charprop.el, international/uni-bidi.el:
2367 * international/uni-category.el, international/uni-combining.el:
2368 * international/uni-comment.el, international/uni-decimal.el:
2369 * international/uni-decomposition.el, international/uni-digit.el:
2370 * international/uni-lowercase.el, international/uni-mirrored.el:
2371 * international/uni-name.el, international/uni-numeric.el:
2372 * international/uni-old-name.el, international/uni-titlecase.el:
2373 * international/uni-uppercase.el:
2374 Remove generated files from VCS repository.
2375
2376 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2377
2378 * filenotify.el (file-notify-add-watch): Don't special-case
2379 w32notify when computing the directory to watch.
2380
2381 2013-11-27 Glenn Morris <rgm@gnu.org>
2382
2383 Make bootstrap without generated uni-*.el files possible again.
2384 * loadup.el: Update command-line-args checking for unidata-gen.
2385 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2386 * composite.el, international/characters.el:
2387 Handle unicode tables being undefined.
2388
2389 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2390 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2391 (compile-main): Depend on leim rule.
2392 (leim): New rule.
2393 * loadup.el: Move leim-list.el to leim/ subdirectory.
2394 * startup.el (normal-top-level): No more leim directory.
2395 * international/ja-dic-cnv.el (skkdic-convert):
2396 Disable version-control and autoloads in output files.
2397 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2398 Disable version-control and autoloads in output files.
2399 * leim/quail: Move here from ../leim.
2400 * leim/quail/hangul.el (hangul-input-method-activate):
2401 Add autoload cookie.
2402 (generated-autoload-load-name): Set file-local value.
2403 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2404 (generated-autoload-load-name): Set file-local value.
2405
2406 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2407
2408 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2409 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2410 (eww-quit): Ask confirmation before quitting eww.
2411
2412 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2413
2414 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2415 reading output from Diff on MS-Windows and MS-DOS.
2416
2417 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2418
2419 * emacs-lisp/helpers.el (string-reverse): New function.
2420
2421 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2424 names on MS Windows, like "/[::1]:".
2425
2426 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2427 SWITCHES.
2428
2429 2013-11-26 Glenn Morris <rgm@gnu.org>
2430
2431 * progmodes/python.el (python-indent-guess-indent-offset):
2432 Avoid corner-case error. (Bug#15975)
2433
2434 Preload leim-list.el. (Bug#4789)
2435 * loadup.el: Load leim-list.el when found.
2436 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2437
2438 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2439
2440 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2441
2442 * emacs-lisp/helpers.el (string-join): New function.
2443
2444 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2445
2446 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2447 Mark as obsolete and replace it with a symbol property.
2448 (byte-compile-form): Use new 'interactive-only property.
2449 * comint.el, files.el, replace.el, simple.el:
2450 Apply new 'interactive-only properly.
2451
2452 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2453
2454 * window.el (display-buffer-at-bottom): Make sure that
2455 split-window-sensibly creates the new window on bottom
2456 (Bug#15961).
2457
2458 2013-11-23 David Kastrup <dak@gnu.org>
2459
2460 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2461 on the conflict markers when available.
2462 (smerge--get-marker): New function.
2463 (smerge-end-re, smerge-base-re): Add subgroup.
2464
2465 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2466
2467 * frame.el (handle-focus-in, handle-focus-out): Add missing
2468 interactive spec.
2469
2470 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2473 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2474
2475 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2478 (gomoku--last-pos): New var.
2479 (gomoku--intangible-chars): New const.
2480 (gomoku--intangible): New function.
2481 (gomoku-mode): Use it. Derive from special-mode.
2482 (gomoku-move-up): Adjust line count.
2483 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2484 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2485 Simplify accordingly.
2486
2487 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2488 Remove blink-cursor code.
2489 (blink-cursor-timer-function, blink-cursor-suspend):
2490 Don't special-case GUIs.
2491 (blink-cursor-mode): Use focus-in/out-hook.
2492
2493 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2494
2495 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2496 work when annotation is invisible (Bug#13886).
2497
2498 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2499
2500 * json.el (json-alist-p): Only return non-nil if the alist has
2501 simple keys (Bug#13518).
2502
2503 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2504
2505 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2506 when control-statement is the first statement in a buffer (Bug#15956).
2507
2508 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 * imenu.el (imenu-generic-skip-comments-and-strings):
2511 New option (Bug#15560).
2512 (imenu--generic-function): Use it.
2513
2514 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2515
2516 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2517 (Bug#13898)
2518
2519 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2520
2521 * emacs-lisp/helpers.el: Add some string helpers.
2522 (string-trim-left): Removes leading whitespace.
2523 (string-trim-right): Removes trailing whitespace.
2524 (string-trim): Removes leading and trailing whitespace.
2525
2526 * subr.el (string-suffix-p): New function.
2527
2528 2013-11-23 Glenn Morris <rgm@gnu.org>
2529
2530 * progmodes/python.el (python-shell-send-file):
2531 Add option to delete file when done. (Bug#15647)
2532 (python-shell-send-string, python-shell-send-region): Use it.
2533
2534 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2535
2536 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2537 to set buffer-read-only to t, never to nil. (Bug#15938)
2538
2539 * textmodes/tex-mode.el (latex-noindent-environments):
2540 Add safe-local-variable property. (Bug#15936)
2541
2542 2013-11-23 Glenn Morris <rgm@gnu.org>
2543
2544 * textmodes/enriched.el (enriched-mode): Doc fix.
2545 * emacs-lisp/authors.el (authors-renamed-files-alist):
2546 Add enriched.doc -> enriched.txt.
2547
2548 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2549
2550 2013-11-22 Leo Liu <sdl.web@gmail.com>
2551
2552 * progmodes/octave.el (inferior-octave-startup): Spit out error
2553 message.
2554
2555 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2556
2557 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2558 Improve docstring.
2559 Add :version.
2560 (ruby-encoding-magic-comment-style): Add :version.
2561
2562 2013-11-22 Leo Liu <sdl.web@gmail.com>
2563
2564 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2565 (Bug#15076)
2566 (octave-help-mode): Adapt to change to help-mode-finish to use
2567 derived-mode-p on 2013-09-17.
2568 (inferior-octave-prompt): Also match octave-gui.
2569 (octave-kill-process): Don't ask twice. (Bug#10564)
2570
2571 2013-11-22 Leo Liu <sdl.web@gmail.com>
2572
2573 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2574 (inferior-octave-startup, inferior-octave-check-process)
2575 (inferior-octave-track-window-width-change)
2576 (octave-completion-at-point, octave-eldoc-function): Use it.
2577 (octave-kill-process): Provide confirmation. (Bug#10564)
2578
2579 2013-11-21 Leo Liu <sdl.web@gmail.com>
2580
2581 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2582 Fix obsolete variable comment-use-global-state.
2583
2584 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2585
2586 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2587 Add `octave-source-file'.
2588 (octave-source-file): New function. (Bug#15935)
2589
2590 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2591
2592 * net/eww.el (eww-local-regex): New variable.
2593 (eww): Use it to detect localhost and similar.
2594
2595 2013-11-21 Leo Liu <sdl.web@gmail.com>
2596
2597 Add completion for command `ag'.
2598 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2599 (pcomplete/ag): New function.
2600 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2601
2602 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2603
2604 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2605 (bug#14646).
2606 (make-obsolete): Remove interactive spec.
2607
2608 2013-11-21 Glenn Morris <rgm@gnu.org>
2609
2610 * startup.el (command-line-1): Use path-separator with -L.
2611
2612 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2613
2614 * emacs-lisp/package.el (describe-package-1): Add package archive
2615 to shown fields.
2616
2617 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2618
2619 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2620 Change default to "# encoding: %s" to differentiate it from the
2621 default Ruby encoding comment template.
2622
2623 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2624
2625 * ses.el (ses-mode): Doc fix. (Bug#14748)
2626
2627 2013-11-20 Leo Liu <sdl.web@gmail.com>
2628
2629 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2630
2631 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2632
2633 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2634 when rebase or bisect are in progress.
2635
2636 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2637
2638 * filenotify.el (file-notify-add-watch): Doc fix.
2639
2640 2013-11-19 Leo Liu <sdl.web@gmail.com>
2641
2642 * obsolete/rcompile.el: Mark obsolete.
2643
2644 * progmodes/compile.el (compilation-start)
2645 (compilation-goto-locus, compilation-find-file):
2646 Pass no-display-ok and handle nil value from display-buffer.
2647 (Bug#13594)
2648
2649 * window.el (display-buffer-alist, display-buffer): Document the
2650 new parameter no-display-ok. Return either a window or nil
2651 but never a non-window value.
2652
2653 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * electric.el (electric-indent-mode-map): Remove.
2656 (electric-indent-mode): Change the global-map instead (bug#15915).
2657
2658 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2659 Use add-function.
2660
2661 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * emacs-lisp/nadvice.el (remove-function): Align with
2664 add-function's behavior.
2665
2666 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2667 (gdb--string-regexp): New constant.
2668 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2669 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2670 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2671 submatch 1.
2672 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2673 Adjust use accordingly.
2674 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2675
2676 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2677
2678 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2679 interpolation curlies (Bug#15914).
2680
2681 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2682
2683 * calc/calc.el (calc-context-sensitive-enter): New variable.
2684 (calc-enter): Use `calc-context-sensitive-enter'.
2685
2686 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2687
2688 * progmodes/cfengine.el: Version bump.
2689 (cfengine-cf-promises): New defcustom to locate cf-promises.
2690 (cfengine3-vartypes): Add new "data" type.
2691 (cfengine3--current-word): New function to get current name-like
2692 word or its bounds.
2693 (cfengine3--current-function): New function to look up a CFEngine
2694 function's definition.
2695 (cfengine3-format-function-docstring): New function.
2696 (cfengine3-make-syntax-cache): New function.
2697 (cfengine3-documentation-function): New function: ElDoc glue.
2698 (cfengine3-completion-function): New function: completion glue.
2699 (cfengine3-mode): Set `compile-command',
2700 `eldoc-documentation-function', and add to
2701 `completion-at-point-functions'.
2702
2703 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2706 `tramp-current-connection'.
2707
2708 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2709
2710 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2711 nil/self/true/false with "end of symbol".
2712
2713 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2714
2715 * subr.el (version-regexp-alist): Fix a typo.
2716
2717 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2718
2719 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2720 "en_US.utf8" and "LC_CTYPE" to "".
2721 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2722 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2723
2724 2013-11-15 Leo Liu <sdl.web@gmail.com>
2725
2726 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2727
2728 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2729
2730 * progmodes/gud.el (ctl-x-map):
2731 Remove C-x SPC binding. (Bug#12342)
2732 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2733
2734 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2735
2736 * subr.el (version-regexp-alist):
2737 Recognize hg, svn and darcs versions as snapshot versions.
2738
2739 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2740 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2741 (ruby--encoding-comment-required-p): Extract from
2742 `ruby-mode-set-encoding'.
2743 (ruby-mode-set-encoding): Add the ability to always insert an
2744 utf-8 encoding comment. Fix and simplify coding comment update
2745 logic.
2746
2747 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2748
2749 * net/tramp-gvfs.el (top): Run init code only when
2750 `tramp-gvfs-enabled' is not nil.
2751 (tramp-gvfs-enabled): Check also :system bus.
2752
2753 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 Sync with upstream verilog-mode revision 78e66ba.
2756 * progmodes/verilog-mode.el (verilog-end-of-defun)
2757 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2758 (verilog-get-end-of-defun): Remove unused argument.
2759 (verilog-comment-depth): Remove unused local `e'.
2760 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2761 Don't pass arg to verilog-get-end-of-defun.
2762
2763 2013-11-14 Glenn Morris <rgm@gnu.org>
2764
2765 * obsolete/assoc.el (aget): Prefix dynamic variable.
2766
2767 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2768
2769 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * widget.el, hfy-cmap.el: Remove bogus package version number.
2772
2773 2013-11-13 Glenn Morris <rgm@gnu.org>
2774
2775 * replace.el (replace-eval-replacement):
2776 Try to give more helpful error message. (Bug#15836)
2777
2778 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2779 (archive-7z-update): Avoid custom type mismatches.
2780
2781 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2782
2783 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2784
2785 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2786 address can be empty.
2787
2788 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2789 Accept nil SWITCHES.
2790 (tramp-gvfs-handle-write-region): Implement APPEND.
2791
2792 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2793
2794 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2795 binary "|" operator and closing block args delimiter.
2796 Remove FIXME comment referring to Ruby 1.8-only syntax.
2797 (ruby-smie--implicit-semi-p): Not after "|" operator.
2798 (ruby-smie--closing-pipe-p): New function.
2799 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2800 (ruby-smie-rules): Indent after "|".
2801
2802 2013-11-12 Glenn Morris <rgm@gnu.org>
2803
2804 * ps-print.el (ps-face-attribute-list):
2805 Handle anonymous faces. (Bug#15827)
2806
2807 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2808
2809 * window.el (display-buffer-other-frame): Fix doc-string.
2810 (Bug#15868)
2811
2812 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2813
2814 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2815
2816 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2817
2818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2819 (tramp-sh-handle-file-local-copy): Don't write a message when
2820 saving temporary files.
2821
2822 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2823 both directories are remote.
2824 (tramp-smb-handle-directory-files): Do not return double entries.
2825 Do not expand full file names.
2826 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2827 (tramp-smb-handle-write-region): Implement APPEND.
2828 (tramp-smb-get-stat-capability): Fix a stupid bug.
2829
2830 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2833
2834 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2835
2836 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2837 throwing error over malformed let/let* (bug#15814).
2838
2839 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * iswitchb.el (iswitchb-mode): Mark obsolete.
2842
2843 2013-11-11 Glenn Morris <rgm@gnu.org>
2844
2845 * international/uni-bidi.el, international/uni-category.el:
2846 * international/uni-name.el, international/uni-numeric.el:
2847 Regenerate for Unicode 6.3.0.
2848
2849 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp.el (tramp-methods):
2852 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2853 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2854
2855 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2856
2857 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2858 Force highlighting text after Summary keyword in doc face for rpm.
2859
2860 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2863 available and the word has no wildcards, append one to the grep pattern.
2864 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2865 (ispell-complete-word): Call `ispell-lookup-words' with the value
2866 independent of `ispell-look-p'.
2867
2868 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2869
2870 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2871 Not after "||".
2872 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2873 their parent.
2874
2875 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2876
2877 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2878 (ruby-font-lock-keywords): Use backquote.
2879
2880 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2881
2882 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2883 (ruby-smie--backward-token): Only consider full-string matches.
2884
2885 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2886
2887 * faces.el (describe-face): Add distant-foreground.
2888
2889 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2890
2891 * progmodes/ruby-mode.el: Improve encoding comment handling.
2892 (ruby-encoding-magic-comment-style): New option.
2893 (ruby-custom-encoding-magic-comment-template): New option.
2894 (ruby--insert-coding-comment, ruby--detect-encoding):
2895 New functions extracted from `ruby-mode-set-encoding'.
2896 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2897 to control the style of the auto-inserted encoding comment.
2898
2899 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2900
2901 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2902 Use `smie-backward-sexp' with token argument.
2903
2904 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2905
2906 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2907 Remove instrumentation code.
2908
2909 2013-11-08 Glenn Morris <rgm@gnu.org>
2910
2911 * progmodes/autoconf.el (autoconf-mode):
2912 Tweak comment-start-skip. (Bug#15822)
2913
2914 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2917 at bobp (bug#15826).
2918 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2919
2920 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2921
2922 * man.el (Man-start-calling): New macro, extracted from
2923 Man-getpage-in-background.
2924 (Man-getpage-in-background): Use it.
2925 (Man-update-manpage): New command.
2926 (Man-mode-map): Bind it.
2927
2928 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2929
2930 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2931 of "and", "or", "&&" and "||".
2932 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2933 argument. Prohibit opening curly brace because it could only be a
2934 block opener in that position.
2935 (ruby-smie--forward-token, ruby-smie--backward-token):
2936 Separate "|" from "&" or "*" going after it. That can happen in block
2937 arguments.
2938 (ruby-smie--indent-to-stmt): New function, seeks the end of
2939 previous statement or beginning of buffer.
2940 (ruby-smie-rules): Use it.
2941 (ruby-smie-rules): Check if there's a ":" before a curly block
2942 opener candidate; if there is, it's a hash.
2943
2944 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2947 (cl--block-wrapper): Fix last accidental change.
2948
2949 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2950
2951 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2952 Instrument, in order to hunt failure on hydra.
2953
2954 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2955
2956 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2957 malformed bindings form (bug#15814).
2958
2959 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2960
2961 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2962 "." compared to " @ ". This incidentally fixes some indentation
2963 examples with "do".
2964 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2965 (ruby-smie-grammar): New tokens: "and" and "or".
2966 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2967 Exclude "and" and "or". Remove "do" in order to work around token
2968 priorities.
2969 (ruby-smie-rules): Add all infix tokens. Handle the case of
2970 beginning-of-buffer.
2971
2972 2013-11-06 Glenn Morris <rgm@gnu.org>
2973
2974 * Makefile.in (setwins_almost, setwins_for_subdirs):
2975 Avoid accidental matches.
2976
2977 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2978
2979 * menu-bar.el (popup-menu): Use key-binding.
2980
2981 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2982
2983 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2984 menus, support also the menus produced by minor modes.
2985 (Bug#15817)
2986
2987 2013-11-06 Leo Liu <sdl.web@gmail.com>
2988
2989 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2990 DISTANCE to bound the search. All uses changed. (Bug#15808)
2991
2992 2013-11-06 Glenn Morris <rgm@gnu.org>
2993
2994 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2995 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2996 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2997
2998 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * electric.el (electric-indent-just-newline): New command.
3001 (electric-indent-mode-map): New keymap.
3002 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3003 Re-add :group which weren't redundant.
3004
3005 * electric.el (electric-indent-local-mode): New minor mode.
3006 (electric-indent-functions-without-reindent): New var.
3007 (electric-indent-post-self-insert-function): Use it.
3008 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3009
3010 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3011
3012 * international/quail.el (quail-help): Be more explicit about the
3013 meaning of the labels shown on the keys. (Bug#15800)
3014
3015 * startup.el (normal-top-level): Load the subdirs.el files before
3016 setting the locale environment. (Bug#15805)
3017
3018 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3019
3020 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3021 via arguments so as to get the right ones (bug#15418).
3022
3023 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3024
3025 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3026
3027 Fix problems found while writing a test suite.
3028
3029 * net/tramp-compat.el (tramp-compat-load): New defun.
3030 * net/tramp.el (tramp-handle-load): Use it.
3031
3032 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3033 "(numberp ok-if-already-exists)" correctly.
3034
3035 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3036
3037 * international/characters.el (glyphless-char-display-control):
3038 Add usage note.
3039
3040 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3041
3042 * progmodes/python.el (python-mode):
3043 * progmodes/scheme.el (scheme-mode):
3044 * progmodes/prolog.el (prolog-mode):
3045 * progmodes/ruby-mode.el (ruby-mode):
3046 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3047 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3048
3049 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * rect.el (rectangle--highlight-for-redisplay):
3052 * emacs-lisp/smie.el (smie--next-indent-change):
3053 Use buffer-chars-modified-tick.
3054
3055 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3056
3057 * electric.el (electric-indent-post-self-insert-function):
3058 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3059
3060 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3061
3062 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3063
3064 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3065
3066 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3067 (bug#15786).
3068
3069 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3070
3071 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3072
3073 * progmodes/python.el: Fix up last change.
3074 (python-shell--save-temp-file): New function.
3075 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3076 `string' comes from the current buffer.
3077 (python-shell-send-string-no-output): Remove `msg' arg.
3078 (python--use-fake-loc): New var.
3079 (python-shell-buffer-substring): Obey it. Try to compensate for the
3080 extra coding line added by python-shell--save-temp-file.
3081 (python-shell-send-region): Use python-shell--save-temp-file and
3082 python-shell-send-file directly. Add `nomain' argument.
3083 (python-shell-send-buffer): Use python-shell-send-region.
3084 (python-electric-pair-string-delimiter): New function.
3085 (python-mode): Use it.
3086
3087 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3088
3089 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3090 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3091 environment and decoding all of the default-directory's to here
3092 from command-line.
3093 (command-line): Decode also argv[0].
3094
3095 * loadup.el: Error out if default-directory is a multibyte string
3096 when we are dumping.
3097
3098 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3099
3100 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3101
3102 * emacs-lisp/package.el (package-menu-mode)
3103 (package-menu--print-info, package-menu--archive-predicate):
3104 Add Archive column to package list.
3105
3106 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3107
3108 Fix problems found while writing a test suite.
3109
3110 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3111 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3112 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3113 to nil when running original file name handler. Otherwise,
3114 there are problems with constructs like "$$FOO".
3115
3116 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3117 for `localname'.
3118
3119 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3120
3121 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3122
3123 * subr.el (version<, version<=, version=):
3124 Update docstrings with information for snapshot versions.
3125
3126 * helpers.el: New library for misc helper functions.
3127 (hash-table-keys): New function returning a list of hash keys.
3128 (hash-table-values): New function returning a list of hash values.
3129
3130 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3131
3132 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3133 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3134
3135 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3136
3137 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3138 checking whether point is after a 1-letter word.
3139
3140 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3141
3142 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3143 Don't infloop when expanding region over `multiline' syntax-type that
3144 begins a line (bug#15778).
3145
3146 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3149 Make it into a proper minor mode.
3150 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3151 (rectangle-mark-mode-map): New keymap.
3152 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3153
3154 2013-11-04 Glenn Morris <rgm@gnu.org>
3155
3156 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3157
3158 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3161 (ruby-smie-rules): Use smie-rule-parent instead.
3162
3163 * emacs-lisp/smie.el (smie-rule-parent): Always call
3164 smie-indent-virtual rather than only for hanging tokens.
3165 (smie--next-indent-change): New helper command.
3166
3167 2013-11-03 Glenn Morris <rgm@gnu.org>
3168
3169 * Makefile.in (abs_srcdir): Remove.
3170 (emacs): Unset EMACSLOADPATH.
3171
3172 2013-11-02 Glenn Morris <rgm@gnu.org>
3173
3174 * Makefile.in (EMACS): Use a relative filename.
3175 (abs_top_builddir): Remove.
3176 (custom-deps, finder-data, autoloads): Use --chdir.
3177
3178 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3179
3180 Use relative filenames in TAGS files.
3181 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3182 (lisptagsfiles4, TAGS): Use relative file names.
3183 (TAGS-LISP): Remove.
3184 (maintainer-clean): No more TAGS-LISP file.
3185
3186 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3187 (lisptagsfiles4): Use absolute filenames again.
3188 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3189 Remove all *loaddefs files, not just the first. Remove esh-groups.
3190 (maintainer-clean): Delete TAGS, TAGS-LISP.
3191
3192 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3193
3194 * emacs-lisp/package.el (package-version-join):
3195 Recognize snapshot versions.
3196
3197 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3198
3199 * subr.el (version-regexp-alist): Add support for snapshot versions.
3200
3201 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3202
3203 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3204 New function, replacement for `smie-rule-parent' for when we want to
3205 skip over our direct parent if it's an assignment token..
3206 (ruby-smie-rules): Use it.
3207
3208 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3209
3210 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3211 unconditionally. Remove now unnecessary forward declarations.
3212 Remove XEmacs-specific setup.
3213 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3214 (ruby-font-lock-syntactic-keywords)
3215 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3216 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3217 (ruby-here-doc-end-syntax): Remove.
3218 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3219 defined as function.
3220
3221 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3222
3223 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3224
3225 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3226
3227 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3228 table and abbrev table, `define-derived-mode' does that for us
3229 anyway.
3230
3231 2013-11-01 Glenn Morris <rgm@gnu.org>
3232
3233 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3234 files is atomic for some time, so no parallel compilation issues).
3235
3236 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3237
3238 * faces.el (face-x-resources): Add :distant-foreground.
3239 (region): Use :distant-foreground for gtk and ns.
3240
3241 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3242
3243 Allow multiple bibliographies when BibLaTeX is used rather than
3244 BibTeX.
3245 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3246 (reftex-locate-bibliography-files): Us it.
3247
3248 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3249
3250 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3251 allow comments in pbm files.
3252
3253 * term/w32-win.el (dynamic-library-alist): Support newer versions
3254 of libjpeg starting with v7: look only for the DLL from the
3255 version against which Emacs was built.
3256 Support versions of libpng beyond 1.4.x.
3257 Support libtiff v4.x.
3258
3259 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3260
3261 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3262 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3263 Add property :safe.
3264 (ruby-deep-arglist): Add property :type.
3265
3266 2013-10-31 Glenn Morris <rgm@gnu.org>
3267
3268 * Makefile.in (custom-deps, finder-data): No need to setq the target
3269 variables, we are in the right directory and the defaults work fine.
3270
3271 2013-10-30 Glenn Morris <rgm@gnu.org>
3272
3273 * Makefile.in (autoloads): Do not use abs_lisp.
3274
3275 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3276 `newline' does not respect `standard-output', so use `princ'.
3277
3278 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3279
3280 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3281 * buff-menu.el (Buffer-menu--unmark): New function.
3282 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3283
3284 2013-10-30 Glenn Morris <rgm@gnu.org>
3285
3286 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3287
3288 * emacs-lisp/package.el (lm-homepage): Declare.
3289
3290 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3291 Fix doc typos.
3292
3293 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3294
3295 * Makefile.in (finder-data, autoloads, update-subdirs)
3296 (compile-main, compile-clean, compile-always, bootstrap-clean):
3297 Check return value of cd.
3298 (compile-calc): Remove.
3299
3300 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3303
3304 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3305 (byte-compile-and-folded): New function.
3306 (=, <, >, <=, >=): Use it.
3307
3308 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3309 (path-separator, null-device, buffer-file-coding-system)
3310 (lpr-headers-switches): Check system-type before modifying them.
3311 (find-buffer-file-type-coding-system): Mark obsolete.
3312 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3313 find-file-not-found-set-buffer-file-coding-system.
3314 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3315 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3316 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3317 (w32-direct-print-region-helper, w32-direct-print-region-function)
3318 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3319 * startup.el (normal-top-level-add-subdirs-to-load-path):
3320 * ps-print.el (ps-print-region-function):
3321 * lpr.el (print-region-function): Use new name.
3322
3323 * subr.el (custom-declare-variable-early): Remove function.
3324 (custom-declare-variable-list): Remove var.
3325 (error, user-error): Remove `while' loop.
3326 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3327 (user-emacs-directory-warning, locate-user-emacs-file):
3328 Move to files.el.
3329 * simple.el (read-quoted-char-radix, read-quoted-char):
3330 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3331 Move from subr.el.
3332 * custom.el (custom-declare-variable-list): Don't process
3333 custom-declare-variable-list.
3334
3335 * progmodes/python.el (python-shell-get-buffer): New function.
3336 (python-shell-get-process): Use it.
3337 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3338 Python which encoding was used. Don't split-string since we only care
3339 about the first line. Return the temp-file, if applicable.
3340 (python-shell-send-region): Tell compile.el how to turn locations in
3341 the temp-file into locations in the source buffer.
3342
3343 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * subr.el (undefined): Add missing behavior from the C code for
3346 unbound keys.
3347
3348 * rect.el: Use lexical-binding. Add new rectangular region support.
3349 (rectangle-mark): New command.
3350 (rectangle--region): New var.
3351 (deactivate-mark-hook): Reset rectangle--region.
3352 (rectangle--extract-region, rectangle--insert-for-yank)
3353 (rectangle--highlight-for-redisplay)
3354 (rectangle--unhighlight-for-redisplay): New functions.
3355 (region-extract-function, redisplay-unhighlight-region-function)
3356 (redisplay-highlight-region-function): Use them to handle
3357 rectangular region.
3358 * simple.el (region-extract-function): New var.
3359 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3360 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3361 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3362 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3363 (redisplay-unhighlight-region-function)
3364 (redisplay-highlight-region-function): New vars.
3365 (redisplay--update-region-highlight): New function.
3366 (pre-redisplay-function): Use it.
3367 (exchange-point-and-mark): Don't deactivate the mark before
3368 reactivate-it anyway.
3369 * comint.el (comint-kill-region): Remove yank-handler argument.
3370 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3371 (delete-char): Remove property, since it's now part of their
3372 default behavior.
3373 (self-insert-iso): Remove property since this command doesn't exist.
3374
3375 * emacs-lisp/package.el (package--download-one-archive)
3376 (describe-package-1): Don't query the user about final newline.
3377
3378 2013-10-29 Daniel Colascione <dancol@dancol.org>
3379
3380 * net/tramp.el (tramp-methods): Document new functionality.
3381 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3382 tramp-hostname-checker if method provides one instead of scanning
3383 argument list for "%h" to decide hostname acceptability.
3384
3385 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3388 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3389 Handle COPY-CONTENTS. (Bug#15737)
3390
3391 2013-10-28 Daiki Ueno <ueno@gnu.org>
3392
3393 * epa-file.el
3394 (epa-file-cache-passphrase-for-symmetric-encryption):
3395 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3396
3397 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3398
3399 * image.el (defimage):
3400 (image-load-path): Doc fixes.
3401
3402 2013-10-27 Alan Mackenzie <acm@muc.de>
3403
3404 Indent statements in macros following "##" correctly.
3405 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3406 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3407
3408 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3409
3410 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3411
3412 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3413
3414 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3415 after `=' is probably a new expression.
3416
3417 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3418
3419 * man.el (man-imenu-title): New option.
3420 (Man-mode-map): Add menu. (Bug#15722)
3421 (Man-mode): Add imenu to menu.
3422
3423 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3424
3425 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3426 specific in what the first arg can be: a non-keyword word,
3427 string/regexp/percent literal opener, opening paren, or unary
3428 operator followed directly by word.
3429
3430 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3433 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3434 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3435 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3436 Remove vars, they do not apply any more.
3437 (prolog-mode-abbrev-table): Remove redundant declaration.
3438 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3439 (prolog-use-smie): Remove.
3440 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3441 supported by prolog-electric-if-then-else-flag.
3442 (prolog-mode-variables, prolog-menu): Use setq-local.
3443 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3444 Remove binding to `Backspace' since this key doesn't exist anyway.
3445 Remove bindings for electric self-inserting keys.
3446 (prog-mode): Assume it's defined.
3447 (prolog-post-self-insert): New function.
3448 (prolog-mode): Use it.
3449 (prolog-indent-line, prolog-indent-level)
3450 (prolog-find-indent-of-matching-paren)
3451 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3452 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3453 (prolog-goto-next-paren, prolog-in-string-or-comment)
3454 (prolog-tokenize, prolog-inside-mline-comment)
3455 (prolog-find-start-of-mline-comment): Remove functions.
3456 (prolog-find-unmatched-paren, prolog-clause-end)
3457 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3458 (prolog-electric--if-then-else): Rename from
3459 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3460 (prolog-tokenize-searchkey): Remove const.
3461 (prolog-clause-info): Use forward-sexp.
3462 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3463 (prolog-electric-if-then-else): Remove commands.
3464 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3465 for use in post-self-insert-hook.
3466 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3467 for use in post-self-insert-hook.
3468 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3469 for use in post-self-insert-hook.
3470 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3471 adapt it for use in post-self-insert-hook.
3472
3473 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3474
3475 * emacs-lisp/ert.el (ert-run-tests-interactively):
3476 Use `completing-read'. (Bug#9756)
3477
3478 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3479
3480 * simple.el (line-move): Call line-move-1 instead of
3481 line-move-visual when the current window hscroll is zero, but
3482 temporary-goal-column indicates we will need to hscroll as result
3483 of the movement. (Bug#15712)
3484
3485 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3486
3487 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3488 capitalization. Use :visible instead of :active.
3489 Fix `ruby-indent-exp' reference. Add menu items for the generic
3490 commands that are used with SMIE.
3491 (ruby-do-end-to-brace): Insert space after `{'.
3492
3493 2013-10-25 John Anthony <john@jo.hnanthony.com>
3494
3495 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3496
3497 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3498
3499 2013-10-25 Glenn Morris <rgm@gnu.org>
3500
3501 * vc/vc.el (vc-print-log): Don't use a working revision unless
3502 one was explicitly specified. (Bug#15322)
3503
3504 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3505
3506 * subr.el (add-to-list): Preserve return value in compiler-macro
3507 (bug#15692).
3508
3509 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3510
3511 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3512 result. Ask user to retry using '-all' flag. (Bug#15701)
3513
3514 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * emacs-lisp/smie.el: New smie-config system.
3517 (smie-config): New defcustom.
3518 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3519 (smie-config-guess, smie-config-save): New commands.
3520 (smie-config--mode-local, smie-config--buffer-local)
3521 (smie-config--trace, smie-config--modefuns): New vars.
3522 (smie-config--advice, smie-config--mode-hook)
3523 (smie-config--setter, smie-config-local, smie-config--get-trace)
3524 (smie-config--guess-value, smie-config--guess): New functions.
3525 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3526 text properties. Treat "string fence" syntax like string syntax.
3527
3528 * progmodes/sh-script.el (sh-use-smie): Change default.
3529 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3530 (sh-var-value): Simplify by CSE.
3531 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3532 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3533 is used.
3534 (sh-guess-basic-offset): Use cl-incf.
3535 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3536
3537 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3538
3539 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3540 (bug#15699).
3541
3542 2013-10-24 Glenn Morris <rgm@gnu.org>
3543
3544 * Makefile.in (abs_top_srcdir): Remove.
3545 (update-subdirs): Use relative path to update-subdirs.
3546
3547 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3548
3549 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3550 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3551 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3552 Call unmsys--file-name before expand-file-name, not after it.
3553
3554 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3555
3556 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3557 (ert-test-skipped): New error.
3558 (ert-skip, ert-stats-skipped): New defuns.
3559 (ert--skip-unless): New macro.
3560 (ert-test-skipped): New struct.
3561 (ert--run-test-debugger, ert-test-result-type-p)
3562 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3563 (ert--stats-set-test-and-result, ert-char-for-test-result)
3564 (ert-string-for-test-result, ert-run-tests-batch)
3565 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3566 Handle skipped tests. (Bug#9803)
3567
3568 2013-10-24 Glenn Morris <rgm@gnu.org>
3569
3570 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3571
3572 * Makefile.in (abs_top_srcdir): New, set by configure.
3573 (update-subdirs): Correct build-aux location.
3574
3575 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3576
3577 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3578 value, whether we could auto-deduce `backend', or not.
3579
3580 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3581 with parameters" example. Simplify the "is it block or is it
3582 hash" check, but also make it more thorough.
3583
3584 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3585
3586 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3587
3588 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3591 { if it is hanging.
3592
3593 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3594 :before ";".
3595
3596 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3597
3598 * progmodes/compile.el (compilation-directory-matcher)
3599 (compilation-page-delimiter):
3600 Support GNU Make-4.0 directory quoting. (Bug#15678)
3601
3602 2013-10-23 Leo Liu <sdl.web@gmail.com>
3603
3604 * ido.el (ido-tidy): Handle read-only text.
3605
3606 2013-10-23 Glenn Morris <rgm@gnu.org>
3607
3608 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3609 (emacs, compile, compile-always):
3610 Quote entities that might contain whitespace.
3611 (custom-deps, finder-data, autoloads): Use abs_lisp.
3612 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3613 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3614 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3615
3616 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3617
3618 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3619 Use `following-char'.
3620
3621 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3622
3623 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3624 * progmodes/ruby-mode.el (ruby-smie-rules):
3625 Remove corresponding workaround. Fix indentation rule of ";" so it
3626 also applies when ";" is the parent.
3627
3628 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3629
3630 * frame.el (display-screens, display-pixel-height)
3631 (display-pixel-width, display-mm-width, display-backing-store)
3632 (display-save-under, display-planes, display-color-cells)
3633 (display-visual-class, display-monitor-attributes-list):
3634 Mention the optional ‘display’ argument in doc strings.
3635
3636 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3637
3638 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3639 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3640
3641 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3642
3643 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3644 TODO. Add "." after " @ ".
3645 (ruby-smie--at-dot-call): New function. Checks if point at method
3646 call with explicit target.
3647 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3648 to the method name tokens when it precedes them.
3649 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3650 (ruby-smie-rules): Add rule for indentation before and after "."
3651 token.
3652
3653 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3654
3655 * textmodes/remember.el (remember-diary-extract-entries):
3656 Avoid add-to-list.
3657
3658 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3659 an instruction.
3660
3661 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3662
3663 * progmodes/ruby-mode.el (ruby-smie-grammar):
3664 Add (almost) all infix operators.
3665 (ruby-smie--implicit-semi-p): Add new operator chars.
3666
3667 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3668 `smie-down-list'.
3669 (ruby-smie--args-separator-p): Check that there's no newline
3670 between method call and its arguments.
3671
3672 2013-10-20 Alan Mackenzie <acm@muc.de>
3673
3674 Allow comma separated lists after Java "implements".
3675
3676 * progmodes/cc-engine.el (c-backward-over-enum-header):
3677 Parse commas.
3678 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3679 from a "disallowed" list in enum fontification.
3680
3681 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3682
3683 * startup.el (default-frame-background-mode): Remove unused defvar.
3684
3685 * progmodes/verilog-mode.el (verilog-mode): Don't set
3686 comment-indent-function globally.
3687
3688 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3689
3690 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3691 Move Info menu item creation to ns-win.el.
3692
3693 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3694 in menu bar.
3695
3696 * menu-bar.el: Move GNUstep specific menus...
3697
3698 * term/ns-win.el (ns-initialize-window-system): ... to here.
3699
3700 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 * simple.el (newline): Only run post-self-insert-hook when
3703 called interactively.
3704
3705 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3706
3707 * icomplete.el (icomplete-with-completion-tables): Add :version.
3708
3709 2013-10-19 Alan Mackenzie <acm@muc.de>
3710
3711 Fix fontification bugs with constructors and const.
3712
3713 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3714 CASE 2) Remove the check for the absence of a suffix construct
3715 after a function declaration with only types (no identifiers) in
3716 the parentheses. Also, accept a function declaration with just a
3717 type inside the parentheses, if this type can be positively
3718 recognised as such, or if a prefix keyword like "explicit" nails
3719 down the construct as a declaration.
3720
3721 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3722
3723 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3724 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3725 the problem whereby selecting a menu item that leads to a
3726 minibuffer prompt moves the cursor out of the minibuffer window,
3727 making it hard to type at the prompt. Suggested by Stefan Monnier
3728 <monnier@iro.umontreal.ca>.
3729
3730 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3731
3732 * menu-bar.el: Don't make Services menu.
3733
3734 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3735
3736 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3737 (ffap-alist): Use ffap-c++-mode for c++-mode.
3738 (ffap-c++-path): New variable.
3739 (ffap-c++-mode): New function.
3740
3741 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3742
3743 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3744
3745 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3748 introduced on 2013-09-08, which results in an infinite loop
3749 requesting a password.
3750
3751 2013-10-18 Glenn Morris <rgm@gnu.org>
3752
3753 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3754
3755 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3756
3757 Sync with upstream verilog-mode revision 1a6ecec7.
3758 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3759 (verilog-mode-release-date): Remove.
3760 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3761 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3762 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3763 (verilog-auto-tieoff-ignore-regexp)
3764 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3765 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3766 (verilog-signals-with, verilog-dir-cache-preserving)
3767 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3768 Doc fixes.
3769 (verilog-case-fold): New option, to control case folding in
3770 regexp searches, bug597.
3771 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3772 (verilog-string-match-fold, verilog-in-paren-count)
3773 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3774 (verilog-at-close-struct-p): New functions.
3775 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3776 (verilog-forward-sexp, verilog-set-auto-endcomments):
3777 (verilog-leap-to-case-head): Handle "unique0" case.
3778 (verilog-in-constraint-re): New constant.
3779 (verilog-keywords, verilog-type-font-keywords):
3780 Add some SystemVerilog 1800-2012 keywords.
3781 (verilog-label-be): Remove unimplemented argument, bug669.
3782 (verilog-batch-execute-func): When batch expanding clear
3783 create-lockfiles to prevent spurious user locks when a file ends
3784 up not changing.
3785 (verilog-calculate-indent, verilog-calc-1)
3786 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3787 (verilog-do-indent): Fix indentation of nested constraints
3788 and structures.
3789 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3790 (verilog-auto-inst-param): Use verilog-string-match-fold.
3791 (verilog-read-inst-module-matcher):
3792 Fix AUTOINST on gate primitives with #1.
3793 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3794 Reads all user-defined typed variables.
3795 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3796 (verilog-signals-matching-regexp)
3797 (verilog-signals-not-matching-regexp, verilog-auto):
3798 Respect verilog-case-fold.
3799 (verilog-diff-report): Fix line count.
3800 (verilog-auto-assign-modport): Remove unused local `modi'.
3801 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3802 better handle multidimensional arrays.
3803 Fix packed array ports misadding bit index in AUTOINST, bug637.
3804 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3805 to not double-declare existing outputs and inputs, respectively.
3806 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3807 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3808 (verilog-sk-uvm-component): New skeleton.
3809 (verilog-submit-bug-report): Add verilog-case-fold,
3810 remove verilog-mode-release-date.
3811
3812 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3813
3814 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3815 as before.
3816
3817 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3818
3819 * textmodes/remember.el (remember): Set buffer-offer-save in
3820 remember buffers (bug#13566).
3821
3822 2013-10-18 Daniel Colascione <dancol@dancol.org>
3823
3824 When evaluating forms in ielm, direct standard output to ielm
3825 buffer. Add new ielm-return-for-effect command. Remove trailing
3826 whitespace throughout.
3827
3828 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3829 (ielm-return-for-effect): New command.
3830 (ielm-send-input): Accept optional `for-effect' parameter.
3831 (ielm-eval-input): Accept optional `for-effect' parameter.
3832 Bind `standard-output' to stream we create using
3833 `ielm-standard-output-impl'. Suppress printing result when
3834 `for-effect'.
3835 (ielm-standard-output-impl): New function.
3836 (inferior-emacs-lisp-mode): Explain new features in documentation.
3837
3838 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3839
3840 Code cleanup.
3841
3842 * net/tramp.el (tramp-debug-message): Do not check for connection
3843 buffer.
3844 (tramp-message): Use "vector" connection property.
3845
3846 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3847 (tramp-equal-remote, tramp-eshell-directory-change)
3848 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3849 (tramp-adb-handle-rename-file)
3850 * net/tramp-cmds.el (tramp-list-remote-buffers)
3851 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3852 * net/tramp-compat.el (tramp-compat-process-running-p)
3853 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3854 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3855 (tramp-gvfs-handle-rename-file)
3856 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3857 (tramp-set-file-uid-gid)
3858 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3859 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3860 of `file-remote-p'.
3861
3862 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3863 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3864 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3865 (tramp-gw-open-network-stream): Suppress unrelated traces.
3866
3867 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3868 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3869 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3870 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3871 connection property.
3872
3873 * net/tramp-cache.el (top): Suppress traces when reading
3874 persistency file.
3875
3876 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3877 Refactor common code. Improve debug message.
3878 (tramp-maybe-open-connection)
3879 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3880 connection buffer too early.
3881
3882 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3883 from `tramp-smb-actions-with-acl'.
3884 (tramp-smb-actions-set-acl): New defconst.
3885 (tramp-smb-handle-copy-directory)
3886 (tramp-smb-action-get-acl): New defun, renamed from
3887 `tramp-smb-action-with-acl'.
3888 (tramp-smb-action-set-acl): New defun.
3889 (tramp-smb-handle-set-file-acl): Rewrite.
3890
3891 2013-10-17 Glenn Morris <rgm@gnu.org>
3892
3893 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3894
3895 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * skeleton.el (skeleton-newline): Remove.
3898 (skeleton-internal-1): Use (insert "\n") instead.
3899
3900 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3901 let-bindings.
3902
3903 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3904 forward-sexp-function while we redo its job (bug#15613).
3905
3906 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3907
3908 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3909 represented by lists.
3910
3911 2013-10-16 Glenn Morris <rgm@gnu.org>
3912
3913 * tmm.el (tmm--history): New dynamic variable.
3914 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3915
3916 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3917
3918 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3919 (tramp-smb-errors): Add error messages.
3920 (tramp-smb-actions-with-acl): New defconst.
3921 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3922 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3923 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3924 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3925 (tramp-smb-get-stat-capability): Fix tests.
3926
3927 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3928
3929 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3930 (bug#15580).
3931
3932 2013-10-16 Glenn Morris <rgm@gnu.org>
3933
3934 * ansi-color.el (ansi-color-drop-regexp):
3935 Add 1J, 1K, 2K. (Bug#15617)
3936
3937 * files.el (hack-local-variables--warned-lexical): New.
3938 (hack-local-variables):
3939 Warn about misplaced lexical-binding. (Bug#15616)
3940
3941 * net/eww.el (eww-render): Always set eww-current-url,
3942 and update header line. (Bug#15622)
3943 (eww-display-html): ... Rather than just doing it here.
3944
3945 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3946
3947 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3948 menu navigations commands.
3949
3950 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3951
3952 * progmodes/subword.el (subword-capitalize): Be careful when
3953 the search for [[:alpha:]] fails (bug#15580).
3954
3955 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3956
3957 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3958 to commands that scroll the menu.
3959
3960 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3961
3962 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3963 Handle methods ending with `?' and `!'.
3964
3965 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3966
3967 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3968 `japanese-cp932' to `cp932' to fix the problem where saving a
3969 source file written in Shift_JIS twice would end up having
3970 `coding: japanese-cp932' which Ruby could not recognize.
3971 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3972 in `ruby-encoding-map'.
3973 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3974 doesn't need to be explicitly declared in magic comment.
3975 (ruby-encoding-map): Add type declaration for better customize UI.
3976
3977 2013-10-13 Glenn Morris <rgm@gnu.org>
3978
3979 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3980 Occur buffers are read-only. http://bugs.debian.org/720775
3981
3982 * emacs-lisp/authors.el (authors-fixed-entries):
3983 Comment out old alpha stuff.
3984
3985 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3986
3987 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3988 to `after-save-hook' instead of `before-save-hook'.
3989 (ruby-mode-set-encoding): Use the value of coding system used to
3990 write the file. Call `basic-save-buffer-1' after modifying the
3991 buffer.
3992
3993 2013-10-13 Alan Mackenzie <acm@muc.de>
3994
3995 Fix indentation/fontification of Java enum with
3996 "implements"/generic.
3997
3998 * progmodes/cc-engine.el (c-backward-over-enum-header):
3999 Extracted from the three other places and enhanced to handle generics.
4000 (c-inside-bracelist-p): Uses new function above.
4001 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4002 function above.
4003 (c-font-lock-enum-tail): Uses new function above.
4004
4005 2013-10-13 Kenichi Handa <handa@gnu.org>
4006
4007 * international/mule-cmds.el (select-safe-coding-system): Remove a
4008 superfluous condition in chekcing whether a coding system is safe
4009 or not.
4010
4011 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4012
4013 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4014
4015 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4016
4017 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4018
4019 2013-10-13 Glenn Morris <rgm@gnu.org>
4020
4021 * menu-bar.el (menu-bar-update-buffers):
4022 Unify Buffers menu prompt string. (Bug#15576)
4023
4024 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4025
4026 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4027 Add some entries.
4028 (authors-fixed-entries): Use accented form of name.
4029
4030 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4031
4032 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4033 method calls (bug#15594).
4034 (ruby-smie--args-separator-p): New function.
4035 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4036 recognize paren-free method calls.
4037
4038 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4039 internals of universal-argument.
4040
4041 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4042
4043 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4044 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4045 dropped menu on second mouse click on the menu bar.
4046
4047 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4048
4049 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4050 (explicit-shell-file-name): Declare.
4051 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4052 (sh-completion-at-point-function): New function.
4053 (sh-mode): Use it.
4054 (sh-smie--keyword-p): Remove unused argument.
4055 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4056 vars.
4057 (sh-set-shell): Always setup SMIE, even if we use the
4058 old indentation code.
4059
4060 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4061
4062 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4063 cases of ? and =.
4064 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4065 predicate would return nil are almost non-existent.
4066 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4067
4068 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4069 cache also after commands that modify the buffer but don't move
4070 point.
4071
4072 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * env.el (substitute-env-in-file-name): New function.
4075 (substitute-env-vars): Extend the meaning of the optional arg.
4076
4077 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4078
4079 * term/w32-win.el (dynamic-library-alist): Define separate lists
4080 of GIF DLLs for versions before and after 5.0.0 of giflib.
4081 (Bug#15531)
4082
4083 2013-10-10 João Távora <joaotavora@gmail.com>
4084
4085 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4086 not locked, use last revision and current source as
4087 defaults. (Bug#15569)
4088
4089 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4090
4091 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4092 menu-bar is hidden.
4093
4094 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4095
4096 * window.el (pop-to-buffer-same-window): Fix doc-string.
4097 (Bug#15492)
4098
4099 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4102
4103 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4104
4105 * calendar/icalendar.el (icalendar-import-file):
4106 Fix interactive spec. (Bug#15482)
4107
4108 2013-10-10 Glenn Morris <rgm@gnu.org>
4109
4110 * desktop.el (desktop-save): Default to saving in .emacs.d,
4111 since PWD is no longer in desktop-path by default. (Bug#15319)
4112
4113 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4114 now that text mode has a menu with the same entry.
4115 (menu-bar-text-mode-auto-fill): Remove now unused func.
4116 * textmodes/text-mode.el (text-mode-map):
4117 Use auto-fill help text from menu-bar.el.
4118
4119 2013-10-10 John Anthony <john@jo.hnanthony.com>
4120
4121 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4122
4123 2013-10-09 Juri Linkov <juri@jurta.org>
4124
4125 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4126 instead of this-command-keys. Add universal-argument-more and
4127 universal-argument-minus to the list of prefix commands. (Bug#15568)
4128
4129 2013-10-09 Glenn Morris <rgm@gnu.org>
4130
4131 * vc/vc-svn.el (vc-svn-create-repo):
4132 Expand paths in file://... url. (Bug#15446)
4133
4134 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4135 Add some entries.
4136 (authors): Remove unused local variables.
4137
4138 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * profiler.el: Create a more coherent calltree from partial backtraces.
4141 (profiler-format): Hide the tail with `invisible' so that C-s can still
4142 find the hidden elements.
4143 (profiler-calltree-depth): Don't recurse so enthusiastically.
4144 (profiler-function-equal): New hash-table-test.
4145 (profiler-calltree-build-unified): New function.
4146 (profiler-calltree-build): Use it.
4147 (profiler-report-make-name-part): Indent the calltree less.
4148 (profiler-report-mode): Add visibility specs for profiler-format.
4149 (profiler-report-expand-entry, profiler-report-toggle-entry):
4150 Expand the whole subtree when provided with a prefix arg.
4151
4152 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4153
4154 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4155 iuwu-mod token.
4156 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4157 hanging iuwu-mod token.
4158 (ruby-smie--forward-token): Do not include a dot after a token in
4159 that token.
4160 (ruby-smie--backward-token): Likewise.
4161
4162 2013-10-08 Juri Linkov <juri@jurta.org>
4163
4164 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4165 to isearch-other-control-char.
4166 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4167 and isearch-post-command-hook to post-command-hook.
4168 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4169 and isearch-post-command-hook from post-command-hook.
4170 (isearch-unread-key-sequence)
4171 (isearch-reread-key-sequence-naturally)
4172 (isearch-lookup-scroll-key, isearch-other-control-char)
4173 (isearch-other-meta-char): Remove functions.
4174 (isearch-pre-command-hook, isearch-post-command-hook):
4175 New functions based on isearch-other-meta-char rewritten
4176 relying on the new behavior of overriding-terminal-local-map
4177 that does not replace the local keymaps any more. (Bug#15200)
4178
4179 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4180
4181 Support menus on text-mode terminals.
4182 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4183 functionality.
4184
4185 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4186
4187 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4188 Move here from mouse.el.
4189 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4190 and arrow keys.
4191 (tty-menu-navigation-map): New map for TTY menu navigation.
4192
4193 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4194
4195 * frame.el (display-mouse-p): Report text-mode mouse as available
4196 on w32.
4197 (display-popup-menus-p): Report availability if mouse is
4198 available; don't condition on window-system.
4199
4200 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4201 (tty-menu-selected-face): New faces.
4202
4203 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4204
4205 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4206 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4207 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4208 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4209 New constants.
4210 (lisp-mode-variables): New `elisp' argument.
4211 (emacs-lisp-mode): Use it.
4212 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4213 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4214
4215 * indent.el: Use lexical-binding.
4216 (indent-region): Add progress reporter.
4217 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4218 last step.
4219 (indent--next-tab-stop): New function to implement this behavior.
4220 (tab-to-tab-stop, move-to-tab-stop): Use it.
4221
4222 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4223
4224 * indent.el (indent-rigidly--current-indentation): New function.
4225 (indent-rigidly-map): New var.
4226 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4227
4228 2013-10-08 Bastien Guerry <bzg@gnu.org>
4229
4230 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4231
4232 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4233
4234 * progmodes/perl-mode.el: Use lexical-binding.
4235 Remove redundant :group args.
4236 (perl-nochange): Change default to be closer to other major modes's
4237 standard behavior.
4238 (perl-indent-line): Don't consider text on current line as a
4239 valid beginning of function from which to indent.
4240
4241 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4242 with more than one argument (bug#15538).
4243
4244 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4245
4246 * vc/pcvs.el: Use lexical-binding.
4247 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4248 environment of `eval'.
4249 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4250 than a list of expressions. Adjust callers.
4251 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4252
4253 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4254
4255 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4256 case of the dot in a chained method call being on the following line.
4257
4258 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4259
4260 * electric.el (electric-indent-inhibit): New var.
4261 (electric-indent-post-self-insert-function): Use it.
4262 * progmodes/python.el (python-mode): Set it.
4263
4264 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4265 open braces.
4266
4267 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4268
4269 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4270 (css-mode): Use electric-indent-chars.
4271
4272 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4273 (font-lock-beg, font-lock-end): Move before first use.
4274 (nxml-mode): Use syntax-propertize-function.
4275 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4276 (nxml-extend-after-change-region): Remove.
4277 * nxml/xmltok.el: Use lexical-binding.
4278 (xmltok-save): Use `declare'.
4279 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4280 * nxml/nxml-util.el: Use lexical-binding.
4281 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4282 Use `declare'.
4283 * nxml/nxml-ns.el: Use lexical-binding.
4284 (nxml-ns-save): Use `declare'.
4285 (nxml-ns-prefixes-for): Avoid add-to-list.
4286 * nxml/rng-match.el: Use lexical-binding.
4287 (rng--ipattern): Use cl-defstruct.
4288 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4289 (rng-cons-group-after, rng-subst-group-after)
4290 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4291 Use closures instead of `(lambda...).
4292
4293 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4294
4295 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4296 of BEG and END.
4297
4298 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4299 Use `tramp-handle-insert-file-contents'.
4300 (tramp-gvfs-handle-insert-file-contents): Remove function.
4301
4302 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4303 Use `save-restriction' in order to keep markers.
4304
4305 * net/trampver.el: Update release number.
4306
4307 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4308
4309 * progmodes/compile.el (compilation-parse-errors):
4310 Use compilation--put-prop.
4311 (compilation--ensure-parse): Check compilation-multiline.
4312
4313 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4314
4315 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4316 lexical-binding.
4317
4318 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4319
4320 * progmodes/ruby-mode.el: Fix recently added tests.
4321 (ruby-smie-grammar): Add - and +.
4322 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4323 (ruby-smie--backward-id): New functions.
4324 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4325 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4326 any more.
4327
4328 2013-10-07 Leo Liu <sdl.web@gmail.com>
4329
4330 * register.el (register-preview-delay)
4331 (register-preview-functions): New variables.
4332 (register-read-with-preview, register-preview)
4333 (register-describe-oneline): New functions.
4334 (point-to-register, window-configuration-to-register)
4335 (frame-configuration-to-register, jump-to-register)
4336 (number-to-register, view-register, insert-register)
4337 (copy-to-register, append-to-register, prepend-to-register)
4338 (copy-rectangle-to-register): Use register-read-with-preview to
4339 read register. (Bug#15525)
4340
4341 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4342
4343 * net/network-stream.el (network-stream-open-starttls): Don't add
4344 --insecure if it's already present, because that gnutls-cli
4345 rejects getting that parameter twice.
4346
4347 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4348
4349 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4350 keyword, too.
4351
4352 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * newcomment.el (comment-use-global-state): Change default value
4355 to t, mark obsolete (Bug#15251).
4356 (comment-beginning): In addition to `comment-to-syntax', check the
4357 value of `comment-use-global-state'.
4358
4359 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4362 (ruby-comment-column): Follow the global default, by default.
4363 (ruby-smie-grammar): Add assignment syntax.
4364 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4365 open-paren, a comma, or a \.
4366 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4367 and line continuations.
4368 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4369 followed by implicit semi-colons. Add rule for string concatenation
4370 and for indentation at BOB.
4371 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4372
4373 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4374 calling next-sexp, since next-token may have skipped chars which
4375 next-sexp doesn't know should be skipped!
4376
4377 2013-10-05 Leo Liu <sdl.web@gmail.com>
4378
4379 * progmodes/octave.el (octave-send-region):
4380 Call compilation-forget-errors.
4381
4382 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4383
4384 * vc/vc-svn.el (vc-svn-find-admin-dir):
4385 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4386 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4387 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4388 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4389
4390 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4393
4394 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4395
4396 * subr.el (read-passwd): Hide chars even when called within a context
4397 where after-change-functions is disabled (bug#15501).
4398 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4399 until we removed ourself from overriding-terminal-local-map.
4400
4401 2013-10-04 Leo Liu <sdl.web@gmail.com>
4402
4403 * progmodes/octave.el (inferior-octave-mode):
4404 Call compilation-forget-errors.
4405
4406 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4407
4408 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4409
4410 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4411
4412 * net/secrets.el (secrets-create-collection): Add optional
4413 argument ALIAS. Use proper Label keyword. Append ALIAS as
4414 dbus-call-method argument. (Bug#15516)
4415
4416 2013-10-04 Leo Liu <sdl.web@gmail.com>
4417
4418 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4419 (inferior-octave-compilation-font-lock-keywords): New variables.
4420 (compilation-error-regexp-alist)
4421 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4422 (inferior-octave-mode): Use compilation-shell-minor-mode.
4423
4424 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4425
4426 * minibuffer.el (completion--replace): Be careful that `end' might be
4427 a marker.
4428
4429 2013-10-03 Daiki Ueno <ueno@gnu.org>
4430
4431 Add support for package signature checking.
4432 * emacs-lisp/package.el (url-http-file-exists-p)
4433 (epg-make-context, epg-context-set-home-directory)
4434 (epg-verify-string, epg-context-result-for)
4435 (epg-signature-status, epg-signature-to-string)
4436 (epg-check-configuration, epg-configuration)
4437 (epg-import-keys-from-file): Declare.
4438 (package-check-signature): New user option.
4439 (package-unsigned-archives): New user option.
4440 (package-desc): Add `signed' field.
4441 (package-load-descriptor): Set `signed' field if .signed file exists.
4442 (package--archive-file-exists-p): New function.
4443 (package--check-signature): New function.
4444 (package-install-from-archive): Check package signature.
4445 (package--download-one-archive): Check archive signature.
4446 (package-delete): Remove .signed file.
4447 (package-import-keyring): New command.
4448 (package-refresh-contents): Import default keyring.
4449 (package-desc-status): Add "unsigned" status.
4450 (describe-package-1, package-menu--print-info)
4451 (package-menu-mark-delete, package-menu--find-upgrades)
4452 (package-menu--status-predicate): Support "unsigned" status.
4453
4454 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4457 the new compilation scheme using the new byte-codes.
4458
4459 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4460 (byte-pophandler): New byte codes.
4461 (byte-goto-ops): Adjust accordingly.
4462 (byte-compile--use-old-handlers): New var.
4463 (byte-compile-catch): Use new byte codes depending on
4464 byte-compile--use-old-handlers.
4465 (byte-compile-condition-case--old): Rename from
4466 byte-compile-condition-case.
4467 (byte-compile-condition-case--new): New function.
4468 (byte-compile-condition-case): New function that dispatches depending
4469 on byte-compile--use-old-handlers.
4470 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4471 when we can.
4472
4473 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4474 Optimize under `condition-case' and `catch' if
4475 byte-compile--use-old-handlers is nil.
4476 (disassemble-offset): Handle new bytecodes.
4477
4478 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 * subr.el (error): Use `declare'.
4481 (decode-char, encode-char): Use advertised-calling-convention instead
4482 of the docstring to discourage use of the `restriction' arg.
4483
4484 2013-10-03 Daiki Ueno <ueno@gnu.org>
4485
4486 * epg.el (epg-verify-file): Add a comment saying that it does not
4487 notify verification error as a return value nor a signal.
4488 (epg-verify-string): Ditto.
4489
4490 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4491
4492 * progmodes/compile.el (compilation-start): Try globbing the arg to
4493 `cd' (bug#15417).
4494
4495 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4496
4497 Sync with Tramp 2.2.8.
4498
4499 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4500 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4501 * net/trampver.el: Update release number.
4502
4503 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4504
4505 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4506 and default-process-coding-system for darwin only.
4507
4508 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4509
4510 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4511
4512 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4513
4514 * vc/vc-git.el (vc-git-grep): Disable pager.
4515
4516 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4517
4518 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4519 Use :url instead of :homepage, as per
4520 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4521
4522 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4523 non-nil, use `syntax-ppss' (Bug#15251).
4524
4525 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4526
4527 * progmodes/octave.el (inferior-octave-startup-file):
4528 Prefer ~/.emacs.d/init_octave.m.
4529
4530 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4531
4532 * emacs-lisp/package.el (package-desc-from-define):
4533 Accept additional arguments as plist, convert them to an alist and store
4534 them in the `extras' slot.
4535 (package-generate-description-file): Convert extras alist back to
4536 plist and append to the `define-package' form arguments.
4537 (package--alist-to-plist): New function.
4538 (package--ac-desc): Add `extras' slot.
4539 (package--add-to-archive-contents): Check if the archive-contents
4540 vector is long enough, and if it is, pass its `extras' slot value
4541 to `package-desc-create'.
4542 (package-buffer-info): Call `lm-homepage', pass the returned value
4543 to `package-desc-from-define'.
4544 (describe-package-1): Render the homepage button (Bug#13291).
4545
4546 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4547 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4548
4549 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4550
4551 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4552 and default-process-coding-system to utf-8-unix (Bug#15402).
4553
4554 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4555
4556 * subr.el (looking-back): Do not recommend using looking-back.
4557
4558 2013-09-28 Alan Mackenzie <acm@muc.de>
4559
4560 Fix indentation/fontification of Java enum with "implements".
4561
4562 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4563 regexp which matches "implements", etc., in Java.
4564 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4565 specifier clauses coming after "enum".
4566 * progmodes/cc-fonts.el (c-font-lock-declarations)
4567 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4568 after "enum".
4569
4570 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4571
4572 * faces.el (region): Change ns_selection_color to
4573 ns_selection_fg_color, add ns_selection_bg_color.
4574
4575 2013-09-28 Leo Liu <sdl.web@gmail.com>
4576
4577 * progmodes/octave.el (inferior-octave-completion-table)
4578 (inferior-octave-completion-at-point): Minor tweaks.
4579
4580 * textmodes/ispell.el (ispell-lookup-words): Rename from
4581 lookup-words. (Bug#15460)
4582 (lookup-words): Obsolete.
4583 (ispell-complete-word, ispell-command-loop): All uses changed.
4584
4585 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4586
4587 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4588 (octave-mode-menu): Add octave-send-buffer.
4589 (octave-send-buffer): New function.
4590
4591 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4592
4593 * progmodes/octave.el (octave-mode-map): Add key binding for
4594 octave-lookfor.
4595 (octave-mode-menu): Add octave-lookfor.
4596 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4597 octave-lookfor.
4598 (octave-lookfor): New function.
4599
4600 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/cl-macs.el:
4603 (cl--loop-destr-temps): Remove.
4604 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4605 its convention.
4606 (cl--loop-set-iterator-function): New function.
4607 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4608 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4609 Bind `it' with `let' instead of substituting it with `cl-subst'.
4610 (cl--unused-var-p): New function.
4611 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4612 Eliminate some unused variable warnings (bug#15326).
4613
4614 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4615
4616 * doc-view.el (doc-view-scale-reset): Rename from
4617 `doc-view-reset-zoom-level'.
4618 (doc-view-scale-adjust): New command.
4619 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4620 `doc-view-scale-adjust'.
4621
4622 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4623
4624 * doc-view.el (doc-view-reset-zoom-level): New command.
4625 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4626 zoom commands (bug#15466).
4627
4628 2013-09-26 Kenichi Handa <handa@gnu.org>
4629
4630 * international/quail.el (quail-help): Make it not a command.
4631
4632 2013-09-26 Leo Liu <sdl.web@gmail.com>
4633
4634 * minibuffer.el (completion-all-sorted-completions): Make args
4635 optional as they are.
4636
4637 2013-09-25 Daniel Colascione <dancol@dancol.org>
4638
4639 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4640 specs are and that they're not evaluated.
4641
4642 2013-09-24 Sam Steingold <sds@gnu.org>
4643
4644 * midnight.el (clean-buffer-list-kill-regexps)
4645 (clean-buffer-list-kill-buffer-names): Update for the new Man
4646 buffer naming which includes the object name.
4647
4648 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4651 (eshell-parse-command, eshell-parse-pipeline): Use it since
4652 eshell-separate-commands requires a dynamic scoped var.
4653 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4654
4655 2013-09-23 Leo Liu <sdl.web@gmail.com>
4656
4657 * autoinsert.el (auto-insert-alist): Make the value of
4658 lexical-binding match its file setting.
4659
4660 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4661
4662 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4663
4664 * autoarg.el (autoarg-kp-digit-argument):
4665 * electric.el (Electric-command-loop):
4666 * kmacro.el (kmacro-step-edit-insert):
4667 Do not set universal-argument-num-events.
4668
4669 2013-09-22 Leo Liu <sdl.web@gmail.com>
4670
4671 * files.el (interpreter-mode-alist): Add octave.
4672
4673 2013-09-21 Alan Mackenzie <acm@muc.de>
4674
4675 C++: fontify identifier in declaration following "public:" correctly.
4676 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4677 to match "public", etc.
4678 (c-decl-prefix-re): Add ":" into the C++ value.
4679 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4680 bit. Add a check for a ":" preceded by "public", etc.
4681
4682 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4683
4684 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4685 recognized by GDB 7.5 and later.
4686
4687 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4688
4689 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4690
4691 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * subr.el (internal--call-interactively): New const.
4694 (called-interactively-p): Use it (bug#3984).
4695
4696 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4697
4698 * vc/pcvs.el (cvs-mode-ignore):
4699 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4700 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4701
4702 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4705 (eshell-ls-orig-insert-directory): Remove.
4706 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4707 (eshell-ls-use-in-dired): Use advice-add/remove.
4708 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4709 Add `orig-fun' arg for use in :around advice.
4710 Make it check (redundantly) eshell-ls-use-in-dired.
4711
4712 2013-09-19 Glenn Morris <rgm@gnu.org>
4713
4714 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4715
4716 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4717
4718 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4719
4720 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4721
4722 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4723 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4724 (tramp-get-remote-python): New defuns.
4725 (tramp-get-remote-uid-with-perl)
4726 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4727 contributed by yary <not.com@gmail.com> (tiny change).
4728 (tramp-get-remote-uid-with-python)
4729 (tramp-get-remote-gid-with-python): New defuns. Python code
4730 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4731 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4732
4733 2013-09-19 Glenn Morris <rgm@gnu.org>
4734
4735 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4736
4737 * eshell/em-unix.el (eshell-remove-entries):
4738 Rename argument to avoid name-clash with global `top-level'.
4739
4740 * eshell/esh-proc.el (eshell-kill-process-function):
4741 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4742 (eshell-reset-after-proc): Remove unused arg `proc'.
4743
4744 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4745 (directory-files-and-attributes): Mark unused arg.
4746
4747 * eshell/em-unix.el (eshell-remove-entries):
4748 Remove unused arg `path'. Update callers.
4749
4750 * eshell/em-hist.el (eshell-hist-parse-arguments):
4751 Remove unused arg `silent'. Update callers.
4752
4753 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4754 Fix (f)boundp mix-up.
4755
4756 * eshell/em-smart.el (eshell-smart-scroll-window)
4757 (eshell-disable-after-change):
4758 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4759
4760 2013-09-18 Alan Mackenzie <acm@muc.de>
4761
4762 Fix fontification of type when followed by "const".
4763 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4764 "known" types from fontification.
4765
4766 2013-09-18 Glenn Morris <rgm@gnu.org>
4767
4768 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4769 (chart-face-list): Drop Emacsen without display-color-p.
4770
4771 * net/eww.el (libxml-parse-html-region): Declare.
4772 (eww-display-html): Explicit error if no libxml2 support.
4773
4774 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4775
4776 * image.el (image-type-from-buffer, image-multi-frame-p):
4777 Remove --without-x warning/error.
4778
4779 * mouse.el (mouse-yank-primary):
4780 * term.el (term-mouse-paste):
4781 Reorder to silence --without-x compilation.
4782
4783 * mpc.el (doc-view-mode): Silence --without-x compilation.
4784
4785 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4786 Silence --without-x compilation.
4787
4788 * progmodes/gud.el (gud-find-file, gud-mode):
4789 Silence --without-x compilation.
4790 (tooltip-mode): Declare.
4791
4792 * wdired.el (dired-backup-overwrite): Remove declaration.
4793 (wdired-mode-map): Add doc string.
4794
4795 * custom.el (x-get-resource): Declare.
4796
4797 * eshell/em-glob.el (ange-cache):
4798 * eshell/em-unix.el (ange-cache): Declare.
4799
4800 * faces.el (x-display-list, x-open-connection, x-get-resource):
4801 Declare.
4802
4803 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4804 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4805 Declare.
4806
4807 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4808
4809 * net/gnutls.el (gnutls-log-level): Declare.
4810
4811 * net/shr.el (image-size, image-animate): Declare.
4812
4813 * simple.el (font-info): Declare.
4814
4815 * subr.el (x-popup-dialog): Declare.
4816
4817 * term/common-win.el (x-select-enable-primary)
4818 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4819 Declare.
4820
4821 * term/ns-win.el (x-handle-args): Declare.
4822
4823 * term/x-win.el (x-select-enable-clipboard): Declare.
4824
4825 * term/w32-win.el (create-default-fontset): Declare.
4826
4827 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4828 Declare.
4829
4830 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4831 (fit-frame-to-buffer): Explicit error if --without-x.
4832 (mouse-autoselect-window-select): Silence compiler.
4833
4834 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4835
4836 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4837 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4838 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4839 * eshell/esh-util.el (eshell-sublist):
4840 Remove unused local variables.
4841
4842 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4843
4844 * textmodes/two-column.el: Make 2C-split work for --without-x.
4845 (scroll-bar-columns): Autoload.
4846 (top-level): Require fringe when compiling.
4847
4848 2013-09-18 Leo Liu <sdl.web@gmail.com>
4849
4850 * subr.el (add-hook): Robustify to handle closure as well.
4851
4852 2013-09-17 Glenn Morris <rgm@gnu.org>
4853
4854 * simple.el (messages-buffer-mode-map): Unbind "g".
4855
4856 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4857
4858 * help-mode.el (help-mode-finish): Use derived-mode-p.
4859 Remove obsolete highlighting.
4860
4861 * play/life.el (life-mode): Use define-derived-mode. Derive from
4862 special-mode.
4863 (life): Let-bind inhibit-read-only.
4864 (life-setup): Avoid `setq'. Use `life-mode'.
4865
4866 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4867 which should not be needed any more.
4868 (package-menu-refresh, package-menu-describe-package): Use user-error.
4869
4870 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4871 (eshell-post-rewrite-command-hook): Make obsolete.
4872 (eshell-parse-command): Simplify.
4873 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4874 (eshell--cmd): Declare.
4875 (eshell-parse-pipeline): Remove unused var `final-p'.
4876 Pass a dynvar to eshell-post-rewrite-command-hook.
4877 Implement the new eshell-post-rewrite-command-function.
4878 (eshell-invoke-directly): Remove unused arg `input'.
4879 * eshell/esh-io.el (eshell-io-initialize):
4880 Use eshell-post-rewrite-command-function (bug#15399).
4881 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4882 adjust to new calling convention.
4883 (eshell-create-handles): Rename args to avoid clashing with dynvar
4884 `standard-output'.
4885
4886 2013-09-17 Glenn Morris <rgm@gnu.org>
4887
4888 * simple.el (messages-buffer-mode): New major mode.
4889 (messages-buffer): New function.
4890 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4891 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4892 (ert-run-test): Use `messages-buffer' function.
4893 (ert--force-message-log-buffer-truncation): Ignore read-only.
4894 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4895 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4896
4897 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4898
4899 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4900
4901 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4902
4903 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4904
4905 * icomplete.el (icomplete-in-buffer): New var.
4906 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4907 vars and replace them with functions.
4908 (icomplete-minibuffer-setup): Adjust accordingly.
4909 (icomplete--completion-table, icomplete--completion-predicate)
4910 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4911 New functions.
4912 (icomplete-forward-completions, icomplete-backward-completions)
4913 (icomplete-simple-completing-p, icomplete-exhibit)
4914 (icomplete-completions): Use them.
4915 (icomplete--in-region-buffer): New var.
4916 (icomplete--in-region-setup): New function.
4917 (icomplete-mode): Use it.
4918
4919 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4920 (bug#15379).
4921 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4922 return args and options.
4923 (eshell-eval-using-options): Use the new return value of
4924 eshell--do-opts to set the options's vars in their scope.
4925 (eshell--set-option): Rename from eshell-set-option.
4926 Add arg `opt-vals'.
4927 (eshell--process-option): Rename from eshell-process-option.
4928 Add arg `opt-vals'.
4929 (eshell--process-args): Use an `opt-vals' alist to store the options's
4930 values during their processing and return them additionally to the
4931 remaining args.
4932
4933 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4934
4935 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4936 continuation character an operator, as far as indentation is
4937 concerned (Bug#15369).
4938
4939 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4940
4941 * window.el (window--state-put-2): Don't process buffer state
4942 when buffer doesn't exist any more (Bug#15382).
4943
4944 2013-09-15 Glenn Morris <rgm@gnu.org>
4945
4946 * eshell/em-unix.el (eshell/rm):
4947 Make -f ignore missing files. (Bug#15373)
4948
4949 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4950 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4951 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4952
4953 2013-09-14 Glenn Morris <rgm@gnu.org>
4954
4955 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4956
4957 2013-09-13 Glenn Morris <rgm@gnu.org>
4958
4959 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4960 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4961
4962 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4963
4964 * frame.el (x-focus-frame): Mark as declared in frame.c.
4965
4966 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4967
4968 * ls-lisp.el: Use advice-add.
4969 (original-insert-directory): Remove.
4970 (ls-lisp--insert-directory): Rename from insert-directory; add
4971 `orig-fun' argument.
4972 (insert-directory): Advise.
4973
4974 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4975
4976 * term.el (term-emulate-terminal): Decode the command string
4977 before passing it to term-command-hook. (Bug#15337)
4978
4979 2013-09-13 Glenn Morris <rgm@gnu.org>
4980
4981 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4982
4983 * eshell/esh-ext.el (eshell-search-path): Declare.
4984
4985 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4986 Otherwise an error occurs if eshell-dirs module not loaded.
4987
4988 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4989
4990 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4991
4992 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4993 `tramp-check-proper-host'. Check for a valid method name.
4994
4995 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4996 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4997 * net/tramp-sh.el (tramp-maybe-open-connection):
4998 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4999
5000 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5001 also for hash values.
5002
5003 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * term/ns-win.el (parameters): Don't declare as dynamic.
5006 (before-make-frame-hook): Don't add ineffective function.
5007
5008 * eshell/*.el: Use lexical-binding (bug#15231).
5009
5010 2013-09-12 Kenichi Handa <handa@gnu.org>
5011
5012 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5013
5014 2013-09-12 Glenn Morris <rgm@gnu.org>
5015
5016 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5017 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5018
5019 * subr.el (do-after-load-evaluation): Also give compiler warnings
5020 when obsolete files are used (except by obsolete files).
5021
5022 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5023 in the status output, assume `filename' is the first. (Bug#15322)
5024
5025 * vc/vc.el (vc-deduce-fileset): Doc fix.
5026
5027 * calc/calc-help.el (Info-goto-node):
5028 * progmodes/cperl-mode.el (Info-find-node):
5029 * vc/ediff.el (Info-goto-node): Update declarations.
5030
5031 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5032
5033 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5034 (vc-bzr-pull): Require vc-dispatcher.
5035 * vc/vc-git.el (vc-compilation-mode): Declare.
5036 (vc-git-pull): Require vc-dispatcher.
5037
5038 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5039
5040 * progmodes/octave.el (help-button-action): Declare.
5041
5042 * shell.el (shell-directory-tracker): Output error as a message
5043 rather than just returning it as a string.
5044 (shell-process-pushd): Remove useless use of message.
5045
5046 * dframe.el (dframe-timer-fn):
5047 * files.el (dir-locals-read-from-file):
5048 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5049 (mpc-format):
5050 * reveal.el (reveal-post-command):
5051 * saveplace.el (load-save-place-alist-from-file):
5052 * shell.el (shell-resync-dirs):
5053 * w32-common-fns.el (x-get-selection-value):
5054 * emacs-lisp/copyright.el (copyright-find-copyright):
5055 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5056 * emulation/tpu-edt.el (tpu-copy-keyfile):
5057 * play/bubbles.el (bubbles--mark-neighbourhood):
5058 * progmodes/executable.el
5059 (executable-make-buffer-file-executable-if-script-p):
5060 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5061
5062 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5063
5064 Cleanup Eshell to rely less on dynamic scoping.
5065 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5066 last-value, and ext-command here. Bind `args' closer to `body'.
5067 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5068 (eshell--args): Declare new dynamic var.
5069 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5070 last-value, and ext-command. Pass `args' to `body'.
5071 (eshell-process-args): Bind eshell--args.
5072 (eshell-set-option): Use eshell--args.
5073 * eshell/eshell.el (eshell): Use derived-mode-p.
5074 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5075 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5076 (eshell-glob-function): Declare.
5077 * eshell/esh-util.el: Require cl-lib.
5078 (eshell-read-hosts-file): Avoid add-to-list.
5079 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5080 `err'.
5081 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5082 Declare.
5083 (eshell/diff): Remove unused var `err'.
5084 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5085 `killflag'.
5086 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5087 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5088 first use.
5089 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5090 Move declaration before first use.
5091 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5092 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5093 rely on cl-return.
5094
5095 2013-09-12 Glenn Morris <rgm@gnu.org>
5096
5097 * term/ns-win.el (global-map): Remove binding for ispell-next,
5098 deleted 1999-05-29. (Bug#15357)
5099
5100 2013-09-11 Glenn Morris <rgm@gnu.org>
5101
5102 * echistory.el (electric-command-history): Remove call to deleted func.
5103
5104 * play/landmark.el (landmark-mode): Fix typos.
5105
5106 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5107 Check cvs-sort-ignore-file is bound.
5108
5109 * savehist.el: No need for cl when compiling on Emacs.
5110
5111 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5114 (bug#15338).
5115 (eshell-self-insert-command, eshell-send-invisible):
5116 Remove unused argument.
5117 (eshell-handle-control-codes): Remove unused var `orig'.
5118 Avoid delete-backward-char.
5119
5120 * files.el (set-auto-mode): Simplify a bit further.
5121
5122 2013-09-11 Glenn Morris <rgm@gnu.org>
5123
5124 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5125 (set-auto-mode): Don't regexp-quote elements.
5126 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5127 * progmodes/cc-mode.el (interpreter-mode-alist):
5128 * progmodes/ruby-mode.el (interpreter-mode-alist):
5129 Revert previous change.
5130
5131 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * play/snake.el (snake-mode):
5134 * play/mpuz.el (mpuz-mode):
5135 * play/landmark.el (lm-mode):
5136 * play/blackbox.el (blackbox-mode):
5137 * play/5x5.el (5x5-mode):
5138 * obsolete/options.el (Edit-options-mode):
5139 * net/quickurl.el (quickurl-list-mode):
5140 * net/newst-treeview.el (newsticker-treeview-mode):
5141 * mail/rmailsum.el (rmail-summary-mode):
5142 * mail/mspools.el (mspools-mode):
5143 * locate.el (locate-mode):
5144 * ibuffer.el (ibuffer-mode):
5145 * emulation/ws-mode.el (wordstar-mode):
5146 * emacs-lisp/debug.el (debugger-mode):
5147 * array.el (array-mode):
5148 * net/eudc.el (eudc-mode): Use define-derived-mode.
5149 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5150 Move initialization into declaration.
5151 (mairix-searches-mode): Use define-derived-mode.
5152 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5153 (eudc-edit-hotlist): Use dolist.
5154 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5155 (Man-mode): Use define-derived-mode.
5156 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5157 (Info-edit-mode): Use define-derived-mode.
5158 (Info-cease-edit): Use Info-mode.
5159 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5160 into declaration.
5161 (eshell-mode): Use define-derived-mode.
5162 * chistory.el (command-history-mode-map): Rename from
5163 command-history-map.
5164 (command-history-mode): Use define-derived-mode.
5165 (Command-history-setup): Remove function.
5166 * calc/calc.el (calc-trail-mode-map): New var.
5167 (calc-trail-mode): Use define-derived-mode.
5168 (calc-trail-buffer): Set calc-main-buffer manually.
5169 * bookmark.el (bookmark-insert-annotation): New function.
5170 (bookmark-edit-annotation): Use it.
5171 (bookmark-edit-annotation-mode): Make it a proper major mode.
5172 (bookmark-send-edited-annotation): Use derived-mode-p.
5173 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5174 closer to its ideal place. Use \' to match EOS.
5175
5176 * profiler.el (profiler-calltree-find): Use function-equal.
5177
5178 2013-09-10 Glenn Morris <rgm@gnu.org>
5179
5180 * files.el (interpreter-mode-alist): Convert to regexps.
5181 (set-auto-mode): Adapt for this. (Bug#15306)
5182 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5183 Comment out unused variable.
5184 * progmodes/cc-mode.el (interpreter-mode-alist):
5185 * progmodes/python.el (interpreter-mode-alist):
5186 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5187 * progmodes/sh-script.el (sh-set-shell):
5188 No longer use interpreter-mode-alist to get list of shells.
5189
5190 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5191
5192 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * simple.el: Use set-temporary-overlay-map for universal-argument.
5195 (universal-argument-map): Don't use default-bindings (bug#15317).
5196 Bind switch-frame explicitly. Replace universal-argument-minus with
5197 a conditional binding.
5198 (universal-argument-num-events, saved-overriding-map): Remove.
5199 (restore-overriding-map): Remove.
5200 (universal-argument--mode): Rename from save&set-overriding-map,
5201 and rewrite.
5202 (universal-argument, universal-argument-more, negative-argument)
5203 (digit-argument): Adjust accordingly.
5204 (universal-argument-minus): Remove.
5205 (universal-argument-other-key): Remove.
5206
5207 * subr.el (with-demoted-errors): Add `format' argument.
5208
5209 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5210
5211 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5212 `tramp-cleanup-connection'.
5213
5214 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5215 parameters KEEP-DEBUG and KEEP-PASSWORD.
5216
5217 * net/tramp.el (tramp-file-name-handler):
5218 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5219 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5220 (tramp-maybe-open-connection):
5221 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5222 Use `tramp-cleanup-connection'.
5223
5224 * net/tramp-sh.el (tramp-maybe-open-connection):
5225 Catch 'uname-changed inside the progress reporter.
5226
5227 2013-09-10 Glenn Morris <rgm@gnu.org>
5228
5229 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5230
5231 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5232 returns "alternate access method" in mode (eg "-rw-r--r--.").
5233
5234 2013-09-08 Glenn Morris <rgm@gnu.org>
5235
5236 * saveplace.el (load-save-place-alist-from-file):
5237 Demote errors. (Bug#15305)
5238
5239 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5240
5241 Improve compatibility with older Emacsen, and XEmacs.
5242
5243 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5244 only if it is bound. It isn't for XEmacs.
5245 (with-tramp-progress-reporter): Do not let-bind `result'.
5246 This yields to scoping errors in XEmacs.
5247 (tramp-handle-make-auto-save-file-name): New function, moved from
5248 tramp-sh.el.
5249
5250 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5251 for `make-auto-save-file-name'.
5252 (tramp-adb--gnu-switches-to-ash):
5253 Use `tramp-compat-replace-regexp-in-string'.
5254
5255 * net/tramp-cache.el (tramp-cache-print): Call
5256 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5257
5258 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5259 bound. It isn't for XEmacs.
5260
5261 * net/tramp-compat.el (tramp-compat-copy-file):
5262 Catch `wrong-number-of-arguments' error.
5263 (tramp-compat-replace-regexp-in-string): New defun.
5264
5265 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5266 for `make-auto-save-file-name'.
5267 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5268 `copy-file'.
5269 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5270 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5271 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5272
5273 * net/tramp-gw.el (tramp-gw-open-network-stream):
5274 Use `tramp-compat-replace-regexp-in-string'.
5275
5276 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5277 Call `tramp-handle-make-auto-save-file-name'.
5278 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5279 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5280 (tramp-sh-file-inotifywait-process-filter):
5281 Use `tramp-compat-replace-regexp-in-string'.
5282 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5283
5284 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5285 for `make-auto-save-file-name'.
5286 (tramp-smb-handle-copy-directory):
5287 Call `tramp-compat-replace-regexp-in-string'.
5288 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5289 (tramp-smb-handle-copy-file): Improve error message.
5290 (tramp-smb-handle-rename-file): Rename directly only in case
5291 `newname' does not exist yet. This is a restriction of smbclient.
5292 (tramp-smb-maybe-open-connection): Rerun the function only when
5293 `auth-sources' is non-nil.
5294
5295 2013-09-08 Kenichi Handa <handa@gnu.org>
5296
5297 * international/characters.el: Set category "^" (Combining) for
5298 more characters.
5299
5300 2013-09-07 Alan Mackenzie <acm@muc.de>
5301
5302 Correctly fontify Java class constructors.
5303 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5304 in Java Mode.
5305 (c-recognize-typeless-decls): Set the Java value to t.
5306 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5307 While handling a "(", add a check for, effectively, Java, and handle a
5308 "typeless" declaration there.
5309
5310 2013-09-07 Roland Winkler <winkler@gnu.org>
5311
5312 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5313 field subtitle for entry type book.
5314
5315 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * minibuffer.el: Make minibuffer-complete call completion-in-region
5318 rather than other way around.
5319 (completion--some, completion-pcm--find-all-completions):
5320 Don't delay signals when debugging.
5321 (minibuffer-completion-contents): Beware fields within the
5322 minibuffer contents.
5323 (completion-all-sorted-completions): Use defvar-local.
5324 (completion--do-completion, completion--cache-all-sorted-completions)
5325 (completion-all-sorted-completions, minibuffer-force-complete):
5326 Add args `beg' and `end'.
5327 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5328 (minibuffer-complete): Use completion-in-region.
5329 (completion-complete-and-exit): New fun, extracted from
5330 minibuffer-complete-and-exit.
5331 (minibuffer-complete-and-exit): Use it.
5332 (completion--complete-and-exit): Rename from
5333 minibuffer--complete-and-exit.
5334 (completion-in-region--single-word): New function, extracted from
5335 minibuffer-complete-word.
5336 (minibuffer-complete-word): Use it.
5337 (display-completion-list): Make `common-substring' argument obsolete.
5338 (completion--in-region): Call completion--in-region-1 instead of
5339 minibuffer-complete.
5340 (completion-help-at-point): Pass boundaries to
5341 minibuffer-completion-help as args rather than via an overlay.
5342 (completion-pcm--string->pattern): Use `any-delim'.
5343 (completion-pcm--optimize-pattern): New function.
5344 (completion-pcm--pattern->regex): Handle `any-delim'.
5345 * icomplete.el (icomplete-forward-completions)
5346 (icomplete-backward-completions, icomplete-completions):
5347 Adjust calls to completion-all-sorted-completions and
5348 completion--cache-all-sorted-completions.
5349 (icomplete-with-completion-tables): Default to t.
5350 * emacs-lisp/crm.el (crm--current-element): Rename from
5351 crm--select-current-element. Don't put an overlay but return the
5352 boundaries instead.
5353 (crm--completion-command): Take two new args to bind to the boundaries.
5354 (crm-completion-help): Adjust accordingly.
5355 (crm-complete): Use completion-in-region.
5356 (crm-complete-word): Use completion-in-region--single-word.
5357 (crm-complete-and-exit): Use completion-complete-and-exit.
5358
5359 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5360
5361 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5362 than dynamically.
5363
5364 2013-09-06 Juri Linkov <juri@jurta.org>
5365
5366 * info.el (Info-display-images-node): When image file doesn't exist
5367 display text version of the image if it's provided in the Info file.
5368 Otherwise, display the location of missing image from SRC attribute.
5369 Add help-echo text property from ALT attribute. (Bug#15279)
5370
5371 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5374 (edit-abbrevs-mode): Use define-derived-mode.
5375
5376 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5377 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5378 that it's defined.
5379 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5380 Use define-derived-mode.
5381
5382 * epg.el (epg-start-encrypt): Minor CSE simplification.
5383
5384 2013-09-06 William Xu <william.xwl@gmail.com>
5385
5386 * arc-mode.el: Add support for 7za (bug#15264).
5387 (archive-7z-program): New var.
5388 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5389 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5390 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5391
5392 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5393
5394 Remove URL syntax.
5395
5396 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5397 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5398 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5399 (tramp-postfix-host-format, tramp-file-name-regexp)
5400 (tramp-completion-file-name-regexp)
5401 (tramp-completion-dissect-file-name)
5402 (tramp-handle-substitute-in-file-name): Remove 'url case.
5403 (tramp-file-name-regexp-url)
5404 (tramp-completion-file-name-regexp-url): Remove constants.
5405
5406 2013-09-06 Glenn Morris <rgm@gnu.org>
5407
5408 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5409
5410 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5411
5412 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5413 keywords" below "here-doc beginnings" (Bug#15270).
5414
5415 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5416
5417 * subr.el (pop): Use `car-safe'.
5418 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5419 to detect unused `pop' return value.
5420
5421 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5422 var `block-regexp'.
5423 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5424 (python-fill-string): Remove unused var `marker'.
5425 (python-skeleton-add-menu-items): Remove unused var `items'.
5426
5427 * international/mule-cmds.el: Require CL.
5428 (find-coding-systems-for-charsets): Avoid add-to-list.
5429 (sanitize-coding-system-list): New function, extracted from
5430 select-safe-coding-system-interactively.
5431 (select-safe-coding-system-interactively): Use it.
5432 (read-input-method-name): Accept symbols for `default'.
5433
5434 * emacs-lisp/advice.el (defadvice): Add indent rule.
5435
5436 2013-09-05 Daniel Hackney <dan@haxney.org>
5437
5438 * dired-x.el:
5439 * net/ange-ftp.el:
5440 * net/browse-url.el:
5441 * net/dbus.el:
5442 * net/eudc.el:
5443 * net/eudcb-ldap.el:
5444 * net/eww.el:
5445 * net/imap.el:
5446 * printing.el:
5447 * vc/ediff-diff.el:
5448 * vc/ediff-init.el:
5449 * vc/ediff-merg.el:
5450 * vc/ediff-mult.el:
5451 * vc/ediff-util.el:
5452 * vc/ediff-wind.el:
5453 * vc/ediff.el:
5454 * vc/emerge.el:
5455 * vc/pcvs.el:
5456 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5457 byte compiler. Remove some unused let-bound variables.
5458
5459 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5462 a "ref-cell", since it gets better optimized (bug#14883).
5463
5464 2013-09-05 Glenn Morris <rgm@gnu.org>
5465
5466 * progmodes/cc-awk.el (c-forward-sws): Declare.
5467
5468 2013-09-04 Glenn Morris <rgm@gnu.org>
5469
5470 * generic-x.el [rul-generic-mode]: Require cc-mode.
5471 (c++-mode-syntax-table): Declare.
5472 (rul-generic-mode-syntax-table): Init in the defvar.
5473
5474 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5475
5476 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5477 (vc-do-command, vc-set-async-update):
5478 * vc/vc-mtn.el (vc-mtn-dir-status):
5479 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5480 (vc-hg-pull, vc-hg-merge-branch):
5481 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5482 (vc-git-merge-branch):
5483 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5484 (vc-cvs-dir-status-files):
5485 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5486 (vc-bzr-dir-status-files):
5487 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5488 * vc/vc-annotate.el: Use lexical-binding.
5489 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5490 (vc-sentinel-movepoint): Declare.
5491 (vc-annotate): Don't use `goto-line'.
5492 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5493 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5494 (vc-sentinel-movepoint): Declare.
5495 * vc/vc-svn.el: Use lexical-binding.
5496 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5497 * vc/vc-sccs.el:
5498 * vc/vc-rcs.el: Use lexical-binding.
5499
5500 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5501 `deleted'. Don't drop errors silently.
5502
5503 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5504
5505 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5506
5507 * vc/vc.el (vc-ignore): Rewrite.
5508 (vc-default-ignore): New function.
5509 (vc-default-ignore-completion-table): Use find-ignore-file.
5510
5511 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5512 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5513 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5514 Remove. Most code moved to vc.el.
5515
5516 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5519 * net/tramp-smb.el (tramp-smb-get-file-entries):
5520 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5521 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5522
5523 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5524 Update call to it.
5525 (eww-change-select): Remove unused var `properties'.
5526 (eww-make-unique-file-name): Remove unused var `base'.
5527
5528 * finder.el (finder-compile-keywords): Don't mess with windows.
5529
5530 * calculator.el (calculator-funcall): Fix typo in last change.
5531
5532 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5533
5534 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5535 <pkg>-autoloads.el file stop us.
5536
5537 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5538 warnings, and factor out common code.
5539
5540 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5541
5542 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5543 two-character operators and whether the character preceding them
5544 changes their meaning (Bug#15208).
5545
5546 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5547
5548 Format code sent to Python shell for robustness.
5549 * progmodes/python.el (python-shell-buffer-substring):
5550 New function.
5551 (python-shell-send-region, python-shell-send-buffer): Use it.
5552
5553 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5556 * net/tramp.el (tramp-user-error): ... here.
5557 (tramp-find-method, tramp-check-proper-host)
5558 (tramp-dissect-file-name, tramp-debug-message)
5559 (tramp-handle-shell-command):
5560 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5561 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5562
5563 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5564
5565 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5566
5567 * avoid.el (mouse-avoidance-point-position)
5568 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5569 returns nil.
5570
5571 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5572
5573 * progmodes/python.el (python-shell-completion-get-completions):
5574 Drop use of deleted `comint-last-prompt-overlay'.
5575 (python-nav-if-name-main): New command.
5576
5577 2013-09-01 Glenn Morris <rgm@gnu.org>
5578
5579 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5580 Avoid leading space in $wins. Otherwise the sed command used by
5581 eg compile-main ends up containing "/*.el". (Bug#15170)
5582
5583 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5584
5585 2013-08-30 Glenn Morris <rgm@gnu.org>
5586
5587 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5588 Fix is-this-a-directory logic. (Bug#15220)
5589
5590 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * textmodes/css-mode.el: Use SMIE.
5593 (css-smie-grammar): New var.
5594 (css-smie--forward-token, css-smie--backward-token)
5595 (css-smie-rules): New functions.
5596 (css-mode): Use them.
5597 (css-navigation-syntax-table): Remove var.
5598 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5599 (css-indent-calculate, css-indent-line): Remove functions.
5600
5601 Misc changes to reduce use of `(lambda...); and other cleanups.
5602 * cus-edit.el: Use lexical-binding.
5603 (customize-push-and-save, customize-apropos)
5604 (custom-buffer-create-internal): Use closures.
5605 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5606 * progmodes/ada-xref.el: Use setq.
5607 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5608 * dframe.el: Use lexical-binding.
5609 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5610 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5611 * descr-text.el: Use lexical-binding.
5612 (describe-text-widget, describe-text-sexp, describe-property-list):
5613 Use closures.
5614 * comint.el (comint-history-isearch-push-state): Use a closure.
5615 * calculator.el: Use lexical-binding.
5616 (calculator-number-to-string): Make it work with lexical-binding.
5617 (calculator-funcall): Same and use cl-letf.
5618
5619 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5620 (lisp--company-doc-string, lisp--company-location): New functions.
5621 (lisp-completion-at-point): Use them to improve Company support.
5622
5623 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5624 params of lambda expressions.
5625 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5626 (ruby-smie--opening-pipe-p): New function.
5627 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5628 symbols and matched |...| for formal params.
5629 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5630 from being treated as hanging. Handle "rescue".
5631
5632 2013-08-29 Glenn Morris <rgm@gnu.org>
5633
5634 * progmodes/cc-engine.el (c-pull-open-brace):
5635 Move definition before use.
5636
5637 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5640 are immutable. Don't use `unsafe' any more.
5641 (cl--defsubst-expand): Don't substitute at the same time as keeping
5642 a residual unused let-binding. Don't use `unsafe' any more.
5643
5644 2013-08-29 Glenn Morris <rgm@gnu.org>
5645
5646 * calendar/cal-china.el (calendar-chinese-year-cache):
5647 Recenter on 2015.
5648
5649 * nxml/nxml-util.el (nxml-debug-clear-inside):
5650 Use cl-loop rather than loop.
5651
5652 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5653
5654 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5655
5656 2013-08-28 Glenn Morris <rgm@gnu.org>
5657
5658 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5659
5660 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5661
5662 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5663
5664 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * simple.el (repeat-complex-command--called-interactively-skip):
5667 New function.
5668 (repeat-complex-command): Use it (bug#14136).
5669
5670 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5671 (c-define-abbrev-table): Add `doc' argument.
5672 (c-mode-abbrev-table, c++-mode-abbrev-table)
5673 (objc-mode-abbrev-table, java-mode-abbrev-table)
5674 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5675 (awk-mode-abbrev-table): Use it.
5676 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5677 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5678 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5679 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5680 Move initialization into the declaration; and remove any
5681 autoload cookie.
5682
5683 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5684 and dynamic let binding.
5685
5686 * vc/smerge-mode.el: Remove redundant :group args.
5687
5688 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5689 to load-path.
5690
5691 2013-08-28 Juri Linkov <juri@jurta.org>
5692
5693 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5694 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5695 (isearch-other-meta-char): Handle an undefined shifted printing
5696 character by downshifting it. (Bug#15200)
5697
5698 2013-08-28 Juri Linkov <juri@jurta.org>
5699
5700 * isearch.el (isearch-search): Change regexp error message for
5701 non-regexp searches. (Bug#15166)
5702
5703 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5704
5705 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5706 for portability to hosts where /bin/sh has problems.
5707
5708 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5709
5710 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5711
5712 2013-08-27 Juri Linkov <juri@jurta.org>
5713
5714 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5715 in the keyboard macro. (Bug#15126)
5716
5717 2013-08-27 Juri Linkov <juri@jurta.org>
5718
5719 * isearch.el (isearch-quote-char): Comment out converting unibyte
5720 to multibyte, thus syncing with its `quoted-insert' counterpart.
5721 (Bug#15166)
5722
5723 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5724
5725 * window.el (display-buffer-use-some-window): Add missing
5726 argument in call of get-largest-window (Bug#15185).
5727 Reported by Stephen Leake.
5728
5729 2013-08-27 Glenn Morris <rgm@gnu.org>
5730
5731 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5732
5733 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5736 from a matcher-function unless there's no more matches (bug#15161).
5737
5738 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5739
5740 * minibuffer.el: Revert change from 2013-08-20.
5741
5742 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5743 with text property `tramp-default', if appropriate.
5744 (tramp-check-proper-host): New defun.
5745 (tramp-dissect-file-name): Do not check hostname. Revert change
5746 of 2013-03-18.
5747 (tramp-backtrace): Make VEC-OR-PROC optional.
5748
5749 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5750 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5751 * net/tramp-sh.el (tramp-maybe-open-connection):
5752 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5753 Apply `tramp-check-proper-host'.
5754
5755 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5756
5757 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5758 lambda expression in order to have `describe-variable' display it.
5759
5760 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5763 BUF can be optional. (Bug#15186)
5764
5765 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5766
5767 * progmodes/flymake.el (flymake-get-real-file-name-function):
5768 Fix broken customization. (Bug#15184)
5769
5770 2013-08-25 Alan Mackenzie <acm@muc.de>
5771
5772 Improve indentation of bracelists defined by macros (without "=").
5773
5774 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5775 expansion begins with "{", regard it as bracelist when it doesn't
5776 contain a ";".
5777
5778 Parse C++ inher-intro when there's a template split over 2 lines.
5779
5780 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5781 rigorously the search for "class" etc. followed by ":".
5782
5783 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5784 random languages a regexp which never matches rather than nil.
5785
5786 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5787
5788 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5789 (c-awk-regexp-one-line-possibly-open-char-list-re)
5790 (c-awk-one-line-possibly-open-regexp-re)
5791 (c-awk-one-line-non-syn-ws*-re): Remove.
5792 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5793 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5794 (c-awk-space*-unclosed-regexp-/-re): New constants.
5795 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5796 aren't regexp delimiters.
5797
5798 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5799 handling for a rare situation in AWK Mode involving unterminated
5800 strings/regexps.
5801
5802 2013-08-23 Glenn Morris <rgm@gnu.org>
5803
5804 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5805
5806 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5807
5808 * files.el (create-file-buffer): If the result would begin with
5809 spaces, prepend a "|" instead of removing them. (Bug#15162)
5810
5811 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5812
5813 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5814 text-properties (bug#15155).
5815
5816 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5817 exist any more.
5818 (calc-keypad-redraw): Remove unused var `pad'.
5819 (calc-keypad-press): Remove unused var `menu'.
5820
5821 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5822
5823 * window.el (display-buffer-pop-up-frame):
5824 Call pop-up-frame-function with BUFFER current so `make-frame' will
5825 use it as the new frame's buffer (Bug#15133).
5826
5827 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * calendar/timeclock.el: Minor cleanups.
5830 (timeclock-ask-before-exiting, timeclock-use-display-time):
5831 Use `symbol'.
5832 (timeclock-modeline-display): Define as alias before the
5833 actual definition.
5834 (timeclock-mode-line-display): Use define-minor-mode.
5835 (timeclock-day-list-template): Make it a function, add an argument.
5836 (timeclock-day-list-required, timeclock-day-list-length)
5837 (timeclock-day-list-debt, timeclock-day-list-span)
5838 (timeclock-day-list-break): Adjust calls accordingly.
5839
5840 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5843 Use read--expression so that completion works again.
5844
5845 2013-08-21 Sam Steingold <sds@gnu.org>
5846
5847 Add rudimentary inferior shell interaction
5848 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5849 (sh-set-shell): Reset it.
5850 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5851 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5852
5853 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5854
5855 * align.el: Use lexical-binding.
5856 (align-region): Simplify accordingly.
5857
5858 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5859
5860 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5861
5862 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5863 `non-essential' up.
5864
5865 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5866
5867 * net/tramp.el:
5868 * net/tramp-adb.el:
5869 * net/tramp-cmds.el:
5870 * net/tramp-ftp.el:
5871 * net/tramp-gvfs.el:
5872 * net/tramp-gw.el:
5873 * net/tramp-sh.el: Don't wrap external variable declarations by
5874 `eval-when-compile'.
5875
5876 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5877
5878 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5879 now that Emacs supports ImageMagick animations.
5880
5881 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5882
5883 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5884 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5885
5886 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5887
5888 * window.el (mouse-autoselect-window-select): Do autoselect when
5889 mouse pointer is on margin.
5890
5891 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5892
5893 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5894
5895 2013-08-16 Glenn Morris <rgm@gnu.org>
5896
5897 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5898 Handle "Remote Directory" response of some clients. (Bug#15058)
5899
5900 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5901 Tweak warning. (Bug#14926)
5902
5903 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5904 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5905
5906 * image-mode.el (image-mode-map): Add menu items to reverse,
5907 increase, decrease, reset animation speed.
5908 (image--set-speed, image-increase-speed, image-decrease-speed)
5909 (image-reverse-speed, image-reset-speed): New functions.
5910 (image-mode-map): Add bindings for speed commands.
5911
5912 * image.el (image-animate-get-speed, image-animate-set-speed):
5913 New functions.
5914 (image-animate-timeout): Respect image :speed property.
5915
5916 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5917
5918 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5919 previous line (bug#15101).
5920 (debugger-eval-expression, debugger-record-expression):
5921 Use read--expression (bug#15102).
5922
5923 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5924
5925 Remove byte compiler warnings, visible when compiling with
5926 `byte-compile-force-lexical-warnings' set to t.
5927
5928 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5929 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5930 (tramp-handle-unhandled-file-name-directory)
5931 (tramp-handle-file-notify-add-watch, tramp-action-login)
5932 (tramp-action-succeed, tramp-action-permission-denied)
5933 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5934 arguments with "_".
5935
5936 * net/tramp-adb.el (tramp-adb-parse-device-names)
5937 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5938 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5939 (tramp-adb-handle-file-truename): Remove unused arguments.
5940
5941 * net/tramp-cache.el (tramp-flush-directory-property)
5942 (tramp-flush-connection-property, tramp-list-connections)
5943 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5944
5945 * net/tramp-compat.el (tramp-compat-make-temp-file):
5946 Rename FILENAME to F.
5947
5948 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5949 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5950 (tramp-zeroconf-parse-workstation-device-names)
5951 (tramp-zeroconf-parse-webdav-device-names)
5952 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5953
5954 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5955 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5956
5957 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5958 arguments.
5959 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5960 (tramp-sh-handle-insert-file-contents-literally)
5961 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5962 with "_".
5963 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5964 Remove unused variables.
5965
5966 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5967 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5968 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5969
5970 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5971 Make them a defconst.
5972 (tramp-uuencode-region): Remove unused variable.
5973
5974 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * frameset.el (frameset--prop-setter): New function.
5977 (frameset-prop): Add gv-setter declaration.
5978 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5979 parameter was already set in FILTERED. Doc fix.
5980 (frameset--record-minibuffer-relationships): Allow saving a
5981 minibufferless frame without its corresponding minibuffer frame.
5982 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5983 frame, if the frame id matches.
5984 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5985 frames before orphaned ones.
5986 (frameset-restore): Warn about orphaned windows, instead of error out.
5987
5988 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5989
5990 * window.el (window-make-atom): Don't overwrite parameter
5991 already present.
5992 (display-buffer-in-atom-window): Handle special case where we
5993 split an already atomic window.
5994 (window--major-non-side-window, display-buffer-in-side-window)
5995 (window--side-check): Ignore minibuffer window when walking
5996 window tree.
5997 (window-deletable-p): Return 'frame only if no other frame uses
5998 our minibuffer window.
5999 (record-window-buffer): Run buffer-list-update-hook.
6000 (split-window): Make sure window--check-frame won't destroy an
6001 existing atomic window in case the new window gets nested
6002 inside.
6003 (display-buffer-at-bottom): Ignore minibuffer window when
6004 walking window tree. Don't split a side window.
6005 (pop-to-buffer): Don't set-buffer here, the select-window call
6006 should do that.
6007 (mouse-autoselect-window-select): Autoselect only if we are in the
6008 text portion of the window.
6009
6010 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6011
6012 * net/shr.el (shr-parse-image-data): New function to grab both the
6013 data itself and the Content-Type.
6014 (shr-put-image): Use it.
6015
6016 * net/eww.el (eww-display-image): Ditto.
6017
6018 * image.el (image-content-type-suffixes): New variable.
6019
6020 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6021
6022 * progmodes/python.el (python-imenu--build-tree)
6023 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6024
6025 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6026
6027 * simple.el (backward-word): Mention the optional argument.
6028
6029 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * frameset.el (frameset--make): Rename constructor from make-frameset.
6032 (frameset-p, frameset-valid-p): Don't autoload.
6033 (frameset-valid-p): Use normal accessors.
6034
6035 2013-08-13 Glenn Morris <rgm@gnu.org>
6036
6037 * progmodes/compile.el (compile-command): Tweak example in doc.
6038 * obsolete/scribe.el (scribe-mode):
6039 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6040
6041 * mail/feedmail.el (feedmail-confirm-outgoing)
6042 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6043
6044 * cus-start.el (truncate-partial-width-windows): Fix type.
6045
6046 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6047
6048 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6049
6050 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * emacs-lisp/timer.el (timer--time-setter): New function.
6053 (timer--time): Use it as gv-setter.
6054
6055 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6056 setter is not a symbol.
6057
6058 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6059
6060 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6061 if sending fails. This makes debugging easier.
6062
6063 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6066 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6067 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6068
6069 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6070
6071 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6072
6073 2013-08-12 Glenn Morris <rgm@gnu.org>
6074
6075 * format.el (format-annotate-function):
6076 Handle read-only text properties in the source. (Bug#14887)
6077
6078 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6079
6080 * net/eww.el (eww-display-html): Ignore coding system errors.
6081 One web site uses "utf-8lias" as the coding system.
6082
6083 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6084
6085 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6086
6087 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6088
6089 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6090 (tutorial--detailed-help): Remove unused local variables.
6091 (tutorial--save-tutorial-to): Use ignore-errors.
6092 (help-with-tutorial): Use looking-at-p.
6093
6094 * view.el (view-buffer-other-window, view-buffer-other-frame):
6095 Mark unused arguments.
6096
6097 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6098 (woman-select-symbol-fonts, woman, woman-find-file)
6099 (woman-insert-file-contents, woman-non-underline-faces):
6100 Use string-match-p.
6101 (woman1-unquote): Move declaration.
6102
6103 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6104 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6105 argument. Remove unused local variable.
6106 (xml-parse-elem-type): Use string-match-p.
6107 (xml-substitute-numeric-entities): Use ignore-errors.
6108
6109 * calculator.el (calculator): Mark unused argument.
6110 (calculator-paste, calculator-quit, calculator-integer-p):
6111 Use ignore-errors.
6112 (calculator-string-to-number, calculator-decimal, calculator-exp)
6113 (calculator-op-or-exp): Use string-match-p.
6114
6115 * dired.el (dired-buffer-more-recently-used-p): Declare.
6116 (dired-insert-set-properties, dired-insert-old-subdirs):
6117 Use ignore-errors.
6118
6119 * dired-aux.el (dired-compress): Use ignore-errors.
6120 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6121 (dired-do-async-shell-command, dired-do-shell-command)
6122 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6123 (dired-insert-subdir-validate): Use string-match-p.
6124 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6125 (dired-add-entry): Use string-match-p, looking-at-p.
6126 (dired-insert-subdir-newpos): Remove unused local variable.
6127
6128 * filenotify.el (file-notify-callback): Remove unused local variable.
6129
6130 * filesets.el (filesets-error): Mark unused argument.
6131 (filesets-which-command-p, filesets-filter-dir-names)
6132 (filesets-directory-files, filesets-get-external-viewer)
6133 (filesets-ingroup-get-data): Use string-match-p.
6134
6135 * find-file.el (ff-other-file-name, ff-other-file-name)
6136 (ff-find-the-other-file, ff-cc-hh-converter):
6137 Remove unused local variables.
6138 (ff-get-file-name): Use string-match-p.
6139 (ff-all-dirs-under): Use ignore-errors.
6140
6141 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6142 (follow-select-if-visible): Remove unused local variable.
6143
6144 * forms.el (read-file-filter): Move declaration.
6145 (forms--make-format, forms--make-parser, forms-insert-record):
6146 Quote function with #'.
6147 (forms--update): Use string-match-p. Quote function with #'.
6148
6149 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6150 (help-make-xrefs): Use looking-at-p.
6151 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6152
6153 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6154 (ibuffer-confirm-operation-on): Use string-match-p.
6155
6156 * msb.el (msb-item-handler, msb-dired-item-handler):
6157 Mark unused arguments.
6158
6159 * ses.el (ses-decode-cell-symbol)
6160 (ses-kill-override): Remove unused local variable.
6161 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6162 (ses-load): Use ignore-errors, looking-at-p.
6163 (ses-jump-safe): Use ignore-errors.
6164 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6165
6166 * tabify.el (untabify, tabify): Mark unused arguments.
6167
6168 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6169 Mark unused argument.
6170 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6171 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6172
6173 * emacs-lisp/timer.el (timer--time): Define setter with
6174 gv-define-setter to avoid deprecation warning.
6175
6176 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6177 (*record-cmpl-statistics-p*): Remove (was commented out).
6178 (cmpl-statistics-block): Remove (body was commented out).
6179 All callers changed.
6180 (add-completions-from-buffer, load-completions-from-file):
6181 Remove unused variables.
6182
6183 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * filecache.el (file-cache-delete-file-list):
6186 Print message only when told so.
6187 (file-cache-files-matching): Use #' in mapconcat argument.
6188
6189 * ffap.el (ffap-url-at-point): Fix reference to variable
6190 thing-at-point-default-mail-uri-scheme.
6191
6192 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6193
6194 * subr.el (define-error): New function.
6195 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6196 error-file-not-found and define with define-error.
6197 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6198 and define with define-error.
6199 * userlock.el (file-locked, file-supersession):
6200 * simple.el (mark-inactive):
6201 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6202 * progmodes/ada-mode.el (ada-mode-errors):
6203 * play/life.el (life-extinct):
6204 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6205 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6206 * nxml/rng-util.el (rng-error):
6207 * nxml/rng-uri.el (rng-uri-error):
6208 * nxml/rng-match.el (rng-compile-error):
6209 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6210 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6211 * nxml/nxml-rap.el (nxml-scan-error):
6212 * nxml/nxml-outln.el (nxml-outline-error):
6213 * net/soap-client.el (soap-error):
6214 * net/gnutls.el (gnutls-error):
6215 * net/ange-ftp.el (ftp-error):
6216 * mpc.el (mpc-proc-error):
6217 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6218 (json-number-format, json-string-escape, json-string-format)
6219 (json-key-format, json-object-format):
6220 * jka-compr.el (compression-error):
6221 * international/quail.el (quail-error):
6222 * international/kkc.el (kkc-error):
6223 * emacs-lisp/ert.el (ert-test-failed):
6224 * calc/calc.el (calc-error, inexact-result, math-overflow)
6225 (math-underflow):
6226 * bookmark.el (bookmark-error-no-filename):
6227 * epg.el (epg-error): Define with define-error.
6228
6229 * time.el (display-time-event-handler)
6230 (display-time-next-load-average): Don't call sit-for since it seems
6231 unnecessary (bug#15045).
6232
6233 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6234 Use #' instead of ' to quote functions.
6235 (checkdoc-output-mode): Use setq-local.
6236 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6237 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6238 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6239 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6240 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6241 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6242 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6243 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6244
6245 * ido.el (ido-completion-help): Fix up compiler warning.
6246
6247 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6248
6249 * frameset.el (frameset-p): Add autoload cookie.
6250 (frameset--jump-to-register): New function, based on code moved from
6251 register.el.
6252 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6253
6254 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6255 (frameset-restore, frameset-save, frameset-session-filter-alist):
6256 Remove declarations.
6257 (register-alist): Doc fix.
6258 (frameset-to-register): Move to frameset.el.
6259 (jump-to-register, describe-register-1): Remove frameset-specific code.
6260
6261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6262
6263 * allout-widgets.el (allout-widgets-pre-command-business)
6264 (allout-widgets-post-command-business)
6265 (allout-widgets-after-change-handler)
6266 (allout-decorate-item-and-context, allout-set-boundary-marker)
6267 (allout-body-modification-handler)
6268 (allout-graphics-modification-handler): Mark ignored arguments.
6269 (allout-widgets-post-command-business)
6270 (allout-widgets-exposure-change-processor)
6271 (allout-widgets-exposure-undo-processor)
6272 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6273 (allout-parse-item-at-point, allout-decorate-item-guides)
6274 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6275 * allout.el (epa-passphrase-callback-function): Declare.
6276 (allout-overlay-insert-in-front-handler)
6277 (allout-overlay-interior-modification-handler)
6278 (allout-isearch-end-handler, allout-chart-siblings)
6279 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6280 (allout-yank-processing, allout-process-exposed)
6281 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6282 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6283 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6284 (lisp-indent-defform): Mark ignored arguments.
6285 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6286 (calculate-lisp-indent): Remove unused variables.
6287 * international/characters.el (indian-2-column, arabic-2-column)
6288 (tibetan): Mark ignored arguments.
6289 (use-cjk-char-width-table): Mark ignored arguments.
6290 Remove unused variables.
6291 * international/fontset.el (build-default-fontset-data)
6292 (x-compose-font-name, create-fontset-from-fontset-spec):
6293 Mark ignored arguments.
6294 (fontset-plain-name): Remove unused variables.
6295 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6296 (keyboard-coding-system): Mark ignored arguments.
6297 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6298 * help.el (resize-temp-buffer-window):
6299 * window.el (display-buffer-in-major-side-window)
6300 (display-buffer-in-side-window, display-buffer-in-previous-window):
6301 Remove unused variables.
6302 * isearch.el (isearch-forward-symbol):
6303 * version.el (emacs-bzr-version-bzr):
6304 * international/mule-cmds.el (current-language-environment):
6305 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6306 (x-handle-display):
6307 * term/pc-win.el (x-list-fonts, x-display-planes)
6308 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6309 (x-server-version, x-display-screens, x-display-mm-height)
6310 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6311 (x-selection-owner-p, x-own-selection-internal)
6312 (x-disown-selection-internal, x-get-selection-internal)
6313 (msdos-initialize-window-system):
6314 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6315 * term/x-win.el (x-handle-no-bitmap-icon):
6316 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6317 (vc-default-find-file-hook, vc-default-extra-menu):
6318 Mark ignored arguments.
6319
6320 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6323 break-condition in the context of the debugged code (bug#12685).
6324
6325 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6326
6327 * comint.el:
6328 Do not use an overlay to highlight the last prompt. (Bug#14744)
6329 (comint-mode): Make comint-last-prompt buffer local.
6330 (comint-last-prompt): New variable.
6331 (comint-last-prompt-overlay): Remove. Superseded by
6332 comint-last-prompt.
6333 (comint-snapshot-last-prompt, comint-output-filter):
6334 Use comint-last-prompt.
6335
6336 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6337
6338 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6339 (frameset-save): Check validity of the resulting frameset.
6340
6341 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6342
6343 * ido.el (ido-record-command): Add doc string.
6344
6345 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6346
6347 * frameset.el (frameset): Do not disable creation of the default
6348 frameset-p predicate. Doc fix.
6349 (frameset-valid-p): New function, copied from the old predicate-p.
6350 Add additional checks.
6351 (frameset-restore): Check with frameset-valid-p.
6352 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6353 (frameset-name, frameset-description, frameset-properties)
6354 (frameset-states): Add docstring.
6355 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6356 (frameset-filter-alist): Doc fixes.
6357
6358 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6359
6360 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6361
6362 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6363
6364 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6365 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6366 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6367 (byte-compile-normal-call): Remove obsolescence check.
6368
6369 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6370
6371 * frameset.el (frameset-restore): Doc fix.
6372
6373 * register.el (frameset-frame-id, frameset-frame-with-id)
6374 (frameset-p, frameset-restore, frameset-save): Declare.
6375 (register-alist): Document framesets.
6376 (frameset-session-filter-alist): Declare.
6377 (frameset-to-register): New function.
6378 (jump-to-register): Implement jumping to framesets. Doc fix.
6379 (describe-register-1): Describe framesets.
6380
6381 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6382
6383 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6384
6385 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6386 Use lexical-binding.
6387
6388 * frameset.el (frameset): Use type vector, not list (incompatible
6389 change). Do not declare a new constructor, use the default one.
6390 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6391 `name' and `description', respectively, and add read-only slot
6392 `timestamp'. Doc fixes.
6393 (frameset-copy, frameset-persistent-filter-alist)
6394 (frameset-filter-alist, frameset-switch-to-gui-p)
6395 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6396 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6397 (frameset-filter-iconified, frameset-keep-original-display-p):
6398 Doc fixes.
6399 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6400 Rename from frameset-filter-(save|restore)-param. All callers changed.
6401 Doc fix.
6402 (frameset-p): Adapt to change to vector and be more thorough.
6403 Change arg name to OBJECT. Doc fix.
6404 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6405 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6406 All callers changed.
6407 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6408 All callers changed.
6409 (frameset--record-minibuffer-relationships): Rename from
6410 frameset--process-minibuffer-frames. All callers changed.
6411 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6412 Use new default constructor (again). Doc fix.
6413 (frameset--find-frame-if): Rename from `frameset--find-frame.
6414 All callers changed.
6415 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6416 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6417 Doc fix.
6418 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6419 PARAMETERS and WINDOW-STATE, respectively.
6420 (frameset-restore): Add new keyword argument PREDICATE.
6421 Reset frameset--target-display to nil. Doc fix.
6422
6423 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6426 (bat-mode): Use it.
6427 (bat-mode-syntax-table): Mark \n as end-of-comment.
6428 (bat-font-lock-keywords): Remove comment rule.
6429
6430 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6431 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6432
6433 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6434 (byte-compile-callargs-warn): Use `push'.
6435 (byte-compile-arglist-warn): Ignore higher-order "calls".
6436 (byte-compile-file-form-autoload): Use `pcase'.
6437 (byte-compile-function-form): If quoting a symbol, check that it exists.
6438
6439 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6440
6441 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6442 and add a few popular commands found in batch files.
6443 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6444 (dos-mode): Doc fixes.
6445
6446 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6449 (dos-mode): Use setq-local. Add space after "rem".
6450 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6451 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6452
6453 2013-08-07 Arni Magnusson <arnima@hafro.is>
6454
6455 * progmodes/dos.el: New file.
6456 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6457 dos-mode.
6458
6459 2013-08-06 Glenn Morris <rgm@gnu.org>
6460
6461 * calendar/calendar.el: Add new faces, and day-header-array.
6462 (calendar-weekday-header, calendar-weekend-header)
6463 (calendar-month-header): New faces.
6464 (calendar-day-header-construct): New function.
6465 (calendar-day-header-width): Also :set calendar-day-header-array.
6466 (calendar-american-month-header, calendar-european-month-header)
6467 (calendar-iso-month-header): Use calendar- faces.
6468 (calendar-generate-month):
6469 Use calendar-day-header-array for day headers; apply faces to them.
6470 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6471 (calendar-abbrev-construct): Add optional maxlen argument.
6472 (calendar-day-name-array): Doc fix.
6473 (calendar-day-name-array, calendar-abbrev-length)
6474 (calendar-day-abbrev-array):
6475 Also :set calendar-day-header-array, and maybe redraw.
6476 (calendar-day-header-array): New option. (Bug#15007)
6477 (calendar-font-lock-keywords): Set to nil and make obsolete.
6478 (calendar-day-name): Add option to use header array.
6479
6480 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6481
6482 * net/shr.el (shr-render-td): Remove debugging.
6483 (shr-render-td): Make width computation consistent by defaulting
6484 all zero-width columns to 10 characters. This may not be optimal,
6485 but it's at least consistent.
6486 (shr-make-table-1): Redo last change to fix the real problem in
6487 colspan handling.
6488
6489 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6490
6491 * files.el (cache-long-line-scans):
6492 Make obsolete alias to `cache-long-scans'.
6493
6494 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6495
6496 * frameset.el (frameset, frameset-filter-alist)
6497 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6498 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6499 (frameset-compute-pos): Rename from frameset--compute-pos,
6500 and add docstring.
6501 (frameset-move-onscreen): Use frameset-compute-pos.
6502 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6503
6504 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6505 Fix typos in docstrings.
6506
6507 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6508
6509 * frame.el (get-other-frame): Tiny cleanup.
6510
6511 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6512
6513 * vc/vc.el (vc-default-ignore-completion-table):
6514 Silence byte-compiler warning.
6515
6516 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6517 slot , which can indeed be nil.
6518 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6519 Move entry for `left' from persistent to live filter alist.
6520 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6521 Doc fixes.
6522 (frameset-filter-params): When restoring a frame, copy items added to
6523 `filtered', to avoid unwittingly modifying the original parameters.
6524 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6525 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6526
6527 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6528 to use looking-at-p instead of looking-at. (Bug#15028)
6529
6530 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6531
6532 Revert introduction of isearch-filter-predicates (bug#14714).
6533 Rely on add-function instead.
6534 * isearch.el (isearch-filter-predicates): Rename it back to
6535 isearch-filter-predicate.
6536 (isearch-message-prefix): Use advice-function-mapc and advice
6537 properties to get the isearch-message-prefix.
6538 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6539 instead of run-hook-with-args-until-failure.
6540 (isearch-filter-visible): Not obsolete any more.
6541 * loadup.el: Preload nadvice.
6542 * replace.el (perform-replace): Revert to funcall
6543 instead of run-hook-with-args-until-failure.
6544 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6545 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6546 dired-isearch-filenames-toggle; make it into a proper minor mode.
6547 Use add/remove-function.
6548 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6549 Call the minor-mode rather than add/remove-hook.
6550 (dired-isearch-filter-filenames):
6551 Remove isearch-message-prefix property.
6552 * info.el (Info--search-loop): New function, extracted from Info-search.
6553 Funcall isearch-filter-predicate instead of
6554 run-hook-with-args-until-failure isearch-filter-predicates.
6555 (Info-search): Use it.
6556 (Info-mode): Use isearch-filter-predicate instead of
6557 isearch-filter-predicates.
6558
6559 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6560
6561 Do not call to `selected-window' where it is assumed by default.
6562 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6563 `window-hscroll', `window-width', `window-height', `window-buffer',
6564 `window-frame', `window-start', `window-point', `next-window'
6565 and `window-display-table'.
6566 * abbrev.el (abbrev--default-expand):
6567 * bs.el (bs--show-with-configuration):
6568 * buff-menu.el (Buffer-menu-mouse-select):
6569 * calc/calc.el (calc):
6570 * calendar/calendar.el (calendar-generate-window):
6571 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6572 (diary-make-entry):
6573 * comint.el (send-invisible, comint-dynamic-complete-filename)
6574 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6575 * completion.el (complete):
6576 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6577 * disp-table.el (describe-current-display-table):
6578 * doc-view.el (doc-view-insert-image):
6579 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6580 * ehelp.el (with-electric-help):
6581 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6582 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6583 * emacs-lisp/helper.el (Helper-help-scroller):
6584 * emulation/cua-base.el (cua--post-command-handler-1):
6585 * eshell/esh-mode.el (eshell-output-filter):
6586 * ffap.el (ffap-gnus-wrapper):
6587 * help-macro.el (make-help-screen):
6588 * hilit-chg.el (highlight-compare-buffers):
6589 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6590 * hl-line.el (global-hl-line-highlight):
6591 * icomplete.el (icomplete-simple-completing-p):
6592 * isearch.el (isearch-done):
6593 * jit-lock.el (jit-lock-stealth-fontify):
6594 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6595 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6596 * mpc.el (mpc-tagbrowser, mpc):
6597 * net/rcirc.el (rcirc-any-buffer):
6598 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6599 * play/landmark.el (landmark-max-width, landmark-max-height):
6600 * play/zone.el (zone):
6601 * progmodes/compile.el (compilation-goto-locus):
6602 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6603 * progmodes/etags.el (find-tag-other-window):
6604 * progmodes/fortran.el (fortran-column-ruler):
6605 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6606 * progmodes/verilog-mode.el (verilog-point-text):
6607 * reposition.el (reposition-window):
6608 * rot13.el (toggle-rot13-mode):
6609 * server.el (server-switch-buffer):
6610 * shell.el (shell-dynamic-complete-command)
6611 (shell-dynamic-complete-environment-variable):
6612 * simple.el (insert-buffer, set-selective-display)
6613 (delete-completion-window):
6614 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6615 (speedbar-recenter):
6616 * startup.el (fancy-splash-head):
6617 * textmodes/ispell.el (ispell-command-loop):
6618 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6619 * tutorial.el (help-with-tutorial):
6620 * vc/add-log.el (add-change-log-entry):
6621 * vc/compare-w.el (compare-windows):
6622 * vc/ediff-help.el (ediff-indent-help-message):
6623 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6624 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6625 (ediff-setup-control-frame):
6626 * vc/emerge.el (emerge-position-region):
6627 * vc/pcvs-util.el (cvs-bury-buffer):
6628 * window.el (walk-windows, mouse-autoselect-window-select):
6629 * winner.el (winner-set-conf, winner-undo): Related users changed.
6630
6631 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * frameset.el (frameset--set-id): Doc fix.
6634 (frameset-frame-id, frameset-frame-id-equal-p)
6635 (frameset-locate-frame-id): New functions.
6636 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6637 (frameset-restore): Use them.
6638
6639 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6640
6641 Do not call to `selected-frame' where it is assumed by default.
6642 Affected functions are `raise-frame', `redraw-frame',
6643 `frame-first-window', `frame-terminal' and `delete-frame'.
6644 * calendar/appt.el (appt-disp-window):
6645 * epg.el (epg-wait-for-completion):
6646 * follow.el (follow-delete-other-windows-and-split)
6647 (follow-avoid-tail-recenter):
6648 * international/mule.el (set-terminal-coding-system):
6649 * mail/rmail.el (rmail-mail-return):
6650 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6651 * progmodes/f90.el (f90-add-imenu-menu):
6652 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6653 * server.el (server-switch-buffer):
6654 * simple.el (delete-completion-window):
6655 * talk.el (talk):
6656 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6657 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6658 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6659 * vc/ediff.el (ediff-documentation): Related users changed.
6660 * frame.el (selected-terminal): Remove the leftover.
6661
6662 2013-08-05 Glenn Morris <rgm@gnu.org>
6663
6664 * calendar/calendar.el (calendar-generate-month):
6665 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6666 (calendar-generate-month, calendar-font-lock-keywords):
6667 Fix for calendar-day-header-width > length of any day name.
6668
6669 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * desktop.el (desktop-clear): Use new name of sort predicate.
6672
6673 * frameset.el (frameset): Add docstring. Move :version property to its
6674 own `version' slot.
6675 (frameset-copy): Rename from copy-frameset.
6676 (frameset-p): Check more thoroughly.
6677 (frameset-prop): Do not check for :version, which is no longer a prop.
6678 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6679 Use new :never value instead of t.
6680 (frameset-filter-alist): Expand and clarify docstring.
6681 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6682 (frameset-filter-minibuffer, frameset-filter-save-param)
6683 (frameset-filter-restore-param, frameset-filter-iconified):
6684 Add pointer to docstring of frameset-filter-alist.
6685 (frameset-filter-params): Rename filter values to be more meaningful:
6686 :never instead of t, and reverse the meanings of :save and :restore.
6687 (frameset--process-minibuffer-frames): Clarify error message.
6688 (frameset-save): Avoid unnecessary and confusing call to framep.
6689 Use new BOA constructor for framesets.
6690 (frameset--reuse-list): Doc fix.
6691 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6692 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6693 (frameset-minibufferless-first-p): Doc fix.
6694 Rename from frameset-sort-frames-for-deletion.
6695 (frameset-restore): Doc fixes. Use new function names.
6696 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6697
6698 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6699
6700 * desktop.el (desktop-restore-forces-onscreen)
6701 (desktop-restore-reuses-frames): Document :keyword constant values.
6702 (desktop-filter-parameters-alist): Remove, now identical to
6703 frameset-filter-alist.
6704 (desktop--filter-tty*): Remove, moved to frameset.el.
6705 (desktop-save-frameset, desktop-restore-frameset):
6706 Do not pass :filters argument.
6707
6708 * frameset.el (frameset-live-filter-alist)
6709 (frameset-persistent-filter-alist): New variables.
6710 (frameset-filter-alist): Use them. Add autoload cookie.
6711 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6712 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6713 `frameset--id' (it's supposed to be internal to frameset.el).
6714 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6715 (frameset--initial-params): New function.
6716 (frameset--get-frame): Use it. Doc fix.
6717 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6718 Accept :all, not 'all.
6719 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6720 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6721 with fbound symbols. Fix frame id matching, and remove matching ids if
6722 the frame being restored is deleted. Obey :delete.
6723
6724 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6725
6726 * subr.el (macrop): New function.
6727 (text-clone--maintaining): New var.
6728 (text-clone--maintain): Rename from text-clone-maintain. Use it
6729 instead of inhibit-modification-hooks.
6730
6731 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6732 a proxy, so as handle autoloads and redefinitions of the target.
6733 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6734
6735 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6736 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6737 (pcase--mutually-exclusive-p): New function.
6738 (pcase--split-consp): Use it.
6739 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6740 mutually exclusive with the current predicate.
6741
6742 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6743 (edebug-macrop): Remove. Use `macrop' instead.
6744 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6745 (ad-macro-p):
6746 * eshell/esh-cmd.el (eshell-macrop):
6747 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6748
6749 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6752 (advice-mapc): New function, using it.
6753 (advice-function-member-p): New function.
6754 (advice--normalize): Store the cdr in advice--saved-rewrite since
6755 that's the part that will be changed.
6756 (advice--symbol-function): New function.
6757 (advice-remove): Handle removal before the function is defined.
6758 Adjust to new advice--saved-rewrite.
6759 (advice-member-p): Use advice-function-member-p and
6760 advice--symbol-function.
6761
6762 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6763
6764 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6765 (frameset-filter-minibuffer): Doc fix.
6766 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6767 (frameset--set-id, frameset--process-minibuffer-frames)
6768 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6769 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6770
6771 * desktop.el (desktop-clear): Only delete frames when called
6772 interactively and desktop-restore-frames is non-nil. Doc fix.
6773 (desktop-read): Set desktop-saved-frameset to nil.
6774
6775 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6776
6777 * vc/vc.el (vc-ignore): Rewrite.
6778 (vc-default-ignore-completion-table):
6779 (vc--read-lines):
6780 (vc--add-line, vc--remove-regexp): New functions.
6781
6782 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6783 (vc-svn-ignore-completion-table): New function.
6784
6785 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6786 (vc-hg-ignore-completion-table):
6787 (vc-hg-find-ignore-file): New functions.
6788
6789 * vc/vc-git.el (vc-git-ignore): Rewrite.
6790 (vc-git-ignore-completion-table):
6791 (vc-git-find-ignore-file): New functions.
6792
6793 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6794
6795 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6796 (vc-bzr-ignore-completion-table):
6797 (vc-bzr-find-ignore-file): New functions.
6798
6799 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6800
6801 * frameset.el (frameset-prop): New function and setter.
6802 (frameset-save): Do not modify frame list passed by the caller.
6803
6804 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6807
6808 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6809
6810 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6811 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6812
6813 * custom.el (custom-initialize-default, custom-initialize-set)
6814 (custom-initialize-reset, custom-initialize-changed): Affect the
6815 toplevel-default-value (bug#6275, bug#14586).
6816 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6817 for bug#6275.
6818
6819 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6822 Add cl-def* expressions.
6823
6824 * frameset.el (frameset-filter-params): Fix order of arguments.
6825
6826 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6827
6828 Move code related to saving frames to frameset.el.
6829 * desktop.el: Require frameset.
6830 (desktop-restore-frames): Doc fix.
6831 (desktop-restore-reuses-frames): Rename from
6832 desktop-restoring-reuses-frames.
6833 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6834 (desktop-clear): Clear frames too.
6835 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6836 (desktop--filter-tty*, desktop-save, desktop-read):
6837 Use frameset functions.
6838 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6839 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6840 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6841 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6842 (desktop--process-minibuffer-frames, desktop-save-frames)
6843 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6844 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6845 (desktop--sort-states, desktop-restoring-frames-p)
6846 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6847 (desktop-restoring-frameset-p, desktop-restore-frameset)
6848 (desktop--check-dont-save, desktop-save-frameset): New functions.
6849 (desktop--app-id): New constant.
6850 (desktop-first-buffer, desktop-buffer-ok-count)
6851 (desktop-buffer-fail-count): Move before first use.
6852 * frameset.el: New file.
6853
6854 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * files.el: Use lexical-binding.
6857 (dir-locals-read-from-file): Remove unused `err' variable.
6858 (hack-dir-local-variables--warned-coding): New var.
6859 (hack-dir-local-variables): Use it to avoid repeated warnings.
6860 (make-backup-file-name--default-function): New function.
6861 (make-backup-file-name-function): Use it as default.
6862 (buffer-stale--default-function): New function.
6863 (buffer-stale-function): Use it as default.
6864 (revert-buffer-insert-file-contents--default-function): New function.
6865 (revert-buffer-insert-file-contents-function): Use it as default.
6866 (insert-directory): Avoid add-to-list.
6867
6868 * autorevert.el (auto-revert-handler): Simplify.
6869 Use buffer-stale--default-function.
6870
6871 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6872
6873 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6874
6875 * whitespace.el (whitespace-ensure-local-variables): New function.
6876 (whitespace-cleanup-region): Call it.
6877 (whitespace-turn-on): Call it.
6878
6879 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6880
6881 Complete file name handlers.
6882
6883 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6884 (tramp-handle-verify-visited-file-modtime)
6885 (tramp-handle-file-notify-rm-watch): New functions.
6886 (tramp-call-process): Do not bind `default-directory'.
6887
6888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6889 Order alphabetically.
6890 [access-file, add-name-to-file, dired-call-process]:
6891 [dired-compress-file, file-acl, file-notify-rm-watch]:
6892 [file-ownership-preserved-p, file-selinux-context]:
6893 [make-directory-internal, make-symbolic-link, set-file-acl]:
6894 [set-file-selinux-context, set-visited-file-modtime]:
6895 [verify-visited-file-modtime]: Add handler.
6896 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6897
6898 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6899 [file-notify-add-watch, file-notify-rm-watch]:
6900 [set-file-times, set-visited-file-modtime]:
6901 [verify-visited-file-modtime]: Add handler.
6902 (with-tramp-gvfs-error-message)
6903 (tramp-gvfs-handle-set-visited-file-modtime)
6904 (tramp-gvfs-fuse-file-name): Remove.
6905 (tramp-gvfs-handle-file-notify-add-watch)
6906 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6907 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6908
6909 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6910 Order alphabetically.
6911 [file-notify-rm-watch ]: Use default Tramp handler.
6912 [executable-find]: Remove private handler.
6913 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6914 `default-directory'.
6915 (tramp-sh-handle-executable-find)
6916 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6917 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6918 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6919 Do not use `format' in `tramp-message'.
6920
6921 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6922 [file-notify-rm-watch, set-visited-file-modtime]:
6923 [verify-visited-file-modtime]: Add handler.
6924 (tramp-smb-call-winexe): Do not bind `default-directory'.
6925
6926 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6927
6928 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6929
6930 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6931
6932 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6933 use it.
6934 (log-view-diff-changeset): Same.
6935 (log-view-diff-common): Call backend command `previous-revision'
6936 to find out the previous revision, in both cases. Swap the
6937 variables `to' and `fr', so that `fr' usually refers to the
6938 earlier revision (Bug#14989).
6939
6940 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6941
6942 * ibuf-ext.el (ibuffer-filter-by-filename):
6943 Make it work with dired buffers too.
6944
6945 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6946
6947 * emacs-lisp/re-builder.el (reb-color-display-p):
6948 * files.el (save-buffers-kill-terminal):
6949 * net/browse-url.el (browse-url):
6950 * server.el (server-save-buffers-kill-terminal):
6951 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6952 Prefer nil to selected-frame for the first arg of frame-parameter.
6953
6954 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6955
6956 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6957
6958 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6959
6960 * minibuffer.el (completion--twq-all): Try and preserve each
6961 completion's case choice (bug#14907).
6962
6963 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6964
6965 * net/network-stream.el (open-network-stream): Mention the new
6966 :nogreeting parameter.
6967 (network-stream-open-starttls): Use the :nogreeting parameter
6968 (bug#14938).
6969
6970 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6971
6972 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6973 more natural than popping.
6974
6975 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6976 (shr-urlify): Highlight under mouse.
6977
6978 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6979
6980 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6981
6982 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6983
6984 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6985 buffer for output.
6986
6987 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6988 point-min==1. Fix search string. Fix parentheses missing.
6989
6990 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6991 assume point-min==1. Fix search string. Fix parentheses missing.
6992
6993 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6994
6995 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6996 buffer for output.
6997
6998 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6999
7000 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7001 initial frame is minibuffer-less. (Bug#14841)
7002
7003 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7006 option.
7007
7008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7009 (tramp-maybe-open-connection): Use it.
7010
7011 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7012
7013 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7014 minimal set of parameters passed when creating a frame, because
7015 the minibuffer status of a frame cannot be changed later.
7016
7017 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7018
7019 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7020 replace-regexp-in-string and inadvertent omissions in previous change.
7021 (todo-filter-items): Ensure only file names are comma-separated in
7022 name of filtered items buffer.
7023
7024 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7025
7026 * desktop.el: Optionally force offscreen frames back onscreen.
7027 (desktop-restoring-reuses-frames): New option.
7028 (desktop--compute-pos, desktop--move-onscreen): New functions.
7029 (desktop--make-frame): Use desktop--move-onscreen.
7030
7031 2013-07-27 Alan Mackenzie <acm@muc.de>
7032
7033 Fontify a Java generic method as a function.
7034 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7035 value to t.
7036
7037 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7038
7039 * calendar/todo-mode.el: Add command to rename todo files.
7040 (todo-rename-file): New command.
7041 (todo-key-bindings-t): Add key binding for it. Change the
7042 bindings of todo-filter-regexp-items(-multifile) to use `x'
7043 instead of `r', since the latter is better suited to the new
7044 renaming command.
7045
7046 2013-07-27 Alan Mackenzie <acm@muc.de>
7047
7048 Make Java try-with-resources statement parse properly.
7049 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7050 (c-block-stmt-1-2-key): New language constants/variables.
7051 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7052 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7053 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7054 with c-block-stmt-1-2-key.
7055
7056 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7057
7058 * desktop.el (desktop--make-frame): Apply most frame parameters after
7059 creating the frame to force (partially or totally) offscreen frames to
7060 be restored as such.
7061
7062 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7063
7064 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7065 (Bug#14948)
7066
7067 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7068
7069 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7070 `base' arg of backtrace-frame.
7071
7072 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7073
7074 * simple.el (list-processes): Doc fix.
7075
7076 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7077
7078 * desktop.el (desktop--select-frame):
7079 Try harder to reuse existing frames.
7080
7081 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7084 (edebug-eval): Use backtrace-eval.
7085 (edebug--display, edebug--recursive-edit): Don't let-bind the
7086 edebug-outer-* vars that keep track of variables we locally let-bind.
7087 (edebug-outside-excursion): Don't restore outside values of locally
7088 let-bound vars.
7089 (edebug--display): Use user-error.
7090 (cl-lexical-debug, cl-debug-env): Remove.
7091
7092 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7093
7094 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7095 are restored to be sure that they are visible before deleting any
7096 remaining ones.
7097
7098 2013-07-26 Matthias Meulien <orontee@gmail.com>
7099
7100 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7101 vc-print-root-log. (Bug#14948)
7102
7103 2013-07-26 Richard Stallman <rms@gnu.org>
7104
7105 Add aliases for encrypting mail.
7106 * epa.el (epa-mail-aliases): New option.
7107 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7108 Bind inhibit-read-only so read-only text doesn't ruin everything.
7109 (epa-mail-default-recipients): New subroutine broken out.
7110 Handle epa-mail-aliases.
7111
7112 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7113
7114 Add support for lexical variables to the debugger's `e' command.
7115 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7116 vars, except for debugger-outer-match-data.
7117 (debugger-frame-number): Move check for "on a function call" from
7118 callers into it. Add `skip-base' argument.
7119 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7120 (debugger-env-macro): Only reset the state stored in non-variables,
7121 i.e. current-buffer and match-data.
7122 (debugger-eval-expression): Rewrite using backtrace-eval.
7123 * subr.el (internal--called-interactively-p--get-frame): Remove.
7124 (called-interactively-p):
7125 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7126 `base' arg of backtrace-frame instead.
7127
7128 2013-07-26 Glenn Morris <rgm@gnu.org>
7129
7130 * align.el (align-regexp): Doc fix. (Bug#14857)
7131 (align-region): Explicit error if subexpression missing/does not match.
7132
7133 * simple.el (global-visual-line-mode):
7134 Do not duplicate the mode lighter. (Bug#14858)
7135
7136 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7137
7138 * window.el (display-buffer): In display-buffer bind
7139 split-window-keep-point to t, bug#14829.
7140
7141 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7142
7143 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7144 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7145 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7146 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7147 Change accordingly.
7148 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7149 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7150
7151 2013-07-25 Glenn Morris <rgm@gnu.org>
7152
7153 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7154
7155 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7156
7157 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7158 parameter to modify-frame-parameters if the value has not changed;
7159 this is a workaround for bug#14949.
7160 (desktop--make-frame): On cl-delete-if call, check parameter name,
7161 not full parameter.
7162
7163 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7164
7165 * vc/vc.el (vc-ignore): New function.
7166
7167 * vc/vc-svn.el (vc-svn-ignore): New function.
7168
7169 * vc/vc-hg.el (vc-hg-ignore): New function.
7170
7171 * vc/vc-git.el (vc-git-ignore): New function.
7172
7173 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7174 (vc-dir-ignore): New function.
7175
7176 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7177 (cvs-append-to-ignore): Move here from pcvs.el.
7178
7179 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7180
7181 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7182
7183 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7186 (desktop-restore-frames): Warn when deleting an existing frame failed.
7187
7188 2013-07-24 Glenn Morris <rgm@gnu.org>
7189
7190 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7191
7192 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7193
7194 * filenotify.el (file-notify-supported-p):
7195 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7196 Remove functions.
7197
7198 * autorevert.el (auto-revert-use-notify):
7199 (auto-revert-notify-add-watch):
7200 * net/tramp.el (tramp-file-name-for-operation):
7201 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7203 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7204 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7205 Remove `file-notify-supported-p' entry.
7206
7207 2013-07-24 Glenn Morris <rgm@gnu.org>
7208
7209 * printing.el: Replace all uses of deleted ps-windows-system,
7210 ps-lp-system, ps-flatten-list with lpr- versions.
7211
7212 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7213
7214 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7215 checked with memq (bug#14935).
7216
7217 * files.el (revert-buffer-function): Use a non-nil default.
7218 (revert-buffer-preserve-modes): Declare var to
7219 provide access to the `preserve-modes' argument.
7220 (revert-buffer): Let-bind it.
7221 (revert-buffer--default): New function, extracted from revert-buffer.
7222
7223 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * lpr.el: Signal print errors more prominently.
7226 (print-region-function): Don't default to nil.
7227 (lpr-print-region): New function, extracted from print-region-1.
7228 Check lpr's return value and signal an error in case of problem.
7229 (print-region-1): Use it.
7230 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7231 versions instead.
7232 (ps-printer-name): Default to nil.
7233 (ps-printer-name-option): Default to lpr-printer-switch.
7234 (ps-print-region-function): Don't default to nil.
7235 (ps-postscript-code-directory): Simplify default.
7236 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7237 (ps-string-list, ps-eval-switch, ps-flatten-list)
7238 (ps-flatten-list-1): Remove.
7239 (ps-multibyte-buffer): Avoid setq.
7240 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7241 (print-region-function, ps-print-region-function): Don't set them here.
7242
7243 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7244
7245 * ido.el (ido-fractionp):
7246 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7247 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7248 (ido-max-directory-size, ido-max-dir-file-cache)
7249 (ido-decorations): Doc fix.
7250
7251 * ansi-color.el: Fix old URL.
7252
7253 2013-07-23 Michael R. Mauger <michael@mauger.com>
7254
7255 * progmodes/sql.el: Version 3.3
7256 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7257 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7258 (sql-interactive-remove-continuation-prompt): Rewrite, use
7259 functions above. Fix continuation prompt and complete output line
7260 handling.
7261 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7262 redirected output buffer.
7263 (sql-mode): Restore deleted code (Bug#13591).
7264
7265 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7268
7269 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7270
7271 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7272
7273 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7274 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7275 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7276
7277 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * desktop.el (desktop-clear): Simplify; remove useless checks
7280 against invalid buffer names.
7281 (desktop-list*): Use cl-list*.
7282 (desktop-buffer-info, desktop-create-buffer): Simplify.
7283
7284 2013-07-23 Leo Liu <sdl.web@gmail.com>
7285
7286 * bookmark.el (bookmark-make-record): Restore NAME as a default
7287 value. (Bug#14933)
7288
7289 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7292 extracted from autoload--insert-text.
7293 (autoload--insert-text): Remove.
7294 (autoload--print-cookie-text): New function, extracted from
7295 autoload--insert-cookie-text.
7296 (autoload--insert-cookie-text): Remove.
7297 (autoload-generate-file-autoloads): Adjust calls accordingly.
7298
7299 * winner.el (winner-hook-installed-p): Remove.
7300 (winner-mode): Simplify accordingly.
7301
7302 * subr.el (add-to-list): Fix compiler-macro when `append' is
7303 not constant. Don't use `cl-member' for the base case.
7304
7305 * progmodes/subword.el: Fix boundary case (bug#13758).
7306 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7307 own group.
7308 (subword-backward-regexp): Make it a constant.
7309 (subword-forward-internal): Don't treat a trailing capital as the
7310 beginning of a word.
7311
7312 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7313
7314 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7315 global value of tabulated-list-revert-hook (bug#14930).
7316
7317 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7318
7319 * desktop.el: Require 'cl-lib.
7320 (desktop-before-saving-frames-functions): New hook.
7321 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7322 for frames being saved. Rename from desktop--save-minibuffer-frames.
7323 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7324 Do not save frames with non-nil `desktop-dont-save' parameter.
7325 Filter out deleted frames.
7326 (desktop--find-frame): Use cl-find-if.
7327 (desktop--select-frame): Use cl-(first|second|third) to access values
7328 of desktop-mini.
7329 (desktop--make-frame): Use cl-delete-if.
7330 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7331 (desktop-restore-frames): Use cl-(first|second|third) to access values
7332 of desktop-mini. Look for visible frame at the end, not while
7333 restoring frames.
7334
7335 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7336 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7337 Use string-match-p, looking-at-p (bug#14927).
7338
7339 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * desktop.el (desktop-saved-frame-states):
7342 Rename from desktop--saved-states; all users changed.
7343 (desktop-save-frames): Rename from desktop--save-frames.
7344 Do not save state to desktop file.
7345 (desktop-save): Save desktop-saved-frame-states to desktop file
7346 and reset to nil.
7347 (desktop-restoring-frames-p): New function.
7348 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7349 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7350 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7351
7352 * desktop.el: Correctly restore iconified frames.
7353 (desktop--filter-iconified-position): New function.
7354 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7355
7356 2013-07-20 Glenn Morris <rgm@gnu.org>
7357
7358 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7359 Let `message' do the formatting.
7360 (def-gdb-preempt-display-buffer): Add explicit format.
7361
7362 * image-dired.el (image-dired-track-original-file):
7363 Use with-current-buffer.
7364 (image-dired-track-thumbnail): Use with-current-buffer.
7365 Avoid changing point of wrong window.
7366
7367 * image-dired.el (image-dired-track-original-file):
7368 Avoid changing point of wrong window. (Bug#14909)
7369
7370 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7371
7372 * progmodes/gdb-mi.el (gdb-done-or-error):
7373 Guard against "%" in gdb output. (Bug#14127)
7374
7375 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7376
7377 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7378 (Bug#14826)
7379
7380 * international/mule.el (coding-system-iso-2022-flags): Fix last
7381 change.
7382
7383 2013-07-20 Kenichi Handa <handa@gnu.org>
7384
7385 * international/mule.el (coding-system-iso-2022-flags):
7386 Add `8-bit-level-4'. (Bug#8522)
7387
7388 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7389
7390 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7391 (bug#14815).
7392
7393 * net/eww.el (eww-process-text-input): Allow inputting when the
7394 point is at the start of the line, as the properties aren't
7395 front-sticky.
7396
7397 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7398 degenerate widths.
7399
7400 2013-07-19 Richard Stallman <rms@gnu.org>
7401
7402 * epa.el (epa-popup-info-window): Doc fix.
7403
7404 * subr.el (split-string): New arg TRIM.
7405
7406 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7409 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7410
7411 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7412
7413 * filenotify.el (file-notify--library): Rename from
7414 `file-notify-support'. Do not autoload. Adapt all uses.
7415 (file-notify-supported-p): New defun.
7416
7417 * autorevert.el (auto-revert-use-notify):
7418 Use `file-notify-supported-p' instead of `file-notify-support'.
7419 Adapt docstring.
7420 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7421
7422 * net/tramp.el (tramp-file-name-for-operation):
7423 Add `file-notify-supported-p'.
7424
7425 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7426 New defun.
7427 (tramp-sh-file-name-handler-alist): Add it as handler for
7428 `file-notify-supported-p '.
7429
7430 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7432 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7433 Add `ignore' as handler for `file-notify-*' functions.
7434
7435 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7436
7437 * simple.el (line-move-partial, line-move): Don't start vscroll or
7438 scroll-up if the current line is not taller than the window.
7439 (Bug#14881)
7440
7441 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7442
7443 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7444 highlight question marks in the method names as strings.
7445 (ruby-block-beg-keywords): Inline.
7446 (ruby-font-lock-keyword-beg-re): Extract from
7447 `ruby-font-lock-keywords'.
7448
7449 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7450
7451 * frame.el (blink-cursor-blinks): New defcustom.
7452 (blink-cursor-blinks-done): New defvar.
7453 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7454 (blink-cursor-timer-function): Check if number of blinks has been
7455 done on X and NS.
7456 (blink-cursor-suspend, blink-cursor-check): New defuns.
7457
7458 2013-07-15 Glenn Morris <rgm@gnu.org>
7459
7460 * edmacro.el (edmacro-format-keys): Fix previous change.
7461
7462 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7463
7464 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7465 The hack didn't work outside English locales anyway.
7466
7467 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * simple.el (define-alternatives): Rename from alternatives-define,
7470 per RMS' suggestion.
7471
7472 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * desktop.el (desktop-restore-frames): Change default to t.
7475 (desktop-restore-in-current-display): Now offer more options.
7476 (desktop-restoring-reuses-frames): New customization option.
7477 (desktop--saved-states): Doc fix.
7478 (desktop-filter-parameters-alist): New variable, renamed and expanded
7479 from desktop--excluded-frame-parameters.
7480 (desktop--target-display): New variable.
7481 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7482 (desktop--filter-tty*, desktop--filter-*-color)
7483 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7484 (desktop--filter-save-desktop-parm)
7485 (desktop-restore-in-original-display-p): New functions.
7486 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7487 (desktop--save-minibuffer-frames): New function, inspired by a similar
7488 function from Martin Rudalics.
7489 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7490 (desktop--restore-in-this-display-p): Remove.
7491 (desktop--find-frame): Rename from desktop--find-frame-in-display
7492 and add predicate argument.
7493 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7494 (desktop--reuse-list): New variable.
7495 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7496 New functions.
7497 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7498
7499 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7500
7501 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7502
7503 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7504
7505 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7506 Highlight conversion methods on Kernel.
7507
7508 2013-07-13 Alan Mackenzie <acm@muc.de>
7509
7510 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7511 and comment it out. This out-commenting enables certain C++
7512 declarations to be parsed correctly.
7513
7514 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7515
7516 * international/mule.el (define-coding-system): Doc fix.
7517
7518 * simple.el (default-font-height): Don't call font-info if the
7519 frame's default font didn't change since the frame was created.
7520 (Bug#14838)
7521
7522 2013-07-13 Leo Liu <sdl.web@gmail.com>
7523
7524 * ido.el (ido-read-file-name): Guard against non-symbol value.
7525
7526 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7527
7528 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7529 in nested defuns.
7530
7531 2013-07-13 Leo Liu <sdl.web@gmail.com>
7532
7533 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7534 ido-set-matches call. (Bug#6852)
7535
7536 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7537
7538 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7539 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7540 Ruby 2.0.
7541 (ruby-font-lock-keywords): Distinguish calls to functions with
7542 module-like names from module references. Highlight character
7543 literals.
7544
7545 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7546
7547 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7548 (gdb-send): Handle continued commands. (Bug#14847)
7549
7550 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7551
7552 * desktop.el (desktop--v2s): Remove unused local variable.
7553 (desktop-save-buffer): Make defvar-local; adjust docstring.
7554 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7555 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7556
7557 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7558
7559 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7560
7561 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7562
7563 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7564 (Bug#14842)
7565
7566 2013-07-12 Glenn Morris <rgm@gnu.org>
7567
7568 * doc-view.el: Require cl-lib at runtime too.
7569 (doc-view-remove-if): Remove.
7570 (doc-view-search-next-match, doc-view-search-previous-match):
7571 Use cl-remove-if.
7572
7573 * edmacro.el: Require cl-lib at runtime too.
7574 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7575 (edmacro-mismatch, edmacro-subseq): Remove.
7576
7577 * shadowfile.el: Require cl-lib.
7578 (shadow-remove-if): Remove.
7579 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7580 Use cl-remove-if.
7581
7582 * wid-edit.el: Require cl-lib.
7583 (widget-choose): Use cl-remove-if.
7584 (widget-remove-if): Remove.
7585
7586 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7587 (ebrowse-delete-if-not): Remove.
7588 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7589 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7590 Use cl-delete-if-not.
7591
7592 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7593
7594 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7595 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7596
7597 2013-07-12 Leo Liu <sdl.web@gmail.com>
7598
7599 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7600
7601 2013-07-11 Glenn Morris <rgm@gnu.org>
7602
7603 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7604 (edebug-gensym-index, edebug-gensym):
7605 Remove reimplementation of cl-gensym.
7606 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7607
7608 * thumbs.el: Require cl-lib at run-time too.
7609 (thumbs-gensym-counter, thumbs-gensym):
7610 Remove reimplementation of cl-gensym.
7611 (thumbs-temp-file): Use cl-gensym.
7612
7613 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7614 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7615 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7616 (ert--union, ert--gensym-counter, ert--gensym-counter)
7617 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7618 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7619 (ert-make-test-unbound, ert--expand-should-1)
7620 (ert--expand-should, ert--should-error-handle-error)
7621 (should-error, ert--explain-equal-rec)
7622 (ert--plist-difference-explanation, ert-select-tests)
7623 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7624 Use cl-lib functions rather than reimplementations.
7625
7626 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7627
7628 * net/tramp.el (tramp-methods): Extend docstring.
7629 (tramp-connection-timeout): New defcustom.
7630 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7631 (with-tramp-progress-reporter): Simplify.
7632 (tramp-process-actions): Improve messages.
7633
7634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7635 * net/tramp-sh.el (tramp-maybe-open-connection):
7636 Use `tramp-connection-timeout'.
7637 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7638 (Bug#14808)
7639
7640 2013-07-11 Leo Liu <sdl.web@gmail.com>
7641
7642 * ido.el (ido-read-file-name): Conform to the requirements of
7643 read-file-name. (Bug#11861)
7644 (ido-read-directory-name): Conform to the requirements of
7645 read-directory-name.
7646
7647 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7648
7649 * subr.el (delay-warning): New function.
7650
7651 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7652
7653 * simple.el (default-line-height): New function.
7654 (line-move-partial, line-move): Use it instead of computing the
7655 line height inline.
7656 (line-move-partial): Always compute ROWH. If the last line is
7657 partially-visible, but its text is completely visible, allow
7658 cursor to enter such a partially-visible line.
7659
7660 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7661
7662 Improve error messages. (Bug#14808)
7663
7664 * net/tramp.el (tramp-current-connection): New defvar, moved from
7665 tramp-sh.el.
7666 (tramp-message-show-progress-reporter-message): Remove, not
7667 needed anymore.
7668 (tramp-error-with-buffer): Show message in minibuffer.
7669 Discard input before waiting. Reset connection timestamp.
7670 (with-tramp-progress-reporter): Improve messages.
7671 (tramp-process-actions): Use progress reporter. Delete process in
7672 case of error. Improve messages.
7673
7674 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7675 Call `tramp-error-with-buffer' with vector and buffer.
7676 (tramp-current-connection): Remove.
7677 (tramp-maybe-open-connection): The car of
7678 `tramp-current-connection' are the first 3 slots of the vector.
7679
7680 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7681
7682 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7683 inside continued strings.
7684
7685 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7686
7687 Timestamp fixes for undo (Bug#14824).
7688 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7689
7690 2013-07-10 Leo Liu <sdl.web@gmail.com>
7691
7692 * files.el (require-final-newline): Allow safe local value.
7693 (Bug#14834)
7694
7695 2013-07-09 Leo Liu <sdl.web@gmail.com>
7696
7697 * ido.el (ido-read-directory-name): Handle fallback.
7698 (ido-read-file-name): Update DIR to ido-current-directory.
7699 (Bug#1516)
7700 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7701
7702 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7703
7704 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7705 "autoload". Remove "warn lower camel case" section, previously
7706 commented out. Highlight negation char. Do not highlight the
7707 target in singleton method definitions.
7708
7709 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7710
7711 * faces.el (tty-setup-hook): Declare the hook.
7712
7713 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7714 and detect when a guard/pred depends on local vars (bug#14773).
7715 (pcase--u1): Adjust caller.
7716
7717 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7718
7719 * simple.el (line-move-partial, line-move): Account for
7720 line-spacing.
7721 (line-move-partial): Avoid setting vscroll when the last
7722 partially-visible line in window is of default height.
7723
7724 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7725
7726 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7727 been used a while.
7728
7729 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7730
7731 * subr.el (read-quoted-char): Remove unused local variable `char'.
7732
7733 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7734
7735 * ediff.el (ediff-version): Version update.
7736 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7737 (ediff-merge-with-ancestor-command, ediff-directories-command)
7738 (ediff-directories3-command, ediff-merge-directories-command)
7739 (ediff-merge-directories-with-ancestor-command): New functions.
7740 All are command-line interfaces to ediff: to facilitate calling
7741 Emacs with the appropriate ediff functions invoked.
7742
7743 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7744 (viper-save-kill-buffer): Check if buffer is modified.
7745
7746 * viper.el (viper-version): Version update.
7747 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7748
7749 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7750
7751 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7752 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7753 (viper-intercept-ESC-key): Simplify.
7754 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7755 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7756 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7757 (viper-setup-ESC-to-escape): New functions.
7758 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7759 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7760
7761 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7762
7763 * simple.el (default-font-height, window-screen-lines):
7764 New functions.
7765 (line-move, line-move-partial): Use them instead of
7766 frame-char-height and window-text-height. This makes scrolling
7767 text smoother when the buffer's default face uses a font that is
7768 different from the frame's default font.
7769
7770 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7771
7772 * files.el (write-file): Do not display confirm dialog for NS,
7773 it does its own dialog, which can't be canceled (Bug#14578).
7774
7775 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7776
7777 * simple.el (line-move-partial): Adjust the row returned by
7778 posn-at-point for the current window-vscroll. (Bug#14567)
7779
7780 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7781
7782 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7783 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7784 spaces.
7785
7786 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7787
7788 * window.el (window-state-put-stale-windows): New variable.
7789 (window--state-put-2): Save list of windows without matching buffer.
7790 (window-state-put): Remove "bufferless" windows if possible.
7791
7792 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7793
7794 * simple.el (alternatives-define): Remove leftover :group keyword.
7795 Tweak docstring.
7796
7797 2013-07-06 Leo Liu <sdl.web@gmail.com>
7798
7799 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7800 (ido-enable-virtual-buffers): New variable.
7801 (ido-buffer-internal, ido-toggle-virtual-buffers)
7802 (ido-make-buffer-list): Use it.
7803 (ido-exhibit): Support turning on and off virtual buffers
7804 automatically.
7805
7806 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7807
7808 * simple.el (alternatives-define): New macro.
7809
7810 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * subr.el (read-quoted-char): Use read-key.
7813 (sit-for): Let read-event decode tty input (bug#14782).
7814
7815 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7816
7817 * calendar/todo-mode.el: Add handling of file deletion, both by
7818 mode command and externally. Fix various related bugs.
7819 Clarify Commentary and improve some documentation strings and code.
7820 (todo-delete-file): New command.
7821 (todo-check-file): New function.
7822 (todo-show): Handle external deletion of the file we're trying to
7823 show (bug#14688). Replace called-interactively-p by an optional
7824 prefix argument to avoid problematic interaction with catch form
7825 when byte compiled (bug#14702).
7826 (todo-quit): Handle external deletion of the archive's todo file.
7827 Make sure the buffer that was visiting the archive file is still
7828 live before trying to bury it.
7829 (todo-category-completions): Handle external deletion of any
7830 category completion files.
7831 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7832 of todo files, in case of external deletion.
7833 (todo-add-file): Replace unnecessary setq by let-binding.
7834 (todo-find-archive): Check whether there are any archives.
7835 Replace unnecessary setq by let-binding.
7836 (todo-archive-done-item): Use find-file-noselect to get the
7837 archive buffer whether or not the archive already exists.
7838 Remove superfluous code. Use file size instead of buffer-file-name to
7839 check if the archive is new; if it is, update list of archives.
7840 (todo-default-todo-file): Allow nil to be a valid value for when
7841 there are no todo files.
7842 (todo-reevaluate-default-file-defcustom): Use corrected definition
7843 of todo-default-todo-file.
7844 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7845 (todo-delete-category, todo-show-categories-table)
7846 (todo-category-number): Clarify comment.
7847 (todo-filter-items): Clarify documentation string.
7848 (todo-show-current-file, todo-display-as-todo-file)
7849 (todo-reset-and-enable-done-separator): Tweak documentation string.
7850 (todo-done-separator): Make separator length window-width, since
7851 bug#2749 is now fixed.
7852
7853 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7856 Support both "gvfs-monitor-dir" and "inotifywait".
7857 (tramp-sh-file-inotifywait-process-filter): Rename from
7858 `tramp-sh-file-notify-process-filter'.
7859 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7860 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7861
7862 2013-07-05 Leo Liu <sdl.web@gmail.com>
7863
7864 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7865
7866 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7867
7868 * frame.el (display-pixel-height, display-pixel-width)
7869 (display-mm-height, display-mm-width): Mention behavior on
7870 multi-monitor setups in docstrings.
7871 (w32-display-monitor-attributes-list): Declare function.
7872 (display-monitor-attributes-list): Use it.
7873
7874 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7875
7876 * filenotify.el: New package.
7877
7878 * autorevert.el (top): Require filenotify.el.
7879 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7880 instead.
7881 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7882 (auto-revert-notify-handler): Use `file-notify-*' functions.
7883
7884 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7885
7886 * net/tramp.el (tramp-file-name-for-operation):
7887 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7888
7889 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7890 for `file-notify-add-watch' and `file-notify-rm-watch'.
7891 (tramp-process-sentinel): Improve trace.
7892 (tramp-sh-handle-file-notify-add-watch)
7893 (tramp-sh-file-notify-process-filter)
7894 (tramp-sh-handle-file-notify-rm-watch)
7895 (tramp-get-remote-inotifywait): New defuns.
7896
7897 2013-07-03 Juri Linkov <juri@jurta.org>
7898
7899 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7900 call of `occur-read-primary-args' to interactive spec.
7901
7902 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7903 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7904
7905 2013-07-03 Matthias Meulien <orontee@gmail.com>
7906
7907 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7908 `Buffer-menu-multi-occur'. Add it to the menu.
7909 (Buffer-menu-mode): Document it in docstring.
7910 (Buffer-menu-multi-occur): New command. (Bug#14673)
7911
7912 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7913
7914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7915 keywords and built-ins.
7916
7917 2013-07-03 Glenn Morris <rgm@gnu.org>
7918
7919 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7920
7921 Make info-xref checks case-sensitive by default
7922 * info.el (Info-find-node, Info-find-in-tag-table)
7923 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7924 Add option for exact case matching of nodes.
7925 * info-xref.el (info-xref): New custom group.
7926 (info-xref-case-fold): New option.
7927 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7928
7929 2013-07-03 Leo Liu <sdl.web@gmail.com>
7930
7931 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7932
7933 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7934
7935 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7936 middle of block statement initially, lower the depth. Remove
7937 FIXME comment, not longer valid. Remove middle of block statement
7938 detection, no need to do that anymore since we've been using
7939 `ruby-parse-region' here.
7940
7941 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7942
7943 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7944
7945 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7946
7947 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7948
7949 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7950
7951 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7952 (desktop-restore-in-current-display): New customization option.
7953 (desktop--excluded-frame-parameters): Add `font'.
7954 (desktop--save-frames): Rename from desktop--save-windows.
7955 (desktop--restore-in-this-display-p): New function.
7956 (desktop--make-full-frame): Remove unwanted width/height from
7957 full(width|height) frames.
7958 (desktop--restore-frames): Rename from desktop--restore-windows.
7959 Obey desktop-restore-current-display. Do not delete old frames or
7960 select a new frame unless we were able to restore at least one frame.
7961
7962 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7963
7964 * files.el (find-file-noselect): Simplify conditional expression.
7965
7966 * textmodes/remember.el (remember-append-to-file):
7967 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7968
7969 Add `remember-notes' function to store random notes across Emacs
7970 restarts.
7971 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7972 notes buffer (if any).
7973 (remember-notes): New command.
7974 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7975 New defcustoms for the `remember-notes' function.
7976 (remember-notes-save-and-bury-buffer): New command.
7977 (remember-notes-mode-map): New variable.
7978 (remember-mode): New minor mode.
7979 (remember-notes--kill-buffer-query): New function.
7980 * startup.el (initial-buffer-choice): Add notes to custom type.
7981
7982 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7983
7984 * bindings.el (right-char, left-char): Don't call sit-for, this is
7985 no longer needed. Use arithmetic comparison only for numerical
7986 arguments.
7987
7988 * international/mule-cmds.el (select-safe-coding-system):
7989 Handle the case of FROM being a string correctly. (Bug#14755)
7990
7991 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7992
7993 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7994 progression on degenerate tables.
7995 (shr-rescale-image): ImageMagick animated images currently don't work.
7996
7997 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7998
7999 Some fixes and improvements for desktop frame restoration.
8000 It is still experimental and disabled by default.
8001 * desktop.el (desktop--save-windows): Put the selected frame at
8002 the head of the list.
8003 (desktop--make-full-frame): New function.
8004 (desktop--restore-windows): Try to re-select the frame that was
8005 selected upon saving. Do not abort if some frames fail to restore,
8006 just show an error message and continue. Set up maximized frames
8007 so they have default non-maximized dimensions.
8008
8009 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8010
8011 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8012 Don't start heredoc inside a string or comment.
8013
8014 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8015
8016 * bindings.el (visual-order-cursor-movement): New defcustom.
8017 (right-char, left-char): Provide visual-order cursor motion by
8018 calling move-point-visually. Update the doc strings.
8019
8020 2013-06-28 Kenichi Handa <handa@gnu.org>
8021
8022 * international/mule.el (define-coding-system): New coding system
8023 properties :inhibit-null-byte-detection,
8024 :inhibit-iso-escape-detection, and :prefer-utf-8.
8025 (set-buffer-file-coding-system): If :charset-list property of
8026 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8027 appropriate for setting.
8028
8029 * international/mule-cmds.el (select-safe-coding-system):
8030 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8031 multibyte characters, return utf-8 (or one of its siblings).
8032
8033 * international/mule-conf.el (prefer-utf-8): New coding system.
8034 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8035 files.
8036
8037 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8038
8039 * net/shr.el (shr-render-region): New function.
8040
8041 * net/eww.el: Autoload `eww-browse-url'.
8042
8043 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8044
8045 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8046 Adapt to `package-desc-version' being a list.
8047 Use `package--ac-desc-version' to retrieve version from a package
8048 archive element.
8049
8050 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8051
8052 New experimental feature to save&restore window and frame setup.
8053 * desktop.el (desktop-save-windows): New defcustom.
8054 (desktop--saved-states): New var.
8055 (desktop--excluded-frame-parameters): New defconst.
8056 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8057 (desktop--restore-windows, desktop--save-windows): New functions.
8058 (desktop-save): Call `desktop--save-windows'.
8059 (desktop-read): Call `desktop--restore-windows'.
8060
8061 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8062
8063 * net/shr.el (add-face-text-property): Remove compat definition.
8064
8065 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8066
8067 * info.el (Info-try-follow-nearest-node): Move search for footnote
8068 above search for node name to prevent missing a footnote (bug#14717).
8069
8070 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8071
8072 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8073
8074 2013-06-27 Leo Liu <sdl.web@gmail.com>
8075
8076 * net/eww.el (eww-read-bookmarks): Check file size.
8077
8078 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8081 advice--pending if newdef is nil or an autoload (bug#13820).
8082 (advice-mapc): New function.
8083
8084 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
8086 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8087 probably.
8088 (eww-mode-map): Add a menu bar.
8089 (eww-add-bookmark): New command.
8090 (eww-bookmark-mode): New mode and commands.
8091 (eww-add-bookmark): Remove newlines from the title.
8092 (eww-bookmark-browse): Don't bug out if it's the only window.
8093
8094 2013-06-26 Glenn Morris <rgm@gnu.org>
8095
8096 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8097 (hfy-size): Handle ttys. (Bug#14668)
8098
8099 * info-xref.el: Update for Texinfo 5 change in *note format.
8100 (info-xref-node-re, info-xref-note-re): New constants.
8101 (info-xref-check-buffer): Use info-xref-note-re.
8102
8103 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8104
8105 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8106
8107 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8108 nil terminate the loop (bug#14718).
8109
8110 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8111
8112 * net/eww.el: Rework history traversal. When going forward/back,
8113 put these actions into the history, too, so that they can be
8114 replayed.
8115 (eww-render): Move the history reset to the correct buffer.
8116
8117 2013-06-25 Juri Linkov <juri@jurta.org>
8118
8119 * files-x.el (modify-dir-local-variable): Change the header comment
8120 in the file with directory local variables. (Bug#14692)
8121
8122 * files-x.el (read-file-local-variable-value): Add `default'.
8123 (Bug#14710)
8124
8125 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8126
8127 * net/eww.el (eww-make-unique-file-name): Create a unique file
8128 name before saving to entering `y' accidentally asynchronously.
8129
8130 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8131
8132 * net/eww.el (eww-download): New command and keystroke.
8133
8134 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8135
8136 * net/eww.el (eww-copy-page-url): Change name of command.
8137
8138 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8139 be more consistent with Info and dired.
8140
8141 * net/eww.el (eww-mode-map): Ditto.
8142
8143 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8144
8145 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8146 packages from archives.
8147 (package-archive-contents): Change format; include obsolete packages.
8148 (package-desc): Use `dir' to mark builtin packages.
8149 (package--from-builtin): Set the `dir' field to `builtin'.
8150 (generated-autoload-file, version-control): Declare.
8151 (package-compute-transaction): Change first arg and return value to be
8152 lists of package-descs. Adjust to new package-archive-contents format.
8153 (package--add-to-archive-contents): Adjust to new
8154 package-archive-contents format.
8155 (package-download-transaction): Arg is now a list of package-descs.
8156 (package-install): If `pkg' is a package name, pass it as
8157 a requirement, so it is subject to the usual (e.g. disabled) checks.
8158 (describe-package): Accept package-desc as well.
8159 (describe-package-1): Describe a specific package-desc. Add links to
8160 other package-descs for the same package name.
8161 (package-menu-describe-package): Pass the actual package-desc.
8162 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8163 works correctly.
8164 (package-desc-status): New function.
8165 (package-menu--refresh): New function, extracted
8166 from package-menu--generate.
8167 (package-menu--generate): Use it.
8168 (package-delete): Update package-alist.
8169 (package-menu-execute): Don't call package-initialize.
8170
8171 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8172 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8173 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8174 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8175 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8176 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8177
8178 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8179
8180 * window.el (window--state-get-1): Workaround for bug#14527.
8181 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8182
8183 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8184
8185 * net/eww.el (eww-back-url): Implement the history by stashing all
8186 the data into a list.
8187 (eww-forward-url): Allow going forward in the history, too.
8188
8189 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8190
8191 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8192 for values and use read--expression for expressions (bug#14710).
8193 (read-file-local-variable): Avoid setq.
8194 (read-file-local-variable-mode): Use minor-mode-list.
8195
8196 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8197
8198 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8199 for DOI URLs.
8200
8201 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8202
8203 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8204 Update imenu-support when dialect changes.
8205
8206 2013-06-25 Leo Liu <sdl.web@gmail.com>
8207
8208 * ido.el (ido-read-internal): Allow forward slash on windows.
8209
8210 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8211
8212 * net/eww.el (eww): Start of strings is \\`, not ^.
8213
8214 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8215
8216 * net/shr.el (shr-browse-url): Fix interactive spec.
8217
8218 * net/eww.el (eww): Add a trailing slash to domain names.
8219
8220 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8221
8222 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8223
8224 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8225
8226 * net/shr.el (shr-browse-url): Use an external browser if given a
8227 prefix.
8228
8229 * net/eww.el (eww-external-browser): Move to shr.
8230
8231 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8232
8233 * net/eww.el (eww): Work more correctly for file: URLs.
8234 (eww-detect-charset): Allow quoted charsets.
8235 (eww-yank-page-url): New command and keystroke.
8236
8237 2013-06-24 Daiki Ueno <ueno@gnu.org>
8238
8239 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8240 file name of gpg executable.
8241 (epg-context-program): New function.
8242 (epg-context-home-directory): New function.
8243 (epg-context-set-program): New function.
8244 (epg-context-set-home-directory): New function.
8245 (epg--start): Use `epg-context-program' instead of
8246 'epg-gpg-program'.
8247 (epg--list-keys-1): Likewise.
8248
8249 2013-06-24 Leo Liu <sdl.web@gmail.com>
8250
8251 * ido.el (ido-read-internal): Fix bug#14620.
8252
8253 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8254
8255 * faces.el (face-documentation): Simplify.
8256 (read-face-attribute, tty-find-type, x-resolve-font-name):
8257 Use `string-match-p'.
8258 (list-faces-display): Use `string-match-p'. Simplify.
8259 (face-spec-recalc): Check face to avoid face alias loops.
8260 (read-color): Use `string-match-p' and non-capturing parenthesis.
8261
8262 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8263
8264 * net/shr.el (shr-rescale-image): Use the new
8265 :max-width/:max-height functionality.
8266
8267 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8268
8269 * net/eww.el (eww-search-prefix): New variable.
8270 (eww): Use it.
8271 (eww-external-browser): New variable.
8272 (eww-mode-map): New keystroke.
8273 (eww-browse-with-external-browser): New command.
8274
8275 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8276
8277 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8278
8279 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8280 Don't skip aligning the next header field when padding is 0;
8281 otherwise, field width is not respected unless the title is as
8282 wide as the field.
8283
8284 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * emacs-lisp/package.el (package-el-version): Remove.
8287 (package-process-define-package): Fix inf-loop.
8288 (package-install): Allow symbols as arguments again.
8289
8290 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8291
8292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8293 add some more keyword-like methods.
8294 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8295
8296 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * bs.el (bs-buffer-show-mark): Make defvar-local.
8299 (bs-mode): Use setq-local.
8300
8301 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8302 (emacs-lock--try-unlocking): Make defvar-local.
8303
8304 2013-06-22 Glenn Morris <rgm@gnu.org>
8305
8306 * play/cookie1.el (cookie-apropos): Minor simplification.
8307
8308 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8309
8310 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8311
8312 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8313 `regexp-opt', it breaks the build during dumping.
8314
8315 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8316
8317 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8318 Highlight keyword-like methods on Kernel and Module with
8319 font-lock-builtin-face.
8320 (auto-mode-alist): Consolidate different entries into one regexp
8321 and add more *file-s.
8322
8323 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8324
8325 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8326
8327 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8328 (diary-entry): Use it in the action of this button type instead of
8329 diary-goto-entry.
8330
8331 * calendar/todo-mode.el: New version.
8332 (todo-add-category): Append new category to end of file and give
8333 it the highest number, instead of putting it at the beginning and
8334 giving it 0. Incorporate noninteractive functionality.
8335 (todo-forward-category): Adapt to 1-based category numbering.
8336 Allow skipping over archived categories.
8337 (todo-backward-category): Derive from todo-forward-category.
8338 (todo-backward-item, todo-forward-item): Make noninteractive and
8339 delegate interactive part to new commands. Make sensitive to done items.
8340 (todo-categories): Make value an alist of category names and
8341 vectors of item counts.
8342 (todo-category-beg): Make a defconst.
8343 (todo-category-number): Use 1 instead of 0 as initial value.
8344 (todo-category-select): Make sensitive to overlays, optional item
8345 highlighting and done items.
8346 (todo-delete-item): Make sensitive to overlays and marked and done items.
8347 (todo-edit-item): Make sensitive to overlays and editing of
8348 date/time header optional. Add format checks.
8349 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8350 no-op if point is not on an item. Advertise using todo-edit-quit.
8351 (todo-edit-mode): Make sensitive to new format, font-locking, and
8352 multiple todo files.
8353 (todo-insert-item, todo-insert-item-here): Derive from
8354 todo-basic-insert-item and extend functionality.
8355 (todo-item-end, todo-item-start): Make sensitive to done items.
8356 (todo-item-string): Don't return text properties. Restore point.
8357 (todo-jump-to-category): Make sensitive to multiple todo files and
8358 todo archives. Use extended category completion.
8359 (todo-lower-item, todo-raise-item): Rename to *-priority and
8360 derive from todo-set-item-priority.
8361 (todo-mode): Derive from special-mode. Make sensitive to new
8362 format, font-locking and multiple todo files. Make read-only.
8363 (todo-mode-map): Don't suppress digit keys, so they can supply
8364 prefix arguments. Add many new key bindings.
8365 (todo-prefix): Insert as an overlay instead of file text.
8366 Change semantics from diary date expression to purely visual mark.
8367 (todo-print): Rename to todo-print-buffer. Make buffer display
8368 features printable. Remove option to restrict number of items
8369 printed. Add option to print to file.
8370 (todo-print-function): Rename to todo-print-buffer-function.
8371 (todo-quit): Extend to handle exiting new todo modes.
8372 (todo-remove-item): Make sensitive to overlays.
8373 (todo-save): Extend to buffers of filtered items.
8374 (todo-show): Make sensitive to done items, multiple todo files and
8375 new todo modes. Offer to convert legacy todo file before creating
8376 first new todo file.
8377 (todo-show-priorities): Rename to todo-top-priorities.
8378 Change semantics of value 0.
8379 (todo-top-priorities): Rename to todo-filter-top-priorities,
8380 derive from todo-filter-items and extend functionality.
8381 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8382 and extend functionality to other types of filtered items.
8383 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8384 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8385 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8386 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8387 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8388 (todo-edit-mode-hook, todo-entry-prefix-function)
8389 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8390 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8391 (todo-initials, todo-insert-threshold, todo-item-string-start)
8392 (todo-line-string, todo-menu, todo-mode-hook)
8393 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8394 (todo-print-priorities, todo-remove-separator)
8395 (todo-save-top-priorities-too, todo-string-count-lines)
8396 (todo-string-multiline-p, todo-time-string-format)
8397 (todo-tmp-buffer-name): Remove.
8398 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8399 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8400 (todo-edit-category-diary-inclusion)
8401 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8402 (todo-edit-file, todo-edit-item-date-day)
8403 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8404 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8405 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8406 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8407 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8408 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8409 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8410 (todo-filter-top-priorities-multifile, todo-find-archive)
8411 (todo-find-filtered-items-file, todo-go-to-source-item)
8412 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8413 (todo-jump-to-archive-category, todo-lower-category)
8414 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8415 (todo-move-category, todo-move-item, todo-next-button)
8416 (todo-next-item, todo-padded-string, todo-powerset)
8417 (todo-previous-button, todo-previous-item)
8418 (todo-print-buffer-to-file, todo-raise-category)
8419 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8420 (todo-set-category-number, todo-set-item-priority)
8421 (todo-set-top-priorities-in-category)
8422 (todo-set-top-priorities-in-file, todo-show-categories-table)
8423 (todo-sort-categories-alphabetically-or-numerically)
8424 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8425 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8426 (todo-toggle-item-header, todo-toggle-item-highlighting)
8427 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8428 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8429 (todo-unarchive-items, todo-unmark-category): New commands.
8430 (todo-absolute-file-name, todo-add-to-buffer-list)
8431 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8432 (todo-basic-insert-item, todo-category-completions)
8433 (todo-category-number, todo-category-string-matcher-1)
8434 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8435 (todo-check-format, todo-clear-matches)
8436 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8437 (todo-current-category, todo-date-string-matcher)
8438 (todo-define-insertion-command, todo-diary-expired-matcher)
8439 (todo-diary-goto-entry, todo-diary-item-p)
8440 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8441 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8442 (todo-done-item-section-p, todo-done-separator)
8443 (todo-done-string-matcher, todo-files, todo-filter-items)
8444 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8445 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8446 (todo-insert-category-line, todo-insert-item-from-calendar)
8447 (todo-insert-sort-button, todo-insert-with-overlays)
8448 (todo-insertion-command-name, todo-insertion-key-bindings)
8449 (todo-label-to-key, todo-longest-category-name-length)
8450 (todo-make-categories-list, todo-mode-external-set)
8451 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8452 (todo-modes-set-3, todo-multiple-filter-files)
8453 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8454 (todo-read-category, todo-read-date, todo-read-dayname)
8455 (todo-read-file-name, todo-read-time)
8456 (todo-reevaluate-category-completions-files-defcustom)
8457 (todo-reevaluate-default-file-defcustom)
8458 (todo-reevaluate-filelist-defcustoms)
8459 (todo-reevaluate-filter-files-defcustom)
8460 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8461 (todo-reset-done-separator, todo-reset-done-separator-string)
8462 (todo-reset-done-string, todo-reset-global-current-todo-file)
8463 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8464 (todo-reset-prefix, todo-set-categories)
8465 (todo-set-date-from-calendar, todo-set-show-current-file)
8466 (todo-set-top-priorities, todo-short-file-name)
8467 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8468 (todo-total-item-counts, todo-update-buffer-list)
8469 (todo-update-categories-display, todo-update-categories-sexp)
8470 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8471 New functions.
8472 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8473 New major modes.
8474 (todo-categories, todo-display, todo-edit, todo-faces)
8475 (todo-filtered): New defgroups.
8476 (todo-archived-only, todo-button, todo-category-string, todo-date)
8477 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8478 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8479 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8480 (todo-add-item-if-new-category, todo-always-add-time-string)
8481 (todo-categories-align, todo-categories-archived-label)
8482 (todo-categories-category-label, todo-categories-diary-label)
8483 (todo-categories-done-label, todo-categories-number-separator)
8484 (todo-categories-todo-label, todo-categories-totals-label)
8485 (todo-category-completions-files, todo-completion-ignore-case)
8486 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8487 (todo-done-separator-string, todo-done-string)
8488 (todo-files-function, todo-filter-done-items, todo-filter-files)
8489 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8490 (todo-initial-category, todo-initial-file, todo-item-mark)
8491 (todo-legacy-date-time-regexp, todo-mode-line-function)
8492 (todo-nondiary-marker, todo-number-prefix)
8493 (todo-print-buffer-function, todo-show-current-file)
8494 (todo-show-done-only, todo-show-first, todo-show-with-done)
8495 (todo-skip-archived-categories, todo-top-priorities-overrides)
8496 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8497 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8498 New defcustoms.
8499 (todo-category-done, todo-date-pattern, todo-date-string-start)
8500 (todo-diary-items-buffer, todo-done-string-start)
8501 (todo-filtered-items-buffer, todo-item-start)
8502 (todo-month-abbrev-array, todo-month-name-array)
8503 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8504 (todo-top-priorities-buffer): New defconsts.
8505 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8506 (todo-categories-with-marks, todo-category-string-face)
8507 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8508 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8509 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8510 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8511 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8512 (todo-font-lock-keywords, todo-global-current-todo-file)
8513 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8514 (todo-insertion-commands-args)
8515 (todo-insertion-commands-args-genlist)
8516 (todo-insertion-commands-names, todo-insertion-map)
8517 (todo-key-bindings-t, todo-key-bindings-t+a)
8518 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8519 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8520 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8521 (todo-visited): New variables.
8522
8523 2013-06-21 Glenn Morris <rgm@gnu.org>
8524
8525 * play/cookie1.el (cookie-apropos): Add optional display argument.
8526 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8527 (psychoanalyze-pinhead): Use cookie-doctor.
8528
8529 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8530
8531 * emacs-lisp/package.el (tar-get-file-descriptor)
8532 (tar--extract): Declare.
8533
8534 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8535
8536 Extend flymake's warning predicate to be a function (bug#14217).
8537 * progmodes/flymake.el (flymake-warning-predicate): New.
8538 (flymake-parse-line): Use it.
8539 (flymake-warning-re): Make obsolete alias to
8540 `flymake-warning-predicate'.
8541
8542 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8543
8544 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8545 (package-obsolete-list): Remove.
8546 (package-activate): Remove min-version argument. Add `force' argument.
8547 Adjust to new package-alist format.
8548 (package-mark-obsolete): Remove.
8549 (package-unpack): Force reload of the package's autoloads.
8550 (package-installed-p): Check builtins if the installed package is not
8551 recent enough.
8552 (package-initialize): Don't reset package-obsolete-list.
8553 Don't specify which package version to activate.
8554 (package-process-define-package, describe-package-1)
8555 (package-menu--generate): Adjust to new package-alist format.
8556
8557 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8558
8559 * allout-widgets.el (allout-widgets-mode-off)
8560 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8561 (allout-widgets-post-command-business)
8562 (allout-widgets-after-copy-or-kill-function)
8563 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8564 (allout-decorate-item-and-context)
8565 (allout-graphics-modification-handler): Fix typos in docstrings.
8566 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8567
8568 * cmuscheme.el (scheme-start-file): Doc fix.
8569 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8570 (scheme-input-filter): Use `string-match-p'.
8571
8572 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8573
8574 * dired-x.el: Use Dired consistently in docstrings.
8575
8576 * dired.el: Use Dired consistently in docstrings.
8577 (dired-readin, dired-mode): Use `setq-local'.
8578 (dired-switches-alist): Make defvar-local.
8579 (dired-buffers-for-dir): Use `zerop'.
8580 (dired-safe-switches-p, dired-switches-escape-p)
8581 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8582 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8583 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8584 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8585 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8586 (dired-toggle-marks, dired-mark-files-containing-regexp)
8587 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8588 (dired-flag-auto-save-files, dired-flag-backup-files):
8589 Use `looking-at-p'.
8590 (dired-mark-files-regexp, dired-build-subdir-alist):
8591 Use `string-match-p', `looking-at-p'.
8592
8593 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8594 (direct-print-region-helper): Use `string-match-p'.
8595
8596 2013-06-21 Leo Liu <sdl.web@gmail.com>
8597
8598 * comint.el (comint-redirect-results-list-from-process):
8599 Fix infinite loop.
8600
8601 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8602
8603 * net/eww.el (eww-update-header-line-format): Quote % characters.
8604
8605 2013-06-21 Glenn Morris <rgm@gnu.org>
8606
8607 * play/cookie1.el (cookie): New custom group.
8608 (cookie-file): New option.
8609 (cookie-check-file): New function.
8610 (cookie): Make it interactive. Make start and end messages optional.
8611 Interactively, display the result. Default to cookie-file.
8612 (cookie-insert): Default to cookie-file.
8613 (cookie-snarf): Make start and end messages optional.
8614 Default to cookie-file. Use with-temp-buffer.
8615 (cookie-read): Rename from read-cookie.
8616 Make start and end messages optional. Default to cookie-file.
8617 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8618 Do not autoload it.
8619 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8620 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8621
8622 2013-06-21 Leo Liu <sdl.web@gmail.com>
8623
8624 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8625
8626 2013-06-21 Glenn Morris <rgm@gnu.org>
8627
8628 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8629
8630 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8631 Daniel Hackney <dan@haxney.org>
8632
8633 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8634 Consolidate the single-file vs tarball code.
8635 (package-desc-suffix): New function.
8636 (package-desc-full-name): Don't bother inlining it.
8637 (package-load-descriptor): Return the new package-desc.
8638 (package-mark-obsolete): Remove unused arg `package'.
8639 (package-unpack): Make it work for single files as well.
8640 Make it update package-alist.
8641 (package--make-autoloads-and-stuff): Rename from
8642 package--make-autoloads-and-compile. Don't compile any more.
8643 (package--compile): New function.
8644 (package-generate-description-file): New function, extracted from
8645 package-unpack-single.
8646 (package-unpack-single): Remove.
8647 (package--with-work-buffer): Add indentation and debugging info.
8648 (package-download-single): Remove.
8649 (package-install-from-archive): Rename from package-download-tar, make
8650 it take a pkg-desc, and make it work for single files as well.
8651 (package-download-transaction): Simplify.
8652 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8653 external tar program.
8654 (package-install-from-buffer): Remove `pkg-desc' argument.
8655 Use package-tar-file-info for tar-mode buffers.
8656 (package-install-file): Simplify accordingly.
8657 (package-archive-base): Change to take a pkg-desc.
8658 * tar-mode.el (tar--check-descriptor): New function, extracted from
8659 tar-get-descriptor.
8660 (tar-get-descriptor): Use it.
8661 (tar-get-file-descriptor): New function.
8662 (tar--extract): New function, extracted from tar-extract.
8663 (tar--extract): Use it.
8664 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8665 case the summary uses non-ascii. Adjust to new calling convention of
8666 package-tar-file-info.
8667
8668 2013-06-21 Leo Liu <sdl.web@gmail.com>
8669
8670 * comint.el (comint-redirect-results-list-from-process):
8671 Fix random delay. (Bug#14681)
8672
8673 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * profiler.el (profiler-format-number): Use log, not log10.
8676
8677 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8678
8679 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8680
8681 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8684 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8685 yet available.
8686 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8687 (AUTOGENEL): ... here.
8688 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8689 (cl--defsubst-expand): Use it.
8690
8691 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8692
8693 * subr.el (log10): Move here from C code, and declare as obsolete.
8694 All uses of (log10 X) replaced with (log X 10).
8695
8696 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8697
8698 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8699 Declare with `defvar-local'.
8700 (tabulated-list-use-header-line, tabulated-list-entries)
8701 (tabulated-list-padding, tabulated-list-printer)
8702 (tabulated-list-sort-key): Declare with `defvar-local'.
8703 (tabulated-list-init-header, tabulated-list-print-fake-header):
8704 Use `setq-local'.
8705
8706 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8707
8708 * arc-mode.el (archive-mode): Add `archive-write-file' to
8709 `write-contents-functions' also for remote files. (Bug#14652)
8710
8711 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8712
8713 * cus-edit.el (custom-commands): Fix typos.
8714 (custom-display): Fix tooltip text.
8715 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8716 Fix typos in docstrings.
8717 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8718 (custom-unlispify-menu-entry, custom-magic-value-create)
8719 (custom-add-see-also, custom-group-value-create): Use ?\s.
8720 (custom-guess-type, customize-apropos, editable-field)
8721 (custom-face-value-create): Use `string-match-p'.
8722 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8723
8724 * custom.el (custom-load-symbol): Use `string-match-p'.
8725
8726 * ansi-color.el: Convert to lexical binding.
8727 (ansi-colors): Fix URL.
8728 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8729 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8730 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8731
8732 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8733
8734 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8735
8736 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8737
8738 2013-06-19 Tom Tromey <tromey@redhat.com>
8739
8740 * net/eww.el (eww-top-url): Remove.
8741 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8742 (eww-render): Set new variables. Don't set eww-top-url.
8743 (eww-handle-link): Handle "prev", "home", and "contents".
8744 Downcase the rel text.
8745 (eww-top-url): Choose best top URL.
8746
8747 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8748
8749 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8750 relying in widget.el. Using widget.el leads to too many
8751 user interface inconsistencies.
8752 (eww-self-insert): Implement entering commands in text fields.
8753 (eww-process-text-input): New function to make text input field editing
8754 work.
8755 (eww-submit): Rewrite to use the new-style form methods.
8756 (eww-select-display): Display the correct selected item.
8757 (eww-change-select): Implement changing the select value.
8758 (eww-toggle-checkbox): Implement radio/checkboxes.
8759 (eww-update-field): Fix compilation error.
8760 (eww-tag-textarea): Implement <textarea>.
8761
8762 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8763 we don't shadow mode-specific bindings.
8764
8765 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8766 nothing to push.
8767
8768 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8769
8770 2013-06-19 Glenn Morris <rgm@gnu.org>
8771
8772 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8773
8774 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8775
8776 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8777 not needed.
8778
8779 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8780
8781 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8782
8783 * net/browse-url.el (browse-url-browser-function):
8784 `eww-browse-url' has the right calling signature, `eww' does not.
8785
8786 2013-06-19 Glenn Morris <rgm@gnu.org>
8787
8788 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8789 Only eval autoloaded macros.
8790 (byte-compile-autoload): Only give the macro warning for macros.
8791
8792 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8793 (ps-underlined-faces): Declare.
8794
8795 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8796 (speedbar-add-supported-extension): Declare.
8797
8798 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8799 Don't include a date stamp in the header of the generated file;
8800 it leads to needless differences between output files.
8801
8802 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8803
8804 * net/secrets.el (secrets-struct-secret-content-type):
8805 Replace check of introspection data by a test call of "CreateItem".
8806 Some servers do not offer introspection.
8807
8808 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * electric.el (electric-pair-mode): Improve interaction with
8811 electric-layout-mode.
8812 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8813 (electric-pair-syntax): Use text-mode-syntax-table in comments
8814 and strings.
8815 (electric-pair--insert): New function.
8816 (electric-pair-post-self-insert-function): Use it and
8817 electric--after-char-pos.
8818
8819 2013-06-19 Leo Liu <sdl.web@gmail.com>
8820
8821 * progmodes/octave.el (octave-help): Fix regexp.
8822
8823 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8824
8825 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8826 (shr-table-horizontal-line): Allow nil as a value, and change the
8827 default.
8828 (shr-insert-table-ruler): Respect the nil value.
8829
8830 2013-06-18 Tom Tromey <tromey@barimba>
8831
8832 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8833 New defvars.
8834 (eww-open-file): New defun.
8835 (eww-render): Initialize new variables.
8836 (eww-display-html): Handle "link" and "a".
8837 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8838 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8839 (eww-back-url): Rename from eww-previous-url.
8840 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8841 New defuns.
8842
8843 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8844
8845 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8846 Distinguish ternary operator tokens from slash symbol and slash
8847 char literal.
8848
8849 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8850
8851 Convert symbol prettification into minor mode and global minor mode.
8852
8853 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8854 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8855 (prettify-symbols--keywords): Rename from
8856 `prog-prettify-symbols-alist' and make a local defvar.
8857 (prettify-symbols--compose-symbol): Rename from
8858 `prog--prettify-font-lock-compose-symbol'.
8859 (prettify-symbols--make-keywords): Rename from
8860 `prog-prettify-font-lock-symbols-keywords' and simplify.
8861 (prog-prettify-install): Remove.
8862 (prettify-symbols-mode): New minor mode, based on
8863 `prog-prettify-install'.
8864 (turn-on-prettify-symbols-mode): New function.
8865 (global-prettify-symbols-mode): New globalized minor mode.
8866
8867 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8868 * progmodes/cfengine.el (cfengine3-mode):
8869 * progmodes/perl-mode.el (perl-mode): Don't call
8870 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8871
8872 2013-06-18 Juri Linkov <juri@jurta.org>
8873
8874 * files-x.el (modify-file-local-variable-message): New function.
8875 (modify-file-local-variable)
8876 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8877 and call `modify-file-local-variable-message' when it's non-nil.
8878 (add-file-local-variable, delete-file-local-variable)
8879 (add-file-local-variable-prop-line)
8880 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8881 and use it. (Bug#9820)
8882
8883 2013-06-18 Juri Linkov <juri@jurta.org>
8884
8885 * emulation/vi.el (vi-shell-op):
8886 * emulation/vip.el (vip-execute-com, ex-command):
8887 * emulation/viper-cmd.el (viper-exec-bang):
8888 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8889 the call of `shell-command-on-region'. (Bug#14637)
8890
8891 * simple.el (shell-command-on-region): Doc fix.
8892
8893 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8896 (bug#14633).
8897
8898 2013-06-18 Glenn Morris <rgm@gnu.org>
8899
8900 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8901
8902 * newcomment.el (comment-search-forward, comment-search-backward):
8903 Doc fix. (Bug#14376)
8904
8905 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8906
8907 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8908 (buffer-face-mode-invoke): Doc fix.
8909
8910 2013-06-18 Matthias Meulien <orontee@gmail.com>
8911
8912 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8913 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8914
8915 2013-06-18 Glenn Morris <rgm@gnu.org>
8916
8917 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8918 Replace obsolete function generic-make-keywords with its expansion.
8919
8920 * progmodes/python.el (ffap-alist): Declare.
8921
8922 * textmodes/reftex.el (bibtex-mode-map): Declare.
8923
8924 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8927 (package-unpack, package-unpack-single): Return the pkg-dir.
8928 (package-download-transaction): Use it to update package-alist.
8929
8930 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931
8932 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8933 possible choice.
8934
8935 2013-06-17 Juri Linkov <juri@jurta.org>
8936
8937 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8938
8939 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8940
8941 * emacs-lisp/package.el (package-load-descriptor):
8942 Remove `with-syntax-table' call, `read' doesn't need it.
8943 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8944
8945 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8946
8947 * startup.el (command-line): Expand package name returned by
8948 `package--description-file' (bug#14639).
8949
8950 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8951
8952 * emacs-lisp/package.el (package-load-descriptor): Do not call
8953 `emacs-lisp-mode', just use its syntax table.
8954
8955 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8956
8957 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8958 `font-lock-extra-managed-props' if any prettifying keyword is added.
8959 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8960 (prog-mode): Use `setq-local'.
8961
8962 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * international/characters.el (standard-case-table): Set syntax of ?»
8965 and ?« to punctuation.
8966
8967 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8968
8969 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8970 Save relevant match data before calling `syntax-ppss' (bug#14595).
8971
8972 2013-06-15 Juri Linkov <juri@jurta.org>
8973
8974 * files-x.el (modify-file-local-variable-prop-line): Add local
8975 variables to the end of the existing comment on the first line.
8976 Use `file-auto-mode-skip' to skip interpreter magic line,
8977 and also skip XML declaration.
8978
8979 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * startup.el (package--builtin-versions): New var.
8982 (package-subdirectory-regexp): Remove.
8983 (package--description-file): Hard code its value instead.
8984
8985 * emacs-lisp/package.el: Don't activate packages older than builtin.
8986 (package-obsolete-list): Rename from package-obsolete-alist, and make
8987 it into a simple list of package-desc.
8988 (package-strip-version): Remove.
8989 (package-built-in-p): Use package--builtin-versions.
8990 (package-mark-obsolete): Simplify.
8991 (package-process-define-package): Mark it obsolete if older than the
8992 builtin version.
8993 (package-handle-response): Use line-end-position.
8994 (package-read-archive-contents, package--download-one-archive):
8995 Simplify.
8996 (package--add-to-archive-contents): Skip if older than the builtin or
8997 installed version.
8998 (package-menu-describe-package): Fix last change.
8999 (package-list-unversioned): New var.
9000 (package-menu--generate): Use it.
9001
9002 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9003 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9004 (autoload-builtin-package-versions): New variable.
9005 (autoload-generate-file-autoloads): Use them.
9006 Remove the list of autoloaded functions/macros from the
9007 (autoload...) comments.
9008
9009 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9010
9011 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9012
9013 * simple.el (line-move-partial): Don't jump to the next screen
9014 line as soon as it becomes visible. Instead, continue enlarging
9015 the vscroll until the portion of a tall screen line that's left on
9016 display is about the height of the frame's default font.
9017 (Bug#14567)
9018
9019 2013-06-15 Glenn Morris <rgm@gnu.org>
9020
9021 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9022 compilation-error-regexp-alist void, or local while let-bound.
9023
9024 * progmodes/make-mode.el (makefile-mode-syntax-table):
9025 Treat "=" as punctuation. (Bug#14614)
9026
9027 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9028
9029 * help-fns.el (describe-variable):
9030 Add extra line for permanent-local variables.
9031
9032 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9033
9034 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9035 Add export, import, library. (Bug#9164)
9036 (library): Set indent function.
9037
9038 2013-06-14 Glenn Morris <rgm@gnu.org>
9039
9040 * term/xterm.el (xterm--query):
9041 Stop after first matching handler. (Bug#14615)
9042
9043 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9044
9045 Add support for dired in saveplace.
9046 * dired.el (dired-initial-position-hook): New variable.
9047 (dired-initial-position): Call hook to place cursor position.
9048 * saveplace.el (save-place-to-alist): Add dired position.
9049 (save-place-dired-hook): New function.
9050
9051 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9052
9053 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9054 through a symbol rather than letrec.
9055
9056 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9057 (package-desc): Add `dir' field.
9058 (package-desc-full-name): New function.
9059 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9060 (package-maybe-load-descriptor): Remove.
9061 (package-load-all-descriptors): Just call package-load-descriptor.
9062 (package--disabled-p): New function.
9063 (package-desc-vers, package-desc-doc): Remove aliases.
9064 (package--dir): Remove function.
9065 (package-activate): Check if a package is disabled.
9066 (package-process-define-package): New function, extracted from
9067 define-package.
9068 (define-package): Turn into a place holder.
9069 (package-unpack-single, package-tar-file-info):
9070 Use package--description-file.
9071 (package-compute-transaction): Use package--disabled-p.
9072 (package-download-transaction): Don't call
9073 package-maybe-load-descriptor since they're all loaded anyway.
9074 (package-install): Change argument to be a pkg-desc.
9075 (package-delete): Use a single pkg-desc argument.
9076 (describe-package-1): Use package-desc-dir instead of package--dir.
9077 Use package-desc property instead of package-symbol.
9078 (package-install-button-action): Adjust accordingly.
9079 (package--push): Rewrite.
9080 (package-menu--print-info): Adjust accordingly. Change the ID format
9081 to be a pkg-desc.
9082 (package-menu-describe-package, package-menu-get-status)
9083 (package-menu--find-upgrades, package-menu-mark-upgrades)
9084 (package-menu-execute, package-menu--name-predicate):
9085 Adjust accordingly.
9086 * startup.el (package--description-file): New function.
9087 (command-line): Use it.
9088 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9089 Use package-desc-version.
9090
9091 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9092 (byte-compile-preprocess): Use it.
9093 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9094 can't quite recognize.
9095 (byte-compile-add-to-list): Remove.
9096 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9097 (cconv-closure-convert): Add assertion.
9098
9099 * emacs-lisp/map-ynp.el: Use lexical-binding.
9100 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9101 Factor out some repeated code.
9102
9103 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * subr.el (with-eval-after-load): New macro.
9106 (eval-after-load): Allow form to be a function.
9107 take advantage of lexical-binding.
9108 (do-after-load-evaluation): Use dolist and adjust to new format.
9109 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9110
9111 2013-06-13 Juri Linkov <juri@jurta.org>
9112
9113 * replace.el (perform-replace): Display "symbol " and other search
9114 modes from `isearch-message-prefix' in the *Help* buffer.
9115
9116 * isearch.el (isearch-query-replace): Add " symbol" and other
9117 possible search modes from `isearch-message-prefix' to the prompt.
9118 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9119 when reading a regexp to collect.
9120
9121 2013-06-13 Juri Linkov <juri@jurta.org>
9122
9123 * isearch.el (word-search-regexp): Match whitespace if the search
9124 string begins or ends in whitespace. The LAX arg is applied to
9125 both ends of the search string. Use `regexp-quote' and explicit
9126 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9127 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9128 boundaries are replaced with symbol boundaries, and characters
9129 between symbols match non-word non-symbol syntax. (Bug#14602)
9130
9131 2013-06-13 Juri Linkov <juri@jurta.org>
9132
9133 * isearch.el (isearch-del-char): Don't exceed the length of
9134 `isearch-string' by the prefix arg. (Bug#14563)
9135
9136 2013-06-13 Juri Linkov <juri@jurta.org>
9137
9138 * isearch.el (isearch-yank-word, isearch-yank-line)
9139 (isearch-char-by-name, isearch-quote-char)
9140 (isearch-printing-char, isearch-process-search-char):
9141 Add optional count prefix arg. (Bug#14563)
9142
9143 * international/isearch-x.el
9144 (isearch-process-search-multibyte-characters):
9145 Add optional count prefix arg.
9146
9147 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9150 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9151 lexical-binding.
9152
9153 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9154
9155 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9156
9157 2013-06-13 Glenn Morris <rgm@gnu.org>
9158
9159 * startup.el (tty-handle-args):
9160 Don't just discard "--" and anything after. (Bug#14608)
9161
9162 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9163
9164 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9165
9166 Implement changes in Secret Service API. Make it backward compatible.
9167 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9168 (secrets-create-item): Use it. Prefix properties with interface.
9169
9170 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9171
9172 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9173 (term-emulate-terminal): Respect term-suppress-hard-newline.
9174
9175 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9176
9177 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9178 Only remove a `thumb-file' overlay. (Bug#14548)
9179
9180 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9181
9182 * mail/reporter.el (reporter-submit-bug-report):
9183 Handle missing package-name. (Bug#14600)
9184
9185 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9186
9187 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9188 (reftex-citation-prompt, reftex-default-bibliography)
9189 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9190 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9191 (reftex-bib-sort-author, reftex-bib-sort-year)
9192 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9193 (reftex-extract-bib-entries-from-thebibliography)
9194 (reftex-get-bibkey-default, reftex-get-bib-names)
9195 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9196 (reftex-format-bib-entry, reftex-parse-bibitem)
9197 (reftex-format-bibitem, reftex-do-citation)
9198 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9199 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9200 (reftex-insert-bib-matches, reftex-format-citation)
9201 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9202 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9203 existing comments into docstrings.
9204
9205 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9206
9207 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9208
9209 2013-06-12 Andreas Schwab <schwab@suse.de>
9210
9211 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9212 for auto-save files.
9213
9214 2013-06-12 Glenn Morris <rgm@gnu.org>
9215
9216 * ido.el (ido-delete-ignored-files): Remove.
9217 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9218 Go back to calling ido-ignore-item-p directly.
9219
9220 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9221
9222 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9223
9224 * ido.el (ido-delete-ignored-files): New function,
9225 split from ido-make-file-list-1.
9226 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9227 (ido-make-file-list-1): Use ido-delete-ignored-files.
9228
9229 2013-06-12 Leo Liu <sdl.web@gmail.com>
9230
9231 * progmodes/octave.el (inferior-octave-startup)
9232 (inferior-octave-completion-table)
9233 (inferior-octave-track-window-width-change)
9234 (octave-eldoc-function-signatures, octave-help)
9235 (octave-find-definition): Use single quoted strings.
9236 (inferior-octave-startup-args): Change default value.
9237 (inferior-octave-startup): Do not hard code "-i" and
9238 "--no-line-editing".
9239 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9240 (inferior-octave-directory-tracker): Use it.
9241 (octave-goto-function-definition): Robustify.
9242 (octave-help): Support highlighting operators in 'See also'.
9243 (octave-find-definition): Find subfunctions only in Octave mode.
9244
9245 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9246
9247 * help-fns.el (help-fns--compiler-macro): If the handler function is
9248 named, then put a link to it.
9249 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9250 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9251 (cl-typep): Use it.
9252 (cl-eval-when): Simplify debug spec.
9253 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9254 compiler-macro function instead of setting `compiler-macro-file'.
9255
9256 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9257
9258 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9259 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9260
9261 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9262 Daniel Hackney <dan@haxney.org>
9263
9264 First part of Daniel Hackney's patch to package.el.
9265 * emacs-lisp/package.el: Use defstruct.
9266 (package-desc): New, main struct.
9267 (package--bi-desc, package--ac-desc): New structs, used to describe the
9268 format in external files.
9269 (package-desc-vers): Replace with package-desc-version accessor.
9270 (package-desc-doc): Replace with package-desc-summary accessor.
9271 (package-activate-1): Remove `package' arg since the pkg-vec now
9272 includes the name.
9273 (define-package): Use package-desc-from-define.
9274 (package-unpack-single): Change file-name arg to be a symbol.
9275 (package--add-to-archive-contents): Use package-desc-create and new
9276 accessor functions to package--ac-desc.
9277 (package-buffer-info, package-tar-file-info): Return a package-desc.
9278 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9279 arg to be a package-desc.
9280 (package-install-file): Adjust accordingly. Use \' to match EOS.
9281 (package--from-builtin): New function.
9282 (describe-package-1, package-menu--generate): Use it.
9283 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9284 (package-generate-autoloads): Idem and return the name of the file.
9285 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9286 Change pkg-info arg to be a package-desc.
9287 Use package-make-ac-desc.
9288 (package-upload-file): Use \' to match EOS.
9289 * finder.el (finder-compile-keywords): Use package-make-builtin.
9290
9291 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * vc/vc.el (vc-deduce-fileset): Change error message.
9294 (vc-read-backend): New function.
9295 (vc-next-action): Use it.
9296
9297 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9298
9299 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9300 (prolog-font-lock-keywords): Use regexp-opt instead.
9301 Don't manually highlight strings.
9302 (prolog-mode-variables): Simplify comment-start-skip.
9303 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9304
9305 * emacs-lisp/generic.el (generic--normalise-comments)
9306 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9307 (generic-mode-set-comments): Use them.
9308 (generic-bracket-support): Use setq-local.
9309 (generic-make-keywords-list): Declare obsolete.
9310
9311 2013-06-11 Glenn Morris <rgm@gnu.org>
9312
9313 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9314 Prettify after setting font-lock-defaults. (Bug#14574)
9315
9316 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9317
9318 * replace.el (query-replace, occur-read-regexp-defaults-function)
9319 (replace-search):
9320 * subr.el (declare-function, number-sequence, local-set-key)
9321 (substitute-key-definition, locate-user-emacs-file)
9322 (with-silent-modifications, split-string, eval-after-load):
9323 Fix typos, remove unneeded backslashes and reflow some docstrings.
9324
9325 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9328 default for Elisp files.
9329
9330 2013-06-11 Glenn Morris <rgm@gnu.org>
9331
9332 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9333 although define-derived-mode was doing this anyway. (Bug#14583)
9334
9335 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9336
9337 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9338 Fix make-variable-buffer-local call to refer to the correct variable.
9339
9340 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9341
9342 * eshell/em-term.el (eshell-visual-commands)
9343 (eshell-visual-subcommands, eshell-visual-options):
9344 Add summary line to docstrings. Add cross-references.
9345
9346 2013-06-10 Glenn Morris <rgm@gnu.org>
9347
9348 * epa.el (epa-read-file-name): New function. (Bug#14510)
9349 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9350
9351 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9352
9353 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9354 output redirection to be ignored with visual commands.
9355
9356 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9357
9358 * eshell/em-term.el (eshell-visual-command-p): New function.
9359 (eshell-term-initialize): Move long lambda to separate function
9360 eshell-visual-command-p.
9361 * eshell/em-dirs.el (eshell-dirs-initialise):
9362 * eshell/em-script.el (eshell-script-initialize):
9363 Add missing #' to lambda.
9364
9365 2013-06-08 Leo Liu <sdl.web@gmail.com>
9366
9367 * progmodes/octave.el (octave-add-log-current-defun): New function.
9368 (octave-mode): Set add-log-current-defun-function.
9369 (octave-goto-function-definition): Do not move point if not found.
9370 (octave-find-definition): Enhance to try subfunctions first.
9371
9372 2013-06-08 Glenn Morris <rgm@gnu.org>
9373
9374 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9375 (byte-compile-backward-char, byte-compile-backward-word):
9376 Improve previous change, to handle non-explicit nil.
9377
9378 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9381 (smie--opener/closer-at-point): New function.
9382 (smie--matching-block-data): Use it. Don't match from right after an
9383 opener or right before a closer. Obey smie-blink-matching-inners.
9384 Don't signal a mismatch for repeated inners like "switch..case..case".
9385
9386 2013-06-07 Leo Liu <sdl.web@gmail.com>
9387
9388 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9389 to t. (Bug#14303)
9390 (octave-function-header-regexp): Fix. (Bug#14570)
9391 (octave-help-mode-finish-hook, octave-help-mode-finish):
9392 Remove. Just use temp-buffer-show-hook.
9393
9394 * newcomment.el (comment-search-backward): Revert last change.
9395 (Bug#14434)
9396
9397 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9398
9399 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9400
9401 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9402 through xargs, to avoid failure due to MS-Windows limitations on
9403 command-line length.
9404
9405 2013-06-06 Glenn Morris <rgm@gnu.org>
9406
9407 * font-lock.el (lisp-font-lock-keywords-2):
9408 Treat user-error like error.
9409
9410 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9411 (byte-compile-backward-char, byte-compile-backward-word):
9412 Handle explicit nil arguments. (Bug#14565)
9413
9414 2013-06-05 Alan Mackenzie <acm@muc.de>
9415
9416 * isearch.el (isearch-allow-prefix): New user option.
9417 (isearch-other-meta-char): Don't exit isearch when a prefix
9418 argument is typed whilst `isearch-allow-prefix' is non-nil.
9419 (Bug#9706)
9420
9421 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * autorevert.el (auto-revert-notify-handler): Use memq.
9424 Hide assertion failure.
9425
9426 * skeleton.el: Use cl-lib.
9427 (skeleton-further-elements): Use defvar-local.
9428 (skeleton-insert): Use cl-progv.
9429
9430 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9431
9432 * progmodes/prog-mode.el (prog-prettify-symbols)
9433 (prog-prettify-install): Update docstrings.
9434
9435 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9436
9437 * simple.el: Move all the prog-mode code to prog-mode.el.
9438 * progmodes/prog-mode.el: New file.
9439 * loadup.el: Add prog-mode.el.
9440
9441 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9442
9443 * simple.el (prog-prettify-symbols): Add version.
9444 (prog-prettify-install): Add convenience function to prettify symbols.
9445
9446 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9447 (perl--augmented-font-lock-keywords-1)
9448 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9449 variables and use it.
9450
9451 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9452 (cfengine3-mode): Remove unneeded variable and use it.
9453
9454 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9455 (lisp--augmented-font-lock-keywords-1)
9456 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9457 Remove unneeded variables and use it.
9458
9459 2013-06-05 João Távora <joaotavora@gmail.com>
9460
9461 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9462 to point when opening the connection. (Bug#14380)
9463
9464 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * subr.el (load-history-regexp, load-history-filename-element)
9467 (eval-after-load, after-load-functions, do-after-load-evaluation)
9468 (eval-next-after-load, display-delayed-warnings)
9469 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9470 definition of save-match-data.
9471 (overriding-local-map): Remove accidental obsolescence declaration.
9472
9473 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9474
9475 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9476
9477 Generalize symbol prettify support to prog-mode and implement it
9478 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9479 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9480 (prog--prettify-font-lock-compose-symbol)
9481 (prog-prettify-font-lock-symbols-keywords): New variables and
9482 functions to support symbol prettification.
9483 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9484 (lisp--augmented-font-lock-keywords-1)
9485 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9486 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9487 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9488 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9489 Implement prettify of -> => :: strings.
9490 * progmodes/perl-mode.el (perl-prettify-symbols)
9491 (perl--font-lock-compose-symbol)
9492 (perl--font-lock-symbols-keywords): Move to prog-mode.
9493 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9494 (perl-font-lock-keywords-1)
9495 (perl-font-lock-keywords-2): Remove explicit prettify support.
9496 (perl--augmented-font-lock-keywords)
9497 (perl--augmented-font-lock-keywords-1)
9498 (perl--augmented-font-lock-keywords-2, perl-mode):
9499 Implement prettify support.
9500
9501 2013-06-05 Leo Liu <sdl.web@gmail.com>
9502
9503 Re-implement smie matching block highlight using
9504 show-paren-data-function. (Bug#14395)
9505 * emacs-lisp/smie.el (smie-matching-block-highlight)
9506 (smie--highlight-matching-block-overlay)
9507 (smie--highlight-matching-block-lastpos)
9508 (smie-highlight-matching-block)
9509 (smie-highlight-matching-block-mode): Remove.
9510 (smie--matching-block-data-cache): New variable.
9511 (smie--matching-block-data): New function.
9512 (smie-setup): Use smie--matching-block-data for
9513 show-paren-data-function.
9514
9515 * progmodes/octave.el (octave-mode-menu): Fix.
9516 (octave-find-definition): Skip garbage lines.
9517
9518 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9519
9520 Fix compilation error with simultaneous dynamic+lexical scoping.
9521 Add warning when a defvar appears after the first let-binding.
9522 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9523 (byte-compile-close-variables): Initialize it.
9524 (byte-compile--declare-var): New function.
9525 (byte-compile-file-form-defvar)
9526 (byte-compile-file-form-define-abbrev-table)
9527 (byte-compile-file-form-custom-declare-variable): Use it.
9528 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9529 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9530 (byte-compile-bind): Handle dynamic bindings that shadow
9531 lexical bindings.
9532 (byte-compile-unbind): Make arg non-optional.
9533 (byte-compile-let): Simplify.
9534 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9535 (cconv--analyse-function, cconv-analyse-form): Populate it.
9536 Protect byte-compile-bound-variables to limit the scope of defvars.
9537 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9538 Remove unneeded rule for `declare'.
9539
9540 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9541 so as to avoid depending on cl-adjoin at run-time.
9542 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9543
9544 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9545 (macroexp--warn-and-return): Use it.
9546
9547 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * subr.el: Convert to lexical binding.
9550 (overriding-local-map): Make obsolete.
9551 (add-to-list): Doc fix. Add compiler macro.
9552 (read-key): Swap values of local maps.
9553
9554 2013-06-05 Leo Liu <sdl.web@gmail.com>
9555
9556 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9557
9558 2013-06-04 Leo Liu <sdl.web@gmail.com>
9559
9560 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9561 (compilation-auto-jump): Suppress the "Mark set" message to give
9562 way to exit message.
9563
9564 2013-06-04 Alan Mackenzie <acm@muc.de>
9565
9566 Remove faulty optimisation from indentation calculation.
9567 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9568 search limit based on 2000 characters back from indent-point.
9569
9570 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9571
9572 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9573
9574 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * emacs-lisp/lisp.el: Use lexical-binding.
9577 (lisp--local-variables-1, lisp--local-variables): New functions.
9578 (lisp--local-variables-completion-table): New var.
9579 (lisp-completion-at-point): Use it complete let-bound vars.
9580
9581 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9582 eagerly (bug#14422).
9583
9584 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9585
9586 * autorevert.el (auto-revert-notify-enabled)
9587 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9588 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9589 (auto-revert-notify-handler): Handle also gfilenotify.
9590
9591 * subr.el (file-notify-handle-event): New defun. Replacing ...
9592 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9593 Remove.
9594
9595 2013-06-03 Juri Linkov <juri@jurta.org>
9596
9597 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9598 `M-s h .'. (Bug#14427)
9599
9600 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9601 command `hi-lock-face-symbol-at-point'.
9602 (hi-lock-face-symbol-at-point): New command.
9603 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9604 (hi-lock-menu): Add `highlight-symbol-at-point'.
9605 (hi-lock-mode): Doc fix.
9606
9607 * isearch.el (isearch-forward-symbol-at-point): New command.
9608 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9609 (isearch-highlight-regexp): Add a regexp which matches
9610 words/symbols for word/symbol mode.
9611
9612 * subr.el (find-tag-default-bounds): New function with the body
9613 mostly moved from `find-tag-default'.
9614 (find-tag-default): Move most code to `find-tag-default-bounds',
9615 call it and apply `buffer-substring-no-properties' afterwards.
9616
9617 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9618
9619 * eshell/em-term.el (eshell-term-initialize):
9620 Use `cl-intersection' rather than `intersection'.
9621
9622 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9623
9624 * vc/log-view.el: Doc fix.
9625 (log-view-mode-map): Copy keymap from `special-mode-map'.
9626
9627 2013-06-02 Eric Ludlam <zappo@gnu.org>
9628
9629 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9630 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9631 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9632 (eieio-unbound, eieio-default-superclass)
9633 (eieio--define-field-accessors, method-static, method-before)
9634 (method-primary, method-after, method-num-lists)
9635 (method-generic-before, method-generic-primary)
9636 (method-generic-after, method-num-slots)
9637 (eieio-specialized-key-to-generic-key)
9638 (eieio--check-type, class-v, class-p)
9639 (eieio-class-name, define-obsolete-function-alias)
9640 (eieio-class-parents-fast, eieio-class-children-fast)
9641 (same-class-fast-p, class-constructor, generic-p)
9642 (generic-primary-only-p, generic-primary-only-one-p)
9643 (class-option-assoc, class-option, eieio-object-p)
9644 (class-abstract-p, class-method-invocation-order)
9645 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9646 (eieio-class-un-autoload, eieio-defclass)
9647 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9648 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9649 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9650 (eieio-defgeneric-reset-generic-form)
9651 (eieio-defgeneric-form-primary-only)
9652 (eieio-defgeneric-reset-generic-form-primary-only)
9653 (eieio-defgeneric-form-primary-only-one)
9654 (eieio-defgeneric-reset-generic-form-primary-only-one)
9655 (eieio-unbind-method-implementations)
9656 (eieio--defmethod, eieio--typep)
9657 (eieio-perform-slot-validation, eieio-validate-slot-value)
9658 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9659 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9660 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9661 (eieio-slot-name-index, eieio-class-slot-name-index)
9662 (eieio-set-defaults, eieio-initarg-to-attribute)
9663 (eieio-attribute-to-initarg, eieio-c3-candidate)
9664 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9665 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9666 (eieio-class-precedence-list, eieio-generic-call-methodname)
9667 (eieio-generic-call-arglst, eieio-generic-call-key)
9668 (eieio-generic-call-next-method-list)
9669 (eieio-pre-method-execution-functions, eieio-generic-call)
9670 (eieio-generic-call-primary-only, eieiomt-method-list)
9671 (eieiomt-optimizing-obarray, eieiomt-install)
9672 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9673 (eieio-generic-form, eieio-defmethod, make-obsolete)
9674 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9675 (defclass): Remove `eval-and-compile' from macro.
9676 (call-next-method, shared-initialize): Instead of using
9677 `scoped-class' variable, use new eieio--scoped-class, and
9678 eieio--with-scoped-class.
9679 (initialize-instance): Rename local variable 'scoped-class' to
9680 'this-class' to remove ambiguitity from old global.
9681
9682 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9683 eieio.el.
9684 (eieio--scoped-class-stack): New variable.
9685 (eieio--scoped-class): New fcn.
9686 (eieio--with-scoped-class): New scoping macro.
9687 (eieio-defclass): Use pushnew instead of add-to-list.
9688 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9689 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9690 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9691 `scoped-class' variable, use new eieio--scoped-class, and
9692 eieio--with-scoped-class.
9693
9694 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9695
9696 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9697
9698 * eshell/esh-ext.el (eshell-external-command): Pass args to
9699 `eshell-find-interpreter'.
9700 (eshell-find-interpreter): Add new second parameter ARGS.
9701
9702 * eshell/em-script.el (eshell-script-initialize): Add second arg
9703 to the function added as MATCH to `eshell-interpreter-alist'.
9704
9705 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9706 the function added as MATCH to `eshell-interpreter-alist'.
9707
9708 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9709 (eshell-visual-options): New defcustom.
9710 (eshell-escape-control-x): Adapt docstring.
9711 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9712 `eshell-visual-options' in addition to `eshell-visual-commands'.
9713 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9714
9715 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9716
9717 * progmodes/python.el (python-indent-block-enders): Add break,
9718 continue and raise keywords.
9719
9720 2013-06-01 Glenn Morris <rgm@gnu.org>
9721
9722 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9723
9724 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9725 * progmodes/cc-cmds.el (delete-forward-p):
9726 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9727 * progmodes/cc-engine.el (buffer-syntactic-context):
9728 * progmodes/cc-fonts.el (face-property-instance):
9729 * progmodes/cc-mode.el (set-keymap-parents):
9730 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9731 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9732 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9733 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9734 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9735
9736 * progmodes/cc-vars.el (other): Emacs has this widget since
9737 at least 21.1, so don't (re)define it.
9738
9739 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9740 Replace the obsolete alias pcomplete-arg-quote-list.
9741
9742 2013-06-01 Leo Liu <sdl.web@gmail.com>
9743
9744 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9745 punctuation syntax.
9746 (inferior-octave-minimal-columns)
9747 (inferior-octave-last-column-width): New variables.
9748 (inferior-octave-track-window-width-change): New function.
9749 (inferior-octave-mode): Adjust column width so that Octave output,
9750 for example from 'ls', can fit into the window nicely.
9751
9752 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9753
9754 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9755 Highlight expansions inside regexp literals.
9756
9757 2013-05-31 Glenn Morris <rgm@gnu.org>
9758
9759 * obsolete/sym-comp.el (symbol-complete):
9760 Replace obsolete completion-annotate-function.
9761
9762 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9763
9764 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9765
9766 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9767 New function, checks if point is inside a literal that allows
9768 expression expansion.
9769 (ruby-syntax-propertize-expansion): Use it.
9770 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9771 around the body.
9772
9773 2013-05-30 Juri Linkov <juri@jurta.org>
9774
9775 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9776 to "\M-si".
9777 (isearch-invisible): New variable.
9778 (isearch-forward): Doc fix.
9779 (isearch-mode): Set `isearch-invisible'
9780 to the value of `search-invisible'.
9781 (isearch-toggle-case-fold): Doc fix.
9782 (isearch-toggle-invisible): New command.
9783 (isearch-query-replace): Let-bind `search-invisible'
9784 to the value of `isearch-invisible'.
9785 (isearch-search): Use `isearch-invisible' instead of
9786 `search-invisible'. Let-bind `search-invisible'
9787 to the value of `isearch-invisible'. (Bug#11378)
9788
9789 2013-05-30 Juri Linkov <juri@jurta.org>
9790
9791 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9792 call when `query-flag' is nil and `search-invisible' is non-nil.
9793 (Bug#11746)
9794
9795 2013-05-30 Glenn Morris <rgm@gnu.org>
9796
9797 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9798
9799 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9800 (cc-require): Suppress spurious "noruntime" warnings.
9801 (cc-require-when-compile): Use fboundp, for sake of compiler.
9802
9803 * progmodes/cc-mode.el: Move load of cc-vars before that of
9804 cc-langs (which in turn loads cc-vars), to quieten compiler.
9805
9806 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * paren.el: Simplify the code.
9809 (show-paren-mode): Always start the timer.
9810 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9811 (show-paren--overlay, show-paren--overlay-1): Rename from
9812 show-paren-overlay and show-paren-overlay-1, and initialize to an
9813 overlay rather than to nil.
9814 (show-paren-function): Misc cleanup and simplifications.
9815
9816 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9817
9818 * paren.el (show-paren-data-function): New hook.
9819 (show-paren--default): New function, extracted from show-paren-function.
9820 (show-paren-function): Use show-paren-data-function.
9821
9822 2013-05-30 Glenn Morris <rgm@gnu.org>
9823
9824 * ielm.el (ielm-map, ielm-complete-symbol):
9825 Use completion-at-point rather than obsolete functions.
9826 (inferior-emacs-lisp-mode): Doc fix.
9827 Set completion-at-point-functions, rather than
9828 comint-dynamic-complete-functions.
9829
9830 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9831 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9832 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9833
9834 * image.el (image-animated-p): Tweak definition.
9835
9836 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9837 (rlogin-process-connection-type): Tweak default. Add set-after.
9838 (rlogin-host): Doc fix.
9839 (rlogin): Tweak prompt.
9840 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9841
9842 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9843 * progmodes/tcl.el (inferior-tcl-mode-map):
9844 Use completion-at-point rather than obsolete alias.
9845
9846 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9847
9848 * minibuffer.el (read-file-name-completion-ignore-case):
9849 Move before completion--in-region, for eager macro expansion.
9850
9851 2013-05-29 Juri Linkov <juri@jurta.org>
9852
9853 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9854 for total count of matching lines. Add `global-matches' for total
9855 count of matches. Rename `matches' to `lines' for count of
9856 matching lines. Add `matches' for count of matches.
9857 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9858 to `prev-line' for line number of prev match endpt.
9859 Increment `matches' for every match. Print the number of
9860 matching lines in the header.
9861 (occur-context-lines): Rename `lines' to `curr-line'.
9862 Rename `prev-lines' to `prev-line'. (Bug#14017)
9863
9864 2013-05-29 Juri Linkov <juri@jurta.org>
9865
9866 * replace.el (perform-replace): Add `skip-read-only-count',
9867 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9868 Increment them for corresponding conditions and report the number
9869 of skipped occurrences in the final message. (Bug#11746)
9870 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9871 (replace-string, replace-regexp): Doc fix.
9872
9873 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9876
9877 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9878 prog-mode-map (bug#14504).
9879
9880 2013-05-29 Leo Liu <sdl.web@gmail.com>
9881
9882 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9883 (octave-help): Small simplification.
9884
9885 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9886 off the highlight first.
9887
9888 2013-05-29 Glenn Morris <rgm@gnu.org>
9889
9890 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9891 Handle idlwave-last-system-routine-info-cons-cell being nil.
9892
9893 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9894 (idlwave-write-paths): Simplify via with-temp-buffer.
9895
9896 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9897 * emulation/cua-rect.el: Also load cua-base at run time.
9898
9899 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9900 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9901 (cperl-imenu-on-info): Require imenu.
9902
9903 2013-05-28 Alan Mackenzie <acm@muc.de>
9904
9905 Handle "capitalised keywords" correctly.
9906 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9907
9908 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9909
9910 * eshell/em-unix.el: Add -r option to cp.
9911
9912 2013-05-28 Glenn Morris <rgm@gnu.org>
9913
9914 * vc/vc-arch.el (vc-exec-after): Declare.
9915 (vc-switches): Autoload.
9916 * vc/vc-bzr.el: No need to require vc when compiling.
9917 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9918 (vc-resynch-buffer, vc-dir-refresh): Declare.
9919 (vc-setup-buffer, vc-switches): Autoload.
9920 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9921 (vc-resynch-buffer): Declare.
9922 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9923 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9924 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9925 (grep-read-regexp, grep-read-files, grep-expand-template)
9926 (vc-dir-refresh): Declare.
9927 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9928 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9929 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9930 * vc/vc-mtn.el (vc-exec-after): Declare.
9931 (vc-switches): Autoload.
9932 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9933 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9934 (vc-file-tree-walk): Declare.
9935 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9936 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9937 (vc-tag-precondition, vc-rename-master): Autoload.
9938 * vc/vc-svn.el (vc-exec-after): Declare.
9939 (vc-switches, vc-setup-buffer): Autoload.
9940 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9941 Autoload.
9942 (vc-resynch-buffer): Declare.
9943
9944 * obsolete/fast-lock.el (byte-compile-warnings):
9945 Don't warn about obsolete features in this obsolete file.
9946
9947 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9948 Move definition before use.
9949
9950 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9951 (dun-unix-verbs): Remove dun-zippy.
9952 (dun-zippy): Remove function.
9953
9954 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9955
9956 2013-05-27 Juri Linkov <juri@jurta.org>
9957
9958 * replace.el (replace-search): New function with code moved out
9959 from `perform-replace'.
9960 (replace-highlight, replace-dehighlight): Move function definitions
9961 up closer to `replace-search'. (Bug#11746)
9962
9963 2013-05-27 Juri Linkov <juri@jurta.org>
9964
9965 * replace.el (perform-replace): Ignore invisible matches.
9966 In addition to checking `query-replace-skip-read-only', also
9967 filter out matches by calling `run-hook-with-args-until-failure'
9968 on `isearch-filter-predicates', and also check `search-invisible'
9969 for t or call `isearch-range-invisible'.
9970 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9971
9972 2013-05-27 Juri Linkov <juri@jurta.org>
9973
9974 * isearch.el (isearch-filter-predicates): Rename from
9975 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9976 (isearch-message-prefix): Display text from the property
9977 `isearch-message-prefix' of the currently active filters.
9978 (isearch-search): Don't compare `isearch-filter-predicate' with
9979 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9980 on `isearch-filter-predicates'. Also check `search-invisible' for t
9981 or call `isearch-range-invisible'.
9982 (isearch-filter-visible): Make obsolete.
9983 (isearch-lazy-highlight-search):
9984 Call `run-hook-with-args-until-failure' on
9985 `isearch-filter-predicates' and use `isearch-range-invisible'.
9986
9987 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9988 `isearch-filter-predicates' instead of `funcall'ing
9989 `isearch-filter-predicate'.
9990 (Info-mode): Set `Info-isearch-filter' to
9991 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9992
9993 * dired-aux.el (dired-isearch-filter-predicate-orig):
9994 Remove variable.
9995 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9996 (dired-isearch-filenames-end): Add and remove
9997 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9998 instead of changing the value of `isearch-filter-predicate'.
9999 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10000 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10001 Put property `isearch-message-prefix' to "filename " on
10002 `dired-isearch-filter-filenames'.
10003
10004 * wdired.el (wdired-change-to-wdired-mode):
10005 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10006 locally instead of changing `isearch-filter-predicate'.
10007 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10008
10009 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10010
10011 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10012 return the commit hash (Bug#14459). Also set the
10013 `vc-git-detached' property.
10014 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10015 (vc-git-mode-line-string): Use the same help-echo format whether
10016 in detached mode or not, because we know the actual revision now.
10017 When in detached mode, shorten the revision to 7 chars.
10018
10019 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * emacs-lisp/easy-mmode.el (define-minor-mode):
10022 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10023 mode hook and provide a docstring.
10024
10025 2013-05-27 Alan Mackenzie <acm@muc.de>
10026
10027 Remove spurious syntax-table text properties inserted by C-y.
10028 * progmodes/cc-mode.el (c-after-change): Also clear hard
10029 syntax-table property with value nil.
10030
10031 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10032
10033 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10034 when reading the events; the buffer layout shall not be changed.
10035
10036 2013-05-27 Leo Liu <sdl.web@gmail.com>
10037
10038 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10039 New variable.
10040 (inferior-octave-directory-tracker): Automatically re-sync
10041 default-directory.
10042 (octave-help): Improve handling of 'See also'.
10043
10044 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * doc-view.el: Minor naming convention tweaks.
10047 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10048
10049 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10050 even if there's no `display' property yet (bug#14435).
10051
10052 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10053
10054 * subr.el (unmsys--file-name): Rename from reveal-filename.
10055
10056 * Makefile.in (custom-deps, finder-data, autoloads)
10057 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10058 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10059 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10060
10061 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10062
10063 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10064 error-completion on the first 2 args of condition-case (bug#14446).
10065 Don't burp at EOB.
10066
10067 2013-05-25 Leo Liu <sdl.web@gmail.com>
10068
10069 * comint.el (comint-previous-matching-input): Do not flood the
10070 *Messages* buffer with trivial messages.
10071
10072 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * progmodes/flymake.el (flymake-nop): Don't return a string.
10075 (flymake-set-at): Fix typo.
10076
10077 * simple.el (read--expression): New function, extracted from
10078 eval-expression. Set completion-at-point-functions (bug#14465).
10079 (eval-expression, eval-minibuffer): Use it.
10080
10081 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10082
10083 * progmodes/flymake.el (flymake-save-buffer-in-file)
10084 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10085 (flymake-selected-frame, flymake-log, flymake-ins-after)
10086 (flymake-set-at, flymake-get-buildfile-from-cache)
10087 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10088 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10089 Refine the doc string.
10090 (flymake-get-file-name-mode-and-masks): Reformat.
10091 (flymake-get-real-file-name-function): Fix a minor bug.
10092
10093 2013-05-24 Juri Linkov <juri@jurta.org>
10094
10095 * progmodes/grep.el (grep-mode-font-lock-keywords):
10096 Support =linenumber= format used by git-grep for lines with
10097 function names. (Bug#13549)
10098
10099 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10102 0 after a semi-colon; it works better for smie-auto-fill.
10103 (octave--indent-new-comment-line): New function.
10104 (octave-indent-new-comment-line): Use it (indirectly).
10105 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10106 modify comment-line-break-function.
10107
10108 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10109 (smie-setup): Use add-function to set it.
10110
10111 2013-05-24 Sam Steingold <sds@gnu.org>
10112
10113 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10114 argument (before the `interactive' argument).
10115
10116 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 * image-mode.el (image-mode-winprops): Add winprops to
10119 image-mode-winprops-alist before running
10120 image-mode-new-window-functions.
10121 * doc-view.el (doc-view-new-window-function): Don't delay
10122 doc-view-goto-page via timers (bug#14435).
10123
10124 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10125
10126 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10127 (doc-view-desktop-save-buffer): New function.
10128 (doc-view-restore-desktop-buffer): New function.
10129 (desktop-buffer-mode-handlers):
10130 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10131 handler.
10132 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10133 `desktop-save-buffer' function.
10134
10135 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10138 (tramp-gvfs-file-name-handler): Raise a user error when
10139 `tramp-gvfs-enabled' is nil.
10140 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10141 Do not raise a user error when loading package. (Bug#14447)
10142
10143 * net/xesam.el: Move to obsolete/.
10144
10145 2013-05-24 Glenn Morris <rgm@gnu.org>
10146
10147 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10148
10149 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10150
10151 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10152 (Info-find-node, Man-getpage-in-background): Declare.
10153
10154 * mail/unrmail.el (unrmail):
10155 Replace obsolete detect-coding-with-priority.
10156
10157 * net/socks.el (socks-split-string): Use this rather than split-string.
10158 (socks-nslookup-host): Update for above change.
10159 (dynamic-choice, s5-dynamic-choice-match)
10160 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10161 Comment out unused code.
10162
10163 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10164 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10165 (gud-tooltip-echo-area): Make obsolete.
10166 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10167
10168 * progmodes/js.el (js--optimize-arglist): Declare.
10169
10170 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10171
10172 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10173 (ediff-window-C): Declare.
10174
10175 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10176 Tweak requires to silence compiler.
10177
10178 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10179 (he-search-string, he-tried-table, he-expand-list)
10180 (he-init-string, he-string-member, he-substitute-string)
10181 (he-reset-string): Declare.
10182
10183 * obsolete/options.el (list-options): Use custom-variable-p,
10184 rather than obsolete alias.
10185
10186 2013-05-23 Sam Steingold <sds@gnu.org>
10187
10188 * simple.el (shell-command-on-region): Pass the `replace' argument
10189 down to `call-process-region' to comply with the doc as reported on
10190 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10191
10192 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10193
10194 * emacs-lisp/smie.el (smie-indent-forward-token)
10195 (smie-indent-backward-token): Handle string tokens (bug#14381).
10196
10197 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10198
10199 * ielm.el (ielm-menu): New menu.
10200 (inferior-emacs-lisp-mode): Set comment-start.
10201
10202 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10203
10204 * textmodes/reftex.el (reftex-ref-style-toggle):
10205 Fix deactivate action.
10206
10207 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10208 Add cleveref macros.
10209
10210 * textmodes/reftex-parse.el
10211 (reftex-locate-bibliography-files): Accept options for
10212 bibliography commands.
10213 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10214 Add addbibresource. Basic Biblatex support.
10215
10216 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10217
10218 * net/tramp-gvfs.el (top):
10219 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10220 when loading package. (Bug#14447)
10221
10222 2013-05-23 Glenn Morris <rgm@gnu.org>
10223
10224 * progmodes/js.el: No need to load comint when compiling.
10225 (ring-insert, comint-send-string, comint-send-input)
10226 (comint-last-input-end, ido-chop): Declare.
10227
10228 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10229 * vc/ediff-mult.el: Adjust requires.
10230 (ediff-directories-internal, ediff-directory-revisions-internal)
10231 (ediff-patch-file-internal): Declare.
10232 * vc/ediff-ptch.el: Adjust requires.
10233 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10234 (ediff-find-file): Autoload.
10235 * vc/ediff-util.el: No need to load ediff when compiling.
10236 (ediff-regions-internal): Declare.
10237 * vc/ediff-wind.el: Adjust requires.
10238 (ediff-compute-toolbar-width): Define when compiling.
10239 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10240 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10241 (dired-get-filename, dired-get-marked-files)
10242 (ediff-last-dir-patch, ediff-patch-default-directory)
10243 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10244 (ediff-patch-buffer-internal): Declare.
10245
10246 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10247 (ispell-process, ispell-buffer-local-words, lm-summary)
10248 (lm-section-start, lm-section-end): Declare.
10249 (checkdoc-ispell-init): Simplify.
10250
10251 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10252 (he-string-member, he-reset-string, he-substitute-string): Declare.
10253
10254 * eshell/em-ls.el: Adjust requires.
10255 (eshell-glob-regexp): Declare.
10256 * eshell/em-tramp.el: Adjust requires.
10257 (eshell-parse-command): Autoload.
10258 * eshell/em-xtra.el: Adjust requires.
10259 (eshell-parse-command): Autoload.
10260 * eshell/esh-ext.el: Adjust requires.
10261 (eshell-parse-command, eshell-close-handles): Autoload.
10262 * eshell/esh-io.el: Adjust requires.
10263 (eshell-output-filter): Autoload.
10264 * eshell/esh-util.el: No need to load tramp when compiling.
10265 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10266 Declare.
10267 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10268 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10269 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10270 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10271 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10272 * eshell/esh-opt.el, eshell/esh-proc.el:
10273 * eshell/esh-var.el: Adjust requires.
10274 * eshell/eshell.el: Do not require esh-util twice.
10275 (eshell-add-input-to-history): Declare.
10276 (eshell-command): Check history module is active before using it.
10277
10278 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10279
10280 2013-05-22 Leo Liu <sdl.web@gmail.com>
10281
10282 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10283
10284 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10285
10286 * autorevert.el (auto-revert-notify-add-watch)
10287 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10288 it indicates changes in file modification time.
10289
10290 2013-05-22 Glenn Morris <rgm@gnu.org>
10291
10292 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10293 Always delete the autoloaded function from the noruntime and
10294 unresolved functions lists.
10295
10296 * allout.el: No need to load epa, epg, overlay when compiling.
10297 (epg-context-set-passphrase-callback, epg-list-keys)
10298 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10299 (epg-key-user-id-list): Declare.
10300
10301 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10302 (viper-set-parsing-style-toggling-macro)
10303 (viper-set-emacs-state-searchstyle-macros):
10304 Use called-interactively-p on Emacs.
10305 (viper-looking-back): Make it an obsolete alias. Update callers.
10306 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10307 Use looking-back rather than viper-looking-back.
10308 (viper-tmp-insert-at-eob, viper-enlarge-region)
10309 (viper-read-string-with-history, viper-register-to-point)
10310 (viper-append-to-register, viper-change-state-to-vi)
10311 (viper-backward-char-carefully, viper-forward-char-carefully)
10312 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10313 (viper-change-state-to-emacs): Declare.
10314 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10315 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10316 * emulation/viper-mous.el: Do not load viper-cmd.
10317 (viper-backward-char-carefully, viper-forward-char-carefully)
10318 (viper-forward-word, viper-adjust-window): Declare.
10319
10320 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10321
10322 * progmodes/idlw-help.el (idlwave-help-fontify):
10323 Use called-interactively-p.
10324
10325 * term/w32console.el (w32-get-console-codepage)
10326 (w32-get-console-output-codepage): Declare.
10327
10328 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10329 Remove unnecessary declarations.
10330 (dframe-message): Doc fix.
10331
10332 * info.el (dframe-select-attached-frame, dframe-current-frame):
10333 Declare.
10334
10335 * speedbar.el (speedbar-message): Make it an obsolete alias.
10336 Update all callers.
10337 (speedbar-with-attached-buffer)
10338 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10339 (speedbar-with-writable): Use backquote.
10340 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10341 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10342 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10343 rather than speedbar- aliases.
10344 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10345 (speedbar-make-specialized-keymap, speedbar-insert-button)
10346 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10347 (speedbar-do-function-pointer): Declare.
10348 (rmail-speedbar-button, rmail-speedbar-find-file)
10349 (rmail-speedbar-move-message):
10350 Use dframe-with-attached-buffer rather than speedbar- alias.
10351 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10352 (dframe-message, speedbar-make-specialized-keymap)
10353 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10354 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10355 (speedbar-insert-button, dframe-select-attached-frame)
10356 (dframe-maybee-jump-to-attached-frame)
10357 (speedbar-change-initial-expansion-list)
10358 (speedbar-previously-used-expansion-list-name): Declare.
10359 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10360 Use dframe-message, dframe-with-attached-buffer rather than
10361 speedbar- aliases.
10362 (gud-sentinel): Silence compiler.
10363 * progmodes/vhdl-mode.el (speedbar-refresh)
10364 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10365 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10366 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10367 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10368 (speedbar-file-lists, speedbar-make-tag-line)
10369 (speedbar-line-directory, speedbar-goto-this-file)
10370 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10371 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10372 (speedbar-make-button, speedbar-reset-scanners)
10373 (speedbar-files-item-info, speedbar-line-text)
10374 (speedbar-find-file-in-frame, speedbar-set-timer)
10375 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10376 (speedbar-with-writable): Do not (re)define it.
10377 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10378 rather than speedbar- alias.
10379
10380 2013-05-21 Leo Liu <sdl.web@gmail.com>
10381
10382 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10383 menu items.
10384 (octave-mode): Tweak fill-nobreak-predicate.
10385 (inferior-octave-startup): Check process to avoid infinite loop.
10386 (inferior-octave): Pop to buffer first to show abornmal process
10387 exit information.
10388
10389 2013-05-21 Glenn Morris <rgm@gnu.org>
10390
10391 * printing.el (pr-menu-bar): Define when compiling.
10392
10393 2013-05-21 Leo Liu <sdl.web@gmail.com>
10394
10395 * progmodes/octave.el (octave-auto-fill): Remove.
10396 (octave-indent-new-comment-line): Improve.
10397 (octave-mode): Use auto fill mode through
10398 comment-line-break-function and fill-nobreak-predicate.
10399 (octave-goto-function-definition): Support DEFUN_DLD.
10400 (octave-beginning-of-defun): Small tweak.
10401 (octave-help): Show parent directory.
10402
10403 2013-05-21 Glenn Morris <rgm@gnu.org>
10404
10405 * files.el (dired-unmark):
10406 * progmodes/gud.el (gdb-input): Update declarations.
10407
10408 * calculator.el (electric, ehelp): No need to load when compiling.
10409 (Electric-command-loop, electric-describe-mode): Declare.
10410
10411 * doc-view.el (doc-view-current-converter-processes): Move before use.
10412
10413 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10414 Move MODE-set-explicitly definition before use.
10415
10416 * international/mule-diag.el (mule-diag):
10417 Don't use obsolete window-system-version.
10418
10419 * mail/feedmail.el (smtpmail): No need to load when compiling.
10420 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10421
10422 * mail/mail-utils.el (rfc822): No need to load when compiling.
10423 (rfc822-addresses): Autoload it.
10424 (mail-strip-quoted-names): Trivial simplification.
10425
10426 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10427 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10428
10429 * net/snmp-mode.el (tempo): Don't duplicate requires.
10430
10431 * progmodes/prolog.el (info): No need to load when compiling.
10432 (comint): Require before shell requires it.
10433 (Info-goto-node): Autoload it.
10434 (Info-follow-nearest-node): Declare.
10435 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10436
10437 * textmodes/artist.el (picture-mode-exit): Declare.
10438
10439 * textmodes/reftex-parse.el (reftex-parse-from-file):
10440 Trivial rewrite so the compiler can parse it better.
10441
10442 2013-05-20 Leo Liu <sdl.web@gmail.com>
10443
10444 * progmodes/octave.el (octave-help-mode-map)
10445 (octave-help-mode-finish-hook): New variables.
10446 (octave-help-mode, octave-help-mode-finish): New functions.
10447 (octave-help): Use octave-help-mode.
10448
10449 2013-05-20 Glenn Morris <rgm@gnu.org>
10450
10451 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10452
10453 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10454
10455 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10456 start at point, so that expansion starting right after opening
10457 slash in a regexp is recognized.
10458 (ruby-syntax-before-regexp-re): New defvar, extracted from
10459 ruby-syntax-propertize-function. Since the value of this regexp
10460 is looked up at runtime now, we should be able to turn
10461 `ruby-syntax-methods-before-regexp' into a defcustom later.
10462 (ruby-syntax-propertize-function): Split regexp matching into two
10463 parts, for opening and closing slashes. That allows us to skip
10464 over string interpolations and support multiline regexps.
10465 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10466 for them, which calls `ruby-syntax-propertize-expansion'.
10467 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10468 call to `ruby-syntax-propertize-function'.
10469 (ruby-syntax-propertize-expansion): Extracted from
10470 `ruby-syntax-propertize-expansions'. Handles one expansion.
10471 (ruby-syntax-propertize-percent-literal): Leave point right after
10472 the percent symbol, so that the expression expansion rule can
10473 propertize the contents.
10474 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10475 heredoc openers.
10476 (ruby-syntax-propertize-expansions): Remove.
10477
10478 2013-05-18 Juri Linkov <juri@jurta.org>
10479
10480 * man.el (Man-default-man-entry): Remove `-' from the end
10481 of the default value. (Bug#14400)
10482
10483 2013-05-18 Glenn Morris <rgm@gnu.org>
10484
10485 * comint.el (comint-password-prompt-regexp):
10486 Allow "password for XXX" where XXX contains colons (eg https://...).
10487
10488 2013-05-18 Leo Liu <sdl.web@gmail.com>
10489
10490 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10491 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10492 (octave-source-directories): Don't check process.
10493 (octave-source-directories, octave-find-definition): Doc fix.
10494
10495 2013-05-18 Glenn Morris <rgm@gnu.org>
10496
10497 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10498 Remove backspace/delete bindings. (Bug#14392)
10499
10500 * cus-dep.el (custom-make-dependencies): Sort the output.
10501 (custom-versions-load-alist): Convert comment to doc.
10502
10503 2013-05-17 Leo Liu <sdl.web@gmail.com>
10504
10505 * newcomment.el (comment-search-backward): Stricter in finding
10506 comment start. (Bug#14303)
10507
10508 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10509 (octave-comment-start-skip): Properly anchored.
10510
10511 2013-05-17 Leo Liu <sdl.web@gmail.com>
10512
10513 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10514 Clean up when turned off. (Bug#14395)
10515 (smie--highlight-matching-block-overlay): No longer buffer-local.
10516 (smie-highlight-matching-block): Adjust.
10517
10518 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10519
10520 Doc string fix for "nanoseconds" (Bug#14406).
10521 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10522 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10523
10524 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10525
10526 * calc/calc-units.el (math-extract-units): Preserve powers
10527 of units.
10528
10529 2013-05-17 Leo Liu <sdl.web@gmail.com>
10530
10531 * subr.el (delete-consecutive-dups): New function.
10532 * ido.el (ido-set-matches-1): Use it.
10533 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10534 * ido.el (ido-remove-consecutive-dups): Remove.
10535
10536 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10539 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10540 regexp-opt's `words'.
10541
10542 2013-05-16 Leo Liu <sdl.web@gmail.com>
10543
10544 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10545 (smie--highlight-matching-block-overlay)
10546 (smie--highlight-matching-block-lastpos)
10547 (smie--highlight-matching-block-timer): New variables.
10548 (smie-highlight-matching-block): New function.
10549 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10550 (smie-setup): Conditionally enable smie-blink-matching-open.
10551
10552 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10553
10554 Sync with upstream verilog-mode r840.
10555 * progmodes/verilog-mode.el (verilog-mode-version)
10556 (verilog-mode-release-date): Update.
10557 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10558 (verilog-sig-tieoff): Fix string error on
10559 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10560 (verilog-read-decls): Fix parameters confusing
10561 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10562
10563 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10564
10565 * subr.el (reveal-filename): New function.
10566
10567 * loadup.el: Compute Emacs executable versions on MS-Windows,
10568 where executables have the .exe extension. Add a hard link
10569 emacs-XX.YY.ZZ.exe on MS-Windows.
10570
10571 * Makefile.in (XARGS_LIMIT): New variable.
10572 (custom-deps, finder-data, autoloads)
10573 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10574 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10575 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10576 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10577
10578 2013-05-16 Leo Liu <sdl.web@gmail.com>
10579
10580 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10581 (octave-mode-menu, octave-mode-map): Remove its uses.
10582
10583 2013-05-16 Reto Zimmermann <reto@gnu.org>
10584
10585 Sync with upstream vhdl mode v3.34.2.
10586 * progmodes/vhdl-mode.el: Use `push' throughout.
10587 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10588 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10589 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10590 (vhdl-actual-generic-name): New option to derive actual generic name.
10591 (vhdl-port-paste-signals): Replace formal by actual generics.
10592 (vhdl-beautify): New name for old group vhdl-align. Update users.
10593 (vhdl-beautify-options): New option.
10594 (vhdl-last-input-event): New compat alias. Use throughout.
10595 (vhdl-goto-line): Replace user level function `goto-line'.
10596 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10597 vhdl-fix-statement-buffer.
10598 (vhdl-create-mode-menu): Add some entries.
10599 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10600 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10601 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10602 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10603 to force statements on one line.
10604 (vhdl-remove-trailing-spaces-region):
10605 New, split from vhdl-remove-trailing-spaces.
10606 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10607 Respect vhdl-beautify-options.
10608 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10609 (vhdl-update-sensitivity-list): Not add with index if exists without.
10610 Not include array index with signal. Ignore keywords in comments.
10611 (vhdl-get-visible-signals): Regexp tweaks.
10612 (vhdl-template-component-inst): Handle empty library.
10613 (vhdl-template-type): Add template for 'enum' type.
10614 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10615 Use vhdl-replace-string.
10616 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10617 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10618 (vhdl-speedbar-initialize): Update for above name change.
10619 (vhdl-compose-wire-components): Fix in handling of constants.
10620 (vhdl-error-regexp-emacs-alist): New variable.
10621 (vhdl-error-regexp-add-emacs): New function;
10622 adds support for new compile.el (Emacs 22+)
10623 (vhdl-generate-makefile-1): Change target order for single lib. units.
10624 Allow use of absolute file names.
10625
10626 2013-05-16 Leo Liu <sdl.web@gmail.com>
10627
10628 * simple.el (prog-indent-sexp): Indent enclosing defun.
10629
10630 2013-05-15 Glenn Morris <rgm@gnu.org>
10631
10632 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10633 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10634 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10635 (whitespace-highlight): Move to whitespace group.
10636
10637 * comint.el (comint-source):
10638 * pcmpl-linux.el (pcmpl-linux):
10639 * shell.el (shell-faces):
10640 * eshell/esh-opt.el (eshell-opt):
10641 * international/ccl.el (ccl): Remove empty custom groups.
10642
10643 * completion.el (dynamic-completion-mode):
10644 * jit-lock.el (jit-lock-debug-mode):
10645 * minibuffer.el (completion-in-region-mode):
10646 * type-break.el (type-break-mode-line-message-mode)
10647 (type-break-query-mode):
10648 * emulation/tpu-edt.el (tpu-edt-mode):
10649 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10650 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10651 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10652
10653 * term/xterm.el (xterm): Change parent group to terminals.
10654
10655 * master.el (master): Remove empty custom group.
10656 (master-mode): Remove unused :group argument.
10657 * textmodes/refill.el (refill): Remove empty custom group.
10658 (refill-mode): Remove unused :group argument.
10659
10660 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10661
10662 * cus-dep.el: Provide a feature.
10663 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10664 Don't mistakenly ignore files whose basenames match a basename
10665 from preloaded-file-list (eg cedet/ede/simple.el).
10666 Add a fallback method for getting :group.
10667
10668 2013-05-15 Juri Linkov <juri@jurta.org>
10669
10670 * isearch.el (isearch-char-by-name): Rename from
10671 `isearch-insert-char-by-name'. Doc fix.
10672 (isearch-forward): Mention `isearch-char-by-name' in
10673 the docstring. (Bug#13348)
10674
10675 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10676 `exit-minibuffer' instead of
10677 `isearch-nonincremental-exit-minibuffer'.
10678 (isearch-edit-string): Remove mention of
10679 `isearch-nonincremental-exit-minibuffer' from docstring.
10680 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10681 (isearch-forward-exit-minibuffer)
10682 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10683
10684 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * loadup.el: Just use unversioned DOC.
10687
10688 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10689 literals as extending to EOB.
10690 (nxml-last-fontify-end): Remove unused variable.
10691 (nxml-after-change1): Use with-silent-modifications.
10692 (nxml-extend-after-change-region): Simplify.
10693 (nxml-extend-after-change-region1): Remove function.
10694 (nxml-after-change1): Don't adjust for dependent regions.
10695 (nxml-fontify-matcher): Simplify.
10696 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10697 (xmltok-add-dependent): Remove function.
10698 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10699 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10700 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10701 unclosed <[[, <?, comment, and other literals as extending to EOB.
10702 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10703 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10704 Remove functions.
10705 (rng-do-some-validation-1): Don't mark dependent regions.
10706 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10707 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10708 (nxml-clear-dependent-regions): Remove functions.
10709 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10710 (nxml-ensure-scan-up-to-date):
10711 Don't clear&mark dependent regions.
10712
10713 2013-05-15 Leo Liu <sdl.web@gmail.com>
10714
10715 * progmodes/octave.el (octave-goto-function-definition):
10716 Improve and fix callers.
10717
10718 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10719
10720 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10721 the setter (bug#14387).
10722
10723 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10724 surrounding group (bug#14402).
10725
10726 2013-05-14 Juri Linkov <juri@jurta.org>
10727
10728 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10729 (Bug#14390)
10730
10731 2013-05-14 Glenn Morris <rgm@gnu.org>
10732
10733 * progmodes/f90.el (f90-imenu-generic-expression):
10734 Fix typo in 2013-05-08 change. (Bug#14402)
10735
10736 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10737
10738 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10739 Remove signals for which replies are never received.
10740
10741 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10742
10743 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10744 (gdb-handler-alist, gdb-handler-number): Remove variables.
10745 (gdb-handler-list): New variable.
10746 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10747 (gdb-pending-handler-p, gdb-handle-reply)
10748 (gdb-remove-all-pending-triggers): New functions.
10749 (gdb-discard-unordered-replies): New defcustom.
10750 (gdb-handler): New defstruct.
10751 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10752 instead of gdb-pending-triggers. Update docstring.
10753 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10754 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10755 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10756 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10757 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10758 (gdb-frame-handler): Pending triggers are now automatically managed.
10759 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10760 Remove argument.
10761 (gdb-input): Automatically handles pending triggers. Update docstring.
10762 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10763 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10764 Update comments.
10765 (gdb-done-or-error): Now use gdb-handle-reply.
10766
10767 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10768
10769 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10770 gdb-debug-log.
10771
10772 2013-05-14 Glenn Morris <rgm@gnu.org>
10773
10774 * subr.el (user-emacs-directory-warning): New option.
10775 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10776
10777 2013-05-14 Leo Liu <sdl.web@gmail.com>
10778
10779 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10780 during redisplay.
10781 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10782 (octave-font-lock-texinfo-comment): Fix invalid search bound
10783 error: wrong side of point.
10784
10785 2013-05-14 Glenn Morris <rgm@gnu.org>
10786
10787 * progmodes/flymake.el (flymake-xml-program): New option.
10788 (flymake-xml-init): Use it.
10789
10790 * term/xterm.el: Provide a feature.
10791
10792 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10793
10794 2013-05-13 Glenn Morris <rgm@gnu.org>
10795
10796 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10797 Add compat aliases as a hack workaround. (Bug#14384)
10798
10799 2013-05-13 Leo Liu <sdl.web@gmail.com>
10800
10801 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10802 ###, and %!.
10803 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10804 C-M-q.
10805 (octave-comment-start-skip): Include %!.
10806 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10807
10808 2013-05-12 Leo Liu <sdl.web@gmail.com>
10809
10810 * progmodes/octave.el (inferior-octave-startup): Store the value
10811 of __octave_srcdir__ for octave-source-directories.
10812 (inferior-octave-check-process): New function refactored out of
10813 inferior-octave-send-list-and-digest.
10814 (octave-source-directories)
10815 (octave-find-definition-filename-function): New variables.
10816 (octave-source-directories)
10817 (octave-find-definition-default-filename): New functions.
10818 (octave-find-definition): Improve to find functions implemented in C++.
10819
10820 2013-05-12 Glenn Morris <rgm@gnu.org>
10821
10822 * calendar/diary-lib.el (diary-outlook-format-1):
10823 Don't include dayname in the output. (Bug#14349)
10824
10825 2013-05-11 Glenn Morris <rgm@gnu.org>
10826
10827 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10828
10829 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10830 Treat cc-provide like provide.
10831
10832 2013-05-11 Kevin Ryde <user42@zip.com.au>
10833
10834 * cus-dep.el (custom-make-dependencies):
10835 Use generated-autoload-load-name for the sake of files such
10836 such cedet/semantic/bovine/c.el, where the base file name
10837 is not in load-path. (Bug#5277)
10838
10839 2013-05-11 Glenn Morris <rgm@gnu.org>
10840
10841 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10842 Provide features.
10843
10844 2013-05-11 Leo Liu <sdl.web@gmail.com>
10845
10846 * progmodes/octave.el (octave-indent-comment): Improve.
10847 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10848 (octave-eldoc-function-signatures, octave-eldoc-function):
10849 New functions.
10850 (octave-mode, inferior-octave-mode): Add eldoc support.
10851
10852 2013-05-11 Richard Stallman <rms@gnu.org>
10853
10854 * epa.el (epa-decrypt-file): Take output file name as argument
10855 and read it using `interactive'.
10856
10857 2013-05-11 Leo Liu <sdl.web@gmail.com>
10858
10859 * progmodes/octave.el (octave-beginning-of-line)
10860 (octave-end-of-line): Check before using up-list because it jumps
10861 out of more syntactic contructs since moving to smie.
10862 (octave-indent-comment): New function.
10863 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10864 (octave-begin-keywords, octave-end-keywords)
10865 (octave-reserved-words, octave-smie-bnf-table)
10866 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10867
10868 2013-05-11 Glenn Morris <rgm@gnu.org>
10869
10870 * faces.el (internal-face-x-get-resource):
10871 * frame.el (ns-display-monitor-attributes-list):
10872 * calc/calc-aent.el (math-to-radians-2):
10873 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10874 Fix declarations.
10875
10876 * calc/calc-menu.el: Make it loadable in isolation.
10877
10878 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10879 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10880 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10881 (eudc-bbdb-query-internal): Require 'bbdb.
10882
10883 * lpr.el (lpr-headers-switches):
10884 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10885
10886 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10887
10888 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10889
10890 * term.el (term-set-escape-char): Make it idempotent.
10891
10892 2013-05-10 Leo Liu <sdl.web@gmail.com>
10893
10894 * progmodes/octave.el (inferior-octave-completion-table):
10895 No longer a function and all uses changed. Use cache to speed up
10896 completion due to bug#11906.
10897 (octave-beginning-of-defun): Re-write to be more general.
10898
10899 2013-05-10 Glenn Morris <rgm@gnu.org>
10900
10901 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10902
10903 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * comint.el (comint-redirect-send-command-to-process): Use :around
10906 rather than :override for comint-redirect-filter.
10907 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10908 Call it instead of comint-redirect-original-filter-function (which
10909 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10910
10911 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10912
10913 * frame.el (display-monitor-attributes-list): Add NS case.
10914 (ns-display-monitor-attributes-list): Declare.
10915
10916 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10917
10918 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10919
10920 2013-05-09 Glenn Morris <rgm@gnu.org>
10921
10922 * international/fontset.el (vertical-centering-font-regexp):
10923 Set standard-value.
10924
10925 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10926
10927 * bookmark.el (bookmark-search-delay):
10928 * cus-start.el (vertical-centering-font-regexp):
10929 * ps-mule.el (ps-mule-font-info-database-default):
10930 * ps-print.el (ps-default-fg, ps-default-bg):
10931 * type-break.el (type-break-good-break-interval):
10932 * whitespace.el (whitespace-indentation-regexp)
10933 (whitespace-space-after-tab-regexp):
10934 * emacs-lisp/testcover.el (testcover-1value-functions)
10935 (testcover-noreturn-functions, testcover-progn-functions)
10936 (testcover-prog1-functions):
10937 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10938 * eshell/em-glob.el (eshell-glob-translate-alist):
10939 * play/tetris.el (tetris-tty-colors):
10940 * progmodes/cpp.el (cpp-face-default-list):
10941 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10942 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10943 (idlwave-help-browser-generic-args):
10944 * progmodes/make-mode.el (makefile-special-targets-list):
10945 * progmodes/python.el (python-shell-virtualenv-path):
10946 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10947 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10948 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10949 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10950 * textmodes/reftex-vars.el (reftex-format-label-function):
10951 * textmodes/remember.el (remember-diary-file): Fix custom types.
10952
10953 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10954 Add :version.
10955
10956 2013-05-09 Leo Liu <sdl.web@gmail.com>
10957
10958 * progmodes/octave.el (inferior-octave-completion-at-point):
10959 Restore file completion. (Bug#14300)
10960 (inferior-octave-startup): Fix incorrect highlighting for the
10961 first prompt.
10962
10963 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * progmodes/ruby-mode.el: First cut at SMIE support.
10966 (ruby-use-smie): New var.
10967 (ruby-smie-grammar): New constant.
10968 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10969 (ruby-smie--forward-token, ruby-smie--backward-token)
10970 (ruby-smie-rules): New functions.
10971 (ruby-mode-variables): Setup SMIE if applicable.
10972
10973 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10974
10975 * simple.el (line-move-visual): Signal beginning/end of buffer
10976 only if vertical-motion moved less than it was requested. Avoids
10977 silly incorrect error messages when there are display strings with
10978 multiple newlines at EOL.
10979
10980 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10983 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10984 (prolog-char-quote-workaround):
10985 * progmodes/cperl-mode.el (cperl-under-as-char):
10986 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10987 Mark as obsolete.
10988 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10989 their declaration.
10990 (vhdl-mode-syntax-table-init): Remove.
10991
10992 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10993 last change.
10994
10995 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10996 syntax for "_".
10997 (ld-script-font-lock-keywords):
10998 Change regexps to use things like \_< and \_>.
10999
11000 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11001 Change all regexps to use things like \_< and \_>.
11002
11003 * progmodes/autoconf.el (autoconf-definition-regexp)
11004 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11005 Handle a _ with symbol syntax.
11006 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11007
11008 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11009 Consolidate declaration.
11010 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11011 the declaration.
11012 (ada-create-syntax-table): Remove.
11013 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11014 already has the right syntax nowadays.
11015 (ada-goto-next-word): Don't change the syntax of "_".
11016
11017 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11018 with-wrapper-hook.
11019
11020 2013-05-08 Sam Steingold <sds@gnu.org>
11021
11022 * thingatpt.el (thing-at-point): Accept optional second argument
11023 NO-PROPERTIES to strip the text properties from the return value.
11024 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11025 to `thing-at-point' instead of stripping the properties ourselves.
11026 Also, when `thing-at-point' fails to find a url, prepend "http://"
11027 to the filename at point on the assumption that the user is
11028 pointing at something like gnu.org/gnu.
11029
11030 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11031
11032 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11033 * faces.el (crm-separator):
11034 Silence byte-compiler.
11035
11036 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11037 (tool-bar-map): Remove unneeded defvars.
11038
11039 2013-05-08 Leo Liu <sdl.web@gmail.com>
11040
11041 Re-work a fix for bug#10994 based on Le Wang's patch.
11042 * ido.el (ido-remove-consecutive-dups): New helper.
11043 (ido-completing-read): Use it.
11044 (ido-chop): Revert fix for bug#10994.
11045
11046 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11047
11048 * cus-edit.el (custom-save-variables):
11049 Pretty-print long values. (Bug#14187)
11050
11051 2013-05-08 Glenn Morris <rgm@gnu.org>
11052
11053 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11054 (m4-mode-syntax-table): Init in the defvar.
11055 (m4-mode-abbrev-table): Let define-derived-mode define it.
11056
11057 2013-05-08 Tom Tromey <tromey@redhat.com>
11058
11059 * progmodes/m4-mode.el (m4-mode-syntax-table):
11060 Do not treat "_" as word constituent. (Bug#14167)
11061
11062 2013-05-07 Glenn Morris <rgm@gnu.org>
11063
11064 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11065 Remove explicit eshell-isearch-cancel-map.
11066
11067 * progmodes/f90.el (f90-smart-end-names): New option.
11068 (f90-smart-end): Doc fix.
11069 (f90-end-block-optional-name): New constant.
11070 (f90-block-match): Respect f90-smart-end-names.
11071
11072 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11075 about implicit semi-colons (bug#14218).
11076
11077 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11078
11079 * frame.el (display-monitor-attributes-list)
11080 (frame-monitor-attributes): New functions.
11081
11082 2013-05-06 Leo Liu <sdl.web@gmail.com>
11083
11084 * progmodes/octave.el (octave-syntax-propertize-function): Change
11085 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11086 (octave-font-lock-keywords): Use octave-operator-regexp.
11087 (octave-completion-at-point): Rename from
11088 octave-completion-at-point-function.
11089 (inferior-octave-directory-tracker): Robustify.
11090 (octave-text-functions): Remove and fix its uses. No such things
11091 any more.
11092
11093 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * emacs-lisp/trace.el (trace--display-buffer): New function.
11096 (trace-make-advice): Use it.
11097
11098 2013-05-06 Juri Linkov <juri@jurta.org>
11099
11100 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11101 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11102 Doc fix.
11103 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11104 in the help string. (Bug#12985)
11105
11106 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11107
11108 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11109
11110 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11111
11112 * progmodes/perl-mode.el: Add support for here documents.
11113 (perl-syntax-propertize-function): Match here-doc markers.
11114 (perl-syntax-propertize-special-constructs): Find their end.
11115 (perl-imenu-generic-expression): Use [:alnum:].
11116
11117 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11118 (advice--add-function): Refresh the advice if already present
11119 (bug#14317).
11120
11121 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11122
11123 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11124
11125 2013-05-06 Glenn Morris <rgm@gnu.org>
11126
11127 * w32-fns.el (w32-charset-info-alist): Declare.
11128
11129 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11130 of its defcustom properties.
11131 (eshell-cmpl-initialize): No need to load pcomplete.
11132
11133 * generic-x.el: No need to require comint when compiling.
11134
11135 * net/eudc-export.el: Make it loadable without bbdb.
11136 (top-level): Use require rather than load-library.
11137 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11138 (eudc-batch-export-records-to-bbdb)
11139 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11140 Require bbdb.
11141
11142 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11143
11144 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11145 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11146 some tweaks, instead.
11147
11148 2013-05-05 Leo Liu <sdl.web@gmail.com>
11149
11150 * progmodes/octave.el (octave-font-lock-keywords)
11151 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11152 (inferior-octave-send-list-and-digest): Improve error message.
11153 (octave-mode, inferior-octave-mode): Use setq-local.
11154 (octave-help): Set info-lookup-mode.
11155
11156 2013-05-05 Richard Stallman <rms@gnu.org>
11157
11158 * vc/compare-w.el (compare-windows-whitespace):
11159 Treat no-break space as whitespace.
11160
11161 * mail/rmailsum.el (rmail-summary-rmail-update):
11162 Detect empty summary and don't change selected message.
11163 (rmail-summary-goto-msg): Likewise.
11164
11165 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11166 Doc fixes, rename args.
11167
11168 2013-05-05 Alan Mackenzie <acm@muc.de>
11169
11170 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11171
11172 2013-05-05 Juri Linkov <juri@jurta.org>
11173
11174 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11175 to not add the length of the summary segment to the return value.
11176 (Bug#14125)
11177
11178 2013-05-05 Leo Liu <sdl.web@gmail.com>
11179
11180 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11181 (inferior-octave-output-filter): Remove.
11182 (octave-send-region, inferior-octave-startup): Fix callers.
11183 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11184 (octave-binary-file-extensions): New user variable.
11185 (octave-find-definition): Confirm if opening binary files.
11186 (octave-help-file): Use octave-find-definition to get the binary
11187 confirmation.
11188 (octave-help): Adjust for octave-help-file change.
11189
11190 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11193 Merge the two entries that handle function definitions.
11194 (pascal--syntax-propertize): New const.
11195 (pascal-mode): Use it. Use setq-local.
11196
11197 2013-05-04 Glenn Morris <rgm@gnu.org>
11198
11199 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11200 (diary-from-outlook): Respect diary-from-outlook-function.
11201
11202 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11203
11204 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11205 Move the declaration from C.
11206 (read-minibuffer, eval-minibuffer): Move from C.
11207 (completion-setup-function): Avoid minibuffer-completion-contents.
11208
11209 2013-05-03 Leo Liu <sdl.web@gmail.com>
11210
11211 * progmodes/octave.el (octave-font-lock-keywords): Do not
11212 dehighlight 'end' in comments or strings.
11213 (octave-completing-read, octave-goto-function-definition):
11214 New helpers.
11215 (octave-help-buffer): New user variable.
11216 (octave-help-file, octave-help-function): New button types.
11217 (octave-help): New command and bind it to C-h ;.
11218 (octave-find-definition): New command and bind it to M-.
11219 (user-error): Alias to error if not defined.
11220
11221 2013-05-02 Leo Liu <sdl.web@gmail.com>
11222
11223 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11224 for \. (bug#14332)
11225 (octave-font-lock-keywords): Include [ and {.
11226
11227 2013-05-02 Leo Liu <sdl.web@gmail.com>
11228
11229 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11230 (inferior-octave): Remove calling comint-mode and return the buffer.
11231 (inferior-octave-startup): Cosmetic changes.
11232
11233 2013-05-02 Leo Liu <sdl.web@gmail.com>
11234
11235 * progmodes/octave.el (octave-syntax-propertize-function):
11236 Include the case when ' is at line beginning. (Bug#14336)
11237
11238 2013-05-02 Glenn Morris <rgm@gnu.org>
11239
11240 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11241 * desktop.el (vc-dir-mode): Just autoload it here.
11242
11243 2013-05-02 Alan Mackenzie <acm@muc.de>
11244
11245 Eliminate variable c-standard-font-lock-fontify-region-function.
11246 * progmodes/cc-mode.el
11247 (c-standard-font-lock-fontify-region-function): Remove.
11248 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11249
11250 2013-05-01 Leo Liu <sdl.web@gmail.com>
11251
11252 * progmodes/octave.el: Compatible with older emacs-24 releases.
11253 (inferior-octave-has-built-in-variables): Remove. Built-in
11254 variables were removed from Octave in 2007.
11255 (inferior-octave-startup): Fix uses.
11256 (comint-line-beginning-position): Remove compatibility code for
11257 emacs 21.
11258
11259 2013-05-01 Juri Linkov <juri@jurta.org>
11260
11261 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11262
11263 2013-05-01 Juri Linkov <juri@jurta.org>
11264
11265 * comint.el (comint-previous-matching-input): Don't print message
11266 "History item: %d" when `isearch-mode' is active.
11267 (comint-history-isearch-message): Print message "History item: %d"
11268 when `comint-input-ring-index' is not empty and this function is
11269 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11270
11271 2013-05-01 Leo Liu <sdl.web@gmail.com>
11272
11273 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11274 definitions. Use completion-at-point to insert keywords.
11275 (octave-abbrev-start): Remove.
11276 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11277
11278 2013-04-30 Leo Liu <sdl.web@gmail.com>
11279
11280 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11281 change.
11282
11283 2013-04-30 Alan Mackenzie <acm@muc.de>
11284
11285 Handle arbitrarily long C++ member initialisation lists.
11286 * progmodes/cc-engine.el (c-back-over-member-initializers):
11287 new function.
11288 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11289 (most) member init lists.
11290
11291 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11292
11293 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11294 variable.
11295
11296 2013-04-30 Leo Liu <sdl.web@gmail.com>
11297
11298 * progmodes/octave.el (octave-variables): Remove. No builtin
11299 variables any more. All converted to functions.
11300 (octave-font-lock-keywords, octave-completion-at-point-function):
11301 Fix uses.
11302 (octave-font-lock-texinfo-comment): New user variable.
11303 (octave-texinfo-font-lock-keywords): New variable for texinfo
11304 comment block.
11305 (octave-function-comment-block): New face.
11306 (octave-font-lock-texinfo-comment): New function.
11307 (octave-mode): Font lock texinfo comment block.
11308
11309 2013-04-29 Leo Liu <sdl.web@gmail.com>
11310
11311 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11312 indexing expression.
11313 (octave-continuation-string): Do not use \.
11314 (inferior-octave-complete-impossible): Remove.
11315 (inferior-octave-completion-table)
11316 (inferior-octave-completion-at-point): Remove its uses.
11317 (inferior-octave-startup): completion_matches was introduced to
11318 Octave in 1996 so safe to assume it.
11319 (octave-function-file-comment): Improve to follow how Octave does it.
11320 (octave-update-function-file-comment): Tweak.
11321
11322 2013-04-29 Leo Liu <sdl.web@gmail.com>
11323
11324 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11325 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11326 (octave-function-file-comment): Fix typo.
11327 (octave-sync-function-file-names): Use read-char-choice.
11328
11329 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11330
11331 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11332 to t for the less important warnings.
11333
11334 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11335
11336 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11337
11338 2013-04-27 Glenn Morris <rgm@gnu.org>
11339
11340 * vc/log-view.el (log-view-current-entry):
11341 Treat "---" separator lines as part of the following rev. (Bug#14169)
11342
11343 2013-04-27 Juri Linkov <juri@jurta.org>
11344
11345 * subr.el (read-number): Doc fix about using it by interactive
11346 code letter `n'. (Bug#14254)
11347
11348 2013-04-27 Juri Linkov <juri@jurta.org>
11349
11350 * desktop.el (desktop-auto-save-timeout): New option.
11351 (desktop-file-checksum): New variable.
11352 (desktop-save): Add optional arg `auto-save' and don't auto-save
11353 if nothing changed.
11354 (desktop-auto-save-timer): New variable.
11355 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11356 (after-init-hook): Call `desktop-auto-save-set-timer'.
11357 Suggested by Reuben Thomas <rrt@sc3d.org> in
11358 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11359
11360 2013-04-27 Leo Liu <sdl.web@gmail.com>
11361
11362 * progmodes/octave.el (octave-function-file-p)
11363 (octave-skip-comment-forward, octave-function-file-comment)
11364 (octave-update-function-file-comment): New functions.
11365 (octave-mode-map): Bind C-c ; to
11366 octave-update-function-file-comment.
11367 (octave-mode-menu): Add octave-update-function-file-comment.
11368 (octave-mode, inferior-octave-mode): Fix doc-string.
11369 (octave-insert-defun): Conform to Octave's coding convention.
11370 (Bug#14285)
11371
11372 * files.el (basic-save-buffer): Don't let errors in
11373 before-save-hook prevent saving buffer.
11374
11375 2013-04-20 Roland Winkler <winkler@gnu.org>
11376
11377 * faces.el (read-face-name): Use completing-read if arg multiple
11378 is nil.
11379
11380 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11381
11382 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11383 displayed, move point to after the totals line.
11384 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11385 for the details.
11386
11387 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11388
11389 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11390 Add current dir to the load-path.
11391 (package-generate-autoloads): Don't rely on
11392 autoload-ensure-default-file.
11393
11394 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11395
11396 * textmodes/remember.el (remember-store-in-files): Document that
11397 the file name format is passed to `format-time-string'.
11398
11399 2013-04-26 Leo Liu <sdl.web@gmail.com>
11400
11401 * progmodes/octave.el (octave-sync-function-file-names): New function.
11402 (octave-mode): Use it in before-save-hook.
11403
11404 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11407 (bug#14274).
11408
11409 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11410 \n and comment, even if it's not an implicit ; (bug#14218).
11411
11412 2013-04-26 Glenn Morris <rgm@gnu.org>
11413
11414 * subr.el (read-number): Once more use `read' rather than
11415 `string-to-number', to trap non-numeric input. (Bug#14254)
11416
11417 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11418
11419 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11420 Use `syntax-multiline' text property consistently instead of
11421 `font-lock-multiline'. (Bug#14237)
11422
11423 2013-04-26 Glenn Morris <rgm@gnu.org>
11424
11425 * emacs-lisp/shadow.el (list-load-path-shadows):
11426 No longer necessary to check for duplicate simple.el, since
11427 2012-07-07 change to init_lread to not include installation lisp
11428 directories in load-path when running uninstalled. (Bug#14270)
11429
11430 2013-04-26 Leo Liu <sdl.web@gmail.com>
11431
11432 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11433 (octave-mode, inferior-octave-mode): Use setq-local.
11434 (octave-not-in-string-or-comment-p): Rename to
11435 octave-in-string-or-comment-p.
11436 (octave-in-comment-p, octave-in-string-p)
11437 (octave-in-string-or-comment-p): Replace defsubst with defun.
11438
11439 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11440
11441 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11442
11443 2013-04-25 Bastien Guerry <bzg@gnu.org>
11444
11445 * textmodes/remember.el (remember-data-directory)
11446 (remember-directory-file-name-format): Fix custom types.
11447
11448 2013-04-25 Leo Liu <sdl.web@gmail.com>
11449
11450 * progmodes/octave.el (octave-completion-at-point-function):
11451 Make use of inferior octave process.
11452 (octave-initialize-completions): Remove.
11453 (inferior-octave-completion-table): New function.
11454 (inferior-octave-completion-at-point): Use it.
11455 (octave-completion-alist): Remove.
11456
11457 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11458
11459 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11460 (opascal-mode-syntax-table): New var.
11461 (opascal-literal-kind, opascal-is-literal-end)
11462 (opascal-literal-token-at): Rewrite.
11463 (opascal--literal-start-re, opascal-font-lock-keywords)
11464 (opascal--syntax-propertize): New constants.
11465 (opascal-font-lock-defaults): Adjust.
11466 (opascal-mode): Use them. Set comment-<foo> variables as well.
11467 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11468 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11469 (delphi-other-face, opascal-other-face): Remove face variables.
11470 (opascal-save-state): Remove macro.
11471 (opascal-fontifying-progress-step): Remove constant.
11472 (opascal--ignore-changes): Remove var.
11473 (opascal-set-token-property, opascal-parse-next-literal)
11474 (opascal-is-stable-literal, opascal-complete-literal)
11475 (opascal-is-literal-start, opascal-face-of)
11476 (opascal-parse-region, opascal-parse-region-until-stable)
11477 (opascal-fontify-region, opascal-after-change)
11478 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11479 (opascal-debug-parse-region, opascal-debug-parse-window)
11480 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11481 (opascal-debug-fontify-buffer): Remove.
11482 (opascal-debug-mode-map): Adjust accordingly.
11483
11484 2013-04-25 Leo Liu <sdl.web@gmail.com>
11485
11486 Merge octave-mod.el and octave-inf.el into octave.el with some
11487 cleanups.
11488 * progmodes/octave.el: New file renamed from octave-mod.el.
11489 * progmodes/octave-inf.el: Merged into octave.el.
11490 * progmodes/octave-mod.el: Renamed to octave.el.
11491
11492 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11493
11494 * textmodes/reftex-vars.el
11495 (reftex-label-ignored-macros-and-environments): New defcustom.
11496
11497 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11498
11499 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11502 (smie-indent-keyword): Improve the check to ensure that the next
11503 comment is really on the same line.
11504 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11505
11506 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11507 semi-colons if the line is not otherwise empty (bug#14218).
11508
11509 2013-04-25 Glenn Morris <rgm@gnu.org>
11510
11511 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11512
11513 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * progmodes/opascal.el (opascal-set-token-property): Rename from
11516 opascal-set-text-properties and only set `token' (bug#14134).
11517 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11518 (opascal-literal-text-properties): Remove.
11519 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11520 Adjust callers.
11521
11522 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11523
11524 * textmodes/remember.el (remember-handler-functions): Add an
11525 option for a new handler `remember-store-in-files'.
11526 (remember-data-directory, remember-directory-file-name-format):
11527 New options.
11528 (remember-store-in-files): New function to store remember notes
11529 as separate files within a directory.
11530
11531 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11532
11533 * progmodes/compile.el (compilation-next-error-function):
11534 Pass "formats" to compilation-find-file (bug#11777).
11535
11536 2013-04-24 Glenn Morris <rgm@gnu.org>
11537
11538 * vc/vc-bzr.el (vc-bzr-print-log):
11539 * vc/vc-hg.el (vc-hg-print-log):
11540 * vc/vc-svn.el (vc-svn-print-log):
11541 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11542
11543 * vc/vc-bzr.el (vc-bzr-print-log):
11544 * vc/vc-cvs.el (vc-cvs-print-log):
11545 * vc/vc-git.el (vc-git-print-log):
11546 * vc/vc-hg.el (vc-hg-print-log):
11547 * vc/vc-mtn.el (vc-mtn-print-log):
11548 * vc/vc-rcs.el (vc-rcs-print-log):
11549 * vc/vc-sccs.el (vc-sccs-print-log):
11550 * vc/vc-svn.el (vc-svn-print-log):
11551 * vc/vc.el (vc-print-log-internal): Doc fixes.
11552
11553 2013-04-23 Glenn Morris <rgm@gnu.org>
11554
11555 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11556 Remove venerable code attempting to avoid substitute-command-keys.
11557
11558 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11559
11560 * textmodes/reftex-vars.el (reftex-label-regexps):
11561 Call `reftex-compile-variables' after changes to this variable.
11562
11563 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11566 Use lexical-binding.
11567 (jit-lock-force-redisplay): Use markers, check buffer's continued
11568 existence and beware narrowed buffers.
11569 (jit-lock-fontify-now): Adjust call accordingly.
11570
11571 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11572
11573 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11574 to avoid misleading the user.
11575
11576 2013-04-22 Leo Liu <sdl.web@gmail.com>
11577
11578 * info-look.el: Prefer latex2e.info. (Bug#14240)
11579
11580 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11581
11582 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11583
11584 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11585 * net/tramp.el (tramp-call-process): ... here.
11586 (tramp-set-completion-function, tramp-parse-putty):
11587 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11588 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11589 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11590 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11591 (tramp-call-local-coding-command): Use `tramp-call-process'
11592 instead of `tramp-compat-call-process'.
11593
11594 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11595 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11596 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11597 (tramp-find-inline-compress): Improve traces.
11598 (tramp-maybe-send-script): Check for Perl binary.
11599 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11600
11601 2013-04-22 Daiki Ueno <ueno@gnu.org>
11602
11603 * epg.el (epg-context-pinentry-mode): New function.
11604 (epg-context-set-pinentry-mode): New function.
11605 (epg--start): Pass --pinentry-mode option to gpg command.
11606
11607 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11608
11609 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11610 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11611 `completion-at-point'. (Bug#13774)
11612
11613 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11614 default key binding for `describe-distribution' has been moved to
11615 `C-h C-o'. (Bug#13970)
11616
11617 2013-04-21 Glenn Morris <rgm@gnu.org>
11618
11619 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11620 Add doc strings.
11621 (vc-print-log): Clarify interactive prompt.
11622
11623 2013-04-20 Glenn Morris <rgm@gnu.org>
11624
11625 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11626 No longer include timestamp etc information.
11627
11628 2013-04-20 Roland Winkler <winkler@gnu.org>
11629
11630 * faces.el (read-face-name): Bug fix, return just one face if arg
11631 multiple is nil. (Bug#14209)
11632
11633 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11636 (remove-function): Autoload.
11637
11638 * comint.el (comint-redirect-original-filter-function): Remove.
11639 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11640 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11641 (vc-cvs-annotate-command):
11642 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11643 * progmodes/prolog.el (prolog-consult-compile):
11644 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11645 Use add/remove-function instead.
11646 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11647 (gud-tooltip-process-output, gud-tooltip-tips):
11648 Use add/remove-function instead.
11649 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11650 (scheme-interaction-mode, exit-scheme-interaction-mode):
11651 Use add/remove-function instead.
11652
11653 * vc/vc-dispatcher.el: Use lexical-binding.
11654 (vc--process-sentinel): Rename from vc-process-sentinel.
11655 Change last arg to be the code to run. Don't use vc-previous-sentinel
11656 and vc-sentinel-commands any more.
11657 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11658 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11659
11660 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11661
11662 * progmodes/sh-script.el (sh-imenu-generic-expression):
11663 Handle function names with a single character. (Bug#14111)
11664
11665 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11666
11667 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11668 for subroutines defined in an eval (bug#14182).
11669
11670 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11671
11672 * bookmark.el (bookmark-completing-read): Improve handling of empty
11673 string (bug#14176).
11674
11675 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11678
11679 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11680
11681 New faster Imenu implementation (bug#14058).
11682 * progmodes/python.el:
11683 (python-imenu-prev-index-position):
11684 (python-imenu-format-item-label-function)
11685 (python-imenu-format-parent-item-label-function)
11686 (python-imenu-format-parent-item-jump-label-function):
11687 New vars.
11688 (python-imenu-format-item-label)
11689 (python-imenu-format-parent-item-label)
11690 (python-imenu-format-parent-item-jump-label)
11691 (python-imenu--put-parent, python-imenu--build-tree)
11692 (python-imenu-create-index, python-imenu-create-flat-index)
11693 (python-util-popn): New functions.
11694 (python-mode): Set imenu-create-index-function to
11695 python-imenu-create-index.
11696
11697 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11698
11699 * winner.el (winner-active-region): Use region-active-p, activate-mark
11700 and deactivate-mark (bug#14225).
11701
11702 * simple.el (deactivate-mark): Don't inline it.
11703
11704 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11707
11708 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11709
11710 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11711 file extensions from the archive-mode entry in order to prefer
11712 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11713
11714 2013-04-18 Leo Liu <sdl.web@gmail.com>
11715
11716 * bindings.el (help-event-list): Add ?\?.
11717
11718 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * subr.el (with-wrapper-hook): Declare obsolete.
11721 * simple.el (filter-buffer-substring-function): New hook.
11722 (filter-buffer-substring): Use it.
11723 (filter-buffer-substring-functions): Mark obsolete.
11724 * minibuffer.el (completion-in-region-function): New hook.
11725 (completion-in-region): Use it.
11726 (completion-in-region-functions): Mark obsolete.
11727 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11728 * abbrev.el (abbrev-expand-function): New hook.
11729 (expand-abbrev): Use it.
11730 (abbrev-expand-functions): Mark obsolete.
11731 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11732 and :filter-return.
11733
11734 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11735
11736 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11737 and do not care about match data.
11738
11739 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11740
11741 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11742 completion tables when completing error conditions and
11743 `declare' arguments.
11744 (lisp-complete-symbol, field-complete): Mark as obsolete.
11745 (check-parens): Unmatched parens are user errors.
11746 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11747
11748 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11749
11750 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11751 command changed buffer (ie. `flyspell-pre-buffer' is not current
11752 buffer), which prevents making decisions based on invalid value of
11753 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11754 cause an error when `flyspell-pre-point' was nil after switching
11755 buffers.
11756 (flyspell-post-command-hook): No longer needs to change buffers when
11757 checking pre-word. While at it remove unnecessary progn.
11758
11759 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11760
11761 * textmodes/ispell.el (ispell-add-per-file-word-list):
11762 Fix `flyspell-correct-word-before-point' error when accepting
11763 words and `coment-padding' is an integer by using
11764 `comment-normalize-vars' (Bug #14214).
11765
11766 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11767
11768 New defun movement commands.
11769 * progmodes/python.el (python-nav--syntactically)
11770 (python-nav--forward-defun, python-nav-backward-defun)
11771 (python-nav-forward-defun): New functions.
11772
11773 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11774
11775 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11776 (python-syntax-context): Use named compiler-macro for backwards
11777 compatibility with Emacs 24.x.
11778
11779 2013-04-17 Leo Liu <sdl.web@gmail.com>
11780
11781 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11782 octave-hide-process-buffer.
11783
11784 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11787 (bug#14216).
11788
11789 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11790
11791 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11792 Fix adjustment of offset when receiving incomplete responses from GDB
11793 (bug#14129).
11794
11795 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11798 python-mode-abbrev-table.
11799 (python-skeleton-define): Adjust accordingly.
11800 (python-mode-abbrev-table): New table that inherits from it so that
11801 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11802
11803 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11804 (abbrev-symbol): Use it.
11805 (abbrev--before-point): Use it since we already handle inheritance.
11806
11807 2013-04-16 Leo Liu <sdl.web@gmail.com>
11808
11809 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11810 binding to info-lookup-symbol.
11811
11812 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11813
11814 * minibuffer.el (completion--twq-all):
11815 * term/ns-win.el (ns-initialize-window-system):
11816 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11817
11818 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11819
11820 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11821 global bindings.
11822
11823 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11824
11825 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11826
11827 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11828 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11829 to nil.
11830 (ruby-end-of-defun): Remove the unused arg, change the docstring
11831 to reflect that this function is only used as the value of
11832 `end-of-defun-function'.
11833 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11834 to reflect an earlier change that beginning/end-of-defun functions
11835 jump between methods in a class definition, as well as top-level
11836 functions.
11837
11838 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11839
11840 * minibuffer.el (minibuffer-complete): Don't just scroll
11841 a *Completions* that's been iconified.
11842 (minibuffer-force-complete): Make sure repetitions do cycle when going
11843 through completion-in-region -> minibuffer-complete.
11844
11845 2013-04-15 Alan Mackenzie <acm@muc.de>
11846
11847 Correct the placement of c-cpp-delimiters when there're #s not at
11848 col 0.
11849
11850 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11851 place a submatch around the #.
11852 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11853 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11854 on the #, not BOL.
11855
11856 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11857
11858 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11859 (advice--member-p): New arg `name'.
11860 (advice--add-function, advice-member-p): Use it (bug#14202).
11861
11862 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11863
11864 Reformulate java imenu-generic-expression.
11865 The old expression contained ill formed regexps.
11866
11867 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11868 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11869 (cc-imenu-java-method-arg-regexp): New defconsts.
11870 (cc-imenu-java-build-type-args-regex): New defun.
11871 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11872 handling of spaces in the regexp.
11873
11874 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11875
11876 * textmodes/ispell.el (ispell-command-loop): Remove
11877 flyspell highlight of a word when ispell accepts it (bug #14178).
11878
11879 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11880
11881 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11882 uses code from the previous `ange-ftp-run-real-handler'.
11883 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11884 only in case that function exist. This is needed for proper
11885 unloading of Tramp.
11886
11887 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11888
11889 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11890
11891 * textmodes/reftex.el (reftex-compile-variables): Use it.
11892
11893 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * files.el (normal-mode): Only use default major-mode if no other mode
11896 was specified.
11897
11898 * emacs-lisp/trace.el (trace-values): New function.
11899
11900 * files.el: Allow : in local variables (bug#14089).
11901 (hack-local-variable-regexp): New var.
11902 (hack-local-variables-prop-line, hack-local-variables): Use it.
11903
11904 2013-04-13 Roland Winkler <winkler@gnu.org>
11905
11906 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11907 data before it gets modified by bibtex-beginning-of-entry.
11908
11909 2013-04-13 Roland Winkler <winkler@gnu.org>
11910
11911 * textmodes/bibtex.el (bibtex-url): Doc fix.
11912
11913 2013-04-13 Roland Winkler <winkler@gnu.org>
11914
11915 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11916 does not visit a BibTeX file, exclude it from the list of buffers
11917 returned by bibtex-initialize.
11918
11919 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11920
11921 * window.el (split-window): Remove interactive form, since as a
11922 command this function is a special case of split-window-below.
11923 Correct doc string.
11924
11925 2013-04-12 Roland Winkler <winkler@gnu.org>
11926
11927 * faces.el (read-face-name): Do not override value of arg default.
11928 Allow single faces and strings as default values. Remove those
11929 elements from return value that are not faces.
11930 (describe-face): Simplify.
11931 (face-at-point): New optional args thing and multiple so that this
11932 function can provide the same functionality previously provided by
11933 read-face-name.
11934 (make-face-bold, make-face-unbold, make-face-italic)
11935 (make-face-unitalic, make-face-bold-italic, invert-face)
11936 (modify-face, read-face-and-attribute): Use face-at-point.
11937
11938 * cus-edit.el (customize-face, customize-face-other-window)
11939 * cus-theme.el (custom-theme-add-face)
11940 * face-remap.el (buffer-face-set)
11941 * facemenu.el (facemenu-set-face): Use face-at-point.
11942
11943 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11944
11945 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11946
11947 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11948
11949 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11950 off leading { and trailing } from field values.
11951
11952 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * emacs-lisp/timer.el (timer--check): New function.
11955 (timer--time, timer-set-function, timer-event-handler): Use it.
11956 (timer-set-idle-time): Simplify.
11957 (timer--activate): CSE.
11958 (timer-event-handler): Give more info in error message.
11959 (internal-timer-start-idle): New function, moved from C.
11960
11961 * mpc.el (mpc-proc): Add `restart' argument.
11962 (mpc-proc-cmd): Use it.
11963 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11964 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11965 less often.
11966
11967 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11968
11969 * progmodes/sh-script.el: Implement `sh-mode' own
11970 `add-log-current-defun-function' (bug#14112).
11971 (sh-current-defun-name): New function.
11972 (sh-mode): Use the function.
11973
11974 2013-04-09 Bastien Guerry <bzg@gnu.org>
11975
11976 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11977
11978 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11981
11982 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11983 timer (bug#14156).
11984
11985 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11986
11987 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11988 declaration.
11989
11990 2013-04-07 Leo Liu <sdl.web@gmail.com>
11991
11992 * pcmpl-x.el: New file.
11993
11994 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11995
11996 Do not set x-display-name until X connection is established.
11997 This is needed to prevent from weird situation described at
11998 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11999 * frame.el (make-frame): Set x-display-name after call to
12000 window system initialization function, not before.
12001 * term/x-win.el (x-initialize-window-system): Add optional
12002 display argument and use it.
12003 * term/w32-win.el (w32-initialize-window-system):
12004 * term/ns-win.el (ns-initialize-window-system):
12005 * term/pc-win.el (msdos-initialize-window-system):
12006 Add compatible optional display argument.
12007
12008 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12009
12010 * files.el (normal-backup-enable-predicate): On MS-Windows and
12011 MS-DOS compare truenames of temporary-file-directory and of the
12012 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12013 don't fail comparison by compare-strings. Also, compare file
12014 names case-insensitively on MS-Windows and MS-DOS.
12015
12016 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12019 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12020
12021 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12022
12023 * whitespace.el (whitespace-color-on, whitespace-color-off):
12024 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12025
12026 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12027
12028 * ispell.el (ispell-set-spellchecker-params):
12029 Really set `ispell-args' for all equivs.
12030
12031 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * ido.el (ido-completions): Use extra elements of ido-decorations
12034 (bug#14143).
12035 (ido-decorations): Update docstring.
12036
12037 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12038
12039 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12040 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12041 nil during initialization, in order not to miss changes since the
12042 file was opened. (Bug#14140)
12043
12044 2013-04-05 Leo Liu <sdl.web@gmail.com>
12045
12046 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12047
12048 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12049
12050 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12051
12052 2013-04-04 Glenn Morris <rgm@gnu.org>
12053
12054 * electric.el (electric-pair-inhibit-predicate): Add :version.
12055
12056 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12057
12058 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12059 when a package is required several times (bug#14082).
12060
12061 2013-04-04 Roland Winkler <winkler@gnu.org>
12062
12063 * faces.el (read-face-name): Behave as promised by the docstring.
12064 Assume that arg default is a list of faces.
12065 (describe-face): Call read-face-name with list of default faces.
12066
12067 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12068
12069 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12070 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12071 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12072 the header.
12073 (bookmark-exit-hook-internal): Save even if list is empty.
12074
12075 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12076
12077 * emacs-lisp/package.el (package-pinned-packages): New var.
12078 (package--add-to-archive-contents): Obey it (bug#14118).
12079
12080 2013-04-03 Alan Mackenzie <acm@muc.de>
12081
12082 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12083 Also adapt to the new values of element 7 of a parse state.
12084
12085 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12086 parameter `not-in-delimiter'. Handle being inside comment opener.
12087 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12088 character in case we're typing a '*' after a '/'.
12089 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12090 instead by passing the parameter to c-state-pp-to-literal.
12091
12092 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12093 for elt. 7 of a parse state.
12094
12095 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12096
12097 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12098 * international/latin1-disp.el, international/mule-util.el:
12099 * language/cyril-util.el, language/european.el, language/ind-util.el:
12100 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12101 * language/tibetan.el, language/viet-util.el:
12102 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12103
12104 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12107 (electric-pair-post-self-insert-function): Use it.
12108 (electric-pair-default-inhibit): New function, extracted from
12109 electric-pair-post-self-insert-function.
12110
12111 2013-03-31 Roland Winkler <winkler@gnu.org>
12112
12113 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12114
12115 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12116
12117 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12118
12119 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12120
12121 Un-indent after "pass" and "return" statements (Bug#13888)
12122 * progmodes/python.el (python-indent-block-enders): New var.
12123 (python-indent-calculate-indentation): Use it.
12124
12125 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12126
12127 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12128 defun. Defining it as defalias could introduce too eager
12129 byte-compiler optimization. (Bug#14030)
12130
12131 2013-03-30 Chong Yidong <cyd@gnu.org>
12132
12133 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12134
12135 2013-03-30 Leo Liu <sdl.web@gmail.com>
12136
12137 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12138 (kmacro-execute-from-register): Pass the keyboard macro to
12139 kmacro-call-macro or repeating won't work correctly.
12140
12141 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12142
12143 * progmodes/subword.el: Back to using `forward-symbol'.
12144
12145 * subr.el (forward-whitespace, forward-symbol)
12146 (forward-same-syntax): Move from thingatpt.el.
12147
12148 2013-03-29 Leo Liu <sdl.web@gmail.com>
12149
12150 * kmacro.el (kmacro-to-register): New command.
12151 (kmacro-execute-from-register): New function.
12152 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12153
12154 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * mpc.el: Use defvar-local and setq-local.
12157 (mpc--proc-connect): Connection failures are not bugs.
12158 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12159 (mpc-volume-map): Bind to the up-events.
12160
12161 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12162
12163 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12164 instead of `forward-symbol'.
12165
12166 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12169 (edebug--recursive-edit): Use it.
12170 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12171 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12172
12173 2013-03-28 Leo Liu <sdl.web@gmail.com>
12174
12175 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12176
12177 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12178
12179 * facemenu.el (list-colors-callback): New defvar.
12180 (list-colors-redisplay): New function.
12181 (list-colors-display): Install list-colors-redisplay as the
12182 revert-buffer-function. (Bug#14063)
12183
12184 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12185
12186 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12187 and suffixes don't overlap (bug#14061).
12188
12189 * case-table.el: Use lexical-binding.
12190 (case-table-get-table): New function.
12191 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12192
12193 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12194
12195 * progmodes/subword.el: Add `superword-mode' to do word motion
12196 over symbol_words (parallels and leverages `subword-mode' which
12197 does word motion inside MixedCaseWords).
12198
12199 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12200
12201 * eshell/em-unix.el: Move su and sudo to...
12202 * eshell/em-tramp.el: ...Eshell tramp module.
12203
12204 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12205
12206 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12207 Change return value to be a sexp. Delay `get-buffer' to after
12208 restoring the desktop (bug#13951).
12209
12210 2013-03-26 Leo Liu <sdl.web@gmail.com>
12211
12212 * register.el: Move semantic tag handling back to
12213 cedet/semantic/senator.el. (Bug#14052)
12214
12215 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12216
12217 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12218 into the prompt either (bug#13963).
12219
12220 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12223 part of "(error-foo)".
12224
12225 2013-03-24 Juri Linkov <juri@jurta.org>
12226
12227 * replace.el (list-matching-lines-prefix-face): New defcustom.
12228 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12229 `occur-engine' if `face-differs-from-default-p' returns t.
12230 (occur-engine): Add `,' inside backquote construct to evaluate
12231 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12232 Pass `prefix-face' to the functions `occur-context-lines' and
12233 `occur-engine-add-prefix'.
12234 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12235 `prefix-face' and propertize the prefix with `prefix-face'.
12236 (Bug#14017)
12237
12238 2013-03-24 Leo Liu <sdl.web@gmail.com>
12239
12240 * nxml/rng-valid.el (rng-validate-while-idle)
12241 (rng-validate-quick-while-idle): Guard against deleted buffer.
12242 (Bug#13999)
12243
12244 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12245 is the last entry in kill-buffer-hook.
12246
12247 * files.el (kill-buffer-hook): Doc fix.
12248
12249 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12250
12251 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12252 Make it safe-local.
12253
12254 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12255
12256 2013-03-23 Leo Liu <sdl.web@gmail.com>
12257
12258 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12259 Remove.
12260
12261 * nxml/rng-valid.el (rng-validate-mode)
12262 (rng-after-change-function, rng-do-some-validation):
12263 * nxml/rng-maint.el (rng-validate-buffer):
12264 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12265 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12266 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12267 (nxml-extend-after-change-region): Use with-silent-modifications.
12268
12269 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12270 timer-idle-list.
12271
12272 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12273 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12274 timer-idle-list. (Bug#13999)
12275
12276 2013-03-23 Juri Linkov <juri@jurta.org>
12277
12278 * info.el (info-index-match): New face.
12279 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12280 main pattern and add text properties with the new face to matches
12281 in index entries relative to the beginning of the index entry.
12282 (Bug#14015)
12283
12284 2013-03-21 Eric Ludlam <zappo@gnu.org>
12285
12286 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12287 Inhibit read only while inserting objects.
12288
12289 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12290
12291 * progmodes/cfengine.el: Update docs to mention
12292 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12293 symbol motion. Remove "_" from the word syntax.
12294
12295 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12296
12297 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12298 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12299
12300 2013-03-20 Juri Linkov <juri@jurta.org>
12301
12302 * info.el (Info-next-reference-or-link)
12303 (Info-prev-reference-or-link): New functions.
12304 (Info-next-reference, Info-prev-reference): Use them.
12305 (Info-try-follow-nearest-node): Handle footnote navigation.
12306 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12307
12308 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12309
12310 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12311 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12312
12313 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12314
12315 Suppress unnecessary non-ASCII chatter during build process.
12316 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12317 (batch-skkdic-convert): Suppress most of the chatter.
12318 It's not needed so much now that machines are faster,
12319 and its non-ASCII component was confusing; see Dmitry Gutov in
12320 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12321
12322 2013-03-20 Leo Liu <sdl.web@gmail.com>
12323
12324 * ido.el (ido-chop): Fix bug#10994.
12325
12326 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12327
12328 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12329 Remove vars.
12330 (whitespace-color-on, whitespace-color-off):
12331 Use `font-lock-fontify-buffer' (Bug#13817).
12332
12333 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12334
12335 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12336 remapping in mode-line.
12337 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12338
12339 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12340
12341 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12342 value for `whitespace-line' face (Bug#13875).
12343 (whitespace-font-lock-keywords): Change description.
12344 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12345 the constructed keywords instead.
12346 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12347
12348 2013-03-19 Leo Liu <sdl.web@gmail.com>
12349
12350 * progmodes/compile.el (compilation-display-error): New command.
12351 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12352 C-o. (Bug#13992)
12353
12354 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12355
12356 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12357
12358 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12359
12360 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12361
12362 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12363
12364 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12365
12366 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12367 * net/tramp-gvfs.el (top):
12368 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12369 (tramp-handle-shell-command): Use it.
12370 (tramp-dissect-file-name): Raise an error when hostname is a
12371 method name, and neither method nor user is specified.
12372
12373 * net/trampver.el: Update release number.
12374
12375 2013-03-18 Leo Liu <sdl.web@gmail.com>
12376
12377 Make sure eldoc can be turned off properly.
12378 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12379 eldoc-mode.
12380 (eldoc-display-message-p): Revert last change.
12381 (eldoc-display-message-no-interference-p)
12382 (eldoc-print-current-symbol-info): Tweak.
12383
12384 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12385
12386 * doc-view.el (doc-view-new-window-function): Check the new window
12387 overlay's display property instead the char property of the
12388 buffer's first char. Use `with-selected-window' instead of
12389 `save-window-excursion' with `select-window'.
12390 (doc-view-document->bitmap): Check the current doc-view overlay's
12391 display property instead the char property of the buffer's first char.
12392
12393 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12394
12395 Automate the build of ja-dic.el (Bug#13984).
12396 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12397 from the input, rather than assume that it's been done for us by the
12398 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12399 the current date into a ja-dic.el comment, as that complicates
12400 regression testing.
12401
12402 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * whitespace.el: Fix double evaluation.
12405 (whitespace-space, whitespace-hspace, whitespace-tab)
12406 (whitespace-newline, whitespace-trailing, whitespace-line)
12407 (whitespace-space-before-tab, whitespace-indentation)
12408 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12409 obsolete defvars.
12410 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12411 (whitespace-color-on): Use a single font-lock-add-keywords call.
12412 Fix double-evaluation of face variables.
12413
12414 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * net/tramp-adb.el (tramp-adb-parse-device-names):
12417 Use `start-process' instead of `call-process'. Otherwise, the
12418 function might be blocked under MS Windows. (Bug#13299)
12419
12420 2013-03-17 Leo Liu <sdl.web@gmail.com>
12421
12422 Extend eldoc to display info in the mode-line. (Bug#13978)
12423 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12424 (eldoc-mode-line-string): New variable.
12425 (eldoc-minibuffer-message): New function.
12426 (eldoc-message-function): New variable.
12427 (eldoc-message): Use it.
12428 (eldoc-display-message-p)
12429 (eldoc-display-message-no-interference-p):
12430 Support eldoc-post-insert-mode.
12431
12432 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12433 (eval-expression): Run it.
12434
12435 2013-03-17 Roland Winkler <winkler@gnu.org>
12436
12437 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12438 strings in the list of return values.
12439
12440 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12441
12442 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12443 radix before checking for HMS forms.
12444
12445 2013-03-16 Leo Liu <sdl.web@gmail.com>
12446
12447 * progmodes/scheme.el: Add indentation and font-locking for λ.
12448 (Bug#13975)
12449
12450 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12451
12452 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12453 token before point (bug#13942).
12454
12455 2013-03-16 Leo Liu <sdl.web@gmail.com>
12456
12457 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12458
12459 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12460
12461 * startup.el (command-line-normalize-file-name): Fix handling of
12462 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12463 <xfq.free@gmail.com> in
12464 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12465
12466 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12467
12468 Sync with Tramp 2.2.7.
12469
12470 * net/trampver.el: Update release number.
12471
12472 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12473
12474 * doc-view.el: Fix bug#13887.
12475 (doc-view-insert-image): Don't modify overlay associated to
12476 non-live windows, and implement horizontal centering of image in
12477 case it's smaller than the window.
12478 (doc-view-new-window-function): Force redisplay of new windows on
12479 doc-view buffers.
12480
12481 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12482
12483 * saveplace.el (save-place-alist-to-file): Don't sort
12484 `save-place-alist', just pretty-print it (bug#13882).
12485
12486 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12487
12488 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12489 Check whether `default-file-name-coding-system' is bound.
12490 It isn't in XEmacs.
12491
12492 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12493
12494 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12495 backquotes for `obsolete' (bug#13929).
12496
12497 * international/mule.el (find-auto-coding): Include file name in
12498 obsolescence warning (bug#13922).
12499
12500 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12501
12502 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12503 for CFEngine 3-specific indentation.
12504 (cfengine3-indent-line): Use it. Fix up category regex.
12505 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12506
12507 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12508
12509 * type-break.el (type-break-file-name):
12510 * textmodes/remember.el (remember-data-file):
12511 * strokes.el (strokes-file):
12512 * shadowfile.el (shadow-initialize):
12513 * saveplace.el (save-place-file):
12514 * ps-bdf.el (bdf-cache-file):
12515 * progmodes/idlwave.el (idlwave-config-directory):
12516 * net/quickurl.el (quickurl-url-file):
12517 * international/kkc.el (kkc-init-file-name):
12518 * ido.el (ido-save-directory-list-file):
12519 * emulation/viper.el (viper-custom-file-name):
12520 * emulation/vip.el (vip-startup-file):
12521 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12522 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12523
12524 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12525
12526 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12527 * language/thai-word.el: Switch to UTF-8.
12528
12529 See ChangeLog.16 for earlier changes.
12530
12531 ;; Local Variables:
12532 ;; coding: utf-8
12533 ;; End:
12534
12535 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12536
12537 This file is part of GNU Emacs.
12538
12539 GNU Emacs is free software: you can redistribute it and/or modify
12540 it under the terms of the GNU General Public License as published by
12541 the Free Software Foundation, either version 3 of the License, or
12542 (at your option) any later version.
12543
12544 GNU Emacs is distributed in the hope that it will be useful,
12545 but WITHOUT ANY WARRANTY; without even the implied warranty of
12546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12547 GNU General Public License for more details.
12548
12549 You should have received a copy of the GNU General Public License
12550 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.