* net/eww.el (eww-download-callback): Fix reference to eww-download-directory.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2
3 * net/eww.el (eww-download-callback):
4 Fix reference to eww-download-directory.
5
6 * emacs-lisp/bytecomp.el (byte-compile-file):
7 Remove unused local variable `file-name'.
8
9 2014-01-24 Glenn Morris <rgm@gnu.org>
10
11 * subr.el (with-demoted-errors): Doc fix.
12
13 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
14
15 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
16 (cl--macroexp-fboundp): New function.
17 (cl--make-type-test): Use it.
18
19 2014-01-23 Glenn Morris <rgm@gnu.org>
20
21 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
22 * simple.el (eval-expression): Doc fixes.
23
24 2014-01-22 Glenn Morris <rgm@gnu.org>
25
26 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
27
28 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * emacs-lisp/package.el: Write files silently.
31 (package-autoload-ensure-default-file, package--write-file-no-coding)
32 (package-generate-description-file, package--download-one-archive)
33 (package-install-from-archive): Tell `write-region' to stay quiet.
34 (package-menu-mode, package-menu--print-info): Omit the Archive column
35 if there's only one archive.
36 (package-all-keywords, package--has-keyword-p): Remove dead code.
37
38 2014-01-22 Glenn Morris <rgm@gnu.org>
39
40 * version.el (emacs-bzr-version-bzr): Fix typo.
41
42 * version.el (emacs-repository-get-version):
43 Check either .bzr or .git, but not both.
44 Make the git case actually use the DIR argument, and return nil
45 rather than the empty string.
46 Avoid error if .git exists but the git executable is not found.
47
48 2014-01-22 Martin Rudalics <rudalics@gmx.at>
49
50 Fixes in window size functions around Bug#16430 and Bug#16470.
51 * window.el (window-total-size, window-size): New argument ROUND.
52 (window--min-delta-1, window-min-delta, window--max-delta-1):
53 Be more conservative when calculating the numbers of lines or
54 columns a window can shrink (Bug#16430).
55 (fit-window-to-buffer): Simplify code.
56 * term.el (term-window-width): Call window-body-width again.
57
58 2014-01-22 Glenn Morris <rgm@gnu.org>
59
60 * image.el (image-format-suffixes): Doc fix.
61
62 * international/quail.el (quail-define-package): Doc fix.
63
64 * emacs-lisp/authors.el (authors-valid-file-names):
65 (authors-renamed-files-alist): Additions.
66
67 * vc/vc-git.el (vc-git-print-log): Remove --follow;
68 reverts 2014-01-09 change. (Bug#16422)
69
70 * calc/calc-embed.el (thing-at-point-looking-at):
71 * emacs-lisp/map-ynp.el (x-popup-dialog):
72 * obsolete/lmenu.el (x-popup-dialog):
73 * emacs-lisp/package.el (url-recreate-url):
74 * mail/mailclient.el (clipboard-kill-ring-save):
75 * subr.el (x-popup-dialog): Update declaration.
76 * mail/rmail.el (rmail-mime-message-p):
77 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
78
79 2014-01-21 Daniel Colascione <dancol@dancol.org>
80
81 * progmodes/sh-script.el (sh--inside-noncommand-expression):
82 Correctly detect when we're inside an arithmetic expansion form
83 containing nested parenthesis.
84 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
85 to detect cases where we shouldn't expand "<<" to a heredoc
86 skeleton.
87
88 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
91 (eldoc--message-command-p): New function.
92 (eldoc-display-message-p): Use it.
93 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
94 message is not automatically erased for us.
95 (eldoc-print-current-symbol-info): Erase previous message, if any.
96
97 2014-01-21 Tassilo Horn <tsdh@gnu.org>
98
99 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
100 specify it's an interactive function.
101
102 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
103 Fix regex used for scanning for citation keys which failed for
104 citations with optional arguments.
105
106 2014-01-21 Leo Liu <sdl.web@gmail.com>
107
108 * simple.el (read--expression): Don't enable eldoc-mode.
109
110 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
111
112 * simple.el (move-beginning-of-line): Make sure we don't move forward
113 (bug#16497).
114
115 2014-01-20 Juri Linkov <juri@jurta.org>
116
117 * saveplace.el (toggle-save-place, save-place-to-alist)
118 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
119 'dired-mode) before checking for dired-directory. (Bug#16477)
120
121 2014-01-20 Juri Linkov <juri@jurta.org>
122
123 * indent.el (indent-line-to): Use backward-to-indentation
124 instead of back-to-indentation. (Bug#16461)
125
126 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
127
128 Revert some of the CANNOT_DUMP fix (Bug#16494).
129 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
130 but fixing this can wait until after the next release.
131 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
132
133 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
134
135 * eshell/esh-mode.el (eshell-password-prompt-regexp):
136 Use `password-word-equivalents'.
137 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
138 to t. (Bug#5664, Bug#13124)
139
140 2014-01-19 Alan Mackenzie <acm@muc.de>
141
142 Bind open-paren-in-column-0-is-defun-start to nil at some entry
143 points.
144 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
145 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
146 * progmodes/cc-mode.el (c-before-change, c-after-change)
147 (c-font-lock-fontify-region): Bind it here.
148
149 2014-01-19 Martin Rudalics <rudalics@gmx.at>
150
151 * term.el (term-window-width): Call window-text-width instead of
152 window-width (Bug#16470).
153
154 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
155
156 * simple.el (password-word-equivalents): Remove duplicates.
157 Sort, to make this easier next time.
158 Downcase. Omit ": " after "jelszó".
159
160 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
161
162 * term/common-win.el (saved-region-selection): Defvar it.
163 (x-select-text): Set saved-region-selection (Bug#16382).
164
165 2014-01-18 Glenn Morris <rgm@gnu.org>
166
167 * emacs-lisp/authors.el (authors-aliases)
168 (authors-renamed-files-alist): Add some entries.
169
170 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
171
172 * net/tramp.el (tramp-password-prompt-regexp):
173 Use `password-word-equivalents' if available.
174 (tramp-action-password, tramp-process-one-action)
175 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
176
177 2014-01-17 Chong Yidong <cyd@gnu.org>
178
179 * simple.el (password-word-equivalents): New defcustom.
180 * comint.el (comint-password-prompt-regexp): Use it. Bump version
181 to 24.4.
182 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
183 to t. (Bug#13124)
184
185 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
186
187 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
188 (ruby-align-to-stmt-keywords): Change the default value.
189 Use `ruby-alignable-keywords' to generate the possible customization
190 choices.
191 (ruby-smie-rules): Instead of using a hardcoded list of alignable
192 keywords, check against the value of `ruby-alignable-keywords'
193 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
194
195 2014-01-17 Glenn Morris <rgm@gnu.org>
196
197 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
198
199 Make M-x authors return zero *Authors Errors* from current logs.
200 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
201 (authors-ignored-files): Add some entries, remove others.
202 (authors-ambiguous-files, authors-valid-file-names):
203 Add some entries.
204 (authors-renamed-files-alist): Add, remove, and adjust entries.
205 (authors-renamed-files-regexps): Add some entries.
206 Remove some very broad ones. Make some entries `lax'.
207 (authors-lax-changelogs): New constant.
208 (authors-disambiguate-file-name): Treat top-level specially.
209 (authors-lax-changelog-p): New function.
210 (authors-canonical-file-name): Check file as written against
211 authors-valid-file-names. Do not special-case etc/.
212 Handle `lax' logs and authors-renamed-files-regexps elements.
213
214 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
215
216 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
217 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
218 callers.
219
220 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
223 Assume we're already in the proper buffer.
224 Inspired by Anders Lindgren <andlind@gmail.com>.
225 (follow-post-command-hook): Call it from the right buffer.
226 (follow-comint-scroll-to-bottom): Adjust call.
227 (follow-all-followers): Use get-buffer-window-list.
228
229 2014-01-15 Daniel Colascione <dancol@dancol.org>
230
231 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
232 `buffer-file-name' in interactive-form so that we don't leave
233 pathless file names in `file-name-history'.
234
235 2014-01-15 Juri Linkov <juri@jurta.org>
236
237 * indent.el (indent-rigidly): Set deactivate-mark to nil
238 in transient indentation mode. (Bug#16438)
239
240 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
241
242 * emacs-lisp/package.el (package-desc-keywords): New function
243 (Bug#16222).
244 (describe-package-1, package-all-keywords)
245 (package--has-keyword-p): Use it.
246
247 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
248
249 * simple.el (define-alternatives): When creating the
250 COMMAND-alternatives variable, assign COMMAND as its definition
251 name so that `describe-variable' can relocate it.
252
253 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
254
255 * font-lock.el (font-lock-keywords): Fix typo in docstring
256 (bug#16307).
257
258 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
259
260 * ispell.el (ispell-region): Reset `in-comment' for new line
261 instead of wrongly reset `add-coment' (bug#13577).
262
263 2014-01-14 Daiki Ueno <ueno@gnu.org>
264
265 * epa-file.el (epa-file-write-region): Encode the region according
266 to `buffer-file-format'. Problem reported at:
267 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
268
269 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
272 so it applies in the right buffer (bug#16410).
273
274 2014-01-13 Daniel Colascione <dancol@dancol.org>
275
276 * textmodes/rst.el (rst-define-key): Provide deprecated
277 keybindings through named functions instead of anonymous ones so
278 that "??" doesn't appear in describe-mode output.
279
280 2014-01-13 Bastien Guerry <bzg@gnu.org>
281
282 * simple.el (define-alternatives): Call the selected command
283 interactively. When setting `COMMAND--implementation' for the
284 first time, tell the user how to chose another implementation.
285 Enhance the docstring.
286
287 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
290 (log-edit--match-first-line): New function.
291 (log-edit-font-lock-keywords): Use it.
292 (log-edit-mode): Make jit-lock-defer-multiline work.
293
294 2014-01-13 Bastien Guerry <bzg@gnu.org>
295
296 * rect.el (rectangle-mark-mode): When the region is not active,
297 display a message saying that the mark as been set and that
298 rectangle mode is in use.
299 (rectangle--highlight-for-redisplay): Only put an overlay with a
300 visible vertical bar when (display-graphic-p) is non-nil.
301 This partially fixes Bug#16403.
302
303 2014-01-13 Juri Linkov <juri@jurta.org>
304
305 * info.el (Info-find-file): Go to DIR before displaying the error
306 about a nonexistent file if no previous Info file is visited.
307 Use `user-error' instead of `error' for "Info file %s does not exist".
308 (Info-find-node-2): In case of a nonexistent node in unwind forms
309 go to the Top node if there is no previous node to revert to.
310 (Bug#16405)
311
312 2014-01-13 Martin Rudalics <rudalics@gmx.at>
313
314 fit-frame/window-to-buffer code fixes including one for Bug#14096.
315 * window.el (fit-frame-to-buffer): Fix doc-string.
316 Respect window-min-height/-width. Fit pixelwise when
317 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
318 when avoiding that frame goes partially off-screen.
319 (fit-window-to-buffer): Respect window-min-height/-width
320 (Bug#14096).
321
322 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
323
324 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
325 after an empty line.
326
327 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * net/shr.el (shr-render-region): Autoload.
330
331 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
332
333 * net/eww.el (eww-download-directory): Rename from
334 `eww-download-path' (Bug#16419).
335
336 2014-01-12 Leo Liu <sdl.web@gmail.com>
337
338 * dired-x.el (dired-mode-map): Fix last change.
339
340 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
341
342 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
343
344 Spelling fixes.
345 * emacs-lisp/generic.el (generic--normalize-comments):
346 Rename from generic--normalise-comments. All uses changed.
347 * play/bubbles.el (bubbles--neighborhood-score):
348 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
349 (bubbles--neighborhood-available)
350 (bubbles--update-neighborhood-score):
351 Rename from names with 'neighbourhood'. All uses changed.
352
353 2014-01-12 Leo Liu <sdl.web@gmail.com>
354
355 Re-implement the feature of showing eldoc info after editing.
356 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
357 (eldoc-edit-message-commands): New function.
358 (eldoc-print-after-edit): New variable.
359 (eldoc-pre-command-refresh-echo-area): Emit message only by
360 eldoc-message-commands.
361 (eldoc-mode): Restrict eldoc-message-commands to editing commands
362 if eldoc-print-after-edit is set. (Bug#16346)
363 * simple.el (read--expression): Enable eldoc-mode.
364 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
365
366 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
367 Eric S. Raymond <esr@thyrsus.com>
368
369 * version.el (emacs-repository-get-version): Enhance so the
370 function works correctly in either a Bazaar or Git repo.
371
372 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
373
374 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
375 Goes with removal of the joke manpages from /etc.
376
377 2014-01-10 K. Handa <handa@gnu.org>
378
379 * mail/rmail.el (rmail-get-coding-system):
380 Check rmail-get-coding-function before "funcall"ing it.
381
382 2014-01-10 Glenn Morris <rgm@gnu.org>
383
384 * emacs-lisp/authors.el (authors-fixed-entries):
385 Update for files that no longer exist.
386
387 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
388
389 * version.el (emacs-bzr-get-version): Restore compatibilty with
390 24.3 (Tested).
391
392 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
393
394 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
395 and Podfile.
396
397 2014-01-10 Eli Zaretskii <eliz@gnu.org>
398
399 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
400
401 2014-01-10 Chong Yidong <cyd@gnu.org>
402
403 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
404
405 2014-01-10 Anders Lindgren <andlind@gmail.com>
406
407 * follow.el (follow-cache-command-list): Include right-char and
408 left-char.
409
410 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
411
412 Spelling fixes.
413 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
414 * woman.el (woman-mark-horizontal-position):
415 Rename from woman-mark-horizonal-position. Use changed.
416
417 2014-01-10 Glenn Morris <rgm@gnu.org>
418
419 * info.el (info-initialize): If running uninstalled, ensure our
420 own info files are always found first, even if INFOPATH is set.
421
422 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
423
424 2014-01-09 David Engster <deng@randomsample.de>
425
426 * emacs-lisp/eieio-custom.el:
427 * emacs-lisp/eieio-opt.el: Set generated autoload file to
428 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
429 * emacs-lisp/eieio.el: Regenerate autoloads.
430
431 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
432
433 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
434 following renames. (Bug#8756)
435
436 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
437
438 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
439 (bug#16382).
440 (activate-mark): Add `no-tmm' argument.
441 (set-mark, push-mark-command): Use it instead of running
442 activate-mark-hook by hand.
443
444 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
445
446 In preparation for the move to git, sanitize out some
447 Bazaar-specific names.
448
449 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
450
451 * version.el (emacs-bzr-version): Name changed to
452 emacs-repository-version. Obsolete-variable alias made.
453 * loadup.el: Follow through on this name change.
454 * mail/emacsbug.el (report-emacs-bug): Factor out any
455 assumption about the version control system in use.
456
457 2014-01-08 David Engster <deng@randomsample.de>
458
459 * help-fns.el (help-fns-describe-function-functions):
460 New variable to call functions for augmenting help buffers.
461 (describe-function-1): Remove explicit calls to
462 `help-fns--compiler-macro', `help-fns--parent-mode' and
463 `help-fns--obsolete'. Put them in above new variable instead, and
464 call them through `run-hook-with-args'.
465 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
466 `eieio-describe-class'. Not meant for interactive use anymore,
467 but to augment existing help buffers. Remove optional second
468 argument. Create proper button for file location.
469 Rewrite function to use `insert' instead of `princ' and `prin1' where
470 possible.
471 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
472 (eieio-method-def, eieio-class-def): Move further up.
473 (describe-method, describe-generic, eieio-describe-method):
474 Remove aliases.
475 (eieio-help-constructor, eieio-help-generic): Rename from
476 `eieio-describe-constructor' and `eieio-describe-generic', resp.
477 Rewrite to use `insert' in the current buffer and use proper help
478 buttons.
479 (eieio-help-find-method-definition)
480 (eieio-help-find-class-definition): Also accept symbols as
481 arguments.
482 (eieio-help-mode-augmentation-maybee): Remove.
483 (eieio-describe-class-sb): Use `describe-function'.
484 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
485 Add `eieio-help-generic' and `eieio-help-constructor'.
486
487 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
488
489 Spelling fixes.
490 * language/china-util.el (hz-ascii-designation):
491 Rename from hz-ascii-designnation.
492 (hz-ascii-designation): Rename from hz-ascii-designnation.
493 All uses changed.
494
495 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
498 package-alist.
499
500 2014-01-08 Bastien Guerry <bzg@gnu.org>
501
502 * emacs-lisp/package.el (package-delete):
503 Correctly delete the package from package-alist.
504
505 2014-01-08 Daiki Ueno <ueno@gnu.org>
506
507 * emacs-lisp/package.el (url-recreate-url): Declare.
508 (url-http-target-url): Declare.
509 (package-handle-response): Include requested URL in the error message.
510 (package--check-signature): Don't re-signal errors from
511 package--with-work-buffer. Suggested by Stefan Monnier.
512
513 2014-01-07 Bastien Guerry <bzg@gnu.org>
514
515 * minibuffer.el (completion--try-word-completion): When both a
516 hyphen and a space are possible candidates for the character
517 following a word, display both candidates. (Bug#15980)
518
519 2014-01-07 Martin Rudalics <rudalics@gmx.at>
520
521 * window.el (balance-windows-2): While rounding don't give a
522 window more than the remainder. Bug#16351, Bug#16383.
523
524 2014-01-07 Glenn Morris <rgm@gnu.org>
525
526 * menu-bar.el (menu-bar-help-extra-packages): Remove.
527 (menu-bar-help-menu): Use view-external-packages instead.
528
529 2014-01-07 Bastien Guerry <bzg@gnu.org>
530
531 * emacs-lisp/package.el (package-delete): Also delete the package
532 name from `package-alist', not its description only.
533
534 2014-01-07 Glenn Morris <rgm@gnu.org>
535
536 * help.el (view-external-packages):
537 * menu-bar.el (menu-bar-help-extra-packages):
538 Visit efaq.info rather than etc/MORE.STUFF.
539
540 2014-01-07 Juri Linkov <juri@jurta.org>
541
542 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
543 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
544
545 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
546 that shadows RET. (Bug#16342)
547
548 2014-01-07 Chong Yidong <cyd@gnu.org>
549
550 * isearch.el (isearch-yank-char, isearch-yank-word)
551 (isearch-yank-line): Doc fix.
552
553 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
556 * emacs-lisp/elint.el (elint-find-builtins):
557 * emacs-lisp/eldoc.el (eldoc-symbol-function):
558 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
559 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
560 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
561 * apropos.el (apropos-safe-documentation):
562 * subr.el (symbol-file): Remove redundant fboundp.
563 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
564
565 2014-01-06 Bastien Guerry <bzg@gnu.org>
566
567 * hl-line.el (global-hl-line-overlay): Make a local variable.
568 (global-hl-line-overlays): New variable to store all overlays.
569 (global-hl-line-mode): Don't delete overlays from the current
570 buffer when `global-hl-line-sticky-flag' is non-nil.
571 (global-hl-line-highlight): Add new overlays to
572 `global-hl-line-overlays'.
573 (global-hl-line-unhighlight-all): New function to delete all
574 overlays when turning off `global-hl-line-mode'.
575 This fixes Bug#16183.
576
577 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * subr.el (set-transient-map): Fix nested case and docstring.
580
581 2014-01-06 Tassilo Horn <tsdh@gnu.org>
582
583 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
584 `Texinfo' entry.
585
586 2014-01-06 Daniel Colascione <dancol@dancol.org>
587
588 Fix defun navigation in vc log view.
589
590 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
591 like `beginning-of-defun'.
592 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
593 log-view-end-of-defun to log-view-end-of-defun-1. Replace
594 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
595 (log-view-extract-comment): Call `log-view-current-entry' directly
596 instead of relying on broken `log-view-beginning-of-defun' behavior.
597
598 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
599
600 Spelling fixes.
601 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
602 * emacs-lisp/debug.el (cancel-debug-on-entry):
603 * epg.el (epg-error-to-string):
604 * files.el (recover-file):
605 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
606 * mail/emacsbug.el (report-emacs-bug-hook):
607 * mail/sendmail.el (mail-recover):
608 * ses.el (ses-yank-resize):
609 * term/ns-win.el (ns-print-buffer):
610 Spelling fixes in diagnostics, mostly for "canceled" with one L.
611 * epg.el (epg-key-capability-alist): Rename from misspelled version.
612 All uses changed.
613 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
614
615 2014-01-06 Leo Liu <sdl.web@gmail.com>
616
617 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
618 to avoid shadowing global key. (Bug#16354)
619
620 2014-01-06 Daniel Colascione <dancol@dancol.org>
621
622 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
623 rst-mode.
624
625 2014-01-05 Martin Rudalics <rudalics@gmx.at>
626
627 * window.el (balance-windows): Add mising t to fix Bug#16351.
628
629 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
630
631 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
632 (bug#16285).
633 (shr-insert): If we have a word that's longer than `shr-width',
634 break after it anyway. Otherwise we'll do no breaking once we get
635 such a long word.
636
637 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
638
639 * net/eww.el (eww): Support single/double quote for search.
640 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
641 (eww-history-quit): Delete and use quit-window.
642 (eww-history-kill): Delete, because it doesn't work well and
643 not necessary.
644 (eww-history-mode-map): Delete some keys and add easy-menu.
645
646 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
647
648 Fix misspelling of 'chinese' in rx (Bug#16237).
649 * emacs-lisp/rx.el (rx-categories): Correct spelling of
650 chinese-two-byte.
651
652 Change subword regexps back to vars (Bug#16296).
653 * progmodes/subword.el (subword-forward-regexp)
654 (subword-backward-regexp): Change these back to variables.
655
656 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
659 syntax-begin-function (bug#16247).
660
661 2014-01-03 Chong Yidong <cyd@gnu.org>
662
663 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
664 (advice--docstring): Delete variable.
665 (advice--make-1): Leave the docstring empty.
666 (advice-add): Use function-documentation for advised docstring.
667
668 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
669 Ignore function-documentation property when getting documentation.
670 (ad-activate-advised-definition): Use function-documentation
671 generate the docstring.
672 (ad-make-advised-definition): Don't call
673 ad-make-advised-definition-docstring.
674 (ad-make-advised-definition-docstring, ad-advised-definition-p):
675 Delete functions.
676
677 * progmodes/sql.el (sql-help): Use function-documentation instead
678 of dynamic-docstring-function property. No need to autoload now.
679 (sql--help-docstring): New variable.
680 (sql--make-help-docstring): Use it.
681
682 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * ielm.el (ielm-tab): Retarget.
685 (ielm-map): Use ielm-tab for tab.
686 (ielm-complete-filename): Use comint-filename-completion.
687 (ielm-complete-symbol): Remove.
688 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
689 remove ielm-tab from completion-at-point-functions (bug#16224).
690
691 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
692 Beware signals raised by predicates (bug#16201).
693
694 2014-01-02 Richard Stallman <rms@gnu.org>
695
696 * dired-aux.el (dired-do-print): Handle printer-name.
697
698 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
699 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
700 (rmail-epa-decrypt): Turn off mime processing.
701
702 * mail/rmail.el (rmail-make-in-reply-to-field):
703 Add parens in message-id.
704
705 * mail/rmail.el (rmail-get-coding-function): Variable.
706 (rmail-get-coding-system): Use it.
707
708 2013-12-31 Eli Zaretskii <eliz@gnu.org>
709
710 * international/mule-conf.el: Unify the charset indian-is13194.
711 (indian-is13194): Specify unify-map.
712
713 2013-12-31 Leo Liu <sdl.web@gmail.com>
714
715 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
716
717 2013-12-30 Daniel Colascione <dancol@dancol.org>
718
719 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
720 of printing a useless when we resume from sleep.
721
722 * progmodes/sh-script.el
723 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
724 in indentation code. (Bug#16233)
725
726 2013-12-28 João Távora <joaotavora@gmail.com>
727
728 * elec-pair.el (electric-pair-post-self-insert-function):
729 Don't open extra newlines at beginning of buffer. (Bug#16272)
730
731 2013-12-28 Eli Zaretskii <eliz@gnu.org>
732
733 * frame.el (window-system-for-display): Don't allow to create a
734 GUI frame from a -nw session on MS-Windows. (Bug#14739)
735
736 2013-12-28 Glenn Morris <rgm@gnu.org>
737
738 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
739 Update callers.
740
741 * apropos.el (apropos-match-face):
742 * calculator.el (calculator-displayer):
743 * dabbrev.el (dabbrev-search-these-buffers-only):
744 * face-remap.el (buffer-face-mode-face):
745 * simple.el (yank-handled-properties):
746 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
747 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
748 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
749 (hashcash-double-spend-database):
750 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
751 (ruby-deep-indent-paren-style):
752 * textmodes/flyspell.el (flyspell-auto-correct-binding):
753 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
754 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
755 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
756 Specify custom types.
757
758 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
759 * bookmark.el (bookmark-bmenu-use-header-line):
760 * doc-view.el (doc-view-scale-internally):
761 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
762 * register.el (register-preview-delay):
763 * net/shr.el (shr-bullet):
764 * progmodes/cfengine.el (cfengine-cf-promises)
765 (cfengine-parameters-indent):
766 * progmodes/octave.el (inferior-octave-error-regexp-alist):
767 * textmodes/reftex-vars.el (reftex-label-regexps):
768 * vc/log-edit.el (log-edit-setup-add-author): Add version.
769
770 * net/tls.el (tls-certtool-program): Fix default value.
771
772 * desktop.el (desktop-restore-in-current-display):
773 * newcomment.el (comment-empty-lines):
774 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
775 (idlwave-pad-keyword):
776 * progmodes/tcl.el (tcl-tab-always-indent):
777 * textmodes/reftex-vars.el (reftex-index-default-tag):
778 * elec-pair.el (electric-pair-skip-whitespace):
779 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
780
781 * emacs-lisp/authors.el (authors-ignored-files)
782 (authors-valid-file-names, authors-renamed-files-alist): Additions.
783
784 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
785
786 * shell.el (shell-dynamic-complete-command): Doc fix.
787 (shell--command-completion-data): Shell completion now matches
788 executable filenames from the current buffer's directory, on
789 systems in which this behavior is the default (windows-nt, ms-dos).
790
791 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
792
793 * net/shr.el (shr-insert): Don't infloop if the width is zero.
794
795 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
796
797 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
798 (bug#16251).
799
800 * electric.el: Move all electric-pair-* to elec-pair.el.
801 * elec-pair.el: New file, split from electric.el.
802
803 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
804
805 * net/shr.el (shr-find-fill-point): Don't try to fill if the
806 indentation level is larger than the width, because that will
807 infloop.
808 (shr-insert): Fill repeatedly long texts, so that Japanese is
809 formatted correctly (bug#16263).
810 (shr-find-fill-point): Off by one error in comparison with the
811 indentation.
812
813 2013-12-26 João Távora <joaotavora@gmail.com>
814
815 * electric.el (electric-pair-mode): More flexible engine for skip-
816 and inhibit predicates, new options for pairing-related functionality.
817 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
818 if that keeps or improves their balance in buffers.
819 (electric-pair-delete-adjacent-pairs): Delete the pair when
820 backspacing over adjacent matched delimiters.
821 (electric-pair-open-extra-newline): Open extra newline when
822 inserting newlines between adjacent matched delimiters.
823 (electric--sort-post-self-insertion-hook):
824 Sort post-self-insert-hook according to priority values when
825 minor-modes are activated.
826 * simple.el (newline-and-indent): Call newline with interactive
827 set to t.
828 (blink-paren-post-self-insert-function): Set priority to 100.
829 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
830 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
831 comments. Locally set electric-pair-skip-whitespace to 'chomp and
832 electric-pair-open-newline-between-pairs to nil.
833
834 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
835
836 * progmodes/python.el: Use lexical-binding.
837 (python-nav-beginning-of-defun): Stop searching ASAP.
838
839 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
840
841 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
842 Fix interactive spec. Doc fix. (Bug#15754)
843
844 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
845
846 * emacs-lisp/byte-run.el (eval-when-compile):
847 * progmodes/cc-defs.el (cc-eval-when-compile):
848 Fix edebug spec (bug#16184).
849
850 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
851
852 * net/shr.el (shr-visit-file): Remove debugging function.
853 (shr-insert): Don't infloop if we can't find a good place to break
854 the line (bug#16256).
855
856 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
857
858 * progmodes/python.el:
859 (python-nav--lisp-forward-sexp): New function.
860 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
861 python-nav-lisp-forward-sexp-safe.
862 (python-nav--forward-sexp): New argument SAFE allows switching
863 forward sexp movement behavior for parens.
864 (python-nav-forward-sexp): Throw errors on unterminated parens
865 (Bug#16191).
866 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
867 (python-nav-backward-sexp-safe): New functions.
868 (python-shell-buffer-substring):
869 Use `python-nav-forward-sexp-safe'.
870
871 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
872
873 * net/shr.el (shr-find-fill-point): Don't break lines before a
874 quotation mark.
875 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
876 (shr-find-fill-point): Remove the special checks for the quotation
877 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
878
879 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
880
881 * net/eww.el (eww-form-textarea): Use a different face for
882 textareas than text input since they have different keymaps
883 (bug#16142).
884
885 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
886
887 * progmodes/python.el (python-nav-beginning-of-statement):
888 Speed up (Bug#15295).
889
890 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
891
892 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
893 the window configuration.
894
895 2013-12-24 Eli Zaretskii <eliz@gnu.org>
896
897 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
898 we run on MS-Windows or MS-DOS.
899
900 2013-12-24 Martin Rudalics <rudalics@gmx.at>
901
902 * window.el (balance-windows-area): Call window-size instead of
903 window-height and window-width. Bug#16241.
904
905 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
906
907 * net/eww.el (eww-bookmark-quit): Remove.
908 (eww-bookmark-browse): Restore the window configuration when you
909 choose a bookmark (bug#16144).
910
911 2013-12-24 Daniel Colascione <dancol@dancol.org>
912
913 * icomplete.el: Remove redundant :group arguments to `defcustom'
914 throughout.
915 (icomplete-show-matches-on-no-input): New customizable variable.
916 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
917 we have something to show.
918 (icomplete-exhibit): Compute completions even if we have no user input.
919
920 2013-12-23 Daniel Colascione <dancol@dancol.org>
921
922 * icomplete.el: Move `provide' to end of file.
923
924 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
925
926 * net/gnutls.el (gnutls-verify-error): Add version tag.
927
928 2013-12-23 Chong Yidong <cyd@gnu.org>
929
930 * subr.el (set-transient-map): Rename from
931 set-temporary-overlay-map. Doc fix.
932
933 * face-remap.el (text-scale-adjust):
934 * indent.el (indent-rigidly):
935 * kmacro.el (kmacro-call-macro):
936 * minibuffer.el (minibuffer-force-complete):
937 * repeat.el (repeat):
938 * simple.el (universal-argument--mode):
939 * calendar/todo-mode.el (todo-insert-item--next-param):
940 * progmodes/f90.el (f90-abbrev-start): Callers changed.
941
942 * indent.el (indent-rigidly): Use substitute-command-keys.
943
944 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
945
946 * net/eww.el (eww-tag-select): Add text-property to jump to next
947 select field.
948 (eww): Add non-supported ftp error.
949
950 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
951
952 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
953 comments. Handle electric indent after typing `?' and `!'.
954
955 2013-12-22 Chong Yidong <cyd@gnu.org>
956
957 * faces.el (face-spec-recalc): If the theme specs are not
958 applicable to a frame, fall back on the defface spec.
959 This prevents themes from obliterating faces on low-color terminals.
960
961 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
962
963 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
964 after `{'. We need it after block openers, and it doesn't seem
965 to hurt after hash openers.
966
967 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
968
969 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
970 extracted from `ruby-smie-rules'.
971 (ruby--electric-indent-chars): New variable.
972 (ruby--electric-indent-p): New function.
973 (ruby-mode): Use `electric-indent-functions' instead of
974 `electric-indent-chars'.
975
976 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
977
978 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
979 docstring.
980 (ruby-smie-rules): Indent plus one level after `=>'.
981
982 2013-12-21 Richard Stallman <rms@gnu.org>
983
984 * simple.el (newline): Doc fix.
985
986 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
987
988 * net/eww.el (eww-list-histories, eww-list-histories)
989 (eww-history-browse, eww-history-quit, eww-history-kill)
990 (eww-history-mode-map, eww-history-mode): New command and
991 functions to list browser histories.
992 (eww-form-text): Support text form with disabled
993 and readonly attributes.
994 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
995
996 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
997
998 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
999 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1000 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1001 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1002 Use `user-error'.
1003 (eww-bookmark-mode-map): Add menu.
1004 (eww-render, eww-mode): Use `setq-local'.
1005 (eww-tool-bar-map): New variable.
1006 (eww-mode): Set `tool-bar-map'.
1007 (eww-view-source): Check for `html-mode' with `fboundp'.
1008
1009 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1010
1011 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1012 elements with text inside. Also remove debugging.
1013
1014 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1015
1016 * cus-start.el (all): Add ns-use-srgb-colorspace.
1017
1018 2013-12-21 Chong Yidong <cyd@gnu.org>
1019
1020 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1021 undefined. Thus, theme settings for undefined faces do not take
1022 effect until the faces are defined with defface, the same as with
1023 theme variables.
1024
1025 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1026 (face-spec-reset-face): Don't assign extra properties in temacs.
1027 (face-spec-recalc): Apply X resources too.
1028
1029 2013-12-21 Chong Yidong <cyd@gnu.org>
1030
1031 * faces.el (face-spec-set):
1032 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1033 * custom.el (defface): Doc fixes (Bug#16203).
1034
1035 * indent.el (indent-rigidly-map): Add docstring, and move commands
1036 into named functions.
1037 (indent-rigidly-left, indent-rigidly-right)
1038 (indent-rigidly-left-to-tab-stop)
1039 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1040 indentation direction based on bidi direction, and accumulate
1041 sequential commands in a single undo boundary.
1042 (indent-rigidly--pop-undo): New utility function.
1043
1044 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1045
1046 * faces.el (read-face-name): Require crm.el when using crm-separator.
1047
1048 2013-12-20 Daniel Colascione <dancol@dancol.org>
1049
1050 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1051 so that we don't reflow comments into the shebang line.
1052
1053 2013-12-20 Juri Linkov <juri@jurta.org>
1054
1055 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1056 a position when `dired-directory' is non-nil. Check integer
1057 positions with `integerp'.
1058 (toggle-save-place, save-places-to-alist): Add check for
1059 `dired-directory'.
1060 (save-place-find-file-hook): Check integer positions with
1061 `integerp'.
1062 (save-place-dired-hook): Use `dired-goto-file' when
1063 `dired-filename' is found in the assoc list. Check integer
1064 positions with `integerp'.
1065 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1066
1067 * dired.el (dired-initial-position-hook): Rename back from
1068 `dired-initial-point-hook'.
1069 (dired-initial-position): Rename `dired-initial-point-hook' to
1070 `dired-initial-position-hook'.
1071 (dired-file-name-at-point): Doc fix. (Bug#15329)
1072
1073 2013-12-20 Juri Linkov <juri@jurta.org>
1074
1075 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1076 (read-regexp-suggestions): New function.
1077 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1078 Use `read-regexp-suggestions'. Add non-empty default to history
1079 for empty input.
1080 (occur-read-regexp-defaults-function): Remove function.
1081 (occur-read-primary-args): Use `regexp-history-last' instead of
1082 `occur-read-regexp-defaults-function'.
1083
1084 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1085 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1086 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1087 `hi-lock-read-regexp-defaults-function'. Doc fix.
1088 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1089 with `find-tag-default-as-symbol-regexp'. Doc fix.
1090 (hi-lock-read-regexp-defaults): Remove function.
1091 (hi-lock-regexp-okay): Add check for null.
1092
1093 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1094 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1095
1096 * subr.el (find-tag-default-as-symbol-regexp): New function.
1097 (find-tag-default-as-regexp): Move symbol regexp formatting to
1098 `find-tag-default-as-symbol-regexp'.
1099
1100 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1101
1102 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1103 (Bug#14179)
1104
1105 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1106
1107 * calendar/todo-mode.el: New implementation of item insertion
1108 commands and key bindings.
1109 (todo-key-prompt): New face.
1110 (todo-insert-item): New command.
1111 (todo-insert-item--parameters): New defconst, replacing defvar
1112 todo-insertion-commands-args-genlist.
1113 (todo-insert-item--param-key-alist): New defconst, replacing
1114 defvar todo-insertion-commands-arg-key-list.
1115 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1116 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1117 (todo-insert-item--next-param): New functions.
1118 (todo-insert-item--args, todo-insert-item--argleft)
1119 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1120 New variables.
1121 (todo-key-bindings-t): Change binding of "i" from
1122 todo-insertion-map to todo-insert-item.
1123 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1124 (todo-insertion-command-name, todo-insertion-commands-names)
1125 (todo-define-insertion-command, todo-insertion-commands)
1126 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1127
1128 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1129
1130 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1131 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1132 eval-when-compile.
1133 (todo-move-category): Allow choosing a non-existing todo file to
1134 move the category to, and create that file.
1135 (todo-default-priority): New user option.
1136 (todo-set-item-priority): Use it.
1137 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1138 (desktop-restore-file-buffer): Declare.
1139 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1140 (todo-modes-set-2): Locally set desktop-save-buffer to
1141 todo-desktop-save-buffer.
1142 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1143 (auto-mode-alist): Add autoload cookie.
1144
1145 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1146
1147 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1148 helpers.el was a poor choice of name.
1149 (string-remove-prefix): New function.
1150 (string-remove-suffix): New function.
1151
1152 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1153
1154 Fix assignment for new window total sizes.
1155 * window.el (window--pixel-to-size): Remove function.
1156 (window--pixel-to-total-1, window--pixel-to-total):
1157 Fix calculation of new total sizes.
1158
1159 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1160
1161 * comint.el (comint-output-filter): Fix rear-nonsticky property
1162 placement (Bug#16010).
1163
1164 2013-12-20 Chong Yidong <cyd@gnu.org>
1165
1166 * faces.el (read-color): Minor fix for completion function.
1167
1168 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1169
1170 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1171 New option. (Bug#16182)
1172 (ruby-smie--indent-to-stmt-p): Use it.
1173 (ruby-smie-rules): Revert the logic in the handling of `when'.
1174 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1175 (ruby-deep-arglist, ruby-deep-indent-paren)
1176 (ruby-deep-indent-paren-style): Update docstrings to note that the
1177 vars don't have any effect with SMIE.
1178
1179 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1180
1181 * calc/calc.el (calc-enter, calc-pop): Use the variable
1182 `calc-context-sensitive-enter'.
1183
1184 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1185
1186 * net/shr.el (shr-insert): Protect against infloops in degenerate
1187 tables.
1188
1189 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1190
1191 * progmodes/octave.el (octave): Add link to manual and octave
1192 homepage.
1193 (octave-mode-menu): Link to octave-mode manual.
1194
1195 2013-12-20 Leo Liu <sdl.web@gmail.com>
1196
1197 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1198 insertion using skeleton-end-newline. (Bug#16138)
1199
1200 2013-12-20 Juri Linkov <juri@jurta.org>
1201
1202 * replace.el (occur-engine): Use `add-face-text-property'
1203 to add the face property to matches and titles. (Bug#14645)
1204
1205 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1206 the palette of other hi-lock colors.
1207 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1208
1209 2013-12-19 Juri Linkov <juri@jurta.org>
1210
1211 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1212 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1213 (minibuffer-history-symbol): Move variable declaration closer to
1214 its usage.
1215
1216 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1217 (Bug#14785)
1218
1219 2013-12-19 Juri Linkov <juri@jurta.org>
1220
1221 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1222 New function.
1223 (log-edit-hook): Add it to :options. (Bug#16170)
1224
1225 2013-12-19 Juri Linkov <juri@jurta.org>
1226
1227 * simple.el (eval-expression-print-format): Don't check for
1228 command names and the last command. Always display additional
1229 formats of the integer result in the echo area, and insert them
1230 to the current buffer only with a zero prefix arg.
1231 Display character when char-displayable-p is non-nil.
1232 (eval-expression): With a zero prefix arg, set `print-length' and
1233 `print-level' to nil, and insert the integer values from
1234 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1235
1236 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1237 `eval-last-sexp-arg-internal'. Doc fix.
1238 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1239 `eval-last-sexp-print-value'. Doc fix.
1240 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1241 Set `print-length' and `print-level' to nil when arg is zero.
1242 (eval-last-sexp): Doc fix.
1243 (eval-defun-2): Print the integer values from
1244 `eval-expression-print-format' at the end.
1245
1246 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1247 values from `eval-expression-print-format' at the end.
1248
1249 * ielm.el (ielm-eval-input): Print the integer
1250 values from `eval-expression-print-format' at the end.
1251
1252 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1253
1254 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1255 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1256
1257 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1260 (hl-line-highlight, global-hl-line-highlight): Use it.
1261 (hl-line-overlay): Use defvar-local.
1262
1263 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1264
1265 * term/ns-win.el: Require dnd.
1266 (global-map): Remove drag items.
1267 (ns-insert-text, ns-set-foreground-at-mouse)
1268 (ns-set-background-at-mouse):
1269 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1270 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1271 New functions.
1272
1273 2013-12-19 Glenn Morris <rgm@gnu.org>
1274
1275 * emacs-lisp/ert.el (ert-select-tests):
1276 Fix string/symbol mixup. (Bug#16121)
1277
1278 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1279
1280 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1281 keywords to their parent.
1282
1283 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1284
1285 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1286 first arg to be a string (fixed dead code), or an operator symbol.
1287 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1288 operator symbols.
1289 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1290 did nothing. Don't respond to `(:after ".")', it will be called
1291 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1292 change anything. Only return indentation for binary operators
1293 when they are hanging. De-dent opening paren when its parent is
1294 `.', otherwise it looks bad when the dot is not at bol or eol
1295 (bug#16182).
1296
1297 2013-12-19 Juri Linkov <juri@jurta.org>
1298
1299 * replace.el (query-replace-read-args): Split a non-negative arg
1300 and a negative arg into separate elements.
1301 (query-replace, query-replace-regexp, replace-string)
1302 (replace-regexp): Add arg `backward'. Doc fix.
1303 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1304 move point to the beginning of the match.
1305 (replace-search, replace-highlight): Use new arg `backward'
1306 to set the value of `isearch-forward'.
1307 (perform-replace): Add arg `backward' and use it to perform
1308 replacement backward. (Bug#14979)
1309
1310 * isearch.el (isearch-query-replace): Use a negative prefix arg
1311 to call `perform-replace' with a non-nil arg `backward'.
1312
1313 2013-12-18 Juri Linkov <juri@jurta.org>
1314
1315 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1316 to the default list. Move `log-edit-show-files' to the end.
1317 Add more available functions to options.
1318 (log-edit): Move default specific settings to
1319 `log-edit-insert-message-template'. Don't move point.
1320 (log-edit-insert-message-template): New function.
1321 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1322 (Bug#16170)
1323
1324 2013-12-18 Juri Linkov <juri@jurta.org>
1325
1326 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1327 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1328
1329 2013-12-18 Leo Liu <sdl.web@gmail.com>
1330
1331 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1332 (Bug#16186)
1333
1334 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1335
1336 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1337 formats for displaying file sizes when the -s switch is given.
1338 Instead, compute a separate format for displaying the size in
1339 blocks, which is displayed in addition to the "regular" size.
1340 When -h is given in addition to -s, produce size in blocks in
1341 human-readable form as well. (Bug#16179)
1342
1343 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1344
1345 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1346 Reference tables with ~\ref{...} instead of only \ref{...}.
1347
1348 2013-12-18 Chong Yidong <cyd@gnu.org>
1349
1350 * cus-edit.el (custom-magic-alist): Fix "themed" description
1351 (Bug#14348).
1352
1353 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1354 is non-nil, do not create a new entry in the symbol's theme-value
1355 or theme-face property; update theme-settings only (Bug#14664).
1356 (custom-available-themes): Doc fix.
1357
1358 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1359 (Bug#15674).
1360
1361 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1362
1363 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1364
1365 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1366 (Bug#13914).
1367
1368 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1369
1370 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1371
1372 2013-12-18 Glenn Morris <rgm@gnu.org>
1373
1374 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1375 * cus-start.el (load-prefer-newer): New option.
1376
1377 2013-12-18 Le Wang <l26wang@gmail.com>
1378
1379 * comint.el (comint-previous-matching-input-from-input):
1380 Retain point (Bug#13404).
1381
1382 2013-12-18 Chong Yidong <cyd@gnu.org>
1383
1384 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1385
1386 2013-12-18 Glenn Morris <rgm@gnu.org>
1387
1388 * mail/emacsbug.el (report-emacs-bug):
1389 Only mention enable-multibyte-characters if non-standard.
1390
1391 2013-12-17 Juri Linkov <juri@jurta.org>
1392
1393 * arc-mode.el (archive-extract-by-file): Check if directory exists
1394 before deletion to not show irrelevant errors if it doesn't exist.
1395
1396 2013-12-17 Juri Linkov <juri@jurta.org>
1397
1398 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1399 (Bug#14751)
1400
1401 * net/eww.el (browse-web): Add alias to `eww'.
1402 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1403 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1404
1405 * net/browse-url.el (browse-url-browser-function): Move `eww'
1406 closer to similar functions.
1407
1408 * startup.el (fancy-startup-screen, fancy-about-screen):
1409 Set browse-url-browser-function to eww-browse-url locally.
1410 (Bug#14751)
1411
1412 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1413
1414 * window.el (window--pixel-to-total): Remove unused `mini' var.
1415 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1416 (split-window): Remove unused `new' var.
1417 (window--display-buffer): Remove unused `frame' and `delta' vars.
1418 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1419 and display-width'.
1420
1421 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1422
1423 * dired.el (dired-mark-pop-up):
1424 * register.el (register-preview): Don't bind
1425 split-height-threshold here since it's now done in
1426 display-buffer-below-selected.
1427
1428 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1429
1430 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1431 xterm-rgb-convert-to-16bit.
1432 (rxvt-register-default-colors): Standardize with
1433 xterm-register-default-colors (Bug#14078).
1434
1435 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1436
1437 * simple.el (kill-region): Pass mark first, then point, so that
1438 kill-append works right (Bug#12819).
1439 (copy-region-as-kill, kill-ring-save): Likewise.
1440
1441 2013-12-17 Leo Liu <sdl.web@gmail.com>
1442
1443 * net/rcirc.el (rcirc-add-face):
1444 * eshell/em-prompt.el (eshell-emit-prompt):
1445 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1446 (Bug#16167)
1447
1448 2013-12-17 Chong Yidong <cyd@gnu.org>
1449
1450 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1451 Suggested by Xue Fuqiao.
1452
1453 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1454
1455 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1456
1457 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * net/shr.el (shr-insert-document): Remove unused var
1460 `shr-preliminary-table-render'.
1461 (shr-rescale-image): Remove unused arg `force'.
1462 (shr-put-image): Update calls accordingly.
1463 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1464
1465 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1466
1467 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1468 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1469 :close-all, to see which indentation method to use (Bug#16116).
1470 (smie-rules-function): Document the method :close-all.
1471
1472 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1473
1474 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1475
1476 * net/eww.el (eww-display-html): If we can't find the anchor we're
1477 looking for, then go to point-min.
1478
1479 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1480
1481 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1482 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1483 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1484 Expand dir too, in case it's relative.
1485
1486 2013-12-16 Juri Linkov <juri@jurta.org>
1487
1488 * desktop.el (desktop-auto-save-timeout): Change default to
1489 `auto-save-timeout'. Doc fix.
1490 (desktop-save): Skip the timestamp in desktop-saved-frameset
1491 when checking for auto-save changes.
1492 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1493 `desktop-auto-save' is called repeatedly by the idle timer.
1494 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1495 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1496 (Bug#15331)
1497
1498 2013-12-16 Juri Linkov <juri@jurta.org>
1499
1500 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1501 (Bug#16035)
1502 (isearch-pre-command-hook): Check `this-command' for symbolp.
1503
1504 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1505
1506 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1507
1508 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1509
1510 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1511 (cfengine3--current-function): Bring in the current-function
1512 functionality from `cfengine3--current-word'.
1513 (cfengine3-completion-function): Bring in the
1514 bounds-of-current-word functionality from
1515 `cfengine3--current-word'.
1516
1517 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1518
1519 * window.el (display-buffer-below-selected):
1520 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1521
1522 2013-12-16 Leo Liu <sdl.web@gmail.com>
1523
1524 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1525 Remove NOMSG arg and all uses changed.
1526
1527 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1530 (cua--deactivate-rectangle): Don't deactivate the mark.
1531 (cua-set-rectangle-mark): Don't set mark-active since
1532 cua--activate-rectangle already does it for us.
1533 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1534 non-rectangular region.
1535
1536 * emulation/cua-base.el (cua-repeat-replace-region):
1537 Use with-current-buffer.
1538
1539 * net/gnutls.el: Use cl-lib.
1540 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1541
1542 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1543
1544 * emacs-lisp/package.el (package-built-in-p): Support both
1545 built-in and the package.el converted package descriptions.
1546 (package-show-package-list): Allow keywords.
1547 (package-keyword-button-action): Use it instead of
1548 `finder-list-matches'.
1549 (package-menu-filter-interactive): Interactive filtering (by
1550 keyword) function.
1551 (package-menu--generate): Support keywords and change keymappings
1552 and headers when they are given.
1553 (package--has-keyword-p): Helper function.
1554 (package-menu--refresh): Use it.
1555 (package--mapc): Helper function.
1556 (package-all-keywords): Use it.
1557 (package-menu-mode-map): Set up menu items and keybindings to
1558 provide a filtering UI.
1559
1560 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1561
1562 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1563 the behavior when a certificate fails validation. Defaults to
1564 old behavior: never abort, just warn.
1565 (gnutls-negotiate): Use it.
1566
1567 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1568
1569 * window.el (display-buffer-below-selected): Never split window
1570 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1571
1572 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1573
1574 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1575 (package-buffer-info): Use it (bug#15108).
1576
1577 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1578
1579 * icomplete.el (icomplete-completions): Make sure the prefix is already
1580 displayed elsewhere before hiding it (bug#16219).
1581
1582 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1583
1584 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1585 open-paren tokens when preceded by a open-paren, too.
1586 (ruby-smie-rules): Handle virtual indentation after open-paren
1587 tokens specially. If there is code between it and eol, return the
1588 column where is starts (Bug#16118).
1589
1590 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1591
1592 * progmodes/cfengine.el: Fix `add-hook' doc.
1593 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1594 (cfengine3--current-word): Fix parameters.
1595 (cfengine3-make-syntax-cache): Simplify further.
1596 (cfengine3-completion-function, cfengine3--current-function):
1597 Use `assq' for symbols.
1598 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1599
1600 2013-12-13 Glenn Morris <rgm@gnu.org>
1601
1602 * loadup.el (load-path): Warn if site-load or site-init changes it.
1603 No more need to reset it when bootstrapping.
1604
1605 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1606
1607 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1608 locations for cf-promises.
1609 (cfengine-mode-syntax-functions-regex): New caching variable.
1610 (cfengine3-fallback-syntax): Fallback syntax for cases where
1611 cf-promises doesn't run.
1612 (cfengine3--current-word): Reimplement using
1613 `cfengine-mode-syntax-functions-regex'.
1614 (cfengine3-completion-function, cfengine3--current-function):
1615 Use `cfengine3-make-syntax-cache' directly.
1616 (cfengine3-clear-syntax-cache): New function.
1617 (cfengine3-make-syntax-cache): Simplify and create
1618 `cfengine-mode-syntax-functions-regex' on demand.
1619 (cfengine3-format-function-docstring): Don't call
1620 `cfengine3-make-syntax-cache' explicitly.
1621
1622 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1623
1624 Fix windmove-find-other-window broken after pixelwise resizing
1625 (Bug#16017).
1626 * windmove.el (windmove-other-window-loc): Revert change from
1627 2013-12-04.
1628 (windmove-find-other-window): Call window-in-direction.
1629 * window.el (window-in-direction): New arguments SIGN, WRAP and
1630 MINI to emulate original windmove-find-other-window behavior.
1631
1632 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1633
1634 * simple.el (blink-matching--overlay): New variable.
1635 (blink-matching-open): Instead of moving point, highlight the
1636 matching paren with an overlay
1637 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1638
1639 * faces.el (paren-showing-faces, show-paren-match)
1640 (show-paren-mismatch): Move from paren.el.
1641
1642 2013-12-13 Leo Liu <sdl.web@gmail.com>
1643
1644 * indent.el (indent-region): Disable progress reporter in
1645 minibuffer. (Bug#16108)
1646
1647 * bindings.el (visual-order-cursor-movement): Fix version.
1648
1649 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1650
1651 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1652 Also match after beginning of line.
1653 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1654 files. Thanks to Russell Sim. (Bug#15378)
1655
1656 2013-12-13 Juri Linkov <juri@jurta.org>
1657
1658 * simple.el <Keypad support>: Remove key bindings duplicated
1659 with bindings.el. (Bug#14397)
1660
1661 2013-12-13 Juri Linkov <juri@jurta.org>
1662
1663 * comint.el (comint-mode-map): Replace `delete-char' with
1664 `delete-forward-char'. (Bug#16109)
1665
1666 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1667
1668 * progmodes/python.el (python-indent-calculate-indentation):
1669 Fix de-denters cornercase. (Bug#15731)
1670
1671 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1674 (advice--make): Pay attention to `depth'.
1675 (advice--make-1): Don't autoload commands eagerly.
1676 * emacs-lisp/elp.el (elp-instrument-function):
1677 * emacs-lisp/trace.el (trace-function-internal):
1678 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1679
1680 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1681
1682 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1683
1684 * term/w32-win.el (w32-handle-dropped-file):
1685 * startup.el (normal-top-level):
1686 * net/browse-url.el (browse-url-file-url):
1687 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1688 decode file names using 'utf-8' rather than
1689 file-name-coding-system.
1690
1691 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1692
1693 * progmodes/python.el (python-indent-context)
1694 (python-indent-calculate-indentation): Fix auto-identation
1695 behavior for comment blocks. (Bug#15916)
1696
1697 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1698
1699 * progmodes/python.el (python-indent-calculate-indentation):
1700 When determining indentation, don't treat "return", "pass", etc., as
1701 operators when they are just string constituents. (Bug#15812)
1702
1703 2013-12-12 Juri Linkov <juri@jurta.org>
1704
1705 * uniquify.el (uniquify-buffer-name-style): Change default to
1706 `post-forward-angle-brackets'.
1707
1708 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1709 `uniquify'. Change default to `post-forward-angle-brackets'.
1710
1711 2013-12-11 Glenn Morris <rgm@gnu.org>
1712
1713 * emacs-lisp/package.el (finder-list-matches):
1714 Autoload rather than falsely declaring.
1715
1716 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1717
1718 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1719 (eww-mode-map): Use them.
1720
1721 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1722
1723 * window.el (display-buffer-in-side-window): Fix doc-string
1724 (Bug#16115).
1725
1726 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1727
1728 * vc/vc-git.el: Silence byte-compiler warnings.
1729 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1730 (log-edit-set-header): Declare.
1731
1732 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1733
1734 * Makefile.in (custom-deps, finder-data): Run output file names
1735 through unmsys--file-name. (Bug#16099)
1736
1737 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1738
1739 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1740 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1741
1742 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1743 instead of deleting the selection "by hand" (bug#16098).
1744 Rely on insert-for-yank to yank rectangles.
1745 (cua-highlight-region-shift-only): Mark obsolete.
1746 (cua-mode): Don't enable/disable transient-mark-mode,
1747 shift-select-mode (cua-mode works both with and without them), and
1748 pc-selection-mode (obsolete).
1749 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1750 (cua--deactivate-rectangle): Deactivate it.
1751
1752 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1753 (delete-selection-helper): Make sure yank starts at the top of the
1754 deleted region.
1755 (minibuffer-keyboard-quit): Use region-active-p.
1756
1757 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1758
1759 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1760 to `delete' (bug#16109).
1761
1762 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1763
1764 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1765 info manual and show keybindings and set `:group' keyword.
1766
1767 2013-12-11 Juri Linkov <juri@jurta.org>
1768
1769 * delsel.el (delete-active-region): Let-bind `this-command'
1770 to prevent `kill-region' from changing its original value.
1771 (delete-selection-helper): Handle `overwrite-mode' for the type
1772 `kill' exactly the same way as for the type `t'.
1773 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1774 Support more commands. (Bug#13312)
1775
1776 2013-12-11 Juri Linkov <juri@jurta.org>
1777
1778 * bindings.el: Map kp keys to non-kp keys systematically
1779 with basic modifiers control, meta and shift. (Bug#14397)
1780
1781 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1782
1783 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1784 "Close browser" menu items. Fix wrong function of "List
1785 bookmarks".
1786
1787 2013-12-11 Juri Linkov <juri@jurta.org>
1788
1789 * misearch.el (multi-isearch-buffers): Set the value of
1790 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1791 arg of isearch-forward to t.
1792 (multi-isearch-buffers-regexp): Set the value of
1793 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1794 arg of isearch-forward-regexp to t.
1795 (multi-isearch-files): Set the value of
1796 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1797 arg of isearch-forward to t.
1798 (multi-isearch-files-regexp): Set the value of
1799 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1800 arg of isearch-forward-regexp to t. (Bug#16035)
1801
1802 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1803 arg of isearch-forward to t.
1804 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1805 arg of isearch-forward-regexp to t.
1806 (dired-isearch-filter-filenames): Remove unnecessary check for
1807 `dired-isearch-filenames'.
1808
1809 * comint.el (comint-history-isearch-backward):
1810 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1811 (comint-history-isearch-backward-regexp):
1812 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1813
1814 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1815
1816 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1817 unmsys--file-name. (Bug#16099)
1818
1819 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1820
1821 * emacs-lisp/package.el (package-keyword-button-action):
1822 Remove finder.el require dependency.
1823
1824 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1825
1826 * emacs-lisp/package.el: Require finder.el.
1827 (describe-package-1): Add keyword buttons.
1828 (package-make-button): New convenience function.
1829 (package-keyword-button-action): Keyword button action using
1830 `finder-list-matches'.
1831
1832 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1833
1834 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1835 last commit.
1836
1837 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1840 symlinked files.
1841
1842 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1843
1844 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1845 after the end of a percent literal.
1846
1847 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1848
1849 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1850 Handle caret-delimited strings (Bug#16079).
1851
1852 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1853
1854 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1855 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1856 `ruby-parse-partial' (Bug#16078).
1857
1858 2013-12-09 Leo Liu <sdl.web@gmail.com>
1859
1860 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1861
1862 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1863
1864 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1865 (js-switch-indent-offset): New option.
1866 (js--proper-indentation): Use it. And handle the case when
1867 "default" is actually a key in an object literal.
1868 (js--same-line): New function.
1869 (js--multi-line-declaration-indentation): Use it.
1870 (js--indent-in-array-comp, js--array-comp-indentation):
1871 New functions.
1872 (js--proper-indentation): Use them, to handle array comprehension
1873 continuations.
1874
1875 2013-12-08 Leo Liu <sdl.web@gmail.com>
1876
1877 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1878 (flymake-make-overlay): Remove arg MOUSE-FACE.
1879 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1880
1881 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1884 New function.
1885 (redisplay-highlight-region-function): Use it.
1886
1887 * emulation/cua-base.el (cua--explicit-region-start)
1888 (cua--last-region-shifted): Remove.
1889 (cua--deactivate): Use deactivate-mark.
1890 (cua--pre-command-handler-1): Don't handle shift-selection.
1891 (cua--post-command-handler-1): Don't change transient-mark-mode.
1892 (cua--select-keymaps): Use region-active-p rather than
1893 cua--explicit-region-start or cua--last-region-shifted.
1894 (cua-mode): Enable shift-select-mode.
1895
1896 2013-12-08 Leo Liu <sdl.web@gmail.com>
1897
1898 * progmodes/flymake.el (flymake-popup-current-error-menu):
1899 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1900 (flymake-posn-at-point-as-event, flymake-popup-menu)
1901 (flymake-make-emacs-menu): Remove. (Bug#16077)
1902
1903 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * rect.el (rectangle-mark-mode): Activate mark even if
1906 transient-mark-mode is off (bug#16066).
1907 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1908 is > mark and at bolp.
1909
1910 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1911 (region-extract-function): Use it.
1912 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1913 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1914 Delete functions.
1915 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1916 kill-ring-save, kill-region, delete-char, delete-forward-char.
1917 Ignore self-insert-iso.
1918
1919 * emulation/cua-gmrk.el (cua--init-global-mark):
1920 Ignore `self-insert-iso'.
1921
1922 * emulation/cua-base.el (cua--prefix-copy-handler)
1923 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1924 checking cua--rectangle.
1925 (cua-delete-region): Use region-extract-function.
1926 (cua-replace-region): Delete function.
1927 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1928 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1929 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1930 (cua--init-keymaps): Don't remap delete-selection commands.
1931 (cua-mode): Use delete-selection-mode instead of rolling our own
1932 (bug#16085).
1933
1934 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1935 Obey region-extract-function.
1936
1937 Make registers and delete-selection-mode work on rectangles.
1938 * register.el (describe-register-1): Don't modify the register's value.
1939 (copy-to-register): Obey region-extract-function.
1940 * delsel.el (delete-active-region): Obey region-extract-function.
1941
1942 2013-12-08 Leo Liu <sdl.web@gmail.com>
1943
1944 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1945 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1946 (flymake-compilation-prevents-syntax-check)
1947 (flymake-start-syntax-check-on-newline)
1948 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1949 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1950 (flymake-xml-program, flymake-master-file-dirs)
1951 (flymake-master-file-count-limit)
1952 (flymake-allowed-file-name-masks): Relocate.
1953 (flymake-makehash, flymake-float-time)
1954 (flymake-replace-regexp-in-string, flymake-split-string)
1955 (flymake-get-temp-dir): Remove.
1956 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1957 (flymake-current-row, flymake-selected-frame)
1958 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1959 related functions. (Bug#16077)
1960
1961 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1962
1963 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1964
1965 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1966
1967 * help-fns.el (describe-function-1): Use new advice-* functions
1968 rather than old ad-* functions. Fix function type description and
1969 source links for advised functions and subrs.
1970
1971 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972
1973 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1974
1975 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * progmodes/compile.el (compilation-start):
1978 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1979
1980 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1981 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1982
1983 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1984
1985 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1986 Touch up the last change.
1987
1988 2013-12-06 Leo Liu <sdl.web@gmail.com>
1989
1990 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1991 (inferior-octave-startup): Always use "octave> " for prompt.
1992 (octave-goto-function-definition)
1993 (octave-sync-function-file-names)
1994 (octave-find-definition-default-filename): Remove redundant backquotes.
1995
1996 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1997
1998 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1999 syntax for `?'.
2000 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2001 where appropriate already.
2002 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2003 end of method names (Bug#15874).
2004
2005 2013-12-06 Juri Linkov <juri@jurta.org>
2006
2007 * isearch.el (isearch--saved-overriding-local-map):
2008 New internal variable.
2009 (isearch-mode): Set it to the initial value of
2010 `overriding-terminal-local-map'.
2011 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2012 with `isearch--saved-overriding-local-map'. (Bug#16035)
2013
2014 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2015
2016 * progmodes/octave.el (inferior-octave-completion-table):
2017 Turn back into function, use `completion-table-with-cache'
2018 (Bug#11906). Update all references.
2019
2020 * minibuffer.el (completion-table-with-cache): New function.
2021
2022 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2023
2024 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2025
2026 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2027
2028 * net/eww.el (eww-current-source): New variable to store page
2029 source.
2030 (eww-display-html, eww-mode, eww-save-history)
2031 (eww-restore-history): Use it.
2032 (eww-view-source): New command to view page source.
2033 Opportunistically uses `html-mode' to highlight the buffer.
2034 (eww-mode-map): Install it.
2035
2036 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2037
2038 * net/dbus.el (dbus-unregister-service)
2039 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2040 Fix docstring.
2041 (dbus-unregister-service): Skip :serial entries in
2042 `dbus-registered-objects-table'.
2043 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2044
2045 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2046
2047 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2048 around keywords with extra `split-string' argument.
2049
2050 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2051
2052 * windmove.el (windmove-other-window-loc): Handle navigation
2053 between windows (excluding the minibuffer window - Bug#16017).
2054
2055 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2058 in D-Bus type syntax.
2059 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2060 preserve unibyte strings. (Bug#16048)
2061
2062 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2065 Call force-mode-line-update is the proper buffer (bug#16042).
2066
2067 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2068
2069 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2070 `log-edit-remember-comment', make argument optional. Adjust all
2071 callers.
2072 (log-edit-mode): Add `log-edit-remember-comment' to
2073 `kill-buffer-hook' locally.
2074 (log-edit-kill-buffer): Don't remember comment explicitly since
2075 the buffer is killed anyway.
2076
2077 2013-12-04 Juri Linkov <juri@jurta.org>
2078
2079 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2080 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2081
2082 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2083
2084 * notifications.el (notifications-close-notification): Call the
2085 D-Bus method with ID being a `:uint32'. (Bug#16030)
2086
2087 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2088
2089 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2090
2091 2013-12-03 Juri Linkov <juri@jurta.org>
2092
2093 * progmodes/compile.el (compilation-start): Rename window alist
2094 entry `no-display-ok' to `allow-no-window'.
2095
2096 * simple.el (shell-command): Add window alist entry
2097 `allow-no-window' to `display-buffer'.
2098 (async-shell-command): Doc fix.
2099
2100 * window.el (display-buffer-no-window): New action function.
2101 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2102
2103 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2104
2105 * vc/log-edit.el (log-edit-set-header): Extract from
2106 `log-edit-toggle-header'.
2107 (log-edit-extract-headers): Separate the summary, when extracted
2108 from header, from the rest of the message with an empty line.
2109
2110 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2111 line, if present, to the Summary header.
2112
2113 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2116 in current-buffer (bug#16029).
2117
2118 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2119
2120 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2121 (debugger-mode-map): Bind it.
2122 (debugger--backtrace-base): New function.
2123 (debugger-eval-expression): Use it.
2124 (debugger-frame-number): Skip local vars when present.
2125 (debugger--locals-visible-p, debugger--insert-locals)
2126 (debugger--show-locals, debugger--hide-locals): New functions.
2127
2128 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2129
2130 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2131 "LC_ALL".
2132 (tramp-get-remote-locale): New defun.
2133 (tramp-open-connection-setup-interactive-shell): Use it.
2134
2135 2013-12-02 Leo Liu <sdl.web@gmail.com>
2136
2137 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2138
2139 * progmodes/sh-script.el (sh-shell-process):
2140 * progmodes/octave.el (inferior-octave-process-live-p):
2141 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2142 (gdb-inferior-io-sentinel):
2143 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2144
2145 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2146
2147 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2148 `save-selected-window' to `log-edit-hide-buf'. This makes
2149 `log-edit-show-files' idempotent.
2150 (log-edit-show-files): Mark the new window as dedicated.
2151
2152 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2153
2154 * vc/log-edit.el (log-edit-mode-map): Add binding for
2155 `log-edit-kill-biffer'.
2156 (log-edit-hide-buf): Add a FIXME comment.
2157 (log-edit-add-new-comment): New function, extracted from
2158 `log-edit-done'.
2159 (log-edit-done, log-edit-add-to-changelog): Use it.
2160 (log-edit-kill-buffer): New command.
2161
2162 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2163
2164 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2165 instead of killing the buffer.
2166
2167 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2170
2171 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2172
2173 * net/eww.el (eww-form-checkbox-selected-symbol)
2174 (eww-form-checkbox-symbol): New customizable variable.
2175 (eww-form-checkbox, eww-toggle-checkbox):
2176 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2177
2178 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2179 (shr--get-media-pref, shr--extract-best-source): New function.
2180 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2181 no :src tag was specified.
2182
2183 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2184 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2185 Use \\` to match beginning of string instead of ^.
2186 (eww-browse-with-external-browser): Provide optional URL parameter.
2187 (eww-render): Set `eww-current-title' back to "".
2188
2189 * net/shr.el (shr-tag-video): Display content for video if no
2190 poster is available.
2191 (shr-tag-audio): Add support for <audio> tag.
2192
2193 * net/eww.el (eww-text-input-types): New const.
2194 (eww-process-text-input): Treat input types in
2195 `eww-text-input-types' as text.
2196
2197 * net/shr.el (shr-tag-table): Fix comment typo.
2198
2199 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2200
2201 * net/eww.el (eww-follow-link): New command to avoid reloading
2202 pages when we follow #target links (bug#15243).
2203 (eww-quit): Special mode buffers shouldn't query before exiting.
2204
2205 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2206
2207 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2208 forms.
2209
2210 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2211
2212 * net/eww.el (eww-restore-history): Update the window title after
2213 moving in the history.
2214 (eww-current-dom): New variable used to save the current DOM.
2215
2216 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2217
2218 * vc/log-edit.el (log-edit-mode-map): Add binding for
2219 `log-edit-beginning-of-line'.
2220 (log-edit-setup-add-author): New user option.
2221 (log-edit-beginning-of-line): New command.
2222 (log-edit): Move major mode call above the contents setup so that
2223 the local variable values are already applied.
2224 (log-edit): Only insert "Author: " when
2225 `log-edit-setup-add-author' is non-nil.
2226 (log-edit): When SETUP is non-nil, position point after ": "
2227 instead of point-min.
2228
2229 2013-12-01 Glenn Morris <rgm@gnu.org>
2230
2231 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2232
2233 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2234
2235 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2236 redisplay to make sure the initial frame gets a chance to become
2237 visible. (Bug#16014)
2238
2239 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2240
2241 Support resizing frames and windows pixelwise.
2242 * cus-start.el (frame-resize-pixelwise)
2243 (window-resize-pixelwise): New entries.
2244 * emacs-lisp/debug.el (debug): Use window-total-height instead
2245 of window-total-size.
2246 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2247 * help.el (describe-bindings-internal): Call help-buffer
2248 (temp-buffer-max-width): New option.
2249 (resize-temp-buffer-window, help-window-setup)
2250 (with-help-window): Rewrite.
2251 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2252 dragging dividers.
2253 * window.el (frame-char-size, window-min-pixel-height)
2254 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2255 (window-min-pixel-width, window-safe-min-pixel-size)
2256 (window-combination-p, window-safe-min-size)
2257 (window-resizable-p, window--size-to-pixel)
2258 (window--pixel-to-size, window--resize-apply-p): New functions.
2259 (window-safe-min-height): Fix doc-string.
2260 (window-size, window-min-size, window--min-size-1)
2261 (window-sizable, window-sizable-p, window--min-delta-1)
2262 (window-min-delta, window--max-delta-1, window-max-delta)
2263 (window--resizable, window--resizable-p, window-resizable)
2264 (window-full-height-p, window-full-width-p, window-at-side-p)
2265 (window--in-direction-2, window-in-direction)
2266 (window--resize-reset-1, window--resize-mini-window)
2267 (window-resize, window-resize-no-error)
2268 (window--resize-child-windows-normal)
2269 (window--resize-child-windows, window--resize-siblings)
2270 (window--resize-this-window, window--resize-root-window)
2271 (window--resize-root-window-vertically)
2272 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2273 (maximize-window, minimize-window, delete-window)
2274 (quit-restore-window, window-split-min-size, split-window)
2275 (balance-windows-2, balance-windows)
2276 (balance-windows-area-adjust, balance-windows-area)
2277 (window--state-get-1, window-state-get, window--state-put-1)
2278 (window--state-put-2, window-state-put)
2279 (display-buffer-record-window, window--display-buffer):
2280 Make functions handle pixelwise sizing of windows.
2281 (display-buffer--action-function-custom-type)
2282 (display-buffer-fallback-action):
2283 Add display-buffer-in-previous-window.
2284 (display-buffer-use-some-window): Resize window to height it had
2285 before.
2286 (fit-window-to-buffer-horizontally): New option.
2287 (fit-frame-to-buffer): Describe new values.
2288 (fit-frame-to-buffer-bottom-margin): Replace with
2289 fit-frame-to-buffer-margins.
2290 (window--sanitize-margin): New function.
2291 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2292 using window-text-pixel-size.
2293
2294 2013-11-30 Glenn Morris <rgm@gnu.org>
2295
2296 * emacs-lisp/bytecomp.el (byte-compile-form):
2297 Make the `interactive-only' warning like the `obsolete' one.
2298 * comint.el (comint-run):
2299 * files.el (insert-file-literally, insert-file):
2300 * replace.el (replace-string, replace-regexp):
2301 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2302 (goto-line, insert-buffer, next-line, previous-line):
2303 Tweak `interactive-only' spec.
2304
2305 Stop keeping (most) generated cedet grammar files in the repository.
2306 * Makefile.in (semantic): New.
2307 (compile-main): Depend on semantic.
2308
2309 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2312 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2313
2314 * uniquify.el (uniquify-buffer-name-style): Change default.
2315
2316 * loadup.el: Preload "uniquify".
2317
2318 * time.el (display-time-update): Update all mode lines (bug#15999).
2319
2320 * electric.el (electric-indent-mode): Enable by default.
2321 * loadup.el: Preload "electric".
2322
2323 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2324
2325 * emacs-lisp/helpers.el (string-empty-p): New function.
2326 (string-blank-p): New function.
2327
2328 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2329
2330 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2331 (Bug#14029).
2332
2333 2013-11-29 Andreas Politz <politza@fh-trier.de>
2334 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2335 allow non-lambda lists as functions.
2336 (imenu--in-alist): Don't recurse into non-subalists.
2337 (imenu): Don't pass function itself as an argument (Bug#14029).
2338
2339 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * progmodes/python.el (python-mode-map): Remove binding for ":".
2342 (python-indent-electric-colon): Remove command.
2343 (python-indent-post-self-insert-function): Integrate the previous code
2344 of python-indent-electric-colon. Make it conditional on
2345 electric-indent-mode.
2346 (python-mode): Add ?: to electric-indent-chars.
2347 Move python-indent-post-self-insert-function to the end of
2348 post-self-insert-hook.
2349
2350 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * doc-view.el (doc-view-goto-page): Update mode-line.
2353
2354 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2355
2356 2013-11-27 Glenn Morris <rgm@gnu.org>
2357
2358 * international/charprop.el, international/uni-bidi.el:
2359 * international/uni-category.el, international/uni-combining.el:
2360 * international/uni-comment.el, international/uni-decimal.el:
2361 * international/uni-decomposition.el, international/uni-digit.el:
2362 * international/uni-lowercase.el, international/uni-mirrored.el:
2363 * international/uni-name.el, international/uni-numeric.el:
2364 * international/uni-old-name.el, international/uni-titlecase.el:
2365 * international/uni-uppercase.el:
2366 Remove generated files from VCS repository.
2367
2368 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2369
2370 * filenotify.el (file-notify-add-watch): Don't special-case
2371 w32notify when computing the directory to watch.
2372
2373 2013-11-27 Glenn Morris <rgm@gnu.org>
2374
2375 Make bootstrap without generated uni-*.el files possible again.
2376 * loadup.el: Update command-line-args checking for unidata-gen.
2377 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2378 * composite.el, international/characters.el:
2379 Handle unicode tables being undefined.
2380
2381 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2382 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2383 (compile-main): Depend on leim rule.
2384 (leim): New rule.
2385 * loadup.el: Move leim-list.el to leim/ subdirectory.
2386 * startup.el (normal-top-level): No more leim directory.
2387 * international/ja-dic-cnv.el (skkdic-convert):
2388 Disable version-control and autoloads in output files.
2389 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2390 Disable version-control and autoloads in output files.
2391 * leim/quail: Move here from ../leim.
2392 * leim/quail/hangul.el (hangul-input-method-activate):
2393 Add autoload cookie.
2394 (generated-autoload-load-name): Set file-local value.
2395 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2396 (generated-autoload-load-name): Set file-local value.
2397
2398 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2399
2400 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2401 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2402 (eww-quit): Ask confirmation before quitting eww.
2403
2404 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2405
2406 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2407 reading output from Diff on MS-Windows and MS-DOS.
2408
2409 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2410
2411 * emacs-lisp/helpers.el (string-reverse): New function.
2412
2413 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2414
2415 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2416 names on MS Windows, like "/[::1]:".
2417
2418 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2419 SWITCHES.
2420
2421 2013-11-26 Glenn Morris <rgm@gnu.org>
2422
2423 * progmodes/python.el (python-indent-guess-indent-offset):
2424 Avoid corner-case error. (Bug#15975)
2425
2426 Preload leim-list.el. (Bug#4789)
2427 * loadup.el: Load leim-list.el when found.
2428 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2429
2430 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2431
2432 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2433
2434 * emacs-lisp/helpers.el (string-join): New function.
2435
2436 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2437
2438 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2439 Mark as obsolete and replace it with a symbol property.
2440 (byte-compile-form): Use new 'interactive-only property.
2441 * comint.el, files.el, replace.el, simple.el:
2442 Apply new 'interactive-only properly.
2443
2444 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2445
2446 * window.el (display-buffer-at-bottom): Make sure that
2447 split-window-sensibly creates the new window on bottom
2448 (Bug#15961).
2449
2450 2013-11-23 David Kastrup <dak@gnu.org>
2451
2452 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2453 on the conflict markers when available.
2454 (smerge--get-marker): New function.
2455 (smerge-end-re, smerge-base-re): Add subgroup.
2456
2457 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2458
2459 * frame.el (handle-focus-in, handle-focus-out): Add missing
2460 interactive spec.
2461
2462 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2463
2464 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2465 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2466
2467 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2470 (gomoku--last-pos): New var.
2471 (gomoku--intangible-chars): New const.
2472 (gomoku--intangible): New function.
2473 (gomoku-mode): Use it. Derive from special-mode.
2474 (gomoku-move-up): Adjust line count.
2475 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2476 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2477 Simplify accordingly.
2478
2479 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2480 Remove blink-cursor code.
2481 (blink-cursor-timer-function, blink-cursor-suspend):
2482 Don't special-case GUIs.
2483 (blink-cursor-mode): Use focus-in/out-hook.
2484
2485 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2486
2487 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2488 work when annotation is invisible (Bug#13886).
2489
2490 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2491
2492 * json.el (json-alist-p): Only return non-nil if the alist has
2493 simple keys (Bug#13518).
2494
2495 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2496
2497 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2498 when control-statement is the first statement in a buffer (Bug#15956).
2499
2500 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2501
2502 * imenu.el (imenu-generic-skip-comments-and-strings):
2503 New option (Bug#15560).
2504 (imenu--generic-function): Use it.
2505
2506 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2507
2508 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2509 (Bug#13898)
2510
2511 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2512
2513 * emacs-lisp/helpers.el: Add some string helpers.
2514 (string-trim-left): Removes leading whitespace.
2515 (string-trim-right): Removes trailing whitespace.
2516 (string-trim): Removes leading and trailing whitespace.
2517
2518 * subr.el (string-suffix-p): New function.
2519
2520 2013-11-23 Glenn Morris <rgm@gnu.org>
2521
2522 * progmodes/python.el (python-shell-send-file):
2523 Add option to delete file when done. (Bug#15647)
2524 (python-shell-send-string, python-shell-send-region): Use it.
2525
2526 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2527
2528 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2529 to set buffer-read-only to t, never to nil. (Bug#15938)
2530
2531 * textmodes/tex-mode.el (latex-noindent-environments):
2532 Add safe-local-variable property. (Bug#15936)
2533
2534 2013-11-23 Glenn Morris <rgm@gnu.org>
2535
2536 * textmodes/enriched.el (enriched-mode): Doc fix.
2537 * emacs-lisp/authors.el (authors-renamed-files-alist):
2538 Add enriched.doc -> enriched.txt.
2539
2540 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2541
2542 2013-11-22 Leo Liu <sdl.web@gmail.com>
2543
2544 * progmodes/octave.el (inferior-octave-startup): Spit out error
2545 message.
2546
2547 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2548
2549 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2550 Improve docstring.
2551 Add :version.
2552 (ruby-encoding-magic-comment-style): Add :version.
2553
2554 2013-11-22 Leo Liu <sdl.web@gmail.com>
2555
2556 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2557 (Bug#15076)
2558 (octave-help-mode): Adapt to change to help-mode-finish to use
2559 derived-mode-p on 2013-09-17.
2560 (inferior-octave-prompt): Also match octave-gui.
2561 (octave-kill-process): Don't ask twice. (Bug#10564)
2562
2563 2013-11-22 Leo Liu <sdl.web@gmail.com>
2564
2565 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2566 (inferior-octave-startup, inferior-octave-check-process)
2567 (inferior-octave-track-window-width-change)
2568 (octave-completion-at-point, octave-eldoc-function): Use it.
2569 (octave-kill-process): Provide confirmation. (Bug#10564)
2570
2571 2013-11-21 Leo Liu <sdl.web@gmail.com>
2572
2573 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2574 Fix obsolete variable comment-use-global-state.
2575
2576 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2577
2578 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2579 Add `octave-source-file'.
2580 (octave-source-file): New function. (Bug#15935)
2581
2582 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2583
2584 * net/eww.el (eww-local-regex): New variable.
2585 (eww): Use it to detect localhost and similar.
2586
2587 2013-11-21 Leo Liu <sdl.web@gmail.com>
2588
2589 Add completion for command `ag'.
2590 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2591 (pcomplete/ag): New function.
2592 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2593
2594 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2595
2596 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2597 (bug#14646).
2598 (make-obsolete): Remove interactive spec.
2599
2600 2013-11-21 Glenn Morris <rgm@gnu.org>
2601
2602 * startup.el (command-line-1): Use path-separator with -L.
2603
2604 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2605
2606 * emacs-lisp/package.el (describe-package-1): Add package archive
2607 to shown fields.
2608
2609 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2610
2611 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2612 Change default to "# encoding: %s" to differentiate it from the
2613 default Ruby encoding comment template.
2614
2615 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2616
2617 * ses.el (ses-mode): Doc fix. (Bug#14748)
2618
2619 2013-11-20 Leo Liu <sdl.web@gmail.com>
2620
2621 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2622
2623 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2624
2625 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2626 when rebase or bisect are in progress.
2627
2628 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2629
2630 * filenotify.el (file-notify-add-watch): Doc fix.
2631
2632 2013-11-19 Leo Liu <sdl.web@gmail.com>
2633
2634 * obsolete/rcompile.el: Mark obsolete.
2635
2636 * progmodes/compile.el (compilation-start)
2637 (compilation-goto-locus, compilation-find-file):
2638 Pass no-display-ok and handle nil value from display-buffer.
2639 (Bug#13594)
2640
2641 * window.el (display-buffer-alist, display-buffer): Document the
2642 new parameter no-display-ok. Return either a window or nil
2643 but never a non-window value.
2644
2645 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * electric.el (electric-indent-mode-map): Remove.
2648 (electric-indent-mode): Change the global-map instead (bug#15915).
2649
2650 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2651 Use add-function.
2652
2653 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2654
2655 * emacs-lisp/nadvice.el (remove-function): Align with
2656 add-function's behavior.
2657
2658 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2659 (gdb--string-regexp): New constant.
2660 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2661 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2662 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2663 submatch 1.
2664 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2665 Adjust use accordingly.
2666 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2667
2668 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2669
2670 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2671 interpolation curlies (Bug#15914).
2672
2673 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2674
2675 * calc/calc.el (calc-context-sensitive-enter): New variable.
2676 (calc-enter): Use `calc-context-sensitive-enter'.
2677
2678 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2679
2680 * progmodes/cfengine.el: Version bump.
2681 (cfengine-cf-promises): New defcustom to locate cf-promises.
2682 (cfengine3-vartypes): Add new "data" type.
2683 (cfengine3--current-word): New function to get current name-like
2684 word or its bounds.
2685 (cfengine3--current-function): New function to look up a CFEngine
2686 function's definition.
2687 (cfengine3-format-function-docstring): New function.
2688 (cfengine3-make-syntax-cache): New function.
2689 (cfengine3-documentation-function): New function: ElDoc glue.
2690 (cfengine3-completion-function): New function: completion glue.
2691 (cfengine3-mode): Set `compile-command',
2692 `eldoc-documentation-function', and add to
2693 `completion-at-point-functions'.
2694
2695 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2696
2697 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2698 `tramp-current-connection'.
2699
2700 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2701
2702 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2703 nil/self/true/false with "end of symbol".
2704
2705 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2706
2707 * subr.el (version-regexp-alist): Fix a typo.
2708
2709 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2710
2711 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2712 "en_US.utf8" and "LC_CTYPE" to "".
2713 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2714 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2715
2716 2013-11-15 Leo Liu <sdl.web@gmail.com>
2717
2718 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2719
2720 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * progmodes/gud.el (ctl-x-map):
2723 Remove C-x SPC binding. (Bug#12342)
2724 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2725
2726 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2727
2728 * subr.el (version-regexp-alist):
2729 Recognize hg, svn and darcs versions as snapshot versions.
2730
2731 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2732 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2733 (ruby--encoding-comment-required-p): Extract from
2734 `ruby-mode-set-encoding'.
2735 (ruby-mode-set-encoding): Add the ability to always insert an
2736 utf-8 encoding comment. Fix and simplify coding comment update
2737 logic.
2738
2739 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2740
2741 * net/tramp-gvfs.el (top): Run init code only when
2742 `tramp-gvfs-enabled' is not nil.
2743 (tramp-gvfs-enabled): Check also :system bus.
2744
2745 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2746
2747 Sync with upstream verilog-mode revision 78e66ba.
2748 * progmodes/verilog-mode.el (verilog-end-of-defun)
2749 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2750 (verilog-get-end-of-defun): Remove unused argument.
2751 (verilog-comment-depth): Remove unused local `e'.
2752 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2753 Don't pass arg to verilog-get-end-of-defun.
2754
2755 2013-11-14 Glenn Morris <rgm@gnu.org>
2756
2757 * obsolete/assoc.el (aget): Prefix dynamic variable.
2758
2759 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2760
2761 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * widget.el, hfy-cmap.el: Remove bogus package version number.
2764
2765 2013-11-13 Glenn Morris <rgm@gnu.org>
2766
2767 * replace.el (replace-eval-replacement):
2768 Try to give more helpful error message. (Bug#15836)
2769
2770 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2771 (archive-7z-update): Avoid custom type mismatches.
2772
2773 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2774
2775 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2776
2777 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2778 address can be empty.
2779
2780 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2781 Accept nil SWITCHES.
2782 (tramp-gvfs-handle-write-region): Implement APPEND.
2783
2784 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2785
2786 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2787 binary "|" operator and closing block args delimiter.
2788 Remove FIXME comment referring to Ruby 1.8-only syntax.
2789 (ruby-smie--implicit-semi-p): Not after "|" operator.
2790 (ruby-smie--closing-pipe-p): New function.
2791 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2792 (ruby-smie-rules): Indent after "|".
2793
2794 2013-11-12 Glenn Morris <rgm@gnu.org>
2795
2796 * ps-print.el (ps-face-attribute-list):
2797 Handle anonymous faces. (Bug#15827)
2798
2799 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2800
2801 * window.el (display-buffer-other-frame): Fix doc-string.
2802 (Bug#15868)
2803
2804 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2807
2808 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2811 (tramp-sh-handle-file-local-copy): Don't write a message when
2812 saving temporary files.
2813
2814 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2815 both directories are remote.
2816 (tramp-smb-handle-directory-files): Do not return double entries.
2817 Do not expand full file names.
2818 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2819 (tramp-smb-handle-write-region): Implement APPEND.
2820 (tramp-smb-get-stat-capability): Fix a stupid bug.
2821
2822 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2823
2824 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2825
2826 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2827
2828 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2829 throwing error over malformed let/let* (bug#15814).
2830
2831 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * iswitchb.el (iswitchb-mode): Mark obsolete.
2834
2835 2013-11-11 Glenn Morris <rgm@gnu.org>
2836
2837 * international/uni-bidi.el, international/uni-category.el:
2838 * international/uni-name.el, international/uni-numeric.el:
2839 Regenerate for Unicode 6.3.0.
2840
2841 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2842
2843 * net/tramp.el (tramp-methods):
2844 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2845 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2846
2847 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2848
2849 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2850 Force highlighting text after Summary keyword in doc face for rpm.
2851
2852 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2853
2854 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2855 available and the word has no wildcards, append one to the grep pattern.
2856 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2857 (ispell-complete-word): Call `ispell-lookup-words' with the value
2858 independent of `ispell-look-p'.
2859
2860 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2861
2862 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2863 Not after "||".
2864 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2865 their parent.
2866
2867 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2868
2869 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2870 (ruby-font-lock-keywords): Use backquote.
2871
2872 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2873
2874 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2875 (ruby-smie--backward-token): Only consider full-string matches.
2876
2877 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2878
2879 * faces.el (describe-face): Add distant-foreground.
2880
2881 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2882
2883 * progmodes/ruby-mode.el: Improve encoding comment handling.
2884 (ruby-encoding-magic-comment-style): New option.
2885 (ruby-custom-encoding-magic-comment-template): New option.
2886 (ruby--insert-coding-comment, ruby--detect-encoding):
2887 New functions extracted from `ruby-mode-set-encoding'.
2888 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2889 to control the style of the auto-inserted encoding comment.
2890
2891 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2892
2893 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2894 Use `smie-backward-sexp' with token argument.
2895
2896 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2897
2898 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2899 Remove instrumentation code.
2900
2901 2013-11-08 Glenn Morris <rgm@gnu.org>
2902
2903 * progmodes/autoconf.el (autoconf-mode):
2904 Tweak comment-start-skip. (Bug#15822)
2905
2906 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2907
2908 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2909 at bobp (bug#15826).
2910 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2911
2912 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2913
2914 * man.el (Man-start-calling): New macro, extracted from
2915 Man-getpage-in-background.
2916 (Man-getpage-in-background): Use it.
2917 (Man-update-manpage): New command.
2918 (Man-mode-map): Bind it.
2919
2920 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2921
2922 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2923 of "and", "or", "&&" and "||".
2924 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2925 argument. Prohibit opening curly brace because it could only be a
2926 block opener in that position.
2927 (ruby-smie--forward-token, ruby-smie--backward-token):
2928 Separate "|" from "&" or "*" going after it. That can happen in block
2929 arguments.
2930 (ruby-smie--indent-to-stmt): New function, seeks the end of
2931 previous statement or beginning of buffer.
2932 (ruby-smie-rules): Use it.
2933 (ruby-smie-rules): Check if there's a ":" before a curly block
2934 opener candidate; if there is, it's a hash.
2935
2936 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2937
2938 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2939 (cl--block-wrapper): Fix last accidental change.
2940
2941 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2942
2943 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2944 Instrument, in order to hunt failure on hydra.
2945
2946 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2947
2948 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2949 malformed bindings form (bug#15814).
2950
2951 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2952
2953 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2954 "." compared to " @ ". This incidentally fixes some indentation
2955 examples with "do".
2956 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2957 (ruby-smie-grammar): New tokens: "and" and "or".
2958 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2959 Exclude "and" and "or". Remove "do" in order to work around token
2960 priorities.
2961 (ruby-smie-rules): Add all infix tokens. Handle the case of
2962 beginning-of-buffer.
2963
2964 2013-11-06 Glenn Morris <rgm@gnu.org>
2965
2966 * Makefile.in (setwins_almost, setwins_for_subdirs):
2967 Avoid accidental matches.
2968
2969 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * menu-bar.el (popup-menu): Use key-binding.
2972
2973 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2974
2975 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2976 menus, support also the menus produced by minor modes.
2977 (Bug#15817)
2978
2979 2013-11-06 Leo Liu <sdl.web@gmail.com>
2980
2981 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2982 DISTANCE to bound the search. All uses changed. (Bug#15808)
2983
2984 2013-11-06 Glenn Morris <rgm@gnu.org>
2985
2986 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2987 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2988 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2989
2990 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * electric.el (electric-indent-just-newline): New command.
2993 (electric-indent-mode-map): New keymap.
2994 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2995 Re-add :group which weren't redundant.
2996
2997 * electric.el (electric-indent-local-mode): New minor mode.
2998 (electric-indent-functions-without-reindent): New var.
2999 (electric-indent-post-self-insert-function): Use it.
3000 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3001
3002 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3003
3004 * international/quail.el (quail-help): Be more explicit about the
3005 meaning of the labels shown on the keys. (Bug#15800)
3006
3007 * startup.el (normal-top-level): Load the subdirs.el files before
3008 setting the locale environment. (Bug#15805)
3009
3010 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3011
3012 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3013 via arguments so as to get the right ones (bug#15418).
3014
3015 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3016
3017 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3018
3019 Fix problems found while writing a test suite.
3020
3021 * net/tramp-compat.el (tramp-compat-load): New defun.
3022 * net/tramp.el (tramp-handle-load): Use it.
3023
3024 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3025 "(numberp ok-if-already-exists)" correctly.
3026
3027 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3028
3029 * international/characters.el (glyphless-char-display-control):
3030 Add usage note.
3031
3032 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3033
3034 * progmodes/python.el (python-mode):
3035 * progmodes/scheme.el (scheme-mode):
3036 * progmodes/prolog.el (prolog-mode):
3037 * progmodes/ruby-mode.el (ruby-mode):
3038 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3039 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3040
3041 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * rect.el (rectangle--highlight-for-redisplay):
3044 * emacs-lisp/smie.el (smie--next-indent-change):
3045 Use buffer-chars-modified-tick.
3046
3047 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3048
3049 * electric.el (electric-indent-post-self-insert-function):
3050 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3051
3052 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3053
3054 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3055
3056 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3057
3058 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3059 (bug#15786).
3060
3061 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3064
3065 * progmodes/python.el: Fix up last change.
3066 (python-shell--save-temp-file): New function.
3067 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3068 `string' comes from the current buffer.
3069 (python-shell-send-string-no-output): Remove `msg' arg.
3070 (python--use-fake-loc): New var.
3071 (python-shell-buffer-substring): Obey it. Try to compensate for the
3072 extra coding line added by python-shell--save-temp-file.
3073 (python-shell-send-region): Use python-shell--save-temp-file and
3074 python-shell-send-file directly. Add `nomain' argument.
3075 (python-shell-send-buffer): Use python-shell-send-region.
3076 (python-electric-pair-string-delimiter): New function.
3077 (python-mode): Use it.
3078
3079 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3080
3081 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3082 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3083 environment and decoding all of the default-directory's to here
3084 from command-line.
3085 (command-line): Decode also argv[0].
3086
3087 * loadup.el: Error out if default-directory is a multibyte string
3088 when we are dumping.
3089
3090 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3091
3092 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3093
3094 * emacs-lisp/package.el (package-menu-mode)
3095 (package-menu--print-info, package-menu--archive-predicate):
3096 Add Archive column to package list.
3097
3098 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3099
3100 Fix problems found while writing a test suite.
3101
3102 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3103 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3104 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3105 to nil when running original file name handler. Otherwise,
3106 there are problems with constructs like "$$FOO".
3107
3108 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3109 for `localname'.
3110
3111 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3112
3113 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3114
3115 * subr.el (version<, version<=, version=):
3116 Update docstrings with information for snapshot versions.
3117
3118 * helpers.el: New library for misc helper functions.
3119 (hash-table-keys): New function returning a list of hash keys.
3120 (hash-table-values): New function returning a list of hash values.
3121
3122 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3123
3124 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3125 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3126
3127 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3128
3129 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3130 checking whether point is after a 1-letter word.
3131
3132 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3133
3134 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3135 Don't infloop when expanding region over `multiline' syntax-type that
3136 begins a line (bug#15778).
3137
3138 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3141 Make it into a proper minor mode.
3142 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3143 (rectangle-mark-mode-map): New keymap.
3144 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3145
3146 2013-11-04 Glenn Morris <rgm@gnu.org>
3147
3148 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3149
3150 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3153 (ruby-smie-rules): Use smie-rule-parent instead.
3154
3155 * emacs-lisp/smie.el (smie-rule-parent): Always call
3156 smie-indent-virtual rather than only for hanging tokens.
3157 (smie--next-indent-change): New helper command.
3158
3159 2013-11-03 Glenn Morris <rgm@gnu.org>
3160
3161 * Makefile.in (abs_srcdir): Remove.
3162 (emacs): Unset EMACSLOADPATH.
3163
3164 2013-11-02 Glenn Morris <rgm@gnu.org>
3165
3166 * Makefile.in (EMACS): Use a relative filename.
3167 (abs_top_builddir): Remove.
3168 (custom-deps, finder-data, autoloads): Use --chdir.
3169
3170 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3171
3172 Use relative filenames in TAGS files.
3173 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3174 (lisptagsfiles4, TAGS): Use relative file names.
3175 (TAGS-LISP): Remove.
3176 (maintainer-clean): No more TAGS-LISP file.
3177
3178 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3179 (lisptagsfiles4): Use absolute filenames again.
3180 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3181 Remove all *loaddefs files, not just the first. Remove esh-groups.
3182 (maintainer-clean): Delete TAGS, TAGS-LISP.
3183
3184 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3185
3186 * emacs-lisp/package.el (package-version-join):
3187 Recognize snapshot versions.
3188
3189 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3190
3191 * subr.el (version-regexp-alist): Add support for snapshot versions.
3192
3193 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3194
3195 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3196 New function, replacement for `smie-rule-parent' for when we want to
3197 skip over our direct parent if it's an assignment token..
3198 (ruby-smie-rules): Use it.
3199
3200 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3201
3202 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3203 unconditionally. Remove now unnecessary forward declarations.
3204 Remove XEmacs-specific setup.
3205 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3206 (ruby-font-lock-syntactic-keywords)
3207 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3208 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3209 (ruby-here-doc-end-syntax): Remove.
3210 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3211 defined as function.
3212
3213 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3214
3215 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3216
3217 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3218
3219 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3220 table and abbrev table, `define-derived-mode' does that for us
3221 anyway.
3222
3223 2013-11-01 Glenn Morris <rgm@gnu.org>
3224
3225 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3226 files is atomic for some time, so no parallel compilation issues).
3227
3228 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3229
3230 * faces.el (face-x-resources): Add :distant-foreground.
3231 (region): Use :distant-foreground for gtk and ns.
3232
3233 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3234
3235 Allow multiple bibliographies when BibLaTeX is used rather than
3236 BibTeX.
3237 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3238 (reftex-locate-bibliography-files): Us it.
3239
3240 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3241
3242 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3243 allow comments in pbm files.
3244
3245 * term/w32-win.el (dynamic-library-alist): Support newer versions
3246 of libjpeg starting with v7: look only for the DLL from the
3247 version against which Emacs was built.
3248 Support versions of libpng beyond 1.4.x.
3249 Support libtiff v4.x.
3250
3251 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3252
3253 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3254 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3255 Add property :safe.
3256 (ruby-deep-arglist): Add property :type.
3257
3258 2013-10-31 Glenn Morris <rgm@gnu.org>
3259
3260 * Makefile.in (custom-deps, finder-data): No need to setq the target
3261 variables, we are in the right directory and the defaults work fine.
3262
3263 2013-10-30 Glenn Morris <rgm@gnu.org>
3264
3265 * Makefile.in (autoloads): Do not use abs_lisp.
3266
3267 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3268 `newline' does not respect `standard-output', so use `princ'.
3269
3270 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3271
3272 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3273 * buff-menu.el (Buffer-menu--unmark): New function.
3274 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3275
3276 2013-10-30 Glenn Morris <rgm@gnu.org>
3277
3278 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3279
3280 * emacs-lisp/package.el (lm-homepage): Declare.
3281
3282 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3283 Fix doc typos.
3284
3285 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3286
3287 * Makefile.in (finder-data, autoloads, update-subdirs)
3288 (compile-main, compile-clean, compile-always, bootstrap-clean):
3289 Check return value of cd.
3290 (compile-calc): Remove.
3291
3292 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3295
3296 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3297 (byte-compile-and-folded): New function.
3298 (=, <, >, <=, >=): Use it.
3299
3300 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3301 (path-separator, null-device, buffer-file-coding-system)
3302 (lpr-headers-switches): Check system-type before modifying them.
3303 (find-buffer-file-type-coding-system): Mark obsolete.
3304 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3305 find-file-not-found-set-buffer-file-coding-system.
3306 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3307 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3308 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3309 (w32-direct-print-region-helper, w32-direct-print-region-function)
3310 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3311 * startup.el (normal-top-level-add-subdirs-to-load-path):
3312 * ps-print.el (ps-print-region-function):
3313 * lpr.el (print-region-function): Use new name.
3314
3315 * subr.el (custom-declare-variable-early): Remove function.
3316 (custom-declare-variable-list): Remove var.
3317 (error, user-error): Remove `while' loop.
3318 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3319 (user-emacs-directory-warning, locate-user-emacs-file):
3320 Move to files.el.
3321 * simple.el (read-quoted-char-radix, read-quoted-char):
3322 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3323 Move from subr.el.
3324 * custom.el (custom-declare-variable-list): Don't process
3325 custom-declare-variable-list.
3326
3327 * progmodes/python.el (python-shell-get-buffer): New function.
3328 (python-shell-get-process): Use it.
3329 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3330 Python which encoding was used. Don't split-string since we only care
3331 about the first line. Return the temp-file, if applicable.
3332 (python-shell-send-region): Tell compile.el how to turn locations in
3333 the temp-file into locations in the source buffer.
3334
3335 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * subr.el (undefined): Add missing behavior from the C code for
3338 unbound keys.
3339
3340 * rect.el: Use lexical-binding. Add new rectangular region support.
3341 (rectangle-mark): New command.
3342 (rectangle--region): New var.
3343 (deactivate-mark-hook): Reset rectangle--region.
3344 (rectangle--extract-region, rectangle--insert-for-yank)
3345 (rectangle--highlight-for-redisplay)
3346 (rectangle--unhighlight-for-redisplay): New functions.
3347 (region-extract-function, redisplay-unhighlight-region-function)
3348 (redisplay-highlight-region-function): Use them to handle
3349 rectangular region.
3350 * simple.el (region-extract-function): New var.
3351 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3352 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3353 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3354 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3355 (redisplay-unhighlight-region-function)
3356 (redisplay-highlight-region-function): New vars.
3357 (redisplay--update-region-highlight): New function.
3358 (pre-redisplay-function): Use it.
3359 (exchange-point-and-mark): Don't deactivate the mark before
3360 reactivate-it anyway.
3361 * comint.el (comint-kill-region): Remove yank-handler argument.
3362 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3363 (delete-char): Remove property, since it's now part of their
3364 default behavior.
3365 (self-insert-iso): Remove property since this command doesn't exist.
3366
3367 * emacs-lisp/package.el (package--download-one-archive)
3368 (describe-package-1): Don't query the user about final newline.
3369
3370 2013-10-29 Daniel Colascione <dancol@dancol.org>
3371
3372 * net/tramp.el (tramp-methods): Document new functionality.
3373 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3374 tramp-hostname-checker if method provides one instead of scanning
3375 argument list for "%h" to decide hostname acceptability.
3376
3377 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3378
3379 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3380 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3381 Handle COPY-CONTENTS. (Bug#15737)
3382
3383 2013-10-28 Daiki Ueno <ueno@gnu.org>
3384
3385 * epa-file.el
3386 (epa-file-cache-passphrase-for-symmetric-encryption):
3387 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3388
3389 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3390
3391 * image.el (defimage):
3392 (image-load-path): Doc fixes.
3393
3394 2013-10-27 Alan Mackenzie <acm@muc.de>
3395
3396 Indent statements in macros following "##" correctly.
3397 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3398 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3399
3400 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3401
3402 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3403
3404 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3405
3406 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3407 after `=' is probably a new expression.
3408
3409 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3410
3411 * man.el (man-imenu-title): New option.
3412 (Man-mode-map): Add menu. (Bug#15722)
3413 (Man-mode): Add imenu to menu.
3414
3415 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3416
3417 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3418 specific in what the first arg can be: a non-keyword word,
3419 string/regexp/percent literal opener, opening paren, or unary
3420 operator followed directly by word.
3421
3422 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3423
3424 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3425 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3426 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3427 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3428 Remove vars, they do not apply any more.
3429 (prolog-mode-abbrev-table): Remove redundant declaration.
3430 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3431 (prolog-use-smie): Remove.
3432 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3433 supported by prolog-electric-if-then-else-flag.
3434 (prolog-mode-variables, prolog-menu): Use setq-local.
3435 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3436 Remove binding to `Backspace' since this key doesn't exist anyway.
3437 Remove bindings for electric self-inserting keys.
3438 (prog-mode): Assume it's defined.
3439 (prolog-post-self-insert): New function.
3440 (prolog-mode): Use it.
3441 (prolog-indent-line, prolog-indent-level)
3442 (prolog-find-indent-of-matching-paren)
3443 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3444 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3445 (prolog-goto-next-paren, prolog-in-string-or-comment)
3446 (prolog-tokenize, prolog-inside-mline-comment)
3447 (prolog-find-start-of-mline-comment): Remove functions.
3448 (prolog-find-unmatched-paren, prolog-clause-end)
3449 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3450 (prolog-electric--if-then-else): Rename from
3451 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3452 (prolog-tokenize-searchkey): Remove const.
3453 (prolog-clause-info): Use forward-sexp.
3454 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3455 (prolog-electric-if-then-else): Remove commands.
3456 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3457 for use in post-self-insert-hook.
3458 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3459 for use in post-self-insert-hook.
3460 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3461 for use in post-self-insert-hook.
3462 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3463 adapt it for use in post-self-insert-hook.
3464
3465 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3466
3467 * emacs-lisp/ert.el (ert-run-tests-interactively):
3468 Use `completing-read'. (Bug#9756)
3469
3470 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3471
3472 * simple.el (line-move): Call line-move-1 instead of
3473 line-move-visual when the current window hscroll is zero, but
3474 temporary-goal-column indicates we will need to hscroll as result
3475 of the movement. (Bug#15712)
3476
3477 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3478
3479 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3480 capitalization. Use :visible instead of :active.
3481 Fix `ruby-indent-exp' reference. Add menu items for the generic
3482 commands that are used with SMIE.
3483 (ruby-do-end-to-brace): Insert space after `{'.
3484
3485 2013-10-25 John Anthony <john@jo.hnanthony.com>
3486
3487 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3488
3489 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3490
3491 2013-10-25 Glenn Morris <rgm@gnu.org>
3492
3493 * vc/vc.el (vc-print-log): Don't use a working revision unless
3494 one was explicitly specified. (Bug#15322)
3495
3496 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * subr.el (add-to-list): Preserve return value in compiler-macro
3499 (bug#15692).
3500
3501 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3502
3503 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3504 result. Ask user to retry using '-all' flag. (Bug#15701)
3505
3506 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3507
3508 * emacs-lisp/smie.el: New smie-config system.
3509 (smie-config): New defcustom.
3510 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3511 (smie-config-guess, smie-config-save): New commands.
3512 (smie-config--mode-local, smie-config--buffer-local)
3513 (smie-config--trace, smie-config--modefuns): New vars.
3514 (smie-config--advice, smie-config--mode-hook)
3515 (smie-config--setter, smie-config-local, smie-config--get-trace)
3516 (smie-config--guess-value, smie-config--guess): New functions.
3517 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3518 text properties. Treat "string fence" syntax like string syntax.
3519
3520 * progmodes/sh-script.el (sh-use-smie): Change default.
3521 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3522 (sh-var-value): Simplify by CSE.
3523 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3524 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3525 is used.
3526 (sh-guess-basic-offset): Use cl-incf.
3527 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3528
3529 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3530
3531 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3532 (bug#15699).
3533
3534 2013-10-24 Glenn Morris <rgm@gnu.org>
3535
3536 * Makefile.in (abs_top_srcdir): Remove.
3537 (update-subdirs): Use relative path to update-subdirs.
3538
3539 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3540
3541 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3542 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3543 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3544 Call unmsys--file-name before expand-file-name, not after it.
3545
3546 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3547
3548 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3549 (ert-test-skipped): New error.
3550 (ert-skip, ert-stats-skipped): New defuns.
3551 (ert--skip-unless): New macro.
3552 (ert-test-skipped): New struct.
3553 (ert--run-test-debugger, ert-test-result-type-p)
3554 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3555 (ert--stats-set-test-and-result, ert-char-for-test-result)
3556 (ert-string-for-test-result, ert-run-tests-batch)
3557 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3558 Handle skipped tests. (Bug#9803)
3559
3560 2013-10-24 Glenn Morris <rgm@gnu.org>
3561
3562 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3563
3564 * Makefile.in (abs_top_srcdir): New, set by configure.
3565 (update-subdirs): Correct build-aux location.
3566
3567 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3568
3569 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3570 value, whether we could auto-deduce `backend', or not.
3571
3572 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3573 with parameters" example. Simplify the "is it block or is it
3574 hash" check, but also make it more thorough.
3575
3576 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3577
3578 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3579
3580 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3583 { if it is hanging.
3584
3585 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3586 :before ";".
3587
3588 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3589
3590 * progmodes/compile.el (compilation-directory-matcher)
3591 (compilation-page-delimiter):
3592 Support GNU Make-4.0 directory quoting. (Bug#15678)
3593
3594 2013-10-23 Leo Liu <sdl.web@gmail.com>
3595
3596 * ido.el (ido-tidy): Handle read-only text.
3597
3598 2013-10-23 Glenn Morris <rgm@gnu.org>
3599
3600 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3601 (emacs, compile, compile-always):
3602 Quote entities that might contain whitespace.
3603 (custom-deps, finder-data, autoloads): Use abs_lisp.
3604 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3605 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3606 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3607
3608 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3609
3610 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3611 Use `following-char'.
3612
3613 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3616 * progmodes/ruby-mode.el (ruby-smie-rules):
3617 Remove corresponding workaround. Fix indentation rule of ";" so it
3618 also applies when ";" is the parent.
3619
3620 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3621
3622 * frame.el (display-screens, display-pixel-height)
3623 (display-pixel-width, display-mm-width, display-backing-store)
3624 (display-save-under, display-planes, display-color-cells)
3625 (display-visual-class, display-monitor-attributes-list):
3626 Mention the optional ‘display’ argument in doc strings.
3627
3628 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3629
3630 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3631 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3632
3633 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3634
3635 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3636 TODO. Add "." after " @ ".
3637 (ruby-smie--at-dot-call): New function. Checks if point at method
3638 call with explicit target.
3639 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3640 to the method name tokens when it precedes them.
3641 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3642 (ruby-smie-rules): Add rule for indentation before and after "."
3643 token.
3644
3645 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * textmodes/remember.el (remember-diary-extract-entries):
3648 Avoid add-to-list.
3649
3650 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3651 an instruction.
3652
3653 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3654
3655 * progmodes/ruby-mode.el (ruby-smie-grammar):
3656 Add (almost) all infix operators.
3657 (ruby-smie--implicit-semi-p): Add new operator chars.
3658
3659 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3660 `smie-down-list'.
3661 (ruby-smie--args-separator-p): Check that there's no newline
3662 between method call and its arguments.
3663
3664 2013-10-20 Alan Mackenzie <acm@muc.de>
3665
3666 Allow comma separated lists after Java "implements".
3667
3668 * progmodes/cc-engine.el (c-backward-over-enum-header):
3669 Parse commas.
3670 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3671 from a "disallowed" list in enum fontification.
3672
3673 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3674
3675 * startup.el (default-frame-background-mode): Remove unused defvar.
3676
3677 * progmodes/verilog-mode.el (verilog-mode): Don't set
3678 comment-indent-function globally.
3679
3680 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3681
3682 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3683 Move Info menu item creation to ns-win.el.
3684
3685 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3686 in menu bar.
3687
3688 * menu-bar.el: Move GNUstep specific menus...
3689
3690 * term/ns-win.el (ns-initialize-window-system): ... to here.
3691
3692 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * simple.el (newline): Only run post-self-insert-hook when
3695 called interactively.
3696
3697 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3698
3699 * icomplete.el (icomplete-with-completion-tables): Add :version.
3700
3701 2013-10-19 Alan Mackenzie <acm@muc.de>
3702
3703 Fix fontification bugs with constructors and const.
3704
3705 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3706 CASE 2) Remove the check for the absence of a suffix construct
3707 after a function declaration with only types (no identifiers) in
3708 the parentheses. Also, accept a function declaration with just a
3709 type inside the parentheses, if this type can be positively
3710 recognised as such, or if a prefix keyword like "explicit" nails
3711 down the construct as a declaration.
3712
3713 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3714
3715 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3716 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3717 the problem whereby selecting a menu item that leads to a
3718 minibuffer prompt moves the cursor out of the minibuffer window,
3719 making it hard to type at the prompt. Suggested by Stefan Monnier
3720 <monnier@iro.umontreal.ca>.
3721
3722 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3723
3724 * menu-bar.el: Don't make Services menu.
3725
3726 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3727
3728 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3729 (ffap-alist): Use ffap-c++-mode for c++-mode.
3730 (ffap-c++-path): New variable.
3731 (ffap-c++-mode): New function.
3732
3733 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3734
3735 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3736
3737 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3740 introduced on 2013-09-08, which results in an infinite loop
3741 requesting a password.
3742
3743 2013-10-18 Glenn Morris <rgm@gnu.org>
3744
3745 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3746
3747 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3748
3749 Sync with upstream verilog-mode revision 1a6ecec7.
3750 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3751 (verilog-mode-release-date): Remove.
3752 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3753 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3754 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3755 (verilog-auto-tieoff-ignore-regexp)
3756 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3757 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3758 (verilog-signals-with, verilog-dir-cache-preserving)
3759 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3760 Doc fixes.
3761 (verilog-case-fold): New option, to control case folding in
3762 regexp searches, bug597.
3763 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3764 (verilog-string-match-fold, verilog-in-paren-count)
3765 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3766 (verilog-at-close-struct-p): New functions.
3767 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3768 (verilog-forward-sexp, verilog-set-auto-endcomments):
3769 (verilog-leap-to-case-head): Handle "unique0" case.
3770 (verilog-in-constraint-re): New constant.
3771 (verilog-keywords, verilog-type-font-keywords):
3772 Add some SystemVerilog 1800-2012 keywords.
3773 (verilog-label-be): Remove unimplemented argument, bug669.
3774 (verilog-batch-execute-func): When batch expanding clear
3775 create-lockfiles to prevent spurious user locks when a file ends
3776 up not changing.
3777 (verilog-calculate-indent, verilog-calc-1)
3778 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3779 (verilog-do-indent): Fix indentation of nested constraints
3780 and structures.
3781 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3782 (verilog-auto-inst-param): Use verilog-string-match-fold.
3783 (verilog-read-inst-module-matcher):
3784 Fix AUTOINST on gate primitives with #1.
3785 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3786 Reads all user-defined typed variables.
3787 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3788 (verilog-signals-matching-regexp)
3789 (verilog-signals-not-matching-regexp, verilog-auto):
3790 Respect verilog-case-fold.
3791 (verilog-diff-report): Fix line count.
3792 (verilog-auto-assign-modport): Remove unused local `modi'.
3793 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3794 better handle multidimensional arrays.
3795 Fix packed array ports misadding bit index in AUTOINST, bug637.
3796 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3797 to not double-declare existing outputs and inputs, respectively.
3798 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3799 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3800 (verilog-sk-uvm-component): New skeleton.
3801 (verilog-submit-bug-report): Add verilog-case-fold,
3802 remove verilog-mode-release-date.
3803
3804 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3805
3806 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3807 as before.
3808
3809 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3810
3811 * textmodes/remember.el (remember): Set buffer-offer-save in
3812 remember buffers (bug#13566).
3813
3814 2013-10-18 Daniel Colascione <dancol@dancol.org>
3815
3816 When evaluating forms in ielm, direct standard output to ielm
3817 buffer. Add new ielm-return-for-effect command. Remove trailing
3818 whitespace throughout.
3819
3820 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3821 (ielm-return-for-effect): New command.
3822 (ielm-send-input): Accept optional `for-effect' parameter.
3823 (ielm-eval-input): Accept optional `for-effect' parameter.
3824 Bind `standard-output' to stream we create using
3825 `ielm-standard-output-impl'. Suppress printing result when
3826 `for-effect'.
3827 (ielm-standard-output-impl): New function.
3828 (inferior-emacs-lisp-mode): Explain new features in documentation.
3829
3830 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3831
3832 Code cleanup.
3833
3834 * net/tramp.el (tramp-debug-message): Do not check for connection
3835 buffer.
3836 (tramp-message): Use "vector" connection property.
3837
3838 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3839 (tramp-equal-remote, tramp-eshell-directory-change)
3840 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3841 (tramp-adb-handle-rename-file)
3842 * net/tramp-cmds.el (tramp-list-remote-buffers)
3843 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3844 * net/tramp-compat.el (tramp-compat-process-running-p)
3845 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3846 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3847 (tramp-gvfs-handle-rename-file)
3848 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3849 (tramp-set-file-uid-gid)
3850 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3851 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3852 of `file-remote-p'.
3853
3854 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3855 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3856 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3857 (tramp-gw-open-network-stream): Suppress unrelated traces.
3858
3859 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3860 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3861 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3862 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3863 connection property.
3864
3865 * net/tramp-cache.el (top): Suppress traces when reading
3866 persistency file.
3867
3868 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3869 Refactor common code. Improve debug message.
3870 (tramp-maybe-open-connection)
3871 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3872 connection buffer too early.
3873
3874 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3875 from `tramp-smb-actions-with-acl'.
3876 (tramp-smb-actions-set-acl): New defconst.
3877 (tramp-smb-handle-copy-directory)
3878 (tramp-smb-action-get-acl): New defun, renamed from
3879 `tramp-smb-action-with-acl'.
3880 (tramp-smb-action-set-acl): New defun.
3881 (tramp-smb-handle-set-file-acl): Rewrite.
3882
3883 2013-10-17 Glenn Morris <rgm@gnu.org>
3884
3885 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3886
3887 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3888
3889 * skeleton.el (skeleton-newline): Remove.
3890 (skeleton-internal-1): Use (insert "\n") instead.
3891
3892 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3893 let-bindings.
3894
3895 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3896 forward-sexp-function while we redo its job (bug#15613).
3897
3898 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3899
3900 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3901 represented by lists.
3902
3903 2013-10-16 Glenn Morris <rgm@gnu.org>
3904
3905 * tmm.el (tmm--history): New dynamic variable.
3906 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3907
3908 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3911 (tramp-smb-errors): Add error messages.
3912 (tramp-smb-actions-with-acl): New defconst.
3913 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3914 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3915 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3916 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3917 (tramp-smb-get-stat-capability): Fix tests.
3918
3919 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3920
3921 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3922 (bug#15580).
3923
3924 2013-10-16 Glenn Morris <rgm@gnu.org>
3925
3926 * ansi-color.el (ansi-color-drop-regexp):
3927 Add 1J, 1K, 2K. (Bug#15617)
3928
3929 * files.el (hack-local-variables--warned-lexical): New.
3930 (hack-local-variables):
3931 Warn about misplaced lexical-binding. (Bug#15616)
3932
3933 * net/eww.el (eww-render): Always set eww-current-url,
3934 and update header line. (Bug#15622)
3935 (eww-display-html): ... Rather than just doing it here.
3936
3937 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3938
3939 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3940 menu navigations commands.
3941
3942 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3943
3944 * progmodes/subword.el (subword-capitalize): Be careful when
3945 the search for [[:alpha:]] fails (bug#15580).
3946
3947 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3948
3949 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3950 to commands that scroll the menu.
3951
3952 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3953
3954 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3955 Handle methods ending with `?' and `!'.
3956
3957 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3958
3959 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3960 `japanese-cp932' to `cp932' to fix the problem where saving a
3961 source file written in Shift_JIS twice would end up having
3962 `coding: japanese-cp932' which Ruby could not recognize.
3963 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3964 in `ruby-encoding-map'.
3965 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3966 doesn't need to be explicitly declared in magic comment.
3967 (ruby-encoding-map): Add type declaration for better customize UI.
3968
3969 2013-10-13 Glenn Morris <rgm@gnu.org>
3970
3971 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3972 Occur buffers are read-only. http://bugs.debian.org/720775
3973
3974 * emacs-lisp/authors.el (authors-fixed-entries):
3975 Comment out old alpha stuff.
3976
3977 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3978
3979 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3980 to `after-save-hook' instead of `before-save-hook'.
3981 (ruby-mode-set-encoding): Use the value of coding system used to
3982 write the file. Call `basic-save-buffer-1' after modifying the
3983 buffer.
3984
3985 2013-10-13 Alan Mackenzie <acm@muc.de>
3986
3987 Fix indentation/fontification of Java enum with
3988 "implements"/generic.
3989
3990 * progmodes/cc-engine.el (c-backward-over-enum-header):
3991 Extracted from the three other places and enhanced to handle generics.
3992 (c-inside-bracelist-p): Uses new function above.
3993 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3994 function above.
3995 (c-font-lock-enum-tail): Uses new function above.
3996
3997 2013-10-13 Kenichi Handa <handa@gnu.org>
3998
3999 * international/mule-cmds.el (select-safe-coding-system): Remove a
4000 superfluous condition in chekcing whether a coding system is safe
4001 or not.
4002
4003 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4004
4005 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4006
4007 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4008
4009 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4010
4011 2013-10-13 Glenn Morris <rgm@gnu.org>
4012
4013 * menu-bar.el (menu-bar-update-buffers):
4014 Unify Buffers menu prompt string. (Bug#15576)
4015
4016 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4017
4018 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4019 Add some entries.
4020 (authors-fixed-entries): Use accented form of name.
4021
4022 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4025 method calls (bug#15594).
4026 (ruby-smie--args-separator-p): New function.
4027 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4028 recognize paren-free method calls.
4029
4030 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4031 internals of universal-argument.
4032
4033 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4034
4035 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4036 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4037 dropped menu on second mouse click on the menu bar.
4038
4039 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4040
4041 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4042 (explicit-shell-file-name): Declare.
4043 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4044 (sh-completion-at-point-function): New function.
4045 (sh-mode): Use it.
4046 (sh-smie--keyword-p): Remove unused argument.
4047 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4048 vars.
4049 (sh-set-shell): Always setup SMIE, even if we use the
4050 old indentation code.
4051
4052 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4053
4054 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4055 cases of ? and =.
4056 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4057 predicate would return nil are almost non-existent.
4058 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4059
4060 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4061 cache also after commands that modify the buffer but don't move
4062 point.
4063
4064 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * env.el (substitute-env-in-file-name): New function.
4067 (substitute-env-vars): Extend the meaning of the optional arg.
4068
4069 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4070
4071 * term/w32-win.el (dynamic-library-alist): Define separate lists
4072 of GIF DLLs for versions before and after 5.0.0 of giflib.
4073 (Bug#15531)
4074
4075 2013-10-10 João Távora <joaotavora@gmail.com>
4076
4077 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4078 not locked, use last revision and current source as
4079 defaults. (Bug#15569)
4080
4081 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4082
4083 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4084 menu-bar is hidden.
4085
4086 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4087
4088 * window.el (pop-to-buffer-same-window): Fix doc-string.
4089 (Bug#15492)
4090
4091 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4092
4093 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4094
4095 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4096
4097 * calendar/icalendar.el (icalendar-import-file):
4098 Fix interactive spec. (Bug#15482)
4099
4100 2013-10-10 Glenn Morris <rgm@gnu.org>
4101
4102 * desktop.el (desktop-save): Default to saving in .emacs.d,
4103 since PWD is no longer in desktop-path by default. (Bug#15319)
4104
4105 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4106 now that text mode has a menu with the same entry.
4107 (menu-bar-text-mode-auto-fill): Remove now unused func.
4108 * textmodes/text-mode.el (text-mode-map):
4109 Use auto-fill help text from menu-bar.el.
4110
4111 2013-10-10 John Anthony <john@jo.hnanthony.com>
4112
4113 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4114
4115 2013-10-09 Juri Linkov <juri@jurta.org>
4116
4117 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4118 instead of this-command-keys. Add universal-argument-more and
4119 universal-argument-minus to the list of prefix commands. (Bug#15568)
4120
4121 2013-10-09 Glenn Morris <rgm@gnu.org>
4122
4123 * vc/vc-svn.el (vc-svn-create-repo):
4124 Expand paths in file://... url. (Bug#15446)
4125
4126 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4127 Add some entries.
4128 (authors): Remove unused local variables.
4129
4130 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4131
4132 * profiler.el: Create a more coherent calltree from partial backtraces.
4133 (profiler-format): Hide the tail with `invisible' so that C-s can still
4134 find the hidden elements.
4135 (profiler-calltree-depth): Don't recurse so enthusiastically.
4136 (profiler-function-equal): New hash-table-test.
4137 (profiler-calltree-build-unified): New function.
4138 (profiler-calltree-build): Use it.
4139 (profiler-report-make-name-part): Indent the calltree less.
4140 (profiler-report-mode): Add visibility specs for profiler-format.
4141 (profiler-report-expand-entry, profiler-report-toggle-entry):
4142 Expand the whole subtree when provided with a prefix arg.
4143
4144 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4145
4146 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4147 iuwu-mod token.
4148 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4149 hanging iuwu-mod token.
4150 (ruby-smie--forward-token): Do not include a dot after a token in
4151 that token.
4152 (ruby-smie--backward-token): Likewise.
4153
4154 2013-10-08 Juri Linkov <juri@jurta.org>
4155
4156 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4157 to isearch-other-control-char.
4158 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4159 and isearch-post-command-hook to post-command-hook.
4160 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4161 and isearch-post-command-hook from post-command-hook.
4162 (isearch-unread-key-sequence)
4163 (isearch-reread-key-sequence-naturally)
4164 (isearch-lookup-scroll-key, isearch-other-control-char)
4165 (isearch-other-meta-char): Remove functions.
4166 (isearch-pre-command-hook, isearch-post-command-hook):
4167 New functions based on isearch-other-meta-char rewritten
4168 relying on the new behavior of overriding-terminal-local-map
4169 that does not replace the local keymaps any more. (Bug#15200)
4170
4171 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4172
4173 Support menus on text-mode terminals.
4174 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4175 functionality.
4176
4177 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4178
4179 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4180 Move here from mouse.el.
4181 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4182 and arrow keys.
4183 (tty-menu-navigation-map): New map for TTY menu navigation.
4184
4185 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4186
4187 * frame.el (display-mouse-p): Report text-mode mouse as available
4188 on w32.
4189 (display-popup-menus-p): Report availability if mouse is
4190 available; don't condition on window-system.
4191
4192 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4193 (tty-menu-selected-face): New faces.
4194
4195 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4198 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4199 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4200 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4201 New constants.
4202 (lisp-mode-variables): New `elisp' argument.
4203 (emacs-lisp-mode): Use it.
4204 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4205 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4206
4207 * indent.el: Use lexical-binding.
4208 (indent-region): Add progress reporter.
4209 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4210 last step.
4211 (indent--next-tab-stop): New function to implement this behavior.
4212 (tab-to-tab-stop, move-to-tab-stop): Use it.
4213
4214 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4215
4216 * indent.el (indent-rigidly--current-indentation): New function.
4217 (indent-rigidly-map): New var.
4218 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4219
4220 2013-10-08 Bastien Guerry <bzg@gnu.org>
4221
4222 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4223
4224 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * progmodes/perl-mode.el: Use lexical-binding.
4227 Remove redundant :group args.
4228 (perl-nochange): Change default to be closer to other major modes's
4229 standard behavior.
4230 (perl-indent-line): Don't consider text on current line as a
4231 valid beginning of function from which to indent.
4232
4233 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4234 with more than one argument (bug#15538).
4235
4236 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4237
4238 * vc/pcvs.el: Use lexical-binding.
4239 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4240 environment of `eval'.
4241 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4242 than a list of expressions. Adjust callers.
4243 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4244
4245 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4246
4247 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4248 case of the dot in a chained method call being on the following line.
4249
4250 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * electric.el (electric-indent-inhibit): New var.
4253 (electric-indent-post-self-insert-function): Use it.
4254 * progmodes/python.el (python-mode): Set it.
4255
4256 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4257 open braces.
4258
4259 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4260
4261 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4262 (css-mode): Use electric-indent-chars.
4263
4264 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4265 (font-lock-beg, font-lock-end): Move before first use.
4266 (nxml-mode): Use syntax-propertize-function.
4267 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4268 (nxml-extend-after-change-region): Remove.
4269 * nxml/xmltok.el: Use lexical-binding.
4270 (xmltok-save): Use `declare'.
4271 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4272 * nxml/nxml-util.el: Use lexical-binding.
4273 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4274 Use `declare'.
4275 * nxml/nxml-ns.el: Use lexical-binding.
4276 (nxml-ns-save): Use `declare'.
4277 (nxml-ns-prefixes-for): Avoid add-to-list.
4278 * nxml/rng-match.el: Use lexical-binding.
4279 (rng--ipattern): Use cl-defstruct.
4280 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4281 (rng-cons-group-after, rng-subst-group-after)
4282 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4283 Use closures instead of `(lambda...).
4284
4285 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4286
4287 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4288 of BEG and END.
4289
4290 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4291 Use `tramp-handle-insert-file-contents'.
4292 (tramp-gvfs-handle-insert-file-contents): Remove function.
4293
4294 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4295 Use `save-restriction' in order to keep markers.
4296
4297 * net/trampver.el: Update release number.
4298
4299 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4300
4301 * progmodes/compile.el (compilation-parse-errors):
4302 Use compilation--put-prop.
4303 (compilation--ensure-parse): Check compilation-multiline.
4304
4305 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4306
4307 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4308 lexical-binding.
4309
4310 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4311
4312 * progmodes/ruby-mode.el: Fix recently added tests.
4313 (ruby-smie-grammar): Add - and +.
4314 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4315 (ruby-smie--backward-id): New functions.
4316 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4317 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4318 any more.
4319
4320 2013-10-07 Leo Liu <sdl.web@gmail.com>
4321
4322 * register.el (register-preview-delay)
4323 (register-preview-functions): New variables.
4324 (register-read-with-preview, register-preview)
4325 (register-describe-oneline): New functions.
4326 (point-to-register, window-configuration-to-register)
4327 (frame-configuration-to-register, jump-to-register)
4328 (number-to-register, view-register, insert-register)
4329 (copy-to-register, append-to-register, prepend-to-register)
4330 (copy-rectangle-to-register): Use register-read-with-preview to
4331 read register. (Bug#15525)
4332
4333 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4334
4335 * net/network-stream.el (network-stream-open-starttls): Don't add
4336 --insecure if it's already present, because that gnutls-cli
4337 rejects getting that parameter twice.
4338
4339 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4340
4341 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4342 keyword, too.
4343
4344 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4345
4346 * newcomment.el (comment-use-global-state): Change default value
4347 to t, mark obsolete (Bug#15251).
4348 (comment-beginning): In addition to `comment-to-syntax', check the
4349 value of `comment-use-global-state'.
4350
4351 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4352
4353 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4354 (ruby-comment-column): Follow the global default, by default.
4355 (ruby-smie-grammar): Add assignment syntax.
4356 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4357 open-paren, a comma, or a \.
4358 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4359 and line continuations.
4360 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4361 followed by implicit semi-colons. Add rule for string concatenation
4362 and for indentation at BOB.
4363 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4364
4365 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4366 calling next-sexp, since next-token may have skipped chars which
4367 next-sexp doesn't know should be skipped!
4368
4369 2013-10-05 Leo Liu <sdl.web@gmail.com>
4370
4371 * progmodes/octave.el (octave-send-region):
4372 Call compilation-forget-errors.
4373
4374 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4375
4376 * vc/vc-svn.el (vc-svn-find-admin-dir):
4377 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4378 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4379 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4380 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4381
4382 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4385
4386 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * subr.el (read-passwd): Hide chars even when called within a context
4389 where after-change-functions is disabled (bug#15501).
4390 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4391 until we removed ourself from overriding-terminal-local-map.
4392
4393 2013-10-04 Leo Liu <sdl.web@gmail.com>
4394
4395 * progmodes/octave.el (inferior-octave-mode):
4396 Call compilation-forget-errors.
4397
4398 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4399
4400 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4401
4402 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4403
4404 * net/secrets.el (secrets-create-collection): Add optional
4405 argument ALIAS. Use proper Label keyword. Append ALIAS as
4406 dbus-call-method argument. (Bug#15516)
4407
4408 2013-10-04 Leo Liu <sdl.web@gmail.com>
4409
4410 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4411 (inferior-octave-compilation-font-lock-keywords): New variables.
4412 (compilation-error-regexp-alist)
4413 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4414 (inferior-octave-mode): Use compilation-shell-minor-mode.
4415
4416 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4417
4418 * minibuffer.el (completion--replace): Be careful that `end' might be
4419 a marker.
4420
4421 2013-10-03 Daiki Ueno <ueno@gnu.org>
4422
4423 Add support for package signature checking.
4424 * emacs-lisp/package.el (url-http-file-exists-p)
4425 (epg-make-context, epg-context-set-home-directory)
4426 (epg-verify-string, epg-context-result-for)
4427 (epg-signature-status, epg-signature-to-string)
4428 (epg-check-configuration, epg-configuration)
4429 (epg-import-keys-from-file): Declare.
4430 (package-check-signature): New user option.
4431 (package-unsigned-archives): New user option.
4432 (package-desc): Add `signed' field.
4433 (package-load-descriptor): Set `signed' field if .signed file exists.
4434 (package--archive-file-exists-p): New function.
4435 (package--check-signature): New function.
4436 (package-install-from-archive): Check package signature.
4437 (package--download-one-archive): Check archive signature.
4438 (package-delete): Remove .signed file.
4439 (package-import-keyring): New command.
4440 (package-refresh-contents): Import default keyring.
4441 (package-desc-status): Add "unsigned" status.
4442 (describe-package-1, package-menu--print-info)
4443 (package-menu-mark-delete, package-menu--find-upgrades)
4444 (package-menu--status-predicate): Support "unsigned" status.
4445
4446 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4447
4448 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4449 the new compilation scheme using the new byte-codes.
4450
4451 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4452 (byte-pophandler): New byte codes.
4453 (byte-goto-ops): Adjust accordingly.
4454 (byte-compile--use-old-handlers): New var.
4455 (byte-compile-catch): Use new byte codes depending on
4456 byte-compile--use-old-handlers.
4457 (byte-compile-condition-case--old): Rename from
4458 byte-compile-condition-case.
4459 (byte-compile-condition-case--new): New function.
4460 (byte-compile-condition-case): New function that dispatches depending
4461 on byte-compile--use-old-handlers.
4462 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4463 when we can.
4464
4465 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4466 Optimize under `condition-case' and `catch' if
4467 byte-compile--use-old-handlers is nil.
4468 (disassemble-offset): Handle new bytecodes.
4469
4470 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4471
4472 * subr.el (error): Use `declare'.
4473 (decode-char, encode-char): Use advertised-calling-convention instead
4474 of the docstring to discourage use of the `restriction' arg.
4475
4476 2013-10-03 Daiki Ueno <ueno@gnu.org>
4477
4478 * epg.el (epg-verify-file): Add a comment saying that it does not
4479 notify verification error as a return value nor a signal.
4480 (epg-verify-string): Ditto.
4481
4482 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4483
4484 * progmodes/compile.el (compilation-start): Try globbing the arg to
4485 `cd' (bug#15417).
4486
4487 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4488
4489 Sync with Tramp 2.2.8.
4490
4491 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4492 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4493 * net/trampver.el: Update release number.
4494
4495 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4496
4497 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4498 and default-process-coding-system for darwin only.
4499
4500 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4503
4504 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4505
4506 * vc/vc-git.el (vc-git-grep): Disable pager.
4507
4508 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4509
4510 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4511 Use :url instead of :homepage, as per
4512 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4513
4514 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4515 non-nil, use `syntax-ppss' (Bug#15251).
4516
4517 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4518
4519 * progmodes/octave.el (inferior-octave-startup-file):
4520 Prefer ~/.emacs.d/init_octave.m.
4521
4522 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4523
4524 * emacs-lisp/package.el (package-desc-from-define):
4525 Accept additional arguments as plist, convert them to an alist and store
4526 them in the `extras' slot.
4527 (package-generate-description-file): Convert extras alist back to
4528 plist and append to the `define-package' form arguments.
4529 (package--alist-to-plist): New function.
4530 (package--ac-desc): Add `extras' slot.
4531 (package--add-to-archive-contents): Check if the archive-contents
4532 vector is long enough, and if it is, pass its `extras' slot value
4533 to `package-desc-create'.
4534 (package-buffer-info): Call `lm-homepage', pass the returned value
4535 to `package-desc-from-define'.
4536 (describe-package-1): Render the homepage button (Bug#13291).
4537
4538 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4539 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4540
4541 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4542
4543 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4544 and default-process-coding-system to utf-8-unix (Bug#15402).
4545
4546 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4547
4548 * subr.el (looking-back): Do not recommend using looking-back.
4549
4550 2013-09-28 Alan Mackenzie <acm@muc.de>
4551
4552 Fix indentation/fontification of Java enum with "implements".
4553
4554 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4555 regexp which matches "implements", etc., in Java.
4556 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4557 specifier clauses coming after "enum".
4558 * progmodes/cc-fonts.el (c-font-lock-declarations)
4559 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4560 after "enum".
4561
4562 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4563
4564 * faces.el (region): Change ns_selection_color to
4565 ns_selection_fg_color, add ns_selection_bg_color.
4566
4567 2013-09-28 Leo Liu <sdl.web@gmail.com>
4568
4569 * progmodes/octave.el (inferior-octave-completion-table)
4570 (inferior-octave-completion-at-point): Minor tweaks.
4571
4572 * textmodes/ispell.el (ispell-lookup-words): Rename from
4573 lookup-words. (Bug#15460)
4574 (lookup-words): Obsolete.
4575 (ispell-complete-word, ispell-command-loop): All uses changed.
4576
4577 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4578
4579 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4580 (octave-mode-menu): Add octave-send-buffer.
4581 (octave-send-buffer): New function.
4582
4583 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4584
4585 * progmodes/octave.el (octave-mode-map): Add key binding for
4586 octave-lookfor.
4587 (octave-mode-menu): Add octave-lookfor.
4588 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4589 octave-lookfor.
4590 (octave-lookfor): New function.
4591
4592 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4593
4594 * emacs-lisp/cl-macs.el:
4595 (cl--loop-destr-temps): Remove.
4596 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4597 its convention.
4598 (cl--loop-set-iterator-function): New function.
4599 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4600 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4601 Bind `it' with `let' instead of substituting it with `cl-subst'.
4602 (cl--unused-var-p): New function.
4603 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4604 Eliminate some unused variable warnings (bug#15326).
4605
4606 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4607
4608 * doc-view.el (doc-view-scale-reset): Rename from
4609 `doc-view-reset-zoom-level'.
4610 (doc-view-scale-adjust): New command.
4611 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4612 `doc-view-scale-adjust'.
4613
4614 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4615
4616 * doc-view.el (doc-view-reset-zoom-level): New command.
4617 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4618 zoom commands (bug#15466).
4619
4620 2013-09-26 Kenichi Handa <handa@gnu.org>
4621
4622 * international/quail.el (quail-help): Make it not a command.
4623
4624 2013-09-26 Leo Liu <sdl.web@gmail.com>
4625
4626 * minibuffer.el (completion-all-sorted-completions): Make args
4627 optional as they are.
4628
4629 2013-09-25 Daniel Colascione <dancol@dancol.org>
4630
4631 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4632 specs are and that they're not evaluated.
4633
4634 2013-09-24 Sam Steingold <sds@gnu.org>
4635
4636 * midnight.el (clean-buffer-list-kill-regexps)
4637 (clean-buffer-list-kill-buffer-names): Update for the new Man
4638 buffer naming which includes the object name.
4639
4640 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4643 (eshell-parse-command, eshell-parse-pipeline): Use it since
4644 eshell-separate-commands requires a dynamic scoped var.
4645 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4646
4647 2013-09-23 Leo Liu <sdl.web@gmail.com>
4648
4649 * autoinsert.el (auto-insert-alist): Make the value of
4650 lexical-binding match its file setting.
4651
4652 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4653
4654 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4655
4656 * autoarg.el (autoarg-kp-digit-argument):
4657 * electric.el (Electric-command-loop):
4658 * kmacro.el (kmacro-step-edit-insert):
4659 Do not set universal-argument-num-events.
4660
4661 2013-09-22 Leo Liu <sdl.web@gmail.com>
4662
4663 * files.el (interpreter-mode-alist): Add octave.
4664
4665 2013-09-21 Alan Mackenzie <acm@muc.de>
4666
4667 C++: fontify identifier in declaration following "public:" correctly.
4668 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4669 to match "public", etc.
4670 (c-decl-prefix-re): Add ":" into the C++ value.
4671 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4672 bit. Add a check for a ":" preceded by "public", etc.
4673
4674 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4675
4676 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4677 recognized by GDB 7.5 and later.
4678
4679 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4680
4681 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4682
4683 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * subr.el (internal--call-interactively): New const.
4686 (called-interactively-p): Use it (bug#3984).
4687
4688 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4689
4690 * vc/pcvs.el (cvs-mode-ignore):
4691 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4692 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4693
4694 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4695
4696 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4697 (eshell-ls-orig-insert-directory): Remove.
4698 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4699 (eshell-ls-use-in-dired): Use advice-add/remove.
4700 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4701 Add `orig-fun' arg for use in :around advice.
4702 Make it check (redundantly) eshell-ls-use-in-dired.
4703
4704 2013-09-19 Glenn Morris <rgm@gnu.org>
4705
4706 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4707
4708 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4709
4710 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4711
4712 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4713
4714 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4715 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4716 (tramp-get-remote-python): New defuns.
4717 (tramp-get-remote-uid-with-perl)
4718 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4719 contributed by yary <not.com@gmail.com> (tiny change).
4720 (tramp-get-remote-uid-with-python)
4721 (tramp-get-remote-gid-with-python): New defuns. Python code
4722 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4723 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4724
4725 2013-09-19 Glenn Morris <rgm@gnu.org>
4726
4727 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4728
4729 * eshell/em-unix.el (eshell-remove-entries):
4730 Rename argument to avoid name-clash with global `top-level'.
4731
4732 * eshell/esh-proc.el (eshell-kill-process-function):
4733 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4734 (eshell-reset-after-proc): Remove unused arg `proc'.
4735
4736 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4737 (directory-files-and-attributes): Mark unused arg.
4738
4739 * eshell/em-unix.el (eshell-remove-entries):
4740 Remove unused arg `path'. Update callers.
4741
4742 * eshell/em-hist.el (eshell-hist-parse-arguments):
4743 Remove unused arg `silent'. Update callers.
4744
4745 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4746 Fix (f)boundp mix-up.
4747
4748 * eshell/em-smart.el (eshell-smart-scroll-window)
4749 (eshell-disable-after-change):
4750 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4751
4752 2013-09-18 Alan Mackenzie <acm@muc.de>
4753
4754 Fix fontification of type when followed by "const".
4755 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4756 "known" types from fontification.
4757
4758 2013-09-18 Glenn Morris <rgm@gnu.org>
4759
4760 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4761 (chart-face-list): Drop Emacsen without display-color-p.
4762
4763 * net/eww.el (libxml-parse-html-region): Declare.
4764 (eww-display-html): Explicit error if no libxml2 support.
4765
4766 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4767
4768 * image.el (image-type-from-buffer, image-multi-frame-p):
4769 Remove --without-x warning/error.
4770
4771 * mouse.el (mouse-yank-primary):
4772 * term.el (term-mouse-paste):
4773 Reorder to silence --without-x compilation.
4774
4775 * mpc.el (doc-view-mode): Silence --without-x compilation.
4776
4777 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4778 Silence --without-x compilation.
4779
4780 * progmodes/gud.el (gud-find-file, gud-mode):
4781 Silence --without-x compilation.
4782 (tooltip-mode): Declare.
4783
4784 * wdired.el (dired-backup-overwrite): Remove declaration.
4785 (wdired-mode-map): Add doc string.
4786
4787 * custom.el (x-get-resource): Declare.
4788
4789 * eshell/em-glob.el (ange-cache):
4790 * eshell/em-unix.el (ange-cache): Declare.
4791
4792 * faces.el (x-display-list, x-open-connection, x-get-resource):
4793 Declare.
4794
4795 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4796 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4797 Declare.
4798
4799 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4800
4801 * net/gnutls.el (gnutls-log-level): Declare.
4802
4803 * net/shr.el (image-size, image-animate): Declare.
4804
4805 * simple.el (font-info): Declare.
4806
4807 * subr.el (x-popup-dialog): Declare.
4808
4809 * term/common-win.el (x-select-enable-primary)
4810 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4811 Declare.
4812
4813 * term/ns-win.el (x-handle-args): Declare.
4814
4815 * term/x-win.el (x-select-enable-clipboard): Declare.
4816
4817 * term/w32-win.el (create-default-fontset): Declare.
4818
4819 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4820 Declare.
4821
4822 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4823 (fit-frame-to-buffer): Explicit error if --without-x.
4824 (mouse-autoselect-window-select): Silence compiler.
4825
4826 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4827
4828 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4829 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4830 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4831 * eshell/esh-util.el (eshell-sublist):
4832 Remove unused local variables.
4833
4834 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4835
4836 * textmodes/two-column.el: Make 2C-split work for --without-x.
4837 (scroll-bar-columns): Autoload.
4838 (top-level): Require fringe when compiling.
4839
4840 2013-09-18 Leo Liu <sdl.web@gmail.com>
4841
4842 * subr.el (add-hook): Robustify to handle closure as well.
4843
4844 2013-09-17 Glenn Morris <rgm@gnu.org>
4845
4846 * simple.el (messages-buffer-mode-map): Unbind "g".
4847
4848 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * help-mode.el (help-mode-finish): Use derived-mode-p.
4851 Remove obsolete highlighting.
4852
4853 * play/life.el (life-mode): Use define-derived-mode. Derive from
4854 special-mode.
4855 (life): Let-bind inhibit-read-only.
4856 (life-setup): Avoid `setq'. Use `life-mode'.
4857
4858 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4859 which should not be needed any more.
4860 (package-menu-refresh, package-menu-describe-package): Use user-error.
4861
4862 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4863 (eshell-post-rewrite-command-hook): Make obsolete.
4864 (eshell-parse-command): Simplify.
4865 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4866 (eshell--cmd): Declare.
4867 (eshell-parse-pipeline): Remove unused var `final-p'.
4868 Pass a dynvar to eshell-post-rewrite-command-hook.
4869 Implement the new eshell-post-rewrite-command-function.
4870 (eshell-invoke-directly): Remove unused arg `input'.
4871 * eshell/esh-io.el (eshell-io-initialize):
4872 Use eshell-post-rewrite-command-function (bug#15399).
4873 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4874 adjust to new calling convention.
4875 (eshell-create-handles): Rename args to avoid clashing with dynvar
4876 `standard-output'.
4877
4878 2013-09-17 Glenn Morris <rgm@gnu.org>
4879
4880 * simple.el (messages-buffer-mode): New major mode.
4881 (messages-buffer): New function.
4882 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4883 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4884 (ert-run-test): Use `messages-buffer' function.
4885 (ert--force-message-log-buffer-truncation): Ignore read-only.
4886 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4887 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4888
4889 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4890
4891 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4892
4893 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4894
4895 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * icomplete.el (icomplete-in-buffer): New var.
4898 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4899 vars and replace them with functions.
4900 (icomplete-minibuffer-setup): Adjust accordingly.
4901 (icomplete--completion-table, icomplete--completion-predicate)
4902 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4903 New functions.
4904 (icomplete-forward-completions, icomplete-backward-completions)
4905 (icomplete-simple-completing-p, icomplete-exhibit)
4906 (icomplete-completions): Use them.
4907 (icomplete--in-region-buffer): New var.
4908 (icomplete--in-region-setup): New function.
4909 (icomplete-mode): Use it.
4910
4911 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4912 (bug#15379).
4913 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4914 return args and options.
4915 (eshell-eval-using-options): Use the new return value of
4916 eshell--do-opts to set the options's vars in their scope.
4917 (eshell--set-option): Rename from eshell-set-option.
4918 Add arg `opt-vals'.
4919 (eshell--process-option): Rename from eshell-process-option.
4920 Add arg `opt-vals'.
4921 (eshell--process-args): Use an `opt-vals' alist to store the options's
4922 values during their processing and return them additionally to the
4923 remaining args.
4924
4925 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4926
4927 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4928 continuation character an operator, as far as indentation is
4929 concerned (Bug#15369).
4930
4931 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4932
4933 * window.el (window--state-put-2): Don't process buffer state
4934 when buffer doesn't exist any more (Bug#15382).
4935
4936 2013-09-15 Glenn Morris <rgm@gnu.org>
4937
4938 * eshell/em-unix.el (eshell/rm):
4939 Make -f ignore missing files. (Bug#15373)
4940
4941 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4942 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4943 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4944
4945 2013-09-14 Glenn Morris <rgm@gnu.org>
4946
4947 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4948
4949 2013-09-13 Glenn Morris <rgm@gnu.org>
4950
4951 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4952 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4953
4954 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4955
4956 * frame.el (x-focus-frame): Mark as declared in frame.c.
4957
4958 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4959
4960 * ls-lisp.el: Use advice-add.
4961 (original-insert-directory): Remove.
4962 (ls-lisp--insert-directory): Rename from insert-directory; add
4963 `orig-fun' argument.
4964 (insert-directory): Advise.
4965
4966 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4967
4968 * term.el (term-emulate-terminal): Decode the command string
4969 before passing it to term-command-hook. (Bug#15337)
4970
4971 2013-09-13 Glenn Morris <rgm@gnu.org>
4972
4973 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4974
4975 * eshell/esh-ext.el (eshell-search-path): Declare.
4976
4977 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4978 Otherwise an error occurs if eshell-dirs module not loaded.
4979
4980 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4981
4982 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4983
4984 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4985 `tramp-check-proper-host'. Check for a valid method name.
4986
4987 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4988 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4989 * net/tramp-sh.el (tramp-maybe-open-connection):
4990 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4991
4992 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4993 also for hash values.
4994
4995 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * term/ns-win.el (parameters): Don't declare as dynamic.
4998 (before-make-frame-hook): Don't add ineffective function.
4999
5000 * eshell/*.el: Use lexical-binding (bug#15231).
5001
5002 2013-09-12 Kenichi Handa <handa@gnu.org>
5003
5004 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5005
5006 2013-09-12 Glenn Morris <rgm@gnu.org>
5007
5008 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5009 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5010
5011 * subr.el (do-after-load-evaluation): Also give compiler warnings
5012 when obsolete files are used (except by obsolete files).
5013
5014 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5015 in the status output, assume `filename' is the first. (Bug#15322)
5016
5017 * vc/vc.el (vc-deduce-fileset): Doc fix.
5018
5019 * calc/calc-help.el (Info-goto-node):
5020 * progmodes/cperl-mode.el (Info-find-node):
5021 * vc/ediff.el (Info-goto-node): Update declarations.
5022
5023 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5024
5025 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5026 (vc-bzr-pull): Require vc-dispatcher.
5027 * vc/vc-git.el (vc-compilation-mode): Declare.
5028 (vc-git-pull): Require vc-dispatcher.
5029
5030 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5031
5032 * progmodes/octave.el (help-button-action): Declare.
5033
5034 * shell.el (shell-directory-tracker): Output error as a message
5035 rather than just returning it as a string.
5036 (shell-process-pushd): Remove useless use of message.
5037
5038 * dframe.el (dframe-timer-fn):
5039 * files.el (dir-locals-read-from-file):
5040 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5041 (mpc-format):
5042 * reveal.el (reveal-post-command):
5043 * saveplace.el (load-save-place-alist-from-file):
5044 * shell.el (shell-resync-dirs):
5045 * w32-common-fns.el (x-get-selection-value):
5046 * emacs-lisp/copyright.el (copyright-find-copyright):
5047 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5048 * emulation/tpu-edt.el (tpu-copy-keyfile):
5049 * play/bubbles.el (bubbles--mark-neighbourhood):
5050 * progmodes/executable.el
5051 (executable-make-buffer-file-executable-if-script-p):
5052 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5053
5054 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 Cleanup Eshell to rely less on dynamic scoping.
5057 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5058 last-value, and ext-command here. Bind `args' closer to `body'.
5059 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5060 (eshell--args): Declare new dynamic var.
5061 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5062 last-value, and ext-command. Pass `args' to `body'.
5063 (eshell-process-args): Bind eshell--args.
5064 (eshell-set-option): Use eshell--args.
5065 * eshell/eshell.el (eshell): Use derived-mode-p.
5066 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5067 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5068 (eshell-glob-function): Declare.
5069 * eshell/esh-util.el: Require cl-lib.
5070 (eshell-read-hosts-file): Avoid add-to-list.
5071 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5072 `err'.
5073 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5074 Declare.
5075 (eshell/diff): Remove unused var `err'.
5076 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5077 `killflag'.
5078 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5079 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5080 first use.
5081 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5082 Move declaration before first use.
5083 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5084 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5085 rely on cl-return.
5086
5087 2013-09-12 Glenn Morris <rgm@gnu.org>
5088
5089 * term/ns-win.el (global-map): Remove binding for ispell-next,
5090 deleted 1999-05-29. (Bug#15357)
5091
5092 2013-09-11 Glenn Morris <rgm@gnu.org>
5093
5094 * echistory.el (electric-command-history): Remove call to deleted func.
5095
5096 * play/landmark.el (landmark-mode): Fix typos.
5097
5098 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5099 Check cvs-sort-ignore-file is bound.
5100
5101 * savehist.el: No need for cl when compiling on Emacs.
5102
5103 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5104
5105 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5106 (bug#15338).
5107 (eshell-self-insert-command, eshell-send-invisible):
5108 Remove unused argument.
5109 (eshell-handle-control-codes): Remove unused var `orig'.
5110 Avoid delete-backward-char.
5111
5112 * files.el (set-auto-mode): Simplify a bit further.
5113
5114 2013-09-11 Glenn Morris <rgm@gnu.org>
5115
5116 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5117 (set-auto-mode): Don't regexp-quote elements.
5118 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5119 * progmodes/cc-mode.el (interpreter-mode-alist):
5120 * progmodes/ruby-mode.el (interpreter-mode-alist):
5121 Revert previous change.
5122
5123 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5124
5125 * play/snake.el (snake-mode):
5126 * play/mpuz.el (mpuz-mode):
5127 * play/landmark.el (lm-mode):
5128 * play/blackbox.el (blackbox-mode):
5129 * play/5x5.el (5x5-mode):
5130 * obsolete/options.el (Edit-options-mode):
5131 * net/quickurl.el (quickurl-list-mode):
5132 * net/newst-treeview.el (newsticker-treeview-mode):
5133 * mail/rmailsum.el (rmail-summary-mode):
5134 * mail/mspools.el (mspools-mode):
5135 * locate.el (locate-mode):
5136 * ibuffer.el (ibuffer-mode):
5137 * emulation/ws-mode.el (wordstar-mode):
5138 * emacs-lisp/debug.el (debugger-mode):
5139 * array.el (array-mode):
5140 * net/eudc.el (eudc-mode): Use define-derived-mode.
5141 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5142 Move initialization into declaration.
5143 (mairix-searches-mode): Use define-derived-mode.
5144 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5145 (eudc-edit-hotlist): Use dolist.
5146 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5147 (Man-mode): Use define-derived-mode.
5148 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5149 (Info-edit-mode): Use define-derived-mode.
5150 (Info-cease-edit): Use Info-mode.
5151 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5152 into declaration.
5153 (eshell-mode): Use define-derived-mode.
5154 * chistory.el (command-history-mode-map): Rename from
5155 command-history-map.
5156 (command-history-mode): Use define-derived-mode.
5157 (Command-history-setup): Remove function.
5158 * calc/calc.el (calc-trail-mode-map): New var.
5159 (calc-trail-mode): Use define-derived-mode.
5160 (calc-trail-buffer): Set calc-main-buffer manually.
5161 * bookmark.el (bookmark-insert-annotation): New function.
5162 (bookmark-edit-annotation): Use it.
5163 (bookmark-edit-annotation-mode): Make it a proper major mode.
5164 (bookmark-send-edited-annotation): Use derived-mode-p.
5165 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5166 closer to its ideal place. Use \' to match EOS.
5167
5168 * profiler.el (profiler-calltree-find): Use function-equal.
5169
5170 2013-09-10 Glenn Morris <rgm@gnu.org>
5171
5172 * files.el (interpreter-mode-alist): Convert to regexps.
5173 (set-auto-mode): Adapt for this. (Bug#15306)
5174 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5175 Comment out unused variable.
5176 * progmodes/cc-mode.el (interpreter-mode-alist):
5177 * progmodes/python.el (interpreter-mode-alist):
5178 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5179 * progmodes/sh-script.el (sh-set-shell):
5180 No longer use interpreter-mode-alist to get list of shells.
5181
5182 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5183
5184 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * simple.el: Use set-temporary-overlay-map for universal-argument.
5187 (universal-argument-map): Don't use default-bindings (bug#15317).
5188 Bind switch-frame explicitly. Replace universal-argument-minus with
5189 a conditional binding.
5190 (universal-argument-num-events, saved-overriding-map): Remove.
5191 (restore-overriding-map): Remove.
5192 (universal-argument--mode): Rename from save&set-overriding-map,
5193 and rewrite.
5194 (universal-argument, universal-argument-more, negative-argument)
5195 (digit-argument): Adjust accordingly.
5196 (universal-argument-minus): Remove.
5197 (universal-argument-other-key): Remove.
5198
5199 * subr.el (with-demoted-errors): Add `format' argument.
5200
5201 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5202
5203 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5204 `tramp-cleanup-connection'.
5205
5206 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5207 parameters KEEP-DEBUG and KEEP-PASSWORD.
5208
5209 * net/tramp.el (tramp-file-name-handler):
5210 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5211 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5212 (tramp-maybe-open-connection):
5213 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5214 Use `tramp-cleanup-connection'.
5215
5216 * net/tramp-sh.el (tramp-maybe-open-connection):
5217 Catch 'uname-changed inside the progress reporter.
5218
5219 2013-09-10 Glenn Morris <rgm@gnu.org>
5220
5221 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5222
5223 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5224 returns "alternate access method" in mode (eg "-rw-r--r--.").
5225
5226 2013-09-08 Glenn Morris <rgm@gnu.org>
5227
5228 * saveplace.el (load-save-place-alist-from-file):
5229 Demote errors. (Bug#15305)
5230
5231 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5232
5233 Improve compatibility with older Emacsen, and XEmacs.
5234
5235 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5236 only if it is bound. It isn't for XEmacs.
5237 (with-tramp-progress-reporter): Do not let-bind `result'.
5238 This yields to scoping errors in XEmacs.
5239 (tramp-handle-make-auto-save-file-name): New function, moved from
5240 tramp-sh.el.
5241
5242 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5243 for `make-auto-save-file-name'.
5244 (tramp-adb--gnu-switches-to-ash):
5245 Use `tramp-compat-replace-regexp-in-string'.
5246
5247 * net/tramp-cache.el (tramp-cache-print): Call
5248 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5249
5250 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5251 bound. It isn't for XEmacs.
5252
5253 * net/tramp-compat.el (tramp-compat-copy-file):
5254 Catch `wrong-number-of-arguments' error.
5255 (tramp-compat-replace-regexp-in-string): New defun.
5256
5257 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5258 for `make-auto-save-file-name'.
5259 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5260 `copy-file'.
5261 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5262 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5263 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5264
5265 * net/tramp-gw.el (tramp-gw-open-network-stream):
5266 Use `tramp-compat-replace-regexp-in-string'.
5267
5268 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5269 Call `tramp-handle-make-auto-save-file-name'.
5270 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5271 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5272 (tramp-sh-file-inotifywait-process-filter):
5273 Use `tramp-compat-replace-regexp-in-string'.
5274 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5275
5276 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5277 for `make-auto-save-file-name'.
5278 (tramp-smb-handle-copy-directory):
5279 Call `tramp-compat-replace-regexp-in-string'.
5280 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5281 (tramp-smb-handle-copy-file): Improve error message.
5282 (tramp-smb-handle-rename-file): Rename directly only in case
5283 `newname' does not exist yet. This is a restriction of smbclient.
5284 (tramp-smb-maybe-open-connection): Rerun the function only when
5285 `auth-sources' is non-nil.
5286
5287 2013-09-08 Kenichi Handa <handa@gnu.org>
5288
5289 * international/characters.el: Set category "^" (Combining) for
5290 more characters.
5291
5292 2013-09-07 Alan Mackenzie <acm@muc.de>
5293
5294 Correctly fontify Java class constructors.
5295 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5296 in Java Mode.
5297 (c-recognize-typeless-decls): Set the Java value to t.
5298 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5299 While handling a "(", add a check for, effectively, Java, and handle a
5300 "typeless" declaration there.
5301
5302 2013-09-07 Roland Winkler <winkler@gnu.org>
5303
5304 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5305 field subtitle for entry type book.
5306
5307 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5308
5309 * minibuffer.el: Make minibuffer-complete call completion-in-region
5310 rather than other way around.
5311 (completion--some, completion-pcm--find-all-completions):
5312 Don't delay signals when debugging.
5313 (minibuffer-completion-contents): Beware fields within the
5314 minibuffer contents.
5315 (completion-all-sorted-completions): Use defvar-local.
5316 (completion--do-completion, completion--cache-all-sorted-completions)
5317 (completion-all-sorted-completions, minibuffer-force-complete):
5318 Add args `beg' and `end'.
5319 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5320 (minibuffer-complete): Use completion-in-region.
5321 (completion-complete-and-exit): New fun, extracted from
5322 minibuffer-complete-and-exit.
5323 (minibuffer-complete-and-exit): Use it.
5324 (completion--complete-and-exit): Rename from
5325 minibuffer--complete-and-exit.
5326 (completion-in-region--single-word): New function, extracted from
5327 minibuffer-complete-word.
5328 (minibuffer-complete-word): Use it.
5329 (display-completion-list): Make `common-substring' argument obsolete.
5330 (completion--in-region): Call completion--in-region-1 instead of
5331 minibuffer-complete.
5332 (completion-help-at-point): Pass boundaries to
5333 minibuffer-completion-help as args rather than via an overlay.
5334 (completion-pcm--string->pattern): Use `any-delim'.
5335 (completion-pcm--optimize-pattern): New function.
5336 (completion-pcm--pattern->regex): Handle `any-delim'.
5337 * icomplete.el (icomplete-forward-completions)
5338 (icomplete-backward-completions, icomplete-completions):
5339 Adjust calls to completion-all-sorted-completions and
5340 completion--cache-all-sorted-completions.
5341 (icomplete-with-completion-tables): Default to t.
5342 * emacs-lisp/crm.el (crm--current-element): Rename from
5343 crm--select-current-element. Don't put an overlay but return the
5344 boundaries instead.
5345 (crm--completion-command): Take two new args to bind to the boundaries.
5346 (crm-completion-help): Adjust accordingly.
5347 (crm-complete): Use completion-in-region.
5348 (crm-complete-word): Use completion-in-region--single-word.
5349 (crm-complete-and-exit): Use completion-complete-and-exit.
5350
5351 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5354 than dynamically.
5355
5356 2013-09-06 Juri Linkov <juri@jurta.org>
5357
5358 * info.el (Info-display-images-node): When image file doesn't exist
5359 display text version of the image if it's provided in the Info file.
5360 Otherwise, display the location of missing image from SRC attribute.
5361 Add help-echo text property from ALT attribute. (Bug#15279)
5362
5363 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5366 (edit-abbrevs-mode): Use define-derived-mode.
5367
5368 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5369 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5370 that it's defined.
5371 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5372 Use define-derived-mode.
5373
5374 * epg.el (epg-start-encrypt): Minor CSE simplification.
5375
5376 2013-09-06 William Xu <william.xwl@gmail.com>
5377
5378 * arc-mode.el: Add support for 7za (bug#15264).
5379 (archive-7z-program): New var.
5380 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5381 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5382 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5383
5384 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5385
5386 Remove URL syntax.
5387
5388 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5389 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5390 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5391 (tramp-postfix-host-format, tramp-file-name-regexp)
5392 (tramp-completion-file-name-regexp)
5393 (tramp-completion-dissect-file-name)
5394 (tramp-handle-substitute-in-file-name): Remove 'url case.
5395 (tramp-file-name-regexp-url)
5396 (tramp-completion-file-name-regexp-url): Remove constants.
5397
5398 2013-09-06 Glenn Morris <rgm@gnu.org>
5399
5400 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5401
5402 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5403
5404 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5405 keywords" below "here-doc beginnings" (Bug#15270).
5406
5407 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * subr.el (pop): Use `car-safe'.
5410 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5411 to detect unused `pop' return value.
5412
5413 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5414 var `block-regexp'.
5415 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5416 (python-fill-string): Remove unused var `marker'.
5417 (python-skeleton-add-menu-items): Remove unused var `items'.
5418
5419 * international/mule-cmds.el: Require CL.
5420 (find-coding-systems-for-charsets): Avoid add-to-list.
5421 (sanitize-coding-system-list): New function, extracted from
5422 select-safe-coding-system-interactively.
5423 (select-safe-coding-system-interactively): Use it.
5424 (read-input-method-name): Accept symbols for `default'.
5425
5426 * emacs-lisp/advice.el (defadvice): Add indent rule.
5427
5428 2013-09-05 Daniel Hackney <dan@haxney.org>
5429
5430 * dired-x.el:
5431 * net/ange-ftp.el:
5432 * net/browse-url.el:
5433 * net/dbus.el:
5434 * net/eudc.el:
5435 * net/eudcb-ldap.el:
5436 * net/eww.el:
5437 * net/imap.el:
5438 * printing.el:
5439 * vc/ediff-diff.el:
5440 * vc/ediff-init.el:
5441 * vc/ediff-merg.el:
5442 * vc/ediff-mult.el:
5443 * vc/ediff-util.el:
5444 * vc/ediff-wind.el:
5445 * vc/ediff.el:
5446 * vc/emerge.el:
5447 * vc/pcvs.el:
5448 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5449 byte compiler. Remove some unused let-bound variables.
5450
5451 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5452
5453 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5454 a "ref-cell", since it gets better optimized (bug#14883).
5455
5456 2013-09-05 Glenn Morris <rgm@gnu.org>
5457
5458 * progmodes/cc-awk.el (c-forward-sws): Declare.
5459
5460 2013-09-04 Glenn Morris <rgm@gnu.org>
5461
5462 * generic-x.el [rul-generic-mode]: Require cc-mode.
5463 (c++-mode-syntax-table): Declare.
5464 (rul-generic-mode-syntax-table): Init in the defvar.
5465
5466 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5469 (vc-do-command, vc-set-async-update):
5470 * vc/vc-mtn.el (vc-mtn-dir-status):
5471 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5472 (vc-hg-pull, vc-hg-merge-branch):
5473 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5474 (vc-git-merge-branch):
5475 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5476 (vc-cvs-dir-status-files):
5477 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5478 (vc-bzr-dir-status-files):
5479 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5480 * vc/vc-annotate.el: Use lexical-binding.
5481 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5482 (vc-sentinel-movepoint): Declare.
5483 (vc-annotate): Don't use `goto-line'.
5484 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5485 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5486 (vc-sentinel-movepoint): Declare.
5487 * vc/vc-svn.el: Use lexical-binding.
5488 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5489 * vc/vc-sccs.el:
5490 * vc/vc-rcs.el: Use lexical-binding.
5491
5492 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5493 `deleted'. Don't drop errors silently.
5494
5495 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5496
5497 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5498
5499 * vc/vc.el (vc-ignore): Rewrite.
5500 (vc-default-ignore): New function.
5501 (vc-default-ignore-completion-table): Use find-ignore-file.
5502
5503 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5504 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5505 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5506 Remove. Most code moved to vc.el.
5507
5508 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5511 * net/tramp-smb.el (tramp-smb-get-file-entries):
5512 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5513 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5514
5515 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5516 Update call to it.
5517 (eww-change-select): Remove unused var `properties'.
5518 (eww-make-unique-file-name): Remove unused var `base'.
5519
5520 * finder.el (finder-compile-keywords): Don't mess with windows.
5521
5522 * calculator.el (calculator-funcall): Fix typo in last change.
5523
5524 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5525
5526 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5527 <pkg>-autoloads.el file stop us.
5528
5529 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5530 warnings, and factor out common code.
5531
5532 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5533
5534 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5535 two-character operators and whether the character preceding them
5536 changes their meaning (Bug#15208).
5537
5538 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5539
5540 Format code sent to Python shell for robustness.
5541 * progmodes/python.el (python-shell-buffer-substring):
5542 New function.
5543 (python-shell-send-region, python-shell-send-buffer): Use it.
5544
5545 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5546
5547 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5548 * net/tramp.el (tramp-user-error): ... here.
5549 (tramp-find-method, tramp-check-proper-host)
5550 (tramp-dissect-file-name, tramp-debug-message)
5551 (tramp-handle-shell-command):
5552 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5554
5555 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5556
5557 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5558
5559 * avoid.el (mouse-avoidance-point-position)
5560 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5561 returns nil.
5562
5563 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5564
5565 * progmodes/python.el (python-shell-completion-get-completions):
5566 Drop use of deleted `comint-last-prompt-overlay'.
5567 (python-nav-if-name-main): New command.
5568
5569 2013-09-01 Glenn Morris <rgm@gnu.org>
5570
5571 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5572 Avoid leading space in $wins. Otherwise the sed command used by
5573 eg compile-main ends up containing "/*.el". (Bug#15170)
5574
5575 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5576
5577 2013-08-30 Glenn Morris <rgm@gnu.org>
5578
5579 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5580 Fix is-this-a-directory logic. (Bug#15220)
5581
5582 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5583
5584 * textmodes/css-mode.el: Use SMIE.
5585 (css-smie-grammar): New var.
5586 (css-smie--forward-token, css-smie--backward-token)
5587 (css-smie-rules): New functions.
5588 (css-mode): Use them.
5589 (css-navigation-syntax-table): Remove var.
5590 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5591 (css-indent-calculate, css-indent-line): Remove functions.
5592
5593 Misc changes to reduce use of `(lambda...); and other cleanups.
5594 * cus-edit.el: Use lexical-binding.
5595 (customize-push-and-save, customize-apropos)
5596 (custom-buffer-create-internal): Use closures.
5597 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5598 * progmodes/ada-xref.el: Use setq.
5599 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5600 * dframe.el: Use lexical-binding.
5601 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5602 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5603 * descr-text.el: Use lexical-binding.
5604 (describe-text-widget, describe-text-sexp, describe-property-list):
5605 Use closures.
5606 * comint.el (comint-history-isearch-push-state): Use a closure.
5607 * calculator.el: Use lexical-binding.
5608 (calculator-number-to-string): Make it work with lexical-binding.
5609 (calculator-funcall): Same and use cl-letf.
5610
5611 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5612 (lisp--company-doc-string, lisp--company-location): New functions.
5613 (lisp-completion-at-point): Use them to improve Company support.
5614
5615 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5616 params of lambda expressions.
5617 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5618 (ruby-smie--opening-pipe-p): New function.
5619 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5620 symbols and matched |...| for formal params.
5621 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5622 from being treated as hanging. Handle "rescue".
5623
5624 2013-08-29 Glenn Morris <rgm@gnu.org>
5625
5626 * progmodes/cc-engine.el (c-pull-open-brace):
5627 Move definition before use.
5628
5629 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5630
5631 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5632 are immutable. Don't use `unsafe' any more.
5633 (cl--defsubst-expand): Don't substitute at the same time as keeping
5634 a residual unused let-binding. Don't use `unsafe' any more.
5635
5636 2013-08-29 Glenn Morris <rgm@gnu.org>
5637
5638 * calendar/cal-china.el (calendar-chinese-year-cache):
5639 Recenter on 2015.
5640
5641 * nxml/nxml-util.el (nxml-debug-clear-inside):
5642 Use cl-loop rather than loop.
5643
5644 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5645
5646 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5647
5648 2013-08-28 Glenn Morris <rgm@gnu.org>
5649
5650 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5651
5652 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5653
5654 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5655
5656 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * simple.el (repeat-complex-command--called-interactively-skip):
5659 New function.
5660 (repeat-complex-command): Use it (bug#14136).
5661
5662 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5663 (c-define-abbrev-table): Add `doc' argument.
5664 (c-mode-abbrev-table, c++-mode-abbrev-table)
5665 (objc-mode-abbrev-table, java-mode-abbrev-table)
5666 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5667 (awk-mode-abbrev-table): Use it.
5668 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5669 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5670 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5671 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5672 Move initialization into the declaration; and remove any
5673 autoload cookie.
5674
5675 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5676 and dynamic let binding.
5677
5678 * vc/smerge-mode.el: Remove redundant :group args.
5679
5680 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5681 to load-path.
5682
5683 2013-08-28 Juri Linkov <juri@jurta.org>
5684
5685 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5686 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5687 (isearch-other-meta-char): Handle an undefined shifted printing
5688 character by downshifting it. (Bug#15200)
5689
5690 2013-08-28 Juri Linkov <juri@jurta.org>
5691
5692 * isearch.el (isearch-search): Change regexp error message for
5693 non-regexp searches. (Bug#15166)
5694
5695 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5696
5697 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5698 for portability to hosts where /bin/sh has problems.
5699
5700 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5703
5704 2013-08-27 Juri Linkov <juri@jurta.org>
5705
5706 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5707 in the keyboard macro. (Bug#15126)
5708
5709 2013-08-27 Juri Linkov <juri@jurta.org>
5710
5711 * isearch.el (isearch-quote-char): Comment out converting unibyte
5712 to multibyte, thus syncing with its `quoted-insert' counterpart.
5713 (Bug#15166)
5714
5715 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5716
5717 * window.el (display-buffer-use-some-window): Add missing
5718 argument in call of get-largest-window (Bug#15185).
5719 Reported by Stephen Leake.
5720
5721 2013-08-27 Glenn Morris <rgm@gnu.org>
5722
5723 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5724
5725 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5728 from a matcher-function unless there's no more matches (bug#15161).
5729
5730 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5731
5732 * minibuffer.el: Revert change from 2013-08-20.
5733
5734 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5735 with text property `tramp-default', if appropriate.
5736 (tramp-check-proper-host): New defun.
5737 (tramp-dissect-file-name): Do not check hostname. Revert change
5738 of 2013-03-18.
5739 (tramp-backtrace): Make VEC-OR-PROC optional.
5740
5741 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5742 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5743 * net/tramp-sh.el (tramp-maybe-open-connection):
5744 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5745 Apply `tramp-check-proper-host'.
5746
5747 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5748
5749 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5750 lambda expression in order to have `describe-variable' display it.
5751
5752 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5753
5754 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5755 BUF can be optional. (Bug#15186)
5756
5757 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5758
5759 * progmodes/flymake.el (flymake-get-real-file-name-function):
5760 Fix broken customization. (Bug#15184)
5761
5762 2013-08-25 Alan Mackenzie <acm@muc.de>
5763
5764 Improve indentation of bracelists defined by macros (without "=").
5765
5766 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5767 expansion begins with "{", regard it as bracelist when it doesn't
5768 contain a ";".
5769
5770 Parse C++ inher-intro when there's a template split over 2 lines.
5771
5772 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5773 rigorously the search for "class" etc. followed by ":".
5774
5775 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5776 random languages a regexp which never matches rather than nil.
5777
5778 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5779
5780 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5781 (c-awk-regexp-one-line-possibly-open-char-list-re)
5782 (c-awk-one-line-possibly-open-regexp-re)
5783 (c-awk-one-line-non-syn-ws*-re): Remove.
5784 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5785 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5786 (c-awk-space*-unclosed-regexp-/-re): New constants.
5787 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5788 aren't regexp delimiters.
5789
5790 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5791 handling for a rare situation in AWK Mode involving unterminated
5792 strings/regexps.
5793
5794 2013-08-23 Glenn Morris <rgm@gnu.org>
5795
5796 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5797
5798 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5799
5800 * files.el (create-file-buffer): If the result would begin with
5801 spaces, prepend a "|" instead of removing them. (Bug#15162)
5802
5803 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5806 text-properties (bug#15155).
5807
5808 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5809 exist any more.
5810 (calc-keypad-redraw): Remove unused var `pad'.
5811 (calc-keypad-press): Remove unused var `menu'.
5812
5813 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5814
5815 * window.el (display-buffer-pop-up-frame):
5816 Call pop-up-frame-function with BUFFER current so `make-frame' will
5817 use it as the new frame's buffer (Bug#15133).
5818
5819 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5820
5821 * calendar/timeclock.el: Minor cleanups.
5822 (timeclock-ask-before-exiting, timeclock-use-display-time):
5823 Use `symbol'.
5824 (timeclock-modeline-display): Define as alias before the
5825 actual definition.
5826 (timeclock-mode-line-display): Use define-minor-mode.
5827 (timeclock-day-list-template): Make it a function, add an argument.
5828 (timeclock-day-list-required, timeclock-day-list-length)
5829 (timeclock-day-list-debt, timeclock-day-list-span)
5830 (timeclock-day-list-break): Adjust calls accordingly.
5831
5832 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5833
5834 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5835 Use read--expression so that completion works again.
5836
5837 2013-08-21 Sam Steingold <sds@gnu.org>
5838
5839 Add rudimentary inferior shell interaction
5840 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5841 (sh-set-shell): Reset it.
5842 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5843 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5844
5845 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * align.el: Use lexical-binding.
5848 (align-region): Simplify accordingly.
5849
5850 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5851
5852 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5853
5854 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5855 `non-essential' up.
5856
5857 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5858
5859 * net/tramp.el:
5860 * net/tramp-adb.el:
5861 * net/tramp-cmds.el:
5862 * net/tramp-ftp.el:
5863 * net/tramp-gvfs.el:
5864 * net/tramp-gw.el:
5865 * net/tramp-sh.el: Don't wrap external variable declarations by
5866 `eval-when-compile'.
5867
5868 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5869
5870 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5871 now that Emacs supports ImageMagick animations.
5872
5873 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5874
5875 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5876 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5877
5878 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5879
5880 * window.el (mouse-autoselect-window-select): Do autoselect when
5881 mouse pointer is on margin.
5882
5883 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5884
5885 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5886
5887 2013-08-16 Glenn Morris <rgm@gnu.org>
5888
5889 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5890 Handle "Remote Directory" response of some clients. (Bug#15058)
5891
5892 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5893 Tweak warning. (Bug#14926)
5894
5895 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5896 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5897
5898 * image-mode.el (image-mode-map): Add menu items to reverse,
5899 increase, decrease, reset animation speed.
5900 (image--set-speed, image-increase-speed, image-decrease-speed)
5901 (image-reverse-speed, image-reset-speed): New functions.
5902 (image-mode-map): Add bindings for speed commands.
5903
5904 * image.el (image-animate-get-speed, image-animate-set-speed):
5905 New functions.
5906 (image-animate-timeout): Respect image :speed property.
5907
5908 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5911 previous line (bug#15101).
5912 (debugger-eval-expression, debugger-record-expression):
5913 Use read--expression (bug#15102).
5914
5915 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5916
5917 Remove byte compiler warnings, visible when compiling with
5918 `byte-compile-force-lexical-warnings' set to t.
5919
5920 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5921 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5922 (tramp-handle-unhandled-file-name-directory)
5923 (tramp-handle-file-notify-add-watch, tramp-action-login)
5924 (tramp-action-succeed, tramp-action-permission-denied)
5925 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5926 arguments with "_".
5927
5928 * net/tramp-adb.el (tramp-adb-parse-device-names)
5929 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5930 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5931 (tramp-adb-handle-file-truename): Remove unused arguments.
5932
5933 * net/tramp-cache.el (tramp-flush-directory-property)
5934 (tramp-flush-connection-property, tramp-list-connections)
5935 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5936
5937 * net/tramp-compat.el (tramp-compat-make-temp-file):
5938 Rename FILENAME to F.
5939
5940 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5941 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5942 (tramp-zeroconf-parse-workstation-device-names)
5943 (tramp-zeroconf-parse-webdav-device-names)
5944 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5945
5946 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5947 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5948
5949 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5950 arguments.
5951 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5952 (tramp-sh-handle-insert-file-contents-literally)
5953 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5954 with "_".
5955 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5956 Remove unused variables.
5957
5958 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5959 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5960 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5961
5962 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5963 Make them a defconst.
5964 (tramp-uuencode-region): Remove unused variable.
5965
5966 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5967
5968 * frameset.el (frameset--prop-setter): New function.
5969 (frameset-prop): Add gv-setter declaration.
5970 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5971 parameter was already set in FILTERED. Doc fix.
5972 (frameset--record-minibuffer-relationships): Allow saving a
5973 minibufferless frame without its corresponding minibuffer frame.
5974 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5975 frame, if the frame id matches.
5976 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5977 frames before orphaned ones.
5978 (frameset-restore): Warn about orphaned windows, instead of error out.
5979
5980 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5981
5982 * window.el (window-make-atom): Don't overwrite parameter
5983 already present.
5984 (display-buffer-in-atom-window): Handle special case where we
5985 split an already atomic window.
5986 (window--major-non-side-window, display-buffer-in-side-window)
5987 (window--side-check): Ignore minibuffer window when walking
5988 window tree.
5989 (window-deletable-p): Return 'frame only if no other frame uses
5990 our minibuffer window.
5991 (record-window-buffer): Run buffer-list-update-hook.
5992 (split-window): Make sure window--check-frame won't destroy an
5993 existing atomic window in case the new window gets nested
5994 inside.
5995 (display-buffer-at-bottom): Ignore minibuffer window when
5996 walking window tree. Don't split a side window.
5997 (pop-to-buffer): Don't set-buffer here, the select-window call
5998 should do that.
5999 (mouse-autoselect-window-select): Autoselect only if we are in the
6000 text portion of the window.
6001
6002 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6003
6004 * net/shr.el (shr-parse-image-data): New function to grab both the
6005 data itself and the Content-Type.
6006 (shr-put-image): Use it.
6007
6008 * net/eww.el (eww-display-image): Ditto.
6009
6010 * image.el (image-content-type-suffixes): New variable.
6011
6012 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6013
6014 * progmodes/python.el (python-imenu--build-tree)
6015 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6016
6017 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6018
6019 * simple.el (backward-word): Mention the optional argument.
6020
6021 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * frameset.el (frameset--make): Rename constructor from make-frameset.
6024 (frameset-p, frameset-valid-p): Don't autoload.
6025 (frameset-valid-p): Use normal accessors.
6026
6027 2013-08-13 Glenn Morris <rgm@gnu.org>
6028
6029 * progmodes/compile.el (compile-command): Tweak example in doc.
6030 * obsolete/scribe.el (scribe-mode):
6031 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6032
6033 * mail/feedmail.el (feedmail-confirm-outgoing)
6034 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6035
6036 * cus-start.el (truncate-partial-width-windows): Fix type.
6037
6038 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6039
6040 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6041
6042 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6043
6044 * emacs-lisp/timer.el (timer--time-setter): New function.
6045 (timer--time): Use it as gv-setter.
6046
6047 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6048 setter is not a symbol.
6049
6050 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6051
6052 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6053 if sending fails. This makes debugging easier.
6054
6055 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6056
6057 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6058 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6059 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6060
6061 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6062
6063 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6064
6065 2013-08-12 Glenn Morris <rgm@gnu.org>
6066
6067 * format.el (format-annotate-function):
6068 Handle read-only text properties in the source. (Bug#14887)
6069
6070 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6071
6072 * net/eww.el (eww-display-html): Ignore coding system errors.
6073 One web site uses "utf-8lias" as the coding system.
6074
6075 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6076
6077 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6078
6079 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6080
6081 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6082 (tutorial--detailed-help): Remove unused local variables.
6083 (tutorial--save-tutorial-to): Use ignore-errors.
6084 (help-with-tutorial): Use looking-at-p.
6085
6086 * view.el (view-buffer-other-window, view-buffer-other-frame):
6087 Mark unused arguments.
6088
6089 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6090 (woman-select-symbol-fonts, woman, woman-find-file)
6091 (woman-insert-file-contents, woman-non-underline-faces):
6092 Use string-match-p.
6093 (woman1-unquote): Move declaration.
6094
6095 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6096 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6097 argument. Remove unused local variable.
6098 (xml-parse-elem-type): Use string-match-p.
6099 (xml-substitute-numeric-entities): Use ignore-errors.
6100
6101 * calculator.el (calculator): Mark unused argument.
6102 (calculator-paste, calculator-quit, calculator-integer-p):
6103 Use ignore-errors.
6104 (calculator-string-to-number, calculator-decimal, calculator-exp)
6105 (calculator-op-or-exp): Use string-match-p.
6106
6107 * dired.el (dired-buffer-more-recently-used-p): Declare.
6108 (dired-insert-set-properties, dired-insert-old-subdirs):
6109 Use ignore-errors.
6110
6111 * dired-aux.el (dired-compress): Use ignore-errors.
6112 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6113 (dired-do-async-shell-command, dired-do-shell-command)
6114 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6115 (dired-insert-subdir-validate): Use string-match-p.
6116 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6117 (dired-add-entry): Use string-match-p, looking-at-p.
6118 (dired-insert-subdir-newpos): Remove unused local variable.
6119
6120 * filenotify.el (file-notify-callback): Remove unused local variable.
6121
6122 * filesets.el (filesets-error): Mark unused argument.
6123 (filesets-which-command-p, filesets-filter-dir-names)
6124 (filesets-directory-files, filesets-get-external-viewer)
6125 (filesets-ingroup-get-data): Use string-match-p.
6126
6127 * find-file.el (ff-other-file-name, ff-other-file-name)
6128 (ff-find-the-other-file, ff-cc-hh-converter):
6129 Remove unused local variables.
6130 (ff-get-file-name): Use string-match-p.
6131 (ff-all-dirs-under): Use ignore-errors.
6132
6133 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6134 (follow-select-if-visible): Remove unused local variable.
6135
6136 * forms.el (read-file-filter): Move declaration.
6137 (forms--make-format, forms--make-parser, forms-insert-record):
6138 Quote function with #'.
6139 (forms--update): Use string-match-p. Quote function with #'.
6140
6141 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6142 (help-make-xrefs): Use looking-at-p.
6143 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6144
6145 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6146 (ibuffer-confirm-operation-on): Use string-match-p.
6147
6148 * msb.el (msb-item-handler, msb-dired-item-handler):
6149 Mark unused arguments.
6150
6151 * ses.el (ses-decode-cell-symbol)
6152 (ses-kill-override): Remove unused local variable.
6153 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6154 (ses-load): Use ignore-errors, looking-at-p.
6155 (ses-jump-safe): Use ignore-errors.
6156 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6157
6158 * tabify.el (untabify, tabify): Mark unused arguments.
6159
6160 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6161 Mark unused argument.
6162 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6163 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6164
6165 * emacs-lisp/timer.el (timer--time): Define setter with
6166 gv-define-setter to avoid deprecation warning.
6167
6168 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6169 (*record-cmpl-statistics-p*): Remove (was commented out).
6170 (cmpl-statistics-block): Remove (body was commented out).
6171 All callers changed.
6172 (add-completions-from-buffer, load-completions-from-file):
6173 Remove unused variables.
6174
6175 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6176
6177 * filecache.el (file-cache-delete-file-list):
6178 Print message only when told so.
6179 (file-cache-files-matching): Use #' in mapconcat argument.
6180
6181 * ffap.el (ffap-url-at-point): Fix reference to variable
6182 thing-at-point-default-mail-uri-scheme.
6183
6184 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6185
6186 * subr.el (define-error): New function.
6187 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6188 error-file-not-found and define with define-error.
6189 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6190 and define with define-error.
6191 * userlock.el (file-locked, file-supersession):
6192 * simple.el (mark-inactive):
6193 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6194 * progmodes/ada-mode.el (ada-mode-errors):
6195 * play/life.el (life-extinct):
6196 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6197 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6198 * nxml/rng-util.el (rng-error):
6199 * nxml/rng-uri.el (rng-uri-error):
6200 * nxml/rng-match.el (rng-compile-error):
6201 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6202 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6203 * nxml/nxml-rap.el (nxml-scan-error):
6204 * nxml/nxml-outln.el (nxml-outline-error):
6205 * net/soap-client.el (soap-error):
6206 * net/gnutls.el (gnutls-error):
6207 * net/ange-ftp.el (ftp-error):
6208 * mpc.el (mpc-proc-error):
6209 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6210 (json-number-format, json-string-escape, json-string-format)
6211 (json-key-format, json-object-format):
6212 * jka-compr.el (compression-error):
6213 * international/quail.el (quail-error):
6214 * international/kkc.el (kkc-error):
6215 * emacs-lisp/ert.el (ert-test-failed):
6216 * calc/calc.el (calc-error, inexact-result, math-overflow)
6217 (math-underflow):
6218 * bookmark.el (bookmark-error-no-filename):
6219 * epg.el (epg-error): Define with define-error.
6220
6221 * time.el (display-time-event-handler)
6222 (display-time-next-load-average): Don't call sit-for since it seems
6223 unnecessary (bug#15045).
6224
6225 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6226 Use #' instead of ' to quote functions.
6227 (checkdoc-output-mode): Use setq-local.
6228 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6229 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6230 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6231 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6232 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6233 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6234 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6235 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6236
6237 * ido.el (ido-completion-help): Fix up compiler warning.
6238
6239 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6240
6241 * frameset.el (frameset-p): Add autoload cookie.
6242 (frameset--jump-to-register): New function, based on code moved from
6243 register.el.
6244 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6245
6246 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6247 (frameset-restore, frameset-save, frameset-session-filter-alist):
6248 Remove declarations.
6249 (register-alist): Doc fix.
6250 (frameset-to-register): Move to frameset.el.
6251 (jump-to-register, describe-register-1): Remove frameset-specific code.
6252
6253 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6254
6255 * allout-widgets.el (allout-widgets-pre-command-business)
6256 (allout-widgets-post-command-business)
6257 (allout-widgets-after-change-handler)
6258 (allout-decorate-item-and-context, allout-set-boundary-marker)
6259 (allout-body-modification-handler)
6260 (allout-graphics-modification-handler): Mark ignored arguments.
6261 (allout-widgets-post-command-business)
6262 (allout-widgets-exposure-change-processor)
6263 (allout-widgets-exposure-undo-processor)
6264 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6265 (allout-parse-item-at-point, allout-decorate-item-guides)
6266 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6267 * allout.el (epa-passphrase-callback-function): Declare.
6268 (allout-overlay-insert-in-front-handler)
6269 (allout-overlay-interior-modification-handler)
6270 (allout-isearch-end-handler, allout-chart-siblings)
6271 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6272 (allout-yank-processing, allout-process-exposed)
6273 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6274 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6275 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6276 (lisp-indent-defform): Mark ignored arguments.
6277 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6278 (calculate-lisp-indent): Remove unused variables.
6279 * international/characters.el (indian-2-column, arabic-2-column)
6280 (tibetan): Mark ignored arguments.
6281 (use-cjk-char-width-table): Mark ignored arguments.
6282 Remove unused variables.
6283 * international/fontset.el (build-default-fontset-data)
6284 (x-compose-font-name, create-fontset-from-fontset-spec):
6285 Mark ignored arguments.
6286 (fontset-plain-name): Remove unused variables.
6287 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6288 (keyboard-coding-system): Mark ignored arguments.
6289 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6290 * help.el (resize-temp-buffer-window):
6291 * window.el (display-buffer-in-major-side-window)
6292 (display-buffer-in-side-window, display-buffer-in-previous-window):
6293 Remove unused variables.
6294 * isearch.el (isearch-forward-symbol):
6295 * version.el (emacs-bzr-version-bzr):
6296 * international/mule-cmds.el (current-language-environment):
6297 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6298 (x-handle-display):
6299 * term/pc-win.el (x-list-fonts, x-display-planes)
6300 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6301 (x-server-version, x-display-screens, x-display-mm-height)
6302 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6303 (x-selection-owner-p, x-own-selection-internal)
6304 (x-disown-selection-internal, x-get-selection-internal)
6305 (msdos-initialize-window-system):
6306 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6307 * term/x-win.el (x-handle-no-bitmap-icon):
6308 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6309 (vc-default-find-file-hook, vc-default-extra-menu):
6310 Mark ignored arguments.
6311
6312 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6315 break-condition in the context of the debugged code (bug#12685).
6316
6317 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6318
6319 * comint.el:
6320 Do not use an overlay to highlight the last prompt. (Bug#14744)
6321 (comint-mode): Make comint-last-prompt buffer local.
6322 (comint-last-prompt): New variable.
6323 (comint-last-prompt-overlay): Remove. Superseded by
6324 comint-last-prompt.
6325 (comint-snapshot-last-prompt, comint-output-filter):
6326 Use comint-last-prompt.
6327
6328 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6329
6330 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6331 (frameset-save): Check validity of the resulting frameset.
6332
6333 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6334
6335 * ido.el (ido-record-command): Add doc string.
6336
6337 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6338
6339 * frameset.el (frameset): Do not disable creation of the default
6340 frameset-p predicate. Doc fix.
6341 (frameset-valid-p): New function, copied from the old predicate-p.
6342 Add additional checks.
6343 (frameset-restore): Check with frameset-valid-p.
6344 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6345 (frameset-name, frameset-description, frameset-properties)
6346 (frameset-states): Add docstring.
6347 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6348 (frameset-filter-alist): Doc fixes.
6349
6350 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6351
6352 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6353
6354 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6355
6356 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6357 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6358 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6359 (byte-compile-normal-call): Remove obsolescence check.
6360
6361 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6362
6363 * frameset.el (frameset-restore): Doc fix.
6364
6365 * register.el (frameset-frame-id, frameset-frame-with-id)
6366 (frameset-p, frameset-restore, frameset-save): Declare.
6367 (register-alist): Document framesets.
6368 (frameset-session-filter-alist): Declare.
6369 (frameset-to-register): New function.
6370 (jump-to-register): Implement jumping to framesets. Doc fix.
6371 (describe-register-1): Describe framesets.
6372
6373 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6374
6375 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6378 Use lexical-binding.
6379
6380 * frameset.el (frameset): Use type vector, not list (incompatible
6381 change). Do not declare a new constructor, use the default one.
6382 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6383 `name' and `description', respectively, and add read-only slot
6384 `timestamp'. Doc fixes.
6385 (frameset-copy, frameset-persistent-filter-alist)
6386 (frameset-filter-alist, frameset-switch-to-gui-p)
6387 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6388 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6389 (frameset-filter-iconified, frameset-keep-original-display-p):
6390 Doc fixes.
6391 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6392 Rename from frameset-filter-(save|restore)-param. All callers changed.
6393 Doc fix.
6394 (frameset-p): Adapt to change to vector and be more thorough.
6395 Change arg name to OBJECT. Doc fix.
6396 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6397 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6398 All callers changed.
6399 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6400 All callers changed.
6401 (frameset--record-minibuffer-relationships): Rename from
6402 frameset--process-minibuffer-frames. All callers changed.
6403 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6404 Use new default constructor (again). Doc fix.
6405 (frameset--find-frame-if): Rename from `frameset--find-frame.
6406 All callers changed.
6407 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6408 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6409 Doc fix.
6410 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6411 PARAMETERS and WINDOW-STATE, respectively.
6412 (frameset-restore): Add new keyword argument PREDICATE.
6413 Reset frameset--target-display to nil. Doc fix.
6414
6415 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6416
6417 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6418 (bat-mode): Use it.
6419 (bat-mode-syntax-table): Mark \n as end-of-comment.
6420 (bat-font-lock-keywords): Remove comment rule.
6421
6422 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6423 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6424
6425 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6426 (byte-compile-callargs-warn): Use `push'.
6427 (byte-compile-arglist-warn): Ignore higher-order "calls".
6428 (byte-compile-file-form-autoload): Use `pcase'.
6429 (byte-compile-function-form): If quoting a symbol, check that it exists.
6430
6431 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6432
6433 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6434 and add a few popular commands found in batch files.
6435 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6436 (dos-mode): Doc fixes.
6437
6438 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6439
6440 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6441 (dos-mode): Use setq-local. Add space after "rem".
6442 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6443 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6444
6445 2013-08-07 Arni Magnusson <arnima@hafro.is>
6446
6447 * progmodes/dos.el: New file.
6448 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6449 dos-mode.
6450
6451 2013-08-06 Glenn Morris <rgm@gnu.org>
6452
6453 * calendar/calendar.el: Add new faces, and day-header-array.
6454 (calendar-weekday-header, calendar-weekend-header)
6455 (calendar-month-header): New faces.
6456 (calendar-day-header-construct): New function.
6457 (calendar-day-header-width): Also :set calendar-day-header-array.
6458 (calendar-american-month-header, calendar-european-month-header)
6459 (calendar-iso-month-header): Use calendar- faces.
6460 (calendar-generate-month):
6461 Use calendar-day-header-array for day headers; apply faces to them.
6462 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6463 (calendar-abbrev-construct): Add optional maxlen argument.
6464 (calendar-day-name-array): Doc fix.
6465 (calendar-day-name-array, calendar-abbrev-length)
6466 (calendar-day-abbrev-array):
6467 Also :set calendar-day-header-array, and maybe redraw.
6468 (calendar-day-header-array): New option. (Bug#15007)
6469 (calendar-font-lock-keywords): Set to nil and make obsolete.
6470 (calendar-day-name): Add option to use header array.
6471
6472 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6473
6474 * net/shr.el (shr-render-td): Remove debugging.
6475 (shr-render-td): Make width computation consistent by defaulting
6476 all zero-width columns to 10 characters. This may not be optimal,
6477 but it's at least consistent.
6478 (shr-make-table-1): Redo last change to fix the real problem in
6479 colspan handling.
6480
6481 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6482
6483 * files.el (cache-long-line-scans):
6484 Make obsolete alias to `cache-long-scans'.
6485
6486 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6487
6488 * frameset.el (frameset, frameset-filter-alist)
6489 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6490 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6491 (frameset-compute-pos): Rename from frameset--compute-pos,
6492 and add docstring.
6493 (frameset-move-onscreen): Use frameset-compute-pos.
6494 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6495
6496 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6497 Fix typos in docstrings.
6498
6499 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6500
6501 * frame.el (get-other-frame): Tiny cleanup.
6502
6503 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6504
6505 * vc/vc.el (vc-default-ignore-completion-table):
6506 Silence byte-compiler warning.
6507
6508 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6509 slot , which can indeed be nil.
6510 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6511 Move entry for `left' from persistent to live filter alist.
6512 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6513 Doc fixes.
6514 (frameset-filter-params): When restoring a frame, copy items added to
6515 `filtered', to avoid unwittingly modifying the original parameters.
6516 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6517 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6518
6519 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6520 to use looking-at-p instead of looking-at. (Bug#15028)
6521
6522 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 Revert introduction of isearch-filter-predicates (bug#14714).
6525 Rely on add-function instead.
6526 * isearch.el (isearch-filter-predicates): Rename it back to
6527 isearch-filter-predicate.
6528 (isearch-message-prefix): Use advice-function-mapc and advice
6529 properties to get the isearch-message-prefix.
6530 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6531 instead of run-hook-with-args-until-failure.
6532 (isearch-filter-visible): Not obsolete any more.
6533 * loadup.el: Preload nadvice.
6534 * replace.el (perform-replace): Revert to funcall
6535 instead of run-hook-with-args-until-failure.
6536 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6537 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6538 dired-isearch-filenames-toggle; make it into a proper minor mode.
6539 Use add/remove-function.
6540 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6541 Call the minor-mode rather than add/remove-hook.
6542 (dired-isearch-filter-filenames):
6543 Remove isearch-message-prefix property.
6544 * info.el (Info--search-loop): New function, extracted from Info-search.
6545 Funcall isearch-filter-predicate instead of
6546 run-hook-with-args-until-failure isearch-filter-predicates.
6547 (Info-search): Use it.
6548 (Info-mode): Use isearch-filter-predicate instead of
6549 isearch-filter-predicates.
6550
6551 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6552
6553 Do not call to `selected-window' where it is assumed by default.
6554 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6555 `window-hscroll', `window-width', `window-height', `window-buffer',
6556 `window-frame', `window-start', `window-point', `next-window'
6557 and `window-display-table'.
6558 * abbrev.el (abbrev--default-expand):
6559 * bs.el (bs--show-with-configuration):
6560 * buff-menu.el (Buffer-menu-mouse-select):
6561 * calc/calc.el (calc):
6562 * calendar/calendar.el (calendar-generate-window):
6563 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6564 (diary-make-entry):
6565 * comint.el (send-invisible, comint-dynamic-complete-filename)
6566 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6567 * completion.el (complete):
6568 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6569 * disp-table.el (describe-current-display-table):
6570 * doc-view.el (doc-view-insert-image):
6571 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6572 * ehelp.el (with-electric-help):
6573 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6574 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6575 * emacs-lisp/helper.el (Helper-help-scroller):
6576 * emulation/cua-base.el (cua--post-command-handler-1):
6577 * eshell/esh-mode.el (eshell-output-filter):
6578 * ffap.el (ffap-gnus-wrapper):
6579 * help-macro.el (make-help-screen):
6580 * hilit-chg.el (highlight-compare-buffers):
6581 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6582 * hl-line.el (global-hl-line-highlight):
6583 * icomplete.el (icomplete-simple-completing-p):
6584 * isearch.el (isearch-done):
6585 * jit-lock.el (jit-lock-stealth-fontify):
6586 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6587 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6588 * mpc.el (mpc-tagbrowser, mpc):
6589 * net/rcirc.el (rcirc-any-buffer):
6590 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6591 * play/landmark.el (landmark-max-width, landmark-max-height):
6592 * play/zone.el (zone):
6593 * progmodes/compile.el (compilation-goto-locus):
6594 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6595 * progmodes/etags.el (find-tag-other-window):
6596 * progmodes/fortran.el (fortran-column-ruler):
6597 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6598 * progmodes/verilog-mode.el (verilog-point-text):
6599 * reposition.el (reposition-window):
6600 * rot13.el (toggle-rot13-mode):
6601 * server.el (server-switch-buffer):
6602 * shell.el (shell-dynamic-complete-command)
6603 (shell-dynamic-complete-environment-variable):
6604 * simple.el (insert-buffer, set-selective-display)
6605 (delete-completion-window):
6606 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6607 (speedbar-recenter):
6608 * startup.el (fancy-splash-head):
6609 * textmodes/ispell.el (ispell-command-loop):
6610 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6611 * tutorial.el (help-with-tutorial):
6612 * vc/add-log.el (add-change-log-entry):
6613 * vc/compare-w.el (compare-windows):
6614 * vc/ediff-help.el (ediff-indent-help-message):
6615 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6616 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6617 (ediff-setup-control-frame):
6618 * vc/emerge.el (emerge-position-region):
6619 * vc/pcvs-util.el (cvs-bury-buffer):
6620 * window.el (walk-windows, mouse-autoselect-window-select):
6621 * winner.el (winner-set-conf, winner-undo): Related users changed.
6622
6623 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6624
6625 * frameset.el (frameset--set-id): Doc fix.
6626 (frameset-frame-id, frameset-frame-id-equal-p)
6627 (frameset-locate-frame-id): New functions.
6628 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6629 (frameset-restore): Use them.
6630
6631 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6632
6633 Do not call to `selected-frame' where it is assumed by default.
6634 Affected functions are `raise-frame', `redraw-frame',
6635 `frame-first-window', `frame-terminal' and `delete-frame'.
6636 * calendar/appt.el (appt-disp-window):
6637 * epg.el (epg-wait-for-completion):
6638 * follow.el (follow-delete-other-windows-and-split)
6639 (follow-avoid-tail-recenter):
6640 * international/mule.el (set-terminal-coding-system):
6641 * mail/rmail.el (rmail-mail-return):
6642 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6643 * progmodes/f90.el (f90-add-imenu-menu):
6644 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6645 * server.el (server-switch-buffer):
6646 * simple.el (delete-completion-window):
6647 * talk.el (talk):
6648 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6649 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6650 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6651 * vc/ediff.el (ediff-documentation): Related users changed.
6652 * frame.el (selected-terminal): Remove the leftover.
6653
6654 2013-08-05 Glenn Morris <rgm@gnu.org>
6655
6656 * calendar/calendar.el (calendar-generate-month):
6657 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6658 (calendar-generate-month, calendar-font-lock-keywords):
6659 Fix for calendar-day-header-width > length of any day name.
6660
6661 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * desktop.el (desktop-clear): Use new name of sort predicate.
6664
6665 * frameset.el (frameset): Add docstring. Move :version property to its
6666 own `version' slot.
6667 (frameset-copy): Rename from copy-frameset.
6668 (frameset-p): Check more thoroughly.
6669 (frameset-prop): Do not check for :version, which is no longer a prop.
6670 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6671 Use new :never value instead of t.
6672 (frameset-filter-alist): Expand and clarify docstring.
6673 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6674 (frameset-filter-minibuffer, frameset-filter-save-param)
6675 (frameset-filter-restore-param, frameset-filter-iconified):
6676 Add pointer to docstring of frameset-filter-alist.
6677 (frameset-filter-params): Rename filter values to be more meaningful:
6678 :never instead of t, and reverse the meanings of :save and :restore.
6679 (frameset--process-minibuffer-frames): Clarify error message.
6680 (frameset-save): Avoid unnecessary and confusing call to framep.
6681 Use new BOA constructor for framesets.
6682 (frameset--reuse-list): Doc fix.
6683 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6684 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6685 (frameset-minibufferless-first-p): Doc fix.
6686 Rename from frameset-sort-frames-for-deletion.
6687 (frameset-restore): Doc fixes. Use new function names.
6688 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6689
6690 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * desktop.el (desktop-restore-forces-onscreen)
6693 (desktop-restore-reuses-frames): Document :keyword constant values.
6694 (desktop-filter-parameters-alist): Remove, now identical to
6695 frameset-filter-alist.
6696 (desktop--filter-tty*): Remove, moved to frameset.el.
6697 (desktop-save-frameset, desktop-restore-frameset):
6698 Do not pass :filters argument.
6699
6700 * frameset.el (frameset-live-filter-alist)
6701 (frameset-persistent-filter-alist): New variables.
6702 (frameset-filter-alist): Use them. Add autoload cookie.
6703 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6704 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6705 `frameset--id' (it's supposed to be internal to frameset.el).
6706 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6707 (frameset--initial-params): New function.
6708 (frameset--get-frame): Use it. Doc fix.
6709 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6710 Accept :all, not 'all.
6711 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6712 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6713 with fbound symbols. Fix frame id matching, and remove matching ids if
6714 the frame being restored is deleted. Obey :delete.
6715
6716 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * subr.el (macrop): New function.
6719 (text-clone--maintaining): New var.
6720 (text-clone--maintain): Rename from text-clone-maintain. Use it
6721 instead of inhibit-modification-hooks.
6722
6723 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6724 a proxy, so as handle autoloads and redefinitions of the target.
6725 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6726
6727 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6728 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6729 (pcase--mutually-exclusive-p): New function.
6730 (pcase--split-consp): Use it.
6731 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6732 mutually exclusive with the current predicate.
6733
6734 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6735 (edebug-macrop): Remove. Use `macrop' instead.
6736 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6737 (ad-macro-p):
6738 * eshell/esh-cmd.el (eshell-macrop):
6739 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6740
6741 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6744 (advice-mapc): New function, using it.
6745 (advice-function-member-p): New function.
6746 (advice--normalize): Store the cdr in advice--saved-rewrite since
6747 that's the part that will be changed.
6748 (advice--symbol-function): New function.
6749 (advice-remove): Handle removal before the function is defined.
6750 Adjust to new advice--saved-rewrite.
6751 (advice-member-p): Use advice-function-member-p and
6752 advice--symbol-function.
6753
6754 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6755
6756 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6757 (frameset-filter-minibuffer): Doc fix.
6758 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6759 (frameset--set-id, frameset--process-minibuffer-frames)
6760 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6761 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6762
6763 * desktop.el (desktop-clear): Only delete frames when called
6764 interactively and desktop-restore-frames is non-nil. Doc fix.
6765 (desktop-read): Set desktop-saved-frameset to nil.
6766
6767 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6768
6769 * vc/vc.el (vc-ignore): Rewrite.
6770 (vc-default-ignore-completion-table):
6771 (vc--read-lines):
6772 (vc--add-line, vc--remove-regexp): New functions.
6773
6774 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6775 (vc-svn-ignore-completion-table): New function.
6776
6777 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6778 (vc-hg-ignore-completion-table):
6779 (vc-hg-find-ignore-file): New functions.
6780
6781 * vc/vc-git.el (vc-git-ignore): Rewrite.
6782 (vc-git-ignore-completion-table):
6783 (vc-git-find-ignore-file): New functions.
6784
6785 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6786
6787 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6788 (vc-bzr-ignore-completion-table):
6789 (vc-bzr-find-ignore-file): New functions.
6790
6791 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * frameset.el (frameset-prop): New function and setter.
6794 (frameset-save): Do not modify frame list passed by the caller.
6795
6796 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6797
6798 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6799
6800 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6801
6802 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6803 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6804
6805 * custom.el (custom-initialize-default, custom-initialize-set)
6806 (custom-initialize-reset, custom-initialize-changed): Affect the
6807 toplevel-default-value (bug#6275, bug#14586).
6808 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6809 for bug#6275.
6810
6811 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6814 Add cl-def* expressions.
6815
6816 * frameset.el (frameset-filter-params): Fix order of arguments.
6817
6818 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6819
6820 Move code related to saving frames to frameset.el.
6821 * desktop.el: Require frameset.
6822 (desktop-restore-frames): Doc fix.
6823 (desktop-restore-reuses-frames): Rename from
6824 desktop-restoring-reuses-frames.
6825 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6826 (desktop-clear): Clear frames too.
6827 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6828 (desktop--filter-tty*, desktop-save, desktop-read):
6829 Use frameset functions.
6830 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6831 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6832 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6833 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6834 (desktop--process-minibuffer-frames, desktop-save-frames)
6835 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6836 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6837 (desktop--sort-states, desktop-restoring-frames-p)
6838 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6839 (desktop-restoring-frameset-p, desktop-restore-frameset)
6840 (desktop--check-dont-save, desktop-save-frameset): New functions.
6841 (desktop--app-id): New constant.
6842 (desktop-first-buffer, desktop-buffer-ok-count)
6843 (desktop-buffer-fail-count): Move before first use.
6844 * frameset.el: New file.
6845
6846 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * files.el: Use lexical-binding.
6849 (dir-locals-read-from-file): Remove unused `err' variable.
6850 (hack-dir-local-variables--warned-coding): New var.
6851 (hack-dir-local-variables): Use it to avoid repeated warnings.
6852 (make-backup-file-name--default-function): New function.
6853 (make-backup-file-name-function): Use it as default.
6854 (buffer-stale--default-function): New function.
6855 (buffer-stale-function): Use it as default.
6856 (revert-buffer-insert-file-contents--default-function): New function.
6857 (revert-buffer-insert-file-contents-function): Use it as default.
6858 (insert-directory): Avoid add-to-list.
6859
6860 * autorevert.el (auto-revert-handler): Simplify.
6861 Use buffer-stale--default-function.
6862
6863 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6864
6865 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6866
6867 * whitespace.el (whitespace-ensure-local-variables): New function.
6868 (whitespace-cleanup-region): Call it.
6869 (whitespace-turn-on): Call it.
6870
6871 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6872
6873 Complete file name handlers.
6874
6875 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6876 (tramp-handle-verify-visited-file-modtime)
6877 (tramp-handle-file-notify-rm-watch): New functions.
6878 (tramp-call-process): Do not bind `default-directory'.
6879
6880 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6881 Order alphabetically.
6882 [access-file, add-name-to-file, dired-call-process]:
6883 [dired-compress-file, file-acl, file-notify-rm-watch]:
6884 [file-ownership-preserved-p, file-selinux-context]:
6885 [make-directory-internal, make-symbolic-link, set-file-acl]:
6886 [set-file-selinux-context, set-visited-file-modtime]:
6887 [verify-visited-file-modtime]: Add handler.
6888 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6889
6890 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6891 [file-notify-add-watch, file-notify-rm-watch]:
6892 [set-file-times, set-visited-file-modtime]:
6893 [verify-visited-file-modtime]: Add handler.
6894 (with-tramp-gvfs-error-message)
6895 (tramp-gvfs-handle-set-visited-file-modtime)
6896 (tramp-gvfs-fuse-file-name): Remove.
6897 (tramp-gvfs-handle-file-notify-add-watch)
6898 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6899 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6900
6901 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6902 Order alphabetically.
6903 [file-notify-rm-watch ]: Use default Tramp handler.
6904 [executable-find]: Remove private handler.
6905 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6906 `default-directory'.
6907 (tramp-sh-handle-executable-find)
6908 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6909 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6910 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6911 Do not use `format' in `tramp-message'.
6912
6913 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6914 [file-notify-rm-watch, set-visited-file-modtime]:
6915 [verify-visited-file-modtime]: Add handler.
6916 (tramp-smb-call-winexe): Do not bind `default-directory'.
6917
6918 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6919
6920 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6921
6922 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6923
6924 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6925 use it.
6926 (log-view-diff-changeset): Same.
6927 (log-view-diff-common): Call backend command `previous-revision'
6928 to find out the previous revision, in both cases. Swap the
6929 variables `to' and `fr', so that `fr' usually refers to the
6930 earlier revision (Bug#14989).
6931
6932 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6933
6934 * ibuf-ext.el (ibuffer-filter-by-filename):
6935 Make it work with dired buffers too.
6936
6937 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6938
6939 * emacs-lisp/re-builder.el (reb-color-display-p):
6940 * files.el (save-buffers-kill-terminal):
6941 * net/browse-url.el (browse-url):
6942 * server.el (server-save-buffers-kill-terminal):
6943 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6944 Prefer nil to selected-frame for the first arg of frame-parameter.
6945
6946 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6947
6948 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6949
6950 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6951
6952 * minibuffer.el (completion--twq-all): Try and preserve each
6953 completion's case choice (bug#14907).
6954
6955 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6956
6957 * net/network-stream.el (open-network-stream): Mention the new
6958 :nogreeting parameter.
6959 (network-stream-open-starttls): Use the :nogreeting parameter
6960 (bug#14938).
6961
6962 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6963
6964 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6965 more natural than popping.
6966
6967 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6968 (shr-urlify): Highlight under mouse.
6969
6970 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6971
6972 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6973
6974 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6975
6976 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6977 buffer for output.
6978
6979 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6980 point-min==1. Fix search string. Fix parentheses missing.
6981
6982 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6983 assume point-min==1. Fix search string. Fix parentheses missing.
6984
6985 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6986
6987 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6988 buffer for output.
6989
6990 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6991
6992 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6993 initial frame is minibuffer-less. (Bug#14841)
6994
6995 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6996
6997 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6998 option.
6999
7000 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7001 (tramp-maybe-open-connection): Use it.
7002
7003 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7004
7005 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7006 minimal set of parameters passed when creating a frame, because
7007 the minibuffer status of a frame cannot be changed later.
7008
7009 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7010
7011 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7012 replace-regexp-in-string and inadvertent omissions in previous change.
7013 (todo-filter-items): Ensure only file names are comma-separated in
7014 name of filtered items buffer.
7015
7016 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7017
7018 * desktop.el: Optionally force offscreen frames back onscreen.
7019 (desktop-restoring-reuses-frames): New option.
7020 (desktop--compute-pos, desktop--move-onscreen): New functions.
7021 (desktop--make-frame): Use desktop--move-onscreen.
7022
7023 2013-07-27 Alan Mackenzie <acm@muc.de>
7024
7025 Fontify a Java generic method as a function.
7026 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7027 value to t.
7028
7029 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7030
7031 * calendar/todo-mode.el: Add command to rename todo files.
7032 (todo-rename-file): New command.
7033 (todo-key-bindings-t): Add key binding for it. Change the
7034 bindings of todo-filter-regexp-items(-multifile) to use `x'
7035 instead of `r', since the latter is better suited to the new
7036 renaming command.
7037
7038 2013-07-27 Alan Mackenzie <acm@muc.de>
7039
7040 Make Java try-with-resources statement parse properly.
7041 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7042 (c-block-stmt-1-2-key): New language constants/variables.
7043 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7044 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7045 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7046 with c-block-stmt-1-2-key.
7047
7048 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7049
7050 * desktop.el (desktop--make-frame): Apply most frame parameters after
7051 creating the frame to force (partially or totally) offscreen frames to
7052 be restored as such.
7053
7054 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7055
7056 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7057 (Bug#14948)
7058
7059 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7060
7061 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7062 `base' arg of backtrace-frame.
7063
7064 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7065
7066 * simple.el (list-processes): Doc fix.
7067
7068 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * desktop.el (desktop--select-frame):
7071 Try harder to reuse existing frames.
7072
7073 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7076 (edebug-eval): Use backtrace-eval.
7077 (edebug--display, edebug--recursive-edit): Don't let-bind the
7078 edebug-outer-* vars that keep track of variables we locally let-bind.
7079 (edebug-outside-excursion): Don't restore outside values of locally
7080 let-bound vars.
7081 (edebug--display): Use user-error.
7082 (cl-lexical-debug, cl-debug-env): Remove.
7083
7084 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7085
7086 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7087 are restored to be sure that they are visible before deleting any
7088 remaining ones.
7089
7090 2013-07-26 Matthias Meulien <orontee@gmail.com>
7091
7092 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7093 vc-print-root-log. (Bug#14948)
7094
7095 2013-07-26 Richard Stallman <rms@gnu.org>
7096
7097 Add aliases for encrypting mail.
7098 * epa.el (epa-mail-aliases): New option.
7099 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7100 Bind inhibit-read-only so read-only text doesn't ruin everything.
7101 (epa-mail-default-recipients): New subroutine broken out.
7102 Handle epa-mail-aliases.
7103
7104 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 Add support for lexical variables to the debugger's `e' command.
7107 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7108 vars, except for debugger-outer-match-data.
7109 (debugger-frame-number): Move check for "on a function call" from
7110 callers into it. Add `skip-base' argument.
7111 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7112 (debugger-env-macro): Only reset the state stored in non-variables,
7113 i.e. current-buffer and match-data.
7114 (debugger-eval-expression): Rewrite using backtrace-eval.
7115 * subr.el (internal--called-interactively-p--get-frame): Remove.
7116 (called-interactively-p):
7117 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7118 `base' arg of backtrace-frame instead.
7119
7120 2013-07-26 Glenn Morris <rgm@gnu.org>
7121
7122 * align.el (align-regexp): Doc fix. (Bug#14857)
7123 (align-region): Explicit error if subexpression missing/does not match.
7124
7125 * simple.el (global-visual-line-mode):
7126 Do not duplicate the mode lighter. (Bug#14858)
7127
7128 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7129
7130 * window.el (display-buffer): In display-buffer bind
7131 split-window-keep-point to t, bug#14829.
7132
7133 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7136 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7137 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7138 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7139 Change accordingly.
7140 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7141 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7142
7143 2013-07-25 Glenn Morris <rgm@gnu.org>
7144
7145 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7146
7147 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7148
7149 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7150 parameter to modify-frame-parameters if the value has not changed;
7151 this is a workaround for bug#14949.
7152 (desktop--make-frame): On cl-delete-if call, check parameter name,
7153 not full parameter.
7154
7155 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7156
7157 * vc/vc.el (vc-ignore): New function.
7158
7159 * vc/vc-svn.el (vc-svn-ignore): New function.
7160
7161 * vc/vc-hg.el (vc-hg-ignore): New function.
7162
7163 * vc/vc-git.el (vc-git-ignore): New function.
7164
7165 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7166 (vc-dir-ignore): New function.
7167
7168 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7169 (cvs-append-to-ignore): Move here from pcvs.el.
7170
7171 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7172
7173 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7174
7175 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7176
7177 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7178 (desktop-restore-frames): Warn when deleting an existing frame failed.
7179
7180 2013-07-24 Glenn Morris <rgm@gnu.org>
7181
7182 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7183
7184 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7185
7186 * filenotify.el (file-notify-supported-p):
7187 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7188 Remove functions.
7189
7190 * autorevert.el (auto-revert-use-notify):
7191 (auto-revert-notify-add-watch):
7192 * net/tramp.el (tramp-file-name-for-operation):
7193 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7194 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7195 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7196 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7197 Remove `file-notify-supported-p' entry.
7198
7199 2013-07-24 Glenn Morris <rgm@gnu.org>
7200
7201 * printing.el: Replace all uses of deleted ps-windows-system,
7202 ps-lp-system, ps-flatten-list with lpr- versions.
7203
7204 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7205
7206 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7207 checked with memq (bug#14935).
7208
7209 * files.el (revert-buffer-function): Use a non-nil default.
7210 (revert-buffer-preserve-modes): Declare var to
7211 provide access to the `preserve-modes' argument.
7212 (revert-buffer): Let-bind it.
7213 (revert-buffer--default): New function, extracted from revert-buffer.
7214
7215 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7216
7217 * lpr.el: Signal print errors more prominently.
7218 (print-region-function): Don't default to nil.
7219 (lpr-print-region): New function, extracted from print-region-1.
7220 Check lpr's return value and signal an error in case of problem.
7221 (print-region-1): Use it.
7222 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7223 versions instead.
7224 (ps-printer-name): Default to nil.
7225 (ps-printer-name-option): Default to lpr-printer-switch.
7226 (ps-print-region-function): Don't default to nil.
7227 (ps-postscript-code-directory): Simplify default.
7228 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7229 (ps-string-list, ps-eval-switch, ps-flatten-list)
7230 (ps-flatten-list-1): Remove.
7231 (ps-multibyte-buffer): Avoid setq.
7232 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7233 (print-region-function, ps-print-region-function): Don't set them here.
7234
7235 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7236
7237 * ido.el (ido-fractionp):
7238 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7239 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7240 (ido-max-directory-size, ido-max-dir-file-cache)
7241 (ido-decorations): Doc fix.
7242
7243 * ansi-color.el: Fix old URL.
7244
7245 2013-07-23 Michael R. Mauger <michael@mauger.com>
7246
7247 * progmodes/sql.el: Version 3.3
7248 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7249 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7250 (sql-interactive-remove-continuation-prompt): Rewrite, use
7251 functions above. Fix continuation prompt and complete output line
7252 handling.
7253 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7254 redirected output buffer.
7255 (sql-mode): Restore deleted code (Bug#13591).
7256
7257 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7258
7259 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7260
7261 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7262
7263 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7264
7265 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7266 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7267 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7268
7269 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7270
7271 * desktop.el (desktop-clear): Simplify; remove useless checks
7272 against invalid buffer names.
7273 (desktop-list*): Use cl-list*.
7274 (desktop-buffer-info, desktop-create-buffer): Simplify.
7275
7276 2013-07-23 Leo Liu <sdl.web@gmail.com>
7277
7278 * bookmark.el (bookmark-make-record): Restore NAME as a default
7279 value. (Bug#14933)
7280
7281 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7282
7283 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7284 extracted from autoload--insert-text.
7285 (autoload--insert-text): Remove.
7286 (autoload--print-cookie-text): New function, extracted from
7287 autoload--insert-cookie-text.
7288 (autoload--insert-cookie-text): Remove.
7289 (autoload-generate-file-autoloads): Adjust calls accordingly.
7290
7291 * winner.el (winner-hook-installed-p): Remove.
7292 (winner-mode): Simplify accordingly.
7293
7294 * subr.el (add-to-list): Fix compiler-macro when `append' is
7295 not constant. Don't use `cl-member' for the base case.
7296
7297 * progmodes/subword.el: Fix boundary case (bug#13758).
7298 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7299 own group.
7300 (subword-backward-regexp): Make it a constant.
7301 (subword-forward-internal): Don't treat a trailing capital as the
7302 beginning of a word.
7303
7304 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7305
7306 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7307 global value of tabulated-list-revert-hook (bug#14930).
7308
7309 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7310
7311 * desktop.el: Require 'cl-lib.
7312 (desktop-before-saving-frames-functions): New hook.
7313 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7314 for frames being saved. Rename from desktop--save-minibuffer-frames.
7315 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7316 Do not save frames with non-nil `desktop-dont-save' parameter.
7317 Filter out deleted frames.
7318 (desktop--find-frame): Use cl-find-if.
7319 (desktop--select-frame): Use cl-(first|second|third) to access values
7320 of desktop-mini.
7321 (desktop--make-frame): Use cl-delete-if.
7322 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7323 (desktop-restore-frames): Use cl-(first|second|third) to access values
7324 of desktop-mini. Look for visible frame at the end, not while
7325 restoring frames.
7326
7327 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7328 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7329 Use string-match-p, looking-at-p (bug#14927).
7330
7331 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7332
7333 * desktop.el (desktop-saved-frame-states):
7334 Rename from desktop--saved-states; all users changed.
7335 (desktop-save-frames): Rename from desktop--save-frames.
7336 Do not save state to desktop file.
7337 (desktop-save): Save desktop-saved-frame-states to desktop file
7338 and reset to nil.
7339 (desktop-restoring-frames-p): New function.
7340 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7341 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7342 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7343
7344 * desktop.el: Correctly restore iconified frames.
7345 (desktop--filter-iconified-position): New function.
7346 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7347
7348 2013-07-20 Glenn Morris <rgm@gnu.org>
7349
7350 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7351 Let `message' do the formatting.
7352 (def-gdb-preempt-display-buffer): Add explicit format.
7353
7354 * image-dired.el (image-dired-track-original-file):
7355 Use with-current-buffer.
7356 (image-dired-track-thumbnail): Use with-current-buffer.
7357 Avoid changing point of wrong window.
7358
7359 * image-dired.el (image-dired-track-original-file):
7360 Avoid changing point of wrong window. (Bug#14909)
7361
7362 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7363
7364 * progmodes/gdb-mi.el (gdb-done-or-error):
7365 Guard against "%" in gdb output. (Bug#14127)
7366
7367 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7368
7369 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7370 (Bug#14826)
7371
7372 * international/mule.el (coding-system-iso-2022-flags): Fix last
7373 change.
7374
7375 2013-07-20 Kenichi Handa <handa@gnu.org>
7376
7377 * international/mule.el (coding-system-iso-2022-flags):
7378 Add `8-bit-level-4'. (Bug#8522)
7379
7380 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7381
7382 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7383 (bug#14815).
7384
7385 * net/eww.el (eww-process-text-input): Allow inputting when the
7386 point is at the start of the line, as the properties aren't
7387 front-sticky.
7388
7389 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7390 degenerate widths.
7391
7392 2013-07-19 Richard Stallman <rms@gnu.org>
7393
7394 * epa.el (epa-popup-info-window): Doc fix.
7395
7396 * subr.el (split-string): New arg TRIM.
7397
7398 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7399
7400 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7401 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7402
7403 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7404
7405 * filenotify.el (file-notify--library): Rename from
7406 `file-notify-support'. Do not autoload. Adapt all uses.
7407 (file-notify-supported-p): New defun.
7408
7409 * autorevert.el (auto-revert-use-notify):
7410 Use `file-notify-supported-p' instead of `file-notify-support'.
7411 Adapt docstring.
7412 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7413
7414 * net/tramp.el (tramp-file-name-for-operation):
7415 Add `file-notify-supported-p'.
7416
7417 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7418 New defun.
7419 (tramp-sh-file-name-handler-alist): Add it as handler for
7420 `file-notify-supported-p '.
7421
7422 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7424 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7425 Add `ignore' as handler for `file-notify-*' functions.
7426
7427 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7428
7429 * simple.el (line-move-partial, line-move): Don't start vscroll or
7430 scroll-up if the current line is not taller than the window.
7431 (Bug#14881)
7432
7433 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7434
7435 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7436 highlight question marks in the method names as strings.
7437 (ruby-block-beg-keywords): Inline.
7438 (ruby-font-lock-keyword-beg-re): Extract from
7439 `ruby-font-lock-keywords'.
7440
7441 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7442
7443 * frame.el (blink-cursor-blinks): New defcustom.
7444 (blink-cursor-blinks-done): New defvar.
7445 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7446 (blink-cursor-timer-function): Check if number of blinks has been
7447 done on X and NS.
7448 (blink-cursor-suspend, blink-cursor-check): New defuns.
7449
7450 2013-07-15 Glenn Morris <rgm@gnu.org>
7451
7452 * edmacro.el (edmacro-format-keys): Fix previous change.
7453
7454 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7455
7456 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7457 The hack didn't work outside English locales anyway.
7458
7459 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7460
7461 * simple.el (define-alternatives): Rename from alternatives-define,
7462 per RMS' suggestion.
7463
7464 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7465
7466 * desktop.el (desktop-restore-frames): Change default to t.
7467 (desktop-restore-in-current-display): Now offer more options.
7468 (desktop-restoring-reuses-frames): New customization option.
7469 (desktop--saved-states): Doc fix.
7470 (desktop-filter-parameters-alist): New variable, renamed and expanded
7471 from desktop--excluded-frame-parameters.
7472 (desktop--target-display): New variable.
7473 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7474 (desktop--filter-tty*, desktop--filter-*-color)
7475 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7476 (desktop--filter-save-desktop-parm)
7477 (desktop-restore-in-original-display-p): New functions.
7478 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7479 (desktop--save-minibuffer-frames): New function, inspired by a similar
7480 function from Martin Rudalics.
7481 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7482 (desktop--restore-in-this-display-p): Remove.
7483 (desktop--find-frame): Rename from desktop--find-frame-in-display
7484 and add predicate argument.
7485 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7486 (desktop--reuse-list): New variable.
7487 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7488 New functions.
7489 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7490
7491 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7492
7493 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7494
7495 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7496
7497 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7498 Highlight conversion methods on Kernel.
7499
7500 2013-07-13 Alan Mackenzie <acm@muc.de>
7501
7502 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7503 and comment it out. This out-commenting enables certain C++
7504 declarations to be parsed correctly.
7505
7506 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7507
7508 * international/mule.el (define-coding-system): Doc fix.
7509
7510 * simple.el (default-font-height): Don't call font-info if the
7511 frame's default font didn't change since the frame was created.
7512 (Bug#14838)
7513
7514 2013-07-13 Leo Liu <sdl.web@gmail.com>
7515
7516 * ido.el (ido-read-file-name): Guard against non-symbol value.
7517
7518 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7519
7520 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7521 in nested defuns.
7522
7523 2013-07-13 Leo Liu <sdl.web@gmail.com>
7524
7525 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7526 ido-set-matches call. (Bug#6852)
7527
7528 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7529
7530 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7531 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7532 Ruby 2.0.
7533 (ruby-font-lock-keywords): Distinguish calls to functions with
7534 module-like names from module references. Highlight character
7535 literals.
7536
7537 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7538
7539 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7540 (gdb-send): Handle continued commands. (Bug#14847)
7541
7542 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * desktop.el (desktop--v2s): Remove unused local variable.
7545 (desktop-save-buffer): Make defvar-local; adjust docstring.
7546 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7547 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7548
7549 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7550
7551 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7552
7553 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7554
7555 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7556 (Bug#14842)
7557
7558 2013-07-12 Glenn Morris <rgm@gnu.org>
7559
7560 * doc-view.el: Require cl-lib at runtime too.
7561 (doc-view-remove-if): Remove.
7562 (doc-view-search-next-match, doc-view-search-previous-match):
7563 Use cl-remove-if.
7564
7565 * edmacro.el: Require cl-lib at runtime too.
7566 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7567 (edmacro-mismatch, edmacro-subseq): Remove.
7568
7569 * shadowfile.el: Require cl-lib.
7570 (shadow-remove-if): Remove.
7571 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7572 Use cl-remove-if.
7573
7574 * wid-edit.el: Require cl-lib.
7575 (widget-choose): Use cl-remove-if.
7576 (widget-remove-if): Remove.
7577
7578 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7579 (ebrowse-delete-if-not): Remove.
7580 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7581 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7582 Use cl-delete-if-not.
7583
7584 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7585
7586 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7587 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7588
7589 2013-07-12 Leo Liu <sdl.web@gmail.com>
7590
7591 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7592
7593 2013-07-11 Glenn Morris <rgm@gnu.org>
7594
7595 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7596 (edebug-gensym-index, edebug-gensym):
7597 Remove reimplementation of cl-gensym.
7598 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7599
7600 * thumbs.el: Require cl-lib at run-time too.
7601 (thumbs-gensym-counter, thumbs-gensym):
7602 Remove reimplementation of cl-gensym.
7603 (thumbs-temp-file): Use cl-gensym.
7604
7605 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7606 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7607 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7608 (ert--union, ert--gensym-counter, ert--gensym-counter)
7609 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7610 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7611 (ert-make-test-unbound, ert--expand-should-1)
7612 (ert--expand-should, ert--should-error-handle-error)
7613 (should-error, ert--explain-equal-rec)
7614 (ert--plist-difference-explanation, ert-select-tests)
7615 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7616 Use cl-lib functions rather than reimplementations.
7617
7618 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * net/tramp.el (tramp-methods): Extend docstring.
7621 (tramp-connection-timeout): New defcustom.
7622 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7623 (with-tramp-progress-reporter): Simplify.
7624 (tramp-process-actions): Improve messages.
7625
7626 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7627 * net/tramp-sh.el (tramp-maybe-open-connection):
7628 Use `tramp-connection-timeout'.
7629 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7630 (Bug#14808)
7631
7632 2013-07-11 Leo Liu <sdl.web@gmail.com>
7633
7634 * ido.el (ido-read-file-name): Conform to the requirements of
7635 read-file-name. (Bug#11861)
7636 (ido-read-directory-name): Conform to the requirements of
7637 read-directory-name.
7638
7639 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7640
7641 * subr.el (delay-warning): New function.
7642
7643 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7644
7645 * simple.el (default-line-height): New function.
7646 (line-move-partial, line-move): Use it instead of computing the
7647 line height inline.
7648 (line-move-partial): Always compute ROWH. If the last line is
7649 partially-visible, but its text is completely visible, allow
7650 cursor to enter such a partially-visible line.
7651
7652 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7653
7654 Improve error messages. (Bug#14808)
7655
7656 * net/tramp.el (tramp-current-connection): New defvar, moved from
7657 tramp-sh.el.
7658 (tramp-message-show-progress-reporter-message): Remove, not
7659 needed anymore.
7660 (tramp-error-with-buffer): Show message in minibuffer.
7661 Discard input before waiting. Reset connection timestamp.
7662 (with-tramp-progress-reporter): Improve messages.
7663 (tramp-process-actions): Use progress reporter. Delete process in
7664 case of error. Improve messages.
7665
7666 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7667 Call `tramp-error-with-buffer' with vector and buffer.
7668 (tramp-current-connection): Remove.
7669 (tramp-maybe-open-connection): The car of
7670 `tramp-current-connection' are the first 3 slots of the vector.
7671
7672 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7673
7674 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7675 inside continued strings.
7676
7677 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7678
7679 Timestamp fixes for undo (Bug#14824).
7680 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7681
7682 2013-07-10 Leo Liu <sdl.web@gmail.com>
7683
7684 * files.el (require-final-newline): Allow safe local value.
7685 (Bug#14834)
7686
7687 2013-07-09 Leo Liu <sdl.web@gmail.com>
7688
7689 * ido.el (ido-read-directory-name): Handle fallback.
7690 (ido-read-file-name): Update DIR to ido-current-directory.
7691 (Bug#1516)
7692 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7693
7694 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7695
7696 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7697 "autoload". Remove "warn lower camel case" section, previously
7698 commented out. Highlight negation char. Do not highlight the
7699 target in singleton method definitions.
7700
7701 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * faces.el (tty-setup-hook): Declare the hook.
7704
7705 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7706 and detect when a guard/pred depends on local vars (bug#14773).
7707 (pcase--u1): Adjust caller.
7708
7709 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7710
7711 * simple.el (line-move-partial, line-move): Account for
7712 line-spacing.
7713 (line-move-partial): Avoid setting vscroll when the last
7714 partially-visible line in window is of default height.
7715
7716 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7717
7718 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7719 been used a while.
7720
7721 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7722
7723 * subr.el (read-quoted-char): Remove unused local variable `char'.
7724
7725 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7726
7727 * ediff.el (ediff-version): Version update.
7728 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7729 (ediff-merge-with-ancestor-command, ediff-directories-command)
7730 (ediff-directories3-command, ediff-merge-directories-command)
7731 (ediff-merge-directories-with-ancestor-command): New functions.
7732 All are command-line interfaces to ediff: to facilitate calling
7733 Emacs with the appropriate ediff functions invoked.
7734
7735 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7736 (viper-save-kill-buffer): Check if buffer is modified.
7737
7738 * viper.el (viper-version): Version update.
7739 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7740
7741 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7744 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7745 (viper-intercept-ESC-key): Simplify.
7746 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7747 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7748 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7749 (viper-setup-ESC-to-escape): New functions.
7750 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7751 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7752
7753 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7754
7755 * simple.el (default-font-height, window-screen-lines):
7756 New functions.
7757 (line-move, line-move-partial): Use them instead of
7758 frame-char-height and window-text-height. This makes scrolling
7759 text smoother when the buffer's default face uses a font that is
7760 different from the frame's default font.
7761
7762 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7763
7764 * files.el (write-file): Do not display confirm dialog for NS,
7765 it does its own dialog, which can't be canceled (Bug#14578).
7766
7767 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7768
7769 * simple.el (line-move-partial): Adjust the row returned by
7770 posn-at-point for the current window-vscroll. (Bug#14567)
7771
7772 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7773
7774 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7775 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7776 spaces.
7777
7778 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7779
7780 * window.el (window-state-put-stale-windows): New variable.
7781 (window--state-put-2): Save list of windows without matching buffer.
7782 (window-state-put): Remove "bufferless" windows if possible.
7783
7784 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7785
7786 * simple.el (alternatives-define): Remove leftover :group keyword.
7787 Tweak docstring.
7788
7789 2013-07-06 Leo Liu <sdl.web@gmail.com>
7790
7791 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7792 (ido-enable-virtual-buffers): New variable.
7793 (ido-buffer-internal, ido-toggle-virtual-buffers)
7794 (ido-make-buffer-list): Use it.
7795 (ido-exhibit): Support turning on and off virtual buffers
7796 automatically.
7797
7798 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7799
7800 * simple.el (alternatives-define): New macro.
7801
7802 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * subr.el (read-quoted-char): Use read-key.
7805 (sit-for): Let read-event decode tty input (bug#14782).
7806
7807 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7808
7809 * calendar/todo-mode.el: Add handling of file deletion, both by
7810 mode command and externally. Fix various related bugs.
7811 Clarify Commentary and improve some documentation strings and code.
7812 (todo-delete-file): New command.
7813 (todo-check-file): New function.
7814 (todo-show): Handle external deletion of the file we're trying to
7815 show (bug#14688). Replace called-interactively-p by an optional
7816 prefix argument to avoid problematic interaction with catch form
7817 when byte compiled (bug#14702).
7818 (todo-quit): Handle external deletion of the archive's todo file.
7819 Make sure the buffer that was visiting the archive file is still
7820 live before trying to bury it.
7821 (todo-category-completions): Handle external deletion of any
7822 category completion files.
7823 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7824 of todo files, in case of external deletion.
7825 (todo-add-file): Replace unnecessary setq by let-binding.
7826 (todo-find-archive): Check whether there are any archives.
7827 Replace unnecessary setq by let-binding.
7828 (todo-archive-done-item): Use find-file-noselect to get the
7829 archive buffer whether or not the archive already exists.
7830 Remove superfluous code. Use file size instead of buffer-file-name to
7831 check if the archive is new; if it is, update list of archives.
7832 (todo-default-todo-file): Allow nil to be a valid value for when
7833 there are no todo files.
7834 (todo-reevaluate-default-file-defcustom): Use corrected definition
7835 of todo-default-todo-file.
7836 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7837 (todo-delete-category, todo-show-categories-table)
7838 (todo-category-number): Clarify comment.
7839 (todo-filter-items): Clarify documentation string.
7840 (todo-show-current-file, todo-display-as-todo-file)
7841 (todo-reset-and-enable-done-separator): Tweak documentation string.
7842 (todo-done-separator): Make separator length window-width, since
7843 bug#2749 is now fixed.
7844
7845 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7848 Support both "gvfs-monitor-dir" and "inotifywait".
7849 (tramp-sh-file-inotifywait-process-filter): Rename from
7850 `tramp-sh-file-notify-process-filter'.
7851 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7852 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7853
7854 2013-07-05 Leo Liu <sdl.web@gmail.com>
7855
7856 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7857
7858 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7859
7860 * frame.el (display-pixel-height, display-pixel-width)
7861 (display-mm-height, display-mm-width): Mention behavior on
7862 multi-monitor setups in docstrings.
7863 (w32-display-monitor-attributes-list): Declare function.
7864 (display-monitor-attributes-list): Use it.
7865
7866 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7867
7868 * filenotify.el: New package.
7869
7870 * autorevert.el (top): Require filenotify.el.
7871 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7872 instead.
7873 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7874 (auto-revert-notify-handler): Use `file-notify-*' functions.
7875
7876 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7877
7878 * net/tramp.el (tramp-file-name-for-operation):
7879 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7880
7881 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7882 for `file-notify-add-watch' and `file-notify-rm-watch'.
7883 (tramp-process-sentinel): Improve trace.
7884 (tramp-sh-handle-file-notify-add-watch)
7885 (tramp-sh-file-notify-process-filter)
7886 (tramp-sh-handle-file-notify-rm-watch)
7887 (tramp-get-remote-inotifywait): New defuns.
7888
7889 2013-07-03 Juri Linkov <juri@jurta.org>
7890
7891 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7892 call of `occur-read-primary-args' to interactive spec.
7893
7894 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7895 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7896
7897 2013-07-03 Matthias Meulien <orontee@gmail.com>
7898
7899 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7900 `Buffer-menu-multi-occur'. Add it to the menu.
7901 (Buffer-menu-mode): Document it in docstring.
7902 (Buffer-menu-multi-occur): New command. (Bug#14673)
7903
7904 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7905
7906 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7907 keywords and built-ins.
7908
7909 2013-07-03 Glenn Morris <rgm@gnu.org>
7910
7911 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7912
7913 Make info-xref checks case-sensitive by default
7914 * info.el (Info-find-node, Info-find-in-tag-table)
7915 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7916 Add option for exact case matching of nodes.
7917 * info-xref.el (info-xref): New custom group.
7918 (info-xref-case-fold): New option.
7919 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7920
7921 2013-07-03 Leo Liu <sdl.web@gmail.com>
7922
7923 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7924
7925 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7926
7927 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7928 middle of block statement initially, lower the depth. Remove
7929 FIXME comment, not longer valid. Remove middle of block statement
7930 detection, no need to do that anymore since we've been using
7931 `ruby-parse-region' here.
7932
7933 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7934
7935 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7936
7937 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7938
7939 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7940
7941 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7942
7943 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7944 (desktop-restore-in-current-display): New customization option.
7945 (desktop--excluded-frame-parameters): Add `font'.
7946 (desktop--save-frames): Rename from desktop--save-windows.
7947 (desktop--restore-in-this-display-p): New function.
7948 (desktop--make-full-frame): Remove unwanted width/height from
7949 full(width|height) frames.
7950 (desktop--restore-frames): Rename from desktop--restore-windows.
7951 Obey desktop-restore-current-display. Do not delete old frames or
7952 select a new frame unless we were able to restore at least one frame.
7953
7954 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7955
7956 * files.el (find-file-noselect): Simplify conditional expression.
7957
7958 * textmodes/remember.el (remember-append-to-file):
7959 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7960
7961 Add `remember-notes' function to store random notes across Emacs
7962 restarts.
7963 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7964 notes buffer (if any).
7965 (remember-notes): New command.
7966 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7967 New defcustoms for the `remember-notes' function.
7968 (remember-notes-save-and-bury-buffer): New command.
7969 (remember-notes-mode-map): New variable.
7970 (remember-mode): New minor mode.
7971 (remember-notes--kill-buffer-query): New function.
7972 * startup.el (initial-buffer-choice): Add notes to custom type.
7973
7974 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7975
7976 * bindings.el (right-char, left-char): Don't call sit-for, this is
7977 no longer needed. Use arithmetic comparison only for numerical
7978 arguments.
7979
7980 * international/mule-cmds.el (select-safe-coding-system):
7981 Handle the case of FROM being a string correctly. (Bug#14755)
7982
7983 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7984
7985 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7986 progression on degenerate tables.
7987 (shr-rescale-image): ImageMagick animated images currently don't work.
7988
7989 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7990
7991 Some fixes and improvements for desktop frame restoration.
7992 It is still experimental and disabled by default.
7993 * desktop.el (desktop--save-windows): Put the selected frame at
7994 the head of the list.
7995 (desktop--make-full-frame): New function.
7996 (desktop--restore-windows): Try to re-select the frame that was
7997 selected upon saving. Do not abort if some frames fail to restore,
7998 just show an error message and continue. Set up maximized frames
7999 so they have default non-maximized dimensions.
8000
8001 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8002
8003 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8004 Don't start heredoc inside a string or comment.
8005
8006 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8007
8008 * bindings.el (visual-order-cursor-movement): New defcustom.
8009 (right-char, left-char): Provide visual-order cursor motion by
8010 calling move-point-visually. Update the doc strings.
8011
8012 2013-06-28 Kenichi Handa <handa@gnu.org>
8013
8014 * international/mule.el (define-coding-system): New coding system
8015 properties :inhibit-null-byte-detection,
8016 :inhibit-iso-escape-detection, and :prefer-utf-8.
8017 (set-buffer-file-coding-system): If :charset-list property of
8018 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8019 appropriate for setting.
8020
8021 * international/mule-cmds.el (select-safe-coding-system):
8022 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8023 multibyte characters, return utf-8 (or one of its siblings).
8024
8025 * international/mule-conf.el (prefer-utf-8): New coding system.
8026 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8027 files.
8028
8029 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8030
8031 * net/shr.el (shr-render-region): New function.
8032
8033 * net/eww.el: Autoload `eww-browse-url'.
8034
8035 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8036
8037 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8038 Adapt to `package-desc-version' being a list.
8039 Use `package--ac-desc-version' to retrieve version from a package
8040 archive element.
8041
8042 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8043
8044 New experimental feature to save&restore window and frame setup.
8045 * desktop.el (desktop-save-windows): New defcustom.
8046 (desktop--saved-states): New var.
8047 (desktop--excluded-frame-parameters): New defconst.
8048 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8049 (desktop--restore-windows, desktop--save-windows): New functions.
8050 (desktop-save): Call `desktop--save-windows'.
8051 (desktop-read): Call `desktop--restore-windows'.
8052
8053 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8054
8055 * net/shr.el (add-face-text-property): Remove compat definition.
8056
8057 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8058
8059 * info.el (Info-try-follow-nearest-node): Move search for footnote
8060 above search for node name to prevent missing a footnote (bug#14717).
8061
8062 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8063
8064 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8065
8066 2013-06-27 Leo Liu <sdl.web@gmail.com>
8067
8068 * net/eww.el (eww-read-bookmarks): Check file size.
8069
8070 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8073 advice--pending if newdef is nil or an autoload (bug#13820).
8074 (advice-mapc): New function.
8075
8076 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8077
8078 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8079 probably.
8080 (eww-mode-map): Add a menu bar.
8081 (eww-add-bookmark): New command.
8082 (eww-bookmark-mode): New mode and commands.
8083 (eww-add-bookmark): Remove newlines from the title.
8084 (eww-bookmark-browse): Don't bug out if it's the only window.
8085
8086 2013-06-26 Glenn Morris <rgm@gnu.org>
8087
8088 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8089 (hfy-size): Handle ttys. (Bug#14668)
8090
8091 * info-xref.el: Update for Texinfo 5 change in *note format.
8092 (info-xref-node-re, info-xref-note-re): New constants.
8093 (info-xref-check-buffer): Use info-xref-note-re.
8094
8095 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8098
8099 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8100 nil terminate the loop (bug#14718).
8101
8102 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8103
8104 * net/eww.el: Rework history traversal. When going forward/back,
8105 put these actions into the history, too, so that they can be
8106 replayed.
8107 (eww-render): Move the history reset to the correct buffer.
8108
8109 2013-06-25 Juri Linkov <juri@jurta.org>
8110
8111 * files-x.el (modify-dir-local-variable): Change the header comment
8112 in the file with directory local variables. (Bug#14692)
8113
8114 * files-x.el (read-file-local-variable-value): Add `default'.
8115 (Bug#14710)
8116
8117 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8118
8119 * net/eww.el (eww-make-unique-file-name): Create a unique file
8120 name before saving to entering `y' accidentally asynchronously.
8121
8122 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8123
8124 * net/eww.el (eww-download): New command and keystroke.
8125
8126 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8127
8128 * net/eww.el (eww-copy-page-url): Change name of command.
8129
8130 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8131 be more consistent with Info and dired.
8132
8133 * net/eww.el (eww-mode-map): Ditto.
8134
8135 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8138 packages from archives.
8139 (package-archive-contents): Change format; include obsolete packages.
8140 (package-desc): Use `dir' to mark builtin packages.
8141 (package--from-builtin): Set the `dir' field to `builtin'.
8142 (generated-autoload-file, version-control): Declare.
8143 (package-compute-transaction): Change first arg and return value to be
8144 lists of package-descs. Adjust to new package-archive-contents format.
8145 (package--add-to-archive-contents): Adjust to new
8146 package-archive-contents format.
8147 (package-download-transaction): Arg is now a list of package-descs.
8148 (package-install): If `pkg' is a package name, pass it as
8149 a requirement, so it is subject to the usual (e.g. disabled) checks.
8150 (describe-package): Accept package-desc as well.
8151 (describe-package-1): Describe a specific package-desc. Add links to
8152 other package-descs for the same package name.
8153 (package-menu-describe-package): Pass the actual package-desc.
8154 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8155 works correctly.
8156 (package-desc-status): New function.
8157 (package-menu--refresh): New function, extracted
8158 from package-menu--generate.
8159 (package-menu--generate): Use it.
8160 (package-delete): Update package-alist.
8161 (package-menu-execute): Don't call package-initialize.
8162
8163 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8164 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8165 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8166 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8167 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8168 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8169
8170 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8171
8172 * window.el (window--state-get-1): Workaround for bug#14527.
8173 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8174
8175 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8176
8177 * net/eww.el (eww-back-url): Implement the history by stashing all
8178 the data into a list.
8179 (eww-forward-url): Allow going forward in the history, too.
8180
8181 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8182
8183 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8184 for values and use read--expression for expressions (bug#14710).
8185 (read-file-local-variable): Avoid setq.
8186 (read-file-local-variable-mode): Use minor-mode-list.
8187
8188 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8189
8190 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8191 for DOI URLs.
8192
8193 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8194
8195 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8196 Update imenu-support when dialect changes.
8197
8198 2013-06-25 Leo Liu <sdl.web@gmail.com>
8199
8200 * ido.el (ido-read-internal): Allow forward slash on windows.
8201
8202 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8203
8204 * net/eww.el (eww): Start of strings is \\`, not ^.
8205
8206 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8207
8208 * net/shr.el (shr-browse-url): Fix interactive spec.
8209
8210 * net/eww.el (eww): Add a trailing slash to domain names.
8211
8212 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8213
8214 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8215
8216 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8217
8218 * net/shr.el (shr-browse-url): Use an external browser if given a
8219 prefix.
8220
8221 * net/eww.el (eww-external-browser): Move to shr.
8222
8223 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8224
8225 * net/eww.el (eww): Work more correctly for file: URLs.
8226 (eww-detect-charset): Allow quoted charsets.
8227 (eww-yank-page-url): New command and keystroke.
8228
8229 2013-06-24 Daiki Ueno <ueno@gnu.org>
8230
8231 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8232 file name of gpg executable.
8233 (epg-context-program): New function.
8234 (epg-context-home-directory): New function.
8235 (epg-context-set-program): New function.
8236 (epg-context-set-home-directory): New function.
8237 (epg--start): Use `epg-context-program' instead of
8238 'epg-gpg-program'.
8239 (epg--list-keys-1): Likewise.
8240
8241 2013-06-24 Leo Liu <sdl.web@gmail.com>
8242
8243 * ido.el (ido-read-internal): Fix bug#14620.
8244
8245 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * faces.el (face-documentation): Simplify.
8248 (read-face-attribute, tty-find-type, x-resolve-font-name):
8249 Use `string-match-p'.
8250 (list-faces-display): Use `string-match-p'. Simplify.
8251 (face-spec-recalc): Check face to avoid face alias loops.
8252 (read-color): Use `string-match-p' and non-capturing parenthesis.
8253
8254 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8255
8256 * net/shr.el (shr-rescale-image): Use the new
8257 :max-width/:max-height functionality.
8258
8259 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8260
8261 * net/eww.el (eww-search-prefix): New variable.
8262 (eww): Use it.
8263 (eww-external-browser): New variable.
8264 (eww-mode-map): New keystroke.
8265 (eww-browse-with-external-browser): New command.
8266
8267 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8268
8269 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8270
8271 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8272 Don't skip aligning the next header field when padding is 0;
8273 otherwise, field width is not respected unless the title is as
8274 wide as the field.
8275
8276 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * emacs-lisp/package.el (package-el-version): Remove.
8279 (package-process-define-package): Fix inf-loop.
8280 (package-install): Allow symbols as arguments again.
8281
8282 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8283
8284 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8285 add some more keyword-like methods.
8286 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8287
8288 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8289
8290 * bs.el (bs-buffer-show-mark): Make defvar-local.
8291 (bs-mode): Use setq-local.
8292
8293 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8294 (emacs-lock--try-unlocking): Make defvar-local.
8295
8296 2013-06-22 Glenn Morris <rgm@gnu.org>
8297
8298 * play/cookie1.el (cookie-apropos): Minor simplification.
8299
8300 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8301
8302 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8303
8304 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8305 `regexp-opt', it breaks the build during dumping.
8306
8307 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8308
8309 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8310 Highlight keyword-like methods on Kernel and Module with
8311 font-lock-builtin-face.
8312 (auto-mode-alist): Consolidate different entries into one regexp
8313 and add more *file-s.
8314
8315 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8316
8317 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8318
8319 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8320 (diary-entry): Use it in the action of this button type instead of
8321 diary-goto-entry.
8322
8323 * calendar/todo-mode.el: New version.
8324 (todo-add-category): Append new category to end of file and give
8325 it the highest number, instead of putting it at the beginning and
8326 giving it 0. Incorporate noninteractive functionality.
8327 (todo-forward-category): Adapt to 1-based category numbering.
8328 Allow skipping over archived categories.
8329 (todo-backward-category): Derive from todo-forward-category.
8330 (todo-backward-item, todo-forward-item): Make noninteractive and
8331 delegate interactive part to new commands. Make sensitive to done items.
8332 (todo-categories): Make value an alist of category names and
8333 vectors of item counts.
8334 (todo-category-beg): Make a defconst.
8335 (todo-category-number): Use 1 instead of 0 as initial value.
8336 (todo-category-select): Make sensitive to overlays, optional item
8337 highlighting and done items.
8338 (todo-delete-item): Make sensitive to overlays and marked and done items.
8339 (todo-edit-item): Make sensitive to overlays and editing of
8340 date/time header optional. Add format checks.
8341 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8342 no-op if point is not on an item. Advertise using todo-edit-quit.
8343 (todo-edit-mode): Make sensitive to new format, font-locking, and
8344 multiple todo files.
8345 (todo-insert-item, todo-insert-item-here): Derive from
8346 todo-basic-insert-item and extend functionality.
8347 (todo-item-end, todo-item-start): Make sensitive to done items.
8348 (todo-item-string): Don't return text properties. Restore point.
8349 (todo-jump-to-category): Make sensitive to multiple todo files and
8350 todo archives. Use extended category completion.
8351 (todo-lower-item, todo-raise-item): Rename to *-priority and
8352 derive from todo-set-item-priority.
8353 (todo-mode): Derive from special-mode. Make sensitive to new
8354 format, font-locking and multiple todo files. Make read-only.
8355 (todo-mode-map): Don't suppress digit keys, so they can supply
8356 prefix arguments. Add many new key bindings.
8357 (todo-prefix): Insert as an overlay instead of file text.
8358 Change semantics from diary date expression to purely visual mark.
8359 (todo-print): Rename to todo-print-buffer. Make buffer display
8360 features printable. Remove option to restrict number of items
8361 printed. Add option to print to file.
8362 (todo-print-function): Rename to todo-print-buffer-function.
8363 (todo-quit): Extend to handle exiting new todo modes.
8364 (todo-remove-item): Make sensitive to overlays.
8365 (todo-save): Extend to buffers of filtered items.
8366 (todo-show): Make sensitive to done items, multiple todo files and
8367 new todo modes. Offer to convert legacy todo file before creating
8368 first new todo file.
8369 (todo-show-priorities): Rename to todo-top-priorities.
8370 Change semantics of value 0.
8371 (todo-top-priorities): Rename to todo-filter-top-priorities,
8372 derive from todo-filter-items and extend functionality.
8373 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8374 and extend functionality to other types of filtered items.
8375 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8376 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8377 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8378 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8379 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8380 (todo-edit-mode-hook, todo-entry-prefix-function)
8381 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8382 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8383 (todo-initials, todo-insert-threshold, todo-item-string-start)
8384 (todo-line-string, todo-menu, todo-mode-hook)
8385 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8386 (todo-print-priorities, todo-remove-separator)
8387 (todo-save-top-priorities-too, todo-string-count-lines)
8388 (todo-string-multiline-p, todo-time-string-format)
8389 (todo-tmp-buffer-name): Remove.
8390 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8391 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8392 (todo-edit-category-diary-inclusion)
8393 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8394 (todo-edit-file, todo-edit-item-date-day)
8395 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8396 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8397 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8398 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8399 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8400 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8401 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8402 (todo-filter-top-priorities-multifile, todo-find-archive)
8403 (todo-find-filtered-items-file, todo-go-to-source-item)
8404 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8405 (todo-jump-to-archive-category, todo-lower-category)
8406 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8407 (todo-move-category, todo-move-item, todo-next-button)
8408 (todo-next-item, todo-padded-string, todo-powerset)
8409 (todo-previous-button, todo-previous-item)
8410 (todo-print-buffer-to-file, todo-raise-category)
8411 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8412 (todo-set-category-number, todo-set-item-priority)
8413 (todo-set-top-priorities-in-category)
8414 (todo-set-top-priorities-in-file, todo-show-categories-table)
8415 (todo-sort-categories-alphabetically-or-numerically)
8416 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8417 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8418 (todo-toggle-item-header, todo-toggle-item-highlighting)
8419 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8420 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8421 (todo-unarchive-items, todo-unmark-category): New commands.
8422 (todo-absolute-file-name, todo-add-to-buffer-list)
8423 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8424 (todo-basic-insert-item, todo-category-completions)
8425 (todo-category-number, todo-category-string-matcher-1)
8426 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8427 (todo-check-format, todo-clear-matches)
8428 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8429 (todo-current-category, todo-date-string-matcher)
8430 (todo-define-insertion-command, todo-diary-expired-matcher)
8431 (todo-diary-goto-entry, todo-diary-item-p)
8432 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8433 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8434 (todo-done-item-section-p, todo-done-separator)
8435 (todo-done-string-matcher, todo-files, todo-filter-items)
8436 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8437 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8438 (todo-insert-category-line, todo-insert-item-from-calendar)
8439 (todo-insert-sort-button, todo-insert-with-overlays)
8440 (todo-insertion-command-name, todo-insertion-key-bindings)
8441 (todo-label-to-key, todo-longest-category-name-length)
8442 (todo-make-categories-list, todo-mode-external-set)
8443 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8444 (todo-modes-set-3, todo-multiple-filter-files)
8445 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8446 (todo-read-category, todo-read-date, todo-read-dayname)
8447 (todo-read-file-name, todo-read-time)
8448 (todo-reevaluate-category-completions-files-defcustom)
8449 (todo-reevaluate-default-file-defcustom)
8450 (todo-reevaluate-filelist-defcustoms)
8451 (todo-reevaluate-filter-files-defcustom)
8452 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8453 (todo-reset-done-separator, todo-reset-done-separator-string)
8454 (todo-reset-done-string, todo-reset-global-current-todo-file)
8455 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8456 (todo-reset-prefix, todo-set-categories)
8457 (todo-set-date-from-calendar, todo-set-show-current-file)
8458 (todo-set-top-priorities, todo-short-file-name)
8459 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8460 (todo-total-item-counts, todo-update-buffer-list)
8461 (todo-update-categories-display, todo-update-categories-sexp)
8462 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8463 New functions.
8464 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8465 New major modes.
8466 (todo-categories, todo-display, todo-edit, todo-faces)
8467 (todo-filtered): New defgroups.
8468 (todo-archived-only, todo-button, todo-category-string, todo-date)
8469 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8470 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8471 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8472 (todo-add-item-if-new-category, todo-always-add-time-string)
8473 (todo-categories-align, todo-categories-archived-label)
8474 (todo-categories-category-label, todo-categories-diary-label)
8475 (todo-categories-done-label, todo-categories-number-separator)
8476 (todo-categories-todo-label, todo-categories-totals-label)
8477 (todo-category-completions-files, todo-completion-ignore-case)
8478 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8479 (todo-done-separator-string, todo-done-string)
8480 (todo-files-function, todo-filter-done-items, todo-filter-files)
8481 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8482 (todo-initial-category, todo-initial-file, todo-item-mark)
8483 (todo-legacy-date-time-regexp, todo-mode-line-function)
8484 (todo-nondiary-marker, todo-number-prefix)
8485 (todo-print-buffer-function, todo-show-current-file)
8486 (todo-show-done-only, todo-show-first, todo-show-with-done)
8487 (todo-skip-archived-categories, todo-top-priorities-overrides)
8488 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8489 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8490 New defcustoms.
8491 (todo-category-done, todo-date-pattern, todo-date-string-start)
8492 (todo-diary-items-buffer, todo-done-string-start)
8493 (todo-filtered-items-buffer, todo-item-start)
8494 (todo-month-abbrev-array, todo-month-name-array)
8495 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8496 (todo-top-priorities-buffer): New defconsts.
8497 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8498 (todo-categories-with-marks, todo-category-string-face)
8499 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8500 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8501 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8502 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8503 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8504 (todo-font-lock-keywords, todo-global-current-todo-file)
8505 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8506 (todo-insertion-commands-args)
8507 (todo-insertion-commands-args-genlist)
8508 (todo-insertion-commands-names, todo-insertion-map)
8509 (todo-key-bindings-t, todo-key-bindings-t+a)
8510 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8511 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8512 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8513 (todo-visited): New variables.
8514
8515 2013-06-21 Glenn Morris <rgm@gnu.org>
8516
8517 * play/cookie1.el (cookie-apropos): Add optional display argument.
8518 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8519 (psychoanalyze-pinhead): Use cookie-doctor.
8520
8521 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8522
8523 * emacs-lisp/package.el (tar-get-file-descriptor)
8524 (tar--extract): Declare.
8525
8526 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8527
8528 Extend flymake's warning predicate to be a function (bug#14217).
8529 * progmodes/flymake.el (flymake-warning-predicate): New.
8530 (flymake-parse-line): Use it.
8531 (flymake-warning-re): Make obsolete alias to
8532 `flymake-warning-predicate'.
8533
8534 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8537 (package-obsolete-list): Remove.
8538 (package-activate): Remove min-version argument. Add `force' argument.
8539 Adjust to new package-alist format.
8540 (package-mark-obsolete): Remove.
8541 (package-unpack): Force reload of the package's autoloads.
8542 (package-installed-p): Check builtins if the installed package is not
8543 recent enough.
8544 (package-initialize): Don't reset package-obsolete-list.
8545 Don't specify which package version to activate.
8546 (package-process-define-package, describe-package-1)
8547 (package-menu--generate): Adjust to new package-alist format.
8548
8549 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8550
8551 * allout-widgets.el (allout-widgets-mode-off)
8552 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8553 (allout-widgets-post-command-business)
8554 (allout-widgets-after-copy-or-kill-function)
8555 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8556 (allout-decorate-item-and-context)
8557 (allout-graphics-modification-handler): Fix typos in docstrings.
8558 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8559
8560 * cmuscheme.el (scheme-start-file): Doc fix.
8561 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8562 (scheme-input-filter): Use `string-match-p'.
8563
8564 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8565
8566 * dired-x.el: Use Dired consistently in docstrings.
8567
8568 * dired.el: Use Dired consistently in docstrings.
8569 (dired-readin, dired-mode): Use `setq-local'.
8570 (dired-switches-alist): Make defvar-local.
8571 (dired-buffers-for-dir): Use `zerop'.
8572 (dired-safe-switches-p, dired-switches-escape-p)
8573 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8574 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8575 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8576 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8577 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8578 (dired-toggle-marks, dired-mark-files-containing-regexp)
8579 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8580 (dired-flag-auto-save-files, dired-flag-backup-files):
8581 Use `looking-at-p'.
8582 (dired-mark-files-regexp, dired-build-subdir-alist):
8583 Use `string-match-p', `looking-at-p'.
8584
8585 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8586 (direct-print-region-helper): Use `string-match-p'.
8587
8588 2013-06-21 Leo Liu <sdl.web@gmail.com>
8589
8590 * comint.el (comint-redirect-results-list-from-process):
8591 Fix infinite loop.
8592
8593 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
8595 * net/eww.el (eww-update-header-line-format): Quote % characters.
8596
8597 2013-06-21 Glenn Morris <rgm@gnu.org>
8598
8599 * play/cookie1.el (cookie): New custom group.
8600 (cookie-file): New option.
8601 (cookie-check-file): New function.
8602 (cookie): Make it interactive. Make start and end messages optional.
8603 Interactively, display the result. Default to cookie-file.
8604 (cookie-insert): Default to cookie-file.
8605 (cookie-snarf): Make start and end messages optional.
8606 Default to cookie-file. Use with-temp-buffer.
8607 (cookie-read): Rename from read-cookie.
8608 Make start and end messages optional. Default to cookie-file.
8609 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8610 Do not autoload it.
8611 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8612 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8613
8614 2013-06-21 Leo Liu <sdl.web@gmail.com>
8615
8616 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8617
8618 2013-06-21 Glenn Morris <rgm@gnu.org>
8619
8620 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8621
8622 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8623 Daniel Hackney <dan@haxney.org>
8624
8625 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8626 Consolidate the single-file vs tarball code.
8627 (package-desc-suffix): New function.
8628 (package-desc-full-name): Don't bother inlining it.
8629 (package-load-descriptor): Return the new package-desc.
8630 (package-mark-obsolete): Remove unused arg `package'.
8631 (package-unpack): Make it work for single files as well.
8632 Make it update package-alist.
8633 (package--make-autoloads-and-stuff): Rename from
8634 package--make-autoloads-and-compile. Don't compile any more.
8635 (package--compile): New function.
8636 (package-generate-description-file): New function, extracted from
8637 package-unpack-single.
8638 (package-unpack-single): Remove.
8639 (package--with-work-buffer): Add indentation and debugging info.
8640 (package-download-single): Remove.
8641 (package-install-from-archive): Rename from package-download-tar, make
8642 it take a pkg-desc, and make it work for single files as well.
8643 (package-download-transaction): Simplify.
8644 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8645 external tar program.
8646 (package-install-from-buffer): Remove `pkg-desc' argument.
8647 Use package-tar-file-info for tar-mode buffers.
8648 (package-install-file): Simplify accordingly.
8649 (package-archive-base): Change to take a pkg-desc.
8650 * tar-mode.el (tar--check-descriptor): New function, extracted from
8651 tar-get-descriptor.
8652 (tar-get-descriptor): Use it.
8653 (tar-get-file-descriptor): New function.
8654 (tar--extract): New function, extracted from tar-extract.
8655 (tar--extract): Use it.
8656 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8657 case the summary uses non-ascii. Adjust to new calling convention of
8658 package-tar-file-info.
8659
8660 2013-06-21 Leo Liu <sdl.web@gmail.com>
8661
8662 * comint.el (comint-redirect-results-list-from-process):
8663 Fix random delay. (Bug#14681)
8664
8665 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8666
8667 * profiler.el (profiler-format-number): Use log, not log10.
8668
8669 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8670
8671 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8672
8673 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8676 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8677 yet available.
8678 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8679 (AUTOGENEL): ... here.
8680 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8681 (cl--defsubst-expand): Use it.
8682
8683 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8684
8685 * subr.el (log10): Move here from C code, and declare as obsolete.
8686 All uses of (log10 X) replaced with (log X 10).
8687
8688 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8689
8690 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8691 Declare with `defvar-local'.
8692 (tabulated-list-use-header-line, tabulated-list-entries)
8693 (tabulated-list-padding, tabulated-list-printer)
8694 (tabulated-list-sort-key): Declare with `defvar-local'.
8695 (tabulated-list-init-header, tabulated-list-print-fake-header):
8696 Use `setq-local'.
8697
8698 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * arc-mode.el (archive-mode): Add `archive-write-file' to
8701 `write-contents-functions' also for remote files. (Bug#14652)
8702
8703 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8704
8705 * cus-edit.el (custom-commands): Fix typos.
8706 (custom-display): Fix tooltip text.
8707 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8708 Fix typos in docstrings.
8709 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8710 (custom-unlispify-menu-entry, custom-magic-value-create)
8711 (custom-add-see-also, custom-group-value-create): Use ?\s.
8712 (custom-guess-type, customize-apropos, editable-field)
8713 (custom-face-value-create): Use `string-match-p'.
8714 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8715
8716 * custom.el (custom-load-symbol): Use `string-match-p'.
8717
8718 * ansi-color.el: Convert to lexical binding.
8719 (ansi-colors): Fix URL.
8720 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8721 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8722 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8723
8724 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8725
8726 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8727
8728 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8729
8730 2013-06-19 Tom Tromey <tromey@redhat.com>
8731
8732 * net/eww.el (eww-top-url): Remove.
8733 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8734 (eww-render): Set new variables. Don't set eww-top-url.
8735 (eww-handle-link): Handle "prev", "home", and "contents".
8736 Downcase the rel text.
8737 (eww-top-url): Choose best top URL.
8738
8739 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8740
8741 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8742 relying in widget.el. Using widget.el leads to too many
8743 user interface inconsistencies.
8744 (eww-self-insert): Implement entering commands in text fields.
8745 (eww-process-text-input): New function to make text input field editing
8746 work.
8747 (eww-submit): Rewrite to use the new-style form methods.
8748 (eww-select-display): Display the correct selected item.
8749 (eww-change-select): Implement changing the select value.
8750 (eww-toggle-checkbox): Implement radio/checkboxes.
8751 (eww-update-field): Fix compilation error.
8752 (eww-tag-textarea): Implement <textarea>.
8753
8754 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8755 we don't shadow mode-specific bindings.
8756
8757 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8758 nothing to push.
8759
8760 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8761
8762 2013-06-19 Glenn Morris <rgm@gnu.org>
8763
8764 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8765
8766 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8769 not needed.
8770
8771 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8772
8773 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8774
8775 * net/browse-url.el (browse-url-browser-function):
8776 `eww-browse-url' has the right calling signature, `eww' does not.
8777
8778 2013-06-19 Glenn Morris <rgm@gnu.org>
8779
8780 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8781 Only eval autoloaded macros.
8782 (byte-compile-autoload): Only give the macro warning for macros.
8783
8784 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8785 (ps-underlined-faces): Declare.
8786
8787 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8788 (speedbar-add-supported-extension): Declare.
8789
8790 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8791 Don't include a date stamp in the header of the generated file;
8792 it leads to needless differences between output files.
8793
8794 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8795
8796 * net/secrets.el (secrets-struct-secret-content-type):
8797 Replace check of introspection data by a test call of "CreateItem".
8798 Some servers do not offer introspection.
8799
8800 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * electric.el (electric-pair-mode): Improve interaction with
8803 electric-layout-mode.
8804 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8805 (electric-pair-syntax): Use text-mode-syntax-table in comments
8806 and strings.
8807 (electric-pair--insert): New function.
8808 (electric-pair-post-self-insert-function): Use it and
8809 electric--after-char-pos.
8810
8811 2013-06-19 Leo Liu <sdl.web@gmail.com>
8812
8813 * progmodes/octave.el (octave-help): Fix regexp.
8814
8815 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8816
8817 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8818 (shr-table-horizontal-line): Allow nil as a value, and change the
8819 default.
8820 (shr-insert-table-ruler): Respect the nil value.
8821
8822 2013-06-18 Tom Tromey <tromey@barimba>
8823
8824 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8825 New defvars.
8826 (eww-open-file): New defun.
8827 (eww-render): Initialize new variables.
8828 (eww-display-html): Handle "link" and "a".
8829 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8830 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8831 (eww-back-url): Rename from eww-previous-url.
8832 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8833 New defuns.
8834
8835 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8836
8837 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8838 Distinguish ternary operator tokens from slash symbol and slash
8839 char literal.
8840
8841 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8842
8843 Convert symbol prettification into minor mode and global minor mode.
8844
8845 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8846 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8847 (prettify-symbols--keywords): Rename from
8848 `prog-prettify-symbols-alist' and make a local defvar.
8849 (prettify-symbols--compose-symbol): Rename from
8850 `prog--prettify-font-lock-compose-symbol'.
8851 (prettify-symbols--make-keywords): Rename from
8852 `prog-prettify-font-lock-symbols-keywords' and simplify.
8853 (prog-prettify-install): Remove.
8854 (prettify-symbols-mode): New minor mode, based on
8855 `prog-prettify-install'.
8856 (turn-on-prettify-symbols-mode): New function.
8857 (global-prettify-symbols-mode): New globalized minor mode.
8858
8859 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8860 * progmodes/cfengine.el (cfengine3-mode):
8861 * progmodes/perl-mode.el (perl-mode): Don't call
8862 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8863
8864 2013-06-18 Juri Linkov <juri@jurta.org>
8865
8866 * files-x.el (modify-file-local-variable-message): New function.
8867 (modify-file-local-variable)
8868 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8869 and call `modify-file-local-variable-message' when it's non-nil.
8870 (add-file-local-variable, delete-file-local-variable)
8871 (add-file-local-variable-prop-line)
8872 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8873 and use it. (Bug#9820)
8874
8875 2013-06-18 Juri Linkov <juri@jurta.org>
8876
8877 * emulation/vi.el (vi-shell-op):
8878 * emulation/vip.el (vip-execute-com, ex-command):
8879 * emulation/viper-cmd.el (viper-exec-bang):
8880 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8881 the call of `shell-command-on-region'. (Bug#14637)
8882
8883 * simple.el (shell-command-on-region): Doc fix.
8884
8885 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8888 (bug#14633).
8889
8890 2013-06-18 Glenn Morris <rgm@gnu.org>
8891
8892 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8893
8894 * newcomment.el (comment-search-forward, comment-search-backward):
8895 Doc fix. (Bug#14376)
8896
8897 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8898
8899 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8900 (buffer-face-mode-invoke): Doc fix.
8901
8902 2013-06-18 Matthias Meulien <orontee@gmail.com>
8903
8904 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8905 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8906
8907 2013-06-18 Glenn Morris <rgm@gnu.org>
8908
8909 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8910 Replace obsolete function generic-make-keywords with its expansion.
8911
8912 * progmodes/python.el (ffap-alist): Declare.
8913
8914 * textmodes/reftex.el (bibtex-mode-map): Declare.
8915
8916 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8919 (package-unpack, package-unpack-single): Return the pkg-dir.
8920 (package-download-transaction): Use it to update package-alist.
8921
8922 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8923
8924 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8925 possible choice.
8926
8927 2013-06-17 Juri Linkov <juri@jurta.org>
8928
8929 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8930
8931 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8932
8933 * emacs-lisp/package.el (package-load-descriptor):
8934 Remove `with-syntax-table' call, `read' doesn't need it.
8935 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8936
8937 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8938
8939 * startup.el (command-line): Expand package name returned by
8940 `package--description-file' (bug#14639).
8941
8942 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8943
8944 * emacs-lisp/package.el (package-load-descriptor): Do not call
8945 `emacs-lisp-mode', just use its syntax table.
8946
8947 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8950 `font-lock-extra-managed-props' if any prettifying keyword is added.
8951 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8952 (prog-mode): Use `setq-local'.
8953
8954 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8955
8956 * international/characters.el (standard-case-table): Set syntax of ?»
8957 and ?« to punctuation.
8958
8959 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8960
8961 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8962 Save relevant match data before calling `syntax-ppss' (bug#14595).
8963
8964 2013-06-15 Juri Linkov <juri@jurta.org>
8965
8966 * files-x.el (modify-file-local-variable-prop-line): Add local
8967 variables to the end of the existing comment on the first line.
8968 Use `file-auto-mode-skip' to skip interpreter magic line,
8969 and also skip XML declaration.
8970
8971 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * startup.el (package--builtin-versions): New var.
8974 (package-subdirectory-regexp): Remove.
8975 (package--description-file): Hard code its value instead.
8976
8977 * emacs-lisp/package.el: Don't activate packages older than builtin.
8978 (package-obsolete-list): Rename from package-obsolete-alist, and make
8979 it into a simple list of package-desc.
8980 (package-strip-version): Remove.
8981 (package-built-in-p): Use package--builtin-versions.
8982 (package-mark-obsolete): Simplify.
8983 (package-process-define-package): Mark it obsolete if older than the
8984 builtin version.
8985 (package-handle-response): Use line-end-position.
8986 (package-read-archive-contents, package--download-one-archive):
8987 Simplify.
8988 (package--add-to-archive-contents): Skip if older than the builtin or
8989 installed version.
8990 (package-menu-describe-package): Fix last change.
8991 (package-list-unversioned): New var.
8992 (package-menu--generate): Use it.
8993
8994 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8995 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8996 (autoload-builtin-package-versions): New variable.
8997 (autoload-generate-file-autoloads): Use them.
8998 Remove the list of autoloaded functions/macros from the
8999 (autoload...) comments.
9000
9001 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9002
9003 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9004
9005 * simple.el (line-move-partial): Don't jump to the next screen
9006 line as soon as it becomes visible. Instead, continue enlarging
9007 the vscroll until the portion of a tall screen line that's left on
9008 display is about the height of the frame's default font.
9009 (Bug#14567)
9010
9011 2013-06-15 Glenn Morris <rgm@gnu.org>
9012
9013 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9014 compilation-error-regexp-alist void, or local while let-bound.
9015
9016 * progmodes/make-mode.el (makefile-mode-syntax-table):
9017 Treat "=" as punctuation. (Bug#14614)
9018
9019 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9020
9021 * help-fns.el (describe-variable):
9022 Add extra line for permanent-local variables.
9023
9024 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9025
9026 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9027 Add export, import, library. (Bug#9164)
9028 (library): Set indent function.
9029
9030 2013-06-14 Glenn Morris <rgm@gnu.org>
9031
9032 * term/xterm.el (xterm--query):
9033 Stop after first matching handler. (Bug#14615)
9034
9035 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9036
9037 Add support for dired in saveplace.
9038 * dired.el (dired-initial-position-hook): New variable.
9039 (dired-initial-position): Call hook to place cursor position.
9040 * saveplace.el (save-place-to-alist): Add dired position.
9041 (save-place-dired-hook): New function.
9042
9043 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9046 through a symbol rather than letrec.
9047
9048 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9049 (package-desc): Add `dir' field.
9050 (package-desc-full-name): New function.
9051 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9052 (package-maybe-load-descriptor): Remove.
9053 (package-load-all-descriptors): Just call package-load-descriptor.
9054 (package--disabled-p): New function.
9055 (package-desc-vers, package-desc-doc): Remove aliases.
9056 (package--dir): Remove function.
9057 (package-activate): Check if a package is disabled.
9058 (package-process-define-package): New function, extracted from
9059 define-package.
9060 (define-package): Turn into a place holder.
9061 (package-unpack-single, package-tar-file-info):
9062 Use package--description-file.
9063 (package-compute-transaction): Use package--disabled-p.
9064 (package-download-transaction): Don't call
9065 package-maybe-load-descriptor since they're all loaded anyway.
9066 (package-install): Change argument to be a pkg-desc.
9067 (package-delete): Use a single pkg-desc argument.
9068 (describe-package-1): Use package-desc-dir instead of package--dir.
9069 Use package-desc property instead of package-symbol.
9070 (package-install-button-action): Adjust accordingly.
9071 (package--push): Rewrite.
9072 (package-menu--print-info): Adjust accordingly. Change the ID format
9073 to be a pkg-desc.
9074 (package-menu-describe-package, package-menu-get-status)
9075 (package-menu--find-upgrades, package-menu-mark-upgrades)
9076 (package-menu-execute, package-menu--name-predicate):
9077 Adjust accordingly.
9078 * startup.el (package--description-file): New function.
9079 (command-line): Use it.
9080 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9081 Use package-desc-version.
9082
9083 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9084 (byte-compile-preprocess): Use it.
9085 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9086 can't quite recognize.
9087 (byte-compile-add-to-list): Remove.
9088 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9089 (cconv-closure-convert): Add assertion.
9090
9091 * emacs-lisp/map-ynp.el: Use lexical-binding.
9092 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9093 Factor out some repeated code.
9094
9095 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * subr.el (with-eval-after-load): New macro.
9098 (eval-after-load): Allow form to be a function.
9099 take advantage of lexical-binding.
9100 (do-after-load-evaluation): Use dolist and adjust to new format.
9101 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9102
9103 2013-06-13 Juri Linkov <juri@jurta.org>
9104
9105 * replace.el (perform-replace): Display "symbol " and other search
9106 modes from `isearch-message-prefix' in the *Help* buffer.
9107
9108 * isearch.el (isearch-query-replace): Add " symbol" and other
9109 possible search modes from `isearch-message-prefix' to the prompt.
9110 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9111 when reading a regexp to collect.
9112
9113 2013-06-13 Juri Linkov <juri@jurta.org>
9114
9115 * isearch.el (word-search-regexp): Match whitespace if the search
9116 string begins or ends in whitespace. The LAX arg is applied to
9117 both ends of the search string. Use `regexp-quote' and explicit
9118 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9119 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9120 boundaries are replaced with symbol boundaries, and characters
9121 between symbols match non-word non-symbol syntax. (Bug#14602)
9122
9123 2013-06-13 Juri Linkov <juri@jurta.org>
9124
9125 * isearch.el (isearch-del-char): Don't exceed the length of
9126 `isearch-string' by the prefix arg. (Bug#14563)
9127
9128 2013-06-13 Juri Linkov <juri@jurta.org>
9129
9130 * isearch.el (isearch-yank-word, isearch-yank-line)
9131 (isearch-char-by-name, isearch-quote-char)
9132 (isearch-printing-char, isearch-process-search-char):
9133 Add optional count prefix arg. (Bug#14563)
9134
9135 * international/isearch-x.el
9136 (isearch-process-search-multibyte-characters):
9137 Add optional count prefix arg.
9138
9139 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9142 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9143 lexical-binding.
9144
9145 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9146
9147 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9148
9149 2013-06-13 Glenn Morris <rgm@gnu.org>
9150
9151 * startup.el (tty-handle-args):
9152 Don't just discard "--" and anything after. (Bug#14608)
9153
9154 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9155
9156 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9157
9158 Implement changes in Secret Service API. Make it backward compatible.
9159 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9160 (secrets-create-item): Use it. Prefix properties with interface.
9161
9162 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9163
9164 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9165 (term-emulate-terminal): Respect term-suppress-hard-newline.
9166
9167 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9168
9169 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9170 Only remove a `thumb-file' overlay. (Bug#14548)
9171
9172 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9173
9174 * mail/reporter.el (reporter-submit-bug-report):
9175 Handle missing package-name. (Bug#14600)
9176
9177 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9178
9179 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9180 (reftex-citation-prompt, reftex-default-bibliography)
9181 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9182 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9183 (reftex-bib-sort-author, reftex-bib-sort-year)
9184 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9185 (reftex-extract-bib-entries-from-thebibliography)
9186 (reftex-get-bibkey-default, reftex-get-bib-names)
9187 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9188 (reftex-format-bib-entry, reftex-parse-bibitem)
9189 (reftex-format-bibitem, reftex-do-citation)
9190 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9191 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9192 (reftex-insert-bib-matches, reftex-format-citation)
9193 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9194 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9195 existing comments into docstrings.
9196
9197 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9198
9199 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9200
9201 2013-06-12 Andreas Schwab <schwab@suse.de>
9202
9203 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9204 for auto-save files.
9205
9206 2013-06-12 Glenn Morris <rgm@gnu.org>
9207
9208 * ido.el (ido-delete-ignored-files): Remove.
9209 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9210 Go back to calling ido-ignore-item-p directly.
9211
9212 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9213
9214 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9215
9216 * ido.el (ido-delete-ignored-files): New function,
9217 split from ido-make-file-list-1.
9218 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9219 (ido-make-file-list-1): Use ido-delete-ignored-files.
9220
9221 2013-06-12 Leo Liu <sdl.web@gmail.com>
9222
9223 * progmodes/octave.el (inferior-octave-startup)
9224 (inferior-octave-completion-table)
9225 (inferior-octave-track-window-width-change)
9226 (octave-eldoc-function-signatures, octave-help)
9227 (octave-find-definition): Use single quoted strings.
9228 (inferior-octave-startup-args): Change default value.
9229 (inferior-octave-startup): Do not hard code "-i" and
9230 "--no-line-editing".
9231 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9232 (inferior-octave-directory-tracker): Use it.
9233 (octave-goto-function-definition): Robustify.
9234 (octave-help): Support highlighting operators in 'See also'.
9235 (octave-find-definition): Find subfunctions only in Octave mode.
9236
9237 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * help-fns.el (help-fns--compiler-macro): If the handler function is
9240 named, then put a link to it.
9241 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9242 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9243 (cl-typep): Use it.
9244 (cl-eval-when): Simplify debug spec.
9245 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9246 compiler-macro function instead of setting `compiler-macro-file'.
9247
9248 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9249
9250 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9251 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9252
9253 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9254 Daniel Hackney <dan@haxney.org>
9255
9256 First part of Daniel Hackney's patch to package.el.
9257 * emacs-lisp/package.el: Use defstruct.
9258 (package-desc): New, main struct.
9259 (package--bi-desc, package--ac-desc): New structs, used to describe the
9260 format in external files.
9261 (package-desc-vers): Replace with package-desc-version accessor.
9262 (package-desc-doc): Replace with package-desc-summary accessor.
9263 (package-activate-1): Remove `package' arg since the pkg-vec now
9264 includes the name.
9265 (define-package): Use package-desc-from-define.
9266 (package-unpack-single): Change file-name arg to be a symbol.
9267 (package--add-to-archive-contents): Use package-desc-create and new
9268 accessor functions to package--ac-desc.
9269 (package-buffer-info, package-tar-file-info): Return a package-desc.
9270 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9271 arg to be a package-desc.
9272 (package-install-file): Adjust accordingly. Use \' to match EOS.
9273 (package--from-builtin): New function.
9274 (describe-package-1, package-menu--generate): Use it.
9275 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9276 (package-generate-autoloads): Idem and return the name of the file.
9277 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9278 Change pkg-info arg to be a package-desc.
9279 Use package-make-ac-desc.
9280 (package-upload-file): Use \' to match EOS.
9281 * finder.el (finder-compile-keywords): Use package-make-builtin.
9282
9283 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * vc/vc.el (vc-deduce-fileset): Change error message.
9286 (vc-read-backend): New function.
9287 (vc-next-action): Use it.
9288
9289 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9290
9291 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9292 (prolog-font-lock-keywords): Use regexp-opt instead.
9293 Don't manually highlight strings.
9294 (prolog-mode-variables): Simplify comment-start-skip.
9295 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9296
9297 * emacs-lisp/generic.el (generic--normalise-comments)
9298 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9299 (generic-mode-set-comments): Use them.
9300 (generic-bracket-support): Use setq-local.
9301 (generic-make-keywords-list): Declare obsolete.
9302
9303 2013-06-11 Glenn Morris <rgm@gnu.org>
9304
9305 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9306 Prettify after setting font-lock-defaults. (Bug#14574)
9307
9308 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9309
9310 * replace.el (query-replace, occur-read-regexp-defaults-function)
9311 (replace-search):
9312 * subr.el (declare-function, number-sequence, local-set-key)
9313 (substitute-key-definition, locate-user-emacs-file)
9314 (with-silent-modifications, split-string, eval-after-load):
9315 Fix typos, remove unneeded backslashes and reflow some docstrings.
9316
9317 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9320 default for Elisp files.
9321
9322 2013-06-11 Glenn Morris <rgm@gnu.org>
9323
9324 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9325 although define-derived-mode was doing this anyway. (Bug#14583)
9326
9327 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9328
9329 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9330 Fix make-variable-buffer-local call to refer to the correct variable.
9331
9332 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9333
9334 * eshell/em-term.el (eshell-visual-commands)
9335 (eshell-visual-subcommands, eshell-visual-options):
9336 Add summary line to docstrings. Add cross-references.
9337
9338 2013-06-10 Glenn Morris <rgm@gnu.org>
9339
9340 * epa.el (epa-read-file-name): New function. (Bug#14510)
9341 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9342
9343 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9344
9345 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9346 output redirection to be ignored with visual commands.
9347
9348 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9349
9350 * eshell/em-term.el (eshell-visual-command-p): New function.
9351 (eshell-term-initialize): Move long lambda to separate function
9352 eshell-visual-command-p.
9353 * eshell/em-dirs.el (eshell-dirs-initialise):
9354 * eshell/em-script.el (eshell-script-initialize):
9355 Add missing #' to lambda.
9356
9357 2013-06-08 Leo Liu <sdl.web@gmail.com>
9358
9359 * progmodes/octave.el (octave-add-log-current-defun): New function.
9360 (octave-mode): Set add-log-current-defun-function.
9361 (octave-goto-function-definition): Do not move point if not found.
9362 (octave-find-definition): Enhance to try subfunctions first.
9363
9364 2013-06-08 Glenn Morris <rgm@gnu.org>
9365
9366 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9367 (byte-compile-backward-char, byte-compile-backward-word):
9368 Improve previous change, to handle non-explicit nil.
9369
9370 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9373 (smie--opener/closer-at-point): New function.
9374 (smie--matching-block-data): Use it. Don't match from right after an
9375 opener or right before a closer. Obey smie-blink-matching-inners.
9376 Don't signal a mismatch for repeated inners like "switch..case..case".
9377
9378 2013-06-07 Leo Liu <sdl.web@gmail.com>
9379
9380 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9381 to t. (Bug#14303)
9382 (octave-function-header-regexp): Fix. (Bug#14570)
9383 (octave-help-mode-finish-hook, octave-help-mode-finish):
9384 Remove. Just use temp-buffer-show-hook.
9385
9386 * newcomment.el (comment-search-backward): Revert last change.
9387 (Bug#14434)
9388
9389 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9390
9391 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9392
9393 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9394 through xargs, to avoid failure due to MS-Windows limitations on
9395 command-line length.
9396
9397 2013-06-06 Glenn Morris <rgm@gnu.org>
9398
9399 * font-lock.el (lisp-font-lock-keywords-2):
9400 Treat user-error like error.
9401
9402 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9403 (byte-compile-backward-char, byte-compile-backward-word):
9404 Handle explicit nil arguments. (Bug#14565)
9405
9406 2013-06-05 Alan Mackenzie <acm@muc.de>
9407
9408 * isearch.el (isearch-allow-prefix): New user option.
9409 (isearch-other-meta-char): Don't exit isearch when a prefix
9410 argument is typed whilst `isearch-allow-prefix' is non-nil.
9411 (Bug#9706)
9412
9413 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9414
9415 * autorevert.el (auto-revert-notify-handler): Use memq.
9416 Hide assertion failure.
9417
9418 * skeleton.el: Use cl-lib.
9419 (skeleton-further-elements): Use defvar-local.
9420 (skeleton-insert): Use cl-progv.
9421
9422 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9423
9424 * progmodes/prog-mode.el (prog-prettify-symbols)
9425 (prog-prettify-install): Update docstrings.
9426
9427 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * simple.el: Move all the prog-mode code to prog-mode.el.
9430 * progmodes/prog-mode.el: New file.
9431 * loadup.el: Add prog-mode.el.
9432
9433 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9434
9435 * simple.el (prog-prettify-symbols): Add version.
9436 (prog-prettify-install): Add convenience function to prettify symbols.
9437
9438 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9439 (perl--augmented-font-lock-keywords-1)
9440 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9441 variables and use it.
9442
9443 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9444 (cfengine3-mode): Remove unneeded variable and use it.
9445
9446 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9447 (lisp--augmented-font-lock-keywords-1)
9448 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9449 Remove unneeded variables and use it.
9450
9451 2013-06-05 João Távora <joaotavora@gmail.com>
9452
9453 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9454 to point when opening the connection. (Bug#14380)
9455
9456 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9457
9458 * subr.el (load-history-regexp, load-history-filename-element)
9459 (eval-after-load, after-load-functions, do-after-load-evaluation)
9460 (eval-next-after-load, display-delayed-warnings)
9461 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9462 definition of save-match-data.
9463 (overriding-local-map): Remove accidental obsolescence declaration.
9464
9465 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9466
9467 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9468
9469 Generalize symbol prettify support to prog-mode and implement it
9470 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9471 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9472 (prog--prettify-font-lock-compose-symbol)
9473 (prog-prettify-font-lock-symbols-keywords): New variables and
9474 functions to support symbol prettification.
9475 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9476 (lisp--augmented-font-lock-keywords-1)
9477 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9478 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9479 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9480 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9481 Implement prettify of -> => :: strings.
9482 * progmodes/perl-mode.el (perl-prettify-symbols)
9483 (perl--font-lock-compose-symbol)
9484 (perl--font-lock-symbols-keywords): Move to prog-mode.
9485 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9486 (perl-font-lock-keywords-1)
9487 (perl-font-lock-keywords-2): Remove explicit prettify support.
9488 (perl--augmented-font-lock-keywords)
9489 (perl--augmented-font-lock-keywords-1)
9490 (perl--augmented-font-lock-keywords-2, perl-mode):
9491 Implement prettify support.
9492
9493 2013-06-05 Leo Liu <sdl.web@gmail.com>
9494
9495 Re-implement smie matching block highlight using
9496 show-paren-data-function. (Bug#14395)
9497 * emacs-lisp/smie.el (smie-matching-block-highlight)
9498 (smie--highlight-matching-block-overlay)
9499 (smie--highlight-matching-block-lastpos)
9500 (smie-highlight-matching-block)
9501 (smie-highlight-matching-block-mode): Remove.
9502 (smie--matching-block-data-cache): New variable.
9503 (smie--matching-block-data): New function.
9504 (smie-setup): Use smie--matching-block-data for
9505 show-paren-data-function.
9506
9507 * progmodes/octave.el (octave-mode-menu): Fix.
9508 (octave-find-definition): Skip garbage lines.
9509
9510 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9511
9512 Fix compilation error with simultaneous dynamic+lexical scoping.
9513 Add warning when a defvar appears after the first let-binding.
9514 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9515 (byte-compile-close-variables): Initialize it.
9516 (byte-compile--declare-var): New function.
9517 (byte-compile-file-form-defvar)
9518 (byte-compile-file-form-define-abbrev-table)
9519 (byte-compile-file-form-custom-declare-variable): Use it.
9520 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9521 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9522 (byte-compile-bind): Handle dynamic bindings that shadow
9523 lexical bindings.
9524 (byte-compile-unbind): Make arg non-optional.
9525 (byte-compile-let): Simplify.
9526 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9527 (cconv--analyse-function, cconv-analyse-form): Populate it.
9528 Protect byte-compile-bound-variables to limit the scope of defvars.
9529 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9530 Remove unneeded rule for `declare'.
9531
9532 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9533 so as to avoid depending on cl-adjoin at run-time.
9534 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9535
9536 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9537 (macroexp--warn-and-return): Use it.
9538
9539 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * subr.el: Convert to lexical binding.
9542 (overriding-local-map): Make obsolete.
9543 (add-to-list): Doc fix. Add compiler macro.
9544 (read-key): Swap values of local maps.
9545
9546 2013-06-05 Leo Liu <sdl.web@gmail.com>
9547
9548 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9549
9550 2013-06-04 Leo Liu <sdl.web@gmail.com>
9551
9552 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9553 (compilation-auto-jump): Suppress the "Mark set" message to give
9554 way to exit message.
9555
9556 2013-06-04 Alan Mackenzie <acm@muc.de>
9557
9558 Remove faulty optimisation from indentation calculation.
9559 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9560 search limit based on 2000 characters back from indent-point.
9561
9562 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9563
9564 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9565
9566 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9567
9568 * emacs-lisp/lisp.el: Use lexical-binding.
9569 (lisp--local-variables-1, lisp--local-variables): New functions.
9570 (lisp--local-variables-completion-table): New var.
9571 (lisp-completion-at-point): Use it complete let-bound vars.
9572
9573 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9574 eagerly (bug#14422).
9575
9576 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9577
9578 * autorevert.el (auto-revert-notify-enabled)
9579 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9580 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9581 (auto-revert-notify-handler): Handle also gfilenotify.
9582
9583 * subr.el (file-notify-handle-event): New defun. Replacing ...
9584 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9585 Remove.
9586
9587 2013-06-03 Juri Linkov <juri@jurta.org>
9588
9589 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9590 `M-s h .'. (Bug#14427)
9591
9592 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9593 command `hi-lock-face-symbol-at-point'.
9594 (hi-lock-face-symbol-at-point): New command.
9595 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9596 (hi-lock-menu): Add `highlight-symbol-at-point'.
9597 (hi-lock-mode): Doc fix.
9598
9599 * isearch.el (isearch-forward-symbol-at-point): New command.
9600 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9601 (isearch-highlight-regexp): Add a regexp which matches
9602 words/symbols for word/symbol mode.
9603
9604 * subr.el (find-tag-default-bounds): New function with the body
9605 mostly moved from `find-tag-default'.
9606 (find-tag-default): Move most code to `find-tag-default-bounds',
9607 call it and apply `buffer-substring-no-properties' afterwards.
9608
9609 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9610
9611 * eshell/em-term.el (eshell-term-initialize):
9612 Use `cl-intersection' rather than `intersection'.
9613
9614 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9615
9616 * vc/log-view.el: Doc fix.
9617 (log-view-mode-map): Copy keymap from `special-mode-map'.
9618
9619 2013-06-02 Eric Ludlam <zappo@gnu.org>
9620
9621 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9622 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9623 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9624 (eieio-unbound, eieio-default-superclass)
9625 (eieio--define-field-accessors, method-static, method-before)
9626 (method-primary, method-after, method-num-lists)
9627 (method-generic-before, method-generic-primary)
9628 (method-generic-after, method-num-slots)
9629 (eieio-specialized-key-to-generic-key)
9630 (eieio--check-type, class-v, class-p)
9631 (eieio-class-name, define-obsolete-function-alias)
9632 (eieio-class-parents-fast, eieio-class-children-fast)
9633 (same-class-fast-p, class-constructor, generic-p)
9634 (generic-primary-only-p, generic-primary-only-one-p)
9635 (class-option-assoc, class-option, eieio-object-p)
9636 (class-abstract-p, class-method-invocation-order)
9637 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9638 (eieio-class-un-autoload, eieio-defclass)
9639 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9640 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9641 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9642 (eieio-defgeneric-reset-generic-form)
9643 (eieio-defgeneric-form-primary-only)
9644 (eieio-defgeneric-reset-generic-form-primary-only)
9645 (eieio-defgeneric-form-primary-only-one)
9646 (eieio-defgeneric-reset-generic-form-primary-only-one)
9647 (eieio-unbind-method-implementations)
9648 (eieio--defmethod, eieio--typep)
9649 (eieio-perform-slot-validation, eieio-validate-slot-value)
9650 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9651 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9652 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9653 (eieio-slot-name-index, eieio-class-slot-name-index)
9654 (eieio-set-defaults, eieio-initarg-to-attribute)
9655 (eieio-attribute-to-initarg, eieio-c3-candidate)
9656 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9657 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9658 (eieio-class-precedence-list, eieio-generic-call-methodname)
9659 (eieio-generic-call-arglst, eieio-generic-call-key)
9660 (eieio-generic-call-next-method-list)
9661 (eieio-pre-method-execution-functions, eieio-generic-call)
9662 (eieio-generic-call-primary-only, eieiomt-method-list)
9663 (eieiomt-optimizing-obarray, eieiomt-install)
9664 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9665 (eieio-generic-form, eieio-defmethod, make-obsolete)
9666 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9667 (defclass): Remove `eval-and-compile' from macro.
9668 (call-next-method, shared-initialize): Instead of using
9669 `scoped-class' variable, use new eieio--scoped-class, and
9670 eieio--with-scoped-class.
9671 (initialize-instance): Rename local variable 'scoped-class' to
9672 'this-class' to remove ambiguitity from old global.
9673
9674 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9675 eieio.el.
9676 (eieio--scoped-class-stack): New variable.
9677 (eieio--scoped-class): New fcn.
9678 (eieio--with-scoped-class): New scoping macro.
9679 (eieio-defclass): Use pushnew instead of add-to-list.
9680 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9681 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9682 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9683 `scoped-class' variable, use new eieio--scoped-class, and
9684 eieio--with-scoped-class.
9685
9686 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9687
9688 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9689
9690 * eshell/esh-ext.el (eshell-external-command): Pass args to
9691 `eshell-find-interpreter'.
9692 (eshell-find-interpreter): Add new second parameter ARGS.
9693
9694 * eshell/em-script.el (eshell-script-initialize): Add second arg
9695 to the function added as MATCH to `eshell-interpreter-alist'.
9696
9697 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9698 the function added as MATCH to `eshell-interpreter-alist'.
9699
9700 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9701 (eshell-visual-options): New defcustom.
9702 (eshell-escape-control-x): Adapt docstring.
9703 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9704 `eshell-visual-options' in addition to `eshell-visual-commands'.
9705 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9706
9707 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9708
9709 * progmodes/python.el (python-indent-block-enders): Add break,
9710 continue and raise keywords.
9711
9712 2013-06-01 Glenn Morris <rgm@gnu.org>
9713
9714 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9715
9716 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9717 * progmodes/cc-cmds.el (delete-forward-p):
9718 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9719 * progmodes/cc-engine.el (buffer-syntactic-context):
9720 * progmodes/cc-fonts.el (face-property-instance):
9721 * progmodes/cc-mode.el (set-keymap-parents):
9722 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9723 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9724 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9725 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9726 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9727
9728 * progmodes/cc-vars.el (other): Emacs has this widget since
9729 at least 21.1, so don't (re)define it.
9730
9731 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9732 Replace the obsolete alias pcomplete-arg-quote-list.
9733
9734 2013-06-01 Leo Liu <sdl.web@gmail.com>
9735
9736 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9737 punctuation syntax.
9738 (inferior-octave-minimal-columns)
9739 (inferior-octave-last-column-width): New variables.
9740 (inferior-octave-track-window-width-change): New function.
9741 (inferior-octave-mode): Adjust column width so that Octave output,
9742 for example from 'ls', can fit into the window nicely.
9743
9744 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9745
9746 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9747 Highlight expansions inside regexp literals.
9748
9749 2013-05-31 Glenn Morris <rgm@gnu.org>
9750
9751 * obsolete/sym-comp.el (symbol-complete):
9752 Replace obsolete completion-annotate-function.
9753
9754 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9755
9756 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9757
9758 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9759 New function, checks if point is inside a literal that allows
9760 expression expansion.
9761 (ruby-syntax-propertize-expansion): Use it.
9762 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9763 around the body.
9764
9765 2013-05-30 Juri Linkov <juri@jurta.org>
9766
9767 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9768 to "\M-si".
9769 (isearch-invisible): New variable.
9770 (isearch-forward): Doc fix.
9771 (isearch-mode): Set `isearch-invisible'
9772 to the value of `search-invisible'.
9773 (isearch-toggle-case-fold): Doc fix.
9774 (isearch-toggle-invisible): New command.
9775 (isearch-query-replace): Let-bind `search-invisible'
9776 to the value of `isearch-invisible'.
9777 (isearch-search): Use `isearch-invisible' instead of
9778 `search-invisible'. Let-bind `search-invisible'
9779 to the value of `isearch-invisible'. (Bug#11378)
9780
9781 2013-05-30 Juri Linkov <juri@jurta.org>
9782
9783 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9784 call when `query-flag' is nil and `search-invisible' is non-nil.
9785 (Bug#11746)
9786
9787 2013-05-30 Glenn Morris <rgm@gnu.org>
9788
9789 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9790
9791 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9792 (cc-require): Suppress spurious "noruntime" warnings.
9793 (cc-require-when-compile): Use fboundp, for sake of compiler.
9794
9795 * progmodes/cc-mode.el: Move load of cc-vars before that of
9796 cc-langs (which in turn loads cc-vars), to quieten compiler.
9797
9798 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9799
9800 * paren.el: Simplify the code.
9801 (show-paren-mode): Always start the timer.
9802 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9803 (show-paren--overlay, show-paren--overlay-1): Rename from
9804 show-paren-overlay and show-paren-overlay-1, and initialize to an
9805 overlay rather than to nil.
9806 (show-paren-function): Misc cleanup and simplifications.
9807
9808 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * paren.el (show-paren-data-function): New hook.
9811 (show-paren--default): New function, extracted from show-paren-function.
9812 (show-paren-function): Use show-paren-data-function.
9813
9814 2013-05-30 Glenn Morris <rgm@gnu.org>
9815
9816 * ielm.el (ielm-map, ielm-complete-symbol):
9817 Use completion-at-point rather than obsolete functions.
9818 (inferior-emacs-lisp-mode): Doc fix.
9819 Set completion-at-point-functions, rather than
9820 comint-dynamic-complete-functions.
9821
9822 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9823 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9824 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9825
9826 * image.el (image-animated-p): Tweak definition.
9827
9828 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9829 (rlogin-process-connection-type): Tweak default. Add set-after.
9830 (rlogin-host): Doc fix.
9831 (rlogin): Tweak prompt.
9832 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9833
9834 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9835 * progmodes/tcl.el (inferior-tcl-mode-map):
9836 Use completion-at-point rather than obsolete alias.
9837
9838 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9839
9840 * minibuffer.el (read-file-name-completion-ignore-case):
9841 Move before completion--in-region, for eager macro expansion.
9842
9843 2013-05-29 Juri Linkov <juri@jurta.org>
9844
9845 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9846 for total count of matching lines. Add `global-matches' for total
9847 count of matches. Rename `matches' to `lines' for count of
9848 matching lines. Add `matches' for count of matches.
9849 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9850 to `prev-line' for line number of prev match endpt.
9851 Increment `matches' for every match. Print the number of
9852 matching lines in the header.
9853 (occur-context-lines): Rename `lines' to `curr-line'.
9854 Rename `prev-lines' to `prev-line'. (Bug#14017)
9855
9856 2013-05-29 Juri Linkov <juri@jurta.org>
9857
9858 * replace.el (perform-replace): Add `skip-read-only-count',
9859 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9860 Increment them for corresponding conditions and report the number
9861 of skipped occurrences in the final message. (Bug#11746)
9862 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9863 (replace-string, replace-regexp): Doc fix.
9864
9865 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9868
9869 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9870 prog-mode-map (bug#14504).
9871
9872 2013-05-29 Leo Liu <sdl.web@gmail.com>
9873
9874 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9875 (octave-help): Small simplification.
9876
9877 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9878 off the highlight first.
9879
9880 2013-05-29 Glenn Morris <rgm@gnu.org>
9881
9882 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9883 Handle idlwave-last-system-routine-info-cons-cell being nil.
9884
9885 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9886 (idlwave-write-paths): Simplify via with-temp-buffer.
9887
9888 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9889 * emulation/cua-rect.el: Also load cua-base at run time.
9890
9891 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9892 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9893 (cperl-imenu-on-info): Require imenu.
9894
9895 2013-05-28 Alan Mackenzie <acm@muc.de>
9896
9897 Handle "capitalised keywords" correctly.
9898 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9899
9900 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9901
9902 * eshell/em-unix.el: Add -r option to cp.
9903
9904 2013-05-28 Glenn Morris <rgm@gnu.org>
9905
9906 * vc/vc-arch.el (vc-exec-after): Declare.
9907 (vc-switches): Autoload.
9908 * vc/vc-bzr.el: No need to require vc when compiling.
9909 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9910 (vc-resynch-buffer, vc-dir-refresh): Declare.
9911 (vc-setup-buffer, vc-switches): Autoload.
9912 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9913 (vc-resynch-buffer): Declare.
9914 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9915 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9916 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9917 (grep-read-regexp, grep-read-files, grep-expand-template)
9918 (vc-dir-refresh): Declare.
9919 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9920 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9921 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9922 * vc/vc-mtn.el (vc-exec-after): Declare.
9923 (vc-switches): Autoload.
9924 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9925 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9926 (vc-file-tree-walk): Declare.
9927 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9928 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9929 (vc-tag-precondition, vc-rename-master): Autoload.
9930 * vc/vc-svn.el (vc-exec-after): Declare.
9931 (vc-switches, vc-setup-buffer): Autoload.
9932 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9933 Autoload.
9934 (vc-resynch-buffer): Declare.
9935
9936 * obsolete/fast-lock.el (byte-compile-warnings):
9937 Don't warn about obsolete features in this obsolete file.
9938
9939 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9940 Move definition before use.
9941
9942 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9943 (dun-unix-verbs): Remove dun-zippy.
9944 (dun-zippy): Remove function.
9945
9946 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9947
9948 2013-05-27 Juri Linkov <juri@jurta.org>
9949
9950 * replace.el (replace-search): New function with code moved out
9951 from `perform-replace'.
9952 (replace-highlight, replace-dehighlight): Move function definitions
9953 up closer to `replace-search'. (Bug#11746)
9954
9955 2013-05-27 Juri Linkov <juri@jurta.org>
9956
9957 * replace.el (perform-replace): Ignore invisible matches.
9958 In addition to checking `query-replace-skip-read-only', also
9959 filter out matches by calling `run-hook-with-args-until-failure'
9960 on `isearch-filter-predicates', and also check `search-invisible'
9961 for t or call `isearch-range-invisible'.
9962 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9963
9964 2013-05-27 Juri Linkov <juri@jurta.org>
9965
9966 * isearch.el (isearch-filter-predicates): Rename from
9967 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9968 (isearch-message-prefix): Display text from the property
9969 `isearch-message-prefix' of the currently active filters.
9970 (isearch-search): Don't compare `isearch-filter-predicate' with
9971 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9972 on `isearch-filter-predicates'. Also check `search-invisible' for t
9973 or call `isearch-range-invisible'.
9974 (isearch-filter-visible): Make obsolete.
9975 (isearch-lazy-highlight-search):
9976 Call `run-hook-with-args-until-failure' on
9977 `isearch-filter-predicates' and use `isearch-range-invisible'.
9978
9979 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9980 `isearch-filter-predicates' instead of `funcall'ing
9981 `isearch-filter-predicate'.
9982 (Info-mode): Set `Info-isearch-filter' to
9983 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9984
9985 * dired-aux.el (dired-isearch-filter-predicate-orig):
9986 Remove variable.
9987 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9988 (dired-isearch-filenames-end): Add and remove
9989 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9990 instead of changing the value of `isearch-filter-predicate'.
9991 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9992 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9993 Put property `isearch-message-prefix' to "filename " on
9994 `dired-isearch-filter-filenames'.
9995
9996 * wdired.el (wdired-change-to-wdired-mode):
9997 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9998 locally instead of changing `isearch-filter-predicate'.
9999 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10000
10001 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10002
10003 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10004 return the commit hash (Bug#14459). Also set the
10005 `vc-git-detached' property.
10006 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10007 (vc-git-mode-line-string): Use the same help-echo format whether
10008 in detached mode or not, because we know the actual revision now.
10009 When in detached mode, shorten the revision to 7 chars.
10010
10011 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/easy-mmode.el (define-minor-mode):
10014 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10015 mode hook and provide a docstring.
10016
10017 2013-05-27 Alan Mackenzie <acm@muc.de>
10018
10019 Remove spurious syntax-table text properties inserted by C-y.
10020 * progmodes/cc-mode.el (c-after-change): Also clear hard
10021 syntax-table property with value nil.
10022
10023 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10024
10025 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10026 when reading the events; the buffer layout shall not be changed.
10027
10028 2013-05-27 Leo Liu <sdl.web@gmail.com>
10029
10030 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10031 New variable.
10032 (inferior-octave-directory-tracker): Automatically re-sync
10033 default-directory.
10034 (octave-help): Improve handling of 'See also'.
10035
10036 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10037
10038 * doc-view.el: Minor naming convention tweaks.
10039 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10040
10041 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10042 even if there's no `display' property yet (bug#14435).
10043
10044 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10045
10046 * subr.el (unmsys--file-name): Rename from reveal-filename.
10047
10048 * Makefile.in (custom-deps, finder-data, autoloads)
10049 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10050 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10051 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10052
10053 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10054
10055 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10056 error-completion on the first 2 args of condition-case (bug#14446).
10057 Don't burp at EOB.
10058
10059 2013-05-25 Leo Liu <sdl.web@gmail.com>
10060
10061 * comint.el (comint-previous-matching-input): Do not flood the
10062 *Messages* buffer with trivial messages.
10063
10064 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10065
10066 * progmodes/flymake.el (flymake-nop): Don't return a string.
10067 (flymake-set-at): Fix typo.
10068
10069 * simple.el (read--expression): New function, extracted from
10070 eval-expression. Set completion-at-point-functions (bug#14465).
10071 (eval-expression, eval-minibuffer): Use it.
10072
10073 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10074
10075 * progmodes/flymake.el (flymake-save-buffer-in-file)
10076 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10077 (flymake-selected-frame, flymake-log, flymake-ins-after)
10078 (flymake-set-at, flymake-get-buildfile-from-cache)
10079 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10080 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10081 Refine the doc string.
10082 (flymake-get-file-name-mode-and-masks): Reformat.
10083 (flymake-get-real-file-name-function): Fix a minor bug.
10084
10085 2013-05-24 Juri Linkov <juri@jurta.org>
10086
10087 * progmodes/grep.el (grep-mode-font-lock-keywords):
10088 Support =linenumber= format used by git-grep for lines with
10089 function names. (Bug#13549)
10090
10091 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10092
10093 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10094 0 after a semi-colon; it works better for smie-auto-fill.
10095 (octave--indent-new-comment-line): New function.
10096 (octave-indent-new-comment-line): Use it (indirectly).
10097 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10098 modify comment-line-break-function.
10099
10100 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10101 (smie-setup): Use add-function to set it.
10102
10103 2013-05-24 Sam Steingold <sds@gnu.org>
10104
10105 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10106 argument (before the `interactive' argument).
10107
10108 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10109
10110 * image-mode.el (image-mode-winprops): Add winprops to
10111 image-mode-winprops-alist before running
10112 image-mode-new-window-functions.
10113 * doc-view.el (doc-view-new-window-function): Don't delay
10114 doc-view-goto-page via timers (bug#14435).
10115
10116 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10117
10118 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10119 (doc-view-desktop-save-buffer): New function.
10120 (doc-view-restore-desktop-buffer): New function.
10121 (desktop-buffer-mode-handlers):
10122 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10123 handler.
10124 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10125 `desktop-save-buffer' function.
10126
10127 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10128
10129 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10130 (tramp-gvfs-file-name-handler): Raise a user error when
10131 `tramp-gvfs-enabled' is nil.
10132 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10133 Do not raise a user error when loading package. (Bug#14447)
10134
10135 * net/xesam.el: Move to obsolete/.
10136
10137 2013-05-24 Glenn Morris <rgm@gnu.org>
10138
10139 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10140
10141 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10142
10143 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10144 (Info-find-node, Man-getpage-in-background): Declare.
10145
10146 * mail/unrmail.el (unrmail):
10147 Replace obsolete detect-coding-with-priority.
10148
10149 * net/socks.el (socks-split-string): Use this rather than split-string.
10150 (socks-nslookup-host): Update for above change.
10151 (dynamic-choice, s5-dynamic-choice-match)
10152 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10153 Comment out unused code.
10154
10155 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10156 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10157 (gud-tooltip-echo-area): Make obsolete.
10158 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10159
10160 * progmodes/js.el (js--optimize-arglist): Declare.
10161
10162 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10163
10164 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10165 (ediff-window-C): Declare.
10166
10167 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10168 Tweak requires to silence compiler.
10169
10170 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10171 (he-search-string, he-tried-table, he-expand-list)
10172 (he-init-string, he-string-member, he-substitute-string)
10173 (he-reset-string): Declare.
10174
10175 * obsolete/options.el (list-options): Use custom-variable-p,
10176 rather than obsolete alias.
10177
10178 2013-05-23 Sam Steingold <sds@gnu.org>
10179
10180 * simple.el (shell-command-on-region): Pass the `replace' argument
10181 down to `call-process-region' to comply with the doc as reported on
10182 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10183
10184 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * emacs-lisp/smie.el (smie-indent-forward-token)
10187 (smie-indent-backward-token): Handle string tokens (bug#14381).
10188
10189 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10190
10191 * ielm.el (ielm-menu): New menu.
10192 (inferior-emacs-lisp-mode): Set comment-start.
10193
10194 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10195
10196 * textmodes/reftex.el (reftex-ref-style-toggle):
10197 Fix deactivate action.
10198
10199 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10200 Add cleveref macros.
10201
10202 * textmodes/reftex-parse.el
10203 (reftex-locate-bibliography-files): Accept options for
10204 bibliography commands.
10205 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10206 Add addbibresource. Basic Biblatex support.
10207
10208 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp-gvfs.el (top):
10211 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10212 when loading package. (Bug#14447)
10213
10214 2013-05-23 Glenn Morris <rgm@gnu.org>
10215
10216 * progmodes/js.el: No need to load comint when compiling.
10217 (ring-insert, comint-send-string, comint-send-input)
10218 (comint-last-input-end, ido-chop): Declare.
10219
10220 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10221 * vc/ediff-mult.el: Adjust requires.
10222 (ediff-directories-internal, ediff-directory-revisions-internal)
10223 (ediff-patch-file-internal): Declare.
10224 * vc/ediff-ptch.el: Adjust requires.
10225 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10226 (ediff-find-file): Autoload.
10227 * vc/ediff-util.el: No need to load ediff when compiling.
10228 (ediff-regions-internal): Declare.
10229 * vc/ediff-wind.el: Adjust requires.
10230 (ediff-compute-toolbar-width): Define when compiling.
10231 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10232 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10233 (dired-get-filename, dired-get-marked-files)
10234 (ediff-last-dir-patch, ediff-patch-default-directory)
10235 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10236 (ediff-patch-buffer-internal): Declare.
10237
10238 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10239 (ispell-process, ispell-buffer-local-words, lm-summary)
10240 (lm-section-start, lm-section-end): Declare.
10241 (checkdoc-ispell-init): Simplify.
10242
10243 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10244 (he-string-member, he-reset-string, he-substitute-string): Declare.
10245
10246 * eshell/em-ls.el: Adjust requires.
10247 (eshell-glob-regexp): Declare.
10248 * eshell/em-tramp.el: Adjust requires.
10249 (eshell-parse-command): Autoload.
10250 * eshell/em-xtra.el: Adjust requires.
10251 (eshell-parse-command): Autoload.
10252 * eshell/esh-ext.el: Adjust requires.
10253 (eshell-parse-command, eshell-close-handles): Autoload.
10254 * eshell/esh-io.el: Adjust requires.
10255 (eshell-output-filter): Autoload.
10256 * eshell/esh-util.el: No need to load tramp when compiling.
10257 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10258 Declare.
10259 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10260 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10261 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10262 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10263 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10264 * eshell/esh-opt.el, eshell/esh-proc.el:
10265 * eshell/esh-var.el: Adjust requires.
10266 * eshell/eshell.el: Do not require esh-util twice.
10267 (eshell-add-input-to-history): Declare.
10268 (eshell-command): Check history module is active before using it.
10269
10270 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10271
10272 2013-05-22 Leo Liu <sdl.web@gmail.com>
10273
10274 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10275
10276 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10277
10278 * autorevert.el (auto-revert-notify-add-watch)
10279 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10280 it indicates changes in file modification time.
10281
10282 2013-05-22 Glenn Morris <rgm@gnu.org>
10283
10284 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10285 Always delete the autoloaded function from the noruntime and
10286 unresolved functions lists.
10287
10288 * allout.el: No need to load epa, epg, overlay when compiling.
10289 (epg-context-set-passphrase-callback, epg-list-keys)
10290 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10291 (epg-key-user-id-list): Declare.
10292
10293 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10294 (viper-set-parsing-style-toggling-macro)
10295 (viper-set-emacs-state-searchstyle-macros):
10296 Use called-interactively-p on Emacs.
10297 (viper-looking-back): Make it an obsolete alias. Update callers.
10298 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10299 Use looking-back rather than viper-looking-back.
10300 (viper-tmp-insert-at-eob, viper-enlarge-region)
10301 (viper-read-string-with-history, viper-register-to-point)
10302 (viper-append-to-register, viper-change-state-to-vi)
10303 (viper-backward-char-carefully, viper-forward-char-carefully)
10304 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10305 (viper-change-state-to-emacs): Declare.
10306 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10307 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10308 * emulation/viper-mous.el: Do not load viper-cmd.
10309 (viper-backward-char-carefully, viper-forward-char-carefully)
10310 (viper-forward-word, viper-adjust-window): Declare.
10311
10312 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10313
10314 * progmodes/idlw-help.el (idlwave-help-fontify):
10315 Use called-interactively-p.
10316
10317 * term/w32console.el (w32-get-console-codepage)
10318 (w32-get-console-output-codepage): Declare.
10319
10320 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10321 Remove unnecessary declarations.
10322 (dframe-message): Doc fix.
10323
10324 * info.el (dframe-select-attached-frame, dframe-current-frame):
10325 Declare.
10326
10327 * speedbar.el (speedbar-message): Make it an obsolete alias.
10328 Update all callers.
10329 (speedbar-with-attached-buffer)
10330 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10331 (speedbar-with-writable): Use backquote.
10332 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10333 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10334 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10335 rather than speedbar- aliases.
10336 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10337 (speedbar-make-specialized-keymap, speedbar-insert-button)
10338 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10339 (speedbar-do-function-pointer): Declare.
10340 (rmail-speedbar-button, rmail-speedbar-find-file)
10341 (rmail-speedbar-move-message):
10342 Use dframe-with-attached-buffer rather than speedbar- alias.
10343 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10344 (dframe-message, speedbar-make-specialized-keymap)
10345 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10346 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10347 (speedbar-insert-button, dframe-select-attached-frame)
10348 (dframe-maybee-jump-to-attached-frame)
10349 (speedbar-change-initial-expansion-list)
10350 (speedbar-previously-used-expansion-list-name): Declare.
10351 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10352 Use dframe-message, dframe-with-attached-buffer rather than
10353 speedbar- aliases.
10354 (gud-sentinel): Silence compiler.
10355 * progmodes/vhdl-mode.el (speedbar-refresh)
10356 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10357 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10358 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10359 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10360 (speedbar-file-lists, speedbar-make-tag-line)
10361 (speedbar-line-directory, speedbar-goto-this-file)
10362 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10363 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10364 (speedbar-make-button, speedbar-reset-scanners)
10365 (speedbar-files-item-info, speedbar-line-text)
10366 (speedbar-find-file-in-frame, speedbar-set-timer)
10367 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10368 (speedbar-with-writable): Do not (re)define it.
10369 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10370 rather than speedbar- alias.
10371
10372 2013-05-21 Leo Liu <sdl.web@gmail.com>
10373
10374 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10375 menu items.
10376 (octave-mode): Tweak fill-nobreak-predicate.
10377 (inferior-octave-startup): Check process to avoid infinite loop.
10378 (inferior-octave): Pop to buffer first to show abornmal process
10379 exit information.
10380
10381 2013-05-21 Glenn Morris <rgm@gnu.org>
10382
10383 * printing.el (pr-menu-bar): Define when compiling.
10384
10385 2013-05-21 Leo Liu <sdl.web@gmail.com>
10386
10387 * progmodes/octave.el (octave-auto-fill): Remove.
10388 (octave-indent-new-comment-line): Improve.
10389 (octave-mode): Use auto fill mode through
10390 comment-line-break-function and fill-nobreak-predicate.
10391 (octave-goto-function-definition): Support DEFUN_DLD.
10392 (octave-beginning-of-defun): Small tweak.
10393 (octave-help): Show parent directory.
10394
10395 2013-05-21 Glenn Morris <rgm@gnu.org>
10396
10397 * files.el (dired-unmark):
10398 * progmodes/gud.el (gdb-input): Update declarations.
10399
10400 * calculator.el (electric, ehelp): No need to load when compiling.
10401 (Electric-command-loop, electric-describe-mode): Declare.
10402
10403 * doc-view.el (doc-view-current-converter-processes): Move before use.
10404
10405 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10406 Move MODE-set-explicitly definition before use.
10407
10408 * international/mule-diag.el (mule-diag):
10409 Don't use obsolete window-system-version.
10410
10411 * mail/feedmail.el (smtpmail): No need to load when compiling.
10412 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10413
10414 * mail/mail-utils.el (rfc822): No need to load when compiling.
10415 (rfc822-addresses): Autoload it.
10416 (mail-strip-quoted-names): Trivial simplification.
10417
10418 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10419 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10420
10421 * net/snmp-mode.el (tempo): Don't duplicate requires.
10422
10423 * progmodes/prolog.el (info): No need to load when compiling.
10424 (comint): Require before shell requires it.
10425 (Info-goto-node): Autoload it.
10426 (Info-follow-nearest-node): Declare.
10427 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10428
10429 * textmodes/artist.el (picture-mode-exit): Declare.
10430
10431 * textmodes/reftex-parse.el (reftex-parse-from-file):
10432 Trivial rewrite so the compiler can parse it better.
10433
10434 2013-05-20 Leo Liu <sdl.web@gmail.com>
10435
10436 * progmodes/octave.el (octave-help-mode-map)
10437 (octave-help-mode-finish-hook): New variables.
10438 (octave-help-mode, octave-help-mode-finish): New functions.
10439 (octave-help): Use octave-help-mode.
10440
10441 2013-05-20 Glenn Morris <rgm@gnu.org>
10442
10443 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10444
10445 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10446
10447 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10448 start at point, so that expansion starting right after opening
10449 slash in a regexp is recognized.
10450 (ruby-syntax-before-regexp-re): New defvar, extracted from
10451 ruby-syntax-propertize-function. Since the value of this regexp
10452 is looked up at runtime now, we should be able to turn
10453 `ruby-syntax-methods-before-regexp' into a defcustom later.
10454 (ruby-syntax-propertize-function): Split regexp matching into two
10455 parts, for opening and closing slashes. That allows us to skip
10456 over string interpolations and support multiline regexps.
10457 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10458 for them, which calls `ruby-syntax-propertize-expansion'.
10459 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10460 call to `ruby-syntax-propertize-function'.
10461 (ruby-syntax-propertize-expansion): Extracted from
10462 `ruby-syntax-propertize-expansions'. Handles one expansion.
10463 (ruby-syntax-propertize-percent-literal): Leave point right after
10464 the percent symbol, so that the expression expansion rule can
10465 propertize the contents.
10466 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10467 heredoc openers.
10468 (ruby-syntax-propertize-expansions): Remove.
10469
10470 2013-05-18 Juri Linkov <juri@jurta.org>
10471
10472 * man.el (Man-default-man-entry): Remove `-' from the end
10473 of the default value. (Bug#14400)
10474
10475 2013-05-18 Glenn Morris <rgm@gnu.org>
10476
10477 * comint.el (comint-password-prompt-regexp):
10478 Allow "password for XXX" where XXX contains colons (eg https://...).
10479
10480 2013-05-18 Leo Liu <sdl.web@gmail.com>
10481
10482 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10483 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10484 (octave-source-directories): Don't check process.
10485 (octave-source-directories, octave-find-definition): Doc fix.
10486
10487 2013-05-18 Glenn Morris <rgm@gnu.org>
10488
10489 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10490 Remove backspace/delete bindings. (Bug#14392)
10491
10492 * cus-dep.el (custom-make-dependencies): Sort the output.
10493 (custom-versions-load-alist): Convert comment to doc.
10494
10495 2013-05-17 Leo Liu <sdl.web@gmail.com>
10496
10497 * newcomment.el (comment-search-backward): Stricter in finding
10498 comment start. (Bug#14303)
10499
10500 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10501 (octave-comment-start-skip): Properly anchored.
10502
10503 2013-05-17 Leo Liu <sdl.web@gmail.com>
10504
10505 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10506 Clean up when turned off. (Bug#14395)
10507 (smie--highlight-matching-block-overlay): No longer buffer-local.
10508 (smie-highlight-matching-block): Adjust.
10509
10510 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10511
10512 Doc string fix for "nanoseconds" (Bug#14406).
10513 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10514 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10515
10516 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10517
10518 * calc/calc-units.el (math-extract-units): Preserve powers
10519 of units.
10520
10521 2013-05-17 Leo Liu <sdl.web@gmail.com>
10522
10523 * subr.el (delete-consecutive-dups): New function.
10524 * ido.el (ido-set-matches-1): Use it.
10525 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10526 * ido.el (ido-remove-consecutive-dups): Remove.
10527
10528 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10529
10530 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10531 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10532 regexp-opt's `words'.
10533
10534 2013-05-16 Leo Liu <sdl.web@gmail.com>
10535
10536 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10537 (smie--highlight-matching-block-overlay)
10538 (smie--highlight-matching-block-lastpos)
10539 (smie--highlight-matching-block-timer): New variables.
10540 (smie-highlight-matching-block): New function.
10541 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10542 (smie-setup): Conditionally enable smie-blink-matching-open.
10543
10544 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10545
10546 Sync with upstream verilog-mode r840.
10547 * progmodes/verilog-mode.el (verilog-mode-version)
10548 (verilog-mode-release-date): Update.
10549 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10550 (verilog-sig-tieoff): Fix string error on
10551 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10552 (verilog-read-decls): Fix parameters confusing
10553 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10554
10555 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10556
10557 * subr.el (reveal-filename): New function.
10558
10559 * loadup.el: Compute Emacs executable versions on MS-Windows,
10560 where executables have the .exe extension. Add a hard link
10561 emacs-XX.YY.ZZ.exe on MS-Windows.
10562
10563 * Makefile.in (XARGS_LIMIT): New variable.
10564 (custom-deps, finder-data, autoloads)
10565 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10566 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10567 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10568 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10569
10570 2013-05-16 Leo Liu <sdl.web@gmail.com>
10571
10572 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10573 (octave-mode-menu, octave-mode-map): Remove its uses.
10574
10575 2013-05-16 Reto Zimmermann <reto@gnu.org>
10576
10577 Sync with upstream vhdl mode v3.34.2.
10578 * progmodes/vhdl-mode.el: Use `push' throughout.
10579 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10580 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10581 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10582 (vhdl-actual-generic-name): New option to derive actual generic name.
10583 (vhdl-port-paste-signals): Replace formal by actual generics.
10584 (vhdl-beautify): New name for old group vhdl-align. Update users.
10585 (vhdl-beautify-options): New option.
10586 (vhdl-last-input-event): New compat alias. Use throughout.
10587 (vhdl-goto-line): Replace user level function `goto-line'.
10588 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10589 vhdl-fix-statement-buffer.
10590 (vhdl-create-mode-menu): Add some entries.
10591 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10592 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10593 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10594 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10595 to force statements on one line.
10596 (vhdl-remove-trailing-spaces-region):
10597 New, split from vhdl-remove-trailing-spaces.
10598 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10599 Respect vhdl-beautify-options.
10600 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10601 (vhdl-update-sensitivity-list): Not add with index if exists without.
10602 Not include array index with signal. Ignore keywords in comments.
10603 (vhdl-get-visible-signals): Regexp tweaks.
10604 (vhdl-template-component-inst): Handle empty library.
10605 (vhdl-template-type): Add template for 'enum' type.
10606 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10607 Use vhdl-replace-string.
10608 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10609 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10610 (vhdl-speedbar-initialize): Update for above name change.
10611 (vhdl-compose-wire-components): Fix in handling of constants.
10612 (vhdl-error-regexp-emacs-alist): New variable.
10613 (vhdl-error-regexp-add-emacs): New function;
10614 adds support for new compile.el (Emacs 22+)
10615 (vhdl-generate-makefile-1): Change target order for single lib. units.
10616 Allow use of absolute file names.
10617
10618 2013-05-16 Leo Liu <sdl.web@gmail.com>
10619
10620 * simple.el (prog-indent-sexp): Indent enclosing defun.
10621
10622 2013-05-15 Glenn Morris <rgm@gnu.org>
10623
10624 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10625 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10626 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10627 (whitespace-highlight): Move to whitespace group.
10628
10629 * comint.el (comint-source):
10630 * pcmpl-linux.el (pcmpl-linux):
10631 * shell.el (shell-faces):
10632 * eshell/esh-opt.el (eshell-opt):
10633 * international/ccl.el (ccl): Remove empty custom groups.
10634
10635 * completion.el (dynamic-completion-mode):
10636 * jit-lock.el (jit-lock-debug-mode):
10637 * minibuffer.el (completion-in-region-mode):
10638 * type-break.el (type-break-mode-line-message-mode)
10639 (type-break-query-mode):
10640 * emulation/tpu-edt.el (tpu-edt-mode):
10641 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10642 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10643 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10644
10645 * term/xterm.el (xterm): Change parent group to terminals.
10646
10647 * master.el (master): Remove empty custom group.
10648 (master-mode): Remove unused :group argument.
10649 * textmodes/refill.el (refill): Remove empty custom group.
10650 (refill-mode): Remove unused :group argument.
10651
10652 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10653
10654 * cus-dep.el: Provide a feature.
10655 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10656 Don't mistakenly ignore files whose basenames match a basename
10657 from preloaded-file-list (eg cedet/ede/simple.el).
10658 Add a fallback method for getting :group.
10659
10660 2013-05-15 Juri Linkov <juri@jurta.org>
10661
10662 * isearch.el (isearch-char-by-name): Rename from
10663 `isearch-insert-char-by-name'. Doc fix.
10664 (isearch-forward): Mention `isearch-char-by-name' in
10665 the docstring. (Bug#13348)
10666
10667 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10668 `exit-minibuffer' instead of
10669 `isearch-nonincremental-exit-minibuffer'.
10670 (isearch-edit-string): Remove mention of
10671 `isearch-nonincremental-exit-minibuffer' from docstring.
10672 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10673 (isearch-forward-exit-minibuffer)
10674 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10675
10676 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * loadup.el: Just use unversioned DOC.
10679
10680 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10681 literals as extending to EOB.
10682 (nxml-last-fontify-end): Remove unused variable.
10683 (nxml-after-change1): Use with-silent-modifications.
10684 (nxml-extend-after-change-region): Simplify.
10685 (nxml-extend-after-change-region1): Remove function.
10686 (nxml-after-change1): Don't adjust for dependent regions.
10687 (nxml-fontify-matcher): Simplify.
10688 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10689 (xmltok-add-dependent): Remove function.
10690 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10691 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10692 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10693 unclosed <[[, <?, comment, and other literals as extending to EOB.
10694 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10695 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10696 Remove functions.
10697 (rng-do-some-validation-1): Don't mark dependent regions.
10698 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10699 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10700 (nxml-clear-dependent-regions): Remove functions.
10701 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10702 (nxml-ensure-scan-up-to-date):
10703 Don't clear&mark dependent regions.
10704
10705 2013-05-15 Leo Liu <sdl.web@gmail.com>
10706
10707 * progmodes/octave.el (octave-goto-function-definition):
10708 Improve and fix callers.
10709
10710 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10713 the setter (bug#14387).
10714
10715 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10716 surrounding group (bug#14402).
10717
10718 2013-05-14 Juri Linkov <juri@jurta.org>
10719
10720 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10721 (Bug#14390)
10722
10723 2013-05-14 Glenn Morris <rgm@gnu.org>
10724
10725 * progmodes/f90.el (f90-imenu-generic-expression):
10726 Fix typo in 2013-05-08 change. (Bug#14402)
10727
10728 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10729
10730 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10731 Remove signals for which replies are never received.
10732
10733 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10734
10735 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10736 (gdb-handler-alist, gdb-handler-number): Remove variables.
10737 (gdb-handler-list): New variable.
10738 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10739 (gdb-pending-handler-p, gdb-handle-reply)
10740 (gdb-remove-all-pending-triggers): New functions.
10741 (gdb-discard-unordered-replies): New defcustom.
10742 (gdb-handler): New defstruct.
10743 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10744 instead of gdb-pending-triggers. Update docstring.
10745 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10746 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10747 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10748 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10749 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10750 (gdb-frame-handler): Pending triggers are now automatically managed.
10751 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10752 Remove argument.
10753 (gdb-input): Automatically handles pending triggers. Update docstring.
10754 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10755 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10756 Update comments.
10757 (gdb-done-or-error): Now use gdb-handle-reply.
10758
10759 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10760
10761 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10762 gdb-debug-log.
10763
10764 2013-05-14 Glenn Morris <rgm@gnu.org>
10765
10766 * subr.el (user-emacs-directory-warning): New option.
10767 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10768
10769 2013-05-14 Leo Liu <sdl.web@gmail.com>
10770
10771 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10772 during redisplay.
10773 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10774 (octave-font-lock-texinfo-comment): Fix invalid search bound
10775 error: wrong side of point.
10776
10777 2013-05-14 Glenn Morris <rgm@gnu.org>
10778
10779 * progmodes/flymake.el (flymake-xml-program): New option.
10780 (flymake-xml-init): Use it.
10781
10782 * term/xterm.el: Provide a feature.
10783
10784 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10785
10786 2013-05-13 Glenn Morris <rgm@gnu.org>
10787
10788 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10789 Add compat aliases as a hack workaround. (Bug#14384)
10790
10791 2013-05-13 Leo Liu <sdl.web@gmail.com>
10792
10793 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10794 ###, and %!.
10795 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10796 C-M-q.
10797 (octave-comment-start-skip): Include %!.
10798 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10799
10800 2013-05-12 Leo Liu <sdl.web@gmail.com>
10801
10802 * progmodes/octave.el (inferior-octave-startup): Store the value
10803 of __octave_srcdir__ for octave-source-directories.
10804 (inferior-octave-check-process): New function refactored out of
10805 inferior-octave-send-list-and-digest.
10806 (octave-source-directories)
10807 (octave-find-definition-filename-function): New variables.
10808 (octave-source-directories)
10809 (octave-find-definition-default-filename): New functions.
10810 (octave-find-definition): Improve to find functions implemented in C++.
10811
10812 2013-05-12 Glenn Morris <rgm@gnu.org>
10813
10814 * calendar/diary-lib.el (diary-outlook-format-1):
10815 Don't include dayname in the output. (Bug#14349)
10816
10817 2013-05-11 Glenn Morris <rgm@gnu.org>
10818
10819 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10820
10821 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10822 Treat cc-provide like provide.
10823
10824 2013-05-11 Kevin Ryde <user42@zip.com.au>
10825
10826 * cus-dep.el (custom-make-dependencies):
10827 Use generated-autoload-load-name for the sake of files such
10828 such cedet/semantic/bovine/c.el, where the base file name
10829 is not in load-path. (Bug#5277)
10830
10831 2013-05-11 Glenn Morris <rgm@gnu.org>
10832
10833 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10834 Provide features.
10835
10836 2013-05-11 Leo Liu <sdl.web@gmail.com>
10837
10838 * progmodes/octave.el (octave-indent-comment): Improve.
10839 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10840 (octave-eldoc-function-signatures, octave-eldoc-function):
10841 New functions.
10842 (octave-mode, inferior-octave-mode): Add eldoc support.
10843
10844 2013-05-11 Richard Stallman <rms@gnu.org>
10845
10846 * epa.el (epa-decrypt-file): Take output file name as argument
10847 and read it using `interactive'.
10848
10849 2013-05-11 Leo Liu <sdl.web@gmail.com>
10850
10851 * progmodes/octave.el (octave-beginning-of-line)
10852 (octave-end-of-line): Check before using up-list because it jumps
10853 out of more syntactic contructs since moving to smie.
10854 (octave-indent-comment): New function.
10855 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10856 (octave-begin-keywords, octave-end-keywords)
10857 (octave-reserved-words, octave-smie-bnf-table)
10858 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10859
10860 2013-05-11 Glenn Morris <rgm@gnu.org>
10861
10862 * faces.el (internal-face-x-get-resource):
10863 * frame.el (ns-display-monitor-attributes-list):
10864 * calc/calc-aent.el (math-to-radians-2):
10865 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10866 Fix declarations.
10867
10868 * calc/calc-menu.el: Make it loadable in isolation.
10869
10870 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10871 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10872 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10873 (eudc-bbdb-query-internal): Require 'bbdb.
10874
10875 * lpr.el (lpr-headers-switches):
10876 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10877
10878 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10879
10880 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10881
10882 * term.el (term-set-escape-char): Make it idempotent.
10883
10884 2013-05-10 Leo Liu <sdl.web@gmail.com>
10885
10886 * progmodes/octave.el (inferior-octave-completion-table):
10887 No longer a function and all uses changed. Use cache to speed up
10888 completion due to bug#11906.
10889 (octave-beginning-of-defun): Re-write to be more general.
10890
10891 2013-05-10 Glenn Morris <rgm@gnu.org>
10892
10893 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10894
10895 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * comint.el (comint-redirect-send-command-to-process): Use :around
10898 rather than :override for comint-redirect-filter.
10899 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10900 Call it instead of comint-redirect-original-filter-function (which
10901 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10902
10903 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10904
10905 * frame.el (display-monitor-attributes-list): Add NS case.
10906 (ns-display-monitor-attributes-list): Declare.
10907
10908 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10909
10910 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10911
10912 2013-05-09 Glenn Morris <rgm@gnu.org>
10913
10914 * international/fontset.el (vertical-centering-font-regexp):
10915 Set standard-value.
10916
10917 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10918
10919 * bookmark.el (bookmark-search-delay):
10920 * cus-start.el (vertical-centering-font-regexp):
10921 * ps-mule.el (ps-mule-font-info-database-default):
10922 * ps-print.el (ps-default-fg, ps-default-bg):
10923 * type-break.el (type-break-good-break-interval):
10924 * whitespace.el (whitespace-indentation-regexp)
10925 (whitespace-space-after-tab-regexp):
10926 * emacs-lisp/testcover.el (testcover-1value-functions)
10927 (testcover-noreturn-functions, testcover-progn-functions)
10928 (testcover-prog1-functions):
10929 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10930 * eshell/em-glob.el (eshell-glob-translate-alist):
10931 * play/tetris.el (tetris-tty-colors):
10932 * progmodes/cpp.el (cpp-face-default-list):
10933 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10934 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10935 (idlwave-help-browser-generic-args):
10936 * progmodes/make-mode.el (makefile-special-targets-list):
10937 * progmodes/python.el (python-shell-virtualenv-path):
10938 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10939 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10940 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10941 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10942 * textmodes/reftex-vars.el (reftex-format-label-function):
10943 * textmodes/remember.el (remember-diary-file): Fix custom types.
10944
10945 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10946 Add :version.
10947
10948 2013-05-09 Leo Liu <sdl.web@gmail.com>
10949
10950 * progmodes/octave.el (inferior-octave-completion-at-point):
10951 Restore file completion. (Bug#14300)
10952 (inferior-octave-startup): Fix incorrect highlighting for the
10953 first prompt.
10954
10955 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * progmodes/ruby-mode.el: First cut at SMIE support.
10958 (ruby-use-smie): New var.
10959 (ruby-smie-grammar): New constant.
10960 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10961 (ruby-smie--forward-token, ruby-smie--backward-token)
10962 (ruby-smie-rules): New functions.
10963 (ruby-mode-variables): Setup SMIE if applicable.
10964
10965 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10966
10967 * simple.el (line-move-visual): Signal beginning/end of buffer
10968 only if vertical-motion moved less than it was requested. Avoids
10969 silly incorrect error messages when there are display strings with
10970 multiple newlines at EOL.
10971
10972 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10975 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10976 (prolog-char-quote-workaround):
10977 * progmodes/cperl-mode.el (cperl-under-as-char):
10978 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10979 Mark as obsolete.
10980 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10981 their declaration.
10982 (vhdl-mode-syntax-table-init): Remove.
10983
10984 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10985 last change.
10986
10987 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10988 syntax for "_".
10989 (ld-script-font-lock-keywords):
10990 Change regexps to use things like \_< and \_>.
10991
10992 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10993 Change all regexps to use things like \_< and \_>.
10994
10995 * progmodes/autoconf.el (autoconf-definition-regexp)
10996 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10997 Handle a _ with symbol syntax.
10998 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10999
11000 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11001 Consolidate declaration.
11002 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11003 the declaration.
11004 (ada-create-syntax-table): Remove.
11005 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11006 already has the right syntax nowadays.
11007 (ada-goto-next-word): Don't change the syntax of "_".
11008
11009 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11010 with-wrapper-hook.
11011
11012 2013-05-08 Sam Steingold <sds@gnu.org>
11013
11014 * thingatpt.el (thing-at-point): Accept optional second argument
11015 NO-PROPERTIES to strip the text properties from the return value.
11016 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11017 to `thing-at-point' instead of stripping the properties ourselves.
11018 Also, when `thing-at-point' fails to find a url, prepend "http://"
11019 to the filename at point on the assumption that the user is
11020 pointing at something like gnu.org/gnu.
11021
11022 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11023
11024 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11025 * faces.el (crm-separator):
11026 Silence byte-compiler.
11027
11028 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11029 (tool-bar-map): Remove unneeded defvars.
11030
11031 2013-05-08 Leo Liu <sdl.web@gmail.com>
11032
11033 Re-work a fix for bug#10994 based on Le Wang's patch.
11034 * ido.el (ido-remove-consecutive-dups): New helper.
11035 (ido-completing-read): Use it.
11036 (ido-chop): Revert fix for bug#10994.
11037
11038 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11039
11040 * cus-edit.el (custom-save-variables):
11041 Pretty-print long values. (Bug#14187)
11042
11043 2013-05-08 Glenn Morris <rgm@gnu.org>
11044
11045 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11046 (m4-mode-syntax-table): Init in the defvar.
11047 (m4-mode-abbrev-table): Let define-derived-mode define it.
11048
11049 2013-05-08 Tom Tromey <tromey@redhat.com>
11050
11051 * progmodes/m4-mode.el (m4-mode-syntax-table):
11052 Do not treat "_" as word constituent. (Bug#14167)
11053
11054 2013-05-07 Glenn Morris <rgm@gnu.org>
11055
11056 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11057 Remove explicit eshell-isearch-cancel-map.
11058
11059 * progmodes/f90.el (f90-smart-end-names): New option.
11060 (f90-smart-end): Doc fix.
11061 (f90-end-block-optional-name): New constant.
11062 (f90-block-match): Respect f90-smart-end-names.
11063
11064 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11067 about implicit semi-colons (bug#14218).
11068
11069 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11070
11071 * frame.el (display-monitor-attributes-list)
11072 (frame-monitor-attributes): New functions.
11073
11074 2013-05-06 Leo Liu <sdl.web@gmail.com>
11075
11076 * progmodes/octave.el (octave-syntax-propertize-function): Change
11077 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11078 (octave-font-lock-keywords): Use octave-operator-regexp.
11079 (octave-completion-at-point): Rename from
11080 octave-completion-at-point-function.
11081 (inferior-octave-directory-tracker): Robustify.
11082 (octave-text-functions): Remove and fix its uses. No such things
11083 any more.
11084
11085 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/trace.el (trace--display-buffer): New function.
11088 (trace-make-advice): Use it.
11089
11090 2013-05-06 Juri Linkov <juri@jurta.org>
11091
11092 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11093 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11094 Doc fix.
11095 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11096 in the help string. (Bug#12985)
11097
11098 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11099
11100 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11101
11102 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11103
11104 * progmodes/perl-mode.el: Add support for here documents.
11105 (perl-syntax-propertize-function): Match here-doc markers.
11106 (perl-syntax-propertize-special-constructs): Find their end.
11107 (perl-imenu-generic-expression): Use [:alnum:].
11108
11109 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11110 (advice--add-function): Refresh the advice if already present
11111 (bug#14317).
11112
11113 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11114
11115 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11116
11117 2013-05-06 Glenn Morris <rgm@gnu.org>
11118
11119 * w32-fns.el (w32-charset-info-alist): Declare.
11120
11121 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11122 of its defcustom properties.
11123 (eshell-cmpl-initialize): No need to load pcomplete.
11124
11125 * generic-x.el: No need to require comint when compiling.
11126
11127 * net/eudc-export.el: Make it loadable without bbdb.
11128 (top-level): Use require rather than load-library.
11129 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11130 (eudc-batch-export-records-to-bbdb)
11131 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11132 Require bbdb.
11133
11134 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11137 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11138 some tweaks, instead.
11139
11140 2013-05-05 Leo Liu <sdl.web@gmail.com>
11141
11142 * progmodes/octave.el (octave-font-lock-keywords)
11143 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11144 (inferior-octave-send-list-and-digest): Improve error message.
11145 (octave-mode, inferior-octave-mode): Use setq-local.
11146 (octave-help): Set info-lookup-mode.
11147
11148 2013-05-05 Richard Stallman <rms@gnu.org>
11149
11150 * vc/compare-w.el (compare-windows-whitespace):
11151 Treat no-break space as whitespace.
11152
11153 * mail/rmailsum.el (rmail-summary-rmail-update):
11154 Detect empty summary and don't change selected message.
11155 (rmail-summary-goto-msg): Likewise.
11156
11157 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11158 Doc fixes, rename args.
11159
11160 2013-05-05 Alan Mackenzie <acm@muc.de>
11161
11162 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11163
11164 2013-05-05 Juri Linkov <juri@jurta.org>
11165
11166 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11167 to not add the length of the summary segment to the return value.
11168 (Bug#14125)
11169
11170 2013-05-05 Leo Liu <sdl.web@gmail.com>
11171
11172 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11173 (inferior-octave-output-filter): Remove.
11174 (octave-send-region, inferior-octave-startup): Fix callers.
11175 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11176 (octave-binary-file-extensions): New user variable.
11177 (octave-find-definition): Confirm if opening binary files.
11178 (octave-help-file): Use octave-find-definition to get the binary
11179 confirmation.
11180 (octave-help): Adjust for octave-help-file change.
11181
11182 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11183
11184 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11185 Merge the two entries that handle function definitions.
11186 (pascal--syntax-propertize): New const.
11187 (pascal-mode): Use it. Use setq-local.
11188
11189 2013-05-04 Glenn Morris <rgm@gnu.org>
11190
11191 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11192 (diary-from-outlook): Respect diary-from-outlook-function.
11193
11194 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11195
11196 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11197 Move the declaration from C.
11198 (read-minibuffer, eval-minibuffer): Move from C.
11199 (completion-setup-function): Avoid minibuffer-completion-contents.
11200
11201 2013-05-03 Leo Liu <sdl.web@gmail.com>
11202
11203 * progmodes/octave.el (octave-font-lock-keywords): Do not
11204 dehighlight 'end' in comments or strings.
11205 (octave-completing-read, octave-goto-function-definition):
11206 New helpers.
11207 (octave-help-buffer): New user variable.
11208 (octave-help-file, octave-help-function): New button types.
11209 (octave-help): New command and bind it to C-h ;.
11210 (octave-find-definition): New command and bind it to M-.
11211 (user-error): Alias to error if not defined.
11212
11213 2013-05-02 Leo Liu <sdl.web@gmail.com>
11214
11215 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11216 for \. (bug#14332)
11217 (octave-font-lock-keywords): Include [ and {.
11218
11219 2013-05-02 Leo Liu <sdl.web@gmail.com>
11220
11221 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11222 (inferior-octave): Remove calling comint-mode and return the buffer.
11223 (inferior-octave-startup): Cosmetic changes.
11224
11225 2013-05-02 Leo Liu <sdl.web@gmail.com>
11226
11227 * progmodes/octave.el (octave-syntax-propertize-function):
11228 Include the case when ' is at line beginning. (Bug#14336)
11229
11230 2013-05-02 Glenn Morris <rgm@gnu.org>
11231
11232 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11233 * desktop.el (vc-dir-mode): Just autoload it here.
11234
11235 2013-05-02 Alan Mackenzie <acm@muc.de>
11236
11237 Eliminate variable c-standard-font-lock-fontify-region-function.
11238 * progmodes/cc-mode.el
11239 (c-standard-font-lock-fontify-region-function): Remove.
11240 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11241
11242 2013-05-01 Leo Liu <sdl.web@gmail.com>
11243
11244 * progmodes/octave.el: Compatible with older emacs-24 releases.
11245 (inferior-octave-has-built-in-variables): Remove. Built-in
11246 variables were removed from Octave in 2007.
11247 (inferior-octave-startup): Fix uses.
11248 (comint-line-beginning-position): Remove compatibility code for
11249 emacs 21.
11250
11251 2013-05-01 Juri Linkov <juri@jurta.org>
11252
11253 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11254
11255 2013-05-01 Juri Linkov <juri@jurta.org>
11256
11257 * comint.el (comint-previous-matching-input): Don't print message
11258 "History item: %d" when `isearch-mode' is active.
11259 (comint-history-isearch-message): Print message "History item: %d"
11260 when `comint-input-ring-index' is not empty and this function is
11261 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11262
11263 2013-05-01 Leo Liu <sdl.web@gmail.com>
11264
11265 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11266 definitions. Use completion-at-point to insert keywords.
11267 (octave-abbrev-start): Remove.
11268 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11269
11270 2013-04-30 Leo Liu <sdl.web@gmail.com>
11271
11272 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11273 change.
11274
11275 2013-04-30 Alan Mackenzie <acm@muc.de>
11276
11277 Handle arbitrarily long C++ member initialisation lists.
11278 * progmodes/cc-engine.el (c-back-over-member-initializers):
11279 new function.
11280 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11281 (most) member init lists.
11282
11283 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11284
11285 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11286 variable.
11287
11288 2013-04-30 Leo Liu <sdl.web@gmail.com>
11289
11290 * progmodes/octave.el (octave-variables): Remove. No builtin
11291 variables any more. All converted to functions.
11292 (octave-font-lock-keywords, octave-completion-at-point-function):
11293 Fix uses.
11294 (octave-font-lock-texinfo-comment): New user variable.
11295 (octave-texinfo-font-lock-keywords): New variable for texinfo
11296 comment block.
11297 (octave-function-comment-block): New face.
11298 (octave-font-lock-texinfo-comment): New function.
11299 (octave-mode): Font lock texinfo comment block.
11300
11301 2013-04-29 Leo Liu <sdl.web@gmail.com>
11302
11303 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11304 indexing expression.
11305 (octave-continuation-string): Do not use \.
11306 (inferior-octave-complete-impossible): Remove.
11307 (inferior-octave-completion-table)
11308 (inferior-octave-completion-at-point): Remove its uses.
11309 (inferior-octave-startup): completion_matches was introduced to
11310 Octave in 1996 so safe to assume it.
11311 (octave-function-file-comment): Improve to follow how Octave does it.
11312 (octave-update-function-file-comment): Tweak.
11313
11314 2013-04-29 Leo Liu <sdl.web@gmail.com>
11315
11316 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11317 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11318 (octave-function-file-comment): Fix typo.
11319 (octave-sync-function-file-names): Use read-char-choice.
11320
11321 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11322
11323 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11324 to t for the less important warnings.
11325
11326 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11327
11328 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11329
11330 2013-04-27 Glenn Morris <rgm@gnu.org>
11331
11332 * vc/log-view.el (log-view-current-entry):
11333 Treat "---" separator lines as part of the following rev. (Bug#14169)
11334
11335 2013-04-27 Juri Linkov <juri@jurta.org>
11336
11337 * subr.el (read-number): Doc fix about using it by interactive
11338 code letter `n'. (Bug#14254)
11339
11340 2013-04-27 Juri Linkov <juri@jurta.org>
11341
11342 * desktop.el (desktop-auto-save-timeout): New option.
11343 (desktop-file-checksum): New variable.
11344 (desktop-save): Add optional arg `auto-save' and don't auto-save
11345 if nothing changed.
11346 (desktop-auto-save-timer): New variable.
11347 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11348 (after-init-hook): Call `desktop-auto-save-set-timer'.
11349 Suggested by Reuben Thomas <rrt@sc3d.org> in
11350 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11351
11352 2013-04-27 Leo Liu <sdl.web@gmail.com>
11353
11354 * progmodes/octave.el (octave-function-file-p)
11355 (octave-skip-comment-forward, octave-function-file-comment)
11356 (octave-update-function-file-comment): New functions.
11357 (octave-mode-map): Bind C-c ; to
11358 octave-update-function-file-comment.
11359 (octave-mode-menu): Add octave-update-function-file-comment.
11360 (octave-mode, inferior-octave-mode): Fix doc-string.
11361 (octave-insert-defun): Conform to Octave's coding convention.
11362 (Bug#14285)
11363
11364 * files.el (basic-save-buffer): Don't let errors in
11365 before-save-hook prevent saving buffer.
11366
11367 2013-04-20 Roland Winkler <winkler@gnu.org>
11368
11369 * faces.el (read-face-name): Use completing-read if arg multiple
11370 is nil.
11371
11372 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11373
11374 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11375 displayed, move point to after the totals line.
11376 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11377 for the details.
11378
11379 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11382 Add current dir to the load-path.
11383 (package-generate-autoloads): Don't rely on
11384 autoload-ensure-default-file.
11385
11386 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11387
11388 * textmodes/remember.el (remember-store-in-files): Document that
11389 the file name format is passed to `format-time-string'.
11390
11391 2013-04-26 Leo Liu <sdl.web@gmail.com>
11392
11393 * progmodes/octave.el (octave-sync-function-file-names): New function.
11394 (octave-mode): Use it in before-save-hook.
11395
11396 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11397
11398 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11399 (bug#14274).
11400
11401 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11402 \n and comment, even if it's not an implicit ; (bug#14218).
11403
11404 2013-04-26 Glenn Morris <rgm@gnu.org>
11405
11406 * subr.el (read-number): Once more use `read' rather than
11407 `string-to-number', to trap non-numeric input. (Bug#14254)
11408
11409 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11410
11411 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11412 Use `syntax-multiline' text property consistently instead of
11413 `font-lock-multiline'. (Bug#14237)
11414
11415 2013-04-26 Glenn Morris <rgm@gnu.org>
11416
11417 * emacs-lisp/shadow.el (list-load-path-shadows):
11418 No longer necessary to check for duplicate simple.el, since
11419 2012-07-07 change to init_lread to not include installation lisp
11420 directories in load-path when running uninstalled. (Bug#14270)
11421
11422 2013-04-26 Leo Liu <sdl.web@gmail.com>
11423
11424 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11425 (octave-mode, inferior-octave-mode): Use setq-local.
11426 (octave-not-in-string-or-comment-p): Rename to
11427 octave-in-string-or-comment-p.
11428 (octave-in-comment-p, octave-in-string-p)
11429 (octave-in-string-or-comment-p): Replace defsubst with defun.
11430
11431 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11432
11433 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11434
11435 2013-04-25 Bastien Guerry <bzg@gnu.org>
11436
11437 * textmodes/remember.el (remember-data-directory)
11438 (remember-directory-file-name-format): Fix custom types.
11439
11440 2013-04-25 Leo Liu <sdl.web@gmail.com>
11441
11442 * progmodes/octave.el (octave-completion-at-point-function):
11443 Make use of inferior octave process.
11444 (octave-initialize-completions): Remove.
11445 (inferior-octave-completion-table): New function.
11446 (inferior-octave-completion-at-point): Use it.
11447 (octave-completion-alist): Remove.
11448
11449 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11452 (opascal-mode-syntax-table): New var.
11453 (opascal-literal-kind, opascal-is-literal-end)
11454 (opascal-literal-token-at): Rewrite.
11455 (opascal--literal-start-re, opascal-font-lock-keywords)
11456 (opascal--syntax-propertize): New constants.
11457 (opascal-font-lock-defaults): Adjust.
11458 (opascal-mode): Use them. Set comment-<foo> variables as well.
11459 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11460 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11461 (delphi-other-face, opascal-other-face): Remove face variables.
11462 (opascal-save-state): Remove macro.
11463 (opascal-fontifying-progress-step): Remove constant.
11464 (opascal--ignore-changes): Remove var.
11465 (opascal-set-token-property, opascal-parse-next-literal)
11466 (opascal-is-stable-literal, opascal-complete-literal)
11467 (opascal-is-literal-start, opascal-face-of)
11468 (opascal-parse-region, opascal-parse-region-until-stable)
11469 (opascal-fontify-region, opascal-after-change)
11470 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11471 (opascal-debug-parse-region, opascal-debug-parse-window)
11472 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11473 (opascal-debug-fontify-buffer): Remove.
11474 (opascal-debug-mode-map): Adjust accordingly.
11475
11476 2013-04-25 Leo Liu <sdl.web@gmail.com>
11477
11478 Merge octave-mod.el and octave-inf.el into octave.el with some
11479 cleanups.
11480 * progmodes/octave.el: New file renamed from octave-mod.el.
11481 * progmodes/octave-inf.el: Merged into octave.el.
11482 * progmodes/octave-mod.el: Renamed to octave.el.
11483
11484 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11485
11486 * textmodes/reftex-vars.el
11487 (reftex-label-ignored-macros-and-environments): New defcustom.
11488
11489 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11490
11491 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11494 (smie-indent-keyword): Improve the check to ensure that the next
11495 comment is really on the same line.
11496 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11497
11498 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11499 semi-colons if the line is not otherwise empty (bug#14218).
11500
11501 2013-04-25 Glenn Morris <rgm@gnu.org>
11502
11503 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11504
11505 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * progmodes/opascal.el (opascal-set-token-property): Rename from
11508 opascal-set-text-properties and only set `token' (bug#14134).
11509 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11510 (opascal-literal-text-properties): Remove.
11511 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11512 Adjust callers.
11513
11514 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11515
11516 * textmodes/remember.el (remember-handler-functions): Add an
11517 option for a new handler `remember-store-in-files'.
11518 (remember-data-directory, remember-directory-file-name-format):
11519 New options.
11520 (remember-store-in-files): New function to store remember notes
11521 as separate files within a directory.
11522
11523 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11524
11525 * progmodes/compile.el (compilation-next-error-function):
11526 Pass "formats" to compilation-find-file (bug#11777).
11527
11528 2013-04-24 Glenn Morris <rgm@gnu.org>
11529
11530 * vc/vc-bzr.el (vc-bzr-print-log):
11531 * vc/vc-hg.el (vc-hg-print-log):
11532 * vc/vc-svn.el (vc-svn-print-log):
11533 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11534
11535 * vc/vc-bzr.el (vc-bzr-print-log):
11536 * vc/vc-cvs.el (vc-cvs-print-log):
11537 * vc/vc-git.el (vc-git-print-log):
11538 * vc/vc-hg.el (vc-hg-print-log):
11539 * vc/vc-mtn.el (vc-mtn-print-log):
11540 * vc/vc-rcs.el (vc-rcs-print-log):
11541 * vc/vc-sccs.el (vc-sccs-print-log):
11542 * vc/vc-svn.el (vc-svn-print-log):
11543 * vc/vc.el (vc-print-log-internal): Doc fixes.
11544
11545 2013-04-23 Glenn Morris <rgm@gnu.org>
11546
11547 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11548 Remove venerable code attempting to avoid substitute-command-keys.
11549
11550 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11551
11552 * textmodes/reftex-vars.el (reftex-label-regexps):
11553 Call `reftex-compile-variables' after changes to this variable.
11554
11555 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11558 Use lexical-binding.
11559 (jit-lock-force-redisplay): Use markers, check buffer's continued
11560 existence and beware narrowed buffers.
11561 (jit-lock-fontify-now): Adjust call accordingly.
11562
11563 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11566 to avoid misleading the user.
11567
11568 2013-04-22 Leo Liu <sdl.web@gmail.com>
11569
11570 * info-look.el: Prefer latex2e.info. (Bug#14240)
11571
11572 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11573
11574 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11575
11576 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11577 * net/tramp.el (tramp-call-process): ... here.
11578 (tramp-set-completion-function, tramp-parse-putty):
11579 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11580 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11581 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11582 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11583 (tramp-call-local-coding-command): Use `tramp-call-process'
11584 instead of `tramp-compat-call-process'.
11585
11586 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11587 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11588 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11589 (tramp-find-inline-compress): Improve traces.
11590 (tramp-maybe-send-script): Check for Perl binary.
11591 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11592
11593 2013-04-22 Daiki Ueno <ueno@gnu.org>
11594
11595 * epg.el (epg-context-pinentry-mode): New function.
11596 (epg-context-set-pinentry-mode): New function.
11597 (epg--start): Pass --pinentry-mode option to gpg command.
11598
11599 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11600
11601 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11602 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11603 `completion-at-point'. (Bug#13774)
11604
11605 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11606 default key binding for `describe-distribution' has been moved to
11607 `C-h C-o'. (Bug#13970)
11608
11609 2013-04-21 Glenn Morris <rgm@gnu.org>
11610
11611 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11612 Add doc strings.
11613 (vc-print-log): Clarify interactive prompt.
11614
11615 2013-04-20 Glenn Morris <rgm@gnu.org>
11616
11617 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11618 No longer include timestamp etc information.
11619
11620 2013-04-20 Roland Winkler <winkler@gnu.org>
11621
11622 * faces.el (read-face-name): Bug fix, return just one face if arg
11623 multiple is nil. (Bug#14209)
11624
11625 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11628 (remove-function): Autoload.
11629
11630 * comint.el (comint-redirect-original-filter-function): Remove.
11631 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11632 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11633 (vc-cvs-annotate-command):
11634 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11635 * progmodes/prolog.el (prolog-consult-compile):
11636 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11637 Use add/remove-function instead.
11638 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11639 (gud-tooltip-process-output, gud-tooltip-tips):
11640 Use add/remove-function instead.
11641 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11642 (scheme-interaction-mode, exit-scheme-interaction-mode):
11643 Use add/remove-function instead.
11644
11645 * vc/vc-dispatcher.el: Use lexical-binding.
11646 (vc--process-sentinel): Rename from vc-process-sentinel.
11647 Change last arg to be the code to run. Don't use vc-previous-sentinel
11648 and vc-sentinel-commands any more.
11649 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11650 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11651
11652 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11653
11654 * progmodes/sh-script.el (sh-imenu-generic-expression):
11655 Handle function names with a single character. (Bug#14111)
11656
11657 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11658
11659 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11660 for subroutines defined in an eval (bug#14182).
11661
11662 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11663
11664 * bookmark.el (bookmark-completing-read): Improve handling of empty
11665 string (bug#14176).
11666
11667 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11670
11671 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11672
11673 New faster Imenu implementation (bug#14058).
11674 * progmodes/python.el:
11675 (python-imenu-prev-index-position):
11676 (python-imenu-format-item-label-function)
11677 (python-imenu-format-parent-item-label-function)
11678 (python-imenu-format-parent-item-jump-label-function):
11679 New vars.
11680 (python-imenu-format-item-label)
11681 (python-imenu-format-parent-item-label)
11682 (python-imenu-format-parent-item-jump-label)
11683 (python-imenu--put-parent, python-imenu--build-tree)
11684 (python-imenu-create-index, python-imenu-create-flat-index)
11685 (python-util-popn): New functions.
11686 (python-mode): Set imenu-create-index-function to
11687 python-imenu-create-index.
11688
11689 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * winner.el (winner-active-region): Use region-active-p, activate-mark
11692 and deactivate-mark (bug#14225).
11693
11694 * simple.el (deactivate-mark): Don't inline it.
11695
11696 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11699
11700 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11701
11702 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11703 file extensions from the archive-mode entry in order to prefer
11704 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11705
11706 2013-04-18 Leo Liu <sdl.web@gmail.com>
11707
11708 * bindings.el (help-event-list): Add ?\?.
11709
11710 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11711
11712 * subr.el (with-wrapper-hook): Declare obsolete.
11713 * simple.el (filter-buffer-substring-function): New hook.
11714 (filter-buffer-substring): Use it.
11715 (filter-buffer-substring-functions): Mark obsolete.
11716 * minibuffer.el (completion-in-region-function): New hook.
11717 (completion-in-region): Use it.
11718 (completion-in-region-functions): Mark obsolete.
11719 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11720 * abbrev.el (abbrev-expand-function): New hook.
11721 (expand-abbrev): Use it.
11722 (abbrev-expand-functions): Mark obsolete.
11723 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11724 and :filter-return.
11725
11726 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11727
11728 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11729 and do not care about match data.
11730
11731 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11732
11733 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11734 completion tables when completing error conditions and
11735 `declare' arguments.
11736 (lisp-complete-symbol, field-complete): Mark as obsolete.
11737 (check-parens): Unmatched parens are user errors.
11738 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11739
11740 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11741
11742 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11743 command changed buffer (ie. `flyspell-pre-buffer' is not current
11744 buffer), which prevents making decisions based on invalid value of
11745 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11746 cause an error when `flyspell-pre-point' was nil after switching
11747 buffers.
11748 (flyspell-post-command-hook): No longer needs to change buffers when
11749 checking pre-word. While at it remove unnecessary progn.
11750
11751 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11752
11753 * textmodes/ispell.el (ispell-add-per-file-word-list):
11754 Fix `flyspell-correct-word-before-point' error when accepting
11755 words and `coment-padding' is an integer by using
11756 `comment-normalize-vars' (Bug #14214).
11757
11758 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11759
11760 New defun movement commands.
11761 * progmodes/python.el (python-nav--syntactically)
11762 (python-nav--forward-defun, python-nav-backward-defun)
11763 (python-nav-forward-defun): New functions.
11764
11765 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11766
11767 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11768 (python-syntax-context): Use named compiler-macro for backwards
11769 compatibility with Emacs 24.x.
11770
11771 2013-04-17 Leo Liu <sdl.web@gmail.com>
11772
11773 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11774 octave-hide-process-buffer.
11775
11776 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11779 (bug#14216).
11780
11781 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11782
11783 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11784 Fix adjustment of offset when receiving incomplete responses from GDB
11785 (bug#14129).
11786
11787 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11788
11789 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11790 python-mode-abbrev-table.
11791 (python-skeleton-define): Adjust accordingly.
11792 (python-mode-abbrev-table): New table that inherits from it so that
11793 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11794
11795 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11796 (abbrev-symbol): Use it.
11797 (abbrev--before-point): Use it since we already handle inheritance.
11798
11799 2013-04-16 Leo Liu <sdl.web@gmail.com>
11800
11801 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11802 binding to info-lookup-symbol.
11803
11804 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * minibuffer.el (completion--twq-all):
11807 * term/ns-win.el (ns-initialize-window-system):
11808 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11809
11810 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11811
11812 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11813 global bindings.
11814
11815 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11816
11817 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11818
11819 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11820 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11821 to nil.
11822 (ruby-end-of-defun): Remove the unused arg, change the docstring
11823 to reflect that this function is only used as the value of
11824 `end-of-defun-function'.
11825 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11826 to reflect an earlier change that beginning/end-of-defun functions
11827 jump between methods in a class definition, as well as top-level
11828 functions.
11829
11830 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11831
11832 * minibuffer.el (minibuffer-complete): Don't just scroll
11833 a *Completions* that's been iconified.
11834 (minibuffer-force-complete): Make sure repetitions do cycle when going
11835 through completion-in-region -> minibuffer-complete.
11836
11837 2013-04-15 Alan Mackenzie <acm@muc.de>
11838
11839 Correct the placement of c-cpp-delimiters when there're #s not at
11840 col 0.
11841
11842 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11843 place a submatch around the #.
11844 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11845 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11846 on the #, not BOL.
11847
11848 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11849
11850 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11851 (advice--member-p): New arg `name'.
11852 (advice--add-function, advice-member-p): Use it (bug#14202).
11853
11854 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11855
11856 Reformulate java imenu-generic-expression.
11857 The old expression contained ill formed regexps.
11858
11859 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11860 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11861 (cc-imenu-java-method-arg-regexp): New defconsts.
11862 (cc-imenu-java-build-type-args-regex): New defun.
11863 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11864 handling of spaces in the regexp.
11865
11866 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11867
11868 * textmodes/ispell.el (ispell-command-loop): Remove
11869 flyspell highlight of a word when ispell accepts it (bug #14178).
11870
11871 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11872
11873 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11874 uses code from the previous `ange-ftp-run-real-handler'.
11875 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11876 only in case that function exist. This is needed for proper
11877 unloading of Tramp.
11878
11879 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11880
11881 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11882
11883 * textmodes/reftex.el (reftex-compile-variables): Use it.
11884
11885 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11886
11887 * files.el (normal-mode): Only use default major-mode if no other mode
11888 was specified.
11889
11890 * emacs-lisp/trace.el (trace-values): New function.
11891
11892 * files.el: Allow : in local variables (bug#14089).
11893 (hack-local-variable-regexp): New var.
11894 (hack-local-variables-prop-line, hack-local-variables): Use it.
11895
11896 2013-04-13 Roland Winkler <winkler@gnu.org>
11897
11898 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11899 data before it gets modified by bibtex-beginning-of-entry.
11900
11901 2013-04-13 Roland Winkler <winkler@gnu.org>
11902
11903 * textmodes/bibtex.el (bibtex-url): Doc fix.
11904
11905 2013-04-13 Roland Winkler <winkler@gnu.org>
11906
11907 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11908 does not visit a BibTeX file, exclude it from the list of buffers
11909 returned by bibtex-initialize.
11910
11911 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11912
11913 * window.el (split-window): Remove interactive form, since as a
11914 command this function is a special case of split-window-below.
11915 Correct doc string.
11916
11917 2013-04-12 Roland Winkler <winkler@gnu.org>
11918
11919 * faces.el (read-face-name): Do not override value of arg default.
11920 Allow single faces and strings as default values. Remove those
11921 elements from return value that are not faces.
11922 (describe-face): Simplify.
11923 (face-at-point): New optional args thing and multiple so that this
11924 function can provide the same functionality previously provided by
11925 read-face-name.
11926 (make-face-bold, make-face-unbold, make-face-italic)
11927 (make-face-unitalic, make-face-bold-italic, invert-face)
11928 (modify-face, read-face-and-attribute): Use face-at-point.
11929
11930 * cus-edit.el (customize-face, customize-face-other-window)
11931 * cus-theme.el (custom-theme-add-face)
11932 * face-remap.el (buffer-face-set)
11933 * facemenu.el (facemenu-set-face): Use face-at-point.
11934
11935 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11936
11937 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11938
11939 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11940
11941 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11942 off leading { and trailing } from field values.
11943
11944 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11945
11946 * emacs-lisp/timer.el (timer--check): New function.
11947 (timer--time, timer-set-function, timer-event-handler): Use it.
11948 (timer-set-idle-time): Simplify.
11949 (timer--activate): CSE.
11950 (timer-event-handler): Give more info in error message.
11951 (internal-timer-start-idle): New function, moved from C.
11952
11953 * mpc.el (mpc-proc): Add `restart' argument.
11954 (mpc-proc-cmd): Use it.
11955 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11956 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11957 less often.
11958
11959 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11960
11961 * progmodes/sh-script.el: Implement `sh-mode' own
11962 `add-log-current-defun-function' (bug#14112).
11963 (sh-current-defun-name): New function.
11964 (sh-mode): Use the function.
11965
11966 2013-04-09 Bastien Guerry <bzg@gnu.org>
11967
11968 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11969
11970 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11971
11972 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11973
11974 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11975 timer (bug#14156).
11976
11977 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11978
11979 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11980 declaration.
11981
11982 2013-04-07 Leo Liu <sdl.web@gmail.com>
11983
11984 * pcmpl-x.el: New file.
11985
11986 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11987
11988 Do not set x-display-name until X connection is established.
11989 This is needed to prevent from weird situation described at
11990 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11991 * frame.el (make-frame): Set x-display-name after call to
11992 window system initialization function, not before.
11993 * term/x-win.el (x-initialize-window-system): Add optional
11994 display argument and use it.
11995 * term/w32-win.el (w32-initialize-window-system):
11996 * term/ns-win.el (ns-initialize-window-system):
11997 * term/pc-win.el (msdos-initialize-window-system):
11998 Add compatible optional display argument.
11999
12000 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12001
12002 * files.el (normal-backup-enable-predicate): On MS-Windows and
12003 MS-DOS compare truenames of temporary-file-directory and of the
12004 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12005 don't fail comparison by compare-strings. Also, compare file
12006 names case-insensitively on MS-Windows and MS-DOS.
12007
12008 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12011 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12012
12013 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12014
12015 * whitespace.el (whitespace-color-on, whitespace-color-off):
12016 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12017
12018 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12019
12020 * ispell.el (ispell-set-spellchecker-params):
12021 Really set `ispell-args' for all equivs.
12022
12023 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12024
12025 * ido.el (ido-completions): Use extra elements of ido-decorations
12026 (bug#14143).
12027 (ido-decorations): Update docstring.
12028
12029 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12030
12031 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12032 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12033 nil during initialization, in order not to miss changes since the
12034 file was opened. (Bug#14140)
12035
12036 2013-04-05 Leo Liu <sdl.web@gmail.com>
12037
12038 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12039
12040 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12041
12042 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12043
12044 2013-04-04 Glenn Morris <rgm@gnu.org>
12045
12046 * electric.el (electric-pair-inhibit-predicate): Add :version.
12047
12048 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12051 when a package is required several times (bug#14082).
12052
12053 2013-04-04 Roland Winkler <winkler@gnu.org>
12054
12055 * faces.el (read-face-name): Behave as promised by the docstring.
12056 Assume that arg default is a list of faces.
12057 (describe-face): Call read-face-name with list of default faces.
12058
12059 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12060
12061 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12062 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12063 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12064 the header.
12065 (bookmark-exit-hook-internal): Save even if list is empty.
12066
12067 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12068
12069 * emacs-lisp/package.el (package-pinned-packages): New var.
12070 (package--add-to-archive-contents): Obey it (bug#14118).
12071
12072 2013-04-03 Alan Mackenzie <acm@muc.de>
12073
12074 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12075 Also adapt to the new values of element 7 of a parse state.
12076
12077 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12078 parameter `not-in-delimiter'. Handle being inside comment opener.
12079 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12080 character in case we're typing a '*' after a '/'.
12081 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12082 instead by passing the parameter to c-state-pp-to-literal.
12083
12084 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12085 for elt. 7 of a parse state.
12086
12087 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12088
12089 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12090 * international/latin1-disp.el, international/mule-util.el:
12091 * language/cyril-util.el, language/european.el, language/ind-util.el:
12092 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12093 * language/tibetan.el, language/viet-util.el:
12094 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12095
12096 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12099 (electric-pair-post-self-insert-function): Use it.
12100 (electric-pair-default-inhibit): New function, extracted from
12101 electric-pair-post-self-insert-function.
12102
12103 2013-03-31 Roland Winkler <winkler@gnu.org>
12104
12105 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12106
12107 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12110
12111 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12112
12113 Un-indent after "pass" and "return" statements (Bug#13888)
12114 * progmodes/python.el (python-indent-block-enders): New var.
12115 (python-indent-calculate-indentation): Use it.
12116
12117 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12118
12119 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12120 defun. Defining it as defalias could introduce too eager
12121 byte-compiler optimization. (Bug#14030)
12122
12123 2013-03-30 Chong Yidong <cyd@gnu.org>
12124
12125 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12126
12127 2013-03-30 Leo Liu <sdl.web@gmail.com>
12128
12129 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12130 (kmacro-execute-from-register): Pass the keyboard macro to
12131 kmacro-call-macro or repeating won't work correctly.
12132
12133 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12134
12135 * progmodes/subword.el: Back to using `forward-symbol'.
12136
12137 * subr.el (forward-whitespace, forward-symbol)
12138 (forward-same-syntax): Move from thingatpt.el.
12139
12140 2013-03-29 Leo Liu <sdl.web@gmail.com>
12141
12142 * kmacro.el (kmacro-to-register): New command.
12143 (kmacro-execute-from-register): New function.
12144 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12145
12146 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * mpc.el: Use defvar-local and setq-local.
12149 (mpc--proc-connect): Connection failures are not bugs.
12150 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12151 (mpc-volume-map): Bind to the up-events.
12152
12153 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12154
12155 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12156 instead of `forward-symbol'.
12157
12158 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12161 (edebug--recursive-edit): Use it.
12162 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12163 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12164
12165 2013-03-28 Leo Liu <sdl.web@gmail.com>
12166
12167 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12168
12169 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12170
12171 * facemenu.el (list-colors-callback): New defvar.
12172 (list-colors-redisplay): New function.
12173 (list-colors-display): Install list-colors-redisplay as the
12174 revert-buffer-function. (Bug#14063)
12175
12176 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12179 and suffixes don't overlap (bug#14061).
12180
12181 * case-table.el: Use lexical-binding.
12182 (case-table-get-table): New function.
12183 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12184
12185 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12186
12187 * progmodes/subword.el: Add `superword-mode' to do word motion
12188 over symbol_words (parallels and leverages `subword-mode' which
12189 does word motion inside MixedCaseWords).
12190
12191 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12192
12193 * eshell/em-unix.el: Move su and sudo to...
12194 * eshell/em-tramp.el: ...Eshell tramp module.
12195
12196 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12199 Change return value to be a sexp. Delay `get-buffer' to after
12200 restoring the desktop (bug#13951).
12201
12202 2013-03-26 Leo Liu <sdl.web@gmail.com>
12203
12204 * register.el: Move semantic tag handling back to
12205 cedet/semantic/senator.el. (Bug#14052)
12206
12207 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12210 into the prompt either (bug#13963).
12211
12212 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12215 part of "(error-foo)".
12216
12217 2013-03-24 Juri Linkov <juri@jurta.org>
12218
12219 * replace.el (list-matching-lines-prefix-face): New defcustom.
12220 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12221 `occur-engine' if `face-differs-from-default-p' returns t.
12222 (occur-engine): Add `,' inside backquote construct to evaluate
12223 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12224 Pass `prefix-face' to the functions `occur-context-lines' and
12225 `occur-engine-add-prefix'.
12226 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12227 `prefix-face' and propertize the prefix with `prefix-face'.
12228 (Bug#14017)
12229
12230 2013-03-24 Leo Liu <sdl.web@gmail.com>
12231
12232 * nxml/rng-valid.el (rng-validate-while-idle)
12233 (rng-validate-quick-while-idle): Guard against deleted buffer.
12234 (Bug#13999)
12235
12236 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12237 is the last entry in kill-buffer-hook.
12238
12239 * files.el (kill-buffer-hook): Doc fix.
12240
12241 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12242
12243 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12244 Make it safe-local.
12245
12246 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12247
12248 2013-03-23 Leo Liu <sdl.web@gmail.com>
12249
12250 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12251 Remove.
12252
12253 * nxml/rng-valid.el (rng-validate-mode)
12254 (rng-after-change-function, rng-do-some-validation):
12255 * nxml/rng-maint.el (rng-validate-buffer):
12256 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12257 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12258 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12259 (nxml-extend-after-change-region): Use with-silent-modifications.
12260
12261 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12262 timer-idle-list.
12263
12264 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12265 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12266 timer-idle-list. (Bug#13999)
12267
12268 2013-03-23 Juri Linkov <juri@jurta.org>
12269
12270 * info.el (info-index-match): New face.
12271 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12272 main pattern and add text properties with the new face to matches
12273 in index entries relative to the beginning of the index entry.
12274 (Bug#14015)
12275
12276 2013-03-21 Eric Ludlam <zappo@gnu.org>
12277
12278 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12279 Inhibit read only while inserting objects.
12280
12281 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12282
12283 * progmodes/cfengine.el: Update docs to mention
12284 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12285 symbol motion. Remove "_" from the word syntax.
12286
12287 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12288
12289 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12290 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12291
12292 2013-03-20 Juri Linkov <juri@jurta.org>
12293
12294 * info.el (Info-next-reference-or-link)
12295 (Info-prev-reference-or-link): New functions.
12296 (Info-next-reference, Info-prev-reference): Use them.
12297 (Info-try-follow-nearest-node): Handle footnote navigation.
12298 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12299
12300 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12303 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12304
12305 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12306
12307 Suppress unnecessary non-ASCII chatter during build process.
12308 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12309 (batch-skkdic-convert): Suppress most of the chatter.
12310 It's not needed so much now that machines are faster,
12311 and its non-ASCII component was confusing; see Dmitry Gutov in
12312 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12313
12314 2013-03-20 Leo Liu <sdl.web@gmail.com>
12315
12316 * ido.el (ido-chop): Fix bug#10994.
12317
12318 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12319
12320 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12321 Remove vars.
12322 (whitespace-color-on, whitespace-color-off):
12323 Use `font-lock-fontify-buffer' (Bug#13817).
12324
12325 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12328 remapping in mode-line.
12329 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12330
12331 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12332
12333 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12334 value for `whitespace-line' face (Bug#13875).
12335 (whitespace-font-lock-keywords): Change description.
12336 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12337 the constructed keywords instead.
12338 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12339
12340 2013-03-19 Leo Liu <sdl.web@gmail.com>
12341
12342 * progmodes/compile.el (compilation-display-error): New command.
12343 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12344 C-o. (Bug#13992)
12345
12346 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12347
12348 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12349
12350 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12351
12352 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12353
12354 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12355
12356 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12357
12358 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12359 * net/tramp-gvfs.el (top):
12360 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12361 (tramp-handle-shell-command): Use it.
12362 (tramp-dissect-file-name): Raise an error when hostname is a
12363 method name, and neither method nor user is specified.
12364
12365 * net/trampver.el: Update release number.
12366
12367 2013-03-18 Leo Liu <sdl.web@gmail.com>
12368
12369 Make sure eldoc can be turned off properly.
12370 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12371 eldoc-mode.
12372 (eldoc-display-message-p): Revert last change.
12373 (eldoc-display-message-no-interference-p)
12374 (eldoc-print-current-symbol-info): Tweak.
12375
12376 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12377
12378 * doc-view.el (doc-view-new-window-function): Check the new window
12379 overlay's display property instead the char property of the
12380 buffer's first char. Use `with-selected-window' instead of
12381 `save-window-excursion' with `select-window'.
12382 (doc-view-document->bitmap): Check the current doc-view overlay's
12383 display property instead the char property of the buffer's first char.
12384
12385 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12386
12387 Automate the build of ja-dic.el (Bug#13984).
12388 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12389 from the input, rather than assume that it's been done for us by the
12390 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12391 the current date into a ja-dic.el comment, as that complicates
12392 regression testing.
12393
12394 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12395
12396 * whitespace.el: Fix double evaluation.
12397 (whitespace-space, whitespace-hspace, whitespace-tab)
12398 (whitespace-newline, whitespace-trailing, whitespace-line)
12399 (whitespace-space-before-tab, whitespace-indentation)
12400 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12401 obsolete defvars.
12402 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12403 (whitespace-color-on): Use a single font-lock-add-keywords call.
12404 Fix double-evaluation of face variables.
12405
12406 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12407
12408 * net/tramp-adb.el (tramp-adb-parse-device-names):
12409 Use `start-process' instead of `call-process'. Otherwise, the
12410 function might be blocked under MS Windows. (Bug#13299)
12411
12412 2013-03-17 Leo Liu <sdl.web@gmail.com>
12413
12414 Extend eldoc to display info in the mode-line. (Bug#13978)
12415 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12416 (eldoc-mode-line-string): New variable.
12417 (eldoc-minibuffer-message): New function.
12418 (eldoc-message-function): New variable.
12419 (eldoc-message): Use it.
12420 (eldoc-display-message-p)
12421 (eldoc-display-message-no-interference-p):
12422 Support eldoc-post-insert-mode.
12423
12424 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12425 (eval-expression): Run it.
12426
12427 2013-03-17 Roland Winkler <winkler@gnu.org>
12428
12429 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12430 strings in the list of return values.
12431
12432 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12433
12434 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12435 radix before checking for HMS forms.
12436
12437 2013-03-16 Leo Liu <sdl.web@gmail.com>
12438
12439 * progmodes/scheme.el: Add indentation and font-locking for λ.
12440 (Bug#13975)
12441
12442 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12445 token before point (bug#13942).
12446
12447 2013-03-16 Leo Liu <sdl.web@gmail.com>
12448
12449 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12450
12451 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12452
12453 * startup.el (command-line-normalize-file-name): Fix handling of
12454 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12455 <xfq.free@gmail.com> in
12456 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12457
12458 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12459
12460 Sync with Tramp 2.2.7.
12461
12462 * net/trampver.el: Update release number.
12463
12464 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12465
12466 * doc-view.el: Fix bug#13887.
12467 (doc-view-insert-image): Don't modify overlay associated to
12468 non-live windows, and implement horizontal centering of image in
12469 case it's smaller than the window.
12470 (doc-view-new-window-function): Force redisplay of new windows on
12471 doc-view buffers.
12472
12473 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12474
12475 * saveplace.el (save-place-alist-to-file): Don't sort
12476 `save-place-alist', just pretty-print it (bug#13882).
12477
12478 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12479
12480 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12481 Check whether `default-file-name-coding-system' is bound.
12482 It isn't in XEmacs.
12483
12484 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12485
12486 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12487 backquotes for `obsolete' (bug#13929).
12488
12489 * international/mule.el (find-auto-coding): Include file name in
12490 obsolescence warning (bug#13922).
12491
12492 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12493
12494 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12495 for CFEngine 3-specific indentation.
12496 (cfengine3-indent-line): Use it. Fix up category regex.
12497 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12498
12499 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12500
12501 * type-break.el (type-break-file-name):
12502 * textmodes/remember.el (remember-data-file):
12503 * strokes.el (strokes-file):
12504 * shadowfile.el (shadow-initialize):
12505 * saveplace.el (save-place-file):
12506 * ps-bdf.el (bdf-cache-file):
12507 * progmodes/idlwave.el (idlwave-config-directory):
12508 * net/quickurl.el (quickurl-url-file):
12509 * international/kkc.el (kkc-init-file-name):
12510 * ido.el (ido-save-directory-list-file):
12511 * emulation/viper.el (viper-custom-file-name):
12512 * emulation/vip.el (vip-startup-file):
12513 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12514 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12515
12516 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12517
12518 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12519 * language/thai-word.el: Switch to UTF-8.
12520
12521 See ChangeLog.16 for earlier changes.
12522
12523 ;; Local Variables:
12524 ;; coding: utf-8
12525 ;; End:
12526
12527 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12528
12529 This file is part of GNU Emacs.
12530
12531 GNU Emacs is free software: you can redistribute it and/or modify
12532 it under the terms of the GNU General Public License as published by
12533 the Free Software Foundation, either version 3 of the License, or
12534 (at your option) any later version.
12535
12536 GNU Emacs is distributed in the hope that it will be useful,
12537 but WITHOUT ANY WARRANTY; without even the implied warranty of
12538 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12539 GNU General Public License for more details.
12540
12541 You should have received a copy of the GNU General Public License
12542 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.