]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix some function declarations
[gnu-emacs] / lisp / ChangeLog
1 2014-01-22 Glenn Morris <rgm@gnu.org>
2
3 * calc/calc-embed.el (thing-at-point-looking-at):
4 * emacs-lisp/map-ynp.el (x-popup-dialog):
5 * obsolete/lmenu.el (x-popup-dialog):
6 * emacs-lisp/package.el (url-recreate-url):
7 * mail/mailclient.el (clipboard-kill-ring-save):
8 * subr.el (x-popup-dialog): Update declaration.
9 * mail/rmail.el (rmail-mime-message-p):
10 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
11
12 2014-01-21 Daniel Colascione <dancol@dancol.org>
13
14 * progmodes/sh-script.el (sh--inside-noncommand-expression):
15 Correctly detect when we're inside an arithmetic expansion form
16 containing nested parenthesis.
17 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
18 to detect cases where we shouldn't expand "<<" to a heredoc
19 skeleton.
20
21 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
24 (eldoc--message-command-p): New function.
25 (eldoc-display-message-p): Use it.
26 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
27 message is not automatically erased for us.
28 (eldoc-print-current-symbol-info): Erase previous message, if any.
29
30 2014-01-21 Tassilo Horn <tsdh@gnu.org>
31
32 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
33 specify it's an interactive function.
34
35 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
36 Fix regex used for scanning for citation keys which failed for
37 citations with optional arguments.
38
39 2014-01-21 Leo Liu <sdl.web@gmail.com>
40
41 * simple.el (read--expression): Don't enable eldoc-mode.
42
43 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * simple.el (move-beginning-of-line): Make sure we don't move forward
46 (bug#16497).
47
48 2014-01-20 Juri Linkov <juri@jurta.org>
49
50 * saveplace.el (toggle-save-place, save-place-to-alist)
51 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
52 'dired-mode) before checking for dired-directory. (Bug#16477)
53
54 2014-01-20 Juri Linkov <juri@jurta.org>
55
56 * indent.el (indent-line-to): Use backward-to-indentation
57 instead of back-to-indentation. (Bug#16461)
58
59 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
60
61 Revert some of the CANNOT_DUMP fix (Bug#16494).
62 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
63 but fixing this can wait until after the next release.
64 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
65
66 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
67
68 * eshell/esh-mode.el (eshell-password-prompt-regexp):
69 Use `password-word-equivalents'.
70 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
71 to t. (Bug#5664, Bug#13124)
72
73 2014-01-19 Alan Mackenzie <acm@muc.de>
74
75 Bind open-paren-in-column-0-is-defun-start to nil at some entry
76 points.
77 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
78 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
79 * progmodes/cc-mode.el (c-before-change, c-after-change)
80 (c-font-lock-fontify-region): Bind it here.
81
82 2014-01-19 Martin Rudalics <rudalics@gmx.at>
83
84 * term.el (term-window-width): Call window-text-width instead of
85 window-width (Bug#16470).
86
87 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
88
89 * simple.el (password-word-equivalents): Remove duplicates.
90 Sort, to make this easier next time.
91 Downcase. Omit ": " after "jelszó".
92
93 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
94
95 * term/common-win.el (saved-region-selection): Defvar it.
96 (x-select-text): Set saved-region-selection (Bug#16382).
97
98 2014-01-18 Glenn Morris <rgm@gnu.org>
99
100 * emacs-lisp/authors.el (authors-aliases)
101 (authors-renamed-files-alist): Add some entries.
102
103 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
104
105 * net/tramp.el (tramp-password-prompt-regexp):
106 Use `password-word-equivalents' if available.
107 (tramp-action-password, tramp-process-one-action)
108 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
109
110 2014-01-17 Chong Yidong <cyd@gnu.org>
111
112 * simple.el (password-word-equivalents): New defcustom.
113 * comint.el (comint-password-prompt-regexp): Use it. Bump version
114 to 24.4.
115 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
116 to t. (Bug#13124)
117
118 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
119
120 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
121 (ruby-align-to-stmt-keywords): Change the default value.
122 Use `ruby-alignable-keywords' to generate the possible customization
123 choices.
124 (ruby-smie-rules): Instead of using a hardcoded list of alignable
125 keywords, check against the value of `ruby-alignable-keywords'
126 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
127
128 2014-01-17 Glenn Morris <rgm@gnu.org>
129
130 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
131
132 Make M-x authors return zero *Authors Errors* from current logs.
133 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
134 (authors-ignored-files): Add some entries, remove others.
135 (authors-ambiguous-files, authors-valid-file-names):
136 Add some entries.
137 (authors-renamed-files-alist): Add, remove, and adjust entries.
138 (authors-renamed-files-regexps): Add some entries.
139 Remove some very broad ones. Make some entries `lax'.
140 (authors-lax-changelogs): New constant.
141 (authors-disambiguate-file-name): Treat top-level specially.
142 (authors-lax-changelog-p): New function.
143 (authors-canonical-file-name): Check file as written against
144 authors-valid-file-names. Do not special-case etc/.
145 Handle `lax' logs and authors-renamed-files-regexps elements.
146
147 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
148
149 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
150 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
151 callers.
152
153 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
156 Assume we're already in the proper buffer.
157 Inspired by Anders Lindgren <andlind@gmail.com>.
158 (follow-post-command-hook): Call it from the right buffer.
159 (follow-comint-scroll-to-bottom): Adjust call.
160 (follow-all-followers): Use get-buffer-window-list.
161
162 2014-01-15 Daniel Colascione <dancol@dancol.org>
163
164 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
165 `buffer-file-name' in interactive-form so that we don't leave
166 pathless file names in `file-name-history'.
167
168 2014-01-15 Juri Linkov <juri@jurta.org>
169
170 * indent.el (indent-rigidly): Set deactivate-mark to nil
171 in transient indentation mode. (Bug#16438)
172
173 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
174
175 * emacs-lisp/package.el (package-desc-keywords): New function
176 (Bug#16222).
177 (describe-package-1, package-all-keywords)
178 (package--has-keyword-p): Use it.
179
180 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
181
182 * simple.el (define-alternatives): When creating the
183 COMMAND-alternatives variable, assign COMMAND as its definition
184 name so that `describe-variable' can relocate it.
185
186 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
187
188 * font-lock.el (font-lock-keywords): Fix typo in docstring
189 (bug#16307).
190
191 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
192
193 * ispell.el (ispell-region): Reset `in-comment' for new line
194 instead of wrongly reset `add-coment' (bug#13577).
195
196 2014-01-14 Daiki Ueno <ueno@gnu.org>
197
198 * epa-file.el (epa-file-write-region): Encode the region according
199 to `buffer-file-format'. Problem reported at:
200 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
201
202 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
205 so it applies in the right buffer (bug#16410).
206
207 2014-01-13 Daniel Colascione <dancol@dancol.org>
208
209 * textmodes/rst.el (rst-define-key): Provide deprecated
210 keybindings through named functions instead of anonymous ones so
211 that "??" doesn't appear in describe-mode output.
212
213 2014-01-13 Bastien Guerry <bzg@gnu.org>
214
215 * simple.el (define-alternatives): Call the selected command
216 interactively. When setting `COMMAND--implementation' for the
217 first time, tell the user how to chose another implementation.
218 Enhance the docstring.
219
220 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
221
222 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
223 (log-edit--match-first-line): New function.
224 (log-edit-font-lock-keywords): Use it.
225 (log-edit-mode): Make jit-lock-defer-multiline work.
226
227 2014-01-13 Bastien Guerry <bzg@gnu.org>
228
229 * rect.el (rectangle-mark-mode): When the region is not active,
230 display a message saying that the mark as been set and that
231 rectangle mode is in use.
232 (rectangle--highlight-for-redisplay): Only put an overlay with a
233 visible vertical bar when (display-graphic-p) is non-nil.
234 This partially fixes Bug#16403.
235
236 2014-01-13 Juri Linkov <juri@jurta.org>
237
238 * info.el (Info-find-file): Go to DIR before displaying the error
239 about a nonexistent file if no previous Info file is visited.
240 Use `user-error' instead of `error' for "Info file %s does not exist".
241 (Info-find-node-2): In case of a nonexistent node in unwind forms
242 go to the Top node if there is no previous node to revert to.
243 (Bug#16405)
244
245 2014-01-13 Martin Rudalics <rudalics@gmx.at>
246
247 fit-frame/window-to-buffer code fixes including one for Bug#14096.
248 * window.el (fit-frame-to-buffer): Fix doc-string.
249 Respect window-min-height/-width. Fit pixelwise when
250 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
251 when avoiding that frame goes partially off-screen.
252 (fit-window-to-buffer): Respect window-min-height/-width
253 (Bug#14096).
254
255 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
258 after an empty line.
259
260 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * net/shr.el (shr-render-region): Autoload.
263
264 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
265
266 * net/eww.el (eww-download-directory): Rename from
267 `eww-download-path' (Bug#16419).
268
269 2014-01-12 Leo Liu <sdl.web@gmail.com>
270
271 * dired-x.el (dired-mode-map): Fix last change.
272
273 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
274
275 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
276
277 Spelling fixes.
278 * emacs-lisp/generic.el (generic--normalize-comments):
279 Rename from generic--normalise-comments. All uses changed.
280 * play/bubbles.el (bubbles--neighborhood-score):
281 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
282 (bubbles--neighborhood-available)
283 (bubbles--update-neighborhood-score):
284 Rename from names with 'neighbourhood'. All uses changed.
285
286 2014-01-12 Leo Liu <sdl.web@gmail.com>
287
288 Re-implement the feature of showing eldoc info after editing.
289 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
290 (eldoc-edit-message-commands): New function.
291 (eldoc-print-after-edit): New variable.
292 (eldoc-pre-command-refresh-echo-area): Emit message only by
293 eldoc-message-commands.
294 (eldoc-mode): Restrict eldoc-message-commands to editing commands
295 if eldoc-print-after-edit is set. (Bug#16346)
296 * simple.el (read--expression): Enable eldoc-mode.
297 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
298
299 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
300
301 * version.el (emacs-repository-get-version): Enhance so the
302 function works correctly in either a Bazaar or Git repo.
303
304 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
305 Goes with removal of the joke manpages from /etc.
306
307 2014-01-10 K. Handa <handa@gnu.org>
308
309 * mail/rmail.el (rmail-get-coding-system):
310 Check rmail-get-coding-function before "funcall"ing it.
311
312 2014-01-10 Glenn Morris <rgm@gnu.org>
313
314 * emacs-lisp/authors.el (authors-fixed-entries):
315 Update for files that no longer exist.
316
317 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
318
319 * version.el (emacs-bzr-get-version): Restore compatibilty with
320 24.3 (Tested).
321
322 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
323
324 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
325 and Podfile.
326
327 2014-01-10 Eli Zaretskii <eliz@gnu.org>
328
329 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
330
331 2014-01-10 Chong Yidong <cyd@gnu.org>
332
333 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
334
335 2014-01-10 Anders Lindgren <andlind@gmail.com>
336
337 * follow.el (follow-cache-command-list): Include right-char and
338 left-char.
339
340 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
341
342 Spelling fixes.
343 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
344 * woman.el (woman-mark-horizontal-position):
345 Rename from woman-mark-horizonal-position. Use changed.
346
347 2014-01-10 Glenn Morris <rgm@gnu.org>
348
349 * info.el (info-initialize): If running uninstalled, ensure our
350 own info files are always found first, even if INFOPATH is set.
351
352 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
353
354 2014-01-09 David Engster <deng@randomsample.de>
355
356 * emacs-lisp/eieio-custom.el:
357 * emacs-lisp/eieio-opt.el: Set generated autoload file to
358 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
359 * emacs-lisp/eieio.el: Regenerate autoloads.
360
361 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
362
363 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
364 following renames. (Bug#8756)
365
366 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
369 (bug#16382).
370 (activate-mark): Add `no-tmm' argument.
371 (set-mark, push-mark-command): Use it instead of running
372 activate-mark-hook by hand.
373
374 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
375
376 In preparation for the move to git, sanitize out some
377 Bazaar-specific names.
378
379 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
380
381 * version.el (emacs-bzr-version): Name changed to
382 emacs-repository-version. Obsolete-variable alias made.
383 * loadup.el: Follow through on this name change.
384 * mail/emacsbug.el (report-emacs-bug): Factor out any
385 assumption about the version control system in use.
386
387 2014-01-08 David Engster <deng@randomsample.de>
388
389 * help-fns.el (help-fns-describe-function-functions):
390 New variable to call functions for augmenting help buffers.
391 (describe-function-1): Remove explicit calls to
392 `help-fns--compiler-macro', `help-fns--parent-mode' and
393 `help-fns--obsolete'. Put them in above new variable instead, and
394 call them through `run-hook-with-args'.
395 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
396 `eieio-describe-class'. Not meant for interactive use anymore,
397 but to augment existing help buffers. Remove optional second
398 argument. Create proper button for file location.
399 Rewrite function to use `insert' instead of `princ' and `prin1' where
400 possible.
401 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
402 (eieio-method-def, eieio-class-def): Move further up.
403 (describe-method, describe-generic, eieio-describe-method):
404 Remove aliases.
405 (eieio-help-constructor, eieio-help-generic): Rename from
406 `eieio-describe-constructor' and `eieio-describe-generic', resp.
407 Rewrite to use `insert' in the current buffer and use proper help
408 buttons.
409 (eieio-help-find-method-definition)
410 (eieio-help-find-class-definition): Also accept symbols as
411 arguments.
412 (eieio-help-mode-augmentation-maybee): Remove.
413 (eieio-describe-class-sb): Use `describe-function'.
414 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
415 Add `eieio-help-generic' and `eieio-help-constructor'.
416
417 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
418
419 Spelling fixes.
420 * language/china-util.el (hz-ascii-designation):
421 Rename from hz-ascii-designnation.
422 (hz-ascii-designation): Rename from hz-ascii-designnation.
423 All uses changed.
424
425 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
426
427 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
428 package-alist.
429
430 2014-01-08 Bastien Guerry <bzg@gnu.org>
431
432 * emacs-lisp/package.el (package-delete):
433 Correctly delete the package from package-alist.
434
435 2014-01-08 Daiki Ueno <ueno@gnu.org>
436
437 * emacs-lisp/package.el (url-recreate-url): Declare.
438 (url-http-target-url): Declare.
439 (package-handle-response): Include requested URL in the error message.
440 (package--check-signature): Don't re-signal errors from
441 package--with-work-buffer. Suggested by Stefan Monnier.
442
443 2014-01-07 Bastien Guerry <bzg@gnu.org>
444
445 * minibuffer.el (completion--try-word-completion): When both a
446 hyphen and a space are possible candidates for the character
447 following a word, display both candidates. (Bug#15980)
448
449 2014-01-07 Martin Rudalics <rudalics@gmx.at>
450
451 * window.el (balance-windows-2): While rounding don't give a
452 window more than the remainder. Bug#16351, Bug#16383.
453
454 2014-01-07 Glenn Morris <rgm@gnu.org>
455
456 * menu-bar.el (menu-bar-help-extra-packages): Remove.
457 (menu-bar-help-menu): Use view-external-packages instead.
458
459 2014-01-07 Bastien Guerry <bzg@gnu.org>
460
461 * emacs-lisp/package.el (package-delete): Also delete the package
462 name from `package-alist', not its description only.
463
464 2014-01-07 Glenn Morris <rgm@gnu.org>
465
466 * help.el (view-external-packages):
467 * menu-bar.el (menu-bar-help-extra-packages):
468 Visit efaq.info rather than etc/MORE.STUFF.
469
470 2014-01-07 Juri Linkov <juri@jurta.org>
471
472 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
473 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
474
475 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
476 that shadows RET. (Bug#16342)
477
478 2014-01-07 Chong Yidong <cyd@gnu.org>
479
480 * isearch.el (isearch-yank-char, isearch-yank-word)
481 (isearch-yank-line): Doc fix.
482
483 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
486 * emacs-lisp/elint.el (elint-find-builtins):
487 * emacs-lisp/eldoc.el (eldoc-symbol-function):
488 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
489 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
490 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
491 * apropos.el (apropos-safe-documentation):
492 * subr.el (symbol-file): Remove redundant fboundp.
493 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
494
495 2014-01-06 Bastien Guerry <bzg@gnu.org>
496
497 * hl-line.el (global-hl-line-overlay): Make a local variable.
498 (global-hl-line-overlays): New variable to store all overlays.
499 (global-hl-line-mode): Don't delete overlays from the current
500 buffer when `global-hl-line-sticky-flag' is non-nil.
501 (global-hl-line-highlight): Add new overlays to
502 `global-hl-line-overlays'.
503 (global-hl-line-unhighlight-all): New function to delete all
504 overlays when turning off `global-hl-line-mode'.
505 This fixes Bug#16183.
506
507 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
508
509 * subr.el (set-transient-map): Fix nested case and docstring.
510
511 2014-01-06 Tassilo Horn <tsdh@gnu.org>
512
513 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
514 `Texinfo' entry.
515
516 2014-01-06 Daniel Colascione <dancol@dancol.org>
517
518 Fix defun navigation in vc log view.
519
520 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
521 like `beginning-of-defun'.
522 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
523 log-view-end-of-defun to log-view-end-of-defun-1. Replace
524 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
525 (log-view-extract-comment): Call `log-view-current-entry' directly
526 instead of relying on broken `log-view-beginning-of-defun' behavior.
527
528 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
529
530 Spelling fixes.
531 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
532 * emacs-lisp/debug.el (cancel-debug-on-entry):
533 * epg.el (epg-error-to-string):
534 * files.el (recover-file):
535 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
536 * mail/emacsbug.el (report-emacs-bug-hook):
537 * mail/sendmail.el (mail-recover):
538 * ses.el (ses-yank-resize):
539 * term/ns-win.el (ns-print-buffer):
540 Spelling fixes in diagnostics, mostly for "canceled" with one L.
541 * epg.el (epg-key-capability-alist): Rename from misspelled version.
542 All uses changed.
543 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
544
545 2014-01-06 Leo Liu <sdl.web@gmail.com>
546
547 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
548 to avoid shadowing global key. (Bug#16354)
549
550 2014-01-06 Daniel Colascione <dancol@dancol.org>
551
552 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
553 rst-mode.
554
555 2014-01-05 Martin Rudalics <rudalics@gmx.at>
556
557 * window.el (balance-windows): Add mising t to fix Bug#16351.
558
559 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
560
561 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
562 (bug#16285).
563 (shr-insert): If we have a word that's longer than `shr-width',
564 break after it anyway. Otherwise we'll do no breaking once we get
565 such a long word.
566
567 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
568
569 * net/eww.el (eww): Support single/double quote for search.
570 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
571 (eww-history-quit): Delete and use quit-window.
572 (eww-history-kill): Delete, because it doesn't work well and
573 not necessary.
574 (eww-history-mode-map): Delete some keys and add easy-menu.
575
576 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
577
578 Fix misspelling of 'chinese' in rx (Bug#16237).
579 * emacs-lisp/rx.el (rx-categories): Correct spelling of
580 chinese-two-byte.
581
582 Change subword regexps back to vars (Bug#16296).
583 * progmodes/subword.el (subword-forward-regexp)
584 (subword-backward-regexp): Change these back to variables.
585
586 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
587
588 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
589 syntax-begin-function (bug#16247).
590
591 2014-01-03 Chong Yidong <cyd@gnu.org>
592
593 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
594 (advice--docstring): Delete variable.
595 (advice--make-1): Leave the docstring empty.
596 (advice-add): Use function-documentation for advised docstring.
597
598 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
599 Ignore function-documentation property when getting documentation.
600 (ad-activate-advised-definition): Use function-documentation
601 generate the docstring.
602 (ad-make-advised-definition): Don't call
603 ad-make-advised-definition-docstring.
604 (ad-make-advised-definition-docstring, ad-advised-definition-p):
605 Delete functions.
606
607 * progmodes/sql.el (sql-help): Use function-documentation instead
608 of dynamic-docstring-function property. No need to autoload now.
609 (sql--help-docstring): New variable.
610 (sql--make-help-docstring): Use it.
611
612 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * ielm.el (ielm-tab): Retarget.
615 (ielm-map): Use ielm-tab for tab.
616 (ielm-complete-filename): Use comint-filename-completion.
617 (ielm-complete-symbol): Remove.
618 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
619 remove ielm-tab from completion-at-point-functions (bug#16224).
620
621 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
622 Beware signals raised by predicates (bug#16201).
623
624 2014-01-02 Richard Stallman <rms@gnu.org>
625
626 * dired-aux.el (dired-do-print): Handle printer-name.
627
628 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
629 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
630 (rmail-epa-decrypt): Turn off mime processing.
631
632 * mail/rmail.el (rmail-make-in-reply-to-field):
633 Add parens in message-id.
634
635 * mail/rmail.el (rmail-get-coding-function): Variable.
636 (rmail-get-coding-system): Use it.
637
638 2013-12-31 Eli Zaretskii <eliz@gnu.org>
639
640 * international/mule-conf.el: Unify the charset indian-is13194.
641 (indian-is13194): Specify unify-map.
642
643 2013-12-31 Leo Liu <sdl.web@gmail.com>
644
645 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
646
647 2013-12-30 Daniel Colascione <dancol@dancol.org>
648
649 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
650 of printing a useless when we resume from sleep.
651
652 * progmodes/sh-script.el
653 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
654 in indentation code. (Bug#16233)
655
656 2013-12-28 João Távora <joaotavora@gmail.com>
657
658 * elec-pair.el (electric-pair-post-self-insert-function):
659 Don't open extra newlines at beginning of buffer. (Bug#16272)
660
661 2013-12-28 Eli Zaretskii <eliz@gnu.org>
662
663 * frame.el (window-system-for-display): Don't allow to create a
664 GUI frame from a -nw session on MS-Windows. (Bug#14739)
665
666 2013-12-28 Glenn Morris <rgm@gnu.org>
667
668 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
669 Update callers.
670
671 * apropos.el (apropos-match-face):
672 * calculator.el (calculator-displayer):
673 * dabbrev.el (dabbrev-search-these-buffers-only):
674 * face-remap.el (buffer-face-mode-face):
675 * simple.el (yank-handled-properties):
676 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
677 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
678 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
679 (hashcash-double-spend-database):
680 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
681 (ruby-deep-indent-paren-style):
682 * textmodes/flyspell.el (flyspell-auto-correct-binding):
683 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
684 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
685 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
686 Specify custom types.
687
688 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
689 * bookmark.el (bookmark-bmenu-use-header-line):
690 * doc-view.el (doc-view-scale-internally):
691 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
692 * register.el (register-preview-delay):
693 * net/shr.el (shr-bullet):
694 * progmodes/cfengine.el (cfengine-cf-promises)
695 (cfengine-parameters-indent):
696 * progmodes/octave.el (inferior-octave-error-regexp-alist):
697 * textmodes/reftex-vars.el (reftex-label-regexps):
698 * vc/log-edit.el (log-edit-setup-add-author): Add version.
699
700 * net/tls.el (tls-certtool-program): Fix default value.
701
702 * desktop.el (desktop-restore-in-current-display):
703 * newcomment.el (comment-empty-lines):
704 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
705 (idlwave-pad-keyword):
706 * progmodes/tcl.el (tcl-tab-always-indent):
707 * textmodes/reftex-vars.el (reftex-index-default-tag):
708 * elec-pair.el (electric-pair-skip-whitespace):
709 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
710
711 * emacs-lisp/authors.el (authors-ignored-files)
712 (authors-valid-file-names, authors-renamed-files-alist): Additions.
713
714 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
715
716 * shell.el (shell-dynamic-complete-command): Doc fix.
717 (shell--command-completion-data): Shell completion now matches
718 executable filenames from the current buffer's directory, on
719 systems in which this behavior is the default (windows-nt, ms-dos).
720
721 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
722
723 * net/shr.el (shr-insert): Don't infloop if the width is zero.
724
725 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
728 (bug#16251).
729
730 * electric.el: Move all electric-pair-* to elec-pair.el.
731 * elec-pair.el: New file, split from electric.el.
732
733 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
734
735 * net/shr.el (shr-find-fill-point): Don't try to fill if the
736 indentation level is larger than the width, because that will
737 infloop.
738 (shr-insert): Fill repeatedly long texts, so that Japanese is
739 formatted correctly (bug#16263).
740 (shr-find-fill-point): Off by one error in comparison with the
741 indentation.
742
743 2013-12-26 João Távora <joaotavora@gmail.com>
744
745 * electric.el (electric-pair-mode): More flexible engine for skip-
746 and inhibit predicates, new options for pairing-related functionality.
747 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
748 if that keeps or improves their balance in buffers.
749 (electric-pair-delete-adjacent-pairs): Delete the pair when
750 backspacing over adjacent matched delimiters.
751 (electric-pair-open-extra-newline): Open extra newline when
752 inserting newlines between adjacent matched delimiters.
753 (electric--sort-post-self-insertion-hook):
754 Sort post-self-insert-hook according to priority values when
755 minor-modes are activated.
756 * simple.el (newline-and-indent): Call newline with interactive
757 set to t.
758 (blink-paren-post-self-insert-function): Set priority to 100.
759 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
760 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
761 comments. Locally set electric-pair-skip-whitespace to 'chomp and
762 electric-pair-open-newline-between-pairs to nil.
763
764 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
765
766 * progmodes/python.el: Use lexical-binding.
767 (python-nav-beginning-of-defun): Stop searching ASAP.
768
769 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
770
771 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
772 Fix interactive spec. Doc fix. (Bug#15754)
773
774 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
775
776 * emacs-lisp/byte-run.el (eval-when-compile):
777 * progmodes/cc-defs.el (cc-eval-when-compile):
778 Fix edebug spec (bug#16184).
779
780 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
781
782 * net/shr.el (shr-visit-file): Remove debugging function.
783 (shr-insert): Don't infloop if we can't find a good place to break
784 the line (bug#16256).
785
786 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
787
788 * progmodes/python.el:
789 (python-nav--lisp-forward-sexp): New function.
790 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
791 python-nav-lisp-forward-sexp-safe.
792 (python-nav--forward-sexp): New argument SAFE allows switching
793 forward sexp movement behavior for parens.
794 (python-nav-forward-sexp): Throw errors on unterminated parens
795 (Bug#16191).
796 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
797 (python-nav-backward-sexp-safe): New functions.
798 (python-shell-buffer-substring):
799 Use `python-nav-forward-sexp-safe'.
800
801 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
802
803 * net/shr.el (shr-find-fill-point): Don't break lines before a
804 quotation mark.
805 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
806 (shr-find-fill-point): Remove the special checks for the quotation
807 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
808
809 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
810
811 * net/eww.el (eww-form-textarea): Use a different face for
812 textareas than text input since they have different keymaps
813 (bug#16142).
814
815 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
816
817 * progmodes/python.el (python-nav-beginning-of-statement):
818 Speed up (Bug#15295).
819
820 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
821
822 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
823 the window configuration.
824
825 2013-12-24 Eli Zaretskii <eliz@gnu.org>
826
827 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
828 we run on MS-Windows or MS-DOS.
829
830 2013-12-24 Martin Rudalics <rudalics@gmx.at>
831
832 * window.el (balance-windows-area): Call window-size instead of
833 window-height and window-width. Bug#16241.
834
835 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
836
837 * net/eww.el (eww-bookmark-quit): Remove.
838 (eww-bookmark-browse): Restore the window configuration when you
839 choose a bookmark (bug#16144).
840
841 2013-12-24 Daniel Colascione <dancol@dancol.org>
842
843 * icomplete.el: Remove redundant :group arguments to `defcustom'
844 throughout.
845 (icomplete-show-matches-on-no-input): New customizable variable.
846 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
847 we have something to show.
848 (icomplete-exhibit): Compute completions even if we have no user input.
849
850 2013-12-23 Daniel Colascione <dancol@dancol.org>
851
852 * icomplete.el: Move `provide' to end of file.
853
854 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
855
856 * net/gnutls.el (gnutls-verify-error): Add version tag.
857
858 2013-12-23 Chong Yidong <cyd@gnu.org>
859
860 * subr.el (set-transient-map): Rename from
861 set-temporary-overlay-map. Doc fix.
862
863 * face-remap.el (text-scale-adjust):
864 * indent.el (indent-rigidly):
865 * kmacro.el (kmacro-call-macro):
866 * minibuffer.el (minibuffer-force-complete):
867 * repeat.el (repeat):
868 * simple.el (universal-argument--mode):
869 * calendar/todo-mode.el (todo-insert-item--next-param):
870 * progmodes/f90.el (f90-abbrev-start): Callers changed.
871
872 * indent.el (indent-rigidly): Use substitute-command-keys.
873
874 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
875
876 * net/eww.el (eww-tag-select): Add text-property to jump to next
877 select field.
878 (eww): Add non-supported ftp error.
879
880 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
881
882 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
883 comments. Handle electric indent after typing `?' and `!'.
884
885 2013-12-22 Chong Yidong <cyd@gnu.org>
886
887 * faces.el (face-spec-recalc): If the theme specs are not
888 applicable to a frame, fall back on the defface spec.
889 This prevents themes from obliterating faces on low-color terminals.
890
891 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
892
893 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
894 after `{'. We need it after block openers, and it doesn't seem
895 to hurt after hash openers.
896
897 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
898
899 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
900 extracted from `ruby-smie-rules'.
901 (ruby--electric-indent-chars): New variable.
902 (ruby--electric-indent-p): New function.
903 (ruby-mode): Use `electric-indent-functions' instead of
904 `electric-indent-chars'.
905
906 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
907
908 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
909 docstring.
910 (ruby-smie-rules): Indent plus one level after `=>'.
911
912 2013-12-21 Richard Stallman <rms@gnu.org>
913
914 * simple.el (newline): Doc fix.
915
916 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
917
918 * net/eww.el (eww-list-histories, eww-list-histories)
919 (eww-history-browse, eww-history-quit, eww-history-kill)
920 (eww-history-mode-map, eww-history-mode): New command and
921 functions to list browser histories.
922 (eww-form-text): Support text form with disabled
923 and readonly attributes.
924 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
925
926 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
927
928 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
929 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
930 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
931 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
932 Use `user-error'.
933 (eww-bookmark-mode-map): Add menu.
934 (eww-render, eww-mode): Use `setq-local'.
935 (eww-tool-bar-map): New variable.
936 (eww-mode): Set `tool-bar-map'.
937 (eww-view-source): Check for `html-mode' with `fboundp'.
938
939 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
940
941 * net/shr.el (shr--extract-best-source): Don't bug out on audio
942 elements with text inside. Also remove debugging.
943
944 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
945
946 * cus-start.el (all): Add ns-use-srgb-colorspace.
947
948 2013-12-21 Chong Yidong <cyd@gnu.org>
949
950 * custom.el (custom-theme-recalc-face): Do nothing if the face is
951 undefined. Thus, theme settings for undefined faces do not take
952 effect until the faces are defined with defface, the same as with
953 theme variables.
954
955 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
956 (face-spec-reset-face): Don't assign extra properties in temacs.
957 (face-spec-recalc): Apply X resources too.
958
959 2013-12-21 Chong Yidong <cyd@gnu.org>
960
961 * faces.el (face-spec-set):
962 * cus-face.el (custom-theme-set-faces, custom-set-faces):
963 * custom.el (defface): Doc fixes (Bug#16203).
964
965 * indent.el (indent-rigidly-map): Add docstring, and move commands
966 into named functions.
967 (indent-rigidly-left, indent-rigidly-right)
968 (indent-rigidly-left-to-tab-stop)
969 (indent-rigidly-right-to-tab-stop): New functions. Decide on
970 indentation direction based on bidi direction, and accumulate
971 sequential commands in a single undo boundary.
972 (indent-rigidly--pop-undo): New utility function.
973
974 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
975
976 * faces.el (read-face-name): Require crm.el when using crm-separator.
977
978 2013-12-20 Daniel Colascione <dancol@dancol.org>
979
980 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
981 so that we don't reflow comments into the shebang line.
982
983 2013-12-20 Juri Linkov <juri@jurta.org>
984
985 * saveplace.el (save-place-to-alist): Add `dired-filename' as
986 a position when `dired-directory' is non-nil. Check integer
987 positions with `integerp'.
988 (toggle-save-place, save-places-to-alist): Add check for
989 `dired-directory'.
990 (save-place-find-file-hook): Check integer positions with
991 `integerp'.
992 (save-place-dired-hook): Use `dired-goto-file' when
993 `dired-filename' is found in the assoc list. Check integer
994 positions with `integerp'.
995 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
996
997 * dired.el (dired-initial-position-hook): Rename back from
998 `dired-initial-point-hook'.
999 (dired-initial-position): Rename `dired-initial-point-hook' to
1000 `dired-initial-position-hook'.
1001 (dired-file-name-at-point): Doc fix. (Bug#15329)
1002
1003 2013-12-20 Juri Linkov <juri@jurta.org>
1004
1005 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1006 (read-regexp-suggestions): New function.
1007 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1008 Use `read-regexp-suggestions'. Add non-empty default to history
1009 for empty input.
1010 (occur-read-regexp-defaults-function): Remove function.
1011 (occur-read-primary-args): Use `regexp-history-last' instead of
1012 `occur-read-regexp-defaults-function'.
1013
1014 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1015 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1016 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1017 `hi-lock-read-regexp-defaults-function'. Doc fix.
1018 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1019 with `find-tag-default-as-symbol-regexp'. Doc fix.
1020 (hi-lock-read-regexp-defaults): Remove function.
1021 (hi-lock-regexp-okay): Add check for null.
1022
1023 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1024 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1025
1026 * subr.el (find-tag-default-as-symbol-regexp): New function.
1027 (find-tag-default-as-regexp): Move symbol regexp formatting to
1028 `find-tag-default-as-symbol-regexp'.
1029
1030 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1031
1032 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1033 (Bug#14179)
1034
1035 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1036
1037 * calendar/todo-mode.el: New implementation of item insertion
1038 commands and key bindings.
1039 (todo-key-prompt): New face.
1040 (todo-insert-item): New command.
1041 (todo-insert-item--parameters): New defconst, replacing defvar
1042 todo-insertion-commands-args-genlist.
1043 (todo-insert-item--param-key-alist): New defconst, replacing
1044 defvar todo-insertion-commands-arg-key-list.
1045 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1046 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1047 (todo-insert-item--next-param): New functions.
1048 (todo-insert-item--args, todo-insert-item--argleft)
1049 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1050 New variables.
1051 (todo-key-bindings-t): Change binding of "i" from
1052 todo-insertion-map to todo-insert-item.
1053 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1054 (todo-insertion-command-name, todo-insertion-commands-names)
1055 (todo-define-insertion-command, todo-insertion-commands)
1056 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1057
1058 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1059
1060 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1061 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1062 eval-when-compile.
1063 (todo-move-category): Allow choosing a non-existing todo file to
1064 move the category to, and create that file.
1065 (todo-default-priority): New user option.
1066 (todo-set-item-priority): Use it.
1067 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1068 (desktop-restore-file-buffer): Declare.
1069 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1070 (todo-modes-set-2): Locally set desktop-save-buffer to
1071 todo-desktop-save-buffer.
1072 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1073 (auto-mode-alist): Add autoload cookie.
1074
1075 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1076
1077 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1078 helpers.el was a poor choice of name.
1079 (string-remove-prefix): New function.
1080 (string-remove-suffix): New function.
1081
1082 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1083
1084 Fix assignment for new window total sizes.
1085 * window.el (window--pixel-to-size): Remove function.
1086 (window--pixel-to-total-1, window--pixel-to-total):
1087 Fix calculation of new total sizes.
1088
1089 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1090
1091 * comint.el (comint-output-filter): Fix rear-nonsticky property
1092 placement (Bug#16010).
1093
1094 2013-12-20 Chong Yidong <cyd@gnu.org>
1095
1096 * faces.el (read-color): Minor fix for completion function.
1097
1098 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1099
1100 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1101 New option. (Bug#16182)
1102 (ruby-smie--indent-to-stmt-p): Use it.
1103 (ruby-smie-rules): Revert the logic in the handling of `when'.
1104 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1105 (ruby-deep-arglist, ruby-deep-indent-paren)
1106 (ruby-deep-indent-paren-style): Update docstrings to note that the
1107 vars don't have any effect with SMIE.
1108
1109 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1110
1111 * calc/calc.el (calc-enter, calc-pop): Use the variable
1112 `calc-context-sensitive-enter'.
1113
1114 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1115
1116 * net/shr.el (shr-insert): Protect against infloops in degenerate
1117 tables.
1118
1119 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1120
1121 * progmodes/octave.el (octave): Add link to manual and octave
1122 homepage.
1123 (octave-mode-menu): Link to octave-mode manual.
1124
1125 2013-12-20 Leo Liu <sdl.web@gmail.com>
1126
1127 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1128 insertion using skeleton-end-newline. (Bug#16138)
1129
1130 2013-12-20 Juri Linkov <juri@jurta.org>
1131
1132 * replace.el (occur-engine): Use `add-face-text-property'
1133 to add the face property to matches and titles. (Bug#14645)
1134
1135 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1136 the palette of other hi-lock colors.
1137 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1138
1139 2013-12-19 Juri Linkov <juri@jurta.org>
1140
1141 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1142 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1143 (minibuffer-history-symbol): Move variable declaration closer to
1144 its usage.
1145
1146 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1147 (Bug#14785)
1148
1149 2013-12-19 Juri Linkov <juri@jurta.org>
1150
1151 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1152 New function.
1153 (log-edit-hook): Add it to :options. (Bug#16170)
1154
1155 2013-12-19 Juri Linkov <juri@jurta.org>
1156
1157 * simple.el (eval-expression-print-format): Don't check for
1158 command names and the last command. Always display additional
1159 formats of the integer result in the echo area, and insert them
1160 to the current buffer only with a zero prefix arg.
1161 Display character when char-displayable-p is non-nil.
1162 (eval-expression): With a zero prefix arg, set `print-length' and
1163 `print-level' to nil, and insert the integer values from
1164 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1165
1166 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1167 `eval-last-sexp-arg-internal'. Doc fix.
1168 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1169 `eval-last-sexp-print-value'. Doc fix.
1170 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1171 Set `print-length' and `print-level' to nil when arg is zero.
1172 (eval-last-sexp): Doc fix.
1173 (eval-defun-2): Print the integer values from
1174 `eval-expression-print-format' at the end.
1175
1176 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1177 values from `eval-expression-print-format' at the end.
1178
1179 * ielm.el (ielm-eval-input): Print the integer
1180 values from `eval-expression-print-format' at the end.
1181
1182 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1183
1184 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1185 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1186
1187 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1190 (hl-line-highlight, global-hl-line-highlight): Use it.
1191 (hl-line-overlay): Use defvar-local.
1192
1193 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1194
1195 * term/ns-win.el: Require dnd.
1196 (global-map): Remove drag items.
1197 (ns-insert-text, ns-set-foreground-at-mouse)
1198 (ns-set-background-at-mouse):
1199 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1200 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1201 New functions.
1202
1203 2013-12-19 Glenn Morris <rgm@gnu.org>
1204
1205 * emacs-lisp/ert.el (ert-select-tests):
1206 Fix string/symbol mixup. (Bug#16121)
1207
1208 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1209
1210 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1211 keywords to their parent.
1212
1213 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1214
1215 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1216 first arg to be a string (fixed dead code), or an operator symbol.
1217 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1218 operator symbols.
1219 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1220 did nothing. Don't respond to `(:after ".")', it will be called
1221 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1222 change anything. Only return indentation for binary operators
1223 when they are hanging. De-dent opening paren when its parent is
1224 `.', otherwise it looks bad when the dot is not at bol or eol
1225 (bug#16182).
1226
1227 2013-12-19 Juri Linkov <juri@jurta.org>
1228
1229 * replace.el (query-replace-read-args): Split a non-negative arg
1230 and a negative arg into separate elements.
1231 (query-replace, query-replace-regexp, replace-string)
1232 (replace-regexp): Add arg `backward'. Doc fix.
1233 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1234 move point to the beginning of the match.
1235 (replace-search, replace-highlight): Use new arg `backward'
1236 to set the value of `isearch-forward'.
1237 (perform-replace): Add arg `backward' and use it to perform
1238 replacement backward. (Bug#14979)
1239
1240 * isearch.el (isearch-query-replace): Use a negative prefix arg
1241 to call `perform-replace' with a non-nil arg `backward'.
1242
1243 2013-12-18 Juri Linkov <juri@jurta.org>
1244
1245 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1246 to the default list. Move `log-edit-show-files' to the end.
1247 Add more available functions to options.
1248 (log-edit): Move default specific settings to
1249 `log-edit-insert-message-template'. Don't move point.
1250 (log-edit-insert-message-template): New function.
1251 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1252 (Bug#16170)
1253
1254 2013-12-18 Juri Linkov <juri@jurta.org>
1255
1256 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1257 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1258
1259 2013-12-18 Leo Liu <sdl.web@gmail.com>
1260
1261 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1262 (Bug#16186)
1263
1264 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1265
1266 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1267 formats for displaying file sizes when the -s switch is given.
1268 Instead, compute a separate format for displaying the size in
1269 blocks, which is displayed in addition to the "regular" size.
1270 When -h is given in addition to -s, produce size in blocks in
1271 human-readable form as well. (Bug#16179)
1272
1273 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1274
1275 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1276 Reference tables with ~\ref{...} instead of only \ref{...}.
1277
1278 2013-12-18 Chong Yidong <cyd@gnu.org>
1279
1280 * cus-edit.el (custom-magic-alist): Fix "themed" description
1281 (Bug#14348).
1282
1283 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1284 is non-nil, do not create a new entry in the symbol's theme-value
1285 or theme-face property; update theme-settings only (Bug#14664).
1286 (custom-available-themes): Doc fix.
1287
1288 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1289 (Bug#15674).
1290
1291 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1292
1293 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1294
1295 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1296 (Bug#13914).
1297
1298 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1299
1300 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1301
1302 2013-12-18 Glenn Morris <rgm@gnu.org>
1303
1304 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1305 * cus-start.el (load-prefer-newer): New option.
1306
1307 2013-12-18 Le Wang <l26wang@gmail.com>
1308
1309 * comint.el (comint-previous-matching-input-from-input):
1310 Retain point (Bug#13404).
1311
1312 2013-12-18 Chong Yidong <cyd@gnu.org>
1313
1314 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1315
1316 2013-12-18 Glenn Morris <rgm@gnu.org>
1317
1318 * mail/emacsbug.el (report-emacs-bug):
1319 Only mention enable-multibyte-characters if non-standard.
1320
1321 2013-12-17 Juri Linkov <juri@jurta.org>
1322
1323 * arc-mode.el (archive-extract-by-file): Check if directory exists
1324 before deletion to not show irrelevant errors if it doesn't exist.
1325
1326 2013-12-17 Juri Linkov <juri@jurta.org>
1327
1328 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1329 (Bug#14751)
1330
1331 * net/eww.el (browse-web): Add alias to `eww'.
1332 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1333 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1334
1335 * net/browse-url.el (browse-url-browser-function): Move `eww'
1336 closer to similar functions.
1337
1338 * startup.el (fancy-startup-screen, fancy-about-screen):
1339 Set browse-url-browser-function to eww-browse-url locally.
1340 (Bug#14751)
1341
1342 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * window.el (window--pixel-to-total): Remove unused `mini' var.
1345 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1346 (split-window): Remove unused `new' var.
1347 (window--display-buffer): Remove unused `frame' and `delta' vars.
1348 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1349 and display-width'.
1350
1351 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1352
1353 * dired.el (dired-mark-pop-up):
1354 * register.el (register-preview): Don't bind
1355 split-height-threshold here since it's now done in
1356 display-buffer-below-selected.
1357
1358 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1359
1360 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1361 xterm-rgb-convert-to-16bit.
1362 (rxvt-register-default-colors): Standardize with
1363 xterm-register-default-colors (Bug#14078).
1364
1365 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1366
1367 * simple.el (kill-region): Pass mark first, then point, so that
1368 kill-append works right (Bug#12819).
1369 (copy-region-as-kill, kill-ring-save): Likewise.
1370
1371 2013-12-17 Leo Liu <sdl.web@gmail.com>
1372
1373 * net/rcirc.el (rcirc-add-face):
1374 * eshell/em-prompt.el (eshell-emit-prompt):
1375 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1376 (Bug#16167)
1377
1378 2013-12-17 Chong Yidong <cyd@gnu.org>
1379
1380 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1381 Suggested by Xue Fuqiao.
1382
1383 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1384
1385 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1386
1387 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1388
1389 * net/shr.el (shr-insert-document): Remove unused var
1390 `shr-preliminary-table-render'.
1391 (shr-rescale-image): Remove unused arg `force'.
1392 (shr-put-image): Update calls accordingly.
1393 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1394
1395 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1396
1397 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1398 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1399 :close-all, to see which indentation method to use (Bug#16116).
1400 (smie-rules-function): Document the method :close-all.
1401
1402 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1403
1404 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1405
1406 * net/eww.el (eww-display-html): If we can't find the anchor we're
1407 looking for, then go to point-min.
1408
1409 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1410
1411 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1412 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1413 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1414 Expand dir too, in case it's relative.
1415
1416 2013-12-16 Juri Linkov <juri@jurta.org>
1417
1418 * desktop.el (desktop-auto-save-timeout): Change default to
1419 `auto-save-timeout'. Doc fix.
1420 (desktop-save): Skip the timestamp in desktop-saved-frameset
1421 when checking for auto-save changes.
1422 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1423 `desktop-auto-save' is called repeatedly by the idle timer.
1424 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1425 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1426 (Bug#15331)
1427
1428 2013-12-16 Juri Linkov <juri@jurta.org>
1429
1430 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1431 (Bug#16035)
1432 (isearch-pre-command-hook): Check `this-command' for symbolp.
1433
1434 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1435
1436 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1437
1438 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1439
1440 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1441 (cfengine3--current-function): Bring in the current-function
1442 functionality from `cfengine3--current-word'.
1443 (cfengine3-completion-function): Bring in the
1444 bounds-of-current-word functionality from
1445 `cfengine3--current-word'.
1446
1447 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1448
1449 * window.el (display-buffer-below-selected):
1450 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1451
1452 2013-12-16 Leo Liu <sdl.web@gmail.com>
1453
1454 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1455 Remove NOMSG arg and all uses changed.
1456
1457 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1460 (cua--deactivate-rectangle): Don't deactivate the mark.
1461 (cua-set-rectangle-mark): Don't set mark-active since
1462 cua--activate-rectangle already does it for us.
1463 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1464 non-rectangular region.
1465
1466 * emulation/cua-base.el (cua-repeat-replace-region):
1467 Use with-current-buffer.
1468
1469 * net/gnutls.el: Use cl-lib.
1470 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1471
1472 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1473
1474 * emacs-lisp/package.el (package-built-in-p): Support both
1475 built-in and the package.el converted package descriptions.
1476 (package-show-package-list): Allow keywords.
1477 (package-keyword-button-action): Use it instead of
1478 `finder-list-matches'.
1479 (package-menu-filter-interactive): Interactive filtering (by
1480 keyword) function.
1481 (package-menu--generate): Support keywords and change keymappings
1482 and headers when they are given.
1483 (package--has-keyword-p): Helper function.
1484 (package-menu--refresh): Use it.
1485 (package--mapc): Helper function.
1486 (package-all-keywords): Use it.
1487 (package-menu-mode-map): Set up menu items and keybindings to
1488 provide a filtering UI.
1489
1490 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1491
1492 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1493 the behavior when a certificate fails validation. Defaults to
1494 old behavior: never abort, just warn.
1495 (gnutls-negotiate): Use it.
1496
1497 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1498
1499 * window.el (display-buffer-below-selected): Never split window
1500 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1501
1502 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1503
1504 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1505 (package-buffer-info): Use it (bug#15108).
1506
1507 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * icomplete.el (icomplete-completions): Make sure the prefix is already
1510 displayed elsewhere before hiding it (bug#16219).
1511
1512 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1513
1514 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1515 open-paren tokens when preceded by a open-paren, too.
1516 (ruby-smie-rules): Handle virtual indentation after open-paren
1517 tokens specially. If there is code between it and eol, return the
1518 column where is starts (Bug#16118).
1519
1520 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1521
1522 * progmodes/cfengine.el: Fix `add-hook' doc.
1523 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1524 (cfengine3--current-word): Fix parameters.
1525 (cfengine3-make-syntax-cache): Simplify further.
1526 (cfengine3-completion-function, cfengine3--current-function):
1527 Use `assq' for symbols.
1528 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1529
1530 2013-12-13 Glenn Morris <rgm@gnu.org>
1531
1532 * loadup.el (load-path): Warn if site-load or site-init changes it.
1533 No more need to reset it when bootstrapping.
1534
1535 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1536
1537 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1538 locations for cf-promises.
1539 (cfengine-mode-syntax-functions-regex): New caching variable.
1540 (cfengine3-fallback-syntax): Fallback syntax for cases where
1541 cf-promises doesn't run.
1542 (cfengine3--current-word): Reimplement using
1543 `cfengine-mode-syntax-functions-regex'.
1544 (cfengine3-completion-function, cfengine3--current-function):
1545 Use `cfengine3-make-syntax-cache' directly.
1546 (cfengine3-clear-syntax-cache): New function.
1547 (cfengine3-make-syntax-cache): Simplify and create
1548 `cfengine-mode-syntax-functions-regex' on demand.
1549 (cfengine3-format-function-docstring): Don't call
1550 `cfengine3-make-syntax-cache' explicitly.
1551
1552 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1553
1554 Fix windmove-find-other-window broken after pixelwise resizing
1555 (Bug#16017).
1556 * windmove.el (windmove-other-window-loc): Revert change from
1557 2013-12-04.
1558 (windmove-find-other-window): Call window-in-direction.
1559 * window.el (window-in-direction): New arguments SIGN, WRAP and
1560 MINI to emulate original windmove-find-other-window behavior.
1561
1562 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1563
1564 * simple.el (blink-matching--overlay): New variable.
1565 (blink-matching-open): Instead of moving point, highlight the
1566 matching paren with an overlay
1567 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1568
1569 * faces.el (paren-showing-faces, show-paren-match)
1570 (show-paren-mismatch): Move from paren.el.
1571
1572 2013-12-13 Leo Liu <sdl.web@gmail.com>
1573
1574 * indent.el (indent-region): Disable progress reporter in
1575 minibuffer. (Bug#16108)
1576
1577 * bindings.el (visual-order-cursor-movement): Fix version.
1578
1579 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1580
1581 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1582 Also match after beginning of line.
1583 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1584 files. Thanks to Russell Sim. (Bug#15378)
1585
1586 2013-12-13 Juri Linkov <juri@jurta.org>
1587
1588 * simple.el <Keypad support>: Remove key bindings duplicated
1589 with bindings.el. (Bug#14397)
1590
1591 2013-12-13 Juri Linkov <juri@jurta.org>
1592
1593 * comint.el (comint-mode-map): Replace `delete-char' with
1594 `delete-forward-char'. (Bug#16109)
1595
1596 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1597
1598 * progmodes/python.el (python-indent-calculate-indentation):
1599 Fix de-denters cornercase. (Bug#15731)
1600
1601 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1604 (advice--make): Pay attention to `depth'.
1605 (advice--make-1): Don't autoload commands eagerly.
1606 * emacs-lisp/elp.el (elp-instrument-function):
1607 * emacs-lisp/trace.el (trace-function-internal):
1608 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1609
1610 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1611
1612 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1613
1614 * term/w32-win.el (w32-handle-dropped-file):
1615 * startup.el (normal-top-level):
1616 * net/browse-url.el (browse-url-file-url):
1617 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1618 decode file names using 'utf-8' rather than
1619 file-name-coding-system.
1620
1621 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1622
1623 * progmodes/python.el (python-indent-context)
1624 (python-indent-calculate-indentation): Fix auto-identation
1625 behavior for comment blocks. (Bug#15916)
1626
1627 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1628
1629 * progmodes/python.el (python-indent-calculate-indentation):
1630 When determining indentation, don't treat "return", "pass", etc., as
1631 operators when they are just string constituents. (Bug#15812)
1632
1633 2013-12-12 Juri Linkov <juri@jurta.org>
1634
1635 * uniquify.el (uniquify-buffer-name-style): Change default to
1636 `post-forward-angle-brackets'.
1637
1638 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1639 `uniquify'. Change default to `post-forward-angle-brackets'.
1640
1641 2013-12-11 Glenn Morris <rgm@gnu.org>
1642
1643 * emacs-lisp/package.el (finder-list-matches):
1644 Autoload rather than falsely declaring.
1645
1646 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1647
1648 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1649 (eww-mode-map): Use them.
1650
1651 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1652
1653 * window.el (display-buffer-in-side-window): Fix doc-string
1654 (Bug#16115).
1655
1656 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1657
1658 * vc/vc-git.el: Silence byte-compiler warnings.
1659 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1660 (log-edit-set-header): Declare.
1661
1662 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1663
1664 * Makefile.in (custom-deps, finder-data): Run output file names
1665 through unmsys--file-name. (Bug#16099)
1666
1667 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1670 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1671
1672 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1673 instead of deleting the selection "by hand" (bug#16098).
1674 Rely on insert-for-yank to yank rectangles.
1675 (cua-highlight-region-shift-only): Mark obsolete.
1676 (cua-mode): Don't enable/disable transient-mark-mode,
1677 shift-select-mode (cua-mode works both with and without them), and
1678 pc-selection-mode (obsolete).
1679 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1680 (cua--deactivate-rectangle): Deactivate it.
1681
1682 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1683 (delete-selection-helper): Make sure yank starts at the top of the
1684 deleted region.
1685 (minibuffer-keyboard-quit): Use region-active-p.
1686
1687 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1688
1689 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1690 to `delete' (bug#16109).
1691
1692 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1693
1694 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1695 info manual and show keybindings and set `:group' keyword.
1696
1697 2013-12-11 Juri Linkov <juri@jurta.org>
1698
1699 * delsel.el (delete-active-region): Let-bind `this-command'
1700 to prevent `kill-region' from changing its original value.
1701 (delete-selection-helper): Handle `overwrite-mode' for the type
1702 `kill' exactly the same way as for the type `t'.
1703 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1704 Support more commands. (Bug#13312)
1705
1706 2013-12-11 Juri Linkov <juri@jurta.org>
1707
1708 * bindings.el: Map kp keys to non-kp keys systematically
1709 with basic modifiers control, meta and shift. (Bug#14397)
1710
1711 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1712
1713 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1714 "Close browser" menu items. Fix wrong function of "List
1715 bookmarks".
1716
1717 2013-12-11 Juri Linkov <juri@jurta.org>
1718
1719 * misearch.el (multi-isearch-buffers): Set the value of
1720 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1721 arg of isearch-forward to t.
1722 (multi-isearch-buffers-regexp): Set the value of
1723 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1724 arg of isearch-forward-regexp to t.
1725 (multi-isearch-files): Set the value of
1726 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1727 arg of isearch-forward to t.
1728 (multi-isearch-files-regexp): Set the value of
1729 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1730 arg of isearch-forward-regexp to t. (Bug#16035)
1731
1732 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1733 arg of isearch-forward to t.
1734 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1735 arg of isearch-forward-regexp to t.
1736 (dired-isearch-filter-filenames): Remove unnecessary check for
1737 `dired-isearch-filenames'.
1738
1739 * comint.el (comint-history-isearch-backward):
1740 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1741 (comint-history-isearch-backward-regexp):
1742 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1743
1744 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1745
1746 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1747 unmsys--file-name. (Bug#16099)
1748
1749 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1750
1751 * emacs-lisp/package.el (package-keyword-button-action):
1752 Remove finder.el require dependency.
1753
1754 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1755
1756 * emacs-lisp/package.el: Require finder.el.
1757 (describe-package-1): Add keyword buttons.
1758 (package-make-button): New convenience function.
1759 (package-keyword-button-action): Keyword button action using
1760 `finder-list-matches'.
1761
1762 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1763
1764 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1765 last commit.
1766
1767 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1768
1769 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1770 symlinked files.
1771
1772 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1773
1774 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1775 after the end of a percent literal.
1776
1777 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1778
1779 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1780 Handle caret-delimited strings (Bug#16079).
1781
1782 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1783
1784 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1785 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1786 `ruby-parse-partial' (Bug#16078).
1787
1788 2013-12-09 Leo Liu <sdl.web@gmail.com>
1789
1790 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1791
1792 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1793
1794 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1795 (js-switch-indent-offset): New option.
1796 (js--proper-indentation): Use it. And handle the case when
1797 "default" is actually a key in an object literal.
1798 (js--same-line): New function.
1799 (js--multi-line-declaration-indentation): Use it.
1800 (js--indent-in-array-comp, js--array-comp-indentation):
1801 New functions.
1802 (js--proper-indentation): Use them, to handle array comprehension
1803 continuations.
1804
1805 2013-12-08 Leo Liu <sdl.web@gmail.com>
1806
1807 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1808 (flymake-make-overlay): Remove arg MOUSE-FACE.
1809 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1810
1811 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1814 New function.
1815 (redisplay-highlight-region-function): Use it.
1816
1817 * emulation/cua-base.el (cua--explicit-region-start)
1818 (cua--last-region-shifted): Remove.
1819 (cua--deactivate): Use deactivate-mark.
1820 (cua--pre-command-handler-1): Don't handle shift-selection.
1821 (cua--post-command-handler-1): Don't change transient-mark-mode.
1822 (cua--select-keymaps): Use region-active-p rather than
1823 cua--explicit-region-start or cua--last-region-shifted.
1824 (cua-mode): Enable shift-select-mode.
1825
1826 2013-12-08 Leo Liu <sdl.web@gmail.com>
1827
1828 * progmodes/flymake.el (flymake-popup-current-error-menu):
1829 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1830 (flymake-posn-at-point-as-event, flymake-popup-menu)
1831 (flymake-make-emacs-menu): Remove. (Bug#16077)
1832
1833 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * rect.el (rectangle-mark-mode): Activate mark even if
1836 transient-mark-mode is off (bug#16066).
1837 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1838 is > mark and at bolp.
1839
1840 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1841 (region-extract-function): Use it.
1842 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1843 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1844 Delete functions.
1845 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1846 kill-ring-save, kill-region, delete-char, delete-forward-char.
1847 Ignore self-insert-iso.
1848
1849 * emulation/cua-gmrk.el (cua--init-global-mark):
1850 Ignore `self-insert-iso'.
1851
1852 * emulation/cua-base.el (cua--prefix-copy-handler)
1853 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1854 checking cua--rectangle.
1855 (cua-delete-region): Use region-extract-function.
1856 (cua-replace-region): Delete function.
1857 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1858 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1859 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1860 (cua--init-keymaps): Don't remap delete-selection commands.
1861 (cua-mode): Use delete-selection-mode instead of rolling our own
1862 (bug#16085).
1863
1864 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1865 Obey region-extract-function.
1866
1867 Make registers and delete-selection-mode work on rectangles.
1868 * register.el (describe-register-1): Don't modify the register's value.
1869 (copy-to-register): Obey region-extract-function.
1870 * delsel.el (delete-active-region): Obey region-extract-function.
1871
1872 2013-12-08 Leo Liu <sdl.web@gmail.com>
1873
1874 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1875 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1876 (flymake-compilation-prevents-syntax-check)
1877 (flymake-start-syntax-check-on-newline)
1878 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1879 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1880 (flymake-xml-program, flymake-master-file-dirs)
1881 (flymake-master-file-count-limit)
1882 (flymake-allowed-file-name-masks): Relocate.
1883 (flymake-makehash, flymake-float-time)
1884 (flymake-replace-regexp-in-string, flymake-split-string)
1885 (flymake-get-temp-dir): Remove.
1886 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1887 (flymake-current-row, flymake-selected-frame)
1888 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1889 related functions. (Bug#16077)
1890
1891 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1892
1893 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1894
1895 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1896
1897 * help-fns.el (describe-function-1): Use new advice-* functions
1898 rather than old ad-* functions. Fix function type description and
1899 source links for advised functions and subrs.
1900
1901 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1902
1903 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1904
1905 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1906
1907 * progmodes/compile.el (compilation-start):
1908 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1909
1910 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1911 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1912
1913 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1916 Touch up the last change.
1917
1918 2013-12-06 Leo Liu <sdl.web@gmail.com>
1919
1920 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1921 (inferior-octave-startup): Always use "octave> " for prompt.
1922 (octave-goto-function-definition)
1923 (octave-sync-function-file-names)
1924 (octave-find-definition-default-filename): Remove redundant backquotes.
1925
1926 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1927
1928 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1929 syntax for `?'.
1930 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1931 where appropriate already.
1932 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1933 end of method names (Bug#15874).
1934
1935 2013-12-06 Juri Linkov <juri@jurta.org>
1936
1937 * isearch.el (isearch--saved-overriding-local-map):
1938 New internal variable.
1939 (isearch-mode): Set it to the initial value of
1940 `overriding-terminal-local-map'.
1941 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1942 with `isearch--saved-overriding-local-map'. (Bug#16035)
1943
1944 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1945
1946 * progmodes/octave.el (inferior-octave-completion-table):
1947 Turn back into function, use `completion-table-with-cache'
1948 (Bug#11906). Update all references.
1949
1950 * minibuffer.el (completion-table-with-cache): New function.
1951
1952 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1953
1954 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1955
1956 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1957
1958 * net/eww.el (eww-current-source): New variable to store page
1959 source.
1960 (eww-display-html, eww-mode, eww-save-history)
1961 (eww-restore-history): Use it.
1962 (eww-view-source): New command to view page source.
1963 Opportunistically uses `html-mode' to highlight the buffer.
1964 (eww-mode-map): Install it.
1965
1966 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1967
1968 * net/dbus.el (dbus-unregister-service)
1969 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1970 Fix docstring.
1971 (dbus-unregister-service): Skip :serial entries in
1972 `dbus-registered-objects-table'.
1973 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1974
1975 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1976
1977 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1978 around keywords with extra `split-string' argument.
1979
1980 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1981
1982 * windmove.el (windmove-other-window-loc): Handle navigation
1983 between windows (excluding the minibuffer window - Bug#16017).
1984
1985 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1986
1987 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1988 in D-Bus type syntax.
1989 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1990 preserve unibyte strings. (Bug#16048)
1991
1992 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1995 Call force-mode-line-update is the proper buffer (bug#16042).
1996
1997 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1998
1999 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2000 `log-edit-remember-comment', make argument optional. Adjust all
2001 callers.
2002 (log-edit-mode): Add `log-edit-remember-comment' to
2003 `kill-buffer-hook' locally.
2004 (log-edit-kill-buffer): Don't remember comment explicitly since
2005 the buffer is killed anyway.
2006
2007 2013-12-04 Juri Linkov <juri@jurta.org>
2008
2009 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2010 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2011
2012 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2013
2014 * notifications.el (notifications-close-notification): Call the
2015 D-Bus method with ID being a `:uint32'. (Bug#16030)
2016
2017 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2018
2019 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2020
2021 2013-12-03 Juri Linkov <juri@jurta.org>
2022
2023 * progmodes/compile.el (compilation-start): Rename window alist
2024 entry `no-display-ok' to `allow-no-window'.
2025
2026 * simple.el (shell-command): Add window alist entry
2027 `allow-no-window' to `display-buffer'.
2028 (async-shell-command): Doc fix.
2029
2030 * window.el (display-buffer-no-window): New action function.
2031 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2032
2033 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2034
2035 * vc/log-edit.el (log-edit-set-header): Extract from
2036 `log-edit-toggle-header'.
2037 (log-edit-extract-headers): Separate the summary, when extracted
2038 from header, from the rest of the message with an empty line.
2039
2040 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2041 line, if present, to the Summary header.
2042
2043 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2044
2045 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2046 in current-buffer (bug#16029).
2047
2048 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2049
2050 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2051 (debugger-mode-map): Bind it.
2052 (debugger--backtrace-base): New function.
2053 (debugger-eval-expression): Use it.
2054 (debugger-frame-number): Skip local vars when present.
2055 (debugger--locals-visible-p, debugger--insert-locals)
2056 (debugger--show-locals, debugger--hide-locals): New functions.
2057
2058 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2059
2060 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2061 "LC_ALL".
2062 (tramp-get-remote-locale): New defun.
2063 (tramp-open-connection-setup-interactive-shell): Use it.
2064
2065 2013-12-02 Leo Liu <sdl.web@gmail.com>
2066
2067 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2068
2069 * progmodes/sh-script.el (sh-shell-process):
2070 * progmodes/octave.el (inferior-octave-process-live-p):
2071 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2072 (gdb-inferior-io-sentinel):
2073 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2074
2075 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2076
2077 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2078 `save-selected-window' to `log-edit-hide-buf'. This makes
2079 `log-edit-show-files' idempotent.
2080 (log-edit-show-files): Mark the new window as dedicated.
2081
2082 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * vc/log-edit.el (log-edit-mode-map): Add binding for
2085 `log-edit-kill-biffer'.
2086 (log-edit-hide-buf): Add a FIXME comment.
2087 (log-edit-add-new-comment): New function, extracted from
2088 `log-edit-done'.
2089 (log-edit-done, log-edit-add-to-changelog): Use it.
2090 (log-edit-kill-buffer): New command.
2091
2092 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2093
2094 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2095 instead of killing the buffer.
2096
2097 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2100
2101 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2102
2103 * net/eww.el (eww-form-checkbox-selected-symbol)
2104 (eww-form-checkbox-symbol): New customizable variable.
2105 (eww-form-checkbox, eww-toggle-checkbox):
2106 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2107
2108 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2109 (shr--get-media-pref, shr--extract-best-source): New function.
2110 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2111 no :src tag was specified.
2112
2113 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2114 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2115 Use \\` to match beginning of string instead of ^.
2116 (eww-browse-with-external-browser): Provide optional URL parameter.
2117 (eww-render): Set `eww-current-title' back to "".
2118
2119 * net/shr.el (shr-tag-video): Display content for video if no
2120 poster is available.
2121 (shr-tag-audio): Add support for <audio> tag.
2122
2123 * net/eww.el (eww-text-input-types): New const.
2124 (eww-process-text-input): Treat input types in
2125 `eww-text-input-types' as text.
2126
2127 * net/shr.el (shr-tag-table): Fix comment typo.
2128
2129 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2130
2131 * net/eww.el (eww-follow-link): New command to avoid reloading
2132 pages when we follow #target links (bug#15243).
2133 (eww-quit): Special mode buffers shouldn't query before exiting.
2134
2135 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2136
2137 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2138 forms.
2139
2140 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2141
2142 * net/eww.el (eww-restore-history): Update the window title after
2143 moving in the history.
2144 (eww-current-dom): New variable used to save the current DOM.
2145
2146 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2147
2148 * vc/log-edit.el (log-edit-mode-map): Add binding for
2149 `log-edit-beginning-of-line'.
2150 (log-edit-setup-add-author): New user option.
2151 (log-edit-beginning-of-line): New command.
2152 (log-edit): Move major mode call above the contents setup so that
2153 the local variable values are already applied.
2154 (log-edit): Only insert "Author: " when
2155 `log-edit-setup-add-author' is non-nil.
2156 (log-edit): When SETUP is non-nil, position point after ": "
2157 instead of point-min.
2158
2159 2013-12-01 Glenn Morris <rgm@gnu.org>
2160
2161 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2162
2163 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2164
2165 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2166 redisplay to make sure the initial frame gets a chance to become
2167 visible. (Bug#16014)
2168
2169 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2170
2171 Support resizing frames and windows pixelwise.
2172 * cus-start.el (frame-resize-pixelwise)
2173 (window-resize-pixelwise): New entries.
2174 * emacs-lisp/debug.el (debug): Use window-total-height instead
2175 of window-total-size.
2176 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2177 * help.el (describe-bindings-internal): Call help-buffer
2178 (temp-buffer-max-width): New option.
2179 (resize-temp-buffer-window, help-window-setup)
2180 (with-help-window): Rewrite.
2181 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2182 dragging dividers.
2183 * window.el (frame-char-size, window-min-pixel-height)
2184 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2185 (window-min-pixel-width, window-safe-min-pixel-size)
2186 (window-combination-p, window-safe-min-size)
2187 (window-resizable-p, window--size-to-pixel)
2188 (window--pixel-to-size, window--resize-apply-p): New functions.
2189 (window-safe-min-height): Fix doc-string.
2190 (window-size, window-min-size, window--min-size-1)
2191 (window-sizable, window-sizable-p, window--min-delta-1)
2192 (window-min-delta, window--max-delta-1, window-max-delta)
2193 (window--resizable, window--resizable-p, window-resizable)
2194 (window-full-height-p, window-full-width-p, window-at-side-p)
2195 (window--in-direction-2, window-in-direction)
2196 (window--resize-reset-1, window--resize-mini-window)
2197 (window-resize, window-resize-no-error)
2198 (window--resize-child-windows-normal)
2199 (window--resize-child-windows, window--resize-siblings)
2200 (window--resize-this-window, window--resize-root-window)
2201 (window--resize-root-window-vertically)
2202 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2203 (maximize-window, minimize-window, delete-window)
2204 (quit-restore-window, window-split-min-size, split-window)
2205 (balance-windows-2, balance-windows)
2206 (balance-windows-area-adjust, balance-windows-area)
2207 (window--state-get-1, window-state-get, window--state-put-1)
2208 (window--state-put-2, window-state-put)
2209 (display-buffer-record-window, window--display-buffer):
2210 Make functions handle pixelwise sizing of windows.
2211 (display-buffer--action-function-custom-type)
2212 (display-buffer-fallback-action):
2213 Add display-buffer-in-previous-window.
2214 (display-buffer-use-some-window): Resize window to height it had
2215 before.
2216 (fit-window-to-buffer-horizontally): New option.
2217 (fit-frame-to-buffer): Describe new values.
2218 (fit-frame-to-buffer-bottom-margin): Replace with
2219 fit-frame-to-buffer-margins.
2220 (window--sanitize-margin): New function.
2221 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2222 using window-text-pixel-size.
2223
2224 2013-11-30 Glenn Morris <rgm@gnu.org>
2225
2226 * emacs-lisp/bytecomp.el (byte-compile-form):
2227 Make the `interactive-only' warning like the `obsolete' one.
2228 * comint.el (comint-run):
2229 * files.el (insert-file-literally, insert-file):
2230 * replace.el (replace-string, replace-regexp):
2231 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2232 (goto-line, insert-buffer, next-line, previous-line):
2233 Tweak `interactive-only' spec.
2234
2235 Stop keeping (most) generated cedet grammar files in the repository.
2236 * Makefile.in (semantic): New.
2237 (compile-main): Depend on semantic.
2238
2239 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2242 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2243
2244 * uniquify.el (uniquify-buffer-name-style): Change default.
2245
2246 * loadup.el: Preload "uniquify".
2247
2248 * time.el (display-time-update): Update all mode lines (bug#15999).
2249
2250 * electric.el (electric-indent-mode): Enable by default.
2251 * loadup.el: Preload "electric".
2252
2253 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2254
2255 * emacs-lisp/helpers.el (string-empty-p): New function.
2256 (string-blank-p): New function.
2257
2258 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2259
2260 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2261 (Bug#14029).
2262
2263 2013-11-29 Andreas Politz <politza@fh-trier.de>
2264 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2265 allow non-lambda lists as functions.
2266 (imenu--in-alist): Don't recurse into non-subalists.
2267 (imenu): Don't pass function itself as an argument (Bug#14029).
2268
2269 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * progmodes/python.el (python-mode-map): Remove binding for ":".
2272 (python-indent-electric-colon): Remove command.
2273 (python-indent-post-self-insert-function): Integrate the previous code
2274 of python-indent-electric-colon. Make it conditional on
2275 electric-indent-mode.
2276 (python-mode): Add ?: to electric-indent-chars.
2277 Move python-indent-post-self-insert-function to the end of
2278 post-self-insert-hook.
2279
2280 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * doc-view.el (doc-view-goto-page): Update mode-line.
2283
2284 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2285
2286 2013-11-27 Glenn Morris <rgm@gnu.org>
2287
2288 * international/charprop.el, international/uni-bidi.el:
2289 * international/uni-category.el, international/uni-combining.el:
2290 * international/uni-comment.el, international/uni-decimal.el:
2291 * international/uni-decomposition.el, international/uni-digit.el:
2292 * international/uni-lowercase.el, international/uni-mirrored.el:
2293 * international/uni-name.el, international/uni-numeric.el:
2294 * international/uni-old-name.el, international/uni-titlecase.el:
2295 * international/uni-uppercase.el:
2296 Remove generated files from VCS repository.
2297
2298 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2299
2300 * filenotify.el (file-notify-add-watch): Don't special-case
2301 w32notify when computing the directory to watch.
2302
2303 2013-11-27 Glenn Morris <rgm@gnu.org>
2304
2305 Make bootstrap without generated uni-*.el files possible again.
2306 * loadup.el: Update command-line-args checking for unidata-gen.
2307 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2308 * composite.el, international/characters.el:
2309 Handle unicode tables being undefined.
2310
2311 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2312 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2313 (compile-main): Depend on leim rule.
2314 (leim): New rule.
2315 * loadup.el: Move leim-list.el to leim/ subdirectory.
2316 * startup.el (normal-top-level): No more leim directory.
2317 * international/ja-dic-cnv.el (skkdic-convert):
2318 Disable version-control and autoloads in output files.
2319 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2320 Disable version-control and autoloads in output files.
2321 * leim/quail: Move here from ../leim.
2322 * leim/quail/hangul.el (hangul-input-method-activate):
2323 Add autoload cookie.
2324 (generated-autoload-load-name): Set file-local value.
2325 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2326 (generated-autoload-load-name): Set file-local value.
2327
2328 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2329
2330 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2331 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2332 (eww-quit): Ask confirmation before quitting eww.
2333
2334 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2335
2336 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2337 reading output from Diff on MS-Windows and MS-DOS.
2338
2339 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2340
2341 * emacs-lisp/helpers.el (string-reverse): New function.
2342
2343 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2344
2345 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2346 names on MS Windows, like "/[::1]:".
2347
2348 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2349 SWITCHES.
2350
2351 2013-11-26 Glenn Morris <rgm@gnu.org>
2352
2353 * progmodes/python.el (python-indent-guess-indent-offset):
2354 Avoid corner-case error. (Bug#15975)
2355
2356 Preload leim-list.el. (Bug#4789)
2357 * loadup.el: Load leim-list.el when found.
2358 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2359
2360 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2361
2362 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2363
2364 * emacs-lisp/helpers.el (string-join): New function.
2365
2366 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2367
2368 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2369 Mark as obsolete and replace it with a symbol property.
2370 (byte-compile-form): Use new 'interactive-only property.
2371 * comint.el, files.el, replace.el, simple.el:
2372 Apply new 'interactive-only properly.
2373
2374 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2375
2376 * window.el (display-buffer-at-bottom): Make sure that
2377 split-window-sensibly creates the new window on bottom
2378 (Bug#15961).
2379
2380 2013-11-23 David Kastrup <dak@gnu.org>
2381
2382 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2383 on the conflict markers when available.
2384 (smerge--get-marker): New function.
2385 (smerge-end-re, smerge-base-re): Add subgroup.
2386
2387 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * frame.el (handle-focus-in, handle-focus-out): Add missing
2390 interactive spec.
2391
2392 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2393
2394 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2395 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2396
2397 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2400 (gomoku--last-pos): New var.
2401 (gomoku--intangible-chars): New const.
2402 (gomoku--intangible): New function.
2403 (gomoku-mode): Use it. Derive from special-mode.
2404 (gomoku-move-up): Adjust line count.
2405 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2406 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2407 Simplify accordingly.
2408
2409 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2410 Remove blink-cursor code.
2411 (blink-cursor-timer-function, blink-cursor-suspend):
2412 Don't special-case GUIs.
2413 (blink-cursor-mode): Use focus-in/out-hook.
2414
2415 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2416
2417 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2418 work when annotation is invisible (Bug#13886).
2419
2420 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2421
2422 * json.el (json-alist-p): Only return non-nil if the alist has
2423 simple keys (Bug#13518).
2424
2425 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2426
2427 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2428 when control-statement is the first statement in a buffer (Bug#15956).
2429
2430 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2431
2432 * imenu.el (imenu-generic-skip-comments-and-strings):
2433 New option (Bug#15560).
2434 (imenu--generic-function): Use it.
2435
2436 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2437
2438 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2439 (Bug#13898)
2440
2441 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2442
2443 * emacs-lisp/helpers.el: Add some string helpers.
2444 (string-trim-left): Removes leading whitespace.
2445 (string-trim-right): Removes trailing whitespace.
2446 (string-trim): Removes leading and trailing whitespace.
2447
2448 * subr.el (string-suffix-p): New function.
2449
2450 2013-11-23 Glenn Morris <rgm@gnu.org>
2451
2452 * progmodes/python.el (python-shell-send-file):
2453 Add option to delete file when done. (Bug#15647)
2454 (python-shell-send-string, python-shell-send-region): Use it.
2455
2456 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2457
2458 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2459 to set buffer-read-only to t, never to nil. (Bug#15938)
2460
2461 * textmodes/tex-mode.el (latex-noindent-environments):
2462 Add safe-local-variable property. (Bug#15936)
2463
2464 2013-11-23 Glenn Morris <rgm@gnu.org>
2465
2466 * textmodes/enriched.el (enriched-mode): Doc fix.
2467 * emacs-lisp/authors.el (authors-renamed-files-alist):
2468 Add enriched.doc -> enriched.txt.
2469
2470 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2471
2472 2013-11-22 Leo Liu <sdl.web@gmail.com>
2473
2474 * progmodes/octave.el (inferior-octave-startup): Spit out error
2475 message.
2476
2477 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2478
2479 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2480 Improve docstring.
2481 Add :version.
2482 (ruby-encoding-magic-comment-style): Add :version.
2483
2484 2013-11-22 Leo Liu <sdl.web@gmail.com>
2485
2486 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2487 (Bug#15076)
2488 (octave-help-mode): Adapt to change to help-mode-finish to use
2489 derived-mode-p on 2013-09-17.
2490 (inferior-octave-prompt): Also match octave-gui.
2491 (octave-kill-process): Don't ask twice. (Bug#10564)
2492
2493 2013-11-22 Leo Liu <sdl.web@gmail.com>
2494
2495 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2496 (inferior-octave-startup, inferior-octave-check-process)
2497 (inferior-octave-track-window-width-change)
2498 (octave-completion-at-point, octave-eldoc-function): Use it.
2499 (octave-kill-process): Provide confirmation. (Bug#10564)
2500
2501 2013-11-21 Leo Liu <sdl.web@gmail.com>
2502
2503 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2504 Fix obsolete variable comment-use-global-state.
2505
2506 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2507
2508 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2509 Add `octave-source-file'.
2510 (octave-source-file): New function. (Bug#15935)
2511
2512 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2513
2514 * net/eww.el (eww-local-regex): New variable.
2515 (eww): Use it to detect localhost and similar.
2516
2517 2013-11-21 Leo Liu <sdl.web@gmail.com>
2518
2519 Add completion for command `ag'.
2520 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2521 (pcomplete/ag): New function.
2522 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2523
2524 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2525
2526 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2527 (bug#14646).
2528 (make-obsolete): Remove interactive spec.
2529
2530 2013-11-21 Glenn Morris <rgm@gnu.org>
2531
2532 * startup.el (command-line-1): Use path-separator with -L.
2533
2534 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2535
2536 * emacs-lisp/package.el (describe-package-1): Add package archive
2537 to shown fields.
2538
2539 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2540
2541 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2542 Change default to "# encoding: %s" to differentiate it from the
2543 default Ruby encoding comment template.
2544
2545 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2546
2547 * ses.el (ses-mode): Doc fix. (Bug#14748)
2548
2549 2013-11-20 Leo Liu <sdl.web@gmail.com>
2550
2551 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2552
2553 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2554
2555 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2556 when rebase or bisect are in progress.
2557
2558 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2559
2560 * filenotify.el (file-notify-add-watch): Doc fix.
2561
2562 2013-11-19 Leo Liu <sdl.web@gmail.com>
2563
2564 * obsolete/rcompile.el: Mark obsolete.
2565
2566 * progmodes/compile.el (compilation-start)
2567 (compilation-goto-locus, compilation-find-file):
2568 Pass no-display-ok and handle nil value from display-buffer.
2569 (Bug#13594)
2570
2571 * window.el (display-buffer-alist, display-buffer): Document the
2572 new parameter no-display-ok. Return either a window or nil
2573 but never a non-window value.
2574
2575 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * electric.el (electric-indent-mode-map): Remove.
2578 (electric-indent-mode): Change the global-map instead (bug#15915).
2579
2580 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2581 Use add-function.
2582
2583 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2584
2585 * emacs-lisp/nadvice.el (remove-function): Align with
2586 add-function's behavior.
2587
2588 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2589 (gdb--string-regexp): New constant.
2590 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2591 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2592 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2593 submatch 1.
2594 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2595 Adjust use accordingly.
2596 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2597
2598 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2599
2600 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2601 interpolation curlies (Bug#15914).
2602
2603 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2604
2605 * calc/calc.el (calc-context-sensitive-enter): New variable.
2606 (calc-enter): Use `calc-context-sensitive-enter'.
2607
2608 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2609
2610 * progmodes/cfengine.el: Version bump.
2611 (cfengine-cf-promises): New defcustom to locate cf-promises.
2612 (cfengine3-vartypes): Add new "data" type.
2613 (cfengine3--current-word): New function to get current name-like
2614 word or its bounds.
2615 (cfengine3--current-function): New function to look up a CFEngine
2616 function's definition.
2617 (cfengine3-format-function-docstring): New function.
2618 (cfengine3-make-syntax-cache): New function.
2619 (cfengine3-documentation-function): New function: ElDoc glue.
2620 (cfengine3-completion-function): New function: completion glue.
2621 (cfengine3-mode): Set `compile-command',
2622 `eldoc-documentation-function', and add to
2623 `completion-at-point-functions'.
2624
2625 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2626
2627 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2628 `tramp-current-connection'.
2629
2630 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2631
2632 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2633 nil/self/true/false with "end of symbol".
2634
2635 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2636
2637 * subr.el (version-regexp-alist): Fix a typo.
2638
2639 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2642 "en_US.utf8" and "LC_CTYPE" to "".
2643 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2644 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2645
2646 2013-11-15 Leo Liu <sdl.web@gmail.com>
2647
2648 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2649
2650 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * progmodes/gud.el (ctl-x-map):
2653 Remove C-x SPC binding. (Bug#12342)
2654 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2655
2656 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2657
2658 * subr.el (version-regexp-alist):
2659 Recognize hg, svn and darcs versions as snapshot versions.
2660
2661 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2662 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2663 (ruby--encoding-comment-required-p): Extract from
2664 `ruby-mode-set-encoding'.
2665 (ruby-mode-set-encoding): Add the ability to always insert an
2666 utf-8 encoding comment. Fix and simplify coding comment update
2667 logic.
2668
2669 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2670
2671 * net/tramp-gvfs.el (top): Run init code only when
2672 `tramp-gvfs-enabled' is not nil.
2673 (tramp-gvfs-enabled): Check also :system bus.
2674
2675 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 Sync with upstream verilog-mode revision 78e66ba.
2678 * progmodes/verilog-mode.el (verilog-end-of-defun)
2679 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2680 (verilog-get-end-of-defun): Remove unused argument.
2681 (verilog-comment-depth): Remove unused local `e'.
2682 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2683 Don't pass arg to verilog-get-end-of-defun.
2684
2685 2013-11-14 Glenn Morris <rgm@gnu.org>
2686
2687 * obsolete/assoc.el (aget): Prefix dynamic variable.
2688
2689 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2690
2691 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * widget.el, hfy-cmap.el: Remove bogus package version number.
2694
2695 2013-11-13 Glenn Morris <rgm@gnu.org>
2696
2697 * replace.el (replace-eval-replacement):
2698 Try to give more helpful error message. (Bug#15836)
2699
2700 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2701 (archive-7z-update): Avoid custom type mismatches.
2702
2703 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2704
2705 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2708 address can be empty.
2709
2710 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2711 Accept nil SWITCHES.
2712 (tramp-gvfs-handle-write-region): Implement APPEND.
2713
2714 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2715
2716 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2717 binary "|" operator and closing block args delimiter.
2718 Remove FIXME comment referring to Ruby 1.8-only syntax.
2719 (ruby-smie--implicit-semi-p): Not after "|" operator.
2720 (ruby-smie--closing-pipe-p): New function.
2721 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2722 (ruby-smie-rules): Indent after "|".
2723
2724 2013-11-12 Glenn Morris <rgm@gnu.org>
2725
2726 * ps-print.el (ps-face-attribute-list):
2727 Handle anonymous faces. (Bug#15827)
2728
2729 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2730
2731 * window.el (display-buffer-other-frame): Fix doc-string.
2732 (Bug#15868)
2733
2734 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2737
2738 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2739
2740 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2741 (tramp-sh-handle-file-local-copy): Don't write a message when
2742 saving temporary files.
2743
2744 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2745 both directories are remote.
2746 (tramp-smb-handle-directory-files): Do not return double entries.
2747 Do not expand full file names.
2748 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2749 (tramp-smb-handle-write-region): Implement APPEND.
2750 (tramp-smb-get-stat-capability): Fix a stupid bug.
2751
2752 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2753
2754 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2755
2756 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2757
2758 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2759 throwing error over malformed let/let* (bug#15814).
2760
2761 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * iswitchb.el (iswitchb-mode): Mark obsolete.
2764
2765 2013-11-11 Glenn Morris <rgm@gnu.org>
2766
2767 * international/uni-bidi.el, international/uni-category.el:
2768 * international/uni-name.el, international/uni-numeric.el:
2769 Regenerate for Unicode 6.3.0.
2770
2771 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * net/tramp.el (tramp-methods):
2774 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2775 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2776
2777 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2778
2779 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2780 Force highlighting text after Summary keyword in doc face for rpm.
2781
2782 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2783
2784 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2785 available and the word has no wildcards, append one to the grep pattern.
2786 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2787 (ispell-complete-word): Call `ispell-lookup-words' with the value
2788 independent of `ispell-look-p'.
2789
2790 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2791
2792 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2793 Not after "||".
2794 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2795 their parent.
2796
2797 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2798
2799 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2800 (ruby-font-lock-keywords): Use backquote.
2801
2802 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2803
2804 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2805 (ruby-smie--backward-token): Only consider full-string matches.
2806
2807 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2808
2809 * faces.el (describe-face): Add distant-foreground.
2810
2811 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2812
2813 * progmodes/ruby-mode.el: Improve encoding comment handling.
2814 (ruby-encoding-magic-comment-style): New option.
2815 (ruby-custom-encoding-magic-comment-template): New option.
2816 (ruby--insert-coding-comment, ruby--detect-encoding):
2817 New functions extracted from `ruby-mode-set-encoding'.
2818 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2819 to control the style of the auto-inserted encoding comment.
2820
2821 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2824 Use `smie-backward-sexp' with token argument.
2825
2826 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2827
2828 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2829 Remove instrumentation code.
2830
2831 2013-11-08 Glenn Morris <rgm@gnu.org>
2832
2833 * progmodes/autoconf.el (autoconf-mode):
2834 Tweak comment-start-skip. (Bug#15822)
2835
2836 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2837
2838 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2839 at bobp (bug#15826).
2840 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2841
2842 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2843
2844 * man.el (Man-start-calling): New macro, extracted from
2845 Man-getpage-in-background.
2846 (Man-getpage-in-background): Use it.
2847 (Man-update-manpage): New command.
2848 (Man-mode-map): Bind it.
2849
2850 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2853 of "and", "or", "&&" and "||".
2854 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2855 argument. Prohibit opening curly brace because it could only be a
2856 block opener in that position.
2857 (ruby-smie--forward-token, ruby-smie--backward-token):
2858 Separate "|" from "&" or "*" going after it. That can happen in block
2859 arguments.
2860 (ruby-smie--indent-to-stmt): New function, seeks the end of
2861 previous statement or beginning of buffer.
2862 (ruby-smie-rules): Use it.
2863 (ruby-smie-rules): Check if there's a ":" before a curly block
2864 opener candidate; if there is, it's a hash.
2865
2866 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2869 (cl--block-wrapper): Fix last accidental change.
2870
2871 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2874 Instrument, in order to hunt failure on hydra.
2875
2876 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2877
2878 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2879 malformed bindings form (bug#15814).
2880
2881 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2882
2883 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2884 "." compared to " @ ". This incidentally fixes some indentation
2885 examples with "do".
2886 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2887 (ruby-smie-grammar): New tokens: "and" and "or".
2888 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2889 Exclude "and" and "or". Remove "do" in order to work around token
2890 priorities.
2891 (ruby-smie-rules): Add all infix tokens. Handle the case of
2892 beginning-of-buffer.
2893
2894 2013-11-06 Glenn Morris <rgm@gnu.org>
2895
2896 * Makefile.in (setwins_almost, setwins_for_subdirs):
2897 Avoid accidental matches.
2898
2899 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * menu-bar.el (popup-menu): Use key-binding.
2902
2903 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2904
2905 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2906 menus, support also the menus produced by minor modes.
2907 (Bug#15817)
2908
2909 2013-11-06 Leo Liu <sdl.web@gmail.com>
2910
2911 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2912 DISTANCE to bound the search. All uses changed. (Bug#15808)
2913
2914 2013-11-06 Glenn Morris <rgm@gnu.org>
2915
2916 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2917 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2918 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2919
2920 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * electric.el (electric-indent-just-newline): New command.
2923 (electric-indent-mode-map): New keymap.
2924 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2925 Re-add :group which weren't redundant.
2926
2927 * electric.el (electric-indent-local-mode): New minor mode.
2928 (electric-indent-functions-without-reindent): New var.
2929 (electric-indent-post-self-insert-function): Use it.
2930 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2931
2932 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2933
2934 * international/quail.el (quail-help): Be more explicit about the
2935 meaning of the labels shown on the keys. (Bug#15800)
2936
2937 * startup.el (normal-top-level): Load the subdirs.el files before
2938 setting the locale environment. (Bug#15805)
2939
2940 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2941
2942 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2943 via arguments so as to get the right ones (bug#15418).
2944
2945 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2946
2947 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2948
2949 Fix problems found while writing a test suite.
2950
2951 * net/tramp-compat.el (tramp-compat-load): New defun.
2952 * net/tramp.el (tramp-handle-load): Use it.
2953
2954 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2955 "(numberp ok-if-already-exists)" correctly.
2956
2957 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2958
2959 * international/characters.el (glyphless-char-display-control):
2960 Add usage note.
2961
2962 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2963
2964 * progmodes/python.el (python-mode):
2965 * progmodes/scheme.el (scheme-mode):
2966 * progmodes/prolog.el (prolog-mode):
2967 * progmodes/ruby-mode.el (ruby-mode):
2968 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2969 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2970
2971 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * rect.el (rectangle--highlight-for-redisplay):
2974 * emacs-lisp/smie.el (smie--next-indent-change):
2975 Use buffer-chars-modified-tick.
2976
2977 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2978
2979 * electric.el (electric-indent-post-self-insert-function):
2980 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2981
2982 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2983
2984 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2985
2986 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2987
2988 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2989 (bug#15786).
2990
2991 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2994
2995 * progmodes/python.el: Fix up last change.
2996 (python-shell--save-temp-file): New function.
2997 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2998 `string' comes from the current buffer.
2999 (python-shell-send-string-no-output): Remove `msg' arg.
3000 (python--use-fake-loc): New var.
3001 (python-shell-buffer-substring): Obey it. Try to compensate for the
3002 extra coding line added by python-shell--save-temp-file.
3003 (python-shell-send-region): Use python-shell--save-temp-file and
3004 python-shell-send-file directly. Add `nomain' argument.
3005 (python-shell-send-buffer): Use python-shell-send-region.
3006 (python-electric-pair-string-delimiter): New function.
3007 (python-mode): Use it.
3008
3009 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3010
3011 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3012 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3013 environment and decoding all of the default-directory's to here
3014 from command-line.
3015 (command-line): Decode also argv[0].
3016
3017 * loadup.el: Error out if default-directory is a multibyte string
3018 when we are dumping.
3019
3020 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3021
3022 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3023
3024 * emacs-lisp/package.el (package-menu-mode)
3025 (package-menu--print-info, package-menu--archive-predicate):
3026 Add Archive column to package list.
3027
3028 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3029
3030 Fix problems found while writing a test suite.
3031
3032 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3033 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3034 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3035 to nil when running original file name handler. Otherwise,
3036 there are problems with constructs like "$$FOO".
3037
3038 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3039 for `localname'.
3040
3041 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3042
3043 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3044
3045 * subr.el (version<, version<=, version=):
3046 Update docstrings with information for snapshot versions.
3047
3048 * helpers.el: New library for misc helper functions.
3049 (hash-table-keys): New function returning a list of hash keys.
3050 (hash-table-values): New function returning a list of hash values.
3051
3052 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3053
3054 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3055 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3056
3057 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3058
3059 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3060 checking whether point is after a 1-letter word.
3061
3062 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3063
3064 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3065 Don't infloop when expanding region over `multiline' syntax-type that
3066 begins a line (bug#15778).
3067
3068 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3071 Make it into a proper minor mode.
3072 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3073 (rectangle-mark-mode-map): New keymap.
3074 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3075
3076 2013-11-04 Glenn Morris <rgm@gnu.org>
3077
3078 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3079
3080 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3081
3082 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3083 (ruby-smie-rules): Use smie-rule-parent instead.
3084
3085 * emacs-lisp/smie.el (smie-rule-parent): Always call
3086 smie-indent-virtual rather than only for hanging tokens.
3087 (smie--next-indent-change): New helper command.
3088
3089 2013-11-03 Glenn Morris <rgm@gnu.org>
3090
3091 * Makefile.in (abs_srcdir): Remove.
3092 (emacs): Unset EMACSLOADPATH.
3093
3094 2013-11-02 Glenn Morris <rgm@gnu.org>
3095
3096 * Makefile.in (EMACS): Use a relative filename.
3097 (abs_top_builddir): Remove.
3098 (custom-deps, finder-data, autoloads): Use --chdir.
3099
3100 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3101
3102 Use relative filenames in TAGS files.
3103 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3104 (lisptagsfiles4, TAGS): Use relative file names.
3105 (TAGS-LISP): Remove.
3106 (maintainer-clean): No more TAGS-LISP file.
3107
3108 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3109 (lisptagsfiles4): Use absolute filenames again.
3110 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3111 Remove all *loaddefs files, not just the first. Remove esh-groups.
3112 (maintainer-clean): Delete TAGS, TAGS-LISP.
3113
3114 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3115
3116 * emacs-lisp/package.el (package-version-join):
3117 Recognize snapshot versions.
3118
3119 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3120
3121 * subr.el (version-regexp-alist): Add support for snapshot versions.
3122
3123 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3124
3125 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3126 New function, replacement for `smie-rule-parent' for when we want to
3127 skip over our direct parent if it's an assignment token..
3128 (ruby-smie-rules): Use it.
3129
3130 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3131
3132 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3133 unconditionally. Remove now unnecessary forward declarations.
3134 Remove XEmacs-specific setup.
3135 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3136 (ruby-font-lock-syntactic-keywords)
3137 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3138 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3139 (ruby-here-doc-end-syntax): Remove.
3140 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3141 defined as function.
3142
3143 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3144
3145 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3146
3147 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3148
3149 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3150 table and abbrev table, `define-derived-mode' does that for us
3151 anyway.
3152
3153 2013-11-01 Glenn Morris <rgm@gnu.org>
3154
3155 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3156 files is atomic for some time, so no parallel compilation issues).
3157
3158 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3159
3160 * faces.el (face-x-resources): Add :distant-foreground.
3161 (region): Use :distant-foreground for gtk and ns.
3162
3163 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3164
3165 Allow multiple bibliographies when BibLaTeX is used rather than
3166 BibTeX.
3167 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3168 (reftex-locate-bibliography-files): Us it.
3169
3170 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3171
3172 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3173 allow comments in pbm files.
3174
3175 * term/w32-win.el (dynamic-library-alist): Support newer versions
3176 of libjpeg starting with v7: look only for the DLL from the
3177 version against which Emacs was built.
3178 Support versions of libpng beyond 1.4.x.
3179 Support libtiff v4.x.
3180
3181 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3182
3183 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3184 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3185 Add property :safe.
3186 (ruby-deep-arglist): Add property :type.
3187
3188 2013-10-31 Glenn Morris <rgm@gnu.org>
3189
3190 * Makefile.in (custom-deps, finder-data): No need to setq the target
3191 variables, we are in the right directory and the defaults work fine.
3192
3193 2013-10-30 Glenn Morris <rgm@gnu.org>
3194
3195 * Makefile.in (autoloads): Do not use abs_lisp.
3196
3197 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3198 `newline' does not respect `standard-output', so use `princ'.
3199
3200 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3201
3202 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3203 * buff-menu.el (Buffer-menu--unmark): New function.
3204 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3205
3206 2013-10-30 Glenn Morris <rgm@gnu.org>
3207
3208 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3209
3210 * emacs-lisp/package.el (lm-homepage): Declare.
3211
3212 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3213 Fix doc typos.
3214
3215 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3216
3217 * Makefile.in (finder-data, autoloads, update-subdirs)
3218 (compile-main, compile-clean, compile-always, bootstrap-clean):
3219 Check return value of cd.
3220 (compile-calc): Remove.
3221
3222 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3223
3224 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3225
3226 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3227 (byte-compile-and-folded): New function.
3228 (=, <, >, <=, >=): Use it.
3229
3230 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3231 (path-separator, null-device, buffer-file-coding-system)
3232 (lpr-headers-switches): Check system-type before modifying them.
3233 (find-buffer-file-type-coding-system): Mark obsolete.
3234 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3235 find-file-not-found-set-buffer-file-coding-system.
3236 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3237 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3238 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3239 (w32-direct-print-region-helper, w32-direct-print-region-function)
3240 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3241 * startup.el (normal-top-level-add-subdirs-to-load-path):
3242 * ps-print.el (ps-print-region-function):
3243 * lpr.el (print-region-function): Use new name.
3244
3245 * subr.el (custom-declare-variable-early): Remove function.
3246 (custom-declare-variable-list): Remove var.
3247 (error, user-error): Remove `while' loop.
3248 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3249 (user-emacs-directory-warning, locate-user-emacs-file):
3250 Move to files.el.
3251 * simple.el (read-quoted-char-radix, read-quoted-char):
3252 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3253 Move from subr.el.
3254 * custom.el (custom-declare-variable-list): Don't process
3255 custom-declare-variable-list.
3256
3257 * progmodes/python.el (python-shell-get-buffer): New function.
3258 (python-shell-get-process): Use it.
3259 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3260 Python which encoding was used. Don't split-string since we only care
3261 about the first line. Return the temp-file, if applicable.
3262 (python-shell-send-region): Tell compile.el how to turn locations in
3263 the temp-file into locations in the source buffer.
3264
3265 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * subr.el (undefined): Add missing behavior from the C code for
3268 unbound keys.
3269
3270 * rect.el: Use lexical-binding. Add new rectangular region support.
3271 (rectangle-mark): New command.
3272 (rectangle--region): New var.
3273 (deactivate-mark-hook): Reset rectangle--region.
3274 (rectangle--extract-region, rectangle--insert-for-yank)
3275 (rectangle--highlight-for-redisplay)
3276 (rectangle--unhighlight-for-redisplay): New functions.
3277 (region-extract-function, redisplay-unhighlight-region-function)
3278 (redisplay-highlight-region-function): Use them to handle
3279 rectangular region.
3280 * simple.el (region-extract-function): New var.
3281 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3282 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3283 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3284 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3285 (redisplay-unhighlight-region-function)
3286 (redisplay-highlight-region-function): New vars.
3287 (redisplay--update-region-highlight): New function.
3288 (pre-redisplay-function): Use it.
3289 (exchange-point-and-mark): Don't deactivate the mark before
3290 reactivate-it anyway.
3291 * comint.el (comint-kill-region): Remove yank-handler argument.
3292 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3293 (delete-char): Remove property, since it's now part of their
3294 default behavior.
3295 (self-insert-iso): Remove property since this command doesn't exist.
3296
3297 * emacs-lisp/package.el (package--download-one-archive)
3298 (describe-package-1): Don't query the user about final newline.
3299
3300 2013-10-29 Daniel Colascione <dancol@dancol.org>
3301
3302 * net/tramp.el (tramp-methods): Document new functionality.
3303 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3304 tramp-hostname-checker if method provides one instead of scanning
3305 argument list for "%h" to decide hostname acceptability.
3306
3307 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3308
3309 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3310 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3311 Handle COPY-CONTENTS. (Bug#15737)
3312
3313 2013-10-28 Daiki Ueno <ueno@gnu.org>
3314
3315 * epa-file.el
3316 (epa-file-cache-passphrase-for-symmetric-encryption):
3317 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3318
3319 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3320
3321 * image.el (defimage):
3322 (image-load-path): Doc fixes.
3323
3324 2013-10-27 Alan Mackenzie <acm@muc.de>
3325
3326 Indent statements in macros following "##" correctly.
3327 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3328 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3329
3330 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3331
3332 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3333
3334 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3335
3336 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3337 after `=' is probably a new expression.
3338
3339 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3340
3341 * man.el (man-imenu-title): New option.
3342 (Man-mode-map): Add menu. (Bug#15722)
3343 (Man-mode): Add imenu to menu.
3344
3345 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3346
3347 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3348 specific in what the first arg can be: a non-keyword word,
3349 string/regexp/percent literal opener, opening paren, or unary
3350 operator followed directly by word.
3351
3352 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3355 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3356 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3357 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3358 Remove vars, they do not apply any more.
3359 (prolog-mode-abbrev-table): Remove redundant declaration.
3360 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3361 (prolog-use-smie): Remove.
3362 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3363 supported by prolog-electric-if-then-else-flag.
3364 (prolog-mode-variables, prolog-menu): Use setq-local.
3365 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3366 Remove binding to `Backspace' since this key doesn't exist anyway.
3367 Remove bindings for electric self-inserting keys.
3368 (prog-mode): Assume it's defined.
3369 (prolog-post-self-insert): New function.
3370 (prolog-mode): Use it.
3371 (prolog-indent-line, prolog-indent-level)
3372 (prolog-find-indent-of-matching-paren)
3373 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3374 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3375 (prolog-goto-next-paren, prolog-in-string-or-comment)
3376 (prolog-tokenize, prolog-inside-mline-comment)
3377 (prolog-find-start-of-mline-comment): Remove functions.
3378 (prolog-find-unmatched-paren, prolog-clause-end)
3379 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3380 (prolog-electric--if-then-else): Rename from
3381 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3382 (prolog-tokenize-searchkey): Remove const.
3383 (prolog-clause-info): Use forward-sexp.
3384 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3385 (prolog-electric-if-then-else): Remove commands.
3386 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3387 for use in post-self-insert-hook.
3388 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3389 for use in post-self-insert-hook.
3390 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3391 for use in post-self-insert-hook.
3392 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3393 adapt it for use in post-self-insert-hook.
3394
3395 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3396
3397 * emacs-lisp/ert.el (ert-run-tests-interactively):
3398 Use `completing-read'. (Bug#9756)
3399
3400 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3401
3402 * simple.el (line-move): Call line-move-1 instead of
3403 line-move-visual when the current window hscroll is zero, but
3404 temporary-goal-column indicates we will need to hscroll as result
3405 of the movement. (Bug#15712)
3406
3407 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3408
3409 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3410 capitalization. Use :visible instead of :active.
3411 Fix `ruby-indent-exp' reference. Add menu items for the generic
3412 commands that are used with SMIE.
3413 (ruby-do-end-to-brace): Insert space after `{'.
3414
3415 2013-10-25 John Anthony <john@jo.hnanthony.com>
3416
3417 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3418
3419 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3420
3421 2013-10-25 Glenn Morris <rgm@gnu.org>
3422
3423 * vc/vc.el (vc-print-log): Don't use a working revision unless
3424 one was explicitly specified. (Bug#15322)
3425
3426 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * subr.el (add-to-list): Preserve return value in compiler-macro
3429 (bug#15692).
3430
3431 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3432
3433 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3434 result. Ask user to retry using '-all' flag. (Bug#15701)
3435
3436 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * emacs-lisp/smie.el: New smie-config system.
3439 (smie-config): New defcustom.
3440 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3441 (smie-config-guess, smie-config-save): New commands.
3442 (smie-config--mode-local, smie-config--buffer-local)
3443 (smie-config--trace, smie-config--modefuns): New vars.
3444 (smie-config--advice, smie-config--mode-hook)
3445 (smie-config--setter, smie-config-local, smie-config--get-trace)
3446 (smie-config--guess-value, smie-config--guess): New functions.
3447 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3448 text properties. Treat "string fence" syntax like string syntax.
3449
3450 * progmodes/sh-script.el (sh-use-smie): Change default.
3451 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3452 (sh-var-value): Simplify by CSE.
3453 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3454 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3455 is used.
3456 (sh-guess-basic-offset): Use cl-incf.
3457 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3458
3459 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3460
3461 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3462 (bug#15699).
3463
3464 2013-10-24 Glenn Morris <rgm@gnu.org>
3465
3466 * Makefile.in (abs_top_srcdir): Remove.
3467 (update-subdirs): Use relative path to update-subdirs.
3468
3469 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3470
3471 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3472 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3473 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3474 Call unmsys--file-name before expand-file-name, not after it.
3475
3476 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3477
3478 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3479 (ert-test-skipped): New error.
3480 (ert-skip, ert-stats-skipped): New defuns.
3481 (ert--skip-unless): New macro.
3482 (ert-test-skipped): New struct.
3483 (ert--run-test-debugger, ert-test-result-type-p)
3484 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3485 (ert--stats-set-test-and-result, ert-char-for-test-result)
3486 (ert-string-for-test-result, ert-run-tests-batch)
3487 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3488 Handle skipped tests. (Bug#9803)
3489
3490 2013-10-24 Glenn Morris <rgm@gnu.org>
3491
3492 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3493
3494 * Makefile.in (abs_top_srcdir): New, set by configure.
3495 (update-subdirs): Correct build-aux location.
3496
3497 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3498
3499 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3500 value, whether we could auto-deduce `backend', or not.
3501
3502 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3503 with parameters" example. Simplify the "is it block or is it
3504 hash" check, but also make it more thorough.
3505
3506 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3507
3508 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3509
3510 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3513 { if it is hanging.
3514
3515 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3516 :before ";".
3517
3518 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3519
3520 * progmodes/compile.el (compilation-directory-matcher)
3521 (compilation-page-delimiter):
3522 Support GNU Make-4.0 directory quoting. (Bug#15678)
3523
3524 2013-10-23 Leo Liu <sdl.web@gmail.com>
3525
3526 * ido.el (ido-tidy): Handle read-only text.
3527
3528 2013-10-23 Glenn Morris <rgm@gnu.org>
3529
3530 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3531 (emacs, compile, compile-always):
3532 Quote entities that might contain whitespace.
3533 (custom-deps, finder-data, autoloads): Use abs_lisp.
3534 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3535 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3536 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3537
3538 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3539
3540 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3541 Use `following-char'.
3542
3543 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3544
3545 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3546 * progmodes/ruby-mode.el (ruby-smie-rules):
3547 Remove corresponding workaround. Fix indentation rule of ";" so it
3548 also applies when ";" is the parent.
3549
3550 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3551
3552 * frame.el (display-screens, display-pixel-height)
3553 (display-pixel-width, display-mm-width, display-backing-store)
3554 (display-save-under, display-planes, display-color-cells)
3555 (display-visual-class, display-monitor-attributes-list):
3556 Mention the optional ‘display’ argument in doc strings.
3557
3558 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3559
3560 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3561 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3562
3563 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3564
3565 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3566 TODO. Add "." after " @ ".
3567 (ruby-smie--at-dot-call): New function. Checks if point at method
3568 call with explicit target.
3569 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3570 to the method name tokens when it precedes them.
3571 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3572 (ruby-smie-rules): Add rule for indentation before and after "."
3573 token.
3574
3575 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * textmodes/remember.el (remember-diary-extract-entries):
3578 Avoid add-to-list.
3579
3580 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3581 an instruction.
3582
3583 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3584
3585 * progmodes/ruby-mode.el (ruby-smie-grammar):
3586 Add (almost) all infix operators.
3587 (ruby-smie--implicit-semi-p): Add new operator chars.
3588
3589 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3590 `smie-down-list'.
3591 (ruby-smie--args-separator-p): Check that there's no newline
3592 between method call and its arguments.
3593
3594 2013-10-20 Alan Mackenzie <acm@muc.de>
3595
3596 Allow comma separated lists after Java "implements".
3597
3598 * progmodes/cc-engine.el (c-backward-over-enum-header):
3599 Parse commas.
3600 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3601 from a "disallowed" list in enum fontification.
3602
3603 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3604
3605 * startup.el (default-frame-background-mode): Remove unused defvar.
3606
3607 * progmodes/verilog-mode.el (verilog-mode): Don't set
3608 comment-indent-function globally.
3609
3610 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3611
3612 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3613 Move Info menu item creation to ns-win.el.
3614
3615 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3616 in menu bar.
3617
3618 * menu-bar.el: Move GNUstep specific menus...
3619
3620 * term/ns-win.el (ns-initialize-window-system): ... to here.
3621
3622 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * simple.el (newline): Only run post-self-insert-hook when
3625 called interactively.
3626
3627 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3628
3629 * icomplete.el (icomplete-with-completion-tables): Add :version.
3630
3631 2013-10-19 Alan Mackenzie <acm@muc.de>
3632
3633 Fix fontification bugs with constructors and const.
3634
3635 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3636 CASE 2) Remove the check for the absence of a suffix construct
3637 after a function declaration with only types (no identifiers) in
3638 the parentheses. Also, accept a function declaration with just a
3639 type inside the parentheses, if this type can be positively
3640 recognised as such, or if a prefix keyword like "explicit" nails
3641 down the construct as a declaration.
3642
3643 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3644
3645 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3646 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3647 the problem whereby selecting a menu item that leads to a
3648 minibuffer prompt moves the cursor out of the minibuffer window,
3649 making it hard to type at the prompt. Suggested by Stefan Monnier
3650 <monnier@iro.umontreal.ca>.
3651
3652 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3653
3654 * menu-bar.el: Don't make Services menu.
3655
3656 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3657
3658 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3659 (ffap-alist): Use ffap-c++-mode for c++-mode.
3660 (ffap-c++-path): New variable.
3661 (ffap-c++-mode): New function.
3662
3663 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3664
3665 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3666
3667 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3668
3669 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3670 introduced on 2013-09-08, which results in an infinite loop
3671 requesting a password.
3672
3673 2013-10-18 Glenn Morris <rgm@gnu.org>
3674
3675 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3676
3677 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3678
3679 Sync with upstream verilog-mode revision 1a6ecec7.
3680 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3681 (verilog-mode-release-date): Remove.
3682 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3683 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3684 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3685 (verilog-auto-tieoff-ignore-regexp)
3686 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3687 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3688 (verilog-signals-with, verilog-dir-cache-preserving)
3689 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3690 Doc fixes.
3691 (verilog-case-fold): New option, to control case folding in
3692 regexp searches, bug597.
3693 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3694 (verilog-string-match-fold, verilog-in-paren-count)
3695 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3696 (verilog-at-close-struct-p): New functions.
3697 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3698 (verilog-forward-sexp, verilog-set-auto-endcomments):
3699 (verilog-leap-to-case-head): Handle "unique0" case.
3700 (verilog-in-constraint-re): New constant.
3701 (verilog-keywords, verilog-type-font-keywords):
3702 Add some SystemVerilog 1800-2012 keywords.
3703 (verilog-label-be): Remove unimplemented argument, bug669.
3704 (verilog-batch-execute-func): When batch expanding clear
3705 create-lockfiles to prevent spurious user locks when a file ends
3706 up not changing.
3707 (verilog-calculate-indent, verilog-calc-1)
3708 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3709 (verilog-do-indent): Fix indentation of nested constraints
3710 and structures.
3711 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3712 (verilog-auto-inst-param): Use verilog-string-match-fold.
3713 (verilog-read-inst-module-matcher):
3714 Fix AUTOINST on gate primitives with #1.
3715 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3716 Reads all user-defined typed variables.
3717 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3718 (verilog-signals-matching-regexp)
3719 (verilog-signals-not-matching-regexp, verilog-auto):
3720 Respect verilog-case-fold.
3721 (verilog-diff-report): Fix line count.
3722 (verilog-auto-assign-modport): Remove unused local `modi'.
3723 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3724 better handle multidimensional arrays.
3725 Fix packed array ports misadding bit index in AUTOINST, bug637.
3726 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3727 to not double-declare existing outputs and inputs, respectively.
3728 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3729 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3730 (verilog-sk-uvm-component): New skeleton.
3731 (verilog-submit-bug-report): Add verilog-case-fold,
3732 remove verilog-mode-release-date.
3733
3734 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3735
3736 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3737 as before.
3738
3739 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3740
3741 * textmodes/remember.el (remember): Set buffer-offer-save in
3742 remember buffers (bug#13566).
3743
3744 2013-10-18 Daniel Colascione <dancol@dancol.org>
3745
3746 When evaluating forms in ielm, direct standard output to ielm
3747 buffer. Add new ielm-return-for-effect command. Remove trailing
3748 whitespace throughout.
3749
3750 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3751 (ielm-return-for-effect): New command.
3752 (ielm-send-input): Accept optional `for-effect' parameter.
3753 (ielm-eval-input): Accept optional `for-effect' parameter.
3754 Bind `standard-output' to stream we create using
3755 `ielm-standard-output-impl'. Suppress printing result when
3756 `for-effect'.
3757 (ielm-standard-output-impl): New function.
3758 (inferior-emacs-lisp-mode): Explain new features in documentation.
3759
3760 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3761
3762 Code cleanup.
3763
3764 * net/tramp.el (tramp-debug-message): Do not check for connection
3765 buffer.
3766 (tramp-message): Use "vector" connection property.
3767
3768 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3769 (tramp-equal-remote, tramp-eshell-directory-change)
3770 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3771 (tramp-adb-handle-rename-file)
3772 * net/tramp-cmds.el (tramp-list-remote-buffers)
3773 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3774 * net/tramp-compat.el (tramp-compat-process-running-p)
3775 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3776 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3777 (tramp-gvfs-handle-rename-file)
3778 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3779 (tramp-set-file-uid-gid)
3780 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3781 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3782 of `file-remote-p'.
3783
3784 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3785 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3786 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3787 (tramp-gw-open-network-stream): Suppress unrelated traces.
3788
3789 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3790 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3791 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3792 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3793 connection property.
3794
3795 * net/tramp-cache.el (top): Suppress traces when reading
3796 persistency file.
3797
3798 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3799 Refactor common code. Improve debug message.
3800 (tramp-maybe-open-connection)
3801 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3802 connection buffer too early.
3803
3804 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3805 from `tramp-smb-actions-with-acl'.
3806 (tramp-smb-actions-set-acl): New defconst.
3807 (tramp-smb-handle-copy-directory)
3808 (tramp-smb-action-get-acl): New defun, renamed from
3809 `tramp-smb-action-with-acl'.
3810 (tramp-smb-action-set-acl): New defun.
3811 (tramp-smb-handle-set-file-acl): Rewrite.
3812
3813 2013-10-17 Glenn Morris <rgm@gnu.org>
3814
3815 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3816
3817 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * skeleton.el (skeleton-newline): Remove.
3820 (skeleton-internal-1): Use (insert "\n") instead.
3821
3822 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3823 let-bindings.
3824
3825 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3826 forward-sexp-function while we redo its job (bug#15613).
3827
3828 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3829
3830 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3831 represented by lists.
3832
3833 2013-10-16 Glenn Morris <rgm@gnu.org>
3834
3835 * tmm.el (tmm--history): New dynamic variable.
3836 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3837
3838 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3839
3840 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3841 (tramp-smb-errors): Add error messages.
3842 (tramp-smb-actions-with-acl): New defconst.
3843 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3844 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3845 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3846 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3847 (tramp-smb-get-stat-capability): Fix tests.
3848
3849 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3850
3851 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3852 (bug#15580).
3853
3854 2013-10-16 Glenn Morris <rgm@gnu.org>
3855
3856 * ansi-color.el (ansi-color-drop-regexp):
3857 Add 1J, 1K, 2K. (Bug#15617)
3858
3859 * files.el (hack-local-variables--warned-lexical): New.
3860 (hack-local-variables):
3861 Warn about misplaced lexical-binding. (Bug#15616)
3862
3863 * net/eww.el (eww-render): Always set eww-current-url,
3864 and update header line. (Bug#15622)
3865 (eww-display-html): ... Rather than just doing it here.
3866
3867 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3868
3869 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3870 menu navigations commands.
3871
3872 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3873
3874 * progmodes/subword.el (subword-capitalize): Be careful when
3875 the search for [[:alpha:]] fails (bug#15580).
3876
3877 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3878
3879 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3880 to commands that scroll the menu.
3881
3882 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3883
3884 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3885 Handle methods ending with `?' and `!'.
3886
3887 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3888
3889 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3890 `japanese-cp932' to `cp932' to fix the problem where saving a
3891 source file written in Shift_JIS twice would end up having
3892 `coding: japanese-cp932' which Ruby could not recognize.
3893 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3894 in `ruby-encoding-map'.
3895 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3896 doesn't need to be explicitly declared in magic comment.
3897 (ruby-encoding-map): Add type declaration for better customize UI.
3898
3899 2013-10-13 Glenn Morris <rgm@gnu.org>
3900
3901 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3902 Occur buffers are read-only. http://bugs.debian.org/720775
3903
3904 * emacs-lisp/authors.el (authors-fixed-entries):
3905 Comment out old alpha stuff.
3906
3907 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3908
3909 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3910 to `after-save-hook' instead of `before-save-hook'.
3911 (ruby-mode-set-encoding): Use the value of coding system used to
3912 write the file. Call `basic-save-buffer-1' after modifying the
3913 buffer.
3914
3915 2013-10-13 Alan Mackenzie <acm@muc.de>
3916
3917 Fix indentation/fontification of Java enum with
3918 "implements"/generic.
3919
3920 * progmodes/cc-engine.el (c-backward-over-enum-header):
3921 Extracted from the three other places and enhanced to handle generics.
3922 (c-inside-bracelist-p): Uses new function above.
3923 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3924 function above.
3925 (c-font-lock-enum-tail): Uses new function above.
3926
3927 2013-10-13 Kenichi Handa <handa@gnu.org>
3928
3929 * international/mule-cmds.el (select-safe-coding-system): Remove a
3930 superfluous condition in chekcing whether a coding system is safe
3931 or not.
3932
3933 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3934
3935 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3936
3937 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3938
3939 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3940
3941 2013-10-13 Glenn Morris <rgm@gnu.org>
3942
3943 * menu-bar.el (menu-bar-update-buffers):
3944 Unify Buffers menu prompt string. (Bug#15576)
3945
3946 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3947
3948 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3949 Add some entries.
3950 (authors-fixed-entries): Use accented form of name.
3951
3952 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3953
3954 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3955 method calls (bug#15594).
3956 (ruby-smie--args-separator-p): New function.
3957 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3958 recognize paren-free method calls.
3959
3960 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3961 internals of universal-argument.
3962
3963 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3964
3965 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3966 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3967 dropped menu on second mouse click on the menu bar.
3968
3969 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3970
3971 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3972 (explicit-shell-file-name): Declare.
3973 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3974 (sh-completion-at-point-function): New function.
3975 (sh-mode): Use it.
3976 (sh-smie--keyword-p): Remove unused argument.
3977 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3978 vars.
3979 (sh-set-shell): Always setup SMIE, even if we use the
3980 old indentation code.
3981
3982 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3983
3984 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3985 cases of ? and =.
3986 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3987 predicate would return nil are almost non-existent.
3988 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3989
3990 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3991 cache also after commands that modify the buffer but don't move
3992 point.
3993
3994 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * env.el (substitute-env-in-file-name): New function.
3997 (substitute-env-vars): Extend the meaning of the optional arg.
3998
3999 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4000
4001 * term/w32-win.el (dynamic-library-alist): Define separate lists
4002 of GIF DLLs for versions before and after 5.0.0 of giflib.
4003 (Bug#15531)
4004
4005 2013-10-10 João Távora <joaotavora@gmail.com>
4006
4007 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4008 not locked, use last revision and current source as
4009 defaults. (Bug#15569)
4010
4011 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4012
4013 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4014 menu-bar is hidden.
4015
4016 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4017
4018 * window.el (pop-to-buffer-same-window): Fix doc-string.
4019 (Bug#15492)
4020
4021 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4024
4025 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4026
4027 * calendar/icalendar.el (icalendar-import-file):
4028 Fix interactive spec. (Bug#15482)
4029
4030 2013-10-10 Glenn Morris <rgm@gnu.org>
4031
4032 * desktop.el (desktop-save): Default to saving in .emacs.d,
4033 since PWD is no longer in desktop-path by default. (Bug#15319)
4034
4035 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4036 now that text mode has a menu with the same entry.
4037 (menu-bar-text-mode-auto-fill): Remove now unused func.
4038 * textmodes/text-mode.el (text-mode-map):
4039 Use auto-fill help text from menu-bar.el.
4040
4041 2013-10-10 John Anthony <john@jo.hnanthony.com>
4042
4043 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4044
4045 2013-10-09 Juri Linkov <juri@jurta.org>
4046
4047 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4048 instead of this-command-keys. Add universal-argument-more and
4049 universal-argument-minus to the list of prefix commands. (Bug#15568)
4050
4051 2013-10-09 Glenn Morris <rgm@gnu.org>
4052
4053 * vc/vc-svn.el (vc-svn-create-repo):
4054 Expand paths in file://... url. (Bug#15446)
4055
4056 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4057 Add some entries.
4058 (authors): Remove unused local variables.
4059
4060 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * profiler.el: Create a more coherent calltree from partial backtraces.
4063 (profiler-format): Hide the tail with `invisible' so that C-s can still
4064 find the hidden elements.
4065 (profiler-calltree-depth): Don't recurse so enthusiastically.
4066 (profiler-function-equal): New hash-table-test.
4067 (profiler-calltree-build-unified): New function.
4068 (profiler-calltree-build): Use it.
4069 (profiler-report-make-name-part): Indent the calltree less.
4070 (profiler-report-mode): Add visibility specs for profiler-format.
4071 (profiler-report-expand-entry, profiler-report-toggle-entry):
4072 Expand the whole subtree when provided with a prefix arg.
4073
4074 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4075
4076 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4077 iuwu-mod token.
4078 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4079 hanging iuwu-mod token.
4080 (ruby-smie--forward-token): Do not include a dot after a token in
4081 that token.
4082 (ruby-smie--backward-token): Likewise.
4083
4084 2013-10-08 Juri Linkov <juri@jurta.org>
4085
4086 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4087 to isearch-other-control-char.
4088 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4089 and isearch-post-command-hook to post-command-hook.
4090 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4091 and isearch-post-command-hook from post-command-hook.
4092 (isearch-unread-key-sequence)
4093 (isearch-reread-key-sequence-naturally)
4094 (isearch-lookup-scroll-key, isearch-other-control-char)
4095 (isearch-other-meta-char): Remove functions.
4096 (isearch-pre-command-hook, isearch-post-command-hook):
4097 New functions based on isearch-other-meta-char rewritten
4098 relying on the new behavior of overriding-terminal-local-map
4099 that does not replace the local keymaps any more. (Bug#15200)
4100
4101 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4102
4103 Support menus on text-mode terminals.
4104 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4105 functionality.
4106
4107 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4108
4109 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4110 Move here from mouse.el.
4111 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4112 and arrow keys.
4113 (tty-menu-navigation-map): New map for TTY menu navigation.
4114
4115 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4116
4117 * frame.el (display-mouse-p): Report text-mode mouse as available
4118 on w32.
4119 (display-popup-menus-p): Report availability if mouse is
4120 available; don't condition on window-system.
4121
4122 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4123 (tty-menu-selected-face): New faces.
4124
4125 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4126
4127 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4128 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4129 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4130 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4131 New constants.
4132 (lisp-mode-variables): New `elisp' argument.
4133 (emacs-lisp-mode): Use it.
4134 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4135 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4136
4137 * indent.el: Use lexical-binding.
4138 (indent-region): Add progress reporter.
4139 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4140 last step.
4141 (indent--next-tab-stop): New function to implement this behavior.
4142 (tab-to-tab-stop, move-to-tab-stop): Use it.
4143
4144 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4145
4146 * indent.el (indent-rigidly--current-indentation): New function.
4147 (indent-rigidly-map): New var.
4148 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4149
4150 2013-10-08 Bastien Guerry <bzg@gnu.org>
4151
4152 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4153
4154 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4155
4156 * progmodes/perl-mode.el: Use lexical-binding.
4157 Remove redundant :group args.
4158 (perl-nochange): Change default to be closer to other major modes's
4159 standard behavior.
4160 (perl-indent-line): Don't consider text on current line as a
4161 valid beginning of function from which to indent.
4162
4163 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4164 with more than one argument (bug#15538).
4165
4166 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4167
4168 * vc/pcvs.el: Use lexical-binding.
4169 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4170 environment of `eval'.
4171 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4172 than a list of expressions. Adjust callers.
4173 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4174
4175 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4176
4177 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4178 case of the dot in a chained method call being on the following line.
4179
4180 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * electric.el (electric-indent-inhibit): New var.
4183 (electric-indent-post-self-insert-function): Use it.
4184 * progmodes/python.el (python-mode): Set it.
4185
4186 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4187 open braces.
4188
4189 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4190
4191 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4192 (css-mode): Use electric-indent-chars.
4193
4194 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4195 (font-lock-beg, font-lock-end): Move before first use.
4196 (nxml-mode): Use syntax-propertize-function.
4197 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4198 (nxml-extend-after-change-region): Remove.
4199 * nxml/xmltok.el: Use lexical-binding.
4200 (xmltok-save): Use `declare'.
4201 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4202 * nxml/nxml-util.el: Use lexical-binding.
4203 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4204 Use `declare'.
4205 * nxml/nxml-ns.el: Use lexical-binding.
4206 (nxml-ns-save): Use `declare'.
4207 (nxml-ns-prefixes-for): Avoid add-to-list.
4208 * nxml/rng-match.el: Use lexical-binding.
4209 (rng--ipattern): Use cl-defstruct.
4210 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4211 (rng-cons-group-after, rng-subst-group-after)
4212 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4213 Use closures instead of `(lambda...).
4214
4215 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4216
4217 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4218 of BEG and END.
4219
4220 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4221 Use `tramp-handle-insert-file-contents'.
4222 (tramp-gvfs-handle-insert-file-contents): Remove function.
4223
4224 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4225 Use `save-restriction' in order to keep markers.
4226
4227 * net/trampver.el: Update release number.
4228
4229 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * progmodes/compile.el (compilation-parse-errors):
4232 Use compilation--put-prop.
4233 (compilation--ensure-parse): Check compilation-multiline.
4234
4235 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4236
4237 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4238 lexical-binding.
4239
4240 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4241
4242 * progmodes/ruby-mode.el: Fix recently added tests.
4243 (ruby-smie-grammar): Add - and +.
4244 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4245 (ruby-smie--backward-id): New functions.
4246 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4247 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4248 any more.
4249
4250 2013-10-07 Leo Liu <sdl.web@gmail.com>
4251
4252 * register.el (register-preview-delay)
4253 (register-preview-functions): New variables.
4254 (register-read-with-preview, register-preview)
4255 (register-describe-oneline): New functions.
4256 (point-to-register, window-configuration-to-register)
4257 (frame-configuration-to-register, jump-to-register)
4258 (number-to-register, view-register, insert-register)
4259 (copy-to-register, append-to-register, prepend-to-register)
4260 (copy-rectangle-to-register): Use register-read-with-preview to
4261 read register. (Bug#15525)
4262
4263 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4264
4265 * net/network-stream.el (network-stream-open-starttls): Don't add
4266 --insecure if it's already present, because that gnutls-cli
4267 rejects getting that parameter twice.
4268
4269 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4270
4271 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4272 keyword, too.
4273
4274 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4275
4276 * newcomment.el (comment-use-global-state): Change default value
4277 to t, mark obsolete (Bug#15251).
4278 (comment-beginning): In addition to `comment-to-syntax', check the
4279 value of `comment-use-global-state'.
4280
4281 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4284 (ruby-comment-column): Follow the global default, by default.
4285 (ruby-smie-grammar): Add assignment syntax.
4286 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4287 open-paren, a comma, or a \.
4288 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4289 and line continuations.
4290 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4291 followed by implicit semi-colons. Add rule for string concatenation
4292 and for indentation at BOB.
4293 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4294
4295 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4296 calling next-sexp, since next-token may have skipped chars which
4297 next-sexp doesn't know should be skipped!
4298
4299 2013-10-05 Leo Liu <sdl.web@gmail.com>
4300
4301 * progmodes/octave.el (octave-send-region):
4302 Call compilation-forget-errors.
4303
4304 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4305
4306 * vc/vc-svn.el (vc-svn-find-admin-dir):
4307 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4308 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4309 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4310 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4311
4312 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4315
4316 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * subr.el (read-passwd): Hide chars even when called within a context
4319 where after-change-functions is disabled (bug#15501).
4320 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4321 until we removed ourself from overriding-terminal-local-map.
4322
4323 2013-10-04 Leo Liu <sdl.web@gmail.com>
4324
4325 * progmodes/octave.el (inferior-octave-mode):
4326 Call compilation-forget-errors.
4327
4328 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4329
4330 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4331
4332 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/secrets.el (secrets-create-collection): Add optional
4335 argument ALIAS. Use proper Label keyword. Append ALIAS as
4336 dbus-call-method argument. (Bug#15516)
4337
4338 2013-10-04 Leo Liu <sdl.web@gmail.com>
4339
4340 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4341 (inferior-octave-compilation-font-lock-keywords): New variables.
4342 (compilation-error-regexp-alist)
4343 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4344 (inferior-octave-mode): Use compilation-shell-minor-mode.
4345
4346 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4347
4348 * minibuffer.el (completion--replace): Be careful that `end' might be
4349 a marker.
4350
4351 2013-10-03 Daiki Ueno <ueno@gnu.org>
4352
4353 Add support for package signature checking.
4354 * emacs-lisp/package.el (url-http-file-exists-p)
4355 (epg-make-context, epg-context-set-home-directory)
4356 (epg-verify-string, epg-context-result-for)
4357 (epg-signature-status, epg-signature-to-string)
4358 (epg-check-configuration, epg-configuration)
4359 (epg-import-keys-from-file): Declare.
4360 (package-check-signature): New user option.
4361 (package-unsigned-archives): New user option.
4362 (package-desc): Add `signed' field.
4363 (package-load-descriptor): Set `signed' field if .signed file exists.
4364 (package--archive-file-exists-p): New function.
4365 (package--check-signature): New function.
4366 (package-install-from-archive): Check package signature.
4367 (package--download-one-archive): Check archive signature.
4368 (package-delete): Remove .signed file.
4369 (package-import-keyring): New command.
4370 (package-refresh-contents): Import default keyring.
4371 (package-desc-status): Add "unsigned" status.
4372 (describe-package-1, package-menu--print-info)
4373 (package-menu-mark-delete, package-menu--find-upgrades)
4374 (package-menu--status-predicate): Support "unsigned" status.
4375
4376 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4379 the new compilation scheme using the new byte-codes.
4380
4381 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4382 (byte-pophandler): New byte codes.
4383 (byte-goto-ops): Adjust accordingly.
4384 (byte-compile--use-old-handlers): New var.
4385 (byte-compile-catch): Use new byte codes depending on
4386 byte-compile--use-old-handlers.
4387 (byte-compile-condition-case--old): Rename from
4388 byte-compile-condition-case.
4389 (byte-compile-condition-case--new): New function.
4390 (byte-compile-condition-case): New function that dispatches depending
4391 on byte-compile--use-old-handlers.
4392 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4393 when we can.
4394
4395 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4396 Optimize under `condition-case' and `catch' if
4397 byte-compile--use-old-handlers is nil.
4398 (disassemble-offset): Handle new bytecodes.
4399
4400 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * subr.el (error): Use `declare'.
4403 (decode-char, encode-char): Use advertised-calling-convention instead
4404 of the docstring to discourage use of the `restriction' arg.
4405
4406 2013-10-03 Daiki Ueno <ueno@gnu.org>
4407
4408 * epg.el (epg-verify-file): Add a comment saying that it does not
4409 notify verification error as a return value nor a signal.
4410 (epg-verify-string): Ditto.
4411
4412 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4413
4414 * progmodes/compile.el (compilation-start): Try globbing the arg to
4415 `cd' (bug#15417).
4416
4417 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4418
4419 Sync with Tramp 2.2.8.
4420
4421 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4422 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4423 * net/trampver.el: Update release number.
4424
4425 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4426
4427 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4428 and default-process-coding-system for darwin only.
4429
4430 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4431
4432 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4433
4434 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4435
4436 * vc/vc-git.el (vc-git-grep): Disable pager.
4437
4438 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4439
4440 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4441 Use :url instead of :homepage, as per
4442 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4443
4444 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4445 non-nil, use `syntax-ppss' (Bug#15251).
4446
4447 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4448
4449 * progmodes/octave.el (inferior-octave-startup-file):
4450 Prefer ~/.emacs.d/init_octave.m.
4451
4452 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4453
4454 * emacs-lisp/package.el (package-desc-from-define):
4455 Accept additional arguments as plist, convert them to an alist and store
4456 them in the `extras' slot.
4457 (package-generate-description-file): Convert extras alist back to
4458 plist and append to the `define-package' form arguments.
4459 (package--alist-to-plist): New function.
4460 (package--ac-desc): Add `extras' slot.
4461 (package--add-to-archive-contents): Check if the archive-contents
4462 vector is long enough, and if it is, pass its `extras' slot value
4463 to `package-desc-create'.
4464 (package-buffer-info): Call `lm-homepage', pass the returned value
4465 to `package-desc-from-define'.
4466 (describe-package-1): Render the homepage button (Bug#13291).
4467
4468 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4469 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4470
4471 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4472
4473 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4474 and default-process-coding-system to utf-8-unix (Bug#15402).
4475
4476 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4477
4478 * subr.el (looking-back): Do not recommend using looking-back.
4479
4480 2013-09-28 Alan Mackenzie <acm@muc.de>
4481
4482 Fix indentation/fontification of Java enum with "implements".
4483
4484 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4485 regexp which matches "implements", etc., in Java.
4486 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4487 specifier clauses coming after "enum".
4488 * progmodes/cc-fonts.el (c-font-lock-declarations)
4489 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4490 after "enum".
4491
4492 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4493
4494 * faces.el (region): Change ns_selection_color to
4495 ns_selection_fg_color, add ns_selection_bg_color.
4496
4497 2013-09-28 Leo Liu <sdl.web@gmail.com>
4498
4499 * progmodes/octave.el (inferior-octave-completion-table)
4500 (inferior-octave-completion-at-point): Minor tweaks.
4501
4502 * textmodes/ispell.el (ispell-lookup-words): Rename from
4503 lookup-words. (Bug#15460)
4504 (lookup-words): Obsolete.
4505 (ispell-complete-word, ispell-command-loop): All uses changed.
4506
4507 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4508
4509 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4510 (octave-mode-menu): Add octave-send-buffer.
4511 (octave-send-buffer): New function.
4512
4513 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4514
4515 * progmodes/octave.el (octave-mode-map): Add key binding for
4516 octave-lookfor.
4517 (octave-mode-menu): Add octave-lookfor.
4518 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4519 octave-lookfor.
4520 (octave-lookfor): New function.
4521
4522 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * emacs-lisp/cl-macs.el:
4525 (cl--loop-destr-temps): Remove.
4526 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4527 its convention.
4528 (cl--loop-set-iterator-function): New function.
4529 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4530 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4531 Bind `it' with `let' instead of substituting it with `cl-subst'.
4532 (cl--unused-var-p): New function.
4533 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4534 Eliminate some unused variable warnings (bug#15326).
4535
4536 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4537
4538 * doc-view.el (doc-view-scale-reset): Rename from
4539 `doc-view-reset-zoom-level'.
4540 (doc-view-scale-adjust): New command.
4541 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4542 `doc-view-scale-adjust'.
4543
4544 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4545
4546 * doc-view.el (doc-view-reset-zoom-level): New command.
4547 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4548 zoom commands (bug#15466).
4549
4550 2013-09-26 Kenichi Handa <handa@gnu.org>
4551
4552 * international/quail.el (quail-help): Make it not a command.
4553
4554 2013-09-26 Leo Liu <sdl.web@gmail.com>
4555
4556 * minibuffer.el (completion-all-sorted-completions): Make args
4557 optional as they are.
4558
4559 2013-09-25 Daniel Colascione <dancol@dancol.org>
4560
4561 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4562 specs are and that they're not evaluated.
4563
4564 2013-09-24 Sam Steingold <sds@gnu.org>
4565
4566 * midnight.el (clean-buffer-list-kill-regexps)
4567 (clean-buffer-list-kill-buffer-names): Update for the new Man
4568 buffer naming which includes the object name.
4569
4570 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4573 (eshell-parse-command, eshell-parse-pipeline): Use it since
4574 eshell-separate-commands requires a dynamic scoped var.
4575 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4576
4577 2013-09-23 Leo Liu <sdl.web@gmail.com>
4578
4579 * autoinsert.el (auto-insert-alist): Make the value of
4580 lexical-binding match its file setting.
4581
4582 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4583
4584 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4585
4586 * autoarg.el (autoarg-kp-digit-argument):
4587 * electric.el (Electric-command-loop):
4588 * kmacro.el (kmacro-step-edit-insert):
4589 Do not set universal-argument-num-events.
4590
4591 2013-09-22 Leo Liu <sdl.web@gmail.com>
4592
4593 * files.el (interpreter-mode-alist): Add octave.
4594
4595 2013-09-21 Alan Mackenzie <acm@muc.de>
4596
4597 C++: fontify identifier in declaration following "public:" correctly.
4598 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4599 to match "public", etc.
4600 (c-decl-prefix-re): Add ":" into the C++ value.
4601 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4602 bit. Add a check for a ":" preceded by "public", etc.
4603
4604 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4605
4606 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4607 recognized by GDB 7.5 and later.
4608
4609 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4610
4611 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4612
4613 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * subr.el (internal--call-interactively): New const.
4616 (called-interactively-p): Use it (bug#3984).
4617
4618 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4619
4620 * vc/pcvs.el (cvs-mode-ignore):
4621 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4622 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4623
4624 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4627 (eshell-ls-orig-insert-directory): Remove.
4628 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4629 (eshell-ls-use-in-dired): Use advice-add/remove.
4630 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4631 Add `orig-fun' arg for use in :around advice.
4632 Make it check (redundantly) eshell-ls-use-in-dired.
4633
4634 2013-09-19 Glenn Morris <rgm@gnu.org>
4635
4636 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4637
4638 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4639
4640 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4641
4642 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4645 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4646 (tramp-get-remote-python): New defuns.
4647 (tramp-get-remote-uid-with-perl)
4648 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4649 contributed by yary <not.com@gmail.com> (tiny change).
4650 (tramp-get-remote-uid-with-python)
4651 (tramp-get-remote-gid-with-python): New defuns. Python code
4652 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4653 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4654
4655 2013-09-19 Glenn Morris <rgm@gnu.org>
4656
4657 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4658
4659 * eshell/em-unix.el (eshell-remove-entries):
4660 Rename argument to avoid name-clash with global `top-level'.
4661
4662 * eshell/esh-proc.el (eshell-kill-process-function):
4663 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4664 (eshell-reset-after-proc): Remove unused arg `proc'.
4665
4666 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4667 (directory-files-and-attributes): Mark unused arg.
4668
4669 * eshell/em-unix.el (eshell-remove-entries):
4670 Remove unused arg `path'. Update callers.
4671
4672 * eshell/em-hist.el (eshell-hist-parse-arguments):
4673 Remove unused arg `silent'. Update callers.
4674
4675 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4676 Fix (f)boundp mix-up.
4677
4678 * eshell/em-smart.el (eshell-smart-scroll-window)
4679 (eshell-disable-after-change):
4680 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4681
4682 2013-09-18 Alan Mackenzie <acm@muc.de>
4683
4684 Fix fontification of type when followed by "const".
4685 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4686 "known" types from fontification.
4687
4688 2013-09-18 Glenn Morris <rgm@gnu.org>
4689
4690 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4691 (chart-face-list): Drop Emacsen without display-color-p.
4692
4693 * net/eww.el (libxml-parse-html-region): Declare.
4694 (eww-display-html): Explicit error if no libxml2 support.
4695
4696 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4697
4698 * image.el (image-type-from-buffer, image-multi-frame-p):
4699 Remove --without-x warning/error.
4700
4701 * mouse.el (mouse-yank-primary):
4702 * term.el (term-mouse-paste):
4703 Reorder to silence --without-x compilation.
4704
4705 * mpc.el (doc-view-mode): Silence --without-x compilation.
4706
4707 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4708 Silence --without-x compilation.
4709
4710 * progmodes/gud.el (gud-find-file, gud-mode):
4711 Silence --without-x compilation.
4712 (tooltip-mode): Declare.
4713
4714 * wdired.el (dired-backup-overwrite): Remove declaration.
4715 (wdired-mode-map): Add doc string.
4716
4717 * custom.el (x-get-resource): Declare.
4718
4719 * eshell/em-glob.el (ange-cache):
4720 * eshell/em-unix.el (ange-cache): Declare.
4721
4722 * faces.el (x-display-list, x-open-connection, x-get-resource):
4723 Declare.
4724
4725 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4726 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4727 Declare.
4728
4729 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4730
4731 * net/gnutls.el (gnutls-log-level): Declare.
4732
4733 * net/shr.el (image-size, image-animate): Declare.
4734
4735 * simple.el (font-info): Declare.
4736
4737 * subr.el (x-popup-dialog): Declare.
4738
4739 * term/common-win.el (x-select-enable-primary)
4740 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4741 Declare.
4742
4743 * term/ns-win.el (x-handle-args): Declare.
4744
4745 * term/x-win.el (x-select-enable-clipboard): Declare.
4746
4747 * term/w32-win.el (create-default-fontset): Declare.
4748
4749 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4750 Declare.
4751
4752 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4753 (fit-frame-to-buffer): Explicit error if --without-x.
4754 (mouse-autoselect-window-select): Silence compiler.
4755
4756 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4757
4758 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4759 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4760 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4761 * eshell/esh-util.el (eshell-sublist):
4762 Remove unused local variables.
4763
4764 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4765
4766 * textmodes/two-column.el: Make 2C-split work for --without-x.
4767 (scroll-bar-columns): Autoload.
4768 (top-level): Require fringe when compiling.
4769
4770 2013-09-18 Leo Liu <sdl.web@gmail.com>
4771
4772 * subr.el (add-hook): Robustify to handle closure as well.
4773
4774 2013-09-17 Glenn Morris <rgm@gnu.org>
4775
4776 * simple.el (messages-buffer-mode-map): Unbind "g".
4777
4778 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4779
4780 * help-mode.el (help-mode-finish): Use derived-mode-p.
4781 Remove obsolete highlighting.
4782
4783 * play/life.el (life-mode): Use define-derived-mode. Derive from
4784 special-mode.
4785 (life): Let-bind inhibit-read-only.
4786 (life-setup): Avoid `setq'. Use `life-mode'.
4787
4788 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4789 which should not be needed any more.
4790 (package-menu-refresh, package-menu-describe-package): Use user-error.
4791
4792 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4793 (eshell-post-rewrite-command-hook): Make obsolete.
4794 (eshell-parse-command): Simplify.
4795 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4796 (eshell--cmd): Declare.
4797 (eshell-parse-pipeline): Remove unused var `final-p'.
4798 Pass a dynvar to eshell-post-rewrite-command-hook.
4799 Implement the new eshell-post-rewrite-command-function.
4800 (eshell-invoke-directly): Remove unused arg `input'.
4801 * eshell/esh-io.el (eshell-io-initialize):
4802 Use eshell-post-rewrite-command-function (bug#15399).
4803 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4804 adjust to new calling convention.
4805 (eshell-create-handles): Rename args to avoid clashing with dynvar
4806 `standard-output'.
4807
4808 2013-09-17 Glenn Morris <rgm@gnu.org>
4809
4810 * simple.el (messages-buffer-mode): New major mode.
4811 (messages-buffer): New function.
4812 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4813 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4814 (ert-run-test): Use `messages-buffer' function.
4815 (ert--force-message-log-buffer-truncation): Ignore read-only.
4816 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4817 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4818
4819 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4820
4821 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4822
4823 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4824
4825 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * icomplete.el (icomplete-in-buffer): New var.
4828 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4829 vars and replace them with functions.
4830 (icomplete-minibuffer-setup): Adjust accordingly.
4831 (icomplete--completion-table, icomplete--completion-predicate)
4832 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4833 New functions.
4834 (icomplete-forward-completions, icomplete-backward-completions)
4835 (icomplete-simple-completing-p, icomplete-exhibit)
4836 (icomplete-completions): Use them.
4837 (icomplete--in-region-buffer): New var.
4838 (icomplete--in-region-setup): New function.
4839 (icomplete-mode): Use it.
4840
4841 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4842 (bug#15379).
4843 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4844 return args and options.
4845 (eshell-eval-using-options): Use the new return value of
4846 eshell--do-opts to set the options's vars in their scope.
4847 (eshell--set-option): Rename from eshell-set-option.
4848 Add arg `opt-vals'.
4849 (eshell--process-option): Rename from eshell-process-option.
4850 Add arg `opt-vals'.
4851 (eshell--process-args): Use an `opt-vals' alist to store the options's
4852 values during their processing and return them additionally to the
4853 remaining args.
4854
4855 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4856
4857 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4858 continuation character an operator, as far as indentation is
4859 concerned (Bug#15369).
4860
4861 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4862
4863 * window.el (window--state-put-2): Don't process buffer state
4864 when buffer doesn't exist any more (Bug#15382).
4865
4866 2013-09-15 Glenn Morris <rgm@gnu.org>
4867
4868 * eshell/em-unix.el (eshell/rm):
4869 Make -f ignore missing files. (Bug#15373)
4870
4871 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4872 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4873 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4874
4875 2013-09-14 Glenn Morris <rgm@gnu.org>
4876
4877 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4878
4879 2013-09-13 Glenn Morris <rgm@gnu.org>
4880
4881 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4882 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4883
4884 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4885
4886 * frame.el (x-focus-frame): Mark as declared in frame.c.
4887
4888 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * ls-lisp.el: Use advice-add.
4891 (original-insert-directory): Remove.
4892 (ls-lisp--insert-directory): Rename from insert-directory; add
4893 `orig-fun' argument.
4894 (insert-directory): Advise.
4895
4896 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4897
4898 * term.el (term-emulate-terminal): Decode the command string
4899 before passing it to term-command-hook. (Bug#15337)
4900
4901 2013-09-13 Glenn Morris <rgm@gnu.org>
4902
4903 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4904
4905 * eshell/esh-ext.el (eshell-search-path): Declare.
4906
4907 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4908 Otherwise an error occurs if eshell-dirs module not loaded.
4909
4910 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4911
4912 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4913
4914 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4915 `tramp-check-proper-host'. Check for a valid method name.
4916
4917 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4918 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4919 * net/tramp-sh.el (tramp-maybe-open-connection):
4920 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4921
4922 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4923 also for hash values.
4924
4925 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * term/ns-win.el (parameters): Don't declare as dynamic.
4928 (before-make-frame-hook): Don't add ineffective function.
4929
4930 * eshell/*.el: Use lexical-binding (bug#15231).
4931
4932 2013-09-12 Kenichi Handa <handa@gnu.org>
4933
4934 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4935
4936 2013-09-12 Glenn Morris <rgm@gnu.org>
4937
4938 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4939 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4940
4941 * subr.el (do-after-load-evaluation): Also give compiler warnings
4942 when obsolete files are used (except by obsolete files).
4943
4944 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4945 in the status output, assume `filename' is the first. (Bug#15322)
4946
4947 * vc/vc.el (vc-deduce-fileset): Doc fix.
4948
4949 * calc/calc-help.el (Info-goto-node):
4950 * progmodes/cperl-mode.el (Info-find-node):
4951 * vc/ediff.el (Info-goto-node): Update declarations.
4952
4953 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4954
4955 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4956 (vc-bzr-pull): Require vc-dispatcher.
4957 * vc/vc-git.el (vc-compilation-mode): Declare.
4958 (vc-git-pull): Require vc-dispatcher.
4959
4960 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4961
4962 * progmodes/octave.el (help-button-action): Declare.
4963
4964 * shell.el (shell-directory-tracker): Output error as a message
4965 rather than just returning it as a string.
4966 (shell-process-pushd): Remove useless use of message.
4967
4968 * dframe.el (dframe-timer-fn):
4969 * files.el (dir-locals-read-from-file):
4970 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4971 (mpc-format):
4972 * reveal.el (reveal-post-command):
4973 * saveplace.el (load-save-place-alist-from-file):
4974 * shell.el (shell-resync-dirs):
4975 * w32-common-fns.el (x-get-selection-value):
4976 * emacs-lisp/copyright.el (copyright-find-copyright):
4977 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4978 * emulation/tpu-edt.el (tpu-copy-keyfile):
4979 * play/bubbles.el (bubbles--mark-neighbourhood):
4980 * progmodes/executable.el
4981 (executable-make-buffer-file-executable-if-script-p):
4982 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4983
4984 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4985
4986 Cleanup Eshell to rely less on dynamic scoping.
4987 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4988 last-value, and ext-command here. Bind `args' closer to `body'.
4989 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4990 (eshell--args): Declare new dynamic var.
4991 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4992 last-value, and ext-command. Pass `args' to `body'.
4993 (eshell-process-args): Bind eshell--args.
4994 (eshell-set-option): Use eshell--args.
4995 * eshell/eshell.el (eshell): Use derived-mode-p.
4996 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4997 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4998 (eshell-glob-function): Declare.
4999 * eshell/esh-util.el: Require cl-lib.
5000 (eshell-read-hosts-file): Avoid add-to-list.
5001 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5002 `err'.
5003 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5004 Declare.
5005 (eshell/diff): Remove unused var `err'.
5006 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5007 `killflag'.
5008 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5009 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5010 first use.
5011 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5012 Move declaration before first use.
5013 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5014 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5015 rely on cl-return.
5016
5017 2013-09-12 Glenn Morris <rgm@gnu.org>
5018
5019 * term/ns-win.el (global-map): Remove binding for ispell-next,
5020 deleted 1999-05-29. (Bug#15357)
5021
5022 2013-09-11 Glenn Morris <rgm@gnu.org>
5023
5024 * echistory.el (electric-command-history): Remove call to deleted func.
5025
5026 * play/landmark.el (landmark-mode): Fix typos.
5027
5028 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5029 Check cvs-sort-ignore-file is bound.
5030
5031 * savehist.el: No need for cl when compiling on Emacs.
5032
5033 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5036 (bug#15338).
5037 (eshell-self-insert-command, eshell-send-invisible):
5038 Remove unused argument.
5039 (eshell-handle-control-codes): Remove unused var `orig'.
5040 Avoid delete-backward-char.
5041
5042 * files.el (set-auto-mode): Simplify a bit further.
5043
5044 2013-09-11 Glenn Morris <rgm@gnu.org>
5045
5046 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5047 (set-auto-mode): Don't regexp-quote elements.
5048 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5049 * progmodes/cc-mode.el (interpreter-mode-alist):
5050 * progmodes/ruby-mode.el (interpreter-mode-alist):
5051 Revert previous change.
5052
5053 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * play/snake.el (snake-mode):
5056 * play/mpuz.el (mpuz-mode):
5057 * play/landmark.el (lm-mode):
5058 * play/blackbox.el (blackbox-mode):
5059 * play/5x5.el (5x5-mode):
5060 * obsolete/options.el (Edit-options-mode):
5061 * net/quickurl.el (quickurl-list-mode):
5062 * net/newst-treeview.el (newsticker-treeview-mode):
5063 * mail/rmailsum.el (rmail-summary-mode):
5064 * mail/mspools.el (mspools-mode):
5065 * locate.el (locate-mode):
5066 * ibuffer.el (ibuffer-mode):
5067 * emulation/ws-mode.el (wordstar-mode):
5068 * emacs-lisp/debug.el (debugger-mode):
5069 * array.el (array-mode):
5070 * net/eudc.el (eudc-mode): Use define-derived-mode.
5071 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5072 Move initialization into declaration.
5073 (mairix-searches-mode): Use define-derived-mode.
5074 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5075 (eudc-edit-hotlist): Use dolist.
5076 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5077 (Man-mode): Use define-derived-mode.
5078 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5079 (Info-edit-mode): Use define-derived-mode.
5080 (Info-cease-edit): Use Info-mode.
5081 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5082 into declaration.
5083 (eshell-mode): Use define-derived-mode.
5084 * chistory.el (command-history-mode-map): Rename from
5085 command-history-map.
5086 (command-history-mode): Use define-derived-mode.
5087 (Command-history-setup): Remove function.
5088 * calc/calc.el (calc-trail-mode-map): New var.
5089 (calc-trail-mode): Use define-derived-mode.
5090 (calc-trail-buffer): Set calc-main-buffer manually.
5091 * bookmark.el (bookmark-insert-annotation): New function.
5092 (bookmark-edit-annotation): Use it.
5093 (bookmark-edit-annotation-mode): Make it a proper major mode.
5094 (bookmark-send-edited-annotation): Use derived-mode-p.
5095 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5096 closer to its ideal place. Use \' to match EOS.
5097
5098 * profiler.el (profiler-calltree-find): Use function-equal.
5099
5100 2013-09-10 Glenn Morris <rgm@gnu.org>
5101
5102 * files.el (interpreter-mode-alist): Convert to regexps.
5103 (set-auto-mode): Adapt for this. (Bug#15306)
5104 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5105 Comment out unused variable.
5106 * progmodes/cc-mode.el (interpreter-mode-alist):
5107 * progmodes/python.el (interpreter-mode-alist):
5108 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5109 * progmodes/sh-script.el (sh-set-shell):
5110 No longer use interpreter-mode-alist to get list of shells.
5111
5112 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5113
5114 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * simple.el: Use set-temporary-overlay-map for universal-argument.
5117 (universal-argument-map): Don't use default-bindings (bug#15317).
5118 Bind switch-frame explicitly. Replace universal-argument-minus with
5119 a conditional binding.
5120 (universal-argument-num-events, saved-overriding-map): Remove.
5121 (restore-overriding-map): Remove.
5122 (universal-argument--mode): Rename from save&set-overriding-map,
5123 and rewrite.
5124 (universal-argument, universal-argument-more, negative-argument)
5125 (digit-argument): Adjust accordingly.
5126 (universal-argument-minus): Remove.
5127 (universal-argument-other-key): Remove.
5128
5129 * subr.el (with-demoted-errors): Add `format' argument.
5130
5131 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5132
5133 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5134 `tramp-cleanup-connection'.
5135
5136 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5137 parameters KEEP-DEBUG and KEEP-PASSWORD.
5138
5139 * net/tramp.el (tramp-file-name-handler):
5140 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5141 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5142 (tramp-maybe-open-connection):
5143 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5144 Use `tramp-cleanup-connection'.
5145
5146 * net/tramp-sh.el (tramp-maybe-open-connection):
5147 Catch 'uname-changed inside the progress reporter.
5148
5149 2013-09-10 Glenn Morris <rgm@gnu.org>
5150
5151 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5152
5153 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5154 returns "alternate access method" in mode (eg "-rw-r--r--.").
5155
5156 2013-09-08 Glenn Morris <rgm@gnu.org>
5157
5158 * saveplace.el (load-save-place-alist-from-file):
5159 Demote errors. (Bug#15305)
5160
5161 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5162
5163 Improve compatibility with older Emacsen, and XEmacs.
5164
5165 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5166 only if it is bound. It isn't for XEmacs.
5167 (with-tramp-progress-reporter): Do not let-bind `result'.
5168 This yields to scoping errors in XEmacs.
5169 (tramp-handle-make-auto-save-file-name): New function, moved from
5170 tramp-sh.el.
5171
5172 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5173 for `make-auto-save-file-name'.
5174 (tramp-adb--gnu-switches-to-ash):
5175 Use `tramp-compat-replace-regexp-in-string'.
5176
5177 * net/tramp-cache.el (tramp-cache-print): Call
5178 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5179
5180 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5181 bound. It isn't for XEmacs.
5182
5183 * net/tramp-compat.el (tramp-compat-copy-file):
5184 Catch `wrong-number-of-arguments' error.
5185 (tramp-compat-replace-regexp-in-string): New defun.
5186
5187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5188 for `make-auto-save-file-name'.
5189 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5190 `copy-file'.
5191 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5192 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5193 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5194
5195 * net/tramp-gw.el (tramp-gw-open-network-stream):
5196 Use `tramp-compat-replace-regexp-in-string'.
5197
5198 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5199 Call `tramp-handle-make-auto-save-file-name'.
5200 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5201 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5202 (tramp-sh-file-inotifywait-process-filter):
5203 Use `tramp-compat-replace-regexp-in-string'.
5204 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5205
5206 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5207 for `make-auto-save-file-name'.
5208 (tramp-smb-handle-copy-directory):
5209 Call `tramp-compat-replace-regexp-in-string'.
5210 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5211 (tramp-smb-handle-copy-file): Improve error message.
5212 (tramp-smb-handle-rename-file): Rename directly only in case
5213 `newname' does not exist yet. This is a restriction of smbclient.
5214 (tramp-smb-maybe-open-connection): Rerun the function only when
5215 `auth-sources' is non-nil.
5216
5217 2013-09-08 Kenichi Handa <handa@gnu.org>
5218
5219 * international/characters.el: Set category "^" (Combining) for
5220 more characters.
5221
5222 2013-09-07 Alan Mackenzie <acm@muc.de>
5223
5224 Correctly fontify Java class constructors.
5225 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5226 in Java Mode.
5227 (c-recognize-typeless-decls): Set the Java value to t.
5228 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5229 While handling a "(", add a check for, effectively, Java, and handle a
5230 "typeless" declaration there.
5231
5232 2013-09-07 Roland Winkler <winkler@gnu.org>
5233
5234 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5235 field subtitle for entry type book.
5236
5237 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * minibuffer.el: Make minibuffer-complete call completion-in-region
5240 rather than other way around.
5241 (completion--some, completion-pcm--find-all-completions):
5242 Don't delay signals when debugging.
5243 (minibuffer-completion-contents): Beware fields within the
5244 minibuffer contents.
5245 (completion-all-sorted-completions): Use defvar-local.
5246 (completion--do-completion, completion--cache-all-sorted-completions)
5247 (completion-all-sorted-completions, minibuffer-force-complete):
5248 Add args `beg' and `end'.
5249 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5250 (minibuffer-complete): Use completion-in-region.
5251 (completion-complete-and-exit): New fun, extracted from
5252 minibuffer-complete-and-exit.
5253 (minibuffer-complete-and-exit): Use it.
5254 (completion--complete-and-exit): Rename from
5255 minibuffer--complete-and-exit.
5256 (completion-in-region--single-word): New function, extracted from
5257 minibuffer-complete-word.
5258 (minibuffer-complete-word): Use it.
5259 (display-completion-list): Make `common-substring' argument obsolete.
5260 (completion--in-region): Call completion--in-region-1 instead of
5261 minibuffer-complete.
5262 (completion-help-at-point): Pass boundaries to
5263 minibuffer-completion-help as args rather than via an overlay.
5264 (completion-pcm--string->pattern): Use `any-delim'.
5265 (completion-pcm--optimize-pattern): New function.
5266 (completion-pcm--pattern->regex): Handle `any-delim'.
5267 * icomplete.el (icomplete-forward-completions)
5268 (icomplete-backward-completions, icomplete-completions):
5269 Adjust calls to completion-all-sorted-completions and
5270 completion--cache-all-sorted-completions.
5271 (icomplete-with-completion-tables): Default to t.
5272 * emacs-lisp/crm.el (crm--current-element): Rename from
5273 crm--select-current-element. Don't put an overlay but return the
5274 boundaries instead.
5275 (crm--completion-command): Take two new args to bind to the boundaries.
5276 (crm-completion-help): Adjust accordingly.
5277 (crm-complete): Use completion-in-region.
5278 (crm-complete-word): Use completion-in-region--single-word.
5279 (crm-complete-and-exit): Use completion-complete-and-exit.
5280
5281 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5282
5283 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5284 than dynamically.
5285
5286 2013-09-06 Juri Linkov <juri@jurta.org>
5287
5288 * info.el (Info-display-images-node): When image file doesn't exist
5289 display text version of the image if it's provided in the Info file.
5290 Otherwise, display the location of missing image from SRC attribute.
5291 Add help-echo text property from ALT attribute. (Bug#15279)
5292
5293 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5294
5295 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5296 (edit-abbrevs-mode): Use define-derived-mode.
5297
5298 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5299 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5300 that it's defined.
5301 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5302 Use define-derived-mode.
5303
5304 * epg.el (epg-start-encrypt): Minor CSE simplification.
5305
5306 2013-09-06 William Xu <william.xwl@gmail.com>
5307
5308 * arc-mode.el: Add support for 7za (bug#15264).
5309 (archive-7z-program): New var.
5310 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5311 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5312 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5313
5314 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5315
5316 Remove URL syntax.
5317
5318 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5319 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5320 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5321 (tramp-postfix-host-format, tramp-file-name-regexp)
5322 (tramp-completion-file-name-regexp)
5323 (tramp-completion-dissect-file-name)
5324 (tramp-handle-substitute-in-file-name): Remove 'url case.
5325 (tramp-file-name-regexp-url)
5326 (tramp-completion-file-name-regexp-url): Remove constants.
5327
5328 2013-09-06 Glenn Morris <rgm@gnu.org>
5329
5330 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5331
5332 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5333
5334 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5335 keywords" below "here-doc beginnings" (Bug#15270).
5336
5337 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * subr.el (pop): Use `car-safe'.
5340 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5341 to detect unused `pop' return value.
5342
5343 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5344 var `block-regexp'.
5345 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5346 (python-fill-string): Remove unused var `marker'.
5347 (python-skeleton-add-menu-items): Remove unused var `items'.
5348
5349 * international/mule-cmds.el: Require CL.
5350 (find-coding-systems-for-charsets): Avoid add-to-list.
5351 (sanitize-coding-system-list): New function, extracted from
5352 select-safe-coding-system-interactively.
5353 (select-safe-coding-system-interactively): Use it.
5354 (read-input-method-name): Accept symbols for `default'.
5355
5356 * emacs-lisp/advice.el (defadvice): Add indent rule.
5357
5358 2013-09-05 Daniel Hackney <dan@haxney.org>
5359
5360 * dired-x.el:
5361 * net/ange-ftp.el:
5362 * net/browse-url.el:
5363 * net/dbus.el:
5364 * net/eudc.el:
5365 * net/eudcb-ldap.el:
5366 * net/eww.el:
5367 * net/imap.el:
5368 * printing.el:
5369 * vc/ediff-diff.el:
5370 * vc/ediff-init.el:
5371 * vc/ediff-merg.el:
5372 * vc/ediff-mult.el:
5373 * vc/ediff-util.el:
5374 * vc/ediff-wind.el:
5375 * vc/ediff.el:
5376 * vc/emerge.el:
5377 * vc/pcvs.el:
5378 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5379 byte compiler. Remove some unused let-bound variables.
5380
5381 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5382
5383 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5384 a "ref-cell", since it gets better optimized (bug#14883).
5385
5386 2013-09-05 Glenn Morris <rgm@gnu.org>
5387
5388 * progmodes/cc-awk.el (c-forward-sws): Declare.
5389
5390 2013-09-04 Glenn Morris <rgm@gnu.org>
5391
5392 * generic-x.el [rul-generic-mode]: Require cc-mode.
5393 (c++-mode-syntax-table): Declare.
5394 (rul-generic-mode-syntax-table): Init in the defvar.
5395
5396 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5399 (vc-do-command, vc-set-async-update):
5400 * vc/vc-mtn.el (vc-mtn-dir-status):
5401 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5402 (vc-hg-pull, vc-hg-merge-branch):
5403 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5404 (vc-git-merge-branch):
5405 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5406 (vc-cvs-dir-status-files):
5407 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5408 (vc-bzr-dir-status-files):
5409 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5410 * vc/vc-annotate.el: Use lexical-binding.
5411 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5412 (vc-sentinel-movepoint): Declare.
5413 (vc-annotate): Don't use `goto-line'.
5414 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5415 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5416 (vc-sentinel-movepoint): Declare.
5417 * vc/vc-svn.el: Use lexical-binding.
5418 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5419 * vc/vc-sccs.el:
5420 * vc/vc-rcs.el: Use lexical-binding.
5421
5422 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5423 `deleted'. Don't drop errors silently.
5424
5425 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5426
5427 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5428
5429 * vc/vc.el (vc-ignore): Rewrite.
5430 (vc-default-ignore): New function.
5431 (vc-default-ignore-completion-table): Use find-ignore-file.
5432
5433 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5434 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5435 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5436 Remove. Most code moved to vc.el.
5437
5438 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5441 * net/tramp-smb.el (tramp-smb-get-file-entries):
5442 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5443 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5444
5445 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5446 Update call to it.
5447 (eww-change-select): Remove unused var `properties'.
5448 (eww-make-unique-file-name): Remove unused var `base'.
5449
5450 * finder.el (finder-compile-keywords): Don't mess with windows.
5451
5452 * calculator.el (calculator-funcall): Fix typo in last change.
5453
5454 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5455
5456 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5457 <pkg>-autoloads.el file stop us.
5458
5459 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5460 warnings, and factor out common code.
5461
5462 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5463
5464 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5465 two-character operators and whether the character preceding them
5466 changes their meaning (Bug#15208).
5467
5468 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5469
5470 Format code sent to Python shell for robustness.
5471 * progmodes/python.el (python-shell-buffer-substring):
5472 New function.
5473 (python-shell-send-region, python-shell-send-buffer): Use it.
5474
5475 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5476
5477 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5478 * net/tramp.el (tramp-user-error): ... here.
5479 (tramp-find-method, tramp-check-proper-host)
5480 (tramp-dissect-file-name, tramp-debug-message)
5481 (tramp-handle-shell-command):
5482 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5483 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5484
5485 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5486
5487 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5488
5489 * avoid.el (mouse-avoidance-point-position)
5490 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5491 returns nil.
5492
5493 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5494
5495 * progmodes/python.el (python-shell-completion-get-completions):
5496 Drop use of deleted `comint-last-prompt-overlay'.
5497 (python-nav-if-name-main): New command.
5498
5499 2013-09-01 Glenn Morris <rgm@gnu.org>
5500
5501 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5502 Avoid leading space in $wins. Otherwise the sed command used by
5503 eg compile-main ends up containing "/*.el". (Bug#15170)
5504
5505 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5506
5507 2013-08-30 Glenn Morris <rgm@gnu.org>
5508
5509 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5510 Fix is-this-a-directory logic. (Bug#15220)
5511
5512 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5513
5514 * textmodes/css-mode.el: Use SMIE.
5515 (css-smie-grammar): New var.
5516 (css-smie--forward-token, css-smie--backward-token)
5517 (css-smie-rules): New functions.
5518 (css-mode): Use them.
5519 (css-navigation-syntax-table): Remove var.
5520 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5521 (css-indent-calculate, css-indent-line): Remove functions.
5522
5523 Misc changes to reduce use of `(lambda...); and other cleanups.
5524 * cus-edit.el: Use lexical-binding.
5525 (customize-push-and-save, customize-apropos)
5526 (custom-buffer-create-internal): Use closures.
5527 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5528 * progmodes/ada-xref.el: Use setq.
5529 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5530 * dframe.el: Use lexical-binding.
5531 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5532 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5533 * descr-text.el: Use lexical-binding.
5534 (describe-text-widget, describe-text-sexp, describe-property-list):
5535 Use closures.
5536 * comint.el (comint-history-isearch-push-state): Use a closure.
5537 * calculator.el: Use lexical-binding.
5538 (calculator-number-to-string): Make it work with lexical-binding.
5539 (calculator-funcall): Same and use cl-letf.
5540
5541 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5542 (lisp--company-doc-string, lisp--company-location): New functions.
5543 (lisp-completion-at-point): Use them to improve Company support.
5544
5545 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5546 params of lambda expressions.
5547 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5548 (ruby-smie--opening-pipe-p): New function.
5549 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5550 symbols and matched |...| for formal params.
5551 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5552 from being treated as hanging. Handle "rescue".
5553
5554 2013-08-29 Glenn Morris <rgm@gnu.org>
5555
5556 * progmodes/cc-engine.el (c-pull-open-brace):
5557 Move definition before use.
5558
5559 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5562 are immutable. Don't use `unsafe' any more.
5563 (cl--defsubst-expand): Don't substitute at the same time as keeping
5564 a residual unused let-binding. Don't use `unsafe' any more.
5565
5566 2013-08-29 Glenn Morris <rgm@gnu.org>
5567
5568 * calendar/cal-china.el (calendar-chinese-year-cache):
5569 Recenter on 2015.
5570
5571 * nxml/nxml-util.el (nxml-debug-clear-inside):
5572 Use cl-loop rather than loop.
5573
5574 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5575
5576 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5577
5578 2013-08-28 Glenn Morris <rgm@gnu.org>
5579
5580 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5581
5582 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5583
5584 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5585
5586 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5587
5588 * simple.el (repeat-complex-command--called-interactively-skip):
5589 New function.
5590 (repeat-complex-command): Use it (bug#14136).
5591
5592 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5593 (c-define-abbrev-table): Add `doc' argument.
5594 (c-mode-abbrev-table, c++-mode-abbrev-table)
5595 (objc-mode-abbrev-table, java-mode-abbrev-table)
5596 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5597 (awk-mode-abbrev-table): Use it.
5598 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5599 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5600 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5601 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5602 Move initialization into the declaration; and remove any
5603 autoload cookie.
5604
5605 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5606 and dynamic let binding.
5607
5608 * vc/smerge-mode.el: Remove redundant :group args.
5609
5610 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5611 to load-path.
5612
5613 2013-08-28 Juri Linkov <juri@jurta.org>
5614
5615 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5616 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5617 (isearch-other-meta-char): Handle an undefined shifted printing
5618 character by downshifting it. (Bug#15200)
5619
5620 2013-08-28 Juri Linkov <juri@jurta.org>
5621
5622 * isearch.el (isearch-search): Change regexp error message for
5623 non-regexp searches. (Bug#15166)
5624
5625 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5626
5627 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5628 for portability to hosts where /bin/sh has problems.
5629
5630 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5633
5634 2013-08-27 Juri Linkov <juri@jurta.org>
5635
5636 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5637 in the keyboard macro. (Bug#15126)
5638
5639 2013-08-27 Juri Linkov <juri@jurta.org>
5640
5641 * isearch.el (isearch-quote-char): Comment out converting unibyte
5642 to multibyte, thus syncing with its `quoted-insert' counterpart.
5643 (Bug#15166)
5644
5645 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5646
5647 * window.el (display-buffer-use-some-window): Add missing
5648 argument in call of get-largest-window (Bug#15185).
5649 Reported by Stephen Leake.
5650
5651 2013-08-27 Glenn Morris <rgm@gnu.org>
5652
5653 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5654
5655 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5658 from a matcher-function unless there's no more matches (bug#15161).
5659
5660 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5661
5662 * minibuffer.el: Revert change from 2013-08-20.
5663
5664 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5665 with text property `tramp-default', if appropriate.
5666 (tramp-check-proper-host): New defun.
5667 (tramp-dissect-file-name): Do not check hostname. Revert change
5668 of 2013-03-18.
5669 (tramp-backtrace): Make VEC-OR-PROC optional.
5670
5671 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5672 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5673 * net/tramp-sh.el (tramp-maybe-open-connection):
5674 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5675 Apply `tramp-check-proper-host'.
5676
5677 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5678
5679 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5680 lambda expression in order to have `describe-variable' display it.
5681
5682 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5683
5684 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5685 BUF can be optional. (Bug#15186)
5686
5687 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5688
5689 * progmodes/flymake.el (flymake-get-real-file-name-function):
5690 Fix broken customization. (Bug#15184)
5691
5692 2013-08-25 Alan Mackenzie <acm@muc.de>
5693
5694 Improve indentation of bracelists defined by macros (without "=").
5695
5696 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5697 expansion begins with "{", regard it as bracelist when it doesn't
5698 contain a ";".
5699
5700 Parse C++ inher-intro when there's a template split over 2 lines.
5701
5702 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5703 rigorously the search for "class" etc. followed by ":".
5704
5705 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5706 random languages a regexp which never matches rather than nil.
5707
5708 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5709
5710 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5711 (c-awk-regexp-one-line-possibly-open-char-list-re)
5712 (c-awk-one-line-possibly-open-regexp-re)
5713 (c-awk-one-line-non-syn-ws*-re): Remove.
5714 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5715 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5716 (c-awk-space*-unclosed-regexp-/-re): New constants.
5717 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5718 aren't regexp delimiters.
5719
5720 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5721 handling for a rare situation in AWK Mode involving unterminated
5722 strings/regexps.
5723
5724 2013-08-23 Glenn Morris <rgm@gnu.org>
5725
5726 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5727
5728 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5729
5730 * files.el (create-file-buffer): If the result would begin with
5731 spaces, prepend a "|" instead of removing them. (Bug#15162)
5732
5733 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5734
5735 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5736 text-properties (bug#15155).
5737
5738 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5739 exist any more.
5740 (calc-keypad-redraw): Remove unused var `pad'.
5741 (calc-keypad-press): Remove unused var `menu'.
5742
5743 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5744
5745 * window.el (display-buffer-pop-up-frame):
5746 Call pop-up-frame-function with BUFFER current so `make-frame' will
5747 use it as the new frame's buffer (Bug#15133).
5748
5749 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * calendar/timeclock.el: Minor cleanups.
5752 (timeclock-ask-before-exiting, timeclock-use-display-time):
5753 Use `symbol'.
5754 (timeclock-modeline-display): Define as alias before the
5755 actual definition.
5756 (timeclock-mode-line-display): Use define-minor-mode.
5757 (timeclock-day-list-template): Make it a function, add an argument.
5758 (timeclock-day-list-required, timeclock-day-list-length)
5759 (timeclock-day-list-debt, timeclock-day-list-span)
5760 (timeclock-day-list-break): Adjust calls accordingly.
5761
5762 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5763
5764 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5765 Use read--expression so that completion works again.
5766
5767 2013-08-21 Sam Steingold <sds@gnu.org>
5768
5769 Add rudimentary inferior shell interaction
5770 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5771 (sh-set-shell): Reset it.
5772 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5773 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5774
5775 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5776
5777 * align.el: Use lexical-binding.
5778 (align-region): Simplify accordingly.
5779
5780 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5781
5782 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5783
5784 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5785 `non-essential' up.
5786
5787 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp.el:
5790 * net/tramp-adb.el:
5791 * net/tramp-cmds.el:
5792 * net/tramp-ftp.el:
5793 * net/tramp-gvfs.el:
5794 * net/tramp-gw.el:
5795 * net/tramp-sh.el: Don't wrap external variable declarations by
5796 `eval-when-compile'.
5797
5798 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5799
5800 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5801 now that Emacs supports ImageMagick animations.
5802
5803 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5804
5805 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5806 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5807
5808 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5809
5810 * window.el (mouse-autoselect-window-select): Do autoselect when
5811 mouse pointer is on margin.
5812
5813 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5814
5815 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5816
5817 2013-08-16 Glenn Morris <rgm@gnu.org>
5818
5819 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5820 Handle "Remote Directory" response of some clients. (Bug#15058)
5821
5822 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5823 Tweak warning. (Bug#14926)
5824
5825 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5826 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5827
5828 * image-mode.el (image-mode-map): Add menu items to reverse,
5829 increase, decrease, reset animation speed.
5830 (image--set-speed, image-increase-speed, image-decrease-speed)
5831 (image-reverse-speed, image-reset-speed): New functions.
5832 (image-mode-map): Add bindings for speed commands.
5833
5834 * image.el (image-animate-get-speed, image-animate-set-speed):
5835 New functions.
5836 (image-animate-timeout): Respect image :speed property.
5837
5838 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5841 previous line (bug#15101).
5842 (debugger-eval-expression, debugger-record-expression):
5843 Use read--expression (bug#15102).
5844
5845 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5846
5847 Remove byte compiler warnings, visible when compiling with
5848 `byte-compile-force-lexical-warnings' set to t.
5849
5850 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5851 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5852 (tramp-handle-unhandled-file-name-directory)
5853 (tramp-handle-file-notify-add-watch, tramp-action-login)
5854 (tramp-action-succeed, tramp-action-permission-denied)
5855 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5856 arguments with "_".
5857
5858 * net/tramp-adb.el (tramp-adb-parse-device-names)
5859 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5860 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5861 (tramp-adb-handle-file-truename): Remove unused arguments.
5862
5863 * net/tramp-cache.el (tramp-flush-directory-property)
5864 (tramp-flush-connection-property, tramp-list-connections)
5865 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5866
5867 * net/tramp-compat.el (tramp-compat-make-temp-file):
5868 Rename FILENAME to F.
5869
5870 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5871 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5872 (tramp-zeroconf-parse-workstation-device-names)
5873 (tramp-zeroconf-parse-webdav-device-names)
5874 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5875
5876 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5877 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5878
5879 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5880 arguments.
5881 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5882 (tramp-sh-handle-insert-file-contents-literally)
5883 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5884 with "_".
5885 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5886 Remove unused variables.
5887
5888 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5889 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5890 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5891
5892 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5893 Make them a defconst.
5894 (tramp-uuencode-region): Remove unused variable.
5895
5896 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5897
5898 * frameset.el (frameset--prop-setter): New function.
5899 (frameset-prop): Add gv-setter declaration.
5900 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5901 parameter was already set in FILTERED. Doc fix.
5902 (frameset--record-minibuffer-relationships): Allow saving a
5903 minibufferless frame without its corresponding minibuffer frame.
5904 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5905 frame, if the frame id matches.
5906 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5907 frames before orphaned ones.
5908 (frameset-restore): Warn about orphaned windows, instead of error out.
5909
5910 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5911
5912 * window.el (window-make-atom): Don't overwrite parameter
5913 already present.
5914 (display-buffer-in-atom-window): Handle special case where we
5915 split an already atomic window.
5916 (window--major-non-side-window, display-buffer-in-side-window)
5917 (window--side-check): Ignore minibuffer window when walking
5918 window tree.
5919 (window-deletable-p): Return 'frame only if no other frame uses
5920 our minibuffer window.
5921 (record-window-buffer): Run buffer-list-update-hook.
5922 (split-window): Make sure window--check-frame won't destroy an
5923 existing atomic window in case the new window gets nested
5924 inside.
5925 (display-buffer-at-bottom): Ignore minibuffer window when
5926 walking window tree. Don't split a side window.
5927 (pop-to-buffer): Don't set-buffer here, the select-window call
5928 should do that.
5929 (mouse-autoselect-window-select): Autoselect only if we are in the
5930 text portion of the window.
5931
5932 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5933
5934 * net/shr.el (shr-parse-image-data): New function to grab both the
5935 data itself and the Content-Type.
5936 (shr-put-image): Use it.
5937
5938 * net/eww.el (eww-display-image): Ditto.
5939
5940 * image.el (image-content-type-suffixes): New variable.
5941
5942 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5943
5944 * progmodes/python.el (python-imenu--build-tree)
5945 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5946
5947 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5948
5949 * simple.el (backward-word): Mention the optional argument.
5950
5951 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5952
5953 * frameset.el (frameset--make): Rename constructor from make-frameset.
5954 (frameset-p, frameset-valid-p): Don't autoload.
5955 (frameset-valid-p): Use normal accessors.
5956
5957 2013-08-13 Glenn Morris <rgm@gnu.org>
5958
5959 * progmodes/compile.el (compile-command): Tweak example in doc.
5960 * obsolete/scribe.el (scribe-mode):
5961 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5962
5963 * mail/feedmail.el (feedmail-confirm-outgoing)
5964 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5965
5966 * cus-start.el (truncate-partial-width-windows): Fix type.
5967
5968 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5969
5970 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5971
5972 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * emacs-lisp/timer.el (timer--time-setter): New function.
5975 (timer--time): Use it as gv-setter.
5976
5977 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5978 setter is not a symbol.
5979
5980 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5981
5982 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5983 if sending fails. This makes debugging easier.
5984
5985 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5986
5987 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5988 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5989 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5990
5991 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5992
5993 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5994
5995 2013-08-12 Glenn Morris <rgm@gnu.org>
5996
5997 * format.el (format-annotate-function):
5998 Handle read-only text properties in the source. (Bug#14887)
5999
6000 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6001
6002 * net/eww.el (eww-display-html): Ignore coding system errors.
6003 One web site uses "utf-8lias" as the coding system.
6004
6005 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6006
6007 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6008
6009 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6010
6011 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6012 (tutorial--detailed-help): Remove unused local variables.
6013 (tutorial--save-tutorial-to): Use ignore-errors.
6014 (help-with-tutorial): Use looking-at-p.
6015
6016 * view.el (view-buffer-other-window, view-buffer-other-frame):
6017 Mark unused arguments.
6018
6019 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6020 (woman-select-symbol-fonts, woman, woman-find-file)
6021 (woman-insert-file-contents, woman-non-underline-faces):
6022 Use string-match-p.
6023 (woman1-unquote): Move declaration.
6024
6025 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6026 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6027 argument. Remove unused local variable.
6028 (xml-parse-elem-type): Use string-match-p.
6029 (xml-substitute-numeric-entities): Use ignore-errors.
6030
6031 * calculator.el (calculator): Mark unused argument.
6032 (calculator-paste, calculator-quit, calculator-integer-p):
6033 Use ignore-errors.
6034 (calculator-string-to-number, calculator-decimal, calculator-exp)
6035 (calculator-op-or-exp): Use string-match-p.
6036
6037 * dired.el (dired-buffer-more-recently-used-p): Declare.
6038 (dired-insert-set-properties, dired-insert-old-subdirs):
6039 Use ignore-errors.
6040
6041 * dired-aux.el (dired-compress): Use ignore-errors.
6042 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6043 (dired-do-async-shell-command, dired-do-shell-command)
6044 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6045 (dired-insert-subdir-validate): Use string-match-p.
6046 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6047 (dired-add-entry): Use string-match-p, looking-at-p.
6048 (dired-insert-subdir-newpos): Remove unused local variable.
6049
6050 * filenotify.el (file-notify-callback): Remove unused local variable.
6051
6052 * filesets.el (filesets-error): Mark unused argument.
6053 (filesets-which-command-p, filesets-filter-dir-names)
6054 (filesets-directory-files, filesets-get-external-viewer)
6055 (filesets-ingroup-get-data): Use string-match-p.
6056
6057 * find-file.el (ff-other-file-name, ff-other-file-name)
6058 (ff-find-the-other-file, ff-cc-hh-converter):
6059 Remove unused local variables.
6060 (ff-get-file-name): Use string-match-p.
6061 (ff-all-dirs-under): Use ignore-errors.
6062
6063 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6064 (follow-select-if-visible): Remove unused local variable.
6065
6066 * forms.el (read-file-filter): Move declaration.
6067 (forms--make-format, forms--make-parser, forms-insert-record):
6068 Quote function with #'.
6069 (forms--update): Use string-match-p. Quote function with #'.
6070
6071 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6072 (help-make-xrefs): Use looking-at-p.
6073 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6074
6075 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6076 (ibuffer-confirm-operation-on): Use string-match-p.
6077
6078 * msb.el (msb-item-handler, msb-dired-item-handler):
6079 Mark unused arguments.
6080
6081 * ses.el (ses-decode-cell-symbol)
6082 (ses-kill-override): Remove unused local variable.
6083 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6084 (ses-load): Use ignore-errors, looking-at-p.
6085 (ses-jump-safe): Use ignore-errors.
6086 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6087
6088 * tabify.el (untabify, tabify): Mark unused arguments.
6089
6090 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6091 Mark unused argument.
6092 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6093 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6094
6095 * emacs-lisp/timer.el (timer--time): Define setter with
6096 gv-define-setter to avoid deprecation warning.
6097
6098 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6099 (*record-cmpl-statistics-p*): Remove (was commented out).
6100 (cmpl-statistics-block): Remove (body was commented out).
6101 All callers changed.
6102 (add-completions-from-buffer, load-completions-from-file):
6103 Remove unused variables.
6104
6105 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6106
6107 * filecache.el (file-cache-delete-file-list):
6108 Print message only when told so.
6109 (file-cache-files-matching): Use #' in mapconcat argument.
6110
6111 * ffap.el (ffap-url-at-point): Fix reference to variable
6112 thing-at-point-default-mail-uri-scheme.
6113
6114 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * subr.el (define-error): New function.
6117 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6118 error-file-not-found and define with define-error.
6119 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6120 and define with define-error.
6121 * userlock.el (file-locked, file-supersession):
6122 * simple.el (mark-inactive):
6123 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6124 * progmodes/ada-mode.el (ada-mode-errors):
6125 * play/life.el (life-extinct):
6126 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6127 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6128 * nxml/rng-util.el (rng-error):
6129 * nxml/rng-uri.el (rng-uri-error):
6130 * nxml/rng-match.el (rng-compile-error):
6131 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6132 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6133 * nxml/nxml-rap.el (nxml-scan-error):
6134 * nxml/nxml-outln.el (nxml-outline-error):
6135 * net/soap-client.el (soap-error):
6136 * net/gnutls.el (gnutls-error):
6137 * net/ange-ftp.el (ftp-error):
6138 * mpc.el (mpc-proc-error):
6139 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6140 (json-number-format, json-string-escape, json-string-format)
6141 (json-key-format, json-object-format):
6142 * jka-compr.el (compression-error):
6143 * international/quail.el (quail-error):
6144 * international/kkc.el (kkc-error):
6145 * emacs-lisp/ert.el (ert-test-failed):
6146 * calc/calc.el (calc-error, inexact-result, math-overflow)
6147 (math-underflow):
6148 * bookmark.el (bookmark-error-no-filename):
6149 * epg.el (epg-error): Define with define-error.
6150
6151 * time.el (display-time-event-handler)
6152 (display-time-next-load-average): Don't call sit-for since it seems
6153 unnecessary (bug#15045).
6154
6155 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6156 Use #' instead of ' to quote functions.
6157 (checkdoc-output-mode): Use setq-local.
6158 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6159 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6160 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6161 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6162 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6163 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6164 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6165 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6166
6167 * ido.el (ido-completion-help): Fix up compiler warning.
6168
6169 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * frameset.el (frameset-p): Add autoload cookie.
6172 (frameset--jump-to-register): New function, based on code moved from
6173 register.el.
6174 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6175
6176 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6177 (frameset-restore, frameset-save, frameset-session-filter-alist):
6178 Remove declarations.
6179 (register-alist): Doc fix.
6180 (frameset-to-register): Move to frameset.el.
6181 (jump-to-register, describe-register-1): Remove frameset-specific code.
6182
6183 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6184
6185 * allout-widgets.el (allout-widgets-pre-command-business)
6186 (allout-widgets-post-command-business)
6187 (allout-widgets-after-change-handler)
6188 (allout-decorate-item-and-context, allout-set-boundary-marker)
6189 (allout-body-modification-handler)
6190 (allout-graphics-modification-handler): Mark ignored arguments.
6191 (allout-widgets-post-command-business)
6192 (allout-widgets-exposure-change-processor)
6193 (allout-widgets-exposure-undo-processor)
6194 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6195 (allout-parse-item-at-point, allout-decorate-item-guides)
6196 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6197 * allout.el (epa-passphrase-callback-function): Declare.
6198 (allout-overlay-insert-in-front-handler)
6199 (allout-overlay-interior-modification-handler)
6200 (allout-isearch-end-handler, allout-chart-siblings)
6201 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6202 (allout-yank-processing, allout-process-exposed)
6203 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6204 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6205 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6206 (lisp-indent-defform): Mark ignored arguments.
6207 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6208 (calculate-lisp-indent): Remove unused variables.
6209 * international/characters.el (indian-2-column, arabic-2-column)
6210 (tibetan): Mark ignored arguments.
6211 (use-cjk-char-width-table): Mark ignored arguments.
6212 Remove unused variables.
6213 * international/fontset.el (build-default-fontset-data)
6214 (x-compose-font-name, create-fontset-from-fontset-spec):
6215 Mark ignored arguments.
6216 (fontset-plain-name): Remove unused variables.
6217 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6218 (keyboard-coding-system): Mark ignored arguments.
6219 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6220 * help.el (resize-temp-buffer-window):
6221 * window.el (display-buffer-in-major-side-window)
6222 (display-buffer-in-side-window, display-buffer-in-previous-window):
6223 Remove unused variables.
6224 * isearch.el (isearch-forward-symbol):
6225 * version.el (emacs-bzr-version-bzr):
6226 * international/mule-cmds.el (current-language-environment):
6227 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6228 (x-handle-display):
6229 * term/pc-win.el (x-list-fonts, x-display-planes)
6230 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6231 (x-server-version, x-display-screens, x-display-mm-height)
6232 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6233 (x-selection-owner-p, x-own-selection-internal)
6234 (x-disown-selection-internal, x-get-selection-internal)
6235 (msdos-initialize-window-system):
6236 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6237 * term/x-win.el (x-handle-no-bitmap-icon):
6238 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6239 (vc-default-find-file-hook, vc-default-extra-menu):
6240 Mark ignored arguments.
6241
6242 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6245 break-condition in the context of the debugged code (bug#12685).
6246
6247 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6248
6249 * comint.el:
6250 Do not use an overlay to highlight the last prompt. (Bug#14744)
6251 (comint-mode): Make comint-last-prompt buffer local.
6252 (comint-last-prompt): New variable.
6253 (comint-last-prompt-overlay): Remove. Superseded by
6254 comint-last-prompt.
6255 (comint-snapshot-last-prompt, comint-output-filter):
6256 Use comint-last-prompt.
6257
6258 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6259
6260 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6261 (frameset-save): Check validity of the resulting frameset.
6262
6263 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6264
6265 * ido.el (ido-record-command): Add doc string.
6266
6267 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6268
6269 * frameset.el (frameset): Do not disable creation of the default
6270 frameset-p predicate. Doc fix.
6271 (frameset-valid-p): New function, copied from the old predicate-p.
6272 Add additional checks.
6273 (frameset-restore): Check with frameset-valid-p.
6274 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6275 (frameset-name, frameset-description, frameset-properties)
6276 (frameset-states): Add docstring.
6277 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6278 (frameset-filter-alist): Doc fixes.
6279
6280 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6281
6282 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6283
6284 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6287 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6288 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6289 (byte-compile-normal-call): Remove obsolescence check.
6290
6291 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6292
6293 * frameset.el (frameset-restore): Doc fix.
6294
6295 * register.el (frameset-frame-id, frameset-frame-with-id)
6296 (frameset-p, frameset-restore, frameset-save): Declare.
6297 (register-alist): Document framesets.
6298 (frameset-session-filter-alist): Declare.
6299 (frameset-to-register): New function.
6300 (jump-to-register): Implement jumping to framesets. Doc fix.
6301 (describe-register-1): Describe framesets.
6302
6303 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6304
6305 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6308 Use lexical-binding.
6309
6310 * frameset.el (frameset): Use type vector, not list (incompatible
6311 change). Do not declare a new constructor, use the default one.
6312 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6313 `name' and `description', respectively, and add read-only slot
6314 `timestamp'. Doc fixes.
6315 (frameset-copy, frameset-persistent-filter-alist)
6316 (frameset-filter-alist, frameset-switch-to-gui-p)
6317 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6318 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6319 (frameset-filter-iconified, frameset-keep-original-display-p):
6320 Doc fixes.
6321 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6322 Rename from frameset-filter-(save|restore)-param. All callers changed.
6323 Doc fix.
6324 (frameset-p): Adapt to change to vector and be more thorough.
6325 Change arg name to OBJECT. Doc fix.
6326 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6327 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6328 All callers changed.
6329 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6330 All callers changed.
6331 (frameset--record-minibuffer-relationships): Rename from
6332 frameset--process-minibuffer-frames. All callers changed.
6333 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6334 Use new default constructor (again). Doc fix.
6335 (frameset--find-frame-if): Rename from `frameset--find-frame.
6336 All callers changed.
6337 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6338 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6339 Doc fix.
6340 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6341 PARAMETERS and WINDOW-STATE, respectively.
6342 (frameset-restore): Add new keyword argument PREDICATE.
6343 Reset frameset--target-display to nil. Doc fix.
6344
6345 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6348 (bat-mode): Use it.
6349 (bat-mode-syntax-table): Mark \n as end-of-comment.
6350 (bat-font-lock-keywords): Remove comment rule.
6351
6352 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6353 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6354
6355 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6356 (byte-compile-callargs-warn): Use `push'.
6357 (byte-compile-arglist-warn): Ignore higher-order "calls".
6358 (byte-compile-file-form-autoload): Use `pcase'.
6359 (byte-compile-function-form): If quoting a symbol, check that it exists.
6360
6361 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6362
6363 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6364 and add a few popular commands found in batch files.
6365 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6366 (dos-mode): Doc fixes.
6367
6368 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6371 (dos-mode): Use setq-local. Add space after "rem".
6372 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6373 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6374
6375 2013-08-07 Arni Magnusson <arnima@hafro.is>
6376
6377 * progmodes/dos.el: New file.
6378 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6379 dos-mode.
6380
6381 2013-08-06 Glenn Morris <rgm@gnu.org>
6382
6383 * calendar/calendar.el: Add new faces, and day-header-array.
6384 (calendar-weekday-header, calendar-weekend-header)
6385 (calendar-month-header): New faces.
6386 (calendar-day-header-construct): New function.
6387 (calendar-day-header-width): Also :set calendar-day-header-array.
6388 (calendar-american-month-header, calendar-european-month-header)
6389 (calendar-iso-month-header): Use calendar- faces.
6390 (calendar-generate-month):
6391 Use calendar-day-header-array for day headers; apply faces to them.
6392 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6393 (calendar-abbrev-construct): Add optional maxlen argument.
6394 (calendar-day-name-array): Doc fix.
6395 (calendar-day-name-array, calendar-abbrev-length)
6396 (calendar-day-abbrev-array):
6397 Also :set calendar-day-header-array, and maybe redraw.
6398 (calendar-day-header-array): New option. (Bug#15007)
6399 (calendar-font-lock-keywords): Set to nil and make obsolete.
6400 (calendar-day-name): Add option to use header array.
6401
6402 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6403
6404 * net/shr.el (shr-render-td): Remove debugging.
6405 (shr-render-td): Make width computation consistent by defaulting
6406 all zero-width columns to 10 characters. This may not be optimal,
6407 but it's at least consistent.
6408 (shr-make-table-1): Redo last change to fix the real problem in
6409 colspan handling.
6410
6411 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6412
6413 * files.el (cache-long-line-scans):
6414 Make obsolete alias to `cache-long-scans'.
6415
6416 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * frameset.el (frameset, frameset-filter-alist)
6419 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6420 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6421 (frameset-compute-pos): Rename from frameset--compute-pos,
6422 and add docstring.
6423 (frameset-move-onscreen): Use frameset-compute-pos.
6424 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6425
6426 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6427 Fix typos in docstrings.
6428
6429 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6430
6431 * frame.el (get-other-frame): Tiny cleanup.
6432
6433 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6434
6435 * vc/vc.el (vc-default-ignore-completion-table):
6436 Silence byte-compiler warning.
6437
6438 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6439 slot , which can indeed be nil.
6440 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6441 Move entry for `left' from persistent to live filter alist.
6442 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6443 Doc fixes.
6444 (frameset-filter-params): When restoring a frame, copy items added to
6445 `filtered', to avoid unwittingly modifying the original parameters.
6446 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6447 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6448
6449 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6450 to use looking-at-p instead of looking-at. (Bug#15028)
6451
6452 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 Revert introduction of isearch-filter-predicates (bug#14714).
6455 Rely on add-function instead.
6456 * isearch.el (isearch-filter-predicates): Rename it back to
6457 isearch-filter-predicate.
6458 (isearch-message-prefix): Use advice-function-mapc and advice
6459 properties to get the isearch-message-prefix.
6460 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6461 instead of run-hook-with-args-until-failure.
6462 (isearch-filter-visible): Not obsolete any more.
6463 * loadup.el: Preload nadvice.
6464 * replace.el (perform-replace): Revert to funcall
6465 instead of run-hook-with-args-until-failure.
6466 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6467 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6468 dired-isearch-filenames-toggle; make it into a proper minor mode.
6469 Use add/remove-function.
6470 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6471 Call the minor-mode rather than add/remove-hook.
6472 (dired-isearch-filter-filenames):
6473 Remove isearch-message-prefix property.
6474 * info.el (Info--search-loop): New function, extracted from Info-search.
6475 Funcall isearch-filter-predicate instead of
6476 run-hook-with-args-until-failure isearch-filter-predicates.
6477 (Info-search): Use it.
6478 (Info-mode): Use isearch-filter-predicate instead of
6479 isearch-filter-predicates.
6480
6481 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6482
6483 Do not call to `selected-window' where it is assumed by default.
6484 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6485 `window-hscroll', `window-width', `window-height', `window-buffer',
6486 `window-frame', `window-start', `window-point', `next-window'
6487 and `window-display-table'.
6488 * abbrev.el (abbrev--default-expand):
6489 * bs.el (bs--show-with-configuration):
6490 * buff-menu.el (Buffer-menu-mouse-select):
6491 * calc/calc.el (calc):
6492 * calendar/calendar.el (calendar-generate-window):
6493 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6494 (diary-make-entry):
6495 * comint.el (send-invisible, comint-dynamic-complete-filename)
6496 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6497 * completion.el (complete):
6498 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6499 * disp-table.el (describe-current-display-table):
6500 * doc-view.el (doc-view-insert-image):
6501 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6502 * ehelp.el (with-electric-help):
6503 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6504 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6505 * emacs-lisp/helper.el (Helper-help-scroller):
6506 * emulation/cua-base.el (cua--post-command-handler-1):
6507 * eshell/esh-mode.el (eshell-output-filter):
6508 * ffap.el (ffap-gnus-wrapper):
6509 * help-macro.el (make-help-screen):
6510 * hilit-chg.el (highlight-compare-buffers):
6511 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6512 * hl-line.el (global-hl-line-highlight):
6513 * icomplete.el (icomplete-simple-completing-p):
6514 * isearch.el (isearch-done):
6515 * jit-lock.el (jit-lock-stealth-fontify):
6516 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6517 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6518 * mpc.el (mpc-tagbrowser, mpc):
6519 * net/rcirc.el (rcirc-any-buffer):
6520 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6521 * play/landmark.el (landmark-max-width, landmark-max-height):
6522 * play/zone.el (zone):
6523 * progmodes/compile.el (compilation-goto-locus):
6524 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6525 * progmodes/etags.el (find-tag-other-window):
6526 * progmodes/fortran.el (fortran-column-ruler):
6527 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6528 * progmodes/verilog-mode.el (verilog-point-text):
6529 * reposition.el (reposition-window):
6530 * rot13.el (toggle-rot13-mode):
6531 * server.el (server-switch-buffer):
6532 * shell.el (shell-dynamic-complete-command)
6533 (shell-dynamic-complete-environment-variable):
6534 * simple.el (insert-buffer, set-selective-display)
6535 (delete-completion-window):
6536 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6537 (speedbar-recenter):
6538 * startup.el (fancy-splash-head):
6539 * textmodes/ispell.el (ispell-command-loop):
6540 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6541 * tutorial.el (help-with-tutorial):
6542 * vc/add-log.el (add-change-log-entry):
6543 * vc/compare-w.el (compare-windows):
6544 * vc/ediff-help.el (ediff-indent-help-message):
6545 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6546 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6547 (ediff-setup-control-frame):
6548 * vc/emerge.el (emerge-position-region):
6549 * vc/pcvs-util.el (cvs-bury-buffer):
6550 * window.el (walk-windows, mouse-autoselect-window-select):
6551 * winner.el (winner-set-conf, winner-undo): Related users changed.
6552
6553 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * frameset.el (frameset--set-id): Doc fix.
6556 (frameset-frame-id, frameset-frame-id-equal-p)
6557 (frameset-locate-frame-id): New functions.
6558 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6559 (frameset-restore): Use them.
6560
6561 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6562
6563 Do not call to `selected-frame' where it is assumed by default.
6564 Affected functions are `raise-frame', `redraw-frame',
6565 `frame-first-window', `frame-terminal' and `delete-frame'.
6566 * calendar/appt.el (appt-disp-window):
6567 * epg.el (epg-wait-for-completion):
6568 * follow.el (follow-delete-other-windows-and-split)
6569 (follow-avoid-tail-recenter):
6570 * international/mule.el (set-terminal-coding-system):
6571 * mail/rmail.el (rmail-mail-return):
6572 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6573 * progmodes/f90.el (f90-add-imenu-menu):
6574 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6575 * server.el (server-switch-buffer):
6576 * simple.el (delete-completion-window):
6577 * talk.el (talk):
6578 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6579 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6580 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6581 * vc/ediff.el (ediff-documentation): Related users changed.
6582 * frame.el (selected-terminal): Remove the leftover.
6583
6584 2013-08-05 Glenn Morris <rgm@gnu.org>
6585
6586 * calendar/calendar.el (calendar-generate-month):
6587 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6588 (calendar-generate-month, calendar-font-lock-keywords):
6589 Fix for calendar-day-header-width > length of any day name.
6590
6591 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6592
6593 * desktop.el (desktop-clear): Use new name of sort predicate.
6594
6595 * frameset.el (frameset): Add docstring. Move :version property to its
6596 own `version' slot.
6597 (frameset-copy): Rename from copy-frameset.
6598 (frameset-p): Check more thoroughly.
6599 (frameset-prop): Do not check for :version, which is no longer a prop.
6600 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6601 Use new :never value instead of t.
6602 (frameset-filter-alist): Expand and clarify docstring.
6603 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6604 (frameset-filter-minibuffer, frameset-filter-save-param)
6605 (frameset-filter-restore-param, frameset-filter-iconified):
6606 Add pointer to docstring of frameset-filter-alist.
6607 (frameset-filter-params): Rename filter values to be more meaningful:
6608 :never instead of t, and reverse the meanings of :save and :restore.
6609 (frameset--process-minibuffer-frames): Clarify error message.
6610 (frameset-save): Avoid unnecessary and confusing call to framep.
6611 Use new BOA constructor for framesets.
6612 (frameset--reuse-list): Doc fix.
6613 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6614 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6615 (frameset-minibufferless-first-p): Doc fix.
6616 Rename from frameset-sort-frames-for-deletion.
6617 (frameset-restore): Doc fixes. Use new function names.
6618 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6619
6620 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6621
6622 * desktop.el (desktop-restore-forces-onscreen)
6623 (desktop-restore-reuses-frames): Document :keyword constant values.
6624 (desktop-filter-parameters-alist): Remove, now identical to
6625 frameset-filter-alist.
6626 (desktop--filter-tty*): Remove, moved to frameset.el.
6627 (desktop-save-frameset, desktop-restore-frameset):
6628 Do not pass :filters argument.
6629
6630 * frameset.el (frameset-live-filter-alist)
6631 (frameset-persistent-filter-alist): New variables.
6632 (frameset-filter-alist): Use them. Add autoload cookie.
6633 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6634 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6635 `frameset--id' (it's supposed to be internal to frameset.el).
6636 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6637 (frameset--initial-params): New function.
6638 (frameset--get-frame): Use it. Doc fix.
6639 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6640 Accept :all, not 'all.
6641 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6642 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6643 with fbound symbols. Fix frame id matching, and remove matching ids if
6644 the frame being restored is deleted. Obey :delete.
6645
6646 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 * subr.el (macrop): New function.
6649 (text-clone--maintaining): New var.
6650 (text-clone--maintain): Rename from text-clone-maintain. Use it
6651 instead of inhibit-modification-hooks.
6652
6653 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6654 a proxy, so as handle autoloads and redefinitions of the target.
6655 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6656
6657 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6658 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6659 (pcase--mutually-exclusive-p): New function.
6660 (pcase--split-consp): Use it.
6661 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6662 mutually exclusive with the current predicate.
6663
6664 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6665 (edebug-macrop): Remove. Use `macrop' instead.
6666 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6667 (ad-macro-p):
6668 * eshell/esh-cmd.el (eshell-macrop):
6669 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6670
6671 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6674 (advice-mapc): New function, using it.
6675 (advice-function-member-p): New function.
6676 (advice--normalize): Store the cdr in advice--saved-rewrite since
6677 that's the part that will be changed.
6678 (advice--symbol-function): New function.
6679 (advice-remove): Handle removal before the function is defined.
6680 Adjust to new advice--saved-rewrite.
6681 (advice-member-p): Use advice-function-member-p and
6682 advice--symbol-function.
6683
6684 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6685
6686 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6687 (frameset-filter-minibuffer): Doc fix.
6688 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6689 (frameset--set-id, frameset--process-minibuffer-frames)
6690 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6691 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6692
6693 * desktop.el (desktop-clear): Only delete frames when called
6694 interactively and desktop-restore-frames is non-nil. Doc fix.
6695 (desktop-read): Set desktop-saved-frameset to nil.
6696
6697 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6698
6699 * vc/vc.el (vc-ignore): Rewrite.
6700 (vc-default-ignore-completion-table):
6701 (vc--read-lines):
6702 (vc--add-line, vc--remove-regexp): New functions.
6703
6704 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6705 (vc-svn-ignore-completion-table): New function.
6706
6707 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6708 (vc-hg-ignore-completion-table):
6709 (vc-hg-find-ignore-file): New functions.
6710
6711 * vc/vc-git.el (vc-git-ignore): Rewrite.
6712 (vc-git-ignore-completion-table):
6713 (vc-git-find-ignore-file): New functions.
6714
6715 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6716
6717 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6718 (vc-bzr-ignore-completion-table):
6719 (vc-bzr-find-ignore-file): New functions.
6720
6721 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6722
6723 * frameset.el (frameset-prop): New function and setter.
6724 (frameset-save): Do not modify frame list passed by the caller.
6725
6726 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6727
6728 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6729
6730 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6733 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6734
6735 * custom.el (custom-initialize-default, custom-initialize-set)
6736 (custom-initialize-reset, custom-initialize-changed): Affect the
6737 toplevel-default-value (bug#6275, bug#14586).
6738 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6739 for bug#6275.
6740
6741 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6742
6743 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6744 Add cl-def* expressions.
6745
6746 * frameset.el (frameset-filter-params): Fix order of arguments.
6747
6748 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6749
6750 Move code related to saving frames to frameset.el.
6751 * desktop.el: Require frameset.
6752 (desktop-restore-frames): Doc fix.
6753 (desktop-restore-reuses-frames): Rename from
6754 desktop-restoring-reuses-frames.
6755 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6756 (desktop-clear): Clear frames too.
6757 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6758 (desktop--filter-tty*, desktop-save, desktop-read):
6759 Use frameset functions.
6760 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6761 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6762 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6763 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6764 (desktop--process-minibuffer-frames, desktop-save-frames)
6765 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6766 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6767 (desktop--sort-states, desktop-restoring-frames-p)
6768 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6769 (desktop-restoring-frameset-p, desktop-restore-frameset)
6770 (desktop--check-dont-save, desktop-save-frameset): New functions.
6771 (desktop--app-id): New constant.
6772 (desktop-first-buffer, desktop-buffer-ok-count)
6773 (desktop-buffer-fail-count): Move before first use.
6774 * frameset.el: New file.
6775
6776 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * files.el: Use lexical-binding.
6779 (dir-locals-read-from-file): Remove unused `err' variable.
6780 (hack-dir-local-variables--warned-coding): New var.
6781 (hack-dir-local-variables): Use it to avoid repeated warnings.
6782 (make-backup-file-name--default-function): New function.
6783 (make-backup-file-name-function): Use it as default.
6784 (buffer-stale--default-function): New function.
6785 (buffer-stale-function): Use it as default.
6786 (revert-buffer-insert-file-contents--default-function): New function.
6787 (revert-buffer-insert-file-contents-function): Use it as default.
6788 (insert-directory): Avoid add-to-list.
6789
6790 * autorevert.el (auto-revert-handler): Simplify.
6791 Use buffer-stale--default-function.
6792
6793 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6794
6795 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6796
6797 * whitespace.el (whitespace-ensure-local-variables): New function.
6798 (whitespace-cleanup-region): Call it.
6799 (whitespace-turn-on): Call it.
6800
6801 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6802
6803 Complete file name handlers.
6804
6805 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6806 (tramp-handle-verify-visited-file-modtime)
6807 (tramp-handle-file-notify-rm-watch): New functions.
6808 (tramp-call-process): Do not bind `default-directory'.
6809
6810 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6811 Order alphabetically.
6812 [access-file, add-name-to-file, dired-call-process]:
6813 [dired-compress-file, file-acl, file-notify-rm-watch]:
6814 [file-ownership-preserved-p, file-selinux-context]:
6815 [make-directory-internal, make-symbolic-link, set-file-acl]:
6816 [set-file-selinux-context, set-visited-file-modtime]:
6817 [verify-visited-file-modtime]: Add handler.
6818 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6819
6820 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6821 [file-notify-add-watch, file-notify-rm-watch]:
6822 [set-file-times, set-visited-file-modtime]:
6823 [verify-visited-file-modtime]: Add handler.
6824 (with-tramp-gvfs-error-message)
6825 (tramp-gvfs-handle-set-visited-file-modtime)
6826 (tramp-gvfs-fuse-file-name): Remove.
6827 (tramp-gvfs-handle-file-notify-add-watch)
6828 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6829 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6830
6831 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6832 Order alphabetically.
6833 [file-notify-rm-watch ]: Use default Tramp handler.
6834 [executable-find]: Remove private handler.
6835 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6836 `default-directory'.
6837 (tramp-sh-handle-executable-find)
6838 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6839 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6840 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6841 Do not use `format' in `tramp-message'.
6842
6843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6844 [file-notify-rm-watch, set-visited-file-modtime]:
6845 [verify-visited-file-modtime]: Add handler.
6846 (tramp-smb-call-winexe): Do not bind `default-directory'.
6847
6848 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6849
6850 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6851
6852 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6853
6854 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6855 use it.
6856 (log-view-diff-changeset): Same.
6857 (log-view-diff-common): Call backend command `previous-revision'
6858 to find out the previous revision, in both cases. Swap the
6859 variables `to' and `fr', so that `fr' usually refers to the
6860 earlier revision (Bug#14989).
6861
6862 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6863
6864 * ibuf-ext.el (ibuffer-filter-by-filename):
6865 Make it work with dired buffers too.
6866
6867 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6868
6869 * emacs-lisp/re-builder.el (reb-color-display-p):
6870 * files.el (save-buffers-kill-terminal):
6871 * net/browse-url.el (browse-url):
6872 * server.el (server-save-buffers-kill-terminal):
6873 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6874 Prefer nil to selected-frame for the first arg of frame-parameter.
6875
6876 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6877
6878 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6879
6880 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6881
6882 * minibuffer.el (completion--twq-all): Try and preserve each
6883 completion's case choice (bug#14907).
6884
6885 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6886
6887 * net/network-stream.el (open-network-stream): Mention the new
6888 :nogreeting parameter.
6889 (network-stream-open-starttls): Use the :nogreeting parameter
6890 (bug#14938).
6891
6892 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6893
6894 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6895 more natural than popping.
6896
6897 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6898 (shr-urlify): Highlight under mouse.
6899
6900 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6901
6902 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6903
6904 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6905
6906 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6907 buffer for output.
6908
6909 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6910 point-min==1. Fix search string. Fix parentheses missing.
6911
6912 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6913 assume point-min==1. Fix search string. Fix parentheses missing.
6914
6915 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6916
6917 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6918 buffer for output.
6919
6920 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6921
6922 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6923 initial frame is minibuffer-less. (Bug#14841)
6924
6925 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6926
6927 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6928 option.
6929
6930 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6931 (tramp-maybe-open-connection): Use it.
6932
6933 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6934
6935 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6936 minimal set of parameters passed when creating a frame, because
6937 the minibuffer status of a frame cannot be changed later.
6938
6939 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6940
6941 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6942 replace-regexp-in-string and inadvertent omissions in previous change.
6943 (todo-filter-items): Ensure only file names are comma-separated in
6944 name of filtered items buffer.
6945
6946 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6947
6948 * desktop.el: Optionally force offscreen frames back onscreen.
6949 (desktop-restoring-reuses-frames): New option.
6950 (desktop--compute-pos, desktop--move-onscreen): New functions.
6951 (desktop--make-frame): Use desktop--move-onscreen.
6952
6953 2013-07-27 Alan Mackenzie <acm@muc.de>
6954
6955 Fontify a Java generic method as a function.
6956 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6957 value to t.
6958
6959 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6960
6961 * calendar/todo-mode.el: Add command to rename todo files.
6962 (todo-rename-file): New command.
6963 (todo-key-bindings-t): Add key binding for it. Change the
6964 bindings of todo-filter-regexp-items(-multifile) to use `x'
6965 instead of `r', since the latter is better suited to the new
6966 renaming command.
6967
6968 2013-07-27 Alan Mackenzie <acm@muc.de>
6969
6970 Make Java try-with-resources statement parse properly.
6971 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6972 (c-block-stmt-1-2-key): New language constants/variables.
6973 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6974 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6975 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6976 with c-block-stmt-1-2-key.
6977
6978 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6979
6980 * desktop.el (desktop--make-frame): Apply most frame parameters after
6981 creating the frame to force (partially or totally) offscreen frames to
6982 be restored as such.
6983
6984 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6985
6986 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6987 (Bug#14948)
6988
6989 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6990
6991 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6992 `base' arg of backtrace-frame.
6993
6994 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6995
6996 * simple.el (list-processes): Doc fix.
6997
6998 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6999
7000 * desktop.el (desktop--select-frame):
7001 Try harder to reuse existing frames.
7002
7003 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7006 (edebug-eval): Use backtrace-eval.
7007 (edebug--display, edebug--recursive-edit): Don't let-bind the
7008 edebug-outer-* vars that keep track of variables we locally let-bind.
7009 (edebug-outside-excursion): Don't restore outside values of locally
7010 let-bound vars.
7011 (edebug--display): Use user-error.
7012 (cl-lexical-debug, cl-debug-env): Remove.
7013
7014 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7015
7016 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7017 are restored to be sure that they are visible before deleting any
7018 remaining ones.
7019
7020 2013-07-26 Matthias Meulien <orontee@gmail.com>
7021
7022 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7023 vc-print-root-log. (Bug#14948)
7024
7025 2013-07-26 Richard Stallman <rms@gnu.org>
7026
7027 Add aliases for encrypting mail.
7028 * epa.el (epa-mail-aliases): New option.
7029 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7030 Bind inhibit-read-only so read-only text doesn't ruin everything.
7031 (epa-mail-default-recipients): New subroutine broken out.
7032 Handle epa-mail-aliases.
7033
7034 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 Add support for lexical variables to the debugger's `e' command.
7037 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7038 vars, except for debugger-outer-match-data.
7039 (debugger-frame-number): Move check for "on a function call" from
7040 callers into it. Add `skip-base' argument.
7041 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7042 (debugger-env-macro): Only reset the state stored in non-variables,
7043 i.e. current-buffer and match-data.
7044 (debugger-eval-expression): Rewrite using backtrace-eval.
7045 * subr.el (internal--called-interactively-p--get-frame): Remove.
7046 (called-interactively-p):
7047 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7048 `base' arg of backtrace-frame instead.
7049
7050 2013-07-26 Glenn Morris <rgm@gnu.org>
7051
7052 * align.el (align-regexp): Doc fix. (Bug#14857)
7053 (align-region): Explicit error if subexpression missing/does not match.
7054
7055 * simple.el (global-visual-line-mode):
7056 Do not duplicate the mode lighter. (Bug#14858)
7057
7058 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7059
7060 * window.el (display-buffer): In display-buffer bind
7061 split-window-keep-point to t, bug#14829.
7062
7063 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7064
7065 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7066 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7067 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7068 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7069 Change accordingly.
7070 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7071 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7072
7073 2013-07-25 Glenn Morris <rgm@gnu.org>
7074
7075 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7076
7077 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7078
7079 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7080 parameter to modify-frame-parameters if the value has not changed;
7081 this is a workaround for bug#14949.
7082 (desktop--make-frame): On cl-delete-if call, check parameter name,
7083 not full parameter.
7084
7085 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7086
7087 * vc/vc.el (vc-ignore): New function.
7088
7089 * vc/vc-svn.el (vc-svn-ignore): New function.
7090
7091 * vc/vc-hg.el (vc-hg-ignore): New function.
7092
7093 * vc/vc-git.el (vc-git-ignore): New function.
7094
7095 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7096 (vc-dir-ignore): New function.
7097
7098 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7099 (cvs-append-to-ignore): Move here from pcvs.el.
7100
7101 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7102
7103 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7104
7105 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7108 (desktop-restore-frames): Warn when deleting an existing frame failed.
7109
7110 2013-07-24 Glenn Morris <rgm@gnu.org>
7111
7112 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7113
7114 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7115
7116 * filenotify.el (file-notify-supported-p):
7117 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7118 Remove functions.
7119
7120 * autorevert.el (auto-revert-use-notify):
7121 (auto-revert-notify-add-watch):
7122 * net/tramp.el (tramp-file-name-for-operation):
7123 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7125 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7126 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7127 Remove `file-notify-supported-p' entry.
7128
7129 2013-07-24 Glenn Morris <rgm@gnu.org>
7130
7131 * printing.el: Replace all uses of deleted ps-windows-system,
7132 ps-lp-system, ps-flatten-list with lpr- versions.
7133
7134 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7137 checked with memq (bug#14935).
7138
7139 * files.el (revert-buffer-function): Use a non-nil default.
7140 (revert-buffer-preserve-modes): Declare var to
7141 provide access to the `preserve-modes' argument.
7142 (revert-buffer): Let-bind it.
7143 (revert-buffer--default): New function, extracted from revert-buffer.
7144
7145 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * lpr.el: Signal print errors more prominently.
7148 (print-region-function): Don't default to nil.
7149 (lpr-print-region): New function, extracted from print-region-1.
7150 Check lpr's return value and signal an error in case of problem.
7151 (print-region-1): Use it.
7152 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7153 versions instead.
7154 (ps-printer-name): Default to nil.
7155 (ps-printer-name-option): Default to lpr-printer-switch.
7156 (ps-print-region-function): Don't default to nil.
7157 (ps-postscript-code-directory): Simplify default.
7158 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7159 (ps-string-list, ps-eval-switch, ps-flatten-list)
7160 (ps-flatten-list-1): Remove.
7161 (ps-multibyte-buffer): Avoid setq.
7162 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7163 (print-region-function, ps-print-region-function): Don't set them here.
7164
7165 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7166
7167 * ido.el (ido-fractionp):
7168 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7169 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7170 (ido-max-directory-size, ido-max-dir-file-cache)
7171 (ido-decorations): Doc fix.
7172
7173 * ansi-color.el: Fix old URL.
7174
7175 2013-07-23 Michael R. Mauger <michael@mauger.com>
7176
7177 * progmodes/sql.el: Version 3.3
7178 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7179 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7180 (sql-interactive-remove-continuation-prompt): Rewrite, use
7181 functions above. Fix continuation prompt and complete output line
7182 handling.
7183 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7184 redirected output buffer.
7185 (sql-mode): Restore deleted code (Bug#13591).
7186
7187 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7188
7189 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7190
7191 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7192
7193 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7194
7195 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7196 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7197 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7198
7199 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7200
7201 * desktop.el (desktop-clear): Simplify; remove useless checks
7202 against invalid buffer names.
7203 (desktop-list*): Use cl-list*.
7204 (desktop-buffer-info, desktop-create-buffer): Simplify.
7205
7206 2013-07-23 Leo Liu <sdl.web@gmail.com>
7207
7208 * bookmark.el (bookmark-make-record): Restore NAME as a default
7209 value. (Bug#14933)
7210
7211 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7214 extracted from autoload--insert-text.
7215 (autoload--insert-text): Remove.
7216 (autoload--print-cookie-text): New function, extracted from
7217 autoload--insert-cookie-text.
7218 (autoload--insert-cookie-text): Remove.
7219 (autoload-generate-file-autoloads): Adjust calls accordingly.
7220
7221 * winner.el (winner-hook-installed-p): Remove.
7222 (winner-mode): Simplify accordingly.
7223
7224 * subr.el (add-to-list): Fix compiler-macro when `append' is
7225 not constant. Don't use `cl-member' for the base case.
7226
7227 * progmodes/subword.el: Fix boundary case (bug#13758).
7228 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7229 own group.
7230 (subword-backward-regexp): Make it a constant.
7231 (subword-forward-internal): Don't treat a trailing capital as the
7232 beginning of a word.
7233
7234 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7235
7236 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7237 global value of tabulated-list-revert-hook (bug#14930).
7238
7239 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7240
7241 * desktop.el: Require 'cl-lib.
7242 (desktop-before-saving-frames-functions): New hook.
7243 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7244 for frames being saved. Rename from desktop--save-minibuffer-frames.
7245 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7246 Do not save frames with non-nil `desktop-dont-save' parameter.
7247 Filter out deleted frames.
7248 (desktop--find-frame): Use cl-find-if.
7249 (desktop--select-frame): Use cl-(first|second|third) to access values
7250 of desktop-mini.
7251 (desktop--make-frame): Use cl-delete-if.
7252 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7253 (desktop-restore-frames): Use cl-(first|second|third) to access values
7254 of desktop-mini. Look for visible frame at the end, not while
7255 restoring frames.
7256
7257 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7258 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7259 Use string-match-p, looking-at-p (bug#14927).
7260
7261 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7262
7263 * desktop.el (desktop-saved-frame-states):
7264 Rename from desktop--saved-states; all users changed.
7265 (desktop-save-frames): Rename from desktop--save-frames.
7266 Do not save state to desktop file.
7267 (desktop-save): Save desktop-saved-frame-states to desktop file
7268 and reset to nil.
7269 (desktop-restoring-frames-p): New function.
7270 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7271 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7272 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7273
7274 * desktop.el: Correctly restore iconified frames.
7275 (desktop--filter-iconified-position): New function.
7276 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7277
7278 2013-07-20 Glenn Morris <rgm@gnu.org>
7279
7280 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7281 Let `message' do the formatting.
7282 (def-gdb-preempt-display-buffer): Add explicit format.
7283
7284 * image-dired.el (image-dired-track-original-file):
7285 Use with-current-buffer.
7286 (image-dired-track-thumbnail): Use with-current-buffer.
7287 Avoid changing point of wrong window.
7288
7289 * image-dired.el (image-dired-track-original-file):
7290 Avoid changing point of wrong window. (Bug#14909)
7291
7292 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7293
7294 * progmodes/gdb-mi.el (gdb-done-or-error):
7295 Guard against "%" in gdb output. (Bug#14127)
7296
7297 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7298
7299 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7300 (Bug#14826)
7301
7302 * international/mule.el (coding-system-iso-2022-flags): Fix last
7303 change.
7304
7305 2013-07-20 Kenichi Handa <handa@gnu.org>
7306
7307 * international/mule.el (coding-system-iso-2022-flags):
7308 Add `8-bit-level-4'. (Bug#8522)
7309
7310 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7311
7312 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7313 (bug#14815).
7314
7315 * net/eww.el (eww-process-text-input): Allow inputting when the
7316 point is at the start of the line, as the properties aren't
7317 front-sticky.
7318
7319 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7320 degenerate widths.
7321
7322 2013-07-19 Richard Stallman <rms@gnu.org>
7323
7324 * epa.el (epa-popup-info-window): Doc fix.
7325
7326 * subr.el (split-string): New arg TRIM.
7327
7328 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7329
7330 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7331 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7332
7333 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7334
7335 * filenotify.el (file-notify--library): Rename from
7336 `file-notify-support'. Do not autoload. Adapt all uses.
7337 (file-notify-supported-p): New defun.
7338
7339 * autorevert.el (auto-revert-use-notify):
7340 Use `file-notify-supported-p' instead of `file-notify-support'.
7341 Adapt docstring.
7342 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7343
7344 * net/tramp.el (tramp-file-name-for-operation):
7345 Add `file-notify-supported-p'.
7346
7347 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7348 New defun.
7349 (tramp-sh-file-name-handler-alist): Add it as handler for
7350 `file-notify-supported-p '.
7351
7352 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7353 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7354 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7355 Add `ignore' as handler for `file-notify-*' functions.
7356
7357 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7358
7359 * simple.el (line-move-partial, line-move): Don't start vscroll or
7360 scroll-up if the current line is not taller than the window.
7361 (Bug#14881)
7362
7363 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7364
7365 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7366 highlight question marks in the method names as strings.
7367 (ruby-block-beg-keywords): Inline.
7368 (ruby-font-lock-keyword-beg-re): Extract from
7369 `ruby-font-lock-keywords'.
7370
7371 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7372
7373 * frame.el (blink-cursor-blinks): New defcustom.
7374 (blink-cursor-blinks-done): New defvar.
7375 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7376 (blink-cursor-timer-function): Check if number of blinks has been
7377 done on X and NS.
7378 (blink-cursor-suspend, blink-cursor-check): New defuns.
7379
7380 2013-07-15 Glenn Morris <rgm@gnu.org>
7381
7382 * edmacro.el (edmacro-format-keys): Fix previous change.
7383
7384 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7385
7386 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7387 The hack didn't work outside English locales anyway.
7388
7389 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7390
7391 * simple.el (define-alternatives): Rename from alternatives-define,
7392 per RMS' suggestion.
7393
7394 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7395
7396 * desktop.el (desktop-restore-frames): Change default to t.
7397 (desktop-restore-in-current-display): Now offer more options.
7398 (desktop-restoring-reuses-frames): New customization option.
7399 (desktop--saved-states): Doc fix.
7400 (desktop-filter-parameters-alist): New variable, renamed and expanded
7401 from desktop--excluded-frame-parameters.
7402 (desktop--target-display): New variable.
7403 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7404 (desktop--filter-tty*, desktop--filter-*-color)
7405 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7406 (desktop--filter-save-desktop-parm)
7407 (desktop-restore-in-original-display-p): New functions.
7408 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7409 (desktop--save-minibuffer-frames): New function, inspired by a similar
7410 function from Martin Rudalics.
7411 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7412 (desktop--restore-in-this-display-p): Remove.
7413 (desktop--find-frame): Rename from desktop--find-frame-in-display
7414 and add predicate argument.
7415 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7416 (desktop--reuse-list): New variable.
7417 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7418 New functions.
7419 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7420
7421 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7422
7423 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7424
7425 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7426
7427 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7428 Highlight conversion methods on Kernel.
7429
7430 2013-07-13 Alan Mackenzie <acm@muc.de>
7431
7432 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7433 and comment it out. This out-commenting enables certain C++
7434 declarations to be parsed correctly.
7435
7436 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7437
7438 * international/mule.el (define-coding-system): Doc fix.
7439
7440 * simple.el (default-font-height): Don't call font-info if the
7441 frame's default font didn't change since the frame was created.
7442 (Bug#14838)
7443
7444 2013-07-13 Leo Liu <sdl.web@gmail.com>
7445
7446 * ido.el (ido-read-file-name): Guard against non-symbol value.
7447
7448 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7449
7450 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7451 in nested defuns.
7452
7453 2013-07-13 Leo Liu <sdl.web@gmail.com>
7454
7455 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7456 ido-set-matches call. (Bug#6852)
7457
7458 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7459
7460 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7461 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7462 Ruby 2.0.
7463 (ruby-font-lock-keywords): Distinguish calls to functions with
7464 module-like names from module references. Highlight character
7465 literals.
7466
7467 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7468
7469 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7470 (gdb-send): Handle continued commands. (Bug#14847)
7471
7472 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7473
7474 * desktop.el (desktop--v2s): Remove unused local variable.
7475 (desktop-save-buffer): Make defvar-local; adjust docstring.
7476 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7477 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7478
7479 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7480
7481 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7482
7483 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7484
7485 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7486 (Bug#14842)
7487
7488 2013-07-12 Glenn Morris <rgm@gnu.org>
7489
7490 * doc-view.el: Require cl-lib at runtime too.
7491 (doc-view-remove-if): Remove.
7492 (doc-view-search-next-match, doc-view-search-previous-match):
7493 Use cl-remove-if.
7494
7495 * edmacro.el: Require cl-lib at runtime too.
7496 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7497 (edmacro-mismatch, edmacro-subseq): Remove.
7498
7499 * shadowfile.el: Require cl-lib.
7500 (shadow-remove-if): Remove.
7501 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7502 Use cl-remove-if.
7503
7504 * wid-edit.el: Require cl-lib.
7505 (widget-choose): Use cl-remove-if.
7506 (widget-remove-if): Remove.
7507
7508 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7509 (ebrowse-delete-if-not): Remove.
7510 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7511 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7512 Use cl-delete-if-not.
7513
7514 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7515
7516 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7517 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7518
7519 2013-07-12 Leo Liu <sdl.web@gmail.com>
7520
7521 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7522
7523 2013-07-11 Glenn Morris <rgm@gnu.org>
7524
7525 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7526 (edebug-gensym-index, edebug-gensym):
7527 Remove reimplementation of cl-gensym.
7528 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7529
7530 * thumbs.el: Require cl-lib at run-time too.
7531 (thumbs-gensym-counter, thumbs-gensym):
7532 Remove reimplementation of cl-gensym.
7533 (thumbs-temp-file): Use cl-gensym.
7534
7535 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7536 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7537 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7538 (ert--union, ert--gensym-counter, ert--gensym-counter)
7539 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7540 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7541 (ert-make-test-unbound, ert--expand-should-1)
7542 (ert--expand-should, ert--should-error-handle-error)
7543 (should-error, ert--explain-equal-rec)
7544 (ert--plist-difference-explanation, ert-select-tests)
7545 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7546 Use cl-lib functions rather than reimplementations.
7547
7548 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7549
7550 * net/tramp.el (tramp-methods): Extend docstring.
7551 (tramp-connection-timeout): New defcustom.
7552 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7553 (with-tramp-progress-reporter): Simplify.
7554 (tramp-process-actions): Improve messages.
7555
7556 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7557 * net/tramp-sh.el (tramp-maybe-open-connection):
7558 Use `tramp-connection-timeout'.
7559 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7560 (Bug#14808)
7561
7562 2013-07-11 Leo Liu <sdl.web@gmail.com>
7563
7564 * ido.el (ido-read-file-name): Conform to the requirements of
7565 read-file-name. (Bug#11861)
7566 (ido-read-directory-name): Conform to the requirements of
7567 read-directory-name.
7568
7569 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7570
7571 * subr.el (delay-warning): New function.
7572
7573 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7574
7575 * simple.el (default-line-height): New function.
7576 (line-move-partial, line-move): Use it instead of computing the
7577 line height inline.
7578 (line-move-partial): Always compute ROWH. If the last line is
7579 partially-visible, but its text is completely visible, allow
7580 cursor to enter such a partially-visible line.
7581
7582 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7583
7584 Improve error messages. (Bug#14808)
7585
7586 * net/tramp.el (tramp-current-connection): New defvar, moved from
7587 tramp-sh.el.
7588 (tramp-message-show-progress-reporter-message): Remove, not
7589 needed anymore.
7590 (tramp-error-with-buffer): Show message in minibuffer.
7591 Discard input before waiting. Reset connection timestamp.
7592 (with-tramp-progress-reporter): Improve messages.
7593 (tramp-process-actions): Use progress reporter. Delete process in
7594 case of error. Improve messages.
7595
7596 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7597 Call `tramp-error-with-buffer' with vector and buffer.
7598 (tramp-current-connection): Remove.
7599 (tramp-maybe-open-connection): The car of
7600 `tramp-current-connection' are the first 3 slots of the vector.
7601
7602 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7603
7604 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7605 inside continued strings.
7606
7607 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7608
7609 Timestamp fixes for undo (Bug#14824).
7610 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7611
7612 2013-07-10 Leo Liu <sdl.web@gmail.com>
7613
7614 * files.el (require-final-newline): Allow safe local value.
7615 (Bug#14834)
7616
7617 2013-07-09 Leo Liu <sdl.web@gmail.com>
7618
7619 * ido.el (ido-read-directory-name): Handle fallback.
7620 (ido-read-file-name): Update DIR to ido-current-directory.
7621 (Bug#1516)
7622 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7623
7624 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7625
7626 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7627 "autoload". Remove "warn lower camel case" section, previously
7628 commented out. Highlight negation char. Do not highlight the
7629 target in singleton method definitions.
7630
7631 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * faces.el (tty-setup-hook): Declare the hook.
7634
7635 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7636 and detect when a guard/pred depends on local vars (bug#14773).
7637 (pcase--u1): Adjust caller.
7638
7639 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7640
7641 * simple.el (line-move-partial, line-move): Account for
7642 line-spacing.
7643 (line-move-partial): Avoid setting vscroll when the last
7644 partially-visible line in window is of default height.
7645
7646 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7647
7648 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7649 been used a while.
7650
7651 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7652
7653 * subr.el (read-quoted-char): Remove unused local variable `char'.
7654
7655 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7656
7657 * ediff.el (ediff-version): Version update.
7658 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7659 (ediff-merge-with-ancestor-command, ediff-directories-command)
7660 (ediff-directories3-command, ediff-merge-directories-command)
7661 (ediff-merge-directories-with-ancestor-command): New functions.
7662 All are command-line interfaces to ediff: to facilitate calling
7663 Emacs with the appropriate ediff functions invoked.
7664
7665 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7666 (viper-save-kill-buffer): Check if buffer is modified.
7667
7668 * viper.el (viper-version): Version update.
7669 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7670
7671 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7674 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7675 (viper-intercept-ESC-key): Simplify.
7676 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7677 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7678 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7679 (viper-setup-ESC-to-escape): New functions.
7680 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7681 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7682
7683 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7684
7685 * simple.el (default-font-height, window-screen-lines):
7686 New functions.
7687 (line-move, line-move-partial): Use them instead of
7688 frame-char-height and window-text-height. This makes scrolling
7689 text smoother when the buffer's default face uses a font that is
7690 different from the frame's default font.
7691
7692 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7693
7694 * files.el (write-file): Do not display confirm dialog for NS,
7695 it does its own dialog, which can't be canceled (Bug#14578).
7696
7697 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7698
7699 * simple.el (line-move-partial): Adjust the row returned by
7700 posn-at-point for the current window-vscroll. (Bug#14567)
7701
7702 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7703
7704 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7705 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7706 spaces.
7707
7708 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7709
7710 * window.el (window-state-put-stale-windows): New variable.
7711 (window--state-put-2): Save list of windows without matching buffer.
7712 (window-state-put): Remove "bufferless" windows if possible.
7713
7714 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7715
7716 * simple.el (alternatives-define): Remove leftover :group keyword.
7717 Tweak docstring.
7718
7719 2013-07-06 Leo Liu <sdl.web@gmail.com>
7720
7721 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7722 (ido-enable-virtual-buffers): New variable.
7723 (ido-buffer-internal, ido-toggle-virtual-buffers)
7724 (ido-make-buffer-list): Use it.
7725 (ido-exhibit): Support turning on and off virtual buffers
7726 automatically.
7727
7728 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7729
7730 * simple.el (alternatives-define): New macro.
7731
7732 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * subr.el (read-quoted-char): Use read-key.
7735 (sit-for): Let read-event decode tty input (bug#14782).
7736
7737 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7738
7739 * calendar/todo-mode.el: Add handling of file deletion, both by
7740 mode command and externally. Fix various related bugs.
7741 Clarify Commentary and improve some documentation strings and code.
7742 (todo-delete-file): New command.
7743 (todo-check-file): New function.
7744 (todo-show): Handle external deletion of the file we're trying to
7745 show (bug#14688). Replace called-interactively-p by an optional
7746 prefix argument to avoid problematic interaction with catch form
7747 when byte compiled (bug#14702).
7748 (todo-quit): Handle external deletion of the archive's todo file.
7749 Make sure the buffer that was visiting the archive file is still
7750 live before trying to bury it.
7751 (todo-category-completions): Handle external deletion of any
7752 category completion files.
7753 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7754 of todo files, in case of external deletion.
7755 (todo-add-file): Replace unnecessary setq by let-binding.
7756 (todo-find-archive): Check whether there are any archives.
7757 Replace unnecessary setq by let-binding.
7758 (todo-archive-done-item): Use find-file-noselect to get the
7759 archive buffer whether or not the archive already exists.
7760 Remove superfluous code. Use file size instead of buffer-file-name to
7761 check if the archive is new; if it is, update list of archives.
7762 (todo-default-todo-file): Allow nil to be a valid value for when
7763 there are no todo files.
7764 (todo-reevaluate-default-file-defcustom): Use corrected definition
7765 of todo-default-todo-file.
7766 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7767 (todo-delete-category, todo-show-categories-table)
7768 (todo-category-number): Clarify comment.
7769 (todo-filter-items): Clarify documentation string.
7770 (todo-show-current-file, todo-display-as-todo-file)
7771 (todo-reset-and-enable-done-separator): Tweak documentation string.
7772 (todo-done-separator): Make separator length window-width, since
7773 bug#2749 is now fixed.
7774
7775 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7776
7777 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7778 Support both "gvfs-monitor-dir" and "inotifywait".
7779 (tramp-sh-file-inotifywait-process-filter): Rename from
7780 `tramp-sh-file-notify-process-filter'.
7781 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7782 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7783
7784 2013-07-05 Leo Liu <sdl.web@gmail.com>
7785
7786 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7787
7788 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7789
7790 * frame.el (display-pixel-height, display-pixel-width)
7791 (display-mm-height, display-mm-width): Mention behavior on
7792 multi-monitor setups in docstrings.
7793 (w32-display-monitor-attributes-list): Declare function.
7794 (display-monitor-attributes-list): Use it.
7795
7796 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7797
7798 * filenotify.el: New package.
7799
7800 * autorevert.el (top): Require filenotify.el.
7801 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7802 instead.
7803 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7804 (auto-revert-notify-handler): Use `file-notify-*' functions.
7805
7806 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7807
7808 * net/tramp.el (tramp-file-name-for-operation):
7809 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7810
7811 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7812 for `file-notify-add-watch' and `file-notify-rm-watch'.
7813 (tramp-process-sentinel): Improve trace.
7814 (tramp-sh-handle-file-notify-add-watch)
7815 (tramp-sh-file-notify-process-filter)
7816 (tramp-sh-handle-file-notify-rm-watch)
7817 (tramp-get-remote-inotifywait): New defuns.
7818
7819 2013-07-03 Juri Linkov <juri@jurta.org>
7820
7821 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7822 call of `occur-read-primary-args' to interactive spec.
7823
7824 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7825 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7826
7827 2013-07-03 Matthias Meulien <orontee@gmail.com>
7828
7829 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7830 `Buffer-menu-multi-occur'. Add it to the menu.
7831 (Buffer-menu-mode): Document it in docstring.
7832 (Buffer-menu-multi-occur): New command. (Bug#14673)
7833
7834 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7835
7836 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7837 keywords and built-ins.
7838
7839 2013-07-03 Glenn Morris <rgm@gnu.org>
7840
7841 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7842
7843 Make info-xref checks case-sensitive by default
7844 * info.el (Info-find-node, Info-find-in-tag-table)
7845 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7846 Add option for exact case matching of nodes.
7847 * info-xref.el (info-xref): New custom group.
7848 (info-xref-case-fold): New option.
7849 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7850
7851 2013-07-03 Leo Liu <sdl.web@gmail.com>
7852
7853 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7854
7855 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7856
7857 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7858 middle of block statement initially, lower the depth. Remove
7859 FIXME comment, not longer valid. Remove middle of block statement
7860 detection, no need to do that anymore since we've been using
7861 `ruby-parse-region' here.
7862
7863 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7864
7865 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7866
7867 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7868
7869 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7870
7871 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7872
7873 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7874 (desktop-restore-in-current-display): New customization option.
7875 (desktop--excluded-frame-parameters): Add `font'.
7876 (desktop--save-frames): Rename from desktop--save-windows.
7877 (desktop--restore-in-this-display-p): New function.
7878 (desktop--make-full-frame): Remove unwanted width/height from
7879 full(width|height) frames.
7880 (desktop--restore-frames): Rename from desktop--restore-windows.
7881 Obey desktop-restore-current-display. Do not delete old frames or
7882 select a new frame unless we were able to restore at least one frame.
7883
7884 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7885
7886 * files.el (find-file-noselect): Simplify conditional expression.
7887
7888 * textmodes/remember.el (remember-append-to-file):
7889 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7890
7891 Add `remember-notes' function to store random notes across Emacs
7892 restarts.
7893 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7894 notes buffer (if any).
7895 (remember-notes): New command.
7896 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7897 New defcustoms for the `remember-notes' function.
7898 (remember-notes-save-and-bury-buffer): New command.
7899 (remember-notes-mode-map): New variable.
7900 (remember-mode): New minor mode.
7901 (remember-notes--kill-buffer-query): New function.
7902 * startup.el (initial-buffer-choice): Add notes to custom type.
7903
7904 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7905
7906 * bindings.el (right-char, left-char): Don't call sit-for, this is
7907 no longer needed. Use arithmetic comparison only for numerical
7908 arguments.
7909
7910 * international/mule-cmds.el (select-safe-coding-system):
7911 Handle the case of FROM being a string correctly. (Bug#14755)
7912
7913 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7914
7915 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7916 progression on degenerate tables.
7917 (shr-rescale-image): ImageMagick animated images currently don't work.
7918
7919 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7920
7921 Some fixes and improvements for desktop frame restoration.
7922 It is still experimental and disabled by default.
7923 * desktop.el (desktop--save-windows): Put the selected frame at
7924 the head of the list.
7925 (desktop--make-full-frame): New function.
7926 (desktop--restore-windows): Try to re-select the frame that was
7927 selected upon saving. Do not abort if some frames fail to restore,
7928 just show an error message and continue. Set up maximized frames
7929 so they have default non-maximized dimensions.
7930
7931 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7932
7933 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7934 Don't start heredoc inside a string or comment.
7935
7936 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7937
7938 * bindings.el (visual-order-cursor-movement): New defcustom.
7939 (right-char, left-char): Provide visual-order cursor motion by
7940 calling move-point-visually. Update the doc strings.
7941
7942 2013-06-28 Kenichi Handa <handa@gnu.org>
7943
7944 * international/mule.el (define-coding-system): New coding system
7945 properties :inhibit-null-byte-detection,
7946 :inhibit-iso-escape-detection, and :prefer-utf-8.
7947 (set-buffer-file-coding-system): If :charset-list property of
7948 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7949 appropriate for setting.
7950
7951 * international/mule-cmds.el (select-safe-coding-system):
7952 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7953 multibyte characters, return utf-8 (or one of its siblings).
7954
7955 * international/mule-conf.el (prefer-utf-8): New coding system.
7956 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7957 files.
7958
7959 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7960
7961 * net/shr.el (shr-render-region): New function.
7962
7963 * net/eww.el: Autoload `eww-browse-url'.
7964
7965 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7966
7967 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7968 Adapt to `package-desc-version' being a list.
7969 Use `package--ac-desc-version' to retrieve version from a package
7970 archive element.
7971
7972 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7973
7974 New experimental feature to save&restore window and frame setup.
7975 * desktop.el (desktop-save-windows): New defcustom.
7976 (desktop--saved-states): New var.
7977 (desktop--excluded-frame-parameters): New defconst.
7978 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7979 (desktop--restore-windows, desktop--save-windows): New functions.
7980 (desktop-save): Call `desktop--save-windows'.
7981 (desktop-read): Call `desktop--restore-windows'.
7982
7983 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7984
7985 * net/shr.el (add-face-text-property): Remove compat definition.
7986
7987 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7988
7989 * info.el (Info-try-follow-nearest-node): Move search for footnote
7990 above search for node name to prevent missing a footnote (bug#14717).
7991
7992 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7993
7994 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7995
7996 2013-06-27 Leo Liu <sdl.web@gmail.com>
7997
7998 * net/eww.el (eww-read-bookmarks): Check file size.
7999
8000 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8003 advice--pending if newdef is nil or an autoload (bug#13820).
8004 (advice-mapc): New function.
8005
8006 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8007
8008 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8009 probably.
8010 (eww-mode-map): Add a menu bar.
8011 (eww-add-bookmark): New command.
8012 (eww-bookmark-mode): New mode and commands.
8013 (eww-add-bookmark): Remove newlines from the title.
8014 (eww-bookmark-browse): Don't bug out if it's the only window.
8015
8016 2013-06-26 Glenn Morris <rgm@gnu.org>
8017
8018 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8019 (hfy-size): Handle ttys. (Bug#14668)
8020
8021 * info-xref.el: Update for Texinfo 5 change in *note format.
8022 (info-xref-node-re, info-xref-note-re): New constants.
8023 (info-xref-check-buffer): Use info-xref-note-re.
8024
8025 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8028
8029 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8030 nil terminate the loop (bug#14718).
8031
8032 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8033
8034 * net/eww.el: Rework history traversal. When going forward/back,
8035 put these actions into the history, too, so that they can be
8036 replayed.
8037 (eww-render): Move the history reset to the correct buffer.
8038
8039 2013-06-25 Juri Linkov <juri@jurta.org>
8040
8041 * files-x.el (modify-dir-local-variable): Change the header comment
8042 in the file with directory local variables. (Bug#14692)
8043
8044 * files-x.el (read-file-local-variable-value): Add `default'.
8045 (Bug#14710)
8046
8047 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8048
8049 * net/eww.el (eww-make-unique-file-name): Create a unique file
8050 name before saving to entering `y' accidentally asynchronously.
8051
8052 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8053
8054 * net/eww.el (eww-download): New command and keystroke.
8055
8056 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8057
8058 * net/eww.el (eww-copy-page-url): Change name of command.
8059
8060 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8061 be more consistent with Info and dired.
8062
8063 * net/eww.el (eww-mode-map): Ditto.
8064
8065 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8066
8067 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8068 packages from archives.
8069 (package-archive-contents): Change format; include obsolete packages.
8070 (package-desc): Use `dir' to mark builtin packages.
8071 (package--from-builtin): Set the `dir' field to `builtin'.
8072 (generated-autoload-file, version-control): Declare.
8073 (package-compute-transaction): Change first arg and return value to be
8074 lists of package-descs. Adjust to new package-archive-contents format.
8075 (package--add-to-archive-contents): Adjust to new
8076 package-archive-contents format.
8077 (package-download-transaction): Arg is now a list of package-descs.
8078 (package-install): If `pkg' is a package name, pass it as
8079 a requirement, so it is subject to the usual (e.g. disabled) checks.
8080 (describe-package): Accept package-desc as well.
8081 (describe-package-1): Describe a specific package-desc. Add links to
8082 other package-descs for the same package name.
8083 (package-menu-describe-package): Pass the actual package-desc.
8084 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8085 works correctly.
8086 (package-desc-status): New function.
8087 (package-menu--refresh): New function, extracted
8088 from package-menu--generate.
8089 (package-menu--generate): Use it.
8090 (package-delete): Update package-alist.
8091 (package-menu-execute): Don't call package-initialize.
8092
8093 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8094 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8095 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8096 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8097 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8098 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8099
8100 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8101
8102 * window.el (window--state-get-1): Workaround for bug#14527.
8103 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8104
8105 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106
8107 * net/eww.el (eww-back-url): Implement the history by stashing all
8108 the data into a list.
8109 (eww-forward-url): Allow going forward in the history, too.
8110
8111 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8114 for values and use read--expression for expressions (bug#14710).
8115 (read-file-local-variable): Avoid setq.
8116 (read-file-local-variable-mode): Use minor-mode-list.
8117
8118 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8119
8120 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8121 for DOI URLs.
8122
8123 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8124
8125 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8126 Update imenu-support when dialect changes.
8127
8128 2013-06-25 Leo Liu <sdl.web@gmail.com>
8129
8130 * ido.el (ido-read-internal): Allow forward slash on windows.
8131
8132 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8133
8134 * net/eww.el (eww): Start of strings is \\`, not ^.
8135
8136 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8137
8138 * net/shr.el (shr-browse-url): Fix interactive spec.
8139
8140 * net/eww.el (eww): Add a trailing slash to domain names.
8141
8142 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8143
8144 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8145
8146 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8147
8148 * net/shr.el (shr-browse-url): Use an external browser if given a
8149 prefix.
8150
8151 * net/eww.el (eww-external-browser): Move to shr.
8152
8153 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8154
8155 * net/eww.el (eww): Work more correctly for file: URLs.
8156 (eww-detect-charset): Allow quoted charsets.
8157 (eww-yank-page-url): New command and keystroke.
8158
8159 2013-06-24 Daiki Ueno <ueno@gnu.org>
8160
8161 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8162 file name of gpg executable.
8163 (epg-context-program): New function.
8164 (epg-context-home-directory): New function.
8165 (epg-context-set-program): New function.
8166 (epg-context-set-home-directory): New function.
8167 (epg--start): Use `epg-context-program' instead of
8168 'epg-gpg-program'.
8169 (epg--list-keys-1): Likewise.
8170
8171 2013-06-24 Leo Liu <sdl.web@gmail.com>
8172
8173 * ido.el (ido-read-internal): Fix bug#14620.
8174
8175 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8176
8177 * faces.el (face-documentation): Simplify.
8178 (read-face-attribute, tty-find-type, x-resolve-font-name):
8179 Use `string-match-p'.
8180 (list-faces-display): Use `string-match-p'. Simplify.
8181 (face-spec-recalc): Check face to avoid face alias loops.
8182 (read-color): Use `string-match-p' and non-capturing parenthesis.
8183
8184 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8185
8186 * net/shr.el (shr-rescale-image): Use the new
8187 :max-width/:max-height functionality.
8188
8189 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8190
8191 * net/eww.el (eww-search-prefix): New variable.
8192 (eww): Use it.
8193 (eww-external-browser): New variable.
8194 (eww-mode-map): New keystroke.
8195 (eww-browse-with-external-browser): New command.
8196
8197 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8198
8199 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8202 Don't skip aligning the next header field when padding is 0;
8203 otherwise, field width is not respected unless the title is as
8204 wide as the field.
8205
8206 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 * emacs-lisp/package.el (package-el-version): Remove.
8209 (package-process-define-package): Fix inf-loop.
8210 (package-install): Allow symbols as arguments again.
8211
8212 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8213
8214 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8215 add some more keyword-like methods.
8216 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8217
8218 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * bs.el (bs-buffer-show-mark): Make defvar-local.
8221 (bs-mode): Use setq-local.
8222
8223 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8224 (emacs-lock--try-unlocking): Make defvar-local.
8225
8226 2013-06-22 Glenn Morris <rgm@gnu.org>
8227
8228 * play/cookie1.el (cookie-apropos): Minor simplification.
8229
8230 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8231
8232 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8233
8234 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8235 `regexp-opt', it breaks the build during dumping.
8236
8237 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8238
8239 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8240 Highlight keyword-like methods on Kernel and Module with
8241 font-lock-builtin-face.
8242 (auto-mode-alist): Consolidate different entries into one regexp
8243 and add more *file-s.
8244
8245 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8246
8247 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8248
8249 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8250 (diary-entry): Use it in the action of this button type instead of
8251 diary-goto-entry.
8252
8253 * calendar/todo-mode.el: New version.
8254 (todo-add-category): Append new category to end of file and give
8255 it the highest number, instead of putting it at the beginning and
8256 giving it 0. Incorporate noninteractive functionality.
8257 (todo-forward-category): Adapt to 1-based category numbering.
8258 Allow skipping over archived categories.
8259 (todo-backward-category): Derive from todo-forward-category.
8260 (todo-backward-item, todo-forward-item): Make noninteractive and
8261 delegate interactive part to new commands. Make sensitive to done items.
8262 (todo-categories): Make value an alist of category names and
8263 vectors of item counts.
8264 (todo-category-beg): Make a defconst.
8265 (todo-category-number): Use 1 instead of 0 as initial value.
8266 (todo-category-select): Make sensitive to overlays, optional item
8267 highlighting and done items.
8268 (todo-delete-item): Make sensitive to overlays and marked and done items.
8269 (todo-edit-item): Make sensitive to overlays and editing of
8270 date/time header optional. Add format checks.
8271 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8272 no-op if point is not on an item. Advertise using todo-edit-quit.
8273 (todo-edit-mode): Make sensitive to new format, font-locking, and
8274 multiple todo files.
8275 (todo-insert-item, todo-insert-item-here): Derive from
8276 todo-basic-insert-item and extend functionality.
8277 (todo-item-end, todo-item-start): Make sensitive to done items.
8278 (todo-item-string): Don't return text properties. Restore point.
8279 (todo-jump-to-category): Make sensitive to multiple todo files and
8280 todo archives. Use extended category completion.
8281 (todo-lower-item, todo-raise-item): Rename to *-priority and
8282 derive from todo-set-item-priority.
8283 (todo-mode): Derive from special-mode. Make sensitive to new
8284 format, font-locking and multiple todo files. Make read-only.
8285 (todo-mode-map): Don't suppress digit keys, so they can supply
8286 prefix arguments. Add many new key bindings.
8287 (todo-prefix): Insert as an overlay instead of file text.
8288 Change semantics from diary date expression to purely visual mark.
8289 (todo-print): Rename to todo-print-buffer. Make buffer display
8290 features printable. Remove option to restrict number of items
8291 printed. Add option to print to file.
8292 (todo-print-function): Rename to todo-print-buffer-function.
8293 (todo-quit): Extend to handle exiting new todo modes.
8294 (todo-remove-item): Make sensitive to overlays.
8295 (todo-save): Extend to buffers of filtered items.
8296 (todo-show): Make sensitive to done items, multiple todo files and
8297 new todo modes. Offer to convert legacy todo file before creating
8298 first new todo file.
8299 (todo-show-priorities): Rename to todo-top-priorities.
8300 Change semantics of value 0.
8301 (todo-top-priorities): Rename to todo-filter-top-priorities,
8302 derive from todo-filter-items and extend functionality.
8303 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8304 and extend functionality to other types of filtered items.
8305 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8306 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8307 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8308 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8309 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8310 (todo-edit-mode-hook, todo-entry-prefix-function)
8311 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8312 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8313 (todo-initials, todo-insert-threshold, todo-item-string-start)
8314 (todo-line-string, todo-menu, todo-mode-hook)
8315 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8316 (todo-print-priorities, todo-remove-separator)
8317 (todo-save-top-priorities-too, todo-string-count-lines)
8318 (todo-string-multiline-p, todo-time-string-format)
8319 (todo-tmp-buffer-name): Remove.
8320 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8321 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8322 (todo-edit-category-diary-inclusion)
8323 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8324 (todo-edit-file, todo-edit-item-date-day)
8325 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8326 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8327 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8328 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8329 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8330 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8331 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8332 (todo-filter-top-priorities-multifile, todo-find-archive)
8333 (todo-find-filtered-items-file, todo-go-to-source-item)
8334 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8335 (todo-jump-to-archive-category, todo-lower-category)
8336 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8337 (todo-move-category, todo-move-item, todo-next-button)
8338 (todo-next-item, todo-padded-string, todo-powerset)
8339 (todo-previous-button, todo-previous-item)
8340 (todo-print-buffer-to-file, todo-raise-category)
8341 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8342 (todo-set-category-number, todo-set-item-priority)
8343 (todo-set-top-priorities-in-category)
8344 (todo-set-top-priorities-in-file, todo-show-categories-table)
8345 (todo-sort-categories-alphabetically-or-numerically)
8346 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8347 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8348 (todo-toggle-item-header, todo-toggle-item-highlighting)
8349 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8350 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8351 (todo-unarchive-items, todo-unmark-category): New commands.
8352 (todo-absolute-file-name, todo-add-to-buffer-list)
8353 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8354 (todo-basic-insert-item, todo-category-completions)
8355 (todo-category-number, todo-category-string-matcher-1)
8356 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8357 (todo-check-format, todo-clear-matches)
8358 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8359 (todo-current-category, todo-date-string-matcher)
8360 (todo-define-insertion-command, todo-diary-expired-matcher)
8361 (todo-diary-goto-entry, todo-diary-item-p)
8362 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8363 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8364 (todo-done-item-section-p, todo-done-separator)
8365 (todo-done-string-matcher, todo-files, todo-filter-items)
8366 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8367 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8368 (todo-insert-category-line, todo-insert-item-from-calendar)
8369 (todo-insert-sort-button, todo-insert-with-overlays)
8370 (todo-insertion-command-name, todo-insertion-key-bindings)
8371 (todo-label-to-key, todo-longest-category-name-length)
8372 (todo-make-categories-list, todo-mode-external-set)
8373 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8374 (todo-modes-set-3, todo-multiple-filter-files)
8375 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8376 (todo-read-category, todo-read-date, todo-read-dayname)
8377 (todo-read-file-name, todo-read-time)
8378 (todo-reevaluate-category-completions-files-defcustom)
8379 (todo-reevaluate-default-file-defcustom)
8380 (todo-reevaluate-filelist-defcustoms)
8381 (todo-reevaluate-filter-files-defcustom)
8382 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8383 (todo-reset-done-separator, todo-reset-done-separator-string)
8384 (todo-reset-done-string, todo-reset-global-current-todo-file)
8385 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8386 (todo-reset-prefix, todo-set-categories)
8387 (todo-set-date-from-calendar, todo-set-show-current-file)
8388 (todo-set-top-priorities, todo-short-file-name)
8389 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8390 (todo-total-item-counts, todo-update-buffer-list)
8391 (todo-update-categories-display, todo-update-categories-sexp)
8392 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8393 New functions.
8394 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8395 New major modes.
8396 (todo-categories, todo-display, todo-edit, todo-faces)
8397 (todo-filtered): New defgroups.
8398 (todo-archived-only, todo-button, todo-category-string, todo-date)
8399 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8400 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8401 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8402 (todo-add-item-if-new-category, todo-always-add-time-string)
8403 (todo-categories-align, todo-categories-archived-label)
8404 (todo-categories-category-label, todo-categories-diary-label)
8405 (todo-categories-done-label, todo-categories-number-separator)
8406 (todo-categories-todo-label, todo-categories-totals-label)
8407 (todo-category-completions-files, todo-completion-ignore-case)
8408 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8409 (todo-done-separator-string, todo-done-string)
8410 (todo-files-function, todo-filter-done-items, todo-filter-files)
8411 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8412 (todo-initial-category, todo-initial-file, todo-item-mark)
8413 (todo-legacy-date-time-regexp, todo-mode-line-function)
8414 (todo-nondiary-marker, todo-number-prefix)
8415 (todo-print-buffer-function, todo-show-current-file)
8416 (todo-show-done-only, todo-show-first, todo-show-with-done)
8417 (todo-skip-archived-categories, todo-top-priorities-overrides)
8418 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8419 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8420 New defcustoms.
8421 (todo-category-done, todo-date-pattern, todo-date-string-start)
8422 (todo-diary-items-buffer, todo-done-string-start)
8423 (todo-filtered-items-buffer, todo-item-start)
8424 (todo-month-abbrev-array, todo-month-name-array)
8425 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8426 (todo-top-priorities-buffer): New defconsts.
8427 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8428 (todo-categories-with-marks, todo-category-string-face)
8429 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8430 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8431 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8432 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8433 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8434 (todo-font-lock-keywords, todo-global-current-todo-file)
8435 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8436 (todo-insertion-commands-args)
8437 (todo-insertion-commands-args-genlist)
8438 (todo-insertion-commands-names, todo-insertion-map)
8439 (todo-key-bindings-t, todo-key-bindings-t+a)
8440 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8441 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8442 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8443 (todo-visited): New variables.
8444
8445 2013-06-21 Glenn Morris <rgm@gnu.org>
8446
8447 * play/cookie1.el (cookie-apropos): Add optional display argument.
8448 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8449 (psychoanalyze-pinhead): Use cookie-doctor.
8450
8451 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8452
8453 * emacs-lisp/package.el (tar-get-file-descriptor)
8454 (tar--extract): Declare.
8455
8456 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8457
8458 Extend flymake's warning predicate to be a function (bug#14217).
8459 * progmodes/flymake.el (flymake-warning-predicate): New.
8460 (flymake-parse-line): Use it.
8461 (flymake-warning-re): Make obsolete alias to
8462 `flymake-warning-predicate'.
8463
8464 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8467 (package-obsolete-list): Remove.
8468 (package-activate): Remove min-version argument. Add `force' argument.
8469 Adjust to new package-alist format.
8470 (package-mark-obsolete): Remove.
8471 (package-unpack): Force reload of the package's autoloads.
8472 (package-installed-p): Check builtins if the installed package is not
8473 recent enough.
8474 (package-initialize): Don't reset package-obsolete-list.
8475 Don't specify which package version to activate.
8476 (package-process-define-package, describe-package-1)
8477 (package-menu--generate): Adjust to new package-alist format.
8478
8479 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * allout-widgets.el (allout-widgets-mode-off)
8482 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8483 (allout-widgets-post-command-business)
8484 (allout-widgets-after-copy-or-kill-function)
8485 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8486 (allout-decorate-item-and-context)
8487 (allout-graphics-modification-handler): Fix typos in docstrings.
8488 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8489
8490 * cmuscheme.el (scheme-start-file): Doc fix.
8491 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8492 (scheme-input-filter): Use `string-match-p'.
8493
8494 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8495
8496 * dired-x.el: Use Dired consistently in docstrings.
8497
8498 * dired.el: Use Dired consistently in docstrings.
8499 (dired-readin, dired-mode): Use `setq-local'.
8500 (dired-switches-alist): Make defvar-local.
8501 (dired-buffers-for-dir): Use `zerop'.
8502 (dired-safe-switches-p, dired-switches-escape-p)
8503 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8504 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8505 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8506 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8507 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8508 (dired-toggle-marks, dired-mark-files-containing-regexp)
8509 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8510 (dired-flag-auto-save-files, dired-flag-backup-files):
8511 Use `looking-at-p'.
8512 (dired-mark-files-regexp, dired-build-subdir-alist):
8513 Use `string-match-p', `looking-at-p'.
8514
8515 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8516 (direct-print-region-helper): Use `string-match-p'.
8517
8518 2013-06-21 Leo Liu <sdl.web@gmail.com>
8519
8520 * comint.el (comint-redirect-results-list-from-process):
8521 Fix infinite loop.
8522
8523 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8524
8525 * net/eww.el (eww-update-header-line-format): Quote % characters.
8526
8527 2013-06-21 Glenn Morris <rgm@gnu.org>
8528
8529 * play/cookie1.el (cookie): New custom group.
8530 (cookie-file): New option.
8531 (cookie-check-file): New function.
8532 (cookie): Make it interactive. Make start and end messages optional.
8533 Interactively, display the result. Default to cookie-file.
8534 (cookie-insert): Default to cookie-file.
8535 (cookie-snarf): Make start and end messages optional.
8536 Default to cookie-file. Use with-temp-buffer.
8537 (cookie-read): Rename from read-cookie.
8538 Make start and end messages optional. Default to cookie-file.
8539 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8540 Do not autoload it.
8541 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8542 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8543
8544 2013-06-21 Leo Liu <sdl.web@gmail.com>
8545
8546 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8547
8548 2013-06-21 Glenn Morris <rgm@gnu.org>
8549
8550 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8551
8552 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8553 Daniel Hackney <dan@haxney.org>
8554
8555 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8556 Consolidate the single-file vs tarball code.
8557 (package-desc-suffix): New function.
8558 (package-desc-full-name): Don't bother inlining it.
8559 (package-load-descriptor): Return the new package-desc.
8560 (package-mark-obsolete): Remove unused arg `package'.
8561 (package-unpack): Make it work for single files as well.
8562 Make it update package-alist.
8563 (package--make-autoloads-and-stuff): Rename from
8564 package--make-autoloads-and-compile. Don't compile any more.
8565 (package--compile): New function.
8566 (package-generate-description-file): New function, extracted from
8567 package-unpack-single.
8568 (package-unpack-single): Remove.
8569 (package--with-work-buffer): Add indentation and debugging info.
8570 (package-download-single): Remove.
8571 (package-install-from-archive): Rename from package-download-tar, make
8572 it take a pkg-desc, and make it work for single files as well.
8573 (package-download-transaction): Simplify.
8574 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8575 external tar program.
8576 (package-install-from-buffer): Remove `pkg-desc' argument.
8577 Use package-tar-file-info for tar-mode buffers.
8578 (package-install-file): Simplify accordingly.
8579 (package-archive-base): Change to take a pkg-desc.
8580 * tar-mode.el (tar--check-descriptor): New function, extracted from
8581 tar-get-descriptor.
8582 (tar-get-descriptor): Use it.
8583 (tar-get-file-descriptor): New function.
8584 (tar--extract): New function, extracted from tar-extract.
8585 (tar--extract): Use it.
8586 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8587 case the summary uses non-ascii. Adjust to new calling convention of
8588 package-tar-file-info.
8589
8590 2013-06-21 Leo Liu <sdl.web@gmail.com>
8591
8592 * comint.el (comint-redirect-results-list-from-process):
8593 Fix random delay. (Bug#14681)
8594
8595 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8596
8597 * profiler.el (profiler-format-number): Use log, not log10.
8598
8599 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8600
8601 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8602
8603 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8604
8605 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8606 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8607 yet available.
8608 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8609 (AUTOGENEL): ... here.
8610 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8611 (cl--defsubst-expand): Use it.
8612
8613 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8614
8615 * subr.el (log10): Move here from C code, and declare as obsolete.
8616 All uses of (log10 X) replaced with (log X 10).
8617
8618 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8619
8620 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8621 Declare with `defvar-local'.
8622 (tabulated-list-use-header-line, tabulated-list-entries)
8623 (tabulated-list-padding, tabulated-list-printer)
8624 (tabulated-list-sort-key): Declare with `defvar-local'.
8625 (tabulated-list-init-header, tabulated-list-print-fake-header):
8626 Use `setq-local'.
8627
8628 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8629
8630 * arc-mode.el (archive-mode): Add `archive-write-file' to
8631 `write-contents-functions' also for remote files. (Bug#14652)
8632
8633 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8634
8635 * cus-edit.el (custom-commands): Fix typos.
8636 (custom-display): Fix tooltip text.
8637 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8638 Fix typos in docstrings.
8639 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8640 (custom-unlispify-menu-entry, custom-magic-value-create)
8641 (custom-add-see-also, custom-group-value-create): Use ?\s.
8642 (custom-guess-type, customize-apropos, editable-field)
8643 (custom-face-value-create): Use `string-match-p'.
8644 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8645
8646 * custom.el (custom-load-symbol): Use `string-match-p'.
8647
8648 * ansi-color.el: Convert to lexical binding.
8649 (ansi-colors): Fix URL.
8650 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8651 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8652 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8653
8654 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8655
8656 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8657
8658 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8659
8660 2013-06-19 Tom Tromey <tromey@redhat.com>
8661
8662 * net/eww.el (eww-top-url): Remove.
8663 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8664 (eww-render): Set new variables. Don't set eww-top-url.
8665 (eww-handle-link): Handle "prev", "home", and "contents".
8666 Downcase the rel text.
8667 (eww-top-url): Choose best top URL.
8668
8669 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8670
8671 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8672 relying in widget.el. Using widget.el leads to too many
8673 user interface inconsistencies.
8674 (eww-self-insert): Implement entering commands in text fields.
8675 (eww-process-text-input): New function to make text input field editing
8676 work.
8677 (eww-submit): Rewrite to use the new-style form methods.
8678 (eww-select-display): Display the correct selected item.
8679 (eww-change-select): Implement changing the select value.
8680 (eww-toggle-checkbox): Implement radio/checkboxes.
8681 (eww-update-field): Fix compilation error.
8682 (eww-tag-textarea): Implement <textarea>.
8683
8684 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8685 we don't shadow mode-specific bindings.
8686
8687 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8688 nothing to push.
8689
8690 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8691
8692 2013-06-19 Glenn Morris <rgm@gnu.org>
8693
8694 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8695
8696 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8697
8698 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8699 not needed.
8700
8701 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8702
8703 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8704
8705 * net/browse-url.el (browse-url-browser-function):
8706 `eww-browse-url' has the right calling signature, `eww' does not.
8707
8708 2013-06-19 Glenn Morris <rgm@gnu.org>
8709
8710 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8711 Only eval autoloaded macros.
8712 (byte-compile-autoload): Only give the macro warning for macros.
8713
8714 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8715 (ps-underlined-faces): Declare.
8716
8717 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8718 (speedbar-add-supported-extension): Declare.
8719
8720 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8721 Don't include a date stamp in the header of the generated file;
8722 it leads to needless differences between output files.
8723
8724 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/secrets.el (secrets-struct-secret-content-type):
8727 Replace check of introspection data by a test call of "CreateItem".
8728 Some servers do not offer introspection.
8729
8730 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * electric.el (electric-pair-mode): Improve interaction with
8733 electric-layout-mode.
8734 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8735 (electric-pair-syntax): Use text-mode-syntax-table in comments
8736 and strings.
8737 (electric-pair--insert): New function.
8738 (electric-pair-post-self-insert-function): Use it and
8739 electric--after-char-pos.
8740
8741 2013-06-19 Leo Liu <sdl.web@gmail.com>
8742
8743 * progmodes/octave.el (octave-help): Fix regexp.
8744
8745 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8746
8747 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8748 (shr-table-horizontal-line): Allow nil as a value, and change the
8749 default.
8750 (shr-insert-table-ruler): Respect the nil value.
8751
8752 2013-06-18 Tom Tromey <tromey@barimba>
8753
8754 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8755 New defvars.
8756 (eww-open-file): New defun.
8757 (eww-render): Initialize new variables.
8758 (eww-display-html): Handle "link" and "a".
8759 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8760 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8761 (eww-back-url): Rename from eww-previous-url.
8762 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8763 New defuns.
8764
8765 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8766
8767 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8768 Distinguish ternary operator tokens from slash symbol and slash
8769 char literal.
8770
8771 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8772
8773 Convert symbol prettification into minor mode and global minor mode.
8774
8775 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8776 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8777 (prettify-symbols--keywords): Rename from
8778 `prog-prettify-symbols-alist' and make a local defvar.
8779 (prettify-symbols--compose-symbol): Rename from
8780 `prog--prettify-font-lock-compose-symbol'.
8781 (prettify-symbols--make-keywords): Rename from
8782 `prog-prettify-font-lock-symbols-keywords' and simplify.
8783 (prog-prettify-install): Remove.
8784 (prettify-symbols-mode): New minor mode, based on
8785 `prog-prettify-install'.
8786 (turn-on-prettify-symbols-mode): New function.
8787 (global-prettify-symbols-mode): New globalized minor mode.
8788
8789 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8790 * progmodes/cfengine.el (cfengine3-mode):
8791 * progmodes/perl-mode.el (perl-mode): Don't call
8792 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8793
8794 2013-06-18 Juri Linkov <juri@jurta.org>
8795
8796 * files-x.el (modify-file-local-variable-message): New function.
8797 (modify-file-local-variable)
8798 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8799 and call `modify-file-local-variable-message' when it's non-nil.
8800 (add-file-local-variable, delete-file-local-variable)
8801 (add-file-local-variable-prop-line)
8802 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8803 and use it. (Bug#9820)
8804
8805 2013-06-18 Juri Linkov <juri@jurta.org>
8806
8807 * emulation/vi.el (vi-shell-op):
8808 * emulation/vip.el (vip-execute-com, ex-command):
8809 * emulation/viper-cmd.el (viper-exec-bang):
8810 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8811 the call of `shell-command-on-region'. (Bug#14637)
8812
8813 * simple.el (shell-command-on-region): Doc fix.
8814
8815 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8818 (bug#14633).
8819
8820 2013-06-18 Glenn Morris <rgm@gnu.org>
8821
8822 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8823
8824 * newcomment.el (comment-search-forward, comment-search-backward):
8825 Doc fix. (Bug#14376)
8826
8827 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8828
8829 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8830 (buffer-face-mode-invoke): Doc fix.
8831
8832 2013-06-18 Matthias Meulien <orontee@gmail.com>
8833
8834 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8835 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8836
8837 2013-06-18 Glenn Morris <rgm@gnu.org>
8838
8839 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8840 Replace obsolete function generic-make-keywords with its expansion.
8841
8842 * progmodes/python.el (ffap-alist): Declare.
8843
8844 * textmodes/reftex.el (bibtex-mode-map): Declare.
8845
8846 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8849 (package-unpack, package-unpack-single): Return the pkg-dir.
8850 (package-download-transaction): Use it to update package-alist.
8851
8852 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8853
8854 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8855 possible choice.
8856
8857 2013-06-17 Juri Linkov <juri@jurta.org>
8858
8859 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8860
8861 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8862
8863 * emacs-lisp/package.el (package-load-descriptor):
8864 Remove `with-syntax-table' call, `read' doesn't need it.
8865 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8866
8867 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * startup.el (command-line): Expand package name returned by
8870 `package--description-file' (bug#14639).
8871
8872 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8873
8874 * emacs-lisp/package.el (package-load-descriptor): Do not call
8875 `emacs-lisp-mode', just use its syntax table.
8876
8877 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8878
8879 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8880 `font-lock-extra-managed-props' if any prettifying keyword is added.
8881 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8882 (prog-mode): Use `setq-local'.
8883
8884 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8885
8886 * international/characters.el (standard-case-table): Set syntax of ?»
8887 and ?« to punctuation.
8888
8889 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8890
8891 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8892 Save relevant match data before calling `syntax-ppss' (bug#14595).
8893
8894 2013-06-15 Juri Linkov <juri@jurta.org>
8895
8896 * files-x.el (modify-file-local-variable-prop-line): Add local
8897 variables to the end of the existing comment on the first line.
8898 Use `file-auto-mode-skip' to skip interpreter magic line,
8899 and also skip XML declaration.
8900
8901 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8902
8903 * startup.el (package--builtin-versions): New var.
8904 (package-subdirectory-regexp): Remove.
8905 (package--description-file): Hard code its value instead.
8906
8907 * emacs-lisp/package.el: Don't activate packages older than builtin.
8908 (package-obsolete-list): Rename from package-obsolete-alist, and make
8909 it into a simple list of package-desc.
8910 (package-strip-version): Remove.
8911 (package-built-in-p): Use package--builtin-versions.
8912 (package-mark-obsolete): Simplify.
8913 (package-process-define-package): Mark it obsolete if older than the
8914 builtin version.
8915 (package-handle-response): Use line-end-position.
8916 (package-read-archive-contents, package--download-one-archive):
8917 Simplify.
8918 (package--add-to-archive-contents): Skip if older than the builtin or
8919 installed version.
8920 (package-menu-describe-package): Fix last change.
8921 (package-list-unversioned): New var.
8922 (package-menu--generate): Use it.
8923
8924 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8925 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8926 (autoload-builtin-package-versions): New variable.
8927 (autoload-generate-file-autoloads): Use them.
8928 Remove the list of autoloaded functions/macros from the
8929 (autoload...) comments.
8930
8931 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8932
8933 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8934
8935 * simple.el (line-move-partial): Don't jump to the next screen
8936 line as soon as it becomes visible. Instead, continue enlarging
8937 the vscroll until the portion of a tall screen line that's left on
8938 display is about the height of the frame's default font.
8939 (Bug#14567)
8940
8941 2013-06-15 Glenn Morris <rgm@gnu.org>
8942
8943 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8944 compilation-error-regexp-alist void, or local while let-bound.
8945
8946 * progmodes/make-mode.el (makefile-mode-syntax-table):
8947 Treat "=" as punctuation. (Bug#14614)
8948
8949 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8950
8951 * help-fns.el (describe-variable):
8952 Add extra line for permanent-local variables.
8953
8954 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8955
8956 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8957 Add export, import, library. (Bug#9164)
8958 (library): Set indent function.
8959
8960 2013-06-14 Glenn Morris <rgm@gnu.org>
8961
8962 * term/xterm.el (xterm--query):
8963 Stop after first matching handler. (Bug#14615)
8964
8965 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8966
8967 Add support for dired in saveplace.
8968 * dired.el (dired-initial-position-hook): New variable.
8969 (dired-initial-position): Call hook to place cursor position.
8970 * saveplace.el (save-place-to-alist): Add dired position.
8971 (save-place-dired-hook): New function.
8972
8973 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8976 through a symbol rather than letrec.
8977
8978 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8979 (package-desc): Add `dir' field.
8980 (package-desc-full-name): New function.
8981 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8982 (package-maybe-load-descriptor): Remove.
8983 (package-load-all-descriptors): Just call package-load-descriptor.
8984 (package--disabled-p): New function.
8985 (package-desc-vers, package-desc-doc): Remove aliases.
8986 (package--dir): Remove function.
8987 (package-activate): Check if a package is disabled.
8988 (package-process-define-package): New function, extracted from
8989 define-package.
8990 (define-package): Turn into a place holder.
8991 (package-unpack-single, package-tar-file-info):
8992 Use package--description-file.
8993 (package-compute-transaction): Use package--disabled-p.
8994 (package-download-transaction): Don't call
8995 package-maybe-load-descriptor since they're all loaded anyway.
8996 (package-install): Change argument to be a pkg-desc.
8997 (package-delete): Use a single pkg-desc argument.
8998 (describe-package-1): Use package-desc-dir instead of package--dir.
8999 Use package-desc property instead of package-symbol.
9000 (package-install-button-action): Adjust accordingly.
9001 (package--push): Rewrite.
9002 (package-menu--print-info): Adjust accordingly. Change the ID format
9003 to be a pkg-desc.
9004 (package-menu-describe-package, package-menu-get-status)
9005 (package-menu--find-upgrades, package-menu-mark-upgrades)
9006 (package-menu-execute, package-menu--name-predicate):
9007 Adjust accordingly.
9008 * startup.el (package--description-file): New function.
9009 (command-line): Use it.
9010 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9011 Use package-desc-version.
9012
9013 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9014 (byte-compile-preprocess): Use it.
9015 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9016 can't quite recognize.
9017 (byte-compile-add-to-list): Remove.
9018 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9019 (cconv-closure-convert): Add assertion.
9020
9021 * emacs-lisp/map-ynp.el: Use lexical-binding.
9022 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9023 Factor out some repeated code.
9024
9025 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * subr.el (with-eval-after-load): New macro.
9028 (eval-after-load): Allow form to be a function.
9029 take advantage of lexical-binding.
9030 (do-after-load-evaluation): Use dolist and adjust to new format.
9031 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9032
9033 2013-06-13 Juri Linkov <juri@jurta.org>
9034
9035 * replace.el (perform-replace): Display "symbol " and other search
9036 modes from `isearch-message-prefix' in the *Help* buffer.
9037
9038 * isearch.el (isearch-query-replace): Add " symbol" and other
9039 possible search modes from `isearch-message-prefix' to the prompt.
9040 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9041 when reading a regexp to collect.
9042
9043 2013-06-13 Juri Linkov <juri@jurta.org>
9044
9045 * isearch.el (word-search-regexp): Match whitespace if the search
9046 string begins or ends in whitespace. The LAX arg is applied to
9047 both ends of the search string. Use `regexp-quote' and explicit
9048 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9049 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9050 boundaries are replaced with symbol boundaries, and characters
9051 between symbols match non-word non-symbol syntax. (Bug#14602)
9052
9053 2013-06-13 Juri Linkov <juri@jurta.org>
9054
9055 * isearch.el (isearch-del-char): Don't exceed the length of
9056 `isearch-string' by the prefix arg. (Bug#14563)
9057
9058 2013-06-13 Juri Linkov <juri@jurta.org>
9059
9060 * isearch.el (isearch-yank-word, isearch-yank-line)
9061 (isearch-char-by-name, isearch-quote-char)
9062 (isearch-printing-char, isearch-process-search-char):
9063 Add optional count prefix arg. (Bug#14563)
9064
9065 * international/isearch-x.el
9066 (isearch-process-search-multibyte-characters):
9067 Add optional count prefix arg.
9068
9069 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9072 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9073 lexical-binding.
9074
9075 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9076
9077 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9078
9079 2013-06-13 Glenn Morris <rgm@gnu.org>
9080
9081 * startup.el (tty-handle-args):
9082 Don't just discard "--" and anything after. (Bug#14608)
9083
9084 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9085
9086 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9087
9088 Implement changes in Secret Service API. Make it backward compatible.
9089 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9090 (secrets-create-item): Use it. Prefix properties with interface.
9091
9092 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9093
9094 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9095 (term-emulate-terminal): Respect term-suppress-hard-newline.
9096
9097 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9098
9099 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9100 Only remove a `thumb-file' overlay. (Bug#14548)
9101
9102 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9103
9104 * mail/reporter.el (reporter-submit-bug-report):
9105 Handle missing package-name. (Bug#14600)
9106
9107 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9108
9109 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9110 (reftex-citation-prompt, reftex-default-bibliography)
9111 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9112 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9113 (reftex-bib-sort-author, reftex-bib-sort-year)
9114 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9115 (reftex-extract-bib-entries-from-thebibliography)
9116 (reftex-get-bibkey-default, reftex-get-bib-names)
9117 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9118 (reftex-format-bib-entry, reftex-parse-bibitem)
9119 (reftex-format-bibitem, reftex-do-citation)
9120 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9121 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9122 (reftex-insert-bib-matches, reftex-format-citation)
9123 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9124 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9125 existing comments into docstrings.
9126
9127 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9128
9129 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9130
9131 2013-06-12 Andreas Schwab <schwab@suse.de>
9132
9133 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9134 for auto-save files.
9135
9136 2013-06-12 Glenn Morris <rgm@gnu.org>
9137
9138 * ido.el (ido-delete-ignored-files): Remove.
9139 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9140 Go back to calling ido-ignore-item-p directly.
9141
9142 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9143
9144 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9145
9146 * ido.el (ido-delete-ignored-files): New function,
9147 split from ido-make-file-list-1.
9148 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9149 (ido-make-file-list-1): Use ido-delete-ignored-files.
9150
9151 2013-06-12 Leo Liu <sdl.web@gmail.com>
9152
9153 * progmodes/octave.el (inferior-octave-startup)
9154 (inferior-octave-completion-table)
9155 (inferior-octave-track-window-width-change)
9156 (octave-eldoc-function-signatures, octave-help)
9157 (octave-find-definition): Use single quoted strings.
9158 (inferior-octave-startup-args): Change default value.
9159 (inferior-octave-startup): Do not hard code "-i" and
9160 "--no-line-editing".
9161 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9162 (inferior-octave-directory-tracker): Use it.
9163 (octave-goto-function-definition): Robustify.
9164 (octave-help): Support highlighting operators in 'See also'.
9165 (octave-find-definition): Find subfunctions only in Octave mode.
9166
9167 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * help-fns.el (help-fns--compiler-macro): If the handler function is
9170 named, then put a link to it.
9171 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9172 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9173 (cl-typep): Use it.
9174 (cl-eval-when): Simplify debug spec.
9175 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9176 compiler-macro function instead of setting `compiler-macro-file'.
9177
9178 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9179
9180 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9181 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9182
9183 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9184 Daniel Hackney <dan@haxney.org>
9185
9186 First part of Daniel Hackney's patch to package.el.
9187 * emacs-lisp/package.el: Use defstruct.
9188 (package-desc): New, main struct.
9189 (package--bi-desc, package--ac-desc): New structs, used to describe the
9190 format in external files.
9191 (package-desc-vers): Replace with package-desc-version accessor.
9192 (package-desc-doc): Replace with package-desc-summary accessor.
9193 (package-activate-1): Remove `package' arg since the pkg-vec now
9194 includes the name.
9195 (define-package): Use package-desc-from-define.
9196 (package-unpack-single): Change file-name arg to be a symbol.
9197 (package--add-to-archive-contents): Use package-desc-create and new
9198 accessor functions to package--ac-desc.
9199 (package-buffer-info, package-tar-file-info): Return a package-desc.
9200 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9201 arg to be a package-desc.
9202 (package-install-file): Adjust accordingly. Use \' to match EOS.
9203 (package--from-builtin): New function.
9204 (describe-package-1, package-menu--generate): Use it.
9205 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9206 (package-generate-autoloads): Idem and return the name of the file.
9207 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9208 Change pkg-info arg to be a package-desc.
9209 Use package-make-ac-desc.
9210 (package-upload-file): Use \' to match EOS.
9211 * finder.el (finder-compile-keywords): Use package-make-builtin.
9212
9213 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9214
9215 * vc/vc.el (vc-deduce-fileset): Change error message.
9216 (vc-read-backend): New function.
9217 (vc-next-action): Use it.
9218
9219 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9220
9221 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9222 (prolog-font-lock-keywords): Use regexp-opt instead.
9223 Don't manually highlight strings.
9224 (prolog-mode-variables): Simplify comment-start-skip.
9225 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9226
9227 * emacs-lisp/generic.el (generic--normalise-comments)
9228 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9229 (generic-mode-set-comments): Use them.
9230 (generic-bracket-support): Use setq-local.
9231 (generic-make-keywords-list): Declare obsolete.
9232
9233 2013-06-11 Glenn Morris <rgm@gnu.org>
9234
9235 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9236 Prettify after setting font-lock-defaults. (Bug#14574)
9237
9238 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9239
9240 * replace.el (query-replace, occur-read-regexp-defaults-function)
9241 (replace-search):
9242 * subr.el (declare-function, number-sequence, local-set-key)
9243 (substitute-key-definition, locate-user-emacs-file)
9244 (with-silent-modifications, split-string, eval-after-load):
9245 Fix typos, remove unneeded backslashes and reflow some docstrings.
9246
9247 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9250 default for Elisp files.
9251
9252 2013-06-11 Glenn Morris <rgm@gnu.org>
9253
9254 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9255 although define-derived-mode was doing this anyway. (Bug#14583)
9256
9257 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9258
9259 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9260 Fix make-variable-buffer-local call to refer to the correct variable.
9261
9262 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9263
9264 * eshell/em-term.el (eshell-visual-commands)
9265 (eshell-visual-subcommands, eshell-visual-options):
9266 Add summary line to docstrings. Add cross-references.
9267
9268 2013-06-10 Glenn Morris <rgm@gnu.org>
9269
9270 * epa.el (epa-read-file-name): New function. (Bug#14510)
9271 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9272
9273 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9274
9275 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9276 output redirection to be ignored with visual commands.
9277
9278 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9279
9280 * eshell/em-term.el (eshell-visual-command-p): New function.
9281 (eshell-term-initialize): Move long lambda to separate function
9282 eshell-visual-command-p.
9283 * eshell/em-dirs.el (eshell-dirs-initialise):
9284 * eshell/em-script.el (eshell-script-initialize):
9285 Add missing #' to lambda.
9286
9287 2013-06-08 Leo Liu <sdl.web@gmail.com>
9288
9289 * progmodes/octave.el (octave-add-log-current-defun): New function.
9290 (octave-mode): Set add-log-current-defun-function.
9291 (octave-goto-function-definition): Do not move point if not found.
9292 (octave-find-definition): Enhance to try subfunctions first.
9293
9294 2013-06-08 Glenn Morris <rgm@gnu.org>
9295
9296 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9297 (byte-compile-backward-char, byte-compile-backward-word):
9298 Improve previous change, to handle non-explicit nil.
9299
9300 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9301
9302 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9303 (smie--opener/closer-at-point): New function.
9304 (smie--matching-block-data): Use it. Don't match from right after an
9305 opener or right before a closer. Obey smie-blink-matching-inners.
9306 Don't signal a mismatch for repeated inners like "switch..case..case".
9307
9308 2013-06-07 Leo Liu <sdl.web@gmail.com>
9309
9310 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9311 to t. (Bug#14303)
9312 (octave-function-header-regexp): Fix. (Bug#14570)
9313 (octave-help-mode-finish-hook, octave-help-mode-finish):
9314 Remove. Just use temp-buffer-show-hook.
9315
9316 * newcomment.el (comment-search-backward): Revert last change.
9317 (Bug#14434)
9318
9319 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9320
9321 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9322
9323 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9324 through xargs, to avoid failure due to MS-Windows limitations on
9325 command-line length.
9326
9327 2013-06-06 Glenn Morris <rgm@gnu.org>
9328
9329 * font-lock.el (lisp-font-lock-keywords-2):
9330 Treat user-error like error.
9331
9332 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9333 (byte-compile-backward-char, byte-compile-backward-word):
9334 Handle explicit nil arguments. (Bug#14565)
9335
9336 2013-06-05 Alan Mackenzie <acm@muc.de>
9337
9338 * isearch.el (isearch-allow-prefix): New user option.
9339 (isearch-other-meta-char): Don't exit isearch when a prefix
9340 argument is typed whilst `isearch-allow-prefix' is non-nil.
9341 (Bug#9706)
9342
9343 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * autorevert.el (auto-revert-notify-handler): Use memq.
9346 Hide assertion failure.
9347
9348 * skeleton.el: Use cl-lib.
9349 (skeleton-further-elements): Use defvar-local.
9350 (skeleton-insert): Use cl-progv.
9351
9352 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9353
9354 * progmodes/prog-mode.el (prog-prettify-symbols)
9355 (prog-prettify-install): Update docstrings.
9356
9357 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9358
9359 * simple.el: Move all the prog-mode code to prog-mode.el.
9360 * progmodes/prog-mode.el: New file.
9361 * loadup.el: Add prog-mode.el.
9362
9363 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9364
9365 * simple.el (prog-prettify-symbols): Add version.
9366 (prog-prettify-install): Add convenience function to prettify symbols.
9367
9368 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9369 (perl--augmented-font-lock-keywords-1)
9370 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9371 variables and use it.
9372
9373 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9374 (cfengine3-mode): Remove unneeded variable and use it.
9375
9376 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9377 (lisp--augmented-font-lock-keywords-1)
9378 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9379 Remove unneeded variables and use it.
9380
9381 2013-06-05 João Távora <joaotavora@gmail.com>
9382
9383 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9384 to point when opening the connection. (Bug#14380)
9385
9386 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9387
9388 * subr.el (load-history-regexp, load-history-filename-element)
9389 (eval-after-load, after-load-functions, do-after-load-evaluation)
9390 (eval-next-after-load, display-delayed-warnings)
9391 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9392 definition of save-match-data.
9393 (overriding-local-map): Remove accidental obsolescence declaration.
9394
9395 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9396
9397 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9398
9399 Generalize symbol prettify support to prog-mode and implement it
9400 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9401 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9402 (prog--prettify-font-lock-compose-symbol)
9403 (prog-prettify-font-lock-symbols-keywords): New variables and
9404 functions to support symbol prettification.
9405 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9406 (lisp--augmented-font-lock-keywords-1)
9407 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9408 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9409 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9410 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9411 Implement prettify of -> => :: strings.
9412 * progmodes/perl-mode.el (perl-prettify-symbols)
9413 (perl--font-lock-compose-symbol)
9414 (perl--font-lock-symbols-keywords): Move to prog-mode.
9415 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9416 (perl-font-lock-keywords-1)
9417 (perl-font-lock-keywords-2): Remove explicit prettify support.
9418 (perl--augmented-font-lock-keywords)
9419 (perl--augmented-font-lock-keywords-1)
9420 (perl--augmented-font-lock-keywords-2, perl-mode):
9421 Implement prettify support.
9422
9423 2013-06-05 Leo Liu <sdl.web@gmail.com>
9424
9425 Re-implement smie matching block highlight using
9426 show-paren-data-function. (Bug#14395)
9427 * emacs-lisp/smie.el (smie-matching-block-highlight)
9428 (smie--highlight-matching-block-overlay)
9429 (smie--highlight-matching-block-lastpos)
9430 (smie-highlight-matching-block)
9431 (smie-highlight-matching-block-mode): Remove.
9432 (smie--matching-block-data-cache): New variable.
9433 (smie--matching-block-data): New function.
9434 (smie-setup): Use smie--matching-block-data for
9435 show-paren-data-function.
9436
9437 * progmodes/octave.el (octave-mode-menu): Fix.
9438 (octave-find-definition): Skip garbage lines.
9439
9440 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 Fix compilation error with simultaneous dynamic+lexical scoping.
9443 Add warning when a defvar appears after the first let-binding.
9444 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9445 (byte-compile-close-variables): Initialize it.
9446 (byte-compile--declare-var): New function.
9447 (byte-compile-file-form-defvar)
9448 (byte-compile-file-form-define-abbrev-table)
9449 (byte-compile-file-form-custom-declare-variable): Use it.
9450 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9451 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9452 (byte-compile-bind): Handle dynamic bindings that shadow
9453 lexical bindings.
9454 (byte-compile-unbind): Make arg non-optional.
9455 (byte-compile-let): Simplify.
9456 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9457 (cconv--analyse-function, cconv-analyse-form): Populate it.
9458 Protect byte-compile-bound-variables to limit the scope of defvars.
9459 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9460 Remove unneeded rule for `declare'.
9461
9462 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9463 so as to avoid depending on cl-adjoin at run-time.
9464 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9465
9466 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9467 (macroexp--warn-and-return): Use it.
9468
9469 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9470
9471 * subr.el: Convert to lexical binding.
9472 (overriding-local-map): Make obsolete.
9473 (add-to-list): Doc fix. Add compiler macro.
9474 (read-key): Swap values of local maps.
9475
9476 2013-06-05 Leo Liu <sdl.web@gmail.com>
9477
9478 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9479
9480 2013-06-04 Leo Liu <sdl.web@gmail.com>
9481
9482 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9483 (compilation-auto-jump): Suppress the "Mark set" message to give
9484 way to exit message.
9485
9486 2013-06-04 Alan Mackenzie <acm@muc.de>
9487
9488 Remove faulty optimisation from indentation calculation.
9489 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9490 search limit based on 2000 characters back from indent-point.
9491
9492 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9493
9494 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9495
9496 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * emacs-lisp/lisp.el: Use lexical-binding.
9499 (lisp--local-variables-1, lisp--local-variables): New functions.
9500 (lisp--local-variables-completion-table): New var.
9501 (lisp-completion-at-point): Use it complete let-bound vars.
9502
9503 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9504 eagerly (bug#14422).
9505
9506 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9507
9508 * autorevert.el (auto-revert-notify-enabled)
9509 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9510 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9511 (auto-revert-notify-handler): Handle also gfilenotify.
9512
9513 * subr.el (file-notify-handle-event): New defun. Replacing ...
9514 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9515 Remove.
9516
9517 2013-06-03 Juri Linkov <juri@jurta.org>
9518
9519 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9520 `M-s h .'. (Bug#14427)
9521
9522 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9523 command `hi-lock-face-symbol-at-point'.
9524 (hi-lock-face-symbol-at-point): New command.
9525 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9526 (hi-lock-menu): Add `highlight-symbol-at-point'.
9527 (hi-lock-mode): Doc fix.
9528
9529 * isearch.el (isearch-forward-symbol-at-point): New command.
9530 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9531 (isearch-highlight-regexp): Add a regexp which matches
9532 words/symbols for word/symbol mode.
9533
9534 * subr.el (find-tag-default-bounds): New function with the body
9535 mostly moved from `find-tag-default'.
9536 (find-tag-default): Move most code to `find-tag-default-bounds',
9537 call it and apply `buffer-substring-no-properties' afterwards.
9538
9539 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9540
9541 * eshell/em-term.el (eshell-term-initialize):
9542 Use `cl-intersection' rather than `intersection'.
9543
9544 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9545
9546 * vc/log-view.el: Doc fix.
9547 (log-view-mode-map): Copy keymap from `special-mode-map'.
9548
9549 2013-06-02 Eric Ludlam <zappo@gnu.org>
9550
9551 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9552 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9553 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9554 (eieio-unbound, eieio-default-superclass)
9555 (eieio--define-field-accessors, method-static, method-before)
9556 (method-primary, method-after, method-num-lists)
9557 (method-generic-before, method-generic-primary)
9558 (method-generic-after, method-num-slots)
9559 (eieio-specialized-key-to-generic-key)
9560 (eieio--check-type, class-v, class-p)
9561 (eieio-class-name, define-obsolete-function-alias)
9562 (eieio-class-parents-fast, eieio-class-children-fast)
9563 (same-class-fast-p, class-constructor, generic-p)
9564 (generic-primary-only-p, generic-primary-only-one-p)
9565 (class-option-assoc, class-option, eieio-object-p)
9566 (class-abstract-p, class-method-invocation-order)
9567 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9568 (eieio-class-un-autoload, eieio-defclass)
9569 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9570 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9571 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9572 (eieio-defgeneric-reset-generic-form)
9573 (eieio-defgeneric-form-primary-only)
9574 (eieio-defgeneric-reset-generic-form-primary-only)
9575 (eieio-defgeneric-form-primary-only-one)
9576 (eieio-defgeneric-reset-generic-form-primary-only-one)
9577 (eieio-unbind-method-implementations)
9578 (eieio--defmethod, eieio--typep)
9579 (eieio-perform-slot-validation, eieio-validate-slot-value)
9580 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9581 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9582 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9583 (eieio-slot-name-index, eieio-class-slot-name-index)
9584 (eieio-set-defaults, eieio-initarg-to-attribute)
9585 (eieio-attribute-to-initarg, eieio-c3-candidate)
9586 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9587 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9588 (eieio-class-precedence-list, eieio-generic-call-methodname)
9589 (eieio-generic-call-arglst, eieio-generic-call-key)
9590 (eieio-generic-call-next-method-list)
9591 (eieio-pre-method-execution-functions, eieio-generic-call)
9592 (eieio-generic-call-primary-only, eieiomt-method-list)
9593 (eieiomt-optimizing-obarray, eieiomt-install)
9594 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9595 (eieio-generic-form, eieio-defmethod, make-obsolete)
9596 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9597 (defclass): Remove `eval-and-compile' from macro.
9598 (call-next-method, shared-initialize): Instead of using
9599 `scoped-class' variable, use new eieio--scoped-class, and
9600 eieio--with-scoped-class.
9601 (initialize-instance): Rename local variable 'scoped-class' to
9602 'this-class' to remove ambiguitity from old global.
9603
9604 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9605 eieio.el.
9606 (eieio--scoped-class-stack): New variable.
9607 (eieio--scoped-class): New fcn.
9608 (eieio--with-scoped-class): New scoping macro.
9609 (eieio-defclass): Use pushnew instead of add-to-list.
9610 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9611 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9612 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9613 `scoped-class' variable, use new eieio--scoped-class, and
9614 eieio--with-scoped-class.
9615
9616 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9617
9618 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9619
9620 * eshell/esh-ext.el (eshell-external-command): Pass args to
9621 `eshell-find-interpreter'.
9622 (eshell-find-interpreter): Add new second parameter ARGS.
9623
9624 * eshell/em-script.el (eshell-script-initialize): Add second arg
9625 to the function added as MATCH to `eshell-interpreter-alist'.
9626
9627 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9628 the function added as MATCH to `eshell-interpreter-alist'.
9629
9630 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9631 (eshell-visual-options): New defcustom.
9632 (eshell-escape-control-x): Adapt docstring.
9633 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9634 `eshell-visual-options' in addition to `eshell-visual-commands'.
9635 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9636
9637 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9638
9639 * progmodes/python.el (python-indent-block-enders): Add break,
9640 continue and raise keywords.
9641
9642 2013-06-01 Glenn Morris <rgm@gnu.org>
9643
9644 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9645
9646 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9647 * progmodes/cc-cmds.el (delete-forward-p):
9648 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9649 * progmodes/cc-engine.el (buffer-syntactic-context):
9650 * progmodes/cc-fonts.el (face-property-instance):
9651 * progmodes/cc-mode.el (set-keymap-parents):
9652 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9653 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9654 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9655 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9656 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9657
9658 * progmodes/cc-vars.el (other): Emacs has this widget since
9659 at least 21.1, so don't (re)define it.
9660
9661 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9662 Replace the obsolete alias pcomplete-arg-quote-list.
9663
9664 2013-06-01 Leo Liu <sdl.web@gmail.com>
9665
9666 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9667 punctuation syntax.
9668 (inferior-octave-minimal-columns)
9669 (inferior-octave-last-column-width): New variables.
9670 (inferior-octave-track-window-width-change): New function.
9671 (inferior-octave-mode): Adjust column width so that Octave output,
9672 for example from 'ls', can fit into the window nicely.
9673
9674 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9675
9676 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9677 Highlight expansions inside regexp literals.
9678
9679 2013-05-31 Glenn Morris <rgm@gnu.org>
9680
9681 * obsolete/sym-comp.el (symbol-complete):
9682 Replace obsolete completion-annotate-function.
9683
9684 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9685
9686 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9687
9688 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9689 New function, checks if point is inside a literal that allows
9690 expression expansion.
9691 (ruby-syntax-propertize-expansion): Use it.
9692 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9693 around the body.
9694
9695 2013-05-30 Juri Linkov <juri@jurta.org>
9696
9697 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9698 to "\M-si".
9699 (isearch-invisible): New variable.
9700 (isearch-forward): Doc fix.
9701 (isearch-mode): Set `isearch-invisible'
9702 to the value of `search-invisible'.
9703 (isearch-toggle-case-fold): Doc fix.
9704 (isearch-toggle-invisible): New command.
9705 (isearch-query-replace): Let-bind `search-invisible'
9706 to the value of `isearch-invisible'.
9707 (isearch-search): Use `isearch-invisible' instead of
9708 `search-invisible'. Let-bind `search-invisible'
9709 to the value of `isearch-invisible'. (Bug#11378)
9710
9711 2013-05-30 Juri Linkov <juri@jurta.org>
9712
9713 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9714 call when `query-flag' is nil and `search-invisible' is non-nil.
9715 (Bug#11746)
9716
9717 2013-05-30 Glenn Morris <rgm@gnu.org>
9718
9719 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9720
9721 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9722 (cc-require): Suppress spurious "noruntime" warnings.
9723 (cc-require-when-compile): Use fboundp, for sake of compiler.
9724
9725 * progmodes/cc-mode.el: Move load of cc-vars before that of
9726 cc-langs (which in turn loads cc-vars), to quieten compiler.
9727
9728 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9729
9730 * paren.el: Simplify the code.
9731 (show-paren-mode): Always start the timer.
9732 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9733 (show-paren--overlay, show-paren--overlay-1): Rename from
9734 show-paren-overlay and show-paren-overlay-1, and initialize to an
9735 overlay rather than to nil.
9736 (show-paren-function): Misc cleanup and simplifications.
9737
9738 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * paren.el (show-paren-data-function): New hook.
9741 (show-paren--default): New function, extracted from show-paren-function.
9742 (show-paren-function): Use show-paren-data-function.
9743
9744 2013-05-30 Glenn Morris <rgm@gnu.org>
9745
9746 * ielm.el (ielm-map, ielm-complete-symbol):
9747 Use completion-at-point rather than obsolete functions.
9748 (inferior-emacs-lisp-mode): Doc fix.
9749 Set completion-at-point-functions, rather than
9750 comint-dynamic-complete-functions.
9751
9752 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9753 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9754 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9755
9756 * image.el (image-animated-p): Tweak definition.
9757
9758 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9759 (rlogin-process-connection-type): Tweak default. Add set-after.
9760 (rlogin-host): Doc fix.
9761 (rlogin): Tweak prompt.
9762 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9763
9764 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9765 * progmodes/tcl.el (inferior-tcl-mode-map):
9766 Use completion-at-point rather than obsolete alias.
9767
9768 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9769
9770 * minibuffer.el (read-file-name-completion-ignore-case):
9771 Move before completion--in-region, for eager macro expansion.
9772
9773 2013-05-29 Juri Linkov <juri@jurta.org>
9774
9775 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9776 for total count of matching lines. Add `global-matches' for total
9777 count of matches. Rename `matches' to `lines' for count of
9778 matching lines. Add `matches' for count of matches.
9779 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9780 to `prev-line' for line number of prev match endpt.
9781 Increment `matches' for every match. Print the number of
9782 matching lines in the header.
9783 (occur-context-lines): Rename `lines' to `curr-line'.
9784 Rename `prev-lines' to `prev-line'. (Bug#14017)
9785
9786 2013-05-29 Juri Linkov <juri@jurta.org>
9787
9788 * replace.el (perform-replace): Add `skip-read-only-count',
9789 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9790 Increment them for corresponding conditions and report the number
9791 of skipped occurrences in the final message. (Bug#11746)
9792 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9793 (replace-string, replace-regexp): Doc fix.
9794
9795 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9798
9799 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9800 prog-mode-map (bug#14504).
9801
9802 2013-05-29 Leo Liu <sdl.web@gmail.com>
9803
9804 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9805 (octave-help): Small simplification.
9806
9807 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9808 off the highlight first.
9809
9810 2013-05-29 Glenn Morris <rgm@gnu.org>
9811
9812 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9813 Handle idlwave-last-system-routine-info-cons-cell being nil.
9814
9815 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9816 (idlwave-write-paths): Simplify via with-temp-buffer.
9817
9818 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9819 * emulation/cua-rect.el: Also load cua-base at run time.
9820
9821 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9822 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9823 (cperl-imenu-on-info): Require imenu.
9824
9825 2013-05-28 Alan Mackenzie <acm@muc.de>
9826
9827 Handle "capitalised keywords" correctly.
9828 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9829
9830 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9831
9832 * eshell/em-unix.el: Add -r option to cp.
9833
9834 2013-05-28 Glenn Morris <rgm@gnu.org>
9835
9836 * vc/vc-arch.el (vc-exec-after): Declare.
9837 (vc-switches): Autoload.
9838 * vc/vc-bzr.el: No need to require vc when compiling.
9839 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9840 (vc-resynch-buffer, vc-dir-refresh): Declare.
9841 (vc-setup-buffer, vc-switches): Autoload.
9842 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9843 (vc-resynch-buffer): Declare.
9844 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9845 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9846 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9847 (grep-read-regexp, grep-read-files, grep-expand-template)
9848 (vc-dir-refresh): Declare.
9849 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9850 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9851 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9852 * vc/vc-mtn.el (vc-exec-after): Declare.
9853 (vc-switches): Autoload.
9854 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9855 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9856 (vc-file-tree-walk): Declare.
9857 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9858 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9859 (vc-tag-precondition, vc-rename-master): Autoload.
9860 * vc/vc-svn.el (vc-exec-after): Declare.
9861 (vc-switches, vc-setup-buffer): Autoload.
9862 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9863 Autoload.
9864 (vc-resynch-buffer): Declare.
9865
9866 * obsolete/fast-lock.el (byte-compile-warnings):
9867 Don't warn about obsolete features in this obsolete file.
9868
9869 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9870 Move definition before use.
9871
9872 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9873 (dun-unix-verbs): Remove dun-zippy.
9874 (dun-zippy): Remove function.
9875
9876 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9877
9878 2013-05-27 Juri Linkov <juri@jurta.org>
9879
9880 * replace.el (replace-search): New function with code moved out
9881 from `perform-replace'.
9882 (replace-highlight, replace-dehighlight): Move function definitions
9883 up closer to `replace-search'. (Bug#11746)
9884
9885 2013-05-27 Juri Linkov <juri@jurta.org>
9886
9887 * replace.el (perform-replace): Ignore invisible matches.
9888 In addition to checking `query-replace-skip-read-only', also
9889 filter out matches by calling `run-hook-with-args-until-failure'
9890 on `isearch-filter-predicates', and also check `search-invisible'
9891 for t or call `isearch-range-invisible'.
9892 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9893
9894 2013-05-27 Juri Linkov <juri@jurta.org>
9895
9896 * isearch.el (isearch-filter-predicates): Rename from
9897 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9898 (isearch-message-prefix): Display text from the property
9899 `isearch-message-prefix' of the currently active filters.
9900 (isearch-search): Don't compare `isearch-filter-predicate' with
9901 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9902 on `isearch-filter-predicates'. Also check `search-invisible' for t
9903 or call `isearch-range-invisible'.
9904 (isearch-filter-visible): Make obsolete.
9905 (isearch-lazy-highlight-search):
9906 Call `run-hook-with-args-until-failure' on
9907 `isearch-filter-predicates' and use `isearch-range-invisible'.
9908
9909 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9910 `isearch-filter-predicates' instead of `funcall'ing
9911 `isearch-filter-predicate'.
9912 (Info-mode): Set `Info-isearch-filter' to
9913 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9914
9915 * dired-aux.el (dired-isearch-filter-predicate-orig):
9916 Remove variable.
9917 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9918 (dired-isearch-filenames-end): Add and remove
9919 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9920 instead of changing the value of `isearch-filter-predicate'.
9921 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9922 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9923 Put property `isearch-message-prefix' to "filename " on
9924 `dired-isearch-filter-filenames'.
9925
9926 * wdired.el (wdired-change-to-wdired-mode):
9927 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9928 locally instead of changing `isearch-filter-predicate'.
9929 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9930
9931 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9932
9933 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9934 return the commit hash (Bug#14459). Also set the
9935 `vc-git-detached' property.
9936 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9937 (vc-git-mode-line-string): Use the same help-echo format whether
9938 in detached mode or not, because we know the actual revision now.
9939 When in detached mode, shorten the revision to 7 chars.
9940
9941 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * emacs-lisp/easy-mmode.el (define-minor-mode):
9944 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9945 mode hook and provide a docstring.
9946
9947 2013-05-27 Alan Mackenzie <acm@muc.de>
9948
9949 Remove spurious syntax-table text properties inserted by C-y.
9950 * progmodes/cc-mode.el (c-after-change): Also clear hard
9951 syntax-table property with value nil.
9952
9953 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9954
9955 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9956 when reading the events; the buffer layout shall not be changed.
9957
9958 2013-05-27 Leo Liu <sdl.web@gmail.com>
9959
9960 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9961 New variable.
9962 (inferior-octave-directory-tracker): Automatically re-sync
9963 default-directory.
9964 (octave-help): Improve handling of 'See also'.
9965
9966 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9967
9968 * doc-view.el: Minor naming convention tweaks.
9969 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9970
9971 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9972 even if there's no `display' property yet (bug#14435).
9973
9974 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9975
9976 * subr.el (unmsys--file-name): Rename from reveal-filename.
9977
9978 * Makefile.in (custom-deps, finder-data, autoloads)
9979 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9980 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9981 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9982
9983 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9986 error-completion on the first 2 args of condition-case (bug#14446).
9987 Don't burp at EOB.
9988
9989 2013-05-25 Leo Liu <sdl.web@gmail.com>
9990
9991 * comint.el (comint-previous-matching-input): Do not flood the
9992 *Messages* buffer with trivial messages.
9993
9994 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * progmodes/flymake.el (flymake-nop): Don't return a string.
9997 (flymake-set-at): Fix typo.
9998
9999 * simple.el (read--expression): New function, extracted from
10000 eval-expression. Set completion-at-point-functions (bug#14465).
10001 (eval-expression, eval-minibuffer): Use it.
10002
10003 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10004
10005 * progmodes/flymake.el (flymake-save-buffer-in-file)
10006 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10007 (flymake-selected-frame, flymake-log, flymake-ins-after)
10008 (flymake-set-at, flymake-get-buildfile-from-cache)
10009 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10010 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10011 Refine the doc string.
10012 (flymake-get-file-name-mode-and-masks): Reformat.
10013 (flymake-get-real-file-name-function): Fix a minor bug.
10014
10015 2013-05-24 Juri Linkov <juri@jurta.org>
10016
10017 * progmodes/grep.el (grep-mode-font-lock-keywords):
10018 Support =linenumber= format used by git-grep for lines with
10019 function names. (Bug#13549)
10020
10021 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10022
10023 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10024 0 after a semi-colon; it works better for smie-auto-fill.
10025 (octave--indent-new-comment-line): New function.
10026 (octave-indent-new-comment-line): Use it (indirectly).
10027 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10028 modify comment-line-break-function.
10029
10030 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10031 (smie-setup): Use add-function to set it.
10032
10033 2013-05-24 Sam Steingold <sds@gnu.org>
10034
10035 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10036 argument (before the `interactive' argument).
10037
10038 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * image-mode.el (image-mode-winprops): Add winprops to
10041 image-mode-winprops-alist before running
10042 image-mode-new-window-functions.
10043 * doc-view.el (doc-view-new-window-function): Don't delay
10044 doc-view-goto-page via timers (bug#14435).
10045
10046 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10047
10048 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10049 (doc-view-desktop-save-buffer): New function.
10050 (doc-view-restore-desktop-buffer): New function.
10051 (desktop-buffer-mode-handlers):
10052 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10053 handler.
10054 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10055 `desktop-save-buffer' function.
10056
10057 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10058
10059 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10060 (tramp-gvfs-file-name-handler): Raise a user error when
10061 `tramp-gvfs-enabled' is nil.
10062 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10063 Do not raise a user error when loading package. (Bug#14447)
10064
10065 * net/xesam.el: Move to obsolete/.
10066
10067 2013-05-24 Glenn Morris <rgm@gnu.org>
10068
10069 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10070
10071 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10072
10073 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10074 (Info-find-node, Man-getpage-in-background): Declare.
10075
10076 * mail/unrmail.el (unrmail):
10077 Replace obsolete detect-coding-with-priority.
10078
10079 * net/socks.el (socks-split-string): Use this rather than split-string.
10080 (socks-nslookup-host): Update for above change.
10081 (dynamic-choice, s5-dynamic-choice-match)
10082 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10083 Comment out unused code.
10084
10085 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10086 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10087 (gud-tooltip-echo-area): Make obsolete.
10088 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10089
10090 * progmodes/js.el (js--optimize-arglist): Declare.
10091
10092 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10093
10094 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10095 (ediff-window-C): Declare.
10096
10097 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10098 Tweak requires to silence compiler.
10099
10100 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10101 (he-search-string, he-tried-table, he-expand-list)
10102 (he-init-string, he-string-member, he-substitute-string)
10103 (he-reset-string): Declare.
10104
10105 * obsolete/options.el (list-options): Use custom-variable-p,
10106 rather than obsolete alias.
10107
10108 2013-05-23 Sam Steingold <sds@gnu.org>
10109
10110 * simple.el (shell-command-on-region): Pass the `replace' argument
10111 down to `call-process-region' to comply with the doc as reported on
10112 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10113
10114 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10115
10116 * emacs-lisp/smie.el (smie-indent-forward-token)
10117 (smie-indent-backward-token): Handle string tokens (bug#14381).
10118
10119 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10120
10121 * ielm.el (ielm-menu): New menu.
10122 (inferior-emacs-lisp-mode): Set comment-start.
10123
10124 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10125
10126 * textmodes/reftex.el (reftex-ref-style-toggle):
10127 Fix deactivate action.
10128
10129 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10130 Add cleveref macros.
10131
10132 * textmodes/reftex-parse.el
10133 (reftex-locate-bibliography-files): Accept options for
10134 bibliography commands.
10135 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10136 Add addbibresource. Basic Biblatex support.
10137
10138 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10139
10140 * net/tramp-gvfs.el (top):
10141 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10142 when loading package. (Bug#14447)
10143
10144 2013-05-23 Glenn Morris <rgm@gnu.org>
10145
10146 * progmodes/js.el: No need to load comint when compiling.
10147 (ring-insert, comint-send-string, comint-send-input)
10148 (comint-last-input-end, ido-chop): Declare.
10149
10150 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10151 * vc/ediff-mult.el: Adjust requires.
10152 (ediff-directories-internal, ediff-directory-revisions-internal)
10153 (ediff-patch-file-internal): Declare.
10154 * vc/ediff-ptch.el: Adjust requires.
10155 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10156 (ediff-find-file): Autoload.
10157 * vc/ediff-util.el: No need to load ediff when compiling.
10158 (ediff-regions-internal): Declare.
10159 * vc/ediff-wind.el: Adjust requires.
10160 (ediff-compute-toolbar-width): Define when compiling.
10161 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10162 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10163 (dired-get-filename, dired-get-marked-files)
10164 (ediff-last-dir-patch, ediff-patch-default-directory)
10165 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10166 (ediff-patch-buffer-internal): Declare.
10167
10168 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10169 (ispell-process, ispell-buffer-local-words, lm-summary)
10170 (lm-section-start, lm-section-end): Declare.
10171 (checkdoc-ispell-init): Simplify.
10172
10173 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10174 (he-string-member, he-reset-string, he-substitute-string): Declare.
10175
10176 * eshell/em-ls.el: Adjust requires.
10177 (eshell-glob-regexp): Declare.
10178 * eshell/em-tramp.el: Adjust requires.
10179 (eshell-parse-command): Autoload.
10180 * eshell/em-xtra.el: Adjust requires.
10181 (eshell-parse-command): Autoload.
10182 * eshell/esh-ext.el: Adjust requires.
10183 (eshell-parse-command, eshell-close-handles): Autoload.
10184 * eshell/esh-io.el: Adjust requires.
10185 (eshell-output-filter): Autoload.
10186 * eshell/esh-util.el: No need to load tramp when compiling.
10187 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10188 Declare.
10189 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10190 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10191 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10192 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10193 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10194 * eshell/esh-opt.el, eshell/esh-proc.el:
10195 * eshell/esh-var.el: Adjust requires.
10196 * eshell/eshell.el: Do not require esh-util twice.
10197 (eshell-add-input-to-history): Declare.
10198 (eshell-command): Check history module is active before using it.
10199
10200 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10201
10202 2013-05-22 Leo Liu <sdl.web@gmail.com>
10203
10204 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10205
10206 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10207
10208 * autorevert.el (auto-revert-notify-add-watch)
10209 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10210 it indicates changes in file modification time.
10211
10212 2013-05-22 Glenn Morris <rgm@gnu.org>
10213
10214 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10215 Always delete the autoloaded function from the noruntime and
10216 unresolved functions lists.
10217
10218 * allout.el: No need to load epa, epg, overlay when compiling.
10219 (epg-context-set-passphrase-callback, epg-list-keys)
10220 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10221 (epg-key-user-id-list): Declare.
10222
10223 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10224 (viper-set-parsing-style-toggling-macro)
10225 (viper-set-emacs-state-searchstyle-macros):
10226 Use called-interactively-p on Emacs.
10227 (viper-looking-back): Make it an obsolete alias. Update callers.
10228 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10229 Use looking-back rather than viper-looking-back.
10230 (viper-tmp-insert-at-eob, viper-enlarge-region)
10231 (viper-read-string-with-history, viper-register-to-point)
10232 (viper-append-to-register, viper-change-state-to-vi)
10233 (viper-backward-char-carefully, viper-forward-char-carefully)
10234 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10235 (viper-change-state-to-emacs): Declare.
10236 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10237 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10238 * emulation/viper-mous.el: Do not load viper-cmd.
10239 (viper-backward-char-carefully, viper-forward-char-carefully)
10240 (viper-forward-word, viper-adjust-window): Declare.
10241
10242 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10243
10244 * progmodes/idlw-help.el (idlwave-help-fontify):
10245 Use called-interactively-p.
10246
10247 * term/w32console.el (w32-get-console-codepage)
10248 (w32-get-console-output-codepage): Declare.
10249
10250 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10251 Remove unnecessary declarations.
10252 (dframe-message): Doc fix.
10253
10254 * info.el (dframe-select-attached-frame, dframe-current-frame):
10255 Declare.
10256
10257 * speedbar.el (speedbar-message): Make it an obsolete alias.
10258 Update all callers.
10259 (speedbar-with-attached-buffer)
10260 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10261 (speedbar-with-writable): Use backquote.
10262 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10263 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10264 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10265 rather than speedbar- aliases.
10266 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10267 (speedbar-make-specialized-keymap, speedbar-insert-button)
10268 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10269 (speedbar-do-function-pointer): Declare.
10270 (rmail-speedbar-button, rmail-speedbar-find-file)
10271 (rmail-speedbar-move-message):
10272 Use dframe-with-attached-buffer rather than speedbar- alias.
10273 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10274 (dframe-message, speedbar-make-specialized-keymap)
10275 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10276 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10277 (speedbar-insert-button, dframe-select-attached-frame)
10278 (dframe-maybee-jump-to-attached-frame)
10279 (speedbar-change-initial-expansion-list)
10280 (speedbar-previously-used-expansion-list-name): Declare.
10281 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10282 Use dframe-message, dframe-with-attached-buffer rather than
10283 speedbar- aliases.
10284 (gud-sentinel): Silence compiler.
10285 * progmodes/vhdl-mode.el (speedbar-refresh)
10286 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10287 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10288 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10289 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10290 (speedbar-file-lists, speedbar-make-tag-line)
10291 (speedbar-line-directory, speedbar-goto-this-file)
10292 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10293 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10294 (speedbar-make-button, speedbar-reset-scanners)
10295 (speedbar-files-item-info, speedbar-line-text)
10296 (speedbar-find-file-in-frame, speedbar-set-timer)
10297 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10298 (speedbar-with-writable): Do not (re)define it.
10299 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10300 rather than speedbar- alias.
10301
10302 2013-05-21 Leo Liu <sdl.web@gmail.com>
10303
10304 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10305 menu items.
10306 (octave-mode): Tweak fill-nobreak-predicate.
10307 (inferior-octave-startup): Check process to avoid infinite loop.
10308 (inferior-octave): Pop to buffer first to show abornmal process
10309 exit information.
10310
10311 2013-05-21 Glenn Morris <rgm@gnu.org>
10312
10313 * printing.el (pr-menu-bar): Define when compiling.
10314
10315 2013-05-21 Leo Liu <sdl.web@gmail.com>
10316
10317 * progmodes/octave.el (octave-auto-fill): Remove.
10318 (octave-indent-new-comment-line): Improve.
10319 (octave-mode): Use auto fill mode through
10320 comment-line-break-function and fill-nobreak-predicate.
10321 (octave-goto-function-definition): Support DEFUN_DLD.
10322 (octave-beginning-of-defun): Small tweak.
10323 (octave-help): Show parent directory.
10324
10325 2013-05-21 Glenn Morris <rgm@gnu.org>
10326
10327 * files.el (dired-unmark):
10328 * progmodes/gud.el (gdb-input): Update declarations.
10329
10330 * calculator.el (electric, ehelp): No need to load when compiling.
10331 (Electric-command-loop, electric-describe-mode): Declare.
10332
10333 * doc-view.el (doc-view-current-converter-processes): Move before use.
10334
10335 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10336 Move MODE-set-explicitly definition before use.
10337
10338 * international/mule-diag.el (mule-diag):
10339 Don't use obsolete window-system-version.
10340
10341 * mail/feedmail.el (smtpmail): No need to load when compiling.
10342 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10343
10344 * mail/mail-utils.el (rfc822): No need to load when compiling.
10345 (rfc822-addresses): Autoload it.
10346 (mail-strip-quoted-names): Trivial simplification.
10347
10348 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10349 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10350
10351 * net/snmp-mode.el (tempo): Don't duplicate requires.
10352
10353 * progmodes/prolog.el (info): No need to load when compiling.
10354 (comint): Require before shell requires it.
10355 (Info-goto-node): Autoload it.
10356 (Info-follow-nearest-node): Declare.
10357 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10358
10359 * textmodes/artist.el (picture-mode-exit): Declare.
10360
10361 * textmodes/reftex-parse.el (reftex-parse-from-file):
10362 Trivial rewrite so the compiler can parse it better.
10363
10364 2013-05-20 Leo Liu <sdl.web@gmail.com>
10365
10366 * progmodes/octave.el (octave-help-mode-map)
10367 (octave-help-mode-finish-hook): New variables.
10368 (octave-help-mode, octave-help-mode-finish): New functions.
10369 (octave-help): Use octave-help-mode.
10370
10371 2013-05-20 Glenn Morris <rgm@gnu.org>
10372
10373 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10374
10375 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10376
10377 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10378 start at point, so that expansion starting right after opening
10379 slash in a regexp is recognized.
10380 (ruby-syntax-before-regexp-re): New defvar, extracted from
10381 ruby-syntax-propertize-function. Since the value of this regexp
10382 is looked up at runtime now, we should be able to turn
10383 `ruby-syntax-methods-before-regexp' into a defcustom later.
10384 (ruby-syntax-propertize-function): Split regexp matching into two
10385 parts, for opening and closing slashes. That allows us to skip
10386 over string interpolations and support multiline regexps.
10387 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10388 for them, which calls `ruby-syntax-propertize-expansion'.
10389 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10390 call to `ruby-syntax-propertize-function'.
10391 (ruby-syntax-propertize-expansion): Extracted from
10392 `ruby-syntax-propertize-expansions'. Handles one expansion.
10393 (ruby-syntax-propertize-percent-literal): Leave point right after
10394 the percent symbol, so that the expression expansion rule can
10395 propertize the contents.
10396 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10397 heredoc openers.
10398 (ruby-syntax-propertize-expansions): Remove.
10399
10400 2013-05-18 Juri Linkov <juri@jurta.org>
10401
10402 * man.el (Man-default-man-entry): Remove `-' from the end
10403 of the default value. (Bug#14400)
10404
10405 2013-05-18 Glenn Morris <rgm@gnu.org>
10406
10407 * comint.el (comint-password-prompt-regexp):
10408 Allow "password for XXX" where XXX contains colons (eg https://...).
10409
10410 2013-05-18 Leo Liu <sdl.web@gmail.com>
10411
10412 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10413 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10414 (octave-source-directories): Don't check process.
10415 (octave-source-directories, octave-find-definition): Doc fix.
10416
10417 2013-05-18 Glenn Morris <rgm@gnu.org>
10418
10419 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10420 Remove backspace/delete bindings. (Bug#14392)
10421
10422 * cus-dep.el (custom-make-dependencies): Sort the output.
10423 (custom-versions-load-alist): Convert comment to doc.
10424
10425 2013-05-17 Leo Liu <sdl.web@gmail.com>
10426
10427 * newcomment.el (comment-search-backward): Stricter in finding
10428 comment start. (Bug#14303)
10429
10430 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10431 (octave-comment-start-skip): Properly anchored.
10432
10433 2013-05-17 Leo Liu <sdl.web@gmail.com>
10434
10435 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10436 Clean up when turned off. (Bug#14395)
10437 (smie--highlight-matching-block-overlay): No longer buffer-local.
10438 (smie-highlight-matching-block): Adjust.
10439
10440 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10441
10442 Doc string fix for "nanoseconds" (Bug#14406).
10443 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10444 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10445
10446 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10447
10448 * calc/calc-units.el (math-extract-units): Preserve powers
10449 of units.
10450
10451 2013-05-17 Leo Liu <sdl.web@gmail.com>
10452
10453 * subr.el (delete-consecutive-dups): New function.
10454 * ido.el (ido-set-matches-1): Use it.
10455 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10456 * ido.el (ido-remove-consecutive-dups): Remove.
10457
10458 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10459
10460 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10461 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10462 regexp-opt's `words'.
10463
10464 2013-05-16 Leo Liu <sdl.web@gmail.com>
10465
10466 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10467 (smie--highlight-matching-block-overlay)
10468 (smie--highlight-matching-block-lastpos)
10469 (smie--highlight-matching-block-timer): New variables.
10470 (smie-highlight-matching-block): New function.
10471 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10472 (smie-setup): Conditionally enable smie-blink-matching-open.
10473
10474 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10475
10476 Sync with upstream verilog-mode r840.
10477 * progmodes/verilog-mode.el (verilog-mode-version)
10478 (verilog-mode-release-date): Update.
10479 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10480 (verilog-sig-tieoff): Fix string error on
10481 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10482 (verilog-read-decls): Fix parameters confusing
10483 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10484
10485 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10486
10487 * subr.el (reveal-filename): New function.
10488
10489 * loadup.el: Compute Emacs executable versions on MS-Windows,
10490 where executables have the .exe extension. Add a hard link
10491 emacs-XX.YY.ZZ.exe on MS-Windows.
10492
10493 * Makefile.in (XARGS_LIMIT): New variable.
10494 (custom-deps, finder-data, autoloads)
10495 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10496 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10497 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10498 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10499
10500 2013-05-16 Leo Liu <sdl.web@gmail.com>
10501
10502 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10503 (octave-mode-menu, octave-mode-map): Remove its uses.
10504
10505 2013-05-16 Reto Zimmermann <reto@gnu.org>
10506
10507 Sync with upstream vhdl mode v3.34.2.
10508 * progmodes/vhdl-mode.el: Use `push' throughout.
10509 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10510 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10511 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10512 (vhdl-actual-generic-name): New option to derive actual generic name.
10513 (vhdl-port-paste-signals): Replace formal by actual generics.
10514 (vhdl-beautify): New name for old group vhdl-align. Update users.
10515 (vhdl-beautify-options): New option.
10516 (vhdl-last-input-event): New compat alias. Use throughout.
10517 (vhdl-goto-line): Replace user level function `goto-line'.
10518 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10519 vhdl-fix-statement-buffer.
10520 (vhdl-create-mode-menu): Add some entries.
10521 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10522 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10523 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10524 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10525 to force statements on one line.
10526 (vhdl-remove-trailing-spaces-region):
10527 New, split from vhdl-remove-trailing-spaces.
10528 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10529 Respect vhdl-beautify-options.
10530 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10531 (vhdl-update-sensitivity-list): Not add with index if exists without.
10532 Not include array index with signal. Ignore keywords in comments.
10533 (vhdl-get-visible-signals): Regexp tweaks.
10534 (vhdl-template-component-inst): Handle empty library.
10535 (vhdl-template-type): Add template for 'enum' type.
10536 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10537 Use vhdl-replace-string.
10538 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10539 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10540 (vhdl-speedbar-initialize): Update for above name change.
10541 (vhdl-compose-wire-components): Fix in handling of constants.
10542 (vhdl-error-regexp-emacs-alist): New variable.
10543 (vhdl-error-regexp-add-emacs): New function;
10544 adds support for new compile.el (Emacs 22+)
10545 (vhdl-generate-makefile-1): Change target order for single lib. units.
10546 Allow use of absolute file names.
10547
10548 2013-05-16 Leo Liu <sdl.web@gmail.com>
10549
10550 * simple.el (prog-indent-sexp): Indent enclosing defun.
10551
10552 2013-05-15 Glenn Morris <rgm@gnu.org>
10553
10554 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10555 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10556 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10557 (whitespace-highlight): Move to whitespace group.
10558
10559 * comint.el (comint-source):
10560 * pcmpl-linux.el (pcmpl-linux):
10561 * shell.el (shell-faces):
10562 * eshell/esh-opt.el (eshell-opt):
10563 * international/ccl.el (ccl): Remove empty custom groups.
10564
10565 * completion.el (dynamic-completion-mode):
10566 * jit-lock.el (jit-lock-debug-mode):
10567 * minibuffer.el (completion-in-region-mode):
10568 * type-break.el (type-break-mode-line-message-mode)
10569 (type-break-query-mode):
10570 * emulation/tpu-edt.el (tpu-edt-mode):
10571 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10572 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10573 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10574
10575 * term/xterm.el (xterm): Change parent group to terminals.
10576
10577 * master.el (master): Remove empty custom group.
10578 (master-mode): Remove unused :group argument.
10579 * textmodes/refill.el (refill): Remove empty custom group.
10580 (refill-mode): Remove unused :group argument.
10581
10582 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10583
10584 * cus-dep.el: Provide a feature.
10585 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10586 Don't mistakenly ignore files whose basenames match a basename
10587 from preloaded-file-list (eg cedet/ede/simple.el).
10588 Add a fallback method for getting :group.
10589
10590 2013-05-15 Juri Linkov <juri@jurta.org>
10591
10592 * isearch.el (isearch-char-by-name): Rename from
10593 `isearch-insert-char-by-name'. Doc fix.
10594 (isearch-forward): Mention `isearch-char-by-name' in
10595 the docstring. (Bug#13348)
10596
10597 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10598 `exit-minibuffer' instead of
10599 `isearch-nonincremental-exit-minibuffer'.
10600 (isearch-edit-string): Remove mention of
10601 `isearch-nonincremental-exit-minibuffer' from docstring.
10602 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10603 (isearch-forward-exit-minibuffer)
10604 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10605
10606 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10607
10608 * loadup.el: Just use unversioned DOC.
10609
10610 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10611 literals as extending to EOB.
10612 (nxml-last-fontify-end): Remove unused variable.
10613 (nxml-after-change1): Use with-silent-modifications.
10614 (nxml-extend-after-change-region): Simplify.
10615 (nxml-extend-after-change-region1): Remove function.
10616 (nxml-after-change1): Don't adjust for dependent regions.
10617 (nxml-fontify-matcher): Simplify.
10618 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10619 (xmltok-add-dependent): Remove function.
10620 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10621 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10622 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10623 unclosed <[[, <?, comment, and other literals as extending to EOB.
10624 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10625 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10626 Remove functions.
10627 (rng-do-some-validation-1): Don't mark dependent regions.
10628 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10629 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10630 (nxml-clear-dependent-regions): Remove functions.
10631 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10632 (nxml-ensure-scan-up-to-date):
10633 Don't clear&mark dependent regions.
10634
10635 2013-05-15 Leo Liu <sdl.web@gmail.com>
10636
10637 * progmodes/octave.el (octave-goto-function-definition):
10638 Improve and fix callers.
10639
10640 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10641
10642 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10643 the setter (bug#14387).
10644
10645 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10646 surrounding group (bug#14402).
10647
10648 2013-05-14 Juri Linkov <juri@jurta.org>
10649
10650 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10651 (Bug#14390)
10652
10653 2013-05-14 Glenn Morris <rgm@gnu.org>
10654
10655 * progmodes/f90.el (f90-imenu-generic-expression):
10656 Fix typo in 2013-05-08 change. (Bug#14402)
10657
10658 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10659
10660 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10661 Remove signals for which replies are never received.
10662
10663 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10664
10665 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10666 (gdb-handler-alist, gdb-handler-number): Remove variables.
10667 (gdb-handler-list): New variable.
10668 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10669 (gdb-pending-handler-p, gdb-handle-reply)
10670 (gdb-remove-all-pending-triggers): New functions.
10671 (gdb-discard-unordered-replies): New defcustom.
10672 (gdb-handler): New defstruct.
10673 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10674 instead of gdb-pending-triggers. Update docstring.
10675 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10676 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10677 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10678 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10679 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10680 (gdb-frame-handler): Pending triggers are now automatically managed.
10681 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10682 Remove argument.
10683 (gdb-input): Automatically handles pending triggers. Update docstring.
10684 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10685 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10686 Update comments.
10687 (gdb-done-or-error): Now use gdb-handle-reply.
10688
10689 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10690
10691 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10692 gdb-debug-log.
10693
10694 2013-05-14 Glenn Morris <rgm@gnu.org>
10695
10696 * subr.el (user-emacs-directory-warning): New option.
10697 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10698
10699 2013-05-14 Leo Liu <sdl.web@gmail.com>
10700
10701 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10702 during redisplay.
10703 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10704 (octave-font-lock-texinfo-comment): Fix invalid search bound
10705 error: wrong side of point.
10706
10707 2013-05-14 Glenn Morris <rgm@gnu.org>
10708
10709 * progmodes/flymake.el (flymake-xml-program): New option.
10710 (flymake-xml-init): Use it.
10711
10712 * term/xterm.el: Provide a feature.
10713
10714 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10715
10716 2013-05-13 Glenn Morris <rgm@gnu.org>
10717
10718 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10719 Add compat aliases as a hack workaround. (Bug#14384)
10720
10721 2013-05-13 Leo Liu <sdl.web@gmail.com>
10722
10723 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10724 ###, and %!.
10725 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10726 C-M-q.
10727 (octave-comment-start-skip): Include %!.
10728 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10729
10730 2013-05-12 Leo Liu <sdl.web@gmail.com>
10731
10732 * progmodes/octave.el (inferior-octave-startup): Store the value
10733 of __octave_srcdir__ for octave-source-directories.
10734 (inferior-octave-check-process): New function refactored out of
10735 inferior-octave-send-list-and-digest.
10736 (octave-source-directories)
10737 (octave-find-definition-filename-function): New variables.
10738 (octave-source-directories)
10739 (octave-find-definition-default-filename): New functions.
10740 (octave-find-definition): Improve to find functions implemented in C++.
10741
10742 2013-05-12 Glenn Morris <rgm@gnu.org>
10743
10744 * calendar/diary-lib.el (diary-outlook-format-1):
10745 Don't include dayname in the output. (Bug#14349)
10746
10747 2013-05-11 Glenn Morris <rgm@gnu.org>
10748
10749 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10750
10751 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10752 Treat cc-provide like provide.
10753
10754 2013-05-11 Kevin Ryde <user42@zip.com.au>
10755
10756 * cus-dep.el (custom-make-dependencies):
10757 Use generated-autoload-load-name for the sake of files such
10758 such cedet/semantic/bovine/c.el, where the base file name
10759 is not in load-path. (Bug#5277)
10760
10761 2013-05-11 Glenn Morris <rgm@gnu.org>
10762
10763 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10764 Provide features.
10765
10766 2013-05-11 Leo Liu <sdl.web@gmail.com>
10767
10768 * progmodes/octave.el (octave-indent-comment): Improve.
10769 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10770 (octave-eldoc-function-signatures, octave-eldoc-function):
10771 New functions.
10772 (octave-mode, inferior-octave-mode): Add eldoc support.
10773
10774 2013-05-11 Richard Stallman <rms@gnu.org>
10775
10776 * epa.el (epa-decrypt-file): Take output file name as argument
10777 and read it using `interactive'.
10778
10779 2013-05-11 Leo Liu <sdl.web@gmail.com>
10780
10781 * progmodes/octave.el (octave-beginning-of-line)
10782 (octave-end-of-line): Check before using up-list because it jumps
10783 out of more syntactic contructs since moving to smie.
10784 (octave-indent-comment): New function.
10785 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10786 (octave-begin-keywords, octave-end-keywords)
10787 (octave-reserved-words, octave-smie-bnf-table)
10788 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10789
10790 2013-05-11 Glenn Morris <rgm@gnu.org>
10791
10792 * faces.el (internal-face-x-get-resource):
10793 * frame.el (ns-display-monitor-attributes-list):
10794 * calc/calc-aent.el (math-to-radians-2):
10795 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10796 Fix declarations.
10797
10798 * calc/calc-menu.el: Make it loadable in isolation.
10799
10800 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10801 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10802 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10803 (eudc-bbdb-query-internal): Require 'bbdb.
10804
10805 * lpr.el (lpr-headers-switches):
10806 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10807
10808 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10809
10810 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10811
10812 * term.el (term-set-escape-char): Make it idempotent.
10813
10814 2013-05-10 Leo Liu <sdl.web@gmail.com>
10815
10816 * progmodes/octave.el (inferior-octave-completion-table):
10817 No longer a function and all uses changed. Use cache to speed up
10818 completion due to bug#11906.
10819 (octave-beginning-of-defun): Re-write to be more general.
10820
10821 2013-05-10 Glenn Morris <rgm@gnu.org>
10822
10823 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10824
10825 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * comint.el (comint-redirect-send-command-to-process): Use :around
10828 rather than :override for comint-redirect-filter.
10829 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10830 Call it instead of comint-redirect-original-filter-function (which
10831 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10832
10833 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10834
10835 * frame.el (display-monitor-attributes-list): Add NS case.
10836 (ns-display-monitor-attributes-list): Declare.
10837
10838 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10839
10840 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10841
10842 2013-05-09 Glenn Morris <rgm@gnu.org>
10843
10844 * international/fontset.el (vertical-centering-font-regexp):
10845 Set standard-value.
10846
10847 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10848
10849 * bookmark.el (bookmark-search-delay):
10850 * cus-start.el (vertical-centering-font-regexp):
10851 * ps-mule.el (ps-mule-font-info-database-default):
10852 * ps-print.el (ps-default-fg, ps-default-bg):
10853 * type-break.el (type-break-good-break-interval):
10854 * whitespace.el (whitespace-indentation-regexp)
10855 (whitespace-space-after-tab-regexp):
10856 * emacs-lisp/testcover.el (testcover-1value-functions)
10857 (testcover-noreturn-functions, testcover-progn-functions)
10858 (testcover-prog1-functions):
10859 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10860 * eshell/em-glob.el (eshell-glob-translate-alist):
10861 * play/tetris.el (tetris-tty-colors):
10862 * progmodes/cpp.el (cpp-face-default-list):
10863 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10864 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10865 (idlwave-help-browser-generic-args):
10866 * progmodes/make-mode.el (makefile-special-targets-list):
10867 * progmodes/python.el (python-shell-virtualenv-path):
10868 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10869 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10870 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10871 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10872 * textmodes/reftex-vars.el (reftex-format-label-function):
10873 * textmodes/remember.el (remember-diary-file): Fix custom types.
10874
10875 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10876 Add :version.
10877
10878 2013-05-09 Leo Liu <sdl.web@gmail.com>
10879
10880 * progmodes/octave.el (inferior-octave-completion-at-point):
10881 Restore file completion. (Bug#14300)
10882 (inferior-octave-startup): Fix incorrect highlighting for the
10883 first prompt.
10884
10885 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10886
10887 * progmodes/ruby-mode.el: First cut at SMIE support.
10888 (ruby-use-smie): New var.
10889 (ruby-smie-grammar): New constant.
10890 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10891 (ruby-smie--forward-token, ruby-smie--backward-token)
10892 (ruby-smie-rules): New functions.
10893 (ruby-mode-variables): Setup SMIE if applicable.
10894
10895 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10896
10897 * simple.el (line-move-visual): Signal beginning/end of buffer
10898 only if vertical-motion moved less than it was requested. Avoids
10899 silly incorrect error messages when there are display strings with
10900 multiple newlines at EOL.
10901
10902 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10903
10904 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10905 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10906 (prolog-char-quote-workaround):
10907 * progmodes/cperl-mode.el (cperl-under-as-char):
10908 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10909 Mark as obsolete.
10910 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10911 their declaration.
10912 (vhdl-mode-syntax-table-init): Remove.
10913
10914 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10915 last change.
10916
10917 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10918 syntax for "_".
10919 (ld-script-font-lock-keywords):
10920 Change regexps to use things like \_< and \_>.
10921
10922 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10923 Change all regexps to use things like \_< and \_>.
10924
10925 * progmodes/autoconf.el (autoconf-definition-regexp)
10926 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10927 Handle a _ with symbol syntax.
10928 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10929
10930 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10931 Consolidate declaration.
10932 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10933 the declaration.
10934 (ada-create-syntax-table): Remove.
10935 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10936 already has the right syntax nowadays.
10937 (ada-goto-next-word): Don't change the syntax of "_".
10938
10939 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10940 with-wrapper-hook.
10941
10942 2013-05-08 Sam Steingold <sds@gnu.org>
10943
10944 * thingatpt.el (thing-at-point): Accept optional second argument
10945 NO-PROPERTIES to strip the text properties from the return value.
10946 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10947 to `thing-at-point' instead of stripping the properties ourselves.
10948 Also, when `thing-at-point' fails to find a url, prepend "http://"
10949 to the filename at point on the assumption that the user is
10950 pointing at something like gnu.org/gnu.
10951
10952 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10953
10954 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10955 * faces.el (crm-separator):
10956 Silence byte-compiler.
10957
10958 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10959 (tool-bar-map): Remove unneeded defvars.
10960
10961 2013-05-08 Leo Liu <sdl.web@gmail.com>
10962
10963 Re-work a fix for bug#10994 based on Le Wang's patch.
10964 * ido.el (ido-remove-consecutive-dups): New helper.
10965 (ido-completing-read): Use it.
10966 (ido-chop): Revert fix for bug#10994.
10967
10968 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10969
10970 * cus-edit.el (custom-save-variables):
10971 Pretty-print long values. (Bug#14187)
10972
10973 2013-05-08 Glenn Morris <rgm@gnu.org>
10974
10975 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10976 (m4-mode-syntax-table): Init in the defvar.
10977 (m4-mode-abbrev-table): Let define-derived-mode define it.
10978
10979 2013-05-08 Tom Tromey <tromey@redhat.com>
10980
10981 * progmodes/m4-mode.el (m4-mode-syntax-table):
10982 Do not treat "_" as word constituent. (Bug#14167)
10983
10984 2013-05-07 Glenn Morris <rgm@gnu.org>
10985
10986 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10987 Remove explicit eshell-isearch-cancel-map.
10988
10989 * progmodes/f90.el (f90-smart-end-names): New option.
10990 (f90-smart-end): Doc fix.
10991 (f90-end-block-optional-name): New constant.
10992 (f90-block-match): Respect f90-smart-end-names.
10993
10994 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10997 about implicit semi-colons (bug#14218).
10998
10999 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11000
11001 * frame.el (display-monitor-attributes-list)
11002 (frame-monitor-attributes): New functions.
11003
11004 2013-05-06 Leo Liu <sdl.web@gmail.com>
11005
11006 * progmodes/octave.el (octave-syntax-propertize-function): Change
11007 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11008 (octave-font-lock-keywords): Use octave-operator-regexp.
11009 (octave-completion-at-point): Rename from
11010 octave-completion-at-point-function.
11011 (inferior-octave-directory-tracker): Robustify.
11012 (octave-text-functions): Remove and fix its uses. No such things
11013 any more.
11014
11015 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11016
11017 * emacs-lisp/trace.el (trace--display-buffer): New function.
11018 (trace-make-advice): Use it.
11019
11020 2013-05-06 Juri Linkov <juri@jurta.org>
11021
11022 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11023 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11024 Doc fix.
11025 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11026 in the help string. (Bug#12985)
11027
11028 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11029
11030 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11031
11032 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * progmodes/perl-mode.el: Add support for here documents.
11035 (perl-syntax-propertize-function): Match here-doc markers.
11036 (perl-syntax-propertize-special-constructs): Find their end.
11037 (perl-imenu-generic-expression): Use [:alnum:].
11038
11039 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11040 (advice--add-function): Refresh the advice if already present
11041 (bug#14317).
11042
11043 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11044
11045 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11046
11047 2013-05-06 Glenn Morris <rgm@gnu.org>
11048
11049 * w32-fns.el (w32-charset-info-alist): Declare.
11050
11051 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11052 of its defcustom properties.
11053 (eshell-cmpl-initialize): No need to load pcomplete.
11054
11055 * generic-x.el: No need to require comint when compiling.
11056
11057 * net/eudc-export.el: Make it loadable without bbdb.
11058 (top-level): Use require rather than load-library.
11059 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11060 (eudc-batch-export-records-to-bbdb)
11061 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11062 Require bbdb.
11063
11064 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11067 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11068 some tweaks, instead.
11069
11070 2013-05-05 Leo Liu <sdl.web@gmail.com>
11071
11072 * progmodes/octave.el (octave-font-lock-keywords)
11073 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11074 (inferior-octave-send-list-and-digest): Improve error message.
11075 (octave-mode, inferior-octave-mode): Use setq-local.
11076 (octave-help): Set info-lookup-mode.
11077
11078 2013-05-05 Richard Stallman <rms@gnu.org>
11079
11080 * vc/compare-w.el (compare-windows-whitespace):
11081 Treat no-break space as whitespace.
11082
11083 * mail/rmailsum.el (rmail-summary-rmail-update):
11084 Detect empty summary and don't change selected message.
11085 (rmail-summary-goto-msg): Likewise.
11086
11087 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11088 Doc fixes, rename args.
11089
11090 2013-05-05 Alan Mackenzie <acm@muc.de>
11091
11092 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11093
11094 2013-05-05 Juri Linkov <juri@jurta.org>
11095
11096 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11097 to not add the length of the summary segment to the return value.
11098 (Bug#14125)
11099
11100 2013-05-05 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11103 (inferior-octave-output-filter): Remove.
11104 (octave-send-region, inferior-octave-startup): Fix callers.
11105 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11106 (octave-binary-file-extensions): New user variable.
11107 (octave-find-definition): Confirm if opening binary files.
11108 (octave-help-file): Use octave-find-definition to get the binary
11109 confirmation.
11110 (octave-help): Adjust for octave-help-file change.
11111
11112 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11115 Merge the two entries that handle function definitions.
11116 (pascal--syntax-propertize): New const.
11117 (pascal-mode): Use it. Use setq-local.
11118
11119 2013-05-04 Glenn Morris <rgm@gnu.org>
11120
11121 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11122 (diary-from-outlook): Respect diary-from-outlook-function.
11123
11124 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11125
11126 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11127 Move the declaration from C.
11128 (read-minibuffer, eval-minibuffer): Move from C.
11129 (completion-setup-function): Avoid minibuffer-completion-contents.
11130
11131 2013-05-03 Leo Liu <sdl.web@gmail.com>
11132
11133 * progmodes/octave.el (octave-font-lock-keywords): Do not
11134 dehighlight 'end' in comments or strings.
11135 (octave-completing-read, octave-goto-function-definition):
11136 New helpers.
11137 (octave-help-buffer): New user variable.
11138 (octave-help-file, octave-help-function): New button types.
11139 (octave-help): New command and bind it to C-h ;.
11140 (octave-find-definition): New command and bind it to M-.
11141 (user-error): Alias to error if not defined.
11142
11143 2013-05-02 Leo Liu <sdl.web@gmail.com>
11144
11145 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11146 for \. (bug#14332)
11147 (octave-font-lock-keywords): Include [ and {.
11148
11149 2013-05-02 Leo Liu <sdl.web@gmail.com>
11150
11151 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11152 (inferior-octave): Remove calling comint-mode and return the buffer.
11153 (inferior-octave-startup): Cosmetic changes.
11154
11155 2013-05-02 Leo Liu <sdl.web@gmail.com>
11156
11157 * progmodes/octave.el (octave-syntax-propertize-function):
11158 Include the case when ' is at line beginning. (Bug#14336)
11159
11160 2013-05-02 Glenn Morris <rgm@gnu.org>
11161
11162 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11163 * desktop.el (vc-dir-mode): Just autoload it here.
11164
11165 2013-05-02 Alan Mackenzie <acm@muc.de>
11166
11167 Eliminate variable c-standard-font-lock-fontify-region-function.
11168 * progmodes/cc-mode.el
11169 (c-standard-font-lock-fontify-region-function): Remove.
11170 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11171
11172 2013-05-01 Leo Liu <sdl.web@gmail.com>
11173
11174 * progmodes/octave.el: Compatible with older emacs-24 releases.
11175 (inferior-octave-has-built-in-variables): Remove. Built-in
11176 variables were removed from Octave in 2007.
11177 (inferior-octave-startup): Fix uses.
11178 (comint-line-beginning-position): Remove compatibility code for
11179 emacs 21.
11180
11181 2013-05-01 Juri Linkov <juri@jurta.org>
11182
11183 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11184
11185 2013-05-01 Juri Linkov <juri@jurta.org>
11186
11187 * comint.el (comint-previous-matching-input): Don't print message
11188 "History item: %d" when `isearch-mode' is active.
11189 (comint-history-isearch-message): Print message "History item: %d"
11190 when `comint-input-ring-index' is not empty and this function is
11191 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11192
11193 2013-05-01 Leo Liu <sdl.web@gmail.com>
11194
11195 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11196 definitions. Use completion-at-point to insert keywords.
11197 (octave-abbrev-start): Remove.
11198 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11199
11200 2013-04-30 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11203 change.
11204
11205 2013-04-30 Alan Mackenzie <acm@muc.de>
11206
11207 Handle arbitrarily long C++ member initialisation lists.
11208 * progmodes/cc-engine.el (c-back-over-member-initializers):
11209 new function.
11210 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11211 (most) member init lists.
11212
11213 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11214
11215 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11216 variable.
11217
11218 2013-04-30 Leo Liu <sdl.web@gmail.com>
11219
11220 * progmodes/octave.el (octave-variables): Remove. No builtin
11221 variables any more. All converted to functions.
11222 (octave-font-lock-keywords, octave-completion-at-point-function):
11223 Fix uses.
11224 (octave-font-lock-texinfo-comment): New user variable.
11225 (octave-texinfo-font-lock-keywords): New variable for texinfo
11226 comment block.
11227 (octave-function-comment-block): New face.
11228 (octave-font-lock-texinfo-comment): New function.
11229 (octave-mode): Font lock texinfo comment block.
11230
11231 2013-04-29 Leo Liu <sdl.web@gmail.com>
11232
11233 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11234 indexing expression.
11235 (octave-continuation-string): Do not use \.
11236 (inferior-octave-complete-impossible): Remove.
11237 (inferior-octave-completion-table)
11238 (inferior-octave-completion-at-point): Remove its uses.
11239 (inferior-octave-startup): completion_matches was introduced to
11240 Octave in 1996 so safe to assume it.
11241 (octave-function-file-comment): Improve to follow how Octave does it.
11242 (octave-update-function-file-comment): Tweak.
11243
11244 2013-04-29 Leo Liu <sdl.web@gmail.com>
11245
11246 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11247 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11248 (octave-function-file-comment): Fix typo.
11249 (octave-sync-function-file-names): Use read-char-choice.
11250
11251 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11252
11253 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11254 to t for the less important warnings.
11255
11256 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11257
11258 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11259
11260 2013-04-27 Glenn Morris <rgm@gnu.org>
11261
11262 * vc/log-view.el (log-view-current-entry):
11263 Treat "---" separator lines as part of the following rev. (Bug#14169)
11264
11265 2013-04-27 Juri Linkov <juri@jurta.org>
11266
11267 * subr.el (read-number): Doc fix about using it by interactive
11268 code letter `n'. (Bug#14254)
11269
11270 2013-04-27 Juri Linkov <juri@jurta.org>
11271
11272 * desktop.el (desktop-auto-save-timeout): New option.
11273 (desktop-file-checksum): New variable.
11274 (desktop-save): Add optional arg `auto-save' and don't auto-save
11275 if nothing changed.
11276 (desktop-auto-save-timer): New variable.
11277 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11278 (after-init-hook): Call `desktop-auto-save-set-timer'.
11279 Suggested by Reuben Thomas <rrt@sc3d.org> in
11280 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11281
11282 2013-04-27 Leo Liu <sdl.web@gmail.com>
11283
11284 * progmodes/octave.el (octave-function-file-p)
11285 (octave-skip-comment-forward, octave-function-file-comment)
11286 (octave-update-function-file-comment): New functions.
11287 (octave-mode-map): Bind C-c ; to
11288 octave-update-function-file-comment.
11289 (octave-mode-menu): Add octave-update-function-file-comment.
11290 (octave-mode, inferior-octave-mode): Fix doc-string.
11291 (octave-insert-defun): Conform to Octave's coding convention.
11292 (Bug#14285)
11293
11294 * files.el (basic-save-buffer): Don't let errors in
11295 before-save-hook prevent saving buffer.
11296
11297 2013-04-20 Roland Winkler <winkler@gnu.org>
11298
11299 * faces.el (read-face-name): Use completing-read if arg multiple
11300 is nil.
11301
11302 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11303
11304 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11305 displayed, move point to after the totals line.
11306 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11307 for the details.
11308
11309 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11310
11311 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11312 Add current dir to the load-path.
11313 (package-generate-autoloads): Don't rely on
11314 autoload-ensure-default-file.
11315
11316 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11317
11318 * textmodes/remember.el (remember-store-in-files): Document that
11319 the file name format is passed to `format-time-string'.
11320
11321 2013-04-26 Leo Liu <sdl.web@gmail.com>
11322
11323 * progmodes/octave.el (octave-sync-function-file-names): New function.
11324 (octave-mode): Use it in before-save-hook.
11325
11326 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11329 (bug#14274).
11330
11331 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11332 \n and comment, even if it's not an implicit ; (bug#14218).
11333
11334 2013-04-26 Glenn Morris <rgm@gnu.org>
11335
11336 * subr.el (read-number): Once more use `read' rather than
11337 `string-to-number', to trap non-numeric input. (Bug#14254)
11338
11339 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11340
11341 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11342 Use `syntax-multiline' text property consistently instead of
11343 `font-lock-multiline'. (Bug#14237)
11344
11345 2013-04-26 Glenn Morris <rgm@gnu.org>
11346
11347 * emacs-lisp/shadow.el (list-load-path-shadows):
11348 No longer necessary to check for duplicate simple.el, since
11349 2012-07-07 change to init_lread to not include installation lisp
11350 directories in load-path when running uninstalled. (Bug#14270)
11351
11352 2013-04-26 Leo Liu <sdl.web@gmail.com>
11353
11354 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11355 (octave-mode, inferior-octave-mode): Use setq-local.
11356 (octave-not-in-string-or-comment-p): Rename to
11357 octave-in-string-or-comment-p.
11358 (octave-in-comment-p, octave-in-string-p)
11359 (octave-in-string-or-comment-p): Replace defsubst with defun.
11360
11361 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11362
11363 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11364
11365 2013-04-25 Bastien Guerry <bzg@gnu.org>
11366
11367 * textmodes/remember.el (remember-data-directory)
11368 (remember-directory-file-name-format): Fix custom types.
11369
11370 2013-04-25 Leo Liu <sdl.web@gmail.com>
11371
11372 * progmodes/octave.el (octave-completion-at-point-function):
11373 Make use of inferior octave process.
11374 (octave-initialize-completions): Remove.
11375 (inferior-octave-completion-table): New function.
11376 (inferior-octave-completion-at-point): Use it.
11377 (octave-completion-alist): Remove.
11378
11379 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11382 (opascal-mode-syntax-table): New var.
11383 (opascal-literal-kind, opascal-is-literal-end)
11384 (opascal-literal-token-at): Rewrite.
11385 (opascal--literal-start-re, opascal-font-lock-keywords)
11386 (opascal--syntax-propertize): New constants.
11387 (opascal-font-lock-defaults): Adjust.
11388 (opascal-mode): Use them. Set comment-<foo> variables as well.
11389 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11390 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11391 (delphi-other-face, opascal-other-face): Remove face variables.
11392 (opascal-save-state): Remove macro.
11393 (opascal-fontifying-progress-step): Remove constant.
11394 (opascal--ignore-changes): Remove var.
11395 (opascal-set-token-property, opascal-parse-next-literal)
11396 (opascal-is-stable-literal, opascal-complete-literal)
11397 (opascal-is-literal-start, opascal-face-of)
11398 (opascal-parse-region, opascal-parse-region-until-stable)
11399 (opascal-fontify-region, opascal-after-change)
11400 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11401 (opascal-debug-parse-region, opascal-debug-parse-window)
11402 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11403 (opascal-debug-fontify-buffer): Remove.
11404 (opascal-debug-mode-map): Adjust accordingly.
11405
11406 2013-04-25 Leo Liu <sdl.web@gmail.com>
11407
11408 Merge octave-mod.el and octave-inf.el into octave.el with some
11409 cleanups.
11410 * progmodes/octave.el: New file renamed from octave-mod.el.
11411 * progmodes/octave-inf.el: Merged into octave.el.
11412 * progmodes/octave-mod.el: Renamed to octave.el.
11413
11414 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11415
11416 * textmodes/reftex-vars.el
11417 (reftex-label-ignored-macros-and-environments): New defcustom.
11418
11419 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11420
11421 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11422
11423 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11424 (smie-indent-keyword): Improve the check to ensure that the next
11425 comment is really on the same line.
11426 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11427
11428 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11429 semi-colons if the line is not otherwise empty (bug#14218).
11430
11431 2013-04-25 Glenn Morris <rgm@gnu.org>
11432
11433 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11434
11435 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11436
11437 * progmodes/opascal.el (opascal-set-token-property): Rename from
11438 opascal-set-text-properties and only set `token' (bug#14134).
11439 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11440 (opascal-literal-text-properties): Remove.
11441 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11442 Adjust callers.
11443
11444 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11445
11446 * textmodes/remember.el (remember-handler-functions): Add an
11447 option for a new handler `remember-store-in-files'.
11448 (remember-data-directory, remember-directory-file-name-format):
11449 New options.
11450 (remember-store-in-files): New function to store remember notes
11451 as separate files within a directory.
11452
11453 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11454
11455 * progmodes/compile.el (compilation-next-error-function):
11456 Pass "formats" to compilation-find-file (bug#11777).
11457
11458 2013-04-24 Glenn Morris <rgm@gnu.org>
11459
11460 * vc/vc-bzr.el (vc-bzr-print-log):
11461 * vc/vc-hg.el (vc-hg-print-log):
11462 * vc/vc-svn.el (vc-svn-print-log):
11463 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11464
11465 * vc/vc-bzr.el (vc-bzr-print-log):
11466 * vc/vc-cvs.el (vc-cvs-print-log):
11467 * vc/vc-git.el (vc-git-print-log):
11468 * vc/vc-hg.el (vc-hg-print-log):
11469 * vc/vc-mtn.el (vc-mtn-print-log):
11470 * vc/vc-rcs.el (vc-rcs-print-log):
11471 * vc/vc-sccs.el (vc-sccs-print-log):
11472 * vc/vc-svn.el (vc-svn-print-log):
11473 * vc/vc.el (vc-print-log-internal): Doc fixes.
11474
11475 2013-04-23 Glenn Morris <rgm@gnu.org>
11476
11477 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11478 Remove venerable code attempting to avoid substitute-command-keys.
11479
11480 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11481
11482 * textmodes/reftex-vars.el (reftex-label-regexps):
11483 Call `reftex-compile-variables' after changes to this variable.
11484
11485 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11488 Use lexical-binding.
11489 (jit-lock-force-redisplay): Use markers, check buffer's continued
11490 existence and beware narrowed buffers.
11491 (jit-lock-fontify-now): Adjust call accordingly.
11492
11493 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11496 to avoid misleading the user.
11497
11498 2013-04-22 Leo Liu <sdl.web@gmail.com>
11499
11500 * info-look.el: Prefer latex2e.info. (Bug#14240)
11501
11502 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11503
11504 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11505
11506 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11507 * net/tramp.el (tramp-call-process): ... here.
11508 (tramp-set-completion-function, tramp-parse-putty):
11509 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11510 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11511 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11512 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11513 (tramp-call-local-coding-command): Use `tramp-call-process'
11514 instead of `tramp-compat-call-process'.
11515
11516 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11517 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11518 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11519 (tramp-find-inline-compress): Improve traces.
11520 (tramp-maybe-send-script): Check for Perl binary.
11521 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11522
11523 2013-04-22 Daiki Ueno <ueno@gnu.org>
11524
11525 * epg.el (epg-context-pinentry-mode): New function.
11526 (epg-context-set-pinentry-mode): New function.
11527 (epg--start): Pass --pinentry-mode option to gpg command.
11528
11529 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11530
11531 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11532 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11533 `completion-at-point'. (Bug#13774)
11534
11535 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11536 default key binding for `describe-distribution' has been moved to
11537 `C-h C-o'. (Bug#13970)
11538
11539 2013-04-21 Glenn Morris <rgm@gnu.org>
11540
11541 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11542 Add doc strings.
11543 (vc-print-log): Clarify interactive prompt.
11544
11545 2013-04-20 Glenn Morris <rgm@gnu.org>
11546
11547 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11548 No longer include timestamp etc information.
11549
11550 2013-04-20 Roland Winkler <winkler@gnu.org>
11551
11552 * faces.el (read-face-name): Bug fix, return just one face if arg
11553 multiple is nil. (Bug#14209)
11554
11555 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11556
11557 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11558 (remove-function): Autoload.
11559
11560 * comint.el (comint-redirect-original-filter-function): Remove.
11561 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11562 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11563 (vc-cvs-annotate-command):
11564 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11565 * progmodes/prolog.el (prolog-consult-compile):
11566 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11567 Use add/remove-function instead.
11568 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11569 (gud-tooltip-process-output, gud-tooltip-tips):
11570 Use add/remove-function instead.
11571 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11572 (scheme-interaction-mode, exit-scheme-interaction-mode):
11573 Use add/remove-function instead.
11574
11575 * vc/vc-dispatcher.el: Use lexical-binding.
11576 (vc--process-sentinel): Rename from vc-process-sentinel.
11577 Change last arg to be the code to run. Don't use vc-previous-sentinel
11578 and vc-sentinel-commands any more.
11579 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11580 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11581
11582 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11583
11584 * progmodes/sh-script.el (sh-imenu-generic-expression):
11585 Handle function names with a single character. (Bug#14111)
11586
11587 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11588
11589 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11590 for subroutines defined in an eval (bug#14182).
11591
11592 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11593
11594 * bookmark.el (bookmark-completing-read): Improve handling of empty
11595 string (bug#14176).
11596
11597 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11598
11599 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11600
11601 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11602
11603 New faster Imenu implementation (bug#14058).
11604 * progmodes/python.el:
11605 (python-imenu-prev-index-position):
11606 (python-imenu-format-item-label-function)
11607 (python-imenu-format-parent-item-label-function)
11608 (python-imenu-format-parent-item-jump-label-function):
11609 New vars.
11610 (python-imenu-format-item-label)
11611 (python-imenu-format-parent-item-label)
11612 (python-imenu-format-parent-item-jump-label)
11613 (python-imenu--put-parent, python-imenu--build-tree)
11614 (python-imenu-create-index, python-imenu-create-flat-index)
11615 (python-util-popn): New functions.
11616 (python-mode): Set imenu-create-index-function to
11617 python-imenu-create-index.
11618
11619 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * winner.el (winner-active-region): Use region-active-p, activate-mark
11622 and deactivate-mark (bug#14225).
11623
11624 * simple.el (deactivate-mark): Don't inline it.
11625
11626 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11627
11628 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11629
11630 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11631
11632 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11633 file extensions from the archive-mode entry in order to prefer
11634 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11635
11636 2013-04-18 Leo Liu <sdl.web@gmail.com>
11637
11638 * bindings.el (help-event-list): Add ?\?.
11639
11640 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * subr.el (with-wrapper-hook): Declare obsolete.
11643 * simple.el (filter-buffer-substring-function): New hook.
11644 (filter-buffer-substring): Use it.
11645 (filter-buffer-substring-functions): Mark obsolete.
11646 * minibuffer.el (completion-in-region-function): New hook.
11647 (completion-in-region): Use it.
11648 (completion-in-region-functions): Mark obsolete.
11649 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11650 * abbrev.el (abbrev-expand-function): New hook.
11651 (expand-abbrev): Use it.
11652 (abbrev-expand-functions): Mark obsolete.
11653 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11654 and :filter-return.
11655
11656 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11657
11658 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11659 and do not care about match data.
11660
11661 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11662
11663 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11664 completion tables when completing error conditions and
11665 `declare' arguments.
11666 (lisp-complete-symbol, field-complete): Mark as obsolete.
11667 (check-parens): Unmatched parens are user errors.
11668 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11669
11670 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11671
11672 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11673 command changed buffer (ie. `flyspell-pre-buffer' is not current
11674 buffer), which prevents making decisions based on invalid value of
11675 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11676 cause an error when `flyspell-pre-point' was nil after switching
11677 buffers.
11678 (flyspell-post-command-hook): No longer needs to change buffers when
11679 checking pre-word. While at it remove unnecessary progn.
11680
11681 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11682
11683 * textmodes/ispell.el (ispell-add-per-file-word-list):
11684 Fix `flyspell-correct-word-before-point' error when accepting
11685 words and `coment-padding' is an integer by using
11686 `comment-normalize-vars' (Bug #14214).
11687
11688 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11689
11690 New defun movement commands.
11691 * progmodes/python.el (python-nav--syntactically)
11692 (python-nav--forward-defun, python-nav-backward-defun)
11693 (python-nav-forward-defun): New functions.
11694
11695 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11696
11697 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11698 (python-syntax-context): Use named compiler-macro for backwards
11699 compatibility with Emacs 24.x.
11700
11701 2013-04-17 Leo Liu <sdl.web@gmail.com>
11702
11703 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11704 octave-hide-process-buffer.
11705
11706 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11709 (bug#14216).
11710
11711 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11712
11713 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11714 Fix adjustment of offset when receiving incomplete responses from GDB
11715 (bug#14129).
11716
11717 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11720 python-mode-abbrev-table.
11721 (python-skeleton-define): Adjust accordingly.
11722 (python-mode-abbrev-table): New table that inherits from it so that
11723 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11724
11725 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11726 (abbrev-symbol): Use it.
11727 (abbrev--before-point): Use it since we already handle inheritance.
11728
11729 2013-04-16 Leo Liu <sdl.web@gmail.com>
11730
11731 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11732 binding to info-lookup-symbol.
11733
11734 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * minibuffer.el (completion--twq-all):
11737 * term/ns-win.el (ns-initialize-window-system):
11738 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11739
11740 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11743 global bindings.
11744
11745 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11746
11747 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11748
11749 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11750 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11751 to nil.
11752 (ruby-end-of-defun): Remove the unused arg, change the docstring
11753 to reflect that this function is only used as the value of
11754 `end-of-defun-function'.
11755 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11756 to reflect an earlier change that beginning/end-of-defun functions
11757 jump between methods in a class definition, as well as top-level
11758 functions.
11759
11760 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11761
11762 * minibuffer.el (minibuffer-complete): Don't just scroll
11763 a *Completions* that's been iconified.
11764 (minibuffer-force-complete): Make sure repetitions do cycle when going
11765 through completion-in-region -> minibuffer-complete.
11766
11767 2013-04-15 Alan Mackenzie <acm@muc.de>
11768
11769 Correct the placement of c-cpp-delimiters when there're #s not at
11770 col 0.
11771
11772 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11773 place a submatch around the #.
11774 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11775 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11776 on the #, not BOL.
11777
11778 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11779
11780 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11781 (advice--member-p): New arg `name'.
11782 (advice--add-function, advice-member-p): Use it (bug#14202).
11783
11784 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11785
11786 Reformulate java imenu-generic-expression.
11787 The old expression contained ill formed regexps.
11788
11789 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11790 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11791 (cc-imenu-java-method-arg-regexp): New defconsts.
11792 (cc-imenu-java-build-type-args-regex): New defun.
11793 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11794 handling of spaces in the regexp.
11795
11796 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11797
11798 * textmodes/ispell.el (ispell-command-loop): Remove
11799 flyspell highlight of a word when ispell accepts it (bug #14178).
11800
11801 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11802
11803 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11804 uses code from the previous `ange-ftp-run-real-handler'.
11805 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11806 only in case that function exist. This is needed for proper
11807 unloading of Tramp.
11808
11809 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11810
11811 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11812
11813 * textmodes/reftex.el (reftex-compile-variables): Use it.
11814
11815 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11816
11817 * files.el (normal-mode): Only use default major-mode if no other mode
11818 was specified.
11819
11820 * emacs-lisp/trace.el (trace-values): New function.
11821
11822 * files.el: Allow : in local variables (bug#14089).
11823 (hack-local-variable-regexp): New var.
11824 (hack-local-variables-prop-line, hack-local-variables): Use it.
11825
11826 2013-04-13 Roland Winkler <winkler@gnu.org>
11827
11828 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11829 data before it gets modified by bibtex-beginning-of-entry.
11830
11831 2013-04-13 Roland Winkler <winkler@gnu.org>
11832
11833 * textmodes/bibtex.el (bibtex-url): Doc fix.
11834
11835 2013-04-13 Roland Winkler <winkler@gnu.org>
11836
11837 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11838 does not visit a BibTeX file, exclude it from the list of buffers
11839 returned by bibtex-initialize.
11840
11841 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11842
11843 * window.el (split-window): Remove interactive form, since as a
11844 command this function is a special case of split-window-below.
11845 Correct doc string.
11846
11847 2013-04-12 Roland Winkler <winkler@gnu.org>
11848
11849 * faces.el (read-face-name): Do not override value of arg default.
11850 Allow single faces and strings as default values. Remove those
11851 elements from return value that are not faces.
11852 (describe-face): Simplify.
11853 (face-at-point): New optional args thing and multiple so that this
11854 function can provide the same functionality previously provided by
11855 read-face-name.
11856 (make-face-bold, make-face-unbold, make-face-italic)
11857 (make-face-unitalic, make-face-bold-italic, invert-face)
11858 (modify-face, read-face-and-attribute): Use face-at-point.
11859
11860 * cus-edit.el (customize-face, customize-face-other-window)
11861 * cus-theme.el (custom-theme-add-face)
11862 * face-remap.el (buffer-face-set)
11863 * facemenu.el (facemenu-set-face): Use face-at-point.
11864
11865 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11866
11867 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11868
11869 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11870
11871 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11872 off leading { and trailing } from field values.
11873
11874 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/timer.el (timer--check): New function.
11877 (timer--time, timer-set-function, timer-event-handler): Use it.
11878 (timer-set-idle-time): Simplify.
11879 (timer--activate): CSE.
11880 (timer-event-handler): Give more info in error message.
11881 (internal-timer-start-idle): New function, moved from C.
11882
11883 * mpc.el (mpc-proc): Add `restart' argument.
11884 (mpc-proc-cmd): Use it.
11885 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11886 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11887 less often.
11888
11889 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11890
11891 * progmodes/sh-script.el: Implement `sh-mode' own
11892 `add-log-current-defun-function' (bug#14112).
11893 (sh-current-defun-name): New function.
11894 (sh-mode): Use the function.
11895
11896 2013-04-09 Bastien Guerry <bzg@gnu.org>
11897
11898 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11899
11900 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11901
11902 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11903
11904 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11905 timer (bug#14156).
11906
11907 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11908
11909 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11910 declaration.
11911
11912 2013-04-07 Leo Liu <sdl.web@gmail.com>
11913
11914 * pcmpl-x.el: New file.
11915
11916 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11917
11918 Do not set x-display-name until X connection is established.
11919 This is needed to prevent from weird situation described at
11920 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11921 * frame.el (make-frame): Set x-display-name after call to
11922 window system initialization function, not before.
11923 * term/x-win.el (x-initialize-window-system): Add optional
11924 display argument and use it.
11925 * term/w32-win.el (w32-initialize-window-system):
11926 * term/ns-win.el (ns-initialize-window-system):
11927 * term/pc-win.el (msdos-initialize-window-system):
11928 Add compatible optional display argument.
11929
11930 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11931
11932 * files.el (normal-backup-enable-predicate): On MS-Windows and
11933 MS-DOS compare truenames of temporary-file-directory and of the
11934 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11935 don't fail comparison by compare-strings. Also, compare file
11936 names case-insensitively on MS-Windows and MS-DOS.
11937
11938 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11939
11940 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11941 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11942
11943 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11944
11945 * whitespace.el (whitespace-color-on, whitespace-color-off):
11946 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11947
11948 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11949
11950 * ispell.el (ispell-set-spellchecker-params):
11951 Really set `ispell-args' for all equivs.
11952
11953 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11954
11955 * ido.el (ido-completions): Use extra elements of ido-decorations
11956 (bug#14143).
11957 (ido-decorations): Update docstring.
11958
11959 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11960
11961 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11962 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11963 nil during initialization, in order not to miss changes since the
11964 file was opened. (Bug#14140)
11965
11966 2013-04-05 Leo Liu <sdl.web@gmail.com>
11967
11968 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11969
11970 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11971
11972 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11973
11974 2013-04-04 Glenn Morris <rgm@gnu.org>
11975
11976 * electric.el (electric-pair-inhibit-predicate): Add :version.
11977
11978 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11981 when a package is required several times (bug#14082).
11982
11983 2013-04-04 Roland Winkler <winkler@gnu.org>
11984
11985 * faces.el (read-face-name): Behave as promised by the docstring.
11986 Assume that arg default is a list of faces.
11987 (describe-face): Call read-face-name with list of default faces.
11988
11989 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11990
11991 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11992 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11993 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11994 the header.
11995 (bookmark-exit-hook-internal): Save even if list is empty.
11996
11997 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11998
11999 * emacs-lisp/package.el (package-pinned-packages): New var.
12000 (package--add-to-archive-contents): Obey it (bug#14118).
12001
12002 2013-04-03 Alan Mackenzie <acm@muc.de>
12003
12004 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12005 Also adapt to the new values of element 7 of a parse state.
12006
12007 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12008 parameter `not-in-delimiter'. Handle being inside comment opener.
12009 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12010 character in case we're typing a '*' after a '/'.
12011 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12012 instead by passing the parameter to c-state-pp-to-literal.
12013
12014 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12015 for elt. 7 of a parse state.
12016
12017 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12018
12019 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12020 * international/latin1-disp.el, international/mule-util.el:
12021 * language/cyril-util.el, language/european.el, language/ind-util.el:
12022 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12023 * language/tibetan.el, language/viet-util.el:
12024 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12025
12026 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12029 (electric-pair-post-self-insert-function): Use it.
12030 (electric-pair-default-inhibit): New function, extracted from
12031 electric-pair-post-self-insert-function.
12032
12033 2013-03-31 Roland Winkler <winkler@gnu.org>
12034
12035 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12036
12037 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12038
12039 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12040
12041 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12042
12043 Un-indent after "pass" and "return" statements (Bug#13888)
12044 * progmodes/python.el (python-indent-block-enders): New var.
12045 (python-indent-calculate-indentation): Use it.
12046
12047 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12048
12049 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12050 defun. Defining it as defalias could introduce too eager
12051 byte-compiler optimization. (Bug#14030)
12052
12053 2013-03-30 Chong Yidong <cyd@gnu.org>
12054
12055 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12056
12057 2013-03-30 Leo Liu <sdl.web@gmail.com>
12058
12059 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12060 (kmacro-execute-from-register): Pass the keyboard macro to
12061 kmacro-call-macro or repeating won't work correctly.
12062
12063 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12064
12065 * progmodes/subword.el: Back to using `forward-symbol'.
12066
12067 * subr.el (forward-whitespace, forward-symbol)
12068 (forward-same-syntax): Move from thingatpt.el.
12069
12070 2013-03-29 Leo Liu <sdl.web@gmail.com>
12071
12072 * kmacro.el (kmacro-to-register): New command.
12073 (kmacro-execute-from-register): New function.
12074 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12075
12076 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12077
12078 * mpc.el: Use defvar-local and setq-local.
12079 (mpc--proc-connect): Connection failures are not bugs.
12080 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12081 (mpc-volume-map): Bind to the up-events.
12082
12083 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12084
12085 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12086 instead of `forward-symbol'.
12087
12088 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12091 (edebug--recursive-edit): Use it.
12092 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12093 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12094
12095 2013-03-28 Leo Liu <sdl.web@gmail.com>
12096
12097 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12098
12099 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12100
12101 * facemenu.el (list-colors-callback): New defvar.
12102 (list-colors-redisplay): New function.
12103 (list-colors-display): Install list-colors-redisplay as the
12104 revert-buffer-function. (Bug#14063)
12105
12106 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12109 and suffixes don't overlap (bug#14061).
12110
12111 * case-table.el: Use lexical-binding.
12112 (case-table-get-table): New function.
12113 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12114
12115 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12116
12117 * progmodes/subword.el: Add `superword-mode' to do word motion
12118 over symbol_words (parallels and leverages `subword-mode' which
12119 does word motion inside MixedCaseWords).
12120
12121 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12122
12123 * eshell/em-unix.el: Move su and sudo to...
12124 * eshell/em-tramp.el: ...Eshell tramp module.
12125
12126 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12129 Change return value to be a sexp. Delay `get-buffer' to after
12130 restoring the desktop (bug#13951).
12131
12132 2013-03-26 Leo Liu <sdl.web@gmail.com>
12133
12134 * register.el: Move semantic tag handling back to
12135 cedet/semantic/senator.el. (Bug#14052)
12136
12137 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12138
12139 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12140 into the prompt either (bug#13963).
12141
12142 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12145 part of "(error-foo)".
12146
12147 2013-03-24 Juri Linkov <juri@jurta.org>
12148
12149 * replace.el (list-matching-lines-prefix-face): New defcustom.
12150 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12151 `occur-engine' if `face-differs-from-default-p' returns t.
12152 (occur-engine): Add `,' inside backquote construct to evaluate
12153 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12154 Pass `prefix-face' to the functions `occur-context-lines' and
12155 `occur-engine-add-prefix'.
12156 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12157 `prefix-face' and propertize the prefix with `prefix-face'.
12158 (Bug#14017)
12159
12160 2013-03-24 Leo Liu <sdl.web@gmail.com>
12161
12162 * nxml/rng-valid.el (rng-validate-while-idle)
12163 (rng-validate-quick-while-idle): Guard against deleted buffer.
12164 (Bug#13999)
12165
12166 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12167 is the last entry in kill-buffer-hook.
12168
12169 * files.el (kill-buffer-hook): Doc fix.
12170
12171 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12172
12173 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12174 Make it safe-local.
12175
12176 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12177
12178 2013-03-23 Leo Liu <sdl.web@gmail.com>
12179
12180 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12181 Remove.
12182
12183 * nxml/rng-valid.el (rng-validate-mode)
12184 (rng-after-change-function, rng-do-some-validation):
12185 * nxml/rng-maint.el (rng-validate-buffer):
12186 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12187 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12188 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12189 (nxml-extend-after-change-region): Use with-silent-modifications.
12190
12191 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12192 timer-idle-list.
12193
12194 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12195 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12196 timer-idle-list. (Bug#13999)
12197
12198 2013-03-23 Juri Linkov <juri@jurta.org>
12199
12200 * info.el (info-index-match): New face.
12201 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12202 main pattern and add text properties with the new face to matches
12203 in index entries relative to the beginning of the index entry.
12204 (Bug#14015)
12205
12206 2013-03-21 Eric Ludlam <zappo@gnu.org>
12207
12208 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12209 Inhibit read only while inserting objects.
12210
12211 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12212
12213 * progmodes/cfengine.el: Update docs to mention
12214 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12215 symbol motion. Remove "_" from the word syntax.
12216
12217 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12218
12219 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12220 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12221
12222 2013-03-20 Juri Linkov <juri@jurta.org>
12223
12224 * info.el (Info-next-reference-or-link)
12225 (Info-prev-reference-or-link): New functions.
12226 (Info-next-reference, Info-prev-reference): Use them.
12227 (Info-try-follow-nearest-node): Handle footnote navigation.
12228 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12229
12230 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12233 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12234
12235 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12236
12237 Suppress unnecessary non-ASCII chatter during build process.
12238 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12239 (batch-skkdic-convert): Suppress most of the chatter.
12240 It's not needed so much now that machines are faster,
12241 and its non-ASCII component was confusing; see Dmitry Gutov in
12242 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12243
12244 2013-03-20 Leo Liu <sdl.web@gmail.com>
12245
12246 * ido.el (ido-chop): Fix bug#10994.
12247
12248 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12249
12250 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12251 Remove vars.
12252 (whitespace-color-on, whitespace-color-off):
12253 Use `font-lock-fontify-buffer' (Bug#13817).
12254
12255 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12256
12257 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12258 remapping in mode-line.
12259 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12260
12261 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12262
12263 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12264 value for `whitespace-line' face (Bug#13875).
12265 (whitespace-font-lock-keywords): Change description.
12266 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12267 the constructed keywords instead.
12268 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12269
12270 2013-03-19 Leo Liu <sdl.web@gmail.com>
12271
12272 * progmodes/compile.el (compilation-display-error): New command.
12273 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12274 C-o. (Bug#13992)
12275
12276 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12277
12278 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12279
12280 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12281
12282 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12283
12284 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12285
12286 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12287
12288 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12289 * net/tramp-gvfs.el (top):
12290 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12291 (tramp-handle-shell-command): Use it.
12292 (tramp-dissect-file-name): Raise an error when hostname is a
12293 method name, and neither method nor user is specified.
12294
12295 * net/trampver.el: Update release number.
12296
12297 2013-03-18 Leo Liu <sdl.web@gmail.com>
12298
12299 Make sure eldoc can be turned off properly.
12300 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12301 eldoc-mode.
12302 (eldoc-display-message-p): Revert last change.
12303 (eldoc-display-message-no-interference-p)
12304 (eldoc-print-current-symbol-info): Tweak.
12305
12306 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12307
12308 * doc-view.el (doc-view-new-window-function): Check the new window
12309 overlay's display property instead the char property of the
12310 buffer's first char. Use `with-selected-window' instead of
12311 `save-window-excursion' with `select-window'.
12312 (doc-view-document->bitmap): Check the current doc-view overlay's
12313 display property instead the char property of the buffer's first char.
12314
12315 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12316
12317 Automate the build of ja-dic.el (Bug#13984).
12318 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12319 from the input, rather than assume that it's been done for us by the
12320 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12321 the current date into a ja-dic.el comment, as that complicates
12322 regression testing.
12323
12324 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * whitespace.el: Fix double evaluation.
12327 (whitespace-space, whitespace-hspace, whitespace-tab)
12328 (whitespace-newline, whitespace-trailing, whitespace-line)
12329 (whitespace-space-before-tab, whitespace-indentation)
12330 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12331 obsolete defvars.
12332 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12333 (whitespace-color-on): Use a single font-lock-add-keywords call.
12334 Fix double-evaluation of face variables.
12335
12336 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12337
12338 * net/tramp-adb.el (tramp-adb-parse-device-names):
12339 Use `start-process' instead of `call-process'. Otherwise, the
12340 function might be blocked under MS Windows. (Bug#13299)
12341
12342 2013-03-17 Leo Liu <sdl.web@gmail.com>
12343
12344 Extend eldoc to display info in the mode-line. (Bug#13978)
12345 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12346 (eldoc-mode-line-string): New variable.
12347 (eldoc-minibuffer-message): New function.
12348 (eldoc-message-function): New variable.
12349 (eldoc-message): Use it.
12350 (eldoc-display-message-p)
12351 (eldoc-display-message-no-interference-p):
12352 Support eldoc-post-insert-mode.
12353
12354 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12355 (eval-expression): Run it.
12356
12357 2013-03-17 Roland Winkler <winkler@gnu.org>
12358
12359 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12360 strings in the list of return values.
12361
12362 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12363
12364 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12365 radix before checking for HMS forms.
12366
12367 2013-03-16 Leo Liu <sdl.web@gmail.com>
12368
12369 * progmodes/scheme.el: Add indentation and font-locking for λ.
12370 (Bug#13975)
12371
12372 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12375 token before point (bug#13942).
12376
12377 2013-03-16 Leo Liu <sdl.web@gmail.com>
12378
12379 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12380
12381 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12382
12383 * startup.el (command-line-normalize-file-name): Fix handling of
12384 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12385 <xfq.free@gmail.com> in
12386 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12387
12388 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12389
12390 Sync with Tramp 2.2.7.
12391
12392 * net/trampver.el: Update release number.
12393
12394 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12395
12396 * doc-view.el: Fix bug#13887.
12397 (doc-view-insert-image): Don't modify overlay associated to
12398 non-live windows, and implement horizontal centering of image in
12399 case it's smaller than the window.
12400 (doc-view-new-window-function): Force redisplay of new windows on
12401 doc-view buffers.
12402
12403 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12404
12405 * saveplace.el (save-place-alist-to-file): Don't sort
12406 `save-place-alist', just pretty-print it (bug#13882).
12407
12408 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12409
12410 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12411 Check whether `default-file-name-coding-system' is bound.
12412 It isn't in XEmacs.
12413
12414 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12415
12416 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12417 backquotes for `obsolete' (bug#13929).
12418
12419 * international/mule.el (find-auto-coding): Include file name in
12420 obsolescence warning (bug#13922).
12421
12422 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12423
12424 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12425 for CFEngine 3-specific indentation.
12426 (cfengine3-indent-line): Use it. Fix up category regex.
12427 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12428
12429 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12430
12431 * type-break.el (type-break-file-name):
12432 * textmodes/remember.el (remember-data-file):
12433 * strokes.el (strokes-file):
12434 * shadowfile.el (shadow-initialize):
12435 * saveplace.el (save-place-file):
12436 * ps-bdf.el (bdf-cache-file):
12437 * progmodes/idlwave.el (idlwave-config-directory):
12438 * net/quickurl.el (quickurl-url-file):
12439 * international/kkc.el (kkc-init-file-name):
12440 * ido.el (ido-save-directory-list-file):
12441 * emulation/viper.el (viper-custom-file-name):
12442 * emulation/vip.el (vip-startup-file):
12443 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12444 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12445
12446 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12447
12448 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12449 * language/thai-word.el: Switch to UTF-8.
12450
12451 See ChangeLog.16 for earlier changes.
12452
12453 ;; Local Variables:
12454 ;; coding: utf-8
12455 ;; End:
12456
12457 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12458
12459 This file is part of GNU Emacs.
12460
12461 GNU Emacs is free software: you can redistribute it and/or modify
12462 it under the terms of the GNU General Public License as published by
12463 the Free Software Foundation, either version 3 of the License, or
12464 (at your option) any later version.
12465
12466 GNU Emacs is distributed in the hope that it will be useful,
12467 but WITHOUT ANY WARRANTY; without even the implied warranty of
12468 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12469 GNU General Public License for more details.
12470
12471 You should have received a copy of the GNU General Public License
12472 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.