Fix Bug#13124.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-17 Chong Yidong <cyd@gnu.org>
2
3 * simple.el (password-word-equivalents): New defcustom.
4 * comint.el (comint-password-prompt-regexp): Use it. Bump version
5 to 24.4.
6 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
7 to t. (Bug#13124)
8
9 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
10
11 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
12 (ruby-align-to-stmt-keywords): Change the default value. Use
13 `ruby-alignable-keywords' to generate the possible customization
14 choices.
15 (ruby-smie-rules): Instead of using a hardcoded list of alignable
16 keywords, check against the value of `ruby-alignable-keywords'
17 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
18
19 2014-01-17 Glenn Morris <rgm@gnu.org>
20
21 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
22
23 Make M-x authors return zero *Authors Errors* from current logs.
24 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
25 (authors-ignored-files): Add some entries, remove others.
26 (authors-ambiguous-files, authors-valid-file-names):
27 Add some entries.
28 (authors-renamed-files-alist): Add, remove, and adjust entries.
29 (authors-renamed-files-regexps): Add some entries.
30 Remove some very broad ones. Make some entries `lax'.
31 (authors-lax-changelogs): New constant.
32 (authors-disambiguate-file-name): Treat top-level specially.
33 (authors-lax-changelog-p): New function.
34 (authors-canonical-file-name): Check file as written against
35 authors-valid-file-names. Do not special-case etc/.
36 Handle `lax' logs and authors-renamed-files-regexps elements.
37
38 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
39
40 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
41 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
42 callers.
43
44 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
45
46 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
47 Assume we're already in the proper buffer.
48 Inspired by Anders Lindgren <andlind@gmail.com>.
49 (follow-post-command-hook): Call it from the right buffer.
50 (follow-comint-scroll-to-bottom): Adjust call.
51 (follow-all-followers): Use get-buffer-window-list.
52
53 2014-01-15 Daniel Colascione <dancol@dancol.org>
54
55 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
56 `buffer-file-name' in interactive-form so that we don't leave
57 pathless file names in `file-name-history'.
58
59 2014-01-15 Juri Linkov <juri@jurta.org>
60
61 * indent.el (indent-rigidly): Set deactivate-mark to nil
62 in transient indentation mode. (Bug#16438)
63
64 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
65
66 * emacs-lisp/package.el (package-desc-keywords): New function
67 (Bug#16222).
68 (describe-package-1, package-all-keywords)
69 (package--has-keyword-p): Use it.
70
71 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
72
73 * simple.el (define-alternatives): When creating the
74 COMMAND-alternatives variable, assign COMMAND as its definition
75 name so that `describe-variable' can relocate it.
76
77 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
78
79 * font-lock.el (font-lock-keywords): Fix typo in docstring
80 (bug#16307).
81
82 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
83
84 * ispell.el (ispell-region): Reset `in-comment' for new line
85 instead of wrongly reset `add-coment' (bug#13577).
86
87 2014-01-14 Daiki Ueno <ueno@gnu.org>
88
89 * epa-file.el (epa-file-write-region): Encode the region according
90 to `buffer-file-format'. Problem reported at:
91 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
92
93 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
96 so it applies in the right buffer (bug#16410).
97
98 2014-01-13 Daniel Colascione <dancol@dancol.org>
99
100 * textmodes/rst.el (rst-define-key): Provide deprecated
101 keybindings through named functions instead of anonymous ones so
102 that "??" doesn't appear in describe-mode output.
103
104 2014-01-13 Bastien Guerry <bzg@gnu.org>
105
106 * simple.el (define-alternatives): Call the selected command
107 interactively. When setting `COMMAND--implementation' for the
108 first time, tell the user how to chose another implementation.
109 Enhance the docstring.
110
111 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
112
113 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
114 (log-edit--match-first-line): New function.
115 (log-edit-font-lock-keywords): Use it.
116 (log-edit-mode): Make jit-lock-defer-multiline work.
117
118 2014-01-13 Bastien Guerry <bzg@gnu.org>
119
120 * rect.el (rectangle-mark-mode): When the region is not active,
121 display a message saying that the mark as been set and that
122 rectangle mode is in use.
123 (rectangle--highlight-for-redisplay): Only put an overlay with a
124 visible vertical bar when (display-graphic-p) is non-nil.
125 This partially fixes Bug#16403.
126
127 2014-01-13 Juri Linkov <juri@jurta.org>
128
129 * info.el (Info-find-file): Go to DIR before displaying the error
130 about a nonexistent file if no previous Info file is visited.
131 Use `user-error' instead of `error' for "Info file %s does not exist".
132 (Info-find-node-2): In case of a nonexistent node in unwind forms
133 go to the Top node if there is no previous node to revert to.
134 (Bug#16405)
135
136 2014-01-13 Martin Rudalics <rudalics@gmx.at>
137
138 fit-frame/window-to-buffer code fixes including one for Bug#14096.
139 * window.el (fit-frame-to-buffer): Fix doc-string.
140 Respect window-min-height/-width. Fit pixelwise when
141 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
142 when avoiding that frame goes partially off-screen.
143 (fit-window-to-buffer): Respect window-min-height/-width
144 (Bug#14096).
145
146 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
149 after an empty line.
150
151 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * net/shr.el (shr-render-region): Autoload.
154
155 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
156
157 * net/eww.el (eww-download-directory): Rename from
158 `eww-download-path' (Bug#16419).
159
160 2014-01-12 Leo Liu <sdl.web@gmail.com>
161
162 * dired-x.el (dired-mode-map): Fix last change.
163
164 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
165
166 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
167
168 Spelling fixes.
169 * emacs-lisp/generic.el (generic--normalize-comments):
170 Rename from generic--normalise-comments. All uses changed.
171 * play/bubbles.el (bubbles--neighborhood-score):
172 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
173 (bubbles--neighborhood-available)
174 (bubbles--update-neighborhood-score):
175 Rename from names with 'neighbourhood'. All uses changed.
176
177 2014-01-12 Leo Liu <sdl.web@gmail.com>
178
179 Re-implement the feature of showing eldoc info after editing.
180 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
181 (eldoc-edit-message-commands): New function.
182 (eldoc-print-after-edit): New variable.
183 (eldoc-pre-command-refresh-echo-area): Emit message only by
184 eldoc-message-commands.
185 (eldoc-mode): Restrict eldoc-message-commands to editing commands
186 if eldoc-print-after-edit is set. (Bug#16346)
187
188 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
189
190 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
191
192 * version.el (emacs-repository-get-version): Enhance so the
193 function works correctly in either a Bazaar or Git repo.
194
195 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
196 Goes with removal of the joke manpages from /etc.
197
198 2014-01-10 K. Handa <handa@gnu.org>
199
200 * mail/rmail.el (rmail-get-coding-system):
201 Check rmail-get-coding-function before "funcall"ing it.
202
203 2014-01-10 Glenn Morris <rgm@gnu.org>
204
205 * emacs-lisp/authors.el (authors-fixed-entries):
206 Update for files that no longer exist.
207
208 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
209
210 * version.el (emacs-bzr-get-version): Restore compatibilty with
211 24.3 (Tested).
212
213 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
214
215 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
216 and Podfile.
217
218 2014-01-10 Eli Zaretskii <eliz@gnu.org>
219
220 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
221
222 2014-01-10 Chong Yidong <cyd@gnu.org>
223
224 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
225
226 2014-01-10 Anders Lindgren <andlind@gmail.com>
227
228 * follow.el (follow-cache-command-list): Include right-char and
229 left-char.
230
231 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
232
233 Spelling fixes.
234 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
235 * woman.el (woman-mark-horizontal-position):
236 Rename from woman-mark-horizonal-position. Use changed.
237
238 2014-01-10 Glenn Morris <rgm@gnu.org>
239
240 * info.el (info-initialize): If running uninstalled, ensure our
241 own info files are always found first, even if INFOPATH is set.
242
243 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
244
245 2014-01-09 David Engster <deng@randomsample.de>
246
247 * emacs-lisp/eieio-custom.el:
248 * emacs-lisp/eieio-opt.el: Set generated autoload file to
249 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
250 * emacs-lisp/eieio.el: Regenerate autoloads.
251
252 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
253
254 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
255 following renames. (Bug#8756)
256
257 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
258
259 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
260 (bug#16382).
261 (activate-mark): Add `no-tmm' argument.
262 (set-mark, push-mark-command): Use it instead of running
263 activate-mark-hook by hand.
264
265 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
266
267 In preparation for the move to git, sanitize out some
268 Bazaar-specific names.
269
270 * version.el (emacs-bzr-version): Name changed to
271 emacs-repository-version. Obsolete-variable alias made.
272 * loadup.el: Follow through on this name change.
273 * mail/emacsbug.el (report-emacs-bug): Factor out any
274 assumption about the version control system in use.
275
276 2014-01-08 David Engster <deng@randomsample.de>
277
278 * help-fns.el (help-fns-describe-function-functions):
279 New variable to call functions for augmenting help buffers.
280 (describe-function-1): Remove explicit calls to
281 `help-fns--compiler-macro', `help-fns--parent-mode' and
282 `help-fns--obsolete'. Put them in above new variable instead, and
283 call them through `run-hook-with-args'.
284 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
285 `eieio-describe-class'. Not meant for interactive use anymore,
286 but to augment existing help buffers. Remove optional second
287 argument. Create proper button for file location.
288 Rewrite function to use `insert' instead of `princ' and `prin1' where
289 possible.
290 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
291 (eieio-method-def, eieio-class-def): Move further up.
292 (describe-method, describe-generic, eieio-describe-method):
293 Remove aliases.
294 (eieio-help-constructor, eieio-help-generic): Rename from
295 `eieio-describe-constructor' and `eieio-describe-generic', resp.
296 Rewrite to use `insert' in the current buffer and use proper help
297 buttons.
298 (eieio-help-find-method-definition)
299 (eieio-help-find-class-definition): Also accept symbols as
300 arguments.
301 (eieio-help-mode-augmentation-maybee): Remove.
302 (eieio-describe-class-sb): Use `describe-function'.
303 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
304 Add `eieio-help-generic' and `eieio-help-constructor'.
305
306 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
307
308 Spelling fixes.
309 * language/china-util.el (hz-ascii-designation):
310 Rename from hz-ascii-designnation.
311 (hz-ascii-designation): Rename from hz-ascii-designnation.
312 All uses changed.
313
314 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
315
316 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
317 package-alist.
318
319 2014-01-08 Bastien Guerry <bzg@gnu.org>
320
321 * emacs-lisp/package.el (package-delete):
322 Correctly delete the package from package-alist.
323
324 2014-01-08 Daiki Ueno <ueno@gnu.org>
325
326 * emacs-lisp/package.el (url-recreate-url): Declare.
327 (url-http-target-url): Declare.
328 (package-handle-response): Include requested URL in the error message.
329 (package--check-signature): Don't re-signal errors from
330 package--with-work-buffer. Suggested by Stefan Monnier.
331
332 2014-01-07 Bastien Guerry <bzg@gnu.org>
333
334 * minibuffer.el (completion--try-word-completion): When both a
335 hyphen and a space are possible candidates for the character
336 following a word, display both candidates. (Bug#15980)
337
338 2014-01-07 Martin Rudalics <rudalics@gmx.at>
339
340 * window.el (balance-windows-2): While rounding don't give a
341 window more than the remainder. Bug#16351, Bug#16383.
342
343 2014-01-07 Glenn Morris <rgm@gnu.org>
344
345 * menu-bar.el (menu-bar-help-extra-packages): Remove.
346 (menu-bar-help-menu): Use view-external-packages instead.
347
348 2014-01-07 Bastien Guerry <bzg@gnu.org>
349
350 * emacs-lisp/package.el (package-delete): Also delete the package
351 name from `package-alist', not its description only.
352
353 2014-01-07 Glenn Morris <rgm@gnu.org>
354
355 * help.el (view-external-packages):
356 * menu-bar.el (menu-bar-help-extra-packages):
357 Visit efaq.info rather than etc/MORE.STUFF.
358
359 2014-01-07 Juri Linkov <juri@jurta.org>
360
361 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
362 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
363
364 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
365 that shadows RET. (Bug#16342)
366
367 2014-01-07 Chong Yidong <cyd@gnu.org>
368
369 * isearch.el (isearch-yank-char, isearch-yank-word)
370 (isearch-yank-line): Doc fix.
371
372 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
375 * emacs-lisp/elint.el (elint-find-builtins):
376 * emacs-lisp/eldoc.el (eldoc-symbol-function):
377 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
378 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
379 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
380 * apropos.el (apropos-safe-documentation):
381 * subr.el (symbol-file): Remove redundant fboundp.
382 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
383
384 2014-01-06 Bastien Guerry <bzg@gnu.org>
385
386 * hl-line.el (global-hl-line-overlay): Make a local variable.
387 (global-hl-line-overlays): New variable to store all overlays.
388 (global-hl-line-mode): Don't delete overlays from the current
389 buffer when `global-hl-line-sticky-flag' is non-nil.
390 (global-hl-line-highlight): Add new overlays to
391 `global-hl-line-overlays'.
392 (global-hl-line-unhighlight-all): New function to delete all
393 overlays when turning off `global-hl-line-mode'.
394 This fixes Bug#16183.
395
396 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * subr.el (set-transient-map): Fix nested case and docstring.
399
400 2014-01-06 Tassilo Horn <tsdh@gnu.org>
401
402 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
403 `Texinfo' entry.
404
405 2014-01-06 Daniel Colascione <dancol@dancol.org>
406
407 Fix defun navigation in vc log view.
408
409 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
410 like `beginning-of-defun'.
411 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
412 log-view-end-of-defun to log-view-end-of-defun-1. Replace
413 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
414 (log-view-extract-comment): Call `log-view-current-entry' directly
415 instead of relying on broken `log-view-beginning-of-defun' behavior.
416
417 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
418
419 Spelling fixes.
420 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
421 * emacs-lisp/debug.el (cancel-debug-on-entry):
422 * epg.el (epg-error-to-string):
423 * files.el (recover-file):
424 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
425 * mail/emacsbug.el (report-emacs-bug-hook):
426 * mail/sendmail.el (mail-recover):
427 * ses.el (ses-yank-resize):
428 * term/ns-win.el (ns-print-buffer):
429 Spelling fixes in diagnostics, mostly for "canceled" with one L.
430 * epg.el (epg-key-capability-alist): Rename from misspelled version.
431 All uses changed.
432 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
433
434 2014-01-06 Leo Liu <sdl.web@gmail.com>
435
436 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
437 to avoid shadowing global key. (Bug#16354)
438
439 2014-01-06 Daniel Colascione <dancol@dancol.org>
440
441 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
442 rst-mode.
443
444 2014-01-05 Martin Rudalics <rudalics@gmx.at>
445
446 * window.el (balance-windows): Add mising t to fix Bug#16351.
447
448 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
449
450 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
451 (bug#16285).
452 (shr-insert): If we have a word that's longer than `shr-width',
453 break after it anyway. Otherwise we'll do no breaking once we get
454 such a long word.
455
456 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
457
458 * net/eww.el (eww): Support single/double quote for search.
459 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
460 (eww-history-quit): Delete and use quit-window.
461 (eww-history-kill): Delete, because it doesn't work well and
462 not necessary.
463 (eww-history-mode-map): Delete some keys and add easy-menu.
464
465 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
466
467 Fix misspelling of 'chinese' in rx (Bug#16237).
468 * emacs-lisp/rx.el (rx-categories): Correct spelling of
469 chinese-two-byte.
470
471 Change subword regexps back to vars (Bug#16296).
472 * progmodes/subword.el (subword-forward-regexp)
473 (subword-backward-regexp): Change these back to variables.
474
475 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
478 syntax-begin-function (bug#16247).
479
480 2014-01-03 Chong Yidong <cyd@gnu.org>
481
482 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
483 (advice--docstring): Delete variable.
484 (advice--make-1): Leave the docstring empty.
485 (advice-add): Use function-documentation for advised docstring.
486
487 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
488 Ignore function-documentation property when getting documentation.
489 (ad-activate-advised-definition): Use function-documentation
490 generate the docstring.
491 (ad-make-advised-definition): Don't call
492 ad-make-advised-definition-docstring.
493 (ad-make-advised-definition-docstring, ad-advised-definition-p):
494 Delete functions.
495
496 * progmodes/sql.el (sql-help): Use function-documentation instead
497 of dynamic-docstring-function property. No need to autoload now.
498 (sql--help-docstring): New variable.
499 (sql--make-help-docstring): Use it.
500
501 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
502
503 * ielm.el (ielm-tab): Retarget.
504 (ielm-map): Use ielm-tab for tab.
505 (ielm-complete-filename): Use comint-filename-completion.
506 (ielm-complete-symbol): Remove.
507 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
508 remove ielm-tab from completion-at-point-functions (bug#16224).
509
510 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
511 Beware signals raised by predicates (bug#16201).
512
513 2014-01-02 Richard Stallman <rms@gnu.org>
514
515 * dired-aux.el (dired-do-print): Handle printer-name.
516
517 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
518 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
519 (rmail-epa-decrypt): Turn off mime processing.
520
521 * mail/rmail.el (rmail-make-in-reply-to-field):
522 Add parens in message-id.
523
524 * mail/rmail.el (rmail-get-coding-function): Variable.
525 (rmail-get-coding-system): Use it.
526
527 2013-12-31 Eli Zaretskii <eliz@gnu.org>
528
529 * international/mule-conf.el: Unify the charset indian-is13194.
530 (indian-is13194): Specify unify-map.
531
532 2013-12-31 Leo Liu <sdl.web@gmail.com>
533
534 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
535
536 2013-12-30 Daniel Colascione <dancol@dancol.org>
537
538 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
539 of printing a useless when we resume from sleep.
540
541 * progmodes/sh-script.el
542 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
543 in indentation code. (Bug#16233)
544
545 2013-12-28 João Távora <joaotavora@gmail.com>
546
547 * elec-pair.el (electric-pair-post-self-insert-function):
548 Don't open extra newlines at beginning of buffer. (Bug#16272)
549
550 2013-12-28 Eli Zaretskii <eliz@gnu.org>
551
552 * frame.el (window-system-for-display): Don't allow to create a
553 GUI frame from a -nw session on MS-Windows. (Bug#14739)
554
555 2013-12-28 Glenn Morris <rgm@gnu.org>
556
557 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
558 Update callers.
559
560 * apropos.el (apropos-match-face):
561 * calculator.el (calculator-displayer):
562 * dabbrev.el (dabbrev-search-these-buffers-only):
563 * face-remap.el (buffer-face-mode-face):
564 * simple.el (yank-handled-properties):
565 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
566 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
567 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
568 (hashcash-double-spend-database):
569 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
570 (ruby-deep-indent-paren-style):
571 * textmodes/flyspell.el (flyspell-auto-correct-binding):
572 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
573 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
574 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
575 Specify custom types.
576
577 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
578 * bookmark.el (bookmark-bmenu-use-header-line):
579 * doc-view.el (doc-view-scale-internally):
580 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
581 * register.el (register-preview-delay):
582 * net/shr.el (shr-bullet):
583 * progmodes/cfengine.el (cfengine-cf-promises)
584 (cfengine-parameters-indent):
585 * progmodes/octave.el (inferior-octave-error-regexp-alist):
586 * textmodes/reftex-vars.el (reftex-label-regexps):
587 * vc/log-edit.el (log-edit-setup-add-author): Add version.
588
589 * net/tls.el (tls-certtool-program): Fix default value.
590
591 * desktop.el (desktop-restore-in-current-display):
592 * newcomment.el (comment-empty-lines):
593 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
594 (idlwave-pad-keyword):
595 * progmodes/tcl.el (tcl-tab-always-indent):
596 * textmodes/reftex-vars.el (reftex-index-default-tag):
597 * elec-pair.el (electric-pair-skip-whitespace):
598 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
599
600 * emacs-lisp/authors.el (authors-ignored-files)
601 (authors-valid-file-names, authors-renamed-files-alist): Additions.
602
603 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
604
605 * shell.el (shell-dynamic-complete-command): Doc fix.
606 (shell--command-completion-data): Shell completion now matches
607 executable filenames from the current buffer's directory, on
608 systems in which this behavior is the default (windows-nt, ms-dos).
609
610 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
611
612 * net/shr.el (shr-insert): Don't infloop if the width is zero.
613
614 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
617 (bug#16251).
618
619 * electric.el: Move all electric-pair-* to elec-pair.el.
620 * elec-pair.el: New file, split from electric.el.
621
622 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
623
624 * net/shr.el (shr-find-fill-point): Don't try to fill if the
625 indentation level is larger than the width, because that will
626 infloop.
627 (shr-insert): Fill repeatedly long texts, so that Japanese is
628 formatted correctly (bug#16263).
629 (shr-find-fill-point): Off by one error in comparison with the
630 indentation.
631
632 2013-12-26 João Távora <joaotavora@gmail.com>
633
634 * electric.el (electric-pair-mode): More flexible engine for skip-
635 and inhibit predicates, new options for pairing-related functionality.
636 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
637 if that keeps or improves their balance in buffers.
638 (electric-pair-delete-adjacent-pairs): Delete the pair when
639 backspacing over adjacent matched delimiters.
640 (electric-pair-open-extra-newline): Open extra newline when
641 inserting newlines between adjacent matched delimiters.
642 (electric--sort-post-self-insertion-hook):
643 Sort post-self-insert-hook according to priority values when
644 minor-modes are activated.
645 * simple.el (newline-and-indent): Call newline with interactive
646 set to t.
647 (blink-paren-post-self-insert-function): Set priority to 100.
648 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
649 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
650 comments. Locally set electric-pair-skip-whitespace to 'chomp and
651 electric-pair-open-newline-between-pairs to nil.
652
653 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
654
655 * progmodes/python.el: Use lexical-binding.
656 (python-nav-beginning-of-defun): Stop searching ASAP.
657
658 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
659
660 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
661 Fix interactive spec. Doc fix. (Bug#15754)
662
663 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
664
665 * emacs-lisp/byte-run.el (eval-when-compile):
666 * progmodes/cc-defs.el (cc-eval-when-compile):
667 Fix edebug spec (bug#16184).
668
669 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
670
671 * net/shr.el (shr-visit-file): Remove debugging function.
672 (shr-insert): Don't infloop if we can't find a good place to break
673 the line (bug#16256).
674
675 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
676
677 * progmodes/python.el:
678 (python-nav--lisp-forward-sexp): New function.
679 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
680 python-nav-lisp-forward-sexp-safe.
681 (python-nav--forward-sexp): New argument SAFE allows switching
682 forward sexp movement behavior for parens.
683 (python-nav-forward-sexp): Throw errors on unterminated parens
684 (Bug#16191).
685 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
686 (python-nav-backward-sexp-safe): New functions.
687 (python-shell-buffer-substring):
688 Use `python-nav-forward-sexp-safe'.
689
690 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
691
692 * net/shr.el (shr-find-fill-point): Don't break lines before a
693 quotation mark.
694 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
695 (shr-find-fill-point): Remove the special checks for the quotation
696 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
697
698 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
699
700 * net/eww.el (eww-form-textarea): Use a different face for
701 textareas than text input since they have different keymaps
702 (bug#16142).
703
704 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
705
706 * progmodes/python.el (python-nav-beginning-of-statement):
707 Speed up (Bug#15295).
708
709 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
710
711 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
712 the window configuration.
713
714 2013-12-24 Eli Zaretskii <eliz@gnu.org>
715
716 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
717 we run on MS-Windows or MS-DOS.
718
719 2013-12-24 Martin Rudalics <rudalics@gmx.at>
720
721 * window.el (balance-windows-area): Call window-size instead of
722 window-height and window-width. Bug#16241.
723
724 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
725
726 * net/eww.el (eww-bookmark-quit): Remove.
727 (eww-bookmark-browse): Restore the window configuration when you
728 choose a bookmark (bug#16144).
729
730 2013-12-24 Daniel Colascione <dancol@dancol.org>
731
732 * icomplete.el: Remove redundant :group arguments to `defcustom'
733 throughout.
734 (icomplete-show-matches-on-no-input): New customizable variable.
735 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
736 we have something to show.
737 (icomplete-exhibit): Compute completions even if we have no user input.
738
739 2013-12-23 Daniel Colascione <dancol@dancol.org>
740
741 * icomplete.el: Move `provide' to end of file.
742
743 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
744
745 * net/gnutls.el (gnutls-verify-error): Add version tag.
746
747 2013-12-23 Chong Yidong <cyd@gnu.org>
748
749 * subr.el (set-transient-map): Rename from
750 set-temporary-overlay-map. Doc fix.
751
752 * face-remap.el (text-scale-adjust):
753 * indent.el (indent-rigidly):
754 * kmacro.el (kmacro-call-macro):
755 * minibuffer.el (minibuffer-force-complete):
756 * repeat.el (repeat):
757 * simple.el (universal-argument--mode):
758 * calendar/todo-mode.el (todo-insert-item--next-param):
759 * progmodes/f90.el (f90-abbrev-start): Callers changed.
760
761 * indent.el (indent-rigidly): Use substitute-command-keys.
762
763 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
764
765 * net/eww.el (eww-tag-select): Add text-property to jump to next
766 select field.
767 (eww): Add non-supported ftp error.
768
769 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
770
771 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
772 comments. Handle electric indent after typing `?' and `!'.
773
774 2013-12-22 Chong Yidong <cyd@gnu.org>
775
776 * faces.el (face-spec-recalc): If the theme specs are not
777 applicable to a frame, fall back on the defface spec.
778 This prevents themes from obliterating faces on low-color terminals.
779
780 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
781
782 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
783 after `{'. We need it after block openers, and it doesn't seem
784 to hurt after hash openers.
785
786 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
787
788 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
789 extracted from `ruby-smie-rules'.
790 (ruby--electric-indent-chars): New variable.
791 (ruby--electric-indent-p): New function.
792 (ruby-mode): Use `electric-indent-functions' instead of
793 `electric-indent-chars'.
794
795 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
796
797 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
798 docstring.
799 (ruby-smie-rules): Indent plus one level after `=>'.
800
801 2013-12-21 Richard Stallman <rms@gnu.org>
802
803 * simple.el (newline): Doc fix.
804
805 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
806
807 * net/eww.el (eww-list-histories, eww-list-histories)
808 (eww-history-browse, eww-history-quit, eww-history-kill)
809 (eww-history-mode-map, eww-history-mode): New command and
810 functions to list browser histories.
811 (eww-form-text): Support text form with disabled
812 and readonly attributes.
813 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
814
815 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
816
817 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
818 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
819 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
820 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
821 Use `user-error'.
822 (eww-bookmark-mode-map): Add menu.
823 (eww-render, eww-mode): Use `setq-local'.
824 (eww-tool-bar-map): New variable.
825 (eww-mode): Set `tool-bar-map'.
826 (eww-view-source): Check for `html-mode' with `fboundp'.
827
828 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
829
830 * net/shr.el (shr--extract-best-source): Don't bug out on audio
831 elements with text inside. Also remove debugging.
832
833 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
834
835 * cus-start.el (all): Add ns-use-srgb-colorspace.
836
837 2013-12-21 Chong Yidong <cyd@gnu.org>
838
839 * custom.el (custom-theme-recalc-face): Do nothing if the face is
840 undefined. Thus, theme settings for undefined faces do not take
841 effect until the faces are defined with defface, the same as with
842 theme variables.
843
844 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
845 (face-spec-reset-face): Don't assign extra properties in temacs.
846 (face-spec-recalc): Apply X resources too.
847
848 2013-12-21 Chong Yidong <cyd@gnu.org>
849
850 * faces.el (face-spec-set):
851 * cus-face.el (custom-theme-set-faces, custom-set-faces):
852 * custom.el (defface): Doc fixes (Bug#16203).
853
854 * indent.el (indent-rigidly-map): Add docstring, and move commands
855 into named functions.
856 (indent-rigidly-left, indent-rigidly-right)
857 (indent-rigidly-left-to-tab-stop)
858 (indent-rigidly-right-to-tab-stop): New functions. Decide on
859 indentation direction based on bidi direction, and accumulate
860 sequential commands in a single undo boundary.
861 (indent-rigidly--pop-undo): New utility function.
862
863 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
864
865 * faces.el (read-face-name): Require crm.el when using crm-separator.
866
867 2013-12-20 Daniel Colascione <dancol@dancol.org>
868
869 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
870 so that we don't reflow comments into the shebang line.
871
872 2013-12-20 Juri Linkov <juri@jurta.org>
873
874 * saveplace.el (save-place-to-alist): Add `dired-filename' as
875 a position when `dired-directory' is non-nil. Check integer
876 positions with `integerp'.
877 (toggle-save-place, save-places-to-alist): Add check for
878 `dired-directory'.
879 (save-place-find-file-hook): Check integer positions with
880 `integerp'.
881 (save-place-dired-hook): Use `dired-goto-file' when
882 `dired-filename' is found in the assoc list. Check integer
883 positions with `integerp'.
884 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
885
886 * dired.el (dired-initial-position-hook): Rename back from
887 `dired-initial-point-hook'.
888 (dired-initial-position): Rename `dired-initial-point-hook' to
889 `dired-initial-position-hook'.
890 (dired-file-name-at-point): Doc fix. (Bug#15329)
891
892 2013-12-20 Juri Linkov <juri@jurta.org>
893
894 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
895 (read-regexp-suggestions): New function.
896 (read-regexp): Use `read-regexp-defaults-function' to get default values.
897 Use `read-regexp-suggestions'. Add non-empty default to history
898 for empty input.
899 (occur-read-regexp-defaults-function): Remove function.
900 (occur-read-primary-args): Use `regexp-history-last' instead of
901 `occur-read-regexp-defaults-function'.
902
903 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
904 (hi-lock-line-face-buffer, hi-lock-face-buffer)
905 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
906 `hi-lock-read-regexp-defaults-function'. Doc fix.
907 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
908 with `find-tag-default-as-symbol-regexp'. Doc fix.
909 (hi-lock-read-regexp-defaults): Remove function.
910 (hi-lock-regexp-okay): Add check for null.
911
912 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
913 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
914
915 * subr.el (find-tag-default-as-symbol-regexp): New function.
916 (find-tag-default-as-regexp): Move symbol regexp formatting to
917 `find-tag-default-as-symbol-regexp'.
918
919 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
920
921 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
922 (Bug#14179)
923
924 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
925
926 * calendar/todo-mode.el: New implementation of item insertion
927 commands and key bindings.
928 (todo-key-prompt): New face.
929 (todo-insert-item): New command.
930 (todo-insert-item--parameters): New defconst, replacing defvar
931 todo-insertion-commands-args-genlist.
932 (todo-insert-item--param-key-alist): New defconst, replacing
933 defvar todo-insertion-commands-arg-key-list.
934 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
935 (todo-insert-item--argsleft, todo-insert-item--apply-args)
936 (todo-insert-item--next-param): New functions.
937 (todo-insert-item--args, todo-insert-item--argleft)
938 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
939 New variables.
940 (todo-key-bindings-t): Change binding of "i" from
941 todo-insertion-map to todo-insert-item.
942 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
943 (todo-insertion-command-name, todo-insertion-commands-names)
944 (todo-define-insertion-command, todo-insertion-commands)
945 (todo-insertion-key-bindings, todo-insertion-map): Remove.
946
947 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
948
949 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
950 (todo-toggle-item-highlighting): Use eval-and-compile instead of
951 eval-when-compile.
952 (todo-move-category): Allow choosing a non-existing todo file to
953 move the category to, and create that file.
954 (todo-default-priority): New user option.
955 (todo-set-item-priority): Use it.
956 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
957 (desktop-restore-file-buffer): Declare.
958 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
959 (todo-modes-set-2): Locally set desktop-save-buffer to
960 todo-desktop-save-buffer.
961 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
962 (auto-mode-alist): Add autoload cookie.
963
964 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
965
966 * emacs-lisp/subr-x.el: Renamed from helpers.el.
967 helpers.el was a poor choice of name.
968 (string-remove-prefix): New function.
969 (string-remove-suffix): New function.
970
971 2013-12-20 Martin Rudalics <rudalics@gmx.at>
972
973 Fix assignment for new window total sizes.
974 * window.el (window--pixel-to-size): Remove function.
975 (window--pixel-to-total-1, window--pixel-to-total):
976 Fix calculation of new total sizes.
977
978 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
979
980 * comint.el (comint-output-filter): Fix rear-nonsticky property
981 placement (Bug#16010).
982
983 2013-12-20 Chong Yidong <cyd@gnu.org>
984
985 * faces.el (read-color): Minor fix for completion function.
986
987 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
988
989 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
990 New option. (Bug#16182)
991 (ruby-smie--indent-to-stmt-p): Use it.
992 (ruby-smie-rules): Revert the logic in the handling of `when'.
993 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
994 (ruby-deep-arglist, ruby-deep-indent-paren)
995 (ruby-deep-indent-paren-style): Update docstrings to note that the
996 vars don't have any effect with SMIE.
997
998 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
999
1000 * calc/calc.el (calc-enter, calc-pop): Use the variable
1001 `calc-context-sensitive-enter'.
1002
1003 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1004
1005 * net/shr.el (shr-insert): Protect against infloops in degenerate
1006 tables.
1007
1008 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1009
1010 * progmodes/octave.el (octave): Add link to manual and octave
1011 homepage.
1012 (octave-mode-menu): Link to octave-mode manual.
1013
1014 2013-12-20 Leo Liu <sdl.web@gmail.com>
1015
1016 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1017 insertion using skeleton-end-newline. (Bug#16138)
1018
1019 2013-12-20 Juri Linkov <juri@jurta.org>
1020
1021 * replace.el (occur-engine): Use `add-face-text-property'
1022 to add the face property to matches and titles. (Bug#14645)
1023
1024 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1025 the palette of other hi-lock colors.
1026 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1027
1028 2013-12-19 Juri Linkov <juri@jurta.org>
1029
1030 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1031 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1032 (minibuffer-history-symbol): Move variable declaration closer to
1033 its usage.
1034
1035 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1036 (Bug#14785)
1037
1038 2013-12-19 Juri Linkov <juri@jurta.org>
1039
1040 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1041 New function.
1042 (log-edit-hook): Add it to :options. (Bug#16170)
1043
1044 2013-12-19 Juri Linkov <juri@jurta.org>
1045
1046 * simple.el (eval-expression-print-format): Don't check for
1047 command names and the last command. Always display additional
1048 formats of the integer result in the echo area, and insert them
1049 to the current buffer only with a zero prefix arg.
1050 Display character when char-displayable-p is non-nil.
1051 (eval-expression): With a zero prefix arg, set `print-length' and
1052 `print-level' to nil, and insert the integer values from
1053 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1054
1055 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1056 `eval-last-sexp-arg-internal'. Doc fix.
1057 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1058 `eval-last-sexp-print-value'. Doc fix.
1059 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1060 Set `print-length' and `print-level' to nil when arg is zero.
1061 (eval-last-sexp): Doc fix.
1062 (eval-defun-2): Print the integer values from
1063 `eval-expression-print-format' at the end.
1064
1065 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1066 values from `eval-expression-print-format' at the end.
1067
1068 * ielm.el (ielm-eval-input): Print the integer
1069 values from `eval-expression-print-format' at the end.
1070
1071 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1072
1073 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1074 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1075
1076 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1079 (hl-line-highlight, global-hl-line-highlight): Use it.
1080 (hl-line-overlay): Use defvar-local.
1081
1082 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1083
1084 * term/ns-win.el: Require dnd.
1085 (global-map): Remove drag items.
1086 (ns-insert-text, ns-set-foreground-at-mouse)
1087 (ns-set-background-at-mouse):
1088 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1089 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1090 New functions.
1091
1092 2013-12-19 Glenn Morris <rgm@gnu.org>
1093
1094 * emacs-lisp/ert.el (ert-select-tests):
1095 Fix string/symbol mixup. (Bug#16121)
1096
1097 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1098
1099 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1100 keywords to their parent.
1101
1102 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1103
1104 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1105 first arg to be a string (fixed dead code), or an operator symbol.
1106 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1107 operator symbols.
1108 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1109 did nothing. Don't respond to `(:after ".")', it will be called
1110 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1111 change anything. Only return indentation for binary operators
1112 when they are hanging. De-dent opening paren when its parent is
1113 `.', otherwise it looks bad when the dot is not at bol or eol
1114 (bug#16182).
1115
1116 2013-12-19 Juri Linkov <juri@jurta.org>
1117
1118 * replace.el (query-replace-read-args): Split a non-negative arg
1119 and a negative arg into separate elements.
1120 (query-replace, query-replace-regexp, replace-string)
1121 (replace-regexp): Add arg `backward'. Doc fix.
1122 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1123 move point to the beginning of the match.
1124 (replace-search, replace-highlight): Use new arg `backward'
1125 to set the value of `isearch-forward'.
1126 (perform-replace): Add arg `backward' and use it to perform
1127 replacement backward. (Bug#14979)
1128
1129 * isearch.el (isearch-query-replace): Use a negative prefix arg
1130 to call `perform-replace' with a non-nil arg `backward'.
1131
1132 2013-12-18 Juri Linkov <juri@jurta.org>
1133
1134 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1135 to the default list. Move `log-edit-show-files' to the end.
1136 Add more available functions to options.
1137 (log-edit): Move default specific settings to
1138 `log-edit-insert-message-template'. Don't move point.
1139 (log-edit-insert-message-template): New function.
1140 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1141 (Bug#16170)
1142
1143 2013-12-18 Juri Linkov <juri@jurta.org>
1144
1145 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1146 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1147
1148 2013-12-18 Leo Liu <sdl.web@gmail.com>
1149
1150 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1151 (Bug#16186)
1152
1153 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1154
1155 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1156 formats for displaying file sizes when the -s switch is given.
1157 Instead, compute a separate format for displaying the size in
1158 blocks, which is displayed in addition to the "regular" size.
1159 When -h is given in addition to -s, produce size in blocks in
1160 human-readable form as well. (Bug#16179)
1161
1162 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1163
1164 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1165 Reference tables with ~\ref{...} instead of only \ref{...}.
1166
1167 2013-12-18 Chong Yidong <cyd@gnu.org>
1168
1169 * cus-edit.el (custom-magic-alist): Fix "themed" description
1170 (Bug#14348).
1171
1172 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1173 is non-nil, do not create a new entry in the symbol's theme-value
1174 or theme-face property; update theme-settings only (Bug#14664).
1175 (custom-available-themes): Doc fix.
1176
1177 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1178 (Bug#15674).
1179
1180 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1181
1182 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1183
1184 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1185 (Bug#13914).
1186
1187 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1188
1189 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1190
1191 2013-12-18 Glenn Morris <rgm@gnu.org>
1192
1193 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1194 * cus-start.el (load-prefer-newer): New option.
1195
1196 2013-12-18 Le Wang <l26wang@gmail.com>
1197
1198 * comint.el (comint-previous-matching-input-from-input):
1199 Retain point (Bug#13404).
1200
1201 2013-12-18 Chong Yidong <cyd@gnu.org>
1202
1203 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1204
1205 2013-12-18 Glenn Morris <rgm@gnu.org>
1206
1207 * mail/emacsbug.el (report-emacs-bug):
1208 Only mention enable-multibyte-characters if non-standard.
1209
1210 2013-12-17 Juri Linkov <juri@jurta.org>
1211
1212 * arc-mode.el (archive-extract-by-file): Check if directory exists
1213 before deletion to not show irrelevant errors if it doesn't exist.
1214
1215 2013-12-17 Juri Linkov <juri@jurta.org>
1216
1217 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1218 (Bug#14751)
1219
1220 * net/eww.el (browse-web): Add alias to `eww'.
1221 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1222 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1223
1224 * net/browse-url.el (browse-url-browser-function): Move `eww'
1225 closer to similar functions.
1226
1227 * startup.el (fancy-startup-screen, fancy-about-screen):
1228 Set browse-url-browser-function to eww-browse-url locally.
1229 (Bug#14751)
1230
1231 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * window.el (window--pixel-to-total): Remove unused `mini' var.
1234 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1235 (split-window): Remove unused `new' var.
1236 (window--display-buffer): Remove unused `frame' and `delta' vars.
1237 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1238 and display-width'.
1239
1240 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1241
1242 * dired.el (dired-mark-pop-up):
1243 * register.el (register-preview): Don't bind
1244 split-height-threshold here since it's now done in
1245 display-buffer-below-selected.
1246
1247 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1248
1249 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1250 xterm-rgb-convert-to-16bit.
1251 (rxvt-register-default-colors): Standardize with
1252 xterm-register-default-colors (Bug#14078).
1253
1254 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1255
1256 * simple.el (kill-region): Pass mark first, then point, so that
1257 kill-append works right (Bug#12819).
1258 (copy-region-as-kill, kill-ring-save): Likewise.
1259
1260 2013-12-17 Leo Liu <sdl.web@gmail.com>
1261
1262 * net/rcirc.el (rcirc-add-face):
1263 * eshell/em-prompt.el (eshell-emit-prompt):
1264 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1265 (Bug#16167)
1266
1267 2013-12-17 Chong Yidong <cyd@gnu.org>
1268
1269 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1270 Suggested by Xue Fuqiao.
1271
1272 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1273
1274 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1275
1276 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1277
1278 * net/shr.el (shr-insert-document): Remove unused var
1279 `shr-preliminary-table-render'.
1280 (shr-rescale-image): Remove unused arg `force'.
1281 (shr-put-image): Update calls accordingly.
1282 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1283
1284 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1285
1286 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1287 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1288 :close-all, to see which indentation method to use (Bug#16116).
1289 (smie-rules-function): Document the method :close-all.
1290
1291 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1292
1293 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1294
1295 * net/eww.el (eww-display-html): If we can't find the anchor we're
1296 looking for, then go to point-min.
1297
1298 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1299
1300 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1301 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1302 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1303 Expand dir too, in case it's relative.
1304
1305 2013-12-16 Juri Linkov <juri@jurta.org>
1306
1307 * desktop.el (desktop-auto-save-timeout): Change default to
1308 `auto-save-timeout'. Doc fix.
1309 (desktop-save): Skip the timestamp in desktop-saved-frameset
1310 when checking for auto-save changes.
1311 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1312 `desktop-auto-save' is called repeatedly by the idle timer.
1313 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1314 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1315 (Bug#15331)
1316
1317 2013-12-16 Juri Linkov <juri@jurta.org>
1318
1319 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1320 (Bug#16035)
1321 (isearch-pre-command-hook): Check `this-command' for symbolp.
1322
1323 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1326
1327 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1328
1329 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1330 (cfengine3--current-function): Bring in the current-function
1331 functionality from `cfengine3--current-word'.
1332 (cfengine3-completion-function): Bring in the
1333 bounds-of-current-word functionality from
1334 `cfengine3--current-word'.
1335
1336 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1337
1338 * window.el (display-buffer-below-selected):
1339 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1340
1341 2013-12-16 Leo Liu <sdl.web@gmail.com>
1342
1343 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1344 Remove NOMSG arg and all uses changed.
1345
1346 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1349 (cua--deactivate-rectangle): Don't deactivate the mark.
1350 (cua-set-rectangle-mark): Don't set mark-active since
1351 cua--activate-rectangle already does it for us.
1352 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1353 non-rectangular region.
1354
1355 * emulation/cua-base.el (cua-repeat-replace-region):
1356 Use with-current-buffer.
1357
1358 * net/gnutls.el: Use cl-lib.
1359 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1360
1361 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1362
1363 * emacs-lisp/package.el (package-built-in-p): Support both
1364 built-in and the package.el converted package descriptions.
1365 (package-show-package-list): Allow keywords.
1366 (package-keyword-button-action): Use it instead of
1367 `finder-list-matches'.
1368 (package-menu-filter-interactive): Interactive filtering (by
1369 keyword) function.
1370 (package-menu--generate): Support keywords and change keymappings
1371 and headers when they are given.
1372 (package--has-keyword-p): Helper function.
1373 (package-menu--refresh): Use it.
1374 (package--mapc): Helper function.
1375 (package-all-keywords): Use it.
1376 (package-menu-mode-map): Set up menu items and keybindings to
1377 provide a filtering UI.
1378
1379 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1380
1381 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1382 the behavior when a certificate fails validation. Defaults to
1383 old behavior: never abort, just warn.
1384 (gnutls-negotiate): Use it.
1385
1386 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1387
1388 * window.el (display-buffer-below-selected): Never split window
1389 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1390
1391 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1392
1393 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1394 (package-buffer-info): Use it (bug#15108).
1395
1396 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * icomplete.el (icomplete-completions): Make sure the prefix is already
1399 displayed elsewhere before hiding it (bug#16219).
1400
1401 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1402
1403 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1404 open-paren tokens when preceded by a open-paren, too.
1405 (ruby-smie-rules): Handle virtual indentation after open-paren
1406 tokens specially. If there is code between it and eol, return the
1407 column where is starts (Bug#16118).
1408
1409 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1410
1411 * progmodes/cfengine.el: Fix `add-hook' doc.
1412 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1413 (cfengine3--current-word): Fix parameters.
1414 (cfengine3-make-syntax-cache): Simplify further.
1415 (cfengine3-completion-function, cfengine3--current-function):
1416 Use `assq' for symbols.
1417 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1418
1419 2013-12-13 Glenn Morris <rgm@gnu.org>
1420
1421 * loadup.el (load-path): Warn if site-load or site-init changes it.
1422 No more need to reset it when bootstrapping.
1423
1424 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1425
1426 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1427 locations for cf-promises.
1428 (cfengine-mode-syntax-functions-regex): New caching variable.
1429 (cfengine3-fallback-syntax): Fallback syntax for cases where
1430 cf-promises doesn't run.
1431 (cfengine3--current-word): Reimplement using
1432 `cfengine-mode-syntax-functions-regex'.
1433 (cfengine3-completion-function, cfengine3--current-function):
1434 Use `cfengine3-make-syntax-cache' directly.
1435 (cfengine3-clear-syntax-cache): New function.
1436 (cfengine3-make-syntax-cache): Simplify and create
1437 `cfengine-mode-syntax-functions-regex' on demand.
1438 (cfengine3-format-function-docstring): Don't call
1439 `cfengine3-make-syntax-cache' explicitly.
1440
1441 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1442
1443 Fix windmove-find-other-window broken after pixelwise resizing
1444 (Bug#16017).
1445 * windmove.el (windmove-other-window-loc): Revert change from
1446 2013-12-04.
1447 (windmove-find-other-window): Call window-in-direction.
1448 * window.el (window-in-direction): New arguments SIGN, WRAP and
1449 MINI to emulate original windmove-find-other-window behavior.
1450
1451 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1452
1453 * simple.el (blink-matching--overlay): New variable.
1454 (blink-matching-open): Instead of moving point, highlight the
1455 matching paren with an overlay
1456 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1457
1458 * faces.el (paren-showing-faces, show-paren-match)
1459 (show-paren-mismatch): Move from paren.el.
1460
1461 2013-12-13 Leo Liu <sdl.web@gmail.com>
1462
1463 * indent.el (indent-region): Disable progress reporter in
1464 minibuffer. (Bug#16108)
1465
1466 * bindings.el (visual-order-cursor-movement): Fix version.
1467
1468 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1469
1470 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1471 Also match after beginning of line.
1472 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1473 files. Thanks to Russell Sim. (Bug#15378)
1474
1475 2013-12-13 Juri Linkov <juri@jurta.org>
1476
1477 * simple.el <Keypad support>: Remove key bindings duplicated
1478 with bindings.el. (Bug#14397)
1479
1480 2013-12-13 Juri Linkov <juri@jurta.org>
1481
1482 * comint.el (comint-mode-map): Replace `delete-char' with
1483 `delete-forward-char'. (Bug#16109)
1484
1485 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1486
1487 * progmodes/python.el (python-indent-calculate-indentation):
1488 Fix de-denters cornercase. (Bug#15731)
1489
1490 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1491
1492 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1493 (advice--make): Pay attention to `depth'.
1494 (advice--make-1): Don't autoload commands eagerly.
1495 * emacs-lisp/elp.el (elp-instrument-function):
1496 * emacs-lisp/trace.el (trace-function-internal):
1497 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1498
1499 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1500
1501 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1502
1503 * term/w32-win.el (w32-handle-dropped-file):
1504 * startup.el (normal-top-level):
1505 * net/browse-url.el (browse-url-file-url):
1506 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1507 decode file names using 'utf-8' rather than
1508 file-name-coding-system.
1509
1510 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1511
1512 * progmodes/python.el (python-indent-context)
1513 (python-indent-calculate-indentation): Fix auto-identation
1514 behavior for comment blocks. (Bug#15916)
1515
1516 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1517
1518 * progmodes/python.el (python-indent-calculate-indentation):
1519 When determining indentation, don't treat "return", "pass", etc., as
1520 operators when they are just string constituents. (Bug#15812)
1521
1522 2013-12-12 Juri Linkov <juri@jurta.org>
1523
1524 * uniquify.el (uniquify-buffer-name-style): Change default to
1525 `post-forward-angle-brackets'.
1526
1527 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1528 `uniquify'. Change default to `post-forward-angle-brackets'.
1529
1530 2013-12-11 Glenn Morris <rgm@gnu.org>
1531
1532 * emacs-lisp/package.el (finder-list-matches):
1533 Autoload rather than falsely declaring.
1534
1535 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1536
1537 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1538 (eww-mode-map): Use them.
1539
1540 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1541
1542 * window.el (display-buffer-in-side-window): Fix doc-string
1543 (Bug#16115).
1544
1545 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1546
1547 * vc/vc-git.el: Silence byte-compiler warnings.
1548 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1549 (log-edit-set-header): Declare.
1550
1551 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1552
1553 * Makefile.in (custom-deps, finder-data): Run output file names
1554 through unmsys--file-name. (Bug#16099)
1555
1556 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1557
1558 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1559 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1560
1561 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1562 instead of deleting the selection "by hand" (bug#16098).
1563 Rely on insert-for-yank to yank rectangles.
1564 (cua-highlight-region-shift-only): Mark obsolete.
1565 (cua-mode): Don't enable/disable transient-mark-mode,
1566 shift-select-mode (cua-mode works both with and without them), and
1567 pc-selection-mode (obsolete).
1568 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1569 (cua--deactivate-rectangle): Deactivate it.
1570
1571 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1572 (delete-selection-helper): Make sure yank starts at the top of the
1573 deleted region.
1574 (minibuffer-keyboard-quit): Use region-active-p.
1575
1576 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1577
1578 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1579 to `delete' (bug#16109).
1580
1581 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1582
1583 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1584 info manual and show keybindings and set `:group' keyword.
1585
1586 2013-12-11 Juri Linkov <juri@jurta.org>
1587
1588 * delsel.el (delete-active-region): Let-bind `this-command'
1589 to prevent `kill-region' from changing its original value.
1590 (delete-selection-helper): Handle `overwrite-mode' for the type
1591 `kill' exactly the same way as for the type `t'.
1592 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1593 Support more commands. (Bug#13312)
1594
1595 2013-12-11 Juri Linkov <juri@jurta.org>
1596
1597 * bindings.el: Map kp keys to non-kp keys systematically
1598 with basic modifiers control, meta and shift. (Bug#14397)
1599
1600 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1601
1602 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1603 "Close browser" menu items. Fix wrong function of "List
1604 bookmarks".
1605
1606 2013-12-11 Juri Linkov <juri@jurta.org>
1607
1608 * misearch.el (multi-isearch-buffers): Set the value of
1609 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1610 arg of isearch-forward to t.
1611 (multi-isearch-buffers-regexp): Set the value of
1612 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1613 arg of isearch-forward-regexp to t.
1614 (multi-isearch-files): Set the value of
1615 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1616 arg of isearch-forward to t.
1617 (multi-isearch-files-regexp): Set the value of
1618 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1619 arg of isearch-forward-regexp to t. (Bug#16035)
1620
1621 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1622 arg of isearch-forward to t.
1623 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1624 arg of isearch-forward-regexp to t.
1625 (dired-isearch-filter-filenames): Remove unnecessary check for
1626 `dired-isearch-filenames'.
1627
1628 * comint.el (comint-history-isearch-backward):
1629 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1630 (comint-history-isearch-backward-regexp):
1631 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1632
1633 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1634
1635 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1636 unmsys--file-name. (Bug#16099)
1637
1638 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1639
1640 * emacs-lisp/package.el (package-keyword-button-action):
1641 Remove finder.el require dependency.
1642
1643 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1644
1645 * emacs-lisp/package.el: Require finder.el.
1646 (describe-package-1): Add keyword buttons.
1647 (package-make-button): New convenience function.
1648 (package-keyword-button-action): Keyword button action using
1649 `finder-list-matches'.
1650
1651 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1652
1653 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1654 last commit.
1655
1656 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1657
1658 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1659 symlinked files.
1660
1661 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1662
1663 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1664 after the end of a percent literal.
1665
1666 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1667
1668 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1669 Handle caret-delimited strings (Bug#16079).
1670
1671 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1672
1673 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1674 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1675 `ruby-parse-partial' (Bug#16078).
1676
1677 2013-12-09 Leo Liu <sdl.web@gmail.com>
1678
1679 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1680
1681 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1682
1683 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1684 (js-switch-indent-offset): New option.
1685 (js--proper-indentation): Use it. And handle the case when
1686 "default" is actually a key in an object literal.
1687 (js--same-line): New function.
1688 (js--multi-line-declaration-indentation): Use it.
1689 (js--indent-in-array-comp, js--array-comp-indentation):
1690 New functions.
1691 (js--proper-indentation): Use them, to handle array comprehension
1692 continuations.
1693
1694 2013-12-08 Leo Liu <sdl.web@gmail.com>
1695
1696 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1697 (flymake-make-overlay): Remove arg MOUSE-FACE.
1698 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1699
1700 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1703 New function.
1704 (redisplay-highlight-region-function): Use it.
1705
1706 * emulation/cua-base.el (cua--explicit-region-start)
1707 (cua--last-region-shifted): Remove.
1708 (cua--deactivate): Use deactivate-mark.
1709 (cua--pre-command-handler-1): Don't handle shift-selection.
1710 (cua--post-command-handler-1): Don't change transient-mark-mode.
1711 (cua--select-keymaps): Use region-active-p rather than
1712 cua--explicit-region-start or cua--last-region-shifted.
1713 (cua-mode): Enable shift-select-mode.
1714
1715 2013-12-08 Leo Liu <sdl.web@gmail.com>
1716
1717 * progmodes/flymake.el (flymake-popup-current-error-menu):
1718 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1719 (flymake-posn-at-point-as-event, flymake-popup-menu)
1720 (flymake-make-emacs-menu): Remove. (Bug#16077)
1721
1722 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * rect.el (rectangle-mark-mode): Activate mark even if
1725 transient-mark-mode is off (bug#16066).
1726 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1727 is > mark and at bolp.
1728
1729 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1730 (region-extract-function): Use it.
1731 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1732 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1733 Delete functions.
1734 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1735 kill-ring-save, kill-region, delete-char, delete-forward-char.
1736 Ignore self-insert-iso.
1737
1738 * emulation/cua-gmrk.el (cua--init-global-mark):
1739 Ignore `self-insert-iso'.
1740
1741 * emulation/cua-base.el (cua--prefix-copy-handler)
1742 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1743 checking cua--rectangle.
1744 (cua-delete-region): Use region-extract-function.
1745 (cua-replace-region): Delete function.
1746 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1747 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1748 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1749 (cua--init-keymaps): Don't remap delete-selection commands.
1750 (cua-mode): Use delete-selection-mode instead of rolling our own
1751 (bug#16085).
1752
1753 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1754 Obey region-extract-function.
1755
1756 Make registers and delete-selection-mode work on rectangles.
1757 * register.el (describe-register-1): Don't modify the register's value.
1758 (copy-to-register): Obey region-extract-function.
1759 * delsel.el (delete-active-region): Obey region-extract-function.
1760
1761 2013-12-08 Leo Liu <sdl.web@gmail.com>
1762
1763 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1764 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1765 (flymake-compilation-prevents-syntax-check)
1766 (flymake-start-syntax-check-on-newline)
1767 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1768 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1769 (flymake-xml-program, flymake-master-file-dirs)
1770 (flymake-master-file-count-limit)
1771 (flymake-allowed-file-name-masks): Relocate.
1772 (flymake-makehash, flymake-float-time)
1773 (flymake-replace-regexp-in-string, flymake-split-string)
1774 (flymake-get-temp-dir): Remove.
1775 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1776 (flymake-current-row, flymake-selected-frame)
1777 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1778 related functions. (Bug#16077)
1779
1780 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1781
1782 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1783
1784 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1785
1786 * help-fns.el (describe-function-1): Use new advice-* functions
1787 rather than old ad-* functions. Fix function type description and
1788 source links for advised functions and subrs.
1789
1790 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1791
1792 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1793
1794 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1795
1796 * progmodes/compile.el (compilation-start):
1797 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1798
1799 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1800 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1801
1802 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1803
1804 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1805 Touch up the last change.
1806
1807 2013-12-06 Leo Liu <sdl.web@gmail.com>
1808
1809 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1810 (inferior-octave-startup): Always use "octave> " for prompt.
1811 (octave-goto-function-definition)
1812 (octave-sync-function-file-names)
1813 (octave-find-definition-default-filename): Remove redundant backquotes.
1814
1815 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1816
1817 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1818 syntax for `?'.
1819 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1820 where appropriate already.
1821 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1822 end of method names (Bug#15874).
1823
1824 2013-12-06 Juri Linkov <juri@jurta.org>
1825
1826 * isearch.el (isearch--saved-overriding-local-map):
1827 New internal variable.
1828 (isearch-mode): Set it to the initial value of
1829 `overriding-terminal-local-map'.
1830 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1831 with `isearch--saved-overriding-local-map'. (Bug#16035)
1832
1833 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1834
1835 * progmodes/octave.el (inferior-octave-completion-table):
1836 Turn back into function, use `completion-table-with-cache'
1837 (Bug#11906). Update all references.
1838
1839 * minibuffer.el (completion-table-with-cache): New function.
1840
1841 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1842
1843 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1844
1845 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1846
1847 * net/eww.el (eww-current-source): New variable to store page
1848 source.
1849 (eww-display-html, eww-mode, eww-save-history)
1850 (eww-restore-history): Use it.
1851 (eww-view-source): New command to view page source.
1852 Opportunistically uses `html-mode' to highlight the buffer.
1853 (eww-mode-map): Install it.
1854
1855 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1856
1857 * net/dbus.el (dbus-unregister-service)
1858 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1859 Fix docstring.
1860 (dbus-unregister-service): Skip :serial entries in
1861 `dbus-registered-objects-table'.
1862 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1863
1864 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1865
1866 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1867 around keywords with extra `split-string' argument.
1868
1869 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1870
1871 * windmove.el (windmove-other-window-loc): Handle navigation
1872 between windows (excluding the minibuffer window - Bug#16017).
1873
1874 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1875
1876 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1877 in D-Bus type syntax.
1878 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1879 preserve unibyte strings. (Bug#16048)
1880
1881 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1882
1883 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1884 Call force-mode-line-update is the proper buffer (bug#16042).
1885
1886 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1887
1888 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1889 `log-edit-remember-comment', make argument optional. Adjust all
1890 callers.
1891 (log-edit-mode): Add `log-edit-remember-comment' to
1892 `kill-buffer-hook' locally.
1893 (log-edit-kill-buffer): Don't remember comment explicitly since
1894 the buffer is killed anyway.
1895
1896 2013-12-04 Juri Linkov <juri@jurta.org>
1897
1898 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1899 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1900
1901 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1902
1903 * notifications.el (notifications-close-notification): Call the
1904 D-Bus method with ID being a `:uint32'. (Bug#16030)
1905
1906 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1907
1908 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1909
1910 2013-12-03 Juri Linkov <juri@jurta.org>
1911
1912 * progmodes/compile.el (compilation-start): Rename window alist
1913 entry `no-display-ok' to `allow-no-window'.
1914
1915 * simple.el (shell-command): Add window alist entry
1916 `allow-no-window' to `display-buffer'.
1917 (async-shell-command): Doc fix.
1918
1919 * window.el (display-buffer-no-window): New action function.
1920 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1921
1922 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1923
1924 * vc/log-edit.el (log-edit-set-header): Extract from
1925 `log-edit-toggle-header'.
1926 (log-edit-extract-headers): Separate the summary, when extracted
1927 from header, from the rest of the message with an empty line.
1928
1929 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1930 line, if present, to the Summary header.
1931
1932 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1935 in current-buffer (bug#16029).
1936
1937 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1938
1939 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1940 (debugger-mode-map): Bind it.
1941 (debugger--backtrace-base): New function.
1942 (debugger-eval-expression): Use it.
1943 (debugger-frame-number): Skip local vars when present.
1944 (debugger--locals-visible-p, debugger--insert-locals)
1945 (debugger--show-locals, debugger--hide-locals): New functions.
1946
1947 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1948
1949 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1950 "LC_ALL".
1951 (tramp-get-remote-locale): New defun.
1952 (tramp-open-connection-setup-interactive-shell): Use it.
1953
1954 2013-12-02 Leo Liu <sdl.web@gmail.com>
1955
1956 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1957
1958 * progmodes/sh-script.el (sh-shell-process):
1959 * progmodes/octave.el (inferior-octave-process-live-p):
1960 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1961 (gdb-inferior-io-sentinel):
1962 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1963
1964 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1965
1966 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1967 `save-selected-window' to `log-edit-hide-buf'. This makes
1968 `log-edit-show-files' idempotent.
1969 (log-edit-show-files): Mark the new window as dedicated.
1970
1971 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1972
1973 * vc/log-edit.el (log-edit-mode-map): Add binding for
1974 `log-edit-kill-biffer'.
1975 (log-edit-hide-buf): Add a FIXME comment.
1976 (log-edit-add-new-comment): New function, extracted from
1977 `log-edit-done'.
1978 (log-edit-done, log-edit-add-to-changelog): Use it.
1979 (log-edit-kill-buffer): New command.
1980
1981 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1982
1983 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1984 instead of killing the buffer.
1985
1986 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1987
1988 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1989
1990 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1991
1992 * net/eww.el (eww-form-checkbox-selected-symbol)
1993 (eww-form-checkbox-symbol): New customizable variable.
1994 (eww-form-checkbox, eww-toggle-checkbox):
1995 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1996
1997 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
1998 (shr--get-media-pref, shr--extract-best-source): New function.
1999 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2000 no :src tag was specified.
2001
2002 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2003 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2004 Use \\` to match beginning of string instead of ^.
2005 (eww-browse-with-external-browser): Provide optional URL parameter.
2006 (eww-render): Set `eww-current-title' back to "".
2007
2008 * net/shr.el (shr-tag-video): Display content for video if no
2009 poster is available.
2010 (shr-tag-audio): Add support for <audio> tag.
2011
2012 * net/eww.el (eww-text-input-types): New const.
2013 (eww-process-text-input): Treat input types in
2014 `eww-text-input-types' as text.
2015
2016 * net/shr.el (shr-tag-table): Fix comment typo.
2017
2018 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2019
2020 * net/eww.el (eww-follow-link): New command to avoid reloading
2021 pages when we follow #target links (bug#15243).
2022 (eww-quit): Special mode buffers shouldn't query before exiting.
2023
2024 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2025
2026 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2027 forms.
2028
2029 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2030
2031 * net/eww.el (eww-restore-history): Update the window title after
2032 moving in the history.
2033 (eww-current-dom): New variable used to save the current DOM.
2034
2035 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2036
2037 * vc/log-edit.el (log-edit-mode-map): Add binding for
2038 `log-edit-beginning-of-line'.
2039 (log-edit-setup-add-author): New user option.
2040 (log-edit-beginning-of-line): New command.
2041 (log-edit): Move major mode call above the contents setup so that
2042 the local variable values are already applied.
2043 (log-edit): Only insert "Author: " when
2044 `log-edit-setup-add-author' is non-nil.
2045 (log-edit): When SETUP is non-nil, position point after ": "
2046 instead of point-min.
2047
2048 2013-12-01 Glenn Morris <rgm@gnu.org>
2049
2050 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2051
2052 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2053
2054 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2055 redisplay to make sure the initial frame gets a chance to become
2056 visible. (Bug#16014)
2057
2058 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2059
2060 Support resizing frames and windows pixelwise.
2061 * cus-start.el (frame-resize-pixelwise)
2062 (window-resize-pixelwise): New entries.
2063 * emacs-lisp/debug.el (debug): Use window-total-height instead
2064 of window-total-size.
2065 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2066 * help.el (describe-bindings-internal): Call help-buffer
2067 (temp-buffer-max-width): New option.
2068 (resize-temp-buffer-window, help-window-setup)
2069 (with-help-window): Rewrite.
2070 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2071 dragging dividers.
2072 * window.el (frame-char-size, window-min-pixel-height)
2073 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2074 (window-min-pixel-width, window-safe-min-pixel-size)
2075 (window-combination-p, window-safe-min-size)
2076 (window-resizable-p, window--size-to-pixel)
2077 (window--pixel-to-size, window--resize-apply-p): New functions.
2078 (window-safe-min-height): Fix doc-string.
2079 (window-size, window-min-size, window--min-size-1)
2080 (window-sizable, window-sizable-p, window--min-delta-1)
2081 (window-min-delta, window--max-delta-1, window-max-delta)
2082 (window--resizable, window--resizable-p, window-resizable)
2083 (window-full-height-p, window-full-width-p, window-at-side-p)
2084 (window--in-direction-2, window-in-direction)
2085 (window--resize-reset-1, window--resize-mini-window)
2086 (window-resize, window-resize-no-error)
2087 (window--resize-child-windows-normal)
2088 (window--resize-child-windows, window--resize-siblings)
2089 (window--resize-this-window, window--resize-root-window)
2090 (window--resize-root-window-vertically)
2091 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2092 (maximize-window, minimize-window, delete-window)
2093 (quit-restore-window, window-split-min-size, split-window)
2094 (balance-windows-2, balance-windows)
2095 (balance-windows-area-adjust, balance-windows-area)
2096 (window--state-get-1, window-state-get, window--state-put-1)
2097 (window--state-put-2, window-state-put)
2098 (display-buffer-record-window, window--display-buffer):
2099 Make functions handle pixelwise sizing of windows.
2100 (display-buffer--action-function-custom-type)
2101 (display-buffer-fallback-action):
2102 Add display-buffer-in-previous-window.
2103 (display-buffer-use-some-window): Resize window to height it had
2104 before.
2105 (fit-window-to-buffer-horizontally): New option.
2106 (fit-frame-to-buffer): Describe new values.
2107 (fit-frame-to-buffer-bottom-margin): Replace with
2108 fit-frame-to-buffer-margins.
2109 (window--sanitize-margin): New function.
2110 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2111 using window-text-pixel-size.
2112
2113 2013-11-30 Glenn Morris <rgm@gnu.org>
2114
2115 * emacs-lisp/bytecomp.el (byte-compile-form):
2116 Make the `interactive-only' warning like the `obsolete' one.
2117 * comint.el (comint-run):
2118 * files.el (insert-file-literally, insert-file):
2119 * replace.el (replace-string, replace-regexp):
2120 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2121 (goto-line, insert-buffer, next-line, previous-line):
2122 Tweak `interactive-only' spec.
2123
2124 Stop keeping (most) generated cedet grammar files in the repository.
2125 * Makefile.in (semantic): New.
2126 (compile-main): Depend on semantic.
2127
2128 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2129
2130 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2131 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2132
2133 * uniquify.el (uniquify-buffer-name-style): Change default.
2134
2135 * loadup.el: Preload "uniquify".
2136
2137 * time.el (display-time-update): Update all mode lines (bug#15999).
2138
2139 * electric.el (electric-indent-mode): Enable by default.
2140 * loadup.el: Preload "electric".
2141
2142 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2143
2144 * emacs-lisp/helpers.el (string-empty-p): New function.
2145 (string-blank-p): New function.
2146
2147 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2148
2149 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2150 (Bug#14029).
2151
2152 2013-11-29 Andreas Politz <politza@fh-trier.de>
2153 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2154 allow non-lambda lists as functions.
2155 (imenu--in-alist): Don't recurse into non-subalists.
2156 (imenu): Don't pass function itself as an argument (Bug#14029).
2157
2158 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * progmodes/python.el (python-mode-map): Remove binding for ":".
2161 (python-indent-electric-colon): Remove command.
2162 (python-indent-post-self-insert-function): Integrate the previous code
2163 of python-indent-electric-colon. Make it conditional on
2164 electric-indent-mode.
2165 (python-mode): Add ?: to electric-indent-chars.
2166 Move python-indent-post-self-insert-function to the end of
2167 post-self-insert-hook.
2168
2169 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * doc-view.el (doc-view-goto-page): Update mode-line.
2172
2173 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2174
2175 2013-11-27 Glenn Morris <rgm@gnu.org>
2176
2177 * international/charprop.el, international/uni-bidi.el:
2178 * international/uni-category.el, international/uni-combining.el:
2179 * international/uni-comment.el, international/uni-decimal.el:
2180 * international/uni-decomposition.el, international/uni-digit.el:
2181 * international/uni-lowercase.el, international/uni-mirrored.el:
2182 * international/uni-name.el, international/uni-numeric.el:
2183 * international/uni-old-name.el, international/uni-titlecase.el:
2184 * international/uni-uppercase.el:
2185 Remove generated files from VCS repository.
2186
2187 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2188
2189 * filenotify.el (file-notify-add-watch): Don't special-case
2190 w32notify when computing the directory to watch.
2191
2192 2013-11-27 Glenn Morris <rgm@gnu.org>
2193
2194 Make bootstrap without generated uni-*.el files possible again.
2195 * loadup.el: Update command-line-args checking for unidata-gen.
2196 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2197 * composite.el, international/characters.el:
2198 Handle unicode tables being undefined.
2199
2200 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2201 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2202 (compile-main): Depend on leim rule.
2203 (leim): New rule.
2204 * loadup.el: Move leim-list.el to leim/ subdirectory.
2205 * startup.el (normal-top-level): No more leim directory.
2206 * international/ja-dic-cnv.el (skkdic-convert):
2207 Disable version-control and autoloads in output files.
2208 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2209 Disable version-control and autoloads in output files.
2210 * leim/quail: Move here from ../leim.
2211 * leim/quail/hangul.el (hangul-input-method-activate):
2212 Add autoload cookie.
2213 (generated-autoload-load-name): Set file-local value.
2214 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2215 (generated-autoload-load-name): Set file-local value.
2216
2217 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2218
2219 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2220 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2221 (eww-quit): Ask confirmation before quitting eww.
2222
2223 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2224
2225 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2226 reading output from Diff on MS-Windows and MS-DOS.
2227
2228 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2229
2230 * emacs-lisp/helpers.el (string-reverse): New function.
2231
2232 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2233
2234 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2235 names on MS Windows, like "/[::1]:".
2236
2237 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2238 SWITCHES.
2239
2240 2013-11-26 Glenn Morris <rgm@gnu.org>
2241
2242 * progmodes/python.el (python-indent-guess-indent-offset):
2243 Avoid corner-case error. (Bug#15975)
2244
2245 Preload leim-list.el. (Bug#4789)
2246 * loadup.el: Load leim-list.el when found.
2247 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2248
2249 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2250
2251 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2252
2253 * emacs-lisp/helpers.el (string-join): New function.
2254
2255 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2256
2257 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2258 Mark as obsolete and replace it with a symbol property.
2259 (byte-compile-form): Use new 'interactive-only property.
2260 * comint.el, files.el, replace.el, simple.el:
2261 Apply new 'interactive-only properly.
2262
2263 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2264
2265 * window.el (display-buffer-at-bottom): Make sure that
2266 split-window-sensibly creates the new window on bottom
2267 (Bug#15961).
2268
2269 2013-11-23 David Kastrup <dak@gnu.org>
2270
2271 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2272 on the conflict markers when available.
2273 (smerge--get-marker): New function.
2274 (smerge-end-re, smerge-base-re): Add subgroup.
2275
2276 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2277
2278 * frame.el (handle-focus-in, handle-focus-out): Add missing
2279 interactive spec.
2280
2281 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2282
2283 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2284 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2285
2286 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2289 (gomoku--last-pos): New var.
2290 (gomoku--intangible-chars): New const.
2291 (gomoku--intangible): New function.
2292 (gomoku-mode): Use it. Derive from special-mode.
2293 (gomoku-move-up): Adjust line count.
2294 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2295 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2296 Simplify accordingly.
2297
2298 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2299 Remove blink-cursor code.
2300 (blink-cursor-timer-function, blink-cursor-suspend):
2301 Don't special-case GUIs.
2302 (blink-cursor-mode): Use focus-in/out-hook.
2303
2304 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2305
2306 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2307 work when annotation is invisible (Bug#13886).
2308
2309 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2310
2311 * json.el (json-alist-p): Only return non-nil if the alist has
2312 simple keys (Bug#13518).
2313
2314 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2315
2316 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2317 when control-statement is the first statement in a buffer (Bug#15956).
2318
2319 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2320
2321 * imenu.el (imenu-generic-skip-comments-and-strings):
2322 New option (Bug#15560).
2323 (imenu--generic-function): Use it.
2324
2325 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2326
2327 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2328 (Bug#13898)
2329
2330 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2331
2332 * emacs-lisp/helpers.el: Add some string helpers.
2333 (string-trim-left): Removes leading whitespace.
2334 (string-trim-right): Removes trailing whitespace.
2335 (string-trim): Removes leading and trailing whitespace.
2336
2337 * subr.el (string-suffix-p): New function.
2338
2339 2013-11-23 Glenn Morris <rgm@gnu.org>
2340
2341 * progmodes/python.el (python-shell-send-file):
2342 Add option to delete file when done. (Bug#15647)
2343 (python-shell-send-string, python-shell-send-region): Use it.
2344
2345 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2346
2347 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2348 to set buffer-read-only to t, never to nil. (Bug#15938)
2349
2350 * textmodes/tex-mode.el (latex-noindent-environments):
2351 Add safe-local-variable property. (Bug#15936)
2352
2353 2013-11-23 Glenn Morris <rgm@gnu.org>
2354
2355 * textmodes/enriched.el (enriched-mode): Doc fix.
2356 * emacs-lisp/authors.el (authors-renamed-files-alist):
2357 Add enriched.doc -> enriched.txt.
2358
2359 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2360
2361 2013-11-22 Leo Liu <sdl.web@gmail.com>
2362
2363 * progmodes/octave.el (inferior-octave-startup): Spit out error
2364 message.
2365
2366 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2367
2368 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2369 Improve docstring.
2370 Add :version.
2371 (ruby-encoding-magic-comment-style): Add :version.
2372
2373 2013-11-22 Leo Liu <sdl.web@gmail.com>
2374
2375 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2376 (Bug#15076)
2377 (octave-help-mode): Adapt to change to help-mode-finish to use
2378 derived-mode-p on 2013-09-17.
2379 (inferior-octave-prompt): Also match octave-gui.
2380 (octave-kill-process): Don't ask twice. (Bug#10564)
2381
2382 2013-11-22 Leo Liu <sdl.web@gmail.com>
2383
2384 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2385 (inferior-octave-startup, inferior-octave-check-process)
2386 (inferior-octave-track-window-width-change)
2387 (octave-completion-at-point, octave-eldoc-function): Use it.
2388 (octave-kill-process): Provide confirmation. (Bug#10564)
2389
2390 2013-11-21 Leo Liu <sdl.web@gmail.com>
2391
2392 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2393 Fix obsolete variable comment-use-global-state.
2394
2395 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2396
2397 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2398 Add `octave-source-file'.
2399 (octave-source-file): New function. (Bug#15935)
2400
2401 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2402
2403 * net/eww.el (eww-local-regex): New variable.
2404 (eww): Use it to detect localhost and similar.
2405
2406 2013-11-21 Leo Liu <sdl.web@gmail.com>
2407
2408 Add completion for command `ag'.
2409 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2410 (pcomplete/ag): New function.
2411 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2412
2413 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2414
2415 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2416 (bug#14646).
2417 (make-obsolete): Remove interactive spec.
2418
2419 2013-11-21 Glenn Morris <rgm@gnu.org>
2420
2421 * startup.el (command-line-1): Use path-separator with -L.
2422
2423 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2424
2425 * emacs-lisp/package.el (describe-package-1): Add package archive
2426 to shown fields.
2427
2428 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2429
2430 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2431 Change default to "# encoding: %s" to differentiate it from the
2432 default Ruby encoding comment template.
2433
2434 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2435
2436 * ses.el (ses-mode): Doc fix. (Bug#14748)
2437
2438 2013-11-20 Leo Liu <sdl.web@gmail.com>
2439
2440 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2441
2442 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2443
2444 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2445 when rebase or bisect are in progress.
2446
2447 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2448
2449 * filenotify.el (file-notify-add-watch): Doc fix.
2450
2451 2013-11-19 Leo Liu <sdl.web@gmail.com>
2452
2453 * obsolete/rcompile.el: Mark obsolete.
2454
2455 * progmodes/compile.el (compilation-start)
2456 (compilation-goto-locus, compilation-find-file):
2457 Pass no-display-ok and handle nil value from display-buffer.
2458 (Bug#13594)
2459
2460 * window.el (display-buffer-alist, display-buffer): Document the
2461 new parameter no-display-ok. Return either a window or nil
2462 but never a non-window value.
2463
2464 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * electric.el (electric-indent-mode-map): Remove.
2467 (electric-indent-mode): Change the global-map instead (bug#15915).
2468
2469 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2470 Use add-function.
2471
2472 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 * emacs-lisp/nadvice.el (remove-function): Align with
2475 add-function's behavior.
2476
2477 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2478 (gdb--string-regexp): New constant.
2479 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2480 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2481 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2482 submatch 1.
2483 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2484 Adjust use accordingly.
2485 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2486
2487 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2488
2489 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2490 interpolation curlies (Bug#15914).
2491
2492 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2493
2494 * calc/calc.el (calc-context-sensitive-enter): New variable.
2495 (calc-enter): Use `calc-context-sensitive-enter'.
2496
2497 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2498
2499 * progmodes/cfengine.el: Version bump.
2500 (cfengine-cf-promises): New defcustom to locate cf-promises.
2501 (cfengine3-vartypes): Add new "data" type.
2502 (cfengine3--current-word): New function to get current name-like
2503 word or its bounds.
2504 (cfengine3--current-function): New function to look up a CFEngine
2505 function's definition.
2506 (cfengine3-format-function-docstring): New function.
2507 (cfengine3-make-syntax-cache): New function.
2508 (cfengine3-documentation-function): New function: ElDoc glue.
2509 (cfengine3-completion-function): New function: completion glue.
2510 (cfengine3-mode): Set `compile-command',
2511 `eldoc-documentation-function', and add to
2512 `completion-at-point-functions'.
2513
2514 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2517 `tramp-current-connection'.
2518
2519 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2520
2521 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2522 nil/self/true/false with "end of symbol".
2523
2524 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2525
2526 * subr.el (version-regexp-alist): Fix a typo.
2527
2528 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2529
2530 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2531 "en_US.utf8" and "LC_CTYPE" to "".
2532 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2533 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2534
2535 2013-11-15 Leo Liu <sdl.web@gmail.com>
2536
2537 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2538
2539 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2540
2541 * progmodes/gud.el (ctl-x-map):
2542 Remove C-x SPC binding. (Bug#12342)
2543 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2544
2545 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2546
2547 * subr.el (version-regexp-alist):
2548 Recognize hg, svn and darcs versions as snapshot versions.
2549
2550 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2551 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2552 (ruby--encoding-comment-required-p): Extract from
2553 `ruby-mode-set-encoding'.
2554 (ruby-mode-set-encoding): Add the ability to always insert an
2555 utf-8 encoding comment. Fix and simplify coding comment update
2556 logic.
2557
2558 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2559
2560 * net/tramp-gvfs.el (top): Run init code only when
2561 `tramp-gvfs-enabled' is not nil.
2562 (tramp-gvfs-enabled): Check also :system bus.
2563
2564 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2565
2566 Sync with upstream verilog-mode revision 78e66ba.
2567 * progmodes/verilog-mode.el (verilog-end-of-defun)
2568 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2569 (verilog-get-end-of-defun): Remove unused argument.
2570 (verilog-comment-depth): Remove unused local `e'.
2571 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2572 Don't pass arg to verilog-get-end-of-defun.
2573
2574 2013-11-14 Glenn Morris <rgm@gnu.org>
2575
2576 * obsolete/assoc.el (aget): Prefix dynamic variable.
2577
2578 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2579
2580 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * widget.el, hfy-cmap.el: Remove bogus package version number.
2583
2584 2013-11-13 Glenn Morris <rgm@gnu.org>
2585
2586 * replace.el (replace-eval-replacement):
2587 Try to give more helpful error message. (Bug#15836)
2588
2589 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2590 (archive-7z-update): Avoid custom type mismatches.
2591
2592 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2593
2594 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2597 address can be empty.
2598
2599 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2600 Accept nil SWITCHES.
2601 (tramp-gvfs-handle-write-region): Implement APPEND.
2602
2603 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2604
2605 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2606 binary "|" operator and closing block args delimiter.
2607 Remove FIXME comment referring to Ruby 1.8-only syntax.
2608 (ruby-smie--implicit-semi-p): Not after "|" operator.
2609 (ruby-smie--closing-pipe-p): New function.
2610 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2611 (ruby-smie-rules): Indent after "|".
2612
2613 2013-11-12 Glenn Morris <rgm@gnu.org>
2614
2615 * ps-print.el (ps-face-attribute-list):
2616 Handle anonymous faces. (Bug#15827)
2617
2618 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2619
2620 * window.el (display-buffer-other-frame): Fix doc-string.
2621 (Bug#15868)
2622
2623 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2624
2625 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2626
2627 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2628
2629 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2630 (tramp-sh-handle-file-local-copy): Don't write a message when
2631 saving temporary files.
2632
2633 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2634 both directories are remote.
2635 (tramp-smb-handle-directory-files): Do not return double entries.
2636 Do not expand full file names.
2637 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2638 (tramp-smb-handle-write-region): Implement APPEND.
2639 (tramp-smb-get-stat-capability): Fix a stupid bug.
2640
2641 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2642
2643 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2644
2645 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2646
2647 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2648 throwing error over malformed let/let* (bug#15814).
2649
2650 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2651
2652 * iswitchb.el (iswitchb-mode): Mark obsolete.
2653
2654 2013-11-11 Glenn Morris <rgm@gnu.org>
2655
2656 * international/uni-bidi.el, international/uni-category.el:
2657 * international/uni-name.el, international/uni-numeric.el:
2658 Regenerate for Unicode 6.3.0.
2659
2660 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * net/tramp.el (tramp-methods):
2663 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2664 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2665
2666 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2667
2668 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2669 Force highlighting text after Summary keyword in doc face for rpm.
2670
2671 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2672
2673 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2674 available and the word has no wildcards, append one to the grep pattern.
2675 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2676 (ispell-complete-word): Call `ispell-lookup-words' with the value
2677 independent of `ispell-look-p'.
2678
2679 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2680
2681 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2682 Not after "||".
2683 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2684 their parent.
2685
2686 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2689 (ruby-font-lock-keywords): Use backquote.
2690
2691 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2692
2693 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2694 (ruby-smie--backward-token): Only consider full-string matches.
2695
2696 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2697
2698 * faces.el (describe-face): Add distant-foreground.
2699
2700 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2701
2702 * progmodes/ruby-mode.el: Improve encoding comment handling.
2703 (ruby-encoding-magic-comment-style): New option.
2704 (ruby-custom-encoding-magic-comment-template): New option.
2705 (ruby--insert-coding-comment, ruby--detect-encoding):
2706 New functions extracted from `ruby-mode-set-encoding'.
2707 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2708 to control the style of the auto-inserted encoding comment.
2709
2710 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2711
2712 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2713 Use `smie-backward-sexp' with token argument.
2714
2715 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2716
2717 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2718 Remove instrumentation code.
2719
2720 2013-11-08 Glenn Morris <rgm@gnu.org>
2721
2722 * progmodes/autoconf.el (autoconf-mode):
2723 Tweak comment-start-skip. (Bug#15822)
2724
2725 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2728 at bobp (bug#15826).
2729 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2730
2731 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2732
2733 * man.el (Man-start-calling): New macro, extracted from
2734 Man-getpage-in-background.
2735 (Man-getpage-in-background): Use it.
2736 (Man-update-manpage): New command.
2737 (Man-mode-map): Bind it.
2738
2739 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2740
2741 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2742 of "and", "or", "&&" and "||".
2743 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2744 argument. Prohibit opening curly brace because it could only be a
2745 block opener in that position.
2746 (ruby-smie--forward-token, ruby-smie--backward-token):
2747 Separate "|" from "&" or "*" going after it. That can happen in block
2748 arguments.
2749 (ruby-smie--indent-to-stmt): New function, seeks the end of
2750 previous statement or beginning of buffer.
2751 (ruby-smie-rules): Use it.
2752 (ruby-smie-rules): Check if there's a ":" before a curly block
2753 opener candidate; if there is, it's a hash.
2754
2755 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2758 (cl--block-wrapper): Fix last accidental change.
2759
2760 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2761
2762 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2763 Instrument, in order to hunt failure on hydra.
2764
2765 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2766
2767 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2768 malformed bindings form (bug#15814).
2769
2770 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2771
2772 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2773 "." compared to " @ ". This incidentally fixes some indentation
2774 examples with "do".
2775 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2776 (ruby-smie-grammar): New tokens: "and" and "or".
2777 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2778 Exclude "and" and "or". Remove "do" in order to work around token
2779 priorities.
2780 (ruby-smie-rules): Add all infix tokens. Handle the case of
2781 beginning-of-buffer.
2782
2783 2013-11-06 Glenn Morris <rgm@gnu.org>
2784
2785 * Makefile.in (setwins_almost, setwins_for_subdirs):
2786 Avoid accidental matches.
2787
2788 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * menu-bar.el (popup-menu): Use key-binding.
2791
2792 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2793
2794 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2795 menus, support also the menus produced by minor modes.
2796 (Bug#15817)
2797
2798 2013-11-06 Leo Liu <sdl.web@gmail.com>
2799
2800 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2801 DISTANCE to bound the search. All uses changed. (Bug#15808)
2802
2803 2013-11-06 Glenn Morris <rgm@gnu.org>
2804
2805 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2806 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2807 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2808
2809 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2810
2811 * electric.el (electric-indent-just-newline): New command.
2812 (electric-indent-mode-map): New keymap.
2813 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2814 Re-add :group which weren't redundant.
2815
2816 * electric.el (electric-indent-local-mode): New minor mode.
2817 (electric-indent-functions-without-reindent): New var.
2818 (electric-indent-post-self-insert-function): Use it.
2819 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2820
2821 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2822
2823 * international/quail.el (quail-help): Be more explicit about the
2824 meaning of the labels shown on the keys. (Bug#15800)
2825
2826 * startup.el (normal-top-level): Load the subdirs.el files before
2827 setting the locale environment. (Bug#15805)
2828
2829 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2830
2831 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2832 via arguments so as to get the right ones (bug#15418).
2833
2834 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2835
2836 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2837
2838 Fix problems found while writing a test suite.
2839
2840 * net/tramp-compat.el (tramp-compat-load): New defun.
2841 * net/tramp.el (tramp-handle-load): Use it.
2842
2843 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2844 "(numberp ok-if-already-exists)" correctly.
2845
2846 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2847
2848 * international/characters.el (glyphless-char-display-control):
2849 Add usage note.
2850
2851 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2852
2853 * progmodes/python.el (python-mode):
2854 * progmodes/scheme.el (scheme-mode):
2855 * progmodes/prolog.el (prolog-mode):
2856 * progmodes/ruby-mode.el (ruby-mode):
2857 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2858 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2859
2860 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * rect.el (rectangle--highlight-for-redisplay):
2863 * emacs-lisp/smie.el (smie--next-indent-change):
2864 Use buffer-chars-modified-tick.
2865
2866 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2867
2868 * electric.el (electric-indent-post-self-insert-function):
2869 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2870
2871 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2872
2873 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2874
2875 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2876
2877 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2878 (bug#15786).
2879
2880 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2883
2884 * progmodes/python.el: Fix up last change.
2885 (python-shell--save-temp-file): New function.
2886 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2887 `string' comes from the current buffer.
2888 (python-shell-send-string-no-output): Remove `msg' arg.
2889 (python--use-fake-loc): New var.
2890 (python-shell-buffer-substring): Obey it. Try to compensate for the
2891 extra coding line added by python-shell--save-temp-file.
2892 (python-shell-send-region): Use python-shell--save-temp-file and
2893 python-shell-send-file directly. Add `nomain' argument.
2894 (python-shell-send-buffer): Use python-shell-send-region.
2895 (python-electric-pair-string-delimiter): New function.
2896 (python-mode): Use it.
2897
2898 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2899
2900 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2901 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2902 environment and decoding all of the default-directory's to here
2903 from command-line.
2904 (command-line): Decode also argv[0].
2905
2906 * loadup.el: Error out if default-directory is a multibyte string
2907 when we are dumping.
2908
2909 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2910
2911 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2912
2913 * emacs-lisp/package.el (package-menu-mode)
2914 (package-menu--print-info, package-menu--archive-predicate):
2915 Add Archive column to package list.
2916
2917 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2918
2919 Fix problems found while writing a test suite.
2920
2921 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2922 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2923 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2924 to nil when running original file name handler. Otherwise,
2925 there are problems with constructs like "$$FOO".
2926
2927 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2928 for `localname'.
2929
2930 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2931
2932 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2933
2934 * subr.el (version<, version<=, version=):
2935 Update docstrings with information for snapshot versions.
2936
2937 * helpers.el: New library for misc helper functions.
2938 (hash-table-keys): New function returning a list of hash keys.
2939 (hash-table-values): New function returning a list of hash values.
2940
2941 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2942
2943 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2944 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2945
2946 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2947
2948 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2949 checking whether point is after a 1-letter word.
2950
2951 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2952
2953 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2954 Don't infloop when expanding region over `multiline' syntax-type that
2955 begins a line (bug#15778).
2956
2957 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2958
2959 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2960 Make it into a proper minor mode.
2961 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2962 (rectangle-mark-mode-map): New keymap.
2963 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2964
2965 2013-11-04 Glenn Morris <rgm@gnu.org>
2966
2967 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2968
2969 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2970
2971 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2972 (ruby-smie-rules): Use smie-rule-parent instead.
2973
2974 * emacs-lisp/smie.el (smie-rule-parent): Always call
2975 smie-indent-virtual rather than only for hanging tokens.
2976 (smie--next-indent-change): New helper command.
2977
2978 2013-11-03 Glenn Morris <rgm@gnu.org>
2979
2980 * Makefile.in (abs_srcdir): Remove.
2981 (emacs): Unset EMACSLOADPATH.
2982
2983 2013-11-02 Glenn Morris <rgm@gnu.org>
2984
2985 * Makefile.in (EMACS): Use a relative filename.
2986 (abs_top_builddir): Remove.
2987 (custom-deps, finder-data, autoloads): Use --chdir.
2988
2989 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2990
2991 Use relative filenames in TAGS files.
2992 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2993 (lisptagsfiles4, TAGS): Use relative file names.
2994 (TAGS-LISP): Remove.
2995 (maintainer-clean): No more TAGS-LISP file.
2996
2997 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2998 (lisptagsfiles4): Use absolute filenames again.
2999 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3000 Remove all *loaddefs files, not just the first. Remove esh-groups.
3001 (maintainer-clean): Delete TAGS, TAGS-LISP.
3002
3003 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3004
3005 * emacs-lisp/package.el (package-version-join):
3006 Recognize snapshot versions.
3007
3008 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3009
3010 * subr.el (version-regexp-alist): Add support for snapshot versions.
3011
3012 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3013
3014 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3015 New function, replacement for `smie-rule-parent' for when we want to
3016 skip over our direct parent if it's an assignment token..
3017 (ruby-smie-rules): Use it.
3018
3019 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3020
3021 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3022 unconditionally. Remove now unnecessary forward declarations.
3023 Remove XEmacs-specific setup.
3024 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3025 (ruby-font-lock-syntactic-keywords)
3026 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3027 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3028 (ruby-here-doc-end-syntax): Remove.
3029 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3030 defined as function.
3031
3032 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3033
3034 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3035
3036 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3037
3038 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3039 table and abbrev table, `define-derived-mode' does that for us
3040 anyway.
3041
3042 2013-11-01 Glenn Morris <rgm@gnu.org>
3043
3044 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3045 files is atomic for some time, so no parallel compilation issues).
3046
3047 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3048
3049 * faces.el (face-x-resources): Add :distant-foreground.
3050 (region): Use :distant-foreground for gtk and ns.
3051
3052 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3053
3054 Allow multiple bibliographies when BibLaTeX is used rather than
3055 BibTeX.
3056 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3057 (reftex-locate-bibliography-files): Us it.
3058
3059 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3060
3061 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3062 allow comments in pbm files.
3063
3064 * term/w32-win.el (dynamic-library-alist): Support newer versions
3065 of libjpeg starting with v7: look only for the DLL from the
3066 version against which Emacs was built.
3067 Support versions of libpng beyond 1.4.x.
3068 Support libtiff v4.x.
3069
3070 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3071
3072 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3073 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3074 Add property :safe.
3075 (ruby-deep-arglist): Add property :type.
3076
3077 2013-10-31 Glenn Morris <rgm@gnu.org>
3078
3079 * Makefile.in (custom-deps, finder-data): No need to setq the target
3080 variables, we are in the right directory and the defaults work fine.
3081
3082 2013-10-30 Glenn Morris <rgm@gnu.org>
3083
3084 * Makefile.in (autoloads): Do not use abs_lisp.
3085
3086 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3087 `newline' does not respect `standard-output', so use `princ'.
3088
3089 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3090
3091 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3092 * buff-menu.el (Buffer-menu--unmark): New function.
3093 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3094
3095 2013-10-30 Glenn Morris <rgm@gnu.org>
3096
3097 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3098
3099 * emacs-lisp/package.el (lm-homepage): Declare.
3100
3101 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3102 Fix doc typos.
3103
3104 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3105
3106 * Makefile.in (finder-data, autoloads, update-subdirs)
3107 (compile-main, compile-clean, compile-always, bootstrap-clean):
3108 Check return value of cd.
3109 (compile-calc): Remove.
3110
3111 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3114
3115 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3116 (byte-compile-and-folded): New function.
3117 (=, <, >, <=, >=): Use it.
3118
3119 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3120 (path-separator, null-device, buffer-file-coding-system)
3121 (lpr-headers-switches): Check system-type before modifying them.
3122 (find-buffer-file-type-coding-system): Mark obsolete.
3123 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3124 find-file-not-found-set-buffer-file-coding-system.
3125 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3126 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3127 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3128 (w32-direct-print-region-helper, w32-direct-print-region-function)
3129 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3130 * startup.el (normal-top-level-add-subdirs-to-load-path):
3131 * ps-print.el (ps-print-region-function):
3132 * lpr.el (print-region-function): Use new name.
3133
3134 * subr.el (custom-declare-variable-early): Remove function.
3135 (custom-declare-variable-list): Remove var.
3136 (error, user-error): Remove `while' loop.
3137 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3138 (user-emacs-directory-warning, locate-user-emacs-file):
3139 Move to files.el.
3140 * simple.el (read-quoted-char-radix, read-quoted-char):
3141 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3142 Move from subr.el.
3143 * custom.el (custom-declare-variable-list): Don't process
3144 custom-declare-variable-list.
3145
3146 * progmodes/python.el (python-shell-get-buffer): New function.
3147 (python-shell-get-process): Use it.
3148 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3149 Python which encoding was used. Don't split-string since we only care
3150 about the first line. Return the temp-file, if applicable.
3151 (python-shell-send-region): Tell compile.el how to turn locations in
3152 the temp-file into locations in the source buffer.
3153
3154 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3155
3156 * subr.el (undefined): Add missing behavior from the C code for
3157 unbound keys.
3158
3159 * rect.el: Use lexical-binding. Add new rectangular region support.
3160 (rectangle-mark): New command.
3161 (rectangle--region): New var.
3162 (deactivate-mark-hook): Reset rectangle--region.
3163 (rectangle--extract-region, rectangle--insert-for-yank)
3164 (rectangle--highlight-for-redisplay)
3165 (rectangle--unhighlight-for-redisplay): New functions.
3166 (region-extract-function, redisplay-unhighlight-region-function)
3167 (redisplay-highlight-region-function): Use them to handle
3168 rectangular region.
3169 * simple.el (region-extract-function): New var.
3170 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3171 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3172 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3173 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3174 (redisplay-unhighlight-region-function)
3175 (redisplay-highlight-region-function): New vars.
3176 (redisplay--update-region-highlight): New function.
3177 (pre-redisplay-function): Use it.
3178 (exchange-point-and-mark): Don't deactivate the mark before
3179 reactivate-it anyway.
3180 * comint.el (comint-kill-region): Remove yank-handler argument.
3181 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3182 (delete-char): Remove property, since it's now part of their
3183 default behavior.
3184 (self-insert-iso): Remove property since this command doesn't exist.
3185
3186 * emacs-lisp/package.el (package--download-one-archive)
3187 (describe-package-1): Don't query the user about final newline.
3188
3189 2013-10-29 Daniel Colascione <dancol@dancol.org>
3190
3191 * net/tramp.el (tramp-methods): Document new functionality.
3192 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3193 tramp-hostname-checker if method provides one instead of scanning
3194 argument list for "%h" to decide hostname acceptability.
3195
3196 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3197
3198 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3199 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3200 Handle COPY-CONTENTS. (Bug#15737)
3201
3202 2013-10-28 Daiki Ueno <ueno@gnu.org>
3203
3204 * epa-file.el
3205 (epa-file-cache-passphrase-for-symmetric-encryption):
3206 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3207
3208 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3209
3210 * image.el (defimage):
3211 (image-load-path): Doc fixes.
3212
3213 2013-10-27 Alan Mackenzie <acm@muc.de>
3214
3215 Indent statements in macros following "##" correctly.
3216 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3217 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3218
3219 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3220
3221 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3222
3223 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3224
3225 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3226 after `=' is probably a new expression.
3227
3228 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3229
3230 * man.el (man-imenu-title): New option.
3231 (Man-mode-map): Add menu. (Bug#15722)
3232 (Man-mode): Add imenu to menu.
3233
3234 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3235
3236 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3237 specific in what the first arg can be: a non-keyword word,
3238 string/regexp/percent literal opener, opening paren, or unary
3239 operator followed directly by word.
3240
3241 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3244 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3245 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3246 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3247 Remove vars, they do not apply any more.
3248 (prolog-mode-abbrev-table): Remove redundant declaration.
3249 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3250 (prolog-use-smie): Remove.
3251 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3252 supported by prolog-electric-if-then-else-flag.
3253 (prolog-mode-variables, prolog-menu): Use setq-local.
3254 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3255 Remove binding to `Backspace' since this key doesn't exist anyway.
3256 Remove bindings for electric self-inserting keys.
3257 (prog-mode): Assume it's defined.
3258 (prolog-post-self-insert): New function.
3259 (prolog-mode): Use it.
3260 (prolog-indent-line, prolog-indent-level)
3261 (prolog-find-indent-of-matching-paren)
3262 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3263 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3264 (prolog-goto-next-paren, prolog-in-string-or-comment)
3265 (prolog-tokenize, prolog-inside-mline-comment)
3266 (prolog-find-start-of-mline-comment): Remove functions.
3267 (prolog-find-unmatched-paren, prolog-clause-end)
3268 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3269 (prolog-electric--if-then-else): Rename from
3270 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3271 (prolog-tokenize-searchkey): Remove const.
3272 (prolog-clause-info): Use forward-sexp.
3273 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3274 (prolog-electric-if-then-else): Remove commands.
3275 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3276 for use in post-self-insert-hook.
3277 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3278 for use in post-self-insert-hook.
3279 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3280 for use in post-self-insert-hook.
3281 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3282 adapt it for use in post-self-insert-hook.
3283
3284 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * emacs-lisp/ert.el (ert-run-tests-interactively):
3287 Use `completing-read'. (Bug#9756)
3288
3289 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3290
3291 * simple.el (line-move): Call line-move-1 instead of
3292 line-move-visual when the current window hscroll is zero, but
3293 temporary-goal-column indicates we will need to hscroll as result
3294 of the movement. (Bug#15712)
3295
3296 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3297
3298 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3299 capitalization. Use :visible instead of :active.
3300 Fix `ruby-indent-exp' reference. Add menu items for the generic
3301 commands that are used with SMIE.
3302 (ruby-do-end-to-brace): Insert space after `{'.
3303
3304 2013-10-25 John Anthony <john@jo.hnanthony.com>
3305
3306 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3307
3308 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3309
3310 2013-10-25 Glenn Morris <rgm@gnu.org>
3311
3312 * vc/vc.el (vc-print-log): Don't use a working revision unless
3313 one was explicitly specified. (Bug#15322)
3314
3315 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3316
3317 * subr.el (add-to-list): Preserve return value in compiler-macro
3318 (bug#15692).
3319
3320 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3321
3322 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3323 result. Ask user to retry using '-all' flag. (Bug#15701)
3324
3325 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/smie.el: New smie-config system.
3328 (smie-config): New defcustom.
3329 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3330 (smie-config-guess, smie-config-save): New commands.
3331 (smie-config--mode-local, smie-config--buffer-local)
3332 (smie-config--trace, smie-config--modefuns): New vars.
3333 (smie-config--advice, smie-config--mode-hook)
3334 (smie-config--setter, smie-config-local, smie-config--get-trace)
3335 (smie-config--guess-value, smie-config--guess): New functions.
3336 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3337 text properties. Treat "string fence" syntax like string syntax.
3338
3339 * progmodes/sh-script.el (sh-use-smie): Change default.
3340 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3341 (sh-var-value): Simplify by CSE.
3342 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3343 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3344 is used.
3345 (sh-guess-basic-offset): Use cl-incf.
3346 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3347
3348 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3349
3350 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3351 (bug#15699).
3352
3353 2013-10-24 Glenn Morris <rgm@gnu.org>
3354
3355 * Makefile.in (abs_top_srcdir): Remove.
3356 (update-subdirs): Use relative path to update-subdirs.
3357
3358 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3359
3360 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3361 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3362 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3363 Call unmsys--file-name before expand-file-name, not after it.
3364
3365 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3366
3367 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3368 (ert-test-skipped): New error.
3369 (ert-skip, ert-stats-skipped): New defuns.
3370 (ert--skip-unless): New macro.
3371 (ert-test-skipped): New struct.
3372 (ert--run-test-debugger, ert-test-result-type-p)
3373 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3374 (ert--stats-set-test-and-result, ert-char-for-test-result)
3375 (ert-string-for-test-result, ert-run-tests-batch)
3376 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3377 Handle skipped tests. (Bug#9803)
3378
3379 2013-10-24 Glenn Morris <rgm@gnu.org>
3380
3381 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3382
3383 * Makefile.in (abs_top_srcdir): New, set by configure.
3384 (update-subdirs): Correct build-aux location.
3385
3386 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3387
3388 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3389 value, whether we could auto-deduce `backend', or not.
3390
3391 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3392 with parameters" example. Simplify the "is it block or is it
3393 hash" check, but also make it more thorough.
3394
3395 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3396
3397 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3398
3399 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3400
3401 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3402 { if it is hanging.
3403
3404 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3405 :before ";".
3406
3407 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3408
3409 * progmodes/compile.el (compilation-directory-matcher)
3410 (compilation-page-delimiter):
3411 Support GNU Make-4.0 directory quoting. (Bug#15678)
3412
3413 2013-10-23 Leo Liu <sdl.web@gmail.com>
3414
3415 * ido.el (ido-tidy): Handle read-only text.
3416
3417 2013-10-23 Glenn Morris <rgm@gnu.org>
3418
3419 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3420 (emacs, compile, compile-always):
3421 Quote entities that might contain whitespace.
3422 (custom-deps, finder-data, autoloads): Use abs_lisp.
3423 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3424 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3425 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3426
3427 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3428
3429 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3430 Use `following-char'.
3431
3432 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3433
3434 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3435 * progmodes/ruby-mode.el (ruby-smie-rules):
3436 Remove corresponding workaround. Fix indentation rule of ";" so it
3437 also applies when ";" is the parent.
3438
3439 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3440
3441 * frame.el (display-screens, display-pixel-height)
3442 (display-pixel-width, display-mm-width, display-backing-store)
3443 (display-save-under, display-planes, display-color-cells)
3444 (display-visual-class, display-monitor-attributes-list):
3445 Mention the optional ‘display’ argument in doc strings.
3446
3447 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3448
3449 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3450 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3451
3452 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3453
3454 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3455 TODO. Add "." after " @ ".
3456 (ruby-smie--at-dot-call): New function. Checks if point at method
3457 call with explicit target.
3458 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3459 to the method name tokens when it precedes them.
3460 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3461 (ruby-smie-rules): Add rule for indentation before and after "."
3462 token.
3463
3464 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * textmodes/remember.el (remember-diary-extract-entries):
3467 Avoid add-to-list.
3468
3469 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3470 an instruction.
3471
3472 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3473
3474 * progmodes/ruby-mode.el (ruby-smie-grammar):
3475 Add (almost) all infix operators.
3476 (ruby-smie--implicit-semi-p): Add new operator chars.
3477
3478 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3479 `smie-down-list'.
3480 (ruby-smie--args-separator-p): Check that there's no newline
3481 between method call and its arguments.
3482
3483 2013-10-20 Alan Mackenzie <acm@muc.de>
3484
3485 Allow comma separated lists after Java "implements".
3486
3487 * progmodes/cc-engine.el (c-backward-over-enum-header):
3488 Parse commas.
3489 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3490 from a "disallowed" list in enum fontification.
3491
3492 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3493
3494 * startup.el (default-frame-background-mode): Remove unused defvar.
3495
3496 * progmodes/verilog-mode.el (verilog-mode): Don't set
3497 comment-indent-function globally.
3498
3499 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3500
3501 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3502 Move Info menu item creation to ns-win.el.
3503
3504 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3505 in menu bar.
3506
3507 * menu-bar.el: Move GNUStep specific menus...
3508
3509 * term/ns-win.el (ns-initialize-window-system): ... to here.
3510
3511 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * simple.el (newline): Only run post-self-insert-hook when
3514 called interactively.
3515
3516 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3517
3518 * icomplete.el (icomplete-with-completion-tables): Add :version.
3519
3520 2013-10-19 Alan Mackenzie <acm@muc.de>
3521
3522 Fix fontification bugs with constructors and const.
3523
3524 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3525 CASE 2) Remove the check for the absence of a suffix construct
3526 after a function declaration with only types (no identifiers) in
3527 the parentheses. Also, accept a function declaration with just a
3528 type inside the parentheses, if this type can be positively
3529 recognised as such, or if a prefix keyword like "explicit" nails
3530 down the construct as a declaration.
3531
3532 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3533
3534 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3535 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3536 the problem whereby selecting a menu item that leads to a
3537 minibuffer prompt moves the cursor out of the minibuffer window,
3538 making it hard to type at the prompt. Suggested by Stefan Monnier
3539 <monnier@iro.umontreal.ca>.
3540
3541 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3542
3543 * menu-bar.el: Don't make Services menu.
3544
3545 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3546
3547 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3548 (ffap-alist): Use ffap-c++-mode for c++-mode.
3549 (ffap-c++-path): New variable.
3550 (ffap-c++-mode): New function.
3551
3552 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3553
3554 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3555
3556 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3557
3558 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3559 introduced on 2013-09-08, which results in an infinite loop
3560 requesting a password.
3561
3562 2013-10-18 Glenn Morris <rgm@gnu.org>
3563
3564 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3565
3566 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3567
3568 Sync with upstream verilog-mode revision 1a6ecec7.
3569 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3570 (verilog-mode-release-date): Remove.
3571 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3572 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3573 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3574 (verilog-auto-tieoff-ignore-regexp)
3575 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3576 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3577 (verilog-signals-with, verilog-dir-cache-preserving)
3578 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3579 Doc fixes.
3580 (verilog-case-fold): New option, to control case folding in
3581 regexp searches, bug597.
3582 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3583 (verilog-string-match-fold, verilog-in-paren-count)
3584 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3585 (verilog-at-close-struct-p): New functions.
3586 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3587 (verilog-forward-sexp, verilog-set-auto-endcomments):
3588 (verilog-leap-to-case-head): Handle "unique0" case.
3589 (verilog-in-constraint-re): New constant.
3590 (verilog-keywords, verilog-type-font-keywords):
3591 Add some SystemVerilog 1800-2012 keywords.
3592 (verilog-label-be): Remove unimplemented argument, bug669.
3593 (verilog-batch-execute-func): When batch expanding clear
3594 create-lockfiles to prevent spurious user locks when a file ends
3595 up not changing.
3596 (verilog-calculate-indent, verilog-calc-1)
3597 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3598 (verilog-do-indent): Fix indentation of nested constraints
3599 and structures.
3600 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3601 (verilog-auto-inst-param): Use verilog-string-match-fold.
3602 (verilog-read-inst-module-matcher):
3603 Fix AUTOINST on gate primitives with #1.
3604 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3605 Reads all user-defined typed variables.
3606 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3607 (verilog-signals-matching-regexp)
3608 (verilog-signals-not-matching-regexp, verilog-auto):
3609 Respect verilog-case-fold.
3610 (verilog-diff-report): Fix line count.
3611 (verilog-auto-assign-modport): Remove unused local `modi'.
3612 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3613 better handle multidimensional arrays.
3614 Fix packed array ports misadding bit index in AUTOINST, bug637.
3615 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3616 to not double-declare existing outputs and inputs, respectively.
3617 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3618 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3619 (verilog-sk-uvm-component): New skeleton.
3620 (verilog-submit-bug-report): Add verilog-case-fold,
3621 remove verilog-mode-release-date.
3622
3623 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3624
3625 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3626 as before.
3627
3628 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3629
3630 * textmodes/remember.el (remember): Set buffer-offer-save in
3631 remember buffers (bug#13566).
3632
3633 2013-10-18 Daniel Colascione <dancol@dancol.org>
3634
3635 When evaluating forms in ielm, direct standard output to ielm
3636 buffer. Add new ielm-return-for-effect command. Remove trailing
3637 whitespace throughout.
3638
3639 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3640 (ielm-return-for-effect): New command.
3641 (ielm-send-input): Accept optional `for-effect' parameter.
3642 (ielm-eval-input): Accept optional `for-effect' parameter.
3643 Bind `standard-output' to stream we create using
3644 `ielm-standard-output-impl'. Suppress printing result when
3645 `for-effect'.
3646 (ielm-standard-output-impl): New function.
3647 (inferior-emacs-lisp-mode): Explain new features in documentation.
3648
3649 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3650
3651 Code cleanup.
3652
3653 * net/tramp.el (tramp-debug-message): Do not check for connection
3654 buffer.
3655 (tramp-message): Use "vector" connection property.
3656
3657 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3658 (tramp-equal-remote, tramp-eshell-directory-change)
3659 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3660 (tramp-adb-handle-rename-file)
3661 * net/tramp-cmds.el (tramp-list-remote-buffers)
3662 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3663 * net/tramp-compat.el (tramp-compat-process-running-p)
3664 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3665 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3666 (tramp-gvfs-handle-rename-file)
3667 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3668 (tramp-set-file-uid-gid)
3669 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3670 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3671 of `file-remote-p'.
3672
3673 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3674 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3675 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3676 (tramp-gw-open-network-stream): Suppress unrelated traces.
3677
3678 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3679 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3681 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3682 connection property.
3683
3684 * net/tramp-cache.el (top): Suppress traces when reading
3685 persistency file.
3686
3687 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3688 Refactor common code. Improve debug message.
3689 (tramp-maybe-open-connection)
3690 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3691 connection buffer too early.
3692
3693 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3694 from `tramp-smb-actions-with-acl'.
3695 (tramp-smb-actions-set-acl): New defconst.
3696 (tramp-smb-handle-copy-directory)
3697 (tramp-smb-action-get-acl): New defun, renamed from
3698 `tramp-smb-action-with-acl'.
3699 (tramp-smb-action-set-acl): New defun.
3700 (tramp-smb-handle-set-file-acl): Rewrite.
3701
3702 2013-10-17 Glenn Morris <rgm@gnu.org>
3703
3704 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3705
3706 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3707
3708 * skeleton.el (skeleton-newline): Remove.
3709 (skeleton-internal-1): Use (insert "\n") instead.
3710
3711 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3712 let-bindings.
3713
3714 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3715 forward-sexp-function while we redo its job (bug#15613).
3716
3717 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3718
3719 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3720 represented by lists.
3721
3722 2013-10-16 Glenn Morris <rgm@gnu.org>
3723
3724 * tmm.el (tmm--history): New dynamic variable.
3725 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3726
3727 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3728
3729 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3730 (tramp-smb-errors): Add error messages.
3731 (tramp-smb-actions-with-acl): New defconst.
3732 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3733 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3734 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3735 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3736 (tramp-smb-get-stat-capability): Fix tests.
3737
3738 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3739
3740 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3741 (bug#15580).
3742
3743 2013-10-16 Glenn Morris <rgm@gnu.org>
3744
3745 * ansi-color.el (ansi-color-drop-regexp):
3746 Add 1J, 1K, 2K. (Bug#15617)
3747
3748 * files.el (hack-local-variables--warned-lexical): New.
3749 (hack-local-variables):
3750 Warn about misplaced lexical-binding. (Bug#15616)
3751
3752 * net/eww.el (eww-render): Always set eww-current-url,
3753 and update header line. (Bug#15622)
3754 (eww-display-html): ... Rather than just doing it here.
3755
3756 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3757
3758 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3759 menu navigations commands.
3760
3761 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3762
3763 * progmodes/subword.el (subword-capitalize): Be careful when
3764 the search for [[:alpha:]] fails (bug#15580).
3765
3766 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3767
3768 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3769 to commands that scroll the menu.
3770
3771 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3772
3773 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3774 Handle methods ending with `?' and `!'.
3775
3776 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3777
3778 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3779 `japanese-cp932' to `cp932' to fix the problem where saving a
3780 source file written in Shift_JIS twice would end up having
3781 `coding: japanese-cp932' which Ruby could not recognize.
3782 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3783 in `ruby-encoding-map'.
3784 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3785 doesn't need to be explicitly declared in magic comment.
3786 (ruby-encoding-map): Add type declaration for better customize UI.
3787
3788 2013-10-13 Glenn Morris <rgm@gnu.org>
3789
3790 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3791 Occur buffers are read-only. http://bugs.debian.org/720775
3792
3793 * emacs-lisp/authors.el (authors-fixed-entries):
3794 Comment out old alpha stuff.
3795
3796 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3797
3798 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3799 to `after-save-hook' instead of `before-save-hook'.
3800 (ruby-mode-set-encoding): Use the value of coding system used to
3801 write the file. Call `basic-save-buffer-1' after modifying the
3802 buffer.
3803
3804 2013-10-13 Alan Mackenzie <acm@muc.de>
3805
3806 Fix indentation/fontification of Java enum with
3807 "implements"/generic.
3808
3809 * progmodes/cc-engine.el (c-backward-over-enum-header):
3810 Extracted from the three other places and enhanced to handle generics.
3811 (c-inside-bracelist-p): Uses new function above.
3812 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3813 function above.
3814 (c-font-lock-enum-tail): Uses new function above.
3815
3816 2013-10-13 Kenichi Handa <handa@gnu.org>
3817
3818 * international/mule-cmds.el (select-safe-coding-system): Remove a
3819 superfluous condition in chekcing whether a coding system is safe
3820 or not.
3821
3822 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3823
3824 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3825
3826 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3827
3828 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3829
3830 2013-10-13 Glenn Morris <rgm@gnu.org>
3831
3832 * menu-bar.el (menu-bar-update-buffers):
3833 Unify Buffers menu prompt string. (Bug#15576)
3834
3835 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3836
3837 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3838 Add some entries.
3839 (authors-fixed-entries): Use accented form of name.
3840
3841 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3844 method calls (bug#15594).
3845 (ruby-smie--args-separator-p): New function.
3846 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3847 recognize paren-free method calls.
3848
3849 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3850 internals of universal-argument.
3851
3852 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3853
3854 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3855 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3856 dropped menu on second mouse click on the menu bar.
3857
3858 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3859
3860 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3861 (explicit-shell-file-name): Declare.
3862 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3863 (sh-completion-at-point-function): New function.
3864 (sh-mode): Use it.
3865 (sh-smie--keyword-p): Remove unused argument.
3866 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3867 vars.
3868 (sh-set-shell): Always setup SMIE, even if we use the
3869 old indentation code.
3870
3871 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3872
3873 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3874 cases of ? and =.
3875 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3876 predicate would return nil are almost non-existent.
3877 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3878
3879 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3880 cache also after commands that modify the buffer but don't move
3881 point.
3882
3883 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3884
3885 * env.el (substitute-env-in-file-name): New function.
3886 (substitute-env-vars): Extend the meaning of the optional arg.
3887
3888 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3889
3890 * term/w32-win.el (dynamic-library-alist): Define separate lists
3891 of GIF DLLs for versions before and after 5.0.0 of giflib.
3892 (Bug#15531)
3893
3894 2013-10-10 João Távora <joaotavora@gmail.com>
3895
3896 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3897 not locked, use last revision and current source as
3898 defaults. (Bug#15569)
3899
3900 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3901
3902 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3903 menu-bar is hidden.
3904
3905 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3906
3907 * window.el (pop-to-buffer-same-window): Fix doc-string.
3908 (Bug#15492)
3909
3910 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3911
3912 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3913
3914 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3915
3916 * calendar/icalendar.el (icalendar-import-file):
3917 Fix interactive spec. (Bug#15482)
3918
3919 2013-10-10 Glenn Morris <rgm@gnu.org>
3920
3921 * desktop.el (desktop-save): Default to saving in .emacs.d,
3922 since PWD is no longer in desktop-path by default. (Bug#15319)
3923
3924 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3925 now that text mode has a menu with the same entry.
3926 (menu-bar-text-mode-auto-fill): Remove now unused func.
3927 * textmodes/text-mode.el (text-mode-map):
3928 Use auto-fill help text from menu-bar.el.
3929
3930 2013-10-10 John Anthony <john@jo.hnanthony.com>
3931
3932 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3933
3934 2013-10-09 Juri Linkov <juri@jurta.org>
3935
3936 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3937 instead of this-command-keys. Add universal-argument-more and
3938 universal-argument-minus to the list of prefix commands. (Bug#15568)
3939
3940 2013-10-09 Glenn Morris <rgm@gnu.org>
3941
3942 * vc/vc-svn.el (vc-svn-create-repo):
3943 Expand paths in file://... url. (Bug#15446)
3944
3945 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3946 Add some entries.
3947 (authors): Remove unused local variables.
3948
3949 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * profiler.el: Create a more coherent calltree from partial backtraces.
3952 (profiler-format): Hide the tail with `invisible' so that C-s can still
3953 find the hidden elements.
3954 (profiler-calltree-depth): Don't recurse so enthusiastically.
3955 (profiler-function-equal): New hash-table-test.
3956 (profiler-calltree-build-unified): New function.
3957 (profiler-calltree-build): Use it.
3958 (profiler-report-make-name-part): Indent the calltree less.
3959 (profiler-report-mode): Add visibility specs for profiler-format.
3960 (profiler-report-expand-entry, profiler-report-toggle-entry):
3961 Expand the whole subtree when provided with a prefix arg.
3962
3963 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3964
3965 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3966 iuwu-mod token.
3967 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3968 hanging iuwu-mod token.
3969 (ruby-smie--forward-token): Do not include a dot after a token in
3970 that token.
3971 (ruby-smie--backward-token): Likewise.
3972
3973 2013-10-08 Juri Linkov <juri@jurta.org>
3974
3975 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3976 to isearch-other-control-char.
3977 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3978 and isearch-post-command-hook to post-command-hook.
3979 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3980 and isearch-post-command-hook from post-command-hook.
3981 (isearch-unread-key-sequence)
3982 (isearch-reread-key-sequence-naturally)
3983 (isearch-lookup-scroll-key, isearch-other-control-char)
3984 (isearch-other-meta-char): Remove functions.
3985 (isearch-pre-command-hook, isearch-post-command-hook):
3986 New functions based on isearch-other-meta-char rewritten
3987 relying on the new behavior of overriding-terminal-local-map
3988 that does not replace the local keymaps any more. (Bug#15200)
3989
3990 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3991
3992 Support menus on text-mode terminals.
3993 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3994 functionality.
3995
3996 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3997
3998 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3999 Move here from mouse.el.
4000 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4001 and arrow keys.
4002 (tty-menu-navigation-map): New map for TTY menu navigation.
4003
4004 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4005
4006 * frame.el (display-mouse-p): Report text-mode mouse as available
4007 on w32.
4008 (display-popup-menus-p): Report availability if mouse is
4009 available; don't condition on window-system.
4010
4011 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4012 (tty-menu-selected-face): New faces.
4013
4014 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4017 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4018 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4019 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4020 New constants.
4021 (lisp-mode-variables): New `elisp' argument.
4022 (emacs-lisp-mode): Use it.
4023 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4024 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4025
4026 * indent.el: Use lexical-binding.
4027 (indent-region): Add progress reporter.
4028 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4029 last step.
4030 (indent--next-tab-stop): New function to implement this behavior.
4031 (tab-to-tab-stop, move-to-tab-stop): Use it.
4032
4033 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4034
4035 * indent.el (indent-rigidly--current-indentation): New function.
4036 (indent-rigidly-map): New var.
4037 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4038
4039 2013-10-08 Bastien Guerry <bzg@gnu.org>
4040
4041 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4042
4043 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4044
4045 * progmodes/perl-mode.el: Use lexical-binding.
4046 Remove redundant :group args.
4047 (perl-nochange): Change default to be closer to other major modes's
4048 standard behavior.
4049 (perl-indent-line): Don't consider text on current line as a
4050 valid beginning of function from which to indent.
4051
4052 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4053 with more than one argument (bug#15538).
4054
4055 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4056
4057 * vc/pcvs.el: Use lexical-binding.
4058 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4059 environment of `eval'.
4060 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4061 than a list of expressions. Adjust callers.
4062 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4063
4064 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4065
4066 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4067 case of the dot in a chained method call being on the following line.
4068
4069 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * electric.el (electric-indent-inhibit): New var.
4072 (electric-indent-post-self-insert-function): Use it.
4073 * progmodes/python.el (python-mode): Set it.
4074
4075 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4076 open braces.
4077
4078 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4079
4080 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4081 (css-mode): Use electric-indent-chars.
4082
4083 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4084 (font-lock-beg, font-lock-end): Move before first use.
4085 (nxml-mode): Use syntax-propertize-function.
4086 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4087 (nxml-extend-after-change-region): Remove.
4088 * nxml/xmltok.el: Use lexical-binding.
4089 (xmltok-save): Use `declare'.
4090 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4091 * nxml/nxml-util.el: Use lexical-binding.
4092 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4093 Use `declare'.
4094 * nxml/nxml-ns.el: Use lexical-binding.
4095 (nxml-ns-save): Use `declare'.
4096 (nxml-ns-prefixes-for): Avoid add-to-list.
4097 * nxml/rng-match.el: Use lexical-binding.
4098 (rng--ipattern): Use cl-defstruct.
4099 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4100 (rng-cons-group-after, rng-subst-group-after)
4101 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4102 Use closures instead of `(lambda...).
4103
4104 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4105
4106 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4107 of BEG and END.
4108
4109 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4110 Use `tramp-handle-insert-file-contents'.
4111 (tramp-gvfs-handle-insert-file-contents): Remove function.
4112
4113 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4114 Use `save-restriction' in order to keep markers.
4115
4116 * net/trampver.el: Update release number.
4117
4118 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * progmodes/compile.el (compilation-parse-errors):
4121 Use compilation--put-prop.
4122 (compilation--ensure-parse): Check compilation-multiline.
4123
4124 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4125
4126 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4127 lexical-binding.
4128
4129 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4130
4131 * progmodes/ruby-mode.el: Fix recently added tests.
4132 (ruby-smie-grammar): Add - and +.
4133 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4134 (ruby-smie--backward-id): New functions.
4135 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4136 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4137 any more.
4138
4139 2013-10-07 Leo Liu <sdl.web@gmail.com>
4140
4141 * register.el (register-preview-delay)
4142 (register-preview-functions): New variables.
4143 (register-read-with-preview, register-preview)
4144 (register-describe-oneline): New functions.
4145 (point-to-register, window-configuration-to-register)
4146 (frame-configuration-to-register, jump-to-register)
4147 (number-to-register, view-register, insert-register)
4148 (copy-to-register, append-to-register, prepend-to-register)
4149 (copy-rectangle-to-register): Use register-read-with-preview to
4150 read register. (Bug#15525)
4151
4152 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4153
4154 * net/network-stream.el (network-stream-open-starttls): Don't add
4155 --insecure if it's already present, because that gnutls-cli
4156 rejects getting that parameter twice.
4157
4158 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4159
4160 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4161 keyword, too.
4162
4163 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4164
4165 * newcomment.el (comment-use-global-state): Change default value
4166 to t, mark obsolete (Bug#15251).
4167 (comment-beginning): In addition to `comment-to-syntax', check the
4168 value of `comment-use-global-state'.
4169
4170 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4171
4172 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4173 (ruby-comment-column): Follow the global default, by default.
4174 (ruby-smie-grammar): Add assignment syntax.
4175 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4176 open-paren, a comma, or a \.
4177 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4178 and line continuations.
4179 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4180 followed by implicit semi-colons. Add rule for string concatenation
4181 and for indentation at BOB.
4182 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4183
4184 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4185 calling next-sexp, since next-token may have skipped chars which
4186 next-sexp doesn't know should be skipped!
4187
4188 2013-10-05 Leo Liu <sdl.web@gmail.com>
4189
4190 * progmodes/octave.el (octave-send-region):
4191 Call compilation-forget-errors.
4192
4193 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4194
4195 * vc/vc-svn.el (vc-svn-find-admin-dir):
4196 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4197 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4198 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4199 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4200
4201 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4204
4205 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4206
4207 * subr.el (read-passwd): Hide chars even when called within a context
4208 where after-change-functions is disabled (bug#15501).
4209 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4210 until we removed ourself from overriding-terminal-local-map.
4211
4212 2013-10-04 Leo Liu <sdl.web@gmail.com>
4213
4214 * progmodes/octave.el (inferior-octave-mode):
4215 Call compilation-forget-errors.
4216
4217 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4218
4219 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4220
4221 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * net/secrets.el (secrets-create-collection): Add optional
4224 argument ALIAS. Use proper Label keyword. Append ALIAS as
4225 dbus-call-method argument. (Bug#15516)
4226
4227 2013-10-04 Leo Liu <sdl.web@gmail.com>
4228
4229 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4230 (inferior-octave-compilation-font-lock-keywords): New variables.
4231 (compilation-error-regexp-alist)
4232 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4233 (inferior-octave-mode): Use compilation-shell-minor-mode.
4234
4235 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4236
4237 * minibuffer.el (completion--replace): Be careful that `end' might be
4238 a marker.
4239
4240 2013-10-03 Daiki Ueno <ueno@gnu.org>
4241
4242 Add support for package signature checking.
4243 * emacs-lisp/package.el (url-http-file-exists-p)
4244 (epg-make-context, epg-context-set-home-directory)
4245 (epg-verify-string, epg-context-result-for)
4246 (epg-signature-status, epg-signature-to-string)
4247 (epg-check-configuration, epg-configuration)
4248 (epg-import-keys-from-file): Declare.
4249 (package-check-signature): New user option.
4250 (package-unsigned-archives): New user option.
4251 (package-desc): Add `signed' field.
4252 (package-load-descriptor): Set `signed' field if .signed file exists.
4253 (package--archive-file-exists-p): New function.
4254 (package--check-signature): New function.
4255 (package-install-from-archive): Check package signature.
4256 (package--download-one-archive): Check archive signature.
4257 (package-delete): Remove .signed file.
4258 (package-import-keyring): New command.
4259 (package-refresh-contents): Import default keyring.
4260 (package-desc-status): Add "unsigned" status.
4261 (describe-package-1, package-menu--print-info)
4262 (package-menu-mark-delete, package-menu--find-upgrades)
4263 (package-menu--status-predicate): Support "unsigned" status.
4264
4265 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4266
4267 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4268 the new compilation scheme using the new byte-codes.
4269
4270 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4271 (byte-pophandler): New byte codes.
4272 (byte-goto-ops): Adjust accordingly.
4273 (byte-compile--use-old-handlers): New var.
4274 (byte-compile-catch): Use new byte codes depending on
4275 byte-compile--use-old-handlers.
4276 (byte-compile-condition-case--old): Rename from
4277 byte-compile-condition-case.
4278 (byte-compile-condition-case--new): New function.
4279 (byte-compile-condition-case): New function that dispatches depending
4280 on byte-compile--use-old-handlers.
4281 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4282 when we can.
4283
4284 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4285 Optimize under `condition-case' and `catch' if
4286 byte-compile--use-old-handlers is nil.
4287 (disassemble-offset): Handle new bytecodes.
4288
4289 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * subr.el (error): Use `declare'.
4292 (decode-char, encode-char): Use advertised-calling-convention instead
4293 of the docstring to discourage use of the `restriction' arg.
4294
4295 2013-10-03 Daiki Ueno <ueno@gnu.org>
4296
4297 * epg.el (epg-verify-file): Add a comment saying that it does not
4298 notify verification error as a return value nor a signal.
4299 (epg-verify-string): Ditto.
4300
4301 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4302
4303 * progmodes/compile.el (compilation-start): Try globbing the arg to
4304 `cd' (bug#15417).
4305
4306 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4307
4308 Sync with Tramp 2.2.8.
4309
4310 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4311 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4312 * net/trampver.el: Update release number.
4313
4314 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4315
4316 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4317 and default-process-coding-system for darwin only.
4318
4319 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4320
4321 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4322
4323 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4324
4325 * vc/vc-git.el (vc-git-grep): Disable pager.
4326
4327 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4328
4329 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4330 Use :url instead of :homepage, as per
4331 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4332
4333 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4334 non-nil, use `syntax-ppss' (Bug#15251).
4335
4336 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4337
4338 * progmodes/octave.el (inferior-octave-startup-file):
4339 Prefer ~/.emacs.d/init_octave.m.
4340
4341 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4342
4343 * emacs-lisp/package.el (package-desc-from-define):
4344 Accept additional arguments as plist, convert them to an alist and store
4345 them in the `extras' slot.
4346 (package-generate-description-file): Convert extras alist back to
4347 plist and append to the `define-package' form arguments.
4348 (package--alist-to-plist): New function.
4349 (package--ac-desc): Add `extras' slot.
4350 (package--add-to-archive-contents): Check if the archive-contents
4351 vector is long enough, and if it is, pass its `extras' slot value
4352 to `package-desc-create'.
4353 (package-buffer-info): Call `lm-homepage', pass the returned value
4354 to `package-desc-from-define'.
4355 (describe-package-1): Render the homepage button (Bug#13291).
4356
4357 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4358 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4359
4360 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4361
4362 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4363 and default-process-coding-system to utf-8-unix (Bug#15402).
4364
4365 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4366
4367 * subr.el (looking-back): Do not recommend using looking-back.
4368
4369 2013-09-28 Alan Mackenzie <acm@muc.de>
4370
4371 Fix indentation/fontification of Java enum with "implements".
4372
4373 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4374 regexp which matches "implements", etc., in Java.
4375 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4376 specifier clauses coming after "enum".
4377 * progmodes/cc-fonts.el (c-font-lock-declarations)
4378 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4379 after "enum".
4380
4381 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4382
4383 * faces.el (region): Change ns_selection_color to
4384 ns_selection_fg_color, add ns_selection_bg_color.
4385
4386 2013-09-28 Leo Liu <sdl.web@gmail.com>
4387
4388 * progmodes/octave.el (inferior-octave-completion-table)
4389 (inferior-octave-completion-at-point): Minor tweaks.
4390
4391 * textmodes/ispell.el (ispell-lookup-words): Rename from
4392 lookup-words. (Bug#15460)
4393 (lookup-words): Obsolete.
4394 (ispell-complete-word, ispell-command-loop): All uses changed.
4395
4396 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4397
4398 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4399 (octave-mode-menu): Add octave-send-buffer.
4400 (octave-send-buffer): New function.
4401
4402 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4403
4404 * progmodes/octave.el (octave-mode-map): Add key binding for
4405 octave-lookfor.
4406 (octave-mode-menu): Add octave-lookfor.
4407 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4408 octave-lookfor.
4409 (octave-lookfor): New function.
4410
4411 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 * emacs-lisp/cl-macs.el:
4414 (cl--loop-destr-temps): Remove.
4415 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4416 its convention.
4417 (cl--loop-set-iterator-function): New function.
4418 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4419 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4420 Bind `it' with `let' instead of substituting it with `cl-subst'.
4421 (cl--unused-var-p): New function.
4422 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4423 Eliminate some unused variable warnings (bug#15326).
4424
4425 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4426
4427 * doc-view.el (doc-view-scale-reset): Rename from
4428 `doc-view-reset-zoom-level'.
4429 (doc-view-scale-adjust): New command.
4430 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4431 `doc-view-scale-adjust'.
4432
4433 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4434
4435 * doc-view.el (doc-view-reset-zoom-level): New command.
4436 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4437 zoom commands (bug#15466).
4438
4439 2013-09-26 Kenichi Handa <handa@gnu.org>
4440
4441 * international/quail.el (quail-help): Make it not a command.
4442
4443 2013-09-26 Leo Liu <sdl.web@gmail.com>
4444
4445 * minibuffer.el (completion-all-sorted-completions): Make args
4446 optional as they are.
4447
4448 2013-09-25 Daniel Colascione <dancol@dancol.org>
4449
4450 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4451 specs are and that they're not evaluated.
4452
4453 2013-09-24 Sam Steingold <sds@gnu.org>
4454
4455 * midnight.el (clean-buffer-list-kill-regexps)
4456 (clean-buffer-list-kill-buffer-names): Update for the new Man
4457 buffer naming which includes the object name.
4458
4459 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4462 (eshell-parse-command, eshell-parse-pipeline): Use it since
4463 eshell-separate-commands requires a dynamic scoped var.
4464 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4465
4466 2013-09-23 Leo Liu <sdl.web@gmail.com>
4467
4468 * autoinsert.el (auto-insert-alist): Make the value of
4469 lexical-binding match its file setting.
4470
4471 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4472
4473 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4474
4475 * autoarg.el (autoarg-kp-digit-argument):
4476 * electric.el (Electric-command-loop):
4477 * kmacro.el (kmacro-step-edit-insert):
4478 Do not set universal-argument-num-events.
4479
4480 2013-09-22 Leo Liu <sdl.web@gmail.com>
4481
4482 * files.el (interpreter-mode-alist): Add octave.
4483
4484 2013-09-21 Alan Mackenzie <acm@muc.de>
4485
4486 C++: fontify identifier in declaration following "public:" correctly.
4487 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4488 to match "public", etc.
4489 (c-decl-prefix-re): Add ":" into the C++ value.
4490 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4491 bit. Add a check for a ":" preceded by "public", etc.
4492
4493 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4494
4495 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4496 recognized by GDB 7.5 and later.
4497
4498 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4499
4500 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4501
4502 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 * subr.el (internal--call-interactively): New const.
4505 (called-interactively-p): Use it (bug#3984).
4506
4507 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4508
4509 * vc/pcvs.el (cvs-mode-ignore):
4510 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4511 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4512
4513 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4516 (eshell-ls-orig-insert-directory): Remove.
4517 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4518 (eshell-ls-use-in-dired): Use advice-add/remove.
4519 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4520 Add `orig-fun' arg for use in :around advice.
4521 Make it check (redundantly) eshell-ls-use-in-dired.
4522
4523 2013-09-19 Glenn Morris <rgm@gnu.org>
4524
4525 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4526
4527 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4528
4529 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4530
4531 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4532
4533 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4534 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4535 (tramp-get-remote-python): New defuns.
4536 (tramp-get-remote-uid-with-perl)
4537 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4538 contributed by yary <not.com@gmail.com> (tiny change).
4539 (tramp-get-remote-uid-with-python)
4540 (tramp-get-remote-gid-with-python): New defuns. Python code
4541 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4542 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4543
4544 2013-09-19 Glenn Morris <rgm@gnu.org>
4545
4546 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4547
4548 * eshell/em-unix.el (eshell-remove-entries):
4549 Rename argument to avoid name-clash with global `top-level'.
4550
4551 * eshell/esh-proc.el (eshell-kill-process-function):
4552 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4553 (eshell-reset-after-proc): Remove unused arg `proc'.
4554
4555 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4556 (directory-files-and-attributes): Mark unused arg.
4557
4558 * eshell/em-unix.el (eshell-remove-entries):
4559 Remove unused arg `path'. Update callers.
4560
4561 * eshell/em-hist.el (eshell-hist-parse-arguments):
4562 Remove unused arg `silent'. Update callers.
4563
4564 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4565 Fix (f)boundp mix-up.
4566
4567 * eshell/em-smart.el (eshell-smart-scroll-window)
4568 (eshell-disable-after-change):
4569 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4570
4571 2013-09-18 Alan Mackenzie <acm@muc.de>
4572
4573 Fix fontification of type when followed by "const".
4574 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4575 "known" types from fontification.
4576
4577 2013-09-18 Glenn Morris <rgm@gnu.org>
4578
4579 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4580 (chart-face-list): Drop Emacsen without display-color-p.
4581
4582 * net/eww.el (libxml-parse-html-region): Declare.
4583 (eww-display-html): Explicit error if no libxml2 support.
4584
4585 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4586
4587 * image.el (image-type-from-buffer, image-multi-frame-p):
4588 Remove --without-x warning/error.
4589
4590 * mouse.el (mouse-yank-primary):
4591 * term.el (term-mouse-paste):
4592 Reorder to silence --without-x compilation.
4593
4594 * mpc.el (doc-view-mode): Silence --without-x compilation.
4595
4596 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4597 Silence --without-x compilation.
4598
4599 * progmodes/gud.el (gud-find-file, gud-mode):
4600 Silence --without-x compilation.
4601 (tooltip-mode): Declare.
4602
4603 * wdired.el (dired-backup-overwrite): Remove declaration.
4604 (wdired-mode-map): Add doc string.
4605
4606 * custom.el (x-get-resource): Declare.
4607
4608 * eshell/em-glob.el (ange-cache):
4609 * eshell/em-unix.el (ange-cache): Declare.
4610
4611 * faces.el (x-display-list, x-open-connection, x-get-resource):
4612 Declare.
4613
4614 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4615 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4616 Declare.
4617
4618 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4619
4620 * net/gnutls.el (gnutls-log-level): Declare.
4621
4622 * net/shr.el (image-size, image-animate): Declare.
4623
4624 * simple.el (font-info): Declare.
4625
4626 * subr.el (x-popup-dialog): Declare.
4627
4628 * term/common-win.el (x-select-enable-primary)
4629 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4630 Declare.
4631
4632 * term/ns-win.el (x-handle-args): Declare.
4633
4634 * term/x-win.el (x-select-enable-clipboard): Declare.
4635
4636 * term/w32-win.el (create-default-fontset): Declare.
4637
4638 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4639 Declare.
4640
4641 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4642 (fit-frame-to-buffer): Explicit error if --without-x.
4643 (mouse-autoselect-window-select): Silence compiler.
4644
4645 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4646
4647 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4648 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4649 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4650 * eshell/esh-util.el (eshell-sublist):
4651 Remove unused local variables.
4652
4653 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4654
4655 * textmodes/two-column.el: Make 2C-split work for --without-x.
4656 (scroll-bar-columns): Autoload.
4657 (top-level): Require fringe when compiling.
4658
4659 2013-09-18 Leo Liu <sdl.web@gmail.com>
4660
4661 * subr.el (add-hook): Robustify to handle closure as well.
4662
4663 2013-09-17 Glenn Morris <rgm@gnu.org>
4664
4665 * simple.el (messages-buffer-mode-map): Unbind "g".
4666
4667 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * help-mode.el (help-mode-finish): Use derived-mode-p.
4670 Remove obsolete highlighting.
4671
4672 * play/life.el (life-mode): Use define-derived-mode. Derive from
4673 special-mode.
4674 (life): Let-bind inhibit-read-only.
4675 (life-setup): Avoid `setq'. Use `life-mode'.
4676
4677 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4678 which should not be needed any more.
4679 (package-menu-refresh, package-menu-describe-package): Use user-error.
4680
4681 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4682 (eshell-post-rewrite-command-hook): Make obsolete.
4683 (eshell-parse-command): Simplify.
4684 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4685 (eshell--cmd): Declare.
4686 (eshell-parse-pipeline): Remove unused var `final-p'.
4687 Pass a dynvar to eshell-post-rewrite-command-hook.
4688 Implement the new eshell-post-rewrite-command-function.
4689 (eshell-invoke-directly): Remove unused arg `input'.
4690 * eshell/esh-io.el (eshell-io-initialize):
4691 Use eshell-post-rewrite-command-function (bug#15399).
4692 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4693 adjust to new calling convention.
4694 (eshell-create-handles): Rename args to avoid clashing with dynvar
4695 `standard-output'.
4696
4697 2013-09-17 Glenn Morris <rgm@gnu.org>
4698
4699 * simple.el (messages-buffer-mode): New major mode.
4700 (messages-buffer): New function.
4701 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4702 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4703 (ert-run-test): Use `messages-buffer' function.
4704 (ert--force-message-log-buffer-truncation): Ignore read-only.
4705 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4706 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4707
4708 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4709
4710 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4711
4712 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4713
4714 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4715
4716 * icomplete.el (icomplete-in-buffer): New var.
4717 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4718 vars and replace them with functions.
4719 (icomplete-minibuffer-setup): Adjust accordingly.
4720 (icomplete--completion-table, icomplete--completion-predicate)
4721 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4722 New functions.
4723 (icomplete-forward-completions, icomplete-backward-completions)
4724 (icomplete-simple-completing-p, icomplete-exhibit)
4725 (icomplete-completions): Use them.
4726 (icomplete--in-region-buffer): New var.
4727 (icomplete--in-region-setup): New function.
4728 (icomplete-mode): Use it.
4729
4730 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4731 (bug#15379).
4732 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4733 return args and options.
4734 (eshell-eval-using-options): Use the new return value of
4735 eshell--do-opts to set the options's vars in their scope.
4736 (eshell--set-option): Rename from eshell-set-option.
4737 Add arg `opt-vals'.
4738 (eshell--process-option): Rename from eshell-process-option.
4739 Add arg `opt-vals'.
4740 (eshell--process-args): Use an `opt-vals' alist to store the options's
4741 values during their processing and return them additionally to the
4742 remaining args.
4743
4744 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4745
4746 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4747 continuation character an operator, as far as indentation is
4748 concerned (Bug#15369).
4749
4750 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4751
4752 * window.el (window--state-put-2): Don't process buffer state
4753 when buffer doesn't exist any more (Bug#15382).
4754
4755 2013-09-15 Glenn Morris <rgm@gnu.org>
4756
4757 * eshell/em-unix.el (eshell/rm):
4758 Make -f ignore missing files. (Bug#15373)
4759
4760 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4761 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4762 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4763
4764 2013-09-14 Glenn Morris <rgm@gnu.org>
4765
4766 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4767
4768 2013-09-13 Glenn Morris <rgm@gnu.org>
4769
4770 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4771 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4772
4773 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4774
4775 * frame.el (x-focus-frame): Mark as declared in frame.c.
4776
4777 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4778
4779 * ls-lisp.el: Use advice-add.
4780 (original-insert-directory): Remove.
4781 (ls-lisp--insert-directory): Rename from insert-directory; add
4782 `orig-fun' argument.
4783 (insert-directory): Advise.
4784
4785 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4786
4787 * term.el (term-emulate-terminal): Decode the command string
4788 before passing it to term-command-hook. (Bug#15337)
4789
4790 2013-09-13 Glenn Morris <rgm@gnu.org>
4791
4792 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4793
4794 * eshell/esh-ext.el (eshell-search-path): Declare.
4795
4796 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4797 Otherwise an error occurs if eshell-dirs module not loaded.
4798
4799 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4800
4801 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4802
4803 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4804 `tramp-check-proper-host'. Check for a valid method name.
4805
4806 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4807 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4808 * net/tramp-sh.el (tramp-maybe-open-connection):
4809 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4810
4811 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4812 also for hash values.
4813
4814 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * term/ns-win.el (parameters): Don't declare as dynamic.
4817 (before-make-frame-hook): Don't add ineffective function.
4818
4819 * eshell/*.el: Use lexical-binding (bug#15231).
4820
4821 2013-09-12 Kenichi Handa <handa@gnu.org>
4822
4823 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4824
4825 2013-09-12 Glenn Morris <rgm@gnu.org>
4826
4827 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4828 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4829
4830 * subr.el (do-after-load-evaluation): Also give compiler warnings
4831 when obsolete files are used (except by obsolete files).
4832
4833 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4834 in the status output, assume `filename' is the first. (Bug#15322)
4835
4836 * vc/vc.el (vc-deduce-fileset): Doc fix.
4837
4838 * calc/calc-help.el (Info-goto-node):
4839 * progmodes/cperl-mode.el (Info-find-node):
4840 * vc/ediff.el (Info-goto-node): Update declarations.
4841
4842 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4843
4844 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4845 (vc-bzr-pull): Require vc-dispatcher.
4846 * vc/vc-git.el (vc-compilation-mode): Declare.
4847 (vc-git-pull): Require vc-dispatcher.
4848
4849 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4850
4851 * progmodes/octave.el (help-button-action): Declare.
4852
4853 * shell.el (shell-directory-tracker): Output error as a message
4854 rather than just returning it as a string.
4855 (shell-process-pushd): Remove useless use of message.
4856
4857 * dframe.el (dframe-timer-fn):
4858 * files.el (dir-locals-read-from-file):
4859 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4860 (mpc-format):
4861 * reveal.el (reveal-post-command):
4862 * saveplace.el (load-save-place-alist-from-file):
4863 * shell.el (shell-resync-dirs):
4864 * w32-common-fns.el (x-get-selection-value):
4865 * emacs-lisp/copyright.el (copyright-find-copyright):
4866 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4867 * emulation/tpu-edt.el (tpu-copy-keyfile):
4868 * play/bubbles.el (bubbles--mark-neighbourhood):
4869 * progmodes/executable.el
4870 (executable-make-buffer-file-executable-if-script-p):
4871 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4872
4873 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4874
4875 Cleanup Eshell to rely less on dynamic scoping.
4876 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4877 last-value, and ext-command here. Bind `args' closer to `body'.
4878 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4879 (eshell--args): Declare new dynamic var.
4880 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4881 last-value, and ext-command. Pass `args' to `body'.
4882 (eshell-process-args): Bind eshell--args.
4883 (eshell-set-option): Use eshell--args.
4884 * eshell/eshell.el (eshell): Use derived-mode-p.
4885 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4886 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4887 (eshell-glob-function): Declare.
4888 * eshell/esh-util.el: Require cl-lib.
4889 (eshell-read-hosts-file): Avoid add-to-list.
4890 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4891 `err'.
4892 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4893 Declare.
4894 (eshell/diff): Remove unused var `err'.
4895 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4896 `killflag'.
4897 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4898 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4899 first use.
4900 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4901 Move declaration before first use.
4902 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4903 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4904 rely on cl-return.
4905
4906 2013-09-12 Glenn Morris <rgm@gnu.org>
4907
4908 * term/ns-win.el (global-map): Remove binding for ispell-next,
4909 deleted 1999-05-29. (Bug#15357)
4910
4911 2013-09-11 Glenn Morris <rgm@gnu.org>
4912
4913 * echistory.el (electric-command-history): Remove call to deleted func.
4914
4915 * play/landmark.el (landmark-mode): Fix typos.
4916
4917 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4918 Check cvs-sort-ignore-file is bound.
4919
4920 * savehist.el: No need for cl when compiling on Emacs.
4921
4922 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4925 (bug#15338).
4926 (eshell-self-insert-command, eshell-send-invisible):
4927 Remove unused argument.
4928 (eshell-handle-control-codes): Remove unused var `orig'.
4929 Avoid delete-backward-char.
4930
4931 * files.el (set-auto-mode): Simplify a bit further.
4932
4933 2013-09-11 Glenn Morris <rgm@gnu.org>
4934
4935 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4936 (set-auto-mode): Don't regexp-quote elements.
4937 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4938 * progmodes/cc-mode.el (interpreter-mode-alist):
4939 * progmodes/ruby-mode.el (interpreter-mode-alist):
4940 Revert previous change.
4941
4942 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4943
4944 * play/snake.el (snake-mode):
4945 * play/mpuz.el (mpuz-mode):
4946 * play/landmark.el (lm-mode):
4947 * play/blackbox.el (blackbox-mode):
4948 * play/5x5.el (5x5-mode):
4949 * obsolete/options.el (Edit-options-mode):
4950 * net/quickurl.el (quickurl-list-mode):
4951 * net/newst-treeview.el (newsticker-treeview-mode):
4952 * mail/rmailsum.el (rmail-summary-mode):
4953 * mail/mspools.el (mspools-mode):
4954 * locate.el (locate-mode):
4955 * ibuffer.el (ibuffer-mode):
4956 * emulation/ws-mode.el (wordstar-mode):
4957 * emacs-lisp/debug.el (debugger-mode):
4958 * array.el (array-mode):
4959 * net/eudc.el (eudc-mode): Use define-derived-mode.
4960 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4961 Move initialization into declaration.
4962 (mairix-searches-mode): Use define-derived-mode.
4963 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4964 (eudc-edit-hotlist): Use dolist.
4965 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4966 (Man-mode): Use define-derived-mode.
4967 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4968 (Info-edit-mode): Use define-derived-mode.
4969 (Info-cease-edit): Use Info-mode.
4970 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4971 into declaration.
4972 (eshell-mode): Use define-derived-mode.
4973 * chistory.el (command-history-mode-map): Rename from
4974 command-history-map.
4975 (command-history-mode): Use define-derived-mode.
4976 (Command-history-setup): Remove function.
4977 * calc/calc.el (calc-trail-mode-map): New var.
4978 (calc-trail-mode): Use define-derived-mode.
4979 (calc-trail-buffer): Set calc-main-buffer manually.
4980 * bookmark.el (bookmark-insert-annotation): New function.
4981 (bookmark-edit-annotation): Use it.
4982 (bookmark-edit-annotation-mode): Make it a proper major mode.
4983 (bookmark-send-edited-annotation): Use derived-mode-p.
4984 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4985 closer to its ideal place. Use \' to match EOS.
4986
4987 * profiler.el (profiler-calltree-find): Use function-equal.
4988
4989 2013-09-10 Glenn Morris <rgm@gnu.org>
4990
4991 * files.el (interpreter-mode-alist): Convert to regexps.
4992 (set-auto-mode): Adapt for this. (Bug#15306)
4993 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4994 Comment out unused variable.
4995 * progmodes/cc-mode.el (interpreter-mode-alist):
4996 * progmodes/python.el (interpreter-mode-alist):
4997 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4998 * progmodes/sh-script.el (sh-set-shell):
4999 No longer use interpreter-mode-alist to get list of shells.
5000
5001 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5002
5003 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5004
5005 * simple.el: Use set-temporary-overlay-map for universal-argument.
5006 (universal-argument-map): Don't use default-bindings (bug#15317).
5007 Bind switch-frame explicitly. Replace universal-argument-minus with
5008 a conditional binding.
5009 (universal-argument-num-events, saved-overriding-map): Remove.
5010 (restore-overriding-map): Remove.
5011 (universal-argument--mode): Rename from save&set-overriding-map,
5012 and rewrite.
5013 (universal-argument, universal-argument-more, negative-argument)
5014 (digit-argument): Adjust accordingly.
5015 (universal-argument-minus): Remove.
5016 (universal-argument-other-key): Remove.
5017
5018 * subr.el (with-demoted-errors): Add `format' argument.
5019
5020 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5021
5022 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5023 `tramp-cleanup-connection'.
5024
5025 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5026 parameters KEEP-DEBUG and KEEP-PASSWORD.
5027
5028 * net/tramp.el (tramp-file-name-handler):
5029 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5030 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5031 (tramp-maybe-open-connection):
5032 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5033 Use `tramp-cleanup-connection'.
5034
5035 * net/tramp-sh.el (tramp-maybe-open-connection):
5036 Catch 'uname-changed inside the progress reporter.
5037
5038 2013-09-10 Glenn Morris <rgm@gnu.org>
5039
5040 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5041
5042 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5043 returns "alternate access method" in mode (eg "-rw-r--r--.").
5044
5045 2013-09-08 Glenn Morris <rgm@gnu.org>
5046
5047 * saveplace.el (load-save-place-alist-from-file):
5048 Demote errors. (Bug#15305)
5049
5050 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5051
5052 Improve compatibility with older Emacsen, and XEmacs.
5053
5054 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5055 only if it is bound. It isn't for XEmacs.
5056 (with-tramp-progress-reporter): Do not let-bind `result'.
5057 This yields to scoping errors in XEmacs.
5058 (tramp-handle-make-auto-save-file-name): New function, moved from
5059 tramp-sh.el.
5060
5061 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5062 for `make-auto-save-file-name'.
5063 (tramp-adb--gnu-switches-to-ash):
5064 Use `tramp-compat-replace-regexp-in-string'.
5065
5066 * net/tramp-cache.el (tramp-cache-print): Call
5067 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5068
5069 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5070 bound. It isn't for XEmacs.
5071
5072 * net/tramp-compat.el (tramp-compat-copy-file):
5073 Catch `wrong-number-of-arguments' error.
5074 (tramp-compat-replace-regexp-in-string): New defun.
5075
5076 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5077 for `make-auto-save-file-name'.
5078 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5079 `copy-file'.
5080 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5081 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5082 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5083
5084 * net/tramp-gw.el (tramp-gw-open-network-stream):
5085 Use `tramp-compat-replace-regexp-in-string'.
5086
5087 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5088 Call `tramp-handle-make-auto-save-file-name'.
5089 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5090 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5091 (tramp-sh-file-inotifywait-process-filter):
5092 Use `tramp-compat-replace-regexp-in-string'.
5093 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5094
5095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5096 for `make-auto-save-file-name'.
5097 (tramp-smb-handle-copy-directory):
5098 Call `tramp-compat-replace-regexp-in-string'.
5099 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5100 (tramp-smb-handle-copy-file): Improve error message.
5101 (tramp-smb-handle-rename-file): Rename directly only in case
5102 `newname' does not exist yet. This is a restriction of smbclient.
5103 (tramp-smb-maybe-open-connection): Rerun the function only when
5104 `auth-sources' is non-nil.
5105
5106 2013-09-08 Kenichi Handa <handa@gnu.org>
5107
5108 * international/characters.el: Set category "^" (Combining) for
5109 more characters.
5110
5111 2013-09-07 Alan Mackenzie <acm@muc.de>
5112
5113 Correctly fontify Java class constructors.
5114 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5115 in Java Mode.
5116 (c-recognize-typeless-decls): Set the Java value to t.
5117 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5118 While handling a "(", add a check for, effectively, Java, and handle a
5119 "typeless" declaration there.
5120
5121 2013-09-07 Roland Winkler <winkler@gnu.org>
5122
5123 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5124 field subtitle for entry type book.
5125
5126 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * minibuffer.el: Make minibuffer-complete call completion-in-region
5129 rather than other way around.
5130 (completion--some, completion-pcm--find-all-completions):
5131 Don't delay signals when debugging.
5132 (minibuffer-completion-contents): Beware fields within the
5133 minibuffer contents.
5134 (completion-all-sorted-completions): Use defvar-local.
5135 (completion--do-completion, completion--cache-all-sorted-completions)
5136 (completion-all-sorted-completions, minibuffer-force-complete):
5137 Add args `beg' and `end'.
5138 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5139 (minibuffer-complete): Use completion-in-region.
5140 (completion-complete-and-exit): New fun, extracted from
5141 minibuffer-complete-and-exit.
5142 (minibuffer-complete-and-exit): Use it.
5143 (completion--complete-and-exit): Rename from
5144 minibuffer--complete-and-exit.
5145 (completion-in-region--single-word): New function, extracted from
5146 minibuffer-complete-word.
5147 (minibuffer-complete-word): Use it.
5148 (display-completion-list): Make `common-substring' argument obsolete.
5149 (completion--in-region): Call completion--in-region-1 instead of
5150 minibuffer-complete.
5151 (completion-help-at-point): Pass boundaries to
5152 minibuffer-completion-help as args rather than via an overlay.
5153 (completion-pcm--string->pattern): Use `any-delim'.
5154 (completion-pcm--optimize-pattern): New function.
5155 (completion-pcm--pattern->regex): Handle `any-delim'.
5156 * icomplete.el (icomplete-forward-completions)
5157 (icomplete-backward-completions, icomplete-completions):
5158 Adjust calls to completion-all-sorted-completions and
5159 completion--cache-all-sorted-completions.
5160 (icomplete-with-completion-tables): Default to t.
5161 * emacs-lisp/crm.el (crm--current-element): Rename from
5162 crm--select-current-element. Don't put an overlay but return the
5163 boundaries instead.
5164 (crm--completion-command): Take two new args to bind to the boundaries.
5165 (crm-completion-help): Adjust accordingly.
5166 (crm-complete): Use completion-in-region.
5167 (crm-complete-word): Use completion-in-region--single-word.
5168 (crm-complete-and-exit): Use completion-complete-and-exit.
5169
5170 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5171
5172 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5173 than dynamically.
5174
5175 2013-09-06 Juri Linkov <juri@jurta.org>
5176
5177 * info.el (Info-display-images-node): When image file doesn't exist
5178 display text version of the image if it's provided in the Info file.
5179 Otherwise, display the location of missing image from SRC attribute.
5180 Add help-echo text property from ALT attribute. (Bug#15279)
5181
5182 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5183
5184 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5185 (edit-abbrevs-mode): Use define-derived-mode.
5186
5187 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5188 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5189 that it's defined.
5190 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5191 Use define-derived-mode.
5192
5193 * epg.el (epg-start-encrypt): Minor CSE simplification.
5194
5195 2013-09-06 William Xu <william.xwl@gmail.com>
5196
5197 * arc-mode.el: Add support for 7za (bug#15264).
5198 (archive-7z-program): New var.
5199 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5200 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5201 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5202
5203 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5204
5205 Remove URL syntax.
5206
5207 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5208 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5209 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5210 (tramp-postfix-host-format, tramp-file-name-regexp)
5211 (tramp-completion-file-name-regexp)
5212 (tramp-completion-dissect-file-name)
5213 (tramp-handle-substitute-in-file-name): Remove 'url case.
5214 (tramp-file-name-regexp-url)
5215 (tramp-completion-file-name-regexp-url): Remove constants.
5216
5217 2013-09-06 Glenn Morris <rgm@gnu.org>
5218
5219 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5220
5221 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5222
5223 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5224 keywords" below "here-doc beginnings" (Bug#15270).
5225
5226 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * subr.el (pop): Use `car-safe'.
5229 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5230 to detect unused `pop' return value.
5231
5232 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5233 var `block-regexp'.
5234 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5235 (python-fill-string): Remove unused var `marker'.
5236 (python-skeleton-add-menu-items): Remove unused var `items'.
5237
5238 * international/mule-cmds.el: Require CL.
5239 (find-coding-systems-for-charsets): Avoid add-to-list.
5240 (sanitize-coding-system-list): New function, extracted from
5241 select-safe-coding-system-interactively.
5242 (select-safe-coding-system-interactively): Use it.
5243 (read-input-method-name): Accept symbols for `default'.
5244
5245 * emacs-lisp/advice.el (defadvice): Add indent rule.
5246
5247 2013-09-05 Daniel Hackney <dan@haxney.org>
5248
5249 * dired-x.el:
5250 * net/ange-ftp.el:
5251 * net/browse-url.el:
5252 * net/dbus.el:
5253 * net/eudc.el:
5254 * net/eudcb-ldap.el:
5255 * net/eww.el:
5256 * net/imap.el:
5257 * printing.el:
5258 * vc/ediff-diff.el:
5259 * vc/ediff-init.el:
5260 * vc/ediff-merg.el:
5261 * vc/ediff-mult.el:
5262 * vc/ediff-util.el:
5263 * vc/ediff-wind.el:
5264 * vc/ediff.el:
5265 * vc/emerge.el:
5266 * vc/pcvs.el:
5267 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5268 byte compiler. Remove some unused let-bound variables.
5269
5270 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5273 a "ref-cell", since it gets better optimized (bug#14883).
5274
5275 2013-09-05 Glenn Morris <rgm@gnu.org>
5276
5277 * progmodes/cc-awk.el (c-forward-sws): Declare.
5278
5279 2013-09-04 Glenn Morris <rgm@gnu.org>
5280
5281 * generic-x.el [rul-generic-mode]: Require cc-mode.
5282 (c++-mode-syntax-table): Declare.
5283 (rul-generic-mode-syntax-table): Init in the defvar.
5284
5285 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5286
5287 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5288 (vc-do-command, vc-set-async-update):
5289 * vc/vc-mtn.el (vc-mtn-dir-status):
5290 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5291 (vc-hg-pull, vc-hg-merge-branch):
5292 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5293 (vc-git-merge-branch):
5294 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5295 (vc-cvs-dir-status-files):
5296 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5297 (vc-bzr-dir-status-files):
5298 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5299 * vc/vc-annotate.el: Use lexical-binding.
5300 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5301 (vc-sentinel-movepoint): Declare.
5302 (vc-annotate): Don't use `goto-line'.
5303 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5304 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5305 (vc-sentinel-movepoint): Declare.
5306 * vc/vc-svn.el: Use lexical-binding.
5307 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5308 * vc/vc-sccs.el:
5309 * vc/vc-rcs.el: Use lexical-binding.
5310
5311 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5312 `deleted'. Don't drop errors silently.
5313
5314 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5315
5316 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5317
5318 * vc/vc.el (vc-ignore): Rewrite.
5319 (vc-default-ignore): New function.
5320 (vc-default-ignore-completion-table): Use find-ignore-file.
5321
5322 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5323 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5324 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5325 Remove. Most code moved to vc.el.
5326
5327 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5328
5329 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5330 * net/tramp-smb.el (tramp-smb-get-file-entries):
5331 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5332 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5333
5334 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5335 Update call to it.
5336 (eww-change-select): Remove unused var `properties'.
5337 (eww-make-unique-file-name): Remove unused var `base'.
5338
5339 * finder.el (finder-compile-keywords): Don't mess with windows.
5340
5341 * calculator.el (calculator-funcall): Fix typo in last change.
5342
5343 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5344
5345 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5346 <pkg>-autoloads.el file stop us.
5347
5348 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5349 warnings, and factor out common code.
5350
5351 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5352
5353 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5354 two-character operators and whether the character preceding them
5355 changes their meaning (Bug#15208).
5356
5357 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5358
5359 Format code sent to Python shell for robustness.
5360 * progmodes/python.el (python-shell-buffer-substring):
5361 New function.
5362 (python-shell-send-region, python-shell-send-buffer): Use it.
5363
5364 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5365
5366 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5367 * net/tramp.el (tramp-user-error): ... here.
5368 (tramp-find-method, tramp-check-proper-host)
5369 (tramp-dissect-file-name, tramp-debug-message)
5370 (tramp-handle-shell-command):
5371 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5373
5374 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5375
5376 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5377
5378 * avoid.el (mouse-avoidance-point-position)
5379 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5380 returns nil.
5381
5382 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5383
5384 * progmodes/python.el (python-shell-completion-get-completions):
5385 Drop use of deleted `comint-last-prompt-overlay'.
5386 (python-nav-if-name-main): New command.
5387
5388 2013-09-01 Glenn Morris <rgm@gnu.org>
5389
5390 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5391 Avoid leading space in $wins. Otherwise the sed command used by
5392 eg compile-main ends up containing "/*.el". (Bug#15170)
5393
5394 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5395
5396 2013-08-30 Glenn Morris <rgm@gnu.org>
5397
5398 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5399 Fix is-this-a-directory logic. (Bug#15220)
5400
5401 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5402
5403 * textmodes/css-mode.el: Use SMIE.
5404 (css-smie-grammar): New var.
5405 (css-smie--forward-token, css-smie--backward-token)
5406 (css-smie-rules): New functions.
5407 (css-mode): Use them.
5408 (css-navigation-syntax-table): Remove var.
5409 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5410 (css-indent-calculate, css-indent-line): Remove functions.
5411
5412 Misc changes to reduce use of `(lambda...); and other cleanups.
5413 * cus-edit.el: Use lexical-binding.
5414 (customize-push-and-save, customize-apropos)
5415 (custom-buffer-create-internal): Use closures.
5416 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5417 * progmodes/ada-xref.el: Use setq.
5418 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5419 * dframe.el: Use lexical-binding.
5420 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5421 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5422 * descr-text.el: Use lexical-binding.
5423 (describe-text-widget, describe-text-sexp, describe-property-list):
5424 Use closures.
5425 * comint.el (comint-history-isearch-push-state): Use a closure.
5426 * calculator.el: Use lexical-binding.
5427 (calculator-number-to-string): Make it work with lexical-binding.
5428 (calculator-funcall): Same and use cl-letf.
5429
5430 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5431 (lisp--company-doc-string, lisp--company-location): New functions.
5432 (lisp-completion-at-point): Use them to improve Company support.
5433
5434 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5435 params of lambda expressions.
5436 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5437 (ruby-smie--opening-pipe-p): New function.
5438 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5439 symbols and matched |...| for formal params.
5440 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5441 from being treated as hanging. Handle "rescue".
5442
5443 2013-08-29 Glenn Morris <rgm@gnu.org>
5444
5445 * progmodes/cc-engine.el (c-pull-open-brace):
5446 Move definition before use.
5447
5448 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5449
5450 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5451 are immutable. Don't use `unsafe' any more.
5452 (cl--defsubst-expand): Don't substitute at the same time as keeping
5453 a residual unused let-binding. Don't use `unsafe' any more.
5454
5455 2013-08-29 Glenn Morris <rgm@gnu.org>
5456
5457 * calendar/cal-china.el (calendar-chinese-year-cache):
5458 Recenter on 2015.
5459
5460 * nxml/nxml-util.el (nxml-debug-clear-inside):
5461 Use cl-loop rather than loop.
5462
5463 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5464
5465 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5466
5467 2013-08-28 Glenn Morris <rgm@gnu.org>
5468
5469 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5470
5471 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5472
5473 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5474
5475 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5476
5477 * simple.el (repeat-complex-command--called-interactively-skip):
5478 New function.
5479 (repeat-complex-command): Use it (bug#14136).
5480
5481 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5482 (c-define-abbrev-table): Add `doc' argument.
5483 (c-mode-abbrev-table, c++-mode-abbrev-table)
5484 (objc-mode-abbrev-table, java-mode-abbrev-table)
5485 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5486 (awk-mode-abbrev-table): Use it.
5487 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5488 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5489 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5490 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5491 Move initialization into the declaration; and remove any
5492 autoload cookie.
5493
5494 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5495 and dynamic let binding.
5496
5497 * vc/smerge-mode.el: Remove redundant :group args.
5498
5499 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5500 to load-path.
5501
5502 2013-08-28 Juri Linkov <juri@jurta.org>
5503
5504 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5505 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5506 (isearch-other-meta-char): Handle an undefined shifted printing
5507 character by downshifting it. (Bug#15200)
5508
5509 2013-08-28 Juri Linkov <juri@jurta.org>
5510
5511 * isearch.el (isearch-search): Change regexp error message for
5512 non-regexp searches. (Bug#15166)
5513
5514 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5515
5516 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5517 for portability to hosts where /bin/sh has problems.
5518
5519 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5520
5521 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5522
5523 2013-08-27 Juri Linkov <juri@jurta.org>
5524
5525 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5526 in the keyboard macro. (Bug#15126)
5527
5528 2013-08-27 Juri Linkov <juri@jurta.org>
5529
5530 * isearch.el (isearch-quote-char): Comment out converting unibyte
5531 to multibyte, thus syncing with its `quoted-insert' counterpart.
5532 (Bug#15166)
5533
5534 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5535
5536 * window.el (display-buffer-use-some-window): Add missing
5537 argument in call of get-largest-window (Bug#15185).
5538 Reported by Stephen Leake.
5539
5540 2013-08-27 Glenn Morris <rgm@gnu.org>
5541
5542 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5543
5544 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5545
5546 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5547 from a matcher-function unless there's no more matches (bug#15161).
5548
5549 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5550
5551 * minibuffer.el: Revert change from 2013-08-20.
5552
5553 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5554 with text property `tramp-default', if appropriate.
5555 (tramp-check-proper-host): New defun.
5556 (tramp-dissect-file-name): Do not check hostname. Revert change
5557 of 2013-03-18.
5558 (tramp-backtrace): Make VEC-OR-PROC optional.
5559
5560 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5561 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5562 * net/tramp-sh.el (tramp-maybe-open-connection):
5563 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5564 Apply `tramp-check-proper-host'.
5565
5566 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5567
5568 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5569 lambda expression in order to have `describe-variable' display it.
5570
5571 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5572
5573 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5574 BUF can be optional. (Bug#15186)
5575
5576 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5577
5578 * progmodes/flymake.el (flymake-get-real-file-name-function):
5579 Fix broken customization. (Bug#15184)
5580
5581 2013-08-25 Alan Mackenzie <acm@muc.de>
5582
5583 Improve indentation of bracelists defined by macros (without "=").
5584
5585 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5586 expansion begins with "{", regard it as bracelist when it doesn't
5587 contain a ";".
5588
5589 Parse C++ inher-intro when there's a template split over 2 lines.
5590
5591 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5592 rigorously the search for "class" etc. followed by ":".
5593
5594 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5595 random languages a regexp which never matches rather than nil.
5596
5597 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5598
5599 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5600 (c-awk-regexp-one-line-possibly-open-char-list-re)
5601 (c-awk-one-line-possibly-open-regexp-re)
5602 (c-awk-one-line-non-syn-ws*-re): Remove.
5603 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5604 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5605 (c-awk-space*-unclosed-regexp-/-re): New constants.
5606 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5607 aren't regexp delimiters.
5608
5609 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5610 handling for a rare situation in AWK Mode involving unterminated
5611 strings/regexps.
5612
5613 2013-08-23 Glenn Morris <rgm@gnu.org>
5614
5615 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5616
5617 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5618
5619 * files.el (create-file-buffer): If the result would begin with
5620 spaces, prepend a "|" instead of removing them. (Bug#15162)
5621
5622 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5625 text-properties (bug#15155).
5626
5627 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5628 exist any more.
5629 (calc-keypad-redraw): Remove unused var `pad'.
5630 (calc-keypad-press): Remove unused var `menu'.
5631
5632 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5633
5634 * window.el (display-buffer-pop-up-frame):
5635 Call pop-up-frame-function with BUFFER current so `make-frame' will
5636 use it as the new frame's buffer (Bug#15133).
5637
5638 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * calendar/timeclock.el: Minor cleanups.
5641 (timeclock-ask-before-exiting, timeclock-use-display-time):
5642 Use `symbol'.
5643 (timeclock-modeline-display): Define as alias before the
5644 actual definition.
5645 (timeclock-mode-line-display): Use define-minor-mode.
5646 (timeclock-day-list-template): Make it a function, add an argument.
5647 (timeclock-day-list-required, timeclock-day-list-length)
5648 (timeclock-day-list-debt, timeclock-day-list-span)
5649 (timeclock-day-list-break): Adjust calls accordingly.
5650
5651 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5654 Use read--expression so that completion works again.
5655
5656 2013-08-21 Sam Steingold <sds@gnu.org>
5657
5658 Add rudimentary inferior shell interaction
5659 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5660 (sh-set-shell): Reset it.
5661 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5662 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5663
5664 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5665
5666 * align.el: Use lexical-binding.
5667 (align-region): Simplify accordingly.
5668
5669 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5670
5671 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5672
5673 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5674 `non-essential' up.
5675
5676 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5677
5678 * net/tramp.el:
5679 * net/tramp-adb.el:
5680 * net/tramp-cmds.el:
5681 * net/tramp-ftp.el:
5682 * net/tramp-gvfs.el:
5683 * net/tramp-gw.el:
5684 * net/tramp-sh.el: Don't wrap external variable declarations by
5685 `eval-when-compile'.
5686
5687 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5688
5689 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5690 now that Emacs supports ImageMagick animations.
5691
5692 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5693
5694 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5695 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5696
5697 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5698
5699 * window.el (mouse-autoselect-window-select): Do autoselect when
5700 mouse pointer is on margin.
5701
5702 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5703
5704 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5705
5706 2013-08-16 Glenn Morris <rgm@gnu.org>
5707
5708 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5709 Handle "Remote Directory" response of some clients. (Bug#15058)
5710
5711 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5712 Tweak warning. (Bug#14926)
5713
5714 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5715 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5716
5717 * image-mode.el (image-mode-map): Add menu items to reverse,
5718 increase, decrease, reset animation speed.
5719 (image--set-speed, image-increase-speed, image-decrease-speed)
5720 (image-reverse-speed, image-reset-speed): New functions.
5721 (image-mode-map): Add bindings for speed commands.
5722
5723 * image.el (image-animate-get-speed, image-animate-set-speed):
5724 New functions.
5725 (image-animate-timeout): Respect image :speed property.
5726
5727 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5728
5729 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5730 previous line (bug#15101).
5731 (debugger-eval-expression, debugger-record-expression):
5732 Use read--expression (bug#15102).
5733
5734 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5735
5736 Remove byte compiler warnings, visible when compiling with
5737 `byte-compile-force-lexical-warnings' set to t.
5738
5739 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5740 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5741 (tramp-handle-unhandled-file-name-directory)
5742 (tramp-handle-file-notify-add-watch, tramp-action-login)
5743 (tramp-action-succeed, tramp-action-permission-denied)
5744 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5745 arguments with "_".
5746
5747 * net/tramp-adb.el (tramp-adb-parse-device-names)
5748 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5749 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5750 (tramp-adb-handle-file-truename): Remove unused arguments.
5751
5752 * net/tramp-cache.el (tramp-flush-directory-property)
5753 (tramp-flush-connection-property, tramp-list-connections)
5754 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5755
5756 * net/tramp-compat.el (tramp-compat-make-temp-file):
5757 Rename FILENAME to F.
5758
5759 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5760 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5761 (tramp-zeroconf-parse-workstation-device-names)
5762 (tramp-zeroconf-parse-webdav-device-names)
5763 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5764
5765 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5766 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5767
5768 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5769 arguments.
5770 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5771 (tramp-sh-handle-insert-file-contents-literally)
5772 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5773 with "_".
5774 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5775 Remove unused variables.
5776
5777 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5778 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5779 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5780
5781 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5782 Make them a defconst.
5783 (tramp-uuencode-region): Remove unused variable.
5784
5785 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5786
5787 * frameset.el (frameset--prop-setter): New function.
5788 (frameset-prop): Add gv-setter declaration.
5789 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5790 parameter was already set in FILTERED. Doc fix.
5791 (frameset--record-minibuffer-relationships): Allow saving a
5792 minibufferless frame without its corresponding minibuffer frame.
5793 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5794 frame, if the frame id matches.
5795 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5796 frames before orphaned ones.
5797 (frameset-restore): Warn about orphaned windows, instead of error out.
5798
5799 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5800
5801 * window.el (window-make-atom): Don't overwrite parameter
5802 already present.
5803 (display-buffer-in-atom-window): Handle special case where we
5804 split an already atomic window.
5805 (window--major-non-side-window, display-buffer-in-side-window)
5806 (window--side-check): Ignore minibuffer window when walking
5807 window tree.
5808 (window-deletable-p): Return 'frame only if no other frame uses
5809 our minibuffer window.
5810 (record-window-buffer): Run buffer-list-update-hook.
5811 (split-window): Make sure window--check-frame won't destroy an
5812 existing atomic window in case the new window gets nested
5813 inside.
5814 (display-buffer-at-bottom): Ignore minibuffer window when
5815 walking window tree. Don't split a side window.
5816 (pop-to-buffer): Don't set-buffer here, the select-window call
5817 should do that.
5818 (mouse-autoselect-window-select): Autoselect only if we are in the
5819 text portion of the window.
5820
5821 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5822
5823 * net/shr.el (shr-parse-image-data): New function to grab both the
5824 data itself and the Content-Type.
5825 (shr-put-image): Use it.
5826
5827 * net/eww.el (eww-display-image): Ditto.
5828
5829 * image.el (image-content-type-suffixes): New variable.
5830
5831 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5832
5833 * progmodes/python.el (python-imenu--build-tree)
5834 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5835
5836 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5837
5838 * simple.el (backward-word): Mention the optional argument.
5839
5840 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * frameset.el (frameset--make): Rename constructor from make-frameset.
5843 (frameset-p, frameset-valid-p): Don't autoload.
5844 (frameset-valid-p): Use normal accessors.
5845
5846 2013-08-13 Glenn Morris <rgm@gnu.org>
5847
5848 * progmodes/compile.el (compile-command): Tweak example in doc.
5849 * obsolete/scribe.el (scribe-mode):
5850 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5851
5852 * mail/feedmail.el (feedmail-confirm-outgoing)
5853 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5854
5855 * cus-start.el (truncate-partial-width-windows): Fix type.
5856
5857 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5858
5859 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5860
5861 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5862
5863 * emacs-lisp/timer.el (timer--time-setter): New function.
5864 (timer--time): Use it as gv-setter.
5865
5866 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5867 setter is not a symbol.
5868
5869 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5870
5871 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5872 if sending fails. This makes debugging easier.
5873
5874 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5875
5876 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5877 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5878 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5879
5880 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5881
5882 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5883
5884 2013-08-12 Glenn Morris <rgm@gnu.org>
5885
5886 * format.el (format-annotate-function):
5887 Handle read-only text properties in the source. (Bug#14887)
5888
5889 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5890
5891 * net/eww.el (eww-display-html): Ignore coding system errors.
5892 One web site uses "utf-8lias" as the coding system.
5893
5894 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5895
5896 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5897
5898 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5899
5900 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5901 (tutorial--detailed-help): Remove unused local variables.
5902 (tutorial--save-tutorial-to): Use ignore-errors.
5903 (help-with-tutorial): Use looking-at-p.
5904
5905 * view.el (view-buffer-other-window, view-buffer-other-frame):
5906 Mark unused arguments.
5907
5908 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5909 (woman-select-symbol-fonts, woman, woman-find-file)
5910 (woman-insert-file-contents, woman-non-underline-faces):
5911 Use string-match-p.
5912 (woman1-unquote): Move declaration.
5913
5914 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5915 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5916 argument. Remove unused local variable.
5917 (xml-parse-elem-type): Use string-match-p.
5918 (xml-substitute-numeric-entities): Use ignore-errors.
5919
5920 * calculator.el (calculator): Mark unused argument.
5921 (calculator-paste, calculator-quit, calculator-integer-p):
5922 Use ignore-errors.
5923 (calculator-string-to-number, calculator-decimal, calculator-exp)
5924 (calculator-op-or-exp): Use string-match-p.
5925
5926 * dired.el (dired-buffer-more-recently-used-p): Declare.
5927 (dired-insert-set-properties, dired-insert-old-subdirs):
5928 Use ignore-errors.
5929
5930 * dired-aux.el (dired-compress): Use ignore-errors.
5931 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5932 (dired-do-async-shell-command, dired-do-shell-command)
5933 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5934 (dired-insert-subdir-validate): Use string-match-p.
5935 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5936 (dired-add-entry): Use string-match-p, looking-at-p.
5937 (dired-insert-subdir-newpos): Remove unused local variable.
5938
5939 * filenotify.el (file-notify-callback): Remove unused local variable.
5940
5941 * filesets.el (filesets-error): Mark unused argument.
5942 (filesets-which-command-p, filesets-filter-dir-names)
5943 (filesets-directory-files, filesets-get-external-viewer)
5944 (filesets-ingroup-get-data): Use string-match-p.
5945
5946 * find-file.el (ff-other-file-name, ff-other-file-name)
5947 (ff-find-the-other-file, ff-cc-hh-converter):
5948 Remove unused local variables.
5949 (ff-get-file-name): Use string-match-p.
5950 (ff-all-dirs-under): Use ignore-errors.
5951
5952 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5953 (follow-select-if-visible): Remove unused local variable.
5954
5955 * forms.el (read-file-filter): Move declaration.
5956 (forms--make-format, forms--make-parser, forms-insert-record):
5957 Quote function with #'.
5958 (forms--update): Use string-match-p. Quote function with #'.
5959
5960 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5961 (help-make-xrefs): Use looking-at-p.
5962 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5963
5964 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5965 (ibuffer-confirm-operation-on): Use string-match-p.
5966
5967 * msb.el (msb-item-handler, msb-dired-item-handler):
5968 Mark unused arguments.
5969
5970 * ses.el (ses-decode-cell-symbol)
5971 (ses-kill-override): Remove unused local variable.
5972 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5973 (ses-load): Use ignore-errors, looking-at-p.
5974 (ses-jump-safe): Use ignore-errors.
5975 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5976
5977 * tabify.el (untabify, tabify): Mark unused arguments.
5978
5979 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5980 Mark unused argument.
5981 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5982 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5983
5984 * emacs-lisp/timer.el (timer--time): Define setter with
5985 gv-define-setter to avoid deprecation warning.
5986
5987 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5988 (*record-cmpl-statistics-p*): Remove (was commented out).
5989 (cmpl-statistics-block): Remove (body was commented out).
5990 All callers changed.
5991 (add-completions-from-buffer, load-completions-from-file):
5992 Remove unused variables.
5993
5994 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5995
5996 * filecache.el (file-cache-delete-file-list):
5997 Print message only when told so.
5998 (file-cache-files-matching): Use #' in mapconcat argument.
5999
6000 * ffap.el (ffap-url-at-point): Fix reference to variable
6001 thing-at-point-default-mail-uri-scheme.
6002
6003 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6004
6005 * subr.el (define-error): New function.
6006 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6007 error-file-not-found and define with define-error.
6008 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6009 and define with define-error.
6010 * userlock.el (file-locked, file-supersession):
6011 * simple.el (mark-inactive):
6012 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6013 * progmodes/ada-mode.el (ada-mode-errors):
6014 * play/life.el (life-extinct):
6015 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6016 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6017 * nxml/rng-util.el (rng-error):
6018 * nxml/rng-uri.el (rng-uri-error):
6019 * nxml/rng-match.el (rng-compile-error):
6020 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6021 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6022 * nxml/nxml-rap.el (nxml-scan-error):
6023 * nxml/nxml-outln.el (nxml-outline-error):
6024 * net/soap-client.el (soap-error):
6025 * net/gnutls.el (gnutls-error):
6026 * net/ange-ftp.el (ftp-error):
6027 * mpc.el (mpc-proc-error):
6028 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6029 (json-number-format, json-string-escape, json-string-format)
6030 (json-key-format, json-object-format):
6031 * jka-compr.el (compression-error):
6032 * international/quail.el (quail-error):
6033 * international/kkc.el (kkc-error):
6034 * emacs-lisp/ert.el (ert-test-failed):
6035 * calc/calc.el (calc-error, inexact-result, math-overflow)
6036 (math-underflow):
6037 * bookmark.el (bookmark-error-no-filename):
6038 * epg.el (epg-error): Define with define-error.
6039
6040 * time.el (display-time-event-handler)
6041 (display-time-next-load-average): Don't call sit-for since it seems
6042 unnecessary (bug#15045).
6043
6044 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6045 Use #' instead of ' to quote functions.
6046 (checkdoc-output-mode): Use setq-local.
6047 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6048 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6049 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6050 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6051 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6052 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6053 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6054 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6055
6056 * ido.el (ido-completion-help): Fix up compiler warning.
6057
6058 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6059
6060 * frameset.el (frameset-p): Add autoload cookie.
6061 (frameset--jump-to-register): New function, based on code moved from
6062 register.el.
6063 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6064
6065 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6066 (frameset-restore, frameset-save, frameset-session-filter-alist):
6067 Remove declarations.
6068 (register-alist): Doc fix.
6069 (frameset-to-register): Move to frameset.el.
6070 (jump-to-register, describe-register-1): Remove frameset-specific code.
6071
6072 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6073
6074 * allout-widgets.el (allout-widgets-pre-command-business)
6075 (allout-widgets-post-command-business)
6076 (allout-widgets-after-change-handler)
6077 (allout-decorate-item-and-context, allout-set-boundary-marker)
6078 (allout-body-modification-handler)
6079 (allout-graphics-modification-handler): Mark ignored arguments.
6080 (allout-widgets-post-command-business)
6081 (allout-widgets-exposure-change-processor)
6082 (allout-widgets-exposure-undo-processor)
6083 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6084 (allout-parse-item-at-point, allout-decorate-item-guides)
6085 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6086 * allout.el (epa-passphrase-callback-function): Declare.
6087 (allout-overlay-insert-in-front-handler)
6088 (allout-overlay-interior-modification-handler)
6089 (allout-isearch-end-handler, allout-chart-siblings)
6090 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6091 (allout-yank-processing, allout-process-exposed)
6092 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6093 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6094 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6095 (lisp-indent-defform): Mark ignored arguments.
6096 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6097 (calculate-lisp-indent): Remove unused variables.
6098 * international/characters.el (indian-2-column, arabic-2-column)
6099 (tibetan): Mark ignored arguments.
6100 (use-cjk-char-width-table): Mark ignored arguments.
6101 Remove unused variables.
6102 * international/fontset.el (build-default-fontset-data)
6103 (x-compose-font-name, create-fontset-from-fontset-spec):
6104 Mark ignored arguments.
6105 (fontset-plain-name): Remove unused variables.
6106 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6107 (keyboard-coding-system): Mark ignored arguments.
6108 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6109 * help.el (resize-temp-buffer-window):
6110 * window.el (display-buffer-in-major-side-window)
6111 (display-buffer-in-side-window, display-buffer-in-previous-window):
6112 Remove unused variables.
6113 * isearch.el (isearch-forward-symbol):
6114 * version.el (emacs-bzr-version-bzr):
6115 * international/mule-cmds.el (current-language-environment):
6116 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6117 (x-handle-display):
6118 * term/pc-win.el (x-list-fonts, x-display-planes)
6119 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6120 (x-server-version, x-display-screens, x-display-mm-height)
6121 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6122 (x-selection-owner-p, x-own-selection-internal)
6123 (x-disown-selection-internal, x-get-selection-internal)
6124 (msdos-initialize-window-system):
6125 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6126 * term/x-win.el (x-handle-no-bitmap-icon):
6127 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6128 (vc-default-find-file-hook, vc-default-extra-menu):
6129 Mark ignored arguments.
6130
6131 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6134 break-condition in the context of the debugged code (bug#12685).
6135
6136 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6137
6138 * comint.el:
6139 Do not use an overlay to highlight the last prompt. (Bug#14744)
6140 (comint-mode): Make comint-last-prompt buffer local.
6141 (comint-last-prompt): New variable.
6142 (comint-last-prompt-overlay): Remove. Superseded by
6143 comint-last-prompt.
6144 (comint-snapshot-last-prompt, comint-output-filter):
6145 Use comint-last-prompt.
6146
6147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6148
6149 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6150 (frameset-save): Check validity of the resulting frameset.
6151
6152 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6153
6154 * ido.el (ido-record-command): Add doc string.
6155
6156 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6157
6158 * frameset.el (frameset): Do not disable creation of the default
6159 frameset-p predicate. Doc fix.
6160 (frameset-valid-p): New function, copied from the old predicate-p.
6161 Add additional checks.
6162 (frameset-restore): Check with frameset-valid-p.
6163 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6164 (frameset-name, frameset-description, frameset-properties)
6165 (frameset-states): Add docstring.
6166 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6167 (frameset-filter-alist): Doc fixes.
6168
6169 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6170
6171 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6172
6173 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6176 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6177 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6178 (byte-compile-normal-call): Remove obsolescence check.
6179
6180 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6181
6182 * frameset.el (frameset-restore): Doc fix.
6183
6184 * register.el (frameset-frame-id, frameset-frame-with-id)
6185 (frameset-p, frameset-restore, frameset-save): Declare.
6186 (register-alist): Document framesets.
6187 (frameset-session-filter-alist): Declare.
6188 (frameset-to-register): New function.
6189 (jump-to-register): Implement jumping to framesets. Doc fix.
6190 (describe-register-1): Describe framesets.
6191
6192 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6193
6194 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6195
6196 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6197 Use lexical-binding.
6198
6199 * frameset.el (frameset): Use type vector, not list (incompatible
6200 change). Do not declare a new constructor, use the default one.
6201 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6202 `name' and `description', respectively, and add read-only slot
6203 `timestamp'. Doc fixes.
6204 (frameset-copy, frameset-persistent-filter-alist)
6205 (frameset-filter-alist, frameset-switch-to-gui-p)
6206 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6207 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6208 (frameset-filter-iconified, frameset-keep-original-display-p):
6209 Doc fixes.
6210 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6211 Rename from frameset-filter-(save|restore)-param. All callers changed.
6212 Doc fix.
6213 (frameset-p): Adapt to change to vector and be more thorough.
6214 Change arg name to OBJECT. Doc fix.
6215 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6216 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6217 All callers changed.
6218 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6219 All callers changed.
6220 (frameset--record-minibuffer-relationships): Rename from
6221 frameset--process-minibuffer-frames. All callers changed.
6222 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6223 Use new default constructor (again). Doc fix.
6224 (frameset--find-frame-if): Rename from `frameset--find-frame.
6225 All callers changed.
6226 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6227 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6228 Doc fix.
6229 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6230 PARAMETERS and WINDOW-STATE, respectively.
6231 (frameset-restore): Add new keyword argument PREDICATE.
6232 Reset frameset--target-display to nil. Doc fix.
6233
6234 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6235
6236 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6237 (bat-mode): Use it.
6238 (bat-mode-syntax-table): Mark \n as end-of-comment.
6239 (bat-font-lock-keywords): Remove comment rule.
6240
6241 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6242 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6243
6244 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6245 (byte-compile-callargs-warn): Use `push'.
6246 (byte-compile-arglist-warn): Ignore higher-order "calls".
6247 (byte-compile-file-form-autoload): Use `pcase'.
6248 (byte-compile-function-form): If quoting a symbol, check that it exists.
6249
6250 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6251
6252 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6253 and add a few popular commands found in batch files.
6254 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6255 (dos-mode): Doc fixes.
6256
6257 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6260 (dos-mode): Use setq-local. Add space after "rem".
6261 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6262 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6263
6264 2013-08-07 Arni Magnusson <arnima@hafro.is>
6265
6266 * progmodes/dos.el: New file.
6267 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6268 dos-mode.
6269
6270 2013-08-06 Glenn Morris <rgm@gnu.org>
6271
6272 * calendar/calendar.el: Add new faces, and day-header-array.
6273 (calendar-weekday-header, calendar-weekend-header)
6274 (calendar-month-header): New faces.
6275 (calendar-day-header-construct): New function.
6276 (calendar-day-header-width): Also :set calendar-day-header-array.
6277 (calendar-american-month-header, calendar-european-month-header)
6278 (calendar-iso-month-header): Use calendar- faces.
6279 (calendar-generate-month):
6280 Use calendar-day-header-array for day headers; apply faces to them.
6281 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6282 (calendar-abbrev-construct): Add optional maxlen argument.
6283 (calendar-day-name-array): Doc fix.
6284 (calendar-day-name-array, calendar-abbrev-length)
6285 (calendar-day-abbrev-array):
6286 Also :set calendar-day-header-array, and maybe redraw.
6287 (calendar-day-header-array): New option. (Bug#15007)
6288 (calendar-font-lock-keywords): Set to nil and make obsolete.
6289 (calendar-day-name): Add option to use header array.
6290
6291 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6292
6293 * net/shr.el (shr-render-td): Remove debugging.
6294 (shr-render-td): Make width computation consistent by defaulting
6295 all zero-width columns to 10 characters. This may not be optimal,
6296 but it's at least consistent.
6297 (shr-make-table-1): Redo last change to fix the real problem in
6298 colspan handling.
6299
6300 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6301
6302 * files.el (cache-long-line-scans):
6303 Make obsolete alias to `cache-long-scans'.
6304
6305 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6306
6307 * frameset.el (frameset, frameset-filter-alist)
6308 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6309 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6310 (frameset-compute-pos): Rename from frameset--compute-pos,
6311 and add docstring.
6312 (frameset-move-onscreen): Use frameset-compute-pos.
6313 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6314
6315 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6316 Fix typos in docstrings.
6317
6318 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6319
6320 * frame.el (get-other-frame): Tiny cleanup.
6321
6322 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6323
6324 * vc/vc.el (vc-default-ignore-completion-table):
6325 Silence byte-compiler warning.
6326
6327 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6328 slot , which can indeed be nil.
6329 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6330 Move entry for `left' from persistent to live filter alist.
6331 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6332 Doc fixes.
6333 (frameset-filter-params): When restoring a frame, copy items added to
6334 `filtered', to avoid unwittingly modifying the original parameters.
6335 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6336 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6337
6338 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6339 to use looking-at-p instead of looking-at. (Bug#15028)
6340
6341 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 Revert introduction of isearch-filter-predicates (bug#14714).
6344 Rely on add-function instead.
6345 * isearch.el (isearch-filter-predicates): Rename it back to
6346 isearch-filter-predicate.
6347 (isearch-message-prefix): Use advice-function-mapc and advice
6348 properties to get the isearch-message-prefix.
6349 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6350 instead of run-hook-with-args-until-failure.
6351 (isearch-filter-visible): Not obsolete any more.
6352 * loadup.el: Preload nadvice.
6353 * replace.el (perform-replace): Revert to funcall
6354 instead of run-hook-with-args-until-failure.
6355 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6356 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6357 dired-isearch-filenames-toggle; make it into a proper minor mode.
6358 Use add/remove-function.
6359 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6360 Call the minor-mode rather than add/remove-hook.
6361 (dired-isearch-filter-filenames):
6362 Remove isearch-message-prefix property.
6363 * info.el (Info--search-loop): New function, extracted from Info-search.
6364 Funcall isearch-filter-predicate instead of
6365 run-hook-with-args-until-failure isearch-filter-predicates.
6366 (Info-search): Use it.
6367 (Info-mode): Use isearch-filter-predicate instead of
6368 isearch-filter-predicates.
6369
6370 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6371
6372 Do not call to `selected-window' where it is assumed by default.
6373 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6374 `window-hscroll', `window-width', `window-height', `window-buffer',
6375 `window-frame', `window-start', `window-point', `next-window'
6376 and `window-display-table'.
6377 * abbrev.el (abbrev--default-expand):
6378 * bs.el (bs--show-with-configuration):
6379 * buff-menu.el (Buffer-menu-mouse-select):
6380 * calc/calc.el (calc):
6381 * calendar/calendar.el (calendar-generate-window):
6382 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6383 (diary-make-entry):
6384 * comint.el (send-invisible, comint-dynamic-complete-filename)
6385 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6386 * completion.el (complete):
6387 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6388 * disp-table.el (describe-current-display-table):
6389 * doc-view.el (doc-view-insert-image):
6390 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6391 * ehelp.el (with-electric-help):
6392 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6393 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6394 * emacs-lisp/helper.el (Helper-help-scroller):
6395 * emulation/cua-base.el (cua--post-command-handler-1):
6396 * eshell/esh-mode.el (eshell-output-filter):
6397 * ffap.el (ffap-gnus-wrapper):
6398 * help-macro.el (make-help-screen):
6399 * hilit-chg.el (highlight-compare-buffers):
6400 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6401 * hl-line.el (global-hl-line-highlight):
6402 * icomplete.el (icomplete-simple-completing-p):
6403 * isearch.el (isearch-done):
6404 * jit-lock.el (jit-lock-stealth-fontify):
6405 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6406 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6407 * mpc.el (mpc-tagbrowser, mpc):
6408 * net/rcirc.el (rcirc-any-buffer):
6409 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6410 * play/landmark.el (landmark-max-width, landmark-max-height):
6411 * play/zone.el (zone):
6412 * progmodes/compile.el (compilation-goto-locus):
6413 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6414 * progmodes/etags.el (find-tag-other-window):
6415 * progmodes/fortran.el (fortran-column-ruler):
6416 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6417 * progmodes/verilog-mode.el (verilog-point-text):
6418 * reposition.el (reposition-window):
6419 * rot13.el (toggle-rot13-mode):
6420 * server.el (server-switch-buffer):
6421 * shell.el (shell-dynamic-complete-command)
6422 (shell-dynamic-complete-environment-variable):
6423 * simple.el (insert-buffer, set-selective-display)
6424 (delete-completion-window):
6425 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6426 (speedbar-recenter):
6427 * startup.el (fancy-splash-head):
6428 * textmodes/ispell.el (ispell-command-loop):
6429 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6430 * tutorial.el (help-with-tutorial):
6431 * vc/add-log.el (add-change-log-entry):
6432 * vc/compare-w.el (compare-windows):
6433 * vc/ediff-help.el (ediff-indent-help-message):
6434 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6435 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6436 (ediff-setup-control-frame):
6437 * vc/emerge.el (emerge-position-region):
6438 * vc/pcvs-util.el (cvs-bury-buffer):
6439 * window.el (walk-windows, mouse-autoselect-window-select):
6440 * winner.el (winner-set-conf, winner-undo): Related users changed.
6441
6442 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * frameset.el (frameset--set-id): Doc fix.
6445 (frameset-frame-id, frameset-frame-id-equal-p)
6446 (frameset-locate-frame-id): New functions.
6447 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6448 (frameset-restore): Use them.
6449
6450 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6451
6452 Do not call to `selected-frame' where it is assumed by default.
6453 Affected functions are `raise-frame', `redraw-frame',
6454 `frame-first-window', `frame-terminal' and `delete-frame'.
6455 * calendar/appt.el (appt-disp-window):
6456 * epg.el (epg-wait-for-completion):
6457 * follow.el (follow-delete-other-windows-and-split)
6458 (follow-avoid-tail-recenter):
6459 * international/mule.el (set-terminal-coding-system):
6460 * mail/rmail.el (rmail-mail-return):
6461 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6462 * progmodes/f90.el (f90-add-imenu-menu):
6463 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6464 * server.el (server-switch-buffer):
6465 * simple.el (delete-completion-window):
6466 * talk.el (talk):
6467 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6468 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6469 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6470 * vc/ediff.el (ediff-documentation): Related users changed.
6471 * frame.el (selected-terminal): Remove the leftover.
6472
6473 2013-08-05 Glenn Morris <rgm@gnu.org>
6474
6475 * calendar/calendar.el (calendar-generate-month):
6476 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6477 (calendar-generate-month, calendar-font-lock-keywords):
6478 Fix for calendar-day-header-width > length of any day name.
6479
6480 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6481
6482 * desktop.el (desktop-clear): Use new name of sort predicate.
6483
6484 * frameset.el (frameset): Add docstring. Move :version property to its
6485 own `version' slot.
6486 (frameset-copy): Rename from copy-frameset.
6487 (frameset-p): Check more thoroughly.
6488 (frameset-prop): Do not check for :version, which is no longer a prop.
6489 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6490 Use new :never value instead of t.
6491 (frameset-filter-alist): Expand and clarify docstring.
6492 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6493 (frameset-filter-minibuffer, frameset-filter-save-param)
6494 (frameset-filter-restore-param, frameset-filter-iconified):
6495 Add pointer to docstring of frameset-filter-alist.
6496 (frameset-filter-params): Rename filter values to be more meaningful:
6497 :never instead of t, and reverse the meanings of :save and :restore.
6498 (frameset--process-minibuffer-frames): Clarify error message.
6499 (frameset-save): Avoid unnecessary and confusing call to framep.
6500 Use new BOA constructor for framesets.
6501 (frameset--reuse-list): Doc fix.
6502 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6503 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6504 (frameset-minibufferless-first-p): Doc fix.
6505 Rename from frameset-sort-frames-for-deletion.
6506 (frameset-restore): Doc fixes. Use new function names.
6507 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6508
6509 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6510
6511 * desktop.el (desktop-restore-forces-onscreen)
6512 (desktop-restore-reuses-frames): Document :keyword constant values.
6513 (desktop-filter-parameters-alist): Remove, now identical to
6514 frameset-filter-alist.
6515 (desktop--filter-tty*): Remove, moved to frameset.el.
6516 (desktop-save-frameset, desktop-restore-frameset):
6517 Do not pass :filters argument.
6518
6519 * frameset.el (frameset-live-filter-alist)
6520 (frameset-persistent-filter-alist): New variables.
6521 (frameset-filter-alist): Use them. Add autoload cookie.
6522 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6523 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6524 `frameset--id' (it's supposed to be internal to frameset.el).
6525 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6526 (frameset--initial-params): New function.
6527 (frameset--get-frame): Use it. Doc fix.
6528 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6529 Accept :all, not 'all.
6530 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6531 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6532 with fbound symbols. Fix frame id matching, and remove matching ids if
6533 the frame being restored is deleted. Obey :delete.
6534
6535 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * subr.el (macrop): New function.
6538 (text-clone--maintaining): New var.
6539 (text-clone--maintain): Rename from text-clone-maintain. Use it
6540 instead of inhibit-modification-hooks.
6541
6542 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6543 a proxy, so as handle autoloads and redefinitions of the target.
6544 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6545
6546 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6547 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6548 (pcase--mutually-exclusive-p): New function.
6549 (pcase--split-consp): Use it.
6550 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6551 mutually exclusive with the current predicate.
6552
6553 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6554 (edebug-macrop): Remove. Use `macrop' instead.
6555 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6556 (ad-macro-p):
6557 * eshell/esh-cmd.el (eshell-macrop):
6558 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6559
6560 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6563 (advice-mapc): New function, using it.
6564 (advice-function-member-p): New function.
6565 (advice--normalize): Store the cdr in advice--saved-rewrite since
6566 that's the part that will be changed.
6567 (advice--symbol-function): New function.
6568 (advice-remove): Handle removal before the function is defined.
6569 Adjust to new advice--saved-rewrite.
6570 (advice-member-p): Use advice-function-member-p and
6571 advice--symbol-function.
6572
6573 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6574
6575 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6576 (frameset-filter-minibuffer): Doc fix.
6577 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6578 (frameset--set-id, frameset--process-minibuffer-frames)
6579 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6580 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6581
6582 * desktop.el (desktop-clear): Only delete frames when called
6583 interactively and desktop-restore-frames is non-nil. Doc fix.
6584 (desktop-read): Set desktop-saved-frameset to nil.
6585
6586 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6587
6588 * vc/vc.el (vc-ignore): Rewrite.
6589 (vc-default-ignore-completion-table):
6590 (vc--read-lines):
6591 (vc--add-line, vc--remove-regexp): New functions.
6592
6593 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6594 (vc-svn-ignore-completion-table): New function.
6595
6596 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6597 (vc-hg-ignore-completion-table):
6598 (vc-hg-find-ignore-file): New functions.
6599
6600 * vc/vc-git.el (vc-git-ignore): Rewrite.
6601 (vc-git-ignore-completion-table):
6602 (vc-git-find-ignore-file): New functions.
6603
6604 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6605
6606 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6607 (vc-bzr-ignore-completion-table):
6608 (vc-bzr-find-ignore-file): New functions.
6609
6610 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6611
6612 * frameset.el (frameset-prop): New function and setter.
6613 (frameset-save): Do not modify frame list passed by the caller.
6614
6615 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6618
6619 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6620
6621 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6622 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6623
6624 * custom.el (custom-initialize-default, custom-initialize-set)
6625 (custom-initialize-reset, custom-initialize-changed): Affect the
6626 toplevel-default-value (bug#6275, bug#14586).
6627 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6628 for bug#6275.
6629
6630 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6631
6632 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6633 Add cl-def* expressions.
6634
6635 * frameset.el (frameset-filter-params): Fix order of arguments.
6636
6637 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6638
6639 Move code related to saving frames to frameset.el.
6640 * desktop.el: Require frameset.
6641 (desktop-restore-frames): Doc fix.
6642 (desktop-restore-reuses-frames): Rename from
6643 desktop-restoring-reuses-frames.
6644 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6645 (desktop-clear): Clear frames too.
6646 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6647 (desktop--filter-tty*, desktop-save, desktop-read):
6648 Use frameset functions.
6649 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6650 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6651 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6652 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6653 (desktop--process-minibuffer-frames, desktop-save-frames)
6654 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6655 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6656 (desktop--sort-states, desktop-restoring-frames-p)
6657 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6658 (desktop-restoring-frameset-p, desktop-restore-frameset)
6659 (desktop--check-dont-save, desktop-save-frameset): New functions.
6660 (desktop--app-id): New constant.
6661 (desktop-first-buffer, desktop-buffer-ok-count)
6662 (desktop-buffer-fail-count): Move before first use.
6663 * frameset.el: New file.
6664
6665 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * files.el: Use lexical-binding.
6668 (dir-locals-read-from-file): Remove unused `err' variable.
6669 (hack-dir-local-variables--warned-coding): New var.
6670 (hack-dir-local-variables): Use it to avoid repeated warnings.
6671 (make-backup-file-name--default-function): New function.
6672 (make-backup-file-name-function): Use it as default.
6673 (buffer-stale--default-function): New function.
6674 (buffer-stale-function): Use it as default.
6675 (revert-buffer-insert-file-contents--default-function): New function.
6676 (revert-buffer-insert-file-contents-function): Use it as default.
6677 (insert-directory): Avoid add-to-list.
6678
6679 * autorevert.el (auto-revert-handler): Simplify.
6680 Use buffer-stale--default-function.
6681
6682 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6683
6684 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6685
6686 * whitespace.el (whitespace-ensure-local-variables): New function.
6687 (whitespace-cleanup-region): Call it.
6688 (whitespace-turn-on): Call it.
6689
6690 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6691
6692 Complete file name handlers.
6693
6694 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6695 (tramp-handle-verify-visited-file-modtime)
6696 (tramp-handle-file-notify-rm-watch): New functions.
6697 (tramp-call-process): Do not bind `default-directory'.
6698
6699 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6700 Order alphabetically.
6701 [access-file, add-name-to-file, dired-call-process]:
6702 [dired-compress-file, file-acl, file-notify-rm-watch]:
6703 [file-ownership-preserved-p, file-selinux-context]:
6704 [make-directory-internal, make-symbolic-link, set-file-acl]:
6705 [set-file-selinux-context, set-visited-file-modtime]:
6706 [verify-visited-file-modtime]: Add handler.
6707 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6708
6709 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6710 [file-notify-add-watch, file-notify-rm-watch]:
6711 [set-file-times, set-visited-file-modtime]:
6712 [verify-visited-file-modtime]: Add handler.
6713 (with-tramp-gvfs-error-message)
6714 (tramp-gvfs-handle-set-visited-file-modtime)
6715 (tramp-gvfs-fuse-file-name): Remove.
6716 (tramp-gvfs-handle-file-notify-add-watch)
6717 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6718 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6719
6720 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6721 Order alphabetically.
6722 [file-notify-rm-watch ]: Use default Tramp handler.
6723 [executable-find]: Remove private handler.
6724 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6725 `default-directory'.
6726 (tramp-sh-handle-executable-find)
6727 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6728 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6729 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6730 Do not use `format' in `tramp-message'.
6731
6732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6733 [file-notify-rm-watch, set-visited-file-modtime]:
6734 [verify-visited-file-modtime]: Add handler.
6735 (tramp-smb-call-winexe): Do not bind `default-directory'.
6736
6737 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6738
6739 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6740
6741 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6742
6743 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6744 use it.
6745 (log-view-diff-changeset): Same.
6746 (log-view-diff-common): Call backend command `previous-revision'
6747 to find out the previous revision, in both cases. Swap the
6748 variables `to' and `fr', so that `fr' usually refers to the
6749 earlier revision (Bug#14989).
6750
6751 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6752
6753 * ibuf-ext.el (ibuffer-filter-by-filename):
6754 Make it work with dired buffers too.
6755
6756 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6757
6758 * emacs-lisp/re-builder.el (reb-color-display-p):
6759 * files.el (save-buffers-kill-terminal):
6760 * net/browse-url.el (browse-url):
6761 * server.el (server-save-buffers-kill-terminal):
6762 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6763 Prefer nil to selected-frame for the first arg of frame-parameter.
6764
6765 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6766
6767 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6768
6769 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6770
6771 * minibuffer.el (completion--twq-all): Try and preserve each
6772 completion's case choice (bug#14907).
6773
6774 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6775
6776 * net/network-stream.el (open-network-stream): Mention the new
6777 :nogreeting parameter.
6778 (network-stream-open-starttls): Use the :nogreeting parameter
6779 (bug#14938).
6780
6781 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6782
6783 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6784 more natural than popping.
6785
6786 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6787 (shr-urlify): Highlight under mouse.
6788
6789 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6790
6791 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6792
6793 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6794
6795 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6796 buffer for output.
6797
6798 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6799 point-min==1. Fix search string. Fix parentheses missing.
6800
6801 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6802 assume point-min==1. Fix search string. Fix parentheses missing.
6803
6804 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6805
6806 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6807 buffer for output.
6808
6809 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6810
6811 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6812 initial frame is minibuffer-less. (Bug#14841)
6813
6814 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6815
6816 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6817 option.
6818
6819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6820 (tramp-maybe-open-connection): Use it.
6821
6822 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6823
6824 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6825 minimal set of parameters passed when creating a frame, because
6826 the minibuffer status of a frame cannot be changed later.
6827
6828 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6829
6830 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6831 replace-regexp-in-string and inadvertent omissions in previous change.
6832 (todo-filter-items): Ensure only file names are comma-separated in
6833 name of filtered items buffer.
6834
6835 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * desktop.el: Optionally force offscreen frames back onscreen.
6838 (desktop-restoring-reuses-frames): New option.
6839 (desktop--compute-pos, desktop--move-onscreen): New functions.
6840 (desktop--make-frame): Use desktop--move-onscreen.
6841
6842 2013-07-27 Alan Mackenzie <acm@muc.de>
6843
6844 Fontify a Java generic method as a function.
6845 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6846 value to t.
6847
6848 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6849
6850 * calendar/todo-mode.el: Add command to rename todo files.
6851 (todo-rename-file): New command.
6852 (todo-key-bindings-t): Add key binding for it. Change the
6853 bindings of todo-filter-regexp-items(-multifile) to use `x'
6854 instead of `r', since the latter is better suited to the new
6855 renaming command.
6856
6857 2013-07-27 Alan Mackenzie <acm@muc.de>
6858
6859 Make Java try-with-resources statement parse properly.
6860 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6861 (c-block-stmt-1-2-key): New language constants/variables.
6862 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6863 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6864 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6865 with c-block-stmt-1-2-key.
6866
6867 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * desktop.el (desktop--make-frame): Apply most frame parameters after
6870 creating the frame to force (partially or totally) offscreen frames to
6871 be restored as such.
6872
6873 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6874
6875 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6876 (Bug#14948)
6877
6878 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6881 `base' arg of backtrace-frame.
6882
6883 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6884
6885 * simple.el (list-processes): Doc fix.
6886
6887 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * desktop.el (desktop--select-frame):
6890 Try harder to reuse existing frames.
6891
6892 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6895 (edebug-eval): Use backtrace-eval.
6896 (edebug--display, edebug--recursive-edit): Don't let-bind the
6897 edebug-outer-* vars that keep track of variables we locally let-bind.
6898 (edebug-outside-excursion): Don't restore outside values of locally
6899 let-bound vars.
6900 (edebug--display): Use user-error.
6901 (cl-lexical-debug, cl-debug-env): Remove.
6902
6903 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6904
6905 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6906 are restored to be sure that they are visible before deleting any
6907 remaining ones.
6908
6909 2013-07-26 Matthias Meulien <orontee@gmail.com>
6910
6911 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6912 vc-print-root-log. (Bug#14948)
6913
6914 2013-07-26 Richard Stallman <rms@gnu.org>
6915
6916 Add aliases for encrypting mail.
6917 * epa.el (epa-mail-aliases): New option.
6918 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6919 Bind inhibit-read-only so read-only text doesn't ruin everything.
6920 (epa-mail-default-recipients): New subroutine broken out.
6921 Handle epa-mail-aliases.
6922
6923 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6924
6925 Add support for lexical variables to the debugger's `e' command.
6926 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6927 vars, except for debugger-outer-match-data.
6928 (debugger-frame-number): Move check for "on a function call" from
6929 callers into it. Add `skip-base' argument.
6930 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6931 (debugger-env-macro): Only reset the state stored in non-variables,
6932 i.e. current-buffer and match-data.
6933 (debugger-eval-expression): Rewrite using backtrace-eval.
6934 * subr.el (internal--called-interactively-p--get-frame): Remove.
6935 (called-interactively-p):
6936 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6937 `base' arg of backtrace-frame instead.
6938
6939 2013-07-26 Glenn Morris <rgm@gnu.org>
6940
6941 * align.el (align-regexp): Doc fix. (Bug#14857)
6942 (align-region): Explicit error if subexpression missing/does not match.
6943
6944 * simple.el (global-visual-line-mode):
6945 Do not duplicate the mode lighter. (Bug#14858)
6946
6947 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6948
6949 * window.el (display-buffer): In display-buffer bind
6950 split-window-keep-point to t, bug#14829.
6951
6952 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6953
6954 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6955 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6956 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6957 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6958 Change accordingly.
6959 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6960 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6961
6962 2013-07-25 Glenn Morris <rgm@gnu.org>
6963
6964 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6965
6966 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6967
6968 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6969 parameter to modify-frame-parameters if the value has not changed;
6970 this is a workaround for bug#14949.
6971 (desktop--make-frame): On cl-delete-if call, check parameter name,
6972 not full parameter.
6973
6974 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6975
6976 * vc/vc.el (vc-ignore): New function.
6977
6978 * vc/vc-svn.el (vc-svn-ignore): New function.
6979
6980 * vc/vc-hg.el (vc-hg-ignore): New function.
6981
6982 * vc/vc-git.el (vc-git-ignore): New function.
6983
6984 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6985 (vc-dir-ignore): New function.
6986
6987 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6988 (cvs-append-to-ignore): Move here from pcvs.el.
6989
6990 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6991
6992 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6993
6994 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6995
6996 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6997 (desktop-restore-frames): Warn when deleting an existing frame failed.
6998
6999 2013-07-24 Glenn Morris <rgm@gnu.org>
7000
7001 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7002
7003 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7004
7005 * filenotify.el (file-notify-supported-p):
7006 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7007 Remove functions.
7008
7009 * autorevert.el (auto-revert-use-notify):
7010 (auto-revert-notify-add-watch):
7011 * net/tramp.el (tramp-file-name-for-operation):
7012 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7014 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7015 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7016 Remove `file-notify-supported-p' entry.
7017
7018 2013-07-24 Glenn Morris <rgm@gnu.org>
7019
7020 * printing.el: Replace all uses of deleted ps-windows-system,
7021 ps-lp-system, ps-flatten-list with lpr- versions.
7022
7023 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7024
7025 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7026 checked with memq (bug#14935).
7027
7028 * files.el (revert-buffer-function): Use a non-nil default.
7029 (revert-buffer-preserve-modes): Declare var to
7030 provide access to the `preserve-modes' argument.
7031 (revert-buffer): Let-bind it.
7032 (revert-buffer--default): New function, extracted from revert-buffer.
7033
7034 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * lpr.el: Signal print errors more prominently.
7037 (print-region-function): Don't default to nil.
7038 (lpr-print-region): New function, extracted from print-region-1.
7039 Check lpr's return value and signal an error in case of problem.
7040 (print-region-1): Use it.
7041 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7042 versions instead.
7043 (ps-printer-name): Default to nil.
7044 (ps-printer-name-option): Default to lpr-printer-switch.
7045 (ps-print-region-function): Don't default to nil.
7046 (ps-postscript-code-directory): Simplify default.
7047 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7048 (ps-string-list, ps-eval-switch, ps-flatten-list)
7049 (ps-flatten-list-1): Remove.
7050 (ps-multibyte-buffer): Avoid setq.
7051 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7052 (print-region-function, ps-print-region-function): Don't set them here.
7053
7054 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7055
7056 * ido.el (ido-fractionp):
7057 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7058 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7059 (ido-max-directory-size, ido-max-dir-file-cache)
7060 (ido-decorations): Doc fix.
7061
7062 * ansi-color.el: Fix old URL.
7063
7064 2013-07-23 Michael R. Mauger <michael@mauger.com>
7065
7066 * progmodes/sql.el: Version 3.3
7067 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7068 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7069 (sql-interactive-remove-continuation-prompt): Rewrite, use
7070 functions above. Fix continuation prompt and complete output line
7071 handling.
7072 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7073 redirected output buffer.
7074 (sql-mode): Restore deleted code (Bug#13591).
7075
7076 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7077
7078 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7079
7080 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7081
7082 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7083
7084 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7085 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7086 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7087
7088 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7089
7090 * desktop.el (desktop-clear): Simplify; remove useless checks
7091 against invalid buffer names.
7092 (desktop-list*): Use cl-list*.
7093 (desktop-buffer-info, desktop-create-buffer): Simplify.
7094
7095 2013-07-23 Leo Liu <sdl.web@gmail.com>
7096
7097 * bookmark.el (bookmark-make-record): Restore NAME as a default
7098 value. (Bug#14933)
7099
7100 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7101
7102 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7103 extracted from autoload--insert-text.
7104 (autoload--insert-text): Remove.
7105 (autoload--print-cookie-text): New function, extracted from
7106 autoload--insert-cookie-text.
7107 (autoload--insert-cookie-text): Remove.
7108 (autoload-generate-file-autoloads): Adjust calls accordingly.
7109
7110 * winner.el (winner-hook-installed-p): Remove.
7111 (winner-mode): Simplify accordingly.
7112
7113 * subr.el (add-to-list): Fix compiler-macro when `append' is
7114 not constant. Don't use `cl-member' for the base case.
7115
7116 * progmodes/subword.el: Fix boundary case (bug#13758).
7117 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7118 own group.
7119 (subword-backward-regexp): Make it a constant.
7120 (subword-forward-internal): Don't treat a trailing capital as the
7121 beginning of a word.
7122
7123 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7124
7125 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7126 global value of tabulated-list-revert-hook (bug#14930).
7127
7128 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7129
7130 * desktop.el: Require 'cl-lib.
7131 (desktop-before-saving-frames-functions): New hook.
7132 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7133 for frames being saved. Rename from desktop--save-minibuffer-frames.
7134 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7135 Do not save frames with non-nil `desktop-dont-save' parameter.
7136 Filter out deleted frames.
7137 (desktop--find-frame): Use cl-find-if.
7138 (desktop--select-frame): Use cl-(first|second|third) to access values
7139 of desktop-mini.
7140 (desktop--make-frame): Use cl-delete-if.
7141 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7142 (desktop-restore-frames): Use cl-(first|second|third) to access values
7143 of desktop-mini. Look for visible frame at the end, not while
7144 restoring frames.
7145
7146 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7147 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7148 Use string-match-p, looking-at-p (bug#14927).
7149
7150 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7151
7152 * desktop.el (desktop-saved-frame-states):
7153 Rename from desktop--saved-states; all users changed.
7154 (desktop-save-frames): Rename from desktop--save-frames.
7155 Do not save state to desktop file.
7156 (desktop-save): Save desktop-saved-frame-states to desktop file
7157 and reset to nil.
7158 (desktop-restoring-frames-p): New function.
7159 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7160 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7161 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7162
7163 * desktop.el: Correctly restore iconified frames.
7164 (desktop--filter-iconified-position): New function.
7165 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7166
7167 2013-07-20 Glenn Morris <rgm@gnu.org>
7168
7169 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7170 Let `message' do the formatting.
7171 (def-gdb-preempt-display-buffer): Add explicit format.
7172
7173 * image-dired.el (image-dired-track-original-file):
7174 Use with-current-buffer.
7175 (image-dired-track-thumbnail): Use with-current-buffer.
7176 Avoid changing point of wrong window.
7177
7178 * image-dired.el (image-dired-track-original-file):
7179 Avoid changing point of wrong window. (Bug#14909)
7180
7181 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7182
7183 * progmodes/gdb-mi.el (gdb-done-or-error):
7184 Guard against "%" in gdb output. (Bug#14127)
7185
7186 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7187
7188 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7189 (Bug#14826)
7190
7191 * international/mule.el (coding-system-iso-2022-flags): Fix last
7192 change.
7193
7194 2013-07-20 Kenichi Handa <handa@gnu.org>
7195
7196 * international/mule.el (coding-system-iso-2022-flags):
7197 Add `8-bit-level-4'. (Bug#8522)
7198
7199 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7200
7201 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7202 (bug#14815).
7203
7204 * net/eww.el (eww-process-text-input): Allow inputting when the
7205 point is at the start of the line, as the properties aren't
7206 front-sticky.
7207
7208 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7209 degenerate widths.
7210
7211 2013-07-19 Richard Stallman <rms@gnu.org>
7212
7213 * epa.el (epa-popup-info-window): Doc fix.
7214
7215 * subr.el (split-string): New arg TRIM.
7216
7217 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7218
7219 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7220 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7221
7222 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * filenotify.el (file-notify--library): Rename from
7225 `file-notify-support'. Do not autoload. Adapt all uses.
7226 (file-notify-supported-p): New defun.
7227
7228 * autorevert.el (auto-revert-use-notify):
7229 Use `file-notify-supported-p' instead of `file-notify-support'.
7230 Adapt docstring.
7231 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7232
7233 * net/tramp.el (tramp-file-name-for-operation):
7234 Add `file-notify-supported-p'.
7235
7236 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7237 New defun.
7238 (tramp-sh-file-name-handler-alist): Add it as handler for
7239 `file-notify-supported-p '.
7240
7241 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7242 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7243 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7244 Add `ignore' as handler for `file-notify-*' functions.
7245
7246 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7247
7248 * simple.el (line-move-partial, line-move): Don't start vscroll or
7249 scroll-up if the current line is not taller than the window.
7250 (Bug#14881)
7251
7252 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7253
7254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7255 highlight question marks in the method names as strings.
7256 (ruby-block-beg-keywords): Inline.
7257 (ruby-font-lock-keyword-beg-re): Extract from
7258 `ruby-font-lock-keywords'.
7259
7260 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7261
7262 * frame.el (blink-cursor-blinks): New defcustom.
7263 (blink-cursor-blinks-done): New defvar.
7264 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7265 (blink-cursor-timer-function): Check if number of blinks has been
7266 done on X and NS.
7267 (blink-cursor-suspend, blink-cursor-check): New defuns.
7268
7269 2013-07-15 Glenn Morris <rgm@gnu.org>
7270
7271 * edmacro.el (edmacro-format-keys): Fix previous change.
7272
7273 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7274
7275 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7276 The hack didn't work outside English locales anyway.
7277
7278 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7279
7280 * simple.el (define-alternatives): Rename from alternatives-define,
7281 per RMS' suggestion.
7282
7283 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7284
7285 * desktop.el (desktop-restore-frames): Change default to t.
7286 (desktop-restore-in-current-display): Now offer more options.
7287 (desktop-restoring-reuses-frames): New customization option.
7288 (desktop--saved-states): Doc fix.
7289 (desktop-filter-parameters-alist): New variable, renamed and expanded
7290 from desktop--excluded-frame-parameters.
7291 (desktop--target-display): New variable.
7292 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7293 (desktop--filter-tty*, desktop--filter-*-color)
7294 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7295 (desktop--filter-save-desktop-parm)
7296 (desktop-restore-in-original-display-p): New functions.
7297 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7298 (desktop--save-minibuffer-frames): New function, inspired by a similar
7299 function from Martin Rudalics.
7300 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7301 (desktop--restore-in-this-display-p): Remove.
7302 (desktop--find-frame): Rename from desktop--find-frame-in-display
7303 and add predicate argument.
7304 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7305 (desktop--reuse-list): New variable.
7306 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7307 New functions.
7308 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7309
7310 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7311
7312 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7313
7314 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7315
7316 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7317 Highlight conversion methods on Kernel.
7318
7319 2013-07-13 Alan Mackenzie <acm@muc.de>
7320
7321 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7322 and comment it out. This out-commenting enables certain C++
7323 declarations to be parsed correctly.
7324
7325 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7326
7327 * international/mule.el (define-coding-system): Doc fix.
7328
7329 * simple.el (default-font-height): Don't call font-info if the
7330 frame's default font didn't change since the frame was created.
7331 (Bug#14838)
7332
7333 2013-07-13 Leo Liu <sdl.web@gmail.com>
7334
7335 * ido.el (ido-read-file-name): Guard against non-symbol value.
7336
7337 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7338
7339 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7340 in nested defuns.
7341
7342 2013-07-13 Leo Liu <sdl.web@gmail.com>
7343
7344 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7345 ido-set-matches call. (Bug#6852)
7346
7347 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7348
7349 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7350 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7351 Ruby 2.0.
7352 (ruby-font-lock-keywords): Distinguish calls to functions with
7353 module-like names from module references. Highlight character
7354 literals.
7355
7356 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7357
7358 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7359 (gdb-send): Handle continued commands. (Bug#14847)
7360
7361 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7362
7363 * desktop.el (desktop--v2s): Remove unused local variable.
7364 (desktop-save-buffer): Make defvar-local; adjust docstring.
7365 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7366 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7367
7368 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7369
7370 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7371
7372 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7373
7374 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7375 (Bug#14842)
7376
7377 2013-07-12 Glenn Morris <rgm@gnu.org>
7378
7379 * doc-view.el: Require cl-lib at runtime too.
7380 (doc-view-remove-if): Remove.
7381 (doc-view-search-next-match, doc-view-search-previous-match):
7382 Use cl-remove-if.
7383
7384 * edmacro.el: Require cl-lib at runtime too.
7385 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7386 (edmacro-mismatch, edmacro-subseq): Remove.
7387
7388 * shadowfile.el: Require cl-lib.
7389 (shadow-remove-if): Remove.
7390 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7391 Use cl-remove-if.
7392
7393 * wid-edit.el: Require cl-lib.
7394 (widget-choose): Use cl-remove-if.
7395 (widget-remove-if): Remove.
7396
7397 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7398 (ebrowse-delete-if-not): Remove.
7399 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7400 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7401 Use cl-delete-if-not.
7402
7403 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7404
7405 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7406 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7407
7408 2013-07-12 Leo Liu <sdl.web@gmail.com>
7409
7410 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7411
7412 2013-07-11 Glenn Morris <rgm@gnu.org>
7413
7414 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7415 (edebug-gensym-index, edebug-gensym):
7416 Remove reimplementation of cl-gensym.
7417 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7418
7419 * thumbs.el: Require cl-lib at run-time too.
7420 (thumbs-gensym-counter, thumbs-gensym):
7421 Remove reimplementation of cl-gensym.
7422 (thumbs-temp-file): Use cl-gensym.
7423
7424 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7425 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7426 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7427 (ert--union, ert--gensym-counter, ert--gensym-counter)
7428 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7429 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7430 (ert-make-test-unbound, ert--expand-should-1)
7431 (ert--expand-should, ert--should-error-handle-error)
7432 (should-error, ert--explain-equal-rec)
7433 (ert--plist-difference-explanation, ert-select-tests)
7434 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7435 Use cl-lib functions rather than reimplementations.
7436
7437 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7438
7439 * net/tramp.el (tramp-methods): Extend docstring.
7440 (tramp-connection-timeout): New defcustom.
7441 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7442 (with-tramp-progress-reporter): Simplify.
7443 (tramp-process-actions): Improve messages.
7444
7445 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7446 * net/tramp-sh.el (tramp-maybe-open-connection):
7447 Use `tramp-connection-timeout'.
7448 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7449 (Bug#14808)
7450
7451 2013-07-11 Leo Liu <sdl.web@gmail.com>
7452
7453 * ido.el (ido-read-file-name): Conform to the requirements of
7454 read-file-name. (Bug#11861)
7455 (ido-read-directory-name): Conform to the requirements of
7456 read-directory-name.
7457
7458 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7459
7460 * subr.el (delay-warning): New function.
7461
7462 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7463
7464 * simple.el (default-line-height): New function.
7465 (line-move-partial, line-move): Use it instead of computing the
7466 line height inline.
7467 (line-move-partial): Always compute ROWH. If the last line is
7468 partially-visible, but its text is completely visible, allow
7469 cursor to enter such a partially-visible line.
7470
7471 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7472
7473 Improve error messages. (Bug#14808)
7474
7475 * net/tramp.el (tramp-current-connection): New defvar, moved from
7476 tramp-sh.el.
7477 (tramp-message-show-progress-reporter-message): Remove, not
7478 needed anymore.
7479 (tramp-error-with-buffer): Show message in minibuffer.
7480 Discard input before waiting. Reset connection timestamp.
7481 (with-tramp-progress-reporter): Improve messages.
7482 (tramp-process-actions): Use progress reporter. Delete process in
7483 case of error. Improve messages.
7484
7485 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7486 Call `tramp-error-with-buffer' with vector and buffer.
7487 (tramp-current-connection): Remove.
7488 (tramp-maybe-open-connection): The car of
7489 `tramp-current-connection' are the first 3 slots of the vector.
7490
7491 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7492
7493 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7494 inside continued strings.
7495
7496 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7497
7498 Timestamp fixes for undo (Bug#14824).
7499 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7500
7501 2013-07-10 Leo Liu <sdl.web@gmail.com>
7502
7503 * files.el (require-final-newline): Allow safe local value.
7504 (Bug#14834)
7505
7506 2013-07-09 Leo Liu <sdl.web@gmail.com>
7507
7508 * ido.el (ido-read-directory-name): Handle fallback.
7509 (ido-read-file-name): Update DIR to ido-current-directory.
7510 (Bug#1516)
7511 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7512
7513 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7514
7515 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7516 "autoload". Remove "warn lower camel case" section, previously
7517 commented out. Highlight negation char. Do not highlight the
7518 target in singleton method definitions.
7519
7520 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * faces.el (tty-setup-hook): Declare the hook.
7523
7524 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7525 and detect when a guard/pred depends on local vars (bug#14773).
7526 (pcase--u1): Adjust caller.
7527
7528 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7529
7530 * simple.el (line-move-partial, line-move): Account for
7531 line-spacing.
7532 (line-move-partial): Avoid setting vscroll when the last
7533 partially-visible line in window is of default height.
7534
7535 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7536
7537 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7538 been used a while.
7539
7540 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7541
7542 * subr.el (read-quoted-char): Remove unused local variable `char'.
7543
7544 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7545
7546 * ediff.el (ediff-version): Version update.
7547 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7548 (ediff-merge-with-ancestor-command, ediff-directories-command)
7549 (ediff-directories3-command, ediff-merge-directories-command)
7550 (ediff-merge-directories-with-ancestor-command): New functions.
7551 All are command-line interfaces to ediff: to facilitate calling
7552 Emacs with the appropriate ediff functions invoked.
7553
7554 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7555 (viper-save-kill-buffer): Check if buffer is modified.
7556
7557 * viper.el (viper-version): Version update.
7558 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7559
7560 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7561
7562 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7563 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7564 (viper-intercept-ESC-key): Simplify.
7565 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7566 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7567 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7568 (viper-setup-ESC-to-escape): New functions.
7569 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7570 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7571
7572 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7573
7574 * simple.el (default-font-height, window-screen-lines):
7575 New functions.
7576 (line-move, line-move-partial): Use them instead of
7577 frame-char-height and window-text-height. This makes scrolling
7578 text smoother when the buffer's default face uses a font that is
7579 different from the frame's default font.
7580
7581 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7582
7583 * files.el (write-file): Do not display confirm dialog for NS,
7584 it does its own dialog, which can't be canceled (Bug#14578).
7585
7586 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7587
7588 * simple.el (line-move-partial): Adjust the row returned by
7589 posn-at-point for the current window-vscroll. (Bug#14567)
7590
7591 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7594 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7595 spaces.
7596
7597 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7598
7599 * window.el (window-state-put-stale-windows): New variable.
7600 (window--state-put-2): Save list of windows without matching buffer.
7601 (window-state-put): Remove "bufferless" windows if possible.
7602
7603 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7604
7605 * simple.el (alternatives-define): Remove leftover :group keyword.
7606 Tweak docstring.
7607
7608 2013-07-06 Leo Liu <sdl.web@gmail.com>
7609
7610 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7611 (ido-enable-virtual-buffers): New variable.
7612 (ido-buffer-internal, ido-toggle-virtual-buffers)
7613 (ido-make-buffer-list): Use it.
7614 (ido-exhibit): Support turning on and off virtual buffers
7615 automatically.
7616
7617 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7618
7619 * simple.el (alternatives-define): New macro.
7620
7621 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * subr.el (read-quoted-char): Use read-key.
7624 (sit-for): Let read-event decode tty input (bug#14782).
7625
7626 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7627
7628 * calendar/todo-mode.el: Add handling of file deletion, both by
7629 mode command and externally. Fix various related bugs.
7630 Clarify Commentary and improve some documentation strings and code.
7631 (todo-delete-file): New command.
7632 (todo-check-file): New function.
7633 (todo-show): Handle external deletion of the file we're trying to
7634 show (bug#14688). Replace called-interactively-p by an optional
7635 prefix argument to avoid problematic interaction with catch form
7636 when byte compiled (bug#14702).
7637 (todo-quit): Handle external deletion of the archive's todo file.
7638 Make sure the buffer that was visiting the archive file is still
7639 live before trying to bury it.
7640 (todo-category-completions): Handle external deletion of any
7641 category completion files.
7642 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7643 of todo files, in case of external deletion.
7644 (todo-add-file): Replace unnecessary setq by let-binding.
7645 (todo-find-archive): Check whether there are any archives.
7646 Replace unnecessary setq by let-binding.
7647 (todo-archive-done-item): Use find-file-noselect to get the
7648 archive buffer whether or not the archive already exists.
7649 Remove superfluous code. Use file size instead of buffer-file-name to
7650 check if the archive is new; if it is, update list of archives.
7651 (todo-default-todo-file): Allow nil to be a valid value for when
7652 there are no todo files.
7653 (todo-reevaluate-default-file-defcustom): Use corrected definition
7654 of todo-default-todo-file.
7655 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7656 (todo-delete-category, todo-show-categories-table)
7657 (todo-category-number): Clarify comment.
7658 (todo-filter-items): Clarify documentation string.
7659 (todo-show-current-file, todo-display-as-todo-file)
7660 (todo-reset-and-enable-done-separator): Tweak documentation string.
7661 (todo-done-separator): Make separator length window-width, since
7662 bug#2749 is now fixed.
7663
7664 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7665
7666 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7667 Support both "gvfs-monitor-dir" and "inotifywait".
7668 (tramp-sh-file-inotifywait-process-filter): Rename from
7669 `tramp-sh-file-notify-process-filter'.
7670 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7671 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7672
7673 2013-07-05 Leo Liu <sdl.web@gmail.com>
7674
7675 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7676
7677 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7678
7679 * frame.el (display-pixel-height, display-pixel-width)
7680 (display-mm-height, display-mm-width): Mention behavior on
7681 multi-monitor setups in docstrings.
7682 (w32-display-monitor-attributes-list): Declare function.
7683 (display-monitor-attributes-list): Use it.
7684
7685 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7686
7687 * filenotify.el: New package.
7688
7689 * autorevert.el (top): Require filenotify.el.
7690 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7691 instead.
7692 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7693 (auto-revert-notify-handler): Use `file-notify-*' functions.
7694
7695 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7696
7697 * net/tramp.el (tramp-file-name-for-operation):
7698 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7699
7700 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7701 for `file-notify-add-watch' and `file-notify-rm-watch'.
7702 (tramp-process-sentinel): Improve trace.
7703 (tramp-sh-handle-file-notify-add-watch)
7704 (tramp-sh-file-notify-process-filter)
7705 (tramp-sh-handle-file-notify-rm-watch)
7706 (tramp-get-remote-inotifywait): New defuns.
7707
7708 2013-07-03 Juri Linkov <juri@jurta.org>
7709
7710 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7711 call of `occur-read-primary-args' to interactive spec.
7712
7713 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7714 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7715
7716 2013-07-03 Matthias Meulien <orontee@gmail.com>
7717
7718 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7719 `Buffer-menu-multi-occur'. Add it to the menu.
7720 (Buffer-menu-mode): Document it in docstring.
7721 (Buffer-menu-multi-occur): New command. (Bug#14673)
7722
7723 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7724
7725 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7726 keywords and built-ins.
7727
7728 2013-07-03 Glenn Morris <rgm@gnu.org>
7729
7730 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7731
7732 Make info-xref checks case-sensitive by default
7733 * info.el (Info-find-node, Info-find-in-tag-table)
7734 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7735 Add option for exact case matching of nodes.
7736 * info-xref.el (info-xref): New custom group.
7737 (info-xref-case-fold): New option.
7738 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7739
7740 2013-07-03 Leo Liu <sdl.web@gmail.com>
7741
7742 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7743
7744 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7745
7746 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7747 middle of block statement initially, lower the depth. Remove
7748 FIXME comment, not longer valid. Remove middle of block statement
7749 detection, no need to do that anymore since we've been using
7750 `ruby-parse-region' here.
7751
7752 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7753
7754 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7755
7756 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7757
7758 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7759
7760 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7761
7762 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7763 (desktop-restore-in-current-display): New customization option.
7764 (desktop--excluded-frame-parameters): Add `font'.
7765 (desktop--save-frames): Rename from desktop--save-windows.
7766 (desktop--restore-in-this-display-p): New function.
7767 (desktop--make-full-frame): Remove unwanted width/height from
7768 full(width|height) frames.
7769 (desktop--restore-frames): Rename from desktop--restore-windows.
7770 Obey desktop-restore-current-display. Do not delete old frames or
7771 select a new frame unless we were able to restore at least one frame.
7772
7773 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7774
7775 * files.el (find-file-noselect): Simplify conditional expression.
7776
7777 * textmodes/remember.el (remember-append-to-file):
7778 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7779
7780 Add `remember-notes' function to store random notes across Emacs
7781 restarts.
7782 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7783 notes buffer (if any).
7784 (remember-notes): New command.
7785 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7786 New defcustoms for the `remember-notes' function.
7787 (remember-notes-save-and-bury-buffer): New command.
7788 (remember-notes-mode-map): New variable.
7789 (remember-mode): New minor mode.
7790 (remember-notes--kill-buffer-query): New function.
7791 * startup.el (initial-buffer-choice): Add notes to custom type.
7792
7793 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7794
7795 * bindings.el (right-char, left-char): Don't call sit-for, this is
7796 no longer needed. Use arithmetic comparison only for numerical
7797 arguments.
7798
7799 * international/mule-cmds.el (select-safe-coding-system):
7800 Handle the case of FROM being a string correctly. (Bug#14755)
7801
7802 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7803
7804 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7805 progression on degenerate tables.
7806 (shr-rescale-image): ImageMagick animated images currently don't work.
7807
7808 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7809
7810 Some fixes and improvements for desktop frame restoration.
7811 It is still experimental and disabled by default.
7812 * desktop.el (desktop--save-windows): Put the selected frame at
7813 the head of the list.
7814 (desktop--make-full-frame): New function.
7815 (desktop--restore-windows): Try to re-select the frame that was
7816 selected upon saving. Do not abort if some frames fail to restore,
7817 just show an error message and continue. Set up maximized frames
7818 so they have default non-maximized dimensions.
7819
7820 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7821
7822 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7823 Don't start heredoc inside a string or comment.
7824
7825 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7826
7827 * bindings.el (visual-order-cursor-movement): New defcustom.
7828 (right-char, left-char): Provide visual-order cursor motion by
7829 calling move-point-visually. Update the doc strings.
7830
7831 2013-06-28 Kenichi Handa <handa@gnu.org>
7832
7833 * international/mule.el (define-coding-system): New coding system
7834 properties :inhibit-null-byte-detection,
7835 :inhibit-iso-escape-detection, and :prefer-utf-8.
7836 (set-buffer-file-coding-system): If :charset-list property of
7837 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7838 appropriate for setting.
7839
7840 * international/mule-cmds.el (select-safe-coding-system):
7841 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7842 multibyte characters, return utf-8 (or one of its siblings).
7843
7844 * international/mule-conf.el (prefer-utf-8): New coding system.
7845 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7846 files.
7847
7848 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7849
7850 * net/shr.el (shr-render-region): New function.
7851
7852 * net/eww.el: Autoload `eww-browse-url'.
7853
7854 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7855
7856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7857 Adapt to `package-desc-version' being a list.
7858 Use `package--ac-desc-version' to retrieve version from a package
7859 archive element.
7860
7861 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7862
7863 New experimental feature to save&restore window and frame setup.
7864 * desktop.el (desktop-save-windows): New defcustom.
7865 (desktop--saved-states): New var.
7866 (desktop--excluded-frame-parameters): New defconst.
7867 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7868 (desktop--restore-windows, desktop--save-windows): New functions.
7869 (desktop-save): Call `desktop--save-windows'.
7870 (desktop-read): Call `desktop--restore-windows'.
7871
7872 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7873
7874 * net/shr.el (add-face-text-property): Remove compat definition.
7875
7876 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7877
7878 * info.el (Info-try-follow-nearest-node): Move search for footnote
7879 above search for node name to prevent missing a footnote (bug#14717).
7880
7881 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7882
7883 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7884
7885 2013-06-27 Leo Liu <sdl.web@gmail.com>
7886
7887 * net/eww.el (eww-read-bookmarks): Check file size.
7888
7889 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7892 advice--pending if newdef is nil or an autoload (bug#13820).
7893 (advice-mapc): New function.
7894
7895 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7896
7897 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7898 probably.
7899 (eww-mode-map): Add a menu bar.
7900 (eww-add-bookmark): New command.
7901 (eww-bookmark-mode): New mode and commands.
7902 (eww-add-bookmark): Remove newlines from the title.
7903 (eww-bookmark-browse): Don't bug out if it's the only window.
7904
7905 2013-06-26 Glenn Morris <rgm@gnu.org>
7906
7907 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7908 (hfy-size): Handle ttys. (Bug#14668)
7909
7910 * info-xref.el: Update for Texinfo 5 change in *note format.
7911 (info-xref-node-re, info-xref-note-re): New constants.
7912 (info-xref-check-buffer): Use info-xref-note-re.
7913
7914 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7917
7918 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7919 nil terminate the loop (bug#14718).
7920
7921 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7922
7923 * net/eww.el: Rework history traversal. When going forward/back,
7924 put these actions into the history, too, so that they can be
7925 replayed.
7926 (eww-render): Move the history reset to the correct buffer.
7927
7928 2013-06-25 Juri Linkov <juri@jurta.org>
7929
7930 * files-x.el (modify-dir-local-variable): Change the header comment
7931 in the file with directory local variables. (Bug#14692)
7932
7933 * files-x.el (read-file-local-variable-value): Add `default'.
7934 (Bug#14710)
7935
7936 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937
7938 * net/eww.el (eww-make-unique-file-name): Create a unique file
7939 name before saving to entering `y' accidentally asynchronously.
7940
7941 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7942
7943 * net/eww.el (eww-download): New command and keystroke.
7944
7945 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7946
7947 * net/eww.el (eww-copy-page-url): Change name of command.
7948
7949 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7950 be more consistent with Info and dired.
7951
7952 * net/eww.el (eww-mode-map): Ditto.
7953
7954 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7957 packages from archives.
7958 (package-archive-contents): Change format; include obsolete packages.
7959 (package-desc): Use `dir' to mark builtin packages.
7960 (package--from-builtin): Set the `dir' field to `builtin'.
7961 (generated-autoload-file, version-control): Declare.
7962 (package-compute-transaction): Change first arg and return value to be
7963 lists of package-descs. Adjust to new package-archive-contents format.
7964 (package--add-to-archive-contents): Adjust to new
7965 package-archive-contents format.
7966 (package-download-transaction): Arg is now a list of package-descs.
7967 (package-install): If `pkg' is a package name, pass it as
7968 a requirement, so it is subject to the usual (e.g. disabled) checks.
7969 (describe-package): Accept package-desc as well.
7970 (describe-package-1): Describe a specific package-desc. Add links to
7971 other package-descs for the same package name.
7972 (package-menu-describe-package): Pass the actual package-desc.
7973 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7974 works correctly.
7975 (package-desc-status): New function.
7976 (package-menu--refresh): New function, extracted
7977 from package-menu--generate.
7978 (package-menu--generate): Use it.
7979 (package-delete): Update package-alist.
7980 (package-menu-execute): Don't call package-initialize.
7981
7982 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7983 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7984 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7985 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7986 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7987 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7988
7989 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7990
7991 * window.el (window--state-get-1): Workaround for bug#14527.
7992 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7993
7994 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7995
7996 * net/eww.el (eww-back-url): Implement the history by stashing all
7997 the data into a list.
7998 (eww-forward-url): Allow going forward in the history, too.
7999
8000 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8001
8002 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8003 for values and use read--expression for expressions (bug#14710).
8004 (read-file-local-variable): Avoid setq.
8005 (read-file-local-variable-mode): Use minor-mode-list.
8006
8007 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8008
8009 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8010 for DOI URLs.
8011
8012 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8013
8014 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8015 Update imenu-support when dialect changes.
8016
8017 2013-06-25 Leo Liu <sdl.web@gmail.com>
8018
8019 * ido.el (ido-read-internal): Allow forward slash on windows.
8020
8021 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8022
8023 * net/eww.el (eww): Start of strings is \\`, not ^.
8024
8025 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8026
8027 * net/shr.el (shr-browse-url): Fix interactive spec.
8028
8029 * net/eww.el (eww): Add a trailing slash to domain names.
8030
8031 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8032
8033 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8034
8035 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8036
8037 * net/shr.el (shr-browse-url): Use an external browser if given a
8038 prefix.
8039
8040 * net/eww.el (eww-external-browser): Move to shr.
8041
8042 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8043
8044 * net/eww.el (eww): Work more correctly for file: URLs.
8045 (eww-detect-charset): Allow quoted charsets.
8046 (eww-yank-page-url): New command and keystroke.
8047
8048 2013-06-24 Daiki Ueno <ueno@gnu.org>
8049
8050 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8051 file name of gpg executable.
8052 (epg-context-program): New function.
8053 (epg-context-home-directory): New function.
8054 (epg-context-set-program): New function.
8055 (epg-context-set-home-directory): New function.
8056 (epg--start): Use `epg-context-program' instead of
8057 'epg-gpg-program'.
8058 (epg--list-keys-1): Likewise.
8059
8060 2013-06-24 Leo Liu <sdl.web@gmail.com>
8061
8062 * ido.el (ido-read-internal): Fix bug#14620.
8063
8064 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * faces.el (face-documentation): Simplify.
8067 (read-face-attribute, tty-find-type, x-resolve-font-name):
8068 Use `string-match-p'.
8069 (list-faces-display): Use `string-match-p'. Simplify.
8070 (face-spec-recalc): Check face to avoid face alias loops.
8071 (read-color): Use `string-match-p' and non-capturing parenthesis.
8072
8073 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8074
8075 * net/shr.el (shr-rescale-image): Use the new
8076 :max-width/:max-height functionality.
8077
8078 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8079
8080 * net/eww.el (eww-search-prefix): New variable.
8081 (eww): Use it.
8082 (eww-external-browser): New variable.
8083 (eww-mode-map): New keystroke.
8084 (eww-browse-with-external-browser): New command.
8085
8086 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8087
8088 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8089
8090 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8091 Don't skip aligning the next header field when padding is 0;
8092 otherwise, field width is not respected unless the title is as
8093 wide as the field.
8094
8095 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * emacs-lisp/package.el (package-el-version): Remove.
8098 (package-process-define-package): Fix inf-loop.
8099 (package-install): Allow symbols as arguments again.
8100
8101 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8102
8103 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8104 add some more keyword-like methods.
8105 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8106
8107 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8108
8109 * bs.el (bs-buffer-show-mark): Make defvar-local.
8110 (bs-mode): Use setq-local.
8111
8112 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8113 (emacs-lock--try-unlocking): Make defvar-local.
8114
8115 2013-06-22 Glenn Morris <rgm@gnu.org>
8116
8117 * play/cookie1.el (cookie-apropos): Minor simplification.
8118
8119 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8120
8121 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8122
8123 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8124 `regexp-opt', it breaks the build during dumping.
8125
8126 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8127
8128 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8129 Highlight keyword-like methods on Kernel and Module with
8130 font-lock-builtin-face.
8131 (auto-mode-alist): Consolidate different entries into one regexp
8132 and add more *file-s.
8133
8134 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8135
8136 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8137
8138 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8139 (diary-entry): Use it in the action of this button type instead of
8140 diary-goto-entry.
8141
8142 * calendar/todo-mode.el: New version.
8143 (todo-add-category): Append new category to end of file and give
8144 it the highest number, instead of putting it at the beginning and
8145 giving it 0. Incorporate noninteractive functionality.
8146 (todo-forward-category): Adapt to 1-based category numbering.
8147 Allow skipping over archived categories.
8148 (todo-backward-category): Derive from todo-forward-category.
8149 (todo-backward-item, todo-forward-item): Make noninteractive and
8150 delegate interactive part to new commands. Make sensitive to done items.
8151 (todo-categories): Make value an alist of category names and
8152 vectors of item counts.
8153 (todo-category-beg): Make a defconst.
8154 (todo-category-number): Use 1 instead of 0 as initial value.
8155 (todo-category-select): Make sensitive to overlays, optional item
8156 highlighting and done items.
8157 (todo-delete-item): Make sensitive to overlays and marked and done items.
8158 (todo-edit-item): Make sensitive to overlays and editing of
8159 date/time header optional. Add format checks.
8160 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8161 no-op if point is not on an item. Advertise using todo-edit-quit.
8162 (todo-edit-mode): Make sensitive to new format, font-locking, and
8163 multiple todo files.
8164 (todo-insert-item, todo-insert-item-here): Derive from
8165 todo-basic-insert-item and extend functionality.
8166 (todo-item-end, todo-item-start): Make sensitive to done items.
8167 (todo-item-string): Don't return text properties. Restore point.
8168 (todo-jump-to-category): Make sensitive to multiple todo files and
8169 todo archives. Use extended category completion.
8170 (todo-lower-item, todo-raise-item): Rename to *-priority and
8171 derive from todo-set-item-priority.
8172 (todo-mode): Derive from special-mode. Make sensitive to new
8173 format, font-locking and multiple todo files. Make read-only.
8174 (todo-mode-map): Don't suppress digit keys, so they can supply
8175 prefix arguments. Add many new key bindings.
8176 (todo-prefix): Insert as an overlay instead of file text.
8177 Change semantics from diary date expression to purely visual mark.
8178 (todo-print): Rename to todo-print-buffer. Make buffer display
8179 features printable. Remove option to restrict number of items
8180 printed. Add option to print to file.
8181 (todo-print-function): Rename to todo-print-buffer-function.
8182 (todo-quit): Extend to handle exiting new todo modes.
8183 (todo-remove-item): Make sensitive to overlays.
8184 (todo-save): Extend to buffers of filtered items.
8185 (todo-show): Make sensitive to done items, multiple todo files and
8186 new todo modes. Offer to convert legacy todo file before creating
8187 first new todo file.
8188 (todo-show-priorities): Rename to todo-top-priorities.
8189 Change semantics of value 0.
8190 (todo-top-priorities): Rename to todo-filter-top-priorities,
8191 derive from todo-filter-items and extend functionality.
8192 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8193 and extend functionality to other types of filtered items.
8194 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8195 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8196 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8197 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8198 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8199 (todo-edit-mode-hook, todo-entry-prefix-function)
8200 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8201 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8202 (todo-initials, todo-insert-threshold, todo-item-string-start)
8203 (todo-line-string, todo-menu, todo-mode-hook)
8204 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8205 (todo-print-priorities, todo-remove-separator)
8206 (todo-save-top-priorities-too, todo-string-count-lines)
8207 (todo-string-multiline-p, todo-time-string-format)
8208 (todo-tmp-buffer-name): Remove.
8209 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8210 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8211 (todo-edit-category-diary-inclusion)
8212 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8213 (todo-edit-file, todo-edit-item-date-day)
8214 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8215 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8216 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8217 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8218 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8219 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8220 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8221 (todo-filter-top-priorities-multifile, todo-find-archive)
8222 (todo-find-filtered-items-file, todo-go-to-source-item)
8223 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8224 (todo-jump-to-archive-category, todo-lower-category)
8225 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8226 (todo-move-category, todo-move-item, todo-next-button)
8227 (todo-next-item, todo-padded-string, todo-powerset)
8228 (todo-previous-button, todo-previous-item)
8229 (todo-print-buffer-to-file, todo-raise-category)
8230 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8231 (todo-set-category-number, todo-set-item-priority)
8232 (todo-set-top-priorities-in-category)
8233 (todo-set-top-priorities-in-file, todo-show-categories-table)
8234 (todo-sort-categories-alphabetically-or-numerically)
8235 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8236 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8237 (todo-toggle-item-header, todo-toggle-item-highlighting)
8238 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8239 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8240 (todo-unarchive-items, todo-unmark-category): New commands.
8241 (todo-absolute-file-name, todo-add-to-buffer-list)
8242 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8243 (todo-basic-insert-item, todo-category-completions)
8244 (todo-category-number, todo-category-string-matcher-1)
8245 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8246 (todo-check-format, todo-clear-matches)
8247 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8248 (todo-current-category, todo-date-string-matcher)
8249 (todo-define-insertion-command, todo-diary-expired-matcher)
8250 (todo-diary-goto-entry, todo-diary-item-p)
8251 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8252 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8253 (todo-done-item-section-p, todo-done-separator)
8254 (todo-done-string-matcher, todo-files, todo-filter-items)
8255 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8256 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8257 (todo-insert-category-line, todo-insert-item-from-calendar)
8258 (todo-insert-sort-button, todo-insert-with-overlays)
8259 (todo-insertion-command-name, todo-insertion-key-bindings)
8260 (todo-label-to-key, todo-longest-category-name-length)
8261 (todo-make-categories-list, todo-mode-external-set)
8262 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8263 (todo-modes-set-3, todo-multiple-filter-files)
8264 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8265 (todo-read-category, todo-read-date, todo-read-dayname)
8266 (todo-read-file-name, todo-read-time)
8267 (todo-reevaluate-category-completions-files-defcustom)
8268 (todo-reevaluate-default-file-defcustom)
8269 (todo-reevaluate-filelist-defcustoms)
8270 (todo-reevaluate-filter-files-defcustom)
8271 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8272 (todo-reset-done-separator, todo-reset-done-separator-string)
8273 (todo-reset-done-string, todo-reset-global-current-todo-file)
8274 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8275 (todo-reset-prefix, todo-set-categories)
8276 (todo-set-date-from-calendar, todo-set-show-current-file)
8277 (todo-set-top-priorities, todo-short-file-name)
8278 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8279 (todo-total-item-counts, todo-update-buffer-list)
8280 (todo-update-categories-display, todo-update-categories-sexp)
8281 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8282 New functions.
8283 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8284 New major modes.
8285 (todo-categories, todo-display, todo-edit, todo-faces)
8286 (todo-filtered): New defgroups.
8287 (todo-archived-only, todo-button, todo-category-string, todo-date)
8288 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8289 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8290 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8291 (todo-add-item-if-new-category, todo-always-add-time-string)
8292 (todo-categories-align, todo-categories-archived-label)
8293 (todo-categories-category-label, todo-categories-diary-label)
8294 (todo-categories-done-label, todo-categories-number-separator)
8295 (todo-categories-todo-label, todo-categories-totals-label)
8296 (todo-category-completions-files, todo-completion-ignore-case)
8297 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8298 (todo-done-separator-string, todo-done-string)
8299 (todo-files-function, todo-filter-done-items, todo-filter-files)
8300 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8301 (todo-initial-category, todo-initial-file, todo-item-mark)
8302 (todo-legacy-date-time-regexp, todo-mode-line-function)
8303 (todo-nondiary-marker, todo-number-prefix)
8304 (todo-print-buffer-function, todo-show-current-file)
8305 (todo-show-done-only, todo-show-first, todo-show-with-done)
8306 (todo-skip-archived-categories, todo-top-priorities-overrides)
8307 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8308 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8309 New defcustoms.
8310 (todo-category-done, todo-date-pattern, todo-date-string-start)
8311 (todo-diary-items-buffer, todo-done-string-start)
8312 (todo-filtered-items-buffer, todo-item-start)
8313 (todo-month-abbrev-array, todo-month-name-array)
8314 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8315 (todo-top-priorities-buffer): New defconsts.
8316 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8317 (todo-categories-with-marks, todo-category-string-face)
8318 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8319 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8320 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8321 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8322 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8323 (todo-font-lock-keywords, todo-global-current-todo-file)
8324 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8325 (todo-insertion-commands-args)
8326 (todo-insertion-commands-args-genlist)
8327 (todo-insertion-commands-names, todo-insertion-map)
8328 (todo-key-bindings-t, todo-key-bindings-t+a)
8329 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8330 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8331 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8332 (todo-visited): New variables.
8333
8334 2013-06-21 Glenn Morris <rgm@gnu.org>
8335
8336 * play/cookie1.el (cookie-apropos): Add optional display argument.
8337 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8338 (psychoanalyze-pinhead): Use cookie-doctor.
8339
8340 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8341
8342 * emacs-lisp/package.el (tar-get-file-descriptor)
8343 (tar--extract): Declare.
8344
8345 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8346
8347 Extend flymake's warning predicate to be a function (bug#14217).
8348 * progmodes/flymake.el (flymake-warning-predicate): New.
8349 (flymake-parse-line): Use it.
8350 (flymake-warning-re): Make obsolete alias to
8351 `flymake-warning-predicate'.
8352
8353 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8356 (package-obsolete-list): Remove.
8357 (package-activate): Remove min-version argument. Add `force' argument.
8358 Adjust to new package-alist format.
8359 (package-mark-obsolete): Remove.
8360 (package-unpack): Force reload of the package's autoloads.
8361 (package-installed-p): Check builtins if the installed package is not
8362 recent enough.
8363 (package-initialize): Don't reset package-obsolete-list.
8364 Don't specify which package version to activate.
8365 (package-process-define-package, describe-package-1)
8366 (package-menu--generate): Adjust to new package-alist format.
8367
8368 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8369
8370 * allout-widgets.el (allout-widgets-mode-off)
8371 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8372 (allout-widgets-post-command-business)
8373 (allout-widgets-after-copy-or-kill-function)
8374 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8375 (allout-decorate-item-and-context)
8376 (allout-graphics-modification-handler): Fix typos in docstrings.
8377 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8378
8379 * cmuscheme.el (scheme-start-file): Doc fix.
8380 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8381 (scheme-input-filter): Use `string-match-p'.
8382
8383 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8384
8385 * dired-x.el: Use Dired consistently in docstrings.
8386
8387 * dired.el: Use Dired consistently in docstrings.
8388 (dired-readin, dired-mode): Use `setq-local'.
8389 (dired-switches-alist): Make defvar-local.
8390 (dired-buffers-for-dir): Use `zerop'.
8391 (dired-safe-switches-p, dired-switches-escape-p)
8392 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8393 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8394 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8395 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8396 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8397 (dired-toggle-marks, dired-mark-files-containing-regexp)
8398 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8399 (dired-flag-auto-save-files, dired-flag-backup-files):
8400 Use `looking-at-p'.
8401 (dired-mark-files-regexp, dired-build-subdir-alist):
8402 Use `string-match-p', `looking-at-p'.
8403
8404 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8405 (direct-print-region-helper): Use `string-match-p'.
8406
8407 2013-06-21 Leo Liu <sdl.web@gmail.com>
8408
8409 * comint.el (comint-redirect-results-list-from-process):
8410 Fix infinite loop.
8411
8412 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8413
8414 * net/eww.el (eww-update-header-line-format): Quote % characters.
8415
8416 2013-06-21 Glenn Morris <rgm@gnu.org>
8417
8418 * play/cookie1.el (cookie): New custom group.
8419 (cookie-file): New option.
8420 (cookie-check-file): New function.
8421 (cookie): Make it interactive. Make start and end messages optional.
8422 Interactively, display the result. Default to cookie-file.
8423 (cookie-insert): Default to cookie-file.
8424 (cookie-snarf): Make start and end messages optional.
8425 Default to cookie-file. Use with-temp-buffer.
8426 (cookie-read): Rename from read-cookie.
8427 Make start and end messages optional. Default to cookie-file.
8428 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8429 Do not autoload it.
8430 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8431 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8432
8433 2013-06-21 Leo Liu <sdl.web@gmail.com>
8434
8435 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8436
8437 2013-06-21 Glenn Morris <rgm@gnu.org>
8438
8439 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8440
8441 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8442 Daniel Hackney <dan@haxney.org>
8443
8444 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8445 Consolidate the single-file vs tarball code.
8446 (package-desc-suffix): New function.
8447 (package-desc-full-name): Don't bother inlining it.
8448 (package-load-descriptor): Return the new package-desc.
8449 (package-mark-obsolete): Remove unused arg `package'.
8450 (package-unpack): Make it work for single files as well.
8451 Make it update package-alist.
8452 (package--make-autoloads-and-stuff): Rename from
8453 package--make-autoloads-and-compile. Don't compile any more.
8454 (package--compile): New function.
8455 (package-generate-description-file): New function, extracted from
8456 package-unpack-single.
8457 (package-unpack-single): Remove.
8458 (package--with-work-buffer): Add indentation and debugging info.
8459 (package-download-single): Remove.
8460 (package-install-from-archive): Rename from package-download-tar, make
8461 it take a pkg-desc, and make it work for single files as well.
8462 (package-download-transaction): Simplify.
8463 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8464 external tar program.
8465 (package-install-from-buffer): Remove `pkg-desc' argument.
8466 Use package-tar-file-info for tar-mode buffers.
8467 (package-install-file): Simplify accordingly.
8468 (package-archive-base): Change to take a pkg-desc.
8469 * tar-mode.el (tar--check-descriptor): New function, extracted from
8470 tar-get-descriptor.
8471 (tar-get-descriptor): Use it.
8472 (tar-get-file-descriptor): New function.
8473 (tar--extract): New function, extracted from tar-extract.
8474 (tar--extract): Use it.
8475 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8476 case the summary uses non-ascii. Adjust to new calling convention of
8477 package-tar-file-info.
8478
8479 2013-06-21 Leo Liu <sdl.web@gmail.com>
8480
8481 * comint.el (comint-redirect-results-list-from-process):
8482 Fix random delay. (Bug#14681)
8483
8484 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8485
8486 * profiler.el (profiler-format-number): Use log, not log10.
8487
8488 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8489
8490 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8491
8492 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8495 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8496 yet available.
8497 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8498 (AUTOGENEL): ... here.
8499 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8500 (cl--defsubst-expand): Use it.
8501
8502 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8503
8504 * subr.el (log10): Move here from C code, and declare as obsolete.
8505 All uses of (log10 X) replaced with (log X 10).
8506
8507 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8510 Declare with `defvar-local'.
8511 (tabulated-list-use-header-line, tabulated-list-entries)
8512 (tabulated-list-padding, tabulated-list-printer)
8513 (tabulated-list-sort-key): Declare with `defvar-local'.
8514 (tabulated-list-init-header, tabulated-list-print-fake-header):
8515 Use `setq-local'.
8516
8517 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8518
8519 * arc-mode.el (archive-mode): Add `archive-write-file' to
8520 `write-contents-functions' also for remote files. (Bug#14652)
8521
8522 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8523
8524 * cus-edit.el (custom-commands): Fix typos.
8525 (custom-display): Fix tooltip text.
8526 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8527 Fix typos in docstrings.
8528 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8529 (custom-unlispify-menu-entry, custom-magic-value-create)
8530 (custom-add-see-also, custom-group-value-create): Use ?\s.
8531 (custom-guess-type, customize-apropos, editable-field)
8532 (custom-face-value-create): Use `string-match-p'.
8533 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8534
8535 * custom.el (custom-load-symbol): Use `string-match-p'.
8536
8537 * ansi-color.el: Convert to lexical binding.
8538 (ansi-colors): Fix URL.
8539 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8540 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8541 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8542
8543 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8544
8545 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8546
8547 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8548
8549 2013-06-19 Tom Tromey <tromey@redhat.com>
8550
8551 * net/eww.el (eww-top-url): Remove.
8552 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8553 (eww-render): Set new variables. Don't set eww-top-url.
8554 (eww-handle-link): Handle "prev", "home", and "contents".
8555 Downcase the rel text.
8556 (eww-top-url): Choose best top URL.
8557
8558 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8559
8560 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8561 relying in widget.el. Using widget.el leads to too many
8562 user interface inconsistencies.
8563 (eww-self-insert): Implement entering commands in text fields.
8564 (eww-process-text-input): New function to make text input field editing
8565 work.
8566 (eww-submit): Rewrite to use the new-style form methods.
8567 (eww-select-display): Display the correct selected item.
8568 (eww-change-select): Implement changing the select value.
8569 (eww-toggle-checkbox): Implement radio/checkboxes.
8570 (eww-update-field): Fix compilation error.
8571 (eww-tag-textarea): Implement <textarea>.
8572
8573 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8574 we don't shadow mode-specific bindings.
8575
8576 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8577 nothing to push.
8578
8579 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8580
8581 2013-06-19 Glenn Morris <rgm@gnu.org>
8582
8583 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8584
8585 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8586
8587 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8588 not needed.
8589
8590 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8591
8592 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8593
8594 * net/browse-url.el (browse-url-browser-function):
8595 `eww-browse-url' has the right calling signature, `eww' does not.
8596
8597 2013-06-19 Glenn Morris <rgm@gnu.org>
8598
8599 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8600 Only eval autoloaded macros.
8601 (byte-compile-autoload): Only give the macro warning for macros.
8602
8603 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8604 (ps-underlined-faces): Declare.
8605
8606 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8607 (speedbar-add-supported-extension): Declare.
8608
8609 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8610 Don't include a date stamp in the header of the generated file;
8611 it leads to needless differences between output files.
8612
8613 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8614
8615 * net/secrets.el (secrets-struct-secret-content-type):
8616 Replace check of introspection data by a test call of "CreateItem".
8617 Some servers do not offer introspection.
8618
8619 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8620
8621 * electric.el (electric-pair-mode): Improve interaction with
8622 electric-layout-mode.
8623 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8624 (electric-pair-syntax): Use text-mode-syntax-table in comments
8625 and strings.
8626 (electric-pair--insert): New function.
8627 (electric-pair-post-self-insert-function): Use it and
8628 electric--after-char-pos.
8629
8630 2013-06-19 Leo Liu <sdl.web@gmail.com>
8631
8632 * progmodes/octave.el (octave-help): Fix regexp.
8633
8634 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8635
8636 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8637 (shr-table-horizontal-line): Allow nil as a value, and change the
8638 default.
8639 (shr-insert-table-ruler): Respect the nil value.
8640
8641 2013-06-18 Tom Tromey <tromey@barimba>
8642
8643 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8644 New defvars.
8645 (eww-open-file): New defun.
8646 (eww-render): Initialize new variables.
8647 (eww-display-html): Handle "link" and "a".
8648 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8649 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8650 (eww-back-url): Rename from eww-previous-url.
8651 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8652 New defuns.
8653
8654 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8655
8656 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8657 Distinguish ternary operator tokens from slash symbol and slash
8658 char literal.
8659
8660 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8661
8662 Convert symbol prettification into minor mode and global minor mode.
8663
8664 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8665 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8666 (prettify-symbols--keywords): Rename from
8667 `prog-prettify-symbols-alist' and make a local defvar.
8668 (prettify-symbols--compose-symbol): Rename from
8669 `prog--prettify-font-lock-compose-symbol'.
8670 (prettify-symbols--make-keywords): Rename from
8671 `prog-prettify-font-lock-symbols-keywords' and simplify.
8672 (prog-prettify-install): Remove.
8673 (prettify-symbols-mode): New minor mode, based on
8674 `prog-prettify-install'.
8675 (turn-on-prettify-symbols-mode): New function.
8676 (global-prettify-symbols-mode): New globalized minor mode.
8677
8678 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8679 * progmodes/cfengine.el (cfengine3-mode):
8680 * progmodes/perl-mode.el (perl-mode): Don't call
8681 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8682
8683 2013-06-18 Juri Linkov <juri@jurta.org>
8684
8685 * files-x.el (modify-file-local-variable-message): New function.
8686 (modify-file-local-variable)
8687 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8688 and call `modify-file-local-variable-message' when it's non-nil.
8689 (add-file-local-variable, delete-file-local-variable)
8690 (add-file-local-variable-prop-line)
8691 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8692 and use it. (Bug#9820)
8693
8694 2013-06-18 Juri Linkov <juri@jurta.org>
8695
8696 * emulation/vi.el (vi-shell-op):
8697 * emulation/vip.el (vip-execute-com, ex-command):
8698 * emulation/viper-cmd.el (viper-exec-bang):
8699 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8700 the call of `shell-command-on-region'. (Bug#14637)
8701
8702 * simple.el (shell-command-on-region): Doc fix.
8703
8704 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8707 (bug#14633).
8708
8709 2013-06-18 Glenn Morris <rgm@gnu.org>
8710
8711 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8712
8713 * newcomment.el (comment-search-forward, comment-search-backward):
8714 Doc fix. (Bug#14376)
8715
8716 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8717
8718 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8719 (buffer-face-mode-invoke): Doc fix.
8720
8721 2013-06-18 Matthias Meulien <orontee@gmail.com>
8722
8723 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8724 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8725
8726 2013-06-18 Glenn Morris <rgm@gnu.org>
8727
8728 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8729 Replace obsolete function generic-make-keywords with its expansion.
8730
8731 * progmodes/python.el (ffap-alist): Declare.
8732
8733 * textmodes/reftex.el (bibtex-mode-map): Declare.
8734
8735 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8736
8737 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8738 (package-unpack, package-unpack-single): Return the pkg-dir.
8739 (package-download-transaction): Use it to update package-alist.
8740
8741 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8742
8743 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8744 possible choice.
8745
8746 2013-06-17 Juri Linkov <juri@jurta.org>
8747
8748 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8749
8750 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8751
8752 * emacs-lisp/package.el (package-load-descriptor):
8753 Remove `with-syntax-table' call, `read' doesn't need it.
8754 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8755
8756 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8757
8758 * startup.el (command-line): Expand package name returned by
8759 `package--description-file' (bug#14639).
8760
8761 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8762
8763 * emacs-lisp/package.el (package-load-descriptor): Do not call
8764 `emacs-lisp-mode', just use its syntax table.
8765
8766 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8767
8768 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8769 `font-lock-extra-managed-props' if any prettifying keyword is added.
8770 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8771 (prog-mode): Use `setq-local'.
8772
8773 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8774
8775 * international/characters.el (standard-case-table): Set syntax of ?»
8776 and ?« to punctuation.
8777
8778 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8779
8780 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8781 Save relevant match data before calling `syntax-ppss' (bug#14595).
8782
8783 2013-06-15 Juri Linkov <juri@jurta.org>
8784
8785 * files-x.el (modify-file-local-variable-prop-line): Add local
8786 variables to the end of the existing comment on the first line.
8787 Use `file-auto-mode-skip' to skip interpreter magic line,
8788 and also skip XML declaration.
8789
8790 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8791
8792 * startup.el (package--builtin-versions): New var.
8793 (package-subdirectory-regexp): Remove.
8794 (package--description-file): Hard code its value instead.
8795
8796 * emacs-lisp/package.el: Don't activate packages older than builtin.
8797 (package-obsolete-list): Rename from package-obsolete-alist, and make
8798 it into a simple list of package-desc.
8799 (package-strip-version): Remove.
8800 (package-built-in-p): Use package--builtin-versions.
8801 (package-mark-obsolete): Simplify.
8802 (package-process-define-package): Mark it obsolete if older than the
8803 builtin version.
8804 (package-handle-response): Use line-end-position.
8805 (package-read-archive-contents, package--download-one-archive):
8806 Simplify.
8807 (package--add-to-archive-contents): Skip if older than the builtin or
8808 installed version.
8809 (package-menu-describe-package): Fix last change.
8810 (package-list-unversioned): New var.
8811 (package-menu--generate): Use it.
8812
8813 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8814 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8815 (autoload-builtin-package-versions): New variable.
8816 (autoload-generate-file-autoloads): Use them.
8817 Remove the list of autoloaded functions/macros from the
8818 (autoload...) comments.
8819
8820 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8821
8822 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8823
8824 * simple.el (line-move-partial): Don't jump to the next screen
8825 line as soon as it becomes visible. Instead, continue enlarging
8826 the vscroll until the portion of a tall screen line that's left on
8827 display is about the height of the frame's default font.
8828 (Bug#14567)
8829
8830 2013-06-15 Glenn Morris <rgm@gnu.org>
8831
8832 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8833 compilation-error-regexp-alist void, or local while let-bound.
8834
8835 * progmodes/make-mode.el (makefile-mode-syntax-table):
8836 Treat "=" as punctuation. (Bug#14614)
8837
8838 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8839
8840 * help-fns.el (describe-variable):
8841 Add extra line for permanent-local variables.
8842
8843 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8844
8845 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8846 Add export, import, library. (Bug#9164)
8847 (library): Set indent function.
8848
8849 2013-06-14 Glenn Morris <rgm@gnu.org>
8850
8851 * term/xterm.el (xterm--query):
8852 Stop after first matching handler. (Bug#14615)
8853
8854 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8855
8856 Add support for dired in saveplace.
8857 * dired.el (dired-initial-position-hook): New variable.
8858 (dired-initial-position): Call hook to place cursor position.
8859 * saveplace.el (save-place-to-alist): Add dired position.
8860 (save-place-dired-hook): New function.
8861
8862 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8863
8864 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8865 through a symbol rather than letrec.
8866
8867 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8868 (package-desc): Add `dir' field.
8869 (package-desc-full-name): New function.
8870 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8871 (package-maybe-load-descriptor): Remove.
8872 (package-load-all-descriptors): Just call package-load-descriptor.
8873 (package--disabled-p): New function.
8874 (package-desc-vers, package-desc-doc): Remove aliases.
8875 (package--dir): Remove function.
8876 (package-activate): Check if a package is disabled.
8877 (package-process-define-package): New function, extracted from
8878 define-package.
8879 (define-package): Turn into a place holder.
8880 (package-unpack-single, package-tar-file-info):
8881 Use package--description-file.
8882 (package-compute-transaction): Use package--disabled-p.
8883 (package-download-transaction): Don't call
8884 package-maybe-load-descriptor since they're all loaded anyway.
8885 (package-install): Change argument to be a pkg-desc.
8886 (package-delete): Use a single pkg-desc argument.
8887 (describe-package-1): Use package-desc-dir instead of package--dir.
8888 Use package-desc property instead of package-symbol.
8889 (package-install-button-action): Adjust accordingly.
8890 (package--push): Rewrite.
8891 (package-menu--print-info): Adjust accordingly. Change the ID format
8892 to be a pkg-desc.
8893 (package-menu-describe-package, package-menu-get-status)
8894 (package-menu--find-upgrades, package-menu-mark-upgrades)
8895 (package-menu-execute, package-menu--name-predicate):
8896 Adjust accordingly.
8897 * startup.el (package--description-file): New function.
8898 (command-line): Use it.
8899 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8900 Use package-desc-version.
8901
8902 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8903 (byte-compile-preprocess): Use it.
8904 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8905 can't quite recognize.
8906 (byte-compile-add-to-list): Remove.
8907 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8908 (cconv-closure-convert): Add assertion.
8909
8910 * emacs-lisp/map-ynp.el: Use lexical-binding.
8911 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8912 Factor out some repeated code.
8913
8914 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * subr.el (with-eval-after-load): New macro.
8917 (eval-after-load): Allow form to be a function.
8918 take advantage of lexical-binding.
8919 (do-after-load-evaluation): Use dolist and adjust to new format.
8920 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8921
8922 2013-06-13 Juri Linkov <juri@jurta.org>
8923
8924 * replace.el (perform-replace): Display "symbol " and other search
8925 modes from `isearch-message-prefix' in the *Help* buffer.
8926
8927 * isearch.el (isearch-query-replace): Add " symbol" and other
8928 possible search modes from `isearch-message-prefix' to the prompt.
8929 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8930 when reading a regexp to collect.
8931
8932 2013-06-13 Juri Linkov <juri@jurta.org>
8933
8934 * isearch.el (word-search-regexp): Match whitespace if the search
8935 string begins or ends in whitespace. The LAX arg is applied to
8936 both ends of the search string. Use `regexp-quote' and explicit
8937 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8938 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8939 boundaries are replaced with symbol boundaries, and characters
8940 between symbols match non-word non-symbol syntax. (Bug#14602)
8941
8942 2013-06-13 Juri Linkov <juri@jurta.org>
8943
8944 * isearch.el (isearch-del-char): Don't exceed the length of
8945 `isearch-string' by the prefix arg. (Bug#14563)
8946
8947 2013-06-13 Juri Linkov <juri@jurta.org>
8948
8949 * isearch.el (isearch-yank-word, isearch-yank-line)
8950 (isearch-char-by-name, isearch-quote-char)
8951 (isearch-printing-char, isearch-process-search-char):
8952 Add optional count prefix arg. (Bug#14563)
8953
8954 * international/isearch-x.el
8955 (isearch-process-search-multibyte-characters):
8956 Add optional count prefix arg.
8957
8958 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8961 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8962 lexical-binding.
8963
8964 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8965
8966 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8967
8968 2013-06-13 Glenn Morris <rgm@gnu.org>
8969
8970 * startup.el (tty-handle-args):
8971 Don't just discard "--" and anything after. (Bug#14608)
8972
8973 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8974
8975 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8976
8977 Implement changes in Secret Service API. Make it backward compatible.
8978 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8979 (secrets-create-item): Use it. Prefix properties with interface.
8980
8981 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8982
8983 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8984 (term-emulate-terminal): Respect term-suppress-hard-newline.
8985
8986 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8987
8988 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8989 Only remove a `thumb-file' overlay. (Bug#14548)
8990
8991 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8992
8993 * mail/reporter.el (reporter-submit-bug-report):
8994 Handle missing package-name. (Bug#14600)
8995
8996 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8997
8998 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8999 (reftex-citation-prompt, reftex-default-bibliography)
9000 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9001 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9002 (reftex-bib-sort-author, reftex-bib-sort-year)
9003 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9004 (reftex-extract-bib-entries-from-thebibliography)
9005 (reftex-get-bibkey-default, reftex-get-bib-names)
9006 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9007 (reftex-format-bib-entry, reftex-parse-bibitem)
9008 (reftex-format-bibitem, reftex-do-citation)
9009 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9010 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9011 (reftex-insert-bib-matches, reftex-format-citation)
9012 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9013 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9014 existing comments into docstrings.
9015
9016 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9017
9018 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9019
9020 2013-06-12 Andreas Schwab <schwab@suse.de>
9021
9022 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9023 for auto-save files.
9024
9025 2013-06-12 Glenn Morris <rgm@gnu.org>
9026
9027 * ido.el (ido-delete-ignored-files): Remove.
9028 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9029 Go back to calling ido-ignore-item-p directly.
9030
9031 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9032
9033 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9034
9035 * ido.el (ido-delete-ignored-files): New function,
9036 split from ido-make-file-list-1.
9037 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9038 (ido-make-file-list-1): Use ido-delete-ignored-files.
9039
9040 2013-06-12 Leo Liu <sdl.web@gmail.com>
9041
9042 * progmodes/octave.el (inferior-octave-startup)
9043 (inferior-octave-completion-table)
9044 (inferior-octave-track-window-width-change)
9045 (octave-eldoc-function-signatures, octave-help)
9046 (octave-find-definition): Use single quoted strings.
9047 (inferior-octave-startup-args): Change default value.
9048 (inferior-octave-startup): Do not hard code "-i" and
9049 "--no-line-editing".
9050 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9051 (inferior-octave-directory-tracker): Use it.
9052 (octave-goto-function-definition): Robustify.
9053 (octave-help): Support highlighting operators in 'See also'.
9054 (octave-find-definition): Find subfunctions only in Octave mode.
9055
9056 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9057
9058 * help-fns.el (help-fns--compiler-macro): If the handler function is
9059 named, then put a link to it.
9060 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9061 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9062 (cl-typep): Use it.
9063 (cl-eval-when): Simplify debug spec.
9064 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9065 compiler-macro function instead of setting `compiler-macro-file'.
9066
9067 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9068
9069 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9070 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9071
9072 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9073 Daniel Hackney <dan@haxney.org>
9074
9075 First part of Daniel Hackney's patch to package.el.
9076 * emacs-lisp/package.el: Use defstruct.
9077 (package-desc): New, main struct.
9078 (package--bi-desc, package--ac-desc): New structs, used to describe the
9079 format in external files.
9080 (package-desc-vers): Replace with package-desc-version accessor.
9081 (package-desc-doc): Replace with package-desc-summary accessor.
9082 (package-activate-1): Remove `package' arg since the pkg-vec now
9083 includes the name.
9084 (define-package): Use package-desc-from-define.
9085 (package-unpack-single): Change file-name arg to be a symbol.
9086 (package--add-to-archive-contents): Use package-desc-create and new
9087 accessor functions to package--ac-desc.
9088 (package-buffer-info, package-tar-file-info): Return a package-desc.
9089 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9090 arg to be a package-desc.
9091 (package-install-file): Adjust accordingly. Use \' to match EOS.
9092 (package--from-builtin): New function.
9093 (describe-package-1, package-menu--generate): Use it.
9094 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9095 (package-generate-autoloads): Idem and return the name of the file.
9096 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9097 Change pkg-info arg to be a package-desc.
9098 Use package-make-ac-desc.
9099 (package-upload-file): Use \' to match EOS.
9100 * finder.el (finder-compile-keywords): Use package-make-builtin.
9101
9102 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9103
9104 * vc/vc.el (vc-deduce-fileset): Change error message.
9105 (vc-read-backend): New function.
9106 (vc-next-action): Use it.
9107
9108 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9109
9110 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9111 (prolog-font-lock-keywords): Use regexp-opt instead.
9112 Don't manually highlight strings.
9113 (prolog-mode-variables): Simplify comment-start-skip.
9114 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9115
9116 * emacs-lisp/generic.el (generic--normalise-comments)
9117 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9118 (generic-mode-set-comments): Use them.
9119 (generic-bracket-support): Use setq-local.
9120 (generic-make-keywords-list): Declare obsolete.
9121
9122 2013-06-11 Glenn Morris <rgm@gnu.org>
9123
9124 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9125 Prettify after setting font-lock-defaults. (Bug#14574)
9126
9127 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9128
9129 * replace.el (query-replace, occur-read-regexp-defaults-function)
9130 (replace-search):
9131 * subr.el (declare-function, number-sequence, local-set-key)
9132 (substitute-key-definition, locate-user-emacs-file)
9133 (with-silent-modifications, split-string, eval-after-load):
9134 Fix typos, remove unneeded backslashes and reflow some docstrings.
9135
9136 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9139 default for Elisp files.
9140
9141 2013-06-11 Glenn Morris <rgm@gnu.org>
9142
9143 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9144 although define-derived-mode was doing this anyway. (Bug#14583)
9145
9146 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9147
9148 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9149 Fix make-variable-buffer-local call to refer to the correct variable.
9150
9151 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9152
9153 * eshell/em-term.el (eshell-visual-commands)
9154 (eshell-visual-subcommands, eshell-visual-options):
9155 Add summary line to docstrings. Add cross-references.
9156
9157 2013-06-10 Glenn Morris <rgm@gnu.org>
9158
9159 * epa.el (epa-read-file-name): New function. (Bug#14510)
9160 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9161
9162 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9163
9164 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9165 output redirection to be ignored with visual commands.
9166
9167 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9168
9169 * eshell/em-term.el (eshell-visual-command-p): New function.
9170 (eshell-term-initialize): Move long lambda to separate function
9171 eshell-visual-command-p.
9172 * eshell/em-dirs.el (eshell-dirs-initialise):
9173 * eshell/em-script.el (eshell-script-initialize):
9174 Add missing #' to lambda.
9175
9176 2013-06-08 Leo Liu <sdl.web@gmail.com>
9177
9178 * progmodes/octave.el (octave-add-log-current-defun): New function.
9179 (octave-mode): Set add-log-current-defun-function.
9180 (octave-goto-function-definition): Do not move point if not found.
9181 (octave-find-definition): Enhance to try subfunctions first.
9182
9183 2013-06-08 Glenn Morris <rgm@gnu.org>
9184
9185 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9186 (byte-compile-backward-char, byte-compile-backward-word):
9187 Improve previous change, to handle non-explicit nil.
9188
9189 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9192 (smie--opener/closer-at-point): New function.
9193 (smie--matching-block-data): Use it. Don't match from right after an
9194 opener or right before a closer. Obey smie-blink-matching-inners.
9195 Don't signal a mismatch for repeated inners like "switch..case..case".
9196
9197 2013-06-07 Leo Liu <sdl.web@gmail.com>
9198
9199 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9200 to t. (Bug#14303)
9201 (octave-function-header-regexp): Fix. (Bug#14570)
9202 (octave-help-mode-finish-hook, octave-help-mode-finish):
9203 Remove. Just use temp-buffer-show-hook.
9204
9205 * newcomment.el (comment-search-backward): Revert last change.
9206 (Bug#14434)
9207
9208 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9209
9210 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9211
9212 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9213 through xargs, to avoid failure due to MS-Windows limitations on
9214 command-line length.
9215
9216 2013-06-06 Glenn Morris <rgm@gnu.org>
9217
9218 * font-lock.el (lisp-font-lock-keywords-2):
9219 Treat user-error like error.
9220
9221 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9222 (byte-compile-backward-char, byte-compile-backward-word):
9223 Handle explicit nil arguments. (Bug#14565)
9224
9225 2013-06-05 Alan Mackenzie <acm@muc.de>
9226
9227 * isearch.el (isearch-allow-prefix): New user option.
9228 (isearch-other-meta-char): Don't exit isearch when a prefix
9229 argument is typed whilst `isearch-allow-prefix' is non-nil.
9230 (Bug#9706)
9231
9232 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * autorevert.el (auto-revert-notify-handler): Use memq.
9235 Hide assertion failure.
9236
9237 * skeleton.el: Use cl-lib.
9238 (skeleton-further-elements): Use defvar-local.
9239 (skeleton-insert): Use cl-progv.
9240
9241 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9242
9243 * progmodes/prog-mode.el (prog-prettify-symbols)
9244 (prog-prettify-install): Update docstrings.
9245
9246 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * simple.el: Move all the prog-mode code to prog-mode.el.
9249 * progmodes/prog-mode.el: New file.
9250 * loadup.el: Add prog-mode.el.
9251
9252 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9253
9254 * simple.el (prog-prettify-symbols): Add version.
9255 (prog-prettify-install): Add convenience function to prettify symbols.
9256
9257 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9258 (perl--augmented-font-lock-keywords-1)
9259 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9260 variables and use it.
9261
9262 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9263 (cfengine3-mode): Remove unneeded variable and use it.
9264
9265 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9266 (lisp--augmented-font-lock-keywords-1)
9267 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9268 Remove unneeded variables and use it.
9269
9270 2013-06-05 João Távora <joaotavora@gmail.com>
9271
9272 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9273 to point when opening the connection. (Bug#14380)
9274
9275 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * subr.el (load-history-regexp, load-history-filename-element)
9278 (eval-after-load, after-load-functions, do-after-load-evaluation)
9279 (eval-next-after-load, display-delayed-warnings)
9280 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9281 definition of save-match-data.
9282 (overriding-local-map): Remove accidental obsolescence declaration.
9283
9284 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9285
9286 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9287
9288 Generalize symbol prettify support to prog-mode and implement it
9289 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9290 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9291 (prog--prettify-font-lock-compose-symbol)
9292 (prog-prettify-font-lock-symbols-keywords): New variables and
9293 functions to support symbol prettification.
9294 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9295 (lisp--augmented-font-lock-keywords-1)
9296 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9297 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9298 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9299 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9300 Implement prettify of -> => :: strings.
9301 * progmodes/perl-mode.el (perl-prettify-symbols)
9302 (perl--font-lock-compose-symbol)
9303 (perl--font-lock-symbols-keywords): Move to prog-mode.
9304 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9305 (perl-font-lock-keywords-1)
9306 (perl-font-lock-keywords-2): Remove explicit prettify support.
9307 (perl--augmented-font-lock-keywords)
9308 (perl--augmented-font-lock-keywords-1)
9309 (perl--augmented-font-lock-keywords-2, perl-mode):
9310 Implement prettify support.
9311
9312 2013-06-05 Leo Liu <sdl.web@gmail.com>
9313
9314 Re-implement smie matching block highlight using
9315 show-paren-data-function. (Bug#14395)
9316 * emacs-lisp/smie.el (smie-matching-block-highlight)
9317 (smie--highlight-matching-block-overlay)
9318 (smie--highlight-matching-block-lastpos)
9319 (smie-highlight-matching-block)
9320 (smie-highlight-matching-block-mode): Remove.
9321 (smie--matching-block-data-cache): New variable.
9322 (smie--matching-block-data): New function.
9323 (smie-setup): Use smie--matching-block-data for
9324 show-paren-data-function.
9325
9326 * progmodes/octave.el (octave-mode-menu): Fix.
9327 (octave-find-definition): Skip garbage lines.
9328
9329 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9330
9331 Fix compilation error with simultaneous dynamic+lexical scoping.
9332 Add warning when a defvar appears after the first let-binding.
9333 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9334 (byte-compile-close-variables): Initialize it.
9335 (byte-compile--declare-var): New function.
9336 (byte-compile-file-form-defvar)
9337 (byte-compile-file-form-define-abbrev-table)
9338 (byte-compile-file-form-custom-declare-variable): Use it.
9339 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9340 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9341 (byte-compile-bind): Handle dynamic bindings that shadow
9342 lexical bindings.
9343 (byte-compile-unbind): Make arg non-optional.
9344 (byte-compile-let): Simplify.
9345 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9346 (cconv--analyse-function, cconv-analyse-form): Populate it.
9347 Protect byte-compile-bound-variables to limit the scope of defvars.
9348 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9349 Remove unneeded rule for `declare'.
9350
9351 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9352 so as to avoid depending on cl-adjoin at run-time.
9353 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9354
9355 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9356 (macroexp--warn-and-return): Use it.
9357
9358 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * subr.el: Convert to lexical binding.
9361 (overriding-local-map): Make obsolete.
9362 (add-to-list): Doc fix. Add compiler macro.
9363 (read-key): Swap values of local maps.
9364
9365 2013-06-05 Leo Liu <sdl.web@gmail.com>
9366
9367 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9368
9369 2013-06-04 Leo Liu <sdl.web@gmail.com>
9370
9371 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9372 (compilation-auto-jump): Suppress the "Mark set" message to give
9373 way to exit message.
9374
9375 2013-06-04 Alan Mackenzie <acm@muc.de>
9376
9377 Remove faulty optimisation from indentation calculation.
9378 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9379 search limit based on 2000 characters back from indent-point.
9380
9381 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9382
9383 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9384
9385 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/lisp.el: Use lexical-binding.
9388 (lisp--local-variables-1, lisp--local-variables): New functions.
9389 (lisp--local-variables-completion-table): New var.
9390 (lisp-completion-at-point): Use it complete let-bound vars.
9391
9392 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9393 eagerly (bug#14422).
9394
9395 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * autorevert.el (auto-revert-notify-enabled)
9398 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9399 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9400 (auto-revert-notify-handler): Handle also gfilenotify.
9401
9402 * subr.el (file-notify-handle-event): New defun. Replacing ...
9403 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9404 Remove.
9405
9406 2013-06-03 Juri Linkov <juri@jurta.org>
9407
9408 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9409 `M-s h .'. (Bug#14427)
9410
9411 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9412 command `hi-lock-face-symbol-at-point'.
9413 (hi-lock-face-symbol-at-point): New command.
9414 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9415 (hi-lock-menu): Add `highlight-symbol-at-point'.
9416 (hi-lock-mode): Doc fix.
9417
9418 * isearch.el (isearch-forward-symbol-at-point): New command.
9419 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9420 (isearch-highlight-regexp): Add a regexp which matches
9421 words/symbols for word/symbol mode.
9422
9423 * subr.el (find-tag-default-bounds): New function with the body
9424 mostly moved from `find-tag-default'.
9425 (find-tag-default): Move most code to `find-tag-default-bounds',
9426 call it and apply `buffer-substring-no-properties' afterwards.
9427
9428 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9429
9430 * eshell/em-term.el (eshell-term-initialize):
9431 Use `cl-intersection' rather than `intersection'.
9432
9433 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9434
9435 * vc/log-view.el: Doc fix.
9436 (log-view-mode-map): Copy keymap from `special-mode-map'.
9437
9438 2013-06-02 Eric Ludlam <zappo@gnu.org>
9439
9440 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9441 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9442 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9443 (eieio-unbound, eieio-default-superclass)
9444 (eieio--define-field-accessors, method-static, method-before)
9445 (method-primary, method-after, method-num-lists)
9446 (method-generic-before, method-generic-primary)
9447 (method-generic-after, method-num-slots)
9448 (eieio-specialized-key-to-generic-key)
9449 (eieio--check-type, class-v, class-p)
9450 (eieio-class-name, define-obsolete-function-alias)
9451 (eieio-class-parents-fast, eieio-class-children-fast)
9452 (same-class-fast-p, class-constructor, generic-p)
9453 (generic-primary-only-p, generic-primary-only-one-p)
9454 (class-option-assoc, class-option, eieio-object-p)
9455 (class-abstract-p, class-method-invocation-order)
9456 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9457 (eieio-class-un-autoload, eieio-defclass)
9458 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9459 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9460 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9461 (eieio-defgeneric-reset-generic-form)
9462 (eieio-defgeneric-form-primary-only)
9463 (eieio-defgeneric-reset-generic-form-primary-only)
9464 (eieio-defgeneric-form-primary-only-one)
9465 (eieio-defgeneric-reset-generic-form-primary-only-one)
9466 (eieio-unbind-method-implementations)
9467 (eieio--defmethod, eieio--typep)
9468 (eieio-perform-slot-validation, eieio-validate-slot-value)
9469 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9470 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9471 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9472 (eieio-slot-name-index, eieio-class-slot-name-index)
9473 (eieio-set-defaults, eieio-initarg-to-attribute)
9474 (eieio-attribute-to-initarg, eieio-c3-candidate)
9475 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9476 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9477 (eieio-class-precedence-list, eieio-generic-call-methodname)
9478 (eieio-generic-call-arglst, eieio-generic-call-key)
9479 (eieio-generic-call-next-method-list)
9480 (eieio-pre-method-execution-functions, eieio-generic-call)
9481 (eieio-generic-call-primary-only, eieiomt-method-list)
9482 (eieiomt-optimizing-obarray, eieiomt-install)
9483 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9484 (eieio-generic-form, eieio-defmethod, make-obsolete)
9485 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9486 (defclass): Remove `eval-and-compile' from macro.
9487 (call-next-method, shared-initialize): Instead of using
9488 `scoped-class' variable, use new eieio--scoped-class, and
9489 eieio--with-scoped-class.
9490 (initialize-instance): Rename local variable 'scoped-class' to
9491 'this-class' to remove ambiguitity from old global.
9492
9493 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9494 eieio.el.
9495 (eieio--scoped-class-stack): New variable.
9496 (eieio--scoped-class): New fcn.
9497 (eieio--with-scoped-class): New scoping macro.
9498 (eieio-defclass): Use pushnew instead of add-to-list.
9499 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9500 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9501 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9502 `scoped-class' variable, use new eieio--scoped-class, and
9503 eieio--with-scoped-class.
9504
9505 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9506
9507 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9508
9509 * eshell/esh-ext.el (eshell-external-command): Pass args to
9510 `eshell-find-interpreter'.
9511 (eshell-find-interpreter): Add new second parameter ARGS.
9512
9513 * eshell/em-script.el (eshell-script-initialize): Add second arg
9514 to the function added as MATCH to `eshell-interpreter-alist'.
9515
9516 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9517 the function added as MATCH to `eshell-interpreter-alist'.
9518
9519 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9520 (eshell-visual-options): New defcustom.
9521 (eshell-escape-control-x): Adapt docstring.
9522 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9523 `eshell-visual-options' in addition to `eshell-visual-commands'.
9524 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9525
9526 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9527
9528 * progmodes/python.el (python-indent-block-enders): Add break,
9529 continue and raise keywords.
9530
9531 2013-06-01 Glenn Morris <rgm@gnu.org>
9532
9533 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9534
9535 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9536 * progmodes/cc-cmds.el (delete-forward-p):
9537 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9538 * progmodes/cc-engine.el (buffer-syntactic-context):
9539 * progmodes/cc-fonts.el (face-property-instance):
9540 * progmodes/cc-mode.el (set-keymap-parents):
9541 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9542 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9543 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9544 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9545 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9546
9547 * progmodes/cc-vars.el (other): Emacs has this widget since
9548 at least 21.1, so don't (re)define it.
9549
9550 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9551 Replace the obsolete alias pcomplete-arg-quote-list.
9552
9553 2013-06-01 Leo Liu <sdl.web@gmail.com>
9554
9555 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9556 punctuation syntax.
9557 (inferior-octave-minimal-columns)
9558 (inferior-octave-last-column-width): New variables.
9559 (inferior-octave-track-window-width-change): New function.
9560 (inferior-octave-mode): Adjust column width so that Octave output,
9561 for example from 'ls', can fit into the window nicely.
9562
9563 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9564
9565 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9566 Highlight expansions inside regexp literals.
9567
9568 2013-05-31 Glenn Morris <rgm@gnu.org>
9569
9570 * obsolete/sym-comp.el (symbol-complete):
9571 Replace obsolete completion-annotate-function.
9572
9573 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9574
9575 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9576
9577 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9578 New function, checks if point is inside a literal that allows
9579 expression expansion.
9580 (ruby-syntax-propertize-expansion): Use it.
9581 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9582 around the body.
9583
9584 2013-05-30 Juri Linkov <juri@jurta.org>
9585
9586 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9587 to "\M-si".
9588 (isearch-invisible): New variable.
9589 (isearch-forward): Doc fix.
9590 (isearch-mode): Set `isearch-invisible'
9591 to the value of `search-invisible'.
9592 (isearch-toggle-case-fold): Doc fix.
9593 (isearch-toggle-invisible): New command.
9594 (isearch-query-replace): Let-bind `search-invisible'
9595 to the value of `isearch-invisible'.
9596 (isearch-search): Use `isearch-invisible' instead of
9597 `search-invisible'. Let-bind `search-invisible'
9598 to the value of `isearch-invisible'. (Bug#11378)
9599
9600 2013-05-30 Juri Linkov <juri@jurta.org>
9601
9602 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9603 call when `query-flag' is nil and `search-invisible' is non-nil.
9604 (Bug#11746)
9605
9606 2013-05-30 Glenn Morris <rgm@gnu.org>
9607
9608 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9609
9610 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9611 (cc-require): Suppress spurious "noruntime" warnings.
9612 (cc-require-when-compile): Use fboundp, for sake of compiler.
9613
9614 * progmodes/cc-mode.el: Move load of cc-vars before that of
9615 cc-langs (which in turn loads cc-vars), to quieten compiler.
9616
9617 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9618
9619 * paren.el: Simplify the code.
9620 (show-paren-mode): Always start the timer.
9621 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9622 (show-paren--overlay, show-paren--overlay-1): Rename from
9623 show-paren-overlay and show-paren-overlay-1, and initialize to an
9624 overlay rather than to nil.
9625 (show-paren-function): Misc cleanup and simplifications.
9626
9627 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9628
9629 * paren.el (show-paren-data-function): New hook.
9630 (show-paren--default): New function, extracted from show-paren-function.
9631 (show-paren-function): Use show-paren-data-function.
9632
9633 2013-05-30 Glenn Morris <rgm@gnu.org>
9634
9635 * ielm.el (ielm-map, ielm-complete-symbol):
9636 Use completion-at-point rather than obsolete functions.
9637 (inferior-emacs-lisp-mode): Doc fix.
9638 Set completion-at-point-functions, rather than
9639 comint-dynamic-complete-functions.
9640
9641 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9642 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9643 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9644
9645 * image.el (image-animated-p): Tweak definition.
9646
9647 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9648 (rlogin-process-connection-type): Tweak default. Add set-after.
9649 (rlogin-host): Doc fix.
9650 (rlogin): Tweak prompt.
9651 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9652
9653 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9654 * progmodes/tcl.el (inferior-tcl-mode-map):
9655 Use completion-at-point rather than obsolete alias.
9656
9657 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9658
9659 * minibuffer.el (read-file-name-completion-ignore-case):
9660 Move before completion--in-region, for eager macro expansion.
9661
9662 2013-05-29 Juri Linkov <juri@jurta.org>
9663
9664 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9665 for total count of matching lines. Add `global-matches' for total
9666 count of matches. Rename `matches' to `lines' for count of
9667 matching lines. Add `matches' for count of matches.
9668 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9669 to `prev-line' for line number of prev match endpt.
9670 Increment `matches' for every match. Print the number of
9671 matching lines in the header.
9672 (occur-context-lines): Rename `lines' to `curr-line'.
9673 Rename `prev-lines' to `prev-line'. (Bug#14017)
9674
9675 2013-05-29 Juri Linkov <juri@jurta.org>
9676
9677 * replace.el (perform-replace): Add `skip-read-only-count',
9678 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9679 Increment them for corresponding conditions and report the number
9680 of skipped occurrences in the final message. (Bug#11746)
9681 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9682 (replace-string, replace-regexp): Doc fix.
9683
9684 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9687
9688 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9689 prog-mode-map (bug#14504).
9690
9691 2013-05-29 Leo Liu <sdl.web@gmail.com>
9692
9693 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9694 (octave-help): Small simplification.
9695
9696 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9697 off the highlight first.
9698
9699 2013-05-29 Glenn Morris <rgm@gnu.org>
9700
9701 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9702 Handle idlwave-last-system-routine-info-cons-cell being nil.
9703
9704 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9705 (idlwave-write-paths): Simplify via with-temp-buffer.
9706
9707 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9708 * emulation/cua-rect.el: Also load cua-base at run time.
9709
9710 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9711 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9712 (cperl-imenu-on-info): Require imenu.
9713
9714 2013-05-28 Alan Mackenzie <acm@muc.de>
9715
9716 Handle "capitalised keywords" correctly.
9717 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9718
9719 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9720
9721 * eshell/em-unix.el: Add -r option to cp.
9722
9723 2013-05-28 Glenn Morris <rgm@gnu.org>
9724
9725 * vc/vc-arch.el (vc-exec-after): Declare.
9726 (vc-switches): Autoload.
9727 * vc/vc-bzr.el: No need to require vc when compiling.
9728 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9729 (vc-resynch-buffer, vc-dir-refresh): Declare.
9730 (vc-setup-buffer, vc-switches): Autoload.
9731 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9732 (vc-resynch-buffer): Declare.
9733 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9734 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9735 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9736 (grep-read-regexp, grep-read-files, grep-expand-template)
9737 (vc-dir-refresh): Declare.
9738 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9739 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9740 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9741 * vc/vc-mtn.el (vc-exec-after): Declare.
9742 (vc-switches): Autoload.
9743 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9744 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9745 (vc-file-tree-walk): Declare.
9746 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9747 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9748 (vc-tag-precondition, vc-rename-master): Autoload.
9749 * vc/vc-svn.el (vc-exec-after): Declare.
9750 (vc-switches, vc-setup-buffer): Autoload.
9751 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9752 Autoload.
9753 (vc-resynch-buffer): Declare.
9754
9755 * obsolete/fast-lock.el (byte-compile-warnings):
9756 Don't warn about obsolete features in this obsolete file.
9757
9758 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9759 Move definition before use.
9760
9761 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9762 (dun-unix-verbs): Remove dun-zippy.
9763 (dun-zippy): Remove function.
9764
9765 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9766
9767 2013-05-27 Juri Linkov <juri@jurta.org>
9768
9769 * replace.el (replace-search): New function with code moved out
9770 from `perform-replace'.
9771 (replace-highlight, replace-dehighlight): Move function definitions
9772 up closer to `replace-search'. (Bug#11746)
9773
9774 2013-05-27 Juri Linkov <juri@jurta.org>
9775
9776 * replace.el (perform-replace): Ignore invisible matches.
9777 In addition to checking `query-replace-skip-read-only', also
9778 filter out matches by calling `run-hook-with-args-until-failure'
9779 on `isearch-filter-predicates', and also check `search-invisible'
9780 for t or call `isearch-range-invisible'.
9781 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9782
9783 2013-05-27 Juri Linkov <juri@jurta.org>
9784
9785 * isearch.el (isearch-filter-predicates): Rename from
9786 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9787 (isearch-message-prefix): Display text from the property
9788 `isearch-message-prefix' of the currently active filters.
9789 (isearch-search): Don't compare `isearch-filter-predicate' with
9790 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9791 on `isearch-filter-predicates'. Also check `search-invisible' for t
9792 or call `isearch-range-invisible'.
9793 (isearch-filter-visible): Make obsolete.
9794 (isearch-lazy-highlight-search):
9795 Call `run-hook-with-args-until-failure' on
9796 `isearch-filter-predicates' and use `isearch-range-invisible'.
9797
9798 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9799 `isearch-filter-predicates' instead of `funcall'ing
9800 `isearch-filter-predicate'.
9801 (Info-mode): Set `Info-isearch-filter' to
9802 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9803
9804 * dired-aux.el (dired-isearch-filter-predicate-orig):
9805 Remove variable.
9806 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9807 (dired-isearch-filenames-end): Add and remove
9808 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9809 instead of changing the value of `isearch-filter-predicate'.
9810 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9811 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9812 Put property `isearch-message-prefix' to "filename " on
9813 `dired-isearch-filter-filenames'.
9814
9815 * wdired.el (wdired-change-to-wdired-mode):
9816 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9817 locally instead of changing `isearch-filter-predicate'.
9818 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9819
9820 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9821
9822 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9823 return the commit hash (Bug#14459). Also set the
9824 `vc-git-detached' property.
9825 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9826 (vc-git-mode-line-string): Use the same help-echo format whether
9827 in detached mode or not, because we know the actual revision now.
9828 When in detached mode, shorten the revision to 7 chars.
9829
9830 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9831
9832 * emacs-lisp/easy-mmode.el (define-minor-mode):
9833 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9834 mode hook and provide a docstring.
9835
9836 2013-05-27 Alan Mackenzie <acm@muc.de>
9837
9838 Remove spurious syntax-table text properties inserted by C-y.
9839 * progmodes/cc-mode.el (c-after-change): Also clear hard
9840 syntax-table property with value nil.
9841
9842 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9843
9844 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9845 when reading the events; the buffer layout shall not be changed.
9846
9847 2013-05-27 Leo Liu <sdl.web@gmail.com>
9848
9849 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9850 New variable.
9851 (inferior-octave-directory-tracker): Automatically re-sync
9852 default-directory.
9853 (octave-help): Improve handling of 'See also'.
9854
9855 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * doc-view.el: Minor naming convention tweaks.
9858 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9859
9860 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9861 even if there's no `display' property yet (bug#14435).
9862
9863 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9864
9865 * subr.el (unmsys--file-name): Rename from reveal-filename.
9866
9867 * Makefile.in (custom-deps, finder-data, autoloads)
9868 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9869 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9870 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9871
9872 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9873
9874 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9875 error-completion on the first 2 args of condition-case (bug#14446).
9876 Don't burp at EOB.
9877
9878 2013-05-25 Leo Liu <sdl.web@gmail.com>
9879
9880 * comint.el (comint-previous-matching-input): Do not flood the
9881 *Messages* buffer with trivial messages.
9882
9883 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9884
9885 * progmodes/flymake.el (flymake-nop): Don't return a string.
9886 (flymake-set-at): Fix typo.
9887
9888 * simple.el (read--expression): New function, extracted from
9889 eval-expression. Set completion-at-point-functions (bug#14465).
9890 (eval-expression, eval-minibuffer): Use it.
9891
9892 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9893
9894 * progmodes/flymake.el (flymake-save-buffer-in-file)
9895 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9896 (flymake-selected-frame, flymake-log, flymake-ins-after)
9897 (flymake-set-at, flymake-get-buildfile-from-cache)
9898 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9899 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9900 Refine the doc string.
9901 (flymake-get-file-name-mode-and-masks): Reformat.
9902 (flymake-get-real-file-name-function): Fix a minor bug.
9903
9904 2013-05-24 Juri Linkov <juri@jurta.org>
9905
9906 * progmodes/grep.el (grep-mode-font-lock-keywords):
9907 Support =linenumber= format used by git-grep for lines with
9908 function names. (Bug#13549)
9909
9910 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9913 0 after a semi-colon; it works better for smie-auto-fill.
9914 (octave--indent-new-comment-line): New function.
9915 (octave-indent-new-comment-line): Use it (indirectly).
9916 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9917 modify comment-line-break-function.
9918
9919 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9920 (smie-setup): Use add-function to set it.
9921
9922 2013-05-24 Sam Steingold <sds@gnu.org>
9923
9924 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9925 argument (before the `interactive' argument).
9926
9927 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * image-mode.el (image-mode-winprops): Add winprops to
9930 image-mode-winprops-alist before running
9931 image-mode-new-window-functions.
9932 * doc-view.el (doc-view-new-window-function): Don't delay
9933 doc-view-goto-page via timers (bug#14435).
9934
9935 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9936
9937 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9938 (doc-view-desktop-save-buffer): New function.
9939 (doc-view-restore-desktop-buffer): New function.
9940 (desktop-buffer-mode-handlers):
9941 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9942 handler.
9943 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9944 `desktop-save-buffer' function.
9945
9946 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9947
9948 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9949 (tramp-gvfs-file-name-handler): Raise a user error when
9950 `tramp-gvfs-enabled' is nil.
9951 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9952 Do not raise a user error when loading package. (Bug#14447)
9953
9954 * net/xesam.el: Move to obsolete/.
9955
9956 2013-05-24 Glenn Morris <rgm@gnu.org>
9957
9958 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9959
9960 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9961
9962 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9963 (Info-find-node, Man-getpage-in-background): Declare.
9964
9965 * mail/unrmail.el (unrmail):
9966 Replace obsolete detect-coding-with-priority.
9967
9968 * net/socks.el (socks-split-string): Use this rather than split-string.
9969 (socks-nslookup-host): Update for above change.
9970 (dynamic-choice, s5-dynamic-choice-match)
9971 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9972 Comment out unused code.
9973
9974 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9975 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9976 (gud-tooltip-echo-area): Make obsolete.
9977 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9978
9979 * progmodes/js.el (js--optimize-arglist): Declare.
9980
9981 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9982
9983 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9984 (ediff-window-C): Declare.
9985
9986 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9987 Tweak requires to silence compiler.
9988
9989 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9990 (he-search-string, he-tried-table, he-expand-list)
9991 (he-init-string, he-string-member, he-substitute-string)
9992 (he-reset-string): Declare.
9993
9994 * obsolete/options.el (list-options): Use custom-variable-p,
9995 rather than obsolete alias.
9996
9997 2013-05-23 Sam Steingold <sds@gnu.org>
9998
9999 * simple.el (shell-command-on-region): Pass the `replace' argument
10000 down to `call-process-region' to comply with the doc as reported on
10001 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10002
10003 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10004
10005 * emacs-lisp/smie.el (smie-indent-forward-token)
10006 (smie-indent-backward-token): Handle string tokens (bug#14381).
10007
10008 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10009
10010 * ielm.el (ielm-menu): New menu.
10011 (inferior-emacs-lisp-mode): Set comment-start.
10012
10013 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10014
10015 * textmodes/reftex.el (reftex-ref-style-toggle):
10016 Fix deactivate action.
10017
10018 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10019 Add cleveref macros.
10020
10021 * textmodes/reftex-parse.el
10022 (reftex-locate-bibliography-files): Accept options for
10023 bibliography commands.
10024 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10025 Add addbibresource. Basic Biblatex support.
10026
10027 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10028
10029 * net/tramp-gvfs.el (top):
10030 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10031 when loading package. (Bug#14447)
10032
10033 2013-05-23 Glenn Morris <rgm@gnu.org>
10034
10035 * progmodes/js.el: No need to load comint when compiling.
10036 (ring-insert, comint-send-string, comint-send-input)
10037 (comint-last-input-end, ido-chop): Declare.
10038
10039 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10040 * vc/ediff-mult.el: Adjust requires.
10041 (ediff-directories-internal, ediff-directory-revisions-internal)
10042 (ediff-patch-file-internal): Declare.
10043 * vc/ediff-ptch.el: Adjust requires.
10044 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10045 (ediff-find-file): Autoload.
10046 * vc/ediff-util.el: No need to load ediff when compiling.
10047 (ediff-regions-internal): Declare.
10048 * vc/ediff-wind.el: Adjust requires.
10049 (ediff-compute-toolbar-width): Define when compiling.
10050 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10051 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10052 (dired-get-filename, dired-get-marked-files)
10053 (ediff-last-dir-patch, ediff-patch-default-directory)
10054 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10055 (ediff-patch-buffer-internal): Declare.
10056
10057 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10058 (ispell-process, ispell-buffer-local-words, lm-summary)
10059 (lm-section-start, lm-section-end): Declare.
10060 (checkdoc-ispell-init): Simplify.
10061
10062 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10063 (he-string-member, he-reset-string, he-substitute-string): Declare.
10064
10065 * eshell/em-ls.el: Adjust requires.
10066 (eshell-glob-regexp): Declare.
10067 * eshell/em-tramp.el: Adjust requires.
10068 (eshell-parse-command): Autoload.
10069 * eshell/em-xtra.el: Adjust requires.
10070 (eshell-parse-command): Autoload.
10071 * eshell/esh-ext.el: Adjust requires.
10072 (eshell-parse-command, eshell-close-handles): Autoload.
10073 * eshell/esh-io.el: Adjust requires.
10074 (eshell-output-filter): Autoload.
10075 * eshell/esh-util.el: No need to load tramp when compiling.
10076 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10077 Declare.
10078 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10079 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10080 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10081 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10082 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10083 * eshell/esh-opt.el, eshell/esh-proc.el:
10084 * eshell/esh-var.el: Adjust requires.
10085 * eshell/eshell.el: Do not require esh-util twice.
10086 (eshell-add-input-to-history): Declare.
10087 (eshell-command): Check history module is active before using it.
10088
10089 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10090
10091 2013-05-22 Leo Liu <sdl.web@gmail.com>
10092
10093 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10094
10095 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * autorevert.el (auto-revert-notify-add-watch)
10098 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10099 it indicates changes in file modification time.
10100
10101 2013-05-22 Glenn Morris <rgm@gnu.org>
10102
10103 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10104 Always delete the autoloaded function from the noruntime and
10105 unresolved functions lists.
10106
10107 * allout.el: No need to load epa, epg, overlay when compiling.
10108 (epg-context-set-passphrase-callback, epg-list-keys)
10109 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10110 (epg-key-user-id-list): Declare.
10111
10112 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10113 (viper-set-parsing-style-toggling-macro)
10114 (viper-set-emacs-state-searchstyle-macros):
10115 Use called-interactively-p on Emacs.
10116 (viper-looking-back): Make it an obsolete alias. Update callers.
10117 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10118 Use looking-back rather than viper-looking-back.
10119 (viper-tmp-insert-at-eob, viper-enlarge-region)
10120 (viper-read-string-with-history, viper-register-to-point)
10121 (viper-append-to-register, viper-change-state-to-vi)
10122 (viper-backward-char-carefully, viper-forward-char-carefully)
10123 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10124 (viper-change-state-to-emacs): Declare.
10125 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10126 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10127 * emulation/viper-mous.el: Do not load viper-cmd.
10128 (viper-backward-char-carefully, viper-forward-char-carefully)
10129 (viper-forward-word, viper-adjust-window): Declare.
10130
10131 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10132
10133 * progmodes/idlw-help.el (idlwave-help-fontify):
10134 Use called-interactively-p.
10135
10136 * term/w32console.el (w32-get-console-codepage)
10137 (w32-get-console-output-codepage): Declare.
10138
10139 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10140 Remove unnecessary declarations.
10141 (dframe-message): Doc fix.
10142
10143 * info.el (dframe-select-attached-frame, dframe-current-frame):
10144 Declare.
10145
10146 * speedbar.el (speedbar-message): Make it an obsolete alias.
10147 Update all callers.
10148 (speedbar-with-attached-buffer)
10149 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10150 (speedbar-with-writable): Use backquote.
10151 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10152 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10153 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10154 rather than speedbar- aliases.
10155 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10156 (speedbar-make-specialized-keymap, speedbar-insert-button)
10157 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10158 (speedbar-do-function-pointer): Declare.
10159 (rmail-speedbar-button, rmail-speedbar-find-file)
10160 (rmail-speedbar-move-message):
10161 Use dframe-with-attached-buffer rather than speedbar- alias.
10162 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10163 (dframe-message, speedbar-make-specialized-keymap)
10164 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10165 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10166 (speedbar-insert-button, dframe-select-attached-frame)
10167 (dframe-maybee-jump-to-attached-frame)
10168 (speedbar-change-initial-expansion-list)
10169 (speedbar-previously-used-expansion-list-name): Declare.
10170 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10171 Use dframe-message, dframe-with-attached-buffer rather than
10172 speedbar- aliases.
10173 (gud-sentinel): Silence compiler.
10174 * progmodes/vhdl-mode.el (speedbar-refresh)
10175 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10176 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10177 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10178 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10179 (speedbar-file-lists, speedbar-make-tag-line)
10180 (speedbar-line-directory, speedbar-goto-this-file)
10181 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10182 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10183 (speedbar-make-button, speedbar-reset-scanners)
10184 (speedbar-files-item-info, speedbar-line-text)
10185 (speedbar-find-file-in-frame, speedbar-set-timer)
10186 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10187 (speedbar-with-writable): Do not (re)define it.
10188 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10189 rather than speedbar- alias.
10190
10191 2013-05-21 Leo Liu <sdl.web@gmail.com>
10192
10193 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10194 menu items.
10195 (octave-mode): Tweak fill-nobreak-predicate.
10196 (inferior-octave-startup): Check process to avoid infinite loop.
10197 (inferior-octave): Pop to buffer first to show abornmal process
10198 exit information.
10199
10200 2013-05-21 Glenn Morris <rgm@gnu.org>
10201
10202 * printing.el (pr-menu-bar): Define when compiling.
10203
10204 2013-05-21 Leo Liu <sdl.web@gmail.com>
10205
10206 * progmodes/octave.el (octave-auto-fill): Remove.
10207 (octave-indent-new-comment-line): Improve.
10208 (octave-mode): Use auto fill mode through
10209 comment-line-break-function and fill-nobreak-predicate.
10210 (octave-goto-function-definition): Support DEFUN_DLD.
10211 (octave-beginning-of-defun): Small tweak.
10212 (octave-help): Show parent directory.
10213
10214 2013-05-21 Glenn Morris <rgm@gnu.org>
10215
10216 * files.el (dired-unmark):
10217 * progmodes/gud.el (gdb-input): Update declarations.
10218
10219 * calculator.el (electric, ehelp): No need to load when compiling.
10220 (Electric-command-loop, electric-describe-mode): Declare.
10221
10222 * doc-view.el (doc-view-current-converter-processes): Move before use.
10223
10224 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10225 Move MODE-set-explicitly definition before use.
10226
10227 * international/mule-diag.el (mule-diag):
10228 Don't use obsolete window-system-version.
10229
10230 * mail/feedmail.el (smtpmail): No need to load when compiling.
10231 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10232
10233 * mail/mail-utils.el (rfc822): No need to load when compiling.
10234 (rfc822-addresses): Autoload it.
10235 (mail-strip-quoted-names): Trivial simplification.
10236
10237 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10238 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10239
10240 * net/snmp-mode.el (tempo): Don't duplicate requires.
10241
10242 * progmodes/prolog.el (info): No need to load when compiling.
10243 (comint): Require before shell requires it.
10244 (Info-goto-node): Autoload it.
10245 (Info-follow-nearest-node): Declare.
10246 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10247
10248 * textmodes/artist.el (picture-mode-exit): Declare.
10249
10250 * textmodes/reftex-parse.el (reftex-parse-from-file):
10251 Trivial rewrite so the compiler can parse it better.
10252
10253 2013-05-20 Leo Liu <sdl.web@gmail.com>
10254
10255 * progmodes/octave.el (octave-help-mode-map)
10256 (octave-help-mode-finish-hook): New variables.
10257 (octave-help-mode, octave-help-mode-finish): New functions.
10258 (octave-help): Use octave-help-mode.
10259
10260 2013-05-20 Glenn Morris <rgm@gnu.org>
10261
10262 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10263
10264 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10265
10266 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10267 start at point, so that expansion starting right after opening
10268 slash in a regexp is recognized.
10269 (ruby-syntax-before-regexp-re): New defvar, extracted from
10270 ruby-syntax-propertize-function. Since the value of this regexp
10271 is looked up at runtime now, we should be able to turn
10272 `ruby-syntax-methods-before-regexp' into a defcustom later.
10273 (ruby-syntax-propertize-function): Split regexp matching into two
10274 parts, for opening and closing slashes. That allows us to skip
10275 over string interpolations and support multiline regexps.
10276 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10277 for them, which calls `ruby-syntax-propertize-expansion'.
10278 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10279 call to `ruby-syntax-propertize-function'.
10280 (ruby-syntax-propertize-expansion): Extracted from
10281 `ruby-syntax-propertize-expansions'. Handles one expansion.
10282 (ruby-syntax-propertize-percent-literal): Leave point right after
10283 the percent symbol, so that the expression expansion rule can
10284 propertize the contents.
10285 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10286 heredoc openers.
10287 (ruby-syntax-propertize-expansions): Remove.
10288
10289 2013-05-18 Juri Linkov <juri@jurta.org>
10290
10291 * man.el (Man-default-man-entry): Remove `-' from the end
10292 of the default value. (Bug#14400)
10293
10294 2013-05-18 Glenn Morris <rgm@gnu.org>
10295
10296 * comint.el (comint-password-prompt-regexp):
10297 Allow "password for XXX" where XXX contains colons (eg https://...).
10298
10299 2013-05-18 Leo Liu <sdl.web@gmail.com>
10300
10301 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10302 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10303 (octave-source-directories): Don't check process.
10304 (octave-source-directories, octave-find-definition): Doc fix.
10305
10306 2013-05-18 Glenn Morris <rgm@gnu.org>
10307
10308 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10309 Remove backspace/delete bindings. (Bug#14392)
10310
10311 * cus-dep.el (custom-make-dependencies): Sort the output.
10312 (custom-versions-load-alist): Convert comment to doc.
10313
10314 2013-05-17 Leo Liu <sdl.web@gmail.com>
10315
10316 * newcomment.el (comment-search-backward): Stricter in finding
10317 comment start. (Bug#14303)
10318
10319 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10320 (octave-comment-start-skip): Properly anchored.
10321
10322 2013-05-17 Leo Liu <sdl.web@gmail.com>
10323
10324 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10325 Clean up when turned off. (Bug#14395)
10326 (smie--highlight-matching-block-overlay): No longer buffer-local.
10327 (smie-highlight-matching-block): Adjust.
10328
10329 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10330
10331 Doc string fix for "nanoseconds" (Bug#14406).
10332 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10333 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10334
10335 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10336
10337 * calc/calc-units.el (math-extract-units): Preserve powers
10338 of units.
10339
10340 2013-05-17 Leo Liu <sdl.web@gmail.com>
10341
10342 * subr.el (delete-consecutive-dups): New function.
10343 * ido.el (ido-set-matches-1): Use it.
10344 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10345 * ido.el (ido-remove-consecutive-dups): Remove.
10346
10347 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10350 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10351 regexp-opt's `words'.
10352
10353 2013-05-16 Leo Liu <sdl.web@gmail.com>
10354
10355 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10356 (smie--highlight-matching-block-overlay)
10357 (smie--highlight-matching-block-lastpos)
10358 (smie--highlight-matching-block-timer): New variables.
10359 (smie-highlight-matching-block): New function.
10360 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10361 (smie-setup): Conditionally enable smie-blink-matching-open.
10362
10363 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10364
10365 Sync with upstream verilog-mode r840.
10366 * progmodes/verilog-mode.el (verilog-mode-version)
10367 (verilog-mode-release-date): Update.
10368 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10369 (verilog-sig-tieoff): Fix string error on
10370 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10371 (verilog-read-decls): Fix parameters confusing
10372 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10373
10374 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10375
10376 * subr.el (reveal-filename): New function.
10377
10378 * loadup.el: Compute Emacs executable versions on MS-Windows,
10379 where executables have the .exe extension. Add a hard link
10380 emacs-XX.YY.ZZ.exe on MS-Windows.
10381
10382 * Makefile.in (XARGS_LIMIT): New variable.
10383 (custom-deps, finder-data, autoloads)
10384 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10385 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10386 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10387 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10388
10389 2013-05-16 Leo Liu <sdl.web@gmail.com>
10390
10391 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10392 (octave-mode-menu, octave-mode-map): Remove its uses.
10393
10394 2013-05-16 Reto Zimmermann <reto@gnu.org>
10395
10396 Sync with upstream vhdl mode v3.34.2.
10397 * progmodes/vhdl-mode.el: Use `push' throughout.
10398 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10399 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10400 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10401 (vhdl-actual-generic-name): New option to derive actual generic name.
10402 (vhdl-port-paste-signals): Replace formal by actual generics.
10403 (vhdl-beautify): New name for old group vhdl-align. Update users.
10404 (vhdl-beautify-options): New option.
10405 (vhdl-last-input-event): New compat alias. Use throughout.
10406 (vhdl-goto-line): Replace user level function `goto-line'.
10407 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10408 vhdl-fix-statement-buffer.
10409 (vhdl-create-mode-menu): Add some entries.
10410 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10411 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10412 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10413 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10414 to force statements on one line.
10415 (vhdl-remove-trailing-spaces-region):
10416 New, split from vhdl-remove-trailing-spaces.
10417 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10418 Respect vhdl-beautify-options.
10419 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10420 (vhdl-update-sensitivity-list): Not add with index if exists without.
10421 Not include array index with signal. Ignore keywords in comments.
10422 (vhdl-get-visible-signals): Regexp tweaks.
10423 (vhdl-template-component-inst): Handle empty library.
10424 (vhdl-template-type): Add template for 'enum' type.
10425 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10426 Use vhdl-replace-string.
10427 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10428 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10429 (vhdl-speedbar-initialize): Update for above name change.
10430 (vhdl-compose-wire-components): Fix in handling of constants.
10431 (vhdl-error-regexp-emacs-alist): New variable.
10432 (vhdl-error-regexp-add-emacs): New function;
10433 adds support for new compile.el (Emacs 22+)
10434 (vhdl-generate-makefile-1): Change target order for single lib. units.
10435 Allow use of absolute file names.
10436
10437 2013-05-16 Leo Liu <sdl.web@gmail.com>
10438
10439 * simple.el (prog-indent-sexp): Indent enclosing defun.
10440
10441 2013-05-15 Glenn Morris <rgm@gnu.org>
10442
10443 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10444 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10445 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10446 (whitespace-highlight): Move to whitespace group.
10447
10448 * comint.el (comint-source):
10449 * pcmpl-linux.el (pcmpl-linux):
10450 * shell.el (shell-faces):
10451 * eshell/esh-opt.el (eshell-opt):
10452 * international/ccl.el (ccl): Remove empty custom groups.
10453
10454 * completion.el (dynamic-completion-mode):
10455 * jit-lock.el (jit-lock-debug-mode):
10456 * minibuffer.el (completion-in-region-mode):
10457 * type-break.el (type-break-mode-line-message-mode)
10458 (type-break-query-mode):
10459 * emulation/tpu-edt.el (tpu-edt-mode):
10460 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10461 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10462 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10463
10464 * term/xterm.el (xterm): Change parent group to terminals.
10465
10466 * master.el (master): Remove empty custom group.
10467 (master-mode): Remove unused :group argument.
10468 * textmodes/refill.el (refill): Remove empty custom group.
10469 (refill-mode): Remove unused :group argument.
10470
10471 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10472
10473 * cus-dep.el: Provide a feature.
10474 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10475 Don't mistakenly ignore files whose basenames match a basename
10476 from preloaded-file-list (eg cedet/ede/simple.el).
10477 Add a fallback method for getting :group.
10478
10479 2013-05-15 Juri Linkov <juri@jurta.org>
10480
10481 * isearch.el (isearch-char-by-name): Rename from
10482 `isearch-insert-char-by-name'. Doc fix.
10483 (isearch-forward): Mention `isearch-char-by-name' in
10484 the docstring. (Bug#13348)
10485
10486 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10487 `exit-minibuffer' instead of
10488 `isearch-nonincremental-exit-minibuffer'.
10489 (isearch-edit-string): Remove mention of
10490 `isearch-nonincremental-exit-minibuffer' from docstring.
10491 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10492 (isearch-forward-exit-minibuffer)
10493 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10494
10495 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10496
10497 * loadup.el: Just use unversioned DOC.
10498
10499 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10500 literals as extending to EOB.
10501 (nxml-last-fontify-end): Remove unused variable.
10502 (nxml-after-change1): Use with-silent-modifications.
10503 (nxml-extend-after-change-region): Simplify.
10504 (nxml-extend-after-change-region1): Remove function.
10505 (nxml-after-change1): Don't adjust for dependent regions.
10506 (nxml-fontify-matcher): Simplify.
10507 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10508 (xmltok-add-dependent): Remove function.
10509 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10510 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10511 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10512 unclosed <[[, <?, comment, and other literals as extending to EOB.
10513 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10514 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10515 Remove functions.
10516 (rng-do-some-validation-1): Don't mark dependent regions.
10517 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10518 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10519 (nxml-clear-dependent-regions): Remove functions.
10520 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10521 (nxml-ensure-scan-up-to-date):
10522 Don't clear&mark dependent regions.
10523
10524 2013-05-15 Leo Liu <sdl.web@gmail.com>
10525
10526 * progmodes/octave.el (octave-goto-function-definition):
10527 Improve and fix callers.
10528
10529 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10530
10531 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10532 the setter (bug#14387).
10533
10534 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10535 surrounding group (bug#14402).
10536
10537 2013-05-14 Juri Linkov <juri@jurta.org>
10538
10539 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10540 (Bug#14390)
10541
10542 2013-05-14 Glenn Morris <rgm@gnu.org>
10543
10544 * progmodes/f90.el (f90-imenu-generic-expression):
10545 Fix typo in 2013-05-08 change. (Bug#14402)
10546
10547 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10548
10549 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10550 Remove signals for which replies are never received.
10551
10552 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10553
10554 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10555 (gdb-handler-alist, gdb-handler-number): Remove variables.
10556 (gdb-handler-list): New variable.
10557 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10558 (gdb-pending-handler-p, gdb-handle-reply)
10559 (gdb-remove-all-pending-triggers): New functions.
10560 (gdb-discard-unordered-replies): New defcustom.
10561 (gdb-handler): New defstruct.
10562 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10563 instead of gdb-pending-triggers. Update docstring.
10564 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10565 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10566 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10567 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10568 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10569 (gdb-frame-handler): Pending triggers are now automatically managed.
10570 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10571 Remove argument.
10572 (gdb-input): Automatically handles pending triggers. Update docstring.
10573 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10574 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10575 Update comments.
10576 (gdb-done-or-error): Now use gdb-handle-reply.
10577
10578 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10579
10580 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10581 gdb-debug-log.
10582
10583 2013-05-14 Glenn Morris <rgm@gnu.org>
10584
10585 * subr.el (user-emacs-directory-warning): New option.
10586 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10587
10588 2013-05-14 Leo Liu <sdl.web@gmail.com>
10589
10590 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10591 during redisplay.
10592 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10593 (octave-font-lock-texinfo-comment): Fix invalid search bound
10594 error: wrong side of point.
10595
10596 2013-05-14 Glenn Morris <rgm@gnu.org>
10597
10598 * progmodes/flymake.el (flymake-xml-program): New option.
10599 (flymake-xml-init): Use it.
10600
10601 * term/xterm.el: Provide a feature.
10602
10603 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10604
10605 2013-05-13 Glenn Morris <rgm@gnu.org>
10606
10607 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10608 Add compat aliases as a hack workaround. (Bug#14384)
10609
10610 2013-05-13 Leo Liu <sdl.web@gmail.com>
10611
10612 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10613 ###, and %!.
10614 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10615 C-M-q.
10616 (octave-comment-start-skip): Include %!.
10617 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10618
10619 2013-05-12 Leo Liu <sdl.web@gmail.com>
10620
10621 * progmodes/octave.el (inferior-octave-startup): Store the value
10622 of __octave_srcdir__ for octave-source-directories.
10623 (inferior-octave-check-process): New function refactored out of
10624 inferior-octave-send-list-and-digest.
10625 (octave-source-directories)
10626 (octave-find-definition-filename-function): New variables.
10627 (octave-source-directories)
10628 (octave-find-definition-default-filename): New functions.
10629 (octave-find-definition): Improve to find functions implemented in C++.
10630
10631 2013-05-12 Glenn Morris <rgm@gnu.org>
10632
10633 * calendar/diary-lib.el (diary-outlook-format-1):
10634 Don't include dayname in the output. (Bug#14349)
10635
10636 2013-05-11 Glenn Morris <rgm@gnu.org>
10637
10638 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10639
10640 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10641 Treat cc-provide like provide.
10642
10643 2013-05-11 Kevin Ryde <user42@zip.com.au>
10644
10645 * cus-dep.el (custom-make-dependencies):
10646 Use generated-autoload-load-name for the sake of files such
10647 such cedet/semantic/bovine/c.el, where the base file name
10648 is not in load-path. (Bug#5277)
10649
10650 2013-05-11 Glenn Morris <rgm@gnu.org>
10651
10652 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10653 Provide features.
10654
10655 2013-05-11 Leo Liu <sdl.web@gmail.com>
10656
10657 * progmodes/octave.el (octave-indent-comment): Improve.
10658 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10659 (octave-eldoc-function-signatures, octave-eldoc-function):
10660 New functions.
10661 (octave-mode, inferior-octave-mode): Add eldoc support.
10662
10663 2013-05-11 Richard Stallman <rms@gnu.org>
10664
10665 * epa.el (epa-decrypt-file): Take output file name as argument
10666 and read it using `interactive'.
10667
10668 2013-05-11 Leo Liu <sdl.web@gmail.com>
10669
10670 * progmodes/octave.el (octave-beginning-of-line)
10671 (octave-end-of-line): Check before using up-list because it jumps
10672 out of more syntactic contructs since moving to smie.
10673 (octave-indent-comment): New function.
10674 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10675 (octave-begin-keywords, octave-end-keywords)
10676 (octave-reserved-words, octave-smie-bnf-table)
10677 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10678
10679 2013-05-11 Glenn Morris <rgm@gnu.org>
10680
10681 * faces.el (internal-face-x-get-resource):
10682 * frame.el (ns-display-monitor-attributes-list):
10683 * calc/calc-aent.el (math-to-radians-2):
10684 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10685 Fix declarations.
10686
10687 * calc/calc-menu.el: Make it loadable in isolation.
10688
10689 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10690 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10691 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10692 (eudc-bbdb-query-internal): Require 'bbdb.
10693
10694 * lpr.el (lpr-headers-switches):
10695 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10696
10697 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10698
10699 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10700
10701 * term.el (term-set-escape-char): Make it idempotent.
10702
10703 2013-05-10 Leo Liu <sdl.web@gmail.com>
10704
10705 * progmodes/octave.el (inferior-octave-completion-table):
10706 No longer a function and all uses changed. Use cache to speed up
10707 completion due to bug#11906.
10708 (octave-beginning-of-defun): Re-write to be more general.
10709
10710 2013-05-10 Glenn Morris <rgm@gnu.org>
10711
10712 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10713
10714 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10715
10716 * comint.el (comint-redirect-send-command-to-process): Use :around
10717 rather than :override for comint-redirect-filter.
10718 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10719 Call it instead of comint-redirect-original-filter-function (which
10720 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10721
10722 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10723
10724 * frame.el (display-monitor-attributes-list): Add NS case.
10725 (ns-display-monitor-attributes-list): Declare.
10726
10727 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10728
10729 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10730
10731 2013-05-09 Glenn Morris <rgm@gnu.org>
10732
10733 * international/fontset.el (vertical-centering-font-regexp):
10734 Set standard-value.
10735
10736 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10737
10738 * bookmark.el (bookmark-search-delay):
10739 * cus-start.el (vertical-centering-font-regexp):
10740 * ps-mule.el (ps-mule-font-info-database-default):
10741 * ps-print.el (ps-default-fg, ps-default-bg):
10742 * type-break.el (type-break-good-break-interval):
10743 * whitespace.el (whitespace-indentation-regexp)
10744 (whitespace-space-after-tab-regexp):
10745 * emacs-lisp/testcover.el (testcover-1value-functions)
10746 (testcover-noreturn-functions, testcover-progn-functions)
10747 (testcover-prog1-functions):
10748 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10749 * eshell/em-glob.el (eshell-glob-translate-alist):
10750 * play/tetris.el (tetris-tty-colors):
10751 * progmodes/cpp.el (cpp-face-default-list):
10752 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10753 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10754 (idlwave-help-browser-generic-args):
10755 * progmodes/make-mode.el (makefile-special-targets-list):
10756 * progmodes/python.el (python-shell-virtualenv-path):
10757 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10758 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10759 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10760 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10761 * textmodes/reftex-vars.el (reftex-format-label-function):
10762 * textmodes/remember.el (remember-diary-file): Fix custom types.
10763
10764 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10765 Add :version.
10766
10767 2013-05-09 Leo Liu <sdl.web@gmail.com>
10768
10769 * progmodes/octave.el (inferior-octave-completion-at-point):
10770 Restore file completion. (Bug#14300)
10771 (inferior-octave-startup): Fix incorrect highlighting for the
10772 first prompt.
10773
10774 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * progmodes/ruby-mode.el: First cut at SMIE support.
10777 (ruby-use-smie): New var.
10778 (ruby-smie-grammar): New constant.
10779 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10780 (ruby-smie--forward-token, ruby-smie--backward-token)
10781 (ruby-smie-rules): New functions.
10782 (ruby-mode-variables): Setup SMIE if applicable.
10783
10784 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10785
10786 * simple.el (line-move-visual): Signal beginning/end of buffer
10787 only if vertical-motion moved less than it was requested. Avoids
10788 silly incorrect error messages when there are display strings with
10789 multiple newlines at EOL.
10790
10791 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10794 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10795 (prolog-char-quote-workaround):
10796 * progmodes/cperl-mode.el (cperl-under-as-char):
10797 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10798 Mark as obsolete.
10799 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10800 their declaration.
10801 (vhdl-mode-syntax-table-init): Remove.
10802
10803 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10804 last change.
10805
10806 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10807 syntax for "_".
10808 (ld-script-font-lock-keywords):
10809 Change regexps to use things like \_< and \_>.
10810
10811 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10812 Change all regexps to use things like \_< and \_>.
10813
10814 * progmodes/autoconf.el (autoconf-definition-regexp)
10815 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10816 Handle a _ with symbol syntax.
10817 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10818
10819 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10820 Consolidate declaration.
10821 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10822 the declaration.
10823 (ada-create-syntax-table): Remove.
10824 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10825 already has the right syntax nowadays.
10826 (ada-goto-next-word): Don't change the syntax of "_".
10827
10828 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10829 with-wrapper-hook.
10830
10831 2013-05-08 Sam Steingold <sds@gnu.org>
10832
10833 * thingatpt.el (thing-at-point): Accept optional second argument
10834 NO-PROPERTIES to strip the text properties from the return value.
10835 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10836 to `thing-at-point' instead of stripping the properties ourselves.
10837 Also, when `thing-at-point' fails to find a url, prepend "http://"
10838 to the filename at point on the assumption that the user is
10839 pointing at something like gnu.org/gnu.
10840
10841 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10842
10843 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10844 * faces.el (crm-separator):
10845 Silence byte-compiler.
10846
10847 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10848 (tool-bar-map): Remove unneeded defvars.
10849
10850 2013-05-08 Leo Liu <sdl.web@gmail.com>
10851
10852 Re-work a fix for bug#10994 based on Le Wang's patch.
10853 * ido.el (ido-remove-consecutive-dups): New helper.
10854 (ido-completing-read): Use it.
10855 (ido-chop): Revert fix for bug#10994.
10856
10857 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10858
10859 * cus-edit.el (custom-save-variables):
10860 Pretty-print long values. (Bug#14187)
10861
10862 2013-05-08 Glenn Morris <rgm@gnu.org>
10863
10864 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10865 (m4-mode-syntax-table): Init in the defvar.
10866 (m4-mode-abbrev-table): Let define-derived-mode define it.
10867
10868 2013-05-08 Tom Tromey <tromey@redhat.com>
10869
10870 * progmodes/m4-mode.el (m4-mode-syntax-table):
10871 Do not treat "_" as word constituent. (Bug#14167)
10872
10873 2013-05-07 Glenn Morris <rgm@gnu.org>
10874
10875 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10876 Remove explicit eshell-isearch-cancel-map.
10877
10878 * progmodes/f90.el (f90-smart-end-names): New option.
10879 (f90-smart-end): Doc fix.
10880 (f90-end-block-optional-name): New constant.
10881 (f90-block-match): Respect f90-smart-end-names.
10882
10883 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10886 about implicit semi-colons (bug#14218).
10887
10888 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10889
10890 * frame.el (display-monitor-attributes-list)
10891 (frame-monitor-attributes): New functions.
10892
10893 2013-05-06 Leo Liu <sdl.web@gmail.com>
10894
10895 * progmodes/octave.el (octave-syntax-propertize-function): Change
10896 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10897 (octave-font-lock-keywords): Use octave-operator-regexp.
10898 (octave-completion-at-point): Rename from
10899 octave-completion-at-point-function.
10900 (inferior-octave-directory-tracker): Robustify.
10901 (octave-text-functions): Remove and fix its uses. No such things
10902 any more.
10903
10904 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10905
10906 * emacs-lisp/trace.el (trace--display-buffer): New function.
10907 (trace-make-advice): Use it.
10908
10909 2013-05-06 Juri Linkov <juri@jurta.org>
10910
10911 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10912 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10913 Doc fix.
10914 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10915 in the help string. (Bug#12985)
10916
10917 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10918
10919 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10920
10921 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * progmodes/perl-mode.el: Add support for here documents.
10924 (perl-syntax-propertize-function): Match here-doc markers.
10925 (perl-syntax-propertize-special-constructs): Find their end.
10926 (perl-imenu-generic-expression): Use [:alnum:].
10927
10928 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10929 (advice--add-function): Refresh the advice if already present
10930 (bug#14317).
10931
10932 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10933
10934 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10935
10936 2013-05-06 Glenn Morris <rgm@gnu.org>
10937
10938 * w32-fns.el (w32-charset-info-alist): Declare.
10939
10940 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10941 of its defcustom properties.
10942 (eshell-cmpl-initialize): No need to load pcomplete.
10943
10944 * generic-x.el: No need to require comint when compiling.
10945
10946 * net/eudc-export.el: Make it loadable without bbdb.
10947 (top-level): Use require rather than load-library.
10948 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10949 (eudc-batch-export-records-to-bbdb)
10950 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10951 Require bbdb.
10952
10953 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10956 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10957 some tweaks, instead.
10958
10959 2013-05-05 Leo Liu <sdl.web@gmail.com>
10960
10961 * progmodes/octave.el (octave-font-lock-keywords)
10962 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10963 (inferior-octave-send-list-and-digest): Improve error message.
10964 (octave-mode, inferior-octave-mode): Use setq-local.
10965 (octave-help): Set info-lookup-mode.
10966
10967 2013-05-05 Richard Stallman <rms@gnu.org>
10968
10969 * vc/compare-w.el (compare-windows-whitespace):
10970 Treat no-break space as whitespace.
10971
10972 * mail/rmailsum.el (rmail-summary-rmail-update):
10973 Detect empty summary and don't change selected message.
10974 (rmail-summary-goto-msg): Likewise.
10975
10976 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10977 Doc fixes, rename args.
10978
10979 2013-05-05 Alan Mackenzie <acm@muc.de>
10980
10981 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10982
10983 2013-05-05 Juri Linkov <juri@jurta.org>
10984
10985 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10986 to not add the length of the summary segment to the return value.
10987 (Bug#14125)
10988
10989 2013-05-05 Leo Liu <sdl.web@gmail.com>
10990
10991 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10992 (inferior-octave-output-filter): Remove.
10993 (octave-send-region, inferior-octave-startup): Fix callers.
10994 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10995 (octave-binary-file-extensions): New user variable.
10996 (octave-find-definition): Confirm if opening binary files.
10997 (octave-help-file): Use octave-find-definition to get the binary
10998 confirmation.
10999 (octave-help): Adjust for octave-help-file change.
11000
11001 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11004 Merge the two entries that handle function definitions.
11005 (pascal--syntax-propertize): New const.
11006 (pascal-mode): Use it. Use setq-local.
11007
11008 2013-05-04 Glenn Morris <rgm@gnu.org>
11009
11010 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11011 (diary-from-outlook): Respect diary-from-outlook-function.
11012
11013 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11016 Move the declaration from C.
11017 (read-minibuffer, eval-minibuffer): Move from C.
11018 (completion-setup-function): Avoid minibuffer-completion-contents.
11019
11020 2013-05-03 Leo Liu <sdl.web@gmail.com>
11021
11022 * progmodes/octave.el (octave-font-lock-keywords): Do not
11023 dehighlight 'end' in comments or strings.
11024 (octave-completing-read, octave-goto-function-definition):
11025 New helpers.
11026 (octave-help-buffer): New user variable.
11027 (octave-help-file, octave-help-function): New button types.
11028 (octave-help): New command and bind it to C-h ;.
11029 (octave-find-definition): New command and bind it to M-.
11030 (user-error): Alias to error if not defined.
11031
11032 2013-05-02 Leo Liu <sdl.web@gmail.com>
11033
11034 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11035 for \. (bug#14332)
11036 (octave-font-lock-keywords): Include [ and {.
11037
11038 2013-05-02 Leo Liu <sdl.web@gmail.com>
11039
11040 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11041 (inferior-octave): Remove calling comint-mode and return the buffer.
11042 (inferior-octave-startup): Cosmetic changes.
11043
11044 2013-05-02 Leo Liu <sdl.web@gmail.com>
11045
11046 * progmodes/octave.el (octave-syntax-propertize-function):
11047 Include the case when ' is at line beginning. (Bug#14336)
11048
11049 2013-05-02 Glenn Morris <rgm@gnu.org>
11050
11051 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11052 * desktop.el (vc-dir-mode): Just autoload it here.
11053
11054 2013-05-02 Alan Mackenzie <acm@muc.de>
11055
11056 Eliminate variable c-standard-font-lock-fontify-region-function.
11057 * progmodes/cc-mode.el
11058 (c-standard-font-lock-fontify-region-function): Remove.
11059 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11060
11061 2013-05-01 Leo Liu <sdl.web@gmail.com>
11062
11063 * progmodes/octave.el: Compatible with older emacs-24 releases.
11064 (inferior-octave-has-built-in-variables): Remove. Built-in
11065 variables were removed from Octave in 2007.
11066 (inferior-octave-startup): Fix uses.
11067 (comint-line-beginning-position): Remove compatibility code for
11068 emacs 21.
11069
11070 2013-05-01 Juri Linkov <juri@jurta.org>
11071
11072 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11073
11074 2013-05-01 Juri Linkov <juri@jurta.org>
11075
11076 * comint.el (comint-previous-matching-input): Don't print message
11077 "History item: %d" when `isearch-mode' is active.
11078 (comint-history-isearch-message): Print message "History item: %d"
11079 when `comint-input-ring-index' is not empty and this function is
11080 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11081
11082 2013-05-01 Leo Liu <sdl.web@gmail.com>
11083
11084 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11085 definitions. Use completion-at-point to insert keywords.
11086 (octave-abbrev-start): Remove.
11087 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11088
11089 2013-04-30 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11092 change.
11093
11094 2013-04-30 Alan Mackenzie <acm@muc.de>
11095
11096 Handle arbitrarily long C++ member initialisation lists.
11097 * progmodes/cc-engine.el (c-back-over-member-initializers):
11098 new function.
11099 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11100 (most) member init lists.
11101
11102 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11103
11104 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11105 variable.
11106
11107 2013-04-30 Leo Liu <sdl.web@gmail.com>
11108
11109 * progmodes/octave.el (octave-variables): Remove. No builtin
11110 variables any more. All converted to functions.
11111 (octave-font-lock-keywords, octave-completion-at-point-function):
11112 Fix uses.
11113 (octave-font-lock-texinfo-comment): New user variable.
11114 (octave-texinfo-font-lock-keywords): New variable for texinfo
11115 comment block.
11116 (octave-function-comment-block): New face.
11117 (octave-font-lock-texinfo-comment): New function.
11118 (octave-mode): Font lock texinfo comment block.
11119
11120 2013-04-29 Leo Liu <sdl.web@gmail.com>
11121
11122 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11123 indexing expression.
11124 (octave-continuation-string): Do not use \.
11125 (inferior-octave-complete-impossible): Remove.
11126 (inferior-octave-completion-table)
11127 (inferior-octave-completion-at-point): Remove its uses.
11128 (inferior-octave-startup): completion_matches was introduced to
11129 Octave in 1996 so safe to assume it.
11130 (octave-function-file-comment): Improve to follow how Octave does it.
11131 (octave-update-function-file-comment): Tweak.
11132
11133 2013-04-29 Leo Liu <sdl.web@gmail.com>
11134
11135 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11136 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11137 (octave-function-file-comment): Fix typo.
11138 (octave-sync-function-file-names): Use read-char-choice.
11139
11140 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11141
11142 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11143 to t for the less important warnings.
11144
11145 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11146
11147 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11148
11149 2013-04-27 Glenn Morris <rgm@gnu.org>
11150
11151 * vc/log-view.el (log-view-current-entry):
11152 Treat "---" separator lines as part of the following rev. (Bug#14169)
11153
11154 2013-04-27 Juri Linkov <juri@jurta.org>
11155
11156 * subr.el (read-number): Doc fix about using it by interactive
11157 code letter `n'. (Bug#14254)
11158
11159 2013-04-27 Juri Linkov <juri@jurta.org>
11160
11161 * desktop.el (desktop-auto-save-timeout): New option.
11162 (desktop-file-checksum): New variable.
11163 (desktop-save): Add optional arg `auto-save' and don't auto-save
11164 if nothing changed.
11165 (desktop-auto-save-timer): New variable.
11166 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11167 (after-init-hook): Call `desktop-auto-save-set-timer'.
11168 Suggested by Reuben Thomas <rrt@sc3d.org> in
11169 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11170
11171 2013-04-27 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-function-file-p)
11174 (octave-skip-comment-forward, octave-function-file-comment)
11175 (octave-update-function-file-comment): New functions.
11176 (octave-mode-map): Bind C-c ; to
11177 octave-update-function-file-comment.
11178 (octave-mode-menu): Add octave-update-function-file-comment.
11179 (octave-mode, inferior-octave-mode): Fix doc-string.
11180 (octave-insert-defun): Conform to Octave's coding convention.
11181 (Bug#14285)
11182
11183 * files.el (basic-save-buffer): Don't let errors in
11184 before-save-hook prevent saving buffer.
11185
11186 2013-04-20 Roland Winkler <winkler@gnu.org>
11187
11188 * faces.el (read-face-name): Use completing-read if arg multiple
11189 is nil.
11190
11191 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11192
11193 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11194 displayed, move point to after the totals line.
11195 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11196 for the details.
11197
11198 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11201 Add current dir to the load-path.
11202 (package-generate-autoloads): Don't rely on
11203 autoload-ensure-default-file.
11204
11205 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11206
11207 * textmodes/remember.el (remember-store-in-files): Document that
11208 the file name format is passed to `format-time-string'.
11209
11210 2013-04-26 Leo Liu <sdl.web@gmail.com>
11211
11212 * progmodes/octave.el (octave-sync-function-file-names): New function.
11213 (octave-mode): Use it in before-save-hook.
11214
11215 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11216
11217 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11218 (bug#14274).
11219
11220 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11221 \n and comment, even if it's not an implicit ; (bug#14218).
11222
11223 2013-04-26 Glenn Morris <rgm@gnu.org>
11224
11225 * subr.el (read-number): Once more use `read' rather than
11226 `string-to-number', to trap non-numeric input. (Bug#14254)
11227
11228 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11229
11230 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11231 Use `syntax-multiline' text property consistently instead of
11232 `font-lock-multiline'. (Bug#14237)
11233
11234 2013-04-26 Glenn Morris <rgm@gnu.org>
11235
11236 * emacs-lisp/shadow.el (list-load-path-shadows):
11237 No longer necessary to check for duplicate simple.el, since
11238 2012-07-07 change to init_lread to not include installation lisp
11239 directories in load-path when running uninstalled. (Bug#14270)
11240
11241 2013-04-26 Leo Liu <sdl.web@gmail.com>
11242
11243 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11244 (octave-mode, inferior-octave-mode): Use setq-local.
11245 (octave-not-in-string-or-comment-p): Rename to
11246 octave-in-string-or-comment-p.
11247 (octave-in-comment-p, octave-in-string-p)
11248 (octave-in-string-or-comment-p): Replace defsubst with defun.
11249
11250 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11251
11252 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11253
11254 2013-04-25 Bastien Guerry <bzg@gnu.org>
11255
11256 * textmodes/remember.el (remember-data-directory)
11257 (remember-directory-file-name-format): Fix custom types.
11258
11259 2013-04-25 Leo Liu <sdl.web@gmail.com>
11260
11261 * progmodes/octave.el (octave-completion-at-point-function):
11262 Make use of inferior octave process.
11263 (octave-initialize-completions): Remove.
11264 (inferior-octave-completion-table): New function.
11265 (inferior-octave-completion-at-point): Use it.
11266 (octave-completion-alist): Remove.
11267
11268 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11271 (opascal-mode-syntax-table): New var.
11272 (opascal-literal-kind, opascal-is-literal-end)
11273 (opascal-literal-token-at): Rewrite.
11274 (opascal--literal-start-re, opascal-font-lock-keywords)
11275 (opascal--syntax-propertize): New constants.
11276 (opascal-font-lock-defaults): Adjust.
11277 (opascal-mode): Use them. Set comment-<foo> variables as well.
11278 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11279 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11280 (delphi-other-face, opascal-other-face): Remove face variables.
11281 (opascal-save-state): Remove macro.
11282 (opascal-fontifying-progress-step): Remove constant.
11283 (opascal--ignore-changes): Remove var.
11284 (opascal-set-token-property, opascal-parse-next-literal)
11285 (opascal-is-stable-literal, opascal-complete-literal)
11286 (opascal-is-literal-start, opascal-face-of)
11287 (opascal-parse-region, opascal-parse-region-until-stable)
11288 (opascal-fontify-region, opascal-after-change)
11289 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11290 (opascal-debug-parse-region, opascal-debug-parse-window)
11291 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11292 (opascal-debug-fontify-buffer): Remove.
11293 (opascal-debug-mode-map): Adjust accordingly.
11294
11295 2013-04-25 Leo Liu <sdl.web@gmail.com>
11296
11297 Merge octave-mod.el and octave-inf.el into octave.el with some
11298 cleanups.
11299 * progmodes/octave.el: New file renamed from octave-mod.el.
11300 * progmodes/octave-inf.el: Merged into octave.el.
11301 * progmodes/octave-mod.el: Renamed to octave.el.
11302
11303 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11304
11305 * textmodes/reftex-vars.el
11306 (reftex-label-ignored-macros-and-environments): New defcustom.
11307
11308 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11309
11310 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11313 (smie-indent-keyword): Improve the check to ensure that the next
11314 comment is really on the same line.
11315 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11316
11317 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11318 semi-colons if the line is not otherwise empty (bug#14218).
11319
11320 2013-04-25 Glenn Morris <rgm@gnu.org>
11321
11322 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11323
11324 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * progmodes/opascal.el (opascal-set-token-property): Rename from
11327 opascal-set-text-properties and only set `token' (bug#14134).
11328 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11329 (opascal-literal-text-properties): Remove.
11330 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11331 Adjust callers.
11332
11333 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11334
11335 * textmodes/remember.el (remember-handler-functions): Add an
11336 option for a new handler `remember-store-in-files'.
11337 (remember-data-directory, remember-directory-file-name-format):
11338 New options.
11339 (remember-store-in-files): New function to store remember notes
11340 as separate files within a directory.
11341
11342 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11343
11344 * progmodes/compile.el (compilation-next-error-function):
11345 Pass "formats" to compilation-find-file (bug#11777).
11346
11347 2013-04-24 Glenn Morris <rgm@gnu.org>
11348
11349 * vc/vc-bzr.el (vc-bzr-print-log):
11350 * vc/vc-hg.el (vc-hg-print-log):
11351 * vc/vc-svn.el (vc-svn-print-log):
11352 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11353
11354 * vc/vc-bzr.el (vc-bzr-print-log):
11355 * vc/vc-cvs.el (vc-cvs-print-log):
11356 * vc/vc-git.el (vc-git-print-log):
11357 * vc/vc-hg.el (vc-hg-print-log):
11358 * vc/vc-mtn.el (vc-mtn-print-log):
11359 * vc/vc-rcs.el (vc-rcs-print-log):
11360 * vc/vc-sccs.el (vc-sccs-print-log):
11361 * vc/vc-svn.el (vc-svn-print-log):
11362 * vc/vc.el (vc-print-log-internal): Doc fixes.
11363
11364 2013-04-23 Glenn Morris <rgm@gnu.org>
11365
11366 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11367 Remove venerable code attempting to avoid substitute-command-keys.
11368
11369 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11370
11371 * textmodes/reftex-vars.el (reftex-label-regexps):
11372 Call `reftex-compile-variables' after changes to this variable.
11373
11374 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11377 Use lexical-binding.
11378 (jit-lock-force-redisplay): Use markers, check buffer's continued
11379 existence and beware narrowed buffers.
11380 (jit-lock-fontify-now): Adjust call accordingly.
11381
11382 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11383
11384 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11385 to avoid misleading the user.
11386
11387 2013-04-22 Leo Liu <sdl.web@gmail.com>
11388
11389 * info-look.el: Prefer latex2e.info. (Bug#14240)
11390
11391 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11392
11393 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11394
11395 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11396 * net/tramp.el (tramp-call-process): ... here.
11397 (tramp-set-completion-function, tramp-parse-putty):
11398 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11399 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11400 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11401 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11402 (tramp-call-local-coding-command): Use `tramp-call-process'
11403 instead of `tramp-compat-call-process'.
11404
11405 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11406 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11407 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11408 (tramp-find-inline-compress): Improve traces.
11409 (tramp-maybe-send-script): Check for Perl binary.
11410 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11411
11412 2013-04-22 Daiki Ueno <ueno@gnu.org>
11413
11414 * epg.el (epg-context-pinentry-mode): New function.
11415 (epg-context-set-pinentry-mode): New function.
11416 (epg--start): Pass --pinentry-mode option to gpg command.
11417
11418 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11419
11420 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11421 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11422 `completion-at-point'. (Bug#13774)
11423
11424 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11425 default key binding for `describe-distribution' has been moved to
11426 `C-h C-o'. (Bug#13970)
11427
11428 2013-04-21 Glenn Morris <rgm@gnu.org>
11429
11430 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11431 Add doc strings.
11432 (vc-print-log): Clarify interactive prompt.
11433
11434 2013-04-20 Glenn Morris <rgm@gnu.org>
11435
11436 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11437 No longer include timestamp etc information.
11438
11439 2013-04-20 Roland Winkler <winkler@gnu.org>
11440
11441 * faces.el (read-face-name): Bug fix, return just one face if arg
11442 multiple is nil. (Bug#14209)
11443
11444 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11445
11446 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11447 (remove-function): Autoload.
11448
11449 * comint.el (comint-redirect-original-filter-function): Remove.
11450 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11451 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11452 (vc-cvs-annotate-command):
11453 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11454 * progmodes/prolog.el (prolog-consult-compile):
11455 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11456 Use add/remove-function instead.
11457 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11458 (gud-tooltip-process-output, gud-tooltip-tips):
11459 Use add/remove-function instead.
11460 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11461 (scheme-interaction-mode, exit-scheme-interaction-mode):
11462 Use add/remove-function instead.
11463
11464 * vc/vc-dispatcher.el: Use lexical-binding.
11465 (vc--process-sentinel): Rename from vc-process-sentinel.
11466 Change last arg to be the code to run. Don't use vc-previous-sentinel
11467 and vc-sentinel-commands any more.
11468 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11469 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11470
11471 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11472
11473 * progmodes/sh-script.el (sh-imenu-generic-expression):
11474 Handle function names with a single character. (Bug#14111)
11475
11476 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11477
11478 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11479 for subroutines defined in an eval (bug#14182).
11480
11481 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11482
11483 * bookmark.el (bookmark-completing-read): Improve handling of empty
11484 string (bug#14176).
11485
11486 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11487
11488 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11489
11490 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11491
11492 New faster Imenu implementation (bug#14058).
11493 * progmodes/python.el:
11494 (python-imenu-prev-index-position):
11495 (python-imenu-format-item-label-function)
11496 (python-imenu-format-parent-item-label-function)
11497 (python-imenu-format-parent-item-jump-label-function):
11498 New vars.
11499 (python-imenu-format-item-label)
11500 (python-imenu-format-parent-item-label)
11501 (python-imenu-format-parent-item-jump-label)
11502 (python-imenu--put-parent, python-imenu--build-tree)
11503 (python-imenu-create-index, python-imenu-create-flat-index)
11504 (python-util-popn): New functions.
11505 (python-mode): Set imenu-create-index-function to
11506 python-imenu-create-index.
11507
11508 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * winner.el (winner-active-region): Use region-active-p, activate-mark
11511 and deactivate-mark (bug#14225).
11512
11513 * simple.el (deactivate-mark): Don't inline it.
11514
11515 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11516
11517 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11518
11519 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11520
11521 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11522 file extensions from the archive-mode entry in order to prefer
11523 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11524
11525 2013-04-18 Leo Liu <sdl.web@gmail.com>
11526
11527 * bindings.el (help-event-list): Add ?\?.
11528
11529 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 * subr.el (with-wrapper-hook): Declare obsolete.
11532 * simple.el (filter-buffer-substring-function): New hook.
11533 (filter-buffer-substring): Use it.
11534 (filter-buffer-substring-functions): Mark obsolete.
11535 * minibuffer.el (completion-in-region-function): New hook.
11536 (completion-in-region): Use it.
11537 (completion-in-region-functions): Mark obsolete.
11538 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11539 * abbrev.el (abbrev-expand-function): New hook.
11540 (expand-abbrev): Use it.
11541 (abbrev-expand-functions): Mark obsolete.
11542 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11543 and :filter-return.
11544
11545 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11546
11547 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11548 and do not care about match data.
11549
11550 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11551
11552 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11553 completion tables when completing error conditions and
11554 `declare' arguments.
11555 (lisp-complete-symbol, field-complete): Mark as obsolete.
11556 (check-parens): Unmatched parens are user errors.
11557 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11558
11559 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11560
11561 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11562 command changed buffer (ie. `flyspell-pre-buffer' is not current
11563 buffer), which prevents making decisions based on invalid value of
11564 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11565 cause an error when `flyspell-pre-point' was nil after switching
11566 buffers.
11567 (flyspell-post-command-hook): No longer needs to change buffers when
11568 checking pre-word. While at it remove unnecessary progn.
11569
11570 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11571
11572 * textmodes/ispell.el (ispell-add-per-file-word-list):
11573 Fix `flyspell-correct-word-before-point' error when accepting
11574 words and `coment-padding' is an integer by using
11575 `comment-normalize-vars' (Bug #14214).
11576
11577 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11578
11579 New defun movement commands.
11580 * progmodes/python.el (python-nav--syntactically)
11581 (python-nav--forward-defun, python-nav-backward-defun)
11582 (python-nav-forward-defun): New functions.
11583
11584 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11585
11586 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11587 (python-syntax-context): Use named compiler-macro for backwards
11588 compatibility with Emacs 24.x.
11589
11590 2013-04-17 Leo Liu <sdl.web@gmail.com>
11591
11592 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11593 octave-hide-process-buffer.
11594
11595 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11598 (bug#14216).
11599
11600 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11601
11602 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11603 Fix adjustment of offset when receiving incomplete responses from GDB
11604 (bug#14129).
11605
11606 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11609 python-mode-abbrev-table.
11610 (python-skeleton-define): Adjust accordingly.
11611 (python-mode-abbrev-table): New table that inherits from it so that
11612 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11613
11614 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11615 (abbrev-symbol): Use it.
11616 (abbrev--before-point): Use it since we already handle inheritance.
11617
11618 2013-04-16 Leo Liu <sdl.web@gmail.com>
11619
11620 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11621 binding to info-lookup-symbol.
11622
11623 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11624
11625 * minibuffer.el (completion--twq-all):
11626 * term/ns-win.el (ns-initialize-window-system):
11627 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11628
11629 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11632 global bindings.
11633
11634 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11635
11636 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11637
11638 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11639 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11640 to nil.
11641 (ruby-end-of-defun): Remove the unused arg, change the docstring
11642 to reflect that this function is only used as the value of
11643 `end-of-defun-function'.
11644 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11645 to reflect an earlier change that beginning/end-of-defun functions
11646 jump between methods in a class definition, as well as top-level
11647 functions.
11648
11649 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11650
11651 * minibuffer.el (minibuffer-complete): Don't just scroll
11652 a *Completions* that's been iconified.
11653 (minibuffer-force-complete): Make sure repetitions do cycle when going
11654 through completion-in-region -> minibuffer-complete.
11655
11656 2013-04-15 Alan Mackenzie <acm@muc.de>
11657
11658 Correct the placement of c-cpp-delimiters when there're #s not at
11659 col 0.
11660
11661 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11662 place a submatch around the #.
11663 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11664 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11665 on the #, not BOL.
11666
11667 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11668
11669 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11670 (advice--member-p): New arg `name'.
11671 (advice--add-function, advice-member-p): Use it (bug#14202).
11672
11673 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11674
11675 Reformulate java imenu-generic-expression.
11676 The old expression contained ill formed regexps.
11677
11678 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11679 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11680 (cc-imenu-java-method-arg-regexp): New defconsts.
11681 (cc-imenu-java-build-type-args-regex): New defun.
11682 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11683 handling of spaces in the regexp.
11684
11685 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11686
11687 * textmodes/ispell.el (ispell-command-loop): Remove
11688 flyspell highlight of a word when ispell accepts it (bug #14178).
11689
11690 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11691
11692 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11693 uses code from the previous `ange-ftp-run-real-handler'.
11694 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11695 only in case that function exist. This is needed for proper
11696 unloading of Tramp.
11697
11698 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11699
11700 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11701
11702 * textmodes/reftex.el (reftex-compile-variables): Use it.
11703
11704 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * files.el (normal-mode): Only use default major-mode if no other mode
11707 was specified.
11708
11709 * emacs-lisp/trace.el (trace-values): New function.
11710
11711 * files.el: Allow : in local variables (bug#14089).
11712 (hack-local-variable-regexp): New var.
11713 (hack-local-variables-prop-line, hack-local-variables): Use it.
11714
11715 2013-04-13 Roland Winkler <winkler@gnu.org>
11716
11717 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11718 data before it gets modified by bibtex-beginning-of-entry.
11719
11720 2013-04-13 Roland Winkler <winkler@gnu.org>
11721
11722 * textmodes/bibtex.el (bibtex-url): Doc fix.
11723
11724 2013-04-13 Roland Winkler <winkler@gnu.org>
11725
11726 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11727 does not visit a BibTeX file, exclude it from the list of buffers
11728 returned by bibtex-initialize.
11729
11730 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11731
11732 * window.el (split-window): Remove interactive form, since as a
11733 command this function is a special case of split-window-below.
11734 Correct doc string.
11735
11736 2013-04-12 Roland Winkler <winkler@gnu.org>
11737
11738 * faces.el (read-face-name): Do not override value of arg default.
11739 Allow single faces and strings as default values. Remove those
11740 elements from return value that are not faces.
11741 (describe-face): Simplify.
11742 (face-at-point): New optional args thing and multiple so that this
11743 function can provide the same functionality previously provided by
11744 read-face-name.
11745 (make-face-bold, make-face-unbold, make-face-italic)
11746 (make-face-unitalic, make-face-bold-italic, invert-face)
11747 (modify-face, read-face-and-attribute): Use face-at-point.
11748
11749 * cus-edit.el (customize-face, customize-face-other-window)
11750 * cus-theme.el (custom-theme-add-face)
11751 * face-remap.el (buffer-face-set)
11752 * facemenu.el (facemenu-set-face): Use face-at-point.
11753
11754 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11755
11756 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11757
11758 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11759
11760 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11761 off leading { and trailing } from field values.
11762
11763 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * emacs-lisp/timer.el (timer--check): New function.
11766 (timer--time, timer-set-function, timer-event-handler): Use it.
11767 (timer-set-idle-time): Simplify.
11768 (timer--activate): CSE.
11769 (timer-event-handler): Give more info in error message.
11770 (internal-timer-start-idle): New function, moved from C.
11771
11772 * mpc.el (mpc-proc): Add `restart' argument.
11773 (mpc-proc-cmd): Use it.
11774 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11775 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11776 less often.
11777
11778 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11779
11780 * progmodes/sh-script.el: Implement `sh-mode' own
11781 `add-log-current-defun-function' (bug#14112).
11782 (sh-current-defun-name): New function.
11783 (sh-mode): Use the function.
11784
11785 2013-04-09 Bastien Guerry <bzg@gnu.org>
11786
11787 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11788
11789 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11790
11791 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11792
11793 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11794 timer (bug#14156).
11795
11796 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11797
11798 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11799 declaration.
11800
11801 2013-04-07 Leo Liu <sdl.web@gmail.com>
11802
11803 * pcmpl-x.el: New file.
11804
11805 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11806
11807 Do not set x-display-name until X connection is established.
11808 This is needed to prevent from weird situation described at
11809 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11810 * frame.el (make-frame): Set x-display-name after call to
11811 window system initialization function, not before.
11812 * term/x-win.el (x-initialize-window-system): Add optional
11813 display argument and use it.
11814 * term/w32-win.el (w32-initialize-window-system):
11815 * term/ns-win.el (ns-initialize-window-system):
11816 * term/pc-win.el (msdos-initialize-window-system):
11817 Add compatible optional display argument.
11818
11819 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11820
11821 * files.el (normal-backup-enable-predicate): On MS-Windows and
11822 MS-DOS compare truenames of temporary-file-directory and of the
11823 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11824 don't fail comparison by compare-strings. Also, compare file
11825 names case-insensitively on MS-Windows and MS-DOS.
11826
11827 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11828
11829 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11830 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11831
11832 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11833
11834 * whitespace.el (whitespace-color-on, whitespace-color-off):
11835 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11836
11837 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11838
11839 * ispell.el (ispell-set-spellchecker-params):
11840 Really set `ispell-args' for all equivs.
11841
11842 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * ido.el (ido-completions): Use extra elements of ido-decorations
11845 (bug#14143).
11846 (ido-decorations): Update docstring.
11847
11848 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11849
11850 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11851 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11852 nil during initialization, in order not to miss changes since the
11853 file was opened. (Bug#14140)
11854
11855 2013-04-05 Leo Liu <sdl.web@gmail.com>
11856
11857 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11858
11859 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11860
11861 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11862
11863 2013-04-04 Glenn Morris <rgm@gnu.org>
11864
11865 * electric.el (electric-pair-inhibit-predicate): Add :version.
11866
11867 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11868
11869 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11870 when a package is required several times (bug#14082).
11871
11872 2013-04-04 Roland Winkler <winkler@gnu.org>
11873
11874 * faces.el (read-face-name): Behave as promised by the docstring.
11875 Assume that arg default is a list of faces.
11876 (describe-face): Call read-face-name with list of default faces.
11877
11878 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11879
11880 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11881 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11882 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11883 the header.
11884 (bookmark-exit-hook-internal): Save even if list is empty.
11885
11886 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11887
11888 * emacs-lisp/package.el (package-pinned-packages): New var.
11889 (package--add-to-archive-contents): Obey it (bug#14118).
11890
11891 2013-04-03 Alan Mackenzie <acm@muc.de>
11892
11893 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11894 Also adapt to the new values of element 7 of a parse state.
11895
11896 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11897 parameter `not-in-delimiter'. Handle being inside comment opener.
11898 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11899 character in case we're typing a '*' after a '/'.
11900 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11901 instead by passing the parameter to c-state-pp-to-literal.
11902
11903 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11904 for elt. 7 of a parse state.
11905
11906 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11907
11908 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11909 * international/latin1-disp.el, international/mule-util.el:
11910 * language/cyril-util.el, language/european.el, language/ind-util.el:
11911 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11912 * language/tibetan.el, language/viet-util.el:
11913 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11914
11915 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11916
11917 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11918 (electric-pair-post-self-insert-function): Use it.
11919 (electric-pair-default-inhibit): New function, extracted from
11920 electric-pair-post-self-insert-function.
11921
11922 2013-03-31 Roland Winkler <winkler@gnu.org>
11923
11924 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11925
11926 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11927
11928 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11929
11930 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11931
11932 Un-indent after "pass" and "return" statements (Bug#13888)
11933 * progmodes/python.el (python-indent-block-enders): New var.
11934 (python-indent-calculate-indentation): Use it.
11935
11936 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11937
11938 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11939 defun. Defining it as defalias could introduce too eager
11940 byte-compiler optimization. (Bug#14030)
11941
11942 2013-03-30 Chong Yidong <cyd@gnu.org>
11943
11944 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11945
11946 2013-03-30 Leo Liu <sdl.web@gmail.com>
11947
11948 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11949 (kmacro-execute-from-register): Pass the keyboard macro to
11950 kmacro-call-macro or repeating won't work correctly.
11951
11952 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11953
11954 * progmodes/subword.el: Back to using `forward-symbol'.
11955
11956 * subr.el (forward-whitespace, forward-symbol)
11957 (forward-same-syntax): Move from thingatpt.el.
11958
11959 2013-03-29 Leo Liu <sdl.web@gmail.com>
11960
11961 * kmacro.el (kmacro-to-register): New command.
11962 (kmacro-execute-from-register): New function.
11963 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11964
11965 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * mpc.el: Use defvar-local and setq-local.
11968 (mpc--proc-connect): Connection failures are not bugs.
11969 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11970 (mpc-volume-map): Bind to the up-events.
11971
11972 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11973
11974 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11975 instead of `forward-symbol'.
11976
11977 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11980 (edebug--recursive-edit): Use it.
11981 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11982 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11983
11984 2013-03-28 Leo Liu <sdl.web@gmail.com>
11985
11986 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11987
11988 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11989
11990 * facemenu.el (list-colors-callback): New defvar.
11991 (list-colors-redisplay): New function.
11992 (list-colors-display): Install list-colors-redisplay as the
11993 revert-buffer-function. (Bug#14063)
11994
11995 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11998 and suffixes don't overlap (bug#14061).
11999
12000 * case-table.el: Use lexical-binding.
12001 (case-table-get-table): New function.
12002 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12003
12004 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12005
12006 * progmodes/subword.el: Add `superword-mode' to do word motion
12007 over symbol_words (parallels and leverages `subword-mode' which
12008 does word motion inside MixedCaseWords).
12009
12010 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12011
12012 * eshell/em-unix.el: Move su and sudo to...
12013 * eshell/em-tramp.el: ...Eshell tramp module.
12014
12015 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12016
12017 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12018 Change return value to be a sexp. Delay `get-buffer' to after
12019 restoring the desktop (bug#13951).
12020
12021 2013-03-26 Leo Liu <sdl.web@gmail.com>
12022
12023 * register.el: Move semantic tag handling back to
12024 cedet/semantic/senator.el. (Bug#14052)
12025
12026 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12029 into the prompt either (bug#13963).
12030
12031 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12034 part of "(error-foo)".
12035
12036 2013-03-24 Juri Linkov <juri@jurta.org>
12037
12038 * replace.el (list-matching-lines-prefix-face): New defcustom.
12039 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12040 `occur-engine' if `face-differs-from-default-p' returns t.
12041 (occur-engine): Add `,' inside backquote construct to evaluate
12042 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12043 Pass `prefix-face' to the functions `occur-context-lines' and
12044 `occur-engine-add-prefix'.
12045 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12046 `prefix-face' and propertize the prefix with `prefix-face'.
12047 (Bug#14017)
12048
12049 2013-03-24 Leo Liu <sdl.web@gmail.com>
12050
12051 * nxml/rng-valid.el (rng-validate-while-idle)
12052 (rng-validate-quick-while-idle): Guard against deleted buffer.
12053 (Bug#13999)
12054
12055 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12056 is the last entry in kill-buffer-hook.
12057
12058 * files.el (kill-buffer-hook): Doc fix.
12059
12060 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12061
12062 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12063 Make it safe-local.
12064
12065 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12066
12067 2013-03-23 Leo Liu <sdl.web@gmail.com>
12068
12069 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12070 Remove.
12071
12072 * nxml/rng-valid.el (rng-validate-mode)
12073 (rng-after-change-function, rng-do-some-validation):
12074 * nxml/rng-maint.el (rng-validate-buffer):
12075 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12076 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12077 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12078 (nxml-extend-after-change-region): Use with-silent-modifications.
12079
12080 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12081 timer-idle-list.
12082
12083 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12084 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12085 timer-idle-list. (Bug#13999)
12086
12087 2013-03-23 Juri Linkov <juri@jurta.org>
12088
12089 * info.el (info-index-match): New face.
12090 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12091 main pattern and add text properties with the new face to matches
12092 in index entries relative to the beginning of the index entry.
12093 (Bug#14015)
12094
12095 2013-03-21 Eric Ludlam <zappo@gnu.org>
12096
12097 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12098 Inhibit read only while inserting objects.
12099
12100 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12101
12102 * progmodes/cfengine.el: Update docs to mention
12103 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12104 symbol motion. Remove "_" from the word syntax.
12105
12106 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12107
12108 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12109 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12110
12111 2013-03-20 Juri Linkov <juri@jurta.org>
12112
12113 * info.el (Info-next-reference-or-link)
12114 (Info-prev-reference-or-link): New functions.
12115 (Info-next-reference, Info-prev-reference): Use them.
12116 (Info-try-follow-nearest-node): Handle footnote navigation.
12117 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12118
12119 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12122 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12123
12124 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12125
12126 Suppress unnecessary non-ASCII chatter during build process.
12127 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12128 (batch-skkdic-convert): Suppress most of the chatter.
12129 It's not needed so much now that machines are faster,
12130 and its non-ASCII component was confusing; see Dmitry Gutov in
12131 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12132
12133 2013-03-20 Leo Liu <sdl.web@gmail.com>
12134
12135 * ido.el (ido-chop): Fix bug#10994.
12136
12137 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12138
12139 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12140 Remove vars.
12141 (whitespace-color-on, whitespace-color-off):
12142 Use `font-lock-fontify-buffer' (Bug#13817).
12143
12144 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12147 remapping in mode-line.
12148 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12149
12150 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12151
12152 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12153 value for `whitespace-line' face (Bug#13875).
12154 (whitespace-font-lock-keywords): Change description.
12155 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12156 the constructed keywords instead.
12157 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12158
12159 2013-03-19 Leo Liu <sdl.web@gmail.com>
12160
12161 * progmodes/compile.el (compilation-display-error): New command.
12162 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12163 C-o. (Bug#13992)
12164
12165 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12166
12167 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12168
12169 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12170
12171 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12172
12173 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12174
12175 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12176
12177 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12178 * net/tramp-gvfs.el (top):
12179 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12180 (tramp-handle-shell-command): Use it.
12181 (tramp-dissect-file-name): Raise an error when hostname is a
12182 method name, and neither method nor user is specified.
12183
12184 * net/trampver.el: Update release number.
12185
12186 2013-03-18 Leo Liu <sdl.web@gmail.com>
12187
12188 Make sure eldoc can be turned off properly.
12189 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12190 eldoc-mode.
12191 (eldoc-display-message-p): Revert last change.
12192 (eldoc-display-message-no-interference-p)
12193 (eldoc-print-current-symbol-info): Tweak.
12194
12195 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12196
12197 * doc-view.el (doc-view-new-window-function): Check the new window
12198 overlay's display property instead the char property of the
12199 buffer's first char. Use `with-selected-window' instead of
12200 `save-window-excursion' with `select-window'.
12201 (doc-view-document->bitmap): Check the current doc-view overlay's
12202 display property instead the char property of the buffer's first char.
12203
12204 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12205
12206 Automate the build of ja-dic.el (Bug#13984).
12207 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12208 from the input, rather than assume that it's been done for us by the
12209 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12210 the current date into a ja-dic.el comment, as that complicates
12211 regression testing.
12212
12213 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12214
12215 * whitespace.el: Fix double evaluation.
12216 (whitespace-space, whitespace-hspace, whitespace-tab)
12217 (whitespace-newline, whitespace-trailing, whitespace-line)
12218 (whitespace-space-before-tab, whitespace-indentation)
12219 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12220 obsolete defvars.
12221 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12222 (whitespace-color-on): Use a single font-lock-add-keywords call.
12223 Fix double-evaluation of face variables.
12224
12225 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12226
12227 * net/tramp-adb.el (tramp-adb-parse-device-names):
12228 Use `start-process' instead of `call-process'. Otherwise, the
12229 function might be blocked under MS Windows. (Bug#13299)
12230
12231 2013-03-17 Leo Liu <sdl.web@gmail.com>
12232
12233 Extend eldoc to display info in the mode-line. (Bug#13978)
12234 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12235 (eldoc-mode-line-string): New variable.
12236 (eldoc-minibuffer-message): New function.
12237 (eldoc-message-function): New variable.
12238 (eldoc-message): Use it.
12239 (eldoc-display-message-p)
12240 (eldoc-display-message-no-interference-p):
12241 Support eldoc-post-insert-mode.
12242
12243 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12244 (eval-expression): Run it.
12245
12246 2013-03-17 Roland Winkler <winkler@gnu.org>
12247
12248 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12249 strings in the list of return values.
12250
12251 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12252
12253 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12254 radix before checking for HMS forms.
12255
12256 2013-03-16 Leo Liu <sdl.web@gmail.com>
12257
12258 * progmodes/scheme.el: Add indentation and font-locking for λ.
12259 (Bug#13975)
12260
12261 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12264 token before point (bug#13942).
12265
12266 2013-03-16 Leo Liu <sdl.web@gmail.com>
12267
12268 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12269
12270 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12271
12272 * startup.el (command-line-normalize-file-name): Fix handling of
12273 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12274 <xfq.free@gmail.com> in
12275 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12276
12277 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12278
12279 Sync with Tramp 2.2.7.
12280
12281 * net/trampver.el: Update release number.
12282
12283 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12284
12285 * doc-view.el: Fix bug#13887.
12286 (doc-view-insert-image): Don't modify overlay associated to
12287 non-live windows, and implement horizontal centering of image in
12288 case it's smaller than the window.
12289 (doc-view-new-window-function): Force redisplay of new windows on
12290 doc-view buffers.
12291
12292 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12293
12294 * saveplace.el (save-place-alist-to-file): Don't sort
12295 `save-place-alist', just pretty-print it (bug#13882).
12296
12297 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12298
12299 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12300 Check whether `default-file-name-coding-system' is bound.
12301 It isn't in XEmacs.
12302
12303 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12304
12305 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12306 backquotes for `obsolete' (bug#13929).
12307
12308 * international/mule.el (find-auto-coding): Include file name in
12309 obsolescence warning (bug#13922).
12310
12311 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12312
12313 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12314 for CFEngine 3-specific indentation.
12315 (cfengine3-indent-line): Use it. Fix up category regex.
12316 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12317
12318 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * type-break.el (type-break-file-name):
12321 * textmodes/remember.el (remember-data-file):
12322 * strokes.el (strokes-file):
12323 * shadowfile.el (shadow-initialize):
12324 * saveplace.el (save-place-file):
12325 * ps-bdf.el (bdf-cache-file):
12326 * progmodes/idlwave.el (idlwave-config-directory):
12327 * net/quickurl.el (quickurl-url-file):
12328 * international/kkc.el (kkc-init-file-name):
12329 * ido.el (ido-save-directory-list-file):
12330 * emulation/viper.el (viper-custom-file-name):
12331 * emulation/vip.el (vip-startup-file):
12332 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12333 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12334
12335 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12336
12337 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12338 * language/thai-word.el: Switch to UTF-8.
12339
12340 See ChangeLog.16 for earlier changes.
12341
12342 ;; Local Variables:
12343 ;; coding: utf-8
12344 ;; End:
12345
12346 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12347
12348 This file is part of GNU Emacs.
12349
12350 GNU Emacs is free software: you can redistribute it and/or modify
12351 it under the terms of the GNU General Public License as published by
12352 the Free Software Foundation, either version 3 of the License, or
12353 (at your option) any later version.
12354
12355 GNU Emacs is distributed in the hope that it will be useful,
12356 but WITHOUT ANY WARRANTY; without even the implied warranty of
12357 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12358 GNU General Public License for more details.
12359
12360 You should have received a copy of the GNU General Public License
12361 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.