Spelling fix.
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
2
3 Revert some of the CANNOT_DUMP fix (Bug#16494).
4 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5 but fixing this can wait until after the next release.
6 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
7
8 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
9
10 * eshell/esh-mode.el (eshell-password-prompt-regexp):
11 Use `password-word-equivalents'.
12 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
13 to t. (Bug#5664, Bug#13124)
14
15 2014-01-19 Alan Mackenzie <acm@muc.de>
16
17 Bind open-paren-in-column-0-is-defun-start to nil at some entry
18 points.
19 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
20 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
21 * progmodes/cc-mode.el (c-before-change, c-after-change)
22 (c-font-lock-fontify-region): Bind it here.
23
24 2014-01-19 Martin Rudalics <rudalics@gmx.at>
25
26 * term.el (term-window-width): Call window-text-width instead of
27 window-width (Bug#16470).
28
29 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
30
31 * simple.el (password-word-equivalents): Remove duplicates.
32 Sort, to make this easier next time.
33 Downcase. Omit ": " after "jelszó".
34
35 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
36
37 * term/common-win.el (saved-region-selection): Defvar it.
38 (x-select-text): Set saved-region-selection (Bug#16382).
39
40 2014-01-18 Glenn Morris <rgm@gnu.org>
41
42 * emacs-lisp/authors.el (authors-aliases)
43 (authors-renamed-files-alist): Add some entries.
44
45 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
46
47 * net/tramp.el (tramp-password-prompt-regexp):
48 Use `password-word-equivalents' if available.
49 (tramp-action-password, tramp-process-one-action)
50 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
51
52 2014-01-17 Chong Yidong <cyd@gnu.org>
53
54 * simple.el (password-word-equivalents): New defcustom.
55 * comint.el (comint-password-prompt-regexp): Use it. Bump version
56 to 24.4.
57 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
58 to t. (Bug#13124)
59
60 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
63 (ruby-align-to-stmt-keywords): Change the default value. Use
64 `ruby-alignable-keywords' to generate the possible customization
65 choices.
66 (ruby-smie-rules): Instead of using a hardcoded list of alignable
67 keywords, check against the value of `ruby-alignable-keywords'
68 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
69
70 2014-01-17 Glenn Morris <rgm@gnu.org>
71
72 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
73
74 Make M-x authors return zero *Authors Errors* from current logs.
75 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
76 (authors-ignored-files): Add some entries, remove others.
77 (authors-ambiguous-files, authors-valid-file-names):
78 Add some entries.
79 (authors-renamed-files-alist): Add, remove, and adjust entries.
80 (authors-renamed-files-regexps): Add some entries.
81 Remove some very broad ones. Make some entries `lax'.
82 (authors-lax-changelogs): New constant.
83 (authors-disambiguate-file-name): Treat top-level specially.
84 (authors-lax-changelog-p): New function.
85 (authors-canonical-file-name): Check file as written against
86 authors-valid-file-names. Do not special-case etc/.
87 Handle `lax' logs and authors-renamed-files-regexps elements.
88
89 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
90
91 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
92 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
93 callers.
94
95 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
98 Assume we're already in the proper buffer.
99 Inspired by Anders Lindgren <andlind@gmail.com>.
100 (follow-post-command-hook): Call it from the right buffer.
101 (follow-comint-scroll-to-bottom): Adjust call.
102 (follow-all-followers): Use get-buffer-window-list.
103
104 2014-01-15 Daniel Colascione <dancol@dancol.org>
105
106 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
107 `buffer-file-name' in interactive-form so that we don't leave
108 pathless file names in `file-name-history'.
109
110 2014-01-15 Juri Linkov <juri@jurta.org>
111
112 * indent.el (indent-rigidly): Set deactivate-mark to nil
113 in transient indentation mode. (Bug#16438)
114
115 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
116
117 * emacs-lisp/package.el (package-desc-keywords): New function
118 (Bug#16222).
119 (describe-package-1, package-all-keywords)
120 (package--has-keyword-p): Use it.
121
122 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
123
124 * simple.el (define-alternatives): When creating the
125 COMMAND-alternatives variable, assign COMMAND as its definition
126 name so that `describe-variable' can relocate it.
127
128 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
129
130 * font-lock.el (font-lock-keywords): Fix typo in docstring
131 (bug#16307).
132
133 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
134
135 * ispell.el (ispell-region): Reset `in-comment' for new line
136 instead of wrongly reset `add-coment' (bug#13577).
137
138 2014-01-14 Daiki Ueno <ueno@gnu.org>
139
140 * epa-file.el (epa-file-write-region): Encode the region according
141 to `buffer-file-format'. Problem reported at:
142 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
143
144 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
147 so it applies in the right buffer (bug#16410).
148
149 2014-01-13 Daniel Colascione <dancol@dancol.org>
150
151 * textmodes/rst.el (rst-define-key): Provide deprecated
152 keybindings through named functions instead of anonymous ones so
153 that "??" doesn't appear in describe-mode output.
154
155 2014-01-13 Bastien Guerry <bzg@gnu.org>
156
157 * simple.el (define-alternatives): Call the selected command
158 interactively. When setting `COMMAND--implementation' for the
159 first time, tell the user how to chose another implementation.
160 Enhance the docstring.
161
162 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
163
164 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
165 (log-edit--match-first-line): New function.
166 (log-edit-font-lock-keywords): Use it.
167 (log-edit-mode): Make jit-lock-defer-multiline work.
168
169 2014-01-13 Bastien Guerry <bzg@gnu.org>
170
171 * rect.el (rectangle-mark-mode): When the region is not active,
172 display a message saying that the mark as been set and that
173 rectangle mode is in use.
174 (rectangle--highlight-for-redisplay): Only put an overlay with a
175 visible vertical bar when (display-graphic-p) is non-nil.
176 This partially fixes Bug#16403.
177
178 2014-01-13 Juri Linkov <juri@jurta.org>
179
180 * info.el (Info-find-file): Go to DIR before displaying the error
181 about a nonexistent file if no previous Info file is visited.
182 Use `user-error' instead of `error' for "Info file %s does not exist".
183 (Info-find-node-2): In case of a nonexistent node in unwind forms
184 go to the Top node if there is no previous node to revert to.
185 (Bug#16405)
186
187 2014-01-13 Martin Rudalics <rudalics@gmx.at>
188
189 fit-frame/window-to-buffer code fixes including one for Bug#14096.
190 * window.el (fit-frame-to-buffer): Fix doc-string.
191 Respect window-min-height/-width. Fit pixelwise when
192 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
193 when avoiding that frame goes partially off-screen.
194 (fit-window-to-buffer): Respect window-min-height/-width
195 (Bug#14096).
196
197 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
198
199 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
200 after an empty line.
201
202 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * net/shr.el (shr-render-region): Autoload.
205
206 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
207
208 * net/eww.el (eww-download-directory): Rename from
209 `eww-download-path' (Bug#16419).
210
211 2014-01-12 Leo Liu <sdl.web@gmail.com>
212
213 * dired-x.el (dired-mode-map): Fix last change.
214
215 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
216
217 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
218
219 Spelling fixes.
220 * emacs-lisp/generic.el (generic--normalize-comments):
221 Rename from generic--normalise-comments. All uses changed.
222 * play/bubbles.el (bubbles--neighborhood-score):
223 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
224 (bubbles--neighborhood-available)
225 (bubbles--update-neighborhood-score):
226 Rename from names with 'neighbourhood'. All uses changed.
227
228 2014-01-12 Leo Liu <sdl.web@gmail.com>
229
230 Re-implement the feature of showing eldoc info after editing.
231 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
232 (eldoc-edit-message-commands): New function.
233 (eldoc-print-after-edit): New variable.
234 (eldoc-pre-command-refresh-echo-area): Emit message only by
235 eldoc-message-commands.
236 (eldoc-mode): Restrict eldoc-message-commands to editing commands
237 if eldoc-print-after-edit is set. (Bug#16346)
238
239 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
240
241 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
242
243 * version.el (emacs-repository-get-version): Enhance so the
244 function works correctly in either a Bazaar or Git repo.
245
246 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
247 Goes with removal of the joke manpages from /etc.
248
249 2014-01-10 K. Handa <handa@gnu.org>
250
251 * mail/rmail.el (rmail-get-coding-system):
252 Check rmail-get-coding-function before "funcall"ing it.
253
254 2014-01-10 Glenn Morris <rgm@gnu.org>
255
256 * emacs-lisp/authors.el (authors-fixed-entries):
257 Update for files that no longer exist.
258
259 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
260
261 * version.el (emacs-bzr-get-version): Restore compatibilty with
262 24.3 (Tested).
263
264 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
265
266 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
267 and Podfile.
268
269 2014-01-10 Eli Zaretskii <eliz@gnu.org>
270
271 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
272
273 2014-01-10 Chong Yidong <cyd@gnu.org>
274
275 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
276
277 2014-01-10 Anders Lindgren <andlind@gmail.com>
278
279 * follow.el (follow-cache-command-list): Include right-char and
280 left-char.
281
282 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
283
284 Spelling fixes.
285 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
286 * woman.el (woman-mark-horizontal-position):
287 Rename from woman-mark-horizonal-position. Use changed.
288
289 2014-01-10 Glenn Morris <rgm@gnu.org>
290
291 * info.el (info-initialize): If running uninstalled, ensure our
292 own info files are always found first, even if INFOPATH is set.
293
294 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
295
296 2014-01-09 David Engster <deng@randomsample.de>
297
298 * emacs-lisp/eieio-custom.el:
299 * emacs-lisp/eieio-opt.el: Set generated autoload file to
300 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
301 * emacs-lisp/eieio.el: Regenerate autoloads.
302
303 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
304
305 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
306 following renames. (Bug#8756)
307
308 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
311 (bug#16382).
312 (activate-mark): Add `no-tmm' argument.
313 (set-mark, push-mark-command): Use it instead of running
314 activate-mark-hook by hand.
315
316 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
317
318 In preparation for the move to git, sanitize out some
319 Bazaar-specific names.
320
321 * version.el (emacs-bzr-version): Name changed to
322 emacs-repository-version. Obsolete-variable alias made.
323 * loadup.el: Follow through on this name change.
324 * mail/emacsbug.el (report-emacs-bug): Factor out any
325 assumption about the version control system in use.
326
327 2014-01-08 David Engster <deng@randomsample.de>
328
329 * help-fns.el (help-fns-describe-function-functions):
330 New variable to call functions for augmenting help buffers.
331 (describe-function-1): Remove explicit calls to
332 `help-fns--compiler-macro', `help-fns--parent-mode' and
333 `help-fns--obsolete'. Put them in above new variable instead, and
334 call them through `run-hook-with-args'.
335 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
336 `eieio-describe-class'. Not meant for interactive use anymore,
337 but to augment existing help buffers. Remove optional second
338 argument. Create proper button for file location.
339 Rewrite function to use `insert' instead of `princ' and `prin1' where
340 possible.
341 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
342 (eieio-method-def, eieio-class-def): Move further up.
343 (describe-method, describe-generic, eieio-describe-method):
344 Remove aliases.
345 (eieio-help-constructor, eieio-help-generic): Rename from
346 `eieio-describe-constructor' and `eieio-describe-generic', resp.
347 Rewrite to use `insert' in the current buffer and use proper help
348 buttons.
349 (eieio-help-find-method-definition)
350 (eieio-help-find-class-definition): Also accept symbols as
351 arguments.
352 (eieio-help-mode-augmentation-maybee): Remove.
353 (eieio-describe-class-sb): Use `describe-function'.
354 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
355 Add `eieio-help-generic' and `eieio-help-constructor'.
356
357 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
358
359 Spelling fixes.
360 * language/china-util.el (hz-ascii-designation):
361 Rename from hz-ascii-designnation.
362 (hz-ascii-designation): Rename from hz-ascii-designnation.
363 All uses changed.
364
365 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
368 package-alist.
369
370 2014-01-08 Bastien Guerry <bzg@gnu.org>
371
372 * emacs-lisp/package.el (package-delete):
373 Correctly delete the package from package-alist.
374
375 2014-01-08 Daiki Ueno <ueno@gnu.org>
376
377 * emacs-lisp/package.el (url-recreate-url): Declare.
378 (url-http-target-url): Declare.
379 (package-handle-response): Include requested URL in the error message.
380 (package--check-signature): Don't re-signal errors from
381 package--with-work-buffer. Suggested by Stefan Monnier.
382
383 2014-01-07 Bastien Guerry <bzg@gnu.org>
384
385 * minibuffer.el (completion--try-word-completion): When both a
386 hyphen and a space are possible candidates for the character
387 following a word, display both candidates. (Bug#15980)
388
389 2014-01-07 Martin Rudalics <rudalics@gmx.at>
390
391 * window.el (balance-windows-2): While rounding don't give a
392 window more than the remainder. Bug#16351, Bug#16383.
393
394 2014-01-07 Glenn Morris <rgm@gnu.org>
395
396 * menu-bar.el (menu-bar-help-extra-packages): Remove.
397 (menu-bar-help-menu): Use view-external-packages instead.
398
399 2014-01-07 Bastien Guerry <bzg@gnu.org>
400
401 * emacs-lisp/package.el (package-delete): Also delete the package
402 name from `package-alist', not its description only.
403
404 2014-01-07 Glenn Morris <rgm@gnu.org>
405
406 * help.el (view-external-packages):
407 * menu-bar.el (menu-bar-help-extra-packages):
408 Visit efaq.info rather than etc/MORE.STUFF.
409
410 2014-01-07 Juri Linkov <juri@jurta.org>
411
412 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
413 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
414
415 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
416 that shadows RET. (Bug#16342)
417
418 2014-01-07 Chong Yidong <cyd@gnu.org>
419
420 * isearch.el (isearch-yank-char, isearch-yank-word)
421 (isearch-yank-line): Doc fix.
422
423 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
426 * emacs-lisp/elint.el (elint-find-builtins):
427 * emacs-lisp/eldoc.el (eldoc-symbol-function):
428 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
429 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
430 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
431 * apropos.el (apropos-safe-documentation):
432 * subr.el (symbol-file): Remove redundant fboundp.
433 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
434
435 2014-01-06 Bastien Guerry <bzg@gnu.org>
436
437 * hl-line.el (global-hl-line-overlay): Make a local variable.
438 (global-hl-line-overlays): New variable to store all overlays.
439 (global-hl-line-mode): Don't delete overlays from the current
440 buffer when `global-hl-line-sticky-flag' is non-nil.
441 (global-hl-line-highlight): Add new overlays to
442 `global-hl-line-overlays'.
443 (global-hl-line-unhighlight-all): New function to delete all
444 overlays when turning off `global-hl-line-mode'.
445 This fixes Bug#16183.
446
447 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * subr.el (set-transient-map): Fix nested case and docstring.
450
451 2014-01-06 Tassilo Horn <tsdh@gnu.org>
452
453 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
454 `Texinfo' entry.
455
456 2014-01-06 Daniel Colascione <dancol@dancol.org>
457
458 Fix defun navigation in vc log view.
459
460 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
461 like `beginning-of-defun'.
462 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
463 log-view-end-of-defun to log-view-end-of-defun-1. Replace
464 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
465 (log-view-extract-comment): Call `log-view-current-entry' directly
466 instead of relying on broken `log-view-beginning-of-defun' behavior.
467
468 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
469
470 Spelling fixes.
471 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
472 * emacs-lisp/debug.el (cancel-debug-on-entry):
473 * epg.el (epg-error-to-string):
474 * files.el (recover-file):
475 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
476 * mail/emacsbug.el (report-emacs-bug-hook):
477 * mail/sendmail.el (mail-recover):
478 * ses.el (ses-yank-resize):
479 * term/ns-win.el (ns-print-buffer):
480 Spelling fixes in diagnostics, mostly for "canceled" with one L.
481 * epg.el (epg-key-capability-alist): Rename from misspelled version.
482 All uses changed.
483 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
484
485 2014-01-06 Leo Liu <sdl.web@gmail.com>
486
487 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
488 to avoid shadowing global key. (Bug#16354)
489
490 2014-01-06 Daniel Colascione <dancol@dancol.org>
491
492 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
493 rst-mode.
494
495 2014-01-05 Martin Rudalics <rudalics@gmx.at>
496
497 * window.el (balance-windows): Add mising t to fix Bug#16351.
498
499 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
500
501 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
502 (bug#16285).
503 (shr-insert): If we have a word that's longer than `shr-width',
504 break after it anyway. Otherwise we'll do no breaking once we get
505 such a long word.
506
507 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
508
509 * net/eww.el (eww): Support single/double quote for search.
510 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
511 (eww-history-quit): Delete and use quit-window.
512 (eww-history-kill): Delete, because it doesn't work well and
513 not necessary.
514 (eww-history-mode-map): Delete some keys and add easy-menu.
515
516 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
517
518 Fix misspelling of 'chinese' in rx (Bug#16237).
519 * emacs-lisp/rx.el (rx-categories): Correct spelling of
520 chinese-two-byte.
521
522 Change subword regexps back to vars (Bug#16296).
523 * progmodes/subword.el (subword-forward-regexp)
524 (subword-backward-regexp): Change these back to variables.
525
526 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
529 syntax-begin-function (bug#16247).
530
531 2014-01-03 Chong Yidong <cyd@gnu.org>
532
533 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
534 (advice--docstring): Delete variable.
535 (advice--make-1): Leave the docstring empty.
536 (advice-add): Use function-documentation for advised docstring.
537
538 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
539 Ignore function-documentation property when getting documentation.
540 (ad-activate-advised-definition): Use function-documentation
541 generate the docstring.
542 (ad-make-advised-definition): Don't call
543 ad-make-advised-definition-docstring.
544 (ad-make-advised-definition-docstring, ad-advised-definition-p):
545 Delete functions.
546
547 * progmodes/sql.el (sql-help): Use function-documentation instead
548 of dynamic-docstring-function property. No need to autoload now.
549 (sql--help-docstring): New variable.
550 (sql--make-help-docstring): Use it.
551
552 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * ielm.el (ielm-tab): Retarget.
555 (ielm-map): Use ielm-tab for tab.
556 (ielm-complete-filename): Use comint-filename-completion.
557 (ielm-complete-symbol): Remove.
558 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
559 remove ielm-tab from completion-at-point-functions (bug#16224).
560
561 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
562 Beware signals raised by predicates (bug#16201).
563
564 2014-01-02 Richard Stallman <rms@gnu.org>
565
566 * dired-aux.el (dired-do-print): Handle printer-name.
567
568 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
569 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
570 (rmail-epa-decrypt): Turn off mime processing.
571
572 * mail/rmail.el (rmail-make-in-reply-to-field):
573 Add parens in message-id.
574
575 * mail/rmail.el (rmail-get-coding-function): Variable.
576 (rmail-get-coding-system): Use it.
577
578 2013-12-31 Eli Zaretskii <eliz@gnu.org>
579
580 * international/mule-conf.el: Unify the charset indian-is13194.
581 (indian-is13194): Specify unify-map.
582
583 2013-12-31 Leo Liu <sdl.web@gmail.com>
584
585 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
586
587 2013-12-30 Daniel Colascione <dancol@dancol.org>
588
589 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
590 of printing a useless when we resume from sleep.
591
592 * progmodes/sh-script.el
593 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
594 in indentation code. (Bug#16233)
595
596 2013-12-28 João Távora <joaotavora@gmail.com>
597
598 * elec-pair.el (electric-pair-post-self-insert-function):
599 Don't open extra newlines at beginning of buffer. (Bug#16272)
600
601 2013-12-28 Eli Zaretskii <eliz@gnu.org>
602
603 * frame.el (window-system-for-display): Don't allow to create a
604 GUI frame from a -nw session on MS-Windows. (Bug#14739)
605
606 2013-12-28 Glenn Morris <rgm@gnu.org>
607
608 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
609 Update callers.
610
611 * apropos.el (apropos-match-face):
612 * calculator.el (calculator-displayer):
613 * dabbrev.el (dabbrev-search-these-buffers-only):
614 * face-remap.el (buffer-face-mode-face):
615 * simple.el (yank-handled-properties):
616 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
617 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
618 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
619 (hashcash-double-spend-database):
620 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
621 (ruby-deep-indent-paren-style):
622 * textmodes/flyspell.el (flyspell-auto-correct-binding):
623 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
624 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
625 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
626 Specify custom types.
627
628 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
629 * bookmark.el (bookmark-bmenu-use-header-line):
630 * doc-view.el (doc-view-scale-internally):
631 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
632 * register.el (register-preview-delay):
633 * net/shr.el (shr-bullet):
634 * progmodes/cfengine.el (cfengine-cf-promises)
635 (cfengine-parameters-indent):
636 * progmodes/octave.el (inferior-octave-error-regexp-alist):
637 * textmodes/reftex-vars.el (reftex-label-regexps):
638 * vc/log-edit.el (log-edit-setup-add-author): Add version.
639
640 * net/tls.el (tls-certtool-program): Fix default value.
641
642 * desktop.el (desktop-restore-in-current-display):
643 * newcomment.el (comment-empty-lines):
644 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
645 (idlwave-pad-keyword):
646 * progmodes/tcl.el (tcl-tab-always-indent):
647 * textmodes/reftex-vars.el (reftex-index-default-tag):
648 * elec-pair.el (electric-pair-skip-whitespace):
649 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
650
651 * emacs-lisp/authors.el (authors-ignored-files)
652 (authors-valid-file-names, authors-renamed-files-alist): Additions.
653
654 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
655
656 * shell.el (shell-dynamic-complete-command): Doc fix.
657 (shell--command-completion-data): Shell completion now matches
658 executable filenames from the current buffer's directory, on
659 systems in which this behavior is the default (windows-nt, ms-dos).
660
661 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
662
663 * net/shr.el (shr-insert): Don't infloop if the width is zero.
664
665 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
666
667 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
668 (bug#16251).
669
670 * electric.el: Move all electric-pair-* to elec-pair.el.
671 * elec-pair.el: New file, split from electric.el.
672
673 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
674
675 * net/shr.el (shr-find-fill-point): Don't try to fill if the
676 indentation level is larger than the width, because that will
677 infloop.
678 (shr-insert): Fill repeatedly long texts, so that Japanese is
679 formatted correctly (bug#16263).
680 (shr-find-fill-point): Off by one error in comparison with the
681 indentation.
682
683 2013-12-26 João Távora <joaotavora@gmail.com>
684
685 * electric.el (electric-pair-mode): More flexible engine for skip-
686 and inhibit predicates, new options for pairing-related functionality.
687 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
688 if that keeps or improves their balance in buffers.
689 (electric-pair-delete-adjacent-pairs): Delete the pair when
690 backspacing over adjacent matched delimiters.
691 (electric-pair-open-extra-newline): Open extra newline when
692 inserting newlines between adjacent matched delimiters.
693 (electric--sort-post-self-insertion-hook):
694 Sort post-self-insert-hook according to priority values when
695 minor-modes are activated.
696 * simple.el (newline-and-indent): Call newline with interactive
697 set to t.
698 (blink-paren-post-self-insert-function): Set priority to 100.
699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
700 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
701 comments. Locally set electric-pair-skip-whitespace to 'chomp and
702 electric-pair-open-newline-between-pairs to nil.
703
704 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
705
706 * progmodes/python.el: Use lexical-binding.
707 (python-nav-beginning-of-defun): Stop searching ASAP.
708
709 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
710
711 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
712 Fix interactive spec. Doc fix. (Bug#15754)
713
714 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
715
716 * emacs-lisp/byte-run.el (eval-when-compile):
717 * progmodes/cc-defs.el (cc-eval-when-compile):
718 Fix edebug spec (bug#16184).
719
720 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
721
722 * net/shr.el (shr-visit-file): Remove debugging function.
723 (shr-insert): Don't infloop if we can't find a good place to break
724 the line (bug#16256).
725
726 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
727
728 * progmodes/python.el:
729 (python-nav--lisp-forward-sexp): New function.
730 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
731 python-nav-lisp-forward-sexp-safe.
732 (python-nav--forward-sexp): New argument SAFE allows switching
733 forward sexp movement behavior for parens.
734 (python-nav-forward-sexp): Throw errors on unterminated parens
735 (Bug#16191).
736 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
737 (python-nav-backward-sexp-safe): New functions.
738 (python-shell-buffer-substring):
739 Use `python-nav-forward-sexp-safe'.
740
741 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
742
743 * net/shr.el (shr-find-fill-point): Don't break lines before a
744 quotation mark.
745 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
746 (shr-find-fill-point): Remove the special checks for the quotation
747 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
748
749 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
750
751 * net/eww.el (eww-form-textarea): Use a different face for
752 textareas than text input since they have different keymaps
753 (bug#16142).
754
755 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
756
757 * progmodes/python.el (python-nav-beginning-of-statement):
758 Speed up (Bug#15295).
759
760 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
761
762 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
763 the window configuration.
764
765 2013-12-24 Eli Zaretskii <eliz@gnu.org>
766
767 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
768 we run on MS-Windows or MS-DOS.
769
770 2013-12-24 Martin Rudalics <rudalics@gmx.at>
771
772 * window.el (balance-windows-area): Call window-size instead of
773 window-height and window-width. Bug#16241.
774
775 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
776
777 * net/eww.el (eww-bookmark-quit): Remove.
778 (eww-bookmark-browse): Restore the window configuration when you
779 choose a bookmark (bug#16144).
780
781 2013-12-24 Daniel Colascione <dancol@dancol.org>
782
783 * icomplete.el: Remove redundant :group arguments to `defcustom'
784 throughout.
785 (icomplete-show-matches-on-no-input): New customizable variable.
786 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
787 we have something to show.
788 (icomplete-exhibit): Compute completions even if we have no user input.
789
790 2013-12-23 Daniel Colascione <dancol@dancol.org>
791
792 * icomplete.el: Move `provide' to end of file.
793
794 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
795
796 * net/gnutls.el (gnutls-verify-error): Add version tag.
797
798 2013-12-23 Chong Yidong <cyd@gnu.org>
799
800 * subr.el (set-transient-map): Rename from
801 set-temporary-overlay-map. Doc fix.
802
803 * face-remap.el (text-scale-adjust):
804 * indent.el (indent-rigidly):
805 * kmacro.el (kmacro-call-macro):
806 * minibuffer.el (minibuffer-force-complete):
807 * repeat.el (repeat):
808 * simple.el (universal-argument--mode):
809 * calendar/todo-mode.el (todo-insert-item--next-param):
810 * progmodes/f90.el (f90-abbrev-start): Callers changed.
811
812 * indent.el (indent-rigidly): Use substitute-command-keys.
813
814 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
815
816 * net/eww.el (eww-tag-select): Add text-property to jump to next
817 select field.
818 (eww): Add non-supported ftp error.
819
820 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
821
822 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
823 comments. Handle electric indent after typing `?' and `!'.
824
825 2013-12-22 Chong Yidong <cyd@gnu.org>
826
827 * faces.el (face-spec-recalc): If the theme specs are not
828 applicable to a frame, fall back on the defface spec.
829 This prevents themes from obliterating faces on low-color terminals.
830
831 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
832
833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
834 after `{'. We need it after block openers, and it doesn't seem
835 to hurt after hash openers.
836
837 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
840 extracted from `ruby-smie-rules'.
841 (ruby--electric-indent-chars): New variable.
842 (ruby--electric-indent-p): New function.
843 (ruby-mode): Use `electric-indent-functions' instead of
844 `electric-indent-chars'.
845
846 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
847
848 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
849 docstring.
850 (ruby-smie-rules): Indent plus one level after `=>'.
851
852 2013-12-21 Richard Stallman <rms@gnu.org>
853
854 * simple.el (newline): Doc fix.
855
856 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
857
858 * net/eww.el (eww-list-histories, eww-list-histories)
859 (eww-history-browse, eww-history-quit, eww-history-kill)
860 (eww-history-mode-map, eww-history-mode): New command and
861 functions to list browser histories.
862 (eww-form-text): Support text form with disabled
863 and readonly attributes.
864 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
865
866 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
867
868 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
869 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
870 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
871 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
872 Use `user-error'.
873 (eww-bookmark-mode-map): Add menu.
874 (eww-render, eww-mode): Use `setq-local'.
875 (eww-tool-bar-map): New variable.
876 (eww-mode): Set `tool-bar-map'.
877 (eww-view-source): Check for `html-mode' with `fboundp'.
878
879 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
880
881 * net/shr.el (shr--extract-best-source): Don't bug out on audio
882 elements with text inside. Also remove debugging.
883
884 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
885
886 * cus-start.el (all): Add ns-use-srgb-colorspace.
887
888 2013-12-21 Chong Yidong <cyd@gnu.org>
889
890 * custom.el (custom-theme-recalc-face): Do nothing if the face is
891 undefined. Thus, theme settings for undefined faces do not take
892 effect until the faces are defined with defface, the same as with
893 theme variables.
894
895 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
896 (face-spec-reset-face): Don't assign extra properties in temacs.
897 (face-spec-recalc): Apply X resources too.
898
899 2013-12-21 Chong Yidong <cyd@gnu.org>
900
901 * faces.el (face-spec-set):
902 * cus-face.el (custom-theme-set-faces, custom-set-faces):
903 * custom.el (defface): Doc fixes (Bug#16203).
904
905 * indent.el (indent-rigidly-map): Add docstring, and move commands
906 into named functions.
907 (indent-rigidly-left, indent-rigidly-right)
908 (indent-rigidly-left-to-tab-stop)
909 (indent-rigidly-right-to-tab-stop): New functions. Decide on
910 indentation direction based on bidi direction, and accumulate
911 sequential commands in a single undo boundary.
912 (indent-rigidly--pop-undo): New utility function.
913
914 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
915
916 * faces.el (read-face-name): Require crm.el when using crm-separator.
917
918 2013-12-20 Daniel Colascione <dancol@dancol.org>
919
920 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
921 so that we don't reflow comments into the shebang line.
922
923 2013-12-20 Juri Linkov <juri@jurta.org>
924
925 * saveplace.el (save-place-to-alist): Add `dired-filename' as
926 a position when `dired-directory' is non-nil. Check integer
927 positions with `integerp'.
928 (toggle-save-place, save-places-to-alist): Add check for
929 `dired-directory'.
930 (save-place-find-file-hook): Check integer positions with
931 `integerp'.
932 (save-place-dired-hook): Use `dired-goto-file' when
933 `dired-filename' is found in the assoc list. Check integer
934 positions with `integerp'.
935 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
936
937 * dired.el (dired-initial-position-hook): Rename back from
938 `dired-initial-point-hook'.
939 (dired-initial-position): Rename `dired-initial-point-hook' to
940 `dired-initial-position-hook'.
941 (dired-file-name-at-point): Doc fix. (Bug#15329)
942
943 2013-12-20 Juri Linkov <juri@jurta.org>
944
945 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
946 (read-regexp-suggestions): New function.
947 (read-regexp): Use `read-regexp-defaults-function' to get default values.
948 Use `read-regexp-suggestions'. Add non-empty default to history
949 for empty input.
950 (occur-read-regexp-defaults-function): Remove function.
951 (occur-read-primary-args): Use `regexp-history-last' instead of
952 `occur-read-regexp-defaults-function'.
953
954 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
955 (hi-lock-line-face-buffer, hi-lock-face-buffer)
956 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
957 `hi-lock-read-regexp-defaults-function'. Doc fix.
958 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
959 with `find-tag-default-as-symbol-regexp'. Doc fix.
960 (hi-lock-read-regexp-defaults): Remove function.
961 (hi-lock-regexp-okay): Add check for null.
962
963 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
964 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
965
966 * subr.el (find-tag-default-as-symbol-regexp): New function.
967 (find-tag-default-as-regexp): Move symbol regexp formatting to
968 `find-tag-default-as-symbol-regexp'.
969
970 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
971
972 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
973 (Bug#14179)
974
975 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
976
977 * calendar/todo-mode.el: New implementation of item insertion
978 commands and key bindings.
979 (todo-key-prompt): New face.
980 (todo-insert-item): New command.
981 (todo-insert-item--parameters): New defconst, replacing defvar
982 todo-insertion-commands-args-genlist.
983 (todo-insert-item--param-key-alist): New defconst, replacing
984 defvar todo-insertion-commands-arg-key-list.
985 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
986 (todo-insert-item--argsleft, todo-insert-item--apply-args)
987 (todo-insert-item--next-param): New functions.
988 (todo-insert-item--args, todo-insert-item--argleft)
989 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
990 New variables.
991 (todo-key-bindings-t): Change binding of "i" from
992 todo-insertion-map to todo-insert-item.
993 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
994 (todo-insertion-command-name, todo-insertion-commands-names)
995 (todo-define-insertion-command, todo-insertion-commands)
996 (todo-insertion-key-bindings, todo-insertion-map): Remove.
997
998 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
999
1000 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1001 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1002 eval-when-compile.
1003 (todo-move-category): Allow choosing a non-existing todo file to
1004 move the category to, and create that file.
1005 (todo-default-priority): New user option.
1006 (todo-set-item-priority): Use it.
1007 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1008 (desktop-restore-file-buffer): Declare.
1009 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1010 (todo-modes-set-2): Locally set desktop-save-buffer to
1011 todo-desktop-save-buffer.
1012 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1013 (auto-mode-alist): Add autoload cookie.
1014
1015 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1016
1017 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1018 helpers.el was a poor choice of name.
1019 (string-remove-prefix): New function.
1020 (string-remove-suffix): New function.
1021
1022 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1023
1024 Fix assignment for new window total sizes.
1025 * window.el (window--pixel-to-size): Remove function.
1026 (window--pixel-to-total-1, window--pixel-to-total):
1027 Fix calculation of new total sizes.
1028
1029 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1030
1031 * comint.el (comint-output-filter): Fix rear-nonsticky property
1032 placement (Bug#16010).
1033
1034 2013-12-20 Chong Yidong <cyd@gnu.org>
1035
1036 * faces.el (read-color): Minor fix for completion function.
1037
1038 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1039
1040 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1041 New option. (Bug#16182)
1042 (ruby-smie--indent-to-stmt-p): Use it.
1043 (ruby-smie-rules): Revert the logic in the handling of `when'.
1044 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1045 (ruby-deep-arglist, ruby-deep-indent-paren)
1046 (ruby-deep-indent-paren-style): Update docstrings to note that the
1047 vars don't have any effect with SMIE.
1048
1049 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1050
1051 * calc/calc.el (calc-enter, calc-pop): Use the variable
1052 `calc-context-sensitive-enter'.
1053
1054 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1055
1056 * net/shr.el (shr-insert): Protect against infloops in degenerate
1057 tables.
1058
1059 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1060
1061 * progmodes/octave.el (octave): Add link to manual and octave
1062 homepage.
1063 (octave-mode-menu): Link to octave-mode manual.
1064
1065 2013-12-20 Leo Liu <sdl.web@gmail.com>
1066
1067 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1068 insertion using skeleton-end-newline. (Bug#16138)
1069
1070 2013-12-20 Juri Linkov <juri@jurta.org>
1071
1072 * replace.el (occur-engine): Use `add-face-text-property'
1073 to add the face property to matches and titles. (Bug#14645)
1074
1075 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1076 the palette of other hi-lock colors.
1077 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1078
1079 2013-12-19 Juri Linkov <juri@jurta.org>
1080
1081 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1082 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1083 (minibuffer-history-symbol): Move variable declaration closer to
1084 its usage.
1085
1086 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1087 (Bug#14785)
1088
1089 2013-12-19 Juri Linkov <juri@jurta.org>
1090
1091 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1092 New function.
1093 (log-edit-hook): Add it to :options. (Bug#16170)
1094
1095 2013-12-19 Juri Linkov <juri@jurta.org>
1096
1097 * simple.el (eval-expression-print-format): Don't check for
1098 command names and the last command. Always display additional
1099 formats of the integer result in the echo area, and insert them
1100 to the current buffer only with a zero prefix arg.
1101 Display character when char-displayable-p is non-nil.
1102 (eval-expression): With a zero prefix arg, set `print-length' and
1103 `print-level' to nil, and insert the integer values from
1104 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1105
1106 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1107 `eval-last-sexp-arg-internal'. Doc fix.
1108 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1109 `eval-last-sexp-print-value'. Doc fix.
1110 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1111 Set `print-length' and `print-level' to nil when arg is zero.
1112 (eval-last-sexp): Doc fix.
1113 (eval-defun-2): Print the integer values from
1114 `eval-expression-print-format' at the end.
1115
1116 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1117 values from `eval-expression-print-format' at the end.
1118
1119 * ielm.el (ielm-eval-input): Print the integer
1120 values from `eval-expression-print-format' at the end.
1121
1122 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1123
1124 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1125 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1126
1127 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1128
1129 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1130 (hl-line-highlight, global-hl-line-highlight): Use it.
1131 (hl-line-overlay): Use defvar-local.
1132
1133 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1134
1135 * term/ns-win.el: Require dnd.
1136 (global-map): Remove drag items.
1137 (ns-insert-text, ns-set-foreground-at-mouse)
1138 (ns-set-background-at-mouse):
1139 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1140 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1141 New functions.
1142
1143 2013-12-19 Glenn Morris <rgm@gnu.org>
1144
1145 * emacs-lisp/ert.el (ert-select-tests):
1146 Fix string/symbol mixup. (Bug#16121)
1147
1148 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1149
1150 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1151 keywords to their parent.
1152
1153 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1154
1155 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1156 first arg to be a string (fixed dead code), or an operator symbol.
1157 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1158 operator symbols.
1159 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1160 did nothing. Don't respond to `(:after ".")', it will be called
1161 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1162 change anything. Only return indentation for binary operators
1163 when they are hanging. De-dent opening paren when its parent is
1164 `.', otherwise it looks bad when the dot is not at bol or eol
1165 (bug#16182).
1166
1167 2013-12-19 Juri Linkov <juri@jurta.org>
1168
1169 * replace.el (query-replace-read-args): Split a non-negative arg
1170 and a negative arg into separate elements.
1171 (query-replace, query-replace-regexp, replace-string)
1172 (replace-regexp): Add arg `backward'. Doc fix.
1173 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1174 move point to the beginning of the match.
1175 (replace-search, replace-highlight): Use new arg `backward'
1176 to set the value of `isearch-forward'.
1177 (perform-replace): Add arg `backward' and use it to perform
1178 replacement backward. (Bug#14979)
1179
1180 * isearch.el (isearch-query-replace): Use a negative prefix arg
1181 to call `perform-replace' with a non-nil arg `backward'.
1182
1183 2013-12-18 Juri Linkov <juri@jurta.org>
1184
1185 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1186 to the default list. Move `log-edit-show-files' to the end.
1187 Add more available functions to options.
1188 (log-edit): Move default specific settings to
1189 `log-edit-insert-message-template'. Don't move point.
1190 (log-edit-insert-message-template): New function.
1191 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1192 (Bug#16170)
1193
1194 2013-12-18 Juri Linkov <juri@jurta.org>
1195
1196 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1197 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1198
1199 2013-12-18 Leo Liu <sdl.web@gmail.com>
1200
1201 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1202 (Bug#16186)
1203
1204 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1205
1206 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1207 formats for displaying file sizes when the -s switch is given.
1208 Instead, compute a separate format for displaying the size in
1209 blocks, which is displayed in addition to the "regular" size.
1210 When -h is given in addition to -s, produce size in blocks in
1211 human-readable form as well. (Bug#16179)
1212
1213 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1214
1215 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1216 Reference tables with ~\ref{...} instead of only \ref{...}.
1217
1218 2013-12-18 Chong Yidong <cyd@gnu.org>
1219
1220 * cus-edit.el (custom-magic-alist): Fix "themed" description
1221 (Bug#14348).
1222
1223 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1224 is non-nil, do not create a new entry in the symbol's theme-value
1225 or theme-face property; update theme-settings only (Bug#14664).
1226 (custom-available-themes): Doc fix.
1227
1228 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1229 (Bug#15674).
1230
1231 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1232
1233 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1234
1235 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1236 (Bug#13914).
1237
1238 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1239
1240 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1241
1242 2013-12-18 Glenn Morris <rgm@gnu.org>
1243
1244 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1245 * cus-start.el (load-prefer-newer): New option.
1246
1247 2013-12-18 Le Wang <l26wang@gmail.com>
1248
1249 * comint.el (comint-previous-matching-input-from-input):
1250 Retain point (Bug#13404).
1251
1252 2013-12-18 Chong Yidong <cyd@gnu.org>
1253
1254 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1255
1256 2013-12-18 Glenn Morris <rgm@gnu.org>
1257
1258 * mail/emacsbug.el (report-emacs-bug):
1259 Only mention enable-multibyte-characters if non-standard.
1260
1261 2013-12-17 Juri Linkov <juri@jurta.org>
1262
1263 * arc-mode.el (archive-extract-by-file): Check if directory exists
1264 before deletion to not show irrelevant errors if it doesn't exist.
1265
1266 2013-12-17 Juri Linkov <juri@jurta.org>
1267
1268 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1269 (Bug#14751)
1270
1271 * net/eww.el (browse-web): Add alias to `eww'.
1272 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1273 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1274
1275 * net/browse-url.el (browse-url-browser-function): Move `eww'
1276 closer to similar functions.
1277
1278 * startup.el (fancy-startup-screen, fancy-about-screen):
1279 Set browse-url-browser-function to eww-browse-url locally.
1280 (Bug#14751)
1281
1282 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * window.el (window--pixel-to-total): Remove unused `mini' var.
1285 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1286 (split-window): Remove unused `new' var.
1287 (window--display-buffer): Remove unused `frame' and `delta' vars.
1288 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1289 and display-width'.
1290
1291 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1292
1293 * dired.el (dired-mark-pop-up):
1294 * register.el (register-preview): Don't bind
1295 split-height-threshold here since it's now done in
1296 display-buffer-below-selected.
1297
1298 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1299
1300 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1301 xterm-rgb-convert-to-16bit.
1302 (rxvt-register-default-colors): Standardize with
1303 xterm-register-default-colors (Bug#14078).
1304
1305 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1306
1307 * simple.el (kill-region): Pass mark first, then point, so that
1308 kill-append works right (Bug#12819).
1309 (copy-region-as-kill, kill-ring-save): Likewise.
1310
1311 2013-12-17 Leo Liu <sdl.web@gmail.com>
1312
1313 * net/rcirc.el (rcirc-add-face):
1314 * eshell/em-prompt.el (eshell-emit-prompt):
1315 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1316 (Bug#16167)
1317
1318 2013-12-17 Chong Yidong <cyd@gnu.org>
1319
1320 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1321 Suggested by Xue Fuqiao.
1322
1323 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1326
1327 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * net/shr.el (shr-insert-document): Remove unused var
1330 `shr-preliminary-table-render'.
1331 (shr-rescale-image): Remove unused arg `force'.
1332 (shr-put-image): Update calls accordingly.
1333 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1334
1335 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1336
1337 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1338 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1339 :close-all, to see which indentation method to use (Bug#16116).
1340 (smie-rules-function): Document the method :close-all.
1341
1342 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1343
1344 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1345
1346 * net/eww.el (eww-display-html): If we can't find the anchor we're
1347 looking for, then go to point-min.
1348
1349 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1350
1351 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1352 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1353 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1354 Expand dir too, in case it's relative.
1355
1356 2013-12-16 Juri Linkov <juri@jurta.org>
1357
1358 * desktop.el (desktop-auto-save-timeout): Change default to
1359 `auto-save-timeout'. Doc fix.
1360 (desktop-save): Skip the timestamp in desktop-saved-frameset
1361 when checking for auto-save changes.
1362 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1363 `desktop-auto-save' is called repeatedly by the idle timer.
1364 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1365 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1366 (Bug#15331)
1367
1368 2013-12-16 Juri Linkov <juri@jurta.org>
1369
1370 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1371 (Bug#16035)
1372 (isearch-pre-command-hook): Check `this-command' for symbolp.
1373
1374 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1375
1376 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1377
1378 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1379
1380 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1381 (cfengine3--current-function): Bring in the current-function
1382 functionality from `cfengine3--current-word'.
1383 (cfengine3-completion-function): Bring in the
1384 bounds-of-current-word functionality from
1385 `cfengine3--current-word'.
1386
1387 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1388
1389 * window.el (display-buffer-below-selected):
1390 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1391
1392 2013-12-16 Leo Liu <sdl.web@gmail.com>
1393
1394 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1395 Remove NOMSG arg and all uses changed.
1396
1397 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1398
1399 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1400 (cua--deactivate-rectangle): Don't deactivate the mark.
1401 (cua-set-rectangle-mark): Don't set mark-active since
1402 cua--activate-rectangle already does it for us.
1403 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1404 non-rectangular region.
1405
1406 * emulation/cua-base.el (cua-repeat-replace-region):
1407 Use with-current-buffer.
1408
1409 * net/gnutls.el: Use cl-lib.
1410 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1411
1412 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1413
1414 * emacs-lisp/package.el (package-built-in-p): Support both
1415 built-in and the package.el converted package descriptions.
1416 (package-show-package-list): Allow keywords.
1417 (package-keyword-button-action): Use it instead of
1418 `finder-list-matches'.
1419 (package-menu-filter-interactive): Interactive filtering (by
1420 keyword) function.
1421 (package-menu--generate): Support keywords and change keymappings
1422 and headers when they are given.
1423 (package--has-keyword-p): Helper function.
1424 (package-menu--refresh): Use it.
1425 (package--mapc): Helper function.
1426 (package-all-keywords): Use it.
1427 (package-menu-mode-map): Set up menu items and keybindings to
1428 provide a filtering UI.
1429
1430 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1431
1432 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1433 the behavior when a certificate fails validation. Defaults to
1434 old behavior: never abort, just warn.
1435 (gnutls-negotiate): Use it.
1436
1437 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1438
1439 * window.el (display-buffer-below-selected): Never split window
1440 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1441
1442 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1443
1444 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1445 (package-buffer-info): Use it (bug#15108).
1446
1447 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1448
1449 * icomplete.el (icomplete-completions): Make sure the prefix is already
1450 displayed elsewhere before hiding it (bug#16219).
1451
1452 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1455 open-paren tokens when preceded by a open-paren, too.
1456 (ruby-smie-rules): Handle virtual indentation after open-paren
1457 tokens specially. If there is code between it and eol, return the
1458 column where is starts (Bug#16118).
1459
1460 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1461
1462 * progmodes/cfengine.el: Fix `add-hook' doc.
1463 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1464 (cfengine3--current-word): Fix parameters.
1465 (cfengine3-make-syntax-cache): Simplify further.
1466 (cfengine3-completion-function, cfengine3--current-function):
1467 Use `assq' for symbols.
1468 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1469
1470 2013-12-13 Glenn Morris <rgm@gnu.org>
1471
1472 * loadup.el (load-path): Warn if site-load or site-init changes it.
1473 No more need to reset it when bootstrapping.
1474
1475 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1476
1477 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1478 locations for cf-promises.
1479 (cfengine-mode-syntax-functions-regex): New caching variable.
1480 (cfengine3-fallback-syntax): Fallback syntax for cases where
1481 cf-promises doesn't run.
1482 (cfengine3--current-word): Reimplement using
1483 `cfengine-mode-syntax-functions-regex'.
1484 (cfengine3-completion-function, cfengine3--current-function):
1485 Use `cfengine3-make-syntax-cache' directly.
1486 (cfengine3-clear-syntax-cache): New function.
1487 (cfengine3-make-syntax-cache): Simplify and create
1488 `cfengine-mode-syntax-functions-regex' on demand.
1489 (cfengine3-format-function-docstring): Don't call
1490 `cfengine3-make-syntax-cache' explicitly.
1491
1492 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1493
1494 Fix windmove-find-other-window broken after pixelwise resizing
1495 (Bug#16017).
1496 * windmove.el (windmove-other-window-loc): Revert change from
1497 2013-12-04.
1498 (windmove-find-other-window): Call window-in-direction.
1499 * window.el (window-in-direction): New arguments SIGN, WRAP and
1500 MINI to emulate original windmove-find-other-window behavior.
1501
1502 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1503
1504 * simple.el (blink-matching--overlay): New variable.
1505 (blink-matching-open): Instead of moving point, highlight the
1506 matching paren with an overlay
1507 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1508
1509 * faces.el (paren-showing-faces, show-paren-match)
1510 (show-paren-mismatch): Move from paren.el.
1511
1512 2013-12-13 Leo Liu <sdl.web@gmail.com>
1513
1514 * indent.el (indent-region): Disable progress reporter in
1515 minibuffer. (Bug#16108)
1516
1517 * bindings.el (visual-order-cursor-movement): Fix version.
1518
1519 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1520
1521 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1522 Also match after beginning of line.
1523 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1524 files. Thanks to Russell Sim. (Bug#15378)
1525
1526 2013-12-13 Juri Linkov <juri@jurta.org>
1527
1528 * simple.el <Keypad support>: Remove key bindings duplicated
1529 with bindings.el. (Bug#14397)
1530
1531 2013-12-13 Juri Linkov <juri@jurta.org>
1532
1533 * comint.el (comint-mode-map): Replace `delete-char' with
1534 `delete-forward-char'. (Bug#16109)
1535
1536 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1537
1538 * progmodes/python.el (python-indent-calculate-indentation):
1539 Fix de-denters cornercase. (Bug#15731)
1540
1541 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1544 (advice--make): Pay attention to `depth'.
1545 (advice--make-1): Don't autoload commands eagerly.
1546 * emacs-lisp/elp.el (elp-instrument-function):
1547 * emacs-lisp/trace.el (trace-function-internal):
1548 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1549
1550 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1551
1552 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1553
1554 * term/w32-win.el (w32-handle-dropped-file):
1555 * startup.el (normal-top-level):
1556 * net/browse-url.el (browse-url-file-url):
1557 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1558 decode file names using 'utf-8' rather than
1559 file-name-coding-system.
1560
1561 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1562
1563 * progmodes/python.el (python-indent-context)
1564 (python-indent-calculate-indentation): Fix auto-identation
1565 behavior for comment blocks. (Bug#15916)
1566
1567 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1568
1569 * progmodes/python.el (python-indent-calculate-indentation):
1570 When determining indentation, don't treat "return", "pass", etc., as
1571 operators when they are just string constituents. (Bug#15812)
1572
1573 2013-12-12 Juri Linkov <juri@jurta.org>
1574
1575 * uniquify.el (uniquify-buffer-name-style): Change default to
1576 `post-forward-angle-brackets'.
1577
1578 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1579 `uniquify'. Change default to `post-forward-angle-brackets'.
1580
1581 2013-12-11 Glenn Morris <rgm@gnu.org>
1582
1583 * emacs-lisp/package.el (finder-list-matches):
1584 Autoload rather than falsely declaring.
1585
1586 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1587
1588 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1589 (eww-mode-map): Use them.
1590
1591 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1592
1593 * window.el (display-buffer-in-side-window): Fix doc-string
1594 (Bug#16115).
1595
1596 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1597
1598 * vc/vc-git.el: Silence byte-compiler warnings.
1599 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1600 (log-edit-set-header): Declare.
1601
1602 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1603
1604 * Makefile.in (custom-deps, finder-data): Run output file names
1605 through unmsys--file-name. (Bug#16099)
1606
1607 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1608
1609 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1610 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1611
1612 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1613 instead of deleting the selection "by hand" (bug#16098).
1614 Rely on insert-for-yank to yank rectangles.
1615 (cua-highlight-region-shift-only): Mark obsolete.
1616 (cua-mode): Don't enable/disable transient-mark-mode,
1617 shift-select-mode (cua-mode works both with and without them), and
1618 pc-selection-mode (obsolete).
1619 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1620 (cua--deactivate-rectangle): Deactivate it.
1621
1622 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1623 (delete-selection-helper): Make sure yank starts at the top of the
1624 deleted region.
1625 (minibuffer-keyboard-quit): Use region-active-p.
1626
1627 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1628
1629 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1630 to `delete' (bug#16109).
1631
1632 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1633
1634 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1635 info manual and show keybindings and set `:group' keyword.
1636
1637 2013-12-11 Juri Linkov <juri@jurta.org>
1638
1639 * delsel.el (delete-active-region): Let-bind `this-command'
1640 to prevent `kill-region' from changing its original value.
1641 (delete-selection-helper): Handle `overwrite-mode' for the type
1642 `kill' exactly the same way as for the type `t'.
1643 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1644 Support more commands. (Bug#13312)
1645
1646 2013-12-11 Juri Linkov <juri@jurta.org>
1647
1648 * bindings.el: Map kp keys to non-kp keys systematically
1649 with basic modifiers control, meta and shift. (Bug#14397)
1650
1651 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1652
1653 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1654 "Close browser" menu items. Fix wrong function of "List
1655 bookmarks".
1656
1657 2013-12-11 Juri Linkov <juri@jurta.org>
1658
1659 * misearch.el (multi-isearch-buffers): Set the value of
1660 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1661 arg of isearch-forward to t.
1662 (multi-isearch-buffers-regexp): Set the value of
1663 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1664 arg of isearch-forward-regexp to t.
1665 (multi-isearch-files): Set the value of
1666 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1667 arg of isearch-forward to t.
1668 (multi-isearch-files-regexp): Set the value of
1669 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1670 arg of isearch-forward-regexp to t. (Bug#16035)
1671
1672 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1673 arg of isearch-forward to t.
1674 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1675 arg of isearch-forward-regexp to t.
1676 (dired-isearch-filter-filenames): Remove unnecessary check for
1677 `dired-isearch-filenames'.
1678
1679 * comint.el (comint-history-isearch-backward):
1680 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1681 (comint-history-isearch-backward-regexp):
1682 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1683
1684 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1685
1686 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1687 unmsys--file-name. (Bug#16099)
1688
1689 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1690
1691 * emacs-lisp/package.el (package-keyword-button-action):
1692 Remove finder.el require dependency.
1693
1694 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1695
1696 * emacs-lisp/package.el: Require finder.el.
1697 (describe-package-1): Add keyword buttons.
1698 (package-make-button): New convenience function.
1699 (package-keyword-button-action): Keyword button action using
1700 `finder-list-matches'.
1701
1702 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1703
1704 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1705 last commit.
1706
1707 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1708
1709 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1710 symlinked files.
1711
1712 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1713
1714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1715 after the end of a percent literal.
1716
1717 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1718
1719 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1720 Handle caret-delimited strings (Bug#16079).
1721
1722 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1723
1724 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1725 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1726 `ruby-parse-partial' (Bug#16078).
1727
1728 2013-12-09 Leo Liu <sdl.web@gmail.com>
1729
1730 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1731
1732 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1733
1734 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1735 (js-switch-indent-offset): New option.
1736 (js--proper-indentation): Use it. And handle the case when
1737 "default" is actually a key in an object literal.
1738 (js--same-line): New function.
1739 (js--multi-line-declaration-indentation): Use it.
1740 (js--indent-in-array-comp, js--array-comp-indentation):
1741 New functions.
1742 (js--proper-indentation): Use them, to handle array comprehension
1743 continuations.
1744
1745 2013-12-08 Leo Liu <sdl.web@gmail.com>
1746
1747 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1748 (flymake-make-overlay): Remove arg MOUSE-FACE.
1749 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1750
1751 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1754 New function.
1755 (redisplay-highlight-region-function): Use it.
1756
1757 * emulation/cua-base.el (cua--explicit-region-start)
1758 (cua--last-region-shifted): Remove.
1759 (cua--deactivate): Use deactivate-mark.
1760 (cua--pre-command-handler-1): Don't handle shift-selection.
1761 (cua--post-command-handler-1): Don't change transient-mark-mode.
1762 (cua--select-keymaps): Use region-active-p rather than
1763 cua--explicit-region-start or cua--last-region-shifted.
1764 (cua-mode): Enable shift-select-mode.
1765
1766 2013-12-08 Leo Liu <sdl.web@gmail.com>
1767
1768 * progmodes/flymake.el (flymake-popup-current-error-menu):
1769 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1770 (flymake-posn-at-point-as-event, flymake-popup-menu)
1771 (flymake-make-emacs-menu): Remove. (Bug#16077)
1772
1773 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * rect.el (rectangle-mark-mode): Activate mark even if
1776 transient-mark-mode is off (bug#16066).
1777 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1778 is > mark and at bolp.
1779
1780 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1781 (region-extract-function): Use it.
1782 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1783 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1784 Delete functions.
1785 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1786 kill-ring-save, kill-region, delete-char, delete-forward-char.
1787 Ignore self-insert-iso.
1788
1789 * emulation/cua-gmrk.el (cua--init-global-mark):
1790 Ignore `self-insert-iso'.
1791
1792 * emulation/cua-base.el (cua--prefix-copy-handler)
1793 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1794 checking cua--rectangle.
1795 (cua-delete-region): Use region-extract-function.
1796 (cua-replace-region): Delete function.
1797 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1798 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1799 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1800 (cua--init-keymaps): Don't remap delete-selection commands.
1801 (cua-mode): Use delete-selection-mode instead of rolling our own
1802 (bug#16085).
1803
1804 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1805 Obey region-extract-function.
1806
1807 Make registers and delete-selection-mode work on rectangles.
1808 * register.el (describe-register-1): Don't modify the register's value.
1809 (copy-to-register): Obey region-extract-function.
1810 * delsel.el (delete-active-region): Obey region-extract-function.
1811
1812 2013-12-08 Leo Liu <sdl.web@gmail.com>
1813
1814 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1815 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1816 (flymake-compilation-prevents-syntax-check)
1817 (flymake-start-syntax-check-on-newline)
1818 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1819 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1820 (flymake-xml-program, flymake-master-file-dirs)
1821 (flymake-master-file-count-limit)
1822 (flymake-allowed-file-name-masks): Relocate.
1823 (flymake-makehash, flymake-float-time)
1824 (flymake-replace-regexp-in-string, flymake-split-string)
1825 (flymake-get-temp-dir): Remove.
1826 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1827 (flymake-current-row, flymake-selected-frame)
1828 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1829 related functions. (Bug#16077)
1830
1831 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1832
1833 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1834
1835 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1836
1837 * help-fns.el (describe-function-1): Use new advice-* functions
1838 rather than old ad-* functions. Fix function type description and
1839 source links for advised functions and subrs.
1840
1841 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1842
1843 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1844
1845 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1846
1847 * progmodes/compile.el (compilation-start):
1848 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1849
1850 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1851 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1852
1853 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1856 Touch up the last change.
1857
1858 2013-12-06 Leo Liu <sdl.web@gmail.com>
1859
1860 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1861 (inferior-octave-startup): Always use "octave> " for prompt.
1862 (octave-goto-function-definition)
1863 (octave-sync-function-file-names)
1864 (octave-find-definition-default-filename): Remove redundant backquotes.
1865
1866 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1869 syntax for `?'.
1870 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1871 where appropriate already.
1872 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1873 end of method names (Bug#15874).
1874
1875 2013-12-06 Juri Linkov <juri@jurta.org>
1876
1877 * isearch.el (isearch--saved-overriding-local-map):
1878 New internal variable.
1879 (isearch-mode): Set it to the initial value of
1880 `overriding-terminal-local-map'.
1881 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1882 with `isearch--saved-overriding-local-map'. (Bug#16035)
1883
1884 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1885
1886 * progmodes/octave.el (inferior-octave-completion-table):
1887 Turn back into function, use `completion-table-with-cache'
1888 (Bug#11906). Update all references.
1889
1890 * minibuffer.el (completion-table-with-cache): New function.
1891
1892 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1893
1894 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1895
1896 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1897
1898 * net/eww.el (eww-current-source): New variable to store page
1899 source.
1900 (eww-display-html, eww-mode, eww-save-history)
1901 (eww-restore-history): Use it.
1902 (eww-view-source): New command to view page source.
1903 Opportunistically uses `html-mode' to highlight the buffer.
1904 (eww-mode-map): Install it.
1905
1906 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1907
1908 * net/dbus.el (dbus-unregister-service)
1909 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1910 Fix docstring.
1911 (dbus-unregister-service): Skip :serial entries in
1912 `dbus-registered-objects-table'.
1913 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1914
1915 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1916
1917 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1918 around keywords with extra `split-string' argument.
1919
1920 2013-12-04 Martin Rudalics <rudalics@gmx.at>
1921
1922 * windmove.el (windmove-other-window-loc): Handle navigation
1923 between windows (excluding the minibuffer window - Bug#16017).
1924
1925 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1928 in D-Bus type syntax.
1929 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1930 preserve unibyte strings. (Bug#16048)
1931
1932 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1933
1934 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1935 Call force-mode-line-update is the proper buffer (bug#16042).
1936
1937 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1938
1939 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1940 `log-edit-remember-comment', make argument optional. Adjust all
1941 callers.
1942 (log-edit-mode): Add `log-edit-remember-comment' to
1943 `kill-buffer-hook' locally.
1944 (log-edit-kill-buffer): Don't remember comment explicitly since
1945 the buffer is killed anyway.
1946
1947 2013-12-04 Juri Linkov <juri@jurta.org>
1948
1949 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1950 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1951
1952 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1953
1954 * notifications.el (notifications-close-notification): Call the
1955 D-Bus method with ID being a `:uint32'. (Bug#16030)
1956
1957 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1958
1959 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1960
1961 2013-12-03 Juri Linkov <juri@jurta.org>
1962
1963 * progmodes/compile.el (compilation-start): Rename window alist
1964 entry `no-display-ok' to `allow-no-window'.
1965
1966 * simple.el (shell-command): Add window alist entry
1967 `allow-no-window' to `display-buffer'.
1968 (async-shell-command): Doc fix.
1969
1970 * window.el (display-buffer-no-window): New action function.
1971 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1972
1973 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1974
1975 * vc/log-edit.el (log-edit-set-header): Extract from
1976 `log-edit-toggle-header'.
1977 (log-edit-extract-headers): Separate the summary, when extracted
1978 from header, from the rest of the message with an empty line.
1979
1980 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1981 line, if present, to the Summary header.
1982
1983 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1986 in current-buffer (bug#16029).
1987
1988 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1989
1990 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1991 (debugger-mode-map): Bind it.
1992 (debugger--backtrace-base): New function.
1993 (debugger-eval-expression): Use it.
1994 (debugger-frame-number): Skip local vars when present.
1995 (debugger--locals-visible-p, debugger--insert-locals)
1996 (debugger--show-locals, debugger--hide-locals): New functions.
1997
1998 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1999
2000 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2001 "LC_ALL".
2002 (tramp-get-remote-locale): New defun.
2003 (tramp-open-connection-setup-interactive-shell): Use it.
2004
2005 2013-12-02 Leo Liu <sdl.web@gmail.com>
2006
2007 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2008
2009 * progmodes/sh-script.el (sh-shell-process):
2010 * progmodes/octave.el (inferior-octave-process-live-p):
2011 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2012 (gdb-inferior-io-sentinel):
2013 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2014
2015 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2016
2017 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2018 `save-selected-window' to `log-edit-hide-buf'. This makes
2019 `log-edit-show-files' idempotent.
2020 (log-edit-show-files): Mark the new window as dedicated.
2021
2022 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * vc/log-edit.el (log-edit-mode-map): Add binding for
2025 `log-edit-kill-biffer'.
2026 (log-edit-hide-buf): Add a FIXME comment.
2027 (log-edit-add-new-comment): New function, extracted from
2028 `log-edit-done'.
2029 (log-edit-done, log-edit-add-to-changelog): Use it.
2030 (log-edit-kill-buffer): New command.
2031
2032 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2033
2034 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2035 instead of killing the buffer.
2036
2037 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2040
2041 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2042
2043 * net/eww.el (eww-form-checkbox-selected-symbol)
2044 (eww-form-checkbox-symbol): New customizable variable.
2045 (eww-form-checkbox, eww-toggle-checkbox):
2046 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2047
2048 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2049 (shr--get-media-pref, shr--extract-best-source): New function.
2050 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2051 no :src tag was specified.
2052
2053 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2054 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2055 Use \\` to match beginning of string instead of ^.
2056 (eww-browse-with-external-browser): Provide optional URL parameter.
2057 (eww-render): Set `eww-current-title' back to "".
2058
2059 * net/shr.el (shr-tag-video): Display content for video if no
2060 poster is available.
2061 (shr-tag-audio): Add support for <audio> tag.
2062
2063 * net/eww.el (eww-text-input-types): New const.
2064 (eww-process-text-input): Treat input types in
2065 `eww-text-input-types' as text.
2066
2067 * net/shr.el (shr-tag-table): Fix comment typo.
2068
2069 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2070
2071 * net/eww.el (eww-follow-link): New command to avoid reloading
2072 pages when we follow #target links (bug#15243).
2073 (eww-quit): Special mode buffers shouldn't query before exiting.
2074
2075 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2076
2077 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2078 forms.
2079
2080 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2081
2082 * net/eww.el (eww-restore-history): Update the window title after
2083 moving in the history.
2084 (eww-current-dom): New variable used to save the current DOM.
2085
2086 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2087
2088 * vc/log-edit.el (log-edit-mode-map): Add binding for
2089 `log-edit-beginning-of-line'.
2090 (log-edit-setup-add-author): New user option.
2091 (log-edit-beginning-of-line): New command.
2092 (log-edit): Move major mode call above the contents setup so that
2093 the local variable values are already applied.
2094 (log-edit): Only insert "Author: " when
2095 `log-edit-setup-add-author' is non-nil.
2096 (log-edit): When SETUP is non-nil, position point after ": "
2097 instead of point-min.
2098
2099 2013-12-01 Glenn Morris <rgm@gnu.org>
2100
2101 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2102
2103 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2104
2105 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2106 redisplay to make sure the initial frame gets a chance to become
2107 visible. (Bug#16014)
2108
2109 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2110
2111 Support resizing frames and windows pixelwise.
2112 * cus-start.el (frame-resize-pixelwise)
2113 (window-resize-pixelwise): New entries.
2114 * emacs-lisp/debug.el (debug): Use window-total-height instead
2115 of window-total-size.
2116 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2117 * help.el (describe-bindings-internal): Call help-buffer
2118 (temp-buffer-max-width): New option.
2119 (resize-temp-buffer-window, help-window-setup)
2120 (with-help-window): Rewrite.
2121 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2122 dragging dividers.
2123 * window.el (frame-char-size, window-min-pixel-height)
2124 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2125 (window-min-pixel-width, window-safe-min-pixel-size)
2126 (window-combination-p, window-safe-min-size)
2127 (window-resizable-p, window--size-to-pixel)
2128 (window--pixel-to-size, window--resize-apply-p): New functions.
2129 (window-safe-min-height): Fix doc-string.
2130 (window-size, window-min-size, window--min-size-1)
2131 (window-sizable, window-sizable-p, window--min-delta-1)
2132 (window-min-delta, window--max-delta-1, window-max-delta)
2133 (window--resizable, window--resizable-p, window-resizable)
2134 (window-full-height-p, window-full-width-p, window-at-side-p)
2135 (window--in-direction-2, window-in-direction)
2136 (window--resize-reset-1, window--resize-mini-window)
2137 (window-resize, window-resize-no-error)
2138 (window--resize-child-windows-normal)
2139 (window--resize-child-windows, window--resize-siblings)
2140 (window--resize-this-window, window--resize-root-window)
2141 (window--resize-root-window-vertically)
2142 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2143 (maximize-window, minimize-window, delete-window)
2144 (quit-restore-window, window-split-min-size, split-window)
2145 (balance-windows-2, balance-windows)
2146 (balance-windows-area-adjust, balance-windows-area)
2147 (window--state-get-1, window-state-get, window--state-put-1)
2148 (window--state-put-2, window-state-put)
2149 (display-buffer-record-window, window--display-buffer):
2150 Make functions handle pixelwise sizing of windows.
2151 (display-buffer--action-function-custom-type)
2152 (display-buffer-fallback-action):
2153 Add display-buffer-in-previous-window.
2154 (display-buffer-use-some-window): Resize window to height it had
2155 before.
2156 (fit-window-to-buffer-horizontally): New option.
2157 (fit-frame-to-buffer): Describe new values.
2158 (fit-frame-to-buffer-bottom-margin): Replace with
2159 fit-frame-to-buffer-margins.
2160 (window--sanitize-margin): New function.
2161 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2162 using window-text-pixel-size.
2163
2164 2013-11-30 Glenn Morris <rgm@gnu.org>
2165
2166 * emacs-lisp/bytecomp.el (byte-compile-form):
2167 Make the `interactive-only' warning like the `obsolete' one.
2168 * comint.el (comint-run):
2169 * files.el (insert-file-literally, insert-file):
2170 * replace.el (replace-string, replace-regexp):
2171 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2172 (goto-line, insert-buffer, next-line, previous-line):
2173 Tweak `interactive-only' spec.
2174
2175 Stop keeping (most) generated cedet grammar files in the repository.
2176 * Makefile.in (semantic): New.
2177 (compile-main): Depend on semantic.
2178
2179 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2182 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2183
2184 * uniquify.el (uniquify-buffer-name-style): Change default.
2185
2186 * loadup.el: Preload "uniquify".
2187
2188 * time.el (display-time-update): Update all mode lines (bug#15999).
2189
2190 * electric.el (electric-indent-mode): Enable by default.
2191 * loadup.el: Preload "electric".
2192
2193 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2194
2195 * emacs-lisp/helpers.el (string-empty-p): New function.
2196 (string-blank-p): New function.
2197
2198 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2199
2200 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2201 (Bug#14029).
2202
2203 2013-11-29 Andreas Politz <politza@fh-trier.de>
2204 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2205 allow non-lambda lists as functions.
2206 (imenu--in-alist): Don't recurse into non-subalists.
2207 (imenu): Don't pass function itself as an argument (Bug#14029).
2208
2209 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2210
2211 * progmodes/python.el (python-mode-map): Remove binding for ":".
2212 (python-indent-electric-colon): Remove command.
2213 (python-indent-post-self-insert-function): Integrate the previous code
2214 of python-indent-electric-colon. Make it conditional on
2215 electric-indent-mode.
2216 (python-mode): Add ?: to electric-indent-chars.
2217 Move python-indent-post-self-insert-function to the end of
2218 post-self-insert-hook.
2219
2220 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2221
2222 * doc-view.el (doc-view-goto-page): Update mode-line.
2223
2224 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2225
2226 2013-11-27 Glenn Morris <rgm@gnu.org>
2227
2228 * international/charprop.el, international/uni-bidi.el:
2229 * international/uni-category.el, international/uni-combining.el:
2230 * international/uni-comment.el, international/uni-decimal.el:
2231 * international/uni-decomposition.el, international/uni-digit.el:
2232 * international/uni-lowercase.el, international/uni-mirrored.el:
2233 * international/uni-name.el, international/uni-numeric.el:
2234 * international/uni-old-name.el, international/uni-titlecase.el:
2235 * international/uni-uppercase.el:
2236 Remove generated files from VCS repository.
2237
2238 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2239
2240 * filenotify.el (file-notify-add-watch): Don't special-case
2241 w32notify when computing the directory to watch.
2242
2243 2013-11-27 Glenn Morris <rgm@gnu.org>
2244
2245 Make bootstrap without generated uni-*.el files possible again.
2246 * loadup.el: Update command-line-args checking for unidata-gen.
2247 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2248 * composite.el, international/characters.el:
2249 Handle unicode tables being undefined.
2250
2251 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2252 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2253 (compile-main): Depend on leim rule.
2254 (leim): New rule.
2255 * loadup.el: Move leim-list.el to leim/ subdirectory.
2256 * startup.el (normal-top-level): No more leim directory.
2257 * international/ja-dic-cnv.el (skkdic-convert):
2258 Disable version-control and autoloads in output files.
2259 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2260 Disable version-control and autoloads in output files.
2261 * leim/quail: Move here from ../leim.
2262 * leim/quail/hangul.el (hangul-input-method-activate):
2263 Add autoload cookie.
2264 (generated-autoload-load-name): Set file-local value.
2265 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2266 (generated-autoload-load-name): Set file-local value.
2267
2268 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2269
2270 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2271 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2272 (eww-quit): Ask confirmation before quitting eww.
2273
2274 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2275
2276 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2277 reading output from Diff on MS-Windows and MS-DOS.
2278
2279 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2280
2281 * emacs-lisp/helpers.el (string-reverse): New function.
2282
2283 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2284
2285 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2286 names on MS Windows, like "/[::1]:".
2287
2288 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2289 SWITCHES.
2290
2291 2013-11-26 Glenn Morris <rgm@gnu.org>
2292
2293 * progmodes/python.el (python-indent-guess-indent-offset):
2294 Avoid corner-case error. (Bug#15975)
2295
2296 Preload leim-list.el. (Bug#4789)
2297 * loadup.el: Load leim-list.el when found.
2298 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2299
2300 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2301
2302 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2303
2304 * emacs-lisp/helpers.el (string-join): New function.
2305
2306 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2307
2308 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2309 Mark as obsolete and replace it with a symbol property.
2310 (byte-compile-form): Use new 'interactive-only property.
2311 * comint.el, files.el, replace.el, simple.el:
2312 Apply new 'interactive-only properly.
2313
2314 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2315
2316 * window.el (display-buffer-at-bottom): Make sure that
2317 split-window-sensibly creates the new window on bottom
2318 (Bug#15961).
2319
2320 2013-11-23 David Kastrup <dak@gnu.org>
2321
2322 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2323 on the conflict markers when available.
2324 (smerge--get-marker): New function.
2325 (smerge-end-re, smerge-base-re): Add subgroup.
2326
2327 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2328
2329 * frame.el (handle-focus-in, handle-focus-out): Add missing
2330 interactive spec.
2331
2332 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2333
2334 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2335 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2336
2337 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2340 (gomoku--last-pos): New var.
2341 (gomoku--intangible-chars): New const.
2342 (gomoku--intangible): New function.
2343 (gomoku-mode): Use it. Derive from special-mode.
2344 (gomoku-move-up): Adjust line count.
2345 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2346 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2347 Simplify accordingly.
2348
2349 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2350 Remove blink-cursor code.
2351 (blink-cursor-timer-function, blink-cursor-suspend):
2352 Don't special-case GUIs.
2353 (blink-cursor-mode): Use focus-in/out-hook.
2354
2355 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2356
2357 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2358 work when annotation is invisible (Bug#13886).
2359
2360 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2361
2362 * json.el (json-alist-p): Only return non-nil if the alist has
2363 simple keys (Bug#13518).
2364
2365 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2366
2367 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2368 when control-statement is the first statement in a buffer (Bug#15956).
2369
2370 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2371
2372 * imenu.el (imenu-generic-skip-comments-and-strings):
2373 New option (Bug#15560).
2374 (imenu--generic-function): Use it.
2375
2376 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2377
2378 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2379 (Bug#13898)
2380
2381 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2382
2383 * emacs-lisp/helpers.el: Add some string helpers.
2384 (string-trim-left): Removes leading whitespace.
2385 (string-trim-right): Removes trailing whitespace.
2386 (string-trim): Removes leading and trailing whitespace.
2387
2388 * subr.el (string-suffix-p): New function.
2389
2390 2013-11-23 Glenn Morris <rgm@gnu.org>
2391
2392 * progmodes/python.el (python-shell-send-file):
2393 Add option to delete file when done. (Bug#15647)
2394 (python-shell-send-string, python-shell-send-region): Use it.
2395
2396 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2397
2398 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2399 to set buffer-read-only to t, never to nil. (Bug#15938)
2400
2401 * textmodes/tex-mode.el (latex-noindent-environments):
2402 Add safe-local-variable property. (Bug#15936)
2403
2404 2013-11-23 Glenn Morris <rgm@gnu.org>
2405
2406 * textmodes/enriched.el (enriched-mode): Doc fix.
2407 * emacs-lisp/authors.el (authors-renamed-files-alist):
2408 Add enriched.doc -> enriched.txt.
2409
2410 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2411
2412 2013-11-22 Leo Liu <sdl.web@gmail.com>
2413
2414 * progmodes/octave.el (inferior-octave-startup): Spit out error
2415 message.
2416
2417 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2418
2419 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2420 Improve docstring.
2421 Add :version.
2422 (ruby-encoding-magic-comment-style): Add :version.
2423
2424 2013-11-22 Leo Liu <sdl.web@gmail.com>
2425
2426 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2427 (Bug#15076)
2428 (octave-help-mode): Adapt to change to help-mode-finish to use
2429 derived-mode-p on 2013-09-17.
2430 (inferior-octave-prompt): Also match octave-gui.
2431 (octave-kill-process): Don't ask twice. (Bug#10564)
2432
2433 2013-11-22 Leo Liu <sdl.web@gmail.com>
2434
2435 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2436 (inferior-octave-startup, inferior-octave-check-process)
2437 (inferior-octave-track-window-width-change)
2438 (octave-completion-at-point, octave-eldoc-function): Use it.
2439 (octave-kill-process): Provide confirmation. (Bug#10564)
2440
2441 2013-11-21 Leo Liu <sdl.web@gmail.com>
2442
2443 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2444 Fix obsolete variable comment-use-global-state.
2445
2446 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2447
2448 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2449 Add `octave-source-file'.
2450 (octave-source-file): New function. (Bug#15935)
2451
2452 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2453
2454 * net/eww.el (eww-local-regex): New variable.
2455 (eww): Use it to detect localhost and similar.
2456
2457 2013-11-21 Leo Liu <sdl.web@gmail.com>
2458
2459 Add completion for command `ag'.
2460 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2461 (pcomplete/ag): New function.
2462 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2463
2464 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2467 (bug#14646).
2468 (make-obsolete): Remove interactive spec.
2469
2470 2013-11-21 Glenn Morris <rgm@gnu.org>
2471
2472 * startup.el (command-line-1): Use path-separator with -L.
2473
2474 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2475
2476 * emacs-lisp/package.el (describe-package-1): Add package archive
2477 to shown fields.
2478
2479 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2480
2481 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2482 Change default to "# encoding: %s" to differentiate it from the
2483 default Ruby encoding comment template.
2484
2485 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2486
2487 * ses.el (ses-mode): Doc fix. (Bug#14748)
2488
2489 2013-11-20 Leo Liu <sdl.web@gmail.com>
2490
2491 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2492
2493 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2494
2495 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2496 when rebase or bisect are in progress.
2497
2498 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2499
2500 * filenotify.el (file-notify-add-watch): Doc fix.
2501
2502 2013-11-19 Leo Liu <sdl.web@gmail.com>
2503
2504 * obsolete/rcompile.el: Mark obsolete.
2505
2506 * progmodes/compile.el (compilation-start)
2507 (compilation-goto-locus, compilation-find-file):
2508 Pass no-display-ok and handle nil value from display-buffer.
2509 (Bug#13594)
2510
2511 * window.el (display-buffer-alist, display-buffer): Document the
2512 new parameter no-display-ok. Return either a window or nil
2513 but never a non-window value.
2514
2515 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * electric.el (electric-indent-mode-map): Remove.
2518 (electric-indent-mode): Change the global-map instead (bug#15915).
2519
2520 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2521 Use add-function.
2522
2523 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/nadvice.el (remove-function): Align with
2526 add-function's behavior.
2527
2528 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2529 (gdb--string-regexp): New constant.
2530 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2531 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2532 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2533 submatch 1.
2534 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2535 Adjust use accordingly.
2536 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2537
2538 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2539
2540 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2541 interpolation curlies (Bug#15914).
2542
2543 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2544
2545 * calc/calc.el (calc-context-sensitive-enter): New variable.
2546 (calc-enter): Use `calc-context-sensitive-enter'.
2547
2548 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2549
2550 * progmodes/cfengine.el: Version bump.
2551 (cfengine-cf-promises): New defcustom to locate cf-promises.
2552 (cfengine3-vartypes): Add new "data" type.
2553 (cfengine3--current-word): New function to get current name-like
2554 word or its bounds.
2555 (cfengine3--current-function): New function to look up a CFEngine
2556 function's definition.
2557 (cfengine3-format-function-docstring): New function.
2558 (cfengine3-make-syntax-cache): New function.
2559 (cfengine3-documentation-function): New function: ElDoc glue.
2560 (cfengine3-completion-function): New function: completion glue.
2561 (cfengine3-mode): Set `compile-command',
2562 `eldoc-documentation-function', and add to
2563 `completion-at-point-functions'.
2564
2565 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2566
2567 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2568 `tramp-current-connection'.
2569
2570 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2571
2572 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2573 nil/self/true/false with "end of symbol".
2574
2575 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2576
2577 * subr.el (version-regexp-alist): Fix a typo.
2578
2579 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2582 "en_US.utf8" and "LC_CTYPE" to "".
2583 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2584 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2585
2586 2013-11-15 Leo Liu <sdl.web@gmail.com>
2587
2588 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2589
2590 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * progmodes/gud.el (ctl-x-map):
2593 Remove C-x SPC binding. (Bug#12342)
2594 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2595
2596 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2597
2598 * subr.el (version-regexp-alist):
2599 Recognize hg, svn and darcs versions as snapshot versions.
2600
2601 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2602 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2603 (ruby--encoding-comment-required-p): Extract from
2604 `ruby-mode-set-encoding'.
2605 (ruby-mode-set-encoding): Add the ability to always insert an
2606 utf-8 encoding comment. Fix and simplify coding comment update
2607 logic.
2608
2609 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * net/tramp-gvfs.el (top): Run init code only when
2612 `tramp-gvfs-enabled' is not nil.
2613 (tramp-gvfs-enabled): Check also :system bus.
2614
2615 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 Sync with upstream verilog-mode revision 78e66ba.
2618 * progmodes/verilog-mode.el (verilog-end-of-defun)
2619 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2620 (verilog-get-end-of-defun): Remove unused argument.
2621 (verilog-comment-depth): Remove unused local `e'.
2622 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2623 Don't pass arg to verilog-get-end-of-defun.
2624
2625 2013-11-14 Glenn Morris <rgm@gnu.org>
2626
2627 * obsolete/assoc.el (aget): Prefix dynamic variable.
2628
2629 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2630
2631 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * widget.el, hfy-cmap.el: Remove bogus package version number.
2634
2635 2013-11-13 Glenn Morris <rgm@gnu.org>
2636
2637 * replace.el (replace-eval-replacement):
2638 Try to give more helpful error message. (Bug#15836)
2639
2640 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2641 (archive-7z-update): Avoid custom type mismatches.
2642
2643 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2644
2645 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2646
2647 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2648 address can be empty.
2649
2650 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2651 Accept nil SWITCHES.
2652 (tramp-gvfs-handle-write-region): Implement APPEND.
2653
2654 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2655
2656 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2657 binary "|" operator and closing block args delimiter.
2658 Remove FIXME comment referring to Ruby 1.8-only syntax.
2659 (ruby-smie--implicit-semi-p): Not after "|" operator.
2660 (ruby-smie--closing-pipe-p): New function.
2661 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2662 (ruby-smie-rules): Indent after "|".
2663
2664 2013-11-12 Glenn Morris <rgm@gnu.org>
2665
2666 * ps-print.el (ps-face-attribute-list):
2667 Handle anonymous faces. (Bug#15827)
2668
2669 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2670
2671 * window.el (display-buffer-other-frame): Fix doc-string.
2672 (Bug#15868)
2673
2674 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2675
2676 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2677
2678 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2679
2680 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2681 (tramp-sh-handle-file-local-copy): Don't write a message when
2682 saving temporary files.
2683
2684 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2685 both directories are remote.
2686 (tramp-smb-handle-directory-files): Do not return double entries.
2687 Do not expand full file names.
2688 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2689 (tramp-smb-handle-write-region): Implement APPEND.
2690 (tramp-smb-get-stat-capability): Fix a stupid bug.
2691
2692 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2695
2696 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2697
2698 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2699 throwing error over malformed let/let* (bug#15814).
2700
2701 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2702
2703 * iswitchb.el (iswitchb-mode): Mark obsolete.
2704
2705 2013-11-11 Glenn Morris <rgm@gnu.org>
2706
2707 * international/uni-bidi.el, international/uni-category.el:
2708 * international/uni-name.el, international/uni-numeric.el:
2709 Regenerate for Unicode 6.3.0.
2710
2711 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp.el (tramp-methods):
2714 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2715 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2716
2717 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2718
2719 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2720 Force highlighting text after Summary keyword in doc face for rpm.
2721
2722 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2723
2724 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2725 available and the word has no wildcards, append one to the grep pattern.
2726 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2727 (ispell-complete-word): Call `ispell-lookup-words' with the value
2728 independent of `ispell-look-p'.
2729
2730 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2731
2732 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2733 Not after "||".
2734 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2735 their parent.
2736
2737 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2740 (ruby-font-lock-keywords): Use backquote.
2741
2742 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2745 (ruby-smie--backward-token): Only consider full-string matches.
2746
2747 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2748
2749 * faces.el (describe-face): Add distant-foreground.
2750
2751 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2752
2753 * progmodes/ruby-mode.el: Improve encoding comment handling.
2754 (ruby-encoding-magic-comment-style): New option.
2755 (ruby-custom-encoding-magic-comment-template): New option.
2756 (ruby--insert-coding-comment, ruby--detect-encoding):
2757 New functions extracted from `ruby-mode-set-encoding'.
2758 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2759 to control the style of the auto-inserted encoding comment.
2760
2761 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2762
2763 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2764 Use `smie-backward-sexp' with token argument.
2765
2766 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2769 Remove instrumentation code.
2770
2771 2013-11-08 Glenn Morris <rgm@gnu.org>
2772
2773 * progmodes/autoconf.el (autoconf-mode):
2774 Tweak comment-start-skip. (Bug#15822)
2775
2776 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2779 at bobp (bug#15826).
2780 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2781
2782 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2783
2784 * man.el (Man-start-calling): New macro, extracted from
2785 Man-getpage-in-background.
2786 (Man-getpage-in-background): Use it.
2787 (Man-update-manpage): New command.
2788 (Man-mode-map): Bind it.
2789
2790 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2791
2792 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2793 of "and", "or", "&&" and "||".
2794 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2795 argument. Prohibit opening curly brace because it could only be a
2796 block opener in that position.
2797 (ruby-smie--forward-token, ruby-smie--backward-token):
2798 Separate "|" from "&" or "*" going after it. That can happen in block
2799 arguments.
2800 (ruby-smie--indent-to-stmt): New function, seeks the end of
2801 previous statement or beginning of buffer.
2802 (ruby-smie-rules): Use it.
2803 (ruby-smie-rules): Check if there's a ":" before a curly block
2804 opener candidate; if there is, it's a hash.
2805
2806 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2809 (cl--block-wrapper): Fix last accidental change.
2810
2811 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2814 Instrument, in order to hunt failure on hydra.
2815
2816 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2817
2818 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2819 malformed bindings form (bug#15814).
2820
2821 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2822
2823 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2824 "." compared to " @ ". This incidentally fixes some indentation
2825 examples with "do".
2826 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2827 (ruby-smie-grammar): New tokens: "and" and "or".
2828 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2829 Exclude "and" and "or". Remove "do" in order to work around token
2830 priorities.
2831 (ruby-smie-rules): Add all infix tokens. Handle the case of
2832 beginning-of-buffer.
2833
2834 2013-11-06 Glenn Morris <rgm@gnu.org>
2835
2836 * Makefile.in (setwins_almost, setwins_for_subdirs):
2837 Avoid accidental matches.
2838
2839 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * menu-bar.el (popup-menu): Use key-binding.
2842
2843 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2844
2845 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2846 menus, support also the menus produced by minor modes.
2847 (Bug#15817)
2848
2849 2013-11-06 Leo Liu <sdl.web@gmail.com>
2850
2851 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2852 DISTANCE to bound the search. All uses changed. (Bug#15808)
2853
2854 2013-11-06 Glenn Morris <rgm@gnu.org>
2855
2856 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2857 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2858 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2859
2860 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * electric.el (electric-indent-just-newline): New command.
2863 (electric-indent-mode-map): New keymap.
2864 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2865 Re-add :group which weren't redundant.
2866
2867 * electric.el (electric-indent-local-mode): New minor mode.
2868 (electric-indent-functions-without-reindent): New var.
2869 (electric-indent-post-self-insert-function): Use it.
2870 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2871
2872 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2873
2874 * international/quail.el (quail-help): Be more explicit about the
2875 meaning of the labels shown on the keys. (Bug#15800)
2876
2877 * startup.el (normal-top-level): Load the subdirs.el files before
2878 setting the locale environment. (Bug#15805)
2879
2880 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2883 via arguments so as to get the right ones (bug#15418).
2884
2885 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2886
2887 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2888
2889 Fix problems found while writing a test suite.
2890
2891 * net/tramp-compat.el (tramp-compat-load): New defun.
2892 * net/tramp.el (tramp-handle-load): Use it.
2893
2894 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2895 "(numberp ok-if-already-exists)" correctly.
2896
2897 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2898
2899 * international/characters.el (glyphless-char-display-control):
2900 Add usage note.
2901
2902 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2903
2904 * progmodes/python.el (python-mode):
2905 * progmodes/scheme.el (scheme-mode):
2906 * progmodes/prolog.el (prolog-mode):
2907 * progmodes/ruby-mode.el (ruby-mode):
2908 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2909 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2910
2911 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * rect.el (rectangle--highlight-for-redisplay):
2914 * emacs-lisp/smie.el (smie--next-indent-change):
2915 Use buffer-chars-modified-tick.
2916
2917 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2918
2919 * electric.el (electric-indent-post-self-insert-function):
2920 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2921
2922 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
2923
2924 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2925
2926 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2927
2928 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2929 (bug#15786).
2930
2931 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2932
2933 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2934
2935 * progmodes/python.el: Fix up last change.
2936 (python-shell--save-temp-file): New function.
2937 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2938 `string' comes from the current buffer.
2939 (python-shell-send-string-no-output): Remove `msg' arg.
2940 (python--use-fake-loc): New var.
2941 (python-shell-buffer-substring): Obey it. Try to compensate for the
2942 extra coding line added by python-shell--save-temp-file.
2943 (python-shell-send-region): Use python-shell--save-temp-file and
2944 python-shell-send-file directly. Add `nomain' argument.
2945 (python-shell-send-buffer): Use python-shell-send-region.
2946 (python-electric-pair-string-delimiter): New function.
2947 (python-mode): Use it.
2948
2949 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2950
2951 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2952 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2953 environment and decoding all of the default-directory's to here
2954 from command-line.
2955 (command-line): Decode also argv[0].
2956
2957 * loadup.el: Error out if default-directory is a multibyte string
2958 when we are dumping.
2959
2960 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2961
2962 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2963
2964 * emacs-lisp/package.el (package-menu-mode)
2965 (package-menu--print-info, package-menu--archive-predicate):
2966 Add Archive column to package list.
2967
2968 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2969
2970 Fix problems found while writing a test suite.
2971
2972 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2973 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2974 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2975 to nil when running original file name handler. Otherwise,
2976 there are problems with constructs like "$$FOO".
2977
2978 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2979 for `localname'.
2980
2981 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2982
2983 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2984
2985 * subr.el (version<, version<=, version=):
2986 Update docstrings with information for snapshot versions.
2987
2988 * helpers.el: New library for misc helper functions.
2989 (hash-table-keys): New function returning a list of hash keys.
2990 (hash-table-values): New function returning a list of hash values.
2991
2992 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2995 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2996
2997 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2998
2999 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3000 checking whether point is after a 1-letter word.
3001
3002 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3003
3004 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3005 Don't infloop when expanding region over `multiline' syntax-type that
3006 begins a line (bug#15778).
3007
3008 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3011 Make it into a proper minor mode.
3012 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3013 (rectangle-mark-mode-map): New keymap.
3014 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3015
3016 2013-11-04 Glenn Morris <rgm@gnu.org>
3017
3018 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3019
3020 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3023 (ruby-smie-rules): Use smie-rule-parent instead.
3024
3025 * emacs-lisp/smie.el (smie-rule-parent): Always call
3026 smie-indent-virtual rather than only for hanging tokens.
3027 (smie--next-indent-change): New helper command.
3028
3029 2013-11-03 Glenn Morris <rgm@gnu.org>
3030
3031 * Makefile.in (abs_srcdir): Remove.
3032 (emacs): Unset EMACSLOADPATH.
3033
3034 2013-11-02 Glenn Morris <rgm@gnu.org>
3035
3036 * Makefile.in (EMACS): Use a relative filename.
3037 (abs_top_builddir): Remove.
3038 (custom-deps, finder-data, autoloads): Use --chdir.
3039
3040 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3041
3042 Use relative filenames in TAGS files.
3043 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3044 (lisptagsfiles4, TAGS): Use relative file names.
3045 (TAGS-LISP): Remove.
3046 (maintainer-clean): No more TAGS-LISP file.
3047
3048 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3049 (lisptagsfiles4): Use absolute filenames again.
3050 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3051 Remove all *loaddefs files, not just the first. Remove esh-groups.
3052 (maintainer-clean): Delete TAGS, TAGS-LISP.
3053
3054 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3055
3056 * emacs-lisp/package.el (package-version-join):
3057 Recognize snapshot versions.
3058
3059 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3060
3061 * subr.el (version-regexp-alist): Add support for snapshot versions.
3062
3063 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3064
3065 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3066 New function, replacement for `smie-rule-parent' for when we want to
3067 skip over our direct parent if it's an assignment token..
3068 (ruby-smie-rules): Use it.
3069
3070 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3071
3072 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3073 unconditionally. Remove now unnecessary forward declarations.
3074 Remove XEmacs-specific setup.
3075 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3076 (ruby-font-lock-syntactic-keywords)
3077 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3078 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3079 (ruby-here-doc-end-syntax): Remove.
3080 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3081 defined as function.
3082
3083 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3084
3085 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3086
3087 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3088
3089 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3090 table and abbrev table, `define-derived-mode' does that for us
3091 anyway.
3092
3093 2013-11-01 Glenn Morris <rgm@gnu.org>
3094
3095 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3096 files is atomic for some time, so no parallel compilation issues).
3097
3098 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3099
3100 * faces.el (face-x-resources): Add :distant-foreground.
3101 (region): Use :distant-foreground for gtk and ns.
3102
3103 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3104
3105 Allow multiple bibliographies when BibLaTeX is used rather than
3106 BibTeX.
3107 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3108 (reftex-locate-bibliography-files): Us it.
3109
3110 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3111
3112 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3113 allow comments in pbm files.
3114
3115 * term/w32-win.el (dynamic-library-alist): Support newer versions
3116 of libjpeg starting with v7: look only for the DLL from the
3117 version against which Emacs was built.
3118 Support versions of libpng beyond 1.4.x.
3119 Support libtiff v4.x.
3120
3121 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3122
3123 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3124 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3125 Add property :safe.
3126 (ruby-deep-arglist): Add property :type.
3127
3128 2013-10-31 Glenn Morris <rgm@gnu.org>
3129
3130 * Makefile.in (custom-deps, finder-data): No need to setq the target
3131 variables, we are in the right directory and the defaults work fine.
3132
3133 2013-10-30 Glenn Morris <rgm@gnu.org>
3134
3135 * Makefile.in (autoloads): Do not use abs_lisp.
3136
3137 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3138 `newline' does not respect `standard-output', so use `princ'.
3139
3140 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3141
3142 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3143 * buff-menu.el (Buffer-menu--unmark): New function.
3144 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3145
3146 2013-10-30 Glenn Morris <rgm@gnu.org>
3147
3148 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3149
3150 * emacs-lisp/package.el (lm-homepage): Declare.
3151
3152 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3153 Fix doc typos.
3154
3155 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3156
3157 * Makefile.in (finder-data, autoloads, update-subdirs)
3158 (compile-main, compile-clean, compile-always, bootstrap-clean):
3159 Check return value of cd.
3160 (compile-calc): Remove.
3161
3162 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3165
3166 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3167 (byte-compile-and-folded): New function.
3168 (=, <, >, <=, >=): Use it.
3169
3170 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3171 (path-separator, null-device, buffer-file-coding-system)
3172 (lpr-headers-switches): Check system-type before modifying them.
3173 (find-buffer-file-type-coding-system): Mark obsolete.
3174 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3175 find-file-not-found-set-buffer-file-coding-system.
3176 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3177 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3178 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3179 (w32-direct-print-region-helper, w32-direct-print-region-function)
3180 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3181 * startup.el (normal-top-level-add-subdirs-to-load-path):
3182 * ps-print.el (ps-print-region-function):
3183 * lpr.el (print-region-function): Use new name.
3184
3185 * subr.el (custom-declare-variable-early): Remove function.
3186 (custom-declare-variable-list): Remove var.
3187 (error, user-error): Remove `while' loop.
3188 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3189 (user-emacs-directory-warning, locate-user-emacs-file):
3190 Move to files.el.
3191 * simple.el (read-quoted-char-radix, read-quoted-char):
3192 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3193 Move from subr.el.
3194 * custom.el (custom-declare-variable-list): Don't process
3195 custom-declare-variable-list.
3196
3197 * progmodes/python.el (python-shell-get-buffer): New function.
3198 (python-shell-get-process): Use it.
3199 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3200 Python which encoding was used. Don't split-string since we only care
3201 about the first line. Return the temp-file, if applicable.
3202 (python-shell-send-region): Tell compile.el how to turn locations in
3203 the temp-file into locations in the source buffer.
3204
3205 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3206
3207 * subr.el (undefined): Add missing behavior from the C code for
3208 unbound keys.
3209
3210 * rect.el: Use lexical-binding. Add new rectangular region support.
3211 (rectangle-mark): New command.
3212 (rectangle--region): New var.
3213 (deactivate-mark-hook): Reset rectangle--region.
3214 (rectangle--extract-region, rectangle--insert-for-yank)
3215 (rectangle--highlight-for-redisplay)
3216 (rectangle--unhighlight-for-redisplay): New functions.
3217 (region-extract-function, redisplay-unhighlight-region-function)
3218 (redisplay-highlight-region-function): Use them to handle
3219 rectangular region.
3220 * simple.el (region-extract-function): New var.
3221 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3222 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3223 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3224 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3225 (redisplay-unhighlight-region-function)
3226 (redisplay-highlight-region-function): New vars.
3227 (redisplay--update-region-highlight): New function.
3228 (pre-redisplay-function): Use it.
3229 (exchange-point-and-mark): Don't deactivate the mark before
3230 reactivate-it anyway.
3231 * comint.el (comint-kill-region): Remove yank-handler argument.
3232 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3233 (delete-char): Remove property, since it's now part of their
3234 default behavior.
3235 (self-insert-iso): Remove property since this command doesn't exist.
3236
3237 * emacs-lisp/package.el (package--download-one-archive)
3238 (describe-package-1): Don't query the user about final newline.
3239
3240 2013-10-29 Daniel Colascione <dancol@dancol.org>
3241
3242 * net/tramp.el (tramp-methods): Document new functionality.
3243 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3244 tramp-hostname-checker if method provides one instead of scanning
3245 argument list for "%h" to decide hostname acceptability.
3246
3247 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3248
3249 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3250 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3251 Handle COPY-CONTENTS. (Bug#15737)
3252
3253 2013-10-28 Daiki Ueno <ueno@gnu.org>
3254
3255 * epa-file.el
3256 (epa-file-cache-passphrase-for-symmetric-encryption):
3257 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3258
3259 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3260
3261 * image.el (defimage):
3262 (image-load-path): Doc fixes.
3263
3264 2013-10-27 Alan Mackenzie <acm@muc.de>
3265
3266 Indent statements in macros following "##" correctly.
3267 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3268 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3269
3270 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3271
3272 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3273
3274 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3275
3276 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3277 after `=' is probably a new expression.
3278
3279 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3280
3281 * man.el (man-imenu-title): New option.
3282 (Man-mode-map): Add menu. (Bug#15722)
3283 (Man-mode): Add imenu to menu.
3284
3285 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3286
3287 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3288 specific in what the first arg can be: a non-keyword word,
3289 string/regexp/percent literal opener, opening paren, or unary
3290 operator followed directly by word.
3291
3292 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3295 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3296 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3297 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3298 Remove vars, they do not apply any more.
3299 (prolog-mode-abbrev-table): Remove redundant declaration.
3300 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3301 (prolog-use-smie): Remove.
3302 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3303 supported by prolog-electric-if-then-else-flag.
3304 (prolog-mode-variables, prolog-menu): Use setq-local.
3305 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3306 Remove binding to `Backspace' since this key doesn't exist anyway.
3307 Remove bindings for electric self-inserting keys.
3308 (prog-mode): Assume it's defined.
3309 (prolog-post-self-insert): New function.
3310 (prolog-mode): Use it.
3311 (prolog-indent-line, prolog-indent-level)
3312 (prolog-find-indent-of-matching-paren)
3313 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3314 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3315 (prolog-goto-next-paren, prolog-in-string-or-comment)
3316 (prolog-tokenize, prolog-inside-mline-comment)
3317 (prolog-find-start-of-mline-comment): Remove functions.
3318 (prolog-find-unmatched-paren, prolog-clause-end)
3319 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3320 (prolog-electric--if-then-else): Rename from
3321 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3322 (prolog-tokenize-searchkey): Remove const.
3323 (prolog-clause-info): Use forward-sexp.
3324 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3325 (prolog-electric-if-then-else): Remove commands.
3326 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3327 for use in post-self-insert-hook.
3328 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3329 for use in post-self-insert-hook.
3330 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3331 for use in post-self-insert-hook.
3332 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3333 adapt it for use in post-self-insert-hook.
3334
3335 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * emacs-lisp/ert.el (ert-run-tests-interactively):
3338 Use `completing-read'. (Bug#9756)
3339
3340 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3341
3342 * simple.el (line-move): Call line-move-1 instead of
3343 line-move-visual when the current window hscroll is zero, but
3344 temporary-goal-column indicates we will need to hscroll as result
3345 of the movement. (Bug#15712)
3346
3347 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3348
3349 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3350 capitalization. Use :visible instead of :active.
3351 Fix `ruby-indent-exp' reference. Add menu items for the generic
3352 commands that are used with SMIE.
3353 (ruby-do-end-to-brace): Insert space after `{'.
3354
3355 2013-10-25 John Anthony <john@jo.hnanthony.com>
3356
3357 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3358
3359 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3360
3361 2013-10-25 Glenn Morris <rgm@gnu.org>
3362
3363 * vc/vc.el (vc-print-log): Don't use a working revision unless
3364 one was explicitly specified. (Bug#15322)
3365
3366 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * subr.el (add-to-list): Preserve return value in compiler-macro
3369 (bug#15692).
3370
3371 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3372
3373 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3374 result. Ask user to retry using '-all' flag. (Bug#15701)
3375
3376 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3377
3378 * emacs-lisp/smie.el: New smie-config system.
3379 (smie-config): New defcustom.
3380 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3381 (smie-config-guess, smie-config-save): New commands.
3382 (smie-config--mode-local, smie-config--buffer-local)
3383 (smie-config--trace, smie-config--modefuns): New vars.
3384 (smie-config--advice, smie-config--mode-hook)
3385 (smie-config--setter, smie-config-local, smie-config--get-trace)
3386 (smie-config--guess-value, smie-config--guess): New functions.
3387 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3388 text properties. Treat "string fence" syntax like string syntax.
3389
3390 * progmodes/sh-script.el (sh-use-smie): Change default.
3391 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3392 (sh-var-value): Simplify by CSE.
3393 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3394 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3395 is used.
3396 (sh-guess-basic-offset): Use cl-incf.
3397 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3398
3399 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3400
3401 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3402 (bug#15699).
3403
3404 2013-10-24 Glenn Morris <rgm@gnu.org>
3405
3406 * Makefile.in (abs_top_srcdir): Remove.
3407 (update-subdirs): Use relative path to update-subdirs.
3408
3409 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3410
3411 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3412 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3413 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3414 Call unmsys--file-name before expand-file-name, not after it.
3415
3416 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3419 (ert-test-skipped): New error.
3420 (ert-skip, ert-stats-skipped): New defuns.
3421 (ert--skip-unless): New macro.
3422 (ert-test-skipped): New struct.
3423 (ert--run-test-debugger, ert-test-result-type-p)
3424 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3425 (ert--stats-set-test-and-result, ert-char-for-test-result)
3426 (ert-string-for-test-result, ert-run-tests-batch)
3427 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3428 Handle skipped tests. (Bug#9803)
3429
3430 2013-10-24 Glenn Morris <rgm@gnu.org>
3431
3432 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3433
3434 * Makefile.in (abs_top_srcdir): New, set by configure.
3435 (update-subdirs): Correct build-aux location.
3436
3437 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3440 value, whether we could auto-deduce `backend', or not.
3441
3442 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3443 with parameters" example. Simplify the "is it block or is it
3444 hash" check, but also make it more thorough.
3445
3446 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3447
3448 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3449
3450 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3451
3452 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3453 { if it is hanging.
3454
3455 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3456 :before ";".
3457
3458 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3459
3460 * progmodes/compile.el (compilation-directory-matcher)
3461 (compilation-page-delimiter):
3462 Support GNU Make-4.0 directory quoting. (Bug#15678)
3463
3464 2013-10-23 Leo Liu <sdl.web@gmail.com>
3465
3466 * ido.el (ido-tidy): Handle read-only text.
3467
3468 2013-10-23 Glenn Morris <rgm@gnu.org>
3469
3470 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3471 (emacs, compile, compile-always):
3472 Quote entities that might contain whitespace.
3473 (custom-deps, finder-data, autoloads): Use abs_lisp.
3474 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3475 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3476 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3477
3478 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3479
3480 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3481 Use `following-char'.
3482
3483 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3485 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3486 * progmodes/ruby-mode.el (ruby-smie-rules):
3487 Remove corresponding workaround. Fix indentation rule of ";" so it
3488 also applies when ";" is the parent.
3489
3490 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3491
3492 * frame.el (display-screens, display-pixel-height)
3493 (display-pixel-width, display-mm-width, display-backing-store)
3494 (display-save-under, display-planes, display-color-cells)
3495 (display-visual-class, display-monitor-attributes-list):
3496 Mention the optional ‘display’ argument in doc strings.
3497
3498 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3499
3500 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3501 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3502
3503 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3504
3505 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3506 TODO. Add "." after " @ ".
3507 (ruby-smie--at-dot-call): New function. Checks if point at method
3508 call with explicit target.
3509 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3510 to the method name tokens when it precedes them.
3511 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3512 (ruby-smie-rules): Add rule for indentation before and after "."
3513 token.
3514
3515 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * textmodes/remember.el (remember-diary-extract-entries):
3518 Avoid add-to-list.
3519
3520 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3521 an instruction.
3522
3523 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3524
3525 * progmodes/ruby-mode.el (ruby-smie-grammar):
3526 Add (almost) all infix operators.
3527 (ruby-smie--implicit-semi-p): Add new operator chars.
3528
3529 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3530 `smie-down-list'.
3531 (ruby-smie--args-separator-p): Check that there's no newline
3532 between method call and its arguments.
3533
3534 2013-10-20 Alan Mackenzie <acm@muc.de>
3535
3536 Allow comma separated lists after Java "implements".
3537
3538 * progmodes/cc-engine.el (c-backward-over-enum-header):
3539 Parse commas.
3540 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3541 from a "disallowed" list in enum fontification.
3542
3543 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3544
3545 * startup.el (default-frame-background-mode): Remove unused defvar.
3546
3547 * progmodes/verilog-mode.el (verilog-mode): Don't set
3548 comment-indent-function globally.
3549
3550 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3551
3552 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3553 Move Info menu item creation to ns-win.el.
3554
3555 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3556 in menu bar.
3557
3558 * menu-bar.el: Move GNUStep specific menus...
3559
3560 * term/ns-win.el (ns-initialize-window-system): ... to here.
3561
3562 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * simple.el (newline): Only run post-self-insert-hook when
3565 called interactively.
3566
3567 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3568
3569 * icomplete.el (icomplete-with-completion-tables): Add :version.
3570
3571 2013-10-19 Alan Mackenzie <acm@muc.de>
3572
3573 Fix fontification bugs with constructors and const.
3574
3575 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3576 CASE 2) Remove the check for the absence of a suffix construct
3577 after a function declaration with only types (no identifiers) in
3578 the parentheses. Also, accept a function declaration with just a
3579 type inside the parentheses, if this type can be positively
3580 recognised as such, or if a prefix keyword like "explicit" nails
3581 down the construct as a declaration.
3582
3583 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3584
3585 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3586 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3587 the problem whereby selecting a menu item that leads to a
3588 minibuffer prompt moves the cursor out of the minibuffer window,
3589 making it hard to type at the prompt. Suggested by Stefan Monnier
3590 <monnier@iro.umontreal.ca>.
3591
3592 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3593
3594 * menu-bar.el: Don't make Services menu.
3595
3596 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3597
3598 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3599 (ffap-alist): Use ffap-c++-mode for c++-mode.
3600 (ffap-c++-path): New variable.
3601 (ffap-c++-mode): New function.
3602
3603 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3604
3605 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3606
3607 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3608
3609 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3610 introduced on 2013-09-08, which results in an infinite loop
3611 requesting a password.
3612
3613 2013-10-18 Glenn Morris <rgm@gnu.org>
3614
3615 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3616
3617 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3618
3619 Sync with upstream verilog-mode revision 1a6ecec7.
3620 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3621 (verilog-mode-release-date): Remove.
3622 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3623 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3624 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3625 (verilog-auto-tieoff-ignore-regexp)
3626 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3627 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3628 (verilog-signals-with, verilog-dir-cache-preserving)
3629 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3630 Doc fixes.
3631 (verilog-case-fold): New option, to control case folding in
3632 regexp searches, bug597.
3633 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3634 (verilog-string-match-fold, verilog-in-paren-count)
3635 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3636 (verilog-at-close-struct-p): New functions.
3637 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3638 (verilog-forward-sexp, verilog-set-auto-endcomments):
3639 (verilog-leap-to-case-head): Handle "unique0" case.
3640 (verilog-in-constraint-re): New constant.
3641 (verilog-keywords, verilog-type-font-keywords):
3642 Add some SystemVerilog 1800-2012 keywords.
3643 (verilog-label-be): Remove unimplemented argument, bug669.
3644 (verilog-batch-execute-func): When batch expanding clear
3645 create-lockfiles to prevent spurious user locks when a file ends
3646 up not changing.
3647 (verilog-calculate-indent, verilog-calc-1)
3648 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3649 (verilog-do-indent): Fix indentation of nested constraints
3650 and structures.
3651 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3652 (verilog-auto-inst-param): Use verilog-string-match-fold.
3653 (verilog-read-inst-module-matcher):
3654 Fix AUTOINST on gate primitives with #1.
3655 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3656 Reads all user-defined typed variables.
3657 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3658 (verilog-signals-matching-regexp)
3659 (verilog-signals-not-matching-regexp, verilog-auto):
3660 Respect verilog-case-fold.
3661 (verilog-diff-report): Fix line count.
3662 (verilog-auto-assign-modport): Remove unused local `modi'.
3663 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3664 better handle multidimensional arrays.
3665 Fix packed array ports misadding bit index in AUTOINST, bug637.
3666 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3667 to not double-declare existing outputs and inputs, respectively.
3668 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3669 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3670 (verilog-sk-uvm-component): New skeleton.
3671 (verilog-submit-bug-report): Add verilog-case-fold,
3672 remove verilog-mode-release-date.
3673
3674 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3675
3676 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3677 as before.
3678
3679 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3680
3681 * textmodes/remember.el (remember): Set buffer-offer-save in
3682 remember buffers (bug#13566).
3683
3684 2013-10-18 Daniel Colascione <dancol@dancol.org>
3685
3686 When evaluating forms in ielm, direct standard output to ielm
3687 buffer. Add new ielm-return-for-effect command. Remove trailing
3688 whitespace throughout.
3689
3690 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3691 (ielm-return-for-effect): New command.
3692 (ielm-send-input): Accept optional `for-effect' parameter.
3693 (ielm-eval-input): Accept optional `for-effect' parameter.
3694 Bind `standard-output' to stream we create using
3695 `ielm-standard-output-impl'. Suppress printing result when
3696 `for-effect'.
3697 (ielm-standard-output-impl): New function.
3698 (inferior-emacs-lisp-mode): Explain new features in documentation.
3699
3700 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3701
3702 Code cleanup.
3703
3704 * net/tramp.el (tramp-debug-message): Do not check for connection
3705 buffer.
3706 (tramp-message): Use "vector" connection property.
3707
3708 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3709 (tramp-equal-remote, tramp-eshell-directory-change)
3710 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3711 (tramp-adb-handle-rename-file)
3712 * net/tramp-cmds.el (tramp-list-remote-buffers)
3713 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3714 * net/tramp-compat.el (tramp-compat-process-running-p)
3715 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3716 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3717 (tramp-gvfs-handle-rename-file)
3718 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3719 (tramp-set-file-uid-gid)
3720 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3721 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3722 of `file-remote-p'.
3723
3724 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3725 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3726 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3727 (tramp-gw-open-network-stream): Suppress unrelated traces.
3728
3729 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3730 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3731 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3732 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3733 connection property.
3734
3735 * net/tramp-cache.el (top): Suppress traces when reading
3736 persistency file.
3737
3738 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3739 Refactor common code. Improve debug message.
3740 (tramp-maybe-open-connection)
3741 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3742 connection buffer too early.
3743
3744 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3745 from `tramp-smb-actions-with-acl'.
3746 (tramp-smb-actions-set-acl): New defconst.
3747 (tramp-smb-handle-copy-directory)
3748 (tramp-smb-action-get-acl): New defun, renamed from
3749 `tramp-smb-action-with-acl'.
3750 (tramp-smb-action-set-acl): New defun.
3751 (tramp-smb-handle-set-file-acl): Rewrite.
3752
3753 2013-10-17 Glenn Morris <rgm@gnu.org>
3754
3755 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3756
3757 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * skeleton.el (skeleton-newline): Remove.
3760 (skeleton-internal-1): Use (insert "\n") instead.
3761
3762 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3763 let-bindings.
3764
3765 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3766 forward-sexp-function while we redo its job (bug#15613).
3767
3768 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3769
3770 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3771 represented by lists.
3772
3773 2013-10-16 Glenn Morris <rgm@gnu.org>
3774
3775 * tmm.el (tmm--history): New dynamic variable.
3776 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3777
3778 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3779
3780 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3781 (tramp-smb-errors): Add error messages.
3782 (tramp-smb-actions-with-acl): New defconst.
3783 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3784 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3785 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3786 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3787 (tramp-smb-get-stat-capability): Fix tests.
3788
3789 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3790
3791 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3792 (bug#15580).
3793
3794 2013-10-16 Glenn Morris <rgm@gnu.org>
3795
3796 * ansi-color.el (ansi-color-drop-regexp):
3797 Add 1J, 1K, 2K. (Bug#15617)
3798
3799 * files.el (hack-local-variables--warned-lexical): New.
3800 (hack-local-variables):
3801 Warn about misplaced lexical-binding. (Bug#15616)
3802
3803 * net/eww.el (eww-render): Always set eww-current-url,
3804 and update header line. (Bug#15622)
3805 (eww-display-html): ... Rather than just doing it here.
3806
3807 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3808
3809 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3810 menu navigations commands.
3811
3812 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3813
3814 * progmodes/subword.el (subword-capitalize): Be careful when
3815 the search for [[:alpha:]] fails (bug#15580).
3816
3817 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3818
3819 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3820 to commands that scroll the menu.
3821
3822 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3823
3824 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3825 Handle methods ending with `?' and `!'.
3826
3827 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3828
3829 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3830 `japanese-cp932' to `cp932' to fix the problem where saving a
3831 source file written in Shift_JIS twice would end up having
3832 `coding: japanese-cp932' which Ruby could not recognize.
3833 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3834 in `ruby-encoding-map'.
3835 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3836 doesn't need to be explicitly declared in magic comment.
3837 (ruby-encoding-map): Add type declaration for better customize UI.
3838
3839 2013-10-13 Glenn Morris <rgm@gnu.org>
3840
3841 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3842 Occur buffers are read-only. http://bugs.debian.org/720775
3843
3844 * emacs-lisp/authors.el (authors-fixed-entries):
3845 Comment out old alpha stuff.
3846
3847 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3848
3849 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3850 to `after-save-hook' instead of `before-save-hook'.
3851 (ruby-mode-set-encoding): Use the value of coding system used to
3852 write the file. Call `basic-save-buffer-1' after modifying the
3853 buffer.
3854
3855 2013-10-13 Alan Mackenzie <acm@muc.de>
3856
3857 Fix indentation/fontification of Java enum with
3858 "implements"/generic.
3859
3860 * progmodes/cc-engine.el (c-backward-over-enum-header):
3861 Extracted from the three other places and enhanced to handle generics.
3862 (c-inside-bracelist-p): Uses new function above.
3863 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3864 function above.
3865 (c-font-lock-enum-tail): Uses new function above.
3866
3867 2013-10-13 Kenichi Handa <handa@gnu.org>
3868
3869 * international/mule-cmds.el (select-safe-coding-system): Remove a
3870 superfluous condition in chekcing whether a coding system is safe
3871 or not.
3872
3873 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3874
3875 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3876
3877 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3878
3879 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3880
3881 2013-10-13 Glenn Morris <rgm@gnu.org>
3882
3883 * menu-bar.el (menu-bar-update-buffers):
3884 Unify Buffers menu prompt string. (Bug#15576)
3885
3886 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3887
3888 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3889 Add some entries.
3890 (authors-fixed-entries): Use accented form of name.
3891
3892 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3893
3894 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3895 method calls (bug#15594).
3896 (ruby-smie--args-separator-p): New function.
3897 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3898 recognize paren-free method calls.
3899
3900 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3901 internals of universal-argument.
3902
3903 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3904
3905 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3906 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3907 dropped menu on second mouse click on the menu bar.
3908
3909 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3912 (explicit-shell-file-name): Declare.
3913 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3914 (sh-completion-at-point-function): New function.
3915 (sh-mode): Use it.
3916 (sh-smie--keyword-p): Remove unused argument.
3917 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3918 vars.
3919 (sh-set-shell): Always setup SMIE, even if we use the
3920 old indentation code.
3921
3922 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3923
3924 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3925 cases of ? and =.
3926 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3927 predicate would return nil are almost non-existent.
3928 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3929
3930 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3931 cache also after commands that modify the buffer but don't move
3932 point.
3933
3934 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3935
3936 * env.el (substitute-env-in-file-name): New function.
3937 (substitute-env-vars): Extend the meaning of the optional arg.
3938
3939 2013-10-10 Eli Zaretskii <eliz@gnu.org>
3940
3941 * term/w32-win.el (dynamic-library-alist): Define separate lists
3942 of GIF DLLs for versions before and after 5.0.0 of giflib.
3943 (Bug#15531)
3944
3945 2013-10-10 João Távora <joaotavora@gmail.com>
3946
3947 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3948 not locked, use last revision and current source as
3949 defaults. (Bug#15569)
3950
3951 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3952
3953 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3954 menu-bar is hidden.
3955
3956 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3957
3958 * window.el (pop-to-buffer-same-window): Fix doc-string.
3959 (Bug#15492)
3960
3961 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3964
3965 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3966
3967 * calendar/icalendar.el (icalendar-import-file):
3968 Fix interactive spec. (Bug#15482)
3969
3970 2013-10-10 Glenn Morris <rgm@gnu.org>
3971
3972 * desktop.el (desktop-save): Default to saving in .emacs.d,
3973 since PWD is no longer in desktop-path by default. (Bug#15319)
3974
3975 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3976 now that text mode has a menu with the same entry.
3977 (menu-bar-text-mode-auto-fill): Remove now unused func.
3978 * textmodes/text-mode.el (text-mode-map):
3979 Use auto-fill help text from menu-bar.el.
3980
3981 2013-10-10 John Anthony <john@jo.hnanthony.com>
3982
3983 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3984
3985 2013-10-09 Juri Linkov <juri@jurta.org>
3986
3987 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3988 instead of this-command-keys. Add universal-argument-more and
3989 universal-argument-minus to the list of prefix commands. (Bug#15568)
3990
3991 2013-10-09 Glenn Morris <rgm@gnu.org>
3992
3993 * vc/vc-svn.el (vc-svn-create-repo):
3994 Expand paths in file://... url. (Bug#15446)
3995
3996 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3997 Add some entries.
3998 (authors): Remove unused local variables.
3999
4000 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * profiler.el: Create a more coherent calltree from partial backtraces.
4003 (profiler-format): Hide the tail with `invisible' so that C-s can still
4004 find the hidden elements.
4005 (profiler-calltree-depth): Don't recurse so enthusiastically.
4006 (profiler-function-equal): New hash-table-test.
4007 (profiler-calltree-build-unified): New function.
4008 (profiler-calltree-build): Use it.
4009 (profiler-report-make-name-part): Indent the calltree less.
4010 (profiler-report-mode): Add visibility specs for profiler-format.
4011 (profiler-report-expand-entry, profiler-report-toggle-entry):
4012 Expand the whole subtree when provided with a prefix arg.
4013
4014 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4015
4016 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4017 iuwu-mod token.
4018 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4019 hanging iuwu-mod token.
4020 (ruby-smie--forward-token): Do not include a dot after a token in
4021 that token.
4022 (ruby-smie--backward-token): Likewise.
4023
4024 2013-10-08 Juri Linkov <juri@jurta.org>
4025
4026 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4027 to isearch-other-control-char.
4028 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4029 and isearch-post-command-hook to post-command-hook.
4030 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4031 and isearch-post-command-hook from post-command-hook.
4032 (isearch-unread-key-sequence)
4033 (isearch-reread-key-sequence-naturally)
4034 (isearch-lookup-scroll-key, isearch-other-control-char)
4035 (isearch-other-meta-char): Remove functions.
4036 (isearch-pre-command-hook, isearch-post-command-hook):
4037 New functions based on isearch-other-meta-char rewritten
4038 relying on the new behavior of overriding-terminal-local-map
4039 that does not replace the local keymaps any more. (Bug#15200)
4040
4041 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4042
4043 Support menus on text-mode terminals.
4044 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4045 functionality.
4046
4047 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4048
4049 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4050 Move here from mouse.el.
4051 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4052 and arrow keys.
4053 (tty-menu-navigation-map): New map for TTY menu navigation.
4054
4055 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4056
4057 * frame.el (display-mouse-p): Report text-mode mouse as available
4058 on w32.
4059 (display-popup-menus-p): Report availability if mouse is
4060 available; don't condition on window-system.
4061
4062 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4063 (tty-menu-selected-face): New faces.
4064
4065 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4066
4067 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4068 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4069 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4070 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4071 New constants.
4072 (lisp-mode-variables): New `elisp' argument.
4073 (emacs-lisp-mode): Use it.
4074 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4075 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4076
4077 * indent.el: Use lexical-binding.
4078 (indent-region): Add progress reporter.
4079 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4080 last step.
4081 (indent--next-tab-stop): New function to implement this behavior.
4082 (tab-to-tab-stop, move-to-tab-stop): Use it.
4083
4084 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4085
4086 * indent.el (indent-rigidly--current-indentation): New function.
4087 (indent-rigidly-map): New var.
4088 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4089
4090 2013-10-08 Bastien Guerry <bzg@gnu.org>
4091
4092 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4093
4094 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4095
4096 * progmodes/perl-mode.el: Use lexical-binding.
4097 Remove redundant :group args.
4098 (perl-nochange): Change default to be closer to other major modes's
4099 standard behavior.
4100 (perl-indent-line): Don't consider text on current line as a
4101 valid beginning of function from which to indent.
4102
4103 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4104 with more than one argument (bug#15538).
4105
4106 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4107
4108 * vc/pcvs.el: Use lexical-binding.
4109 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4110 environment of `eval'.
4111 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4112 than a list of expressions. Adjust callers.
4113 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4114
4115 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4116
4117 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4118 case of the dot in a chained method call being on the following line.
4119
4120 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * electric.el (electric-indent-inhibit): New var.
4123 (electric-indent-post-self-insert-function): Use it.
4124 * progmodes/python.el (python-mode): Set it.
4125
4126 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4127 open braces.
4128
4129 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4130
4131 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4132 (css-mode): Use electric-indent-chars.
4133
4134 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4135 (font-lock-beg, font-lock-end): Move before first use.
4136 (nxml-mode): Use syntax-propertize-function.
4137 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4138 (nxml-extend-after-change-region): Remove.
4139 * nxml/xmltok.el: Use lexical-binding.
4140 (xmltok-save): Use `declare'.
4141 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4142 * nxml/nxml-util.el: Use lexical-binding.
4143 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4144 Use `declare'.
4145 * nxml/nxml-ns.el: Use lexical-binding.
4146 (nxml-ns-save): Use `declare'.
4147 (nxml-ns-prefixes-for): Avoid add-to-list.
4148 * nxml/rng-match.el: Use lexical-binding.
4149 (rng--ipattern): Use cl-defstruct.
4150 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4151 (rng-cons-group-after, rng-subst-group-after)
4152 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4153 Use closures instead of `(lambda...).
4154
4155 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4156
4157 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4158 of BEG and END.
4159
4160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4161 Use `tramp-handle-insert-file-contents'.
4162 (tramp-gvfs-handle-insert-file-contents): Remove function.
4163
4164 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4165 Use `save-restriction' in order to keep markers.
4166
4167 * net/trampver.el: Update release number.
4168
4169 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4170
4171 * progmodes/compile.el (compilation-parse-errors):
4172 Use compilation--put-prop.
4173 (compilation--ensure-parse): Check compilation-multiline.
4174
4175 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4176
4177 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4178 lexical-binding.
4179
4180 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4181
4182 * progmodes/ruby-mode.el: Fix recently added tests.
4183 (ruby-smie-grammar): Add - and +.
4184 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4185 (ruby-smie--backward-id): New functions.
4186 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4187 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4188 any more.
4189
4190 2013-10-07 Leo Liu <sdl.web@gmail.com>
4191
4192 * register.el (register-preview-delay)
4193 (register-preview-functions): New variables.
4194 (register-read-with-preview, register-preview)
4195 (register-describe-oneline): New functions.
4196 (point-to-register, window-configuration-to-register)
4197 (frame-configuration-to-register, jump-to-register)
4198 (number-to-register, view-register, insert-register)
4199 (copy-to-register, append-to-register, prepend-to-register)
4200 (copy-rectangle-to-register): Use register-read-with-preview to
4201 read register. (Bug#15525)
4202
4203 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4204
4205 * net/network-stream.el (network-stream-open-starttls): Don't add
4206 --insecure if it's already present, because that gnutls-cli
4207 rejects getting that parameter twice.
4208
4209 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4210
4211 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4212 keyword, too.
4213
4214 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4215
4216 * newcomment.el (comment-use-global-state): Change default value
4217 to t, mark obsolete (Bug#15251).
4218 (comment-beginning): In addition to `comment-to-syntax', check the
4219 value of `comment-use-global-state'.
4220
4221 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4222
4223 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4224 (ruby-comment-column): Follow the global default, by default.
4225 (ruby-smie-grammar): Add assignment syntax.
4226 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4227 open-paren, a comma, or a \.
4228 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4229 and line continuations.
4230 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4231 followed by implicit semi-colons. Add rule for string concatenation
4232 and for indentation at BOB.
4233 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4234
4235 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4236 calling next-sexp, since next-token may have skipped chars which
4237 next-sexp doesn't know should be skipped!
4238
4239 2013-10-05 Leo Liu <sdl.web@gmail.com>
4240
4241 * progmodes/octave.el (octave-send-region):
4242 Call compilation-forget-errors.
4243
4244 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4245
4246 * vc/vc-svn.el (vc-svn-find-admin-dir):
4247 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4248 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4249 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4250 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4251
4252 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4253
4254 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4255
4256 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4257
4258 * subr.el (read-passwd): Hide chars even when called within a context
4259 where after-change-functions is disabled (bug#15501).
4260 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4261 until we removed ourself from overriding-terminal-local-map.
4262
4263 2013-10-04 Leo Liu <sdl.web@gmail.com>
4264
4265 * progmodes/octave.el (inferior-octave-mode):
4266 Call compilation-forget-errors.
4267
4268 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4269
4270 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4271
4272 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4273
4274 * net/secrets.el (secrets-create-collection): Add optional
4275 argument ALIAS. Use proper Label keyword. Append ALIAS as
4276 dbus-call-method argument. (Bug#15516)
4277
4278 2013-10-04 Leo Liu <sdl.web@gmail.com>
4279
4280 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4281 (inferior-octave-compilation-font-lock-keywords): New variables.
4282 (compilation-error-regexp-alist)
4283 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4284 (inferior-octave-mode): Use compilation-shell-minor-mode.
4285
4286 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4287
4288 * minibuffer.el (completion--replace): Be careful that `end' might be
4289 a marker.
4290
4291 2013-10-03 Daiki Ueno <ueno@gnu.org>
4292
4293 Add support for package signature checking.
4294 * emacs-lisp/package.el (url-http-file-exists-p)
4295 (epg-make-context, epg-context-set-home-directory)
4296 (epg-verify-string, epg-context-result-for)
4297 (epg-signature-status, epg-signature-to-string)
4298 (epg-check-configuration, epg-configuration)
4299 (epg-import-keys-from-file): Declare.
4300 (package-check-signature): New user option.
4301 (package-unsigned-archives): New user option.
4302 (package-desc): Add `signed' field.
4303 (package-load-descriptor): Set `signed' field if .signed file exists.
4304 (package--archive-file-exists-p): New function.
4305 (package--check-signature): New function.
4306 (package-install-from-archive): Check package signature.
4307 (package--download-one-archive): Check archive signature.
4308 (package-delete): Remove .signed file.
4309 (package-import-keyring): New command.
4310 (package-refresh-contents): Import default keyring.
4311 (package-desc-status): Add "unsigned" status.
4312 (describe-package-1, package-menu--print-info)
4313 (package-menu-mark-delete, package-menu--find-upgrades)
4314 (package-menu--status-predicate): Support "unsigned" status.
4315
4316 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4319 the new compilation scheme using the new byte-codes.
4320
4321 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4322 (byte-pophandler): New byte codes.
4323 (byte-goto-ops): Adjust accordingly.
4324 (byte-compile--use-old-handlers): New var.
4325 (byte-compile-catch): Use new byte codes depending on
4326 byte-compile--use-old-handlers.
4327 (byte-compile-condition-case--old): Rename from
4328 byte-compile-condition-case.
4329 (byte-compile-condition-case--new): New function.
4330 (byte-compile-condition-case): New function that dispatches depending
4331 on byte-compile--use-old-handlers.
4332 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4333 when we can.
4334
4335 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4336 Optimize under `condition-case' and `catch' if
4337 byte-compile--use-old-handlers is nil.
4338 (disassemble-offset): Handle new bytecodes.
4339
4340 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * subr.el (error): Use `declare'.
4343 (decode-char, encode-char): Use advertised-calling-convention instead
4344 of the docstring to discourage use of the `restriction' arg.
4345
4346 2013-10-03 Daiki Ueno <ueno@gnu.org>
4347
4348 * epg.el (epg-verify-file): Add a comment saying that it does not
4349 notify verification error as a return value nor a signal.
4350 (epg-verify-string): Ditto.
4351
4352 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4353
4354 * progmodes/compile.el (compilation-start): Try globbing the arg to
4355 `cd' (bug#15417).
4356
4357 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4358
4359 Sync with Tramp 2.2.8.
4360
4361 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4362 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4363 * net/trampver.el: Update release number.
4364
4365 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4366
4367 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4368 and default-process-coding-system for darwin only.
4369
4370 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4373
4374 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4375
4376 * vc/vc-git.el (vc-git-grep): Disable pager.
4377
4378 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4379
4380 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4381 Use :url instead of :homepage, as per
4382 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4383
4384 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4385 non-nil, use `syntax-ppss' (Bug#15251).
4386
4387 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4388
4389 * progmodes/octave.el (inferior-octave-startup-file):
4390 Prefer ~/.emacs.d/init_octave.m.
4391
4392 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4393
4394 * emacs-lisp/package.el (package-desc-from-define):
4395 Accept additional arguments as plist, convert them to an alist and store
4396 them in the `extras' slot.
4397 (package-generate-description-file): Convert extras alist back to
4398 plist and append to the `define-package' form arguments.
4399 (package--alist-to-plist): New function.
4400 (package--ac-desc): Add `extras' slot.
4401 (package--add-to-archive-contents): Check if the archive-contents
4402 vector is long enough, and if it is, pass its `extras' slot value
4403 to `package-desc-create'.
4404 (package-buffer-info): Call `lm-homepage', pass the returned value
4405 to `package-desc-from-define'.
4406 (describe-package-1): Render the homepage button (Bug#13291).
4407
4408 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4409 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4410
4411 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4412
4413 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4414 and default-process-coding-system to utf-8-unix (Bug#15402).
4415
4416 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4417
4418 * subr.el (looking-back): Do not recommend using looking-back.
4419
4420 2013-09-28 Alan Mackenzie <acm@muc.de>
4421
4422 Fix indentation/fontification of Java enum with "implements".
4423
4424 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4425 regexp which matches "implements", etc., in Java.
4426 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4427 specifier clauses coming after "enum".
4428 * progmodes/cc-fonts.el (c-font-lock-declarations)
4429 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4430 after "enum".
4431
4432 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4433
4434 * faces.el (region): Change ns_selection_color to
4435 ns_selection_fg_color, add ns_selection_bg_color.
4436
4437 2013-09-28 Leo Liu <sdl.web@gmail.com>
4438
4439 * progmodes/octave.el (inferior-octave-completion-table)
4440 (inferior-octave-completion-at-point): Minor tweaks.
4441
4442 * textmodes/ispell.el (ispell-lookup-words): Rename from
4443 lookup-words. (Bug#15460)
4444 (lookup-words): Obsolete.
4445 (ispell-complete-word, ispell-command-loop): All uses changed.
4446
4447 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4448
4449 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4450 (octave-mode-menu): Add octave-send-buffer.
4451 (octave-send-buffer): New function.
4452
4453 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4454
4455 * progmodes/octave.el (octave-mode-map): Add key binding for
4456 octave-lookfor.
4457 (octave-mode-menu): Add octave-lookfor.
4458 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4459 octave-lookfor.
4460 (octave-lookfor): New function.
4461
4462 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * emacs-lisp/cl-macs.el:
4465 (cl--loop-destr-temps): Remove.
4466 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4467 its convention.
4468 (cl--loop-set-iterator-function): New function.
4469 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4470 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4471 Bind `it' with `let' instead of substituting it with `cl-subst'.
4472 (cl--unused-var-p): New function.
4473 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4474 Eliminate some unused variable warnings (bug#15326).
4475
4476 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4477
4478 * doc-view.el (doc-view-scale-reset): Rename from
4479 `doc-view-reset-zoom-level'.
4480 (doc-view-scale-adjust): New command.
4481 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4482 `doc-view-scale-adjust'.
4483
4484 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4485
4486 * doc-view.el (doc-view-reset-zoom-level): New command.
4487 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4488 zoom commands (bug#15466).
4489
4490 2013-09-26 Kenichi Handa <handa@gnu.org>
4491
4492 * international/quail.el (quail-help): Make it not a command.
4493
4494 2013-09-26 Leo Liu <sdl.web@gmail.com>
4495
4496 * minibuffer.el (completion-all-sorted-completions): Make args
4497 optional as they are.
4498
4499 2013-09-25 Daniel Colascione <dancol@dancol.org>
4500
4501 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4502 specs are and that they're not evaluated.
4503
4504 2013-09-24 Sam Steingold <sds@gnu.org>
4505
4506 * midnight.el (clean-buffer-list-kill-regexps)
4507 (clean-buffer-list-kill-buffer-names): Update for the new Man
4508 buffer naming which includes the object name.
4509
4510 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4513 (eshell-parse-command, eshell-parse-pipeline): Use it since
4514 eshell-separate-commands requires a dynamic scoped var.
4515 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4516
4517 2013-09-23 Leo Liu <sdl.web@gmail.com>
4518
4519 * autoinsert.el (auto-insert-alist): Make the value of
4520 lexical-binding match its file setting.
4521
4522 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4523
4524 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4525
4526 * autoarg.el (autoarg-kp-digit-argument):
4527 * electric.el (Electric-command-loop):
4528 * kmacro.el (kmacro-step-edit-insert):
4529 Do not set universal-argument-num-events.
4530
4531 2013-09-22 Leo Liu <sdl.web@gmail.com>
4532
4533 * files.el (interpreter-mode-alist): Add octave.
4534
4535 2013-09-21 Alan Mackenzie <acm@muc.de>
4536
4537 C++: fontify identifier in declaration following "public:" correctly.
4538 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4539 to match "public", etc.
4540 (c-decl-prefix-re): Add ":" into the C++ value.
4541 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4542 bit. Add a check for a ":" preceded by "public", etc.
4543
4544 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4545
4546 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4547 recognized by GDB 7.5 and later.
4548
4549 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4550
4551 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4552
4553 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4554
4555 * subr.el (internal--call-interactively): New const.
4556 (called-interactively-p): Use it (bug#3984).
4557
4558 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4559
4560 * vc/pcvs.el (cvs-mode-ignore):
4561 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4562 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4563
4564 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4567 (eshell-ls-orig-insert-directory): Remove.
4568 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4569 (eshell-ls-use-in-dired): Use advice-add/remove.
4570 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4571 Add `orig-fun' arg for use in :around advice.
4572 Make it check (redundantly) eshell-ls-use-in-dired.
4573
4574 2013-09-19 Glenn Morris <rgm@gnu.org>
4575
4576 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4577
4578 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4579
4580 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4581
4582 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4583
4584 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4585 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4586 (tramp-get-remote-python): New defuns.
4587 (tramp-get-remote-uid-with-perl)
4588 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4589 contributed by yary <not.com@gmail.com> (tiny change).
4590 (tramp-get-remote-uid-with-python)
4591 (tramp-get-remote-gid-with-python): New defuns. Python code
4592 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4593 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4594
4595 2013-09-19 Glenn Morris <rgm@gnu.org>
4596
4597 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4598
4599 * eshell/em-unix.el (eshell-remove-entries):
4600 Rename argument to avoid name-clash with global `top-level'.
4601
4602 * eshell/esh-proc.el (eshell-kill-process-function):
4603 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4604 (eshell-reset-after-proc): Remove unused arg `proc'.
4605
4606 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4607 (directory-files-and-attributes): Mark unused arg.
4608
4609 * eshell/em-unix.el (eshell-remove-entries):
4610 Remove unused arg `path'. Update callers.
4611
4612 * eshell/em-hist.el (eshell-hist-parse-arguments):
4613 Remove unused arg `silent'. Update callers.
4614
4615 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4616 Fix (f)boundp mix-up.
4617
4618 * eshell/em-smart.el (eshell-smart-scroll-window)
4619 (eshell-disable-after-change):
4620 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4621
4622 2013-09-18 Alan Mackenzie <acm@muc.de>
4623
4624 Fix fontification of type when followed by "const".
4625 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4626 "known" types from fontification.
4627
4628 2013-09-18 Glenn Morris <rgm@gnu.org>
4629
4630 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4631 (chart-face-list): Drop Emacsen without display-color-p.
4632
4633 * net/eww.el (libxml-parse-html-region): Declare.
4634 (eww-display-html): Explicit error if no libxml2 support.
4635
4636 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4637
4638 * image.el (image-type-from-buffer, image-multi-frame-p):
4639 Remove --without-x warning/error.
4640
4641 * mouse.el (mouse-yank-primary):
4642 * term.el (term-mouse-paste):
4643 Reorder to silence --without-x compilation.
4644
4645 * mpc.el (doc-view-mode): Silence --without-x compilation.
4646
4647 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4648 Silence --without-x compilation.
4649
4650 * progmodes/gud.el (gud-find-file, gud-mode):
4651 Silence --without-x compilation.
4652 (tooltip-mode): Declare.
4653
4654 * wdired.el (dired-backup-overwrite): Remove declaration.
4655 (wdired-mode-map): Add doc string.
4656
4657 * custom.el (x-get-resource): Declare.
4658
4659 * eshell/em-glob.el (ange-cache):
4660 * eshell/em-unix.el (ange-cache): Declare.
4661
4662 * faces.el (x-display-list, x-open-connection, x-get-resource):
4663 Declare.
4664
4665 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4666 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4667 Declare.
4668
4669 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4670
4671 * net/gnutls.el (gnutls-log-level): Declare.
4672
4673 * net/shr.el (image-size, image-animate): Declare.
4674
4675 * simple.el (font-info): Declare.
4676
4677 * subr.el (x-popup-dialog): Declare.
4678
4679 * term/common-win.el (x-select-enable-primary)
4680 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4681 Declare.
4682
4683 * term/ns-win.el (x-handle-args): Declare.
4684
4685 * term/x-win.el (x-select-enable-clipboard): Declare.
4686
4687 * term/w32-win.el (create-default-fontset): Declare.
4688
4689 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4690 Declare.
4691
4692 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4693 (fit-frame-to-buffer): Explicit error if --without-x.
4694 (mouse-autoselect-window-select): Silence compiler.
4695
4696 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4697
4698 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4699 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4700 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4701 * eshell/esh-util.el (eshell-sublist):
4702 Remove unused local variables.
4703
4704 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4705
4706 * textmodes/two-column.el: Make 2C-split work for --without-x.
4707 (scroll-bar-columns): Autoload.
4708 (top-level): Require fringe when compiling.
4709
4710 2013-09-18 Leo Liu <sdl.web@gmail.com>
4711
4712 * subr.el (add-hook): Robustify to handle closure as well.
4713
4714 2013-09-17 Glenn Morris <rgm@gnu.org>
4715
4716 * simple.el (messages-buffer-mode-map): Unbind "g".
4717
4718 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * help-mode.el (help-mode-finish): Use derived-mode-p.
4721 Remove obsolete highlighting.
4722
4723 * play/life.el (life-mode): Use define-derived-mode. Derive from
4724 special-mode.
4725 (life): Let-bind inhibit-read-only.
4726 (life-setup): Avoid `setq'. Use `life-mode'.
4727
4728 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4729 which should not be needed any more.
4730 (package-menu-refresh, package-menu-describe-package): Use user-error.
4731
4732 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4733 (eshell-post-rewrite-command-hook): Make obsolete.
4734 (eshell-parse-command): Simplify.
4735 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4736 (eshell--cmd): Declare.
4737 (eshell-parse-pipeline): Remove unused var `final-p'.
4738 Pass a dynvar to eshell-post-rewrite-command-hook.
4739 Implement the new eshell-post-rewrite-command-function.
4740 (eshell-invoke-directly): Remove unused arg `input'.
4741 * eshell/esh-io.el (eshell-io-initialize):
4742 Use eshell-post-rewrite-command-function (bug#15399).
4743 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4744 adjust to new calling convention.
4745 (eshell-create-handles): Rename args to avoid clashing with dynvar
4746 `standard-output'.
4747
4748 2013-09-17 Glenn Morris <rgm@gnu.org>
4749
4750 * simple.el (messages-buffer-mode): New major mode.
4751 (messages-buffer): New function.
4752 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4753 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4754 (ert-run-test): Use `messages-buffer' function.
4755 (ert--force-message-log-buffer-truncation): Ignore read-only.
4756 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4757 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4758
4759 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4762
4763 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4764
4765 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4766
4767 * icomplete.el (icomplete-in-buffer): New var.
4768 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4769 vars and replace them with functions.
4770 (icomplete-minibuffer-setup): Adjust accordingly.
4771 (icomplete--completion-table, icomplete--completion-predicate)
4772 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4773 New functions.
4774 (icomplete-forward-completions, icomplete-backward-completions)
4775 (icomplete-simple-completing-p, icomplete-exhibit)
4776 (icomplete-completions): Use them.
4777 (icomplete--in-region-buffer): New var.
4778 (icomplete--in-region-setup): New function.
4779 (icomplete-mode): Use it.
4780
4781 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4782 (bug#15379).
4783 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4784 return args and options.
4785 (eshell-eval-using-options): Use the new return value of
4786 eshell--do-opts to set the options's vars in their scope.
4787 (eshell--set-option): Rename from eshell-set-option.
4788 Add arg `opt-vals'.
4789 (eshell--process-option): Rename from eshell-process-option.
4790 Add arg `opt-vals'.
4791 (eshell--process-args): Use an `opt-vals' alist to store the options's
4792 values during their processing and return them additionally to the
4793 remaining args.
4794
4795 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4796
4797 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4798 continuation character an operator, as far as indentation is
4799 concerned (Bug#15369).
4800
4801 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4802
4803 * window.el (window--state-put-2): Don't process buffer state
4804 when buffer doesn't exist any more (Bug#15382).
4805
4806 2013-09-15 Glenn Morris <rgm@gnu.org>
4807
4808 * eshell/em-unix.el (eshell/rm):
4809 Make -f ignore missing files. (Bug#15373)
4810
4811 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4812 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4813 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4814
4815 2013-09-14 Glenn Morris <rgm@gnu.org>
4816
4817 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4818
4819 2013-09-13 Glenn Morris <rgm@gnu.org>
4820
4821 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4822 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4823
4824 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4825
4826 * frame.el (x-focus-frame): Mark as declared in frame.c.
4827
4828 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * ls-lisp.el: Use advice-add.
4831 (original-insert-directory): Remove.
4832 (ls-lisp--insert-directory): Rename from insert-directory; add
4833 `orig-fun' argument.
4834 (insert-directory): Advise.
4835
4836 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4837
4838 * term.el (term-emulate-terminal): Decode the command string
4839 before passing it to term-command-hook. (Bug#15337)
4840
4841 2013-09-13 Glenn Morris <rgm@gnu.org>
4842
4843 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4844
4845 * eshell/esh-ext.el (eshell-search-path): Declare.
4846
4847 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4848 Otherwise an error occurs if eshell-dirs module not loaded.
4849
4850 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4851
4852 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4853
4854 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4855 `tramp-check-proper-host'. Check for a valid method name.
4856
4857 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4858 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4859 * net/tramp-sh.el (tramp-maybe-open-connection):
4860 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4861
4862 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4863 also for hash values.
4864
4865 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * term/ns-win.el (parameters): Don't declare as dynamic.
4868 (before-make-frame-hook): Don't add ineffective function.
4869
4870 * eshell/*.el: Use lexical-binding (bug#15231).
4871
4872 2013-09-12 Kenichi Handa <handa@gnu.org>
4873
4874 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4875
4876 2013-09-12 Glenn Morris <rgm@gnu.org>
4877
4878 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4879 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4880
4881 * subr.el (do-after-load-evaluation): Also give compiler warnings
4882 when obsolete files are used (except by obsolete files).
4883
4884 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4885 in the status output, assume `filename' is the first. (Bug#15322)
4886
4887 * vc/vc.el (vc-deduce-fileset): Doc fix.
4888
4889 * calc/calc-help.el (Info-goto-node):
4890 * progmodes/cperl-mode.el (Info-find-node):
4891 * vc/ediff.el (Info-goto-node): Update declarations.
4892
4893 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4894
4895 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4896 (vc-bzr-pull): Require vc-dispatcher.
4897 * vc/vc-git.el (vc-compilation-mode): Declare.
4898 (vc-git-pull): Require vc-dispatcher.
4899
4900 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4901
4902 * progmodes/octave.el (help-button-action): Declare.
4903
4904 * shell.el (shell-directory-tracker): Output error as a message
4905 rather than just returning it as a string.
4906 (shell-process-pushd): Remove useless use of message.
4907
4908 * dframe.el (dframe-timer-fn):
4909 * files.el (dir-locals-read-from-file):
4910 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4911 (mpc-format):
4912 * reveal.el (reveal-post-command):
4913 * saveplace.el (load-save-place-alist-from-file):
4914 * shell.el (shell-resync-dirs):
4915 * w32-common-fns.el (x-get-selection-value):
4916 * emacs-lisp/copyright.el (copyright-find-copyright):
4917 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4918 * emulation/tpu-edt.el (tpu-copy-keyfile):
4919 * play/bubbles.el (bubbles--mark-neighbourhood):
4920 * progmodes/executable.el
4921 (executable-make-buffer-file-executable-if-script-p):
4922 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4923
4924 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 Cleanup Eshell to rely less on dynamic scoping.
4927 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4928 last-value, and ext-command here. Bind `args' closer to `body'.
4929 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4930 (eshell--args): Declare new dynamic var.
4931 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4932 last-value, and ext-command. Pass `args' to `body'.
4933 (eshell-process-args): Bind eshell--args.
4934 (eshell-set-option): Use eshell--args.
4935 * eshell/eshell.el (eshell): Use derived-mode-p.
4936 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4937 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4938 (eshell-glob-function): Declare.
4939 * eshell/esh-util.el: Require cl-lib.
4940 (eshell-read-hosts-file): Avoid add-to-list.
4941 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4942 `err'.
4943 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4944 Declare.
4945 (eshell/diff): Remove unused var `err'.
4946 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4947 `killflag'.
4948 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4949 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4950 first use.
4951 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4952 Move declaration before first use.
4953 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4954 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4955 rely on cl-return.
4956
4957 2013-09-12 Glenn Morris <rgm@gnu.org>
4958
4959 * term/ns-win.el (global-map): Remove binding for ispell-next,
4960 deleted 1999-05-29. (Bug#15357)
4961
4962 2013-09-11 Glenn Morris <rgm@gnu.org>
4963
4964 * echistory.el (electric-command-history): Remove call to deleted func.
4965
4966 * play/landmark.el (landmark-mode): Fix typos.
4967
4968 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4969 Check cvs-sort-ignore-file is bound.
4970
4971 * savehist.el: No need for cl when compiling on Emacs.
4972
4973 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4976 (bug#15338).
4977 (eshell-self-insert-command, eshell-send-invisible):
4978 Remove unused argument.
4979 (eshell-handle-control-codes): Remove unused var `orig'.
4980 Avoid delete-backward-char.
4981
4982 * files.el (set-auto-mode): Simplify a bit further.
4983
4984 2013-09-11 Glenn Morris <rgm@gnu.org>
4985
4986 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4987 (set-auto-mode): Don't regexp-quote elements.
4988 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4989 * progmodes/cc-mode.el (interpreter-mode-alist):
4990 * progmodes/ruby-mode.el (interpreter-mode-alist):
4991 Revert previous change.
4992
4993 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4994
4995 * play/snake.el (snake-mode):
4996 * play/mpuz.el (mpuz-mode):
4997 * play/landmark.el (lm-mode):
4998 * play/blackbox.el (blackbox-mode):
4999 * play/5x5.el (5x5-mode):
5000 * obsolete/options.el (Edit-options-mode):
5001 * net/quickurl.el (quickurl-list-mode):
5002 * net/newst-treeview.el (newsticker-treeview-mode):
5003 * mail/rmailsum.el (rmail-summary-mode):
5004 * mail/mspools.el (mspools-mode):
5005 * locate.el (locate-mode):
5006 * ibuffer.el (ibuffer-mode):
5007 * emulation/ws-mode.el (wordstar-mode):
5008 * emacs-lisp/debug.el (debugger-mode):
5009 * array.el (array-mode):
5010 * net/eudc.el (eudc-mode): Use define-derived-mode.
5011 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5012 Move initialization into declaration.
5013 (mairix-searches-mode): Use define-derived-mode.
5014 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5015 (eudc-edit-hotlist): Use dolist.
5016 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5017 (Man-mode): Use define-derived-mode.
5018 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5019 (Info-edit-mode): Use define-derived-mode.
5020 (Info-cease-edit): Use Info-mode.
5021 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5022 into declaration.
5023 (eshell-mode): Use define-derived-mode.
5024 * chistory.el (command-history-mode-map): Rename from
5025 command-history-map.
5026 (command-history-mode): Use define-derived-mode.
5027 (Command-history-setup): Remove function.
5028 * calc/calc.el (calc-trail-mode-map): New var.
5029 (calc-trail-mode): Use define-derived-mode.
5030 (calc-trail-buffer): Set calc-main-buffer manually.
5031 * bookmark.el (bookmark-insert-annotation): New function.
5032 (bookmark-edit-annotation): Use it.
5033 (bookmark-edit-annotation-mode): Make it a proper major mode.
5034 (bookmark-send-edited-annotation): Use derived-mode-p.
5035 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5036 closer to its ideal place. Use \' to match EOS.
5037
5038 * profiler.el (profiler-calltree-find): Use function-equal.
5039
5040 2013-09-10 Glenn Morris <rgm@gnu.org>
5041
5042 * files.el (interpreter-mode-alist): Convert to regexps.
5043 (set-auto-mode): Adapt for this. (Bug#15306)
5044 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5045 Comment out unused variable.
5046 * progmodes/cc-mode.el (interpreter-mode-alist):
5047 * progmodes/python.el (interpreter-mode-alist):
5048 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5049 * progmodes/sh-script.el (sh-set-shell):
5050 No longer use interpreter-mode-alist to get list of shells.
5051
5052 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5053
5054 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * simple.el: Use set-temporary-overlay-map for universal-argument.
5057 (universal-argument-map): Don't use default-bindings (bug#15317).
5058 Bind switch-frame explicitly. Replace universal-argument-minus with
5059 a conditional binding.
5060 (universal-argument-num-events, saved-overriding-map): Remove.
5061 (restore-overriding-map): Remove.
5062 (universal-argument--mode): Rename from save&set-overriding-map,
5063 and rewrite.
5064 (universal-argument, universal-argument-more, negative-argument)
5065 (digit-argument): Adjust accordingly.
5066 (universal-argument-minus): Remove.
5067 (universal-argument-other-key): Remove.
5068
5069 * subr.el (with-demoted-errors): Add `format' argument.
5070
5071 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5072
5073 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5074 `tramp-cleanup-connection'.
5075
5076 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5077 parameters KEEP-DEBUG and KEEP-PASSWORD.
5078
5079 * net/tramp.el (tramp-file-name-handler):
5080 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5081 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5082 (tramp-maybe-open-connection):
5083 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5084 Use `tramp-cleanup-connection'.
5085
5086 * net/tramp-sh.el (tramp-maybe-open-connection):
5087 Catch 'uname-changed inside the progress reporter.
5088
5089 2013-09-10 Glenn Morris <rgm@gnu.org>
5090
5091 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5092
5093 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5094 returns "alternate access method" in mode (eg "-rw-r--r--.").
5095
5096 2013-09-08 Glenn Morris <rgm@gnu.org>
5097
5098 * saveplace.el (load-save-place-alist-from-file):
5099 Demote errors. (Bug#15305)
5100
5101 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5102
5103 Improve compatibility with older Emacsen, and XEmacs.
5104
5105 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5106 only if it is bound. It isn't for XEmacs.
5107 (with-tramp-progress-reporter): Do not let-bind `result'.
5108 This yields to scoping errors in XEmacs.
5109 (tramp-handle-make-auto-save-file-name): New function, moved from
5110 tramp-sh.el.
5111
5112 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5113 for `make-auto-save-file-name'.
5114 (tramp-adb--gnu-switches-to-ash):
5115 Use `tramp-compat-replace-regexp-in-string'.
5116
5117 * net/tramp-cache.el (tramp-cache-print): Call
5118 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5119
5120 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5121 bound. It isn't for XEmacs.
5122
5123 * net/tramp-compat.el (tramp-compat-copy-file):
5124 Catch `wrong-number-of-arguments' error.
5125 (tramp-compat-replace-regexp-in-string): New defun.
5126
5127 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5128 for `make-auto-save-file-name'.
5129 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5130 `copy-file'.
5131 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5132 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5133 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5134
5135 * net/tramp-gw.el (tramp-gw-open-network-stream):
5136 Use `tramp-compat-replace-regexp-in-string'.
5137
5138 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5139 Call `tramp-handle-make-auto-save-file-name'.
5140 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5141 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5142 (tramp-sh-file-inotifywait-process-filter):
5143 Use `tramp-compat-replace-regexp-in-string'.
5144 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5145
5146 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5147 for `make-auto-save-file-name'.
5148 (tramp-smb-handle-copy-directory):
5149 Call `tramp-compat-replace-regexp-in-string'.
5150 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5151 (tramp-smb-handle-copy-file): Improve error message.
5152 (tramp-smb-handle-rename-file): Rename directly only in case
5153 `newname' does not exist yet. This is a restriction of smbclient.
5154 (tramp-smb-maybe-open-connection): Rerun the function only when
5155 `auth-sources' is non-nil.
5156
5157 2013-09-08 Kenichi Handa <handa@gnu.org>
5158
5159 * international/characters.el: Set category "^" (Combining) for
5160 more characters.
5161
5162 2013-09-07 Alan Mackenzie <acm@muc.de>
5163
5164 Correctly fontify Java class constructors.
5165 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5166 in Java Mode.
5167 (c-recognize-typeless-decls): Set the Java value to t.
5168 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5169 While handling a "(", add a check for, effectively, Java, and handle a
5170 "typeless" declaration there.
5171
5172 2013-09-07 Roland Winkler <winkler@gnu.org>
5173
5174 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5175 field subtitle for entry type book.
5176
5177 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * minibuffer.el: Make minibuffer-complete call completion-in-region
5180 rather than other way around.
5181 (completion--some, completion-pcm--find-all-completions):
5182 Don't delay signals when debugging.
5183 (minibuffer-completion-contents): Beware fields within the
5184 minibuffer contents.
5185 (completion-all-sorted-completions): Use defvar-local.
5186 (completion--do-completion, completion--cache-all-sorted-completions)
5187 (completion-all-sorted-completions, minibuffer-force-complete):
5188 Add args `beg' and `end'.
5189 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5190 (minibuffer-complete): Use completion-in-region.
5191 (completion-complete-and-exit): New fun, extracted from
5192 minibuffer-complete-and-exit.
5193 (minibuffer-complete-and-exit): Use it.
5194 (completion--complete-and-exit): Rename from
5195 minibuffer--complete-and-exit.
5196 (completion-in-region--single-word): New function, extracted from
5197 minibuffer-complete-word.
5198 (minibuffer-complete-word): Use it.
5199 (display-completion-list): Make `common-substring' argument obsolete.
5200 (completion--in-region): Call completion--in-region-1 instead of
5201 minibuffer-complete.
5202 (completion-help-at-point): Pass boundaries to
5203 minibuffer-completion-help as args rather than via an overlay.
5204 (completion-pcm--string->pattern): Use `any-delim'.
5205 (completion-pcm--optimize-pattern): New function.
5206 (completion-pcm--pattern->regex): Handle `any-delim'.
5207 * icomplete.el (icomplete-forward-completions)
5208 (icomplete-backward-completions, icomplete-completions):
5209 Adjust calls to completion-all-sorted-completions and
5210 completion--cache-all-sorted-completions.
5211 (icomplete-with-completion-tables): Default to t.
5212 * emacs-lisp/crm.el (crm--current-element): Rename from
5213 crm--select-current-element. Don't put an overlay but return the
5214 boundaries instead.
5215 (crm--completion-command): Take two new args to bind to the boundaries.
5216 (crm-completion-help): Adjust accordingly.
5217 (crm-complete): Use completion-in-region.
5218 (crm-complete-word): Use completion-in-region--single-word.
5219 (crm-complete-and-exit): Use completion-complete-and-exit.
5220
5221 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5222
5223 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5224 than dynamically.
5225
5226 2013-09-06 Juri Linkov <juri@jurta.org>
5227
5228 * info.el (Info-display-images-node): When image file doesn't exist
5229 display text version of the image if it's provided in the Info file.
5230 Otherwise, display the location of missing image from SRC attribute.
5231 Add help-echo text property from ALT attribute. (Bug#15279)
5232
5233 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5236 (edit-abbrevs-mode): Use define-derived-mode.
5237
5238 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5239 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5240 that it's defined.
5241 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5242 Use define-derived-mode.
5243
5244 * epg.el (epg-start-encrypt): Minor CSE simplification.
5245
5246 2013-09-06 William Xu <william.xwl@gmail.com>
5247
5248 * arc-mode.el: Add support for 7za (bug#15264).
5249 (archive-7z-program): New var.
5250 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5251 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5252 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5253
5254 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5255
5256 Remove URL syntax.
5257
5258 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5259 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5260 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5261 (tramp-postfix-host-format, tramp-file-name-regexp)
5262 (tramp-completion-file-name-regexp)
5263 (tramp-completion-dissect-file-name)
5264 (tramp-handle-substitute-in-file-name): Remove 'url case.
5265 (tramp-file-name-regexp-url)
5266 (tramp-completion-file-name-regexp-url): Remove constants.
5267
5268 2013-09-06 Glenn Morris <rgm@gnu.org>
5269
5270 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5271
5272 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5273
5274 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5275 keywords" below "here-doc beginnings" (Bug#15270).
5276
5277 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 * subr.el (pop): Use `car-safe'.
5280 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5281 to detect unused `pop' return value.
5282
5283 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5284 var `block-regexp'.
5285 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5286 (python-fill-string): Remove unused var `marker'.
5287 (python-skeleton-add-menu-items): Remove unused var `items'.
5288
5289 * international/mule-cmds.el: Require CL.
5290 (find-coding-systems-for-charsets): Avoid add-to-list.
5291 (sanitize-coding-system-list): New function, extracted from
5292 select-safe-coding-system-interactively.
5293 (select-safe-coding-system-interactively): Use it.
5294 (read-input-method-name): Accept symbols for `default'.
5295
5296 * emacs-lisp/advice.el (defadvice): Add indent rule.
5297
5298 2013-09-05 Daniel Hackney <dan@haxney.org>
5299
5300 * dired-x.el:
5301 * net/ange-ftp.el:
5302 * net/browse-url.el:
5303 * net/dbus.el:
5304 * net/eudc.el:
5305 * net/eudcb-ldap.el:
5306 * net/eww.el:
5307 * net/imap.el:
5308 * printing.el:
5309 * vc/ediff-diff.el:
5310 * vc/ediff-init.el:
5311 * vc/ediff-merg.el:
5312 * vc/ediff-mult.el:
5313 * vc/ediff-util.el:
5314 * vc/ediff-wind.el:
5315 * vc/ediff.el:
5316 * vc/emerge.el:
5317 * vc/pcvs.el:
5318 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5319 byte compiler. Remove some unused let-bound variables.
5320
5321 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5324 a "ref-cell", since it gets better optimized (bug#14883).
5325
5326 2013-09-05 Glenn Morris <rgm@gnu.org>
5327
5328 * progmodes/cc-awk.el (c-forward-sws): Declare.
5329
5330 2013-09-04 Glenn Morris <rgm@gnu.org>
5331
5332 * generic-x.el [rul-generic-mode]: Require cc-mode.
5333 (c++-mode-syntax-table): Declare.
5334 (rul-generic-mode-syntax-table): Init in the defvar.
5335
5336 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5337
5338 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5339 (vc-do-command, vc-set-async-update):
5340 * vc/vc-mtn.el (vc-mtn-dir-status):
5341 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5342 (vc-hg-pull, vc-hg-merge-branch):
5343 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5344 (vc-git-merge-branch):
5345 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5346 (vc-cvs-dir-status-files):
5347 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5348 (vc-bzr-dir-status-files):
5349 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5350 * vc/vc-annotate.el: Use lexical-binding.
5351 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5352 (vc-sentinel-movepoint): Declare.
5353 (vc-annotate): Don't use `goto-line'.
5354 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5355 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5356 (vc-sentinel-movepoint): Declare.
5357 * vc/vc-svn.el: Use lexical-binding.
5358 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5359 * vc/vc-sccs.el:
5360 * vc/vc-rcs.el: Use lexical-binding.
5361
5362 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5363 `deleted'. Don't drop errors silently.
5364
5365 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5366
5367 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5368
5369 * vc/vc.el (vc-ignore): Rewrite.
5370 (vc-default-ignore): New function.
5371 (vc-default-ignore-completion-table): Use find-ignore-file.
5372
5373 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5374 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5375 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5376 Remove. Most code moved to vc.el.
5377
5378 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5381 * net/tramp-smb.el (tramp-smb-get-file-entries):
5382 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5383 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5384
5385 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5386 Update call to it.
5387 (eww-change-select): Remove unused var `properties'.
5388 (eww-make-unique-file-name): Remove unused var `base'.
5389
5390 * finder.el (finder-compile-keywords): Don't mess with windows.
5391
5392 * calculator.el (calculator-funcall): Fix typo in last change.
5393
5394 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5395
5396 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5397 <pkg>-autoloads.el file stop us.
5398
5399 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5400 warnings, and factor out common code.
5401
5402 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5403
5404 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5405 two-character operators and whether the character preceding them
5406 changes their meaning (Bug#15208).
5407
5408 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5409
5410 Format code sent to Python shell for robustness.
5411 * progmodes/python.el (python-shell-buffer-substring):
5412 New function.
5413 (python-shell-send-region, python-shell-send-buffer): Use it.
5414
5415 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5416
5417 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5418 * net/tramp.el (tramp-user-error): ... here.
5419 (tramp-find-method, tramp-check-proper-host)
5420 (tramp-dissect-file-name, tramp-debug-message)
5421 (tramp-handle-shell-command):
5422 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5423 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5424
5425 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5426
5427 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5428
5429 * avoid.el (mouse-avoidance-point-position)
5430 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5431 returns nil.
5432
5433 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5434
5435 * progmodes/python.el (python-shell-completion-get-completions):
5436 Drop use of deleted `comint-last-prompt-overlay'.
5437 (python-nav-if-name-main): New command.
5438
5439 2013-09-01 Glenn Morris <rgm@gnu.org>
5440
5441 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5442 Avoid leading space in $wins. Otherwise the sed command used by
5443 eg compile-main ends up containing "/*.el". (Bug#15170)
5444
5445 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5446
5447 2013-08-30 Glenn Morris <rgm@gnu.org>
5448
5449 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5450 Fix is-this-a-directory logic. (Bug#15220)
5451
5452 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * textmodes/css-mode.el: Use SMIE.
5455 (css-smie-grammar): New var.
5456 (css-smie--forward-token, css-smie--backward-token)
5457 (css-smie-rules): New functions.
5458 (css-mode): Use them.
5459 (css-navigation-syntax-table): Remove var.
5460 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5461 (css-indent-calculate, css-indent-line): Remove functions.
5462
5463 Misc changes to reduce use of `(lambda...); and other cleanups.
5464 * cus-edit.el: Use lexical-binding.
5465 (customize-push-and-save, customize-apropos)
5466 (custom-buffer-create-internal): Use closures.
5467 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5468 * progmodes/ada-xref.el: Use setq.
5469 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5470 * dframe.el: Use lexical-binding.
5471 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5472 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5473 * descr-text.el: Use lexical-binding.
5474 (describe-text-widget, describe-text-sexp, describe-property-list):
5475 Use closures.
5476 * comint.el (comint-history-isearch-push-state): Use a closure.
5477 * calculator.el: Use lexical-binding.
5478 (calculator-number-to-string): Make it work with lexical-binding.
5479 (calculator-funcall): Same and use cl-letf.
5480
5481 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5482 (lisp--company-doc-string, lisp--company-location): New functions.
5483 (lisp-completion-at-point): Use them to improve Company support.
5484
5485 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5486 params of lambda expressions.
5487 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5488 (ruby-smie--opening-pipe-p): New function.
5489 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5490 symbols and matched |...| for formal params.
5491 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5492 from being treated as hanging. Handle "rescue".
5493
5494 2013-08-29 Glenn Morris <rgm@gnu.org>
5495
5496 * progmodes/cc-engine.el (c-pull-open-brace):
5497 Move definition before use.
5498
5499 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5502 are immutable. Don't use `unsafe' any more.
5503 (cl--defsubst-expand): Don't substitute at the same time as keeping
5504 a residual unused let-binding. Don't use `unsafe' any more.
5505
5506 2013-08-29 Glenn Morris <rgm@gnu.org>
5507
5508 * calendar/cal-china.el (calendar-chinese-year-cache):
5509 Recenter on 2015.
5510
5511 * nxml/nxml-util.el (nxml-debug-clear-inside):
5512 Use cl-loop rather than loop.
5513
5514 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5515
5516 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5517
5518 2013-08-28 Glenn Morris <rgm@gnu.org>
5519
5520 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5521
5522 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5523
5524 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5525
5526 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * simple.el (repeat-complex-command--called-interactively-skip):
5529 New function.
5530 (repeat-complex-command): Use it (bug#14136).
5531
5532 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5533 (c-define-abbrev-table): Add `doc' argument.
5534 (c-mode-abbrev-table, c++-mode-abbrev-table)
5535 (objc-mode-abbrev-table, java-mode-abbrev-table)
5536 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5537 (awk-mode-abbrev-table): Use it.
5538 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5539 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5540 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5541 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5542 Move initialization into the declaration; and remove any
5543 autoload cookie.
5544
5545 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5546 and dynamic let binding.
5547
5548 * vc/smerge-mode.el: Remove redundant :group args.
5549
5550 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5551 to load-path.
5552
5553 2013-08-28 Juri Linkov <juri@jurta.org>
5554
5555 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5556 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5557 (isearch-other-meta-char): Handle an undefined shifted printing
5558 character by downshifting it. (Bug#15200)
5559
5560 2013-08-28 Juri Linkov <juri@jurta.org>
5561
5562 * isearch.el (isearch-search): Change regexp error message for
5563 non-regexp searches. (Bug#15166)
5564
5565 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5566
5567 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5568 for portability to hosts where /bin/sh has problems.
5569
5570 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5573
5574 2013-08-27 Juri Linkov <juri@jurta.org>
5575
5576 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5577 in the keyboard macro. (Bug#15126)
5578
5579 2013-08-27 Juri Linkov <juri@jurta.org>
5580
5581 * isearch.el (isearch-quote-char): Comment out converting unibyte
5582 to multibyte, thus syncing with its `quoted-insert' counterpart.
5583 (Bug#15166)
5584
5585 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5586
5587 * window.el (display-buffer-use-some-window): Add missing
5588 argument in call of get-largest-window (Bug#15185).
5589 Reported by Stephen Leake.
5590
5591 2013-08-27 Glenn Morris <rgm@gnu.org>
5592
5593 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5594
5595 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5596
5597 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5598 from a matcher-function unless there's no more matches (bug#15161).
5599
5600 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5601
5602 * minibuffer.el: Revert change from 2013-08-20.
5603
5604 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5605 with text property `tramp-default', if appropriate.
5606 (tramp-check-proper-host): New defun.
5607 (tramp-dissect-file-name): Do not check hostname. Revert change
5608 of 2013-03-18.
5609 (tramp-backtrace): Make VEC-OR-PROC optional.
5610
5611 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5612 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5613 * net/tramp-sh.el (tramp-maybe-open-connection):
5614 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5615 Apply `tramp-check-proper-host'.
5616
5617 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5618
5619 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5620 lambda expression in order to have `describe-variable' display it.
5621
5622 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5623
5624 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5625 BUF can be optional. (Bug#15186)
5626
5627 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5628
5629 * progmodes/flymake.el (flymake-get-real-file-name-function):
5630 Fix broken customization. (Bug#15184)
5631
5632 2013-08-25 Alan Mackenzie <acm@muc.de>
5633
5634 Improve indentation of bracelists defined by macros (without "=").
5635
5636 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5637 expansion begins with "{", regard it as bracelist when it doesn't
5638 contain a ";".
5639
5640 Parse C++ inher-intro when there's a template split over 2 lines.
5641
5642 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5643 rigorously the search for "class" etc. followed by ":".
5644
5645 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5646 random languages a regexp which never matches rather than nil.
5647
5648 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5649
5650 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5651 (c-awk-regexp-one-line-possibly-open-char-list-re)
5652 (c-awk-one-line-possibly-open-regexp-re)
5653 (c-awk-one-line-non-syn-ws*-re): Remove.
5654 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5655 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5656 (c-awk-space*-unclosed-regexp-/-re): New constants.
5657 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5658 aren't regexp delimiters.
5659
5660 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5661 handling for a rare situation in AWK Mode involving unterminated
5662 strings/regexps.
5663
5664 2013-08-23 Glenn Morris <rgm@gnu.org>
5665
5666 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5667
5668 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5669
5670 * files.el (create-file-buffer): If the result would begin with
5671 spaces, prepend a "|" instead of removing them. (Bug#15162)
5672
5673 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5674
5675 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5676 text-properties (bug#15155).
5677
5678 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5679 exist any more.
5680 (calc-keypad-redraw): Remove unused var `pad'.
5681 (calc-keypad-press): Remove unused var `menu'.
5682
5683 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5684
5685 * window.el (display-buffer-pop-up-frame):
5686 Call pop-up-frame-function with BUFFER current so `make-frame' will
5687 use it as the new frame's buffer (Bug#15133).
5688
5689 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5690
5691 * calendar/timeclock.el: Minor cleanups.
5692 (timeclock-ask-before-exiting, timeclock-use-display-time):
5693 Use `symbol'.
5694 (timeclock-modeline-display): Define as alias before the
5695 actual definition.
5696 (timeclock-mode-line-display): Use define-minor-mode.
5697 (timeclock-day-list-template): Make it a function, add an argument.
5698 (timeclock-day-list-required, timeclock-day-list-length)
5699 (timeclock-day-list-debt, timeclock-day-list-span)
5700 (timeclock-day-list-break): Adjust calls accordingly.
5701
5702 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5703
5704 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5705 Use read--expression so that completion works again.
5706
5707 2013-08-21 Sam Steingold <sds@gnu.org>
5708
5709 Add rudimentary inferior shell interaction
5710 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5711 (sh-set-shell): Reset it.
5712 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5713 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5714
5715 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * align.el: Use lexical-binding.
5718 (align-region): Simplify accordingly.
5719
5720 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5721
5722 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5723
5724 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5725 `non-essential' up.
5726
5727 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5728
5729 * net/tramp.el:
5730 * net/tramp-adb.el:
5731 * net/tramp-cmds.el:
5732 * net/tramp-ftp.el:
5733 * net/tramp-gvfs.el:
5734 * net/tramp-gw.el:
5735 * net/tramp-sh.el: Don't wrap external variable declarations by
5736 `eval-when-compile'.
5737
5738 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5739
5740 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5741 now that Emacs supports ImageMagick animations.
5742
5743 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5744
5745 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5746 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5747
5748 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5749
5750 * window.el (mouse-autoselect-window-select): Do autoselect when
5751 mouse pointer is on margin.
5752
5753 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5754
5755 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5756
5757 2013-08-16 Glenn Morris <rgm@gnu.org>
5758
5759 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5760 Handle "Remote Directory" response of some clients. (Bug#15058)
5761
5762 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5763 Tweak warning. (Bug#14926)
5764
5765 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5766 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5767
5768 * image-mode.el (image-mode-map): Add menu items to reverse,
5769 increase, decrease, reset animation speed.
5770 (image--set-speed, image-increase-speed, image-decrease-speed)
5771 (image-reverse-speed, image-reset-speed): New functions.
5772 (image-mode-map): Add bindings for speed commands.
5773
5774 * image.el (image-animate-get-speed, image-animate-set-speed):
5775 New functions.
5776 (image-animate-timeout): Respect image :speed property.
5777
5778 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5779
5780 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5781 previous line (bug#15101).
5782 (debugger-eval-expression, debugger-record-expression):
5783 Use read--expression (bug#15102).
5784
5785 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5786
5787 Remove byte compiler warnings, visible when compiling with
5788 `byte-compile-force-lexical-warnings' set to t.
5789
5790 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5791 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5792 (tramp-handle-unhandled-file-name-directory)
5793 (tramp-handle-file-notify-add-watch, tramp-action-login)
5794 (tramp-action-succeed, tramp-action-permission-denied)
5795 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5796 arguments with "_".
5797
5798 * net/tramp-adb.el (tramp-adb-parse-device-names)
5799 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5800 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5801 (tramp-adb-handle-file-truename): Remove unused arguments.
5802
5803 * net/tramp-cache.el (tramp-flush-directory-property)
5804 (tramp-flush-connection-property, tramp-list-connections)
5805 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5806
5807 * net/tramp-compat.el (tramp-compat-make-temp-file):
5808 Rename FILENAME to F.
5809
5810 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5811 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5812 (tramp-zeroconf-parse-workstation-device-names)
5813 (tramp-zeroconf-parse-webdav-device-names)
5814 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5815
5816 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5817 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5818
5819 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5820 arguments.
5821 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5822 (tramp-sh-handle-insert-file-contents-literally)
5823 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5824 with "_".
5825 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5826 Remove unused variables.
5827
5828 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5829 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5830 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5831
5832 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5833 Make them a defconst.
5834 (tramp-uuencode-region): Remove unused variable.
5835
5836 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5837
5838 * frameset.el (frameset--prop-setter): New function.
5839 (frameset-prop): Add gv-setter declaration.
5840 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5841 parameter was already set in FILTERED. Doc fix.
5842 (frameset--record-minibuffer-relationships): Allow saving a
5843 minibufferless frame without its corresponding minibuffer frame.
5844 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5845 frame, if the frame id matches.
5846 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5847 frames before orphaned ones.
5848 (frameset-restore): Warn about orphaned windows, instead of error out.
5849
5850 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5851
5852 * window.el (window-make-atom): Don't overwrite parameter
5853 already present.
5854 (display-buffer-in-atom-window): Handle special case where we
5855 split an already atomic window.
5856 (window--major-non-side-window, display-buffer-in-side-window)
5857 (window--side-check): Ignore minibuffer window when walking
5858 window tree.
5859 (window-deletable-p): Return 'frame only if no other frame uses
5860 our minibuffer window.
5861 (record-window-buffer): Run buffer-list-update-hook.
5862 (split-window): Make sure window--check-frame won't destroy an
5863 existing atomic window in case the new window gets nested
5864 inside.
5865 (display-buffer-at-bottom): Ignore minibuffer window when
5866 walking window tree. Don't split a side window.
5867 (pop-to-buffer): Don't set-buffer here, the select-window call
5868 should do that.
5869 (mouse-autoselect-window-select): Autoselect only if we are in the
5870 text portion of the window.
5871
5872 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5873
5874 * net/shr.el (shr-parse-image-data): New function to grab both the
5875 data itself and the Content-Type.
5876 (shr-put-image): Use it.
5877
5878 * net/eww.el (eww-display-image): Ditto.
5879
5880 * image.el (image-content-type-suffixes): New variable.
5881
5882 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5883
5884 * progmodes/python.el (python-imenu--build-tree)
5885 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5886
5887 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5888
5889 * simple.el (backward-word): Mention the optional argument.
5890
5891 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * frameset.el (frameset--make): Rename constructor from make-frameset.
5894 (frameset-p, frameset-valid-p): Don't autoload.
5895 (frameset-valid-p): Use normal accessors.
5896
5897 2013-08-13 Glenn Morris <rgm@gnu.org>
5898
5899 * progmodes/compile.el (compile-command): Tweak example in doc.
5900 * obsolete/scribe.el (scribe-mode):
5901 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5902
5903 * mail/feedmail.el (feedmail-confirm-outgoing)
5904 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5905
5906 * cus-start.el (truncate-partial-width-windows): Fix type.
5907
5908 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5909
5910 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5911
5912 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * emacs-lisp/timer.el (timer--time-setter): New function.
5915 (timer--time): Use it as gv-setter.
5916
5917 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5918 setter is not a symbol.
5919
5920 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
5921
5922 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5923 if sending fails. This makes debugging easier.
5924
5925 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
5926
5927 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5928 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5929 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5930
5931 2013-08-12 Eli Zaretskii <eliz@gnu.org>
5932
5933 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5934
5935 2013-08-12 Glenn Morris <rgm@gnu.org>
5936
5937 * format.el (format-annotate-function):
5938 Handle read-only text properties in the source. (Bug#14887)
5939
5940 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5941
5942 * net/eww.el (eww-display-html): Ignore coding system errors.
5943 One web site uses "utf-8lias" as the coding system.
5944
5945 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5946
5947 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5948
5949 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5950
5951 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5952 (tutorial--detailed-help): Remove unused local variables.
5953 (tutorial--save-tutorial-to): Use ignore-errors.
5954 (help-with-tutorial): Use looking-at-p.
5955
5956 * view.el (view-buffer-other-window, view-buffer-other-frame):
5957 Mark unused arguments.
5958
5959 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5960 (woman-select-symbol-fonts, woman, woman-find-file)
5961 (woman-insert-file-contents, woman-non-underline-faces):
5962 Use string-match-p.
5963 (woman1-unquote): Move declaration.
5964
5965 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5966 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5967 argument. Remove unused local variable.
5968 (xml-parse-elem-type): Use string-match-p.
5969 (xml-substitute-numeric-entities): Use ignore-errors.
5970
5971 * calculator.el (calculator): Mark unused argument.
5972 (calculator-paste, calculator-quit, calculator-integer-p):
5973 Use ignore-errors.
5974 (calculator-string-to-number, calculator-decimal, calculator-exp)
5975 (calculator-op-or-exp): Use string-match-p.
5976
5977 * dired.el (dired-buffer-more-recently-used-p): Declare.
5978 (dired-insert-set-properties, dired-insert-old-subdirs):
5979 Use ignore-errors.
5980
5981 * dired-aux.el (dired-compress): Use ignore-errors.
5982 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5983 (dired-do-async-shell-command, dired-do-shell-command)
5984 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5985 (dired-insert-subdir-validate): Use string-match-p.
5986 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5987 (dired-add-entry): Use string-match-p, looking-at-p.
5988 (dired-insert-subdir-newpos): Remove unused local variable.
5989
5990 * filenotify.el (file-notify-callback): Remove unused local variable.
5991
5992 * filesets.el (filesets-error): Mark unused argument.
5993 (filesets-which-command-p, filesets-filter-dir-names)
5994 (filesets-directory-files, filesets-get-external-viewer)
5995 (filesets-ingroup-get-data): Use string-match-p.
5996
5997 * find-file.el (ff-other-file-name, ff-other-file-name)
5998 (ff-find-the-other-file, ff-cc-hh-converter):
5999 Remove unused local variables.
6000 (ff-get-file-name): Use string-match-p.
6001 (ff-all-dirs-under): Use ignore-errors.
6002
6003 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6004 (follow-select-if-visible): Remove unused local variable.
6005
6006 * forms.el (read-file-filter): Move declaration.
6007 (forms--make-format, forms--make-parser, forms-insert-record):
6008 Quote function with #'.
6009 (forms--update): Use string-match-p. Quote function with #'.
6010
6011 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6012 (help-make-xrefs): Use looking-at-p.
6013 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6014
6015 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6016 (ibuffer-confirm-operation-on): Use string-match-p.
6017
6018 * msb.el (msb-item-handler, msb-dired-item-handler):
6019 Mark unused arguments.
6020
6021 * ses.el (ses-decode-cell-symbol)
6022 (ses-kill-override): Remove unused local variable.
6023 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6024 (ses-load): Use ignore-errors, looking-at-p.
6025 (ses-jump-safe): Use ignore-errors.
6026 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6027
6028 * tabify.el (untabify, tabify): Mark unused arguments.
6029
6030 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6031 Mark unused argument.
6032 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6033 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6034
6035 * emacs-lisp/timer.el (timer--time): Define setter with
6036 gv-define-setter to avoid deprecation warning.
6037
6038 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6039 (*record-cmpl-statistics-p*): Remove (was commented out).
6040 (cmpl-statistics-block): Remove (body was commented out).
6041 All callers changed.
6042 (add-completions-from-buffer, load-completions-from-file):
6043 Remove unused variables.
6044
6045 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6046
6047 * filecache.el (file-cache-delete-file-list):
6048 Print message only when told so.
6049 (file-cache-files-matching): Use #' in mapconcat argument.
6050
6051 * ffap.el (ffap-url-at-point): Fix reference to variable
6052 thing-at-point-default-mail-uri-scheme.
6053
6054 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * subr.el (define-error): New function.
6057 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6058 error-file-not-found and define with define-error.
6059 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6060 and define with define-error.
6061 * userlock.el (file-locked, file-supersession):
6062 * simple.el (mark-inactive):
6063 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6064 * progmodes/ada-mode.el (ada-mode-errors):
6065 * play/life.el (life-extinct):
6066 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6067 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6068 * nxml/rng-util.el (rng-error):
6069 * nxml/rng-uri.el (rng-uri-error):
6070 * nxml/rng-match.el (rng-compile-error):
6071 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6072 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6073 * nxml/nxml-rap.el (nxml-scan-error):
6074 * nxml/nxml-outln.el (nxml-outline-error):
6075 * net/soap-client.el (soap-error):
6076 * net/gnutls.el (gnutls-error):
6077 * net/ange-ftp.el (ftp-error):
6078 * mpc.el (mpc-proc-error):
6079 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6080 (json-number-format, json-string-escape, json-string-format)
6081 (json-key-format, json-object-format):
6082 * jka-compr.el (compression-error):
6083 * international/quail.el (quail-error):
6084 * international/kkc.el (kkc-error):
6085 * emacs-lisp/ert.el (ert-test-failed):
6086 * calc/calc.el (calc-error, inexact-result, math-overflow)
6087 (math-underflow):
6088 * bookmark.el (bookmark-error-no-filename):
6089 * epg.el (epg-error): Define with define-error.
6090
6091 * time.el (display-time-event-handler)
6092 (display-time-next-load-average): Don't call sit-for since it seems
6093 unnecessary (bug#15045).
6094
6095 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6096 Use #' instead of ' to quote functions.
6097 (checkdoc-output-mode): Use setq-local.
6098 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6099 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6100 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6101 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6102 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6103 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6104 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6105 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6106
6107 * ido.el (ido-completion-help): Fix up compiler warning.
6108
6109 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * frameset.el (frameset-p): Add autoload cookie.
6112 (frameset--jump-to-register): New function, based on code moved from
6113 register.el.
6114 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6115
6116 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6117 (frameset-restore, frameset-save, frameset-session-filter-alist):
6118 Remove declarations.
6119 (register-alist): Doc fix.
6120 (frameset-to-register): Move to frameset.el.
6121 (jump-to-register, describe-register-1): Remove frameset-specific code.
6122
6123 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6124
6125 * allout-widgets.el (allout-widgets-pre-command-business)
6126 (allout-widgets-post-command-business)
6127 (allout-widgets-after-change-handler)
6128 (allout-decorate-item-and-context, allout-set-boundary-marker)
6129 (allout-body-modification-handler)
6130 (allout-graphics-modification-handler): Mark ignored arguments.
6131 (allout-widgets-post-command-business)
6132 (allout-widgets-exposure-change-processor)
6133 (allout-widgets-exposure-undo-processor)
6134 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6135 (allout-parse-item-at-point, allout-decorate-item-guides)
6136 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6137 * allout.el (epa-passphrase-callback-function): Declare.
6138 (allout-overlay-insert-in-front-handler)
6139 (allout-overlay-interior-modification-handler)
6140 (allout-isearch-end-handler, allout-chart-siblings)
6141 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6142 (allout-yank-processing, allout-process-exposed)
6143 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6144 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6145 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6146 (lisp-indent-defform): Mark ignored arguments.
6147 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6148 (calculate-lisp-indent): Remove unused variables.
6149 * international/characters.el (indian-2-column, arabic-2-column)
6150 (tibetan): Mark ignored arguments.
6151 (use-cjk-char-width-table): Mark ignored arguments.
6152 Remove unused variables.
6153 * international/fontset.el (build-default-fontset-data)
6154 (x-compose-font-name, create-fontset-from-fontset-spec):
6155 Mark ignored arguments.
6156 (fontset-plain-name): Remove unused variables.
6157 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6158 (keyboard-coding-system): Mark ignored arguments.
6159 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6160 * help.el (resize-temp-buffer-window):
6161 * window.el (display-buffer-in-major-side-window)
6162 (display-buffer-in-side-window, display-buffer-in-previous-window):
6163 Remove unused variables.
6164 * isearch.el (isearch-forward-symbol):
6165 * version.el (emacs-bzr-version-bzr):
6166 * international/mule-cmds.el (current-language-environment):
6167 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6168 (x-handle-display):
6169 * term/pc-win.el (x-list-fonts, x-display-planes)
6170 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6171 (x-server-version, x-display-screens, x-display-mm-height)
6172 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6173 (x-selection-owner-p, x-own-selection-internal)
6174 (x-disown-selection-internal, x-get-selection-internal)
6175 (msdos-initialize-window-system):
6176 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6177 * term/x-win.el (x-handle-no-bitmap-icon):
6178 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6179 (vc-default-find-file-hook, vc-default-extra-menu):
6180 Mark ignored arguments.
6181
6182 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6183
6184 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6185 break-condition in the context of the debugged code (bug#12685).
6186
6187 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6188
6189 * comint.el:
6190 Do not use an overlay to highlight the last prompt. (Bug#14744)
6191 (comint-mode): Make comint-last-prompt buffer local.
6192 (comint-last-prompt): New variable.
6193 (comint-last-prompt-overlay): Remove. Superseded by
6194 comint-last-prompt.
6195 (comint-snapshot-last-prompt, comint-output-filter):
6196 Use comint-last-prompt.
6197
6198 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6201 (frameset-save): Check validity of the resulting frameset.
6202
6203 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6204
6205 * ido.el (ido-record-command): Add doc string.
6206
6207 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6208
6209 * frameset.el (frameset): Do not disable creation of the default
6210 frameset-p predicate. Doc fix.
6211 (frameset-valid-p): New function, copied from the old predicate-p.
6212 Add additional checks.
6213 (frameset-restore): Check with frameset-valid-p.
6214 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6215 (frameset-name, frameset-description, frameset-properties)
6216 (frameset-states): Add docstring.
6217 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6218 (frameset-filter-alist): Doc fixes.
6219
6220 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6221
6222 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6223
6224 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6225
6226 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6227 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6228 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6229 (byte-compile-normal-call): Remove obsolescence check.
6230
6231 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * frameset.el (frameset-restore): Doc fix.
6234
6235 * register.el (frameset-frame-id, frameset-frame-with-id)
6236 (frameset-p, frameset-restore, frameset-save): Declare.
6237 (register-alist): Document framesets.
6238 (frameset-session-filter-alist): Declare.
6239 (frameset-to-register): New function.
6240 (jump-to-register): Implement jumping to framesets. Doc fix.
6241 (describe-register-1): Describe framesets.
6242
6243 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6244
6245 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6246
6247 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6248 Use lexical-binding.
6249
6250 * frameset.el (frameset): Use type vector, not list (incompatible
6251 change). Do not declare a new constructor, use the default one.
6252 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6253 `name' and `description', respectively, and add read-only slot
6254 `timestamp'. Doc fixes.
6255 (frameset-copy, frameset-persistent-filter-alist)
6256 (frameset-filter-alist, frameset-switch-to-gui-p)
6257 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6258 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6259 (frameset-filter-iconified, frameset-keep-original-display-p):
6260 Doc fixes.
6261 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6262 Rename from frameset-filter-(save|restore)-param. All callers changed.
6263 Doc fix.
6264 (frameset-p): Adapt to change to vector and be more thorough.
6265 Change arg name to OBJECT. Doc fix.
6266 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6267 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6268 All callers changed.
6269 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6270 All callers changed.
6271 (frameset--record-minibuffer-relationships): Rename from
6272 frameset--process-minibuffer-frames. All callers changed.
6273 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6274 Use new default constructor (again). Doc fix.
6275 (frameset--find-frame-if): Rename from `frameset--find-frame.
6276 All callers changed.
6277 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6278 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6279 Doc fix.
6280 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6281 PARAMETERS and WINDOW-STATE, respectively.
6282 (frameset-restore): Add new keyword argument PREDICATE.
6283 Reset frameset--target-display to nil. Doc fix.
6284
6285 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6288 (bat-mode): Use it.
6289 (bat-mode-syntax-table): Mark \n as end-of-comment.
6290 (bat-font-lock-keywords): Remove comment rule.
6291
6292 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6293 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6294
6295 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6296 (byte-compile-callargs-warn): Use `push'.
6297 (byte-compile-arglist-warn): Ignore higher-order "calls".
6298 (byte-compile-file-form-autoload): Use `pcase'.
6299 (byte-compile-function-form): If quoting a symbol, check that it exists.
6300
6301 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6302
6303 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6304 and add a few popular commands found in batch files.
6305 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6306 (dos-mode): Doc fixes.
6307
6308 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6311 (dos-mode): Use setq-local. Add space after "rem".
6312 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6313 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6314
6315 2013-08-07 Arni Magnusson <arnima@hafro.is>
6316
6317 * progmodes/dos.el: New file.
6318 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6319 dos-mode.
6320
6321 2013-08-06 Glenn Morris <rgm@gnu.org>
6322
6323 * calendar/calendar.el: Add new faces, and day-header-array.
6324 (calendar-weekday-header, calendar-weekend-header)
6325 (calendar-month-header): New faces.
6326 (calendar-day-header-construct): New function.
6327 (calendar-day-header-width): Also :set calendar-day-header-array.
6328 (calendar-american-month-header, calendar-european-month-header)
6329 (calendar-iso-month-header): Use calendar- faces.
6330 (calendar-generate-month):
6331 Use calendar-day-header-array for day headers; apply faces to them.
6332 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6333 (calendar-abbrev-construct): Add optional maxlen argument.
6334 (calendar-day-name-array): Doc fix.
6335 (calendar-day-name-array, calendar-abbrev-length)
6336 (calendar-day-abbrev-array):
6337 Also :set calendar-day-header-array, and maybe redraw.
6338 (calendar-day-header-array): New option. (Bug#15007)
6339 (calendar-font-lock-keywords): Set to nil and make obsolete.
6340 (calendar-day-name): Add option to use header array.
6341
6342 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343
6344 * net/shr.el (shr-render-td): Remove debugging.
6345 (shr-render-td): Make width computation consistent by defaulting
6346 all zero-width columns to 10 characters. This may not be optimal,
6347 but it's at least consistent.
6348 (shr-make-table-1): Redo last change to fix the real problem in
6349 colspan handling.
6350
6351 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6352
6353 * files.el (cache-long-line-scans):
6354 Make obsolete alias to `cache-long-scans'.
6355
6356 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6357
6358 * frameset.el (frameset, frameset-filter-alist)
6359 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6360 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6361 (frameset-compute-pos): Rename from frameset--compute-pos,
6362 and add docstring.
6363 (frameset-move-onscreen): Use frameset-compute-pos.
6364 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6365
6366 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6367 Fix typos in docstrings.
6368
6369 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6370
6371 * frame.el (get-other-frame): Tiny cleanup.
6372
6373 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6374
6375 * vc/vc.el (vc-default-ignore-completion-table):
6376 Silence byte-compiler warning.
6377
6378 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6379 slot , which can indeed be nil.
6380 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6381 Move entry for `left' from persistent to live filter alist.
6382 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6383 Doc fixes.
6384 (frameset-filter-params): When restoring a frame, copy items added to
6385 `filtered', to avoid unwittingly modifying the original parameters.
6386 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6387 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6388
6389 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6390 to use looking-at-p instead of looking-at. (Bug#15028)
6391
6392 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6393
6394 Revert introduction of isearch-filter-predicates (bug#14714).
6395 Rely on add-function instead.
6396 * isearch.el (isearch-filter-predicates): Rename it back to
6397 isearch-filter-predicate.
6398 (isearch-message-prefix): Use advice-function-mapc and advice
6399 properties to get the isearch-message-prefix.
6400 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6401 instead of run-hook-with-args-until-failure.
6402 (isearch-filter-visible): Not obsolete any more.
6403 * loadup.el: Preload nadvice.
6404 * replace.el (perform-replace): Revert to funcall
6405 instead of run-hook-with-args-until-failure.
6406 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6407 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6408 dired-isearch-filenames-toggle; make it into a proper minor mode.
6409 Use add/remove-function.
6410 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6411 Call the minor-mode rather than add/remove-hook.
6412 (dired-isearch-filter-filenames):
6413 Remove isearch-message-prefix property.
6414 * info.el (Info--search-loop): New function, extracted from Info-search.
6415 Funcall isearch-filter-predicate instead of
6416 run-hook-with-args-until-failure isearch-filter-predicates.
6417 (Info-search): Use it.
6418 (Info-mode): Use isearch-filter-predicate instead of
6419 isearch-filter-predicates.
6420
6421 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6422
6423 Do not call to `selected-window' where it is assumed by default.
6424 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6425 `window-hscroll', `window-width', `window-height', `window-buffer',
6426 `window-frame', `window-start', `window-point', `next-window'
6427 and `window-display-table'.
6428 * abbrev.el (abbrev--default-expand):
6429 * bs.el (bs--show-with-configuration):
6430 * buff-menu.el (Buffer-menu-mouse-select):
6431 * calc/calc.el (calc):
6432 * calendar/calendar.el (calendar-generate-window):
6433 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6434 (diary-make-entry):
6435 * comint.el (send-invisible, comint-dynamic-complete-filename)
6436 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6437 * completion.el (complete):
6438 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6439 * disp-table.el (describe-current-display-table):
6440 * doc-view.el (doc-view-insert-image):
6441 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6442 * ehelp.el (with-electric-help):
6443 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6444 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6445 * emacs-lisp/helper.el (Helper-help-scroller):
6446 * emulation/cua-base.el (cua--post-command-handler-1):
6447 * eshell/esh-mode.el (eshell-output-filter):
6448 * ffap.el (ffap-gnus-wrapper):
6449 * help-macro.el (make-help-screen):
6450 * hilit-chg.el (highlight-compare-buffers):
6451 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6452 * hl-line.el (global-hl-line-highlight):
6453 * icomplete.el (icomplete-simple-completing-p):
6454 * isearch.el (isearch-done):
6455 * jit-lock.el (jit-lock-stealth-fontify):
6456 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6457 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6458 * mpc.el (mpc-tagbrowser, mpc):
6459 * net/rcirc.el (rcirc-any-buffer):
6460 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6461 * play/landmark.el (landmark-max-width, landmark-max-height):
6462 * play/zone.el (zone):
6463 * progmodes/compile.el (compilation-goto-locus):
6464 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6465 * progmodes/etags.el (find-tag-other-window):
6466 * progmodes/fortran.el (fortran-column-ruler):
6467 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6468 * progmodes/verilog-mode.el (verilog-point-text):
6469 * reposition.el (reposition-window):
6470 * rot13.el (toggle-rot13-mode):
6471 * server.el (server-switch-buffer):
6472 * shell.el (shell-dynamic-complete-command)
6473 (shell-dynamic-complete-environment-variable):
6474 * simple.el (insert-buffer, set-selective-display)
6475 (delete-completion-window):
6476 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6477 (speedbar-recenter):
6478 * startup.el (fancy-splash-head):
6479 * textmodes/ispell.el (ispell-command-loop):
6480 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6481 * tutorial.el (help-with-tutorial):
6482 * vc/add-log.el (add-change-log-entry):
6483 * vc/compare-w.el (compare-windows):
6484 * vc/ediff-help.el (ediff-indent-help-message):
6485 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6486 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6487 (ediff-setup-control-frame):
6488 * vc/emerge.el (emerge-position-region):
6489 * vc/pcvs-util.el (cvs-bury-buffer):
6490 * window.el (walk-windows, mouse-autoselect-window-select):
6491 * winner.el (winner-set-conf, winner-undo): Related users changed.
6492
6493 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6494
6495 * frameset.el (frameset--set-id): Doc fix.
6496 (frameset-frame-id, frameset-frame-id-equal-p)
6497 (frameset-locate-frame-id): New functions.
6498 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6499 (frameset-restore): Use them.
6500
6501 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6502
6503 Do not call to `selected-frame' where it is assumed by default.
6504 Affected functions are `raise-frame', `redraw-frame',
6505 `frame-first-window', `frame-terminal' and `delete-frame'.
6506 * calendar/appt.el (appt-disp-window):
6507 * epg.el (epg-wait-for-completion):
6508 * follow.el (follow-delete-other-windows-and-split)
6509 (follow-avoid-tail-recenter):
6510 * international/mule.el (set-terminal-coding-system):
6511 * mail/rmail.el (rmail-mail-return):
6512 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6513 * progmodes/f90.el (f90-add-imenu-menu):
6514 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6515 * server.el (server-switch-buffer):
6516 * simple.el (delete-completion-window):
6517 * talk.el (talk):
6518 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6519 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6520 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6521 * vc/ediff.el (ediff-documentation): Related users changed.
6522 * frame.el (selected-terminal): Remove the leftover.
6523
6524 2013-08-05 Glenn Morris <rgm@gnu.org>
6525
6526 * calendar/calendar.el (calendar-generate-month):
6527 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6528 (calendar-generate-month, calendar-font-lock-keywords):
6529 Fix for calendar-day-header-width > length of any day name.
6530
6531 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6532
6533 * desktop.el (desktop-clear): Use new name of sort predicate.
6534
6535 * frameset.el (frameset): Add docstring. Move :version property to its
6536 own `version' slot.
6537 (frameset-copy): Rename from copy-frameset.
6538 (frameset-p): Check more thoroughly.
6539 (frameset-prop): Do not check for :version, which is no longer a prop.
6540 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6541 Use new :never value instead of t.
6542 (frameset-filter-alist): Expand and clarify docstring.
6543 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6544 (frameset-filter-minibuffer, frameset-filter-save-param)
6545 (frameset-filter-restore-param, frameset-filter-iconified):
6546 Add pointer to docstring of frameset-filter-alist.
6547 (frameset-filter-params): Rename filter values to be more meaningful:
6548 :never instead of t, and reverse the meanings of :save and :restore.
6549 (frameset--process-minibuffer-frames): Clarify error message.
6550 (frameset-save): Avoid unnecessary and confusing call to framep.
6551 Use new BOA constructor for framesets.
6552 (frameset--reuse-list): Doc fix.
6553 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6554 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6555 (frameset-minibufferless-first-p): Doc fix.
6556 Rename from frameset-sort-frames-for-deletion.
6557 (frameset-restore): Doc fixes. Use new function names.
6558 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6559
6560 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * desktop.el (desktop-restore-forces-onscreen)
6563 (desktop-restore-reuses-frames): Document :keyword constant values.
6564 (desktop-filter-parameters-alist): Remove, now identical to
6565 frameset-filter-alist.
6566 (desktop--filter-tty*): Remove, moved to frameset.el.
6567 (desktop-save-frameset, desktop-restore-frameset):
6568 Do not pass :filters argument.
6569
6570 * frameset.el (frameset-live-filter-alist)
6571 (frameset-persistent-filter-alist): New variables.
6572 (frameset-filter-alist): Use them. Add autoload cookie.
6573 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6574 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6575 `frameset--id' (it's supposed to be internal to frameset.el).
6576 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6577 (frameset--initial-params): New function.
6578 (frameset--get-frame): Use it. Doc fix.
6579 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6580 Accept :all, not 'all.
6581 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6582 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6583 with fbound symbols. Fix frame id matching, and remove matching ids if
6584 the frame being restored is deleted. Obey :delete.
6585
6586 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * subr.el (macrop): New function.
6589 (text-clone--maintaining): New var.
6590 (text-clone--maintain): Rename from text-clone-maintain. Use it
6591 instead of inhibit-modification-hooks.
6592
6593 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6594 a proxy, so as handle autoloads and redefinitions of the target.
6595 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6596
6597 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6598 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6599 (pcase--mutually-exclusive-p): New function.
6600 (pcase--split-consp): Use it.
6601 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6602 mutually exclusive with the current predicate.
6603
6604 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6605 (edebug-macrop): Remove. Use `macrop' instead.
6606 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6607 (ad-macro-p):
6608 * eshell/esh-cmd.el (eshell-macrop):
6609 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6610
6611 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6612
6613 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6614 (advice-mapc): New function, using it.
6615 (advice-function-member-p): New function.
6616 (advice--normalize): Store the cdr in advice--saved-rewrite since
6617 that's the part that will be changed.
6618 (advice--symbol-function): New function.
6619 (advice-remove): Handle removal before the function is defined.
6620 Adjust to new advice--saved-rewrite.
6621 (advice-member-p): Use advice-function-member-p and
6622 advice--symbol-function.
6623
6624 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6625
6626 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6627 (frameset-filter-minibuffer): Doc fix.
6628 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6629 (frameset--set-id, frameset--process-minibuffer-frames)
6630 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6631 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6632
6633 * desktop.el (desktop-clear): Only delete frames when called
6634 interactively and desktop-restore-frames is non-nil. Doc fix.
6635 (desktop-read): Set desktop-saved-frameset to nil.
6636
6637 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6638
6639 * vc/vc.el (vc-ignore): Rewrite.
6640 (vc-default-ignore-completion-table):
6641 (vc--read-lines):
6642 (vc--add-line, vc--remove-regexp): New functions.
6643
6644 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6645 (vc-svn-ignore-completion-table): New function.
6646
6647 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6648 (vc-hg-ignore-completion-table):
6649 (vc-hg-find-ignore-file): New functions.
6650
6651 * vc/vc-git.el (vc-git-ignore): Rewrite.
6652 (vc-git-ignore-completion-table):
6653 (vc-git-find-ignore-file): New functions.
6654
6655 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6656
6657 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6658 (vc-bzr-ignore-completion-table):
6659 (vc-bzr-find-ignore-file): New functions.
6660
6661 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6662
6663 * frameset.el (frameset-prop): New function and setter.
6664 (frameset-save): Do not modify frame list passed by the caller.
6665
6666 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6669
6670 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6673 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6674
6675 * custom.el (custom-initialize-default, custom-initialize-set)
6676 (custom-initialize-reset, custom-initialize-changed): Affect the
6677 toplevel-default-value (bug#6275, bug#14586).
6678 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6679 for bug#6275.
6680
6681 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6682
6683 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6684 Add cl-def* expressions.
6685
6686 * frameset.el (frameset-filter-params): Fix order of arguments.
6687
6688 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6689
6690 Move code related to saving frames to frameset.el.
6691 * desktop.el: Require frameset.
6692 (desktop-restore-frames): Doc fix.
6693 (desktop-restore-reuses-frames): Rename from
6694 desktop-restoring-reuses-frames.
6695 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6696 (desktop-clear): Clear frames too.
6697 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6698 (desktop--filter-tty*, desktop-save, desktop-read):
6699 Use frameset functions.
6700 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6701 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6702 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6703 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6704 (desktop--process-minibuffer-frames, desktop-save-frames)
6705 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6706 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6707 (desktop--sort-states, desktop-restoring-frames-p)
6708 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6709 (desktop-restoring-frameset-p, desktop-restore-frameset)
6710 (desktop--check-dont-save, desktop-save-frameset): New functions.
6711 (desktop--app-id): New constant.
6712 (desktop-first-buffer, desktop-buffer-ok-count)
6713 (desktop-buffer-fail-count): Move before first use.
6714 * frameset.el: New file.
6715
6716 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 * files.el: Use lexical-binding.
6719 (dir-locals-read-from-file): Remove unused `err' variable.
6720 (hack-dir-local-variables--warned-coding): New var.
6721 (hack-dir-local-variables): Use it to avoid repeated warnings.
6722 (make-backup-file-name--default-function): New function.
6723 (make-backup-file-name-function): Use it as default.
6724 (buffer-stale--default-function): New function.
6725 (buffer-stale-function): Use it as default.
6726 (revert-buffer-insert-file-contents--default-function): New function.
6727 (revert-buffer-insert-file-contents-function): Use it as default.
6728 (insert-directory): Avoid add-to-list.
6729
6730 * autorevert.el (auto-revert-handler): Simplify.
6731 Use buffer-stale--default-function.
6732
6733 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6734
6735 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6736
6737 * whitespace.el (whitespace-ensure-local-variables): New function.
6738 (whitespace-cleanup-region): Call it.
6739 (whitespace-turn-on): Call it.
6740
6741 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6742
6743 Complete file name handlers.
6744
6745 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6746 (tramp-handle-verify-visited-file-modtime)
6747 (tramp-handle-file-notify-rm-watch): New functions.
6748 (tramp-call-process): Do not bind `default-directory'.
6749
6750 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6751 Order alphabetically.
6752 [access-file, add-name-to-file, dired-call-process]:
6753 [dired-compress-file, file-acl, file-notify-rm-watch]:
6754 [file-ownership-preserved-p, file-selinux-context]:
6755 [make-directory-internal, make-symbolic-link, set-file-acl]:
6756 [set-file-selinux-context, set-visited-file-modtime]:
6757 [verify-visited-file-modtime]: Add handler.
6758 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6759
6760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6761 [file-notify-add-watch, file-notify-rm-watch]:
6762 [set-file-times, set-visited-file-modtime]:
6763 [verify-visited-file-modtime]: Add handler.
6764 (with-tramp-gvfs-error-message)
6765 (tramp-gvfs-handle-set-visited-file-modtime)
6766 (tramp-gvfs-fuse-file-name): Remove.
6767 (tramp-gvfs-handle-file-notify-add-watch)
6768 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6769 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6770
6771 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6772 Order alphabetically.
6773 [file-notify-rm-watch ]: Use default Tramp handler.
6774 [executable-find]: Remove private handler.
6775 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6776 `default-directory'.
6777 (tramp-sh-handle-executable-find)
6778 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6779 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6780 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6781 Do not use `format' in `tramp-message'.
6782
6783 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6784 [file-notify-rm-watch, set-visited-file-modtime]:
6785 [verify-visited-file-modtime]: Add handler.
6786 (tramp-smb-call-winexe): Do not bind `default-directory'.
6787
6788 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6789
6790 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6791
6792 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6793
6794 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6795 use it.
6796 (log-view-diff-changeset): Same.
6797 (log-view-diff-common): Call backend command `previous-revision'
6798 to find out the previous revision, in both cases. Swap the
6799 variables `to' and `fr', so that `fr' usually refers to the
6800 earlier revision (Bug#14989).
6801
6802 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6803
6804 * ibuf-ext.el (ibuffer-filter-by-filename):
6805 Make it work with dired buffers too.
6806
6807 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6808
6809 * emacs-lisp/re-builder.el (reb-color-display-p):
6810 * files.el (save-buffers-kill-terminal):
6811 * net/browse-url.el (browse-url):
6812 * server.el (server-save-buffers-kill-terminal):
6813 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6814 Prefer nil to selected-frame for the first arg of frame-parameter.
6815
6816 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6817
6818 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6819
6820 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6821
6822 * minibuffer.el (completion--twq-all): Try and preserve each
6823 completion's case choice (bug#14907).
6824
6825 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6826
6827 * net/network-stream.el (open-network-stream): Mention the new
6828 :nogreeting parameter.
6829 (network-stream-open-starttls): Use the :nogreeting parameter
6830 (bug#14938).
6831
6832 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6833
6834 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6835 more natural than popping.
6836
6837 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6838 (shr-urlify): Highlight under mouse.
6839
6840 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6841
6842 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6843
6844 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6845
6846 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6847 buffer for output.
6848
6849 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6850 point-min==1. Fix search string. Fix parentheses missing.
6851
6852 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6853 assume point-min==1. Fix search string. Fix parentheses missing.
6854
6855 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6856
6857 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6858 buffer for output.
6859
6860 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6861
6862 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6863 initial frame is minibuffer-less. (Bug#14841)
6864
6865 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6866
6867 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6868 option.
6869
6870 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6871 (tramp-maybe-open-connection): Use it.
6872
6873 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6874
6875 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6876 minimal set of parameters passed when creating a frame, because
6877 the minibuffer status of a frame cannot be changed later.
6878
6879 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6880
6881 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6882 replace-regexp-in-string and inadvertent omissions in previous change.
6883 (todo-filter-items): Ensure only file names are comma-separated in
6884 name of filtered items buffer.
6885
6886 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6887
6888 * desktop.el: Optionally force offscreen frames back onscreen.
6889 (desktop-restoring-reuses-frames): New option.
6890 (desktop--compute-pos, desktop--move-onscreen): New functions.
6891 (desktop--make-frame): Use desktop--move-onscreen.
6892
6893 2013-07-27 Alan Mackenzie <acm@muc.de>
6894
6895 Fontify a Java generic method as a function.
6896 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6897 value to t.
6898
6899 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6900
6901 * calendar/todo-mode.el: Add command to rename todo files.
6902 (todo-rename-file): New command.
6903 (todo-key-bindings-t): Add key binding for it. Change the
6904 bindings of todo-filter-regexp-items(-multifile) to use `x'
6905 instead of `r', since the latter is better suited to the new
6906 renaming command.
6907
6908 2013-07-27 Alan Mackenzie <acm@muc.de>
6909
6910 Make Java try-with-resources statement parse properly.
6911 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6912 (c-block-stmt-1-2-key): New language constants/variables.
6913 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6914 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6915 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6916 with c-block-stmt-1-2-key.
6917
6918 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
6919
6920 * desktop.el (desktop--make-frame): Apply most frame parameters after
6921 creating the frame to force (partially or totally) offscreen frames to
6922 be restored as such.
6923
6924 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6925
6926 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6927 (Bug#14948)
6928
6929 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6932 `base' arg of backtrace-frame.
6933
6934 2013-07-26 Eli Zaretskii <eliz@gnu.org>
6935
6936 * simple.el (list-processes): Doc fix.
6937
6938 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6939
6940 * desktop.el (desktop--select-frame):
6941 Try harder to reuse existing frames.
6942
6943 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6946 (edebug-eval): Use backtrace-eval.
6947 (edebug--display, edebug--recursive-edit): Don't let-bind the
6948 edebug-outer-* vars that keep track of variables we locally let-bind.
6949 (edebug-outside-excursion): Don't restore outside values of locally
6950 let-bound vars.
6951 (edebug--display): Use user-error.
6952 (cl-lexical-debug, cl-debug-env): Remove.
6953
6954 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6955
6956 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6957 are restored to be sure that they are visible before deleting any
6958 remaining ones.
6959
6960 2013-07-26 Matthias Meulien <orontee@gmail.com>
6961
6962 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6963 vc-print-root-log. (Bug#14948)
6964
6965 2013-07-26 Richard Stallman <rms@gnu.org>
6966
6967 Add aliases for encrypting mail.
6968 * epa.el (epa-mail-aliases): New option.
6969 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6970 Bind inhibit-read-only so read-only text doesn't ruin everything.
6971 (epa-mail-default-recipients): New subroutine broken out.
6972 Handle epa-mail-aliases.
6973
6974 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6975
6976 Add support for lexical variables to the debugger's `e' command.
6977 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6978 vars, except for debugger-outer-match-data.
6979 (debugger-frame-number): Move check for "on a function call" from
6980 callers into it. Add `skip-base' argument.
6981 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6982 (debugger-env-macro): Only reset the state stored in non-variables,
6983 i.e. current-buffer and match-data.
6984 (debugger-eval-expression): Rewrite using backtrace-eval.
6985 * subr.el (internal--called-interactively-p--get-frame): Remove.
6986 (called-interactively-p):
6987 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6988 `base' arg of backtrace-frame instead.
6989
6990 2013-07-26 Glenn Morris <rgm@gnu.org>
6991
6992 * align.el (align-regexp): Doc fix. (Bug#14857)
6993 (align-region): Explicit error if subexpression missing/does not match.
6994
6995 * simple.el (global-visual-line-mode):
6996 Do not duplicate the mode lighter. (Bug#14858)
6997
6998 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6999
7000 * window.el (display-buffer): In display-buffer bind
7001 split-window-keep-point to t, bug#14829.
7002
7003 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7004
7005 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7006 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7007 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7008 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7009 Change accordingly.
7010 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7011 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7012
7013 2013-07-25 Glenn Morris <rgm@gnu.org>
7014
7015 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7016
7017 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7018
7019 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7020 parameter to modify-frame-parameters if the value has not changed;
7021 this is a workaround for bug#14949.
7022 (desktop--make-frame): On cl-delete-if call, check parameter name,
7023 not full parameter.
7024
7025 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7026
7027 * vc/vc.el (vc-ignore): New function.
7028
7029 * vc/vc-svn.el (vc-svn-ignore): New function.
7030
7031 * vc/vc-hg.el (vc-hg-ignore): New function.
7032
7033 * vc/vc-git.el (vc-git-ignore): New function.
7034
7035 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7036 (vc-dir-ignore): New function.
7037
7038 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7039 (cvs-append-to-ignore): Move here from pcvs.el.
7040
7041 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7042
7043 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7044
7045 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7046
7047 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7048 (desktop-restore-frames): Warn when deleting an existing frame failed.
7049
7050 2013-07-24 Glenn Morris <rgm@gnu.org>
7051
7052 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7053
7054 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7055
7056 * filenotify.el (file-notify-supported-p):
7057 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7058 Remove functions.
7059
7060 * autorevert.el (auto-revert-use-notify):
7061 (auto-revert-notify-add-watch):
7062 * net/tramp.el (tramp-file-name-for-operation):
7063 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7064 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7065 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7066 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7067 Remove `file-notify-supported-p' entry.
7068
7069 2013-07-24 Glenn Morris <rgm@gnu.org>
7070
7071 * printing.el: Replace all uses of deleted ps-windows-system,
7072 ps-lp-system, ps-flatten-list with lpr- versions.
7073
7074 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7077 checked with memq (bug#14935).
7078
7079 * files.el (revert-buffer-function): Use a non-nil default.
7080 (revert-buffer-preserve-modes): Declare var to
7081 provide access to the `preserve-modes' argument.
7082 (revert-buffer): Let-bind it.
7083 (revert-buffer--default): New function, extracted from revert-buffer.
7084
7085 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * lpr.el: Signal print errors more prominently.
7088 (print-region-function): Don't default to nil.
7089 (lpr-print-region): New function, extracted from print-region-1.
7090 Check lpr's return value and signal an error in case of problem.
7091 (print-region-1): Use it.
7092 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7093 versions instead.
7094 (ps-printer-name): Default to nil.
7095 (ps-printer-name-option): Default to lpr-printer-switch.
7096 (ps-print-region-function): Don't default to nil.
7097 (ps-postscript-code-directory): Simplify default.
7098 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7099 (ps-string-list, ps-eval-switch, ps-flatten-list)
7100 (ps-flatten-list-1): Remove.
7101 (ps-multibyte-buffer): Avoid setq.
7102 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7103 (print-region-function, ps-print-region-function): Don't set them here.
7104
7105 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7106
7107 * ido.el (ido-fractionp):
7108 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7109 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7110 (ido-max-directory-size, ido-max-dir-file-cache)
7111 (ido-decorations): Doc fix.
7112
7113 * ansi-color.el: Fix old URL.
7114
7115 2013-07-23 Michael R. Mauger <michael@mauger.com>
7116
7117 * progmodes/sql.el: Version 3.3
7118 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7119 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7120 (sql-interactive-remove-continuation-prompt): Rewrite, use
7121 functions above. Fix continuation prompt and complete output line
7122 handling.
7123 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7124 redirected output buffer.
7125 (sql-mode): Restore deleted code (Bug#13591).
7126
7127 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7128
7129 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7130
7131 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7132
7133 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7134
7135 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7136 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7137 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7138
7139 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7140
7141 * desktop.el (desktop-clear): Simplify; remove useless checks
7142 against invalid buffer names.
7143 (desktop-list*): Use cl-list*.
7144 (desktop-buffer-info, desktop-create-buffer): Simplify.
7145
7146 2013-07-23 Leo Liu <sdl.web@gmail.com>
7147
7148 * bookmark.el (bookmark-make-record): Restore NAME as a default
7149 value. (Bug#14933)
7150
7151 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7152
7153 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7154 extracted from autoload--insert-text.
7155 (autoload--insert-text): Remove.
7156 (autoload--print-cookie-text): New function, extracted from
7157 autoload--insert-cookie-text.
7158 (autoload--insert-cookie-text): Remove.
7159 (autoload-generate-file-autoloads): Adjust calls accordingly.
7160
7161 * winner.el (winner-hook-installed-p): Remove.
7162 (winner-mode): Simplify accordingly.
7163
7164 * subr.el (add-to-list): Fix compiler-macro when `append' is
7165 not constant. Don't use `cl-member' for the base case.
7166
7167 * progmodes/subword.el: Fix boundary case (bug#13758).
7168 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7169 own group.
7170 (subword-backward-regexp): Make it a constant.
7171 (subword-forward-internal): Don't treat a trailing capital as the
7172 beginning of a word.
7173
7174 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7175
7176 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7177 global value of tabulated-list-revert-hook (bug#14930).
7178
7179 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7180
7181 * desktop.el: Require 'cl-lib.
7182 (desktop-before-saving-frames-functions): New hook.
7183 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7184 for frames being saved. Rename from desktop--save-minibuffer-frames.
7185 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7186 Do not save frames with non-nil `desktop-dont-save' parameter.
7187 Filter out deleted frames.
7188 (desktop--find-frame): Use cl-find-if.
7189 (desktop--select-frame): Use cl-(first|second|third) to access values
7190 of desktop-mini.
7191 (desktop--make-frame): Use cl-delete-if.
7192 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7193 (desktop-restore-frames): Use cl-(first|second|third) to access values
7194 of desktop-mini. Look for visible frame at the end, not while
7195 restoring frames.
7196
7197 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7198 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7199 Use string-match-p, looking-at-p (bug#14927).
7200
7201 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7202
7203 * desktop.el (desktop-saved-frame-states):
7204 Rename from desktop--saved-states; all users changed.
7205 (desktop-save-frames): Rename from desktop--save-frames.
7206 Do not save state to desktop file.
7207 (desktop-save): Save desktop-saved-frame-states to desktop file
7208 and reset to nil.
7209 (desktop-restoring-frames-p): New function.
7210 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7211 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7212 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7213
7214 * desktop.el: Correctly restore iconified frames.
7215 (desktop--filter-iconified-position): New function.
7216 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7217
7218 2013-07-20 Glenn Morris <rgm@gnu.org>
7219
7220 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7221 Let `message' do the formatting.
7222 (def-gdb-preempt-display-buffer): Add explicit format.
7223
7224 * image-dired.el (image-dired-track-original-file):
7225 Use with-current-buffer.
7226 (image-dired-track-thumbnail): Use with-current-buffer.
7227 Avoid changing point of wrong window.
7228
7229 * image-dired.el (image-dired-track-original-file):
7230 Avoid changing point of wrong window. (Bug#14909)
7231
7232 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7233
7234 * progmodes/gdb-mi.el (gdb-done-or-error):
7235 Guard against "%" in gdb output. (Bug#14127)
7236
7237 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7238
7239 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7240 (Bug#14826)
7241
7242 * international/mule.el (coding-system-iso-2022-flags): Fix last
7243 change.
7244
7245 2013-07-20 Kenichi Handa <handa@gnu.org>
7246
7247 * international/mule.el (coding-system-iso-2022-flags):
7248 Add `8-bit-level-4'. (Bug#8522)
7249
7250 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7251
7252 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7253 (bug#14815).
7254
7255 * net/eww.el (eww-process-text-input): Allow inputting when the
7256 point is at the start of the line, as the properties aren't
7257 front-sticky.
7258
7259 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7260 degenerate widths.
7261
7262 2013-07-19 Richard Stallman <rms@gnu.org>
7263
7264 * epa.el (epa-popup-info-window): Doc fix.
7265
7266 * subr.el (split-string): New arg TRIM.
7267
7268 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7269
7270 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7271 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7272
7273 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7274
7275 * filenotify.el (file-notify--library): Rename from
7276 `file-notify-support'. Do not autoload. Adapt all uses.
7277 (file-notify-supported-p): New defun.
7278
7279 * autorevert.el (auto-revert-use-notify):
7280 Use `file-notify-supported-p' instead of `file-notify-support'.
7281 Adapt docstring.
7282 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7283
7284 * net/tramp.el (tramp-file-name-for-operation):
7285 Add `file-notify-supported-p'.
7286
7287 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7288 New defun.
7289 (tramp-sh-file-name-handler-alist): Add it as handler for
7290 `file-notify-supported-p '.
7291
7292 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7293 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7294 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7295 Add `ignore' as handler for `file-notify-*' functions.
7296
7297 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7298
7299 * simple.el (line-move-partial, line-move): Don't start vscroll or
7300 scroll-up if the current line is not taller than the window.
7301 (Bug#14881)
7302
7303 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7304
7305 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7306 highlight question marks in the method names as strings.
7307 (ruby-block-beg-keywords): Inline.
7308 (ruby-font-lock-keyword-beg-re): Extract from
7309 `ruby-font-lock-keywords'.
7310
7311 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7312
7313 * frame.el (blink-cursor-blinks): New defcustom.
7314 (blink-cursor-blinks-done): New defvar.
7315 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7316 (blink-cursor-timer-function): Check if number of blinks has been
7317 done on X and NS.
7318 (blink-cursor-suspend, blink-cursor-check): New defuns.
7319
7320 2013-07-15 Glenn Morris <rgm@gnu.org>
7321
7322 * edmacro.el (edmacro-format-keys): Fix previous change.
7323
7324 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7325
7326 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7327 The hack didn't work outside English locales anyway.
7328
7329 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7330
7331 * simple.el (define-alternatives): Rename from alternatives-define,
7332 per RMS' suggestion.
7333
7334 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7335
7336 * desktop.el (desktop-restore-frames): Change default to t.
7337 (desktop-restore-in-current-display): Now offer more options.
7338 (desktop-restoring-reuses-frames): New customization option.
7339 (desktop--saved-states): Doc fix.
7340 (desktop-filter-parameters-alist): New variable, renamed and expanded
7341 from desktop--excluded-frame-parameters.
7342 (desktop--target-display): New variable.
7343 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7344 (desktop--filter-tty*, desktop--filter-*-color)
7345 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7346 (desktop--filter-save-desktop-parm)
7347 (desktop-restore-in-original-display-p): New functions.
7348 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7349 (desktop--save-minibuffer-frames): New function, inspired by a similar
7350 function from Martin Rudalics.
7351 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7352 (desktop--restore-in-this-display-p): Remove.
7353 (desktop--find-frame): Rename from desktop--find-frame-in-display
7354 and add predicate argument.
7355 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7356 (desktop--reuse-list): New variable.
7357 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7358 New functions.
7359 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7360
7361 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7364
7365 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7366
7367 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7368 Highlight conversion methods on Kernel.
7369
7370 2013-07-13 Alan Mackenzie <acm@muc.de>
7371
7372 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7373 and comment it out. This out-commenting enables certain C++
7374 declarations to be parsed correctly.
7375
7376 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7377
7378 * international/mule.el (define-coding-system): Doc fix.
7379
7380 * simple.el (default-font-height): Don't call font-info if the
7381 frame's default font didn't change since the frame was created.
7382 (Bug#14838)
7383
7384 2013-07-13 Leo Liu <sdl.web@gmail.com>
7385
7386 * ido.el (ido-read-file-name): Guard against non-symbol value.
7387
7388 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7389
7390 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7391 in nested defuns.
7392
7393 2013-07-13 Leo Liu <sdl.web@gmail.com>
7394
7395 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7396 ido-set-matches call. (Bug#6852)
7397
7398 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7399
7400 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7401 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7402 Ruby 2.0.
7403 (ruby-font-lock-keywords): Distinguish calls to functions with
7404 module-like names from module references. Highlight character
7405 literals.
7406
7407 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7408
7409 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7410 (gdb-send): Handle continued commands. (Bug#14847)
7411
7412 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7413
7414 * desktop.el (desktop--v2s): Remove unused local variable.
7415 (desktop-save-buffer): Make defvar-local; adjust docstring.
7416 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7417 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7418
7419 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7420
7421 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7422
7423 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7424
7425 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7426 (Bug#14842)
7427
7428 2013-07-12 Glenn Morris <rgm@gnu.org>
7429
7430 * doc-view.el: Require cl-lib at runtime too.
7431 (doc-view-remove-if): Remove.
7432 (doc-view-search-next-match, doc-view-search-previous-match):
7433 Use cl-remove-if.
7434
7435 * edmacro.el: Require cl-lib at runtime too.
7436 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7437 (edmacro-mismatch, edmacro-subseq): Remove.
7438
7439 * shadowfile.el: Require cl-lib.
7440 (shadow-remove-if): Remove.
7441 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7442 Use cl-remove-if.
7443
7444 * wid-edit.el: Require cl-lib.
7445 (widget-choose): Use cl-remove-if.
7446 (widget-remove-if): Remove.
7447
7448 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7449 (ebrowse-delete-if-not): Remove.
7450 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7451 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7452 Use cl-delete-if-not.
7453
7454 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7455
7456 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7457 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7458
7459 2013-07-12 Leo Liu <sdl.web@gmail.com>
7460
7461 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7462
7463 2013-07-11 Glenn Morris <rgm@gnu.org>
7464
7465 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7466 (edebug-gensym-index, edebug-gensym):
7467 Remove reimplementation of cl-gensym.
7468 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7469
7470 * thumbs.el: Require cl-lib at run-time too.
7471 (thumbs-gensym-counter, thumbs-gensym):
7472 Remove reimplementation of cl-gensym.
7473 (thumbs-temp-file): Use cl-gensym.
7474
7475 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7476 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7477 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7478 (ert--union, ert--gensym-counter, ert--gensym-counter)
7479 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7480 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7481 (ert-make-test-unbound, ert--expand-should-1)
7482 (ert--expand-should, ert--should-error-handle-error)
7483 (should-error, ert--explain-equal-rec)
7484 (ert--plist-difference-explanation, ert-select-tests)
7485 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7486 Use cl-lib functions rather than reimplementations.
7487
7488 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp.el (tramp-methods): Extend docstring.
7491 (tramp-connection-timeout): New defcustom.
7492 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7493 (with-tramp-progress-reporter): Simplify.
7494 (tramp-process-actions): Improve messages.
7495
7496 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7497 * net/tramp-sh.el (tramp-maybe-open-connection):
7498 Use `tramp-connection-timeout'.
7499 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7500 (Bug#14808)
7501
7502 2013-07-11 Leo Liu <sdl.web@gmail.com>
7503
7504 * ido.el (ido-read-file-name): Conform to the requirements of
7505 read-file-name. (Bug#11861)
7506 (ido-read-directory-name): Conform to the requirements of
7507 read-directory-name.
7508
7509 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7510
7511 * subr.el (delay-warning): New function.
7512
7513 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7514
7515 * simple.el (default-line-height): New function.
7516 (line-move-partial, line-move): Use it instead of computing the
7517 line height inline.
7518 (line-move-partial): Always compute ROWH. If the last line is
7519 partially-visible, but its text is completely visible, allow
7520 cursor to enter such a partially-visible line.
7521
7522 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7523
7524 Improve error messages. (Bug#14808)
7525
7526 * net/tramp.el (tramp-current-connection): New defvar, moved from
7527 tramp-sh.el.
7528 (tramp-message-show-progress-reporter-message): Remove, not
7529 needed anymore.
7530 (tramp-error-with-buffer): Show message in minibuffer.
7531 Discard input before waiting. Reset connection timestamp.
7532 (with-tramp-progress-reporter): Improve messages.
7533 (tramp-process-actions): Use progress reporter. Delete process in
7534 case of error. Improve messages.
7535
7536 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7537 Call `tramp-error-with-buffer' with vector and buffer.
7538 (tramp-current-connection): Remove.
7539 (tramp-maybe-open-connection): The car of
7540 `tramp-current-connection' are the first 3 slots of the vector.
7541
7542 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7543
7544 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7545 inside continued strings.
7546
7547 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7548
7549 Timestamp fixes for undo (Bug#14824).
7550 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7551
7552 2013-07-10 Leo Liu <sdl.web@gmail.com>
7553
7554 * files.el (require-final-newline): Allow safe local value.
7555 (Bug#14834)
7556
7557 2013-07-09 Leo Liu <sdl.web@gmail.com>
7558
7559 * ido.el (ido-read-directory-name): Handle fallback.
7560 (ido-read-file-name): Update DIR to ido-current-directory.
7561 (Bug#1516)
7562 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7563
7564 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7565
7566 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7567 "autoload". Remove "warn lower camel case" section, previously
7568 commented out. Highlight negation char. Do not highlight the
7569 target in singleton method definitions.
7570
7571 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * faces.el (tty-setup-hook): Declare the hook.
7574
7575 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7576 and detect when a guard/pred depends on local vars (bug#14773).
7577 (pcase--u1): Adjust caller.
7578
7579 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7580
7581 * simple.el (line-move-partial, line-move): Account for
7582 line-spacing.
7583 (line-move-partial): Avoid setting vscroll when the last
7584 partially-visible line in window is of default height.
7585
7586 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7587
7588 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7589 been used a while.
7590
7591 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7592
7593 * subr.el (read-quoted-char): Remove unused local variable `char'.
7594
7595 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7596
7597 * ediff.el (ediff-version): Version update.
7598 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7599 (ediff-merge-with-ancestor-command, ediff-directories-command)
7600 (ediff-directories3-command, ediff-merge-directories-command)
7601 (ediff-merge-directories-with-ancestor-command): New functions.
7602 All are command-line interfaces to ediff: to facilitate calling
7603 Emacs with the appropriate ediff functions invoked.
7604
7605 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7606 (viper-save-kill-buffer): Check if buffer is modified.
7607
7608 * viper.el (viper-version): Version update.
7609 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7610
7611 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7612
7613 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7614 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7615 (viper-intercept-ESC-key): Simplify.
7616 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7617 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7618 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7619 (viper-setup-ESC-to-escape): New functions.
7620 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7621 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7622
7623 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7624
7625 * simple.el (default-font-height, window-screen-lines):
7626 New functions.
7627 (line-move, line-move-partial): Use them instead of
7628 frame-char-height and window-text-height. This makes scrolling
7629 text smoother when the buffer's default face uses a font that is
7630 different from the frame's default font.
7631
7632 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7633
7634 * files.el (write-file): Do not display confirm dialog for NS,
7635 it does its own dialog, which can't be canceled (Bug#14578).
7636
7637 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7638
7639 * simple.el (line-move-partial): Adjust the row returned by
7640 posn-at-point for the current window-vscroll. (Bug#14567)
7641
7642 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7643
7644 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7645 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7646 spaces.
7647
7648 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7649
7650 * window.el (window-state-put-stale-windows): New variable.
7651 (window--state-put-2): Save list of windows without matching buffer.
7652 (window-state-put): Remove "bufferless" windows if possible.
7653
7654 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7655
7656 * simple.el (alternatives-define): Remove leftover :group keyword.
7657 Tweak docstring.
7658
7659 2013-07-06 Leo Liu <sdl.web@gmail.com>
7660
7661 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7662 (ido-enable-virtual-buffers): New variable.
7663 (ido-buffer-internal, ido-toggle-virtual-buffers)
7664 (ido-make-buffer-list): Use it.
7665 (ido-exhibit): Support turning on and off virtual buffers
7666 automatically.
7667
7668 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7669
7670 * simple.el (alternatives-define): New macro.
7671
7672 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * subr.el (read-quoted-char): Use read-key.
7675 (sit-for): Let read-event decode tty input (bug#14782).
7676
7677 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7678
7679 * calendar/todo-mode.el: Add handling of file deletion, both by
7680 mode command and externally. Fix various related bugs.
7681 Clarify Commentary and improve some documentation strings and code.
7682 (todo-delete-file): New command.
7683 (todo-check-file): New function.
7684 (todo-show): Handle external deletion of the file we're trying to
7685 show (bug#14688). Replace called-interactively-p by an optional
7686 prefix argument to avoid problematic interaction with catch form
7687 when byte compiled (bug#14702).
7688 (todo-quit): Handle external deletion of the archive's todo file.
7689 Make sure the buffer that was visiting the archive file is still
7690 live before trying to bury it.
7691 (todo-category-completions): Handle external deletion of any
7692 category completion files.
7693 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7694 of todo files, in case of external deletion.
7695 (todo-add-file): Replace unnecessary setq by let-binding.
7696 (todo-find-archive): Check whether there are any archives.
7697 Replace unnecessary setq by let-binding.
7698 (todo-archive-done-item): Use find-file-noselect to get the
7699 archive buffer whether or not the archive already exists.
7700 Remove superfluous code. Use file size instead of buffer-file-name to
7701 check if the archive is new; if it is, update list of archives.
7702 (todo-default-todo-file): Allow nil to be a valid value for when
7703 there are no todo files.
7704 (todo-reevaluate-default-file-defcustom): Use corrected definition
7705 of todo-default-todo-file.
7706 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7707 (todo-delete-category, todo-show-categories-table)
7708 (todo-category-number): Clarify comment.
7709 (todo-filter-items): Clarify documentation string.
7710 (todo-show-current-file, todo-display-as-todo-file)
7711 (todo-reset-and-enable-done-separator): Tweak documentation string.
7712 (todo-done-separator): Make separator length window-width, since
7713 bug#2749 is now fixed.
7714
7715 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7716
7717 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7718 Support both "gvfs-monitor-dir" and "inotifywait".
7719 (tramp-sh-file-inotifywait-process-filter): Rename from
7720 `tramp-sh-file-notify-process-filter'.
7721 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7722 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7723
7724 2013-07-05 Leo Liu <sdl.web@gmail.com>
7725
7726 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7727
7728 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7729
7730 * frame.el (display-pixel-height, display-pixel-width)
7731 (display-mm-height, display-mm-width): Mention behavior on
7732 multi-monitor setups in docstrings.
7733 (w32-display-monitor-attributes-list): Declare function.
7734 (display-monitor-attributes-list): Use it.
7735
7736 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7737
7738 * filenotify.el: New package.
7739
7740 * autorevert.el (top): Require filenotify.el.
7741 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7742 instead.
7743 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7744 (auto-revert-notify-handler): Use `file-notify-*' functions.
7745
7746 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7747
7748 * net/tramp.el (tramp-file-name-for-operation):
7749 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7750
7751 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7752 for `file-notify-add-watch' and `file-notify-rm-watch'.
7753 (tramp-process-sentinel): Improve trace.
7754 (tramp-sh-handle-file-notify-add-watch)
7755 (tramp-sh-file-notify-process-filter)
7756 (tramp-sh-handle-file-notify-rm-watch)
7757 (tramp-get-remote-inotifywait): New defuns.
7758
7759 2013-07-03 Juri Linkov <juri@jurta.org>
7760
7761 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7762 call of `occur-read-primary-args' to interactive spec.
7763
7764 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7765 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7766
7767 2013-07-03 Matthias Meulien <orontee@gmail.com>
7768
7769 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7770 `Buffer-menu-multi-occur'. Add it to the menu.
7771 (Buffer-menu-mode): Document it in docstring.
7772 (Buffer-menu-multi-occur): New command. (Bug#14673)
7773
7774 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7775
7776 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7777 keywords and built-ins.
7778
7779 2013-07-03 Glenn Morris <rgm@gnu.org>
7780
7781 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7782
7783 Make info-xref checks case-sensitive by default
7784 * info.el (Info-find-node, Info-find-in-tag-table)
7785 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7786 Add option for exact case matching of nodes.
7787 * info-xref.el (info-xref): New custom group.
7788 (info-xref-case-fold): New option.
7789 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7790
7791 2013-07-03 Leo Liu <sdl.web@gmail.com>
7792
7793 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7794
7795 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7796
7797 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7798 middle of block statement initially, lower the depth. Remove
7799 FIXME comment, not longer valid. Remove middle of block statement
7800 detection, no need to do that anymore since we've been using
7801 `ruby-parse-region' here.
7802
7803 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7804
7805 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7806
7807 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7808
7809 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7810
7811 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7812
7813 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7814 (desktop-restore-in-current-display): New customization option.
7815 (desktop--excluded-frame-parameters): Add `font'.
7816 (desktop--save-frames): Rename from desktop--save-windows.
7817 (desktop--restore-in-this-display-p): New function.
7818 (desktop--make-full-frame): Remove unwanted width/height from
7819 full(width|height) frames.
7820 (desktop--restore-frames): Rename from desktop--restore-windows.
7821 Obey desktop-restore-current-display. Do not delete old frames or
7822 select a new frame unless we were able to restore at least one frame.
7823
7824 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7825
7826 * files.el (find-file-noselect): Simplify conditional expression.
7827
7828 * textmodes/remember.el (remember-append-to-file):
7829 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7830
7831 Add `remember-notes' function to store random notes across Emacs
7832 restarts.
7833 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7834 notes buffer (if any).
7835 (remember-notes): New command.
7836 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7837 New defcustoms for the `remember-notes' function.
7838 (remember-notes-save-and-bury-buffer): New command.
7839 (remember-notes-mode-map): New variable.
7840 (remember-mode): New minor mode.
7841 (remember-notes--kill-buffer-query): New function.
7842 * startup.el (initial-buffer-choice): Add notes to custom type.
7843
7844 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7845
7846 * bindings.el (right-char, left-char): Don't call sit-for, this is
7847 no longer needed. Use arithmetic comparison only for numerical
7848 arguments.
7849
7850 * international/mule-cmds.el (select-safe-coding-system):
7851 Handle the case of FROM being a string correctly. (Bug#14755)
7852
7853 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7854
7855 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7856 progression on degenerate tables.
7857 (shr-rescale-image): ImageMagick animated images currently don't work.
7858
7859 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7860
7861 Some fixes and improvements for desktop frame restoration.
7862 It is still experimental and disabled by default.
7863 * desktop.el (desktop--save-windows): Put the selected frame at
7864 the head of the list.
7865 (desktop--make-full-frame): New function.
7866 (desktop--restore-windows): Try to re-select the frame that was
7867 selected upon saving. Do not abort if some frames fail to restore,
7868 just show an error message and continue. Set up maximized frames
7869 so they have default non-maximized dimensions.
7870
7871 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7872
7873 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7874 Don't start heredoc inside a string or comment.
7875
7876 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7877
7878 * bindings.el (visual-order-cursor-movement): New defcustom.
7879 (right-char, left-char): Provide visual-order cursor motion by
7880 calling move-point-visually. Update the doc strings.
7881
7882 2013-06-28 Kenichi Handa <handa@gnu.org>
7883
7884 * international/mule.el (define-coding-system): New coding system
7885 properties :inhibit-null-byte-detection,
7886 :inhibit-iso-escape-detection, and :prefer-utf-8.
7887 (set-buffer-file-coding-system): If :charset-list property of
7888 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7889 appropriate for setting.
7890
7891 * international/mule-cmds.el (select-safe-coding-system):
7892 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7893 multibyte characters, return utf-8 (or one of its siblings).
7894
7895 * international/mule-conf.el (prefer-utf-8): New coding system.
7896 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7897 files.
7898
7899 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7900
7901 * net/shr.el (shr-render-region): New function.
7902
7903 * net/eww.el: Autoload `eww-browse-url'.
7904
7905 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7906
7907 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7908 Adapt to `package-desc-version' being a list.
7909 Use `package--ac-desc-version' to retrieve version from a package
7910 archive element.
7911
7912 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
7913
7914 New experimental feature to save&restore window and frame setup.
7915 * desktop.el (desktop-save-windows): New defcustom.
7916 (desktop--saved-states): New var.
7917 (desktop--excluded-frame-parameters): New defconst.
7918 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7919 (desktop--restore-windows, desktop--save-windows): New functions.
7920 (desktop-save): Call `desktop--save-windows'.
7921 (desktop-read): Call `desktop--restore-windows'.
7922
7923 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7924
7925 * net/shr.el (add-face-text-property): Remove compat definition.
7926
7927 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7928
7929 * info.el (Info-try-follow-nearest-node): Move search for footnote
7930 above search for node name to prevent missing a footnote (bug#14717).
7931
7932 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
7933
7934 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7935
7936 2013-06-27 Leo Liu <sdl.web@gmail.com>
7937
7938 * net/eww.el (eww-read-bookmarks): Check file size.
7939
7940 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7941
7942 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7943 advice--pending if newdef is nil or an autoload (bug#13820).
7944 (advice-mapc): New function.
7945
7946 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7947
7948 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7949 probably.
7950 (eww-mode-map): Add a menu bar.
7951 (eww-add-bookmark): New command.
7952 (eww-bookmark-mode): New mode and commands.
7953 (eww-add-bookmark): Remove newlines from the title.
7954 (eww-bookmark-browse): Don't bug out if it's the only window.
7955
7956 2013-06-26 Glenn Morris <rgm@gnu.org>
7957
7958 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7959 (hfy-size): Handle ttys. (Bug#14668)
7960
7961 * info-xref.el: Update for Texinfo 5 change in *note format.
7962 (info-xref-node-re, info-xref-note-re): New constants.
7963 (info-xref-check-buffer): Use info-xref-note-re.
7964
7965 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7966
7967 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7968
7969 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7970 nil terminate the loop (bug#14718).
7971
7972 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7973
7974 * net/eww.el: Rework history traversal. When going forward/back,
7975 put these actions into the history, too, so that they can be
7976 replayed.
7977 (eww-render): Move the history reset to the correct buffer.
7978
7979 2013-06-25 Juri Linkov <juri@jurta.org>
7980
7981 * files-x.el (modify-dir-local-variable): Change the header comment
7982 in the file with directory local variables. (Bug#14692)
7983
7984 * files-x.el (read-file-local-variable-value): Add `default'.
7985 (Bug#14710)
7986
7987 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7988
7989 * net/eww.el (eww-make-unique-file-name): Create a unique file
7990 name before saving to entering `y' accidentally asynchronously.
7991
7992 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7993
7994 * net/eww.el (eww-download): New command and keystroke.
7995
7996 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7997
7998 * net/eww.el (eww-copy-page-url): Change name of command.
7999
8000 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8001 be more consistent with Info and dired.
8002
8003 * net/eww.el (eww-mode-map): Ditto.
8004
8005 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8008 packages from archives.
8009 (package-archive-contents): Change format; include obsolete packages.
8010 (package-desc): Use `dir' to mark builtin packages.
8011 (package--from-builtin): Set the `dir' field to `builtin'.
8012 (generated-autoload-file, version-control): Declare.
8013 (package-compute-transaction): Change first arg and return value to be
8014 lists of package-descs. Adjust to new package-archive-contents format.
8015 (package--add-to-archive-contents): Adjust to new
8016 package-archive-contents format.
8017 (package-download-transaction): Arg is now a list of package-descs.
8018 (package-install): If `pkg' is a package name, pass it as
8019 a requirement, so it is subject to the usual (e.g. disabled) checks.
8020 (describe-package): Accept package-desc as well.
8021 (describe-package-1): Describe a specific package-desc. Add links to
8022 other package-descs for the same package name.
8023 (package-menu-describe-package): Pass the actual package-desc.
8024 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8025 works correctly.
8026 (package-desc-status): New function.
8027 (package-menu--refresh): New function, extracted
8028 from package-menu--generate.
8029 (package-menu--generate): Use it.
8030 (package-delete): Update package-alist.
8031 (package-menu-execute): Don't call package-initialize.
8032
8033 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8034 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8035 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8036 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8037 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8038 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8039
8040 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8041
8042 * window.el (window--state-get-1): Workaround for bug#14527.
8043 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8044
8045 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8046
8047 * net/eww.el (eww-back-url): Implement the history by stashing all
8048 the data into a list.
8049 (eww-forward-url): Allow going forward in the history, too.
8050
8051 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8054 for values and use read--expression for expressions (bug#14710).
8055 (read-file-local-variable): Avoid setq.
8056 (read-file-local-variable-mode): Use minor-mode-list.
8057
8058 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8059
8060 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8061 for DOI URLs.
8062
8063 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8064
8065 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8066 Update imenu-support when dialect changes.
8067
8068 2013-06-25 Leo Liu <sdl.web@gmail.com>
8069
8070 * ido.el (ido-read-internal): Allow forward slash on windows.
8071
8072 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8073
8074 * net/eww.el (eww): Start of strings is \\`, not ^.
8075
8076 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8077
8078 * net/shr.el (shr-browse-url): Fix interactive spec.
8079
8080 * net/eww.el (eww): Add a trailing slash to domain names.
8081
8082 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8085
8086 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8087
8088 * net/shr.el (shr-browse-url): Use an external browser if given a
8089 prefix.
8090
8091 * net/eww.el (eww-external-browser): Move to shr.
8092
8093 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8094
8095 * net/eww.el (eww): Work more correctly for file: URLs.
8096 (eww-detect-charset): Allow quoted charsets.
8097 (eww-yank-page-url): New command and keystroke.
8098
8099 2013-06-24 Daiki Ueno <ueno@gnu.org>
8100
8101 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8102 file name of gpg executable.
8103 (epg-context-program): New function.
8104 (epg-context-home-directory): New function.
8105 (epg-context-set-program): New function.
8106 (epg-context-set-home-directory): New function.
8107 (epg--start): Use `epg-context-program' instead of
8108 'epg-gpg-program'.
8109 (epg--list-keys-1): Likewise.
8110
8111 2013-06-24 Leo Liu <sdl.web@gmail.com>
8112
8113 * ido.el (ido-read-internal): Fix bug#14620.
8114
8115 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * faces.el (face-documentation): Simplify.
8118 (read-face-attribute, tty-find-type, x-resolve-font-name):
8119 Use `string-match-p'.
8120 (list-faces-display): Use `string-match-p'. Simplify.
8121 (face-spec-recalc): Check face to avoid face alias loops.
8122 (read-color): Use `string-match-p' and non-capturing parenthesis.
8123
8124 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8125
8126 * net/shr.el (shr-rescale-image): Use the new
8127 :max-width/:max-height functionality.
8128
8129 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8130
8131 * net/eww.el (eww-search-prefix): New variable.
8132 (eww): Use it.
8133 (eww-external-browser): New variable.
8134 (eww-mode-map): New keystroke.
8135 (eww-browse-with-external-browser): New command.
8136
8137 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8138
8139 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8142 Don't skip aligning the next header field when padding is 0;
8143 otherwise, field width is not respected unless the title is as
8144 wide as the field.
8145
8146 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * emacs-lisp/package.el (package-el-version): Remove.
8149 (package-process-define-package): Fix inf-loop.
8150 (package-install): Allow symbols as arguments again.
8151
8152 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8153
8154 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8155 add some more keyword-like methods.
8156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8157
8158 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8159
8160 * bs.el (bs-buffer-show-mark): Make defvar-local.
8161 (bs-mode): Use setq-local.
8162
8163 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8164 (emacs-lock--try-unlocking): Make defvar-local.
8165
8166 2013-06-22 Glenn Morris <rgm@gnu.org>
8167
8168 * play/cookie1.el (cookie-apropos): Minor simplification.
8169
8170 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8171
8172 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8173
8174 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8175 `regexp-opt', it breaks the build during dumping.
8176
8177 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8178
8179 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8180 Highlight keyword-like methods on Kernel and Module with
8181 font-lock-builtin-face.
8182 (auto-mode-alist): Consolidate different entries into one regexp
8183 and add more *file-s.
8184
8185 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8186
8187 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8188
8189 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8190 (diary-entry): Use it in the action of this button type instead of
8191 diary-goto-entry.
8192
8193 * calendar/todo-mode.el: New version.
8194 (todo-add-category): Append new category to end of file and give
8195 it the highest number, instead of putting it at the beginning and
8196 giving it 0. Incorporate noninteractive functionality.
8197 (todo-forward-category): Adapt to 1-based category numbering.
8198 Allow skipping over archived categories.
8199 (todo-backward-category): Derive from todo-forward-category.
8200 (todo-backward-item, todo-forward-item): Make noninteractive and
8201 delegate interactive part to new commands. Make sensitive to done items.
8202 (todo-categories): Make value an alist of category names and
8203 vectors of item counts.
8204 (todo-category-beg): Make a defconst.
8205 (todo-category-number): Use 1 instead of 0 as initial value.
8206 (todo-category-select): Make sensitive to overlays, optional item
8207 highlighting and done items.
8208 (todo-delete-item): Make sensitive to overlays and marked and done items.
8209 (todo-edit-item): Make sensitive to overlays and editing of
8210 date/time header optional. Add format checks.
8211 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8212 no-op if point is not on an item. Advertise using todo-edit-quit.
8213 (todo-edit-mode): Make sensitive to new format, font-locking, and
8214 multiple todo files.
8215 (todo-insert-item, todo-insert-item-here): Derive from
8216 todo-basic-insert-item and extend functionality.
8217 (todo-item-end, todo-item-start): Make sensitive to done items.
8218 (todo-item-string): Don't return text properties. Restore point.
8219 (todo-jump-to-category): Make sensitive to multiple todo files and
8220 todo archives. Use extended category completion.
8221 (todo-lower-item, todo-raise-item): Rename to *-priority and
8222 derive from todo-set-item-priority.
8223 (todo-mode): Derive from special-mode. Make sensitive to new
8224 format, font-locking and multiple todo files. Make read-only.
8225 (todo-mode-map): Don't suppress digit keys, so they can supply
8226 prefix arguments. Add many new key bindings.
8227 (todo-prefix): Insert as an overlay instead of file text.
8228 Change semantics from diary date expression to purely visual mark.
8229 (todo-print): Rename to todo-print-buffer. Make buffer display
8230 features printable. Remove option to restrict number of items
8231 printed. Add option to print to file.
8232 (todo-print-function): Rename to todo-print-buffer-function.
8233 (todo-quit): Extend to handle exiting new todo modes.
8234 (todo-remove-item): Make sensitive to overlays.
8235 (todo-save): Extend to buffers of filtered items.
8236 (todo-show): Make sensitive to done items, multiple todo files and
8237 new todo modes. Offer to convert legacy todo file before creating
8238 first new todo file.
8239 (todo-show-priorities): Rename to todo-top-priorities.
8240 Change semantics of value 0.
8241 (todo-top-priorities): Rename to todo-filter-top-priorities,
8242 derive from todo-filter-items and extend functionality.
8243 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8244 and extend functionality to other types of filtered items.
8245 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8246 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8247 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8248 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8249 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8250 (todo-edit-mode-hook, todo-entry-prefix-function)
8251 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8252 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8253 (todo-initials, todo-insert-threshold, todo-item-string-start)
8254 (todo-line-string, todo-menu, todo-mode-hook)
8255 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8256 (todo-print-priorities, todo-remove-separator)
8257 (todo-save-top-priorities-too, todo-string-count-lines)
8258 (todo-string-multiline-p, todo-time-string-format)
8259 (todo-tmp-buffer-name): Remove.
8260 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8261 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8262 (todo-edit-category-diary-inclusion)
8263 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8264 (todo-edit-file, todo-edit-item-date-day)
8265 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8266 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8267 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8268 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8269 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8270 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8271 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8272 (todo-filter-top-priorities-multifile, todo-find-archive)
8273 (todo-find-filtered-items-file, todo-go-to-source-item)
8274 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8275 (todo-jump-to-archive-category, todo-lower-category)
8276 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8277 (todo-move-category, todo-move-item, todo-next-button)
8278 (todo-next-item, todo-padded-string, todo-powerset)
8279 (todo-previous-button, todo-previous-item)
8280 (todo-print-buffer-to-file, todo-raise-category)
8281 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8282 (todo-set-category-number, todo-set-item-priority)
8283 (todo-set-top-priorities-in-category)
8284 (todo-set-top-priorities-in-file, todo-show-categories-table)
8285 (todo-sort-categories-alphabetically-or-numerically)
8286 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8287 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8288 (todo-toggle-item-header, todo-toggle-item-highlighting)
8289 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8290 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8291 (todo-unarchive-items, todo-unmark-category): New commands.
8292 (todo-absolute-file-name, todo-add-to-buffer-list)
8293 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8294 (todo-basic-insert-item, todo-category-completions)
8295 (todo-category-number, todo-category-string-matcher-1)
8296 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8297 (todo-check-format, todo-clear-matches)
8298 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8299 (todo-current-category, todo-date-string-matcher)
8300 (todo-define-insertion-command, todo-diary-expired-matcher)
8301 (todo-diary-goto-entry, todo-diary-item-p)
8302 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8303 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8304 (todo-done-item-section-p, todo-done-separator)
8305 (todo-done-string-matcher, todo-files, todo-filter-items)
8306 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8307 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8308 (todo-insert-category-line, todo-insert-item-from-calendar)
8309 (todo-insert-sort-button, todo-insert-with-overlays)
8310 (todo-insertion-command-name, todo-insertion-key-bindings)
8311 (todo-label-to-key, todo-longest-category-name-length)
8312 (todo-make-categories-list, todo-mode-external-set)
8313 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8314 (todo-modes-set-3, todo-multiple-filter-files)
8315 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8316 (todo-read-category, todo-read-date, todo-read-dayname)
8317 (todo-read-file-name, todo-read-time)
8318 (todo-reevaluate-category-completions-files-defcustom)
8319 (todo-reevaluate-default-file-defcustom)
8320 (todo-reevaluate-filelist-defcustoms)
8321 (todo-reevaluate-filter-files-defcustom)
8322 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8323 (todo-reset-done-separator, todo-reset-done-separator-string)
8324 (todo-reset-done-string, todo-reset-global-current-todo-file)
8325 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8326 (todo-reset-prefix, todo-set-categories)
8327 (todo-set-date-from-calendar, todo-set-show-current-file)
8328 (todo-set-top-priorities, todo-short-file-name)
8329 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8330 (todo-total-item-counts, todo-update-buffer-list)
8331 (todo-update-categories-display, todo-update-categories-sexp)
8332 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8333 New functions.
8334 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8335 New major modes.
8336 (todo-categories, todo-display, todo-edit, todo-faces)
8337 (todo-filtered): New defgroups.
8338 (todo-archived-only, todo-button, todo-category-string, todo-date)
8339 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8340 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8341 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8342 (todo-add-item-if-new-category, todo-always-add-time-string)
8343 (todo-categories-align, todo-categories-archived-label)
8344 (todo-categories-category-label, todo-categories-diary-label)
8345 (todo-categories-done-label, todo-categories-number-separator)
8346 (todo-categories-todo-label, todo-categories-totals-label)
8347 (todo-category-completions-files, todo-completion-ignore-case)
8348 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8349 (todo-done-separator-string, todo-done-string)
8350 (todo-files-function, todo-filter-done-items, todo-filter-files)
8351 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8352 (todo-initial-category, todo-initial-file, todo-item-mark)
8353 (todo-legacy-date-time-regexp, todo-mode-line-function)
8354 (todo-nondiary-marker, todo-number-prefix)
8355 (todo-print-buffer-function, todo-show-current-file)
8356 (todo-show-done-only, todo-show-first, todo-show-with-done)
8357 (todo-skip-archived-categories, todo-top-priorities-overrides)
8358 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8359 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8360 New defcustoms.
8361 (todo-category-done, todo-date-pattern, todo-date-string-start)
8362 (todo-diary-items-buffer, todo-done-string-start)
8363 (todo-filtered-items-buffer, todo-item-start)
8364 (todo-month-abbrev-array, todo-month-name-array)
8365 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8366 (todo-top-priorities-buffer): New defconsts.
8367 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8368 (todo-categories-with-marks, todo-category-string-face)
8369 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8370 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8371 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8372 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8373 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8374 (todo-font-lock-keywords, todo-global-current-todo-file)
8375 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8376 (todo-insertion-commands-args)
8377 (todo-insertion-commands-args-genlist)
8378 (todo-insertion-commands-names, todo-insertion-map)
8379 (todo-key-bindings-t, todo-key-bindings-t+a)
8380 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8381 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8382 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8383 (todo-visited): New variables.
8384
8385 2013-06-21 Glenn Morris <rgm@gnu.org>
8386
8387 * play/cookie1.el (cookie-apropos): Add optional display argument.
8388 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8389 (psychoanalyze-pinhead): Use cookie-doctor.
8390
8391 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * emacs-lisp/package.el (tar-get-file-descriptor)
8394 (tar--extract): Declare.
8395
8396 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8397
8398 Extend flymake's warning predicate to be a function (bug#14217).
8399 * progmodes/flymake.el (flymake-warning-predicate): New.
8400 (flymake-parse-line): Use it.
8401 (flymake-warning-re): Make obsolete alias to
8402 `flymake-warning-predicate'.
8403
8404 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8405
8406 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8407 (package-obsolete-list): Remove.
8408 (package-activate): Remove min-version argument. Add `force' argument.
8409 Adjust to new package-alist format.
8410 (package-mark-obsolete): Remove.
8411 (package-unpack): Force reload of the package's autoloads.
8412 (package-installed-p): Check builtins if the installed package is not
8413 recent enough.
8414 (package-initialize): Don't reset package-obsolete-list.
8415 Don't specify which package version to activate.
8416 (package-process-define-package, describe-package-1)
8417 (package-menu--generate): Adjust to new package-alist format.
8418
8419 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * allout-widgets.el (allout-widgets-mode-off)
8422 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8423 (allout-widgets-post-command-business)
8424 (allout-widgets-after-copy-or-kill-function)
8425 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8426 (allout-decorate-item-and-context)
8427 (allout-graphics-modification-handler): Fix typos in docstrings.
8428 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8429
8430 * cmuscheme.el (scheme-start-file): Doc fix.
8431 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8432 (scheme-input-filter): Use `string-match-p'.
8433
8434 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8435
8436 * dired-x.el: Use Dired consistently in docstrings.
8437
8438 * dired.el: Use Dired consistently in docstrings.
8439 (dired-readin, dired-mode): Use `setq-local'.
8440 (dired-switches-alist): Make defvar-local.
8441 (dired-buffers-for-dir): Use `zerop'.
8442 (dired-safe-switches-p, dired-switches-escape-p)
8443 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8444 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8445 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8446 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8447 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8448 (dired-toggle-marks, dired-mark-files-containing-regexp)
8449 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8450 (dired-flag-auto-save-files, dired-flag-backup-files):
8451 Use `looking-at-p'.
8452 (dired-mark-files-regexp, dired-build-subdir-alist):
8453 Use `string-match-p', `looking-at-p'.
8454
8455 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8456 (direct-print-region-helper): Use `string-match-p'.
8457
8458 2013-06-21 Leo Liu <sdl.web@gmail.com>
8459
8460 * comint.el (comint-redirect-results-list-from-process):
8461 Fix infinite loop.
8462
8463 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464
8465 * net/eww.el (eww-update-header-line-format): Quote % characters.
8466
8467 2013-06-21 Glenn Morris <rgm@gnu.org>
8468
8469 * play/cookie1.el (cookie): New custom group.
8470 (cookie-file): New option.
8471 (cookie-check-file): New function.
8472 (cookie): Make it interactive. Make start and end messages optional.
8473 Interactively, display the result. Default to cookie-file.
8474 (cookie-insert): Default to cookie-file.
8475 (cookie-snarf): Make start and end messages optional.
8476 Default to cookie-file. Use with-temp-buffer.
8477 (cookie-read): Rename from read-cookie.
8478 Make start and end messages optional. Default to cookie-file.
8479 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8480 Do not autoload it.
8481 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8482 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8483
8484 2013-06-21 Leo Liu <sdl.web@gmail.com>
8485
8486 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8487
8488 2013-06-21 Glenn Morris <rgm@gnu.org>
8489
8490 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8491
8492 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8493 Daniel Hackney <dan@haxney.org>
8494
8495 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8496 Consolidate the single-file vs tarball code.
8497 (package-desc-suffix): New function.
8498 (package-desc-full-name): Don't bother inlining it.
8499 (package-load-descriptor): Return the new package-desc.
8500 (package-mark-obsolete): Remove unused arg `package'.
8501 (package-unpack): Make it work for single files as well.
8502 Make it update package-alist.
8503 (package--make-autoloads-and-stuff): Rename from
8504 package--make-autoloads-and-compile. Don't compile any more.
8505 (package--compile): New function.
8506 (package-generate-description-file): New function, extracted from
8507 package-unpack-single.
8508 (package-unpack-single): Remove.
8509 (package--with-work-buffer): Add indentation and debugging info.
8510 (package-download-single): Remove.
8511 (package-install-from-archive): Rename from package-download-tar, make
8512 it take a pkg-desc, and make it work for single files as well.
8513 (package-download-transaction): Simplify.
8514 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8515 external tar program.
8516 (package-install-from-buffer): Remove `pkg-desc' argument.
8517 Use package-tar-file-info for tar-mode buffers.
8518 (package-install-file): Simplify accordingly.
8519 (package-archive-base): Change to take a pkg-desc.
8520 * tar-mode.el (tar--check-descriptor): New function, extracted from
8521 tar-get-descriptor.
8522 (tar-get-descriptor): Use it.
8523 (tar-get-file-descriptor): New function.
8524 (tar--extract): New function, extracted from tar-extract.
8525 (tar--extract): Use it.
8526 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8527 case the summary uses non-ascii. Adjust to new calling convention of
8528 package-tar-file-info.
8529
8530 2013-06-21 Leo Liu <sdl.web@gmail.com>
8531
8532 * comint.el (comint-redirect-results-list-from-process):
8533 Fix random delay. (Bug#14681)
8534
8535 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8536
8537 * profiler.el (profiler-format-number): Use log, not log10.
8538
8539 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8540
8541 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8542
8543 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8546 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8547 yet available.
8548 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8549 (AUTOGENEL): ... here.
8550 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8551 (cl--defsubst-expand): Use it.
8552
8553 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8554
8555 * subr.el (log10): Move here from C code, and declare as obsolete.
8556 All uses of (log10 X) replaced with (log X 10).
8557
8558 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8559
8560 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8561 Declare with `defvar-local'.
8562 (tabulated-list-use-header-line, tabulated-list-entries)
8563 (tabulated-list-padding, tabulated-list-printer)
8564 (tabulated-list-sort-key): Declare with `defvar-local'.
8565 (tabulated-list-init-header, tabulated-list-print-fake-header):
8566 Use `setq-local'.
8567
8568 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8569
8570 * arc-mode.el (archive-mode): Add `archive-write-file' to
8571 `write-contents-functions' also for remote files. (Bug#14652)
8572
8573 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8574
8575 * cus-edit.el (custom-commands): Fix typos.
8576 (custom-display): Fix tooltip text.
8577 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8578 Fix typos in docstrings.
8579 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8580 (custom-unlispify-menu-entry, custom-magic-value-create)
8581 (custom-add-see-also, custom-group-value-create): Use ?\s.
8582 (custom-guess-type, customize-apropos, editable-field)
8583 (custom-face-value-create): Use `string-match-p'.
8584 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8585
8586 * custom.el (custom-load-symbol): Use `string-match-p'.
8587
8588 * ansi-color.el: Convert to lexical binding.
8589 (ansi-colors): Fix URL.
8590 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8591 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8592 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8593
8594 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
8596 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8597
8598 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8599
8600 2013-06-19 Tom Tromey <tromey@redhat.com>
8601
8602 * net/eww.el (eww-top-url): Remove.
8603 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8604 (eww-render): Set new variables. Don't set eww-top-url.
8605 (eww-handle-link): Handle "prev", "home", and "contents".
8606 Downcase the rel text.
8607 (eww-top-url): Choose best top URL.
8608
8609 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610
8611 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8612 relying in widget.el. Using widget.el leads to too many
8613 user interface inconsistencies.
8614 (eww-self-insert): Implement entering commands in text fields.
8615 (eww-process-text-input): New function to make text input field editing
8616 work.
8617 (eww-submit): Rewrite to use the new-style form methods.
8618 (eww-select-display): Display the correct selected item.
8619 (eww-change-select): Implement changing the select value.
8620 (eww-toggle-checkbox): Implement radio/checkboxes.
8621 (eww-update-field): Fix compilation error.
8622 (eww-tag-textarea): Implement <textarea>.
8623
8624 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8625 we don't shadow mode-specific bindings.
8626
8627 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8628 nothing to push.
8629
8630 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8631
8632 2013-06-19 Glenn Morris <rgm@gnu.org>
8633
8634 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8635
8636 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8637
8638 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8639 not needed.
8640
8641 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8642
8643 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8644
8645 * net/browse-url.el (browse-url-browser-function):
8646 `eww-browse-url' has the right calling signature, `eww' does not.
8647
8648 2013-06-19 Glenn Morris <rgm@gnu.org>
8649
8650 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8651 Only eval autoloaded macros.
8652 (byte-compile-autoload): Only give the macro warning for macros.
8653
8654 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8655 (ps-underlined-faces): Declare.
8656
8657 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8658 (speedbar-add-supported-extension): Declare.
8659
8660 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8661 Don't include a date stamp in the header of the generated file;
8662 it leads to needless differences between output files.
8663
8664 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8665
8666 * net/secrets.el (secrets-struct-secret-content-type):
8667 Replace check of introspection data by a test call of "CreateItem".
8668 Some servers do not offer introspection.
8669
8670 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8671
8672 * electric.el (electric-pair-mode): Improve interaction with
8673 electric-layout-mode.
8674 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8675 (electric-pair-syntax): Use text-mode-syntax-table in comments
8676 and strings.
8677 (electric-pair--insert): New function.
8678 (electric-pair-post-self-insert-function): Use it and
8679 electric--after-char-pos.
8680
8681 2013-06-19 Leo Liu <sdl.web@gmail.com>
8682
8683 * progmodes/octave.el (octave-help): Fix regexp.
8684
8685 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8686
8687 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8688 (shr-table-horizontal-line): Allow nil as a value, and change the
8689 default.
8690 (shr-insert-table-ruler): Respect the nil value.
8691
8692 2013-06-18 Tom Tromey <tromey@barimba>
8693
8694 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8695 New defvars.
8696 (eww-open-file): New defun.
8697 (eww-render): Initialize new variables.
8698 (eww-display-html): Handle "link" and "a".
8699 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8700 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8701 (eww-back-url): Rename from eww-previous-url.
8702 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8703 New defuns.
8704
8705 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8706
8707 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8708 Distinguish ternary operator tokens from slash symbol and slash
8709 char literal.
8710
8711 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8712
8713 Convert symbol prettification into minor mode and global minor mode.
8714
8715 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8716 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8717 (prettify-symbols--keywords): Rename from
8718 `prog-prettify-symbols-alist' and make a local defvar.
8719 (prettify-symbols--compose-symbol): Rename from
8720 `prog--prettify-font-lock-compose-symbol'.
8721 (prettify-symbols--make-keywords): Rename from
8722 `prog-prettify-font-lock-symbols-keywords' and simplify.
8723 (prog-prettify-install): Remove.
8724 (prettify-symbols-mode): New minor mode, based on
8725 `prog-prettify-install'.
8726 (turn-on-prettify-symbols-mode): New function.
8727 (global-prettify-symbols-mode): New globalized minor mode.
8728
8729 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8730 * progmodes/cfengine.el (cfengine3-mode):
8731 * progmodes/perl-mode.el (perl-mode): Don't call
8732 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8733
8734 2013-06-18 Juri Linkov <juri@jurta.org>
8735
8736 * files-x.el (modify-file-local-variable-message): New function.
8737 (modify-file-local-variable)
8738 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8739 and call `modify-file-local-variable-message' when it's non-nil.
8740 (add-file-local-variable, delete-file-local-variable)
8741 (add-file-local-variable-prop-line)
8742 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8743 and use it. (Bug#9820)
8744
8745 2013-06-18 Juri Linkov <juri@jurta.org>
8746
8747 * emulation/vi.el (vi-shell-op):
8748 * emulation/vip.el (vip-execute-com, ex-command):
8749 * emulation/viper-cmd.el (viper-exec-bang):
8750 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8751 the call of `shell-command-on-region'. (Bug#14637)
8752
8753 * simple.el (shell-command-on-region): Doc fix.
8754
8755 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8756
8757 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8758 (bug#14633).
8759
8760 2013-06-18 Glenn Morris <rgm@gnu.org>
8761
8762 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8763
8764 * newcomment.el (comment-search-forward, comment-search-backward):
8765 Doc fix. (Bug#14376)
8766
8767 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8768
8769 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8770 (buffer-face-mode-invoke): Doc fix.
8771
8772 2013-06-18 Matthias Meulien <orontee@gmail.com>
8773
8774 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8775 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8776
8777 2013-06-18 Glenn Morris <rgm@gnu.org>
8778
8779 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8780 Replace obsolete function generic-make-keywords with its expansion.
8781
8782 * progmodes/python.el (ffap-alist): Declare.
8783
8784 * textmodes/reftex.el (bibtex-mode-map): Declare.
8785
8786 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8789 (package-unpack, package-unpack-single): Return the pkg-dir.
8790 (package-download-transaction): Use it to update package-alist.
8791
8792 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8793
8794 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8795 possible choice.
8796
8797 2013-06-17 Juri Linkov <juri@jurta.org>
8798
8799 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8800
8801 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8802
8803 * emacs-lisp/package.el (package-load-descriptor):
8804 Remove `with-syntax-table' call, `read' doesn't need it.
8805 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8806
8807 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8808
8809 * startup.el (command-line): Expand package name returned by
8810 `package--description-file' (bug#14639).
8811
8812 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8813
8814 * emacs-lisp/package.el (package-load-descriptor): Do not call
8815 `emacs-lisp-mode', just use its syntax table.
8816
8817 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8818
8819 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8820 `font-lock-extra-managed-props' if any prettifying keyword is added.
8821 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8822 (prog-mode): Use `setq-local'.
8823
8824 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * international/characters.el (standard-case-table): Set syntax of ?»
8827 and ?« to punctuation.
8828
8829 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8832 Save relevant match data before calling `syntax-ppss' (bug#14595).
8833
8834 2013-06-15 Juri Linkov <juri@jurta.org>
8835
8836 * files-x.el (modify-file-local-variable-prop-line): Add local
8837 variables to the end of the existing comment on the first line.
8838 Use `file-auto-mode-skip' to skip interpreter magic line,
8839 and also skip XML declaration.
8840
8841 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8842
8843 * startup.el (package--builtin-versions): New var.
8844 (package-subdirectory-regexp): Remove.
8845 (package--description-file): Hard code its value instead.
8846
8847 * emacs-lisp/package.el: Don't activate packages older than builtin.
8848 (package-obsolete-list): Rename from package-obsolete-alist, and make
8849 it into a simple list of package-desc.
8850 (package-strip-version): Remove.
8851 (package-built-in-p): Use package--builtin-versions.
8852 (package-mark-obsolete): Simplify.
8853 (package-process-define-package): Mark it obsolete if older than the
8854 builtin version.
8855 (package-handle-response): Use line-end-position.
8856 (package-read-archive-contents, package--download-one-archive):
8857 Simplify.
8858 (package--add-to-archive-contents): Skip if older than the builtin or
8859 installed version.
8860 (package-menu-describe-package): Fix last change.
8861 (package-list-unversioned): New var.
8862 (package-menu--generate): Use it.
8863
8864 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8865 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8866 (autoload-builtin-package-versions): New variable.
8867 (autoload-generate-file-autoloads): Use them.
8868 Remove the list of autoloaded functions/macros from the
8869 (autoload...) comments.
8870
8871 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8872
8873 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8874
8875 * simple.el (line-move-partial): Don't jump to the next screen
8876 line as soon as it becomes visible. Instead, continue enlarging
8877 the vscroll until the portion of a tall screen line that's left on
8878 display is about the height of the frame's default font.
8879 (Bug#14567)
8880
8881 2013-06-15 Glenn Morris <rgm@gnu.org>
8882
8883 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8884 compilation-error-regexp-alist void, or local while let-bound.
8885
8886 * progmodes/make-mode.el (makefile-mode-syntax-table):
8887 Treat "=" as punctuation. (Bug#14614)
8888
8889 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8890
8891 * help-fns.el (describe-variable):
8892 Add extra line for permanent-local variables.
8893
8894 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8895
8896 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8897 Add export, import, library. (Bug#9164)
8898 (library): Set indent function.
8899
8900 2013-06-14 Glenn Morris <rgm@gnu.org>
8901
8902 * term/xterm.el (xterm--query):
8903 Stop after first matching handler. (Bug#14615)
8904
8905 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8906
8907 Add support for dired in saveplace.
8908 * dired.el (dired-initial-position-hook): New variable.
8909 (dired-initial-position): Call hook to place cursor position.
8910 * saveplace.el (save-place-to-alist): Add dired position.
8911 (save-place-dired-hook): New function.
8912
8913 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8916 through a symbol rather than letrec.
8917
8918 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8919 (package-desc): Add `dir' field.
8920 (package-desc-full-name): New function.
8921 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8922 (package-maybe-load-descriptor): Remove.
8923 (package-load-all-descriptors): Just call package-load-descriptor.
8924 (package--disabled-p): New function.
8925 (package-desc-vers, package-desc-doc): Remove aliases.
8926 (package--dir): Remove function.
8927 (package-activate): Check if a package is disabled.
8928 (package-process-define-package): New function, extracted from
8929 define-package.
8930 (define-package): Turn into a place holder.
8931 (package-unpack-single, package-tar-file-info):
8932 Use package--description-file.
8933 (package-compute-transaction): Use package--disabled-p.
8934 (package-download-transaction): Don't call
8935 package-maybe-load-descriptor since they're all loaded anyway.
8936 (package-install): Change argument to be a pkg-desc.
8937 (package-delete): Use a single pkg-desc argument.
8938 (describe-package-1): Use package-desc-dir instead of package--dir.
8939 Use package-desc property instead of package-symbol.
8940 (package-install-button-action): Adjust accordingly.
8941 (package--push): Rewrite.
8942 (package-menu--print-info): Adjust accordingly. Change the ID format
8943 to be a pkg-desc.
8944 (package-menu-describe-package, package-menu-get-status)
8945 (package-menu--find-upgrades, package-menu-mark-upgrades)
8946 (package-menu-execute, package-menu--name-predicate):
8947 Adjust accordingly.
8948 * startup.el (package--description-file): New function.
8949 (command-line): Use it.
8950 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8951 Use package-desc-version.
8952
8953 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8954 (byte-compile-preprocess): Use it.
8955 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8956 can't quite recognize.
8957 (byte-compile-add-to-list): Remove.
8958 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8959 (cconv-closure-convert): Add assertion.
8960
8961 * emacs-lisp/map-ynp.el: Use lexical-binding.
8962 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8963 Factor out some repeated code.
8964
8965 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * subr.el (with-eval-after-load): New macro.
8968 (eval-after-load): Allow form to be a function.
8969 take advantage of lexical-binding.
8970 (do-after-load-evaluation): Use dolist and adjust to new format.
8971 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8972
8973 2013-06-13 Juri Linkov <juri@jurta.org>
8974
8975 * replace.el (perform-replace): Display "symbol " and other search
8976 modes from `isearch-message-prefix' in the *Help* buffer.
8977
8978 * isearch.el (isearch-query-replace): Add " symbol" and other
8979 possible search modes from `isearch-message-prefix' to the prompt.
8980 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8981 when reading a regexp to collect.
8982
8983 2013-06-13 Juri Linkov <juri@jurta.org>
8984
8985 * isearch.el (word-search-regexp): Match whitespace if the search
8986 string begins or ends in whitespace. The LAX arg is applied to
8987 both ends of the search string. Use `regexp-quote' and explicit
8988 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8989 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8990 boundaries are replaced with symbol boundaries, and characters
8991 between symbols match non-word non-symbol syntax. (Bug#14602)
8992
8993 2013-06-13 Juri Linkov <juri@jurta.org>
8994
8995 * isearch.el (isearch-del-char): Don't exceed the length of
8996 `isearch-string' by the prefix arg. (Bug#14563)
8997
8998 2013-06-13 Juri Linkov <juri@jurta.org>
8999
9000 * isearch.el (isearch-yank-word, isearch-yank-line)
9001 (isearch-char-by-name, isearch-quote-char)
9002 (isearch-printing-char, isearch-process-search-char):
9003 Add optional count prefix arg. (Bug#14563)
9004
9005 * international/isearch-x.el
9006 (isearch-process-search-multibyte-characters):
9007 Add optional count prefix arg.
9008
9009 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9012 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9013 lexical-binding.
9014
9015 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9016
9017 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9018
9019 2013-06-13 Glenn Morris <rgm@gnu.org>
9020
9021 * startup.el (tty-handle-args):
9022 Don't just discard "--" and anything after. (Bug#14608)
9023
9024 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9025
9026 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9027
9028 Implement changes in Secret Service API. Make it backward compatible.
9029 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9030 (secrets-create-item): Use it. Prefix properties with interface.
9031
9032 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9033
9034 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9035 (term-emulate-terminal): Respect term-suppress-hard-newline.
9036
9037 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9038
9039 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9040 Only remove a `thumb-file' overlay. (Bug#14548)
9041
9042 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9043
9044 * mail/reporter.el (reporter-submit-bug-report):
9045 Handle missing package-name. (Bug#14600)
9046
9047 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9048
9049 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9050 (reftex-citation-prompt, reftex-default-bibliography)
9051 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9052 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9053 (reftex-bib-sort-author, reftex-bib-sort-year)
9054 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9055 (reftex-extract-bib-entries-from-thebibliography)
9056 (reftex-get-bibkey-default, reftex-get-bib-names)
9057 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9058 (reftex-format-bib-entry, reftex-parse-bibitem)
9059 (reftex-format-bibitem, reftex-do-citation)
9060 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9061 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9062 (reftex-insert-bib-matches, reftex-format-citation)
9063 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9064 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9065 existing comments into docstrings.
9066
9067 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9068
9069 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9070
9071 2013-06-12 Andreas Schwab <schwab@suse.de>
9072
9073 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9074 for auto-save files.
9075
9076 2013-06-12 Glenn Morris <rgm@gnu.org>
9077
9078 * ido.el (ido-delete-ignored-files): Remove.
9079 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9080 Go back to calling ido-ignore-item-p directly.
9081
9082 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9083
9084 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9085
9086 * ido.el (ido-delete-ignored-files): New function,
9087 split from ido-make-file-list-1.
9088 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9089 (ido-make-file-list-1): Use ido-delete-ignored-files.
9090
9091 2013-06-12 Leo Liu <sdl.web@gmail.com>
9092
9093 * progmodes/octave.el (inferior-octave-startup)
9094 (inferior-octave-completion-table)
9095 (inferior-octave-track-window-width-change)
9096 (octave-eldoc-function-signatures, octave-help)
9097 (octave-find-definition): Use single quoted strings.
9098 (inferior-octave-startup-args): Change default value.
9099 (inferior-octave-startup): Do not hard code "-i" and
9100 "--no-line-editing".
9101 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9102 (inferior-octave-directory-tracker): Use it.
9103 (octave-goto-function-definition): Robustify.
9104 (octave-help): Support highlighting operators in 'See also'.
9105 (octave-find-definition): Find subfunctions only in Octave mode.
9106
9107 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9108
9109 * help-fns.el (help-fns--compiler-macro): If the handler function is
9110 named, then put a link to it.
9111 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9112 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9113 (cl-typep): Use it.
9114 (cl-eval-when): Simplify debug spec.
9115 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9116 compiler-macro function instead of setting `compiler-macro-file'.
9117
9118 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9119
9120 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9121 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9122
9123 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9124 Daniel Hackney <dan@haxney.org>
9125
9126 First part of Daniel Hackney's patch to package.el.
9127 * emacs-lisp/package.el: Use defstruct.
9128 (package-desc): New, main struct.
9129 (package--bi-desc, package--ac-desc): New structs, used to describe the
9130 format in external files.
9131 (package-desc-vers): Replace with package-desc-version accessor.
9132 (package-desc-doc): Replace with package-desc-summary accessor.
9133 (package-activate-1): Remove `package' arg since the pkg-vec now
9134 includes the name.
9135 (define-package): Use package-desc-from-define.
9136 (package-unpack-single): Change file-name arg to be a symbol.
9137 (package--add-to-archive-contents): Use package-desc-create and new
9138 accessor functions to package--ac-desc.
9139 (package-buffer-info, package-tar-file-info): Return a package-desc.
9140 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9141 arg to be a package-desc.
9142 (package-install-file): Adjust accordingly. Use \' to match EOS.
9143 (package--from-builtin): New function.
9144 (describe-package-1, package-menu--generate): Use it.
9145 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9146 (package-generate-autoloads): Idem and return the name of the file.
9147 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9148 Change pkg-info arg to be a package-desc.
9149 Use package-make-ac-desc.
9150 (package-upload-file): Use \' to match EOS.
9151 * finder.el (finder-compile-keywords): Use package-make-builtin.
9152
9153 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * vc/vc.el (vc-deduce-fileset): Change error message.
9156 (vc-read-backend): New function.
9157 (vc-next-action): Use it.
9158
9159 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9160
9161 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9162 (prolog-font-lock-keywords): Use regexp-opt instead.
9163 Don't manually highlight strings.
9164 (prolog-mode-variables): Simplify comment-start-skip.
9165 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9166
9167 * emacs-lisp/generic.el (generic--normalise-comments)
9168 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9169 (generic-mode-set-comments): Use them.
9170 (generic-bracket-support): Use setq-local.
9171 (generic-make-keywords-list): Declare obsolete.
9172
9173 2013-06-11 Glenn Morris <rgm@gnu.org>
9174
9175 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9176 Prettify after setting font-lock-defaults. (Bug#14574)
9177
9178 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9179
9180 * replace.el (query-replace, occur-read-regexp-defaults-function)
9181 (replace-search):
9182 * subr.el (declare-function, number-sequence, local-set-key)
9183 (substitute-key-definition, locate-user-emacs-file)
9184 (with-silent-modifications, split-string, eval-after-load):
9185 Fix typos, remove unneeded backslashes and reflow some docstrings.
9186
9187 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9190 default for Elisp files.
9191
9192 2013-06-11 Glenn Morris <rgm@gnu.org>
9193
9194 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9195 although define-derived-mode was doing this anyway. (Bug#14583)
9196
9197 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9198
9199 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9200 Fix make-variable-buffer-local call to refer to the correct variable.
9201
9202 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9203
9204 * eshell/em-term.el (eshell-visual-commands)
9205 (eshell-visual-subcommands, eshell-visual-options):
9206 Add summary line to docstrings. Add cross-references.
9207
9208 2013-06-10 Glenn Morris <rgm@gnu.org>
9209
9210 * epa.el (epa-read-file-name): New function. (Bug#14510)
9211 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9212
9213 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9214
9215 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9216 output redirection to be ignored with visual commands.
9217
9218 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9219
9220 * eshell/em-term.el (eshell-visual-command-p): New function.
9221 (eshell-term-initialize): Move long lambda to separate function
9222 eshell-visual-command-p.
9223 * eshell/em-dirs.el (eshell-dirs-initialise):
9224 * eshell/em-script.el (eshell-script-initialize):
9225 Add missing #' to lambda.
9226
9227 2013-06-08 Leo Liu <sdl.web@gmail.com>
9228
9229 * progmodes/octave.el (octave-add-log-current-defun): New function.
9230 (octave-mode): Set add-log-current-defun-function.
9231 (octave-goto-function-definition): Do not move point if not found.
9232 (octave-find-definition): Enhance to try subfunctions first.
9233
9234 2013-06-08 Glenn Morris <rgm@gnu.org>
9235
9236 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9237 (byte-compile-backward-char, byte-compile-backward-word):
9238 Improve previous change, to handle non-explicit nil.
9239
9240 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9241
9242 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9243 (smie--opener/closer-at-point): New function.
9244 (smie--matching-block-data): Use it. Don't match from right after an
9245 opener or right before a closer. Obey smie-blink-matching-inners.
9246 Don't signal a mismatch for repeated inners like "switch..case..case".
9247
9248 2013-06-07 Leo Liu <sdl.web@gmail.com>
9249
9250 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9251 to t. (Bug#14303)
9252 (octave-function-header-regexp): Fix. (Bug#14570)
9253 (octave-help-mode-finish-hook, octave-help-mode-finish):
9254 Remove. Just use temp-buffer-show-hook.
9255
9256 * newcomment.el (comment-search-backward): Revert last change.
9257 (Bug#14434)
9258
9259 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9260
9261 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9262
9263 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9264 through xargs, to avoid failure due to MS-Windows limitations on
9265 command-line length.
9266
9267 2013-06-06 Glenn Morris <rgm@gnu.org>
9268
9269 * font-lock.el (lisp-font-lock-keywords-2):
9270 Treat user-error like error.
9271
9272 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9273 (byte-compile-backward-char, byte-compile-backward-word):
9274 Handle explicit nil arguments. (Bug#14565)
9275
9276 2013-06-05 Alan Mackenzie <acm@muc.de>
9277
9278 * isearch.el (isearch-allow-prefix): New user option.
9279 (isearch-other-meta-char): Don't exit isearch when a prefix
9280 argument is typed whilst `isearch-allow-prefix' is non-nil.
9281 (Bug#9706)
9282
9283 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * autorevert.el (auto-revert-notify-handler): Use memq.
9286 Hide assertion failure.
9287
9288 * skeleton.el: Use cl-lib.
9289 (skeleton-further-elements): Use defvar-local.
9290 (skeleton-insert): Use cl-progv.
9291
9292 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9293
9294 * progmodes/prog-mode.el (prog-prettify-symbols)
9295 (prog-prettify-install): Update docstrings.
9296
9297 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * simple.el: Move all the prog-mode code to prog-mode.el.
9300 * progmodes/prog-mode.el: New file.
9301 * loadup.el: Add prog-mode.el.
9302
9303 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9304
9305 * simple.el (prog-prettify-symbols): Add version.
9306 (prog-prettify-install): Add convenience function to prettify symbols.
9307
9308 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9309 (perl--augmented-font-lock-keywords-1)
9310 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9311 variables and use it.
9312
9313 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9314 (cfengine3-mode): Remove unneeded variable and use it.
9315
9316 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9317 (lisp--augmented-font-lock-keywords-1)
9318 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9319 Remove unneeded variables and use it.
9320
9321 2013-06-05 João Távora <joaotavora@gmail.com>
9322
9323 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9324 to point when opening the connection. (Bug#14380)
9325
9326 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * subr.el (load-history-regexp, load-history-filename-element)
9329 (eval-after-load, after-load-functions, do-after-load-evaluation)
9330 (eval-next-after-load, display-delayed-warnings)
9331 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9332 definition of save-match-data.
9333 (overriding-local-map): Remove accidental obsolescence declaration.
9334
9335 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9336
9337 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9338
9339 Generalize symbol prettify support to prog-mode and implement it
9340 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9341 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9342 (prog--prettify-font-lock-compose-symbol)
9343 (prog-prettify-font-lock-symbols-keywords): New variables and
9344 functions to support symbol prettification.
9345 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9346 (lisp--augmented-font-lock-keywords-1)
9347 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9348 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9349 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9350 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9351 Implement prettify of -> => :: strings.
9352 * progmodes/perl-mode.el (perl-prettify-symbols)
9353 (perl--font-lock-compose-symbol)
9354 (perl--font-lock-symbols-keywords): Move to prog-mode.
9355 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9356 (perl-font-lock-keywords-1)
9357 (perl-font-lock-keywords-2): Remove explicit prettify support.
9358 (perl--augmented-font-lock-keywords)
9359 (perl--augmented-font-lock-keywords-1)
9360 (perl--augmented-font-lock-keywords-2, perl-mode):
9361 Implement prettify support.
9362
9363 2013-06-05 Leo Liu <sdl.web@gmail.com>
9364
9365 Re-implement smie matching block highlight using
9366 show-paren-data-function. (Bug#14395)
9367 * emacs-lisp/smie.el (smie-matching-block-highlight)
9368 (smie--highlight-matching-block-overlay)
9369 (smie--highlight-matching-block-lastpos)
9370 (smie-highlight-matching-block)
9371 (smie-highlight-matching-block-mode): Remove.
9372 (smie--matching-block-data-cache): New variable.
9373 (smie--matching-block-data): New function.
9374 (smie-setup): Use smie--matching-block-data for
9375 show-paren-data-function.
9376
9377 * progmodes/octave.el (octave-mode-menu): Fix.
9378 (octave-find-definition): Skip garbage lines.
9379
9380 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 Fix compilation error with simultaneous dynamic+lexical scoping.
9383 Add warning when a defvar appears after the first let-binding.
9384 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9385 (byte-compile-close-variables): Initialize it.
9386 (byte-compile--declare-var): New function.
9387 (byte-compile-file-form-defvar)
9388 (byte-compile-file-form-define-abbrev-table)
9389 (byte-compile-file-form-custom-declare-variable): Use it.
9390 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9391 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9392 (byte-compile-bind): Handle dynamic bindings that shadow
9393 lexical bindings.
9394 (byte-compile-unbind): Make arg non-optional.
9395 (byte-compile-let): Simplify.
9396 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9397 (cconv--analyse-function, cconv-analyse-form): Populate it.
9398 Protect byte-compile-bound-variables to limit the scope of defvars.
9399 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9400 Remove unneeded rule for `declare'.
9401
9402 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9403 so as to avoid depending on cl-adjoin at run-time.
9404 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9405
9406 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9407 (macroexp--warn-and-return): Use it.
9408
9409 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 * subr.el: Convert to lexical binding.
9412 (overriding-local-map): Make obsolete.
9413 (add-to-list): Doc fix. Add compiler macro.
9414 (read-key): Swap values of local maps.
9415
9416 2013-06-05 Leo Liu <sdl.web@gmail.com>
9417
9418 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9419
9420 2013-06-04 Leo Liu <sdl.web@gmail.com>
9421
9422 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9423 (compilation-auto-jump): Suppress the "Mark set" message to give
9424 way to exit message.
9425
9426 2013-06-04 Alan Mackenzie <acm@muc.de>
9427
9428 Remove faulty optimisation from indentation calculation.
9429 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9430 search limit based on 2000 characters back from indent-point.
9431
9432 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9433
9434 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9435
9436 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9437
9438 * emacs-lisp/lisp.el: Use lexical-binding.
9439 (lisp--local-variables-1, lisp--local-variables): New functions.
9440 (lisp--local-variables-completion-table): New var.
9441 (lisp-completion-at-point): Use it complete let-bound vars.
9442
9443 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9444 eagerly (bug#14422).
9445
9446 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * autorevert.el (auto-revert-notify-enabled)
9449 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9450 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9451 (auto-revert-notify-handler): Handle also gfilenotify.
9452
9453 * subr.el (file-notify-handle-event): New defun. Replacing ...
9454 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9455 Remove.
9456
9457 2013-06-03 Juri Linkov <juri@jurta.org>
9458
9459 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9460 `M-s h .'. (Bug#14427)
9461
9462 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9463 command `hi-lock-face-symbol-at-point'.
9464 (hi-lock-face-symbol-at-point): New command.
9465 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9466 (hi-lock-menu): Add `highlight-symbol-at-point'.
9467 (hi-lock-mode): Doc fix.
9468
9469 * isearch.el (isearch-forward-symbol-at-point): New command.
9470 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9471 (isearch-highlight-regexp): Add a regexp which matches
9472 words/symbols for word/symbol mode.
9473
9474 * subr.el (find-tag-default-bounds): New function with the body
9475 mostly moved from `find-tag-default'.
9476 (find-tag-default): Move most code to `find-tag-default-bounds',
9477 call it and apply `buffer-substring-no-properties' afterwards.
9478
9479 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9480
9481 * eshell/em-term.el (eshell-term-initialize):
9482 Use `cl-intersection' rather than `intersection'.
9483
9484 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9485
9486 * vc/log-view.el: Doc fix.
9487 (log-view-mode-map): Copy keymap from `special-mode-map'.
9488
9489 2013-06-02 Eric Ludlam <zappo@gnu.org>
9490
9491 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9492 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9493 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9494 (eieio-unbound, eieio-default-superclass)
9495 (eieio--define-field-accessors, method-static, method-before)
9496 (method-primary, method-after, method-num-lists)
9497 (method-generic-before, method-generic-primary)
9498 (method-generic-after, method-num-slots)
9499 (eieio-specialized-key-to-generic-key)
9500 (eieio--check-type, class-v, class-p)
9501 (eieio-class-name, define-obsolete-function-alias)
9502 (eieio-class-parents-fast, eieio-class-children-fast)
9503 (same-class-fast-p, class-constructor, generic-p)
9504 (generic-primary-only-p, generic-primary-only-one-p)
9505 (class-option-assoc, class-option, eieio-object-p)
9506 (class-abstract-p, class-method-invocation-order)
9507 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9508 (eieio-class-un-autoload, eieio-defclass)
9509 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9510 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9511 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9512 (eieio-defgeneric-reset-generic-form)
9513 (eieio-defgeneric-form-primary-only)
9514 (eieio-defgeneric-reset-generic-form-primary-only)
9515 (eieio-defgeneric-form-primary-only-one)
9516 (eieio-defgeneric-reset-generic-form-primary-only-one)
9517 (eieio-unbind-method-implementations)
9518 (eieio--defmethod, eieio--typep)
9519 (eieio-perform-slot-validation, eieio-validate-slot-value)
9520 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9521 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9522 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9523 (eieio-slot-name-index, eieio-class-slot-name-index)
9524 (eieio-set-defaults, eieio-initarg-to-attribute)
9525 (eieio-attribute-to-initarg, eieio-c3-candidate)
9526 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9527 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9528 (eieio-class-precedence-list, eieio-generic-call-methodname)
9529 (eieio-generic-call-arglst, eieio-generic-call-key)
9530 (eieio-generic-call-next-method-list)
9531 (eieio-pre-method-execution-functions, eieio-generic-call)
9532 (eieio-generic-call-primary-only, eieiomt-method-list)
9533 (eieiomt-optimizing-obarray, eieiomt-install)
9534 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9535 (eieio-generic-form, eieio-defmethod, make-obsolete)
9536 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9537 (defclass): Remove `eval-and-compile' from macro.
9538 (call-next-method, shared-initialize): Instead of using
9539 `scoped-class' variable, use new eieio--scoped-class, and
9540 eieio--with-scoped-class.
9541 (initialize-instance): Rename local variable 'scoped-class' to
9542 'this-class' to remove ambiguitity from old global.
9543
9544 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9545 eieio.el.
9546 (eieio--scoped-class-stack): New variable.
9547 (eieio--scoped-class): New fcn.
9548 (eieio--with-scoped-class): New scoping macro.
9549 (eieio-defclass): Use pushnew instead of add-to-list.
9550 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9551 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9552 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9553 `scoped-class' variable, use new eieio--scoped-class, and
9554 eieio--with-scoped-class.
9555
9556 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9557
9558 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9559
9560 * eshell/esh-ext.el (eshell-external-command): Pass args to
9561 `eshell-find-interpreter'.
9562 (eshell-find-interpreter): Add new second parameter ARGS.
9563
9564 * eshell/em-script.el (eshell-script-initialize): Add second arg
9565 to the function added as MATCH to `eshell-interpreter-alist'.
9566
9567 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9568 the function added as MATCH to `eshell-interpreter-alist'.
9569
9570 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9571 (eshell-visual-options): New defcustom.
9572 (eshell-escape-control-x): Adapt docstring.
9573 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9574 `eshell-visual-options' in addition to `eshell-visual-commands'.
9575 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9576
9577 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9578
9579 * progmodes/python.el (python-indent-block-enders): Add break,
9580 continue and raise keywords.
9581
9582 2013-06-01 Glenn Morris <rgm@gnu.org>
9583
9584 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9585
9586 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9587 * progmodes/cc-cmds.el (delete-forward-p):
9588 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9589 * progmodes/cc-engine.el (buffer-syntactic-context):
9590 * progmodes/cc-fonts.el (face-property-instance):
9591 * progmodes/cc-mode.el (set-keymap-parents):
9592 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9593 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9594 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9595 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9596 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9597
9598 * progmodes/cc-vars.el (other): Emacs has this widget since
9599 at least 21.1, so don't (re)define it.
9600
9601 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9602 Replace the obsolete alias pcomplete-arg-quote-list.
9603
9604 2013-06-01 Leo Liu <sdl.web@gmail.com>
9605
9606 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9607 punctuation syntax.
9608 (inferior-octave-minimal-columns)
9609 (inferior-octave-last-column-width): New variables.
9610 (inferior-octave-track-window-width-change): New function.
9611 (inferior-octave-mode): Adjust column width so that Octave output,
9612 for example from 'ls', can fit into the window nicely.
9613
9614 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9615
9616 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9617 Highlight expansions inside regexp literals.
9618
9619 2013-05-31 Glenn Morris <rgm@gnu.org>
9620
9621 * obsolete/sym-comp.el (symbol-complete):
9622 Replace obsolete completion-annotate-function.
9623
9624 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9625
9626 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9627
9628 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9629 New function, checks if point is inside a literal that allows
9630 expression expansion.
9631 (ruby-syntax-propertize-expansion): Use it.
9632 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9633 around the body.
9634
9635 2013-05-30 Juri Linkov <juri@jurta.org>
9636
9637 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9638 to "\M-si".
9639 (isearch-invisible): New variable.
9640 (isearch-forward): Doc fix.
9641 (isearch-mode): Set `isearch-invisible'
9642 to the value of `search-invisible'.
9643 (isearch-toggle-case-fold): Doc fix.
9644 (isearch-toggle-invisible): New command.
9645 (isearch-query-replace): Let-bind `search-invisible'
9646 to the value of `isearch-invisible'.
9647 (isearch-search): Use `isearch-invisible' instead of
9648 `search-invisible'. Let-bind `search-invisible'
9649 to the value of `isearch-invisible'. (Bug#11378)
9650
9651 2013-05-30 Juri Linkov <juri@jurta.org>
9652
9653 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9654 call when `query-flag' is nil and `search-invisible' is non-nil.
9655 (Bug#11746)
9656
9657 2013-05-30 Glenn Morris <rgm@gnu.org>
9658
9659 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9660
9661 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9662 (cc-require): Suppress spurious "noruntime" warnings.
9663 (cc-require-when-compile): Use fboundp, for sake of compiler.
9664
9665 * progmodes/cc-mode.el: Move load of cc-vars before that of
9666 cc-langs (which in turn loads cc-vars), to quieten compiler.
9667
9668 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * paren.el: Simplify the code.
9671 (show-paren-mode): Always start the timer.
9672 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9673 (show-paren--overlay, show-paren--overlay-1): Rename from
9674 show-paren-overlay and show-paren-overlay-1, and initialize to an
9675 overlay rather than to nil.
9676 (show-paren-function): Misc cleanup and simplifications.
9677
9678 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * paren.el (show-paren-data-function): New hook.
9681 (show-paren--default): New function, extracted from show-paren-function.
9682 (show-paren-function): Use show-paren-data-function.
9683
9684 2013-05-30 Glenn Morris <rgm@gnu.org>
9685
9686 * ielm.el (ielm-map, ielm-complete-symbol):
9687 Use completion-at-point rather than obsolete functions.
9688 (inferior-emacs-lisp-mode): Doc fix.
9689 Set completion-at-point-functions, rather than
9690 comint-dynamic-complete-functions.
9691
9692 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9693 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9694 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9695
9696 * image.el (image-animated-p): Tweak definition.
9697
9698 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9699 (rlogin-process-connection-type): Tweak default. Add set-after.
9700 (rlogin-host): Doc fix.
9701 (rlogin): Tweak prompt.
9702 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9703
9704 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9705 * progmodes/tcl.el (inferior-tcl-mode-map):
9706 Use completion-at-point rather than obsolete alias.
9707
9708 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9709
9710 * minibuffer.el (read-file-name-completion-ignore-case):
9711 Move before completion--in-region, for eager macro expansion.
9712
9713 2013-05-29 Juri Linkov <juri@jurta.org>
9714
9715 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9716 for total count of matching lines. Add `global-matches' for total
9717 count of matches. Rename `matches' to `lines' for count of
9718 matching lines. Add `matches' for count of matches.
9719 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9720 to `prev-line' for line number of prev match endpt.
9721 Increment `matches' for every match. Print the number of
9722 matching lines in the header.
9723 (occur-context-lines): Rename `lines' to `curr-line'.
9724 Rename `prev-lines' to `prev-line'. (Bug#14017)
9725
9726 2013-05-29 Juri Linkov <juri@jurta.org>
9727
9728 * replace.el (perform-replace): Add `skip-read-only-count',
9729 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9730 Increment them for corresponding conditions and report the number
9731 of skipped occurrences in the final message. (Bug#11746)
9732 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9733 (replace-string, replace-regexp): Doc fix.
9734
9735 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9738
9739 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9740 prog-mode-map (bug#14504).
9741
9742 2013-05-29 Leo Liu <sdl.web@gmail.com>
9743
9744 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9745 (octave-help): Small simplification.
9746
9747 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9748 off the highlight first.
9749
9750 2013-05-29 Glenn Morris <rgm@gnu.org>
9751
9752 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9753 Handle idlwave-last-system-routine-info-cons-cell being nil.
9754
9755 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9756 (idlwave-write-paths): Simplify via with-temp-buffer.
9757
9758 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9759 * emulation/cua-rect.el: Also load cua-base at run time.
9760
9761 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9762 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9763 (cperl-imenu-on-info): Require imenu.
9764
9765 2013-05-28 Alan Mackenzie <acm@muc.de>
9766
9767 Handle "capitalised keywords" correctly.
9768 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9769
9770 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9771
9772 * eshell/em-unix.el: Add -r option to cp.
9773
9774 2013-05-28 Glenn Morris <rgm@gnu.org>
9775
9776 * vc/vc-arch.el (vc-exec-after): Declare.
9777 (vc-switches): Autoload.
9778 * vc/vc-bzr.el: No need to require vc when compiling.
9779 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9780 (vc-resynch-buffer, vc-dir-refresh): Declare.
9781 (vc-setup-buffer, vc-switches): Autoload.
9782 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9783 (vc-resynch-buffer): Declare.
9784 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9785 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9786 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9787 (grep-read-regexp, grep-read-files, grep-expand-template)
9788 (vc-dir-refresh): Declare.
9789 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9790 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9791 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9792 * vc/vc-mtn.el (vc-exec-after): Declare.
9793 (vc-switches): Autoload.
9794 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9795 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9796 (vc-file-tree-walk): Declare.
9797 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9798 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9799 (vc-tag-precondition, vc-rename-master): Autoload.
9800 * vc/vc-svn.el (vc-exec-after): Declare.
9801 (vc-switches, vc-setup-buffer): Autoload.
9802 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9803 Autoload.
9804 (vc-resynch-buffer): Declare.
9805
9806 * obsolete/fast-lock.el (byte-compile-warnings):
9807 Don't warn about obsolete features in this obsolete file.
9808
9809 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9810 Move definition before use.
9811
9812 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9813 (dun-unix-verbs): Remove dun-zippy.
9814 (dun-zippy): Remove function.
9815
9816 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9817
9818 2013-05-27 Juri Linkov <juri@jurta.org>
9819
9820 * replace.el (replace-search): New function with code moved out
9821 from `perform-replace'.
9822 (replace-highlight, replace-dehighlight): Move function definitions
9823 up closer to `replace-search'. (Bug#11746)
9824
9825 2013-05-27 Juri Linkov <juri@jurta.org>
9826
9827 * replace.el (perform-replace): Ignore invisible matches.
9828 In addition to checking `query-replace-skip-read-only', also
9829 filter out matches by calling `run-hook-with-args-until-failure'
9830 on `isearch-filter-predicates', and also check `search-invisible'
9831 for t or call `isearch-range-invisible'.
9832 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9833
9834 2013-05-27 Juri Linkov <juri@jurta.org>
9835
9836 * isearch.el (isearch-filter-predicates): Rename from
9837 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9838 (isearch-message-prefix): Display text from the property
9839 `isearch-message-prefix' of the currently active filters.
9840 (isearch-search): Don't compare `isearch-filter-predicate' with
9841 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9842 on `isearch-filter-predicates'. Also check `search-invisible' for t
9843 or call `isearch-range-invisible'.
9844 (isearch-filter-visible): Make obsolete.
9845 (isearch-lazy-highlight-search):
9846 Call `run-hook-with-args-until-failure' on
9847 `isearch-filter-predicates' and use `isearch-range-invisible'.
9848
9849 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9850 `isearch-filter-predicates' instead of `funcall'ing
9851 `isearch-filter-predicate'.
9852 (Info-mode): Set `Info-isearch-filter' to
9853 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9854
9855 * dired-aux.el (dired-isearch-filter-predicate-orig):
9856 Remove variable.
9857 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9858 (dired-isearch-filenames-end): Add and remove
9859 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9860 instead of changing the value of `isearch-filter-predicate'.
9861 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9862 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9863 Put property `isearch-message-prefix' to "filename " on
9864 `dired-isearch-filter-filenames'.
9865
9866 * wdired.el (wdired-change-to-wdired-mode):
9867 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9868 locally instead of changing `isearch-filter-predicate'.
9869 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9870
9871 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9872
9873 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9874 return the commit hash (Bug#14459). Also set the
9875 `vc-git-detached' property.
9876 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9877 (vc-git-mode-line-string): Use the same help-echo format whether
9878 in detached mode or not, because we know the actual revision now.
9879 When in detached mode, shorten the revision to 7 chars.
9880
9881 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9882
9883 * emacs-lisp/easy-mmode.el (define-minor-mode):
9884 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9885 mode hook and provide a docstring.
9886
9887 2013-05-27 Alan Mackenzie <acm@muc.de>
9888
9889 Remove spurious syntax-table text properties inserted by C-y.
9890 * progmodes/cc-mode.el (c-after-change): Also clear hard
9891 syntax-table property with value nil.
9892
9893 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9894
9895 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9896 when reading the events; the buffer layout shall not be changed.
9897
9898 2013-05-27 Leo Liu <sdl.web@gmail.com>
9899
9900 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9901 New variable.
9902 (inferior-octave-directory-tracker): Automatically re-sync
9903 default-directory.
9904 (octave-help): Improve handling of 'See also'.
9905
9906 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * doc-view.el: Minor naming convention tweaks.
9909 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9910
9911 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9912 even if there's no `display' property yet (bug#14435).
9913
9914 2013-05-25 Eli Zaretskii <eliz@gnu.org>
9915
9916 * subr.el (unmsys--file-name): Rename from reveal-filename.
9917
9918 * Makefile.in (custom-deps, finder-data, autoloads)
9919 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9920 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9921 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9922
9923 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9924
9925 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9926 error-completion on the first 2 args of condition-case (bug#14446).
9927 Don't burp at EOB.
9928
9929 2013-05-25 Leo Liu <sdl.web@gmail.com>
9930
9931 * comint.el (comint-previous-matching-input): Do not flood the
9932 *Messages* buffer with trivial messages.
9933
9934 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9935
9936 * progmodes/flymake.el (flymake-nop): Don't return a string.
9937 (flymake-set-at): Fix typo.
9938
9939 * simple.el (read--expression): New function, extracted from
9940 eval-expression. Set completion-at-point-functions (bug#14465).
9941 (eval-expression, eval-minibuffer): Use it.
9942
9943 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9944
9945 * progmodes/flymake.el (flymake-save-buffer-in-file)
9946 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9947 (flymake-selected-frame, flymake-log, flymake-ins-after)
9948 (flymake-set-at, flymake-get-buildfile-from-cache)
9949 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9950 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9951 Refine the doc string.
9952 (flymake-get-file-name-mode-and-masks): Reformat.
9953 (flymake-get-real-file-name-function): Fix a minor bug.
9954
9955 2013-05-24 Juri Linkov <juri@jurta.org>
9956
9957 * progmodes/grep.el (grep-mode-font-lock-keywords):
9958 Support =linenumber= format used by git-grep for lines with
9959 function names. (Bug#13549)
9960
9961 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9962
9963 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9964 0 after a semi-colon; it works better for smie-auto-fill.
9965 (octave--indent-new-comment-line): New function.
9966 (octave-indent-new-comment-line): Use it (indirectly).
9967 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9968 modify comment-line-break-function.
9969
9970 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9971 (smie-setup): Use add-function to set it.
9972
9973 2013-05-24 Sam Steingold <sds@gnu.org>
9974
9975 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9976 argument (before the `interactive' argument).
9977
9978 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * image-mode.el (image-mode-winprops): Add winprops to
9981 image-mode-winprops-alist before running
9982 image-mode-new-window-functions.
9983 * doc-view.el (doc-view-new-window-function): Don't delay
9984 doc-view-goto-page via timers (bug#14435).
9985
9986 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9987
9988 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9989 (doc-view-desktop-save-buffer): New function.
9990 (doc-view-restore-desktop-buffer): New function.
9991 (desktop-buffer-mode-handlers):
9992 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9993 handler.
9994 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9995 `desktop-save-buffer' function.
9996
9997 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9998
9999 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10000 (tramp-gvfs-file-name-handler): Raise a user error when
10001 `tramp-gvfs-enabled' is nil.
10002 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10003 Do not raise a user error when loading package. (Bug#14447)
10004
10005 * net/xesam.el: Move to obsolete/.
10006
10007 2013-05-24 Glenn Morris <rgm@gnu.org>
10008
10009 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10010
10011 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10012
10013 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10014 (Info-find-node, Man-getpage-in-background): Declare.
10015
10016 * mail/unrmail.el (unrmail):
10017 Replace obsolete detect-coding-with-priority.
10018
10019 * net/socks.el (socks-split-string): Use this rather than split-string.
10020 (socks-nslookup-host): Update for above change.
10021 (dynamic-choice, s5-dynamic-choice-match)
10022 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10023 Comment out unused code.
10024
10025 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10026 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10027 (gud-tooltip-echo-area): Make obsolete.
10028 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10029
10030 * progmodes/js.el (js--optimize-arglist): Declare.
10031
10032 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10033
10034 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10035 (ediff-window-C): Declare.
10036
10037 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10038 Tweak requires to silence compiler.
10039
10040 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10041 (he-search-string, he-tried-table, he-expand-list)
10042 (he-init-string, he-string-member, he-substitute-string)
10043 (he-reset-string): Declare.
10044
10045 * obsolete/options.el (list-options): Use custom-variable-p,
10046 rather than obsolete alias.
10047
10048 2013-05-23 Sam Steingold <sds@gnu.org>
10049
10050 * simple.el (shell-command-on-region): Pass the `replace' argument
10051 down to `call-process-region' to comply with the doc as reported on
10052 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10053
10054 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10055
10056 * emacs-lisp/smie.el (smie-indent-forward-token)
10057 (smie-indent-backward-token): Handle string tokens (bug#14381).
10058
10059 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10060
10061 * ielm.el (ielm-menu): New menu.
10062 (inferior-emacs-lisp-mode): Set comment-start.
10063
10064 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10065
10066 * textmodes/reftex.el (reftex-ref-style-toggle):
10067 Fix deactivate action.
10068
10069 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10070 Add cleveref macros.
10071
10072 * textmodes/reftex-parse.el
10073 (reftex-locate-bibliography-files): Accept options for
10074 bibliography commands.
10075 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10076 Add addbibresource. Basic Biblatex support.
10077
10078 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10079
10080 * net/tramp-gvfs.el (top):
10081 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10082 when loading package. (Bug#14447)
10083
10084 2013-05-23 Glenn Morris <rgm@gnu.org>
10085
10086 * progmodes/js.el: No need to load comint when compiling.
10087 (ring-insert, comint-send-string, comint-send-input)
10088 (comint-last-input-end, ido-chop): Declare.
10089
10090 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10091 * vc/ediff-mult.el: Adjust requires.
10092 (ediff-directories-internal, ediff-directory-revisions-internal)
10093 (ediff-patch-file-internal): Declare.
10094 * vc/ediff-ptch.el: Adjust requires.
10095 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10096 (ediff-find-file): Autoload.
10097 * vc/ediff-util.el: No need to load ediff when compiling.
10098 (ediff-regions-internal): Declare.
10099 * vc/ediff-wind.el: Adjust requires.
10100 (ediff-compute-toolbar-width): Define when compiling.
10101 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10102 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10103 (dired-get-filename, dired-get-marked-files)
10104 (ediff-last-dir-patch, ediff-patch-default-directory)
10105 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10106 (ediff-patch-buffer-internal): Declare.
10107
10108 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10109 (ispell-process, ispell-buffer-local-words, lm-summary)
10110 (lm-section-start, lm-section-end): Declare.
10111 (checkdoc-ispell-init): Simplify.
10112
10113 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10114 (he-string-member, he-reset-string, he-substitute-string): Declare.
10115
10116 * eshell/em-ls.el: Adjust requires.
10117 (eshell-glob-regexp): Declare.
10118 * eshell/em-tramp.el: Adjust requires.
10119 (eshell-parse-command): Autoload.
10120 * eshell/em-xtra.el: Adjust requires.
10121 (eshell-parse-command): Autoload.
10122 * eshell/esh-ext.el: Adjust requires.
10123 (eshell-parse-command, eshell-close-handles): Autoload.
10124 * eshell/esh-io.el: Adjust requires.
10125 (eshell-output-filter): Autoload.
10126 * eshell/esh-util.el: No need to load tramp when compiling.
10127 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10128 Declare.
10129 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10130 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10131 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10132 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10133 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10134 * eshell/esh-opt.el, eshell/esh-proc.el:
10135 * eshell/esh-var.el: Adjust requires.
10136 * eshell/eshell.el: Do not require esh-util twice.
10137 (eshell-add-input-to-history): Declare.
10138 (eshell-command): Check history module is active before using it.
10139
10140 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10141
10142 2013-05-22 Leo Liu <sdl.web@gmail.com>
10143
10144 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10145
10146 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * autorevert.el (auto-revert-notify-add-watch)
10149 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10150 it indicates changes in file modification time.
10151
10152 2013-05-22 Glenn Morris <rgm@gnu.org>
10153
10154 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10155 Always delete the autoloaded function from the noruntime and
10156 unresolved functions lists.
10157
10158 * allout.el: No need to load epa, epg, overlay when compiling.
10159 (epg-context-set-passphrase-callback, epg-list-keys)
10160 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10161 (epg-key-user-id-list): Declare.
10162
10163 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10164 (viper-set-parsing-style-toggling-macro)
10165 (viper-set-emacs-state-searchstyle-macros):
10166 Use called-interactively-p on Emacs.
10167 (viper-looking-back): Make it an obsolete alias. Update callers.
10168 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10169 Use looking-back rather than viper-looking-back.
10170 (viper-tmp-insert-at-eob, viper-enlarge-region)
10171 (viper-read-string-with-history, viper-register-to-point)
10172 (viper-append-to-register, viper-change-state-to-vi)
10173 (viper-backward-char-carefully, viper-forward-char-carefully)
10174 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10175 (viper-change-state-to-emacs): Declare.
10176 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10177 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10178 * emulation/viper-mous.el: Do not load viper-cmd.
10179 (viper-backward-char-carefully, viper-forward-char-carefully)
10180 (viper-forward-word, viper-adjust-window): Declare.
10181
10182 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10183
10184 * progmodes/idlw-help.el (idlwave-help-fontify):
10185 Use called-interactively-p.
10186
10187 * term/w32console.el (w32-get-console-codepage)
10188 (w32-get-console-output-codepage): Declare.
10189
10190 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10191 Remove unnecessary declarations.
10192 (dframe-message): Doc fix.
10193
10194 * info.el (dframe-select-attached-frame, dframe-current-frame):
10195 Declare.
10196
10197 * speedbar.el (speedbar-message): Make it an obsolete alias.
10198 Update all callers.
10199 (speedbar-with-attached-buffer)
10200 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10201 (speedbar-with-writable): Use backquote.
10202 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10203 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10204 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10205 rather than speedbar- aliases.
10206 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10207 (speedbar-make-specialized-keymap, speedbar-insert-button)
10208 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10209 (speedbar-do-function-pointer): Declare.
10210 (rmail-speedbar-button, rmail-speedbar-find-file)
10211 (rmail-speedbar-move-message):
10212 Use dframe-with-attached-buffer rather than speedbar- alias.
10213 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10214 (dframe-message, speedbar-make-specialized-keymap)
10215 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10216 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10217 (speedbar-insert-button, dframe-select-attached-frame)
10218 (dframe-maybee-jump-to-attached-frame)
10219 (speedbar-change-initial-expansion-list)
10220 (speedbar-previously-used-expansion-list-name): Declare.
10221 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10222 Use dframe-message, dframe-with-attached-buffer rather than
10223 speedbar- aliases.
10224 (gud-sentinel): Silence compiler.
10225 * progmodes/vhdl-mode.el (speedbar-refresh)
10226 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10227 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10228 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10229 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10230 (speedbar-file-lists, speedbar-make-tag-line)
10231 (speedbar-line-directory, speedbar-goto-this-file)
10232 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10233 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10234 (speedbar-make-button, speedbar-reset-scanners)
10235 (speedbar-files-item-info, speedbar-line-text)
10236 (speedbar-find-file-in-frame, speedbar-set-timer)
10237 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10238 (speedbar-with-writable): Do not (re)define it.
10239 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10240 rather than speedbar- alias.
10241
10242 2013-05-21 Leo Liu <sdl.web@gmail.com>
10243
10244 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10245 menu items.
10246 (octave-mode): Tweak fill-nobreak-predicate.
10247 (inferior-octave-startup): Check process to avoid infinite loop.
10248 (inferior-octave): Pop to buffer first to show abornmal process
10249 exit information.
10250
10251 2013-05-21 Glenn Morris <rgm@gnu.org>
10252
10253 * printing.el (pr-menu-bar): Define when compiling.
10254
10255 2013-05-21 Leo Liu <sdl.web@gmail.com>
10256
10257 * progmodes/octave.el (octave-auto-fill): Remove.
10258 (octave-indent-new-comment-line): Improve.
10259 (octave-mode): Use auto fill mode through
10260 comment-line-break-function and fill-nobreak-predicate.
10261 (octave-goto-function-definition): Support DEFUN_DLD.
10262 (octave-beginning-of-defun): Small tweak.
10263 (octave-help): Show parent directory.
10264
10265 2013-05-21 Glenn Morris <rgm@gnu.org>
10266
10267 * files.el (dired-unmark):
10268 * progmodes/gud.el (gdb-input): Update declarations.
10269
10270 * calculator.el (electric, ehelp): No need to load when compiling.
10271 (Electric-command-loop, electric-describe-mode): Declare.
10272
10273 * doc-view.el (doc-view-current-converter-processes): Move before use.
10274
10275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10276 Move MODE-set-explicitly definition before use.
10277
10278 * international/mule-diag.el (mule-diag):
10279 Don't use obsolete window-system-version.
10280
10281 * mail/feedmail.el (smtpmail): No need to load when compiling.
10282 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10283
10284 * mail/mail-utils.el (rfc822): No need to load when compiling.
10285 (rfc822-addresses): Autoload it.
10286 (mail-strip-quoted-names): Trivial simplification.
10287
10288 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10289 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10290
10291 * net/snmp-mode.el (tempo): Don't duplicate requires.
10292
10293 * progmodes/prolog.el (info): No need to load when compiling.
10294 (comint): Require before shell requires it.
10295 (Info-goto-node): Autoload it.
10296 (Info-follow-nearest-node): Declare.
10297 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10298
10299 * textmodes/artist.el (picture-mode-exit): Declare.
10300
10301 * textmodes/reftex-parse.el (reftex-parse-from-file):
10302 Trivial rewrite so the compiler can parse it better.
10303
10304 2013-05-20 Leo Liu <sdl.web@gmail.com>
10305
10306 * progmodes/octave.el (octave-help-mode-map)
10307 (octave-help-mode-finish-hook): New variables.
10308 (octave-help-mode, octave-help-mode-finish): New functions.
10309 (octave-help): Use octave-help-mode.
10310
10311 2013-05-20 Glenn Morris <rgm@gnu.org>
10312
10313 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10314
10315 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10316
10317 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10318 start at point, so that expansion starting right after opening
10319 slash in a regexp is recognized.
10320 (ruby-syntax-before-regexp-re): New defvar, extracted from
10321 ruby-syntax-propertize-function. Since the value of this regexp
10322 is looked up at runtime now, we should be able to turn
10323 `ruby-syntax-methods-before-regexp' into a defcustom later.
10324 (ruby-syntax-propertize-function): Split regexp matching into two
10325 parts, for opening and closing slashes. That allows us to skip
10326 over string interpolations and support multiline regexps.
10327 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10328 for them, which calls `ruby-syntax-propertize-expansion'.
10329 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10330 call to `ruby-syntax-propertize-function'.
10331 (ruby-syntax-propertize-expansion): Extracted from
10332 `ruby-syntax-propertize-expansions'. Handles one expansion.
10333 (ruby-syntax-propertize-percent-literal): Leave point right after
10334 the percent symbol, so that the expression expansion rule can
10335 propertize the contents.
10336 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10337 heredoc openers.
10338 (ruby-syntax-propertize-expansions): Remove.
10339
10340 2013-05-18 Juri Linkov <juri@jurta.org>
10341
10342 * man.el (Man-default-man-entry): Remove `-' from the end
10343 of the default value. (Bug#14400)
10344
10345 2013-05-18 Glenn Morris <rgm@gnu.org>
10346
10347 * comint.el (comint-password-prompt-regexp):
10348 Allow "password for XXX" where XXX contains colons (eg https://...).
10349
10350 2013-05-18 Leo Liu <sdl.web@gmail.com>
10351
10352 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10353 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10354 (octave-source-directories): Don't check process.
10355 (octave-source-directories, octave-find-definition): Doc fix.
10356
10357 2013-05-18 Glenn Morris <rgm@gnu.org>
10358
10359 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10360 Remove backspace/delete bindings. (Bug#14392)
10361
10362 * cus-dep.el (custom-make-dependencies): Sort the output.
10363 (custom-versions-load-alist): Convert comment to doc.
10364
10365 2013-05-17 Leo Liu <sdl.web@gmail.com>
10366
10367 * newcomment.el (comment-search-backward): Stricter in finding
10368 comment start. (Bug#14303)
10369
10370 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10371 (octave-comment-start-skip): Properly anchored.
10372
10373 2013-05-17 Leo Liu <sdl.web@gmail.com>
10374
10375 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10376 Clean up when turned off. (Bug#14395)
10377 (smie--highlight-matching-block-overlay): No longer buffer-local.
10378 (smie-highlight-matching-block): Adjust.
10379
10380 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10381
10382 Doc string fix for "nanoseconds" (Bug#14406).
10383 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10384 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10385
10386 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10387
10388 * calc/calc-units.el (math-extract-units): Preserve powers
10389 of units.
10390
10391 2013-05-17 Leo Liu <sdl.web@gmail.com>
10392
10393 * subr.el (delete-consecutive-dups): New function.
10394 * ido.el (ido-set-matches-1): Use it.
10395 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10396 * ido.el (ido-remove-consecutive-dups): Remove.
10397
10398 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10401 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10402 regexp-opt's `words'.
10403
10404 2013-05-16 Leo Liu <sdl.web@gmail.com>
10405
10406 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10407 (smie--highlight-matching-block-overlay)
10408 (smie--highlight-matching-block-lastpos)
10409 (smie--highlight-matching-block-timer): New variables.
10410 (smie-highlight-matching-block): New function.
10411 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10412 (smie-setup): Conditionally enable smie-blink-matching-open.
10413
10414 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10415
10416 Sync with upstream verilog-mode r840.
10417 * progmodes/verilog-mode.el (verilog-mode-version)
10418 (verilog-mode-release-date): Update.
10419 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10420 (verilog-sig-tieoff): Fix string error on
10421 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10422 (verilog-read-decls): Fix parameters confusing
10423 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10424
10425 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10426
10427 * subr.el (reveal-filename): New function.
10428
10429 * loadup.el: Compute Emacs executable versions on MS-Windows,
10430 where executables have the .exe extension. Add a hard link
10431 emacs-XX.YY.ZZ.exe on MS-Windows.
10432
10433 * Makefile.in (XARGS_LIMIT): New variable.
10434 (custom-deps, finder-data, autoloads)
10435 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10436 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10437 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10438 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10439
10440 2013-05-16 Leo Liu <sdl.web@gmail.com>
10441
10442 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10443 (octave-mode-menu, octave-mode-map): Remove its uses.
10444
10445 2013-05-16 Reto Zimmermann <reto@gnu.org>
10446
10447 Sync with upstream vhdl mode v3.34.2.
10448 * progmodes/vhdl-mode.el: Use `push' throughout.
10449 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10450 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10451 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10452 (vhdl-actual-generic-name): New option to derive actual generic name.
10453 (vhdl-port-paste-signals): Replace formal by actual generics.
10454 (vhdl-beautify): New name for old group vhdl-align. Update users.
10455 (vhdl-beautify-options): New option.
10456 (vhdl-last-input-event): New compat alias. Use throughout.
10457 (vhdl-goto-line): Replace user level function `goto-line'.
10458 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10459 vhdl-fix-statement-buffer.
10460 (vhdl-create-mode-menu): Add some entries.
10461 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10462 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10463 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10464 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10465 to force statements on one line.
10466 (vhdl-remove-trailing-spaces-region):
10467 New, split from vhdl-remove-trailing-spaces.
10468 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10469 Respect vhdl-beautify-options.
10470 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10471 (vhdl-update-sensitivity-list): Not add with index if exists without.
10472 Not include array index with signal. Ignore keywords in comments.
10473 (vhdl-get-visible-signals): Regexp tweaks.
10474 (vhdl-template-component-inst): Handle empty library.
10475 (vhdl-template-type): Add template for 'enum' type.
10476 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10477 Use vhdl-replace-string.
10478 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10479 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10480 (vhdl-speedbar-initialize): Update for above name change.
10481 (vhdl-compose-wire-components): Fix in handling of constants.
10482 (vhdl-error-regexp-emacs-alist): New variable.
10483 (vhdl-error-regexp-add-emacs): New function;
10484 adds support for new compile.el (Emacs 22+)
10485 (vhdl-generate-makefile-1): Change target order for single lib. units.
10486 Allow use of absolute file names.
10487
10488 2013-05-16 Leo Liu <sdl.web@gmail.com>
10489
10490 * simple.el (prog-indent-sexp): Indent enclosing defun.
10491
10492 2013-05-15 Glenn Morris <rgm@gnu.org>
10493
10494 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10495 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10496 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10497 (whitespace-highlight): Move to whitespace group.
10498
10499 * comint.el (comint-source):
10500 * pcmpl-linux.el (pcmpl-linux):
10501 * shell.el (shell-faces):
10502 * eshell/esh-opt.el (eshell-opt):
10503 * international/ccl.el (ccl): Remove empty custom groups.
10504
10505 * completion.el (dynamic-completion-mode):
10506 * jit-lock.el (jit-lock-debug-mode):
10507 * minibuffer.el (completion-in-region-mode):
10508 * type-break.el (type-break-mode-line-message-mode)
10509 (type-break-query-mode):
10510 * emulation/tpu-edt.el (tpu-edt-mode):
10511 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10512 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10513 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10514
10515 * term/xterm.el (xterm): Change parent group to terminals.
10516
10517 * master.el (master): Remove empty custom group.
10518 (master-mode): Remove unused :group argument.
10519 * textmodes/refill.el (refill): Remove empty custom group.
10520 (refill-mode): Remove unused :group argument.
10521
10522 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10523
10524 * cus-dep.el: Provide a feature.
10525 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10526 Don't mistakenly ignore files whose basenames match a basename
10527 from preloaded-file-list (eg cedet/ede/simple.el).
10528 Add a fallback method for getting :group.
10529
10530 2013-05-15 Juri Linkov <juri@jurta.org>
10531
10532 * isearch.el (isearch-char-by-name): Rename from
10533 `isearch-insert-char-by-name'. Doc fix.
10534 (isearch-forward): Mention `isearch-char-by-name' in
10535 the docstring. (Bug#13348)
10536
10537 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10538 `exit-minibuffer' instead of
10539 `isearch-nonincremental-exit-minibuffer'.
10540 (isearch-edit-string): Remove mention of
10541 `isearch-nonincremental-exit-minibuffer' from docstring.
10542 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10543 (isearch-forward-exit-minibuffer)
10544 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10545
10546 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10547
10548 * loadup.el: Just use unversioned DOC.
10549
10550 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10551 literals as extending to EOB.
10552 (nxml-last-fontify-end): Remove unused variable.
10553 (nxml-after-change1): Use with-silent-modifications.
10554 (nxml-extend-after-change-region): Simplify.
10555 (nxml-extend-after-change-region1): Remove function.
10556 (nxml-after-change1): Don't adjust for dependent regions.
10557 (nxml-fontify-matcher): Simplify.
10558 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10559 (xmltok-add-dependent): Remove function.
10560 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10561 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10562 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10563 unclosed <[[, <?, comment, and other literals as extending to EOB.
10564 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10565 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10566 Remove functions.
10567 (rng-do-some-validation-1): Don't mark dependent regions.
10568 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10569 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10570 (nxml-clear-dependent-regions): Remove functions.
10571 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10572 (nxml-ensure-scan-up-to-date):
10573 Don't clear&mark dependent regions.
10574
10575 2013-05-15 Leo Liu <sdl.web@gmail.com>
10576
10577 * progmodes/octave.el (octave-goto-function-definition):
10578 Improve and fix callers.
10579
10580 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10581
10582 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10583 the setter (bug#14387).
10584
10585 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10586 surrounding group (bug#14402).
10587
10588 2013-05-14 Juri Linkov <juri@jurta.org>
10589
10590 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10591 (Bug#14390)
10592
10593 2013-05-14 Glenn Morris <rgm@gnu.org>
10594
10595 * progmodes/f90.el (f90-imenu-generic-expression):
10596 Fix typo in 2013-05-08 change. (Bug#14402)
10597
10598 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10599
10600 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10601 Remove signals for which replies are never received.
10602
10603 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10604
10605 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10606 (gdb-handler-alist, gdb-handler-number): Remove variables.
10607 (gdb-handler-list): New variable.
10608 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10609 (gdb-pending-handler-p, gdb-handle-reply)
10610 (gdb-remove-all-pending-triggers): New functions.
10611 (gdb-discard-unordered-replies): New defcustom.
10612 (gdb-handler): New defstruct.
10613 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10614 instead of gdb-pending-triggers. Update docstring.
10615 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10616 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10617 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10618 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10619 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10620 (gdb-frame-handler): Pending triggers are now automatically managed.
10621 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10622 Remove argument.
10623 (gdb-input): Automatically handles pending triggers. Update docstring.
10624 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10625 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10626 Update comments.
10627 (gdb-done-or-error): Now use gdb-handle-reply.
10628
10629 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10630
10631 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10632 gdb-debug-log.
10633
10634 2013-05-14 Glenn Morris <rgm@gnu.org>
10635
10636 * subr.el (user-emacs-directory-warning): New option.
10637 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10638
10639 2013-05-14 Leo Liu <sdl.web@gmail.com>
10640
10641 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10642 during redisplay.
10643 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10644 (octave-font-lock-texinfo-comment): Fix invalid search bound
10645 error: wrong side of point.
10646
10647 2013-05-14 Glenn Morris <rgm@gnu.org>
10648
10649 * progmodes/flymake.el (flymake-xml-program): New option.
10650 (flymake-xml-init): Use it.
10651
10652 * term/xterm.el: Provide a feature.
10653
10654 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10655
10656 2013-05-13 Glenn Morris <rgm@gnu.org>
10657
10658 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10659 Add compat aliases as a hack workaround. (Bug#14384)
10660
10661 2013-05-13 Leo Liu <sdl.web@gmail.com>
10662
10663 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10664 ###, and %!.
10665 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10666 C-M-q.
10667 (octave-comment-start-skip): Include %!.
10668 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10669
10670 2013-05-12 Leo Liu <sdl.web@gmail.com>
10671
10672 * progmodes/octave.el (inferior-octave-startup): Store the value
10673 of __octave_srcdir__ for octave-source-directories.
10674 (inferior-octave-check-process): New function refactored out of
10675 inferior-octave-send-list-and-digest.
10676 (octave-source-directories)
10677 (octave-find-definition-filename-function): New variables.
10678 (octave-source-directories)
10679 (octave-find-definition-default-filename): New functions.
10680 (octave-find-definition): Improve to find functions implemented in C++.
10681
10682 2013-05-12 Glenn Morris <rgm@gnu.org>
10683
10684 * calendar/diary-lib.el (diary-outlook-format-1):
10685 Don't include dayname in the output. (Bug#14349)
10686
10687 2013-05-11 Glenn Morris <rgm@gnu.org>
10688
10689 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10690
10691 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10692 Treat cc-provide like provide.
10693
10694 2013-05-11 Kevin Ryde <user42@zip.com.au>
10695
10696 * cus-dep.el (custom-make-dependencies):
10697 Use generated-autoload-load-name for the sake of files such
10698 such cedet/semantic/bovine/c.el, where the base file name
10699 is not in load-path. (Bug#5277)
10700
10701 2013-05-11 Glenn Morris <rgm@gnu.org>
10702
10703 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10704 Provide features.
10705
10706 2013-05-11 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/octave.el (octave-indent-comment): Improve.
10709 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10710 (octave-eldoc-function-signatures, octave-eldoc-function):
10711 New functions.
10712 (octave-mode, inferior-octave-mode): Add eldoc support.
10713
10714 2013-05-11 Richard Stallman <rms@gnu.org>
10715
10716 * epa.el (epa-decrypt-file): Take output file name as argument
10717 and read it using `interactive'.
10718
10719 2013-05-11 Leo Liu <sdl.web@gmail.com>
10720
10721 * progmodes/octave.el (octave-beginning-of-line)
10722 (octave-end-of-line): Check before using up-list because it jumps
10723 out of more syntactic contructs since moving to smie.
10724 (octave-indent-comment): New function.
10725 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10726 (octave-begin-keywords, octave-end-keywords)
10727 (octave-reserved-words, octave-smie-bnf-table)
10728 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10729
10730 2013-05-11 Glenn Morris <rgm@gnu.org>
10731
10732 * faces.el (internal-face-x-get-resource):
10733 * frame.el (ns-display-monitor-attributes-list):
10734 * calc/calc-aent.el (math-to-radians-2):
10735 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10736 Fix declarations.
10737
10738 * calc/calc-menu.el: Make it loadable in isolation.
10739
10740 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10741 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10742 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10743 (eudc-bbdb-query-internal): Require 'bbdb.
10744
10745 * lpr.el (lpr-headers-switches):
10746 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10747
10748 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10749
10750 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10751
10752 * term.el (term-set-escape-char): Make it idempotent.
10753
10754 2013-05-10 Leo Liu <sdl.web@gmail.com>
10755
10756 * progmodes/octave.el (inferior-octave-completion-table):
10757 No longer a function and all uses changed. Use cache to speed up
10758 completion due to bug#11906.
10759 (octave-beginning-of-defun): Re-write to be more general.
10760
10761 2013-05-10 Glenn Morris <rgm@gnu.org>
10762
10763 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10764
10765 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10766
10767 * comint.el (comint-redirect-send-command-to-process): Use :around
10768 rather than :override for comint-redirect-filter.
10769 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10770 Call it instead of comint-redirect-original-filter-function (which
10771 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10772
10773 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10774
10775 * frame.el (display-monitor-attributes-list): Add NS case.
10776 (ns-display-monitor-attributes-list): Declare.
10777
10778 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10779
10780 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10781
10782 2013-05-09 Glenn Morris <rgm@gnu.org>
10783
10784 * international/fontset.el (vertical-centering-font-regexp):
10785 Set standard-value.
10786
10787 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10788
10789 * bookmark.el (bookmark-search-delay):
10790 * cus-start.el (vertical-centering-font-regexp):
10791 * ps-mule.el (ps-mule-font-info-database-default):
10792 * ps-print.el (ps-default-fg, ps-default-bg):
10793 * type-break.el (type-break-good-break-interval):
10794 * whitespace.el (whitespace-indentation-regexp)
10795 (whitespace-space-after-tab-regexp):
10796 * emacs-lisp/testcover.el (testcover-1value-functions)
10797 (testcover-noreturn-functions, testcover-progn-functions)
10798 (testcover-prog1-functions):
10799 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10800 * eshell/em-glob.el (eshell-glob-translate-alist):
10801 * play/tetris.el (tetris-tty-colors):
10802 * progmodes/cpp.el (cpp-face-default-list):
10803 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10804 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10805 (idlwave-help-browser-generic-args):
10806 * progmodes/make-mode.el (makefile-special-targets-list):
10807 * progmodes/python.el (python-shell-virtualenv-path):
10808 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10809 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10810 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10811 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10812 * textmodes/reftex-vars.el (reftex-format-label-function):
10813 * textmodes/remember.el (remember-diary-file): Fix custom types.
10814
10815 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10816 Add :version.
10817
10818 2013-05-09 Leo Liu <sdl.web@gmail.com>
10819
10820 * progmodes/octave.el (inferior-octave-completion-at-point):
10821 Restore file completion. (Bug#14300)
10822 (inferior-octave-startup): Fix incorrect highlighting for the
10823 first prompt.
10824
10825 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * progmodes/ruby-mode.el: First cut at SMIE support.
10828 (ruby-use-smie): New var.
10829 (ruby-smie-grammar): New constant.
10830 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10831 (ruby-smie--forward-token, ruby-smie--backward-token)
10832 (ruby-smie-rules): New functions.
10833 (ruby-mode-variables): Setup SMIE if applicable.
10834
10835 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10836
10837 * simple.el (line-move-visual): Signal beginning/end of buffer
10838 only if vertical-motion moved less than it was requested. Avoids
10839 silly incorrect error messages when there are display strings with
10840 multiple newlines at EOL.
10841
10842 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10843
10844 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10845 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10846 (prolog-char-quote-workaround):
10847 * progmodes/cperl-mode.el (cperl-under-as-char):
10848 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10849 Mark as obsolete.
10850 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10851 their declaration.
10852 (vhdl-mode-syntax-table-init): Remove.
10853
10854 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10855 last change.
10856
10857 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10858 syntax for "_".
10859 (ld-script-font-lock-keywords):
10860 Change regexps to use things like \_< and \_>.
10861
10862 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10863 Change all regexps to use things like \_< and \_>.
10864
10865 * progmodes/autoconf.el (autoconf-definition-regexp)
10866 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10867 Handle a _ with symbol syntax.
10868 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10869
10870 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10871 Consolidate declaration.
10872 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10873 the declaration.
10874 (ada-create-syntax-table): Remove.
10875 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10876 already has the right syntax nowadays.
10877 (ada-goto-next-word): Don't change the syntax of "_".
10878
10879 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10880 with-wrapper-hook.
10881
10882 2013-05-08 Sam Steingold <sds@gnu.org>
10883
10884 * thingatpt.el (thing-at-point): Accept optional second argument
10885 NO-PROPERTIES to strip the text properties from the return value.
10886 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10887 to `thing-at-point' instead of stripping the properties ourselves.
10888 Also, when `thing-at-point' fails to find a url, prepend "http://"
10889 to the filename at point on the assumption that the user is
10890 pointing at something like gnu.org/gnu.
10891
10892 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10893
10894 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10895 * faces.el (crm-separator):
10896 Silence byte-compiler.
10897
10898 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10899 (tool-bar-map): Remove unneeded defvars.
10900
10901 2013-05-08 Leo Liu <sdl.web@gmail.com>
10902
10903 Re-work a fix for bug#10994 based on Le Wang's patch.
10904 * ido.el (ido-remove-consecutive-dups): New helper.
10905 (ido-completing-read): Use it.
10906 (ido-chop): Revert fix for bug#10994.
10907
10908 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10909
10910 * cus-edit.el (custom-save-variables):
10911 Pretty-print long values. (Bug#14187)
10912
10913 2013-05-08 Glenn Morris <rgm@gnu.org>
10914
10915 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10916 (m4-mode-syntax-table): Init in the defvar.
10917 (m4-mode-abbrev-table): Let define-derived-mode define it.
10918
10919 2013-05-08 Tom Tromey <tromey@redhat.com>
10920
10921 * progmodes/m4-mode.el (m4-mode-syntax-table):
10922 Do not treat "_" as word constituent. (Bug#14167)
10923
10924 2013-05-07 Glenn Morris <rgm@gnu.org>
10925
10926 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10927 Remove explicit eshell-isearch-cancel-map.
10928
10929 * progmodes/f90.el (f90-smart-end-names): New option.
10930 (f90-smart-end): Doc fix.
10931 (f90-end-block-optional-name): New constant.
10932 (f90-block-match): Respect f90-smart-end-names.
10933
10934 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10937 about implicit semi-colons (bug#14218).
10938
10939 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10940
10941 * frame.el (display-monitor-attributes-list)
10942 (frame-monitor-attributes): New functions.
10943
10944 2013-05-06 Leo Liu <sdl.web@gmail.com>
10945
10946 * progmodes/octave.el (octave-syntax-propertize-function): Change
10947 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10948 (octave-font-lock-keywords): Use octave-operator-regexp.
10949 (octave-completion-at-point): Rename from
10950 octave-completion-at-point-function.
10951 (inferior-octave-directory-tracker): Robustify.
10952 (octave-text-functions): Remove and fix its uses. No such things
10953 any more.
10954
10955 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emacs-lisp/trace.el (trace--display-buffer): New function.
10958 (trace-make-advice): Use it.
10959
10960 2013-05-06 Juri Linkov <juri@jurta.org>
10961
10962 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10963 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10964 Doc fix.
10965 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10966 in the help string. (Bug#12985)
10967
10968 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10969
10970 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10971
10972 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10973
10974 * progmodes/perl-mode.el: Add support for here documents.
10975 (perl-syntax-propertize-function): Match here-doc markers.
10976 (perl-syntax-propertize-special-constructs): Find their end.
10977 (perl-imenu-generic-expression): Use [:alnum:].
10978
10979 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10980 (advice--add-function): Refresh the advice if already present
10981 (bug#14317).
10982
10983 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10984
10985 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10986
10987 2013-05-06 Glenn Morris <rgm@gnu.org>
10988
10989 * w32-fns.el (w32-charset-info-alist): Declare.
10990
10991 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10992 of its defcustom properties.
10993 (eshell-cmpl-initialize): No need to load pcomplete.
10994
10995 * generic-x.el: No need to require comint when compiling.
10996
10997 * net/eudc-export.el: Make it loadable without bbdb.
10998 (top-level): Use require rather than load-library.
10999 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11000 (eudc-batch-export-records-to-bbdb)
11001 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11002 Require bbdb.
11003
11004 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11007 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11008 some tweaks, instead.
11009
11010 2013-05-05 Leo Liu <sdl.web@gmail.com>
11011
11012 * progmodes/octave.el (octave-font-lock-keywords)
11013 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11014 (inferior-octave-send-list-and-digest): Improve error message.
11015 (octave-mode, inferior-octave-mode): Use setq-local.
11016 (octave-help): Set info-lookup-mode.
11017
11018 2013-05-05 Richard Stallman <rms@gnu.org>
11019
11020 * vc/compare-w.el (compare-windows-whitespace):
11021 Treat no-break space as whitespace.
11022
11023 * mail/rmailsum.el (rmail-summary-rmail-update):
11024 Detect empty summary and don't change selected message.
11025 (rmail-summary-goto-msg): Likewise.
11026
11027 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11028 Doc fixes, rename args.
11029
11030 2013-05-05 Alan Mackenzie <acm@muc.de>
11031
11032 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11033
11034 2013-05-05 Juri Linkov <juri@jurta.org>
11035
11036 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11037 to not add the length of the summary segment to the return value.
11038 (Bug#14125)
11039
11040 2013-05-05 Leo Liu <sdl.web@gmail.com>
11041
11042 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11043 (inferior-octave-output-filter): Remove.
11044 (octave-send-region, inferior-octave-startup): Fix callers.
11045 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11046 (octave-binary-file-extensions): New user variable.
11047 (octave-find-definition): Confirm if opening binary files.
11048 (octave-help-file): Use octave-find-definition to get the binary
11049 confirmation.
11050 (octave-help): Adjust for octave-help-file change.
11051
11052 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11053
11054 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11055 Merge the two entries that handle function definitions.
11056 (pascal--syntax-propertize): New const.
11057 (pascal-mode): Use it. Use setq-local.
11058
11059 2013-05-04 Glenn Morris <rgm@gnu.org>
11060
11061 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11062 (diary-from-outlook): Respect diary-from-outlook-function.
11063
11064 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11067 Move the declaration from C.
11068 (read-minibuffer, eval-minibuffer): Move from C.
11069 (completion-setup-function): Avoid minibuffer-completion-contents.
11070
11071 2013-05-03 Leo Liu <sdl.web@gmail.com>
11072
11073 * progmodes/octave.el (octave-font-lock-keywords): Do not
11074 dehighlight 'end' in comments or strings.
11075 (octave-completing-read, octave-goto-function-definition):
11076 New helpers.
11077 (octave-help-buffer): New user variable.
11078 (octave-help-file, octave-help-function): New button types.
11079 (octave-help): New command and bind it to C-h ;.
11080 (octave-find-definition): New command and bind it to M-.
11081 (user-error): Alias to error if not defined.
11082
11083 2013-05-02 Leo Liu <sdl.web@gmail.com>
11084
11085 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11086 for \. (bug#14332)
11087 (octave-font-lock-keywords): Include [ and {.
11088
11089 2013-05-02 Leo Liu <sdl.web@gmail.com>
11090
11091 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11092 (inferior-octave): Remove calling comint-mode and return the buffer.
11093 (inferior-octave-startup): Cosmetic changes.
11094
11095 2013-05-02 Leo Liu <sdl.web@gmail.com>
11096
11097 * progmodes/octave.el (octave-syntax-propertize-function):
11098 Include the case when ' is at line beginning. (Bug#14336)
11099
11100 2013-05-02 Glenn Morris <rgm@gnu.org>
11101
11102 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11103 * desktop.el (vc-dir-mode): Just autoload it here.
11104
11105 2013-05-02 Alan Mackenzie <acm@muc.de>
11106
11107 Eliminate variable c-standard-font-lock-fontify-region-function.
11108 * progmodes/cc-mode.el
11109 (c-standard-font-lock-fontify-region-function): Remove.
11110 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11111
11112 2013-05-01 Leo Liu <sdl.web@gmail.com>
11113
11114 * progmodes/octave.el: Compatible with older emacs-24 releases.
11115 (inferior-octave-has-built-in-variables): Remove. Built-in
11116 variables were removed from Octave in 2007.
11117 (inferior-octave-startup): Fix uses.
11118 (comint-line-beginning-position): Remove compatibility code for
11119 emacs 21.
11120
11121 2013-05-01 Juri Linkov <juri@jurta.org>
11122
11123 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11124
11125 2013-05-01 Juri Linkov <juri@jurta.org>
11126
11127 * comint.el (comint-previous-matching-input): Don't print message
11128 "History item: %d" when `isearch-mode' is active.
11129 (comint-history-isearch-message): Print message "History item: %d"
11130 when `comint-input-ring-index' is not empty and this function is
11131 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11132
11133 2013-05-01 Leo Liu <sdl.web@gmail.com>
11134
11135 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11136 definitions. Use completion-at-point to insert keywords.
11137 (octave-abbrev-start): Remove.
11138 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11139
11140 2013-04-30 Leo Liu <sdl.web@gmail.com>
11141
11142 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11143 change.
11144
11145 2013-04-30 Alan Mackenzie <acm@muc.de>
11146
11147 Handle arbitrarily long C++ member initialisation lists.
11148 * progmodes/cc-engine.el (c-back-over-member-initializers):
11149 new function.
11150 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11151 (most) member init lists.
11152
11153 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11154
11155 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11156 variable.
11157
11158 2013-04-30 Leo Liu <sdl.web@gmail.com>
11159
11160 * progmodes/octave.el (octave-variables): Remove. No builtin
11161 variables any more. All converted to functions.
11162 (octave-font-lock-keywords, octave-completion-at-point-function):
11163 Fix uses.
11164 (octave-font-lock-texinfo-comment): New user variable.
11165 (octave-texinfo-font-lock-keywords): New variable for texinfo
11166 comment block.
11167 (octave-function-comment-block): New face.
11168 (octave-font-lock-texinfo-comment): New function.
11169 (octave-mode): Font lock texinfo comment block.
11170
11171 2013-04-29 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11174 indexing expression.
11175 (octave-continuation-string): Do not use \.
11176 (inferior-octave-complete-impossible): Remove.
11177 (inferior-octave-completion-table)
11178 (inferior-octave-completion-at-point): Remove its uses.
11179 (inferior-octave-startup): completion_matches was introduced to
11180 Octave in 1996 so safe to assume it.
11181 (octave-function-file-comment): Improve to follow how Octave does it.
11182 (octave-update-function-file-comment): Tweak.
11183
11184 2013-04-29 Leo Liu <sdl.web@gmail.com>
11185
11186 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11187 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11188 (octave-function-file-comment): Fix typo.
11189 (octave-sync-function-file-names): Use read-char-choice.
11190
11191 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11192
11193 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11194 to t for the less important warnings.
11195
11196 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11197
11198 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11199
11200 2013-04-27 Glenn Morris <rgm@gnu.org>
11201
11202 * vc/log-view.el (log-view-current-entry):
11203 Treat "---" separator lines as part of the following rev. (Bug#14169)
11204
11205 2013-04-27 Juri Linkov <juri@jurta.org>
11206
11207 * subr.el (read-number): Doc fix about using it by interactive
11208 code letter `n'. (Bug#14254)
11209
11210 2013-04-27 Juri Linkov <juri@jurta.org>
11211
11212 * desktop.el (desktop-auto-save-timeout): New option.
11213 (desktop-file-checksum): New variable.
11214 (desktop-save): Add optional arg `auto-save' and don't auto-save
11215 if nothing changed.
11216 (desktop-auto-save-timer): New variable.
11217 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11218 (after-init-hook): Call `desktop-auto-save-set-timer'.
11219 Suggested by Reuben Thomas <rrt@sc3d.org> in
11220 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11221
11222 2013-04-27 Leo Liu <sdl.web@gmail.com>
11223
11224 * progmodes/octave.el (octave-function-file-p)
11225 (octave-skip-comment-forward, octave-function-file-comment)
11226 (octave-update-function-file-comment): New functions.
11227 (octave-mode-map): Bind C-c ; to
11228 octave-update-function-file-comment.
11229 (octave-mode-menu): Add octave-update-function-file-comment.
11230 (octave-mode, inferior-octave-mode): Fix doc-string.
11231 (octave-insert-defun): Conform to Octave's coding convention.
11232 (Bug#14285)
11233
11234 * files.el (basic-save-buffer): Don't let errors in
11235 before-save-hook prevent saving buffer.
11236
11237 2013-04-20 Roland Winkler <winkler@gnu.org>
11238
11239 * faces.el (read-face-name): Use completing-read if arg multiple
11240 is nil.
11241
11242 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11243
11244 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11245 displayed, move point to after the totals line.
11246 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11247 for the details.
11248
11249 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11252 Add current dir to the load-path.
11253 (package-generate-autoloads): Don't rely on
11254 autoload-ensure-default-file.
11255
11256 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11257
11258 * textmodes/remember.el (remember-store-in-files): Document that
11259 the file name format is passed to `format-time-string'.
11260
11261 2013-04-26 Leo Liu <sdl.web@gmail.com>
11262
11263 * progmodes/octave.el (octave-sync-function-file-names): New function.
11264 (octave-mode): Use it in before-save-hook.
11265
11266 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11269 (bug#14274).
11270
11271 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11272 \n and comment, even if it's not an implicit ; (bug#14218).
11273
11274 2013-04-26 Glenn Morris <rgm@gnu.org>
11275
11276 * subr.el (read-number): Once more use `read' rather than
11277 `string-to-number', to trap non-numeric input. (Bug#14254)
11278
11279 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11280
11281 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11282 Use `syntax-multiline' text property consistently instead of
11283 `font-lock-multiline'. (Bug#14237)
11284
11285 2013-04-26 Glenn Morris <rgm@gnu.org>
11286
11287 * emacs-lisp/shadow.el (list-load-path-shadows):
11288 No longer necessary to check for duplicate simple.el, since
11289 2012-07-07 change to init_lread to not include installation lisp
11290 directories in load-path when running uninstalled. (Bug#14270)
11291
11292 2013-04-26 Leo Liu <sdl.web@gmail.com>
11293
11294 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11295 (octave-mode, inferior-octave-mode): Use setq-local.
11296 (octave-not-in-string-or-comment-p): Rename to
11297 octave-in-string-or-comment-p.
11298 (octave-in-comment-p, octave-in-string-p)
11299 (octave-in-string-or-comment-p): Replace defsubst with defun.
11300
11301 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11302
11303 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11304
11305 2013-04-25 Bastien Guerry <bzg@gnu.org>
11306
11307 * textmodes/remember.el (remember-data-directory)
11308 (remember-directory-file-name-format): Fix custom types.
11309
11310 2013-04-25 Leo Liu <sdl.web@gmail.com>
11311
11312 * progmodes/octave.el (octave-completion-at-point-function):
11313 Make use of inferior octave process.
11314 (octave-initialize-completions): Remove.
11315 (inferior-octave-completion-table): New function.
11316 (inferior-octave-completion-at-point): Use it.
11317 (octave-completion-alist): Remove.
11318
11319 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11322 (opascal-mode-syntax-table): New var.
11323 (opascal-literal-kind, opascal-is-literal-end)
11324 (opascal-literal-token-at): Rewrite.
11325 (opascal--literal-start-re, opascal-font-lock-keywords)
11326 (opascal--syntax-propertize): New constants.
11327 (opascal-font-lock-defaults): Adjust.
11328 (opascal-mode): Use them. Set comment-<foo> variables as well.
11329 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11330 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11331 (delphi-other-face, opascal-other-face): Remove face variables.
11332 (opascal-save-state): Remove macro.
11333 (opascal-fontifying-progress-step): Remove constant.
11334 (opascal--ignore-changes): Remove var.
11335 (opascal-set-token-property, opascal-parse-next-literal)
11336 (opascal-is-stable-literal, opascal-complete-literal)
11337 (opascal-is-literal-start, opascal-face-of)
11338 (opascal-parse-region, opascal-parse-region-until-stable)
11339 (opascal-fontify-region, opascal-after-change)
11340 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11341 (opascal-debug-parse-region, opascal-debug-parse-window)
11342 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11343 (opascal-debug-fontify-buffer): Remove.
11344 (opascal-debug-mode-map): Adjust accordingly.
11345
11346 2013-04-25 Leo Liu <sdl.web@gmail.com>
11347
11348 Merge octave-mod.el and octave-inf.el into octave.el with some
11349 cleanups.
11350 * progmodes/octave.el: New file renamed from octave-mod.el.
11351 * progmodes/octave-inf.el: Merged into octave.el.
11352 * progmodes/octave-mod.el: Renamed to octave.el.
11353
11354 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11355
11356 * textmodes/reftex-vars.el
11357 (reftex-label-ignored-macros-and-environments): New defcustom.
11358
11359 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11360
11361 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11362
11363 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11364 (smie-indent-keyword): Improve the check to ensure that the next
11365 comment is really on the same line.
11366 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11367
11368 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11369 semi-colons if the line is not otherwise empty (bug#14218).
11370
11371 2013-04-25 Glenn Morris <rgm@gnu.org>
11372
11373 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11374
11375 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11376
11377 * progmodes/opascal.el (opascal-set-token-property): Rename from
11378 opascal-set-text-properties and only set `token' (bug#14134).
11379 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11380 (opascal-literal-text-properties): Remove.
11381 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11382 Adjust callers.
11383
11384 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11385
11386 * textmodes/remember.el (remember-handler-functions): Add an
11387 option for a new handler `remember-store-in-files'.
11388 (remember-data-directory, remember-directory-file-name-format):
11389 New options.
11390 (remember-store-in-files): New function to store remember notes
11391 as separate files within a directory.
11392
11393 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11394
11395 * progmodes/compile.el (compilation-next-error-function):
11396 Pass "formats" to compilation-find-file (bug#11777).
11397
11398 2013-04-24 Glenn Morris <rgm@gnu.org>
11399
11400 * vc/vc-bzr.el (vc-bzr-print-log):
11401 * vc/vc-hg.el (vc-hg-print-log):
11402 * vc/vc-svn.el (vc-svn-print-log):
11403 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11404
11405 * vc/vc-bzr.el (vc-bzr-print-log):
11406 * vc/vc-cvs.el (vc-cvs-print-log):
11407 * vc/vc-git.el (vc-git-print-log):
11408 * vc/vc-hg.el (vc-hg-print-log):
11409 * vc/vc-mtn.el (vc-mtn-print-log):
11410 * vc/vc-rcs.el (vc-rcs-print-log):
11411 * vc/vc-sccs.el (vc-sccs-print-log):
11412 * vc/vc-svn.el (vc-svn-print-log):
11413 * vc/vc.el (vc-print-log-internal): Doc fixes.
11414
11415 2013-04-23 Glenn Morris <rgm@gnu.org>
11416
11417 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11418 Remove venerable code attempting to avoid substitute-command-keys.
11419
11420 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11421
11422 * textmodes/reftex-vars.el (reftex-label-regexps):
11423 Call `reftex-compile-variables' after changes to this variable.
11424
11425 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11426
11427 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11428 Use lexical-binding.
11429 (jit-lock-force-redisplay): Use markers, check buffer's continued
11430 existence and beware narrowed buffers.
11431 (jit-lock-fontify-now): Adjust call accordingly.
11432
11433 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11436 to avoid misleading the user.
11437
11438 2013-04-22 Leo Liu <sdl.web@gmail.com>
11439
11440 * info-look.el: Prefer latex2e.info. (Bug#14240)
11441
11442 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11443
11444 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11445
11446 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11447 * net/tramp.el (tramp-call-process): ... here.
11448 (tramp-set-completion-function, tramp-parse-putty):
11449 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11450 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11451 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11452 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11453 (tramp-call-local-coding-command): Use `tramp-call-process'
11454 instead of `tramp-compat-call-process'.
11455
11456 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11457 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11458 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11459 (tramp-find-inline-compress): Improve traces.
11460 (tramp-maybe-send-script): Check for Perl binary.
11461 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11462
11463 2013-04-22 Daiki Ueno <ueno@gnu.org>
11464
11465 * epg.el (epg-context-pinentry-mode): New function.
11466 (epg-context-set-pinentry-mode): New function.
11467 (epg--start): Pass --pinentry-mode option to gpg command.
11468
11469 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11470
11471 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11472 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11473 `completion-at-point'. (Bug#13774)
11474
11475 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11476 default key binding for `describe-distribution' has been moved to
11477 `C-h C-o'. (Bug#13970)
11478
11479 2013-04-21 Glenn Morris <rgm@gnu.org>
11480
11481 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11482 Add doc strings.
11483 (vc-print-log): Clarify interactive prompt.
11484
11485 2013-04-20 Glenn Morris <rgm@gnu.org>
11486
11487 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11488 No longer include timestamp etc information.
11489
11490 2013-04-20 Roland Winkler <winkler@gnu.org>
11491
11492 * faces.el (read-face-name): Bug fix, return just one face if arg
11493 multiple is nil. (Bug#14209)
11494
11495 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11496
11497 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11498 (remove-function): Autoload.
11499
11500 * comint.el (comint-redirect-original-filter-function): Remove.
11501 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11502 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11503 (vc-cvs-annotate-command):
11504 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11505 * progmodes/prolog.el (prolog-consult-compile):
11506 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11507 Use add/remove-function instead.
11508 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11509 (gud-tooltip-process-output, gud-tooltip-tips):
11510 Use add/remove-function instead.
11511 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11512 (scheme-interaction-mode, exit-scheme-interaction-mode):
11513 Use add/remove-function instead.
11514
11515 * vc/vc-dispatcher.el: Use lexical-binding.
11516 (vc--process-sentinel): Rename from vc-process-sentinel.
11517 Change last arg to be the code to run. Don't use vc-previous-sentinel
11518 and vc-sentinel-commands any more.
11519 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11520 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11521
11522 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11523
11524 * progmodes/sh-script.el (sh-imenu-generic-expression):
11525 Handle function names with a single character. (Bug#14111)
11526
11527 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11528
11529 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11530 for subroutines defined in an eval (bug#14182).
11531
11532 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11533
11534 * bookmark.el (bookmark-completing-read): Improve handling of empty
11535 string (bug#14176).
11536
11537 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11538
11539 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11540
11541 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11542
11543 New faster Imenu implementation (bug#14058).
11544 * progmodes/python.el:
11545 (python-imenu-prev-index-position):
11546 (python-imenu-format-item-label-function)
11547 (python-imenu-format-parent-item-label-function)
11548 (python-imenu-format-parent-item-jump-label-function):
11549 New vars.
11550 (python-imenu-format-item-label)
11551 (python-imenu-format-parent-item-label)
11552 (python-imenu-format-parent-item-jump-label)
11553 (python-imenu--put-parent, python-imenu--build-tree)
11554 (python-imenu-create-index, python-imenu-create-flat-index)
11555 (python-util-popn): New functions.
11556 (python-mode): Set imenu-create-index-function to
11557 python-imenu-create-index.
11558
11559 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11560
11561 * winner.el (winner-active-region): Use region-active-p, activate-mark
11562 and deactivate-mark (bug#14225).
11563
11564 * simple.el (deactivate-mark): Don't inline it.
11565
11566 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11567
11568 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11569
11570 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11571
11572 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11573 file extensions from the archive-mode entry in order to prefer
11574 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11575
11576 2013-04-18 Leo Liu <sdl.web@gmail.com>
11577
11578 * bindings.el (help-event-list): Add ?\?.
11579
11580 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11581
11582 * subr.el (with-wrapper-hook): Declare obsolete.
11583 * simple.el (filter-buffer-substring-function): New hook.
11584 (filter-buffer-substring): Use it.
11585 (filter-buffer-substring-functions): Mark obsolete.
11586 * minibuffer.el (completion-in-region-function): New hook.
11587 (completion-in-region): Use it.
11588 (completion-in-region-functions): Mark obsolete.
11589 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11590 * abbrev.el (abbrev-expand-function): New hook.
11591 (expand-abbrev): Use it.
11592 (abbrev-expand-functions): Mark obsolete.
11593 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11594 and :filter-return.
11595
11596 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11597
11598 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11599 and do not care about match data.
11600
11601 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11604 completion tables when completing error conditions and
11605 `declare' arguments.
11606 (lisp-complete-symbol, field-complete): Mark as obsolete.
11607 (check-parens): Unmatched parens are user errors.
11608 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11609
11610 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11611
11612 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11613 command changed buffer (ie. `flyspell-pre-buffer' is not current
11614 buffer), which prevents making decisions based on invalid value of
11615 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11616 cause an error when `flyspell-pre-point' was nil after switching
11617 buffers.
11618 (flyspell-post-command-hook): No longer needs to change buffers when
11619 checking pre-word. While at it remove unnecessary progn.
11620
11621 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11622
11623 * textmodes/ispell.el (ispell-add-per-file-word-list):
11624 Fix `flyspell-correct-word-before-point' error when accepting
11625 words and `coment-padding' is an integer by using
11626 `comment-normalize-vars' (Bug #14214).
11627
11628 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11629
11630 New defun movement commands.
11631 * progmodes/python.el (python-nav--syntactically)
11632 (python-nav--forward-defun, python-nav-backward-defun)
11633 (python-nav-forward-defun): New functions.
11634
11635 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11636
11637 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11638 (python-syntax-context): Use named compiler-macro for backwards
11639 compatibility with Emacs 24.x.
11640
11641 2013-04-17 Leo Liu <sdl.web@gmail.com>
11642
11643 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11644 octave-hide-process-buffer.
11645
11646 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11649 (bug#14216).
11650
11651 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11652
11653 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11654 Fix adjustment of offset when receiving incomplete responses from GDB
11655 (bug#14129).
11656
11657 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11658
11659 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11660 python-mode-abbrev-table.
11661 (python-skeleton-define): Adjust accordingly.
11662 (python-mode-abbrev-table): New table that inherits from it so that
11663 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11664
11665 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11666 (abbrev-symbol): Use it.
11667 (abbrev--before-point): Use it since we already handle inheritance.
11668
11669 2013-04-16 Leo Liu <sdl.web@gmail.com>
11670
11671 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11672 binding to info-lookup-symbol.
11673
11674 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * minibuffer.el (completion--twq-all):
11677 * term/ns-win.el (ns-initialize-window-system):
11678 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11679
11680 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11683 global bindings.
11684
11685 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11686
11687 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11688
11689 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11690 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11691 to nil.
11692 (ruby-end-of-defun): Remove the unused arg, change the docstring
11693 to reflect that this function is only used as the value of
11694 `end-of-defun-function'.
11695 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11696 to reflect an earlier change that beginning/end-of-defun functions
11697 jump between methods in a class definition, as well as top-level
11698 functions.
11699
11700 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * minibuffer.el (minibuffer-complete): Don't just scroll
11703 a *Completions* that's been iconified.
11704 (minibuffer-force-complete): Make sure repetitions do cycle when going
11705 through completion-in-region -> minibuffer-complete.
11706
11707 2013-04-15 Alan Mackenzie <acm@muc.de>
11708
11709 Correct the placement of c-cpp-delimiters when there're #s not at
11710 col 0.
11711
11712 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11713 place a submatch around the #.
11714 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11715 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11716 on the #, not BOL.
11717
11718 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11721 (advice--member-p): New arg `name'.
11722 (advice--add-function, advice-member-p): Use it (bug#14202).
11723
11724 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11725
11726 Reformulate java imenu-generic-expression.
11727 The old expression contained ill formed regexps.
11728
11729 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11730 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11731 (cc-imenu-java-method-arg-regexp): New defconsts.
11732 (cc-imenu-java-build-type-args-regex): New defun.
11733 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11734 handling of spaces in the regexp.
11735
11736 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11737
11738 * textmodes/ispell.el (ispell-command-loop): Remove
11739 flyspell highlight of a word when ispell accepts it (bug #14178).
11740
11741 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11742
11743 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11744 uses code from the previous `ange-ftp-run-real-handler'.
11745 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11746 only in case that function exist. This is needed for proper
11747 unloading of Tramp.
11748
11749 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11750
11751 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11752
11753 * textmodes/reftex.el (reftex-compile-variables): Use it.
11754
11755 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * files.el (normal-mode): Only use default major-mode if no other mode
11758 was specified.
11759
11760 * emacs-lisp/trace.el (trace-values): New function.
11761
11762 * files.el: Allow : in local variables (bug#14089).
11763 (hack-local-variable-regexp): New var.
11764 (hack-local-variables-prop-line, hack-local-variables): Use it.
11765
11766 2013-04-13 Roland Winkler <winkler@gnu.org>
11767
11768 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11769 data before it gets modified by bibtex-beginning-of-entry.
11770
11771 2013-04-13 Roland Winkler <winkler@gnu.org>
11772
11773 * textmodes/bibtex.el (bibtex-url): Doc fix.
11774
11775 2013-04-13 Roland Winkler <winkler@gnu.org>
11776
11777 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11778 does not visit a BibTeX file, exclude it from the list of buffers
11779 returned by bibtex-initialize.
11780
11781 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11782
11783 * window.el (split-window): Remove interactive form, since as a
11784 command this function is a special case of split-window-below.
11785 Correct doc string.
11786
11787 2013-04-12 Roland Winkler <winkler@gnu.org>
11788
11789 * faces.el (read-face-name): Do not override value of arg default.
11790 Allow single faces and strings as default values. Remove those
11791 elements from return value that are not faces.
11792 (describe-face): Simplify.
11793 (face-at-point): New optional args thing and multiple so that this
11794 function can provide the same functionality previously provided by
11795 read-face-name.
11796 (make-face-bold, make-face-unbold, make-face-italic)
11797 (make-face-unitalic, make-face-bold-italic, invert-face)
11798 (modify-face, read-face-and-attribute): Use face-at-point.
11799
11800 * cus-edit.el (customize-face, customize-face-other-window)
11801 * cus-theme.el (custom-theme-add-face)
11802 * face-remap.el (buffer-face-set)
11803 * facemenu.el (facemenu-set-face): Use face-at-point.
11804
11805 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11806
11807 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11808
11809 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11810
11811 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11812 off leading { and trailing } from field values.
11813
11814 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11815
11816 * emacs-lisp/timer.el (timer--check): New function.
11817 (timer--time, timer-set-function, timer-event-handler): Use it.
11818 (timer-set-idle-time): Simplify.
11819 (timer--activate): CSE.
11820 (timer-event-handler): Give more info in error message.
11821 (internal-timer-start-idle): New function, moved from C.
11822
11823 * mpc.el (mpc-proc): Add `restart' argument.
11824 (mpc-proc-cmd): Use it.
11825 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11826 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11827 less often.
11828
11829 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11830
11831 * progmodes/sh-script.el: Implement `sh-mode' own
11832 `add-log-current-defun-function' (bug#14112).
11833 (sh-current-defun-name): New function.
11834 (sh-mode): Use the function.
11835
11836 2013-04-09 Bastien Guerry <bzg@gnu.org>
11837
11838 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11839
11840 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11843
11844 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11845 timer (bug#14156).
11846
11847 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11848
11849 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11850 declaration.
11851
11852 2013-04-07 Leo Liu <sdl.web@gmail.com>
11853
11854 * pcmpl-x.el: New file.
11855
11856 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11857
11858 Do not set x-display-name until X connection is established.
11859 This is needed to prevent from weird situation described at
11860 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11861 * frame.el (make-frame): Set x-display-name after call to
11862 window system initialization function, not before.
11863 * term/x-win.el (x-initialize-window-system): Add optional
11864 display argument and use it.
11865 * term/w32-win.el (w32-initialize-window-system):
11866 * term/ns-win.el (ns-initialize-window-system):
11867 * term/pc-win.el (msdos-initialize-window-system):
11868 Add compatible optional display argument.
11869
11870 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11871
11872 * files.el (normal-backup-enable-predicate): On MS-Windows and
11873 MS-DOS compare truenames of temporary-file-directory and of the
11874 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11875 don't fail comparison by compare-strings. Also, compare file
11876 names case-insensitively on MS-Windows and MS-DOS.
11877
11878 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11879
11880 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11881 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11882
11883 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11884
11885 * whitespace.el (whitespace-color-on, whitespace-color-off):
11886 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11887
11888 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11889
11890 * ispell.el (ispell-set-spellchecker-params):
11891 Really set `ispell-args' for all equivs.
11892
11893 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * ido.el (ido-completions): Use extra elements of ido-decorations
11896 (bug#14143).
11897 (ido-decorations): Update docstring.
11898
11899 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11900
11901 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11902 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11903 nil during initialization, in order not to miss changes since the
11904 file was opened. (Bug#14140)
11905
11906 2013-04-05 Leo Liu <sdl.web@gmail.com>
11907
11908 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11909
11910 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11911
11912 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11913
11914 2013-04-04 Glenn Morris <rgm@gnu.org>
11915
11916 * electric.el (electric-pair-inhibit-predicate): Add :version.
11917
11918 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11919
11920 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11921 when a package is required several times (bug#14082).
11922
11923 2013-04-04 Roland Winkler <winkler@gnu.org>
11924
11925 * faces.el (read-face-name): Behave as promised by the docstring.
11926 Assume that arg default is a list of faces.
11927 (describe-face): Call read-face-name with list of default faces.
11928
11929 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11930
11931 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11932 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11933 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11934 the header.
11935 (bookmark-exit-hook-internal): Save even if list is empty.
11936
11937 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11938
11939 * emacs-lisp/package.el (package-pinned-packages): New var.
11940 (package--add-to-archive-contents): Obey it (bug#14118).
11941
11942 2013-04-03 Alan Mackenzie <acm@muc.de>
11943
11944 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11945 Also adapt to the new values of element 7 of a parse state.
11946
11947 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11948 parameter `not-in-delimiter'. Handle being inside comment opener.
11949 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11950 character in case we're typing a '*' after a '/'.
11951 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11952 instead by passing the parameter to c-state-pp-to-literal.
11953
11954 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11955 for elt. 7 of a parse state.
11956
11957 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11958
11959 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11960 * international/latin1-disp.el, international/mule-util.el:
11961 * language/cyril-util.el, language/european.el, language/ind-util.el:
11962 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11963 * language/tibetan.el, language/viet-util.el:
11964 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11965
11966 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11969 (electric-pair-post-self-insert-function): Use it.
11970 (electric-pair-default-inhibit): New function, extracted from
11971 electric-pair-post-self-insert-function.
11972
11973 2013-03-31 Roland Winkler <winkler@gnu.org>
11974
11975 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11976
11977 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11980
11981 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11982
11983 Un-indent after "pass" and "return" statements (Bug#13888)
11984 * progmodes/python.el (python-indent-block-enders): New var.
11985 (python-indent-calculate-indentation): Use it.
11986
11987 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11988
11989 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11990 defun. Defining it as defalias could introduce too eager
11991 byte-compiler optimization. (Bug#14030)
11992
11993 2013-03-30 Chong Yidong <cyd@gnu.org>
11994
11995 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11996
11997 2013-03-30 Leo Liu <sdl.web@gmail.com>
11998
11999 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12000 (kmacro-execute-from-register): Pass the keyboard macro to
12001 kmacro-call-macro or repeating won't work correctly.
12002
12003 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12004
12005 * progmodes/subword.el: Back to using `forward-symbol'.
12006
12007 * subr.el (forward-whitespace, forward-symbol)
12008 (forward-same-syntax): Move from thingatpt.el.
12009
12010 2013-03-29 Leo Liu <sdl.web@gmail.com>
12011
12012 * kmacro.el (kmacro-to-register): New command.
12013 (kmacro-execute-from-register): New function.
12014 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12015
12016 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * mpc.el: Use defvar-local and setq-local.
12019 (mpc--proc-connect): Connection failures are not bugs.
12020 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12021 (mpc-volume-map): Bind to the up-events.
12022
12023 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12024
12025 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12026 instead of `forward-symbol'.
12027
12028 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12029
12030 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12031 (edebug--recursive-edit): Use it.
12032 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12033 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12034
12035 2013-03-28 Leo Liu <sdl.web@gmail.com>
12036
12037 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12038
12039 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12040
12041 * facemenu.el (list-colors-callback): New defvar.
12042 (list-colors-redisplay): New function.
12043 (list-colors-display): Install list-colors-redisplay as the
12044 revert-buffer-function. (Bug#14063)
12045
12046 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12047
12048 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12049 and suffixes don't overlap (bug#14061).
12050
12051 * case-table.el: Use lexical-binding.
12052 (case-table-get-table): New function.
12053 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12054
12055 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12056
12057 * progmodes/subword.el: Add `superword-mode' to do word motion
12058 over symbol_words (parallels and leverages `subword-mode' which
12059 does word motion inside MixedCaseWords).
12060
12061 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12062
12063 * eshell/em-unix.el: Move su and sudo to...
12064 * eshell/em-tramp.el: ...Eshell tramp module.
12065
12066 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12067
12068 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12069 Change return value to be a sexp. Delay `get-buffer' to after
12070 restoring the desktop (bug#13951).
12071
12072 2013-03-26 Leo Liu <sdl.web@gmail.com>
12073
12074 * register.el: Move semantic tag handling back to
12075 cedet/semantic/senator.el. (Bug#14052)
12076
12077 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12078
12079 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12080 into the prompt either (bug#13963).
12081
12082 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12083
12084 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12085 part of "(error-foo)".
12086
12087 2013-03-24 Juri Linkov <juri@jurta.org>
12088
12089 * replace.el (list-matching-lines-prefix-face): New defcustom.
12090 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12091 `occur-engine' if `face-differs-from-default-p' returns t.
12092 (occur-engine): Add `,' inside backquote construct to evaluate
12093 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12094 Pass `prefix-face' to the functions `occur-context-lines' and
12095 `occur-engine-add-prefix'.
12096 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12097 `prefix-face' and propertize the prefix with `prefix-face'.
12098 (Bug#14017)
12099
12100 2013-03-24 Leo Liu <sdl.web@gmail.com>
12101
12102 * nxml/rng-valid.el (rng-validate-while-idle)
12103 (rng-validate-quick-while-idle): Guard against deleted buffer.
12104 (Bug#13999)
12105
12106 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12107 is the last entry in kill-buffer-hook.
12108
12109 * files.el (kill-buffer-hook): Doc fix.
12110
12111 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12112
12113 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12114 Make it safe-local.
12115
12116 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12117
12118 2013-03-23 Leo Liu <sdl.web@gmail.com>
12119
12120 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12121 Remove.
12122
12123 * nxml/rng-valid.el (rng-validate-mode)
12124 (rng-after-change-function, rng-do-some-validation):
12125 * nxml/rng-maint.el (rng-validate-buffer):
12126 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12127 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12128 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12129 (nxml-extend-after-change-region): Use with-silent-modifications.
12130
12131 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12132 timer-idle-list.
12133
12134 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12135 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12136 timer-idle-list. (Bug#13999)
12137
12138 2013-03-23 Juri Linkov <juri@jurta.org>
12139
12140 * info.el (info-index-match): New face.
12141 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12142 main pattern and add text properties with the new face to matches
12143 in index entries relative to the beginning of the index entry.
12144 (Bug#14015)
12145
12146 2013-03-21 Eric Ludlam <zappo@gnu.org>
12147
12148 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12149 Inhibit read only while inserting objects.
12150
12151 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12152
12153 * progmodes/cfengine.el: Update docs to mention
12154 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12155 symbol motion. Remove "_" from the word syntax.
12156
12157 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12158
12159 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12160 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12161
12162 2013-03-20 Juri Linkov <juri@jurta.org>
12163
12164 * info.el (Info-next-reference-or-link)
12165 (Info-prev-reference-or-link): New functions.
12166 (Info-next-reference, Info-prev-reference): Use them.
12167 (Info-try-follow-nearest-node): Handle footnote navigation.
12168 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12169
12170 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12173 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12174
12175 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12176
12177 Suppress unnecessary non-ASCII chatter during build process.
12178 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12179 (batch-skkdic-convert): Suppress most of the chatter.
12180 It's not needed so much now that machines are faster,
12181 and its non-ASCII component was confusing; see Dmitry Gutov in
12182 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12183
12184 2013-03-20 Leo Liu <sdl.web@gmail.com>
12185
12186 * ido.el (ido-chop): Fix bug#10994.
12187
12188 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12189
12190 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12191 Remove vars.
12192 (whitespace-color-on, whitespace-color-off):
12193 Use `font-lock-fontify-buffer' (Bug#13817).
12194
12195 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12196
12197 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12198 remapping in mode-line.
12199 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12200
12201 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12202
12203 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12204 value for `whitespace-line' face (Bug#13875).
12205 (whitespace-font-lock-keywords): Change description.
12206 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12207 the constructed keywords instead.
12208 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12209
12210 2013-03-19 Leo Liu <sdl.web@gmail.com>
12211
12212 * progmodes/compile.el (compilation-display-error): New command.
12213 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12214 C-o. (Bug#13992)
12215
12216 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12217
12218 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12219
12220 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12221
12222 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12223
12224 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12225
12226 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12227
12228 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12229 * net/tramp-gvfs.el (top):
12230 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12231 (tramp-handle-shell-command): Use it.
12232 (tramp-dissect-file-name): Raise an error when hostname is a
12233 method name, and neither method nor user is specified.
12234
12235 * net/trampver.el: Update release number.
12236
12237 2013-03-18 Leo Liu <sdl.web@gmail.com>
12238
12239 Make sure eldoc can be turned off properly.
12240 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12241 eldoc-mode.
12242 (eldoc-display-message-p): Revert last change.
12243 (eldoc-display-message-no-interference-p)
12244 (eldoc-print-current-symbol-info): Tweak.
12245
12246 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12247
12248 * doc-view.el (doc-view-new-window-function): Check the new window
12249 overlay's display property instead the char property of the
12250 buffer's first char. Use `with-selected-window' instead of
12251 `save-window-excursion' with `select-window'.
12252 (doc-view-document->bitmap): Check the current doc-view overlay's
12253 display property instead the char property of the buffer's first char.
12254
12255 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12256
12257 Automate the build of ja-dic.el (Bug#13984).
12258 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12259 from the input, rather than assume that it's been done for us by the
12260 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12261 the current date into a ja-dic.el comment, as that complicates
12262 regression testing.
12263
12264 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * whitespace.el: Fix double evaluation.
12267 (whitespace-space, whitespace-hspace, whitespace-tab)
12268 (whitespace-newline, whitespace-trailing, whitespace-line)
12269 (whitespace-space-before-tab, whitespace-indentation)
12270 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12271 obsolete defvars.
12272 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12273 (whitespace-color-on): Use a single font-lock-add-keywords call.
12274 Fix double-evaluation of face variables.
12275
12276 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12277
12278 * net/tramp-adb.el (tramp-adb-parse-device-names):
12279 Use `start-process' instead of `call-process'. Otherwise, the
12280 function might be blocked under MS Windows. (Bug#13299)
12281
12282 2013-03-17 Leo Liu <sdl.web@gmail.com>
12283
12284 Extend eldoc to display info in the mode-line. (Bug#13978)
12285 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12286 (eldoc-mode-line-string): New variable.
12287 (eldoc-minibuffer-message): New function.
12288 (eldoc-message-function): New variable.
12289 (eldoc-message): Use it.
12290 (eldoc-display-message-p)
12291 (eldoc-display-message-no-interference-p):
12292 Support eldoc-post-insert-mode.
12293
12294 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12295 (eval-expression): Run it.
12296
12297 2013-03-17 Roland Winkler <winkler@gnu.org>
12298
12299 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12300 strings in the list of return values.
12301
12302 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12303
12304 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12305 radix before checking for HMS forms.
12306
12307 2013-03-16 Leo Liu <sdl.web@gmail.com>
12308
12309 * progmodes/scheme.el: Add indentation and font-locking for λ.
12310 (Bug#13975)
12311
12312 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12315 token before point (bug#13942).
12316
12317 2013-03-16 Leo Liu <sdl.web@gmail.com>
12318
12319 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12320
12321 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12322
12323 * startup.el (command-line-normalize-file-name): Fix handling of
12324 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12325 <xfq.free@gmail.com> in
12326 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12327
12328 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12329
12330 Sync with Tramp 2.2.7.
12331
12332 * net/trampver.el: Update release number.
12333
12334 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12335
12336 * doc-view.el: Fix bug#13887.
12337 (doc-view-insert-image): Don't modify overlay associated to
12338 non-live windows, and implement horizontal centering of image in
12339 case it's smaller than the window.
12340 (doc-view-new-window-function): Force redisplay of new windows on
12341 doc-view buffers.
12342
12343 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12344
12345 * saveplace.el (save-place-alist-to-file): Don't sort
12346 `save-place-alist', just pretty-print it (bug#13882).
12347
12348 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12349
12350 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12351 Check whether `default-file-name-coding-system' is bound.
12352 It isn't in XEmacs.
12353
12354 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12357 backquotes for `obsolete' (bug#13929).
12358
12359 * international/mule.el (find-auto-coding): Include file name in
12360 obsolescence warning (bug#13922).
12361
12362 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12363
12364 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12365 for CFEngine 3-specific indentation.
12366 (cfengine3-indent-line): Use it. Fix up category regex.
12367 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12368
12369 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12370
12371 * type-break.el (type-break-file-name):
12372 * textmodes/remember.el (remember-data-file):
12373 * strokes.el (strokes-file):
12374 * shadowfile.el (shadow-initialize):
12375 * saveplace.el (save-place-file):
12376 * ps-bdf.el (bdf-cache-file):
12377 * progmodes/idlwave.el (idlwave-config-directory):
12378 * net/quickurl.el (quickurl-url-file):
12379 * international/kkc.el (kkc-init-file-name):
12380 * ido.el (ido-save-directory-list-file):
12381 * emulation/viper.el (viper-custom-file-name):
12382 * emulation/vip.el (vip-startup-file):
12383 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12384 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12385
12386 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12387
12388 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12389 * language/thai-word.el: Switch to UTF-8.
12390
12391 See ChangeLog.16 for earlier changes.
12392
12393 ;; Local Variables:
12394 ;; coding: utf-8
12395 ;; End:
12396
12397 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12398
12399 This file is part of GNU Emacs.
12400
12401 GNU Emacs is free software: you can redistribute it and/or modify
12402 it under the terms of the GNU General Public License as published by
12403 the Free Software Foundation, either version 3 of the License, or
12404 (at your option) any later version.
12405
12406 GNU Emacs is distributed in the hope that it will be useful,
12407 but WITHOUT ANY WARRANTY; without even the implied warranty of
12408 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12409 GNU General Public License for more details.
12410
12411 You should have received a copy of the GNU General Public License
12412 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.