* lisp/emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-17 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4
5 Make M-x authors return zero *Authors Errors* from current logs.
6 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7 (authors-ignored-files): Add some entries, remove others.
8 (authors-ambiguous-files, authors-valid-file-names):
9 Add some entries.
10 (authors-renamed-files-alist): Add, remove, and adjust entries.
11 (authors-renamed-files-regexps): Add some entries.
12 Remove some very broad ones. Make some entries `lax'.
13 (authors-lax-changelogs): New constant.
14 (authors-disambiguate-file-name): Treat top-level specially.
15 (authors-lax-changelog-p): New function.
16 (authors-canonical-file-name): Check file as written against
17 authors-valid-file-names. Do not special-case etc/.
18 Handle `lax' logs and authors-renamed-files-regexps elements.
19
20 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
21
22 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
23 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
24 callers.
25
26 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
27
28 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
29 Assume we're already in the proper buffer.
30 Inspired by Anders Lindgren <andlind@gmail.com>.
31 (follow-post-command-hook): Call it from the right buffer.
32 (follow-comint-scroll-to-bottom): Adjust call.
33 (follow-all-followers): Use get-buffer-window-list.
34
35 2014-01-15 Daniel Colascione <dancol@dancol.org>
36
37 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
38 `buffer-file-name' in interactive-form so that we don't leave
39 pathless file names in `file-name-history'.
40
41 2014-01-15 Juri Linkov <juri@jurta.org>
42
43 * indent.el (indent-rigidly): Set deactivate-mark to nil
44 in transient indentation mode. (Bug#16438)
45
46 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
47
48 * emacs-lisp/package.el (package-desc-keywords): New function
49 (Bug#16222).
50 (describe-package-1, package-all-keywords)
51 (package--has-keyword-p): Use it.
52
53 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
54
55 * simple.el (define-alternatives): When creating the
56 COMMAND-alternatives variable, assign COMMAND as its definition
57 name so that `describe-variable' can relocate it.
58
59 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
60
61 * font-lock.el (font-lock-keywords): Fix typo in docstring
62 (bug#16307).
63
64 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
65
66 * ispell.el (ispell-region): Reset `in-comment' for new line
67 instead of wrongly reset `add-coment' (bug#13577).
68
69 2014-01-14 Daiki Ueno <ueno@gnu.org>
70
71 * epa-file.el (epa-file-write-region): Encode the region according
72 to `buffer-file-format'. Problem reported at:
73 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
74
75 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
78 so it applies in the right buffer (bug#16410).
79
80 2014-01-13 Daniel Colascione <dancol@dancol.org>
81
82 * textmodes/rst.el (rst-define-key): Provide deprecated
83 keybindings through named functions instead of anonymous ones so
84 that "??" doesn't appear in describe-mode output.
85
86 2014-01-13 Bastien Guerry <bzg@gnu.org>
87
88 * simple.el (define-alternatives): Call the selected command
89 interactively. When setting `COMMAND--implementation' for the
90 first time, tell the user how to chose another implementation.
91 Enhance the docstring.
92
93 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
96 (log-edit--match-first-line): New function.
97 (log-edit-font-lock-keywords): Use it.
98 (log-edit-mode): Make jit-lock-defer-multiline work.
99
100 2014-01-13 Bastien Guerry <bzg@gnu.org>
101
102 * rect.el (rectangle-mark-mode): When the region is not active,
103 display a message saying that the mark as been set and that
104 rectangle mode is in use.
105 (rectangle--highlight-for-redisplay): Only put an overlay with a
106 visible vertical bar when (display-graphic-p) is non-nil.
107 This partially fixes Bug#16403.
108
109 2014-01-13 Juri Linkov <juri@jurta.org>
110
111 * info.el (Info-find-file): Go to DIR before displaying the error
112 about a nonexistent file if no previous Info file is visited.
113 Use `user-error' instead of `error' for "Info file %s does not exist".
114 (Info-find-node-2): In case of a nonexistent node in unwind forms
115 go to the Top node if there is no previous node to revert to.
116 (Bug#16405)
117
118 2014-01-13 Martin Rudalics <rudalics@gmx.at>
119
120 fit-frame/window-to-buffer code fixes including one for Bug#14096.
121 * window.el (fit-frame-to-buffer): Fix doc-string.
122 Respect window-min-height/-width. Fit pixelwise when
123 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
124 when avoiding that frame goes partially off-screen.
125 (fit-window-to-buffer): Respect window-min-height/-width
126 (Bug#14096).
127
128 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
131 after an empty line.
132
133 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * net/shr.el (shr-render-region): Autoload.
136
137 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
138
139 * net/eww.el (eww-download-directory): Rename from
140 `eww-download-path' (Bug#16419).
141
142 2014-01-12 Leo Liu <sdl.web@gmail.com>
143
144 * dired-x.el (dired-mode-map): Fix last change.
145
146 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
147
148 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
149
150 Spelling fixes.
151 * emacs-lisp/generic.el (generic--normalize-comments):
152 Rename from generic--normalise-comments. All uses changed.
153 * play/bubbles.el (bubbles--neighborhood-score):
154 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
155 (bubbles--neighborhood-available)
156 (bubbles--update-neighborhood-score):
157 Rename from names with 'neighbourhood'. All uses changed.
158
159 2014-01-12 Leo Liu <sdl.web@gmail.com>
160
161 Re-implement the feature of showing eldoc info after editing.
162 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
163 (eldoc-edit-message-commands): New function.
164 (eldoc-print-after-edit): New variable.
165 (eldoc-pre-command-refresh-echo-area): Emit message only by
166 eldoc-message-commands.
167 (eldoc-mode): Restrict eldoc-message-commands to editing commands
168 if eldoc-print-after-edit is set. (Bug#16346)
169
170 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
171
172 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
173
174 * version.el (emacs-repository-get-version): Enhance so the
175 function works correctly in either a Bazaar or Git repo.
176
177 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
178 Goes with removal of the joke manpages from /etc.
179
180 2014-01-10 K. Handa <handa@gnu.org>
181
182 * mail/rmail.el (rmail-get-coding-system):
183 Check rmail-get-coding-function before "funcall"ing it.
184
185 2014-01-10 Glenn Morris <rgm@gnu.org>
186
187 * emacs-lisp/authors.el (authors-fixed-entries):
188 Update for files that no longer exist.
189
190 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
191
192 * version.el (emacs-bzr-get-version): Restore compatibilty with
193 24.3 (Tested).
194
195 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
196
197 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
198 and Podfile.
199
200 2014-01-10 Eli Zaretskii <eliz@gnu.org>
201
202 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
203
204 2014-01-10 Chong Yidong <cyd@gnu.org>
205
206 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
207
208 2014-01-10 Anders Lindgren <andlind@gmail.com>
209
210 * follow.el (follow-cache-command-list): Include right-char and
211 left-char.
212
213 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
214
215 Spelling fixes.
216 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
217 * woman.el (woman-mark-horizontal-position):
218 Rename from woman-mark-horizonal-position. Use changed.
219
220 2014-01-10 Glenn Morris <rgm@gnu.org>
221
222 * info.el (info-initialize): If running uninstalled, ensure our
223 own info files are always found first, even if INFOPATH is set.
224
225 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
226
227 2014-01-09 David Engster <deng@randomsample.de>
228
229 * emacs-lisp/eieio-custom.el:
230 * emacs-lisp/eieio-opt.el: Set generated autoload file to
231 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
232 * emacs-lisp/eieio.el: Regenerate autoloads.
233
234 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
235
236 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
237 following renames. (Bug#8756)
238
239 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
240
241 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
242 (bug#16382).
243 (activate-mark): Add `no-tmm' argument.
244 (set-mark, push-mark-command): Use it instead of running
245 activate-mark-hook by hand.
246
247 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
248
249 In preparation for the move to git, sanitize out some
250 Bazaar-specific names.
251
252 * version.el (emacs-bzr-version): Name changed to
253 emacs-repository-version. Obsolete-variable alias made.
254 * loadup.el: Follow through on this name change.
255 * mail/emacsbug.el (report-emacs-bug): Factor out any
256 assumption about the version control system in use.
257
258 2014-01-08 David Engster <deng@randomsample.de>
259
260 * help-fns.el (help-fns-describe-function-functions):
261 New variable to call functions for augmenting help buffers.
262 (describe-function-1): Remove explicit calls to
263 `help-fns--compiler-macro', `help-fns--parent-mode' and
264 `help-fns--obsolete'. Put them in above new variable instead, and
265 call them through `run-hook-with-args'.
266 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
267 `eieio-describe-class'. Not meant for interactive use anymore,
268 but to augment existing help buffers. Remove optional second
269 argument. Create proper button for file location.
270 Rewrite function to use `insert' instead of `princ' and `prin1' where
271 possible.
272 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
273 (eieio-method-def, eieio-class-def): Move further up.
274 (describe-method, describe-generic, eieio-describe-method):
275 Remove aliases.
276 (eieio-help-constructor, eieio-help-generic): Rename from
277 `eieio-describe-constructor' and `eieio-describe-generic', resp.
278 Rewrite to use `insert' in the current buffer and use proper help
279 buttons.
280 (eieio-help-find-method-definition)
281 (eieio-help-find-class-definition): Also accept symbols as
282 arguments.
283 (eieio-help-mode-augmentation-maybee): Remove.
284 (eieio-describe-class-sb): Use `describe-function'.
285 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
286 Add `eieio-help-generic' and `eieio-help-constructor'.
287
288 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
289
290 Spelling fixes.
291 * language/china-util.el (hz-ascii-designation):
292 Rename from hz-ascii-designnation.
293 (hz-ascii-designation): Rename from hz-ascii-designnation.
294 All uses changed.
295
296 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
299 package-alist.
300
301 2014-01-08 Bastien Guerry <bzg@gnu.org>
302
303 * emacs-lisp/package.el (package-delete):
304 Correctly delete the package from package-alist.
305
306 2014-01-08 Daiki Ueno <ueno@gnu.org>
307
308 * emacs-lisp/package.el (url-recreate-url): Declare.
309 (url-http-target-url): Declare.
310 (package-handle-response): Include requested URL in the error message.
311 (package--check-signature): Don't re-signal errors from
312 package--with-work-buffer. Suggested by Stefan Monnier.
313
314 2014-01-07 Bastien Guerry <bzg@gnu.org>
315
316 * minibuffer.el (completion--try-word-completion): When both a
317 hyphen and a space are possible candidates for the character
318 following a word, display both candidates. (Bug#15980)
319
320 2014-01-07 Martin Rudalics <rudalics@gmx.at>
321
322 * window.el (balance-windows-2): While rounding don't give a
323 window more than the remainder. Bug#16351, Bug#16383.
324
325 2014-01-07 Glenn Morris <rgm@gnu.org>
326
327 * menu-bar.el (menu-bar-help-extra-packages): Remove.
328 (menu-bar-help-menu): Use view-external-packages instead.
329
330 2014-01-07 Bastien Guerry <bzg@gnu.org>
331
332 * emacs-lisp/package.el (package-delete): Also delete the package
333 name from `package-alist', not its description only.
334
335 2014-01-07 Glenn Morris <rgm@gnu.org>
336
337 * help.el (view-external-packages):
338 * menu-bar.el (menu-bar-help-extra-packages):
339 Visit efaq.info rather than etc/MORE.STUFF.
340
341 2014-01-07 Juri Linkov <juri@jurta.org>
342
343 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
344 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
345
346 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
347 that shadows RET. (Bug#16342)
348
349 2014-01-07 Chong Yidong <cyd@gnu.org>
350
351 * isearch.el (isearch-yank-char, isearch-yank-word)
352 (isearch-yank-line): Doc fix.
353
354 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
357 * emacs-lisp/elint.el (elint-find-builtins):
358 * emacs-lisp/eldoc.el (eldoc-symbol-function):
359 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
360 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
361 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
362 * apropos.el (apropos-safe-documentation):
363 * subr.el (symbol-file): Remove redundant fboundp.
364 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
365
366 2014-01-06 Bastien Guerry <bzg@gnu.org>
367
368 * hl-line.el (global-hl-line-overlay): Make a local variable.
369 (global-hl-line-overlays): New variable to store all overlays.
370 (global-hl-line-mode): Don't delete overlays from the current
371 buffer when `global-hl-line-sticky-flag' is non-nil.
372 (global-hl-line-highlight): Add new overlays to
373 `global-hl-line-overlays'.
374 (global-hl-line-unhighlight-all): New function to delete all
375 overlays when turning off `global-hl-line-mode'.
376 This fixes Bug#16183.
377
378 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * subr.el (set-transient-map): Fix nested case and docstring.
381
382 2014-01-06 Tassilo Horn <tsdh@gnu.org>
383
384 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
385 `Texinfo' entry.
386
387 2014-01-06 Daniel Colascione <dancol@dancol.org>
388
389 Fix defun navigation in vc log view.
390
391 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
392 like `beginning-of-defun'.
393 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
394 log-view-end-of-defun to log-view-end-of-defun-1. Replace
395 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
396 (log-view-extract-comment): Call `log-view-current-entry' directly
397 instead of relying on broken `log-view-beginning-of-defun' behavior.
398
399 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
400
401 Spelling fixes.
402 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
403 * emacs-lisp/debug.el (cancel-debug-on-entry):
404 * epg.el (epg-error-to-string):
405 * files.el (recover-file):
406 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
407 * mail/emacsbug.el (report-emacs-bug-hook):
408 * mail/sendmail.el (mail-recover):
409 * ses.el (ses-yank-resize):
410 * term/ns-win.el (ns-print-buffer):
411 Spelling fixes in diagnostics, mostly for "canceled" with one L.
412 * epg.el (epg-key-capability-alist): Rename from misspelled version.
413 All uses changed.
414 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
415
416 2014-01-06 Leo Liu <sdl.web@gmail.com>
417
418 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
419 to avoid shadowing global key. (Bug#16354)
420
421 2014-01-06 Daniel Colascione <dancol@dancol.org>
422
423 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
424 rst-mode.
425
426 2014-01-05 Martin Rudalics <rudalics@gmx.at>
427
428 * window.el (balance-windows): Add mising t to fix Bug#16351.
429
430 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
431
432 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
433 (bug#16285).
434 (shr-insert): If we have a word that's longer than `shr-width',
435 break after it anyway. Otherwise we'll do no breaking once we get
436 such a long word.
437
438 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
439
440 * net/eww.el (eww): Support single/double quote for search.
441 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
442 (eww-history-quit): Delete and use quit-window.
443 (eww-history-kill): Delete, because it doesn't work well and
444 not necessary.
445 (eww-history-mode-map): Delete some keys and add easy-menu.
446
447 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
448
449 Fix misspelling of 'chinese' in rx (Bug#16237).
450 * emacs-lisp/rx.el (rx-categories): Correct spelling of
451 chinese-two-byte.
452
453 Change subword regexps back to vars (Bug#16296).
454 * progmodes/subword.el (subword-forward-regexp)
455 (subword-backward-regexp): Change these back to variables.
456
457 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
458
459 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
460 syntax-begin-function (bug#16247).
461
462 2014-01-03 Chong Yidong <cyd@gnu.org>
463
464 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
465 (advice--docstring): Delete variable.
466 (advice--make-1): Leave the docstring empty.
467 (advice-add): Use function-documentation for advised docstring.
468
469 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
470 Ignore function-documentation property when getting documentation.
471 (ad-activate-advised-definition): Use function-documentation
472 generate the docstring.
473 (ad-make-advised-definition): Don't call
474 ad-make-advised-definition-docstring.
475 (ad-make-advised-definition-docstring, ad-advised-definition-p):
476 Delete functions.
477
478 * progmodes/sql.el (sql-help): Use function-documentation instead
479 of dynamic-docstring-function property. No need to autoload now.
480 (sql--help-docstring): New variable.
481 (sql--make-help-docstring): Use it.
482
483 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
484
485 * ielm.el (ielm-tab): Retarget.
486 (ielm-map): Use ielm-tab for tab.
487 (ielm-complete-filename): Use comint-filename-completion.
488 (ielm-complete-symbol): Remove.
489 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
490 remove ielm-tab from completion-at-point-functions (bug#16224).
491
492 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
493 Beware signals raised by predicates (bug#16201).
494
495 2014-01-02 Richard Stallman <rms@gnu.org>
496
497 * dired-aux.el (dired-do-print): Handle printer-name.
498
499 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
500 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
501 (rmail-epa-decrypt): Turn off mime processing.
502
503 * mail/rmail.el (rmail-make-in-reply-to-field):
504 Add parens in message-id.
505
506 * mail/rmail.el (rmail-get-coding-function): Variable.
507 (rmail-get-coding-system): Use it.
508
509 2013-12-31 Eli Zaretskii <eliz@gnu.org>
510
511 * international/mule-conf.el: Unify the charset indian-is13194.
512 (indian-is13194): Specify unify-map.
513
514 2013-12-31 Leo Liu <sdl.web@gmail.com>
515
516 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
517
518 2013-12-30 Daniel Colascione <dancol@dancol.org>
519
520 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
521 of printing a useless when we resume from sleep.
522
523 * progmodes/sh-script.el
524 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
525 in indentation code. (Bug#16233)
526
527 2013-12-28 João Távora <joaotavora@gmail.com>
528
529 * elec-pair.el (electric-pair-post-self-insert-function):
530 Don't open extra newlines at beginning of buffer. (Bug#16272)
531
532 2013-12-28 Eli Zaretskii <eliz@gnu.org>
533
534 * frame.el (window-system-for-display): Don't allow to create a
535 GUI frame from a -nw session on MS-Windows. (Bug#14739)
536
537 2013-12-28 Glenn Morris <rgm@gnu.org>
538
539 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
540 Update callers.
541
542 * apropos.el (apropos-match-face):
543 * calculator.el (calculator-displayer):
544 * dabbrev.el (dabbrev-search-these-buffers-only):
545 * face-remap.el (buffer-face-mode-face):
546 * simple.el (yank-handled-properties):
547 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
548 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
549 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
550 (hashcash-double-spend-database):
551 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
552 (ruby-deep-indent-paren-style):
553 * textmodes/flyspell.el (flyspell-auto-correct-binding):
554 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
555 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
556 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
557 Specify custom types.
558
559 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
560 * bookmark.el (bookmark-bmenu-use-header-line):
561 * doc-view.el (doc-view-scale-internally):
562 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
563 * register.el (register-preview-delay):
564 * net/shr.el (shr-bullet):
565 * progmodes/cfengine.el (cfengine-cf-promises)
566 (cfengine-parameters-indent):
567 * progmodes/octave.el (inferior-octave-error-regexp-alist):
568 * textmodes/reftex-vars.el (reftex-label-regexps):
569 * vc/log-edit.el (log-edit-setup-add-author): Add version.
570
571 * net/tls.el (tls-certtool-program): Fix default value.
572
573 * desktop.el (desktop-restore-in-current-display):
574 * newcomment.el (comment-empty-lines):
575 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
576 (idlwave-pad-keyword):
577 * progmodes/tcl.el (tcl-tab-always-indent):
578 * textmodes/reftex-vars.el (reftex-index-default-tag):
579 * elec-pair.el (electric-pair-skip-whitespace):
580 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
581
582 * emacs-lisp/authors.el (authors-ignored-files)
583 (authors-valid-file-names, authors-renamed-files-alist): Additions.
584
585 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
586
587 * shell.el (shell-dynamic-complete-command): Doc fix.
588 (shell--command-completion-data): Shell completion now matches
589 executable filenames from the current buffer's directory, on
590 systems in which this behavior is the default (windows-nt, ms-dos).
591
592 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
593
594 * net/shr.el (shr-insert): Don't infloop if the width is zero.
595
596 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
599 (bug#16251).
600
601 * electric.el: Move all electric-pair-* to elec-pair.el.
602 * elec-pair.el: New file, split from electric.el.
603
604 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
605
606 * net/shr.el (shr-find-fill-point): Don't try to fill if the
607 indentation level is larger than the width, because that will
608 infloop.
609 (shr-insert): Fill repeatedly long texts, so that Japanese is
610 formatted correctly (bug#16263).
611 (shr-find-fill-point): Off by one error in comparison with the
612 indentation.
613
614 2013-12-26 João Távora <joaotavora@gmail.com>
615
616 * electric.el (electric-pair-mode): More flexible engine for skip-
617 and inhibit predicates, new options for pairing-related functionality.
618 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
619 if that keeps or improves their balance in buffers.
620 (electric-pair-delete-adjacent-pairs): Delete the pair when
621 backspacing over adjacent matched delimiters.
622 (electric-pair-open-extra-newline): Open extra newline when
623 inserting newlines between adjacent matched delimiters.
624 (electric--sort-post-self-insertion-hook):
625 Sort post-self-insert-hook according to priority values when
626 minor-modes are activated.
627 * simple.el (newline-and-indent): Call newline with interactive
628 set to t.
629 (blink-paren-post-self-insert-function): Set priority to 100.
630 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
631 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
632 comments. Locally set electric-pair-skip-whitespace to 'chomp and
633 electric-pair-open-newline-between-pairs to nil.
634
635 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
636
637 * progmodes/python.el: Use lexical-binding.
638 (python-nav-beginning-of-defun): Stop searching ASAP.
639
640 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
641
642 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
643 Fix interactive spec. Doc fix. (Bug#15754)
644
645 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
646
647 * emacs-lisp/byte-run.el (eval-when-compile):
648 * progmodes/cc-defs.el (cc-eval-when-compile):
649 Fix edebug spec (bug#16184).
650
651 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
652
653 * net/shr.el (shr-visit-file): Remove debugging function.
654 (shr-insert): Don't infloop if we can't find a good place to break
655 the line (bug#16256).
656
657 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
658
659 * progmodes/python.el:
660 (python-nav--lisp-forward-sexp): New function.
661 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
662 python-nav-lisp-forward-sexp-safe.
663 (python-nav--forward-sexp): New argument SAFE allows switching
664 forward sexp movement behavior for parens.
665 (python-nav-forward-sexp): Throw errors on unterminated parens
666 (Bug#16191).
667 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
668 (python-nav-backward-sexp-safe): New functions.
669 (python-shell-buffer-substring):
670 Use `python-nav-forward-sexp-safe'.
671
672 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
673
674 * net/shr.el (shr-find-fill-point): Don't break lines before a
675 quotation mark.
676 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
677 (shr-find-fill-point): Remove the special checks for the quotation
678 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
679
680 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
681
682 * net/eww.el (eww-form-textarea): Use a different face for
683 textareas than text input since they have different keymaps
684 (bug#16142).
685
686 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
687
688 * progmodes/python.el (python-nav-beginning-of-statement):
689 Speed up (Bug#15295).
690
691 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
692
693 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
694 the window configuration.
695
696 2013-12-24 Eli Zaretskii <eliz@gnu.org>
697
698 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
699 we run on MS-Windows or MS-DOS.
700
701 2013-12-24 Martin Rudalics <rudalics@gmx.at>
702
703 * window.el (balance-windows-area): Call window-size instead of
704 window-height and window-width. Bug#16241.
705
706 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
707
708 * net/eww.el (eww-bookmark-quit): Remove.
709 (eww-bookmark-browse): Restore the window configuration when you
710 choose a bookmark (bug#16144).
711
712 2013-12-24 Daniel Colascione <dancol@dancol.org>
713
714 * icomplete.el: Remove redundant :group arguments to `defcustom'
715 throughout.
716 (icomplete-show-matches-on-no-input): New customizable variable.
717 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
718 we have something to show.
719 (icomplete-exhibit): Compute completions even if we have no user input.
720
721 2013-12-23 Daniel Colascione <dancol@dancol.org>
722
723 * icomplete.el: Move `provide' to end of file.
724
725 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
726
727 * net/gnutls.el (gnutls-verify-error): Add version tag.
728
729 2013-12-23 Chong Yidong <cyd@gnu.org>
730
731 * subr.el (set-transient-map): Rename from
732 set-temporary-overlay-map. Doc fix.
733
734 * face-remap.el (text-scale-adjust):
735 * indent.el (indent-rigidly):
736 * kmacro.el (kmacro-call-macro):
737 * minibuffer.el (minibuffer-force-complete):
738 * repeat.el (repeat):
739 * simple.el (universal-argument--mode):
740 * calendar/todo-mode.el (todo-insert-item--next-param):
741 * progmodes/f90.el (f90-abbrev-start): Callers changed.
742
743 * indent.el (indent-rigidly): Use substitute-command-keys.
744
745 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
746
747 * net/eww.el (eww-tag-select): Add text-property to jump to next
748 select field.
749 (eww): Add non-supported ftp error.
750
751 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
752
753 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
754 comments. Handle electric indent after typing `?' and `!'.
755
756 2013-12-22 Chong Yidong <cyd@gnu.org>
757
758 * faces.el (face-spec-recalc): If the theme specs are not
759 applicable to a frame, fall back on the defface spec.
760 This prevents themes from obliterating faces on low-color terminals.
761
762 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
763
764 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
765 after `{'. We need it after block openers, and it doesn't seem
766 to hurt after hash openers.
767
768 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
769
770 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
771 extracted from `ruby-smie-rules'.
772 (ruby--electric-indent-chars): New variable.
773 (ruby--electric-indent-p): New function.
774 (ruby-mode): Use `electric-indent-functions' instead of
775 `electric-indent-chars'.
776
777 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
778
779 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
780 docstring.
781 (ruby-smie-rules): Indent plus one level after `=>'.
782
783 2013-12-21 Richard Stallman <rms@gnu.org>
784
785 * simple.el (newline): Doc fix.
786
787 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
788
789 * net/eww.el (eww-list-histories, eww-list-histories)
790 (eww-history-browse, eww-history-quit, eww-history-kill)
791 (eww-history-mode-map, eww-history-mode): New command and
792 functions to list browser histories.
793 (eww-form-text): Support text form with disabled
794 and readonly attributes.
795 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
796
797 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
798
799 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
800 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
801 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
802 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
803 Use `user-error'.
804 (eww-bookmark-mode-map): Add menu.
805 (eww-render, eww-mode): Use `setq-local'.
806 (eww-tool-bar-map): New variable.
807 (eww-mode): Set `tool-bar-map'.
808 (eww-view-source): Check for `html-mode' with `fboundp'.
809
810 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
811
812 * net/shr.el (shr--extract-best-source): Don't bug out on audio
813 elements with text inside. Also remove debugging.
814
815 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
816
817 * cus-start.el (all): Add ns-use-srgb-colorspace.
818
819 2013-12-21 Chong Yidong <cyd@gnu.org>
820
821 * custom.el (custom-theme-recalc-face): Do nothing if the face is
822 undefined. Thus, theme settings for undefined faces do not take
823 effect until the faces are defined with defface, the same as with
824 theme variables.
825
826 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
827 (face-spec-reset-face): Don't assign extra properties in temacs.
828 (face-spec-recalc): Apply X resources too.
829
830 2013-12-21 Chong Yidong <cyd@gnu.org>
831
832 * faces.el (face-spec-set):
833 * cus-face.el (custom-theme-set-faces, custom-set-faces):
834 * custom.el (defface): Doc fixes (Bug#16203).
835
836 * indent.el (indent-rigidly-map): Add docstring, and move commands
837 into named functions.
838 (indent-rigidly-left, indent-rigidly-right)
839 (indent-rigidly-left-to-tab-stop)
840 (indent-rigidly-right-to-tab-stop): New functions. Decide on
841 indentation direction based on bidi direction, and accumulate
842 sequential commands in a single undo boundary.
843 (indent-rigidly--pop-undo): New utility function.
844
845 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
846
847 * faces.el (read-face-name): Require crm.el when using crm-separator.
848
849 2013-12-20 Daniel Colascione <dancol@dancol.org>
850
851 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
852 so that we don't reflow comments into the shebang line.
853
854 2013-12-20 Juri Linkov <juri@jurta.org>
855
856 * saveplace.el (save-place-to-alist): Add `dired-filename' as
857 a position when `dired-directory' is non-nil. Check integer
858 positions with `integerp'.
859 (toggle-save-place, save-places-to-alist): Add check for
860 `dired-directory'.
861 (save-place-find-file-hook): Check integer positions with
862 `integerp'.
863 (save-place-dired-hook): Use `dired-goto-file' when
864 `dired-filename' is found in the assoc list. Check integer
865 positions with `integerp'.
866 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
867
868 * dired.el (dired-initial-position-hook): Rename back from
869 `dired-initial-point-hook'.
870 (dired-initial-position): Rename `dired-initial-point-hook' to
871 `dired-initial-position-hook'.
872 (dired-file-name-at-point): Doc fix. (Bug#15329)
873
874 2013-12-20 Juri Linkov <juri@jurta.org>
875
876 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
877 (read-regexp-suggestions): New function.
878 (read-regexp): Use `read-regexp-defaults-function' to get default values.
879 Use `read-regexp-suggestions'. Add non-empty default to history
880 for empty input.
881 (occur-read-regexp-defaults-function): Remove function.
882 (occur-read-primary-args): Use `regexp-history-last' instead of
883 `occur-read-regexp-defaults-function'.
884
885 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
886 (hi-lock-line-face-buffer, hi-lock-face-buffer)
887 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
888 `hi-lock-read-regexp-defaults-function'. Doc fix.
889 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
890 with `find-tag-default-as-symbol-regexp'. Doc fix.
891 (hi-lock-read-regexp-defaults): Remove function.
892 (hi-lock-regexp-okay): Add check for null.
893
894 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
895 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
896
897 * subr.el (find-tag-default-as-symbol-regexp): New function.
898 (find-tag-default-as-regexp): Move symbol regexp formatting to
899 `find-tag-default-as-symbol-regexp'.
900
901 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
902
903 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
904 (Bug#14179)
905
906 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
907
908 * calendar/todo-mode.el: New implementation of item insertion
909 commands and key bindings.
910 (todo-key-prompt): New face.
911 (todo-insert-item): New command.
912 (todo-insert-item--parameters): New defconst, replacing defvar
913 todo-insertion-commands-args-genlist.
914 (todo-insert-item--param-key-alist): New defconst, replacing
915 defvar todo-insertion-commands-arg-key-list.
916 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
917 (todo-insert-item--argsleft, todo-insert-item--apply-args)
918 (todo-insert-item--next-param): New functions.
919 (todo-insert-item--args, todo-insert-item--argleft)
920 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
921 New variables.
922 (todo-key-bindings-t): Change binding of "i" from
923 todo-insertion-map to todo-insert-item.
924 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
925 (todo-insertion-command-name, todo-insertion-commands-names)
926 (todo-define-insertion-command, todo-insertion-commands)
927 (todo-insertion-key-bindings, todo-insertion-map): Remove.
928
929 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
930
931 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
932 (todo-toggle-item-highlighting): Use eval-and-compile instead of
933 eval-when-compile.
934 (todo-move-category): Allow choosing a non-existing todo file to
935 move the category to, and create that file.
936 (todo-default-priority): New user option.
937 (todo-set-item-priority): Use it.
938 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
939 (desktop-restore-file-buffer): Declare.
940 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
941 (todo-modes-set-2): Locally set desktop-save-buffer to
942 todo-desktop-save-buffer.
943 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
944 (auto-mode-alist): Add autoload cookie.
945
946 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
947
948 * emacs-lisp/subr-x.el: Renamed from helpers.el.
949 helpers.el was a poor choice of name.
950 (string-remove-prefix): New function.
951 (string-remove-suffix): New function.
952
953 2013-12-20 Martin Rudalics <rudalics@gmx.at>
954
955 Fix assignment for new window total sizes.
956 * window.el (window--pixel-to-size): Remove function.
957 (window--pixel-to-total-1, window--pixel-to-total):
958 Fix calculation of new total sizes.
959
960 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
961
962 * comint.el (comint-output-filter): Fix rear-nonsticky property
963 placement (Bug#16010).
964
965 2013-12-20 Chong Yidong <cyd@gnu.org>
966
967 * faces.el (read-color): Minor fix for completion function.
968
969 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
970
971 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
972 New option. (Bug#16182)
973 (ruby-smie--indent-to-stmt-p): Use it.
974 (ruby-smie-rules): Revert the logic in the handling of `when'.
975 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
976 (ruby-deep-arglist, ruby-deep-indent-paren)
977 (ruby-deep-indent-paren-style): Update docstrings to note that the
978 vars don't have any effect with SMIE.
979
980 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
981
982 * calc/calc.el (calc-enter, calc-pop): Use the variable
983 `calc-context-sensitive-enter'.
984
985 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
986
987 * net/shr.el (shr-insert): Protect against infloops in degenerate
988 tables.
989
990 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
991
992 * progmodes/octave.el (octave): Add link to manual and octave
993 homepage.
994 (octave-mode-menu): Link to octave-mode manual.
995
996 2013-12-20 Leo Liu <sdl.web@gmail.com>
997
998 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
999 insertion using skeleton-end-newline. (Bug#16138)
1000
1001 2013-12-20 Juri Linkov <juri@jurta.org>
1002
1003 * replace.el (occur-engine): Use `add-face-text-property'
1004 to add the face property to matches and titles. (Bug#14645)
1005
1006 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1007 the palette of other hi-lock colors.
1008 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1009
1010 2013-12-19 Juri Linkov <juri@jurta.org>
1011
1012 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1013 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1014 (minibuffer-history-symbol): Move variable declaration closer to
1015 its usage.
1016
1017 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1018 (Bug#14785)
1019
1020 2013-12-19 Juri Linkov <juri@jurta.org>
1021
1022 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1023 New function.
1024 (log-edit-hook): Add it to :options. (Bug#16170)
1025
1026 2013-12-19 Juri Linkov <juri@jurta.org>
1027
1028 * simple.el (eval-expression-print-format): Don't check for
1029 command names and the last command. Always display additional
1030 formats of the integer result in the echo area, and insert them
1031 to the current buffer only with a zero prefix arg.
1032 Display character when char-displayable-p is non-nil.
1033 (eval-expression): With a zero prefix arg, set `print-length' and
1034 `print-level' to nil, and insert the integer values from
1035 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1036
1037 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1038 `eval-last-sexp-arg-internal'. Doc fix.
1039 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1040 `eval-last-sexp-print-value'. Doc fix.
1041 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1042 Set `print-length' and `print-level' to nil when arg is zero.
1043 (eval-last-sexp): Doc fix.
1044 (eval-defun-2): Print the integer values from
1045 `eval-expression-print-format' at the end.
1046
1047 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1048 values from `eval-expression-print-format' at the end.
1049
1050 * ielm.el (ielm-eval-input): Print the integer
1051 values from `eval-expression-print-format' at the end.
1052
1053 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1054
1055 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1056 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1057
1058 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1059
1060 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1061 (hl-line-highlight, global-hl-line-highlight): Use it.
1062 (hl-line-overlay): Use defvar-local.
1063
1064 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1065
1066 * term/ns-win.el: Require dnd.
1067 (global-map): Remove drag items.
1068 (ns-insert-text, ns-set-foreground-at-mouse)
1069 (ns-set-background-at-mouse):
1070 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1071 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1072 New functions.
1073
1074 2013-12-19 Glenn Morris <rgm@gnu.org>
1075
1076 * emacs-lisp/ert.el (ert-select-tests):
1077 Fix string/symbol mixup. (Bug#16121)
1078
1079 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1080
1081 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1082 keywords to their parent.
1083
1084 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1085
1086 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1087 first arg to be a string (fixed dead code), or an operator symbol.
1088 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1089 operator symbols.
1090 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1091 did nothing. Don't respond to `(:after ".")', it will be called
1092 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1093 change anything. Only return indentation for binary operators
1094 when they are hanging. De-dent opening paren when its parent is
1095 `.', otherwise it looks bad when the dot is not at bol or eol
1096 (bug#16182).
1097
1098 2013-12-19 Juri Linkov <juri@jurta.org>
1099
1100 * replace.el (query-replace-read-args): Split a non-negative arg
1101 and a negative arg into separate elements.
1102 (query-replace, query-replace-regexp, replace-string)
1103 (replace-regexp): Add arg `backward'. Doc fix.
1104 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1105 move point to the beginning of the match.
1106 (replace-search, replace-highlight): Use new arg `backward'
1107 to set the value of `isearch-forward'.
1108 (perform-replace): Add arg `backward' and use it to perform
1109 replacement backward. (Bug#14979)
1110
1111 * isearch.el (isearch-query-replace): Use a negative prefix arg
1112 to call `perform-replace' with a non-nil arg `backward'.
1113
1114 2013-12-18 Juri Linkov <juri@jurta.org>
1115
1116 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1117 to the default list. Move `log-edit-show-files' to the end.
1118 Add more available functions to options.
1119 (log-edit): Move default specific settings to
1120 `log-edit-insert-message-template'. Don't move point.
1121 (log-edit-insert-message-template): New function.
1122 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1123 (Bug#16170)
1124
1125 2013-12-18 Juri Linkov <juri@jurta.org>
1126
1127 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1128 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1129
1130 2013-12-18 Leo Liu <sdl.web@gmail.com>
1131
1132 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1133 (Bug#16186)
1134
1135 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1136
1137 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1138 formats for displaying file sizes when the -s switch is given.
1139 Instead, compute a separate format for displaying the size in
1140 blocks, which is displayed in addition to the "regular" size.
1141 When -h is given in addition to -s, produce size in blocks in
1142 human-readable form as well. (Bug#16179)
1143
1144 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1145
1146 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1147 Reference tables with ~\ref{...} instead of only \ref{...}.
1148
1149 2013-12-18 Chong Yidong <cyd@gnu.org>
1150
1151 * cus-edit.el (custom-magic-alist): Fix "themed" description
1152 (Bug#14348).
1153
1154 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1155 is non-nil, do not create a new entry in the symbol's theme-value
1156 or theme-face property; update theme-settings only (Bug#14664).
1157 (custom-available-themes): Doc fix.
1158
1159 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1160 (Bug#15674).
1161
1162 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1163
1164 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1165
1166 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1167 (Bug#13914).
1168
1169 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1170
1171 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1172
1173 2013-12-18 Glenn Morris <rgm@gnu.org>
1174
1175 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1176 * cus-start.el (load-prefer-newer): New option.
1177
1178 2013-12-18 Le Wang <l26wang@gmail.com>
1179
1180 * comint.el (comint-previous-matching-input-from-input):
1181 Retain point (Bug#13404).
1182
1183 2013-12-18 Chong Yidong <cyd@gnu.org>
1184
1185 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1186
1187 2013-12-18 Glenn Morris <rgm@gnu.org>
1188
1189 * mail/emacsbug.el (report-emacs-bug):
1190 Only mention enable-multibyte-characters if non-standard.
1191
1192 2013-12-17 Juri Linkov <juri@jurta.org>
1193
1194 * arc-mode.el (archive-extract-by-file): Check if directory exists
1195 before deletion to not show irrelevant errors if it doesn't exist.
1196
1197 2013-12-17 Juri Linkov <juri@jurta.org>
1198
1199 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1200 (Bug#14751)
1201
1202 * net/eww.el (browse-web): Add alias to `eww'.
1203 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1204 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1205
1206 * net/browse-url.el (browse-url-browser-function): Move `eww'
1207 closer to similar functions.
1208
1209 * startup.el (fancy-startup-screen, fancy-about-screen):
1210 Set browse-url-browser-function to eww-browse-url locally.
1211 (Bug#14751)
1212
1213 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1214
1215 * window.el (window--pixel-to-total): Remove unused `mini' var.
1216 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1217 (split-window): Remove unused `new' var.
1218 (window--display-buffer): Remove unused `frame' and `delta' vars.
1219 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1220 and display-width'.
1221
1222 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1223
1224 * dired.el (dired-mark-pop-up):
1225 * register.el (register-preview): Don't bind
1226 split-height-threshold here since it's now done in
1227 display-buffer-below-selected.
1228
1229 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1230
1231 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1232 xterm-rgb-convert-to-16bit.
1233 (rxvt-register-default-colors): Standardize with
1234 xterm-register-default-colors (Bug#14078).
1235
1236 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1237
1238 * simple.el (kill-region): Pass mark first, then point, so that
1239 kill-append works right (Bug#12819).
1240 (copy-region-as-kill, kill-ring-save): Likewise.
1241
1242 2013-12-17 Leo Liu <sdl.web@gmail.com>
1243
1244 * net/rcirc.el (rcirc-add-face):
1245 * eshell/em-prompt.el (eshell-emit-prompt):
1246 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1247 (Bug#16167)
1248
1249 2013-12-17 Chong Yidong <cyd@gnu.org>
1250
1251 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1252 Suggested by Xue Fuqiao.
1253
1254 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1255
1256 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1257
1258 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * net/shr.el (shr-insert-document): Remove unused var
1261 `shr-preliminary-table-render'.
1262 (shr-rescale-image): Remove unused arg `force'.
1263 (shr-put-image): Update calls accordingly.
1264 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1265
1266 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1267
1268 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1269 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1270 :close-all, to see which indentation method to use (Bug#16116).
1271 (smie-rules-function): Document the method :close-all.
1272
1273 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1274
1275 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1276
1277 * net/eww.el (eww-display-html): If we can't find the anchor we're
1278 looking for, then go to point-min.
1279
1280 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1281
1282 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1283 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1284 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1285 Expand dir too, in case it's relative.
1286
1287 2013-12-16 Juri Linkov <juri@jurta.org>
1288
1289 * desktop.el (desktop-auto-save-timeout): Change default to
1290 `auto-save-timeout'. Doc fix.
1291 (desktop-save): Skip the timestamp in desktop-saved-frameset
1292 when checking for auto-save changes.
1293 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1294 `desktop-auto-save' is called repeatedly by the idle timer.
1295 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1296 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1297 (Bug#15331)
1298
1299 2013-12-16 Juri Linkov <juri@jurta.org>
1300
1301 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1302 (Bug#16035)
1303 (isearch-pre-command-hook): Check `this-command' for symbolp.
1304
1305 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1306
1307 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1308
1309 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1310
1311 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1312 (cfengine3--current-function): Bring in the current-function
1313 functionality from `cfengine3--current-word'.
1314 (cfengine3-completion-function): Bring in the
1315 bounds-of-current-word functionality from
1316 `cfengine3--current-word'.
1317
1318 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1319
1320 * window.el (display-buffer-below-selected):
1321 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1322
1323 2013-12-16 Leo Liu <sdl.web@gmail.com>
1324
1325 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1326 Remove NOMSG arg and all uses changed.
1327
1328 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1331 (cua--deactivate-rectangle): Don't deactivate the mark.
1332 (cua-set-rectangle-mark): Don't set mark-active since
1333 cua--activate-rectangle already does it for us.
1334 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1335 non-rectangular region.
1336
1337 * emulation/cua-base.el (cua-repeat-replace-region):
1338 Use with-current-buffer.
1339
1340 * net/gnutls.el: Use cl-lib.
1341 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1342
1343 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1344
1345 * emacs-lisp/package.el (package-built-in-p): Support both
1346 built-in and the package.el converted package descriptions.
1347 (package-show-package-list): Allow keywords.
1348 (package-keyword-button-action): Use it instead of
1349 `finder-list-matches'.
1350 (package-menu-filter-interactive): Interactive filtering (by
1351 keyword) function.
1352 (package-menu--generate): Support keywords and change keymappings
1353 and headers when they are given.
1354 (package--has-keyword-p): Helper function.
1355 (package-menu--refresh): Use it.
1356 (package--mapc): Helper function.
1357 (package-all-keywords): Use it.
1358 (package-menu-mode-map): Set up menu items and keybindings to
1359 provide a filtering UI.
1360
1361 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1362
1363 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1364 the behavior when a certificate fails validation. Defaults to
1365 old behavior: never abort, just warn.
1366 (gnutls-negotiate): Use it.
1367
1368 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1369
1370 * window.el (display-buffer-below-selected): Never split window
1371 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1372
1373 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1374
1375 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1376 (package-buffer-info): Use it (bug#15108).
1377
1378 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * icomplete.el (icomplete-completions): Make sure the prefix is already
1381 displayed elsewhere before hiding it (bug#16219).
1382
1383 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1384
1385 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1386 open-paren tokens when preceded by a open-paren, too.
1387 (ruby-smie-rules): Handle virtual indentation after open-paren
1388 tokens specially. If there is code between it and eol, return the
1389 column where is starts (Bug#16118).
1390
1391 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1392
1393 * progmodes/cfengine.el: Fix `add-hook' doc.
1394 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1395 (cfengine3--current-word): Fix parameters.
1396 (cfengine3-make-syntax-cache): Simplify further.
1397 (cfengine3-completion-function, cfengine3--current-function):
1398 Use `assq' for symbols.
1399 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1400
1401 2013-12-13 Glenn Morris <rgm@gnu.org>
1402
1403 * loadup.el (load-path): Warn if site-load or site-init changes it.
1404 No more need to reset it when bootstrapping.
1405
1406 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1407
1408 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1409 locations for cf-promises.
1410 (cfengine-mode-syntax-functions-regex): New caching variable.
1411 (cfengine3-fallback-syntax): Fallback syntax for cases where
1412 cf-promises doesn't run.
1413 (cfengine3--current-word): Reimplement using
1414 `cfengine-mode-syntax-functions-regex'.
1415 (cfengine3-completion-function, cfengine3--current-function):
1416 Use `cfengine3-make-syntax-cache' directly.
1417 (cfengine3-clear-syntax-cache): New function.
1418 (cfengine3-make-syntax-cache): Simplify and create
1419 `cfengine-mode-syntax-functions-regex' on demand.
1420 (cfengine3-format-function-docstring): Don't call
1421 `cfengine3-make-syntax-cache' explicitly.
1422
1423 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1424
1425 Fix windmove-find-other-window broken after pixelwise resizing
1426 (Bug#16017).
1427 * windmove.el (windmove-other-window-loc): Revert change from
1428 2013-12-04.
1429 (windmove-find-other-window): Call window-in-direction.
1430 * window.el (window-in-direction): New arguments SIGN, WRAP and
1431 MINI to emulate original windmove-find-other-window behavior.
1432
1433 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1434
1435 * simple.el (blink-matching--overlay): New variable.
1436 (blink-matching-open): Instead of moving point, highlight the
1437 matching paren with an overlay
1438 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1439
1440 * faces.el (paren-showing-faces, show-paren-match)
1441 (show-paren-mismatch): Move from paren.el.
1442
1443 2013-12-13 Leo Liu <sdl.web@gmail.com>
1444
1445 * indent.el (indent-region): Disable progress reporter in
1446 minibuffer. (Bug#16108)
1447
1448 * bindings.el (visual-order-cursor-movement): Fix version.
1449
1450 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1451
1452 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1453 Also match after beginning of line.
1454 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1455 files. Thanks to Russell Sim. (Bug#15378)
1456
1457 2013-12-13 Juri Linkov <juri@jurta.org>
1458
1459 * simple.el <Keypad support>: Remove key bindings duplicated
1460 with bindings.el. (Bug#14397)
1461
1462 2013-12-13 Juri Linkov <juri@jurta.org>
1463
1464 * comint.el (comint-mode-map): Replace `delete-char' with
1465 `delete-forward-char'. (Bug#16109)
1466
1467 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1468
1469 * progmodes/python.el (python-indent-calculate-indentation):
1470 Fix de-denters cornercase. (Bug#15731)
1471
1472 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1473
1474 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1475 (advice--make): Pay attention to `depth'.
1476 (advice--make-1): Don't autoload commands eagerly.
1477 * emacs-lisp/elp.el (elp-instrument-function):
1478 * emacs-lisp/trace.el (trace-function-internal):
1479 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1480
1481 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1482
1483 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1484
1485 * term/w32-win.el (w32-handle-dropped-file):
1486 * startup.el (normal-top-level):
1487 * net/browse-url.el (browse-url-file-url):
1488 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1489 decode file names using 'utf-8' rather than
1490 file-name-coding-system.
1491
1492 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1493
1494 * progmodes/python.el (python-indent-context)
1495 (python-indent-calculate-indentation): Fix auto-identation
1496 behavior for comment blocks. (Bug#15916)
1497
1498 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1499
1500 * progmodes/python.el (python-indent-calculate-indentation):
1501 When determining indentation, don't treat "return", "pass", etc., as
1502 operators when they are just string constituents. (Bug#15812)
1503
1504 2013-12-12 Juri Linkov <juri@jurta.org>
1505
1506 * uniquify.el (uniquify-buffer-name-style): Change default to
1507 `post-forward-angle-brackets'.
1508
1509 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1510 `uniquify'. Change default to `post-forward-angle-brackets'.
1511
1512 2013-12-11 Glenn Morris <rgm@gnu.org>
1513
1514 * emacs-lisp/package.el (finder-list-matches):
1515 Autoload rather than falsely declaring.
1516
1517 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1518
1519 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1520 (eww-mode-map): Use them.
1521
1522 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1523
1524 * window.el (display-buffer-in-side-window): Fix doc-string
1525 (Bug#16115).
1526
1527 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1528
1529 * vc/vc-git.el: Silence byte-compiler warnings.
1530 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1531 (log-edit-set-header): Declare.
1532
1533 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1534
1535 * Makefile.in (custom-deps, finder-data): Run output file names
1536 through unmsys--file-name. (Bug#16099)
1537
1538 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1541 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1542
1543 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1544 instead of deleting the selection "by hand" (bug#16098).
1545 Rely on insert-for-yank to yank rectangles.
1546 (cua-highlight-region-shift-only): Mark obsolete.
1547 (cua-mode): Don't enable/disable transient-mark-mode,
1548 shift-select-mode (cua-mode works both with and without them), and
1549 pc-selection-mode (obsolete).
1550 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1551 (cua--deactivate-rectangle): Deactivate it.
1552
1553 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1554 (delete-selection-helper): Make sure yank starts at the top of the
1555 deleted region.
1556 (minibuffer-keyboard-quit): Use region-active-p.
1557
1558 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1559
1560 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1561 to `delete' (bug#16109).
1562
1563 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1564
1565 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1566 info manual and show keybindings and set `:group' keyword.
1567
1568 2013-12-11 Juri Linkov <juri@jurta.org>
1569
1570 * delsel.el (delete-active-region): Let-bind `this-command'
1571 to prevent `kill-region' from changing its original value.
1572 (delete-selection-helper): Handle `overwrite-mode' for the type
1573 `kill' exactly the same way as for the type `t'.
1574 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1575 Support more commands. (Bug#13312)
1576
1577 2013-12-11 Juri Linkov <juri@jurta.org>
1578
1579 * bindings.el: Map kp keys to non-kp keys systematically
1580 with basic modifiers control, meta and shift. (Bug#14397)
1581
1582 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1583
1584 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1585 "Close browser" menu items. Fix wrong function of "List
1586 bookmarks".
1587
1588 2013-12-11 Juri Linkov <juri@jurta.org>
1589
1590 * misearch.el (multi-isearch-buffers): Set the value of
1591 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1592 arg of isearch-forward to t.
1593 (multi-isearch-buffers-regexp): Set the value of
1594 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1595 arg of isearch-forward-regexp to t.
1596 (multi-isearch-files): Set the value of
1597 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1598 arg of isearch-forward to t.
1599 (multi-isearch-files-regexp): Set the value of
1600 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1601 arg of isearch-forward-regexp to t. (Bug#16035)
1602
1603 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1604 arg of isearch-forward to t.
1605 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1606 arg of isearch-forward-regexp to t.
1607 (dired-isearch-filter-filenames): Remove unnecessary check for
1608 `dired-isearch-filenames'.
1609
1610 * comint.el (comint-history-isearch-backward):
1611 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1612 (comint-history-isearch-backward-regexp):
1613 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1614
1615 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1616
1617 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1618 unmsys--file-name. (Bug#16099)
1619
1620 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1621
1622 * emacs-lisp/package.el (package-keyword-button-action):
1623 Remove finder.el require dependency.
1624
1625 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1626
1627 * emacs-lisp/package.el: Require finder.el.
1628 (describe-package-1): Add keyword buttons.
1629 (package-make-button): New convenience function.
1630 (package-keyword-button-action): Keyword button action using
1631 `finder-list-matches'.
1632
1633 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1634
1635 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1636 last commit.
1637
1638 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1639
1640 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1641 symlinked files.
1642
1643 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1644
1645 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1646 after the end of a percent literal.
1647
1648 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1649
1650 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1651 Handle caret-delimited strings (Bug#16079).
1652
1653 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1654
1655 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1656 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1657 `ruby-parse-partial' (Bug#16078).
1658
1659 2013-12-09 Leo Liu <sdl.web@gmail.com>
1660
1661 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1662
1663 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1664
1665 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1666 (js-switch-indent-offset): New option.
1667 (js--proper-indentation): Use it. And handle the case when
1668 "default" is actually a key in an object literal.
1669 (js--same-line): New function.
1670 (js--multi-line-declaration-indentation): Use it.
1671 (js--indent-in-array-comp, js--array-comp-indentation):
1672 New functions.
1673 (js--proper-indentation): Use them, to handle array comprehension
1674 continuations.
1675
1676 2013-12-08 Leo Liu <sdl.web@gmail.com>
1677
1678 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1679 (flymake-make-overlay): Remove arg MOUSE-FACE.
1680 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1681
1682 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1685 New function.
1686 (redisplay-highlight-region-function): Use it.
1687
1688 * emulation/cua-base.el (cua--explicit-region-start)
1689 (cua--last-region-shifted): Remove.
1690 (cua--deactivate): Use deactivate-mark.
1691 (cua--pre-command-handler-1): Don't handle shift-selection.
1692 (cua--post-command-handler-1): Don't change transient-mark-mode.
1693 (cua--select-keymaps): Use region-active-p rather than
1694 cua--explicit-region-start or cua--last-region-shifted.
1695 (cua-mode): Enable shift-select-mode.
1696
1697 2013-12-08 Leo Liu <sdl.web@gmail.com>
1698
1699 * progmodes/flymake.el (flymake-popup-current-error-menu):
1700 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1701 (flymake-posn-at-point-as-event, flymake-popup-menu)
1702 (flymake-make-emacs-menu): Remove. (Bug#16077)
1703
1704 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * rect.el (rectangle-mark-mode): Activate mark even if
1707 transient-mark-mode is off (bug#16066).
1708 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1709 is > mark and at bolp.
1710
1711 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1712 (region-extract-function): Use it.
1713 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1714 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1715 Delete functions.
1716 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1717 kill-ring-save, kill-region, delete-char, delete-forward-char.
1718 Ignore self-insert-iso.
1719
1720 * emulation/cua-gmrk.el (cua--init-global-mark):
1721 Ignore `self-insert-iso'.
1722
1723 * emulation/cua-base.el (cua--prefix-copy-handler)
1724 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1725 checking cua--rectangle.
1726 (cua-delete-region): Use region-extract-function.
1727 (cua-replace-region): Delete function.
1728 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1729 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1730 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1731 (cua--init-keymaps): Don't remap delete-selection commands.
1732 (cua-mode): Use delete-selection-mode instead of rolling our own
1733 (bug#16085).
1734
1735 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1736 Obey region-extract-function.
1737
1738 Make registers and delete-selection-mode work on rectangles.
1739 * register.el (describe-register-1): Don't modify the register's value.
1740 (copy-to-register): Obey region-extract-function.
1741 * delsel.el (delete-active-region): Obey region-extract-function.
1742
1743 2013-12-08 Leo Liu <sdl.web@gmail.com>
1744
1745 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1746 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1747 (flymake-compilation-prevents-syntax-check)
1748 (flymake-start-syntax-check-on-newline)
1749 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1750 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1751 (flymake-xml-program, flymake-master-file-dirs)
1752 (flymake-master-file-count-limit)
1753 (flymake-allowed-file-name-masks): Relocate.
1754 (flymake-makehash, flymake-float-time)
1755 (flymake-replace-regexp-in-string, flymake-split-string)
1756 (flymake-get-temp-dir): Remove.
1757 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1758 (flymake-current-row, flymake-selected-frame)
1759 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1760 related functions. (Bug#16077)
1761
1762 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1763
1764 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1765
1766 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1767
1768 * help-fns.el (describe-function-1): Use new advice-* functions
1769 rather than old ad-* functions. Fix function type description and
1770 source links for advised functions and subrs.
1771
1772 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1773
1774 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1775
1776 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1777
1778 * progmodes/compile.el (compilation-start):
1779 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1780
1781 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1782 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1783
1784 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1785
1786 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1787 Touch up the last change.
1788
1789 2013-12-06 Leo Liu <sdl.web@gmail.com>
1790
1791 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1792 (inferior-octave-startup): Always use "octave> " for prompt.
1793 (octave-goto-function-definition)
1794 (octave-sync-function-file-names)
1795 (octave-find-definition-default-filename): Remove redundant backquotes.
1796
1797 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1798
1799 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1800 syntax for `?'.
1801 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1802 where appropriate already.
1803 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1804 end of method names (Bug#15874).
1805
1806 2013-12-06 Juri Linkov <juri@jurta.org>
1807
1808 * isearch.el (isearch--saved-overriding-local-map):
1809 New internal variable.
1810 (isearch-mode): Set it to the initial value of
1811 `overriding-terminal-local-map'.
1812 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1813 with `isearch--saved-overriding-local-map'. (Bug#16035)
1814
1815 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/octave.el (inferior-octave-completion-table):
1818 Turn back into function, use `completion-table-with-cache'
1819 (Bug#11906). Update all references.
1820
1821 * minibuffer.el (completion-table-with-cache): New function.
1822
1823 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1824
1825 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1826
1827 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1828
1829 * net/eww.el (eww-current-source): New variable to store page
1830 source.
1831 (eww-display-html, eww-mode, eww-save-history)
1832 (eww-restore-history): Use it.
1833 (eww-view-source): New command to view page source.
1834 Opportunistically uses `html-mode' to highlight the buffer.
1835 (eww-mode-map): Install it.
1836
1837 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1838
1839 * net/dbus.el (dbus-unregister-service)
1840 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1841 Fix docstring.
1842 (dbus-unregister-service): Skip :serial entries in
1843 `dbus-registered-objects-table'.
1844 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1845
1846 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1847
1848 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1849 around keywords with extra `split-string' argument.
1850
1851 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1852
1853 * windmove.el (windmove-other-window-loc): Handle navigation
1854 between windows (excluding the minibuffer window - Bug#16017).
1855
1856 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1857
1858 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1859 in D-Bus type syntax.
1860 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1861 preserve unibyte strings. (Bug#16048)
1862
1863 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1866 Call force-mode-line-update is the proper buffer (bug#16042).
1867
1868 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1869
1870 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1871 `log-edit-remember-comment', make argument optional. Adjust all
1872 callers.
1873 (log-edit-mode): Add `log-edit-remember-comment' to
1874 `kill-buffer-hook' locally.
1875 (log-edit-kill-buffer): Don't remember comment explicitly since
1876 the buffer is killed anyway.
1877
1878 2013-12-04 Juri Linkov <juri@jurta.org>
1879
1880 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1881 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1882
1883 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1884
1885 * notifications.el (notifications-close-notification): Call the
1886 D-Bus method with ID being a `:uint32'. (Bug#16030)
1887
1888 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1889
1890 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1891
1892 2013-12-03 Juri Linkov <juri@jurta.org>
1893
1894 * progmodes/compile.el (compilation-start): Rename window alist
1895 entry `no-display-ok' to `allow-no-window'.
1896
1897 * simple.el (shell-command): Add window alist entry
1898 `allow-no-window' to `display-buffer'.
1899 (async-shell-command): Doc fix.
1900
1901 * window.el (display-buffer-no-window): New action function.
1902 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1903
1904 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1905
1906 * vc/log-edit.el (log-edit-set-header): Extract from
1907 `log-edit-toggle-header'.
1908 (log-edit-extract-headers): Separate the summary, when extracted
1909 from header, from the rest of the message with an empty line.
1910
1911 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1912 line, if present, to the Summary header.
1913
1914 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1915
1916 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1917 in current-buffer (bug#16029).
1918
1919 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1920
1921 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1922 (debugger-mode-map): Bind it.
1923 (debugger--backtrace-base): New function.
1924 (debugger-eval-expression): Use it.
1925 (debugger-frame-number): Skip local vars when present.
1926 (debugger--locals-visible-p, debugger--insert-locals)
1927 (debugger--show-locals, debugger--hide-locals): New functions.
1928
1929 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1930
1931 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1932 "LC_ALL".
1933 (tramp-get-remote-locale): New defun.
1934 (tramp-open-connection-setup-interactive-shell): Use it.
1935
1936 2013-12-02 Leo Liu <sdl.web@gmail.com>
1937
1938 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1939
1940 * progmodes/sh-script.el (sh-shell-process):
1941 * progmodes/octave.el (inferior-octave-process-live-p):
1942 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1943 (gdb-inferior-io-sentinel):
1944 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1945
1946 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1947
1948 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1949 `save-selected-window' to `log-edit-hide-buf'. This makes
1950 `log-edit-show-files' idempotent.
1951 (log-edit-show-files): Mark the new window as dedicated.
1952
1953 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1954
1955 * vc/log-edit.el (log-edit-mode-map): Add binding for
1956 `log-edit-kill-biffer'.
1957 (log-edit-hide-buf): Add a FIXME comment.
1958 (log-edit-add-new-comment): New function, extracted from
1959 `log-edit-done'.
1960 (log-edit-done, log-edit-add-to-changelog): Use it.
1961 (log-edit-kill-buffer): New command.
1962
1963 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1964
1965 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1966 instead of killing the buffer.
1967
1968 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1971
1972 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1973
1974 * net/eww.el (eww-form-checkbox-selected-symbol)
1975 (eww-form-checkbox-symbol): New customizable variable.
1976 (eww-form-checkbox, eww-toggle-checkbox):
1977 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1978
1979 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1980 (shr--get-media-pref, shr--extract-best-source): New function.
1981 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1982 no :src tag was specified.
1983
1984 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1985 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1986 Use \\` to match beginning of string instead of ^.
1987 (eww-browse-with-external-browser): Provide optional URL parameter.
1988 (eww-render): Set `eww-current-title' back to "".
1989
1990 * net/shr.el (shr-tag-video): Display content for video if no
1991 poster is available.
1992 (shr-tag-audio): Add support for <audio> tag.
1993
1994 * net/eww.el (eww-text-input-types): New const.
1995 (eww-process-text-input): Treat input types in
1996 `eww-text-input-types' as text.
1997
1998 * net/shr.el (shr-tag-table): Fix comment typo.
1999
2000 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2001
2002 * net/eww.el (eww-follow-link): New command to avoid reloading
2003 pages when we follow #target links (bug#15243).
2004 (eww-quit): Special mode buffers shouldn't query before exiting.
2005
2006 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2007
2008 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2009 forms.
2010
2011 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2012
2013 * net/eww.el (eww-restore-history): Update the window title after
2014 moving in the history.
2015 (eww-current-dom): New variable used to save the current DOM.
2016
2017 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2018
2019 * vc/log-edit.el (log-edit-mode-map): Add binding for
2020 `log-edit-beginning-of-line'.
2021 (log-edit-setup-add-author): New user option.
2022 (log-edit-beginning-of-line): New command.
2023 (log-edit): Move major mode call above the contents setup so that
2024 the local variable values are already applied.
2025 (log-edit): Only insert "Author: " when
2026 `log-edit-setup-add-author' is non-nil.
2027 (log-edit): When SETUP is non-nil, position point after ": "
2028 instead of point-min.
2029
2030 2013-12-01 Glenn Morris <rgm@gnu.org>
2031
2032 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2033
2034 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2035
2036 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2037 redisplay to make sure the initial frame gets a chance to become
2038 visible. (Bug#16014)
2039
2040 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2041
2042 Support resizing frames and windows pixelwise.
2043 * cus-start.el (frame-resize-pixelwise)
2044 (window-resize-pixelwise): New entries.
2045 * emacs-lisp/debug.el (debug): Use window-total-height instead
2046 of window-total-size.
2047 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2048 * help.el (describe-bindings-internal): Call help-buffer
2049 (temp-buffer-max-width): New option.
2050 (resize-temp-buffer-window, help-window-setup)
2051 (with-help-window): Rewrite.
2052 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2053 dragging dividers.
2054 * window.el (frame-char-size, window-min-pixel-height)
2055 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2056 (window-min-pixel-width, window-safe-min-pixel-size)
2057 (window-combination-p, window-safe-min-size)
2058 (window-resizable-p, window--size-to-pixel)
2059 (window--pixel-to-size, window--resize-apply-p): New functions.
2060 (window-safe-min-height): Fix doc-string.
2061 (window-size, window-min-size, window--min-size-1)
2062 (window-sizable, window-sizable-p, window--min-delta-1)
2063 (window-min-delta, window--max-delta-1, window-max-delta)
2064 (window--resizable, window--resizable-p, window-resizable)
2065 (window-full-height-p, window-full-width-p, window-at-side-p)
2066 (window--in-direction-2, window-in-direction)
2067 (window--resize-reset-1, window--resize-mini-window)
2068 (window-resize, window-resize-no-error)
2069 (window--resize-child-windows-normal)
2070 (window--resize-child-windows, window--resize-siblings)
2071 (window--resize-this-window, window--resize-root-window)
2072 (window--resize-root-window-vertically)
2073 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2074 (maximize-window, minimize-window, delete-window)
2075 (quit-restore-window, window-split-min-size, split-window)
2076 (balance-windows-2, balance-windows)
2077 (balance-windows-area-adjust, balance-windows-area)
2078 (window--state-get-1, window-state-get, window--state-put-1)
2079 (window--state-put-2, window-state-put)
2080 (display-buffer-record-window, window--display-buffer):
2081 Make functions handle pixelwise sizing of windows.
2082 (display-buffer--action-function-custom-type)
2083 (display-buffer-fallback-action):
2084 Add display-buffer-in-previous-window.
2085 (display-buffer-use-some-window): Resize window to height it had
2086 before.
2087 (fit-window-to-buffer-horizontally): New option.
2088 (fit-frame-to-buffer): Describe new values.
2089 (fit-frame-to-buffer-bottom-margin): Replace with
2090 fit-frame-to-buffer-margins.
2091 (window--sanitize-margin): New function.
2092 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2093 using window-text-pixel-size.
2094
2095 2013-11-30 Glenn Morris <rgm@gnu.org>
2096
2097 * emacs-lisp/bytecomp.el (byte-compile-form):
2098 Make the `interactive-only' warning like the `obsolete' one.
2099 * comint.el (comint-run):
2100 * files.el (insert-file-literally, insert-file):
2101 * replace.el (replace-string, replace-regexp):
2102 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2103 (goto-line, insert-buffer, next-line, previous-line):
2104 Tweak `interactive-only' spec.
2105
2106 Stop keeping (most) generated cedet grammar files in the repository.
2107 * Makefile.in (semantic): New.
2108 (compile-main): Depend on semantic.
2109
2110 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2113 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2114
2115 * uniquify.el (uniquify-buffer-name-style): Change default.
2116
2117 * loadup.el: Preload "uniquify".
2118
2119 * time.el (display-time-update): Update all mode lines (bug#15999).
2120
2121 * electric.el (electric-indent-mode): Enable by default.
2122 * loadup.el: Preload "electric".
2123
2124 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2125
2126 * emacs-lisp/helpers.el (string-empty-p): New function.
2127 (string-blank-p): New function.
2128
2129 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2130
2131 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2132 (Bug#14029).
2133
2134 2013-11-29 Andreas Politz <politza@fh-trier.de>
2135 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2136 allow non-lambda lists as functions.
2137 (imenu--in-alist): Don't recurse into non-subalists.
2138 (imenu): Don't pass function itself as an argument (Bug#14029).
2139
2140 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * progmodes/python.el (python-mode-map): Remove binding for ":".
2143 (python-indent-electric-colon): Remove command.
2144 (python-indent-post-self-insert-function): Integrate the previous code
2145 of python-indent-electric-colon. Make it conditional on
2146 electric-indent-mode.
2147 (python-mode): Add ?: to electric-indent-chars.
2148 Move python-indent-post-self-insert-function to the end of
2149 post-self-insert-hook.
2150
2151 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * doc-view.el (doc-view-goto-page): Update mode-line.
2154
2155 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2156
2157 2013-11-27 Glenn Morris <rgm@gnu.org>
2158
2159 * international/charprop.el, international/uni-bidi.el:
2160 * international/uni-category.el, international/uni-combining.el:
2161 * international/uni-comment.el, international/uni-decimal.el:
2162 * international/uni-decomposition.el, international/uni-digit.el:
2163 * international/uni-lowercase.el, international/uni-mirrored.el:
2164 * international/uni-name.el, international/uni-numeric.el:
2165 * international/uni-old-name.el, international/uni-titlecase.el:
2166 * international/uni-uppercase.el:
2167 Remove generated files from VCS repository.
2168
2169 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2170
2171 * filenotify.el (file-notify-add-watch): Don't special-case
2172 w32notify when computing the directory to watch.
2173
2174 2013-11-27 Glenn Morris <rgm@gnu.org>
2175
2176 Make bootstrap without generated uni-*.el files possible again.
2177 * loadup.el: Update command-line-args checking for unidata-gen.
2178 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2179 * composite.el, international/characters.el:
2180 Handle unicode tables being undefined.
2181
2182 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2183 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2184 (compile-main): Depend on leim rule.
2185 (leim): New rule.
2186 * loadup.el: Move leim-list.el to leim/ subdirectory.
2187 * startup.el (normal-top-level): No more leim directory.
2188 * international/ja-dic-cnv.el (skkdic-convert):
2189 Disable version-control and autoloads in output files.
2190 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2191 Disable version-control and autoloads in output files.
2192 * leim/quail: Move here from ../leim.
2193 * leim/quail/hangul.el (hangul-input-method-activate):
2194 Add autoload cookie.
2195 (generated-autoload-load-name): Set file-local value.
2196 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2197 (generated-autoload-load-name): Set file-local value.
2198
2199 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2200
2201 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2202 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2203 (eww-quit): Ask confirmation before quitting eww.
2204
2205 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2206
2207 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2208 reading output from Diff on MS-Windows and MS-DOS.
2209
2210 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2211
2212 * emacs-lisp/helpers.el (string-reverse): New function.
2213
2214 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2215
2216 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2217 names on MS Windows, like "/[::1]:".
2218
2219 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2220 SWITCHES.
2221
2222 2013-11-26 Glenn Morris <rgm@gnu.org>
2223
2224 * progmodes/python.el (python-indent-guess-indent-offset):
2225 Avoid corner-case error. (Bug#15975)
2226
2227 Preload leim-list.el. (Bug#4789)
2228 * loadup.el: Load leim-list.el when found.
2229 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2230
2231 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2232
2233 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2234
2235 * emacs-lisp/helpers.el (string-join): New function.
2236
2237 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2238
2239 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2240 Mark as obsolete and replace it with a symbol property.
2241 (byte-compile-form): Use new 'interactive-only property.
2242 * comint.el, files.el, replace.el, simple.el:
2243 Apply new 'interactive-only properly.
2244
2245 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2246
2247 * window.el (display-buffer-at-bottom): Make sure that
2248 split-window-sensibly creates the new window on bottom
2249 (Bug#15961).
2250
2251 2013-11-23 David Kastrup <dak@gnu.org>
2252
2253 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2254 on the conflict markers when available.
2255 (smerge--get-marker): New function.
2256 (smerge-end-re, smerge-base-re): Add subgroup.
2257
2258 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * frame.el (handle-focus-in, handle-focus-out): Add missing
2261 interactive spec.
2262
2263 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2264
2265 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2266 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2267
2268 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2271 (gomoku--last-pos): New var.
2272 (gomoku--intangible-chars): New const.
2273 (gomoku--intangible): New function.
2274 (gomoku-mode): Use it. Derive from special-mode.
2275 (gomoku-move-up): Adjust line count.
2276 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2277 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2278 Simplify accordingly.
2279
2280 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2281 Remove blink-cursor code.
2282 (blink-cursor-timer-function, blink-cursor-suspend):
2283 Don't special-case GUIs.
2284 (blink-cursor-mode): Use focus-in/out-hook.
2285
2286 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2287
2288 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2289 work when annotation is invisible (Bug#13886).
2290
2291 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2292
2293 * json.el (json-alist-p): Only return non-nil if the alist has
2294 simple keys (Bug#13518).
2295
2296 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2297
2298 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2299 when control-statement is the first statement in a buffer (Bug#15956).
2300
2301 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2302
2303 * imenu.el (imenu-generic-skip-comments-and-strings):
2304 New option (Bug#15560).
2305 (imenu--generic-function): Use it.
2306
2307 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2308
2309 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2310 (Bug#13898)
2311
2312 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2313
2314 * emacs-lisp/helpers.el: Add some string helpers.
2315 (string-trim-left): Removes leading whitespace.
2316 (string-trim-right): Removes trailing whitespace.
2317 (string-trim): Removes leading and trailing whitespace.
2318
2319 * subr.el (string-suffix-p): New function.
2320
2321 2013-11-23 Glenn Morris <rgm@gnu.org>
2322
2323 * progmodes/python.el (python-shell-send-file):
2324 Add option to delete file when done. (Bug#15647)
2325 (python-shell-send-string, python-shell-send-region): Use it.
2326
2327 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2328
2329 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2330 to set buffer-read-only to t, never to nil. (Bug#15938)
2331
2332 * textmodes/tex-mode.el (latex-noindent-environments):
2333 Add safe-local-variable property. (Bug#15936)
2334
2335 2013-11-23 Glenn Morris <rgm@gnu.org>
2336
2337 * textmodes/enriched.el (enriched-mode): Doc fix.
2338 * emacs-lisp/authors.el (authors-renamed-files-alist):
2339 Add enriched.doc -> enriched.txt.
2340
2341 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2342
2343 2013-11-22 Leo Liu <sdl.web@gmail.com>
2344
2345 * progmodes/octave.el (inferior-octave-startup): Spit out error
2346 message.
2347
2348 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2349
2350 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2351 Improve docstring.
2352 Add :version.
2353 (ruby-encoding-magic-comment-style): Add :version.
2354
2355 2013-11-22 Leo Liu <sdl.web@gmail.com>
2356
2357 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2358 (Bug#15076)
2359 (octave-help-mode): Adapt to change to help-mode-finish to use
2360 derived-mode-p on 2013-09-17.
2361 (inferior-octave-prompt): Also match octave-gui.
2362 (octave-kill-process): Don't ask twice. (Bug#10564)
2363
2364 2013-11-22 Leo Liu <sdl.web@gmail.com>
2365
2366 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2367 (inferior-octave-startup, inferior-octave-check-process)
2368 (inferior-octave-track-window-width-change)
2369 (octave-completion-at-point, octave-eldoc-function): Use it.
2370 (octave-kill-process): Provide confirmation. (Bug#10564)
2371
2372 2013-11-21 Leo Liu <sdl.web@gmail.com>
2373
2374 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2375 Fix obsolete variable comment-use-global-state.
2376
2377 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2378
2379 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2380 Add `octave-source-file'.
2381 (octave-source-file): New function. (Bug#15935)
2382
2383 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2384
2385 * net/eww.el (eww-local-regex): New variable.
2386 (eww): Use it to detect localhost and similar.
2387
2388 2013-11-21 Leo Liu <sdl.web@gmail.com>
2389
2390 Add completion for command `ag'.
2391 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2392 (pcomplete/ag): New function.
2393 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2394
2395 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2398 (bug#14646).
2399 (make-obsolete): Remove interactive spec.
2400
2401 2013-11-21 Glenn Morris <rgm@gnu.org>
2402
2403 * startup.el (command-line-1): Use path-separator with -L.
2404
2405 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2406
2407 * emacs-lisp/package.el (describe-package-1): Add package archive
2408 to shown fields.
2409
2410 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2411
2412 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2413 Change default to "# encoding: %s" to differentiate it from the
2414 default Ruby encoding comment template.
2415
2416 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2417
2418 * ses.el (ses-mode): Doc fix. (Bug#14748)
2419
2420 2013-11-20 Leo Liu <sdl.web@gmail.com>
2421
2422 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2423
2424 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2425
2426 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2427 when rebase or bisect are in progress.
2428
2429 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2430
2431 * filenotify.el (file-notify-add-watch): Doc fix.
2432
2433 2013-11-19 Leo Liu <sdl.web@gmail.com>
2434
2435 * obsolete/rcompile.el: Mark obsolete.
2436
2437 * progmodes/compile.el (compilation-start)
2438 (compilation-goto-locus, compilation-find-file):
2439 Pass no-display-ok and handle nil value from display-buffer.
2440 (Bug#13594)
2441
2442 * window.el (display-buffer-alist, display-buffer): Document the
2443 new parameter no-display-ok. Return either a window or nil
2444 but never a non-window value.
2445
2446 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2447
2448 * electric.el (electric-indent-mode-map): Remove.
2449 (electric-indent-mode): Change the global-map instead (bug#15915).
2450
2451 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2452 Use add-function.
2453
2454 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * emacs-lisp/nadvice.el (remove-function): Align with
2457 add-function's behavior.
2458
2459 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2460 (gdb--string-regexp): New constant.
2461 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2462 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2463 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2464 submatch 1.
2465 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2466 Adjust use accordingly.
2467 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2468
2469 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2470
2471 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2472 interpolation curlies (Bug#15914).
2473
2474 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2475
2476 * calc/calc.el (calc-context-sensitive-enter): New variable.
2477 (calc-enter): Use `calc-context-sensitive-enter'.
2478
2479 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2480
2481 * progmodes/cfengine.el: Version bump.
2482 (cfengine-cf-promises): New defcustom to locate cf-promises.
2483 (cfengine3-vartypes): Add new "data" type.
2484 (cfengine3--current-word): New function to get current name-like
2485 word or its bounds.
2486 (cfengine3--current-function): New function to look up a CFEngine
2487 function's definition.
2488 (cfengine3-format-function-docstring): New function.
2489 (cfengine3-make-syntax-cache): New function.
2490 (cfengine3-documentation-function): New function: ElDoc glue.
2491 (cfengine3-completion-function): New function: completion glue.
2492 (cfengine3-mode): Set `compile-command',
2493 `eldoc-documentation-function', and add to
2494 `completion-at-point-functions'.
2495
2496 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2497
2498 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2499 `tramp-current-connection'.
2500
2501 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2502
2503 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2504 nil/self/true/false with "end of symbol".
2505
2506 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2507
2508 * subr.el (version-regexp-alist): Fix a typo.
2509
2510 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2511
2512 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2513 "en_US.utf8" and "LC_CTYPE" to "".
2514 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2515 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2516
2517 2013-11-15 Leo Liu <sdl.web@gmail.com>
2518
2519 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2520
2521 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * progmodes/gud.el (ctl-x-map):
2524 Remove C-x SPC binding. (Bug#12342)
2525 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2526
2527 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2528
2529 * subr.el (version-regexp-alist):
2530 Recognize hg, svn and darcs versions as snapshot versions.
2531
2532 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2533 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2534 (ruby--encoding-comment-required-p): Extract from
2535 `ruby-mode-set-encoding'.
2536 (ruby-mode-set-encoding): Add the ability to always insert an
2537 utf-8 encoding comment. Fix and simplify coding comment update
2538 logic.
2539
2540 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2541
2542 * net/tramp-gvfs.el (top): Run init code only when
2543 `tramp-gvfs-enabled' is not nil.
2544 (tramp-gvfs-enabled): Check also :system bus.
2545
2546 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 Sync with upstream verilog-mode revision 78e66ba.
2549 * progmodes/verilog-mode.el (verilog-end-of-defun)
2550 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2551 (verilog-get-end-of-defun): Remove unused argument.
2552 (verilog-comment-depth): Remove unused local `e'.
2553 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2554 Don't pass arg to verilog-get-end-of-defun.
2555
2556 2013-11-14 Glenn Morris <rgm@gnu.org>
2557
2558 * obsolete/assoc.el (aget): Prefix dynamic variable.
2559
2560 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2561
2562 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * widget.el, hfy-cmap.el: Remove bogus package version number.
2565
2566 2013-11-13 Glenn Morris <rgm@gnu.org>
2567
2568 * replace.el (replace-eval-replacement):
2569 Try to give more helpful error message. (Bug#15836)
2570
2571 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2572 (archive-7z-update): Avoid custom type mismatches.
2573
2574 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2575
2576 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2577
2578 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2579 address can be empty.
2580
2581 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2582 Accept nil SWITCHES.
2583 (tramp-gvfs-handle-write-region): Implement APPEND.
2584
2585 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2586
2587 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2588 binary "|" operator and closing block args delimiter.
2589 Remove FIXME comment referring to Ruby 1.8-only syntax.
2590 (ruby-smie--implicit-semi-p): Not after "|" operator.
2591 (ruby-smie--closing-pipe-p): New function.
2592 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2593 (ruby-smie-rules): Indent after "|".
2594
2595 2013-11-12 Glenn Morris <rgm@gnu.org>
2596
2597 * ps-print.el (ps-face-attribute-list):
2598 Handle anonymous faces. (Bug#15827)
2599
2600 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (display-buffer-other-frame): Fix doc-string.
2603 (Bug#15868)
2604
2605 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2606
2607 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2608
2609 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2612 (tramp-sh-handle-file-local-copy): Don't write a message when
2613 saving temporary files.
2614
2615 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2616 both directories are remote.
2617 (tramp-smb-handle-directory-files): Do not return double entries.
2618 Do not expand full file names.
2619 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2620 (tramp-smb-handle-write-region): Implement APPEND.
2621 (tramp-smb-get-stat-capability): Fix a stupid bug.
2622
2623 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2626
2627 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2628
2629 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2630 throwing error over malformed let/let* (bug#15814).
2631
2632 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 * iswitchb.el (iswitchb-mode): Mark obsolete.
2635
2636 2013-11-11 Glenn Morris <rgm@gnu.org>
2637
2638 * international/uni-bidi.el, international/uni-category.el:
2639 * international/uni-name.el, international/uni-numeric.el:
2640 Regenerate for Unicode 6.3.0.
2641
2642 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * net/tramp.el (tramp-methods):
2645 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2646 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2647
2648 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2649
2650 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2651 Force highlighting text after Summary keyword in doc face for rpm.
2652
2653 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2654
2655 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2656 available and the word has no wildcards, append one to the grep pattern.
2657 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2658 (ispell-complete-word): Call `ispell-lookup-words' with the value
2659 independent of `ispell-look-p'.
2660
2661 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2662
2663 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2664 Not after "||".
2665 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2666 their parent.
2667
2668 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2669
2670 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2671 (ruby-font-lock-keywords): Use backquote.
2672
2673 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2674
2675 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2676 (ruby-smie--backward-token): Only consider full-string matches.
2677
2678 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2679
2680 * faces.el (describe-face): Add distant-foreground.
2681
2682 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2683
2684 * progmodes/ruby-mode.el: Improve encoding comment handling.
2685 (ruby-encoding-magic-comment-style): New option.
2686 (ruby-custom-encoding-magic-comment-template): New option.
2687 (ruby--insert-coding-comment, ruby--detect-encoding):
2688 New functions extracted from `ruby-mode-set-encoding'.
2689 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2690 to control the style of the auto-inserted encoding comment.
2691
2692 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2693
2694 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2695 Use `smie-backward-sexp' with token argument.
2696
2697 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2700 Remove instrumentation code.
2701
2702 2013-11-08 Glenn Morris <rgm@gnu.org>
2703
2704 * progmodes/autoconf.el (autoconf-mode):
2705 Tweak comment-start-skip. (Bug#15822)
2706
2707 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2708
2709 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2710 at bobp (bug#15826).
2711 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2712
2713 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2714
2715 * man.el (Man-start-calling): New macro, extracted from
2716 Man-getpage-in-background.
2717 (Man-getpage-in-background): Use it.
2718 (Man-update-manpage): New command.
2719 (Man-mode-map): Bind it.
2720
2721 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2722
2723 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2724 of "and", "or", "&&" and "||".
2725 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2726 argument. Prohibit opening curly brace because it could only be a
2727 block opener in that position.
2728 (ruby-smie--forward-token, ruby-smie--backward-token):
2729 Separate "|" from "&" or "*" going after it. That can happen in block
2730 arguments.
2731 (ruby-smie--indent-to-stmt): New function, seeks the end of
2732 previous statement or beginning of buffer.
2733 (ruby-smie-rules): Use it.
2734 (ruby-smie-rules): Check if there's a ":" before a curly block
2735 opener candidate; if there is, it's a hash.
2736
2737 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2740 (cl--block-wrapper): Fix last accidental change.
2741
2742 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2743
2744 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2745 Instrument, in order to hunt failure on hydra.
2746
2747 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2748
2749 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2750 malformed bindings form (bug#15814).
2751
2752 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2753
2754 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2755 "." compared to " @ ". This incidentally fixes some indentation
2756 examples with "do".
2757 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2758 (ruby-smie-grammar): New tokens: "and" and "or".
2759 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2760 Exclude "and" and "or". Remove "do" in order to work around token
2761 priorities.
2762 (ruby-smie-rules): Add all infix tokens. Handle the case of
2763 beginning-of-buffer.
2764
2765 2013-11-06 Glenn Morris <rgm@gnu.org>
2766
2767 * Makefile.in (setwins_almost, setwins_for_subdirs):
2768 Avoid accidental matches.
2769
2770 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * menu-bar.el (popup-menu): Use key-binding.
2773
2774 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2775
2776 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2777 menus, support also the menus produced by minor modes.
2778 (Bug#15817)
2779
2780 2013-11-06 Leo Liu <sdl.web@gmail.com>
2781
2782 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2783 DISTANCE to bound the search. All uses changed. (Bug#15808)
2784
2785 2013-11-06 Glenn Morris <rgm@gnu.org>
2786
2787 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2788 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2789 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2790
2791 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * electric.el (electric-indent-just-newline): New command.
2794 (electric-indent-mode-map): New keymap.
2795 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2796 Re-add :group which weren't redundant.
2797
2798 * electric.el (electric-indent-local-mode): New minor mode.
2799 (electric-indent-functions-without-reindent): New var.
2800 (electric-indent-post-self-insert-function): Use it.
2801 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2802
2803 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2804
2805 * international/quail.el (quail-help): Be more explicit about the
2806 meaning of the labels shown on the keys. (Bug#15800)
2807
2808 * startup.el (normal-top-level): Load the subdirs.el files before
2809 setting the locale environment. (Bug#15805)
2810
2811 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2812
2813 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2814 via arguments so as to get the right ones (bug#15418).
2815
2816 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2817
2818 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2819
2820 Fix problems found while writing a test suite.
2821
2822 * net/tramp-compat.el (tramp-compat-load): New defun.
2823 * net/tramp.el (tramp-handle-load): Use it.
2824
2825 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2826 "(numberp ok-if-already-exists)" correctly.
2827
2828 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2829
2830 * international/characters.el (glyphless-char-display-control):
2831 Add usage note.
2832
2833 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2834
2835 * progmodes/python.el (python-mode):
2836 * progmodes/scheme.el (scheme-mode):
2837 * progmodes/prolog.el (prolog-mode):
2838 * progmodes/ruby-mode.el (ruby-mode):
2839 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2840 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2841
2842 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * rect.el (rectangle--highlight-for-redisplay):
2845 * emacs-lisp/smie.el (smie--next-indent-change):
2846 Use buffer-chars-modified-tick.
2847
2848 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2849
2850 * electric.el (electric-indent-post-self-insert-function):
2851 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2852
2853 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2854
2855 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2856
2857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2858
2859 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2860 (bug#15786).
2861
2862 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2865
2866 * progmodes/python.el: Fix up last change.
2867 (python-shell--save-temp-file): New function.
2868 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2869 `string' comes from the current buffer.
2870 (python-shell-send-string-no-output): Remove `msg' arg.
2871 (python--use-fake-loc): New var.
2872 (python-shell-buffer-substring): Obey it. Try to compensate for the
2873 extra coding line added by python-shell--save-temp-file.
2874 (python-shell-send-region): Use python-shell--save-temp-file and
2875 python-shell-send-file directly. Add `nomain' argument.
2876 (python-shell-send-buffer): Use python-shell-send-region.
2877 (python-electric-pair-string-delimiter): New function.
2878 (python-mode): Use it.
2879
2880 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2881
2882 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2883 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2884 environment and decoding all of the default-directory's to here
2885 from command-line.
2886 (command-line): Decode also argv[0].
2887
2888 * loadup.el: Error out if default-directory is a multibyte string
2889 when we are dumping.
2890
2891 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2892
2893 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2894
2895 * emacs-lisp/package.el (package-menu-mode)
2896 (package-menu--print-info, package-menu--archive-predicate):
2897 Add Archive column to package list.
2898
2899 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2900
2901 Fix problems found while writing a test suite.
2902
2903 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2904 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2905 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2906 to nil when running original file name handler. Otherwise,
2907 there are problems with constructs like "$$FOO".
2908
2909 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2910 for `localname'.
2911
2912 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2913
2914 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2915
2916 * subr.el (version<, version<=, version=):
2917 Update docstrings with information for snapshot versions.
2918
2919 * helpers.el: New library for misc helper functions.
2920 (hash-table-keys): New function returning a list of hash keys.
2921 (hash-table-values): New function returning a list of hash values.
2922
2923 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2924
2925 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2926 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2927
2928 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2929
2930 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2931 checking whether point is after a 1-letter word.
2932
2933 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2934
2935 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2936 Don't infloop when expanding region over `multiline' syntax-type that
2937 begins a line (bug#15778).
2938
2939 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2942 Make it into a proper minor mode.
2943 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2944 (rectangle-mark-mode-map): New keymap.
2945 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2946
2947 2013-11-04 Glenn Morris <rgm@gnu.org>
2948
2949 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2950
2951 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2952
2953 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2954 (ruby-smie-rules): Use smie-rule-parent instead.
2955
2956 * emacs-lisp/smie.el (smie-rule-parent): Always call
2957 smie-indent-virtual rather than only for hanging tokens.
2958 (smie--next-indent-change): New helper command.
2959
2960 2013-11-03 Glenn Morris <rgm@gnu.org>
2961
2962 * Makefile.in (abs_srcdir): Remove.
2963 (emacs): Unset EMACSLOADPATH.
2964
2965 2013-11-02 Glenn Morris <rgm@gnu.org>
2966
2967 * Makefile.in (EMACS): Use a relative filename.
2968 (abs_top_builddir): Remove.
2969 (custom-deps, finder-data, autoloads): Use --chdir.
2970
2971 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2972
2973 Use relative filenames in TAGS files.
2974 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2975 (lisptagsfiles4, TAGS): Use relative file names.
2976 (TAGS-LISP): Remove.
2977 (maintainer-clean): No more TAGS-LISP file.
2978
2979 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2980 (lisptagsfiles4): Use absolute filenames again.
2981 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2982 Remove all *loaddefs files, not just the first. Remove esh-groups.
2983 (maintainer-clean): Delete TAGS, TAGS-LISP.
2984
2985 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2986
2987 * emacs-lisp/package.el (package-version-join):
2988 Recognize snapshot versions.
2989
2990 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2991
2992 * subr.el (version-regexp-alist): Add support for snapshot versions.
2993
2994 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2995
2996 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2997 New function, replacement for `smie-rule-parent' for when we want to
2998 skip over our direct parent if it's an assignment token..
2999 (ruby-smie-rules): Use it.
3000
3001 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3002
3003 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3004 unconditionally. Remove now unnecessary forward declarations.
3005 Remove XEmacs-specific setup.
3006 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3007 (ruby-font-lock-syntactic-keywords)
3008 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3009 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3010 (ruby-here-doc-end-syntax): Remove.
3011 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3012 defined as function.
3013
3014 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3015
3016 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3017
3018 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3019
3020 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3021 table and abbrev table, `define-derived-mode' does that for us
3022 anyway.
3023
3024 2013-11-01 Glenn Morris <rgm@gnu.org>
3025
3026 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3027 files is atomic for some time, so no parallel compilation issues).
3028
3029 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3030
3031 * faces.el (face-x-resources): Add :distant-foreground.
3032 (region): Use :distant-foreground for gtk and ns.
3033
3034 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3035
3036 Allow multiple bibliographies when BibLaTeX is used rather than
3037 BibTeX.
3038 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3039 (reftex-locate-bibliography-files): Us it.
3040
3041 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3042
3043 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3044 allow comments in pbm files.
3045
3046 * term/w32-win.el (dynamic-library-alist): Support newer versions
3047 of libjpeg starting with v7: look only for the DLL from the
3048 version against which Emacs was built.
3049 Support versions of libpng beyond 1.4.x.
3050 Support libtiff v4.x.
3051
3052 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3053
3054 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3055 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3056 Add property :safe.
3057 (ruby-deep-arglist): Add property :type.
3058
3059 2013-10-31 Glenn Morris <rgm@gnu.org>
3060
3061 * Makefile.in (custom-deps, finder-data): No need to setq the target
3062 variables, we are in the right directory and the defaults work fine.
3063
3064 2013-10-30 Glenn Morris <rgm@gnu.org>
3065
3066 * Makefile.in (autoloads): Do not use abs_lisp.
3067
3068 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3069 `newline' does not respect `standard-output', so use `princ'.
3070
3071 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3072
3073 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3074 * buff-menu.el (Buffer-menu--unmark): New function.
3075 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3076
3077 2013-10-30 Glenn Morris <rgm@gnu.org>
3078
3079 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3080
3081 * emacs-lisp/package.el (lm-homepage): Declare.
3082
3083 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3084 Fix doc typos.
3085
3086 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3087
3088 * Makefile.in (finder-data, autoloads, update-subdirs)
3089 (compile-main, compile-clean, compile-always, bootstrap-clean):
3090 Check return value of cd.
3091 (compile-calc): Remove.
3092
3093 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3096
3097 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3098 (byte-compile-and-folded): New function.
3099 (=, <, >, <=, >=): Use it.
3100
3101 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3102 (path-separator, null-device, buffer-file-coding-system)
3103 (lpr-headers-switches): Check system-type before modifying them.
3104 (find-buffer-file-type-coding-system): Mark obsolete.
3105 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3106 find-file-not-found-set-buffer-file-coding-system.
3107 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3108 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3109 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3110 (w32-direct-print-region-helper, w32-direct-print-region-function)
3111 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3112 * startup.el (normal-top-level-add-subdirs-to-load-path):
3113 * ps-print.el (ps-print-region-function):
3114 * lpr.el (print-region-function): Use new name.
3115
3116 * subr.el (custom-declare-variable-early): Remove function.
3117 (custom-declare-variable-list): Remove var.
3118 (error, user-error): Remove `while' loop.
3119 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3120 (user-emacs-directory-warning, locate-user-emacs-file):
3121 Move to files.el.
3122 * simple.el (read-quoted-char-radix, read-quoted-char):
3123 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3124 Move from subr.el.
3125 * custom.el (custom-declare-variable-list): Don't process
3126 custom-declare-variable-list.
3127
3128 * progmodes/python.el (python-shell-get-buffer): New function.
3129 (python-shell-get-process): Use it.
3130 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3131 Python which encoding was used. Don't split-string since we only care
3132 about the first line. Return the temp-file, if applicable.
3133 (python-shell-send-region): Tell compile.el how to turn locations in
3134 the temp-file into locations in the source buffer.
3135
3136 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * subr.el (undefined): Add missing behavior from the C code for
3139 unbound keys.
3140
3141 * rect.el: Use lexical-binding. Add new rectangular region support.
3142 (rectangle-mark): New command.
3143 (rectangle--region): New var.
3144 (deactivate-mark-hook): Reset rectangle--region.
3145 (rectangle--extract-region, rectangle--insert-for-yank)
3146 (rectangle--highlight-for-redisplay)
3147 (rectangle--unhighlight-for-redisplay): New functions.
3148 (region-extract-function, redisplay-unhighlight-region-function)
3149 (redisplay-highlight-region-function): Use them to handle
3150 rectangular region.
3151 * simple.el (region-extract-function): New var.
3152 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3153 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3154 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3155 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3156 (redisplay-unhighlight-region-function)
3157 (redisplay-highlight-region-function): New vars.
3158 (redisplay--update-region-highlight): New function.
3159 (pre-redisplay-function): Use it.
3160 (exchange-point-and-mark): Don't deactivate the mark before
3161 reactivate-it anyway.
3162 * comint.el (comint-kill-region): Remove yank-handler argument.
3163 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3164 (delete-char): Remove property, since it's now part of their
3165 default behavior.
3166 (self-insert-iso): Remove property since this command doesn't exist.
3167
3168 * emacs-lisp/package.el (package--download-one-archive)
3169 (describe-package-1): Don't query the user about final newline.
3170
3171 2013-10-29 Daniel Colascione <dancol@dancol.org>
3172
3173 * net/tramp.el (tramp-methods): Document new functionality.
3174 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3175 tramp-hostname-checker if method provides one instead of scanning
3176 argument list for "%h" to decide hostname acceptability.
3177
3178 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3179
3180 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3181 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3182 Handle COPY-CONTENTS. (Bug#15737)
3183
3184 2013-10-28 Daiki Ueno <ueno@gnu.org>
3185
3186 * epa-file.el
3187 (epa-file-cache-passphrase-for-symmetric-encryption):
3188 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3189
3190 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3191
3192 * image.el (defimage):
3193 (image-load-path): Doc fixes.
3194
3195 2013-10-27 Alan Mackenzie <acm@muc.de>
3196
3197 Indent statements in macros following "##" correctly.
3198 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3199 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3200
3201 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3202
3203 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3204
3205 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3206
3207 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3208 after `=' is probably a new expression.
3209
3210 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3211
3212 * man.el (man-imenu-title): New option.
3213 (Man-mode-map): Add menu. (Bug#15722)
3214 (Man-mode): Add imenu to menu.
3215
3216 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3217
3218 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3219 specific in what the first arg can be: a non-keyword word,
3220 string/regexp/percent literal opener, opening paren, or unary
3221 operator followed directly by word.
3222
3223 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3226 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3227 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3228 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3229 Remove vars, they do not apply any more.
3230 (prolog-mode-abbrev-table): Remove redundant declaration.
3231 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3232 (prolog-use-smie): Remove.
3233 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3234 supported by prolog-electric-if-then-else-flag.
3235 (prolog-mode-variables, prolog-menu): Use setq-local.
3236 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3237 Remove binding to `Backspace' since this key doesn't exist anyway.
3238 Remove bindings for electric self-inserting keys.
3239 (prog-mode): Assume it's defined.
3240 (prolog-post-self-insert): New function.
3241 (prolog-mode): Use it.
3242 (prolog-indent-line, prolog-indent-level)
3243 (prolog-find-indent-of-matching-paren)
3244 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3245 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3246 (prolog-goto-next-paren, prolog-in-string-or-comment)
3247 (prolog-tokenize, prolog-inside-mline-comment)
3248 (prolog-find-start-of-mline-comment): Remove functions.
3249 (prolog-find-unmatched-paren, prolog-clause-end)
3250 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3251 (prolog-electric--if-then-else): Rename from
3252 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3253 (prolog-tokenize-searchkey): Remove const.
3254 (prolog-clause-info): Use forward-sexp.
3255 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3256 (prolog-electric-if-then-else): Remove commands.
3257 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3258 for use in post-self-insert-hook.
3259 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3260 for use in post-self-insert-hook.
3261 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3262 for use in post-self-insert-hook.
3263 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3264 adapt it for use in post-self-insert-hook.
3265
3266 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3267
3268 * emacs-lisp/ert.el (ert-run-tests-interactively):
3269 Use `completing-read'. (Bug#9756)
3270
3271 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3272
3273 * simple.el (line-move): Call line-move-1 instead of
3274 line-move-visual when the current window hscroll is zero, but
3275 temporary-goal-column indicates we will need to hscroll as result
3276 of the movement. (Bug#15712)
3277
3278 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3279
3280 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3281 capitalization. Use :visible instead of :active.
3282 Fix `ruby-indent-exp' reference. Add menu items for the generic
3283 commands that are used with SMIE.
3284 (ruby-do-end-to-brace): Insert space after `{'.
3285
3286 2013-10-25 John Anthony <john@jo.hnanthony.com>
3287
3288 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3289
3290 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3291
3292 2013-10-25 Glenn Morris <rgm@gnu.org>
3293
3294 * vc/vc.el (vc-print-log): Don't use a working revision unless
3295 one was explicitly specified. (Bug#15322)
3296
3297 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * subr.el (add-to-list): Preserve return value in compiler-macro
3300 (bug#15692).
3301
3302 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3303
3304 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3305 result. Ask user to retry using '-all' flag. (Bug#15701)
3306
3307 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/smie.el: New smie-config system.
3310 (smie-config): New defcustom.
3311 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3312 (smie-config-guess, smie-config-save): New commands.
3313 (smie-config--mode-local, smie-config--buffer-local)
3314 (smie-config--trace, smie-config--modefuns): New vars.
3315 (smie-config--advice, smie-config--mode-hook)
3316 (smie-config--setter, smie-config-local, smie-config--get-trace)
3317 (smie-config--guess-value, smie-config--guess): New functions.
3318 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3319 text properties. Treat "string fence" syntax like string syntax.
3320
3321 * progmodes/sh-script.el (sh-use-smie): Change default.
3322 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3323 (sh-var-value): Simplify by CSE.
3324 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3325 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3326 is used.
3327 (sh-guess-basic-offset): Use cl-incf.
3328 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3329
3330 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3331
3332 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3333 (bug#15699).
3334
3335 2013-10-24 Glenn Morris <rgm@gnu.org>
3336
3337 * Makefile.in (abs_top_srcdir): Remove.
3338 (update-subdirs): Use relative path to update-subdirs.
3339
3340 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3341
3342 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3343 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3344 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3345 Call unmsys--file-name before expand-file-name, not after it.
3346
3347 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3348
3349 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3350 (ert-test-skipped): New error.
3351 (ert-skip, ert-stats-skipped): New defuns.
3352 (ert--skip-unless): New macro.
3353 (ert-test-skipped): New struct.
3354 (ert--run-test-debugger, ert-test-result-type-p)
3355 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3356 (ert--stats-set-test-and-result, ert-char-for-test-result)
3357 (ert-string-for-test-result, ert-run-tests-batch)
3358 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3359 Handle skipped tests. (Bug#9803)
3360
3361 2013-10-24 Glenn Morris <rgm@gnu.org>
3362
3363 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3364
3365 * Makefile.in (abs_top_srcdir): New, set by configure.
3366 (update-subdirs): Correct build-aux location.
3367
3368 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3369
3370 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3371 value, whether we could auto-deduce `backend', or not.
3372
3373 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3374 with parameters" example. Simplify the "is it block or is it
3375 hash" check, but also make it more thorough.
3376
3377 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3378
3379 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3380
3381 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3384 { if it is hanging.
3385
3386 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3387 :before ";".
3388
3389 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3390
3391 * progmodes/compile.el (compilation-directory-matcher)
3392 (compilation-page-delimiter):
3393 Support GNU Make-4.0 directory quoting. (Bug#15678)
3394
3395 2013-10-23 Leo Liu <sdl.web@gmail.com>
3396
3397 * ido.el (ido-tidy): Handle read-only text.
3398
3399 2013-10-23 Glenn Morris <rgm@gnu.org>
3400
3401 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3402 (emacs, compile, compile-always):
3403 Quote entities that might contain whitespace.
3404 (custom-deps, finder-data, autoloads): Use abs_lisp.
3405 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3406 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3407 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3408
3409 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3410
3411 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3412 Use `following-char'.
3413
3414 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3415
3416 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3417 * progmodes/ruby-mode.el (ruby-smie-rules):
3418 Remove corresponding workaround. Fix indentation rule of ";" so it
3419 also applies when ";" is the parent.
3420
3421 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3422
3423 * frame.el (display-screens, display-pixel-height)
3424 (display-pixel-width, display-mm-width, display-backing-store)
3425 (display-save-under, display-planes, display-color-cells)
3426 (display-visual-class, display-monitor-attributes-list):
3427 Mention the optional ‘display’ argument in doc strings.
3428
3429 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3430
3431 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3432 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3433
3434 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3435
3436 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3437 TODO. Add "." after " @ ".
3438 (ruby-smie--at-dot-call): New function. Checks if point at method
3439 call with explicit target.
3440 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3441 to the method name tokens when it precedes them.
3442 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3443 (ruby-smie-rules): Add rule for indentation before and after "."
3444 token.
3445
3446 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * textmodes/remember.el (remember-diary-extract-entries):
3449 Avoid add-to-list.
3450
3451 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3452 an instruction.
3453
3454 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3455
3456 * progmodes/ruby-mode.el (ruby-smie-grammar):
3457 Add (almost) all infix operators.
3458 (ruby-smie--implicit-semi-p): Add new operator chars.
3459
3460 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3461 `smie-down-list'.
3462 (ruby-smie--args-separator-p): Check that there's no newline
3463 between method call and its arguments.
3464
3465 2013-10-20 Alan Mackenzie <acm@muc.de>
3466
3467 Allow comma separated lists after Java "implements".
3468
3469 * progmodes/cc-engine.el (c-backward-over-enum-header):
3470 Parse commas.
3471 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3472 from a "disallowed" list in enum fontification.
3473
3474 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3475
3476 * startup.el (default-frame-background-mode): Remove unused defvar.
3477
3478 * progmodes/verilog-mode.el (verilog-mode): Don't set
3479 comment-indent-function globally.
3480
3481 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3482
3483 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3484 Move Info menu item creation to ns-win.el.
3485
3486 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3487 in menu bar.
3488
3489 * menu-bar.el: Move GNUStep specific menus...
3490
3491 * term/ns-win.el (ns-initialize-window-system): ... to here.
3492
3493 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * simple.el (newline): Only run post-self-insert-hook when
3496 called interactively.
3497
3498 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3499
3500 * icomplete.el (icomplete-with-completion-tables): Add :version.
3501
3502 2013-10-19 Alan Mackenzie <acm@muc.de>
3503
3504 Fix fontification bugs with constructors and const.
3505
3506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3507 CASE 2) Remove the check for the absence of a suffix construct
3508 after a function declaration with only types (no identifiers) in
3509 the parentheses. Also, accept a function declaration with just a
3510 type inside the parentheses, if this type can be positively
3511 recognised as such, or if a prefix keyword like "explicit" nails
3512 down the construct as a declaration.
3513
3514 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3515
3516 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3517 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3518 the problem whereby selecting a menu item that leads to a
3519 minibuffer prompt moves the cursor out of the minibuffer window,
3520 making it hard to type at the prompt. Suggested by Stefan Monnier
3521 <monnier@iro.umontreal.ca>.
3522
3523 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3524
3525 * menu-bar.el: Don't make Services menu.
3526
3527 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3528
3529 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3530 (ffap-alist): Use ffap-c++-mode for c++-mode.
3531 (ffap-c++-path): New variable.
3532 (ffap-c++-mode): New function.
3533
3534 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3535
3536 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3537
3538 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3539
3540 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3541 introduced on 2013-09-08, which results in an infinite loop
3542 requesting a password.
3543
3544 2013-10-18 Glenn Morris <rgm@gnu.org>
3545
3546 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3547
3548 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3549
3550 Sync with upstream verilog-mode revision 1a6ecec7.
3551 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3552 (verilog-mode-release-date): Remove.
3553 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3554 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3555 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3556 (verilog-auto-tieoff-ignore-regexp)
3557 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3558 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3559 (verilog-signals-with, verilog-dir-cache-preserving)
3560 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3561 Doc fixes.
3562 (verilog-case-fold): New option, to control case folding in
3563 regexp searches, bug597.
3564 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3565 (verilog-string-match-fold, verilog-in-paren-count)
3566 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3567 (verilog-at-close-struct-p): New functions.
3568 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3569 (verilog-forward-sexp, verilog-set-auto-endcomments):
3570 (verilog-leap-to-case-head): Handle "unique0" case.
3571 (verilog-in-constraint-re): New constant.
3572 (verilog-keywords, verilog-type-font-keywords):
3573 Add some SystemVerilog 1800-2012 keywords.
3574 (verilog-label-be): Remove unimplemented argument, bug669.
3575 (verilog-batch-execute-func): When batch expanding clear
3576 create-lockfiles to prevent spurious user locks when a file ends
3577 up not changing.
3578 (verilog-calculate-indent, verilog-calc-1)
3579 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3580 (verilog-do-indent): Fix indentation of nested constraints
3581 and structures.
3582 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3583 (verilog-auto-inst-param): Use verilog-string-match-fold.
3584 (verilog-read-inst-module-matcher):
3585 Fix AUTOINST on gate primitives with #1.
3586 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3587 Reads all user-defined typed variables.
3588 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3589 (verilog-signals-matching-regexp)
3590 (verilog-signals-not-matching-regexp, verilog-auto):
3591 Respect verilog-case-fold.
3592 (verilog-diff-report): Fix line count.
3593 (verilog-auto-assign-modport): Remove unused local `modi'.
3594 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3595 better handle multidimensional arrays.
3596 Fix packed array ports misadding bit index in AUTOINST, bug637.
3597 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3598 to not double-declare existing outputs and inputs, respectively.
3599 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3600 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3601 (verilog-sk-uvm-component): New skeleton.
3602 (verilog-submit-bug-report): Add verilog-case-fold,
3603 remove verilog-mode-release-date.
3604
3605 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3606
3607 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3608 as before.
3609
3610 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3611
3612 * textmodes/remember.el (remember): Set buffer-offer-save in
3613 remember buffers (bug#13566).
3614
3615 2013-10-18 Daniel Colascione <dancol@dancol.org>
3616
3617 When evaluating forms in ielm, direct standard output to ielm
3618 buffer. Add new ielm-return-for-effect command. Remove trailing
3619 whitespace throughout.
3620
3621 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3622 (ielm-return-for-effect): New command.
3623 (ielm-send-input): Accept optional `for-effect' parameter.
3624 (ielm-eval-input): Accept optional `for-effect' parameter.
3625 Bind `standard-output' to stream we create using
3626 `ielm-standard-output-impl'. Suppress printing result when
3627 `for-effect'.
3628 (ielm-standard-output-impl): New function.
3629 (inferior-emacs-lisp-mode): Explain new features in documentation.
3630
3631 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3632
3633 Code cleanup.
3634
3635 * net/tramp.el (tramp-debug-message): Do not check for connection
3636 buffer.
3637 (tramp-message): Use "vector" connection property.
3638
3639 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3640 (tramp-equal-remote, tramp-eshell-directory-change)
3641 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3642 (tramp-adb-handle-rename-file)
3643 * net/tramp-cmds.el (tramp-list-remote-buffers)
3644 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3645 * net/tramp-compat.el (tramp-compat-process-running-p)
3646 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3647 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3648 (tramp-gvfs-handle-rename-file)
3649 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3650 (tramp-set-file-uid-gid)
3651 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3652 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3653 of `file-remote-p'.
3654
3655 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3656 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3657 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3658 (tramp-gw-open-network-stream): Suppress unrelated traces.
3659
3660 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3661 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3662 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3663 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3664 connection property.
3665
3666 * net/tramp-cache.el (top): Suppress traces when reading
3667 persistency file.
3668
3669 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3670 Refactor common code. Improve debug message.
3671 (tramp-maybe-open-connection)
3672 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3673 connection buffer too early.
3674
3675 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3676 from `tramp-smb-actions-with-acl'.
3677 (tramp-smb-actions-set-acl): New defconst.
3678 (tramp-smb-handle-copy-directory)
3679 (tramp-smb-action-get-acl): New defun, renamed from
3680 `tramp-smb-action-with-acl'.
3681 (tramp-smb-action-set-acl): New defun.
3682 (tramp-smb-handle-set-file-acl): Rewrite.
3683
3684 2013-10-17 Glenn Morris <rgm@gnu.org>
3685
3686 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3687
3688 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * skeleton.el (skeleton-newline): Remove.
3691 (skeleton-internal-1): Use (insert "\n") instead.
3692
3693 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3694 let-bindings.
3695
3696 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3697 forward-sexp-function while we redo its job (bug#15613).
3698
3699 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3700
3701 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3702 represented by lists.
3703
3704 2013-10-16 Glenn Morris <rgm@gnu.org>
3705
3706 * tmm.el (tmm--history): New dynamic variable.
3707 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3708
3709 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3710
3711 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3712 (tramp-smb-errors): Add error messages.
3713 (tramp-smb-actions-with-acl): New defconst.
3714 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3715 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3716 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3717 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3718 (tramp-smb-get-stat-capability): Fix tests.
3719
3720 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3721
3722 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3723 (bug#15580).
3724
3725 2013-10-16 Glenn Morris <rgm@gnu.org>
3726
3727 * ansi-color.el (ansi-color-drop-regexp):
3728 Add 1J, 1K, 2K. (Bug#15617)
3729
3730 * files.el (hack-local-variables--warned-lexical): New.
3731 (hack-local-variables):
3732 Warn about misplaced lexical-binding. (Bug#15616)
3733
3734 * net/eww.el (eww-render): Always set eww-current-url,
3735 and update header line. (Bug#15622)
3736 (eww-display-html): ... Rather than just doing it here.
3737
3738 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3739
3740 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3741 menu navigations commands.
3742
3743 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3744
3745 * progmodes/subword.el (subword-capitalize): Be careful when
3746 the search for [[:alpha:]] fails (bug#15580).
3747
3748 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3749
3750 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3751 to commands that scroll the menu.
3752
3753 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3754
3755 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3756 Handle methods ending with `?' and `!'.
3757
3758 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3759
3760 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3761 `japanese-cp932' to `cp932' to fix the problem where saving a
3762 source file written in Shift_JIS twice would end up having
3763 `coding: japanese-cp932' which Ruby could not recognize.
3764 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3765 in `ruby-encoding-map'.
3766 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3767 doesn't need to be explicitly declared in magic comment.
3768 (ruby-encoding-map): Add type declaration for better customize UI.
3769
3770 2013-10-13 Glenn Morris <rgm@gnu.org>
3771
3772 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3773 Occur buffers are read-only. http://bugs.debian.org/720775
3774
3775 * emacs-lisp/authors.el (authors-fixed-entries):
3776 Comment out old alpha stuff.
3777
3778 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3779
3780 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3781 to `after-save-hook' instead of `before-save-hook'.
3782 (ruby-mode-set-encoding): Use the value of coding system used to
3783 write the file. Call `basic-save-buffer-1' after modifying the
3784 buffer.
3785
3786 2013-10-13 Alan Mackenzie <acm@muc.de>
3787
3788 Fix indentation/fontification of Java enum with
3789 "implements"/generic.
3790
3791 * progmodes/cc-engine.el (c-backward-over-enum-header):
3792 Extracted from the three other places and enhanced to handle generics.
3793 (c-inside-bracelist-p): Uses new function above.
3794 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3795 function above.
3796 (c-font-lock-enum-tail): Uses new function above.
3797
3798 2013-10-13 Kenichi Handa <handa@gnu.org>
3799
3800 * international/mule-cmds.el (select-safe-coding-system): Remove a
3801 superfluous condition in chekcing whether a coding system is safe
3802 or not.
3803
3804 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3805
3806 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3807
3808 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3809
3810 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3811
3812 2013-10-13 Glenn Morris <rgm@gnu.org>
3813
3814 * menu-bar.el (menu-bar-update-buffers):
3815 Unify Buffers menu prompt string. (Bug#15576)
3816
3817 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3818
3819 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3820 Add some entries.
3821 (authors-fixed-entries): Use accented form of name.
3822
3823 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3824
3825 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3826 method calls (bug#15594).
3827 (ruby-smie--args-separator-p): New function.
3828 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3829 recognize paren-free method calls.
3830
3831 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3832 internals of universal-argument.
3833
3834 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3835
3836 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3837 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3838 dropped menu on second mouse click on the menu bar.
3839
3840 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3843 (explicit-shell-file-name): Declare.
3844 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3845 (sh-completion-at-point-function): New function.
3846 (sh-mode): Use it.
3847 (sh-smie--keyword-p): Remove unused argument.
3848 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3849 vars.
3850 (sh-set-shell): Always setup SMIE, even if we use the
3851 old indentation code.
3852
3853 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3854
3855 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3856 cases of ? and =.
3857 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3858 predicate would return nil are almost non-existent.
3859 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3860
3861 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3862 cache also after commands that modify the buffer but don't move
3863 point.
3864
3865 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3866
3867 * env.el (substitute-env-in-file-name): New function.
3868 (substitute-env-vars): Extend the meaning of the optional arg.
3869
3870 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3871
3872 * term/w32-win.el (dynamic-library-alist): Define separate lists
3873 of GIF DLLs for versions before and after 5.0.0 of giflib.
3874 (Bug#15531)
3875
3876 2013-10-10 João Távora <joaotavora@gmail.com>
3877
3878 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3879 not locked, use last revision and current source as
3880 defaults. (Bug#15569)
3881
3882 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3883
3884 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3885 menu-bar is hidden.
3886
3887 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3888
3889 * window.el (pop-to-buffer-same-window): Fix doc-string.
3890 (Bug#15492)
3891
3892 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3895
3896 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3897
3898 * calendar/icalendar.el (icalendar-import-file):
3899 Fix interactive spec. (Bug#15482)
3900
3901 2013-10-10 Glenn Morris <rgm@gnu.org>
3902
3903 * desktop.el (desktop-save): Default to saving in .emacs.d,
3904 since PWD is no longer in desktop-path by default. (Bug#15319)
3905
3906 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3907 now that text mode has a menu with the same entry.
3908 (menu-bar-text-mode-auto-fill): Remove now unused func.
3909 * textmodes/text-mode.el (text-mode-map):
3910 Use auto-fill help text from menu-bar.el.
3911
3912 2013-10-10 John Anthony <john@jo.hnanthony.com>
3913
3914 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3915
3916 2013-10-09 Juri Linkov <juri@jurta.org>
3917
3918 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3919 instead of this-command-keys. Add universal-argument-more and
3920 universal-argument-minus to the list of prefix commands. (Bug#15568)
3921
3922 2013-10-09 Glenn Morris <rgm@gnu.org>
3923
3924 * vc/vc-svn.el (vc-svn-create-repo):
3925 Expand paths in file://... url. (Bug#15446)
3926
3927 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3928 Add some entries.
3929 (authors): Remove unused local variables.
3930
3931 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * profiler.el: Create a more coherent calltree from partial backtraces.
3934 (profiler-format): Hide the tail with `invisible' so that C-s can still
3935 find the hidden elements.
3936 (profiler-calltree-depth): Don't recurse so enthusiastically.
3937 (profiler-function-equal): New hash-table-test.
3938 (profiler-calltree-build-unified): New function.
3939 (profiler-calltree-build): Use it.
3940 (profiler-report-make-name-part): Indent the calltree less.
3941 (profiler-report-mode): Add visibility specs for profiler-format.
3942 (profiler-report-expand-entry, profiler-report-toggle-entry):
3943 Expand the whole subtree when provided with a prefix arg.
3944
3945 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3948 iuwu-mod token.
3949 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3950 hanging iuwu-mod token.
3951 (ruby-smie--forward-token): Do not include a dot after a token in
3952 that token.
3953 (ruby-smie--backward-token): Likewise.
3954
3955 2013-10-08 Juri Linkov <juri@jurta.org>
3956
3957 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3958 to isearch-other-control-char.
3959 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3960 and isearch-post-command-hook to post-command-hook.
3961 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3962 and isearch-post-command-hook from post-command-hook.
3963 (isearch-unread-key-sequence)
3964 (isearch-reread-key-sequence-naturally)
3965 (isearch-lookup-scroll-key, isearch-other-control-char)
3966 (isearch-other-meta-char): Remove functions.
3967 (isearch-pre-command-hook, isearch-post-command-hook):
3968 New functions based on isearch-other-meta-char rewritten
3969 relying on the new behavior of overriding-terminal-local-map
3970 that does not replace the local keymaps any more. (Bug#15200)
3971
3972 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3973
3974 Support menus on text-mode terminals.
3975 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3976 functionality.
3977
3978 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3979
3980 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3981 Move here from mouse.el.
3982 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3983 and arrow keys.
3984 (tty-menu-navigation-map): New map for TTY menu navigation.
3985
3986 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3987
3988 * frame.el (display-mouse-p): Report text-mode mouse as available
3989 on w32.
3990 (display-popup-menus-p): Report availability if mouse is
3991 available; don't condition on window-system.
3992
3993 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3994 (tty-menu-selected-face): New faces.
3995
3996 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3999 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4000 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4001 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4002 New constants.
4003 (lisp-mode-variables): New `elisp' argument.
4004 (emacs-lisp-mode): Use it.
4005 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4006 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4007
4008 * indent.el: Use lexical-binding.
4009 (indent-region): Add progress reporter.
4010 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4011 last step.
4012 (indent--next-tab-stop): New function to implement this behavior.
4013 (tab-to-tab-stop, move-to-tab-stop): Use it.
4014
4015 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4016
4017 * indent.el (indent-rigidly--current-indentation): New function.
4018 (indent-rigidly-map): New var.
4019 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4020
4021 2013-10-08 Bastien Guerry <bzg@gnu.org>
4022
4023 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4024
4025 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * progmodes/perl-mode.el: Use lexical-binding.
4028 Remove redundant :group args.
4029 (perl-nochange): Change default to be closer to other major modes's
4030 standard behavior.
4031 (perl-indent-line): Don't consider text on current line as a
4032 valid beginning of function from which to indent.
4033
4034 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4035 with more than one argument (bug#15538).
4036
4037 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4038
4039 * vc/pcvs.el: Use lexical-binding.
4040 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4041 environment of `eval'.
4042 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4043 than a list of expressions. Adjust callers.
4044 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4045
4046 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4047
4048 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4049 case of the dot in a chained method call being on the following line.
4050
4051 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4052
4053 * electric.el (electric-indent-inhibit): New var.
4054 (electric-indent-post-self-insert-function): Use it.
4055 * progmodes/python.el (python-mode): Set it.
4056
4057 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4058 open braces.
4059
4060 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4061
4062 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4063 (css-mode): Use electric-indent-chars.
4064
4065 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4066 (font-lock-beg, font-lock-end): Move before first use.
4067 (nxml-mode): Use syntax-propertize-function.
4068 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4069 (nxml-extend-after-change-region): Remove.
4070 * nxml/xmltok.el: Use lexical-binding.
4071 (xmltok-save): Use `declare'.
4072 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4073 * nxml/nxml-util.el: Use lexical-binding.
4074 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4075 Use `declare'.
4076 * nxml/nxml-ns.el: Use lexical-binding.
4077 (nxml-ns-save): Use `declare'.
4078 (nxml-ns-prefixes-for): Avoid add-to-list.
4079 * nxml/rng-match.el: Use lexical-binding.
4080 (rng--ipattern): Use cl-defstruct.
4081 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4082 (rng-cons-group-after, rng-subst-group-after)
4083 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4084 Use closures instead of `(lambda...).
4085
4086 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4087
4088 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4089 of BEG and END.
4090
4091 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4092 Use `tramp-handle-insert-file-contents'.
4093 (tramp-gvfs-handle-insert-file-contents): Remove function.
4094
4095 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4096 Use `save-restriction' in order to keep markers.
4097
4098 * net/trampver.el: Update release number.
4099
4100 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4101
4102 * progmodes/compile.el (compilation-parse-errors):
4103 Use compilation--put-prop.
4104 (compilation--ensure-parse): Check compilation-multiline.
4105
4106 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4107
4108 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4109 lexical-binding.
4110
4111 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4112
4113 * progmodes/ruby-mode.el: Fix recently added tests.
4114 (ruby-smie-grammar): Add - and +.
4115 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4116 (ruby-smie--backward-id): New functions.
4117 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4118 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4119 any more.
4120
4121 2013-10-07 Leo Liu <sdl.web@gmail.com>
4122
4123 * register.el (register-preview-delay)
4124 (register-preview-functions): New variables.
4125 (register-read-with-preview, register-preview)
4126 (register-describe-oneline): New functions.
4127 (point-to-register, window-configuration-to-register)
4128 (frame-configuration-to-register, jump-to-register)
4129 (number-to-register, view-register, insert-register)
4130 (copy-to-register, append-to-register, prepend-to-register)
4131 (copy-rectangle-to-register): Use register-read-with-preview to
4132 read register. (Bug#15525)
4133
4134 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4135
4136 * net/network-stream.el (network-stream-open-starttls): Don't add
4137 --insecure if it's already present, because that gnutls-cli
4138 rejects getting that parameter twice.
4139
4140 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4141
4142 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4143 keyword, too.
4144
4145 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4146
4147 * newcomment.el (comment-use-global-state): Change default value
4148 to t, mark obsolete (Bug#15251).
4149 (comment-beginning): In addition to `comment-to-syntax', check the
4150 value of `comment-use-global-state'.
4151
4152 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4153
4154 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4155 (ruby-comment-column): Follow the global default, by default.
4156 (ruby-smie-grammar): Add assignment syntax.
4157 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4158 open-paren, a comma, or a \.
4159 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4160 and line continuations.
4161 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4162 followed by implicit semi-colons. Add rule for string concatenation
4163 and for indentation at BOB.
4164 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4165
4166 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4167 calling next-sexp, since next-token may have skipped chars which
4168 next-sexp doesn't know should be skipped!
4169
4170 2013-10-05 Leo Liu <sdl.web@gmail.com>
4171
4172 * progmodes/octave.el (octave-send-region):
4173 Call compilation-forget-errors.
4174
4175 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4176
4177 * vc/vc-svn.el (vc-svn-find-admin-dir):
4178 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4179 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4180 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4181 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4182
4183 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4186
4187 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4188
4189 * subr.el (read-passwd): Hide chars even when called within a context
4190 where after-change-functions is disabled (bug#15501).
4191 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4192 until we removed ourself from overriding-terminal-local-map.
4193
4194 2013-10-04 Leo Liu <sdl.web@gmail.com>
4195
4196 * progmodes/octave.el (inferior-octave-mode):
4197 Call compilation-forget-errors.
4198
4199 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4200
4201 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4202
4203 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4204
4205 * net/secrets.el (secrets-create-collection): Add optional
4206 argument ALIAS. Use proper Label keyword. Append ALIAS as
4207 dbus-call-method argument. (Bug#15516)
4208
4209 2013-10-04 Leo Liu <sdl.web@gmail.com>
4210
4211 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4212 (inferior-octave-compilation-font-lock-keywords): New variables.
4213 (compilation-error-regexp-alist)
4214 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4215 (inferior-octave-mode): Use compilation-shell-minor-mode.
4216
4217 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4218
4219 * minibuffer.el (completion--replace): Be careful that `end' might be
4220 a marker.
4221
4222 2013-10-03 Daiki Ueno <ueno@gnu.org>
4223
4224 Add support for package signature checking.
4225 * emacs-lisp/package.el (url-http-file-exists-p)
4226 (epg-make-context, epg-context-set-home-directory)
4227 (epg-verify-string, epg-context-result-for)
4228 (epg-signature-status, epg-signature-to-string)
4229 (epg-check-configuration, epg-configuration)
4230 (epg-import-keys-from-file): Declare.
4231 (package-check-signature): New user option.
4232 (package-unsigned-archives): New user option.
4233 (package-desc): Add `signed' field.
4234 (package-load-descriptor): Set `signed' field if .signed file exists.
4235 (package--archive-file-exists-p): New function.
4236 (package--check-signature): New function.
4237 (package-install-from-archive): Check package signature.
4238 (package--download-one-archive): Check archive signature.
4239 (package-delete): Remove .signed file.
4240 (package-import-keyring): New command.
4241 (package-refresh-contents): Import default keyring.
4242 (package-desc-status): Add "unsigned" status.
4243 (describe-package-1, package-menu--print-info)
4244 (package-menu-mark-delete, package-menu--find-upgrades)
4245 (package-menu--status-predicate): Support "unsigned" status.
4246
4247 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4248
4249 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4250 the new compilation scheme using the new byte-codes.
4251
4252 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4253 (byte-pophandler): New byte codes.
4254 (byte-goto-ops): Adjust accordingly.
4255 (byte-compile--use-old-handlers): New var.
4256 (byte-compile-catch): Use new byte codes depending on
4257 byte-compile--use-old-handlers.
4258 (byte-compile-condition-case--old): Rename from
4259 byte-compile-condition-case.
4260 (byte-compile-condition-case--new): New function.
4261 (byte-compile-condition-case): New function that dispatches depending
4262 on byte-compile--use-old-handlers.
4263 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4264 when we can.
4265
4266 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4267 Optimize under `condition-case' and `catch' if
4268 byte-compile--use-old-handlers is nil.
4269 (disassemble-offset): Handle new bytecodes.
4270
4271 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4272
4273 * subr.el (error): Use `declare'.
4274 (decode-char, encode-char): Use advertised-calling-convention instead
4275 of the docstring to discourage use of the `restriction' arg.
4276
4277 2013-10-03 Daiki Ueno <ueno@gnu.org>
4278
4279 * epg.el (epg-verify-file): Add a comment saying that it does not
4280 notify verification error as a return value nor a signal.
4281 (epg-verify-string): Ditto.
4282
4283 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4284
4285 * progmodes/compile.el (compilation-start): Try globbing the arg to
4286 `cd' (bug#15417).
4287
4288 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4289
4290 Sync with Tramp 2.2.8.
4291
4292 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4293 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4294 * net/trampver.el: Update release number.
4295
4296 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4297
4298 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4299 and default-process-coding-system for darwin only.
4300
4301 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4302
4303 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4304
4305 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4306
4307 * vc/vc-git.el (vc-git-grep): Disable pager.
4308
4309 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4310
4311 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4312 Use :url instead of :homepage, as per
4313 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4314
4315 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4316 non-nil, use `syntax-ppss' (Bug#15251).
4317
4318 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4319
4320 * progmodes/octave.el (inferior-octave-startup-file):
4321 Prefer ~/.emacs.d/init_octave.m.
4322
4323 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4324
4325 * emacs-lisp/package.el (package-desc-from-define):
4326 Accept additional arguments as plist, convert them to an alist and store
4327 them in the `extras' slot.
4328 (package-generate-description-file): Convert extras alist back to
4329 plist and append to the `define-package' form arguments.
4330 (package--alist-to-plist): New function.
4331 (package--ac-desc): Add `extras' slot.
4332 (package--add-to-archive-contents): Check if the archive-contents
4333 vector is long enough, and if it is, pass its `extras' slot value
4334 to `package-desc-create'.
4335 (package-buffer-info): Call `lm-homepage', pass the returned value
4336 to `package-desc-from-define'.
4337 (describe-package-1): Render the homepage button (Bug#13291).
4338
4339 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4340 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4341
4342 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4343
4344 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4345 and default-process-coding-system to utf-8-unix (Bug#15402).
4346
4347 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4348
4349 * subr.el (looking-back): Do not recommend using looking-back.
4350
4351 2013-09-28 Alan Mackenzie <acm@muc.de>
4352
4353 Fix indentation/fontification of Java enum with "implements".
4354
4355 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4356 regexp which matches "implements", etc., in Java.
4357 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4358 specifier clauses coming after "enum".
4359 * progmodes/cc-fonts.el (c-font-lock-declarations)
4360 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4361 after "enum".
4362
4363 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4364
4365 * faces.el (region): Change ns_selection_color to
4366 ns_selection_fg_color, add ns_selection_bg_color.
4367
4368 2013-09-28 Leo Liu <sdl.web@gmail.com>
4369
4370 * progmodes/octave.el (inferior-octave-completion-table)
4371 (inferior-octave-completion-at-point): Minor tweaks.
4372
4373 * textmodes/ispell.el (ispell-lookup-words): Rename from
4374 lookup-words. (Bug#15460)
4375 (lookup-words): Obsolete.
4376 (ispell-complete-word, ispell-command-loop): All uses changed.
4377
4378 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4379
4380 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4381 (octave-mode-menu): Add octave-send-buffer.
4382 (octave-send-buffer): New function.
4383
4384 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4385
4386 * progmodes/octave.el (octave-mode-map): Add key binding for
4387 octave-lookfor.
4388 (octave-mode-menu): Add octave-lookfor.
4389 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4390 octave-lookfor.
4391 (octave-lookfor): New function.
4392
4393 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4394
4395 * emacs-lisp/cl-macs.el:
4396 (cl--loop-destr-temps): Remove.
4397 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4398 its convention.
4399 (cl--loop-set-iterator-function): New function.
4400 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4401 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4402 Bind `it' with `let' instead of substituting it with `cl-subst'.
4403 (cl--unused-var-p): New function.
4404 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4405 Eliminate some unused variable warnings (bug#15326).
4406
4407 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4408
4409 * doc-view.el (doc-view-scale-reset): Rename from
4410 `doc-view-reset-zoom-level'.
4411 (doc-view-scale-adjust): New command.
4412 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4413 `doc-view-scale-adjust'.
4414
4415 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4416
4417 * doc-view.el (doc-view-reset-zoom-level): New command.
4418 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4419 zoom commands (bug#15466).
4420
4421 2013-09-26 Kenichi Handa <handa@gnu.org>
4422
4423 * international/quail.el (quail-help): Make it not a command.
4424
4425 2013-09-26 Leo Liu <sdl.web@gmail.com>
4426
4427 * minibuffer.el (completion-all-sorted-completions): Make args
4428 optional as they are.
4429
4430 2013-09-25 Daniel Colascione <dancol@dancol.org>
4431
4432 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4433 specs are and that they're not evaluated.
4434
4435 2013-09-24 Sam Steingold <sds@gnu.org>
4436
4437 * midnight.el (clean-buffer-list-kill-regexps)
4438 (clean-buffer-list-kill-buffer-names): Update for the new Man
4439 buffer naming which includes the object name.
4440
4441 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4442
4443 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4444 (eshell-parse-command, eshell-parse-pipeline): Use it since
4445 eshell-separate-commands requires a dynamic scoped var.
4446 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4447
4448 2013-09-23 Leo Liu <sdl.web@gmail.com>
4449
4450 * autoinsert.el (auto-insert-alist): Make the value of
4451 lexical-binding match its file setting.
4452
4453 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4454
4455 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4456
4457 * autoarg.el (autoarg-kp-digit-argument):
4458 * electric.el (Electric-command-loop):
4459 * kmacro.el (kmacro-step-edit-insert):
4460 Do not set universal-argument-num-events.
4461
4462 2013-09-22 Leo Liu <sdl.web@gmail.com>
4463
4464 * files.el (interpreter-mode-alist): Add octave.
4465
4466 2013-09-21 Alan Mackenzie <acm@muc.de>
4467
4468 C++: fontify identifier in declaration following "public:" correctly.
4469 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4470 to match "public", etc.
4471 (c-decl-prefix-re): Add ":" into the C++ value.
4472 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4473 bit. Add a check for a ":" preceded by "public", etc.
4474
4475 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4476
4477 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4478 recognized by GDB 7.5 and later.
4479
4480 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4481
4482 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4483
4484 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4485
4486 * subr.el (internal--call-interactively): New const.
4487 (called-interactively-p): Use it (bug#3984).
4488
4489 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4490
4491 * vc/pcvs.el (cvs-mode-ignore):
4492 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4493 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4494
4495 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4496
4497 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4498 (eshell-ls-orig-insert-directory): Remove.
4499 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4500 (eshell-ls-use-in-dired): Use advice-add/remove.
4501 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4502 Add `orig-fun' arg for use in :around advice.
4503 Make it check (redundantly) eshell-ls-use-in-dired.
4504
4505 2013-09-19 Glenn Morris <rgm@gnu.org>
4506
4507 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4508
4509 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4510
4511 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4512
4513 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4514
4515 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4516 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4517 (tramp-get-remote-python): New defuns.
4518 (tramp-get-remote-uid-with-perl)
4519 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4520 contributed by yary <not.com@gmail.com> (tiny change).
4521 (tramp-get-remote-uid-with-python)
4522 (tramp-get-remote-gid-with-python): New defuns. Python code
4523 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4524 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4525
4526 2013-09-19 Glenn Morris <rgm@gnu.org>
4527
4528 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4529
4530 * eshell/em-unix.el (eshell-remove-entries):
4531 Rename argument to avoid name-clash with global `top-level'.
4532
4533 * eshell/esh-proc.el (eshell-kill-process-function):
4534 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4535 (eshell-reset-after-proc): Remove unused arg `proc'.
4536
4537 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4538 (directory-files-and-attributes): Mark unused arg.
4539
4540 * eshell/em-unix.el (eshell-remove-entries):
4541 Remove unused arg `path'. Update callers.
4542
4543 * eshell/em-hist.el (eshell-hist-parse-arguments):
4544 Remove unused arg `silent'. Update callers.
4545
4546 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4547 Fix (f)boundp mix-up.
4548
4549 * eshell/em-smart.el (eshell-smart-scroll-window)
4550 (eshell-disable-after-change):
4551 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4552
4553 2013-09-18 Alan Mackenzie <acm@muc.de>
4554
4555 Fix fontification of type when followed by "const".
4556 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4557 "known" types from fontification.
4558
4559 2013-09-18 Glenn Morris <rgm@gnu.org>
4560
4561 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4562 (chart-face-list): Drop Emacsen without display-color-p.
4563
4564 * net/eww.el (libxml-parse-html-region): Declare.
4565 (eww-display-html): Explicit error if no libxml2 support.
4566
4567 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4568
4569 * image.el (image-type-from-buffer, image-multi-frame-p):
4570 Remove --without-x warning/error.
4571
4572 * mouse.el (mouse-yank-primary):
4573 * term.el (term-mouse-paste):
4574 Reorder to silence --without-x compilation.
4575
4576 * mpc.el (doc-view-mode): Silence --without-x compilation.
4577
4578 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4579 Silence --without-x compilation.
4580
4581 * progmodes/gud.el (gud-find-file, gud-mode):
4582 Silence --without-x compilation.
4583 (tooltip-mode): Declare.
4584
4585 * wdired.el (dired-backup-overwrite): Remove declaration.
4586 (wdired-mode-map): Add doc string.
4587
4588 * custom.el (x-get-resource): Declare.
4589
4590 * eshell/em-glob.el (ange-cache):
4591 * eshell/em-unix.el (ange-cache): Declare.
4592
4593 * faces.el (x-display-list, x-open-connection, x-get-resource):
4594 Declare.
4595
4596 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4597 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4598 Declare.
4599
4600 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4601
4602 * net/gnutls.el (gnutls-log-level): Declare.
4603
4604 * net/shr.el (image-size, image-animate): Declare.
4605
4606 * simple.el (font-info): Declare.
4607
4608 * subr.el (x-popup-dialog): Declare.
4609
4610 * term/common-win.el (x-select-enable-primary)
4611 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4612 Declare.
4613
4614 * term/ns-win.el (x-handle-args): Declare.
4615
4616 * term/x-win.el (x-select-enable-clipboard): Declare.
4617
4618 * term/w32-win.el (create-default-fontset): Declare.
4619
4620 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4621 Declare.
4622
4623 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4624 (fit-frame-to-buffer): Explicit error if --without-x.
4625 (mouse-autoselect-window-select): Silence compiler.
4626
4627 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4628
4629 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4630 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4631 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4632 * eshell/esh-util.el (eshell-sublist):
4633 Remove unused local variables.
4634
4635 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4636
4637 * textmodes/two-column.el: Make 2C-split work for --without-x.
4638 (scroll-bar-columns): Autoload.
4639 (top-level): Require fringe when compiling.
4640
4641 2013-09-18 Leo Liu <sdl.web@gmail.com>
4642
4643 * subr.el (add-hook): Robustify to handle closure as well.
4644
4645 2013-09-17 Glenn Morris <rgm@gnu.org>
4646
4647 * simple.el (messages-buffer-mode-map): Unbind "g".
4648
4649 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * help-mode.el (help-mode-finish): Use derived-mode-p.
4652 Remove obsolete highlighting.
4653
4654 * play/life.el (life-mode): Use define-derived-mode. Derive from
4655 special-mode.
4656 (life): Let-bind inhibit-read-only.
4657 (life-setup): Avoid `setq'. Use `life-mode'.
4658
4659 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4660 which should not be needed any more.
4661 (package-menu-refresh, package-menu-describe-package): Use user-error.
4662
4663 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4664 (eshell-post-rewrite-command-hook): Make obsolete.
4665 (eshell-parse-command): Simplify.
4666 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4667 (eshell--cmd): Declare.
4668 (eshell-parse-pipeline): Remove unused var `final-p'.
4669 Pass a dynvar to eshell-post-rewrite-command-hook.
4670 Implement the new eshell-post-rewrite-command-function.
4671 (eshell-invoke-directly): Remove unused arg `input'.
4672 * eshell/esh-io.el (eshell-io-initialize):
4673 Use eshell-post-rewrite-command-function (bug#15399).
4674 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4675 adjust to new calling convention.
4676 (eshell-create-handles): Rename args to avoid clashing with dynvar
4677 `standard-output'.
4678
4679 2013-09-17 Glenn Morris <rgm@gnu.org>
4680
4681 * simple.el (messages-buffer-mode): New major mode.
4682 (messages-buffer): New function.
4683 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4684 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4685 (ert-run-test): Use `messages-buffer' function.
4686 (ert--force-message-log-buffer-truncation): Ignore read-only.
4687 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4688 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4689
4690 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4693
4694 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4695
4696 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4697
4698 * icomplete.el (icomplete-in-buffer): New var.
4699 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4700 vars and replace them with functions.
4701 (icomplete-minibuffer-setup): Adjust accordingly.
4702 (icomplete--completion-table, icomplete--completion-predicate)
4703 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4704 New functions.
4705 (icomplete-forward-completions, icomplete-backward-completions)
4706 (icomplete-simple-completing-p, icomplete-exhibit)
4707 (icomplete-completions): Use them.
4708 (icomplete--in-region-buffer): New var.
4709 (icomplete--in-region-setup): New function.
4710 (icomplete-mode): Use it.
4711
4712 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4713 (bug#15379).
4714 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4715 return args and options.
4716 (eshell-eval-using-options): Use the new return value of
4717 eshell--do-opts to set the options's vars in their scope.
4718 (eshell--set-option): Rename from eshell-set-option.
4719 Add arg `opt-vals'.
4720 (eshell--process-option): Rename from eshell-process-option.
4721 Add arg `opt-vals'.
4722 (eshell--process-args): Use an `opt-vals' alist to store the options's
4723 values during their processing and return them additionally to the
4724 remaining args.
4725
4726 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4727
4728 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4729 continuation character an operator, as far as indentation is
4730 concerned (Bug#15369).
4731
4732 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4733
4734 * window.el (window--state-put-2): Don't process buffer state
4735 when buffer doesn't exist any more (Bug#15382).
4736
4737 2013-09-15 Glenn Morris <rgm@gnu.org>
4738
4739 * eshell/em-unix.el (eshell/rm):
4740 Make -f ignore missing files. (Bug#15373)
4741
4742 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4743 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4744 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4745
4746 2013-09-14 Glenn Morris <rgm@gnu.org>
4747
4748 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4749
4750 2013-09-13 Glenn Morris <rgm@gnu.org>
4751
4752 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4753 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4754
4755 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4756
4757 * frame.el (x-focus-frame): Mark as declared in frame.c.
4758
4759 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * ls-lisp.el: Use advice-add.
4762 (original-insert-directory): Remove.
4763 (ls-lisp--insert-directory): Rename from insert-directory; add
4764 `orig-fun' argument.
4765 (insert-directory): Advise.
4766
4767 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4768
4769 * term.el (term-emulate-terminal): Decode the command string
4770 before passing it to term-command-hook. (Bug#15337)
4771
4772 2013-09-13 Glenn Morris <rgm@gnu.org>
4773
4774 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4775
4776 * eshell/esh-ext.el (eshell-search-path): Declare.
4777
4778 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4779 Otherwise an error occurs if eshell-dirs module not loaded.
4780
4781 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4782
4783 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4784
4785 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4786 `tramp-check-proper-host'. Check for a valid method name.
4787
4788 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4789 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4790 * net/tramp-sh.el (tramp-maybe-open-connection):
4791 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4792
4793 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4794 also for hash values.
4795
4796 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4797
4798 * term/ns-win.el (parameters): Don't declare as dynamic.
4799 (before-make-frame-hook): Don't add ineffective function.
4800
4801 * eshell/*.el: Use lexical-binding (bug#15231).
4802
4803 2013-09-12 Kenichi Handa <handa@gnu.org>
4804
4805 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4806
4807 2013-09-12 Glenn Morris <rgm@gnu.org>
4808
4809 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4810 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4811
4812 * subr.el (do-after-load-evaluation): Also give compiler warnings
4813 when obsolete files are used (except by obsolete files).
4814
4815 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4816 in the status output, assume `filename' is the first. (Bug#15322)
4817
4818 * vc/vc.el (vc-deduce-fileset): Doc fix.
4819
4820 * calc/calc-help.el (Info-goto-node):
4821 * progmodes/cperl-mode.el (Info-find-node):
4822 * vc/ediff.el (Info-goto-node): Update declarations.
4823
4824 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4825
4826 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4827 (vc-bzr-pull): Require vc-dispatcher.
4828 * vc/vc-git.el (vc-compilation-mode): Declare.
4829 (vc-git-pull): Require vc-dispatcher.
4830
4831 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4832
4833 * progmodes/octave.el (help-button-action): Declare.
4834
4835 * shell.el (shell-directory-tracker): Output error as a message
4836 rather than just returning it as a string.
4837 (shell-process-pushd): Remove useless use of message.
4838
4839 * dframe.el (dframe-timer-fn):
4840 * files.el (dir-locals-read-from-file):
4841 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4842 (mpc-format):
4843 * reveal.el (reveal-post-command):
4844 * saveplace.el (load-save-place-alist-from-file):
4845 * shell.el (shell-resync-dirs):
4846 * w32-common-fns.el (x-get-selection-value):
4847 * emacs-lisp/copyright.el (copyright-find-copyright):
4848 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4849 * emulation/tpu-edt.el (tpu-copy-keyfile):
4850 * play/bubbles.el (bubbles--mark-neighbourhood):
4851 * progmodes/executable.el
4852 (executable-make-buffer-file-executable-if-script-p):
4853 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4854
4855 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 Cleanup Eshell to rely less on dynamic scoping.
4858 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4859 last-value, and ext-command here. Bind `args' closer to `body'.
4860 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4861 (eshell--args): Declare new dynamic var.
4862 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4863 last-value, and ext-command. Pass `args' to `body'.
4864 (eshell-process-args): Bind eshell--args.
4865 (eshell-set-option): Use eshell--args.
4866 * eshell/eshell.el (eshell): Use derived-mode-p.
4867 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4868 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4869 (eshell-glob-function): Declare.
4870 * eshell/esh-util.el: Require cl-lib.
4871 (eshell-read-hosts-file): Avoid add-to-list.
4872 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4873 `err'.
4874 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4875 Declare.
4876 (eshell/diff): Remove unused var `err'.
4877 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4878 `killflag'.
4879 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4880 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4881 first use.
4882 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4883 Move declaration before first use.
4884 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4885 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4886 rely on cl-return.
4887
4888 2013-09-12 Glenn Morris <rgm@gnu.org>
4889
4890 * term/ns-win.el (global-map): Remove binding for ispell-next,
4891 deleted 1999-05-29. (Bug#15357)
4892
4893 2013-09-11 Glenn Morris <rgm@gnu.org>
4894
4895 * echistory.el (electric-command-history): Remove call to deleted func.
4896
4897 * play/landmark.el (landmark-mode): Fix typos.
4898
4899 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4900 Check cvs-sort-ignore-file is bound.
4901
4902 * savehist.el: No need for cl when compiling on Emacs.
4903
4904 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4905
4906 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4907 (bug#15338).
4908 (eshell-self-insert-command, eshell-send-invisible):
4909 Remove unused argument.
4910 (eshell-handle-control-codes): Remove unused var `orig'.
4911 Avoid delete-backward-char.
4912
4913 * files.el (set-auto-mode): Simplify a bit further.
4914
4915 2013-09-11 Glenn Morris <rgm@gnu.org>
4916
4917 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4918 (set-auto-mode): Don't regexp-quote elements.
4919 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4920 * progmodes/cc-mode.el (interpreter-mode-alist):
4921 * progmodes/ruby-mode.el (interpreter-mode-alist):
4922 Revert previous change.
4923
4924 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * play/snake.el (snake-mode):
4927 * play/mpuz.el (mpuz-mode):
4928 * play/landmark.el (lm-mode):
4929 * play/blackbox.el (blackbox-mode):
4930 * play/5x5.el (5x5-mode):
4931 * obsolete/options.el (Edit-options-mode):
4932 * net/quickurl.el (quickurl-list-mode):
4933 * net/newst-treeview.el (newsticker-treeview-mode):
4934 * mail/rmailsum.el (rmail-summary-mode):
4935 * mail/mspools.el (mspools-mode):
4936 * locate.el (locate-mode):
4937 * ibuffer.el (ibuffer-mode):
4938 * emulation/ws-mode.el (wordstar-mode):
4939 * emacs-lisp/debug.el (debugger-mode):
4940 * array.el (array-mode):
4941 * net/eudc.el (eudc-mode): Use define-derived-mode.
4942 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4943 Move initialization into declaration.
4944 (mairix-searches-mode): Use define-derived-mode.
4945 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4946 (eudc-edit-hotlist): Use dolist.
4947 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4948 (Man-mode): Use define-derived-mode.
4949 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4950 (Info-edit-mode): Use define-derived-mode.
4951 (Info-cease-edit): Use Info-mode.
4952 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4953 into declaration.
4954 (eshell-mode): Use define-derived-mode.
4955 * chistory.el (command-history-mode-map): Rename from
4956 command-history-map.
4957 (command-history-mode): Use define-derived-mode.
4958 (Command-history-setup): Remove function.
4959 * calc/calc.el (calc-trail-mode-map): New var.
4960 (calc-trail-mode): Use define-derived-mode.
4961 (calc-trail-buffer): Set calc-main-buffer manually.
4962 * bookmark.el (bookmark-insert-annotation): New function.
4963 (bookmark-edit-annotation): Use it.
4964 (bookmark-edit-annotation-mode): Make it a proper major mode.
4965 (bookmark-send-edited-annotation): Use derived-mode-p.
4966 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4967 closer to its ideal place. Use \' to match EOS.
4968
4969 * profiler.el (profiler-calltree-find): Use function-equal.
4970
4971 2013-09-10 Glenn Morris <rgm@gnu.org>
4972
4973 * files.el (interpreter-mode-alist): Convert to regexps.
4974 (set-auto-mode): Adapt for this. (Bug#15306)
4975 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4976 Comment out unused variable.
4977 * progmodes/cc-mode.el (interpreter-mode-alist):
4978 * progmodes/python.el (interpreter-mode-alist):
4979 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4980 * progmodes/sh-script.el (sh-set-shell):
4981 No longer use interpreter-mode-alist to get list of shells.
4982
4983 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4984
4985 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4986
4987 * simple.el: Use set-temporary-overlay-map for universal-argument.
4988 (universal-argument-map): Don't use default-bindings (bug#15317).
4989 Bind switch-frame explicitly. Replace universal-argument-minus with
4990 a conditional binding.
4991 (universal-argument-num-events, saved-overriding-map): Remove.
4992 (restore-overriding-map): Remove.
4993 (universal-argument--mode): Rename from save&set-overriding-map,
4994 and rewrite.
4995 (universal-argument, universal-argument-more, negative-argument)
4996 (digit-argument): Adjust accordingly.
4997 (universal-argument-minus): Remove.
4998 (universal-argument-other-key): Remove.
4999
5000 * subr.el (with-demoted-errors): Add `format' argument.
5001
5002 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5003
5004 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5005 `tramp-cleanup-connection'.
5006
5007 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5008 parameters KEEP-DEBUG and KEEP-PASSWORD.
5009
5010 * net/tramp.el (tramp-file-name-handler):
5011 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5012 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5013 (tramp-maybe-open-connection):
5014 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5015 Use `tramp-cleanup-connection'.
5016
5017 * net/tramp-sh.el (tramp-maybe-open-connection):
5018 Catch 'uname-changed inside the progress reporter.
5019
5020 2013-09-10 Glenn Morris <rgm@gnu.org>
5021
5022 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5023
5024 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5025 returns "alternate access method" in mode (eg "-rw-r--r--.").
5026
5027 2013-09-08 Glenn Morris <rgm@gnu.org>
5028
5029 * saveplace.el (load-save-place-alist-from-file):
5030 Demote errors. (Bug#15305)
5031
5032 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5033
5034 Improve compatibility with older Emacsen, and XEmacs.
5035
5036 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5037 only if it is bound. It isn't for XEmacs.
5038 (with-tramp-progress-reporter): Do not let-bind `result'.
5039 This yields to scoping errors in XEmacs.
5040 (tramp-handle-make-auto-save-file-name): New function, moved from
5041 tramp-sh.el.
5042
5043 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5044 for `make-auto-save-file-name'.
5045 (tramp-adb--gnu-switches-to-ash):
5046 Use `tramp-compat-replace-regexp-in-string'.
5047
5048 * net/tramp-cache.el (tramp-cache-print): Call
5049 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5050
5051 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5052 bound. It isn't for XEmacs.
5053
5054 * net/tramp-compat.el (tramp-compat-copy-file):
5055 Catch `wrong-number-of-arguments' error.
5056 (tramp-compat-replace-regexp-in-string): New defun.
5057
5058 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5059 for `make-auto-save-file-name'.
5060 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5061 `copy-file'.
5062 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5063 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5064 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5065
5066 * net/tramp-gw.el (tramp-gw-open-network-stream):
5067 Use `tramp-compat-replace-regexp-in-string'.
5068
5069 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5070 Call `tramp-handle-make-auto-save-file-name'.
5071 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5072 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5073 (tramp-sh-file-inotifywait-process-filter):
5074 Use `tramp-compat-replace-regexp-in-string'.
5075 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5076
5077 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5078 for `make-auto-save-file-name'.
5079 (tramp-smb-handle-copy-directory):
5080 Call `tramp-compat-replace-regexp-in-string'.
5081 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5082 (tramp-smb-handle-copy-file): Improve error message.
5083 (tramp-smb-handle-rename-file): Rename directly only in case
5084 `newname' does not exist yet. This is a restriction of smbclient.
5085 (tramp-smb-maybe-open-connection): Rerun the function only when
5086 `auth-sources' is non-nil.
5087
5088 2013-09-08 Kenichi Handa <handa@gnu.org>
5089
5090 * international/characters.el: Set category "^" (Combining) for
5091 more characters.
5092
5093 2013-09-07 Alan Mackenzie <acm@muc.de>
5094
5095 Correctly fontify Java class constructors.
5096 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5097 in Java Mode.
5098 (c-recognize-typeless-decls): Set the Java value to t.
5099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5100 While handling a "(", add a check for, effectively, Java, and handle a
5101 "typeless" declaration there.
5102
5103 2013-09-07 Roland Winkler <winkler@gnu.org>
5104
5105 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5106 field subtitle for entry type book.
5107
5108 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5109
5110 * minibuffer.el: Make minibuffer-complete call completion-in-region
5111 rather than other way around.
5112 (completion--some, completion-pcm--find-all-completions):
5113 Don't delay signals when debugging.
5114 (minibuffer-completion-contents): Beware fields within the
5115 minibuffer contents.
5116 (completion-all-sorted-completions): Use defvar-local.
5117 (completion--do-completion, completion--cache-all-sorted-completions)
5118 (completion-all-sorted-completions, minibuffer-force-complete):
5119 Add args `beg' and `end'.
5120 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5121 (minibuffer-complete): Use completion-in-region.
5122 (completion-complete-and-exit): New fun, extracted from
5123 minibuffer-complete-and-exit.
5124 (minibuffer-complete-and-exit): Use it.
5125 (completion--complete-and-exit): Rename from
5126 minibuffer--complete-and-exit.
5127 (completion-in-region--single-word): New function, extracted from
5128 minibuffer-complete-word.
5129 (minibuffer-complete-word): Use it.
5130 (display-completion-list): Make `common-substring' argument obsolete.
5131 (completion--in-region): Call completion--in-region-1 instead of
5132 minibuffer-complete.
5133 (completion-help-at-point): Pass boundaries to
5134 minibuffer-completion-help as args rather than via an overlay.
5135 (completion-pcm--string->pattern): Use `any-delim'.
5136 (completion-pcm--optimize-pattern): New function.
5137 (completion-pcm--pattern->regex): Handle `any-delim'.
5138 * icomplete.el (icomplete-forward-completions)
5139 (icomplete-backward-completions, icomplete-completions):
5140 Adjust calls to completion-all-sorted-completions and
5141 completion--cache-all-sorted-completions.
5142 (icomplete-with-completion-tables): Default to t.
5143 * emacs-lisp/crm.el (crm--current-element): Rename from
5144 crm--select-current-element. Don't put an overlay but return the
5145 boundaries instead.
5146 (crm--completion-command): Take two new args to bind to the boundaries.
5147 (crm-completion-help): Adjust accordingly.
5148 (crm-complete): Use completion-in-region.
5149 (crm-complete-word): Use completion-in-region--single-word.
5150 (crm-complete-and-exit): Use completion-complete-and-exit.
5151
5152 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5155 than dynamically.
5156
5157 2013-09-06 Juri Linkov <juri@jurta.org>
5158
5159 * info.el (Info-display-images-node): When image file doesn't exist
5160 display text version of the image if it's provided in the Info file.
5161 Otherwise, display the location of missing image from SRC attribute.
5162 Add help-echo text property from ALT attribute. (Bug#15279)
5163
5164 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5167 (edit-abbrevs-mode): Use define-derived-mode.
5168
5169 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5170 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5171 that it's defined.
5172 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5173 Use define-derived-mode.
5174
5175 * epg.el (epg-start-encrypt): Minor CSE simplification.
5176
5177 2013-09-06 William Xu <william.xwl@gmail.com>
5178
5179 * arc-mode.el: Add support for 7za (bug#15264).
5180 (archive-7z-program): New var.
5181 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5182 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5183 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5184
5185 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5186
5187 Remove URL syntax.
5188
5189 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5190 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5191 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5192 (tramp-postfix-host-format, tramp-file-name-regexp)
5193 (tramp-completion-file-name-regexp)
5194 (tramp-completion-dissect-file-name)
5195 (tramp-handle-substitute-in-file-name): Remove 'url case.
5196 (tramp-file-name-regexp-url)
5197 (tramp-completion-file-name-regexp-url): Remove constants.
5198
5199 2013-09-06 Glenn Morris <rgm@gnu.org>
5200
5201 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5202
5203 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5204
5205 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5206 keywords" below "here-doc beginnings" (Bug#15270).
5207
5208 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5209
5210 * subr.el (pop): Use `car-safe'.
5211 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5212 to detect unused `pop' return value.
5213
5214 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5215 var `block-regexp'.
5216 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5217 (python-fill-string): Remove unused var `marker'.
5218 (python-skeleton-add-menu-items): Remove unused var `items'.
5219
5220 * international/mule-cmds.el: Require CL.
5221 (find-coding-systems-for-charsets): Avoid add-to-list.
5222 (sanitize-coding-system-list): New function, extracted from
5223 select-safe-coding-system-interactively.
5224 (select-safe-coding-system-interactively): Use it.
5225 (read-input-method-name): Accept symbols for `default'.
5226
5227 * emacs-lisp/advice.el (defadvice): Add indent rule.
5228
5229 2013-09-05 Daniel Hackney <dan@haxney.org>
5230
5231 * dired-x.el:
5232 * net/ange-ftp.el:
5233 * net/browse-url.el:
5234 * net/dbus.el:
5235 * net/eudc.el:
5236 * net/eudcb-ldap.el:
5237 * net/eww.el:
5238 * net/imap.el:
5239 * printing.el:
5240 * vc/ediff-diff.el:
5241 * vc/ediff-init.el:
5242 * vc/ediff-merg.el:
5243 * vc/ediff-mult.el:
5244 * vc/ediff-util.el:
5245 * vc/ediff-wind.el:
5246 * vc/ediff.el:
5247 * vc/emerge.el:
5248 * vc/pcvs.el:
5249 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5250 byte compiler. Remove some unused let-bound variables.
5251
5252 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5255 a "ref-cell", since it gets better optimized (bug#14883).
5256
5257 2013-09-05 Glenn Morris <rgm@gnu.org>
5258
5259 * progmodes/cc-awk.el (c-forward-sws): Declare.
5260
5261 2013-09-04 Glenn Morris <rgm@gnu.org>
5262
5263 * generic-x.el [rul-generic-mode]: Require cc-mode.
5264 (c++-mode-syntax-table): Declare.
5265 (rul-generic-mode-syntax-table): Init in the defvar.
5266
5267 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5270 (vc-do-command, vc-set-async-update):
5271 * vc/vc-mtn.el (vc-mtn-dir-status):
5272 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5273 (vc-hg-pull, vc-hg-merge-branch):
5274 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5275 (vc-git-merge-branch):
5276 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5277 (vc-cvs-dir-status-files):
5278 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5279 (vc-bzr-dir-status-files):
5280 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5281 * vc/vc-annotate.el: Use lexical-binding.
5282 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5283 (vc-sentinel-movepoint): Declare.
5284 (vc-annotate): Don't use `goto-line'.
5285 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5286 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5287 (vc-sentinel-movepoint): Declare.
5288 * vc/vc-svn.el: Use lexical-binding.
5289 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5290 * vc/vc-sccs.el:
5291 * vc/vc-rcs.el: Use lexical-binding.
5292
5293 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5294 `deleted'. Don't drop errors silently.
5295
5296 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5297
5298 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5299
5300 * vc/vc.el (vc-ignore): Rewrite.
5301 (vc-default-ignore): New function.
5302 (vc-default-ignore-completion-table): Use find-ignore-file.
5303
5304 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5305 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5306 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5307 Remove. Most code moved to vc.el.
5308
5309 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5312 * net/tramp-smb.el (tramp-smb-get-file-entries):
5313 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5314 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5315
5316 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5317 Update call to it.
5318 (eww-change-select): Remove unused var `properties'.
5319 (eww-make-unique-file-name): Remove unused var `base'.
5320
5321 * finder.el (finder-compile-keywords): Don't mess with windows.
5322
5323 * calculator.el (calculator-funcall): Fix typo in last change.
5324
5325 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5326
5327 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5328 <pkg>-autoloads.el file stop us.
5329
5330 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5331 warnings, and factor out common code.
5332
5333 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5334
5335 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5336 two-character operators and whether the character preceding them
5337 changes their meaning (Bug#15208).
5338
5339 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5340
5341 Format code sent to Python shell for robustness.
5342 * progmodes/python.el (python-shell-buffer-substring):
5343 New function.
5344 (python-shell-send-region, python-shell-send-buffer): Use it.
5345
5346 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5347
5348 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5349 * net/tramp.el (tramp-user-error): ... here.
5350 (tramp-find-method, tramp-check-proper-host)
5351 (tramp-dissect-file-name, tramp-debug-message)
5352 (tramp-handle-shell-command):
5353 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5354 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5355
5356 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5357
5358 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5359
5360 * avoid.el (mouse-avoidance-point-position)
5361 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5362 returns nil.
5363
5364 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5365
5366 * progmodes/python.el (python-shell-completion-get-completions):
5367 Drop use of deleted `comint-last-prompt-overlay'.
5368 (python-nav-if-name-main): New command.
5369
5370 2013-09-01 Glenn Morris <rgm@gnu.org>
5371
5372 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5373 Avoid leading space in $wins. Otherwise the sed command used by
5374 eg compile-main ends up containing "/*.el". (Bug#15170)
5375
5376 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5377
5378 2013-08-30 Glenn Morris <rgm@gnu.org>
5379
5380 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5381 Fix is-this-a-directory logic. (Bug#15220)
5382
5383 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * textmodes/css-mode.el: Use SMIE.
5386 (css-smie-grammar): New var.
5387 (css-smie--forward-token, css-smie--backward-token)
5388 (css-smie-rules): New functions.
5389 (css-mode): Use them.
5390 (css-navigation-syntax-table): Remove var.
5391 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5392 (css-indent-calculate, css-indent-line): Remove functions.
5393
5394 Misc changes to reduce use of `(lambda...); and other cleanups.
5395 * cus-edit.el: Use lexical-binding.
5396 (customize-push-and-save, customize-apropos)
5397 (custom-buffer-create-internal): Use closures.
5398 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5399 * progmodes/ada-xref.el: Use setq.
5400 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5401 * dframe.el: Use lexical-binding.
5402 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5403 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5404 * descr-text.el: Use lexical-binding.
5405 (describe-text-widget, describe-text-sexp, describe-property-list):
5406 Use closures.
5407 * comint.el (comint-history-isearch-push-state): Use a closure.
5408 * calculator.el: Use lexical-binding.
5409 (calculator-number-to-string): Make it work with lexical-binding.
5410 (calculator-funcall): Same and use cl-letf.
5411
5412 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5413 (lisp--company-doc-string, lisp--company-location): New functions.
5414 (lisp-completion-at-point): Use them to improve Company support.
5415
5416 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5417 params of lambda expressions.
5418 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5419 (ruby-smie--opening-pipe-p): New function.
5420 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5421 symbols and matched |...| for formal params.
5422 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5423 from being treated as hanging. Handle "rescue".
5424
5425 2013-08-29 Glenn Morris <rgm@gnu.org>
5426
5427 * progmodes/cc-engine.el (c-pull-open-brace):
5428 Move definition before use.
5429
5430 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5433 are immutable. Don't use `unsafe' any more.
5434 (cl--defsubst-expand): Don't substitute at the same time as keeping
5435 a residual unused let-binding. Don't use `unsafe' any more.
5436
5437 2013-08-29 Glenn Morris <rgm@gnu.org>
5438
5439 * calendar/cal-china.el (calendar-chinese-year-cache):
5440 Recenter on 2015.
5441
5442 * nxml/nxml-util.el (nxml-debug-clear-inside):
5443 Use cl-loop rather than loop.
5444
5445 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5446
5447 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5448
5449 2013-08-28 Glenn Morris <rgm@gnu.org>
5450
5451 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5452
5453 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5454
5455 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5456
5457 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * simple.el (repeat-complex-command--called-interactively-skip):
5460 New function.
5461 (repeat-complex-command): Use it (bug#14136).
5462
5463 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5464 (c-define-abbrev-table): Add `doc' argument.
5465 (c-mode-abbrev-table, c++-mode-abbrev-table)
5466 (objc-mode-abbrev-table, java-mode-abbrev-table)
5467 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5468 (awk-mode-abbrev-table): Use it.
5469 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5470 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5471 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5472 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5473 Move initialization into the declaration; and remove any
5474 autoload cookie.
5475
5476 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5477 and dynamic let binding.
5478
5479 * vc/smerge-mode.el: Remove redundant :group args.
5480
5481 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5482 to load-path.
5483
5484 2013-08-28 Juri Linkov <juri@jurta.org>
5485
5486 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5487 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5488 (isearch-other-meta-char): Handle an undefined shifted printing
5489 character by downshifting it. (Bug#15200)
5490
5491 2013-08-28 Juri Linkov <juri@jurta.org>
5492
5493 * isearch.el (isearch-search): Change regexp error message for
5494 non-regexp searches. (Bug#15166)
5495
5496 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5497
5498 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5499 for portability to hosts where /bin/sh has problems.
5500
5501 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5502
5503 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5504
5505 2013-08-27 Juri Linkov <juri@jurta.org>
5506
5507 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5508 in the keyboard macro. (Bug#15126)
5509
5510 2013-08-27 Juri Linkov <juri@jurta.org>
5511
5512 * isearch.el (isearch-quote-char): Comment out converting unibyte
5513 to multibyte, thus syncing with its `quoted-insert' counterpart.
5514 (Bug#15166)
5515
5516 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5517
5518 * window.el (display-buffer-use-some-window): Add missing
5519 argument in call of get-largest-window (Bug#15185).
5520 Reported by Stephen Leake.
5521
5522 2013-08-27 Glenn Morris <rgm@gnu.org>
5523
5524 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5525
5526 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5529 from a matcher-function unless there's no more matches (bug#15161).
5530
5531 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5532
5533 * minibuffer.el: Revert change from 2013-08-20.
5534
5535 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5536 with text property `tramp-default', if appropriate.
5537 (tramp-check-proper-host): New defun.
5538 (tramp-dissect-file-name): Do not check hostname. Revert change
5539 of 2013-03-18.
5540 (tramp-backtrace): Make VEC-OR-PROC optional.
5541
5542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5543 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5544 * net/tramp-sh.el (tramp-maybe-open-connection):
5545 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5546 Apply `tramp-check-proper-host'.
5547
5548 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5549
5550 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5551 lambda expression in order to have `describe-variable' display it.
5552
5553 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5556 BUF can be optional. (Bug#15186)
5557
5558 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5559
5560 * progmodes/flymake.el (flymake-get-real-file-name-function):
5561 Fix broken customization. (Bug#15184)
5562
5563 2013-08-25 Alan Mackenzie <acm@muc.de>
5564
5565 Improve indentation of bracelists defined by macros (without "=").
5566
5567 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5568 expansion begins with "{", regard it as bracelist when it doesn't
5569 contain a ";".
5570
5571 Parse C++ inher-intro when there's a template split over 2 lines.
5572
5573 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5574 rigorously the search for "class" etc. followed by ":".
5575
5576 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5577 random languages a regexp which never matches rather than nil.
5578
5579 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5580
5581 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5582 (c-awk-regexp-one-line-possibly-open-char-list-re)
5583 (c-awk-one-line-possibly-open-regexp-re)
5584 (c-awk-one-line-non-syn-ws*-re): Remove.
5585 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5586 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5587 (c-awk-space*-unclosed-regexp-/-re): New constants.
5588 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5589 aren't regexp delimiters.
5590
5591 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5592 handling for a rare situation in AWK Mode involving unterminated
5593 strings/regexps.
5594
5595 2013-08-23 Glenn Morris <rgm@gnu.org>
5596
5597 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5598
5599 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5600
5601 * files.el (create-file-buffer): If the result would begin with
5602 spaces, prepend a "|" instead of removing them. (Bug#15162)
5603
5604 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5605
5606 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5607 text-properties (bug#15155).
5608
5609 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5610 exist any more.
5611 (calc-keypad-redraw): Remove unused var `pad'.
5612 (calc-keypad-press): Remove unused var `menu'.
5613
5614 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5615
5616 * window.el (display-buffer-pop-up-frame):
5617 Call pop-up-frame-function with BUFFER current so `make-frame' will
5618 use it as the new frame's buffer (Bug#15133).
5619
5620 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * calendar/timeclock.el: Minor cleanups.
5623 (timeclock-ask-before-exiting, timeclock-use-display-time):
5624 Use `symbol'.
5625 (timeclock-modeline-display): Define as alias before the
5626 actual definition.
5627 (timeclock-mode-line-display): Use define-minor-mode.
5628 (timeclock-day-list-template): Make it a function, add an argument.
5629 (timeclock-day-list-required, timeclock-day-list-length)
5630 (timeclock-day-list-debt, timeclock-day-list-span)
5631 (timeclock-day-list-break): Adjust calls accordingly.
5632
5633 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5634
5635 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5636 Use read--expression so that completion works again.
5637
5638 2013-08-21 Sam Steingold <sds@gnu.org>
5639
5640 Add rudimentary inferior shell interaction
5641 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5642 (sh-set-shell): Reset it.
5643 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5644 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5645
5646 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * align.el: Use lexical-binding.
5649 (align-region): Simplify accordingly.
5650
5651 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5652
5653 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5654
5655 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5656 `non-essential' up.
5657
5658 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5659
5660 * net/tramp.el:
5661 * net/tramp-adb.el:
5662 * net/tramp-cmds.el:
5663 * net/tramp-ftp.el:
5664 * net/tramp-gvfs.el:
5665 * net/tramp-gw.el:
5666 * net/tramp-sh.el: Don't wrap external variable declarations by
5667 `eval-when-compile'.
5668
5669 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5670
5671 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5672 now that Emacs supports ImageMagick animations.
5673
5674 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5677 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5678
5679 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5680
5681 * window.el (mouse-autoselect-window-select): Do autoselect when
5682 mouse pointer is on margin.
5683
5684 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5685
5686 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5687
5688 2013-08-16 Glenn Morris <rgm@gnu.org>
5689
5690 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5691 Handle "Remote Directory" response of some clients. (Bug#15058)
5692
5693 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5694 Tweak warning. (Bug#14926)
5695
5696 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5697 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5698
5699 * image-mode.el (image-mode-map): Add menu items to reverse,
5700 increase, decrease, reset animation speed.
5701 (image--set-speed, image-increase-speed, image-decrease-speed)
5702 (image-reverse-speed, image-reset-speed): New functions.
5703 (image-mode-map): Add bindings for speed commands.
5704
5705 * image.el (image-animate-get-speed, image-animate-set-speed):
5706 New functions.
5707 (image-animate-timeout): Respect image :speed property.
5708
5709 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5710
5711 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5712 previous line (bug#15101).
5713 (debugger-eval-expression, debugger-record-expression):
5714 Use read--expression (bug#15102).
5715
5716 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5717
5718 Remove byte compiler warnings, visible when compiling with
5719 `byte-compile-force-lexical-warnings' set to t.
5720
5721 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5722 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5723 (tramp-handle-unhandled-file-name-directory)
5724 (tramp-handle-file-notify-add-watch, tramp-action-login)
5725 (tramp-action-succeed, tramp-action-permission-denied)
5726 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5727 arguments with "_".
5728
5729 * net/tramp-adb.el (tramp-adb-parse-device-names)
5730 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5731 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5732 (tramp-adb-handle-file-truename): Remove unused arguments.
5733
5734 * net/tramp-cache.el (tramp-flush-directory-property)
5735 (tramp-flush-connection-property, tramp-list-connections)
5736 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5737
5738 * net/tramp-compat.el (tramp-compat-make-temp-file):
5739 Rename FILENAME to F.
5740
5741 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5742 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5743 (tramp-zeroconf-parse-workstation-device-names)
5744 (tramp-zeroconf-parse-webdav-device-names)
5745 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5746
5747 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5748 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5749
5750 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5751 arguments.
5752 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5753 (tramp-sh-handle-insert-file-contents-literally)
5754 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5755 with "_".
5756 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5757 Remove unused variables.
5758
5759 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5760 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5761 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5762
5763 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5764 Make them a defconst.
5765 (tramp-uuencode-region): Remove unused variable.
5766
5767 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5768
5769 * frameset.el (frameset--prop-setter): New function.
5770 (frameset-prop): Add gv-setter declaration.
5771 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5772 parameter was already set in FILTERED. Doc fix.
5773 (frameset--record-minibuffer-relationships): Allow saving a
5774 minibufferless frame without its corresponding minibuffer frame.
5775 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5776 frame, if the frame id matches.
5777 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5778 frames before orphaned ones.
5779 (frameset-restore): Warn about orphaned windows, instead of error out.
5780
5781 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5782
5783 * window.el (window-make-atom): Don't overwrite parameter
5784 already present.
5785 (display-buffer-in-atom-window): Handle special case where we
5786 split an already atomic window.
5787 (window--major-non-side-window, display-buffer-in-side-window)
5788 (window--side-check): Ignore minibuffer window when walking
5789 window tree.
5790 (window-deletable-p): Return 'frame only if no other frame uses
5791 our minibuffer window.
5792 (record-window-buffer): Run buffer-list-update-hook.
5793 (split-window): Make sure window--check-frame won't destroy an
5794 existing atomic window in case the new window gets nested
5795 inside.
5796 (display-buffer-at-bottom): Ignore minibuffer window when
5797 walking window tree. Don't split a side window.
5798 (pop-to-buffer): Don't set-buffer here, the select-window call
5799 should do that.
5800 (mouse-autoselect-window-select): Autoselect only if we are in the
5801 text portion of the window.
5802
5803 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5804
5805 * net/shr.el (shr-parse-image-data): New function to grab both the
5806 data itself and the Content-Type.
5807 (shr-put-image): Use it.
5808
5809 * net/eww.el (eww-display-image): Ditto.
5810
5811 * image.el (image-content-type-suffixes): New variable.
5812
5813 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5814
5815 * progmodes/python.el (python-imenu--build-tree)
5816 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5817
5818 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5819
5820 * simple.el (backward-word): Mention the optional argument.
5821
5822 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5823
5824 * frameset.el (frameset--make): Rename constructor from make-frameset.
5825 (frameset-p, frameset-valid-p): Don't autoload.
5826 (frameset-valid-p): Use normal accessors.
5827
5828 2013-08-13 Glenn Morris <rgm@gnu.org>
5829
5830 * progmodes/compile.el (compile-command): Tweak example in doc.
5831 * obsolete/scribe.el (scribe-mode):
5832 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5833
5834 * mail/feedmail.el (feedmail-confirm-outgoing)
5835 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5836
5837 * cus-start.el (truncate-partial-width-windows): Fix type.
5838
5839 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5840
5841 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5842
5843 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * emacs-lisp/timer.el (timer--time-setter): New function.
5846 (timer--time): Use it as gv-setter.
5847
5848 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5849 setter is not a symbol.
5850
5851 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5852
5853 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5854 if sending fails. This makes debugging easier.
5855
5856 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5857
5858 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5859 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5860 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5861
5862 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5863
5864 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5865
5866 2013-08-12 Glenn Morris <rgm@gnu.org>
5867
5868 * format.el (format-annotate-function):
5869 Handle read-only text properties in the source. (Bug#14887)
5870
5871 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5872
5873 * net/eww.el (eww-display-html): Ignore coding system errors.
5874 One web site uses "utf-8lias" as the coding system.
5875
5876 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5877
5878 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5879
5880 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5881
5882 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5883 (tutorial--detailed-help): Remove unused local variables.
5884 (tutorial--save-tutorial-to): Use ignore-errors.
5885 (help-with-tutorial): Use looking-at-p.
5886
5887 * view.el (view-buffer-other-window, view-buffer-other-frame):
5888 Mark unused arguments.
5889
5890 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5891 (woman-select-symbol-fonts, woman, woman-find-file)
5892 (woman-insert-file-contents, woman-non-underline-faces):
5893 Use string-match-p.
5894 (woman1-unquote): Move declaration.
5895
5896 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5897 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5898 argument. Remove unused local variable.
5899 (xml-parse-elem-type): Use string-match-p.
5900 (xml-substitute-numeric-entities): Use ignore-errors.
5901
5902 * calculator.el (calculator): Mark unused argument.
5903 (calculator-paste, calculator-quit, calculator-integer-p):
5904 Use ignore-errors.
5905 (calculator-string-to-number, calculator-decimal, calculator-exp)
5906 (calculator-op-or-exp): Use string-match-p.
5907
5908 * dired.el (dired-buffer-more-recently-used-p): Declare.
5909 (dired-insert-set-properties, dired-insert-old-subdirs):
5910 Use ignore-errors.
5911
5912 * dired-aux.el (dired-compress): Use ignore-errors.
5913 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5914 (dired-do-async-shell-command, dired-do-shell-command)
5915 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5916 (dired-insert-subdir-validate): Use string-match-p.
5917 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5918 (dired-add-entry): Use string-match-p, looking-at-p.
5919 (dired-insert-subdir-newpos): Remove unused local variable.
5920
5921 * filenotify.el (file-notify-callback): Remove unused local variable.
5922
5923 * filesets.el (filesets-error): Mark unused argument.
5924 (filesets-which-command-p, filesets-filter-dir-names)
5925 (filesets-directory-files, filesets-get-external-viewer)
5926 (filesets-ingroup-get-data): Use string-match-p.
5927
5928 * find-file.el (ff-other-file-name, ff-other-file-name)
5929 (ff-find-the-other-file, ff-cc-hh-converter):
5930 Remove unused local variables.
5931 (ff-get-file-name): Use string-match-p.
5932 (ff-all-dirs-under): Use ignore-errors.
5933
5934 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5935 (follow-select-if-visible): Remove unused local variable.
5936
5937 * forms.el (read-file-filter): Move declaration.
5938 (forms--make-format, forms--make-parser, forms-insert-record):
5939 Quote function with #'.
5940 (forms--update): Use string-match-p. Quote function with #'.
5941
5942 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5943 (help-make-xrefs): Use looking-at-p.
5944 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5945
5946 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5947 (ibuffer-confirm-operation-on): Use string-match-p.
5948
5949 * msb.el (msb-item-handler, msb-dired-item-handler):
5950 Mark unused arguments.
5951
5952 * ses.el (ses-decode-cell-symbol)
5953 (ses-kill-override): Remove unused local variable.
5954 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5955 (ses-load): Use ignore-errors, looking-at-p.
5956 (ses-jump-safe): Use ignore-errors.
5957 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5958
5959 * tabify.el (untabify, tabify): Mark unused arguments.
5960
5961 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5962 Mark unused argument.
5963 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5964 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5965
5966 * emacs-lisp/timer.el (timer--time): Define setter with
5967 gv-define-setter to avoid deprecation warning.
5968
5969 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5970 (*record-cmpl-statistics-p*): Remove (was commented out).
5971 (cmpl-statistics-block): Remove (body was commented out).
5972 All callers changed.
5973 (add-completions-from-buffer, load-completions-from-file):
5974 Remove unused variables.
5975
5976 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5977
5978 * filecache.el (file-cache-delete-file-list):
5979 Print message only when told so.
5980 (file-cache-files-matching): Use #' in mapconcat argument.
5981
5982 * ffap.el (ffap-url-at-point): Fix reference to variable
5983 thing-at-point-default-mail-uri-scheme.
5984
5985 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * subr.el (define-error): New function.
5988 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5989 error-file-not-found and define with define-error.
5990 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5991 and define with define-error.
5992 * userlock.el (file-locked, file-supersession):
5993 * simple.el (mark-inactive):
5994 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5995 * progmodes/ada-mode.el (ada-mode-errors):
5996 * play/life.el (life-extinct):
5997 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5998 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5999 * nxml/rng-util.el (rng-error):
6000 * nxml/rng-uri.el (rng-uri-error):
6001 * nxml/rng-match.el (rng-compile-error):
6002 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6003 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6004 * nxml/nxml-rap.el (nxml-scan-error):
6005 * nxml/nxml-outln.el (nxml-outline-error):
6006 * net/soap-client.el (soap-error):
6007 * net/gnutls.el (gnutls-error):
6008 * net/ange-ftp.el (ftp-error):
6009 * mpc.el (mpc-proc-error):
6010 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6011 (json-number-format, json-string-escape, json-string-format)
6012 (json-key-format, json-object-format):
6013 * jka-compr.el (compression-error):
6014 * international/quail.el (quail-error):
6015 * international/kkc.el (kkc-error):
6016 * emacs-lisp/ert.el (ert-test-failed):
6017 * calc/calc.el (calc-error, inexact-result, math-overflow)
6018 (math-underflow):
6019 * bookmark.el (bookmark-error-no-filename):
6020 * epg.el (epg-error): Define with define-error.
6021
6022 * time.el (display-time-event-handler)
6023 (display-time-next-load-average): Don't call sit-for since it seems
6024 unnecessary (bug#15045).
6025
6026 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6027 Use #' instead of ' to quote functions.
6028 (checkdoc-output-mode): Use setq-local.
6029 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6030 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6031 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6032 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6033 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6034 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6035 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6036 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6037
6038 * ido.el (ido-completion-help): Fix up compiler warning.
6039
6040 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6041
6042 * frameset.el (frameset-p): Add autoload cookie.
6043 (frameset--jump-to-register): New function, based on code moved from
6044 register.el.
6045 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6046
6047 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6048 (frameset-restore, frameset-save, frameset-session-filter-alist):
6049 Remove declarations.
6050 (register-alist): Doc fix.
6051 (frameset-to-register): Move to frameset.el.
6052 (jump-to-register, describe-register-1): Remove frameset-specific code.
6053
6054 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6055
6056 * allout-widgets.el (allout-widgets-pre-command-business)
6057 (allout-widgets-post-command-business)
6058 (allout-widgets-after-change-handler)
6059 (allout-decorate-item-and-context, allout-set-boundary-marker)
6060 (allout-body-modification-handler)
6061 (allout-graphics-modification-handler): Mark ignored arguments.
6062 (allout-widgets-post-command-business)
6063 (allout-widgets-exposure-change-processor)
6064 (allout-widgets-exposure-undo-processor)
6065 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6066 (allout-parse-item-at-point, allout-decorate-item-guides)
6067 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6068 * allout.el (epa-passphrase-callback-function): Declare.
6069 (allout-overlay-insert-in-front-handler)
6070 (allout-overlay-interior-modification-handler)
6071 (allout-isearch-end-handler, allout-chart-siblings)
6072 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6073 (allout-yank-processing, allout-process-exposed)
6074 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6075 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6076 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6077 (lisp-indent-defform): Mark ignored arguments.
6078 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6079 (calculate-lisp-indent): Remove unused variables.
6080 * international/characters.el (indian-2-column, arabic-2-column)
6081 (tibetan): Mark ignored arguments.
6082 (use-cjk-char-width-table): Mark ignored arguments.
6083 Remove unused variables.
6084 * international/fontset.el (build-default-fontset-data)
6085 (x-compose-font-name, create-fontset-from-fontset-spec):
6086 Mark ignored arguments.
6087 (fontset-plain-name): Remove unused variables.
6088 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6089 (keyboard-coding-system): Mark ignored arguments.
6090 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6091 * help.el (resize-temp-buffer-window):
6092 * window.el (display-buffer-in-major-side-window)
6093 (display-buffer-in-side-window, display-buffer-in-previous-window):
6094 Remove unused variables.
6095 * isearch.el (isearch-forward-symbol):
6096 * version.el (emacs-bzr-version-bzr):
6097 * international/mule-cmds.el (current-language-environment):
6098 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6099 (x-handle-display):
6100 * term/pc-win.el (x-list-fonts, x-display-planes)
6101 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6102 (x-server-version, x-display-screens, x-display-mm-height)
6103 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6104 (x-selection-owner-p, x-own-selection-internal)
6105 (x-disown-selection-internal, x-get-selection-internal)
6106 (msdos-initialize-window-system):
6107 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6108 * term/x-win.el (x-handle-no-bitmap-icon):
6109 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6110 (vc-default-find-file-hook, vc-default-extra-menu):
6111 Mark ignored arguments.
6112
6113 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6116 break-condition in the context of the debugged code (bug#12685).
6117
6118 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6119
6120 * comint.el:
6121 Do not use an overlay to highlight the last prompt. (Bug#14744)
6122 (comint-mode): Make comint-last-prompt buffer local.
6123 (comint-last-prompt): New variable.
6124 (comint-last-prompt-overlay): Remove. Superseded by
6125 comint-last-prompt.
6126 (comint-snapshot-last-prompt, comint-output-filter):
6127 Use comint-last-prompt.
6128
6129 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6130
6131 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6132 (frameset-save): Check validity of the resulting frameset.
6133
6134 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6135
6136 * ido.el (ido-record-command): Add doc string.
6137
6138 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * frameset.el (frameset): Do not disable creation of the default
6141 frameset-p predicate. Doc fix.
6142 (frameset-valid-p): New function, copied from the old predicate-p.
6143 Add additional checks.
6144 (frameset-restore): Check with frameset-valid-p.
6145 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6146 (frameset-name, frameset-description, frameset-properties)
6147 (frameset-states): Add docstring.
6148 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6149 (frameset-filter-alist): Doc fixes.
6150
6151 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6152
6153 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6154
6155 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6156
6157 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6158 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6159 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6160 (byte-compile-normal-call): Remove obsolescence check.
6161
6162 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6163
6164 * frameset.el (frameset-restore): Doc fix.
6165
6166 * register.el (frameset-frame-id, frameset-frame-with-id)
6167 (frameset-p, frameset-restore, frameset-save): Declare.
6168 (register-alist): Document framesets.
6169 (frameset-session-filter-alist): Declare.
6170 (frameset-to-register): New function.
6171 (jump-to-register): Implement jumping to framesets. Doc fix.
6172 (describe-register-1): Describe framesets.
6173
6174 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6175
6176 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6177
6178 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6179 Use lexical-binding.
6180
6181 * frameset.el (frameset): Use type vector, not list (incompatible
6182 change). Do not declare a new constructor, use the default one.
6183 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6184 `name' and `description', respectively, and add read-only slot
6185 `timestamp'. Doc fixes.
6186 (frameset-copy, frameset-persistent-filter-alist)
6187 (frameset-filter-alist, frameset-switch-to-gui-p)
6188 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6189 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6190 (frameset-filter-iconified, frameset-keep-original-display-p):
6191 Doc fixes.
6192 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6193 Rename from frameset-filter-(save|restore)-param. All callers changed.
6194 Doc fix.
6195 (frameset-p): Adapt to change to vector and be more thorough.
6196 Change arg name to OBJECT. Doc fix.
6197 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6198 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6199 All callers changed.
6200 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6201 All callers changed.
6202 (frameset--record-minibuffer-relationships): Rename from
6203 frameset--process-minibuffer-frames. All callers changed.
6204 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6205 Use new default constructor (again). Doc fix.
6206 (frameset--find-frame-if): Rename from `frameset--find-frame.
6207 All callers changed.
6208 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6209 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6210 Doc fix.
6211 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6212 PARAMETERS and WINDOW-STATE, respectively.
6213 (frameset-restore): Add new keyword argument PREDICATE.
6214 Reset frameset--target-display to nil. Doc fix.
6215
6216 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6219 (bat-mode): Use it.
6220 (bat-mode-syntax-table): Mark \n as end-of-comment.
6221 (bat-font-lock-keywords): Remove comment rule.
6222
6223 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6224 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6225
6226 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6227 (byte-compile-callargs-warn): Use `push'.
6228 (byte-compile-arglist-warn): Ignore higher-order "calls".
6229 (byte-compile-file-form-autoload): Use `pcase'.
6230 (byte-compile-function-form): If quoting a symbol, check that it exists.
6231
6232 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6233
6234 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6235 and add a few popular commands found in batch files.
6236 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6237 (dos-mode): Doc fixes.
6238
6239 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6242 (dos-mode): Use setq-local. Add space after "rem".
6243 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6244 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6245
6246 2013-08-07 Arni Magnusson <arnima@hafro.is>
6247
6248 * progmodes/dos.el: New file.
6249 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6250 dos-mode.
6251
6252 2013-08-06 Glenn Morris <rgm@gnu.org>
6253
6254 * calendar/calendar.el: Add new faces, and day-header-array.
6255 (calendar-weekday-header, calendar-weekend-header)
6256 (calendar-month-header): New faces.
6257 (calendar-day-header-construct): New function.
6258 (calendar-day-header-width): Also :set calendar-day-header-array.
6259 (calendar-american-month-header, calendar-european-month-header)
6260 (calendar-iso-month-header): Use calendar- faces.
6261 (calendar-generate-month):
6262 Use calendar-day-header-array for day headers; apply faces to them.
6263 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6264 (calendar-abbrev-construct): Add optional maxlen argument.
6265 (calendar-day-name-array): Doc fix.
6266 (calendar-day-name-array, calendar-abbrev-length)
6267 (calendar-day-abbrev-array):
6268 Also :set calendar-day-header-array, and maybe redraw.
6269 (calendar-day-header-array): New option. (Bug#15007)
6270 (calendar-font-lock-keywords): Set to nil and make obsolete.
6271 (calendar-day-name): Add option to use header array.
6272
6273 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6274
6275 * net/shr.el (shr-render-td): Remove debugging.
6276 (shr-render-td): Make width computation consistent by defaulting
6277 all zero-width columns to 10 characters. This may not be optimal,
6278 but it's at least consistent.
6279 (shr-make-table-1): Redo last change to fix the real problem in
6280 colspan handling.
6281
6282 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6283
6284 * files.el (cache-long-line-scans):
6285 Make obsolete alias to `cache-long-scans'.
6286
6287 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6288
6289 * frameset.el (frameset, frameset-filter-alist)
6290 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6291 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6292 (frameset-compute-pos): Rename from frameset--compute-pos,
6293 and add docstring.
6294 (frameset-move-onscreen): Use frameset-compute-pos.
6295 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6296
6297 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6298 Fix typos in docstrings.
6299
6300 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6301
6302 * frame.el (get-other-frame): Tiny cleanup.
6303
6304 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6305
6306 * vc/vc.el (vc-default-ignore-completion-table):
6307 Silence byte-compiler warning.
6308
6309 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6310 slot , which can indeed be nil.
6311 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6312 Move entry for `left' from persistent to live filter alist.
6313 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6314 Doc fixes.
6315 (frameset-filter-params): When restoring a frame, copy items added to
6316 `filtered', to avoid unwittingly modifying the original parameters.
6317 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6318 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6319
6320 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6321 to use looking-at-p instead of looking-at. (Bug#15028)
6322
6323 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 Revert introduction of isearch-filter-predicates (bug#14714).
6326 Rely on add-function instead.
6327 * isearch.el (isearch-filter-predicates): Rename it back to
6328 isearch-filter-predicate.
6329 (isearch-message-prefix): Use advice-function-mapc and advice
6330 properties to get the isearch-message-prefix.
6331 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6332 instead of run-hook-with-args-until-failure.
6333 (isearch-filter-visible): Not obsolete any more.
6334 * loadup.el: Preload nadvice.
6335 * replace.el (perform-replace): Revert to funcall
6336 instead of run-hook-with-args-until-failure.
6337 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6338 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6339 dired-isearch-filenames-toggle; make it into a proper minor mode.
6340 Use add/remove-function.
6341 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6342 Call the minor-mode rather than add/remove-hook.
6343 (dired-isearch-filter-filenames):
6344 Remove isearch-message-prefix property.
6345 * info.el (Info--search-loop): New function, extracted from Info-search.
6346 Funcall isearch-filter-predicate instead of
6347 run-hook-with-args-until-failure isearch-filter-predicates.
6348 (Info-search): Use it.
6349 (Info-mode): Use isearch-filter-predicate instead of
6350 isearch-filter-predicates.
6351
6352 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6353
6354 Do not call to `selected-window' where it is assumed by default.
6355 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6356 `window-hscroll', `window-width', `window-height', `window-buffer',
6357 `window-frame', `window-start', `window-point', `next-window'
6358 and `window-display-table'.
6359 * abbrev.el (abbrev--default-expand):
6360 * bs.el (bs--show-with-configuration):
6361 * buff-menu.el (Buffer-menu-mouse-select):
6362 * calc/calc.el (calc):
6363 * calendar/calendar.el (calendar-generate-window):
6364 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6365 (diary-make-entry):
6366 * comint.el (send-invisible, comint-dynamic-complete-filename)
6367 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6368 * completion.el (complete):
6369 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6370 * disp-table.el (describe-current-display-table):
6371 * doc-view.el (doc-view-insert-image):
6372 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6373 * ehelp.el (with-electric-help):
6374 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6375 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6376 * emacs-lisp/helper.el (Helper-help-scroller):
6377 * emulation/cua-base.el (cua--post-command-handler-1):
6378 * eshell/esh-mode.el (eshell-output-filter):
6379 * ffap.el (ffap-gnus-wrapper):
6380 * help-macro.el (make-help-screen):
6381 * hilit-chg.el (highlight-compare-buffers):
6382 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6383 * hl-line.el (global-hl-line-highlight):
6384 * icomplete.el (icomplete-simple-completing-p):
6385 * isearch.el (isearch-done):
6386 * jit-lock.el (jit-lock-stealth-fontify):
6387 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6388 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6389 * mpc.el (mpc-tagbrowser, mpc):
6390 * net/rcirc.el (rcirc-any-buffer):
6391 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6392 * play/landmark.el (landmark-max-width, landmark-max-height):
6393 * play/zone.el (zone):
6394 * progmodes/compile.el (compilation-goto-locus):
6395 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6396 * progmodes/etags.el (find-tag-other-window):
6397 * progmodes/fortran.el (fortran-column-ruler):
6398 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6399 * progmodes/verilog-mode.el (verilog-point-text):
6400 * reposition.el (reposition-window):
6401 * rot13.el (toggle-rot13-mode):
6402 * server.el (server-switch-buffer):
6403 * shell.el (shell-dynamic-complete-command)
6404 (shell-dynamic-complete-environment-variable):
6405 * simple.el (insert-buffer, set-selective-display)
6406 (delete-completion-window):
6407 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6408 (speedbar-recenter):
6409 * startup.el (fancy-splash-head):
6410 * textmodes/ispell.el (ispell-command-loop):
6411 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6412 * tutorial.el (help-with-tutorial):
6413 * vc/add-log.el (add-change-log-entry):
6414 * vc/compare-w.el (compare-windows):
6415 * vc/ediff-help.el (ediff-indent-help-message):
6416 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6417 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6418 (ediff-setup-control-frame):
6419 * vc/emerge.el (emerge-position-region):
6420 * vc/pcvs-util.el (cvs-bury-buffer):
6421 * window.el (walk-windows, mouse-autoselect-window-select):
6422 * winner.el (winner-set-conf, winner-undo): Related users changed.
6423
6424 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6425
6426 * frameset.el (frameset--set-id): Doc fix.
6427 (frameset-frame-id, frameset-frame-id-equal-p)
6428 (frameset-locate-frame-id): New functions.
6429 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6430 (frameset-restore): Use them.
6431
6432 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6433
6434 Do not call to `selected-frame' where it is assumed by default.
6435 Affected functions are `raise-frame', `redraw-frame',
6436 `frame-first-window', `frame-terminal' and `delete-frame'.
6437 * calendar/appt.el (appt-disp-window):
6438 * epg.el (epg-wait-for-completion):
6439 * follow.el (follow-delete-other-windows-and-split)
6440 (follow-avoid-tail-recenter):
6441 * international/mule.el (set-terminal-coding-system):
6442 * mail/rmail.el (rmail-mail-return):
6443 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6444 * progmodes/f90.el (f90-add-imenu-menu):
6445 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6446 * server.el (server-switch-buffer):
6447 * simple.el (delete-completion-window):
6448 * talk.el (talk):
6449 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6450 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6451 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6452 * vc/ediff.el (ediff-documentation): Related users changed.
6453 * frame.el (selected-terminal): Remove the leftover.
6454
6455 2013-08-05 Glenn Morris <rgm@gnu.org>
6456
6457 * calendar/calendar.el (calendar-generate-month):
6458 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6459 (calendar-generate-month, calendar-font-lock-keywords):
6460 Fix for calendar-day-header-width > length of any day name.
6461
6462 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6463
6464 * desktop.el (desktop-clear): Use new name of sort predicate.
6465
6466 * frameset.el (frameset): Add docstring. Move :version property to its
6467 own `version' slot.
6468 (frameset-copy): Rename from copy-frameset.
6469 (frameset-p): Check more thoroughly.
6470 (frameset-prop): Do not check for :version, which is no longer a prop.
6471 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6472 Use new :never value instead of t.
6473 (frameset-filter-alist): Expand and clarify docstring.
6474 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6475 (frameset-filter-minibuffer, frameset-filter-save-param)
6476 (frameset-filter-restore-param, frameset-filter-iconified):
6477 Add pointer to docstring of frameset-filter-alist.
6478 (frameset-filter-params): Rename filter values to be more meaningful:
6479 :never instead of t, and reverse the meanings of :save and :restore.
6480 (frameset--process-minibuffer-frames): Clarify error message.
6481 (frameset-save): Avoid unnecessary and confusing call to framep.
6482 Use new BOA constructor for framesets.
6483 (frameset--reuse-list): Doc fix.
6484 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6485 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6486 (frameset-minibufferless-first-p): Doc fix.
6487 Rename from frameset-sort-frames-for-deletion.
6488 (frameset-restore): Doc fixes. Use new function names.
6489 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6490
6491 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * desktop.el (desktop-restore-forces-onscreen)
6494 (desktop-restore-reuses-frames): Document :keyword constant values.
6495 (desktop-filter-parameters-alist): Remove, now identical to
6496 frameset-filter-alist.
6497 (desktop--filter-tty*): Remove, moved to frameset.el.
6498 (desktop-save-frameset, desktop-restore-frameset):
6499 Do not pass :filters argument.
6500
6501 * frameset.el (frameset-live-filter-alist)
6502 (frameset-persistent-filter-alist): New variables.
6503 (frameset-filter-alist): Use them. Add autoload cookie.
6504 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6505 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6506 `frameset--id' (it's supposed to be internal to frameset.el).
6507 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6508 (frameset--initial-params): New function.
6509 (frameset--get-frame): Use it. Doc fix.
6510 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6511 Accept :all, not 'all.
6512 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6513 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6514 with fbound symbols. Fix frame id matching, and remove matching ids if
6515 the frame being restored is deleted. Obey :delete.
6516
6517 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6518
6519 * subr.el (macrop): New function.
6520 (text-clone--maintaining): New var.
6521 (text-clone--maintain): Rename from text-clone-maintain. Use it
6522 instead of inhibit-modification-hooks.
6523
6524 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6525 a proxy, so as handle autoloads and redefinitions of the target.
6526 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6527
6528 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6529 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6530 (pcase--mutually-exclusive-p): New function.
6531 (pcase--split-consp): Use it.
6532 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6533 mutually exclusive with the current predicate.
6534
6535 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6536 (edebug-macrop): Remove. Use `macrop' instead.
6537 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6538 (ad-macro-p):
6539 * eshell/esh-cmd.el (eshell-macrop):
6540 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6541
6542 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6543
6544 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6545 (advice-mapc): New function, using it.
6546 (advice-function-member-p): New function.
6547 (advice--normalize): Store the cdr in advice--saved-rewrite since
6548 that's the part that will be changed.
6549 (advice--symbol-function): New function.
6550 (advice-remove): Handle removal before the function is defined.
6551 Adjust to new advice--saved-rewrite.
6552 (advice-member-p): Use advice-function-member-p and
6553 advice--symbol-function.
6554
6555 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6556
6557 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6558 (frameset-filter-minibuffer): Doc fix.
6559 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6560 (frameset--set-id, frameset--process-minibuffer-frames)
6561 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6562 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6563
6564 * desktop.el (desktop-clear): Only delete frames when called
6565 interactively and desktop-restore-frames is non-nil. Doc fix.
6566 (desktop-read): Set desktop-saved-frameset to nil.
6567
6568 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6569
6570 * vc/vc.el (vc-ignore): Rewrite.
6571 (vc-default-ignore-completion-table):
6572 (vc--read-lines):
6573 (vc--add-line, vc--remove-regexp): New functions.
6574
6575 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6576 (vc-svn-ignore-completion-table): New function.
6577
6578 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6579 (vc-hg-ignore-completion-table):
6580 (vc-hg-find-ignore-file): New functions.
6581
6582 * vc/vc-git.el (vc-git-ignore): Rewrite.
6583 (vc-git-ignore-completion-table):
6584 (vc-git-find-ignore-file): New functions.
6585
6586 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6587
6588 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6589 (vc-bzr-ignore-completion-table):
6590 (vc-bzr-find-ignore-file): New functions.
6591
6592 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6593
6594 * frameset.el (frameset-prop): New function and setter.
6595 (frameset-save): Do not modify frame list passed by the caller.
6596
6597 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6600
6601 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6602
6603 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6604 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6605
6606 * custom.el (custom-initialize-default, custom-initialize-set)
6607 (custom-initialize-reset, custom-initialize-changed): Affect the
6608 toplevel-default-value (bug#6275, bug#14586).
6609 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6610 for bug#6275.
6611
6612 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6615 Add cl-def* expressions.
6616
6617 * frameset.el (frameset-filter-params): Fix order of arguments.
6618
6619 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6620
6621 Move code related to saving frames to frameset.el.
6622 * desktop.el: Require frameset.
6623 (desktop-restore-frames): Doc fix.
6624 (desktop-restore-reuses-frames): Rename from
6625 desktop-restoring-reuses-frames.
6626 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6627 (desktop-clear): Clear frames too.
6628 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6629 (desktop--filter-tty*, desktop-save, desktop-read):
6630 Use frameset functions.
6631 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6632 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6633 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6634 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6635 (desktop--process-minibuffer-frames, desktop-save-frames)
6636 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6637 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6638 (desktop--sort-states, desktop-restoring-frames-p)
6639 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6640 (desktop-restoring-frameset-p, desktop-restore-frameset)
6641 (desktop--check-dont-save, desktop-save-frameset): New functions.
6642 (desktop--app-id): New constant.
6643 (desktop-first-buffer, desktop-buffer-ok-count)
6644 (desktop-buffer-fail-count): Move before first use.
6645 * frameset.el: New file.
6646
6647 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6648
6649 * files.el: Use lexical-binding.
6650 (dir-locals-read-from-file): Remove unused `err' variable.
6651 (hack-dir-local-variables--warned-coding): New var.
6652 (hack-dir-local-variables): Use it to avoid repeated warnings.
6653 (make-backup-file-name--default-function): New function.
6654 (make-backup-file-name-function): Use it as default.
6655 (buffer-stale--default-function): New function.
6656 (buffer-stale-function): Use it as default.
6657 (revert-buffer-insert-file-contents--default-function): New function.
6658 (revert-buffer-insert-file-contents-function): Use it as default.
6659 (insert-directory): Avoid add-to-list.
6660
6661 * autorevert.el (auto-revert-handler): Simplify.
6662 Use buffer-stale--default-function.
6663
6664 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6665
6666 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6667
6668 * whitespace.el (whitespace-ensure-local-variables): New function.
6669 (whitespace-cleanup-region): Call it.
6670 (whitespace-turn-on): Call it.
6671
6672 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6673
6674 Complete file name handlers.
6675
6676 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6677 (tramp-handle-verify-visited-file-modtime)
6678 (tramp-handle-file-notify-rm-watch): New functions.
6679 (tramp-call-process): Do not bind `default-directory'.
6680
6681 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6682 Order alphabetically.
6683 [access-file, add-name-to-file, dired-call-process]:
6684 [dired-compress-file, file-acl, file-notify-rm-watch]:
6685 [file-ownership-preserved-p, file-selinux-context]:
6686 [make-directory-internal, make-symbolic-link, set-file-acl]:
6687 [set-file-selinux-context, set-visited-file-modtime]:
6688 [verify-visited-file-modtime]: Add handler.
6689 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6690
6691 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6692 [file-notify-add-watch, file-notify-rm-watch]:
6693 [set-file-times, set-visited-file-modtime]:
6694 [verify-visited-file-modtime]: Add handler.
6695 (with-tramp-gvfs-error-message)
6696 (tramp-gvfs-handle-set-visited-file-modtime)
6697 (tramp-gvfs-fuse-file-name): Remove.
6698 (tramp-gvfs-handle-file-notify-add-watch)
6699 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6700 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6701
6702 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6703 Order alphabetically.
6704 [file-notify-rm-watch ]: Use default Tramp handler.
6705 [executable-find]: Remove private handler.
6706 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6707 `default-directory'.
6708 (tramp-sh-handle-executable-find)
6709 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6710 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6711 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6712 Do not use `format' in `tramp-message'.
6713
6714 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6715 [file-notify-rm-watch, set-visited-file-modtime]:
6716 [verify-visited-file-modtime]: Add handler.
6717 (tramp-smb-call-winexe): Do not bind `default-directory'.
6718
6719 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6720
6721 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6722
6723 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6724
6725 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6726 use it.
6727 (log-view-diff-changeset): Same.
6728 (log-view-diff-common): Call backend command `previous-revision'
6729 to find out the previous revision, in both cases. Swap the
6730 variables `to' and `fr', so that `fr' usually refers to the
6731 earlier revision (Bug#14989).
6732
6733 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6734
6735 * ibuf-ext.el (ibuffer-filter-by-filename):
6736 Make it work with dired buffers too.
6737
6738 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6739
6740 * emacs-lisp/re-builder.el (reb-color-display-p):
6741 * files.el (save-buffers-kill-terminal):
6742 * net/browse-url.el (browse-url):
6743 * server.el (server-save-buffers-kill-terminal):
6744 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6745 Prefer nil to selected-frame for the first arg of frame-parameter.
6746
6747 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6748
6749 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6750
6751 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6752
6753 * minibuffer.el (completion--twq-all): Try and preserve each
6754 completion's case choice (bug#14907).
6755
6756 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757
6758 * net/network-stream.el (open-network-stream): Mention the new
6759 :nogreeting parameter.
6760 (network-stream-open-starttls): Use the :nogreeting parameter
6761 (bug#14938).
6762
6763 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6764
6765 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6766 more natural than popping.
6767
6768 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6769 (shr-urlify): Highlight under mouse.
6770
6771 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6772
6773 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6774
6775 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6776
6777 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6778 buffer for output.
6779
6780 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6781 point-min==1. Fix search string. Fix parentheses missing.
6782
6783 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6784 assume point-min==1. Fix search string. Fix parentheses missing.
6785
6786 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6787
6788 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6789 buffer for output.
6790
6791 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6792
6793 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6794 initial frame is minibuffer-less. (Bug#14841)
6795
6796 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6797
6798 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6799 option.
6800
6801 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6802 (tramp-maybe-open-connection): Use it.
6803
6804 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6805
6806 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6807 minimal set of parameters passed when creating a frame, because
6808 the minibuffer status of a frame cannot be changed later.
6809
6810 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6811
6812 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6813 replace-regexp-in-string and inadvertent omissions in previous change.
6814 (todo-filter-items): Ensure only file names are comma-separated in
6815 name of filtered items buffer.
6816
6817 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6818
6819 * desktop.el: Optionally force offscreen frames back onscreen.
6820 (desktop-restoring-reuses-frames): New option.
6821 (desktop--compute-pos, desktop--move-onscreen): New functions.
6822 (desktop--make-frame): Use desktop--move-onscreen.
6823
6824 2013-07-27 Alan Mackenzie <acm@muc.de>
6825
6826 Fontify a Java generic method as a function.
6827 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6828 value to t.
6829
6830 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6831
6832 * calendar/todo-mode.el: Add command to rename todo files.
6833 (todo-rename-file): New command.
6834 (todo-key-bindings-t): Add key binding for it. Change the
6835 bindings of todo-filter-regexp-items(-multifile) to use `x'
6836 instead of `r', since the latter is better suited to the new
6837 renaming command.
6838
6839 2013-07-27 Alan Mackenzie <acm@muc.de>
6840
6841 Make Java try-with-resources statement parse properly.
6842 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6843 (c-block-stmt-1-2-key): New language constants/variables.
6844 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6845 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6846 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6847 with c-block-stmt-1-2-key.
6848
6849 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * desktop.el (desktop--make-frame): Apply most frame parameters after
6852 creating the frame to force (partially or totally) offscreen frames to
6853 be restored as such.
6854
6855 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6856
6857 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6858 (Bug#14948)
6859
6860 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6861
6862 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6863 `base' arg of backtrace-frame.
6864
6865 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6866
6867 * simple.el (list-processes): Doc fix.
6868
6869 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6870
6871 * desktop.el (desktop--select-frame):
6872 Try harder to reuse existing frames.
6873
6874 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6875
6876 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6877 (edebug-eval): Use backtrace-eval.
6878 (edebug--display, edebug--recursive-edit): Don't let-bind the
6879 edebug-outer-* vars that keep track of variables we locally let-bind.
6880 (edebug-outside-excursion): Don't restore outside values of locally
6881 let-bound vars.
6882 (edebug--display): Use user-error.
6883 (cl-lexical-debug, cl-debug-env): Remove.
6884
6885 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6886
6887 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6888 are restored to be sure that they are visible before deleting any
6889 remaining ones.
6890
6891 2013-07-26 Matthias Meulien <orontee@gmail.com>
6892
6893 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6894 vc-print-root-log. (Bug#14948)
6895
6896 2013-07-26 Richard Stallman <rms@gnu.org>
6897
6898 Add aliases for encrypting mail.
6899 * epa.el (epa-mail-aliases): New option.
6900 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6901 Bind inhibit-read-only so read-only text doesn't ruin everything.
6902 (epa-mail-default-recipients): New subroutine broken out.
6903 Handle epa-mail-aliases.
6904
6905 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6906
6907 Add support for lexical variables to the debugger's `e' command.
6908 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6909 vars, except for debugger-outer-match-data.
6910 (debugger-frame-number): Move check for "on a function call" from
6911 callers into it. Add `skip-base' argument.
6912 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6913 (debugger-env-macro): Only reset the state stored in non-variables,
6914 i.e. current-buffer and match-data.
6915 (debugger-eval-expression): Rewrite using backtrace-eval.
6916 * subr.el (internal--called-interactively-p--get-frame): Remove.
6917 (called-interactively-p):
6918 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6919 `base' arg of backtrace-frame instead.
6920
6921 2013-07-26 Glenn Morris <rgm@gnu.org>
6922
6923 * align.el (align-regexp): Doc fix. (Bug#14857)
6924 (align-region): Explicit error if subexpression missing/does not match.
6925
6926 * simple.el (global-visual-line-mode):
6927 Do not duplicate the mode lighter. (Bug#14858)
6928
6929 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6930
6931 * window.el (display-buffer): In display-buffer bind
6932 split-window-keep-point to t, bug#14829.
6933
6934 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6935
6936 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6937 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6938 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6939 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6940 Change accordingly.
6941 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6942 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6943
6944 2013-07-25 Glenn Morris <rgm@gnu.org>
6945
6946 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6947
6948 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6949
6950 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6951 parameter to modify-frame-parameters if the value has not changed;
6952 this is a workaround for bug#14949.
6953 (desktop--make-frame): On cl-delete-if call, check parameter name,
6954 not full parameter.
6955
6956 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6957
6958 * vc/vc.el (vc-ignore): New function.
6959
6960 * vc/vc-svn.el (vc-svn-ignore): New function.
6961
6962 * vc/vc-hg.el (vc-hg-ignore): New function.
6963
6964 * vc/vc-git.el (vc-git-ignore): New function.
6965
6966 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6967 (vc-dir-ignore): New function.
6968
6969 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6970 (cvs-append-to-ignore): Move here from pcvs.el.
6971
6972 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6973
6974 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6975
6976 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6977
6978 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6979 (desktop-restore-frames): Warn when deleting an existing frame failed.
6980
6981 2013-07-24 Glenn Morris <rgm@gnu.org>
6982
6983 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6984
6985 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6986
6987 * filenotify.el (file-notify-supported-p):
6988 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6989 Remove functions.
6990
6991 * autorevert.el (auto-revert-use-notify):
6992 (auto-revert-notify-add-watch):
6993 * net/tramp.el (tramp-file-name-for-operation):
6994 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6995 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6996 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6997 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6998 Remove `file-notify-supported-p' entry.
6999
7000 2013-07-24 Glenn Morris <rgm@gnu.org>
7001
7002 * printing.el: Replace all uses of deleted ps-windows-system,
7003 ps-lp-system, ps-flatten-list with lpr- versions.
7004
7005 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7006
7007 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7008 checked with memq (bug#14935).
7009
7010 * files.el (revert-buffer-function): Use a non-nil default.
7011 (revert-buffer-preserve-modes): Declare var to
7012 provide access to the `preserve-modes' argument.
7013 (revert-buffer): Let-bind it.
7014 (revert-buffer--default): New function, extracted from revert-buffer.
7015
7016 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * lpr.el: Signal print errors more prominently.
7019 (print-region-function): Don't default to nil.
7020 (lpr-print-region): New function, extracted from print-region-1.
7021 Check lpr's return value and signal an error in case of problem.
7022 (print-region-1): Use it.
7023 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7024 versions instead.
7025 (ps-printer-name): Default to nil.
7026 (ps-printer-name-option): Default to lpr-printer-switch.
7027 (ps-print-region-function): Don't default to nil.
7028 (ps-postscript-code-directory): Simplify default.
7029 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7030 (ps-string-list, ps-eval-switch, ps-flatten-list)
7031 (ps-flatten-list-1): Remove.
7032 (ps-multibyte-buffer): Avoid setq.
7033 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7034 (print-region-function, ps-print-region-function): Don't set them here.
7035
7036 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7037
7038 * ido.el (ido-fractionp):
7039 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7040 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7041 (ido-max-directory-size, ido-max-dir-file-cache)
7042 (ido-decorations): Doc fix.
7043
7044 * ansi-color.el: Fix old URL.
7045
7046 2013-07-23 Michael R. Mauger <michael@mauger.com>
7047
7048 * progmodes/sql.el: Version 3.3
7049 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7050 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7051 (sql-interactive-remove-continuation-prompt): Rewrite, use
7052 functions above. Fix continuation prompt and complete output line
7053 handling.
7054 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7055 redirected output buffer.
7056 (sql-mode): Restore deleted code (Bug#13591).
7057
7058 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7059
7060 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7061
7062 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7063
7064 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7065
7066 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7067 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7068 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7069
7070 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7071
7072 * desktop.el (desktop-clear): Simplify; remove useless checks
7073 against invalid buffer names.
7074 (desktop-list*): Use cl-list*.
7075 (desktop-buffer-info, desktop-create-buffer): Simplify.
7076
7077 2013-07-23 Leo Liu <sdl.web@gmail.com>
7078
7079 * bookmark.el (bookmark-make-record): Restore NAME as a default
7080 value. (Bug#14933)
7081
7082 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7083
7084 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7085 extracted from autoload--insert-text.
7086 (autoload--insert-text): Remove.
7087 (autoload--print-cookie-text): New function, extracted from
7088 autoload--insert-cookie-text.
7089 (autoload--insert-cookie-text): Remove.
7090 (autoload-generate-file-autoloads): Adjust calls accordingly.
7091
7092 * winner.el (winner-hook-installed-p): Remove.
7093 (winner-mode): Simplify accordingly.
7094
7095 * subr.el (add-to-list): Fix compiler-macro when `append' is
7096 not constant. Don't use `cl-member' for the base case.
7097
7098 * progmodes/subword.el: Fix boundary case (bug#13758).
7099 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7100 own group.
7101 (subword-backward-regexp): Make it a constant.
7102 (subword-forward-internal): Don't treat a trailing capital as the
7103 beginning of a word.
7104
7105 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7106
7107 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7108 global value of tabulated-list-revert-hook (bug#14930).
7109
7110 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7111
7112 * desktop.el: Require 'cl-lib.
7113 (desktop-before-saving-frames-functions): New hook.
7114 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7115 for frames being saved. Rename from desktop--save-minibuffer-frames.
7116 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7117 Do not save frames with non-nil `desktop-dont-save' parameter.
7118 Filter out deleted frames.
7119 (desktop--find-frame): Use cl-find-if.
7120 (desktop--select-frame): Use cl-(first|second|third) to access values
7121 of desktop-mini.
7122 (desktop--make-frame): Use cl-delete-if.
7123 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7124 (desktop-restore-frames): Use cl-(first|second|third) to access values
7125 of desktop-mini. Look for visible frame at the end, not while
7126 restoring frames.
7127
7128 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7129 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7130 Use string-match-p, looking-at-p (bug#14927).
7131
7132 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7133
7134 * desktop.el (desktop-saved-frame-states):
7135 Rename from desktop--saved-states; all users changed.
7136 (desktop-save-frames): Rename from desktop--save-frames.
7137 Do not save state to desktop file.
7138 (desktop-save): Save desktop-saved-frame-states to desktop file
7139 and reset to nil.
7140 (desktop-restoring-frames-p): New function.
7141 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7142 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7143 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7144
7145 * desktop.el: Correctly restore iconified frames.
7146 (desktop--filter-iconified-position): New function.
7147 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7148
7149 2013-07-20 Glenn Morris <rgm@gnu.org>
7150
7151 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7152 Let `message' do the formatting.
7153 (def-gdb-preempt-display-buffer): Add explicit format.
7154
7155 * image-dired.el (image-dired-track-original-file):
7156 Use with-current-buffer.
7157 (image-dired-track-thumbnail): Use with-current-buffer.
7158 Avoid changing point of wrong window.
7159
7160 * image-dired.el (image-dired-track-original-file):
7161 Avoid changing point of wrong window. (Bug#14909)
7162
7163 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7164
7165 * progmodes/gdb-mi.el (gdb-done-or-error):
7166 Guard against "%" in gdb output. (Bug#14127)
7167
7168 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7169
7170 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7171 (Bug#14826)
7172
7173 * international/mule.el (coding-system-iso-2022-flags): Fix last
7174 change.
7175
7176 2013-07-20 Kenichi Handa <handa@gnu.org>
7177
7178 * international/mule.el (coding-system-iso-2022-flags):
7179 Add `8-bit-level-4'. (Bug#8522)
7180
7181 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7182
7183 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7184 (bug#14815).
7185
7186 * net/eww.el (eww-process-text-input): Allow inputting when the
7187 point is at the start of the line, as the properties aren't
7188 front-sticky.
7189
7190 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7191 degenerate widths.
7192
7193 2013-07-19 Richard Stallman <rms@gnu.org>
7194
7195 * epa.el (epa-popup-info-window): Doc fix.
7196
7197 * subr.el (split-string): New arg TRIM.
7198
7199 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7200
7201 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7202 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7203
7204 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7205
7206 * filenotify.el (file-notify--library): Rename from
7207 `file-notify-support'. Do not autoload. Adapt all uses.
7208 (file-notify-supported-p): New defun.
7209
7210 * autorevert.el (auto-revert-use-notify):
7211 Use `file-notify-supported-p' instead of `file-notify-support'.
7212 Adapt docstring.
7213 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7214
7215 * net/tramp.el (tramp-file-name-for-operation):
7216 Add `file-notify-supported-p'.
7217
7218 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7219 New defun.
7220 (tramp-sh-file-name-handler-alist): Add it as handler for
7221 `file-notify-supported-p '.
7222
7223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7225 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7226 Add `ignore' as handler for `file-notify-*' functions.
7227
7228 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7229
7230 * simple.el (line-move-partial, line-move): Don't start vscroll or
7231 scroll-up if the current line is not taller than the window.
7232 (Bug#14881)
7233
7234 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7235
7236 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7237 highlight question marks in the method names as strings.
7238 (ruby-block-beg-keywords): Inline.
7239 (ruby-font-lock-keyword-beg-re): Extract from
7240 `ruby-font-lock-keywords'.
7241
7242 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7243
7244 * frame.el (blink-cursor-blinks): New defcustom.
7245 (blink-cursor-blinks-done): New defvar.
7246 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7247 (blink-cursor-timer-function): Check if number of blinks has been
7248 done on X and NS.
7249 (blink-cursor-suspend, blink-cursor-check): New defuns.
7250
7251 2013-07-15 Glenn Morris <rgm@gnu.org>
7252
7253 * edmacro.el (edmacro-format-keys): Fix previous change.
7254
7255 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7256
7257 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7258 The hack didn't work outside English locales anyway.
7259
7260 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7261
7262 * simple.el (define-alternatives): Rename from alternatives-define,
7263 per RMS' suggestion.
7264
7265 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7266
7267 * desktop.el (desktop-restore-frames): Change default to t.
7268 (desktop-restore-in-current-display): Now offer more options.
7269 (desktop-restoring-reuses-frames): New customization option.
7270 (desktop--saved-states): Doc fix.
7271 (desktop-filter-parameters-alist): New variable, renamed and expanded
7272 from desktop--excluded-frame-parameters.
7273 (desktop--target-display): New variable.
7274 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7275 (desktop--filter-tty*, desktop--filter-*-color)
7276 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7277 (desktop--filter-save-desktop-parm)
7278 (desktop-restore-in-original-display-p): New functions.
7279 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7280 (desktop--save-minibuffer-frames): New function, inspired by a similar
7281 function from Martin Rudalics.
7282 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7283 (desktop--restore-in-this-display-p): Remove.
7284 (desktop--find-frame): Rename from desktop--find-frame-in-display
7285 and add predicate argument.
7286 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7287 (desktop--reuse-list): New variable.
7288 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7289 New functions.
7290 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7291
7292 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7293
7294 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7295
7296 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7297
7298 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7299 Highlight conversion methods on Kernel.
7300
7301 2013-07-13 Alan Mackenzie <acm@muc.de>
7302
7303 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7304 and comment it out. This out-commenting enables certain C++
7305 declarations to be parsed correctly.
7306
7307 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7308
7309 * international/mule.el (define-coding-system): Doc fix.
7310
7311 * simple.el (default-font-height): Don't call font-info if the
7312 frame's default font didn't change since the frame was created.
7313 (Bug#14838)
7314
7315 2013-07-13 Leo Liu <sdl.web@gmail.com>
7316
7317 * ido.el (ido-read-file-name): Guard against non-symbol value.
7318
7319 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7320
7321 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7322 in nested defuns.
7323
7324 2013-07-13 Leo Liu <sdl.web@gmail.com>
7325
7326 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7327 ido-set-matches call. (Bug#6852)
7328
7329 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7330
7331 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7332 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7333 Ruby 2.0.
7334 (ruby-font-lock-keywords): Distinguish calls to functions with
7335 module-like names from module references. Highlight character
7336 literals.
7337
7338 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7339
7340 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7341 (gdb-send): Handle continued commands. (Bug#14847)
7342
7343 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7344
7345 * desktop.el (desktop--v2s): Remove unused local variable.
7346 (desktop-save-buffer): Make defvar-local; adjust docstring.
7347 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7348 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7349
7350 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7353
7354 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7355
7356 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7357 (Bug#14842)
7358
7359 2013-07-12 Glenn Morris <rgm@gnu.org>
7360
7361 * doc-view.el: Require cl-lib at runtime too.
7362 (doc-view-remove-if): Remove.
7363 (doc-view-search-next-match, doc-view-search-previous-match):
7364 Use cl-remove-if.
7365
7366 * edmacro.el: Require cl-lib at runtime too.
7367 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7368 (edmacro-mismatch, edmacro-subseq): Remove.
7369
7370 * shadowfile.el: Require cl-lib.
7371 (shadow-remove-if): Remove.
7372 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7373 Use cl-remove-if.
7374
7375 * wid-edit.el: Require cl-lib.
7376 (widget-choose): Use cl-remove-if.
7377 (widget-remove-if): Remove.
7378
7379 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7380 (ebrowse-delete-if-not): Remove.
7381 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7382 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7383 Use cl-delete-if-not.
7384
7385 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7386
7387 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7388 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7389
7390 2013-07-12 Leo Liu <sdl.web@gmail.com>
7391
7392 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7393
7394 2013-07-11 Glenn Morris <rgm@gnu.org>
7395
7396 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7397 (edebug-gensym-index, edebug-gensym):
7398 Remove reimplementation of cl-gensym.
7399 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7400
7401 * thumbs.el: Require cl-lib at run-time too.
7402 (thumbs-gensym-counter, thumbs-gensym):
7403 Remove reimplementation of cl-gensym.
7404 (thumbs-temp-file): Use cl-gensym.
7405
7406 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7407 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7408 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7409 (ert--union, ert--gensym-counter, ert--gensym-counter)
7410 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7411 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7412 (ert-make-test-unbound, ert--expand-should-1)
7413 (ert--expand-should, ert--should-error-handle-error)
7414 (should-error, ert--explain-equal-rec)
7415 (ert--plist-difference-explanation, ert-select-tests)
7416 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7417 Use cl-lib functions rather than reimplementations.
7418
7419 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7420
7421 * net/tramp.el (tramp-methods): Extend docstring.
7422 (tramp-connection-timeout): New defcustom.
7423 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7424 (with-tramp-progress-reporter): Simplify.
7425 (tramp-process-actions): Improve messages.
7426
7427 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7428 * net/tramp-sh.el (tramp-maybe-open-connection):
7429 Use `tramp-connection-timeout'.
7430 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7431 (Bug#14808)
7432
7433 2013-07-11 Leo Liu <sdl.web@gmail.com>
7434
7435 * ido.el (ido-read-file-name): Conform to the requirements of
7436 read-file-name. (Bug#11861)
7437 (ido-read-directory-name): Conform to the requirements of
7438 read-directory-name.
7439
7440 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7441
7442 * subr.el (delay-warning): New function.
7443
7444 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7445
7446 * simple.el (default-line-height): New function.
7447 (line-move-partial, line-move): Use it instead of computing the
7448 line height inline.
7449 (line-move-partial): Always compute ROWH. If the last line is
7450 partially-visible, but its text is completely visible, allow
7451 cursor to enter such a partially-visible line.
7452
7453 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7454
7455 Improve error messages. (Bug#14808)
7456
7457 * net/tramp.el (tramp-current-connection): New defvar, moved from
7458 tramp-sh.el.
7459 (tramp-message-show-progress-reporter-message): Remove, not
7460 needed anymore.
7461 (tramp-error-with-buffer): Show message in minibuffer.
7462 Discard input before waiting. Reset connection timestamp.
7463 (with-tramp-progress-reporter): Improve messages.
7464 (tramp-process-actions): Use progress reporter. Delete process in
7465 case of error. Improve messages.
7466
7467 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7468 Call `tramp-error-with-buffer' with vector and buffer.
7469 (tramp-current-connection): Remove.
7470 (tramp-maybe-open-connection): The car of
7471 `tramp-current-connection' are the first 3 slots of the vector.
7472
7473 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7474
7475 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7476 inside continued strings.
7477
7478 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7479
7480 Timestamp fixes for undo (Bug#14824).
7481 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7482
7483 2013-07-10 Leo Liu <sdl.web@gmail.com>
7484
7485 * files.el (require-final-newline): Allow safe local value.
7486 (Bug#14834)
7487
7488 2013-07-09 Leo Liu <sdl.web@gmail.com>
7489
7490 * ido.el (ido-read-directory-name): Handle fallback.
7491 (ido-read-file-name): Update DIR to ido-current-directory.
7492 (Bug#1516)
7493 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7494
7495 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7496
7497 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7498 "autoload". Remove "warn lower camel case" section, previously
7499 commented out. Highlight negation char. Do not highlight the
7500 target in singleton method definitions.
7501
7502 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7503
7504 * faces.el (tty-setup-hook): Declare the hook.
7505
7506 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7507 and detect when a guard/pred depends on local vars (bug#14773).
7508 (pcase--u1): Adjust caller.
7509
7510 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7511
7512 * simple.el (line-move-partial, line-move): Account for
7513 line-spacing.
7514 (line-move-partial): Avoid setting vscroll when the last
7515 partially-visible line in window is of default height.
7516
7517 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7518
7519 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7520 been used a while.
7521
7522 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7523
7524 * subr.el (read-quoted-char): Remove unused local variable `char'.
7525
7526 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7527
7528 * ediff.el (ediff-version): Version update.
7529 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7530 (ediff-merge-with-ancestor-command, ediff-directories-command)
7531 (ediff-directories3-command, ediff-merge-directories-command)
7532 (ediff-merge-directories-with-ancestor-command): New functions.
7533 All are command-line interfaces to ediff: to facilitate calling
7534 Emacs with the appropriate ediff functions invoked.
7535
7536 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7537 (viper-save-kill-buffer): Check if buffer is modified.
7538
7539 * viper.el (viper-version): Version update.
7540 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7541
7542 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7545 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7546 (viper-intercept-ESC-key): Simplify.
7547 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7548 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7549 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7550 (viper-setup-ESC-to-escape): New functions.
7551 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7552 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7553
7554 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7555
7556 * simple.el (default-font-height, window-screen-lines):
7557 New functions.
7558 (line-move, line-move-partial): Use them instead of
7559 frame-char-height and window-text-height. This makes scrolling
7560 text smoother when the buffer's default face uses a font that is
7561 different from the frame's default font.
7562
7563 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7564
7565 * files.el (write-file): Do not display confirm dialog for NS,
7566 it does its own dialog, which can't be canceled (Bug#14578).
7567
7568 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7569
7570 * simple.el (line-move-partial): Adjust the row returned by
7571 posn-at-point for the current window-vscroll. (Bug#14567)
7572
7573 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7574
7575 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7576 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7577 spaces.
7578
7579 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7580
7581 * window.el (window-state-put-stale-windows): New variable.
7582 (window--state-put-2): Save list of windows without matching buffer.
7583 (window-state-put): Remove "bufferless" windows if possible.
7584
7585 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7586
7587 * simple.el (alternatives-define): Remove leftover :group keyword.
7588 Tweak docstring.
7589
7590 2013-07-06 Leo Liu <sdl.web@gmail.com>
7591
7592 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7593 (ido-enable-virtual-buffers): New variable.
7594 (ido-buffer-internal, ido-toggle-virtual-buffers)
7595 (ido-make-buffer-list): Use it.
7596 (ido-exhibit): Support turning on and off virtual buffers
7597 automatically.
7598
7599 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7600
7601 * simple.el (alternatives-define): New macro.
7602
7603 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 * subr.el (read-quoted-char): Use read-key.
7606 (sit-for): Let read-event decode tty input (bug#14782).
7607
7608 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7609
7610 * calendar/todo-mode.el: Add handling of file deletion, both by
7611 mode command and externally. Fix various related bugs.
7612 Clarify Commentary and improve some documentation strings and code.
7613 (todo-delete-file): New command.
7614 (todo-check-file): New function.
7615 (todo-show): Handle external deletion of the file we're trying to
7616 show (bug#14688). Replace called-interactively-p by an optional
7617 prefix argument to avoid problematic interaction with catch form
7618 when byte compiled (bug#14702).
7619 (todo-quit): Handle external deletion of the archive's todo file.
7620 Make sure the buffer that was visiting the archive file is still
7621 live before trying to bury it.
7622 (todo-category-completions): Handle external deletion of any
7623 category completion files.
7624 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7625 of todo files, in case of external deletion.
7626 (todo-add-file): Replace unnecessary setq by let-binding.
7627 (todo-find-archive): Check whether there are any archives.
7628 Replace unnecessary setq by let-binding.
7629 (todo-archive-done-item): Use find-file-noselect to get the
7630 archive buffer whether or not the archive already exists.
7631 Remove superfluous code. Use file size instead of buffer-file-name to
7632 check if the archive is new; if it is, update list of archives.
7633 (todo-default-todo-file): Allow nil to be a valid value for when
7634 there are no todo files.
7635 (todo-reevaluate-default-file-defcustom): Use corrected definition
7636 of todo-default-todo-file.
7637 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7638 (todo-delete-category, todo-show-categories-table)
7639 (todo-category-number): Clarify comment.
7640 (todo-filter-items): Clarify documentation string.
7641 (todo-show-current-file, todo-display-as-todo-file)
7642 (todo-reset-and-enable-done-separator): Tweak documentation string.
7643 (todo-done-separator): Make separator length window-width, since
7644 bug#2749 is now fixed.
7645
7646 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7647
7648 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7649 Support both "gvfs-monitor-dir" and "inotifywait".
7650 (tramp-sh-file-inotifywait-process-filter): Rename from
7651 `tramp-sh-file-notify-process-filter'.
7652 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7653 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7654
7655 2013-07-05 Leo Liu <sdl.web@gmail.com>
7656
7657 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7658
7659 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7660
7661 * frame.el (display-pixel-height, display-pixel-width)
7662 (display-mm-height, display-mm-width): Mention behavior on
7663 multi-monitor setups in docstrings.
7664 (w32-display-monitor-attributes-list): Declare function.
7665 (display-monitor-attributes-list): Use it.
7666
7667 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7668
7669 * filenotify.el: New package.
7670
7671 * autorevert.el (top): Require filenotify.el.
7672 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7673 instead.
7674 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7675 (auto-revert-notify-handler): Use `file-notify-*' functions.
7676
7677 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7678
7679 * net/tramp.el (tramp-file-name-for-operation):
7680 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7681
7682 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7683 for `file-notify-add-watch' and `file-notify-rm-watch'.
7684 (tramp-process-sentinel): Improve trace.
7685 (tramp-sh-handle-file-notify-add-watch)
7686 (tramp-sh-file-notify-process-filter)
7687 (tramp-sh-handle-file-notify-rm-watch)
7688 (tramp-get-remote-inotifywait): New defuns.
7689
7690 2013-07-03 Juri Linkov <juri@jurta.org>
7691
7692 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7693 call of `occur-read-primary-args' to interactive spec.
7694
7695 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7696 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7697
7698 2013-07-03 Matthias Meulien <orontee@gmail.com>
7699
7700 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7701 `Buffer-menu-multi-occur'. Add it to the menu.
7702 (Buffer-menu-mode): Document it in docstring.
7703 (Buffer-menu-multi-occur): New command. (Bug#14673)
7704
7705 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7706
7707 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7708 keywords and built-ins.
7709
7710 2013-07-03 Glenn Morris <rgm@gnu.org>
7711
7712 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7713
7714 Make info-xref checks case-sensitive by default
7715 * info.el (Info-find-node, Info-find-in-tag-table)
7716 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7717 Add option for exact case matching of nodes.
7718 * info-xref.el (info-xref): New custom group.
7719 (info-xref-case-fold): New option.
7720 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7721
7722 2013-07-03 Leo Liu <sdl.web@gmail.com>
7723
7724 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7725
7726 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7727
7728 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7729 middle of block statement initially, lower the depth. Remove
7730 FIXME comment, not longer valid. Remove middle of block statement
7731 detection, no need to do that anymore since we've been using
7732 `ruby-parse-region' here.
7733
7734 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7735
7736 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7737
7738 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7739
7740 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7741
7742 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7745 (desktop-restore-in-current-display): New customization option.
7746 (desktop--excluded-frame-parameters): Add `font'.
7747 (desktop--save-frames): Rename from desktop--save-windows.
7748 (desktop--restore-in-this-display-p): New function.
7749 (desktop--make-full-frame): Remove unwanted width/height from
7750 full(width|height) frames.
7751 (desktop--restore-frames): Rename from desktop--restore-windows.
7752 Obey desktop-restore-current-display. Do not delete old frames or
7753 select a new frame unless we were able to restore at least one frame.
7754
7755 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7756
7757 * files.el (find-file-noselect): Simplify conditional expression.
7758
7759 * textmodes/remember.el (remember-append-to-file):
7760 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7761
7762 Add `remember-notes' function to store random notes across Emacs
7763 restarts.
7764 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7765 notes buffer (if any).
7766 (remember-notes): New command.
7767 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7768 New defcustoms for the `remember-notes' function.
7769 (remember-notes-save-and-bury-buffer): New command.
7770 (remember-notes-mode-map): New variable.
7771 (remember-mode): New minor mode.
7772 (remember-notes--kill-buffer-query): New function.
7773 * startup.el (initial-buffer-choice): Add notes to custom type.
7774
7775 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7776
7777 * bindings.el (right-char, left-char): Don't call sit-for, this is
7778 no longer needed. Use arithmetic comparison only for numerical
7779 arguments.
7780
7781 * international/mule-cmds.el (select-safe-coding-system):
7782 Handle the case of FROM being a string correctly. (Bug#14755)
7783
7784 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7785
7786 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7787 progression on degenerate tables.
7788 (shr-rescale-image): ImageMagick animated images currently don't work.
7789
7790 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7791
7792 Some fixes and improvements for desktop frame restoration.
7793 It is still experimental and disabled by default.
7794 * desktop.el (desktop--save-windows): Put the selected frame at
7795 the head of the list.
7796 (desktop--make-full-frame): New function.
7797 (desktop--restore-windows): Try to re-select the frame that was
7798 selected upon saving. Do not abort if some frames fail to restore,
7799 just show an error message and continue. Set up maximized frames
7800 so they have default non-maximized dimensions.
7801
7802 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7803
7804 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7805 Don't start heredoc inside a string or comment.
7806
7807 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7808
7809 * bindings.el (visual-order-cursor-movement): New defcustom.
7810 (right-char, left-char): Provide visual-order cursor motion by
7811 calling move-point-visually. Update the doc strings.
7812
7813 2013-06-28 Kenichi Handa <handa@gnu.org>
7814
7815 * international/mule.el (define-coding-system): New coding system
7816 properties :inhibit-null-byte-detection,
7817 :inhibit-iso-escape-detection, and :prefer-utf-8.
7818 (set-buffer-file-coding-system): If :charset-list property of
7819 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7820 appropriate for setting.
7821
7822 * international/mule-cmds.el (select-safe-coding-system):
7823 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7824 multibyte characters, return utf-8 (or one of its siblings).
7825
7826 * international/mule-conf.el (prefer-utf-8): New coding system.
7827 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7828 files.
7829
7830 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7831
7832 * net/shr.el (shr-render-region): New function.
7833
7834 * net/eww.el: Autoload `eww-browse-url'.
7835
7836 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7837
7838 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7839 Adapt to `package-desc-version' being a list.
7840 Use `package--ac-desc-version' to retrieve version from a package
7841 archive element.
7842
7843 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7844
7845 New experimental feature to save&restore window and frame setup.
7846 * desktop.el (desktop-save-windows): New defcustom.
7847 (desktop--saved-states): New var.
7848 (desktop--excluded-frame-parameters): New defconst.
7849 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7850 (desktop--restore-windows, desktop--save-windows): New functions.
7851 (desktop-save): Call `desktop--save-windows'.
7852 (desktop-read): Call `desktop--restore-windows'.
7853
7854 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7855
7856 * net/shr.el (add-face-text-property): Remove compat definition.
7857
7858 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7859
7860 * info.el (Info-try-follow-nearest-node): Move search for footnote
7861 above search for node name to prevent missing a footnote (bug#14717).
7862
7863 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7864
7865 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7866
7867 2013-06-27 Leo Liu <sdl.web@gmail.com>
7868
7869 * net/eww.el (eww-read-bookmarks): Check file size.
7870
7871 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7874 advice--pending if newdef is nil or an autoload (bug#13820).
7875 (advice-mapc): New function.
7876
7877 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7878
7879 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7880 probably.
7881 (eww-mode-map): Add a menu bar.
7882 (eww-add-bookmark): New command.
7883 (eww-bookmark-mode): New mode and commands.
7884 (eww-add-bookmark): Remove newlines from the title.
7885 (eww-bookmark-browse): Don't bug out if it's the only window.
7886
7887 2013-06-26 Glenn Morris <rgm@gnu.org>
7888
7889 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7890 (hfy-size): Handle ttys. (Bug#14668)
7891
7892 * info-xref.el: Update for Texinfo 5 change in *note format.
7893 (info-xref-node-re, info-xref-note-re): New constants.
7894 (info-xref-check-buffer): Use info-xref-note-re.
7895
7896 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7897
7898 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7899
7900 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7901 nil terminate the loop (bug#14718).
7902
7903 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7904
7905 * net/eww.el: Rework history traversal. When going forward/back,
7906 put these actions into the history, too, so that they can be
7907 replayed.
7908 (eww-render): Move the history reset to the correct buffer.
7909
7910 2013-06-25 Juri Linkov <juri@jurta.org>
7911
7912 * files-x.el (modify-dir-local-variable): Change the header comment
7913 in the file with directory local variables. (Bug#14692)
7914
7915 * files-x.el (read-file-local-variable-value): Add `default'.
7916 (Bug#14710)
7917
7918 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7919
7920 * net/eww.el (eww-make-unique-file-name): Create a unique file
7921 name before saving to entering `y' accidentally asynchronously.
7922
7923 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7924
7925 * net/eww.el (eww-download): New command and keystroke.
7926
7927 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7928
7929 * net/eww.el (eww-copy-page-url): Change name of command.
7930
7931 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7932 be more consistent with Info and dired.
7933
7934 * net/eww.el (eww-mode-map): Ditto.
7935
7936 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7937
7938 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7939 packages from archives.
7940 (package-archive-contents): Change format; include obsolete packages.
7941 (package-desc): Use `dir' to mark builtin packages.
7942 (package--from-builtin): Set the `dir' field to `builtin'.
7943 (generated-autoload-file, version-control): Declare.
7944 (package-compute-transaction): Change first arg and return value to be
7945 lists of package-descs. Adjust to new package-archive-contents format.
7946 (package--add-to-archive-contents): Adjust to new
7947 package-archive-contents format.
7948 (package-download-transaction): Arg is now a list of package-descs.
7949 (package-install): If `pkg' is a package name, pass it as
7950 a requirement, so it is subject to the usual (e.g. disabled) checks.
7951 (describe-package): Accept package-desc as well.
7952 (describe-package-1): Describe a specific package-desc. Add links to
7953 other package-descs for the same package name.
7954 (package-menu-describe-package): Pass the actual package-desc.
7955 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7956 works correctly.
7957 (package-desc-status): New function.
7958 (package-menu--refresh): New function, extracted
7959 from package-menu--generate.
7960 (package-menu--generate): Use it.
7961 (package-delete): Update package-alist.
7962 (package-menu-execute): Don't call package-initialize.
7963
7964 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7965 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7966 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7967 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7968 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7969 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7970
7971 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7972
7973 * window.el (window--state-get-1): Workaround for bug#14527.
7974 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7975
7976 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7977
7978 * net/eww.el (eww-back-url): Implement the history by stashing all
7979 the data into a list.
7980 (eww-forward-url): Allow going forward in the history, too.
7981
7982 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7985 for values and use read--expression for expressions (bug#14710).
7986 (read-file-local-variable): Avoid setq.
7987 (read-file-local-variable-mode): Use minor-mode-list.
7988
7989 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7990
7991 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7992 for DOI URLs.
7993
7994 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7995
7996 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7997 Update imenu-support when dialect changes.
7998
7999 2013-06-25 Leo Liu <sdl.web@gmail.com>
8000
8001 * ido.el (ido-read-internal): Allow forward slash on windows.
8002
8003 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8004
8005 * net/eww.el (eww): Start of strings is \\`, not ^.
8006
8007 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8008
8009 * net/shr.el (shr-browse-url): Fix interactive spec.
8010
8011 * net/eww.el (eww): Add a trailing slash to domain names.
8012
8013 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8014
8015 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8016
8017 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8018
8019 * net/shr.el (shr-browse-url): Use an external browser if given a
8020 prefix.
8021
8022 * net/eww.el (eww-external-browser): Move to shr.
8023
8024 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8025
8026 * net/eww.el (eww): Work more correctly for file: URLs.
8027 (eww-detect-charset): Allow quoted charsets.
8028 (eww-yank-page-url): New command and keystroke.
8029
8030 2013-06-24 Daiki Ueno <ueno@gnu.org>
8031
8032 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8033 file name of gpg executable.
8034 (epg-context-program): New function.
8035 (epg-context-home-directory): New function.
8036 (epg-context-set-program): New function.
8037 (epg-context-set-home-directory): New function.
8038 (epg--start): Use `epg-context-program' instead of
8039 'epg-gpg-program'.
8040 (epg--list-keys-1): Likewise.
8041
8042 2013-06-24 Leo Liu <sdl.web@gmail.com>
8043
8044 * ido.el (ido-read-internal): Fix bug#14620.
8045
8046 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8047
8048 * faces.el (face-documentation): Simplify.
8049 (read-face-attribute, tty-find-type, x-resolve-font-name):
8050 Use `string-match-p'.
8051 (list-faces-display): Use `string-match-p'. Simplify.
8052 (face-spec-recalc): Check face to avoid face alias loops.
8053 (read-color): Use `string-match-p' and non-capturing parenthesis.
8054
8055 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8056
8057 * net/shr.el (shr-rescale-image): Use the new
8058 :max-width/:max-height functionality.
8059
8060 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8061
8062 * net/eww.el (eww-search-prefix): New variable.
8063 (eww): Use it.
8064 (eww-external-browser): New variable.
8065 (eww-mode-map): New keystroke.
8066 (eww-browse-with-external-browser): New command.
8067
8068 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8069
8070 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8071
8072 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8073 Don't skip aligning the next header field when padding is 0;
8074 otherwise, field width is not respected unless the title is as
8075 wide as the field.
8076
8077 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * emacs-lisp/package.el (package-el-version): Remove.
8080 (package-process-define-package): Fix inf-loop.
8081 (package-install): Allow symbols as arguments again.
8082
8083 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8084
8085 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8086 add some more keyword-like methods.
8087 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8088
8089 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8090
8091 * bs.el (bs-buffer-show-mark): Make defvar-local.
8092 (bs-mode): Use setq-local.
8093
8094 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8095 (emacs-lock--try-unlocking): Make defvar-local.
8096
8097 2013-06-22 Glenn Morris <rgm@gnu.org>
8098
8099 * play/cookie1.el (cookie-apropos): Minor simplification.
8100
8101 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8102
8103 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8104
8105 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8106 `regexp-opt', it breaks the build during dumping.
8107
8108 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8109
8110 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8111 Highlight keyword-like methods on Kernel and Module with
8112 font-lock-builtin-face.
8113 (auto-mode-alist): Consolidate different entries into one regexp
8114 and add more *file-s.
8115
8116 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8117
8118 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8119
8120 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8121 (diary-entry): Use it in the action of this button type instead of
8122 diary-goto-entry.
8123
8124 * calendar/todo-mode.el: New version.
8125 (todo-add-category): Append new category to end of file and give
8126 it the highest number, instead of putting it at the beginning and
8127 giving it 0. Incorporate noninteractive functionality.
8128 (todo-forward-category): Adapt to 1-based category numbering.
8129 Allow skipping over archived categories.
8130 (todo-backward-category): Derive from todo-forward-category.
8131 (todo-backward-item, todo-forward-item): Make noninteractive and
8132 delegate interactive part to new commands. Make sensitive to done items.
8133 (todo-categories): Make value an alist of category names and
8134 vectors of item counts.
8135 (todo-category-beg): Make a defconst.
8136 (todo-category-number): Use 1 instead of 0 as initial value.
8137 (todo-category-select): Make sensitive to overlays, optional item
8138 highlighting and done items.
8139 (todo-delete-item): Make sensitive to overlays and marked and done items.
8140 (todo-edit-item): Make sensitive to overlays and editing of
8141 date/time header optional. Add format checks.
8142 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8143 no-op if point is not on an item. Advertise using todo-edit-quit.
8144 (todo-edit-mode): Make sensitive to new format, font-locking, and
8145 multiple todo files.
8146 (todo-insert-item, todo-insert-item-here): Derive from
8147 todo-basic-insert-item and extend functionality.
8148 (todo-item-end, todo-item-start): Make sensitive to done items.
8149 (todo-item-string): Don't return text properties. Restore point.
8150 (todo-jump-to-category): Make sensitive to multiple todo files and
8151 todo archives. Use extended category completion.
8152 (todo-lower-item, todo-raise-item): Rename to *-priority and
8153 derive from todo-set-item-priority.
8154 (todo-mode): Derive from special-mode. Make sensitive to new
8155 format, font-locking and multiple todo files. Make read-only.
8156 (todo-mode-map): Don't suppress digit keys, so they can supply
8157 prefix arguments. Add many new key bindings.
8158 (todo-prefix): Insert as an overlay instead of file text.
8159 Change semantics from diary date expression to purely visual mark.
8160 (todo-print): Rename to todo-print-buffer. Make buffer display
8161 features printable. Remove option to restrict number of items
8162 printed. Add option to print to file.
8163 (todo-print-function): Rename to todo-print-buffer-function.
8164 (todo-quit): Extend to handle exiting new todo modes.
8165 (todo-remove-item): Make sensitive to overlays.
8166 (todo-save): Extend to buffers of filtered items.
8167 (todo-show): Make sensitive to done items, multiple todo files and
8168 new todo modes. Offer to convert legacy todo file before creating
8169 first new todo file.
8170 (todo-show-priorities): Rename to todo-top-priorities.
8171 Change semantics of value 0.
8172 (todo-top-priorities): Rename to todo-filter-top-priorities,
8173 derive from todo-filter-items and extend functionality.
8174 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8175 and extend functionality to other types of filtered items.
8176 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8177 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8178 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8179 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8180 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8181 (todo-edit-mode-hook, todo-entry-prefix-function)
8182 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8183 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8184 (todo-initials, todo-insert-threshold, todo-item-string-start)
8185 (todo-line-string, todo-menu, todo-mode-hook)
8186 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8187 (todo-print-priorities, todo-remove-separator)
8188 (todo-save-top-priorities-too, todo-string-count-lines)
8189 (todo-string-multiline-p, todo-time-string-format)
8190 (todo-tmp-buffer-name): Remove.
8191 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8192 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8193 (todo-edit-category-diary-inclusion)
8194 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8195 (todo-edit-file, todo-edit-item-date-day)
8196 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8197 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8198 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8199 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8200 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8201 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8202 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8203 (todo-filter-top-priorities-multifile, todo-find-archive)
8204 (todo-find-filtered-items-file, todo-go-to-source-item)
8205 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8206 (todo-jump-to-archive-category, todo-lower-category)
8207 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8208 (todo-move-category, todo-move-item, todo-next-button)
8209 (todo-next-item, todo-padded-string, todo-powerset)
8210 (todo-previous-button, todo-previous-item)
8211 (todo-print-buffer-to-file, todo-raise-category)
8212 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8213 (todo-set-category-number, todo-set-item-priority)
8214 (todo-set-top-priorities-in-category)
8215 (todo-set-top-priorities-in-file, todo-show-categories-table)
8216 (todo-sort-categories-alphabetically-or-numerically)
8217 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8218 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8219 (todo-toggle-item-header, todo-toggle-item-highlighting)
8220 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8221 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8222 (todo-unarchive-items, todo-unmark-category): New commands.
8223 (todo-absolute-file-name, todo-add-to-buffer-list)
8224 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8225 (todo-basic-insert-item, todo-category-completions)
8226 (todo-category-number, todo-category-string-matcher-1)
8227 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8228 (todo-check-format, todo-clear-matches)
8229 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8230 (todo-current-category, todo-date-string-matcher)
8231 (todo-define-insertion-command, todo-diary-expired-matcher)
8232 (todo-diary-goto-entry, todo-diary-item-p)
8233 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8234 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8235 (todo-done-item-section-p, todo-done-separator)
8236 (todo-done-string-matcher, todo-files, todo-filter-items)
8237 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8238 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8239 (todo-insert-category-line, todo-insert-item-from-calendar)
8240 (todo-insert-sort-button, todo-insert-with-overlays)
8241 (todo-insertion-command-name, todo-insertion-key-bindings)
8242 (todo-label-to-key, todo-longest-category-name-length)
8243 (todo-make-categories-list, todo-mode-external-set)
8244 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8245 (todo-modes-set-3, todo-multiple-filter-files)
8246 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8247 (todo-read-category, todo-read-date, todo-read-dayname)
8248 (todo-read-file-name, todo-read-time)
8249 (todo-reevaluate-category-completions-files-defcustom)
8250 (todo-reevaluate-default-file-defcustom)
8251 (todo-reevaluate-filelist-defcustoms)
8252 (todo-reevaluate-filter-files-defcustom)
8253 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8254 (todo-reset-done-separator, todo-reset-done-separator-string)
8255 (todo-reset-done-string, todo-reset-global-current-todo-file)
8256 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8257 (todo-reset-prefix, todo-set-categories)
8258 (todo-set-date-from-calendar, todo-set-show-current-file)
8259 (todo-set-top-priorities, todo-short-file-name)
8260 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8261 (todo-total-item-counts, todo-update-buffer-list)
8262 (todo-update-categories-display, todo-update-categories-sexp)
8263 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8264 New functions.
8265 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8266 New major modes.
8267 (todo-categories, todo-display, todo-edit, todo-faces)
8268 (todo-filtered): New defgroups.
8269 (todo-archived-only, todo-button, todo-category-string, todo-date)
8270 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8271 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8272 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8273 (todo-add-item-if-new-category, todo-always-add-time-string)
8274 (todo-categories-align, todo-categories-archived-label)
8275 (todo-categories-category-label, todo-categories-diary-label)
8276 (todo-categories-done-label, todo-categories-number-separator)
8277 (todo-categories-todo-label, todo-categories-totals-label)
8278 (todo-category-completions-files, todo-completion-ignore-case)
8279 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8280 (todo-done-separator-string, todo-done-string)
8281 (todo-files-function, todo-filter-done-items, todo-filter-files)
8282 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8283 (todo-initial-category, todo-initial-file, todo-item-mark)
8284 (todo-legacy-date-time-regexp, todo-mode-line-function)
8285 (todo-nondiary-marker, todo-number-prefix)
8286 (todo-print-buffer-function, todo-show-current-file)
8287 (todo-show-done-only, todo-show-first, todo-show-with-done)
8288 (todo-skip-archived-categories, todo-top-priorities-overrides)
8289 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8290 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8291 New defcustoms.
8292 (todo-category-done, todo-date-pattern, todo-date-string-start)
8293 (todo-diary-items-buffer, todo-done-string-start)
8294 (todo-filtered-items-buffer, todo-item-start)
8295 (todo-month-abbrev-array, todo-month-name-array)
8296 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8297 (todo-top-priorities-buffer): New defconsts.
8298 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8299 (todo-categories-with-marks, todo-category-string-face)
8300 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8301 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8302 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8303 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8304 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8305 (todo-font-lock-keywords, todo-global-current-todo-file)
8306 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8307 (todo-insertion-commands-args)
8308 (todo-insertion-commands-args-genlist)
8309 (todo-insertion-commands-names, todo-insertion-map)
8310 (todo-key-bindings-t, todo-key-bindings-t+a)
8311 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8312 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8313 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8314 (todo-visited): New variables.
8315
8316 2013-06-21 Glenn Morris <rgm@gnu.org>
8317
8318 * play/cookie1.el (cookie-apropos): Add optional display argument.
8319 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8320 (psychoanalyze-pinhead): Use cookie-doctor.
8321
8322 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8323
8324 * emacs-lisp/package.el (tar-get-file-descriptor)
8325 (tar--extract): Declare.
8326
8327 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8328
8329 Extend flymake's warning predicate to be a function (bug#14217).
8330 * progmodes/flymake.el (flymake-warning-predicate): New.
8331 (flymake-parse-line): Use it.
8332 (flymake-warning-re): Make obsolete alias to
8333 `flymake-warning-predicate'.
8334
8335 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8336
8337 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8338 (package-obsolete-list): Remove.
8339 (package-activate): Remove min-version argument. Add `force' argument.
8340 Adjust to new package-alist format.
8341 (package-mark-obsolete): Remove.
8342 (package-unpack): Force reload of the package's autoloads.
8343 (package-installed-p): Check builtins if the installed package is not
8344 recent enough.
8345 (package-initialize): Don't reset package-obsolete-list.
8346 Don't specify which package version to activate.
8347 (package-process-define-package, describe-package-1)
8348 (package-menu--generate): Adjust to new package-alist format.
8349
8350 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8351
8352 * allout-widgets.el (allout-widgets-mode-off)
8353 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8354 (allout-widgets-post-command-business)
8355 (allout-widgets-after-copy-or-kill-function)
8356 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8357 (allout-decorate-item-and-context)
8358 (allout-graphics-modification-handler): Fix typos in docstrings.
8359 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8360
8361 * cmuscheme.el (scheme-start-file): Doc fix.
8362 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8363 (scheme-input-filter): Use `string-match-p'.
8364
8365 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8366
8367 * dired-x.el: Use Dired consistently in docstrings.
8368
8369 * dired.el: Use Dired consistently in docstrings.
8370 (dired-readin, dired-mode): Use `setq-local'.
8371 (dired-switches-alist): Make defvar-local.
8372 (dired-buffers-for-dir): Use `zerop'.
8373 (dired-safe-switches-p, dired-switches-escape-p)
8374 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8375 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8376 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8377 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8378 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8379 (dired-toggle-marks, dired-mark-files-containing-regexp)
8380 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8381 (dired-flag-auto-save-files, dired-flag-backup-files):
8382 Use `looking-at-p'.
8383 (dired-mark-files-regexp, dired-build-subdir-alist):
8384 Use `string-match-p', `looking-at-p'.
8385
8386 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8387 (direct-print-region-helper): Use `string-match-p'.
8388
8389 2013-06-21 Leo Liu <sdl.web@gmail.com>
8390
8391 * comint.el (comint-redirect-results-list-from-process):
8392 Fix infinite loop.
8393
8394 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8395
8396 * net/eww.el (eww-update-header-line-format): Quote % characters.
8397
8398 2013-06-21 Glenn Morris <rgm@gnu.org>
8399
8400 * play/cookie1.el (cookie): New custom group.
8401 (cookie-file): New option.
8402 (cookie-check-file): New function.
8403 (cookie): Make it interactive. Make start and end messages optional.
8404 Interactively, display the result. Default to cookie-file.
8405 (cookie-insert): Default to cookie-file.
8406 (cookie-snarf): Make start and end messages optional.
8407 Default to cookie-file. Use with-temp-buffer.
8408 (cookie-read): Rename from read-cookie.
8409 Make start and end messages optional. Default to cookie-file.
8410 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8411 Do not autoload it.
8412 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8413 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8414
8415 2013-06-21 Leo Liu <sdl.web@gmail.com>
8416
8417 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8418
8419 2013-06-21 Glenn Morris <rgm@gnu.org>
8420
8421 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8422
8423 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8424 Daniel Hackney <dan@haxney.org>
8425
8426 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8427 Consolidate the single-file vs tarball code.
8428 (package-desc-suffix): New function.
8429 (package-desc-full-name): Don't bother inlining it.
8430 (package-load-descriptor): Return the new package-desc.
8431 (package-mark-obsolete): Remove unused arg `package'.
8432 (package-unpack): Make it work for single files as well.
8433 Make it update package-alist.
8434 (package--make-autoloads-and-stuff): Rename from
8435 package--make-autoloads-and-compile. Don't compile any more.
8436 (package--compile): New function.
8437 (package-generate-description-file): New function, extracted from
8438 package-unpack-single.
8439 (package-unpack-single): Remove.
8440 (package--with-work-buffer): Add indentation and debugging info.
8441 (package-download-single): Remove.
8442 (package-install-from-archive): Rename from package-download-tar, make
8443 it take a pkg-desc, and make it work for single files as well.
8444 (package-download-transaction): Simplify.
8445 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8446 external tar program.
8447 (package-install-from-buffer): Remove `pkg-desc' argument.
8448 Use package-tar-file-info for tar-mode buffers.
8449 (package-install-file): Simplify accordingly.
8450 (package-archive-base): Change to take a pkg-desc.
8451 * tar-mode.el (tar--check-descriptor): New function, extracted from
8452 tar-get-descriptor.
8453 (tar-get-descriptor): Use it.
8454 (tar-get-file-descriptor): New function.
8455 (tar--extract): New function, extracted from tar-extract.
8456 (tar--extract): Use it.
8457 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8458 case the summary uses non-ascii. Adjust to new calling convention of
8459 package-tar-file-info.
8460
8461 2013-06-21 Leo Liu <sdl.web@gmail.com>
8462
8463 * comint.el (comint-redirect-results-list-from-process):
8464 Fix random delay. (Bug#14681)
8465
8466 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8467
8468 * profiler.el (profiler-format-number): Use log, not log10.
8469
8470 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8471
8472 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8473
8474 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8475
8476 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8477 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8478 yet available.
8479 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8480 (AUTOGENEL): ... here.
8481 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8482 (cl--defsubst-expand): Use it.
8483
8484 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8485
8486 * subr.el (log10): Move here from C code, and declare as obsolete.
8487 All uses of (log10 X) replaced with (log X 10).
8488
8489 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8490
8491 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8492 Declare with `defvar-local'.
8493 (tabulated-list-use-header-line, tabulated-list-entries)
8494 (tabulated-list-padding, tabulated-list-printer)
8495 (tabulated-list-sort-key): Declare with `defvar-local'.
8496 (tabulated-list-init-header, tabulated-list-print-fake-header):
8497 Use `setq-local'.
8498
8499 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8500
8501 * arc-mode.el (archive-mode): Add `archive-write-file' to
8502 `write-contents-functions' also for remote files. (Bug#14652)
8503
8504 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8505
8506 * cus-edit.el (custom-commands): Fix typos.
8507 (custom-display): Fix tooltip text.
8508 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8509 Fix typos in docstrings.
8510 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8511 (custom-unlispify-menu-entry, custom-magic-value-create)
8512 (custom-add-see-also, custom-group-value-create): Use ?\s.
8513 (custom-guess-type, customize-apropos, editable-field)
8514 (custom-face-value-create): Use `string-match-p'.
8515 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8516
8517 * custom.el (custom-load-symbol): Use `string-match-p'.
8518
8519 * ansi-color.el: Convert to lexical binding.
8520 (ansi-colors): Fix URL.
8521 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8522 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8523 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8524
8525 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8526
8527 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8528
8529 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8530
8531 2013-06-19 Tom Tromey <tromey@redhat.com>
8532
8533 * net/eww.el (eww-top-url): Remove.
8534 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8535 (eww-render): Set new variables. Don't set eww-top-url.
8536 (eww-handle-link): Handle "prev", "home", and "contents".
8537 Downcase the rel text.
8538 (eww-top-url): Choose best top URL.
8539
8540 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8541
8542 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8543 relying in widget.el. Using widget.el leads to too many
8544 user interface inconsistencies.
8545 (eww-self-insert): Implement entering commands in text fields.
8546 (eww-process-text-input): New function to make text input field editing
8547 work.
8548 (eww-submit): Rewrite to use the new-style form methods.
8549 (eww-select-display): Display the correct selected item.
8550 (eww-change-select): Implement changing the select value.
8551 (eww-toggle-checkbox): Implement radio/checkboxes.
8552 (eww-update-field): Fix compilation error.
8553 (eww-tag-textarea): Implement <textarea>.
8554
8555 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8556 we don't shadow mode-specific bindings.
8557
8558 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8559 nothing to push.
8560
8561 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8562
8563 2013-06-19 Glenn Morris <rgm@gnu.org>
8564
8565 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8566
8567 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8568
8569 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8570 not needed.
8571
8572 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8573
8574 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8575
8576 * net/browse-url.el (browse-url-browser-function):
8577 `eww-browse-url' has the right calling signature, `eww' does not.
8578
8579 2013-06-19 Glenn Morris <rgm@gnu.org>
8580
8581 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8582 Only eval autoloaded macros.
8583 (byte-compile-autoload): Only give the macro warning for macros.
8584
8585 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8586 (ps-underlined-faces): Declare.
8587
8588 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8589 (speedbar-add-supported-extension): Declare.
8590
8591 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8592 Don't include a date stamp in the header of the generated file;
8593 it leads to needless differences between output files.
8594
8595 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8596
8597 * net/secrets.el (secrets-struct-secret-content-type):
8598 Replace check of introspection data by a test call of "CreateItem".
8599 Some servers do not offer introspection.
8600
8601 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8602
8603 * electric.el (electric-pair-mode): Improve interaction with
8604 electric-layout-mode.
8605 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8606 (electric-pair-syntax): Use text-mode-syntax-table in comments
8607 and strings.
8608 (electric-pair--insert): New function.
8609 (electric-pair-post-self-insert-function): Use it and
8610 electric--after-char-pos.
8611
8612 2013-06-19 Leo Liu <sdl.web@gmail.com>
8613
8614 * progmodes/octave.el (octave-help): Fix regexp.
8615
8616 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8617
8618 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8619 (shr-table-horizontal-line): Allow nil as a value, and change the
8620 default.
8621 (shr-insert-table-ruler): Respect the nil value.
8622
8623 2013-06-18 Tom Tromey <tromey@barimba>
8624
8625 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8626 New defvars.
8627 (eww-open-file): New defun.
8628 (eww-render): Initialize new variables.
8629 (eww-display-html): Handle "link" and "a".
8630 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8631 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8632 (eww-back-url): Rename from eww-previous-url.
8633 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8634 New defuns.
8635
8636 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8637
8638 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8639 Distinguish ternary operator tokens from slash symbol and slash
8640 char literal.
8641
8642 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8643
8644 Convert symbol prettification into minor mode and global minor mode.
8645
8646 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8647 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8648 (prettify-symbols--keywords): Rename from
8649 `prog-prettify-symbols-alist' and make a local defvar.
8650 (prettify-symbols--compose-symbol): Rename from
8651 `prog--prettify-font-lock-compose-symbol'.
8652 (prettify-symbols--make-keywords): Rename from
8653 `prog-prettify-font-lock-symbols-keywords' and simplify.
8654 (prog-prettify-install): Remove.
8655 (prettify-symbols-mode): New minor mode, based on
8656 `prog-prettify-install'.
8657 (turn-on-prettify-symbols-mode): New function.
8658 (global-prettify-symbols-mode): New globalized minor mode.
8659
8660 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8661 * progmodes/cfengine.el (cfengine3-mode):
8662 * progmodes/perl-mode.el (perl-mode): Don't call
8663 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8664
8665 2013-06-18 Juri Linkov <juri@jurta.org>
8666
8667 * files-x.el (modify-file-local-variable-message): New function.
8668 (modify-file-local-variable)
8669 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8670 and call `modify-file-local-variable-message' when it's non-nil.
8671 (add-file-local-variable, delete-file-local-variable)
8672 (add-file-local-variable-prop-line)
8673 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8674 and use it. (Bug#9820)
8675
8676 2013-06-18 Juri Linkov <juri@jurta.org>
8677
8678 * emulation/vi.el (vi-shell-op):
8679 * emulation/vip.el (vip-execute-com, ex-command):
8680 * emulation/viper-cmd.el (viper-exec-bang):
8681 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8682 the call of `shell-command-on-region'. (Bug#14637)
8683
8684 * simple.el (shell-command-on-region): Doc fix.
8685
8686 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8689 (bug#14633).
8690
8691 2013-06-18 Glenn Morris <rgm@gnu.org>
8692
8693 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8694
8695 * newcomment.el (comment-search-forward, comment-search-backward):
8696 Doc fix. (Bug#14376)
8697
8698 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8699
8700 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8701 (buffer-face-mode-invoke): Doc fix.
8702
8703 2013-06-18 Matthias Meulien <orontee@gmail.com>
8704
8705 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8706 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8707
8708 2013-06-18 Glenn Morris <rgm@gnu.org>
8709
8710 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8711 Replace obsolete function generic-make-keywords with its expansion.
8712
8713 * progmodes/python.el (ffap-alist): Declare.
8714
8715 * textmodes/reftex.el (bibtex-mode-map): Declare.
8716
8717 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8718
8719 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8720 (package-unpack, package-unpack-single): Return the pkg-dir.
8721 (package-download-transaction): Use it to update package-alist.
8722
8723 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8724
8725 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8726 possible choice.
8727
8728 2013-06-17 Juri Linkov <juri@jurta.org>
8729
8730 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8731
8732 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8733
8734 * emacs-lisp/package.el (package-load-descriptor):
8735 Remove `with-syntax-table' call, `read' doesn't need it.
8736 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8737
8738 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8739
8740 * startup.el (command-line): Expand package name returned by
8741 `package--description-file' (bug#14639).
8742
8743 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8744
8745 * emacs-lisp/package.el (package-load-descriptor): Do not call
8746 `emacs-lisp-mode', just use its syntax table.
8747
8748 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8749
8750 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8751 `font-lock-extra-managed-props' if any prettifying keyword is added.
8752 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8753 (prog-mode): Use `setq-local'.
8754
8755 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * international/characters.el (standard-case-table): Set syntax of ?»
8758 and ?« to punctuation.
8759
8760 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8761
8762 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8763 Save relevant match data before calling `syntax-ppss' (bug#14595).
8764
8765 2013-06-15 Juri Linkov <juri@jurta.org>
8766
8767 * files-x.el (modify-file-local-variable-prop-line): Add local
8768 variables to the end of the existing comment on the first line.
8769 Use `file-auto-mode-skip' to skip interpreter magic line,
8770 and also skip XML declaration.
8771
8772 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * startup.el (package--builtin-versions): New var.
8775 (package-subdirectory-regexp): Remove.
8776 (package--description-file): Hard code its value instead.
8777
8778 * emacs-lisp/package.el: Don't activate packages older than builtin.
8779 (package-obsolete-list): Rename from package-obsolete-alist, and make
8780 it into a simple list of package-desc.
8781 (package-strip-version): Remove.
8782 (package-built-in-p): Use package--builtin-versions.
8783 (package-mark-obsolete): Simplify.
8784 (package-process-define-package): Mark it obsolete if older than the
8785 builtin version.
8786 (package-handle-response): Use line-end-position.
8787 (package-read-archive-contents, package--download-one-archive):
8788 Simplify.
8789 (package--add-to-archive-contents): Skip if older than the builtin or
8790 installed version.
8791 (package-menu-describe-package): Fix last change.
8792 (package-list-unversioned): New var.
8793 (package-menu--generate): Use it.
8794
8795 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8796 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8797 (autoload-builtin-package-versions): New variable.
8798 (autoload-generate-file-autoloads): Use them.
8799 Remove the list of autoloaded functions/macros from the
8800 (autoload...) comments.
8801
8802 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8803
8804 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8805
8806 * simple.el (line-move-partial): Don't jump to the next screen
8807 line as soon as it becomes visible. Instead, continue enlarging
8808 the vscroll until the portion of a tall screen line that's left on
8809 display is about the height of the frame's default font.
8810 (Bug#14567)
8811
8812 2013-06-15 Glenn Morris <rgm@gnu.org>
8813
8814 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8815 compilation-error-regexp-alist void, or local while let-bound.
8816
8817 * progmodes/make-mode.el (makefile-mode-syntax-table):
8818 Treat "=" as punctuation. (Bug#14614)
8819
8820 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8821
8822 * help-fns.el (describe-variable):
8823 Add extra line for permanent-local variables.
8824
8825 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8826
8827 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8828 Add export, import, library. (Bug#9164)
8829 (library): Set indent function.
8830
8831 2013-06-14 Glenn Morris <rgm@gnu.org>
8832
8833 * term/xterm.el (xterm--query):
8834 Stop after first matching handler. (Bug#14615)
8835
8836 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8837
8838 Add support for dired in saveplace.
8839 * dired.el (dired-initial-position-hook): New variable.
8840 (dired-initial-position): Call hook to place cursor position.
8841 * saveplace.el (save-place-to-alist): Add dired position.
8842 (save-place-dired-hook): New function.
8843
8844 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8845
8846 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8847 through a symbol rather than letrec.
8848
8849 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8850 (package-desc): Add `dir' field.
8851 (package-desc-full-name): New function.
8852 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8853 (package-maybe-load-descriptor): Remove.
8854 (package-load-all-descriptors): Just call package-load-descriptor.
8855 (package--disabled-p): New function.
8856 (package-desc-vers, package-desc-doc): Remove aliases.
8857 (package--dir): Remove function.
8858 (package-activate): Check if a package is disabled.
8859 (package-process-define-package): New function, extracted from
8860 define-package.
8861 (define-package): Turn into a place holder.
8862 (package-unpack-single, package-tar-file-info):
8863 Use package--description-file.
8864 (package-compute-transaction): Use package--disabled-p.
8865 (package-download-transaction): Don't call
8866 package-maybe-load-descriptor since they're all loaded anyway.
8867 (package-install): Change argument to be a pkg-desc.
8868 (package-delete): Use a single pkg-desc argument.
8869 (describe-package-1): Use package-desc-dir instead of package--dir.
8870 Use package-desc property instead of package-symbol.
8871 (package-install-button-action): Adjust accordingly.
8872 (package--push): Rewrite.
8873 (package-menu--print-info): Adjust accordingly. Change the ID format
8874 to be a pkg-desc.
8875 (package-menu-describe-package, package-menu-get-status)
8876 (package-menu--find-upgrades, package-menu-mark-upgrades)
8877 (package-menu-execute, package-menu--name-predicate):
8878 Adjust accordingly.
8879 * startup.el (package--description-file): New function.
8880 (command-line): Use it.
8881 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8882 Use package-desc-version.
8883
8884 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8885 (byte-compile-preprocess): Use it.
8886 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8887 can't quite recognize.
8888 (byte-compile-add-to-list): Remove.
8889 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8890 (cconv-closure-convert): Add assertion.
8891
8892 * emacs-lisp/map-ynp.el: Use lexical-binding.
8893 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8894 Factor out some repeated code.
8895
8896 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8897
8898 * subr.el (with-eval-after-load): New macro.
8899 (eval-after-load): Allow form to be a function.
8900 take advantage of lexical-binding.
8901 (do-after-load-evaluation): Use dolist and adjust to new format.
8902 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8903
8904 2013-06-13 Juri Linkov <juri@jurta.org>
8905
8906 * replace.el (perform-replace): Display "symbol " and other search
8907 modes from `isearch-message-prefix' in the *Help* buffer.
8908
8909 * isearch.el (isearch-query-replace): Add " symbol" and other
8910 possible search modes from `isearch-message-prefix' to the prompt.
8911 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8912 when reading a regexp to collect.
8913
8914 2013-06-13 Juri Linkov <juri@jurta.org>
8915
8916 * isearch.el (word-search-regexp): Match whitespace if the search
8917 string begins or ends in whitespace. The LAX arg is applied to
8918 both ends of the search string. Use `regexp-quote' and explicit
8919 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8920 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8921 boundaries are replaced with symbol boundaries, and characters
8922 between symbols match non-word non-symbol syntax. (Bug#14602)
8923
8924 2013-06-13 Juri Linkov <juri@jurta.org>
8925
8926 * isearch.el (isearch-del-char): Don't exceed the length of
8927 `isearch-string' by the prefix arg. (Bug#14563)
8928
8929 2013-06-13 Juri Linkov <juri@jurta.org>
8930
8931 * isearch.el (isearch-yank-word, isearch-yank-line)
8932 (isearch-char-by-name, isearch-quote-char)
8933 (isearch-printing-char, isearch-process-search-char):
8934 Add optional count prefix arg. (Bug#14563)
8935
8936 * international/isearch-x.el
8937 (isearch-process-search-multibyte-characters):
8938 Add optional count prefix arg.
8939
8940 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8943 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8944 lexical-binding.
8945
8946 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8947
8948 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8949
8950 2013-06-13 Glenn Morris <rgm@gnu.org>
8951
8952 * startup.el (tty-handle-args):
8953 Don't just discard "--" and anything after. (Bug#14608)
8954
8955 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8956
8957 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8958
8959 Implement changes in Secret Service API. Make it backward compatible.
8960 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8961 (secrets-create-item): Use it. Prefix properties with interface.
8962
8963 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8964
8965 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8966 (term-emulate-terminal): Respect term-suppress-hard-newline.
8967
8968 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8969
8970 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8971 Only remove a `thumb-file' overlay. (Bug#14548)
8972
8973 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8974
8975 * mail/reporter.el (reporter-submit-bug-report):
8976 Handle missing package-name. (Bug#14600)
8977
8978 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8979
8980 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8981 (reftex-citation-prompt, reftex-default-bibliography)
8982 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8983 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8984 (reftex-bib-sort-author, reftex-bib-sort-year)
8985 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8986 (reftex-extract-bib-entries-from-thebibliography)
8987 (reftex-get-bibkey-default, reftex-get-bib-names)
8988 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8989 (reftex-format-bib-entry, reftex-parse-bibitem)
8990 (reftex-format-bibitem, reftex-do-citation)
8991 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8992 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8993 (reftex-insert-bib-matches, reftex-format-citation)
8994 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8995 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8996 existing comments into docstrings.
8997
8998 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8999
9000 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9001
9002 2013-06-12 Andreas Schwab <schwab@suse.de>
9003
9004 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9005 for auto-save files.
9006
9007 2013-06-12 Glenn Morris <rgm@gnu.org>
9008
9009 * ido.el (ido-delete-ignored-files): Remove.
9010 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9011 Go back to calling ido-ignore-item-p directly.
9012
9013 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9014
9015 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9016
9017 * ido.el (ido-delete-ignored-files): New function,
9018 split from ido-make-file-list-1.
9019 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9020 (ido-make-file-list-1): Use ido-delete-ignored-files.
9021
9022 2013-06-12 Leo Liu <sdl.web@gmail.com>
9023
9024 * progmodes/octave.el (inferior-octave-startup)
9025 (inferior-octave-completion-table)
9026 (inferior-octave-track-window-width-change)
9027 (octave-eldoc-function-signatures, octave-help)
9028 (octave-find-definition): Use single quoted strings.
9029 (inferior-octave-startup-args): Change default value.
9030 (inferior-octave-startup): Do not hard code "-i" and
9031 "--no-line-editing".
9032 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9033 (inferior-octave-directory-tracker): Use it.
9034 (octave-goto-function-definition): Robustify.
9035 (octave-help): Support highlighting operators in 'See also'.
9036 (octave-find-definition): Find subfunctions only in Octave mode.
9037
9038 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * help-fns.el (help-fns--compiler-macro): If the handler function is
9041 named, then put a link to it.
9042 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9043 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9044 (cl-typep): Use it.
9045 (cl-eval-when): Simplify debug spec.
9046 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9047 compiler-macro function instead of setting `compiler-macro-file'.
9048
9049 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9050
9051 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9052 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9053
9054 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9055 Daniel Hackney <dan@haxney.org>
9056
9057 First part of Daniel Hackney's patch to package.el.
9058 * emacs-lisp/package.el: Use defstruct.
9059 (package-desc): New, main struct.
9060 (package--bi-desc, package--ac-desc): New structs, used to describe the
9061 format in external files.
9062 (package-desc-vers): Replace with package-desc-version accessor.
9063 (package-desc-doc): Replace with package-desc-summary accessor.
9064 (package-activate-1): Remove `package' arg since the pkg-vec now
9065 includes the name.
9066 (define-package): Use package-desc-from-define.
9067 (package-unpack-single): Change file-name arg to be a symbol.
9068 (package--add-to-archive-contents): Use package-desc-create and new
9069 accessor functions to package--ac-desc.
9070 (package-buffer-info, package-tar-file-info): Return a package-desc.
9071 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9072 arg to be a package-desc.
9073 (package-install-file): Adjust accordingly. Use \' to match EOS.
9074 (package--from-builtin): New function.
9075 (describe-package-1, package-menu--generate): Use it.
9076 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9077 (package-generate-autoloads): Idem and return the name of the file.
9078 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9079 Change pkg-info arg to be a package-desc.
9080 Use package-make-ac-desc.
9081 (package-upload-file): Use \' to match EOS.
9082 * finder.el (finder-compile-keywords): Use package-make-builtin.
9083
9084 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * vc/vc.el (vc-deduce-fileset): Change error message.
9087 (vc-read-backend): New function.
9088 (vc-next-action): Use it.
9089
9090 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9091
9092 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9093 (prolog-font-lock-keywords): Use regexp-opt instead.
9094 Don't manually highlight strings.
9095 (prolog-mode-variables): Simplify comment-start-skip.
9096 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9097
9098 * emacs-lisp/generic.el (generic--normalise-comments)
9099 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9100 (generic-mode-set-comments): Use them.
9101 (generic-bracket-support): Use setq-local.
9102 (generic-make-keywords-list): Declare obsolete.
9103
9104 2013-06-11 Glenn Morris <rgm@gnu.org>
9105
9106 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9107 Prettify after setting font-lock-defaults. (Bug#14574)
9108
9109 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9110
9111 * replace.el (query-replace, occur-read-regexp-defaults-function)
9112 (replace-search):
9113 * subr.el (declare-function, number-sequence, local-set-key)
9114 (substitute-key-definition, locate-user-emacs-file)
9115 (with-silent-modifications, split-string, eval-after-load):
9116 Fix typos, remove unneeded backslashes and reflow some docstrings.
9117
9118 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9119
9120 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9121 default for Elisp files.
9122
9123 2013-06-11 Glenn Morris <rgm@gnu.org>
9124
9125 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9126 although define-derived-mode was doing this anyway. (Bug#14583)
9127
9128 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9129
9130 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9131 Fix make-variable-buffer-local call to refer to the correct variable.
9132
9133 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9134
9135 * eshell/em-term.el (eshell-visual-commands)
9136 (eshell-visual-subcommands, eshell-visual-options):
9137 Add summary line to docstrings. Add cross-references.
9138
9139 2013-06-10 Glenn Morris <rgm@gnu.org>
9140
9141 * epa.el (epa-read-file-name): New function. (Bug#14510)
9142 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9143
9144 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9145
9146 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9147 output redirection to be ignored with visual commands.
9148
9149 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9150
9151 * eshell/em-term.el (eshell-visual-command-p): New function.
9152 (eshell-term-initialize): Move long lambda to separate function
9153 eshell-visual-command-p.
9154 * eshell/em-dirs.el (eshell-dirs-initialise):
9155 * eshell/em-script.el (eshell-script-initialize):
9156 Add missing #' to lambda.
9157
9158 2013-06-08 Leo Liu <sdl.web@gmail.com>
9159
9160 * progmodes/octave.el (octave-add-log-current-defun): New function.
9161 (octave-mode): Set add-log-current-defun-function.
9162 (octave-goto-function-definition): Do not move point if not found.
9163 (octave-find-definition): Enhance to try subfunctions first.
9164
9165 2013-06-08 Glenn Morris <rgm@gnu.org>
9166
9167 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9168 (byte-compile-backward-char, byte-compile-backward-word):
9169 Improve previous change, to handle non-explicit nil.
9170
9171 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9172
9173 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9174 (smie--opener/closer-at-point): New function.
9175 (smie--matching-block-data): Use it. Don't match from right after an
9176 opener or right before a closer. Obey smie-blink-matching-inners.
9177 Don't signal a mismatch for repeated inners like "switch..case..case".
9178
9179 2013-06-07 Leo Liu <sdl.web@gmail.com>
9180
9181 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9182 to t. (Bug#14303)
9183 (octave-function-header-regexp): Fix. (Bug#14570)
9184 (octave-help-mode-finish-hook, octave-help-mode-finish):
9185 Remove. Just use temp-buffer-show-hook.
9186
9187 * newcomment.el (comment-search-backward): Revert last change.
9188 (Bug#14434)
9189
9190 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9191
9192 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9193
9194 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9195 through xargs, to avoid failure due to MS-Windows limitations on
9196 command-line length.
9197
9198 2013-06-06 Glenn Morris <rgm@gnu.org>
9199
9200 * font-lock.el (lisp-font-lock-keywords-2):
9201 Treat user-error like error.
9202
9203 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9204 (byte-compile-backward-char, byte-compile-backward-word):
9205 Handle explicit nil arguments. (Bug#14565)
9206
9207 2013-06-05 Alan Mackenzie <acm@muc.de>
9208
9209 * isearch.el (isearch-allow-prefix): New user option.
9210 (isearch-other-meta-char): Don't exit isearch when a prefix
9211 argument is typed whilst `isearch-allow-prefix' is non-nil.
9212 (Bug#9706)
9213
9214 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9215
9216 * autorevert.el (auto-revert-notify-handler): Use memq.
9217 Hide assertion failure.
9218
9219 * skeleton.el: Use cl-lib.
9220 (skeleton-further-elements): Use defvar-local.
9221 (skeleton-insert): Use cl-progv.
9222
9223 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9224
9225 * progmodes/prog-mode.el (prog-prettify-symbols)
9226 (prog-prettify-install): Update docstrings.
9227
9228 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9229
9230 * simple.el: Move all the prog-mode code to prog-mode.el.
9231 * progmodes/prog-mode.el: New file.
9232 * loadup.el: Add prog-mode.el.
9233
9234 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9235
9236 * simple.el (prog-prettify-symbols): Add version.
9237 (prog-prettify-install): Add convenience function to prettify symbols.
9238
9239 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9240 (perl--augmented-font-lock-keywords-1)
9241 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9242 variables and use it.
9243
9244 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9245 (cfengine3-mode): Remove unneeded variable and use it.
9246
9247 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9248 (lisp--augmented-font-lock-keywords-1)
9249 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9250 Remove unneeded variables and use it.
9251
9252 2013-06-05 João Távora <joaotavora@gmail.com>
9253
9254 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9255 to point when opening the connection. (Bug#14380)
9256
9257 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9258
9259 * subr.el (load-history-regexp, load-history-filename-element)
9260 (eval-after-load, after-load-functions, do-after-load-evaluation)
9261 (eval-next-after-load, display-delayed-warnings)
9262 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9263 definition of save-match-data.
9264 (overriding-local-map): Remove accidental obsolescence declaration.
9265
9266 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9267
9268 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9269
9270 Generalize symbol prettify support to prog-mode and implement it
9271 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9272 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9273 (prog--prettify-font-lock-compose-symbol)
9274 (prog-prettify-font-lock-symbols-keywords): New variables and
9275 functions to support symbol prettification.
9276 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9277 (lisp--augmented-font-lock-keywords-1)
9278 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9279 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9280 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9281 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9282 Implement prettify of -> => :: strings.
9283 * progmodes/perl-mode.el (perl-prettify-symbols)
9284 (perl--font-lock-compose-symbol)
9285 (perl--font-lock-symbols-keywords): Move to prog-mode.
9286 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9287 (perl-font-lock-keywords-1)
9288 (perl-font-lock-keywords-2): Remove explicit prettify support.
9289 (perl--augmented-font-lock-keywords)
9290 (perl--augmented-font-lock-keywords-1)
9291 (perl--augmented-font-lock-keywords-2, perl-mode):
9292 Implement prettify support.
9293
9294 2013-06-05 Leo Liu <sdl.web@gmail.com>
9295
9296 Re-implement smie matching block highlight using
9297 show-paren-data-function. (Bug#14395)
9298 * emacs-lisp/smie.el (smie-matching-block-highlight)
9299 (smie--highlight-matching-block-overlay)
9300 (smie--highlight-matching-block-lastpos)
9301 (smie-highlight-matching-block)
9302 (smie-highlight-matching-block-mode): Remove.
9303 (smie--matching-block-data-cache): New variable.
9304 (smie--matching-block-data): New function.
9305 (smie-setup): Use smie--matching-block-data for
9306 show-paren-data-function.
9307
9308 * progmodes/octave.el (octave-mode-menu): Fix.
9309 (octave-find-definition): Skip garbage lines.
9310
9311 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9312
9313 Fix compilation error with simultaneous dynamic+lexical scoping.
9314 Add warning when a defvar appears after the first let-binding.
9315 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9316 (byte-compile-close-variables): Initialize it.
9317 (byte-compile--declare-var): New function.
9318 (byte-compile-file-form-defvar)
9319 (byte-compile-file-form-define-abbrev-table)
9320 (byte-compile-file-form-custom-declare-variable): Use it.
9321 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9322 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9323 (byte-compile-bind): Handle dynamic bindings that shadow
9324 lexical bindings.
9325 (byte-compile-unbind): Make arg non-optional.
9326 (byte-compile-let): Simplify.
9327 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9328 (cconv--analyse-function, cconv-analyse-form): Populate it.
9329 Protect byte-compile-bound-variables to limit the scope of defvars.
9330 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9331 Remove unneeded rule for `declare'.
9332
9333 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9334 so as to avoid depending on cl-adjoin at run-time.
9335 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9336
9337 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9338 (macroexp--warn-and-return): Use it.
9339
9340 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * subr.el: Convert to lexical binding.
9343 (overriding-local-map): Make obsolete.
9344 (add-to-list): Doc fix. Add compiler macro.
9345 (read-key): Swap values of local maps.
9346
9347 2013-06-05 Leo Liu <sdl.web@gmail.com>
9348
9349 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9350
9351 2013-06-04 Leo Liu <sdl.web@gmail.com>
9352
9353 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9354 (compilation-auto-jump): Suppress the "Mark set" message to give
9355 way to exit message.
9356
9357 2013-06-04 Alan Mackenzie <acm@muc.de>
9358
9359 Remove faulty optimisation from indentation calculation.
9360 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9361 search limit based on 2000 characters back from indent-point.
9362
9363 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9364
9365 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9366
9367 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * emacs-lisp/lisp.el: Use lexical-binding.
9370 (lisp--local-variables-1, lisp--local-variables): New functions.
9371 (lisp--local-variables-completion-table): New var.
9372 (lisp-completion-at-point): Use it complete let-bound vars.
9373
9374 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9375 eagerly (bug#14422).
9376
9377 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9378
9379 * autorevert.el (auto-revert-notify-enabled)
9380 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9381 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9382 (auto-revert-notify-handler): Handle also gfilenotify.
9383
9384 * subr.el (file-notify-handle-event): New defun. Replacing ...
9385 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9386 Remove.
9387
9388 2013-06-03 Juri Linkov <juri@jurta.org>
9389
9390 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9391 `M-s h .'. (Bug#14427)
9392
9393 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9394 command `hi-lock-face-symbol-at-point'.
9395 (hi-lock-face-symbol-at-point): New command.
9396 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9397 (hi-lock-menu): Add `highlight-symbol-at-point'.
9398 (hi-lock-mode): Doc fix.
9399
9400 * isearch.el (isearch-forward-symbol-at-point): New command.
9401 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9402 (isearch-highlight-regexp): Add a regexp which matches
9403 words/symbols for word/symbol mode.
9404
9405 * subr.el (find-tag-default-bounds): New function with the body
9406 mostly moved from `find-tag-default'.
9407 (find-tag-default): Move most code to `find-tag-default-bounds',
9408 call it and apply `buffer-substring-no-properties' afterwards.
9409
9410 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9411
9412 * eshell/em-term.el (eshell-term-initialize):
9413 Use `cl-intersection' rather than `intersection'.
9414
9415 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9416
9417 * vc/log-view.el: Doc fix.
9418 (log-view-mode-map): Copy keymap from `special-mode-map'.
9419
9420 2013-06-02 Eric Ludlam <zappo@gnu.org>
9421
9422 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9423 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9424 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9425 (eieio-unbound, eieio-default-superclass)
9426 (eieio--define-field-accessors, method-static, method-before)
9427 (method-primary, method-after, method-num-lists)
9428 (method-generic-before, method-generic-primary)
9429 (method-generic-after, method-num-slots)
9430 (eieio-specialized-key-to-generic-key)
9431 (eieio--check-type, class-v, class-p)
9432 (eieio-class-name, define-obsolete-function-alias)
9433 (eieio-class-parents-fast, eieio-class-children-fast)
9434 (same-class-fast-p, class-constructor, generic-p)
9435 (generic-primary-only-p, generic-primary-only-one-p)
9436 (class-option-assoc, class-option, eieio-object-p)
9437 (class-abstract-p, class-method-invocation-order)
9438 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9439 (eieio-class-un-autoload, eieio-defclass)
9440 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9441 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9442 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9443 (eieio-defgeneric-reset-generic-form)
9444 (eieio-defgeneric-form-primary-only)
9445 (eieio-defgeneric-reset-generic-form-primary-only)
9446 (eieio-defgeneric-form-primary-only-one)
9447 (eieio-defgeneric-reset-generic-form-primary-only-one)
9448 (eieio-unbind-method-implementations)
9449 (eieio--defmethod, eieio--typep)
9450 (eieio-perform-slot-validation, eieio-validate-slot-value)
9451 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9452 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9453 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9454 (eieio-slot-name-index, eieio-class-slot-name-index)
9455 (eieio-set-defaults, eieio-initarg-to-attribute)
9456 (eieio-attribute-to-initarg, eieio-c3-candidate)
9457 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9458 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9459 (eieio-class-precedence-list, eieio-generic-call-methodname)
9460 (eieio-generic-call-arglst, eieio-generic-call-key)
9461 (eieio-generic-call-next-method-list)
9462 (eieio-pre-method-execution-functions, eieio-generic-call)
9463 (eieio-generic-call-primary-only, eieiomt-method-list)
9464 (eieiomt-optimizing-obarray, eieiomt-install)
9465 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9466 (eieio-generic-form, eieio-defmethod, make-obsolete)
9467 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9468 (defclass): Remove `eval-and-compile' from macro.
9469 (call-next-method, shared-initialize): Instead of using
9470 `scoped-class' variable, use new eieio--scoped-class, and
9471 eieio--with-scoped-class.
9472 (initialize-instance): Rename local variable 'scoped-class' to
9473 'this-class' to remove ambiguitity from old global.
9474
9475 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9476 eieio.el.
9477 (eieio--scoped-class-stack): New variable.
9478 (eieio--scoped-class): New fcn.
9479 (eieio--with-scoped-class): New scoping macro.
9480 (eieio-defclass): Use pushnew instead of add-to-list.
9481 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9482 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9483 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9484 `scoped-class' variable, use new eieio--scoped-class, and
9485 eieio--with-scoped-class.
9486
9487 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9488
9489 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9490
9491 * eshell/esh-ext.el (eshell-external-command): Pass args to
9492 `eshell-find-interpreter'.
9493 (eshell-find-interpreter): Add new second parameter ARGS.
9494
9495 * eshell/em-script.el (eshell-script-initialize): Add second arg
9496 to the function added as MATCH to `eshell-interpreter-alist'.
9497
9498 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9499 the function added as MATCH to `eshell-interpreter-alist'.
9500
9501 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9502 (eshell-visual-options): New defcustom.
9503 (eshell-escape-control-x): Adapt docstring.
9504 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9505 `eshell-visual-options' in addition to `eshell-visual-commands'.
9506 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9507
9508 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9509
9510 * progmodes/python.el (python-indent-block-enders): Add break,
9511 continue and raise keywords.
9512
9513 2013-06-01 Glenn Morris <rgm@gnu.org>
9514
9515 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9516
9517 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9518 * progmodes/cc-cmds.el (delete-forward-p):
9519 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9520 * progmodes/cc-engine.el (buffer-syntactic-context):
9521 * progmodes/cc-fonts.el (face-property-instance):
9522 * progmodes/cc-mode.el (set-keymap-parents):
9523 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9524 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9525 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9526 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9527 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9528
9529 * progmodes/cc-vars.el (other): Emacs has this widget since
9530 at least 21.1, so don't (re)define it.
9531
9532 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9533 Replace the obsolete alias pcomplete-arg-quote-list.
9534
9535 2013-06-01 Leo Liu <sdl.web@gmail.com>
9536
9537 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9538 punctuation syntax.
9539 (inferior-octave-minimal-columns)
9540 (inferior-octave-last-column-width): New variables.
9541 (inferior-octave-track-window-width-change): New function.
9542 (inferior-octave-mode): Adjust column width so that Octave output,
9543 for example from 'ls', can fit into the window nicely.
9544
9545 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9546
9547 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9548 Highlight expansions inside regexp literals.
9549
9550 2013-05-31 Glenn Morris <rgm@gnu.org>
9551
9552 * obsolete/sym-comp.el (symbol-complete):
9553 Replace obsolete completion-annotate-function.
9554
9555 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9556
9557 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9558
9559 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9560 New function, checks if point is inside a literal that allows
9561 expression expansion.
9562 (ruby-syntax-propertize-expansion): Use it.
9563 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9564 around the body.
9565
9566 2013-05-30 Juri Linkov <juri@jurta.org>
9567
9568 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9569 to "\M-si".
9570 (isearch-invisible): New variable.
9571 (isearch-forward): Doc fix.
9572 (isearch-mode): Set `isearch-invisible'
9573 to the value of `search-invisible'.
9574 (isearch-toggle-case-fold): Doc fix.
9575 (isearch-toggle-invisible): New command.
9576 (isearch-query-replace): Let-bind `search-invisible'
9577 to the value of `isearch-invisible'.
9578 (isearch-search): Use `isearch-invisible' instead of
9579 `search-invisible'. Let-bind `search-invisible'
9580 to the value of `isearch-invisible'. (Bug#11378)
9581
9582 2013-05-30 Juri Linkov <juri@jurta.org>
9583
9584 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9585 call when `query-flag' is nil and `search-invisible' is non-nil.
9586 (Bug#11746)
9587
9588 2013-05-30 Glenn Morris <rgm@gnu.org>
9589
9590 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9591
9592 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9593 (cc-require): Suppress spurious "noruntime" warnings.
9594 (cc-require-when-compile): Use fboundp, for sake of compiler.
9595
9596 * progmodes/cc-mode.el: Move load of cc-vars before that of
9597 cc-langs (which in turn loads cc-vars), to quieten compiler.
9598
9599 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9600
9601 * paren.el: Simplify the code.
9602 (show-paren-mode): Always start the timer.
9603 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9604 (show-paren--overlay, show-paren--overlay-1): Rename from
9605 show-paren-overlay and show-paren-overlay-1, and initialize to an
9606 overlay rather than to nil.
9607 (show-paren-function): Misc cleanup and simplifications.
9608
9609 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9610
9611 * paren.el (show-paren-data-function): New hook.
9612 (show-paren--default): New function, extracted from show-paren-function.
9613 (show-paren-function): Use show-paren-data-function.
9614
9615 2013-05-30 Glenn Morris <rgm@gnu.org>
9616
9617 * ielm.el (ielm-map, ielm-complete-symbol):
9618 Use completion-at-point rather than obsolete functions.
9619 (inferior-emacs-lisp-mode): Doc fix.
9620 Set completion-at-point-functions, rather than
9621 comint-dynamic-complete-functions.
9622
9623 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9624 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9625 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9626
9627 * image.el (image-animated-p): Tweak definition.
9628
9629 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9630 (rlogin-process-connection-type): Tweak default. Add set-after.
9631 (rlogin-host): Doc fix.
9632 (rlogin): Tweak prompt.
9633 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9634
9635 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9636 * progmodes/tcl.el (inferior-tcl-mode-map):
9637 Use completion-at-point rather than obsolete alias.
9638
9639 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9640
9641 * minibuffer.el (read-file-name-completion-ignore-case):
9642 Move before completion--in-region, for eager macro expansion.
9643
9644 2013-05-29 Juri Linkov <juri@jurta.org>
9645
9646 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9647 for total count of matching lines. Add `global-matches' for total
9648 count of matches. Rename `matches' to `lines' for count of
9649 matching lines. Add `matches' for count of matches.
9650 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9651 to `prev-line' for line number of prev match endpt.
9652 Increment `matches' for every match. Print the number of
9653 matching lines in the header.
9654 (occur-context-lines): Rename `lines' to `curr-line'.
9655 Rename `prev-lines' to `prev-line'. (Bug#14017)
9656
9657 2013-05-29 Juri Linkov <juri@jurta.org>
9658
9659 * replace.el (perform-replace): Add `skip-read-only-count',
9660 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9661 Increment them for corresponding conditions and report the number
9662 of skipped occurrences in the final message. (Bug#11746)
9663 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9664 (replace-string, replace-regexp): Doc fix.
9665
9666 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9667
9668 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9669
9670 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9671 prog-mode-map (bug#14504).
9672
9673 2013-05-29 Leo Liu <sdl.web@gmail.com>
9674
9675 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9676 (octave-help): Small simplification.
9677
9678 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9679 off the highlight first.
9680
9681 2013-05-29 Glenn Morris <rgm@gnu.org>
9682
9683 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9684 Handle idlwave-last-system-routine-info-cons-cell being nil.
9685
9686 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9687 (idlwave-write-paths): Simplify via with-temp-buffer.
9688
9689 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9690 * emulation/cua-rect.el: Also load cua-base at run time.
9691
9692 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9693 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9694 (cperl-imenu-on-info): Require imenu.
9695
9696 2013-05-28 Alan Mackenzie <acm@muc.de>
9697
9698 Handle "capitalised keywords" correctly.
9699 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9700
9701 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9702
9703 * eshell/em-unix.el: Add -r option to cp.
9704
9705 2013-05-28 Glenn Morris <rgm@gnu.org>
9706
9707 * vc/vc-arch.el (vc-exec-after): Declare.
9708 (vc-switches): Autoload.
9709 * vc/vc-bzr.el: No need to require vc when compiling.
9710 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9711 (vc-resynch-buffer, vc-dir-refresh): Declare.
9712 (vc-setup-buffer, vc-switches): Autoload.
9713 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9714 (vc-resynch-buffer): Declare.
9715 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9716 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9717 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9718 (grep-read-regexp, grep-read-files, grep-expand-template)
9719 (vc-dir-refresh): Declare.
9720 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9721 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9722 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9723 * vc/vc-mtn.el (vc-exec-after): Declare.
9724 (vc-switches): Autoload.
9725 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9726 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9727 (vc-file-tree-walk): Declare.
9728 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9729 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9730 (vc-tag-precondition, vc-rename-master): Autoload.
9731 * vc/vc-svn.el (vc-exec-after): Declare.
9732 (vc-switches, vc-setup-buffer): Autoload.
9733 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9734 Autoload.
9735 (vc-resynch-buffer): Declare.
9736
9737 * obsolete/fast-lock.el (byte-compile-warnings):
9738 Don't warn about obsolete features in this obsolete file.
9739
9740 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9741 Move definition before use.
9742
9743 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9744 (dun-unix-verbs): Remove dun-zippy.
9745 (dun-zippy): Remove function.
9746
9747 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9748
9749 2013-05-27 Juri Linkov <juri@jurta.org>
9750
9751 * replace.el (replace-search): New function with code moved out
9752 from `perform-replace'.
9753 (replace-highlight, replace-dehighlight): Move function definitions
9754 up closer to `replace-search'. (Bug#11746)
9755
9756 2013-05-27 Juri Linkov <juri@jurta.org>
9757
9758 * replace.el (perform-replace): Ignore invisible matches.
9759 In addition to checking `query-replace-skip-read-only', also
9760 filter out matches by calling `run-hook-with-args-until-failure'
9761 on `isearch-filter-predicates', and also check `search-invisible'
9762 for t or call `isearch-range-invisible'.
9763 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9764
9765 2013-05-27 Juri Linkov <juri@jurta.org>
9766
9767 * isearch.el (isearch-filter-predicates): Rename from
9768 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9769 (isearch-message-prefix): Display text from the property
9770 `isearch-message-prefix' of the currently active filters.
9771 (isearch-search): Don't compare `isearch-filter-predicate' with
9772 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9773 on `isearch-filter-predicates'. Also check `search-invisible' for t
9774 or call `isearch-range-invisible'.
9775 (isearch-filter-visible): Make obsolete.
9776 (isearch-lazy-highlight-search):
9777 Call `run-hook-with-args-until-failure' on
9778 `isearch-filter-predicates' and use `isearch-range-invisible'.
9779
9780 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9781 `isearch-filter-predicates' instead of `funcall'ing
9782 `isearch-filter-predicate'.
9783 (Info-mode): Set `Info-isearch-filter' to
9784 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9785
9786 * dired-aux.el (dired-isearch-filter-predicate-orig):
9787 Remove variable.
9788 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9789 (dired-isearch-filenames-end): Add and remove
9790 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9791 instead of changing the value of `isearch-filter-predicate'.
9792 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9793 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9794 Put property `isearch-message-prefix' to "filename " on
9795 `dired-isearch-filter-filenames'.
9796
9797 * wdired.el (wdired-change-to-wdired-mode):
9798 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9799 locally instead of changing `isearch-filter-predicate'.
9800 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9801
9802 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9803
9804 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9805 return the commit hash (Bug#14459). Also set the
9806 `vc-git-detached' property.
9807 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9808 (vc-git-mode-line-string): Use the same help-echo format whether
9809 in detached mode or not, because we know the actual revision now.
9810 When in detached mode, shorten the revision to 7 chars.
9811
9812 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * emacs-lisp/easy-mmode.el (define-minor-mode):
9815 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9816 mode hook and provide a docstring.
9817
9818 2013-05-27 Alan Mackenzie <acm@muc.de>
9819
9820 Remove spurious syntax-table text properties inserted by C-y.
9821 * progmodes/cc-mode.el (c-after-change): Also clear hard
9822 syntax-table property with value nil.
9823
9824 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9825
9826 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9827 when reading the events; the buffer layout shall not be changed.
9828
9829 2013-05-27 Leo Liu <sdl.web@gmail.com>
9830
9831 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9832 New variable.
9833 (inferior-octave-directory-tracker): Automatically re-sync
9834 default-directory.
9835 (octave-help): Improve handling of 'See also'.
9836
9837 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9838
9839 * doc-view.el: Minor naming convention tweaks.
9840 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9841
9842 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9843 even if there's no `display' property yet (bug#14435).
9844
9845 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9846
9847 * subr.el (unmsys--file-name): Rename from reveal-filename.
9848
9849 * Makefile.in (custom-deps, finder-data, autoloads)
9850 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9851 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9852 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9853
9854 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9855
9856 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9857 error-completion on the first 2 args of condition-case (bug#14446).
9858 Don't burp at EOB.
9859
9860 2013-05-25 Leo Liu <sdl.web@gmail.com>
9861
9862 * comint.el (comint-previous-matching-input): Do not flood the
9863 *Messages* buffer with trivial messages.
9864
9865 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * progmodes/flymake.el (flymake-nop): Don't return a string.
9868 (flymake-set-at): Fix typo.
9869
9870 * simple.el (read--expression): New function, extracted from
9871 eval-expression. Set completion-at-point-functions (bug#14465).
9872 (eval-expression, eval-minibuffer): Use it.
9873
9874 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9875
9876 * progmodes/flymake.el (flymake-save-buffer-in-file)
9877 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9878 (flymake-selected-frame, flymake-log, flymake-ins-after)
9879 (flymake-set-at, flymake-get-buildfile-from-cache)
9880 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9881 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9882 Refine the doc string.
9883 (flymake-get-file-name-mode-and-masks): Reformat.
9884 (flymake-get-real-file-name-function): Fix a minor bug.
9885
9886 2013-05-24 Juri Linkov <juri@jurta.org>
9887
9888 * progmodes/grep.el (grep-mode-font-lock-keywords):
9889 Support =linenumber= format used by git-grep for lines with
9890 function names. (Bug#13549)
9891
9892 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9893
9894 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9895 0 after a semi-colon; it works better for smie-auto-fill.
9896 (octave--indent-new-comment-line): New function.
9897 (octave-indent-new-comment-line): Use it (indirectly).
9898 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9899 modify comment-line-break-function.
9900
9901 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9902 (smie-setup): Use add-function to set it.
9903
9904 2013-05-24 Sam Steingold <sds@gnu.org>
9905
9906 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9907 argument (before the `interactive' argument).
9908
9909 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9910
9911 * image-mode.el (image-mode-winprops): Add winprops to
9912 image-mode-winprops-alist before running
9913 image-mode-new-window-functions.
9914 * doc-view.el (doc-view-new-window-function): Don't delay
9915 doc-view-goto-page via timers (bug#14435).
9916
9917 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9918
9919 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9920 (doc-view-desktop-save-buffer): New function.
9921 (doc-view-restore-desktop-buffer): New function.
9922 (desktop-buffer-mode-handlers):
9923 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9924 handler.
9925 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9926 `desktop-save-buffer' function.
9927
9928 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9929
9930 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9931 (tramp-gvfs-file-name-handler): Raise a user error when
9932 `tramp-gvfs-enabled' is nil.
9933 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9934 Do not raise a user error when loading package. (Bug#14447)
9935
9936 * net/xesam.el: Move to obsolete/.
9937
9938 2013-05-24 Glenn Morris <rgm@gnu.org>
9939
9940 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9941
9942 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9943
9944 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9945 (Info-find-node, Man-getpage-in-background): Declare.
9946
9947 * mail/unrmail.el (unrmail):
9948 Replace obsolete detect-coding-with-priority.
9949
9950 * net/socks.el (socks-split-string): Use this rather than split-string.
9951 (socks-nslookup-host): Update for above change.
9952 (dynamic-choice, s5-dynamic-choice-match)
9953 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9954 Comment out unused code.
9955
9956 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9957 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9958 (gud-tooltip-echo-area): Make obsolete.
9959 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9960
9961 * progmodes/js.el (js--optimize-arglist): Declare.
9962
9963 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9964
9965 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9966 (ediff-window-C): Declare.
9967
9968 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9969 Tweak requires to silence compiler.
9970
9971 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9972 (he-search-string, he-tried-table, he-expand-list)
9973 (he-init-string, he-string-member, he-substitute-string)
9974 (he-reset-string): Declare.
9975
9976 * obsolete/options.el (list-options): Use custom-variable-p,
9977 rather than obsolete alias.
9978
9979 2013-05-23 Sam Steingold <sds@gnu.org>
9980
9981 * simple.el (shell-command-on-region): Pass the `replace' argument
9982 down to `call-process-region' to comply with the doc as reported on
9983 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9984
9985 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9986
9987 * emacs-lisp/smie.el (smie-indent-forward-token)
9988 (smie-indent-backward-token): Handle string tokens (bug#14381).
9989
9990 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9991
9992 * ielm.el (ielm-menu): New menu.
9993 (inferior-emacs-lisp-mode): Set comment-start.
9994
9995 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9996
9997 * textmodes/reftex.el (reftex-ref-style-toggle):
9998 Fix deactivate action.
9999
10000 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10001 Add cleveref macros.
10002
10003 * textmodes/reftex-parse.el
10004 (reftex-locate-bibliography-files): Accept options for
10005 bibliography commands.
10006 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10007 Add addbibresource. Basic Biblatex support.
10008
10009 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * net/tramp-gvfs.el (top):
10012 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10013 when loading package. (Bug#14447)
10014
10015 2013-05-23 Glenn Morris <rgm@gnu.org>
10016
10017 * progmodes/js.el: No need to load comint when compiling.
10018 (ring-insert, comint-send-string, comint-send-input)
10019 (comint-last-input-end, ido-chop): Declare.
10020
10021 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10022 * vc/ediff-mult.el: Adjust requires.
10023 (ediff-directories-internal, ediff-directory-revisions-internal)
10024 (ediff-patch-file-internal): Declare.
10025 * vc/ediff-ptch.el: Adjust requires.
10026 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10027 (ediff-find-file): Autoload.
10028 * vc/ediff-util.el: No need to load ediff when compiling.
10029 (ediff-regions-internal): Declare.
10030 * vc/ediff-wind.el: Adjust requires.
10031 (ediff-compute-toolbar-width): Define when compiling.
10032 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10033 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10034 (dired-get-filename, dired-get-marked-files)
10035 (ediff-last-dir-patch, ediff-patch-default-directory)
10036 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10037 (ediff-patch-buffer-internal): Declare.
10038
10039 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10040 (ispell-process, ispell-buffer-local-words, lm-summary)
10041 (lm-section-start, lm-section-end): Declare.
10042 (checkdoc-ispell-init): Simplify.
10043
10044 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10045 (he-string-member, he-reset-string, he-substitute-string): Declare.
10046
10047 * eshell/em-ls.el: Adjust requires.
10048 (eshell-glob-regexp): Declare.
10049 * eshell/em-tramp.el: Adjust requires.
10050 (eshell-parse-command): Autoload.
10051 * eshell/em-xtra.el: Adjust requires.
10052 (eshell-parse-command): Autoload.
10053 * eshell/esh-ext.el: Adjust requires.
10054 (eshell-parse-command, eshell-close-handles): Autoload.
10055 * eshell/esh-io.el: Adjust requires.
10056 (eshell-output-filter): Autoload.
10057 * eshell/esh-util.el: No need to load tramp when compiling.
10058 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10059 Declare.
10060 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10061 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10062 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10063 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10064 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10065 * eshell/esh-opt.el, eshell/esh-proc.el:
10066 * eshell/esh-var.el: Adjust requires.
10067 * eshell/eshell.el: Do not require esh-util twice.
10068 (eshell-add-input-to-history): Declare.
10069 (eshell-command): Check history module is active before using it.
10070
10071 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10072
10073 2013-05-22 Leo Liu <sdl.web@gmail.com>
10074
10075 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10076
10077 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10078
10079 * autorevert.el (auto-revert-notify-add-watch)
10080 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10081 it indicates changes in file modification time.
10082
10083 2013-05-22 Glenn Morris <rgm@gnu.org>
10084
10085 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10086 Always delete the autoloaded function from the noruntime and
10087 unresolved functions lists.
10088
10089 * allout.el: No need to load epa, epg, overlay when compiling.
10090 (epg-context-set-passphrase-callback, epg-list-keys)
10091 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10092 (epg-key-user-id-list): Declare.
10093
10094 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10095 (viper-set-parsing-style-toggling-macro)
10096 (viper-set-emacs-state-searchstyle-macros):
10097 Use called-interactively-p on Emacs.
10098 (viper-looking-back): Make it an obsolete alias. Update callers.
10099 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10100 Use looking-back rather than viper-looking-back.
10101 (viper-tmp-insert-at-eob, viper-enlarge-region)
10102 (viper-read-string-with-history, viper-register-to-point)
10103 (viper-append-to-register, viper-change-state-to-vi)
10104 (viper-backward-char-carefully, viper-forward-char-carefully)
10105 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10106 (viper-change-state-to-emacs): Declare.
10107 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10108 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10109 * emulation/viper-mous.el: Do not load viper-cmd.
10110 (viper-backward-char-carefully, viper-forward-char-carefully)
10111 (viper-forward-word, viper-adjust-window): Declare.
10112
10113 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10114
10115 * progmodes/idlw-help.el (idlwave-help-fontify):
10116 Use called-interactively-p.
10117
10118 * term/w32console.el (w32-get-console-codepage)
10119 (w32-get-console-output-codepage): Declare.
10120
10121 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10122 Remove unnecessary declarations.
10123 (dframe-message): Doc fix.
10124
10125 * info.el (dframe-select-attached-frame, dframe-current-frame):
10126 Declare.
10127
10128 * speedbar.el (speedbar-message): Make it an obsolete alias.
10129 Update all callers.
10130 (speedbar-with-attached-buffer)
10131 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10132 (speedbar-with-writable): Use backquote.
10133 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10134 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10135 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10136 rather than speedbar- aliases.
10137 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10138 (speedbar-make-specialized-keymap, speedbar-insert-button)
10139 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10140 (speedbar-do-function-pointer): Declare.
10141 (rmail-speedbar-button, rmail-speedbar-find-file)
10142 (rmail-speedbar-move-message):
10143 Use dframe-with-attached-buffer rather than speedbar- alias.
10144 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10145 (dframe-message, speedbar-make-specialized-keymap)
10146 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10147 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10148 (speedbar-insert-button, dframe-select-attached-frame)
10149 (dframe-maybee-jump-to-attached-frame)
10150 (speedbar-change-initial-expansion-list)
10151 (speedbar-previously-used-expansion-list-name): Declare.
10152 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10153 Use dframe-message, dframe-with-attached-buffer rather than
10154 speedbar- aliases.
10155 (gud-sentinel): Silence compiler.
10156 * progmodes/vhdl-mode.el (speedbar-refresh)
10157 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10158 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10159 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10160 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10161 (speedbar-file-lists, speedbar-make-tag-line)
10162 (speedbar-line-directory, speedbar-goto-this-file)
10163 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10164 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10165 (speedbar-make-button, speedbar-reset-scanners)
10166 (speedbar-files-item-info, speedbar-line-text)
10167 (speedbar-find-file-in-frame, speedbar-set-timer)
10168 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10169 (speedbar-with-writable): Do not (re)define it.
10170 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10171 rather than speedbar- alias.
10172
10173 2013-05-21 Leo Liu <sdl.web@gmail.com>
10174
10175 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10176 menu items.
10177 (octave-mode): Tweak fill-nobreak-predicate.
10178 (inferior-octave-startup): Check process to avoid infinite loop.
10179 (inferior-octave): Pop to buffer first to show abornmal process
10180 exit information.
10181
10182 2013-05-21 Glenn Morris <rgm@gnu.org>
10183
10184 * printing.el (pr-menu-bar): Define when compiling.
10185
10186 2013-05-21 Leo Liu <sdl.web@gmail.com>
10187
10188 * progmodes/octave.el (octave-auto-fill): Remove.
10189 (octave-indent-new-comment-line): Improve.
10190 (octave-mode): Use auto fill mode through
10191 comment-line-break-function and fill-nobreak-predicate.
10192 (octave-goto-function-definition): Support DEFUN_DLD.
10193 (octave-beginning-of-defun): Small tweak.
10194 (octave-help): Show parent directory.
10195
10196 2013-05-21 Glenn Morris <rgm@gnu.org>
10197
10198 * files.el (dired-unmark):
10199 * progmodes/gud.el (gdb-input): Update declarations.
10200
10201 * calculator.el (electric, ehelp): No need to load when compiling.
10202 (Electric-command-loop, electric-describe-mode): Declare.
10203
10204 * doc-view.el (doc-view-current-converter-processes): Move before use.
10205
10206 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10207 Move MODE-set-explicitly definition before use.
10208
10209 * international/mule-diag.el (mule-diag):
10210 Don't use obsolete window-system-version.
10211
10212 * mail/feedmail.el (smtpmail): No need to load when compiling.
10213 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10214
10215 * mail/mail-utils.el (rfc822): No need to load when compiling.
10216 (rfc822-addresses): Autoload it.
10217 (mail-strip-quoted-names): Trivial simplification.
10218
10219 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10220 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10221
10222 * net/snmp-mode.el (tempo): Don't duplicate requires.
10223
10224 * progmodes/prolog.el (info): No need to load when compiling.
10225 (comint): Require before shell requires it.
10226 (Info-goto-node): Autoload it.
10227 (Info-follow-nearest-node): Declare.
10228 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10229
10230 * textmodes/artist.el (picture-mode-exit): Declare.
10231
10232 * textmodes/reftex-parse.el (reftex-parse-from-file):
10233 Trivial rewrite so the compiler can parse it better.
10234
10235 2013-05-20 Leo Liu <sdl.web@gmail.com>
10236
10237 * progmodes/octave.el (octave-help-mode-map)
10238 (octave-help-mode-finish-hook): New variables.
10239 (octave-help-mode, octave-help-mode-finish): New functions.
10240 (octave-help): Use octave-help-mode.
10241
10242 2013-05-20 Glenn Morris <rgm@gnu.org>
10243
10244 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10245
10246 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10247
10248 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10249 start at point, so that expansion starting right after opening
10250 slash in a regexp is recognized.
10251 (ruby-syntax-before-regexp-re): New defvar, extracted from
10252 ruby-syntax-propertize-function. Since the value of this regexp
10253 is looked up at runtime now, we should be able to turn
10254 `ruby-syntax-methods-before-regexp' into a defcustom later.
10255 (ruby-syntax-propertize-function): Split regexp matching into two
10256 parts, for opening and closing slashes. That allows us to skip
10257 over string interpolations and support multiline regexps.
10258 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10259 for them, which calls `ruby-syntax-propertize-expansion'.
10260 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10261 call to `ruby-syntax-propertize-function'.
10262 (ruby-syntax-propertize-expansion): Extracted from
10263 `ruby-syntax-propertize-expansions'. Handles one expansion.
10264 (ruby-syntax-propertize-percent-literal): Leave point right after
10265 the percent symbol, so that the expression expansion rule can
10266 propertize the contents.
10267 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10268 heredoc openers.
10269 (ruby-syntax-propertize-expansions): Remove.
10270
10271 2013-05-18 Juri Linkov <juri@jurta.org>
10272
10273 * man.el (Man-default-man-entry): Remove `-' from the end
10274 of the default value. (Bug#14400)
10275
10276 2013-05-18 Glenn Morris <rgm@gnu.org>
10277
10278 * comint.el (comint-password-prompt-regexp):
10279 Allow "password for XXX" where XXX contains colons (eg https://...).
10280
10281 2013-05-18 Leo Liu <sdl.web@gmail.com>
10282
10283 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10284 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10285 (octave-source-directories): Don't check process.
10286 (octave-source-directories, octave-find-definition): Doc fix.
10287
10288 2013-05-18 Glenn Morris <rgm@gnu.org>
10289
10290 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10291 Remove backspace/delete bindings. (Bug#14392)
10292
10293 * cus-dep.el (custom-make-dependencies): Sort the output.
10294 (custom-versions-load-alist): Convert comment to doc.
10295
10296 2013-05-17 Leo Liu <sdl.web@gmail.com>
10297
10298 * newcomment.el (comment-search-backward): Stricter in finding
10299 comment start. (Bug#14303)
10300
10301 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10302 (octave-comment-start-skip): Properly anchored.
10303
10304 2013-05-17 Leo Liu <sdl.web@gmail.com>
10305
10306 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10307 Clean up when turned off. (Bug#14395)
10308 (smie--highlight-matching-block-overlay): No longer buffer-local.
10309 (smie-highlight-matching-block): Adjust.
10310
10311 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10312
10313 Doc string fix for "nanoseconds" (Bug#14406).
10314 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10315 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10316
10317 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10318
10319 * calc/calc-units.el (math-extract-units): Preserve powers
10320 of units.
10321
10322 2013-05-17 Leo Liu <sdl.web@gmail.com>
10323
10324 * subr.el (delete-consecutive-dups): New function.
10325 * ido.el (ido-set-matches-1): Use it.
10326 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10327 * ido.el (ido-remove-consecutive-dups): Remove.
10328
10329 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10330
10331 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10332 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10333 regexp-opt's `words'.
10334
10335 2013-05-16 Leo Liu <sdl.web@gmail.com>
10336
10337 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10338 (smie--highlight-matching-block-overlay)
10339 (smie--highlight-matching-block-lastpos)
10340 (smie--highlight-matching-block-timer): New variables.
10341 (smie-highlight-matching-block): New function.
10342 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10343 (smie-setup): Conditionally enable smie-blink-matching-open.
10344
10345 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10346
10347 Sync with upstream verilog-mode r840.
10348 * progmodes/verilog-mode.el (verilog-mode-version)
10349 (verilog-mode-release-date): Update.
10350 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10351 (verilog-sig-tieoff): Fix string error on
10352 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10353 (verilog-read-decls): Fix parameters confusing
10354 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10355
10356 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10357
10358 * subr.el (reveal-filename): New function.
10359
10360 * loadup.el: Compute Emacs executable versions on MS-Windows,
10361 where executables have the .exe extension. Add a hard link
10362 emacs-XX.YY.ZZ.exe on MS-Windows.
10363
10364 * Makefile.in (XARGS_LIMIT): New variable.
10365 (custom-deps, finder-data, autoloads)
10366 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10367 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10368 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10369 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10370
10371 2013-05-16 Leo Liu <sdl.web@gmail.com>
10372
10373 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10374 (octave-mode-menu, octave-mode-map): Remove its uses.
10375
10376 2013-05-16 Reto Zimmermann <reto@gnu.org>
10377
10378 Sync with upstream vhdl mode v3.34.2.
10379 * progmodes/vhdl-mode.el: Use `push' throughout.
10380 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10381 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10382 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10383 (vhdl-actual-generic-name): New option to derive actual generic name.
10384 (vhdl-port-paste-signals): Replace formal by actual generics.
10385 (vhdl-beautify): New name for old group vhdl-align. Update users.
10386 (vhdl-beautify-options): New option.
10387 (vhdl-last-input-event): New compat alias. Use throughout.
10388 (vhdl-goto-line): Replace user level function `goto-line'.
10389 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10390 vhdl-fix-statement-buffer.
10391 (vhdl-create-mode-menu): Add some entries.
10392 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10393 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10394 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10395 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10396 to force statements on one line.
10397 (vhdl-remove-trailing-spaces-region):
10398 New, split from vhdl-remove-trailing-spaces.
10399 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10400 Respect vhdl-beautify-options.
10401 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10402 (vhdl-update-sensitivity-list): Not add with index if exists without.
10403 Not include array index with signal. Ignore keywords in comments.
10404 (vhdl-get-visible-signals): Regexp tweaks.
10405 (vhdl-template-component-inst): Handle empty library.
10406 (vhdl-template-type): Add template for 'enum' type.
10407 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10408 Use vhdl-replace-string.
10409 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10410 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10411 (vhdl-speedbar-initialize): Update for above name change.
10412 (vhdl-compose-wire-components): Fix in handling of constants.
10413 (vhdl-error-regexp-emacs-alist): New variable.
10414 (vhdl-error-regexp-add-emacs): New function;
10415 adds support for new compile.el (Emacs 22+)
10416 (vhdl-generate-makefile-1): Change target order for single lib. units.
10417 Allow use of absolute file names.
10418
10419 2013-05-16 Leo Liu <sdl.web@gmail.com>
10420
10421 * simple.el (prog-indent-sexp): Indent enclosing defun.
10422
10423 2013-05-15 Glenn Morris <rgm@gnu.org>
10424
10425 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10426 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10427 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10428 (whitespace-highlight): Move to whitespace group.
10429
10430 * comint.el (comint-source):
10431 * pcmpl-linux.el (pcmpl-linux):
10432 * shell.el (shell-faces):
10433 * eshell/esh-opt.el (eshell-opt):
10434 * international/ccl.el (ccl): Remove empty custom groups.
10435
10436 * completion.el (dynamic-completion-mode):
10437 * jit-lock.el (jit-lock-debug-mode):
10438 * minibuffer.el (completion-in-region-mode):
10439 * type-break.el (type-break-mode-line-message-mode)
10440 (type-break-query-mode):
10441 * emulation/tpu-edt.el (tpu-edt-mode):
10442 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10443 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10444 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10445
10446 * term/xterm.el (xterm): Change parent group to terminals.
10447
10448 * master.el (master): Remove empty custom group.
10449 (master-mode): Remove unused :group argument.
10450 * textmodes/refill.el (refill): Remove empty custom group.
10451 (refill-mode): Remove unused :group argument.
10452
10453 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10454
10455 * cus-dep.el: Provide a feature.
10456 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10457 Don't mistakenly ignore files whose basenames match a basename
10458 from preloaded-file-list (eg cedet/ede/simple.el).
10459 Add a fallback method for getting :group.
10460
10461 2013-05-15 Juri Linkov <juri@jurta.org>
10462
10463 * isearch.el (isearch-char-by-name): Rename from
10464 `isearch-insert-char-by-name'. Doc fix.
10465 (isearch-forward): Mention `isearch-char-by-name' in
10466 the docstring. (Bug#13348)
10467
10468 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10469 `exit-minibuffer' instead of
10470 `isearch-nonincremental-exit-minibuffer'.
10471 (isearch-edit-string): Remove mention of
10472 `isearch-nonincremental-exit-minibuffer' from docstring.
10473 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10474 (isearch-forward-exit-minibuffer)
10475 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10476
10477 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10478
10479 * loadup.el: Just use unversioned DOC.
10480
10481 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10482 literals as extending to EOB.
10483 (nxml-last-fontify-end): Remove unused variable.
10484 (nxml-after-change1): Use with-silent-modifications.
10485 (nxml-extend-after-change-region): Simplify.
10486 (nxml-extend-after-change-region1): Remove function.
10487 (nxml-after-change1): Don't adjust for dependent regions.
10488 (nxml-fontify-matcher): Simplify.
10489 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10490 (xmltok-add-dependent): Remove function.
10491 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10492 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10493 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10494 unclosed <[[, <?, comment, and other literals as extending to EOB.
10495 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10496 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10497 Remove functions.
10498 (rng-do-some-validation-1): Don't mark dependent regions.
10499 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10500 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10501 (nxml-clear-dependent-regions): Remove functions.
10502 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10503 (nxml-ensure-scan-up-to-date):
10504 Don't clear&mark dependent regions.
10505
10506 2013-05-15 Leo Liu <sdl.web@gmail.com>
10507
10508 * progmodes/octave.el (octave-goto-function-definition):
10509 Improve and fix callers.
10510
10511 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10514 the setter (bug#14387).
10515
10516 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10517 surrounding group (bug#14402).
10518
10519 2013-05-14 Juri Linkov <juri@jurta.org>
10520
10521 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10522 (Bug#14390)
10523
10524 2013-05-14 Glenn Morris <rgm@gnu.org>
10525
10526 * progmodes/f90.el (f90-imenu-generic-expression):
10527 Fix typo in 2013-05-08 change. (Bug#14402)
10528
10529 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10530
10531 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10532 Remove signals for which replies are never received.
10533
10534 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10535
10536 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10537 (gdb-handler-alist, gdb-handler-number): Remove variables.
10538 (gdb-handler-list): New variable.
10539 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10540 (gdb-pending-handler-p, gdb-handle-reply)
10541 (gdb-remove-all-pending-triggers): New functions.
10542 (gdb-discard-unordered-replies): New defcustom.
10543 (gdb-handler): New defstruct.
10544 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10545 instead of gdb-pending-triggers. Update docstring.
10546 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10547 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10548 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10549 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10550 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10551 (gdb-frame-handler): Pending triggers are now automatically managed.
10552 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10553 Remove argument.
10554 (gdb-input): Automatically handles pending triggers. Update docstring.
10555 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10556 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10557 Update comments.
10558 (gdb-done-or-error): Now use gdb-handle-reply.
10559
10560 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10561
10562 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10563 gdb-debug-log.
10564
10565 2013-05-14 Glenn Morris <rgm@gnu.org>
10566
10567 * subr.el (user-emacs-directory-warning): New option.
10568 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10569
10570 2013-05-14 Leo Liu <sdl.web@gmail.com>
10571
10572 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10573 during redisplay.
10574 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10575 (octave-font-lock-texinfo-comment): Fix invalid search bound
10576 error: wrong side of point.
10577
10578 2013-05-14 Glenn Morris <rgm@gnu.org>
10579
10580 * progmodes/flymake.el (flymake-xml-program): New option.
10581 (flymake-xml-init): Use it.
10582
10583 * term/xterm.el: Provide a feature.
10584
10585 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10586
10587 2013-05-13 Glenn Morris <rgm@gnu.org>
10588
10589 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10590 Add compat aliases as a hack workaround. (Bug#14384)
10591
10592 2013-05-13 Leo Liu <sdl.web@gmail.com>
10593
10594 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10595 ###, and %!.
10596 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10597 C-M-q.
10598 (octave-comment-start-skip): Include %!.
10599 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10600
10601 2013-05-12 Leo Liu <sdl.web@gmail.com>
10602
10603 * progmodes/octave.el (inferior-octave-startup): Store the value
10604 of __octave_srcdir__ for octave-source-directories.
10605 (inferior-octave-check-process): New function refactored out of
10606 inferior-octave-send-list-and-digest.
10607 (octave-source-directories)
10608 (octave-find-definition-filename-function): New variables.
10609 (octave-source-directories)
10610 (octave-find-definition-default-filename): New functions.
10611 (octave-find-definition): Improve to find functions implemented in C++.
10612
10613 2013-05-12 Glenn Morris <rgm@gnu.org>
10614
10615 * calendar/diary-lib.el (diary-outlook-format-1):
10616 Don't include dayname in the output. (Bug#14349)
10617
10618 2013-05-11 Glenn Morris <rgm@gnu.org>
10619
10620 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10621
10622 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10623 Treat cc-provide like provide.
10624
10625 2013-05-11 Kevin Ryde <user42@zip.com.au>
10626
10627 * cus-dep.el (custom-make-dependencies):
10628 Use generated-autoload-load-name for the sake of files such
10629 such cedet/semantic/bovine/c.el, where the base file name
10630 is not in load-path. (Bug#5277)
10631
10632 2013-05-11 Glenn Morris <rgm@gnu.org>
10633
10634 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10635 Provide features.
10636
10637 2013-05-11 Leo Liu <sdl.web@gmail.com>
10638
10639 * progmodes/octave.el (octave-indent-comment): Improve.
10640 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10641 (octave-eldoc-function-signatures, octave-eldoc-function):
10642 New functions.
10643 (octave-mode, inferior-octave-mode): Add eldoc support.
10644
10645 2013-05-11 Richard Stallman <rms@gnu.org>
10646
10647 * epa.el (epa-decrypt-file): Take output file name as argument
10648 and read it using `interactive'.
10649
10650 2013-05-11 Leo Liu <sdl.web@gmail.com>
10651
10652 * progmodes/octave.el (octave-beginning-of-line)
10653 (octave-end-of-line): Check before using up-list because it jumps
10654 out of more syntactic contructs since moving to smie.
10655 (octave-indent-comment): New function.
10656 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10657 (octave-begin-keywords, octave-end-keywords)
10658 (octave-reserved-words, octave-smie-bnf-table)
10659 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10660
10661 2013-05-11 Glenn Morris <rgm@gnu.org>
10662
10663 * faces.el (internal-face-x-get-resource):
10664 * frame.el (ns-display-monitor-attributes-list):
10665 * calc/calc-aent.el (math-to-radians-2):
10666 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10667 Fix declarations.
10668
10669 * calc/calc-menu.el: Make it loadable in isolation.
10670
10671 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10672 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10673 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10674 (eudc-bbdb-query-internal): Require 'bbdb.
10675
10676 * lpr.el (lpr-headers-switches):
10677 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10678
10679 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10680
10681 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10682
10683 * term.el (term-set-escape-char): Make it idempotent.
10684
10685 2013-05-10 Leo Liu <sdl.web@gmail.com>
10686
10687 * progmodes/octave.el (inferior-octave-completion-table):
10688 No longer a function and all uses changed. Use cache to speed up
10689 completion due to bug#11906.
10690 (octave-beginning-of-defun): Re-write to be more general.
10691
10692 2013-05-10 Glenn Morris <rgm@gnu.org>
10693
10694 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10695
10696 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10697
10698 * comint.el (comint-redirect-send-command-to-process): Use :around
10699 rather than :override for comint-redirect-filter.
10700 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10701 Call it instead of comint-redirect-original-filter-function (which
10702 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10703
10704 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10705
10706 * frame.el (display-monitor-attributes-list): Add NS case.
10707 (ns-display-monitor-attributes-list): Declare.
10708
10709 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10710
10711 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10712
10713 2013-05-09 Glenn Morris <rgm@gnu.org>
10714
10715 * international/fontset.el (vertical-centering-font-regexp):
10716 Set standard-value.
10717
10718 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10719
10720 * bookmark.el (bookmark-search-delay):
10721 * cus-start.el (vertical-centering-font-regexp):
10722 * ps-mule.el (ps-mule-font-info-database-default):
10723 * ps-print.el (ps-default-fg, ps-default-bg):
10724 * type-break.el (type-break-good-break-interval):
10725 * whitespace.el (whitespace-indentation-regexp)
10726 (whitespace-space-after-tab-regexp):
10727 * emacs-lisp/testcover.el (testcover-1value-functions)
10728 (testcover-noreturn-functions, testcover-progn-functions)
10729 (testcover-prog1-functions):
10730 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10731 * eshell/em-glob.el (eshell-glob-translate-alist):
10732 * play/tetris.el (tetris-tty-colors):
10733 * progmodes/cpp.el (cpp-face-default-list):
10734 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10735 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10736 (idlwave-help-browser-generic-args):
10737 * progmodes/make-mode.el (makefile-special-targets-list):
10738 * progmodes/python.el (python-shell-virtualenv-path):
10739 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10740 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10741 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10742 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10743 * textmodes/reftex-vars.el (reftex-format-label-function):
10744 * textmodes/remember.el (remember-diary-file): Fix custom types.
10745
10746 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10747 Add :version.
10748
10749 2013-05-09 Leo Liu <sdl.web@gmail.com>
10750
10751 * progmodes/octave.el (inferior-octave-completion-at-point):
10752 Restore file completion. (Bug#14300)
10753 (inferior-octave-startup): Fix incorrect highlighting for the
10754 first prompt.
10755
10756 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * progmodes/ruby-mode.el: First cut at SMIE support.
10759 (ruby-use-smie): New var.
10760 (ruby-smie-grammar): New constant.
10761 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10762 (ruby-smie--forward-token, ruby-smie--backward-token)
10763 (ruby-smie-rules): New functions.
10764 (ruby-mode-variables): Setup SMIE if applicable.
10765
10766 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10767
10768 * simple.el (line-move-visual): Signal beginning/end of buffer
10769 only if vertical-motion moved less than it was requested. Avoids
10770 silly incorrect error messages when there are display strings with
10771 multiple newlines at EOL.
10772
10773 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10774
10775 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10776 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10777 (prolog-char-quote-workaround):
10778 * progmodes/cperl-mode.el (cperl-under-as-char):
10779 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10780 Mark as obsolete.
10781 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10782 their declaration.
10783 (vhdl-mode-syntax-table-init): Remove.
10784
10785 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10786 last change.
10787
10788 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10789 syntax for "_".
10790 (ld-script-font-lock-keywords):
10791 Change regexps to use things like \_< and \_>.
10792
10793 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10794 Change all regexps to use things like \_< and \_>.
10795
10796 * progmodes/autoconf.el (autoconf-definition-regexp)
10797 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10798 Handle a _ with symbol syntax.
10799 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10800
10801 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10802 Consolidate declaration.
10803 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10804 the declaration.
10805 (ada-create-syntax-table): Remove.
10806 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10807 already has the right syntax nowadays.
10808 (ada-goto-next-word): Don't change the syntax of "_".
10809
10810 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10811 with-wrapper-hook.
10812
10813 2013-05-08 Sam Steingold <sds@gnu.org>
10814
10815 * thingatpt.el (thing-at-point): Accept optional second argument
10816 NO-PROPERTIES to strip the text properties from the return value.
10817 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10818 to `thing-at-point' instead of stripping the properties ourselves.
10819 Also, when `thing-at-point' fails to find a url, prepend "http://"
10820 to the filename at point on the assumption that the user is
10821 pointing at something like gnu.org/gnu.
10822
10823 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10824
10825 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10826 * faces.el (crm-separator):
10827 Silence byte-compiler.
10828
10829 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10830 (tool-bar-map): Remove unneeded defvars.
10831
10832 2013-05-08 Leo Liu <sdl.web@gmail.com>
10833
10834 Re-work a fix for bug#10994 based on Le Wang's patch.
10835 * ido.el (ido-remove-consecutive-dups): New helper.
10836 (ido-completing-read): Use it.
10837 (ido-chop): Revert fix for bug#10994.
10838
10839 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10840
10841 * cus-edit.el (custom-save-variables):
10842 Pretty-print long values. (Bug#14187)
10843
10844 2013-05-08 Glenn Morris <rgm@gnu.org>
10845
10846 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10847 (m4-mode-syntax-table): Init in the defvar.
10848 (m4-mode-abbrev-table): Let define-derived-mode define it.
10849
10850 2013-05-08 Tom Tromey <tromey@redhat.com>
10851
10852 * progmodes/m4-mode.el (m4-mode-syntax-table):
10853 Do not treat "_" as word constituent. (Bug#14167)
10854
10855 2013-05-07 Glenn Morris <rgm@gnu.org>
10856
10857 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10858 Remove explicit eshell-isearch-cancel-map.
10859
10860 * progmodes/f90.el (f90-smart-end-names): New option.
10861 (f90-smart-end): Doc fix.
10862 (f90-end-block-optional-name): New constant.
10863 (f90-block-match): Respect f90-smart-end-names.
10864
10865 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10866
10867 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10868 about implicit semi-colons (bug#14218).
10869
10870 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10871
10872 * frame.el (display-monitor-attributes-list)
10873 (frame-monitor-attributes): New functions.
10874
10875 2013-05-06 Leo Liu <sdl.web@gmail.com>
10876
10877 * progmodes/octave.el (octave-syntax-propertize-function): Change
10878 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10879 (octave-font-lock-keywords): Use octave-operator-regexp.
10880 (octave-completion-at-point): Rename from
10881 octave-completion-at-point-function.
10882 (inferior-octave-directory-tracker): Robustify.
10883 (octave-text-functions): Remove and fix its uses. No such things
10884 any more.
10885
10886 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10887
10888 * emacs-lisp/trace.el (trace--display-buffer): New function.
10889 (trace-make-advice): Use it.
10890
10891 2013-05-06 Juri Linkov <juri@jurta.org>
10892
10893 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10894 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10895 Doc fix.
10896 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10897 in the help string. (Bug#12985)
10898
10899 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10900
10901 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10902
10903 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10904
10905 * progmodes/perl-mode.el: Add support for here documents.
10906 (perl-syntax-propertize-function): Match here-doc markers.
10907 (perl-syntax-propertize-special-constructs): Find their end.
10908 (perl-imenu-generic-expression): Use [:alnum:].
10909
10910 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10911 (advice--add-function): Refresh the advice if already present
10912 (bug#14317).
10913
10914 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10915
10916 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10917
10918 2013-05-06 Glenn Morris <rgm@gnu.org>
10919
10920 * w32-fns.el (w32-charset-info-alist): Declare.
10921
10922 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10923 of its defcustom properties.
10924 (eshell-cmpl-initialize): No need to load pcomplete.
10925
10926 * generic-x.el: No need to require comint when compiling.
10927
10928 * net/eudc-export.el: Make it loadable without bbdb.
10929 (top-level): Use require rather than load-library.
10930 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10931 (eudc-batch-export-records-to-bbdb)
10932 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10933 Require bbdb.
10934
10935 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10936
10937 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10938 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10939 some tweaks, instead.
10940
10941 2013-05-05 Leo Liu <sdl.web@gmail.com>
10942
10943 * progmodes/octave.el (octave-font-lock-keywords)
10944 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10945 (inferior-octave-send-list-and-digest): Improve error message.
10946 (octave-mode, inferior-octave-mode): Use setq-local.
10947 (octave-help): Set info-lookup-mode.
10948
10949 2013-05-05 Richard Stallman <rms@gnu.org>
10950
10951 * vc/compare-w.el (compare-windows-whitespace):
10952 Treat no-break space as whitespace.
10953
10954 * mail/rmailsum.el (rmail-summary-rmail-update):
10955 Detect empty summary and don't change selected message.
10956 (rmail-summary-goto-msg): Likewise.
10957
10958 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10959 Doc fixes, rename args.
10960
10961 2013-05-05 Alan Mackenzie <acm@muc.de>
10962
10963 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10964
10965 2013-05-05 Juri Linkov <juri@jurta.org>
10966
10967 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10968 to not add the length of the summary segment to the return value.
10969 (Bug#14125)
10970
10971 2013-05-05 Leo Liu <sdl.web@gmail.com>
10972
10973 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10974 (inferior-octave-output-filter): Remove.
10975 (octave-send-region, inferior-octave-startup): Fix callers.
10976 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10977 (octave-binary-file-extensions): New user variable.
10978 (octave-find-definition): Confirm if opening binary files.
10979 (octave-help-file): Use octave-find-definition to get the binary
10980 confirmation.
10981 (octave-help): Adjust for octave-help-file change.
10982
10983 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10984
10985 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10986 Merge the two entries that handle function definitions.
10987 (pascal--syntax-propertize): New const.
10988 (pascal-mode): Use it. Use setq-local.
10989
10990 2013-05-04 Glenn Morris <rgm@gnu.org>
10991
10992 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10993 (diary-from-outlook): Respect diary-from-outlook-function.
10994
10995 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10996
10997 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10998 Move the declaration from C.
10999 (read-minibuffer, eval-minibuffer): Move from C.
11000 (completion-setup-function): Avoid minibuffer-completion-contents.
11001
11002 2013-05-03 Leo Liu <sdl.web@gmail.com>
11003
11004 * progmodes/octave.el (octave-font-lock-keywords): Do not
11005 dehighlight 'end' in comments or strings.
11006 (octave-completing-read, octave-goto-function-definition):
11007 New helpers.
11008 (octave-help-buffer): New user variable.
11009 (octave-help-file, octave-help-function): New button types.
11010 (octave-help): New command and bind it to C-h ;.
11011 (octave-find-definition): New command and bind it to M-.
11012 (user-error): Alias to error if not defined.
11013
11014 2013-05-02 Leo Liu <sdl.web@gmail.com>
11015
11016 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11017 for \. (bug#14332)
11018 (octave-font-lock-keywords): Include [ and {.
11019
11020 2013-05-02 Leo Liu <sdl.web@gmail.com>
11021
11022 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11023 (inferior-octave): Remove calling comint-mode and return the buffer.
11024 (inferior-octave-startup): Cosmetic changes.
11025
11026 2013-05-02 Leo Liu <sdl.web@gmail.com>
11027
11028 * progmodes/octave.el (octave-syntax-propertize-function):
11029 Include the case when ' is at line beginning. (Bug#14336)
11030
11031 2013-05-02 Glenn Morris <rgm@gnu.org>
11032
11033 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11034 * desktop.el (vc-dir-mode): Just autoload it here.
11035
11036 2013-05-02 Alan Mackenzie <acm@muc.de>
11037
11038 Eliminate variable c-standard-font-lock-fontify-region-function.
11039 * progmodes/cc-mode.el
11040 (c-standard-font-lock-fontify-region-function): Remove.
11041 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11042
11043 2013-05-01 Leo Liu <sdl.web@gmail.com>
11044
11045 * progmodes/octave.el: Compatible with older emacs-24 releases.
11046 (inferior-octave-has-built-in-variables): Remove. Built-in
11047 variables were removed from Octave in 2007.
11048 (inferior-octave-startup): Fix uses.
11049 (comint-line-beginning-position): Remove compatibility code for
11050 emacs 21.
11051
11052 2013-05-01 Juri Linkov <juri@jurta.org>
11053
11054 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11055
11056 2013-05-01 Juri Linkov <juri@jurta.org>
11057
11058 * comint.el (comint-previous-matching-input): Don't print message
11059 "History item: %d" when `isearch-mode' is active.
11060 (comint-history-isearch-message): Print message "History item: %d"
11061 when `comint-input-ring-index' is not empty and this function is
11062 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11063
11064 2013-05-01 Leo Liu <sdl.web@gmail.com>
11065
11066 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11067 definitions. Use completion-at-point to insert keywords.
11068 (octave-abbrev-start): Remove.
11069 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11070
11071 2013-04-30 Leo Liu <sdl.web@gmail.com>
11072
11073 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11074 change.
11075
11076 2013-04-30 Alan Mackenzie <acm@muc.de>
11077
11078 Handle arbitrarily long C++ member initialisation lists.
11079 * progmodes/cc-engine.el (c-back-over-member-initializers):
11080 new function.
11081 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11082 (most) member init lists.
11083
11084 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11085
11086 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11087 variable.
11088
11089 2013-04-30 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (octave-variables): Remove. No builtin
11092 variables any more. All converted to functions.
11093 (octave-font-lock-keywords, octave-completion-at-point-function):
11094 Fix uses.
11095 (octave-font-lock-texinfo-comment): New user variable.
11096 (octave-texinfo-font-lock-keywords): New variable for texinfo
11097 comment block.
11098 (octave-function-comment-block): New face.
11099 (octave-font-lock-texinfo-comment): New function.
11100 (octave-mode): Font lock texinfo comment block.
11101
11102 2013-04-29 Leo Liu <sdl.web@gmail.com>
11103
11104 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11105 indexing expression.
11106 (octave-continuation-string): Do not use \.
11107 (inferior-octave-complete-impossible): Remove.
11108 (inferior-octave-completion-table)
11109 (inferior-octave-completion-at-point): Remove its uses.
11110 (inferior-octave-startup): completion_matches was introduced to
11111 Octave in 1996 so safe to assume it.
11112 (octave-function-file-comment): Improve to follow how Octave does it.
11113 (octave-update-function-file-comment): Tweak.
11114
11115 2013-04-29 Leo Liu <sdl.web@gmail.com>
11116
11117 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11118 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11119 (octave-function-file-comment): Fix typo.
11120 (octave-sync-function-file-names): Use read-char-choice.
11121
11122 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11123
11124 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11125 to t for the less important warnings.
11126
11127 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11128
11129 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11130
11131 2013-04-27 Glenn Morris <rgm@gnu.org>
11132
11133 * vc/log-view.el (log-view-current-entry):
11134 Treat "---" separator lines as part of the following rev. (Bug#14169)
11135
11136 2013-04-27 Juri Linkov <juri@jurta.org>
11137
11138 * subr.el (read-number): Doc fix about using it by interactive
11139 code letter `n'. (Bug#14254)
11140
11141 2013-04-27 Juri Linkov <juri@jurta.org>
11142
11143 * desktop.el (desktop-auto-save-timeout): New option.
11144 (desktop-file-checksum): New variable.
11145 (desktop-save): Add optional arg `auto-save' and don't auto-save
11146 if nothing changed.
11147 (desktop-auto-save-timer): New variable.
11148 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11149 (after-init-hook): Call `desktop-auto-save-set-timer'.
11150 Suggested by Reuben Thomas <rrt@sc3d.org> in
11151 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11152
11153 2013-04-27 Leo Liu <sdl.web@gmail.com>
11154
11155 * progmodes/octave.el (octave-function-file-p)
11156 (octave-skip-comment-forward, octave-function-file-comment)
11157 (octave-update-function-file-comment): New functions.
11158 (octave-mode-map): Bind C-c ; to
11159 octave-update-function-file-comment.
11160 (octave-mode-menu): Add octave-update-function-file-comment.
11161 (octave-mode, inferior-octave-mode): Fix doc-string.
11162 (octave-insert-defun): Conform to Octave's coding convention.
11163 (Bug#14285)
11164
11165 * files.el (basic-save-buffer): Don't let errors in
11166 before-save-hook prevent saving buffer.
11167
11168 2013-04-20 Roland Winkler <winkler@gnu.org>
11169
11170 * faces.el (read-face-name): Use completing-read if arg multiple
11171 is nil.
11172
11173 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11174
11175 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11176 displayed, move point to after the totals line.
11177 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11178 for the details.
11179
11180 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11181
11182 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11183 Add current dir to the load-path.
11184 (package-generate-autoloads): Don't rely on
11185 autoload-ensure-default-file.
11186
11187 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11188
11189 * textmodes/remember.el (remember-store-in-files): Document that
11190 the file name format is passed to `format-time-string'.
11191
11192 2013-04-26 Leo Liu <sdl.web@gmail.com>
11193
11194 * progmodes/octave.el (octave-sync-function-file-names): New function.
11195 (octave-mode): Use it in before-save-hook.
11196
11197 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11200 (bug#14274).
11201
11202 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11203 \n and comment, even if it's not an implicit ; (bug#14218).
11204
11205 2013-04-26 Glenn Morris <rgm@gnu.org>
11206
11207 * subr.el (read-number): Once more use `read' rather than
11208 `string-to-number', to trap non-numeric input. (Bug#14254)
11209
11210 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11211
11212 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11213 Use `syntax-multiline' text property consistently instead of
11214 `font-lock-multiline'. (Bug#14237)
11215
11216 2013-04-26 Glenn Morris <rgm@gnu.org>
11217
11218 * emacs-lisp/shadow.el (list-load-path-shadows):
11219 No longer necessary to check for duplicate simple.el, since
11220 2012-07-07 change to init_lread to not include installation lisp
11221 directories in load-path when running uninstalled. (Bug#14270)
11222
11223 2013-04-26 Leo Liu <sdl.web@gmail.com>
11224
11225 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11226 (octave-mode, inferior-octave-mode): Use setq-local.
11227 (octave-not-in-string-or-comment-p): Rename to
11228 octave-in-string-or-comment-p.
11229 (octave-in-comment-p, octave-in-string-p)
11230 (octave-in-string-or-comment-p): Replace defsubst with defun.
11231
11232 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11233
11234 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11235
11236 2013-04-25 Bastien Guerry <bzg@gnu.org>
11237
11238 * textmodes/remember.el (remember-data-directory)
11239 (remember-directory-file-name-format): Fix custom types.
11240
11241 2013-04-25 Leo Liu <sdl.web@gmail.com>
11242
11243 * progmodes/octave.el (octave-completion-at-point-function):
11244 Make use of inferior octave process.
11245 (octave-initialize-completions): Remove.
11246 (inferior-octave-completion-table): New function.
11247 (inferior-octave-completion-at-point): Use it.
11248 (octave-completion-alist): Remove.
11249
11250 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11253 (opascal-mode-syntax-table): New var.
11254 (opascal-literal-kind, opascal-is-literal-end)
11255 (opascal-literal-token-at): Rewrite.
11256 (opascal--literal-start-re, opascal-font-lock-keywords)
11257 (opascal--syntax-propertize): New constants.
11258 (opascal-font-lock-defaults): Adjust.
11259 (opascal-mode): Use them. Set comment-<foo> variables as well.
11260 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11261 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11262 (delphi-other-face, opascal-other-face): Remove face variables.
11263 (opascal-save-state): Remove macro.
11264 (opascal-fontifying-progress-step): Remove constant.
11265 (opascal--ignore-changes): Remove var.
11266 (opascal-set-token-property, opascal-parse-next-literal)
11267 (opascal-is-stable-literal, opascal-complete-literal)
11268 (opascal-is-literal-start, opascal-face-of)
11269 (opascal-parse-region, opascal-parse-region-until-stable)
11270 (opascal-fontify-region, opascal-after-change)
11271 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11272 (opascal-debug-parse-region, opascal-debug-parse-window)
11273 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11274 (opascal-debug-fontify-buffer): Remove.
11275 (opascal-debug-mode-map): Adjust accordingly.
11276
11277 2013-04-25 Leo Liu <sdl.web@gmail.com>
11278
11279 Merge octave-mod.el and octave-inf.el into octave.el with some
11280 cleanups.
11281 * progmodes/octave.el: New file renamed from octave-mod.el.
11282 * progmodes/octave-inf.el: Merged into octave.el.
11283 * progmodes/octave-mod.el: Renamed to octave.el.
11284
11285 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11286
11287 * textmodes/reftex-vars.el
11288 (reftex-label-ignored-macros-and-environments): New defcustom.
11289
11290 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11291
11292 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11293
11294 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11295 (smie-indent-keyword): Improve the check to ensure that the next
11296 comment is really on the same line.
11297 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11298
11299 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11300 semi-colons if the line is not otherwise empty (bug#14218).
11301
11302 2013-04-25 Glenn Morris <rgm@gnu.org>
11303
11304 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11305
11306 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * progmodes/opascal.el (opascal-set-token-property): Rename from
11309 opascal-set-text-properties and only set `token' (bug#14134).
11310 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11311 (opascal-literal-text-properties): Remove.
11312 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11313 Adjust callers.
11314
11315 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11316
11317 * textmodes/remember.el (remember-handler-functions): Add an
11318 option for a new handler `remember-store-in-files'.
11319 (remember-data-directory, remember-directory-file-name-format):
11320 New options.
11321 (remember-store-in-files): New function to store remember notes
11322 as separate files within a directory.
11323
11324 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11325
11326 * progmodes/compile.el (compilation-next-error-function):
11327 Pass "formats" to compilation-find-file (bug#11777).
11328
11329 2013-04-24 Glenn Morris <rgm@gnu.org>
11330
11331 * vc/vc-bzr.el (vc-bzr-print-log):
11332 * vc/vc-hg.el (vc-hg-print-log):
11333 * vc/vc-svn.el (vc-svn-print-log):
11334 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11335
11336 * vc/vc-bzr.el (vc-bzr-print-log):
11337 * vc/vc-cvs.el (vc-cvs-print-log):
11338 * vc/vc-git.el (vc-git-print-log):
11339 * vc/vc-hg.el (vc-hg-print-log):
11340 * vc/vc-mtn.el (vc-mtn-print-log):
11341 * vc/vc-rcs.el (vc-rcs-print-log):
11342 * vc/vc-sccs.el (vc-sccs-print-log):
11343 * vc/vc-svn.el (vc-svn-print-log):
11344 * vc/vc.el (vc-print-log-internal): Doc fixes.
11345
11346 2013-04-23 Glenn Morris <rgm@gnu.org>
11347
11348 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11349 Remove venerable code attempting to avoid substitute-command-keys.
11350
11351 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11352
11353 * textmodes/reftex-vars.el (reftex-label-regexps):
11354 Call `reftex-compile-variables' after changes to this variable.
11355
11356 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11357
11358 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11359 Use lexical-binding.
11360 (jit-lock-force-redisplay): Use markers, check buffer's continued
11361 existence and beware narrowed buffers.
11362 (jit-lock-fontify-now): Adjust call accordingly.
11363
11364 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11365
11366 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11367 to avoid misleading the user.
11368
11369 2013-04-22 Leo Liu <sdl.web@gmail.com>
11370
11371 * info-look.el: Prefer latex2e.info. (Bug#14240)
11372
11373 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11374
11375 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11376
11377 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11378 * net/tramp.el (tramp-call-process): ... here.
11379 (tramp-set-completion-function, tramp-parse-putty):
11380 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11381 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11382 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11383 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11384 (tramp-call-local-coding-command): Use `tramp-call-process'
11385 instead of `tramp-compat-call-process'.
11386
11387 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11388 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11389 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11390 (tramp-find-inline-compress): Improve traces.
11391 (tramp-maybe-send-script): Check for Perl binary.
11392 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11393
11394 2013-04-22 Daiki Ueno <ueno@gnu.org>
11395
11396 * epg.el (epg-context-pinentry-mode): New function.
11397 (epg-context-set-pinentry-mode): New function.
11398 (epg--start): Pass --pinentry-mode option to gpg command.
11399
11400 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11401
11402 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11403 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11404 `completion-at-point'. (Bug#13774)
11405
11406 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11407 default key binding for `describe-distribution' has been moved to
11408 `C-h C-o'. (Bug#13970)
11409
11410 2013-04-21 Glenn Morris <rgm@gnu.org>
11411
11412 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11413 Add doc strings.
11414 (vc-print-log): Clarify interactive prompt.
11415
11416 2013-04-20 Glenn Morris <rgm@gnu.org>
11417
11418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11419 No longer include timestamp etc information.
11420
11421 2013-04-20 Roland Winkler <winkler@gnu.org>
11422
11423 * faces.el (read-face-name): Bug fix, return just one face if arg
11424 multiple is nil. (Bug#14209)
11425
11426 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11427
11428 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11429 (remove-function): Autoload.
11430
11431 * comint.el (comint-redirect-original-filter-function): Remove.
11432 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11433 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11434 (vc-cvs-annotate-command):
11435 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11436 * progmodes/prolog.el (prolog-consult-compile):
11437 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11438 Use add/remove-function instead.
11439 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11440 (gud-tooltip-process-output, gud-tooltip-tips):
11441 Use add/remove-function instead.
11442 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11443 (scheme-interaction-mode, exit-scheme-interaction-mode):
11444 Use add/remove-function instead.
11445
11446 * vc/vc-dispatcher.el: Use lexical-binding.
11447 (vc--process-sentinel): Rename from vc-process-sentinel.
11448 Change last arg to be the code to run. Don't use vc-previous-sentinel
11449 and vc-sentinel-commands any more.
11450 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11451 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11452
11453 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11454
11455 * progmodes/sh-script.el (sh-imenu-generic-expression):
11456 Handle function names with a single character. (Bug#14111)
11457
11458 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11459
11460 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11461 for subroutines defined in an eval (bug#14182).
11462
11463 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11464
11465 * bookmark.el (bookmark-completing-read): Improve handling of empty
11466 string (bug#14176).
11467
11468 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11471
11472 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11473
11474 New faster Imenu implementation (bug#14058).
11475 * progmodes/python.el:
11476 (python-imenu-prev-index-position):
11477 (python-imenu-format-item-label-function)
11478 (python-imenu-format-parent-item-label-function)
11479 (python-imenu-format-parent-item-jump-label-function):
11480 New vars.
11481 (python-imenu-format-item-label)
11482 (python-imenu-format-parent-item-label)
11483 (python-imenu-format-parent-item-jump-label)
11484 (python-imenu--put-parent, python-imenu--build-tree)
11485 (python-imenu-create-index, python-imenu-create-flat-index)
11486 (python-util-popn): New functions.
11487 (python-mode): Set imenu-create-index-function to
11488 python-imenu-create-index.
11489
11490 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11491
11492 * winner.el (winner-active-region): Use region-active-p, activate-mark
11493 and deactivate-mark (bug#14225).
11494
11495 * simple.el (deactivate-mark): Don't inline it.
11496
11497 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11498
11499 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11500
11501 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11502
11503 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11504 file extensions from the archive-mode entry in order to prefer
11505 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11506
11507 2013-04-18 Leo Liu <sdl.web@gmail.com>
11508
11509 * bindings.el (help-event-list): Add ?\?.
11510
11511 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * subr.el (with-wrapper-hook): Declare obsolete.
11514 * simple.el (filter-buffer-substring-function): New hook.
11515 (filter-buffer-substring): Use it.
11516 (filter-buffer-substring-functions): Mark obsolete.
11517 * minibuffer.el (completion-in-region-function): New hook.
11518 (completion-in-region): Use it.
11519 (completion-in-region-functions): Mark obsolete.
11520 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11521 * abbrev.el (abbrev-expand-function): New hook.
11522 (expand-abbrev): Use it.
11523 (abbrev-expand-functions): Mark obsolete.
11524 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11525 and :filter-return.
11526
11527 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11528
11529 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11530 and do not care about match data.
11531
11532 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11533
11534 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11535 completion tables when completing error conditions and
11536 `declare' arguments.
11537 (lisp-complete-symbol, field-complete): Mark as obsolete.
11538 (check-parens): Unmatched parens are user errors.
11539 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11540
11541 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11542
11543 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11544 command changed buffer (ie. `flyspell-pre-buffer' is not current
11545 buffer), which prevents making decisions based on invalid value of
11546 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11547 cause an error when `flyspell-pre-point' was nil after switching
11548 buffers.
11549 (flyspell-post-command-hook): No longer needs to change buffers when
11550 checking pre-word. While at it remove unnecessary progn.
11551
11552 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11553
11554 * textmodes/ispell.el (ispell-add-per-file-word-list):
11555 Fix `flyspell-correct-word-before-point' error when accepting
11556 words and `coment-padding' is an integer by using
11557 `comment-normalize-vars' (Bug #14214).
11558
11559 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11560
11561 New defun movement commands.
11562 * progmodes/python.el (python-nav--syntactically)
11563 (python-nav--forward-defun, python-nav-backward-defun)
11564 (python-nav-forward-defun): New functions.
11565
11566 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11567
11568 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11569 (python-syntax-context): Use named compiler-macro for backwards
11570 compatibility with Emacs 24.x.
11571
11572 2013-04-17 Leo Liu <sdl.web@gmail.com>
11573
11574 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11575 octave-hide-process-buffer.
11576
11577 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11578
11579 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11580 (bug#14216).
11581
11582 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11583
11584 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11585 Fix adjustment of offset when receiving incomplete responses from GDB
11586 (bug#14129).
11587
11588 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11591 python-mode-abbrev-table.
11592 (python-skeleton-define): Adjust accordingly.
11593 (python-mode-abbrev-table): New table that inherits from it so that
11594 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11595
11596 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11597 (abbrev-symbol): Use it.
11598 (abbrev--before-point): Use it since we already handle inheritance.
11599
11600 2013-04-16 Leo Liu <sdl.web@gmail.com>
11601
11602 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11603 binding to info-lookup-symbol.
11604
11605 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11606
11607 * minibuffer.el (completion--twq-all):
11608 * term/ns-win.el (ns-initialize-window-system):
11609 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11610
11611 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11614 global bindings.
11615
11616 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11617
11618 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11619
11620 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11621 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11622 to nil.
11623 (ruby-end-of-defun): Remove the unused arg, change the docstring
11624 to reflect that this function is only used as the value of
11625 `end-of-defun-function'.
11626 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11627 to reflect an earlier change that beginning/end-of-defun functions
11628 jump between methods in a class definition, as well as top-level
11629 functions.
11630
11631 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11632
11633 * minibuffer.el (minibuffer-complete): Don't just scroll
11634 a *Completions* that's been iconified.
11635 (minibuffer-force-complete): Make sure repetitions do cycle when going
11636 through completion-in-region -> minibuffer-complete.
11637
11638 2013-04-15 Alan Mackenzie <acm@muc.de>
11639
11640 Correct the placement of c-cpp-delimiters when there're #s not at
11641 col 0.
11642
11643 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11644 place a submatch around the #.
11645 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11646 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11647 on the #, not BOL.
11648
11649 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11650
11651 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11652 (advice--member-p): New arg `name'.
11653 (advice--add-function, advice-member-p): Use it (bug#14202).
11654
11655 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11656
11657 Reformulate java imenu-generic-expression.
11658 The old expression contained ill formed regexps.
11659
11660 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11661 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11662 (cc-imenu-java-method-arg-regexp): New defconsts.
11663 (cc-imenu-java-build-type-args-regex): New defun.
11664 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11665 handling of spaces in the regexp.
11666
11667 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11668
11669 * textmodes/ispell.el (ispell-command-loop): Remove
11670 flyspell highlight of a word when ispell accepts it (bug #14178).
11671
11672 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11673
11674 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11675 uses code from the previous `ange-ftp-run-real-handler'.
11676 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11677 only in case that function exist. This is needed for proper
11678 unloading of Tramp.
11679
11680 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11681
11682 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11683
11684 * textmodes/reftex.el (reftex-compile-variables): Use it.
11685
11686 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * files.el (normal-mode): Only use default major-mode if no other mode
11689 was specified.
11690
11691 * emacs-lisp/trace.el (trace-values): New function.
11692
11693 * files.el: Allow : in local variables (bug#14089).
11694 (hack-local-variable-regexp): New var.
11695 (hack-local-variables-prop-line, hack-local-variables): Use it.
11696
11697 2013-04-13 Roland Winkler <winkler@gnu.org>
11698
11699 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11700 data before it gets modified by bibtex-beginning-of-entry.
11701
11702 2013-04-13 Roland Winkler <winkler@gnu.org>
11703
11704 * textmodes/bibtex.el (bibtex-url): Doc fix.
11705
11706 2013-04-13 Roland Winkler <winkler@gnu.org>
11707
11708 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11709 does not visit a BibTeX file, exclude it from the list of buffers
11710 returned by bibtex-initialize.
11711
11712 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11713
11714 * window.el (split-window): Remove interactive form, since as a
11715 command this function is a special case of split-window-below.
11716 Correct doc string.
11717
11718 2013-04-12 Roland Winkler <winkler@gnu.org>
11719
11720 * faces.el (read-face-name): Do not override value of arg default.
11721 Allow single faces and strings as default values. Remove those
11722 elements from return value that are not faces.
11723 (describe-face): Simplify.
11724 (face-at-point): New optional args thing and multiple so that this
11725 function can provide the same functionality previously provided by
11726 read-face-name.
11727 (make-face-bold, make-face-unbold, make-face-italic)
11728 (make-face-unitalic, make-face-bold-italic, invert-face)
11729 (modify-face, read-face-and-attribute): Use face-at-point.
11730
11731 * cus-edit.el (customize-face, customize-face-other-window)
11732 * cus-theme.el (custom-theme-add-face)
11733 * face-remap.el (buffer-face-set)
11734 * facemenu.el (facemenu-set-face): Use face-at-point.
11735
11736 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11737
11738 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11739
11740 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11741
11742 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11743 off leading { and trailing } from field values.
11744
11745 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * emacs-lisp/timer.el (timer--check): New function.
11748 (timer--time, timer-set-function, timer-event-handler): Use it.
11749 (timer-set-idle-time): Simplify.
11750 (timer--activate): CSE.
11751 (timer-event-handler): Give more info in error message.
11752 (internal-timer-start-idle): New function, moved from C.
11753
11754 * mpc.el (mpc-proc): Add `restart' argument.
11755 (mpc-proc-cmd): Use it.
11756 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11757 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11758 less often.
11759
11760 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11761
11762 * progmodes/sh-script.el: Implement `sh-mode' own
11763 `add-log-current-defun-function' (bug#14112).
11764 (sh-current-defun-name): New function.
11765 (sh-mode): Use the function.
11766
11767 2013-04-09 Bastien Guerry <bzg@gnu.org>
11768
11769 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11770
11771 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11772
11773 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11774
11775 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11776 timer (bug#14156).
11777
11778 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11779
11780 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11781 declaration.
11782
11783 2013-04-07 Leo Liu <sdl.web@gmail.com>
11784
11785 * pcmpl-x.el: New file.
11786
11787 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11788
11789 Do not set x-display-name until X connection is established.
11790 This is needed to prevent from weird situation described at
11791 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11792 * frame.el (make-frame): Set x-display-name after call to
11793 window system initialization function, not before.
11794 * term/x-win.el (x-initialize-window-system): Add optional
11795 display argument and use it.
11796 * term/w32-win.el (w32-initialize-window-system):
11797 * term/ns-win.el (ns-initialize-window-system):
11798 * term/pc-win.el (msdos-initialize-window-system):
11799 Add compatible optional display argument.
11800
11801 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11802
11803 * files.el (normal-backup-enable-predicate): On MS-Windows and
11804 MS-DOS compare truenames of temporary-file-directory and of the
11805 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11806 don't fail comparison by compare-strings. Also, compare file
11807 names case-insensitively on MS-Windows and MS-DOS.
11808
11809 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11810
11811 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11812 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11813
11814 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11815
11816 * whitespace.el (whitespace-color-on, whitespace-color-off):
11817 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11818
11819 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11820
11821 * ispell.el (ispell-set-spellchecker-params):
11822 Really set `ispell-args' for all equivs.
11823
11824 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * ido.el (ido-completions): Use extra elements of ido-decorations
11827 (bug#14143).
11828 (ido-decorations): Update docstring.
11829
11830 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11831
11832 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11833 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11834 nil during initialization, in order not to miss changes since the
11835 file was opened. (Bug#14140)
11836
11837 2013-04-05 Leo Liu <sdl.web@gmail.com>
11838
11839 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11840
11841 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11842
11843 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11844
11845 2013-04-04 Glenn Morris <rgm@gnu.org>
11846
11847 * electric.el (electric-pair-inhibit-predicate): Add :version.
11848
11849 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11852 when a package is required several times (bug#14082).
11853
11854 2013-04-04 Roland Winkler <winkler@gnu.org>
11855
11856 * faces.el (read-face-name): Behave as promised by the docstring.
11857 Assume that arg default is a list of faces.
11858 (describe-face): Call read-face-name with list of default faces.
11859
11860 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11861
11862 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11863 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11864 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11865 the header.
11866 (bookmark-exit-hook-internal): Save even if list is empty.
11867
11868 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11869
11870 * emacs-lisp/package.el (package-pinned-packages): New var.
11871 (package--add-to-archive-contents): Obey it (bug#14118).
11872
11873 2013-04-03 Alan Mackenzie <acm@muc.de>
11874
11875 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11876 Also adapt to the new values of element 7 of a parse state.
11877
11878 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11879 parameter `not-in-delimiter'. Handle being inside comment opener.
11880 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11881 character in case we're typing a '*' after a '/'.
11882 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11883 instead by passing the parameter to c-state-pp-to-literal.
11884
11885 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11886 for elt. 7 of a parse state.
11887
11888 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11889
11890 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11891 * international/latin1-disp.el, international/mule-util.el:
11892 * language/cyril-util.el, language/european.el, language/ind-util.el:
11893 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11894 * language/tibetan.el, language/viet-util.el:
11895 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11896
11897 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11898
11899 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11900 (electric-pair-post-self-insert-function): Use it.
11901 (electric-pair-default-inhibit): New function, extracted from
11902 electric-pair-post-self-insert-function.
11903
11904 2013-03-31 Roland Winkler <winkler@gnu.org>
11905
11906 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11907
11908 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11911
11912 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11913
11914 Un-indent after "pass" and "return" statements (Bug#13888)
11915 * progmodes/python.el (python-indent-block-enders): New var.
11916 (python-indent-calculate-indentation): Use it.
11917
11918 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11919
11920 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11921 defun. Defining it as defalias could introduce too eager
11922 byte-compiler optimization. (Bug#14030)
11923
11924 2013-03-30 Chong Yidong <cyd@gnu.org>
11925
11926 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11927
11928 2013-03-30 Leo Liu <sdl.web@gmail.com>
11929
11930 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11931 (kmacro-execute-from-register): Pass the keyboard macro to
11932 kmacro-call-macro or repeating won't work correctly.
11933
11934 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11935
11936 * progmodes/subword.el: Back to using `forward-symbol'.
11937
11938 * subr.el (forward-whitespace, forward-symbol)
11939 (forward-same-syntax): Move from thingatpt.el.
11940
11941 2013-03-29 Leo Liu <sdl.web@gmail.com>
11942
11943 * kmacro.el (kmacro-to-register): New command.
11944 (kmacro-execute-from-register): New function.
11945 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11946
11947 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 * mpc.el: Use defvar-local and setq-local.
11950 (mpc--proc-connect): Connection failures are not bugs.
11951 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11952 (mpc-volume-map): Bind to the up-events.
11953
11954 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11955
11956 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11957 instead of `forward-symbol'.
11958
11959 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11962 (edebug--recursive-edit): Use it.
11963 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11964 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11965
11966 2013-03-28 Leo Liu <sdl.web@gmail.com>
11967
11968 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11969
11970 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11971
11972 * facemenu.el (list-colors-callback): New defvar.
11973 (list-colors-redisplay): New function.
11974 (list-colors-display): Install list-colors-redisplay as the
11975 revert-buffer-function. (Bug#14063)
11976
11977 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11980 and suffixes don't overlap (bug#14061).
11981
11982 * case-table.el: Use lexical-binding.
11983 (case-table-get-table): New function.
11984 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11985
11986 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11987
11988 * progmodes/subword.el: Add `superword-mode' to do word motion
11989 over symbol_words (parallels and leverages `subword-mode' which
11990 does word motion inside MixedCaseWords).
11991
11992 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11993
11994 * eshell/em-unix.el: Move su and sudo to...
11995 * eshell/em-tramp.el: ...Eshell tramp module.
11996
11997 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11998
11999 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12000 Change return value to be a sexp. Delay `get-buffer' to after
12001 restoring the desktop (bug#13951).
12002
12003 2013-03-26 Leo Liu <sdl.web@gmail.com>
12004
12005 * register.el: Move semantic tag handling back to
12006 cedet/semantic/senator.el. (Bug#14052)
12007
12008 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12009
12010 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12011 into the prompt either (bug#13963).
12012
12013 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12016 part of "(error-foo)".
12017
12018 2013-03-24 Juri Linkov <juri@jurta.org>
12019
12020 * replace.el (list-matching-lines-prefix-face): New defcustom.
12021 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12022 `occur-engine' if `face-differs-from-default-p' returns t.
12023 (occur-engine): Add `,' inside backquote construct to evaluate
12024 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12025 Pass `prefix-face' to the functions `occur-context-lines' and
12026 `occur-engine-add-prefix'.
12027 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12028 `prefix-face' and propertize the prefix with `prefix-face'.
12029 (Bug#14017)
12030
12031 2013-03-24 Leo Liu <sdl.web@gmail.com>
12032
12033 * nxml/rng-valid.el (rng-validate-while-idle)
12034 (rng-validate-quick-while-idle): Guard against deleted buffer.
12035 (Bug#13999)
12036
12037 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12038 is the last entry in kill-buffer-hook.
12039
12040 * files.el (kill-buffer-hook): Doc fix.
12041
12042 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12043
12044 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12045 Make it safe-local.
12046
12047 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12048
12049 2013-03-23 Leo Liu <sdl.web@gmail.com>
12050
12051 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12052 Remove.
12053
12054 * nxml/rng-valid.el (rng-validate-mode)
12055 (rng-after-change-function, rng-do-some-validation):
12056 * nxml/rng-maint.el (rng-validate-buffer):
12057 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12058 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12059 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12060 (nxml-extend-after-change-region): Use with-silent-modifications.
12061
12062 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12063 timer-idle-list.
12064
12065 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12066 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12067 timer-idle-list. (Bug#13999)
12068
12069 2013-03-23 Juri Linkov <juri@jurta.org>
12070
12071 * info.el (info-index-match): New face.
12072 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12073 main pattern and add text properties with the new face to matches
12074 in index entries relative to the beginning of the index entry.
12075 (Bug#14015)
12076
12077 2013-03-21 Eric Ludlam <zappo@gnu.org>
12078
12079 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12080 Inhibit read only while inserting objects.
12081
12082 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12083
12084 * progmodes/cfengine.el: Update docs to mention
12085 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12086 symbol motion. Remove "_" from the word syntax.
12087
12088 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12089
12090 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12091 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12092
12093 2013-03-20 Juri Linkov <juri@jurta.org>
12094
12095 * info.el (Info-next-reference-or-link)
12096 (Info-prev-reference-or-link): New functions.
12097 (Info-next-reference, Info-prev-reference): Use them.
12098 (Info-try-follow-nearest-node): Handle footnote navigation.
12099 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12100
12101 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12104 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12105
12106 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12107
12108 Suppress unnecessary non-ASCII chatter during build process.
12109 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12110 (batch-skkdic-convert): Suppress most of the chatter.
12111 It's not needed so much now that machines are faster,
12112 and its non-ASCII component was confusing; see Dmitry Gutov in
12113 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12114
12115 2013-03-20 Leo Liu <sdl.web@gmail.com>
12116
12117 * ido.el (ido-chop): Fix bug#10994.
12118
12119 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12120
12121 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12122 Remove vars.
12123 (whitespace-color-on, whitespace-color-off):
12124 Use `font-lock-fontify-buffer' (Bug#13817).
12125
12126 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12127
12128 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12129 remapping in mode-line.
12130 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12131
12132 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12133
12134 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12135 value for `whitespace-line' face (Bug#13875).
12136 (whitespace-font-lock-keywords): Change description.
12137 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12138 the constructed keywords instead.
12139 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12140
12141 2013-03-19 Leo Liu <sdl.web@gmail.com>
12142
12143 * progmodes/compile.el (compilation-display-error): New command.
12144 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12145 C-o. (Bug#13992)
12146
12147 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12148
12149 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12150
12151 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12152
12153 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12154
12155 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12156
12157 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12158
12159 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12160 * net/tramp-gvfs.el (top):
12161 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12162 (tramp-handle-shell-command): Use it.
12163 (tramp-dissect-file-name): Raise an error when hostname is a
12164 method name, and neither method nor user is specified.
12165
12166 * net/trampver.el: Update release number.
12167
12168 2013-03-18 Leo Liu <sdl.web@gmail.com>
12169
12170 Make sure eldoc can be turned off properly.
12171 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12172 eldoc-mode.
12173 (eldoc-display-message-p): Revert last change.
12174 (eldoc-display-message-no-interference-p)
12175 (eldoc-print-current-symbol-info): Tweak.
12176
12177 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12178
12179 * doc-view.el (doc-view-new-window-function): Check the new window
12180 overlay's display property instead the char property of the
12181 buffer's first char. Use `with-selected-window' instead of
12182 `save-window-excursion' with `select-window'.
12183 (doc-view-document->bitmap): Check the current doc-view overlay's
12184 display property instead the char property of the buffer's first char.
12185
12186 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12187
12188 Automate the build of ja-dic.el (Bug#13984).
12189 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12190 from the input, rather than assume that it's been done for us by the
12191 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12192 the current date into a ja-dic.el comment, as that complicates
12193 regression testing.
12194
12195 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * whitespace.el: Fix double evaluation.
12198 (whitespace-space, whitespace-hspace, whitespace-tab)
12199 (whitespace-newline, whitespace-trailing, whitespace-line)
12200 (whitespace-space-before-tab, whitespace-indentation)
12201 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12202 obsolete defvars.
12203 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12204 (whitespace-color-on): Use a single font-lock-add-keywords call.
12205 Fix double-evaluation of face variables.
12206
12207 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * net/tramp-adb.el (tramp-adb-parse-device-names):
12210 Use `start-process' instead of `call-process'. Otherwise, the
12211 function might be blocked under MS Windows. (Bug#13299)
12212
12213 2013-03-17 Leo Liu <sdl.web@gmail.com>
12214
12215 Extend eldoc to display info in the mode-line. (Bug#13978)
12216 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12217 (eldoc-mode-line-string): New variable.
12218 (eldoc-minibuffer-message): New function.
12219 (eldoc-message-function): New variable.
12220 (eldoc-message): Use it.
12221 (eldoc-display-message-p)
12222 (eldoc-display-message-no-interference-p):
12223 Support eldoc-post-insert-mode.
12224
12225 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12226 (eval-expression): Run it.
12227
12228 2013-03-17 Roland Winkler <winkler@gnu.org>
12229
12230 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12231 strings in the list of return values.
12232
12233 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12234
12235 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12236 radix before checking for HMS forms.
12237
12238 2013-03-16 Leo Liu <sdl.web@gmail.com>
12239
12240 * progmodes/scheme.el: Add indentation and font-locking for λ.
12241 (Bug#13975)
12242
12243 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12246 token before point (bug#13942).
12247
12248 2013-03-16 Leo Liu <sdl.web@gmail.com>
12249
12250 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12251
12252 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12253
12254 * startup.el (command-line-normalize-file-name): Fix handling of
12255 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12256 <xfq.free@gmail.com> in
12257 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12258
12259 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12260
12261 Sync with Tramp 2.2.7.
12262
12263 * net/trampver.el: Update release number.
12264
12265 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12266
12267 * doc-view.el: Fix bug#13887.
12268 (doc-view-insert-image): Don't modify overlay associated to
12269 non-live windows, and implement horizontal centering of image in
12270 case it's smaller than the window.
12271 (doc-view-new-window-function): Force redisplay of new windows on
12272 doc-view buffers.
12273
12274 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12275
12276 * saveplace.el (save-place-alist-to-file): Don't sort
12277 `save-place-alist', just pretty-print it (bug#13882).
12278
12279 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12280
12281 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12282 Check whether `default-file-name-coding-system' is bound.
12283 It isn't in XEmacs.
12284
12285 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12286
12287 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12288 backquotes for `obsolete' (bug#13929).
12289
12290 * international/mule.el (find-auto-coding): Include file name in
12291 obsolescence warning (bug#13922).
12292
12293 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12294
12295 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12296 for CFEngine 3-specific indentation.
12297 (cfengine3-indent-line): Use it. Fix up category regex.
12298 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12299
12300 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * type-break.el (type-break-file-name):
12303 * textmodes/remember.el (remember-data-file):
12304 * strokes.el (strokes-file):
12305 * shadowfile.el (shadow-initialize):
12306 * saveplace.el (save-place-file):
12307 * ps-bdf.el (bdf-cache-file):
12308 * progmodes/idlwave.el (idlwave-config-directory):
12309 * net/quickurl.el (quickurl-url-file):
12310 * international/kkc.el (kkc-init-file-name):
12311 * ido.el (ido-save-directory-list-file):
12312 * emulation/viper.el (viper-custom-file-name):
12313 * emulation/vip.el (vip-startup-file):
12314 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12315 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12316
12317 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12318
12319 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12320 * language/thai-word.el: Switch to UTF-8.
12321
12322 See ChangeLog.16 for earlier changes.
12323
12324 ;; Local Variables:
12325 ;; coding: utf-8
12326 ;; End:
12327
12328 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12329
12330 This file is part of GNU Emacs.
12331
12332 GNU Emacs is free software: you can redistribute it and/or modify
12333 it under the terms of the GNU General Public License as published by
12334 the Free Software Foundation, either version 3 of the License, or
12335 (at your option) any later version.
12336
12337 GNU Emacs is distributed in the hope that it will be useful,
12338 but WITHOUT ANY WARRANTY; without even the implied warranty of
12339 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12340 GNU General Public License for more details.
12341
12342 You should have received a copy of the GNU General Public License
12343 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.