Fixes for emacs-repository-get-version
[bpt/emacs.git] / lisp / ChangeLog
1 2014-01-22 Glenn Morris <rgm@gnu.org>
2
3 * version.el (emacs-repository-get-version):
4 Check either .bzr or .git, but not both.
5 Make the git case actually use the DIR argument, and return nil
6 rather than the empty string.
7
8 2014-01-22 Martin Rudalics <rudalics@gmx.at>
9
10 Fixes in window size functions around Bug#16430 and Bug#16470.
11 * window.el (window-total-size, window-size): New argument
12 ROUND.
13 (window--min-delta-1, window-min-delta, window--max-delta-1): Be
14 more conservative when calculating the numbers of lines or
15 columns a window can shrink (Bug#16430).
16 (fit-window-to-buffer): Simplify code.
17 * term.el (term-window-width): Call window-body-width again.
18
19 2014-01-22 Glenn Morris <rgm@gnu.org>
20
21 * image.el (image-format-suffixes): Doc fix.
22
23 * international/quail.el (quail-define-package): Doc fix.
24
25 * emacs-lisp/authors.el (authors-valid-file-names):
26 (authors-renamed-files-alist): Additions.
27
28 * vc/vc-git.el (vc-git-print-log): Remove --follow;
29 reverts 2014-01-09 change. (Bug#16422)
30
31 * calc/calc-embed.el (thing-at-point-looking-at):
32 * emacs-lisp/map-ynp.el (x-popup-dialog):
33 * obsolete/lmenu.el (x-popup-dialog):
34 * emacs-lisp/package.el (url-recreate-url):
35 * mail/mailclient.el (clipboard-kill-ring-save):
36 * subr.el (x-popup-dialog): Update declaration.
37 * mail/rmail.el (rmail-mime-message-p):
38 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
39
40 2014-01-21 Daniel Colascione <dancol@dancol.org>
41
42 * progmodes/sh-script.el (sh--inside-noncommand-expression):
43 Correctly detect when we're inside an arithmetic expansion form
44 containing nested parenthesis.
45 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
46 to detect cases where we shouldn't expand "<<" to a heredoc
47 skeleton.
48
49 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
52 (eldoc--message-command-p): New function.
53 (eldoc-display-message-p): Use it.
54 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
55 message is not automatically erased for us.
56 (eldoc-print-current-symbol-info): Erase previous message, if any.
57
58 2014-01-21 Tassilo Horn <tsdh@gnu.org>
59
60 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
61 specify it's an interactive function.
62
63 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
64 Fix regex used for scanning for citation keys which failed for
65 citations with optional arguments.
66
67 2014-01-21 Leo Liu <sdl.web@gmail.com>
68
69 * simple.el (read--expression): Don't enable eldoc-mode.
70
71 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * simple.el (move-beginning-of-line): Make sure we don't move forward
74 (bug#16497).
75
76 2014-01-20 Juri Linkov <juri@jurta.org>
77
78 * saveplace.el (toggle-save-place, save-place-to-alist)
79 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
80 'dired-mode) before checking for dired-directory. (Bug#16477)
81
82 2014-01-20 Juri Linkov <juri@jurta.org>
83
84 * indent.el (indent-line-to): Use backward-to-indentation
85 instead of back-to-indentation. (Bug#16461)
86
87 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
88
89 Revert some of the CANNOT_DUMP fix (Bug#16494).
90 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
91 but fixing this can wait until after the next release.
92 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
93
94 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
95
96 * eshell/esh-mode.el (eshell-password-prompt-regexp):
97 Use `password-word-equivalents'.
98 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
99 to t. (Bug#5664, Bug#13124)
100
101 2014-01-19 Alan Mackenzie <acm@muc.de>
102
103 Bind open-paren-in-column-0-is-defun-start to nil at some entry
104 points.
105 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
106 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
107 * progmodes/cc-mode.el (c-before-change, c-after-change)
108 (c-font-lock-fontify-region): Bind it here.
109
110 2014-01-19 Martin Rudalics <rudalics@gmx.at>
111
112 * term.el (term-window-width): Call window-text-width instead of
113 window-width (Bug#16470).
114
115 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
116
117 * simple.el (password-word-equivalents): Remove duplicates.
118 Sort, to make this easier next time.
119 Downcase. Omit ": " after "jelszó".
120
121 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
122
123 * term/common-win.el (saved-region-selection): Defvar it.
124 (x-select-text): Set saved-region-selection (Bug#16382).
125
126 2014-01-18 Glenn Morris <rgm@gnu.org>
127
128 * emacs-lisp/authors.el (authors-aliases)
129 (authors-renamed-files-alist): Add some entries.
130
131 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
132
133 * net/tramp.el (tramp-password-prompt-regexp):
134 Use `password-word-equivalents' if available.
135 (tramp-action-password, tramp-process-one-action)
136 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
137
138 2014-01-17 Chong Yidong <cyd@gnu.org>
139
140 * simple.el (password-word-equivalents): New defcustom.
141 * comint.el (comint-password-prompt-regexp): Use it. Bump version
142 to 24.4.
143 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
144 to t. (Bug#13124)
145
146 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
149 (ruby-align-to-stmt-keywords): Change the default value.
150 Use `ruby-alignable-keywords' to generate the possible customization
151 choices.
152 (ruby-smie-rules): Instead of using a hardcoded list of alignable
153 keywords, check against the value of `ruby-alignable-keywords'
154 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
155
156 2014-01-17 Glenn Morris <rgm@gnu.org>
157
158 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
159
160 Make M-x authors return zero *Authors Errors* from current logs.
161 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
162 (authors-ignored-files): Add some entries, remove others.
163 (authors-ambiguous-files, authors-valid-file-names):
164 Add some entries.
165 (authors-renamed-files-alist): Add, remove, and adjust entries.
166 (authors-renamed-files-regexps): Add some entries.
167 Remove some very broad ones. Make some entries `lax'.
168 (authors-lax-changelogs): New constant.
169 (authors-disambiguate-file-name): Treat top-level specially.
170 (authors-lax-changelog-p): New function.
171 (authors-canonical-file-name): Check file as written against
172 authors-valid-file-names. Do not special-case etc/.
173 Handle `lax' logs and authors-renamed-files-regexps elements.
174
175 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
176
177 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
178 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
179 callers.
180
181 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
184 Assume we're already in the proper buffer.
185 Inspired by Anders Lindgren <andlind@gmail.com>.
186 (follow-post-command-hook): Call it from the right buffer.
187 (follow-comint-scroll-to-bottom): Adjust call.
188 (follow-all-followers): Use get-buffer-window-list.
189
190 2014-01-15 Daniel Colascione <dancol@dancol.org>
191
192 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
193 `buffer-file-name' in interactive-form so that we don't leave
194 pathless file names in `file-name-history'.
195
196 2014-01-15 Juri Linkov <juri@jurta.org>
197
198 * indent.el (indent-rigidly): Set deactivate-mark to nil
199 in transient indentation mode. (Bug#16438)
200
201 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
202
203 * emacs-lisp/package.el (package-desc-keywords): New function
204 (Bug#16222).
205 (describe-package-1, package-all-keywords)
206 (package--has-keyword-p): Use it.
207
208 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
209
210 * simple.el (define-alternatives): When creating the
211 COMMAND-alternatives variable, assign COMMAND as its definition
212 name so that `describe-variable' can relocate it.
213
214 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
215
216 * font-lock.el (font-lock-keywords): Fix typo in docstring
217 (bug#16307).
218
219 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
220
221 * ispell.el (ispell-region): Reset `in-comment' for new line
222 instead of wrongly reset `add-coment' (bug#13577).
223
224 2014-01-14 Daiki Ueno <ueno@gnu.org>
225
226 * epa-file.el (epa-file-write-region): Encode the region according
227 to `buffer-file-format'. Problem reported at:
228 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
229
230 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
233 so it applies in the right buffer (bug#16410).
234
235 2014-01-13 Daniel Colascione <dancol@dancol.org>
236
237 * textmodes/rst.el (rst-define-key): Provide deprecated
238 keybindings through named functions instead of anonymous ones so
239 that "??" doesn't appear in describe-mode output.
240
241 2014-01-13 Bastien Guerry <bzg@gnu.org>
242
243 * simple.el (define-alternatives): Call the selected command
244 interactively. When setting `COMMAND--implementation' for the
245 first time, tell the user how to chose another implementation.
246 Enhance the docstring.
247
248 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
251 (log-edit--match-first-line): New function.
252 (log-edit-font-lock-keywords): Use it.
253 (log-edit-mode): Make jit-lock-defer-multiline work.
254
255 2014-01-13 Bastien Guerry <bzg@gnu.org>
256
257 * rect.el (rectangle-mark-mode): When the region is not active,
258 display a message saying that the mark as been set and that
259 rectangle mode is in use.
260 (rectangle--highlight-for-redisplay): Only put an overlay with a
261 visible vertical bar when (display-graphic-p) is non-nil.
262 This partially fixes Bug#16403.
263
264 2014-01-13 Juri Linkov <juri@jurta.org>
265
266 * info.el (Info-find-file): Go to DIR before displaying the error
267 about a nonexistent file if no previous Info file is visited.
268 Use `user-error' instead of `error' for "Info file %s does not exist".
269 (Info-find-node-2): In case of a nonexistent node in unwind forms
270 go to the Top node if there is no previous node to revert to.
271 (Bug#16405)
272
273 2014-01-13 Martin Rudalics <rudalics@gmx.at>
274
275 fit-frame/window-to-buffer code fixes including one for Bug#14096.
276 * window.el (fit-frame-to-buffer): Fix doc-string.
277 Respect window-min-height/-width. Fit pixelwise when
278 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
279 when avoiding that frame goes partially off-screen.
280 (fit-window-to-buffer): Respect window-min-height/-width
281 (Bug#14096).
282
283 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
286 after an empty line.
287
288 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * net/shr.el (shr-render-region): Autoload.
291
292 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
293
294 * net/eww.el (eww-download-directory): Rename from
295 `eww-download-path' (Bug#16419).
296
297 2014-01-12 Leo Liu <sdl.web@gmail.com>
298
299 * dired-x.el (dired-mode-map): Fix last change.
300
301 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
302
303 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
304
305 Spelling fixes.
306 * emacs-lisp/generic.el (generic--normalize-comments):
307 Rename from generic--normalise-comments. All uses changed.
308 * play/bubbles.el (bubbles--neighborhood-score):
309 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
310 (bubbles--neighborhood-available)
311 (bubbles--update-neighborhood-score):
312 Rename from names with 'neighbourhood'. All uses changed.
313
314 2014-01-12 Leo Liu <sdl.web@gmail.com>
315
316 Re-implement the feature of showing eldoc info after editing.
317 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
318 (eldoc-edit-message-commands): New function.
319 (eldoc-print-after-edit): New variable.
320 (eldoc-pre-command-refresh-echo-area): Emit message only by
321 eldoc-message-commands.
322 (eldoc-mode): Restrict eldoc-message-commands to editing commands
323 if eldoc-print-after-edit is set. (Bug#16346)
324 * simple.el (read--expression): Enable eldoc-mode.
325 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
326
327 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
328
329 * version.el (emacs-repository-get-version): Enhance so the
330 function works correctly in either a Bazaar or Git repo.
331
332 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
333 Goes with removal of the joke manpages from /etc.
334
335 2014-01-10 K. Handa <handa@gnu.org>
336
337 * mail/rmail.el (rmail-get-coding-system):
338 Check rmail-get-coding-function before "funcall"ing it.
339
340 2014-01-10 Glenn Morris <rgm@gnu.org>
341
342 * emacs-lisp/authors.el (authors-fixed-entries):
343 Update for files that no longer exist.
344
345 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
346
347 * version.el (emacs-bzr-get-version): Restore compatibilty with
348 24.3 (Tested).
349
350 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
351
352 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
353 and Podfile.
354
355 2014-01-10 Eli Zaretskii <eliz@gnu.org>
356
357 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
358
359 2014-01-10 Chong Yidong <cyd@gnu.org>
360
361 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
362
363 2014-01-10 Anders Lindgren <andlind@gmail.com>
364
365 * follow.el (follow-cache-command-list): Include right-char and
366 left-char.
367
368 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
369
370 Spelling fixes.
371 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
372 * woman.el (woman-mark-horizontal-position):
373 Rename from woman-mark-horizonal-position. Use changed.
374
375 2014-01-10 Glenn Morris <rgm@gnu.org>
376
377 * info.el (info-initialize): If running uninstalled, ensure our
378 own info files are always found first, even if INFOPATH is set.
379
380 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
381
382 2014-01-09 David Engster <deng@randomsample.de>
383
384 * emacs-lisp/eieio-custom.el:
385 * emacs-lisp/eieio-opt.el: Set generated autoload file to
386 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
387 * emacs-lisp/eieio.el: Regenerate autoloads.
388
389 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
390
391 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
392 following renames. (Bug#8756)
393
394 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
397 (bug#16382).
398 (activate-mark): Add `no-tmm' argument.
399 (set-mark, push-mark-command): Use it instead of running
400 activate-mark-hook by hand.
401
402 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
403
404 In preparation for the move to git, sanitize out some
405 Bazaar-specific names.
406
407 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
408
409 * version.el (emacs-bzr-version): Name changed to
410 emacs-repository-version. Obsolete-variable alias made.
411 * loadup.el: Follow through on this name change.
412 * mail/emacsbug.el (report-emacs-bug): Factor out any
413 assumption about the version control system in use.
414
415 2014-01-08 David Engster <deng@randomsample.de>
416
417 * help-fns.el (help-fns-describe-function-functions):
418 New variable to call functions for augmenting help buffers.
419 (describe-function-1): Remove explicit calls to
420 `help-fns--compiler-macro', `help-fns--parent-mode' and
421 `help-fns--obsolete'. Put them in above new variable instead, and
422 call them through `run-hook-with-args'.
423 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
424 `eieio-describe-class'. Not meant for interactive use anymore,
425 but to augment existing help buffers. Remove optional second
426 argument. Create proper button for file location.
427 Rewrite function to use `insert' instead of `princ' and `prin1' where
428 possible.
429 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
430 (eieio-method-def, eieio-class-def): Move further up.
431 (describe-method, describe-generic, eieio-describe-method):
432 Remove aliases.
433 (eieio-help-constructor, eieio-help-generic): Rename from
434 `eieio-describe-constructor' and `eieio-describe-generic', resp.
435 Rewrite to use `insert' in the current buffer and use proper help
436 buttons.
437 (eieio-help-find-method-definition)
438 (eieio-help-find-class-definition): Also accept symbols as
439 arguments.
440 (eieio-help-mode-augmentation-maybee): Remove.
441 (eieio-describe-class-sb): Use `describe-function'.
442 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
443 Add `eieio-help-generic' and `eieio-help-constructor'.
444
445 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
446
447 Spelling fixes.
448 * language/china-util.el (hz-ascii-designation):
449 Rename from hz-ascii-designnation.
450 (hz-ascii-designation): Rename from hz-ascii-designnation.
451 All uses changed.
452
453 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
456 package-alist.
457
458 2014-01-08 Bastien Guerry <bzg@gnu.org>
459
460 * emacs-lisp/package.el (package-delete):
461 Correctly delete the package from package-alist.
462
463 2014-01-08 Daiki Ueno <ueno@gnu.org>
464
465 * emacs-lisp/package.el (url-recreate-url): Declare.
466 (url-http-target-url): Declare.
467 (package-handle-response): Include requested URL in the error message.
468 (package--check-signature): Don't re-signal errors from
469 package--with-work-buffer. Suggested by Stefan Monnier.
470
471 2014-01-07 Bastien Guerry <bzg@gnu.org>
472
473 * minibuffer.el (completion--try-word-completion): When both a
474 hyphen and a space are possible candidates for the character
475 following a word, display both candidates. (Bug#15980)
476
477 2014-01-07 Martin Rudalics <rudalics@gmx.at>
478
479 * window.el (balance-windows-2): While rounding don't give a
480 window more than the remainder. Bug#16351, Bug#16383.
481
482 2014-01-07 Glenn Morris <rgm@gnu.org>
483
484 * menu-bar.el (menu-bar-help-extra-packages): Remove.
485 (menu-bar-help-menu): Use view-external-packages instead.
486
487 2014-01-07 Bastien Guerry <bzg@gnu.org>
488
489 * emacs-lisp/package.el (package-delete): Also delete the package
490 name from `package-alist', not its description only.
491
492 2014-01-07 Glenn Morris <rgm@gnu.org>
493
494 * help.el (view-external-packages):
495 * menu-bar.el (menu-bar-help-extra-packages):
496 Visit efaq.info rather than etc/MORE.STUFF.
497
498 2014-01-07 Juri Linkov <juri@jurta.org>
499
500 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
501 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
502
503 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
504 that shadows RET. (Bug#16342)
505
506 2014-01-07 Chong Yidong <cyd@gnu.org>
507
508 * isearch.el (isearch-yank-char, isearch-yank-word)
509 (isearch-yank-line): Doc fix.
510
511 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
514 * emacs-lisp/elint.el (elint-find-builtins):
515 * emacs-lisp/eldoc.el (eldoc-symbol-function):
516 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
517 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
518 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
519 * apropos.el (apropos-safe-documentation):
520 * subr.el (symbol-file): Remove redundant fboundp.
521 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
522
523 2014-01-06 Bastien Guerry <bzg@gnu.org>
524
525 * hl-line.el (global-hl-line-overlay): Make a local variable.
526 (global-hl-line-overlays): New variable to store all overlays.
527 (global-hl-line-mode): Don't delete overlays from the current
528 buffer when `global-hl-line-sticky-flag' is non-nil.
529 (global-hl-line-highlight): Add new overlays to
530 `global-hl-line-overlays'.
531 (global-hl-line-unhighlight-all): New function to delete all
532 overlays when turning off `global-hl-line-mode'.
533 This fixes Bug#16183.
534
535 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * subr.el (set-transient-map): Fix nested case and docstring.
538
539 2014-01-06 Tassilo Horn <tsdh@gnu.org>
540
541 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
542 `Texinfo' entry.
543
544 2014-01-06 Daniel Colascione <dancol@dancol.org>
545
546 Fix defun navigation in vc log view.
547
548 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
549 like `beginning-of-defun'.
550 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
551 log-view-end-of-defun to log-view-end-of-defun-1. Replace
552 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
553 (log-view-extract-comment): Call `log-view-current-entry' directly
554 instead of relying on broken `log-view-beginning-of-defun' behavior.
555
556 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
557
558 Spelling fixes.
559 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
560 * emacs-lisp/debug.el (cancel-debug-on-entry):
561 * epg.el (epg-error-to-string):
562 * files.el (recover-file):
563 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
564 * mail/emacsbug.el (report-emacs-bug-hook):
565 * mail/sendmail.el (mail-recover):
566 * ses.el (ses-yank-resize):
567 * term/ns-win.el (ns-print-buffer):
568 Spelling fixes in diagnostics, mostly for "canceled" with one L.
569 * epg.el (epg-key-capability-alist): Rename from misspelled version.
570 All uses changed.
571 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
572
573 2014-01-06 Leo Liu <sdl.web@gmail.com>
574
575 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
576 to avoid shadowing global key. (Bug#16354)
577
578 2014-01-06 Daniel Colascione <dancol@dancol.org>
579
580 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
581 rst-mode.
582
583 2014-01-05 Martin Rudalics <rudalics@gmx.at>
584
585 * window.el (balance-windows): Add mising t to fix Bug#16351.
586
587 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
588
589 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
590 (bug#16285).
591 (shr-insert): If we have a word that's longer than `shr-width',
592 break after it anyway. Otherwise we'll do no breaking once we get
593 such a long word.
594
595 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
596
597 * net/eww.el (eww): Support single/double quote for search.
598 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
599 (eww-history-quit): Delete and use quit-window.
600 (eww-history-kill): Delete, because it doesn't work well and
601 not necessary.
602 (eww-history-mode-map): Delete some keys and add easy-menu.
603
604 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
605
606 Fix misspelling of 'chinese' in rx (Bug#16237).
607 * emacs-lisp/rx.el (rx-categories): Correct spelling of
608 chinese-two-byte.
609
610 Change subword regexps back to vars (Bug#16296).
611 * progmodes/subword.el (subword-forward-regexp)
612 (subword-backward-regexp): Change these back to variables.
613
614 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
617 syntax-begin-function (bug#16247).
618
619 2014-01-03 Chong Yidong <cyd@gnu.org>
620
621 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
622 (advice--docstring): Delete variable.
623 (advice--make-1): Leave the docstring empty.
624 (advice-add): Use function-documentation for advised docstring.
625
626 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
627 Ignore function-documentation property when getting documentation.
628 (ad-activate-advised-definition): Use function-documentation
629 generate the docstring.
630 (ad-make-advised-definition): Don't call
631 ad-make-advised-definition-docstring.
632 (ad-make-advised-definition-docstring, ad-advised-definition-p):
633 Delete functions.
634
635 * progmodes/sql.el (sql-help): Use function-documentation instead
636 of dynamic-docstring-function property. No need to autoload now.
637 (sql--help-docstring): New variable.
638 (sql--make-help-docstring): Use it.
639
640 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
641
642 * ielm.el (ielm-tab): Retarget.
643 (ielm-map): Use ielm-tab for tab.
644 (ielm-complete-filename): Use comint-filename-completion.
645 (ielm-complete-symbol): Remove.
646 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
647 remove ielm-tab from completion-at-point-functions (bug#16224).
648
649 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
650 Beware signals raised by predicates (bug#16201).
651
652 2014-01-02 Richard Stallman <rms@gnu.org>
653
654 * dired-aux.el (dired-do-print): Handle printer-name.
655
656 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
657 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
658 (rmail-epa-decrypt): Turn off mime processing.
659
660 * mail/rmail.el (rmail-make-in-reply-to-field):
661 Add parens in message-id.
662
663 * mail/rmail.el (rmail-get-coding-function): Variable.
664 (rmail-get-coding-system): Use it.
665
666 2013-12-31 Eli Zaretskii <eliz@gnu.org>
667
668 * international/mule-conf.el: Unify the charset indian-is13194.
669 (indian-is13194): Specify unify-map.
670
671 2013-12-31 Leo Liu <sdl.web@gmail.com>
672
673 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
674
675 2013-12-30 Daniel Colascione <dancol@dancol.org>
676
677 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
678 of printing a useless when we resume from sleep.
679
680 * progmodes/sh-script.el
681 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
682 in indentation code. (Bug#16233)
683
684 2013-12-28 João Távora <joaotavora@gmail.com>
685
686 * elec-pair.el (electric-pair-post-self-insert-function):
687 Don't open extra newlines at beginning of buffer. (Bug#16272)
688
689 2013-12-28 Eli Zaretskii <eliz@gnu.org>
690
691 * frame.el (window-system-for-display): Don't allow to create a
692 GUI frame from a -nw session on MS-Windows. (Bug#14739)
693
694 2013-12-28 Glenn Morris <rgm@gnu.org>
695
696 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
697 Update callers.
698
699 * apropos.el (apropos-match-face):
700 * calculator.el (calculator-displayer):
701 * dabbrev.el (dabbrev-search-these-buffers-only):
702 * face-remap.el (buffer-face-mode-face):
703 * simple.el (yank-handled-properties):
704 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
705 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
706 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
707 (hashcash-double-spend-database):
708 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
709 (ruby-deep-indent-paren-style):
710 * textmodes/flyspell.el (flyspell-auto-correct-binding):
711 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
712 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
713 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
714 Specify custom types.
715
716 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
717 * bookmark.el (bookmark-bmenu-use-header-line):
718 * doc-view.el (doc-view-scale-internally):
719 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
720 * register.el (register-preview-delay):
721 * net/shr.el (shr-bullet):
722 * progmodes/cfengine.el (cfengine-cf-promises)
723 (cfengine-parameters-indent):
724 * progmodes/octave.el (inferior-octave-error-regexp-alist):
725 * textmodes/reftex-vars.el (reftex-label-regexps):
726 * vc/log-edit.el (log-edit-setup-add-author): Add version.
727
728 * net/tls.el (tls-certtool-program): Fix default value.
729
730 * desktop.el (desktop-restore-in-current-display):
731 * newcomment.el (comment-empty-lines):
732 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
733 (idlwave-pad-keyword):
734 * progmodes/tcl.el (tcl-tab-always-indent):
735 * textmodes/reftex-vars.el (reftex-index-default-tag):
736 * elec-pair.el (electric-pair-skip-whitespace):
737 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
738
739 * emacs-lisp/authors.el (authors-ignored-files)
740 (authors-valid-file-names, authors-renamed-files-alist): Additions.
741
742 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
743
744 * shell.el (shell-dynamic-complete-command): Doc fix.
745 (shell--command-completion-data): Shell completion now matches
746 executable filenames from the current buffer's directory, on
747 systems in which this behavior is the default (windows-nt, ms-dos).
748
749 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
750
751 * net/shr.el (shr-insert): Don't infloop if the width is zero.
752
753 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
756 (bug#16251).
757
758 * electric.el: Move all electric-pair-* to elec-pair.el.
759 * elec-pair.el: New file, split from electric.el.
760
761 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
762
763 * net/shr.el (shr-find-fill-point): Don't try to fill if the
764 indentation level is larger than the width, because that will
765 infloop.
766 (shr-insert): Fill repeatedly long texts, so that Japanese is
767 formatted correctly (bug#16263).
768 (shr-find-fill-point): Off by one error in comparison with the
769 indentation.
770
771 2013-12-26 João Távora <joaotavora@gmail.com>
772
773 * electric.el (electric-pair-mode): More flexible engine for skip-
774 and inhibit predicates, new options for pairing-related functionality.
775 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
776 if that keeps or improves their balance in buffers.
777 (electric-pair-delete-adjacent-pairs): Delete the pair when
778 backspacing over adjacent matched delimiters.
779 (electric-pair-open-extra-newline): Open extra newline when
780 inserting newlines between adjacent matched delimiters.
781 (electric--sort-post-self-insertion-hook):
782 Sort post-self-insert-hook according to priority values when
783 minor-modes are activated.
784 * simple.el (newline-and-indent): Call newline with interactive
785 set to t.
786 (blink-paren-post-self-insert-function): Set priority to 100.
787 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
788 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
789 comments. Locally set electric-pair-skip-whitespace to 'chomp and
790 electric-pair-open-newline-between-pairs to nil.
791
792 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
793
794 * progmodes/python.el: Use lexical-binding.
795 (python-nav-beginning-of-defun): Stop searching ASAP.
796
797 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
798
799 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
800 Fix interactive spec. Doc fix. (Bug#15754)
801
802 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
803
804 * emacs-lisp/byte-run.el (eval-when-compile):
805 * progmodes/cc-defs.el (cc-eval-when-compile):
806 Fix edebug spec (bug#16184).
807
808 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
809
810 * net/shr.el (shr-visit-file): Remove debugging function.
811 (shr-insert): Don't infloop if we can't find a good place to break
812 the line (bug#16256).
813
814 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
815
816 * progmodes/python.el:
817 (python-nav--lisp-forward-sexp): New function.
818 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
819 python-nav-lisp-forward-sexp-safe.
820 (python-nav--forward-sexp): New argument SAFE allows switching
821 forward sexp movement behavior for parens.
822 (python-nav-forward-sexp): Throw errors on unterminated parens
823 (Bug#16191).
824 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
825 (python-nav-backward-sexp-safe): New functions.
826 (python-shell-buffer-substring):
827 Use `python-nav-forward-sexp-safe'.
828
829 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
830
831 * net/shr.el (shr-find-fill-point): Don't break lines before a
832 quotation mark.
833 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
834 (shr-find-fill-point): Remove the special checks for the quotation
835 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
836
837 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
838
839 * net/eww.el (eww-form-textarea): Use a different face for
840 textareas than text input since they have different keymaps
841 (bug#16142).
842
843 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
844
845 * progmodes/python.el (python-nav-beginning-of-statement):
846 Speed up (Bug#15295).
847
848 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
849
850 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
851 the window configuration.
852
853 2013-12-24 Eli Zaretskii <eliz@gnu.org>
854
855 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
856 we run on MS-Windows or MS-DOS.
857
858 2013-12-24 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (balance-windows-area): Call window-size instead of
861 window-height and window-width. Bug#16241.
862
863 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
864
865 * net/eww.el (eww-bookmark-quit): Remove.
866 (eww-bookmark-browse): Restore the window configuration when you
867 choose a bookmark (bug#16144).
868
869 2013-12-24 Daniel Colascione <dancol@dancol.org>
870
871 * icomplete.el: Remove redundant :group arguments to `defcustom'
872 throughout.
873 (icomplete-show-matches-on-no-input): New customizable variable.
874 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
875 we have something to show.
876 (icomplete-exhibit): Compute completions even if we have no user input.
877
878 2013-12-23 Daniel Colascione <dancol@dancol.org>
879
880 * icomplete.el: Move `provide' to end of file.
881
882 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
883
884 * net/gnutls.el (gnutls-verify-error): Add version tag.
885
886 2013-12-23 Chong Yidong <cyd@gnu.org>
887
888 * subr.el (set-transient-map): Rename from
889 set-temporary-overlay-map. Doc fix.
890
891 * face-remap.el (text-scale-adjust):
892 * indent.el (indent-rigidly):
893 * kmacro.el (kmacro-call-macro):
894 * minibuffer.el (minibuffer-force-complete):
895 * repeat.el (repeat):
896 * simple.el (universal-argument--mode):
897 * calendar/todo-mode.el (todo-insert-item--next-param):
898 * progmodes/f90.el (f90-abbrev-start): Callers changed.
899
900 * indent.el (indent-rigidly): Use substitute-command-keys.
901
902 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
903
904 * net/eww.el (eww-tag-select): Add text-property to jump to next
905 select field.
906 (eww): Add non-supported ftp error.
907
908 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
909
910 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
911 comments. Handle electric indent after typing `?' and `!'.
912
913 2013-12-22 Chong Yidong <cyd@gnu.org>
914
915 * faces.el (face-spec-recalc): If the theme specs are not
916 applicable to a frame, fall back on the defface spec.
917 This prevents themes from obliterating faces on low-color terminals.
918
919 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
920
921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
922 after `{'. We need it after block openers, and it doesn't seem
923 to hurt after hash openers.
924
925 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
926
927 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
928 extracted from `ruby-smie-rules'.
929 (ruby--electric-indent-chars): New variable.
930 (ruby--electric-indent-p): New function.
931 (ruby-mode): Use `electric-indent-functions' instead of
932 `electric-indent-chars'.
933
934 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
935
936 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
937 docstring.
938 (ruby-smie-rules): Indent plus one level after `=>'.
939
940 2013-12-21 Richard Stallman <rms@gnu.org>
941
942 * simple.el (newline): Doc fix.
943
944 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
945
946 * net/eww.el (eww-list-histories, eww-list-histories)
947 (eww-history-browse, eww-history-quit, eww-history-kill)
948 (eww-history-mode-map, eww-history-mode): New command and
949 functions to list browser histories.
950 (eww-form-text): Support text form with disabled
951 and readonly attributes.
952 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
953
954 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
955
956 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
957 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
958 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
959 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
960 Use `user-error'.
961 (eww-bookmark-mode-map): Add menu.
962 (eww-render, eww-mode): Use `setq-local'.
963 (eww-tool-bar-map): New variable.
964 (eww-mode): Set `tool-bar-map'.
965 (eww-view-source): Check for `html-mode' with `fboundp'.
966
967 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
968
969 * net/shr.el (shr--extract-best-source): Don't bug out on audio
970 elements with text inside. Also remove debugging.
971
972 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
973
974 * cus-start.el (all): Add ns-use-srgb-colorspace.
975
976 2013-12-21 Chong Yidong <cyd@gnu.org>
977
978 * custom.el (custom-theme-recalc-face): Do nothing if the face is
979 undefined. Thus, theme settings for undefined faces do not take
980 effect until the faces are defined with defface, the same as with
981 theme variables.
982
983 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
984 (face-spec-reset-face): Don't assign extra properties in temacs.
985 (face-spec-recalc): Apply X resources too.
986
987 2013-12-21 Chong Yidong <cyd@gnu.org>
988
989 * faces.el (face-spec-set):
990 * cus-face.el (custom-theme-set-faces, custom-set-faces):
991 * custom.el (defface): Doc fixes (Bug#16203).
992
993 * indent.el (indent-rigidly-map): Add docstring, and move commands
994 into named functions.
995 (indent-rigidly-left, indent-rigidly-right)
996 (indent-rigidly-left-to-tab-stop)
997 (indent-rigidly-right-to-tab-stop): New functions. Decide on
998 indentation direction based on bidi direction, and accumulate
999 sequential commands in a single undo boundary.
1000 (indent-rigidly--pop-undo): New utility function.
1001
1002 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * faces.el (read-face-name): Require crm.el when using crm-separator.
1005
1006 2013-12-20 Daniel Colascione <dancol@dancol.org>
1007
1008 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1009 so that we don't reflow comments into the shebang line.
1010
1011 2013-12-20 Juri Linkov <juri@jurta.org>
1012
1013 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1014 a position when `dired-directory' is non-nil. Check integer
1015 positions with `integerp'.
1016 (toggle-save-place, save-places-to-alist): Add check for
1017 `dired-directory'.
1018 (save-place-find-file-hook): Check integer positions with
1019 `integerp'.
1020 (save-place-dired-hook): Use `dired-goto-file' when
1021 `dired-filename' is found in the assoc list. Check integer
1022 positions with `integerp'.
1023 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1024
1025 * dired.el (dired-initial-position-hook): Rename back from
1026 `dired-initial-point-hook'.
1027 (dired-initial-position): Rename `dired-initial-point-hook' to
1028 `dired-initial-position-hook'.
1029 (dired-file-name-at-point): Doc fix. (Bug#15329)
1030
1031 2013-12-20 Juri Linkov <juri@jurta.org>
1032
1033 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1034 (read-regexp-suggestions): New function.
1035 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1036 Use `read-regexp-suggestions'. Add non-empty default to history
1037 for empty input.
1038 (occur-read-regexp-defaults-function): Remove function.
1039 (occur-read-primary-args): Use `regexp-history-last' instead of
1040 `occur-read-regexp-defaults-function'.
1041
1042 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1043 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1044 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1045 `hi-lock-read-regexp-defaults-function'. Doc fix.
1046 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1047 with `find-tag-default-as-symbol-regexp'. Doc fix.
1048 (hi-lock-read-regexp-defaults): Remove function.
1049 (hi-lock-regexp-okay): Add check for null.
1050
1051 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1052 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1053
1054 * subr.el (find-tag-default-as-symbol-regexp): New function.
1055 (find-tag-default-as-regexp): Move symbol regexp formatting to
1056 `find-tag-default-as-symbol-regexp'.
1057
1058 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1059
1060 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1061 (Bug#14179)
1062
1063 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1064
1065 * calendar/todo-mode.el: New implementation of item insertion
1066 commands and key bindings.
1067 (todo-key-prompt): New face.
1068 (todo-insert-item): New command.
1069 (todo-insert-item--parameters): New defconst, replacing defvar
1070 todo-insertion-commands-args-genlist.
1071 (todo-insert-item--param-key-alist): New defconst, replacing
1072 defvar todo-insertion-commands-arg-key-list.
1073 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1074 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1075 (todo-insert-item--next-param): New functions.
1076 (todo-insert-item--args, todo-insert-item--argleft)
1077 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1078 New variables.
1079 (todo-key-bindings-t): Change binding of "i" from
1080 todo-insertion-map to todo-insert-item.
1081 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1082 (todo-insertion-command-name, todo-insertion-commands-names)
1083 (todo-define-insertion-command, todo-insertion-commands)
1084 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1085
1086 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1087
1088 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1089 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1090 eval-when-compile.
1091 (todo-move-category): Allow choosing a non-existing todo file to
1092 move the category to, and create that file.
1093 (todo-default-priority): New user option.
1094 (todo-set-item-priority): Use it.
1095 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1096 (desktop-restore-file-buffer): Declare.
1097 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1098 (todo-modes-set-2): Locally set desktop-save-buffer to
1099 todo-desktop-save-buffer.
1100 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1101 (auto-mode-alist): Add autoload cookie.
1102
1103 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1104
1105 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1106 helpers.el was a poor choice of name.
1107 (string-remove-prefix): New function.
1108 (string-remove-suffix): New function.
1109
1110 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1111
1112 Fix assignment for new window total sizes.
1113 * window.el (window--pixel-to-size): Remove function.
1114 (window--pixel-to-total-1, window--pixel-to-total):
1115 Fix calculation of new total sizes.
1116
1117 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1118
1119 * comint.el (comint-output-filter): Fix rear-nonsticky property
1120 placement (Bug#16010).
1121
1122 2013-12-20 Chong Yidong <cyd@gnu.org>
1123
1124 * faces.el (read-color): Minor fix for completion function.
1125
1126 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1127
1128 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1129 New option. (Bug#16182)
1130 (ruby-smie--indent-to-stmt-p): Use it.
1131 (ruby-smie-rules): Revert the logic in the handling of `when'.
1132 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1133 (ruby-deep-arglist, ruby-deep-indent-paren)
1134 (ruby-deep-indent-paren-style): Update docstrings to note that the
1135 vars don't have any effect with SMIE.
1136
1137 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1138
1139 * calc/calc.el (calc-enter, calc-pop): Use the variable
1140 `calc-context-sensitive-enter'.
1141
1142 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1143
1144 * net/shr.el (shr-insert): Protect against infloops in degenerate
1145 tables.
1146
1147 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1148
1149 * progmodes/octave.el (octave): Add link to manual and octave
1150 homepage.
1151 (octave-mode-menu): Link to octave-mode manual.
1152
1153 2013-12-20 Leo Liu <sdl.web@gmail.com>
1154
1155 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1156 insertion using skeleton-end-newline. (Bug#16138)
1157
1158 2013-12-20 Juri Linkov <juri@jurta.org>
1159
1160 * replace.el (occur-engine): Use `add-face-text-property'
1161 to add the face property to matches and titles. (Bug#14645)
1162
1163 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1164 the palette of other hi-lock colors.
1165 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1166
1167 2013-12-19 Juri Linkov <juri@jurta.org>
1168
1169 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1170 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1171 (minibuffer-history-symbol): Move variable declaration closer to
1172 its usage.
1173
1174 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1175 (Bug#14785)
1176
1177 2013-12-19 Juri Linkov <juri@jurta.org>
1178
1179 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1180 New function.
1181 (log-edit-hook): Add it to :options. (Bug#16170)
1182
1183 2013-12-19 Juri Linkov <juri@jurta.org>
1184
1185 * simple.el (eval-expression-print-format): Don't check for
1186 command names and the last command. Always display additional
1187 formats of the integer result in the echo area, and insert them
1188 to the current buffer only with a zero prefix arg.
1189 Display character when char-displayable-p is non-nil.
1190 (eval-expression): With a zero prefix arg, set `print-length' and
1191 `print-level' to nil, and insert the integer values from
1192 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1193
1194 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1195 `eval-last-sexp-arg-internal'. Doc fix.
1196 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1197 `eval-last-sexp-print-value'. Doc fix.
1198 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1199 Set `print-length' and `print-level' to nil when arg is zero.
1200 (eval-last-sexp): Doc fix.
1201 (eval-defun-2): Print the integer values from
1202 `eval-expression-print-format' at the end.
1203
1204 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1205 values from `eval-expression-print-format' at the end.
1206
1207 * ielm.el (ielm-eval-input): Print the integer
1208 values from `eval-expression-print-format' at the end.
1209
1210 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1211
1212 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1213 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1214
1215 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1218 (hl-line-highlight, global-hl-line-highlight): Use it.
1219 (hl-line-overlay): Use defvar-local.
1220
1221 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1222
1223 * term/ns-win.el: Require dnd.
1224 (global-map): Remove drag items.
1225 (ns-insert-text, ns-set-foreground-at-mouse)
1226 (ns-set-background-at-mouse):
1227 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1228 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1229 New functions.
1230
1231 2013-12-19 Glenn Morris <rgm@gnu.org>
1232
1233 * emacs-lisp/ert.el (ert-select-tests):
1234 Fix string/symbol mixup. (Bug#16121)
1235
1236 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1239 keywords to their parent.
1240
1241 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1242
1243 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1244 first arg to be a string (fixed dead code), or an operator symbol.
1245 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1246 operator symbols.
1247 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1248 did nothing. Don't respond to `(:after ".")', it will be called
1249 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1250 change anything. Only return indentation for binary operators
1251 when they are hanging. De-dent opening paren when its parent is
1252 `.', otherwise it looks bad when the dot is not at bol or eol
1253 (bug#16182).
1254
1255 2013-12-19 Juri Linkov <juri@jurta.org>
1256
1257 * replace.el (query-replace-read-args): Split a non-negative arg
1258 and a negative arg into separate elements.
1259 (query-replace, query-replace-regexp, replace-string)
1260 (replace-regexp): Add arg `backward'. Doc fix.
1261 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1262 move point to the beginning of the match.
1263 (replace-search, replace-highlight): Use new arg `backward'
1264 to set the value of `isearch-forward'.
1265 (perform-replace): Add arg `backward' and use it to perform
1266 replacement backward. (Bug#14979)
1267
1268 * isearch.el (isearch-query-replace): Use a negative prefix arg
1269 to call `perform-replace' with a non-nil arg `backward'.
1270
1271 2013-12-18 Juri Linkov <juri@jurta.org>
1272
1273 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1274 to the default list. Move `log-edit-show-files' to the end.
1275 Add more available functions to options.
1276 (log-edit): Move default specific settings to
1277 `log-edit-insert-message-template'. Don't move point.
1278 (log-edit-insert-message-template): New function.
1279 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1280 (Bug#16170)
1281
1282 2013-12-18 Juri Linkov <juri@jurta.org>
1283
1284 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1285 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1286
1287 2013-12-18 Leo Liu <sdl.web@gmail.com>
1288
1289 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1290 (Bug#16186)
1291
1292 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1293
1294 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1295 formats for displaying file sizes when the -s switch is given.
1296 Instead, compute a separate format for displaying the size in
1297 blocks, which is displayed in addition to the "regular" size.
1298 When -h is given in addition to -s, produce size in blocks in
1299 human-readable form as well. (Bug#16179)
1300
1301 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1302
1303 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1304 Reference tables with ~\ref{...} instead of only \ref{...}.
1305
1306 2013-12-18 Chong Yidong <cyd@gnu.org>
1307
1308 * cus-edit.el (custom-magic-alist): Fix "themed" description
1309 (Bug#14348).
1310
1311 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1312 is non-nil, do not create a new entry in the symbol's theme-value
1313 or theme-face property; update theme-settings only (Bug#14664).
1314 (custom-available-themes): Doc fix.
1315
1316 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1317 (Bug#15674).
1318
1319 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1320
1321 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1322
1323 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1324 (Bug#13914).
1325
1326 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1327
1328 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1329
1330 2013-12-18 Glenn Morris <rgm@gnu.org>
1331
1332 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1333 * cus-start.el (load-prefer-newer): New option.
1334
1335 2013-12-18 Le Wang <l26wang@gmail.com>
1336
1337 * comint.el (comint-previous-matching-input-from-input):
1338 Retain point (Bug#13404).
1339
1340 2013-12-18 Chong Yidong <cyd@gnu.org>
1341
1342 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1343
1344 2013-12-18 Glenn Morris <rgm@gnu.org>
1345
1346 * mail/emacsbug.el (report-emacs-bug):
1347 Only mention enable-multibyte-characters if non-standard.
1348
1349 2013-12-17 Juri Linkov <juri@jurta.org>
1350
1351 * arc-mode.el (archive-extract-by-file): Check if directory exists
1352 before deletion to not show irrelevant errors if it doesn't exist.
1353
1354 2013-12-17 Juri Linkov <juri@jurta.org>
1355
1356 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1357 (Bug#14751)
1358
1359 * net/eww.el (browse-web): Add alias to `eww'.
1360 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1361 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1362
1363 * net/browse-url.el (browse-url-browser-function): Move `eww'
1364 closer to similar functions.
1365
1366 * startup.el (fancy-startup-screen, fancy-about-screen):
1367 Set browse-url-browser-function to eww-browse-url locally.
1368 (Bug#14751)
1369
1370 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * window.el (window--pixel-to-total): Remove unused `mini' var.
1373 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1374 (split-window): Remove unused `new' var.
1375 (window--display-buffer): Remove unused `frame' and `delta' vars.
1376 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1377 and display-width'.
1378
1379 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1380
1381 * dired.el (dired-mark-pop-up):
1382 * register.el (register-preview): Don't bind
1383 split-height-threshold here since it's now done in
1384 display-buffer-below-selected.
1385
1386 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1387
1388 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1389 xterm-rgb-convert-to-16bit.
1390 (rxvt-register-default-colors): Standardize with
1391 xterm-register-default-colors (Bug#14078).
1392
1393 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1394
1395 * simple.el (kill-region): Pass mark first, then point, so that
1396 kill-append works right (Bug#12819).
1397 (copy-region-as-kill, kill-ring-save): Likewise.
1398
1399 2013-12-17 Leo Liu <sdl.web@gmail.com>
1400
1401 * net/rcirc.el (rcirc-add-face):
1402 * eshell/em-prompt.el (eshell-emit-prompt):
1403 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1404 (Bug#16167)
1405
1406 2013-12-17 Chong Yidong <cyd@gnu.org>
1407
1408 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1409 Suggested by Xue Fuqiao.
1410
1411 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1414
1415 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * net/shr.el (shr-insert-document): Remove unused var
1418 `shr-preliminary-table-render'.
1419 (shr-rescale-image): Remove unused arg `force'.
1420 (shr-put-image): Update calls accordingly.
1421 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1422
1423 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1424
1425 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1426 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1427 :close-all, to see which indentation method to use (Bug#16116).
1428 (smie-rules-function): Document the method :close-all.
1429
1430 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1431
1432 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1433
1434 * net/eww.el (eww-display-html): If we can't find the anchor we're
1435 looking for, then go to point-min.
1436
1437 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1438
1439 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1440 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1441 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1442 Expand dir too, in case it's relative.
1443
1444 2013-12-16 Juri Linkov <juri@jurta.org>
1445
1446 * desktop.el (desktop-auto-save-timeout): Change default to
1447 `auto-save-timeout'. Doc fix.
1448 (desktop-save): Skip the timestamp in desktop-saved-frameset
1449 when checking for auto-save changes.
1450 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1451 `desktop-auto-save' is called repeatedly by the idle timer.
1452 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1453 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1454 (Bug#15331)
1455
1456 2013-12-16 Juri Linkov <juri@jurta.org>
1457
1458 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1459 (Bug#16035)
1460 (isearch-pre-command-hook): Check `this-command' for symbolp.
1461
1462 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1465
1466 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1467
1468 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1469 (cfengine3--current-function): Bring in the current-function
1470 functionality from `cfengine3--current-word'.
1471 (cfengine3-completion-function): Bring in the
1472 bounds-of-current-word functionality from
1473 `cfengine3--current-word'.
1474
1475 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1476
1477 * window.el (display-buffer-below-selected):
1478 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1479
1480 2013-12-16 Leo Liu <sdl.web@gmail.com>
1481
1482 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1483 Remove NOMSG arg and all uses changed.
1484
1485 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1488 (cua--deactivate-rectangle): Don't deactivate the mark.
1489 (cua-set-rectangle-mark): Don't set mark-active since
1490 cua--activate-rectangle already does it for us.
1491 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1492 non-rectangular region.
1493
1494 * emulation/cua-base.el (cua-repeat-replace-region):
1495 Use with-current-buffer.
1496
1497 * net/gnutls.el: Use cl-lib.
1498 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1499
1500 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1501
1502 * emacs-lisp/package.el (package-built-in-p): Support both
1503 built-in and the package.el converted package descriptions.
1504 (package-show-package-list): Allow keywords.
1505 (package-keyword-button-action): Use it instead of
1506 `finder-list-matches'.
1507 (package-menu-filter-interactive): Interactive filtering (by
1508 keyword) function.
1509 (package-menu--generate): Support keywords and change keymappings
1510 and headers when they are given.
1511 (package--has-keyword-p): Helper function.
1512 (package-menu--refresh): Use it.
1513 (package--mapc): Helper function.
1514 (package-all-keywords): Use it.
1515 (package-menu-mode-map): Set up menu items and keybindings to
1516 provide a filtering UI.
1517
1518 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1519
1520 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1521 the behavior when a certificate fails validation. Defaults to
1522 old behavior: never abort, just warn.
1523 (gnutls-negotiate): Use it.
1524
1525 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1526
1527 * window.el (display-buffer-below-selected): Never split window
1528 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1529
1530 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1531
1532 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1533 (package-buffer-info): Use it (bug#15108).
1534
1535 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * icomplete.el (icomplete-completions): Make sure the prefix is already
1538 displayed elsewhere before hiding it (bug#16219).
1539
1540 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1541
1542 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1543 open-paren tokens when preceded by a open-paren, too.
1544 (ruby-smie-rules): Handle virtual indentation after open-paren
1545 tokens specially. If there is code between it and eol, return the
1546 column where is starts (Bug#16118).
1547
1548 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1549
1550 * progmodes/cfengine.el: Fix `add-hook' doc.
1551 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1552 (cfengine3--current-word): Fix parameters.
1553 (cfengine3-make-syntax-cache): Simplify further.
1554 (cfengine3-completion-function, cfengine3--current-function):
1555 Use `assq' for symbols.
1556 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1557
1558 2013-12-13 Glenn Morris <rgm@gnu.org>
1559
1560 * loadup.el (load-path): Warn if site-load or site-init changes it.
1561 No more need to reset it when bootstrapping.
1562
1563 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1564
1565 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1566 locations for cf-promises.
1567 (cfengine-mode-syntax-functions-regex): New caching variable.
1568 (cfengine3-fallback-syntax): Fallback syntax for cases where
1569 cf-promises doesn't run.
1570 (cfengine3--current-word): Reimplement using
1571 `cfengine-mode-syntax-functions-regex'.
1572 (cfengine3-completion-function, cfengine3--current-function):
1573 Use `cfengine3-make-syntax-cache' directly.
1574 (cfengine3-clear-syntax-cache): New function.
1575 (cfengine3-make-syntax-cache): Simplify and create
1576 `cfengine-mode-syntax-functions-regex' on demand.
1577 (cfengine3-format-function-docstring): Don't call
1578 `cfengine3-make-syntax-cache' explicitly.
1579
1580 2013-12-13 Martin Rudalics <rudalics@gmx.at>
1581
1582 Fix windmove-find-other-window broken after pixelwise resizing
1583 (Bug#16017).
1584 * windmove.el (windmove-other-window-loc): Revert change from
1585 2013-12-04.
1586 (windmove-find-other-window): Call window-in-direction.
1587 * window.el (window-in-direction): New arguments SIGN, WRAP and
1588 MINI to emulate original windmove-find-other-window behavior.
1589
1590 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1591
1592 * simple.el (blink-matching--overlay): New variable.
1593 (blink-matching-open): Instead of moving point, highlight the
1594 matching paren with an overlay
1595 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1596
1597 * faces.el (paren-showing-faces, show-paren-match)
1598 (show-paren-mismatch): Move from paren.el.
1599
1600 2013-12-13 Leo Liu <sdl.web@gmail.com>
1601
1602 * indent.el (indent-region): Disable progress reporter in
1603 minibuffer. (Bug#16108)
1604
1605 * bindings.el (visual-order-cursor-movement): Fix version.
1606
1607 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1608
1609 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1610 Also match after beginning of line.
1611 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1612 files. Thanks to Russell Sim. (Bug#15378)
1613
1614 2013-12-13 Juri Linkov <juri@jurta.org>
1615
1616 * simple.el <Keypad support>: Remove key bindings duplicated
1617 with bindings.el. (Bug#14397)
1618
1619 2013-12-13 Juri Linkov <juri@jurta.org>
1620
1621 * comint.el (comint-mode-map): Replace `delete-char' with
1622 `delete-forward-char'. (Bug#16109)
1623
1624 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1625
1626 * progmodes/python.el (python-indent-calculate-indentation):
1627 Fix de-denters cornercase. (Bug#15731)
1628
1629 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1632 (advice--make): Pay attention to `depth'.
1633 (advice--make-1): Don't autoload commands eagerly.
1634 * emacs-lisp/elp.el (elp-instrument-function):
1635 * emacs-lisp/trace.el (trace-function-internal):
1636 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1637
1638 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1639
1640 2013-12-12 Eli Zaretskii <eliz@gnu.org>
1641
1642 * term/w32-win.el (w32-handle-dropped-file):
1643 * startup.el (normal-top-level):
1644 * net/browse-url.el (browse-url-file-url):
1645 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1646 decode file names using 'utf-8' rather than
1647 file-name-coding-system.
1648
1649 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1650
1651 * progmodes/python.el (python-indent-context)
1652 (python-indent-calculate-indentation): Fix auto-identation
1653 behavior for comment blocks. (Bug#15916)
1654
1655 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1656
1657 * progmodes/python.el (python-indent-calculate-indentation):
1658 When determining indentation, don't treat "return", "pass", etc., as
1659 operators when they are just string constituents. (Bug#15812)
1660
1661 2013-12-12 Juri Linkov <juri@jurta.org>
1662
1663 * uniquify.el (uniquify-buffer-name-style): Change default to
1664 `post-forward-angle-brackets'.
1665
1666 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1667 `uniquify'. Change default to `post-forward-angle-brackets'.
1668
1669 2013-12-11 Glenn Morris <rgm@gnu.org>
1670
1671 * emacs-lisp/package.el (finder-list-matches):
1672 Autoload rather than falsely declaring.
1673
1674 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1675
1676 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1677 (eww-mode-map): Use them.
1678
1679 2013-12-11 Martin Rudalics <rudalics@gmx.at>
1680
1681 * window.el (display-buffer-in-side-window): Fix doc-string
1682 (Bug#16115).
1683
1684 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
1685
1686 * vc/vc-git.el: Silence byte-compiler warnings.
1687 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1688 (log-edit-set-header): Declare.
1689
1690 2013-12-11 Eli Zaretskii <eliz@gnu.org>
1691
1692 * Makefile.in (custom-deps, finder-data): Run output file names
1693 through unmsys--file-name. (Bug#16099)
1694
1695 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696
1697 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1698 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1699
1700 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1701 instead of deleting the selection "by hand" (bug#16098).
1702 Rely on insert-for-yank to yank rectangles.
1703 (cua-highlight-region-shift-only): Mark obsolete.
1704 (cua-mode): Don't enable/disable transient-mark-mode,
1705 shift-select-mode (cua-mode works both with and without them), and
1706 pc-selection-mode (obsolete).
1707 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1708 (cua--deactivate-rectangle): Deactivate it.
1709
1710 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1711 (delete-selection-helper): Make sure yank starts at the top of the
1712 deleted region.
1713 (minibuffer-keyboard-quit): Use region-active-p.
1714
1715 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1716
1717 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1718 to `delete' (bug#16109).
1719
1720 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1721
1722 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1723 info manual and show keybindings and set `:group' keyword.
1724
1725 2013-12-11 Juri Linkov <juri@jurta.org>
1726
1727 * delsel.el (delete-active-region): Let-bind `this-command'
1728 to prevent `kill-region' from changing its original value.
1729 (delete-selection-helper): Handle `overwrite-mode' for the type
1730 `kill' exactly the same way as for the type `t'.
1731 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1732 Support more commands. (Bug#13312)
1733
1734 2013-12-11 Juri Linkov <juri@jurta.org>
1735
1736 * bindings.el: Map kp keys to non-kp keys systematically
1737 with basic modifiers control, meta and shift. (Bug#14397)
1738
1739 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1740
1741 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1742 "Close browser" menu items. Fix wrong function of "List
1743 bookmarks".
1744
1745 2013-12-11 Juri Linkov <juri@jurta.org>
1746
1747 * misearch.el (multi-isearch-buffers): Set the value of
1748 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1749 arg of isearch-forward to t.
1750 (multi-isearch-buffers-regexp): Set the value of
1751 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1752 arg of isearch-forward-regexp to t.
1753 (multi-isearch-files): Set the value of
1754 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1755 arg of isearch-forward to t.
1756 (multi-isearch-files-regexp): Set the value of
1757 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1758 arg of isearch-forward-regexp to t. (Bug#16035)
1759
1760 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1761 arg of isearch-forward to t.
1762 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1763 arg of isearch-forward-regexp to t.
1764 (dired-isearch-filter-filenames): Remove unnecessary check for
1765 `dired-isearch-filenames'.
1766
1767 * comint.el (comint-history-isearch-backward):
1768 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1769 (comint-history-isearch-backward-regexp):
1770 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1771
1772 2013-12-10 Eli Zaretskii <eliz@gnu.org>
1773
1774 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1775 unmsys--file-name. (Bug#16099)
1776
1777 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1778
1779 * emacs-lisp/package.el (package-keyword-button-action):
1780 Remove finder.el require dependency.
1781
1782 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1783
1784 * emacs-lisp/package.el: Require finder.el.
1785 (describe-package-1): Add keyword buttons.
1786 (package-make-button): New convenience function.
1787 (package-keyword-button-action): Keyword button action using
1788 `finder-list-matches'.
1789
1790 2013-12-09 Eli Zaretskii <eliz@gnu.org>
1791
1792 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1793 last commit.
1794
1795 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1798 symlinked files.
1799
1800 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1803 after the end of a percent literal.
1804
1805 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1806
1807 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1808 Handle caret-delimited strings (Bug#16079).
1809
1810 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1811
1812 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1813 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1814 `ruby-parse-partial' (Bug#16078).
1815
1816 2013-12-09 Leo Liu <sdl.web@gmail.com>
1817
1818 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1819
1820 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1823 (js-switch-indent-offset): New option.
1824 (js--proper-indentation): Use it. And handle the case when
1825 "default" is actually a key in an object literal.
1826 (js--same-line): New function.
1827 (js--multi-line-declaration-indentation): Use it.
1828 (js--indent-in-array-comp, js--array-comp-indentation):
1829 New functions.
1830 (js--proper-indentation): Use them, to handle array comprehension
1831 continuations.
1832
1833 2013-12-08 Leo Liu <sdl.web@gmail.com>
1834
1835 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1836 (flymake-make-overlay): Remove arg MOUSE-FACE.
1837 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1838
1839 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1842 New function.
1843 (redisplay-highlight-region-function): Use it.
1844
1845 * emulation/cua-base.el (cua--explicit-region-start)
1846 (cua--last-region-shifted): Remove.
1847 (cua--deactivate): Use deactivate-mark.
1848 (cua--pre-command-handler-1): Don't handle shift-selection.
1849 (cua--post-command-handler-1): Don't change transient-mark-mode.
1850 (cua--select-keymaps): Use region-active-p rather than
1851 cua--explicit-region-start or cua--last-region-shifted.
1852 (cua-mode): Enable shift-select-mode.
1853
1854 2013-12-08 Leo Liu <sdl.web@gmail.com>
1855
1856 * progmodes/flymake.el (flymake-popup-current-error-menu):
1857 Rename from flymake-display-err-menu-for-current-line. Reimplement.
1858 (flymake-posn-at-point-as-event, flymake-popup-menu)
1859 (flymake-make-emacs-menu): Remove. (Bug#16077)
1860
1861 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1862
1863 * rect.el (rectangle-mark-mode): Activate mark even if
1864 transient-mark-mode is off (bug#16066).
1865 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1866 is > mark and at bolp.
1867
1868 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1869 (region-extract-function): Use it.
1870 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1871 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1872 Delete functions.
1873 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1874 kill-ring-save, kill-region, delete-char, delete-forward-char.
1875 Ignore self-insert-iso.
1876
1877 * emulation/cua-gmrk.el (cua--init-global-mark):
1878 Ignore `self-insert-iso'.
1879
1880 * emulation/cua-base.el (cua--prefix-copy-handler)
1881 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1882 checking cua--rectangle.
1883 (cua-delete-region): Use region-extract-function.
1884 (cua-replace-region): Delete function.
1885 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1886 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1887 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1888 (cua--init-keymaps): Don't remap delete-selection commands.
1889 (cua-mode): Use delete-selection-mode instead of rolling our own
1890 (bug#16085).
1891
1892 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1893 Obey region-extract-function.
1894
1895 Make registers and delete-selection-mode work on rectangles.
1896 * register.el (describe-register-1): Don't modify the register's value.
1897 (copy-to-register): Obey region-extract-function.
1898 * delsel.el (delete-active-region): Obey region-extract-function.
1899
1900 2013-12-08 Leo Liu <sdl.web@gmail.com>
1901
1902 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1903 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1904 (flymake-compilation-prevents-syntax-check)
1905 (flymake-start-syntax-check-on-newline)
1906 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1907 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1908 (flymake-xml-program, flymake-master-file-dirs)
1909 (flymake-master-file-count-limit)
1910 (flymake-allowed-file-name-masks): Relocate.
1911 (flymake-makehash, flymake-float-time)
1912 (flymake-replace-regexp-in-string, flymake-split-string)
1913 (flymake-get-temp-dir): Remove.
1914 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1915 (flymake-current-row, flymake-selected-frame)
1916 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1917 related functions. (Bug#16077)
1918
1919 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1920
1921 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1922
1923 2013-12-07 Tassilo Horn <tsdh@gnu.org>
1924
1925 * help-fns.el (describe-function-1): Use new advice-* functions
1926 rather than old ad-* functions. Fix function type description and
1927 source links for advised functions and subrs.
1928
1929 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1930
1931 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1932
1933 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * progmodes/compile.el (compilation-start):
1936 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1937
1938 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1939 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1940
1941 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1942
1943 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1944 Touch up the last change.
1945
1946 2013-12-06 Leo Liu <sdl.web@gmail.com>
1947
1948 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1949 (inferior-octave-startup): Always use "octave> " for prompt.
1950 (octave-goto-function-definition)
1951 (octave-sync-function-file-names)
1952 (octave-find-definition-default-filename): Remove redundant backquotes.
1953
1954 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1957 syntax for `?'.
1958 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1959 where appropriate already.
1960 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1961 end of method names (Bug#15874).
1962
1963 2013-12-06 Juri Linkov <juri@jurta.org>
1964
1965 * isearch.el (isearch--saved-overriding-local-map):
1966 New internal variable.
1967 (isearch-mode): Set it to the initial value of
1968 `overriding-terminal-local-map'.
1969 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1970 with `isearch--saved-overriding-local-map'. (Bug#16035)
1971
1972 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1973
1974 * progmodes/octave.el (inferior-octave-completion-table):
1975 Turn back into function, use `completion-table-with-cache'
1976 (Bug#11906). Update all references.
1977
1978 * minibuffer.el (completion-table-with-cache): New function.
1979
1980 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1981
1982 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1983
1984 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1985
1986 * net/eww.el (eww-current-source): New variable to store page
1987 source.
1988 (eww-display-html, eww-mode, eww-save-history)
1989 (eww-restore-history): Use it.
1990 (eww-view-source): New command to view page source.
1991 Opportunistically uses `html-mode' to highlight the buffer.
1992 (eww-mode-map): Install it.
1993
1994 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
1995
1996 * net/dbus.el (dbus-unregister-service)
1997 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1998 Fix docstring.
1999 (dbus-unregister-service): Skip :serial entries in
2000 `dbus-registered-objects-table'.
2001 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2002
2003 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2004
2005 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2006 around keywords with extra `split-string' argument.
2007
2008 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2009
2010 * windmove.el (windmove-other-window-loc): Handle navigation
2011 between windows (excluding the minibuffer window - Bug#16017).
2012
2013 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2016 in D-Bus type syntax.
2017 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2018 preserve unibyte strings. (Bug#16048)
2019
2020 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2023 Call force-mode-line-update is the proper buffer (bug#16042).
2024
2025 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2026
2027 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2028 `log-edit-remember-comment', make argument optional. Adjust all
2029 callers.
2030 (log-edit-mode): Add `log-edit-remember-comment' to
2031 `kill-buffer-hook' locally.
2032 (log-edit-kill-buffer): Don't remember comment explicitly since
2033 the buffer is killed anyway.
2034
2035 2013-12-04 Juri Linkov <juri@jurta.org>
2036
2037 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2038 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2039
2040 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2041
2042 * notifications.el (notifications-close-notification): Call the
2043 D-Bus method with ID being a `:uint32'. (Bug#16030)
2044
2045 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2046
2047 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2048
2049 2013-12-03 Juri Linkov <juri@jurta.org>
2050
2051 * progmodes/compile.el (compilation-start): Rename window alist
2052 entry `no-display-ok' to `allow-no-window'.
2053
2054 * simple.el (shell-command): Add window alist entry
2055 `allow-no-window' to `display-buffer'.
2056 (async-shell-command): Doc fix.
2057
2058 * window.el (display-buffer-no-window): New action function.
2059 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2060
2061 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * vc/log-edit.el (log-edit-set-header): Extract from
2064 `log-edit-toggle-header'.
2065 (log-edit-extract-headers): Separate the summary, when extracted
2066 from header, from the rest of the message with an empty line.
2067
2068 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2069 line, if present, to the Summary header.
2070
2071 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2074 in current-buffer (bug#16029).
2075
2076 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2077
2078 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2079 (debugger-mode-map): Bind it.
2080 (debugger--backtrace-base): New function.
2081 (debugger-eval-expression): Use it.
2082 (debugger-frame-number): Skip local vars when present.
2083 (debugger--locals-visible-p, debugger--insert-locals)
2084 (debugger--show-locals, debugger--hide-locals): New functions.
2085
2086 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2087
2088 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2089 "LC_ALL".
2090 (tramp-get-remote-locale): New defun.
2091 (tramp-open-connection-setup-interactive-shell): Use it.
2092
2093 2013-12-02 Leo Liu <sdl.web@gmail.com>
2094
2095 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2096
2097 * progmodes/sh-script.el (sh-shell-process):
2098 * progmodes/octave.el (inferior-octave-process-live-p):
2099 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2100 (gdb-inferior-io-sentinel):
2101 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2102
2103 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2104
2105 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2106 `save-selected-window' to `log-edit-hide-buf'. This makes
2107 `log-edit-show-files' idempotent.
2108 (log-edit-show-files): Mark the new window as dedicated.
2109
2110 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * vc/log-edit.el (log-edit-mode-map): Add binding for
2113 `log-edit-kill-biffer'.
2114 (log-edit-hide-buf): Add a FIXME comment.
2115 (log-edit-add-new-comment): New function, extracted from
2116 `log-edit-done'.
2117 (log-edit-done, log-edit-add-to-changelog): Use it.
2118 (log-edit-kill-buffer): New command.
2119
2120 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121
2122 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2123 instead of killing the buffer.
2124
2125 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2128
2129 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2130
2131 * net/eww.el (eww-form-checkbox-selected-symbol)
2132 (eww-form-checkbox-symbol): New customizable variable.
2133 (eww-form-checkbox, eww-toggle-checkbox):
2134 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2135
2136 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2137 (shr--get-media-pref, shr--extract-best-source): New function.
2138 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2139 no :src tag was specified.
2140
2141 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2142 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2143 Use \\` to match beginning of string instead of ^.
2144 (eww-browse-with-external-browser): Provide optional URL parameter.
2145 (eww-render): Set `eww-current-title' back to "".
2146
2147 * net/shr.el (shr-tag-video): Display content for video if no
2148 poster is available.
2149 (shr-tag-audio): Add support for <audio> tag.
2150
2151 * net/eww.el (eww-text-input-types): New const.
2152 (eww-process-text-input): Treat input types in
2153 `eww-text-input-types' as text.
2154
2155 * net/shr.el (shr-tag-table): Fix comment typo.
2156
2157 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2158
2159 * net/eww.el (eww-follow-link): New command to avoid reloading
2160 pages when we follow #target links (bug#15243).
2161 (eww-quit): Special mode buffers shouldn't query before exiting.
2162
2163 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2164
2165 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2166 forms.
2167
2168 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2169
2170 * net/eww.el (eww-restore-history): Update the window title after
2171 moving in the history.
2172 (eww-current-dom): New variable used to save the current DOM.
2173
2174 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2175
2176 * vc/log-edit.el (log-edit-mode-map): Add binding for
2177 `log-edit-beginning-of-line'.
2178 (log-edit-setup-add-author): New user option.
2179 (log-edit-beginning-of-line): New command.
2180 (log-edit): Move major mode call above the contents setup so that
2181 the local variable values are already applied.
2182 (log-edit): Only insert "Author: " when
2183 `log-edit-setup-add-author' is non-nil.
2184 (log-edit): When SETUP is non-nil, position point after ": "
2185 instead of point-min.
2186
2187 2013-12-01 Glenn Morris <rgm@gnu.org>
2188
2189 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2190
2191 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2192
2193 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2194 redisplay to make sure the initial frame gets a chance to become
2195 visible. (Bug#16014)
2196
2197 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2198
2199 Support resizing frames and windows pixelwise.
2200 * cus-start.el (frame-resize-pixelwise)
2201 (window-resize-pixelwise): New entries.
2202 * emacs-lisp/debug.el (debug): Use window-total-height instead
2203 of window-total-size.
2204 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2205 * help.el (describe-bindings-internal): Call help-buffer
2206 (temp-buffer-max-width): New option.
2207 (resize-temp-buffer-window, help-window-setup)
2208 (with-help-window): Rewrite.
2209 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2210 dragging dividers.
2211 * window.el (frame-char-size, window-min-pixel-height)
2212 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2213 (window-min-pixel-width, window-safe-min-pixel-size)
2214 (window-combination-p, window-safe-min-size)
2215 (window-resizable-p, window--size-to-pixel)
2216 (window--pixel-to-size, window--resize-apply-p): New functions.
2217 (window-safe-min-height): Fix doc-string.
2218 (window-size, window-min-size, window--min-size-1)
2219 (window-sizable, window-sizable-p, window--min-delta-1)
2220 (window-min-delta, window--max-delta-1, window-max-delta)
2221 (window--resizable, window--resizable-p, window-resizable)
2222 (window-full-height-p, window-full-width-p, window-at-side-p)
2223 (window--in-direction-2, window-in-direction)
2224 (window--resize-reset-1, window--resize-mini-window)
2225 (window-resize, window-resize-no-error)
2226 (window--resize-child-windows-normal)
2227 (window--resize-child-windows, window--resize-siblings)
2228 (window--resize-this-window, window--resize-root-window)
2229 (window--resize-root-window-vertically)
2230 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2231 (maximize-window, minimize-window, delete-window)
2232 (quit-restore-window, window-split-min-size, split-window)
2233 (balance-windows-2, balance-windows)
2234 (balance-windows-area-adjust, balance-windows-area)
2235 (window--state-get-1, window-state-get, window--state-put-1)
2236 (window--state-put-2, window-state-put)
2237 (display-buffer-record-window, window--display-buffer):
2238 Make functions handle pixelwise sizing of windows.
2239 (display-buffer--action-function-custom-type)
2240 (display-buffer-fallback-action):
2241 Add display-buffer-in-previous-window.
2242 (display-buffer-use-some-window): Resize window to height it had
2243 before.
2244 (fit-window-to-buffer-horizontally): New option.
2245 (fit-frame-to-buffer): Describe new values.
2246 (fit-frame-to-buffer-bottom-margin): Replace with
2247 fit-frame-to-buffer-margins.
2248 (window--sanitize-margin): New function.
2249 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2250 using window-text-pixel-size.
2251
2252 2013-11-30 Glenn Morris <rgm@gnu.org>
2253
2254 * emacs-lisp/bytecomp.el (byte-compile-form):
2255 Make the `interactive-only' warning like the `obsolete' one.
2256 * comint.el (comint-run):
2257 * files.el (insert-file-literally, insert-file):
2258 * replace.el (replace-string, replace-regexp):
2259 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2260 (goto-line, insert-buffer, next-line, previous-line):
2261 Tweak `interactive-only' spec.
2262
2263 Stop keeping (most) generated cedet grammar files in the repository.
2264 * Makefile.in (semantic): New.
2265 (compile-main): Depend on semantic.
2266
2267 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2268
2269 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2270 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2271
2272 * uniquify.el (uniquify-buffer-name-style): Change default.
2273
2274 * loadup.el: Preload "uniquify".
2275
2276 * time.el (display-time-update): Update all mode lines (bug#15999).
2277
2278 * electric.el (electric-indent-mode): Enable by default.
2279 * loadup.el: Preload "electric".
2280
2281 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2282
2283 * emacs-lisp/helpers.el (string-empty-p): New function.
2284 (string-blank-p): New function.
2285
2286 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2287
2288 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2289 (Bug#14029).
2290
2291 2013-11-29 Andreas Politz <politza@fh-trier.de>
2292 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2293 allow non-lambda lists as functions.
2294 (imenu--in-alist): Don't recurse into non-subalists.
2295 (imenu): Don't pass function itself as an argument (Bug#14029).
2296
2297 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * progmodes/python.el (python-mode-map): Remove binding for ":".
2300 (python-indent-electric-colon): Remove command.
2301 (python-indent-post-self-insert-function): Integrate the previous code
2302 of python-indent-electric-colon. Make it conditional on
2303 electric-indent-mode.
2304 (python-mode): Add ?: to electric-indent-chars.
2305 Move python-indent-post-self-insert-function to the end of
2306 post-self-insert-hook.
2307
2308 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * doc-view.el (doc-view-goto-page): Update mode-line.
2311
2312 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2313
2314 2013-11-27 Glenn Morris <rgm@gnu.org>
2315
2316 * international/charprop.el, international/uni-bidi.el:
2317 * international/uni-category.el, international/uni-combining.el:
2318 * international/uni-comment.el, international/uni-decimal.el:
2319 * international/uni-decomposition.el, international/uni-digit.el:
2320 * international/uni-lowercase.el, international/uni-mirrored.el:
2321 * international/uni-name.el, international/uni-numeric.el:
2322 * international/uni-old-name.el, international/uni-titlecase.el:
2323 * international/uni-uppercase.el:
2324 Remove generated files from VCS repository.
2325
2326 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2327
2328 * filenotify.el (file-notify-add-watch): Don't special-case
2329 w32notify when computing the directory to watch.
2330
2331 2013-11-27 Glenn Morris <rgm@gnu.org>
2332
2333 Make bootstrap without generated uni-*.el files possible again.
2334 * loadup.el: Update command-line-args checking for unidata-gen.
2335 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2336 * composite.el, international/characters.el:
2337 Handle unicode tables being undefined.
2338
2339 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2340 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2341 (compile-main): Depend on leim rule.
2342 (leim): New rule.
2343 * loadup.el: Move leim-list.el to leim/ subdirectory.
2344 * startup.el (normal-top-level): No more leim directory.
2345 * international/ja-dic-cnv.el (skkdic-convert):
2346 Disable version-control and autoloads in output files.
2347 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2348 Disable version-control and autoloads in output files.
2349 * leim/quail: Move here from ../leim.
2350 * leim/quail/hangul.el (hangul-input-method-activate):
2351 Add autoload cookie.
2352 (generated-autoload-load-name): Set file-local value.
2353 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2354 (generated-autoload-load-name): Set file-local value.
2355
2356 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2357
2358 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2359 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2360 (eww-quit): Ask confirmation before quitting eww.
2361
2362 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2363
2364 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2365 reading output from Diff on MS-Windows and MS-DOS.
2366
2367 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2368
2369 * emacs-lisp/helpers.el (string-reverse): New function.
2370
2371 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2374 names on MS Windows, like "/[::1]:".
2375
2376 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2377 SWITCHES.
2378
2379 2013-11-26 Glenn Morris <rgm@gnu.org>
2380
2381 * progmodes/python.el (python-indent-guess-indent-offset):
2382 Avoid corner-case error. (Bug#15975)
2383
2384 Preload leim-list.el. (Bug#4789)
2385 * loadup.el: Load leim-list.el when found.
2386 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2387
2388 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2389
2390 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2391
2392 * emacs-lisp/helpers.el (string-join): New function.
2393
2394 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2395
2396 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2397 Mark as obsolete and replace it with a symbol property.
2398 (byte-compile-form): Use new 'interactive-only property.
2399 * comint.el, files.el, replace.el, simple.el:
2400 Apply new 'interactive-only properly.
2401
2402 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2403
2404 * window.el (display-buffer-at-bottom): Make sure that
2405 split-window-sensibly creates the new window on bottom
2406 (Bug#15961).
2407
2408 2013-11-23 David Kastrup <dak@gnu.org>
2409
2410 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2411 on the conflict markers when available.
2412 (smerge--get-marker): New function.
2413 (smerge-end-re, smerge-base-re): Add subgroup.
2414
2415 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * frame.el (handle-focus-in, handle-focus-out): Add missing
2418 interactive spec.
2419
2420 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2421
2422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2423 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2424
2425 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2426
2427 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2428 (gomoku--last-pos): New var.
2429 (gomoku--intangible-chars): New const.
2430 (gomoku--intangible): New function.
2431 (gomoku-mode): Use it. Derive from special-mode.
2432 (gomoku-move-up): Adjust line count.
2433 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2434 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2435 Simplify accordingly.
2436
2437 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2438 Remove blink-cursor code.
2439 (blink-cursor-timer-function, blink-cursor-suspend):
2440 Don't special-case GUIs.
2441 (blink-cursor-mode): Use focus-in/out-hook.
2442
2443 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2446 work when annotation is invisible (Bug#13886).
2447
2448 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2449
2450 * json.el (json-alist-p): Only return non-nil if the alist has
2451 simple keys (Bug#13518).
2452
2453 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2454
2455 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2456 when control-statement is the first statement in a buffer (Bug#15956).
2457
2458 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * imenu.el (imenu-generic-skip-comments-and-strings):
2461 New option (Bug#15560).
2462 (imenu--generic-function): Use it.
2463
2464 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2465
2466 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2467 (Bug#13898)
2468
2469 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2470
2471 * emacs-lisp/helpers.el: Add some string helpers.
2472 (string-trim-left): Removes leading whitespace.
2473 (string-trim-right): Removes trailing whitespace.
2474 (string-trim): Removes leading and trailing whitespace.
2475
2476 * subr.el (string-suffix-p): New function.
2477
2478 2013-11-23 Glenn Morris <rgm@gnu.org>
2479
2480 * progmodes/python.el (python-shell-send-file):
2481 Add option to delete file when done. (Bug#15647)
2482 (python-shell-send-string, python-shell-send-region): Use it.
2483
2484 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2485
2486 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2487 to set buffer-read-only to t, never to nil. (Bug#15938)
2488
2489 * textmodes/tex-mode.el (latex-noindent-environments):
2490 Add safe-local-variable property. (Bug#15936)
2491
2492 2013-11-23 Glenn Morris <rgm@gnu.org>
2493
2494 * textmodes/enriched.el (enriched-mode): Doc fix.
2495 * emacs-lisp/authors.el (authors-renamed-files-alist):
2496 Add enriched.doc -> enriched.txt.
2497
2498 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2499
2500 2013-11-22 Leo Liu <sdl.web@gmail.com>
2501
2502 * progmodes/octave.el (inferior-octave-startup): Spit out error
2503 message.
2504
2505 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2506
2507 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2508 Improve docstring.
2509 Add :version.
2510 (ruby-encoding-magic-comment-style): Add :version.
2511
2512 2013-11-22 Leo Liu <sdl.web@gmail.com>
2513
2514 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2515 (Bug#15076)
2516 (octave-help-mode): Adapt to change to help-mode-finish to use
2517 derived-mode-p on 2013-09-17.
2518 (inferior-octave-prompt): Also match octave-gui.
2519 (octave-kill-process): Don't ask twice. (Bug#10564)
2520
2521 2013-11-22 Leo Liu <sdl.web@gmail.com>
2522
2523 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2524 (inferior-octave-startup, inferior-octave-check-process)
2525 (inferior-octave-track-window-width-change)
2526 (octave-completion-at-point, octave-eldoc-function): Use it.
2527 (octave-kill-process): Provide confirmation. (Bug#10564)
2528
2529 2013-11-21 Leo Liu <sdl.web@gmail.com>
2530
2531 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2532 Fix obsolete variable comment-use-global-state.
2533
2534 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2535
2536 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2537 Add `octave-source-file'.
2538 (octave-source-file): New function. (Bug#15935)
2539
2540 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2541
2542 * net/eww.el (eww-local-regex): New variable.
2543 (eww): Use it to detect localhost and similar.
2544
2545 2013-11-21 Leo Liu <sdl.web@gmail.com>
2546
2547 Add completion for command `ag'.
2548 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2549 (pcomplete/ag): New function.
2550 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2551
2552 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2555 (bug#14646).
2556 (make-obsolete): Remove interactive spec.
2557
2558 2013-11-21 Glenn Morris <rgm@gnu.org>
2559
2560 * startup.el (command-line-1): Use path-separator with -L.
2561
2562 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2563
2564 * emacs-lisp/package.el (describe-package-1): Add package archive
2565 to shown fields.
2566
2567 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
2568
2569 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2570 Change default to "# encoding: %s" to differentiate it from the
2571 default Ruby encoding comment template.
2572
2573 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
2574
2575 * ses.el (ses-mode): Doc fix. (Bug#14748)
2576
2577 2013-11-20 Leo Liu <sdl.web@gmail.com>
2578
2579 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2580
2581 2013-11-19 Dan Nicolaescu <dann@gnu.org>
2582
2583 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2584 when rebase or bisect are in progress.
2585
2586 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2587
2588 * filenotify.el (file-notify-add-watch): Doc fix.
2589
2590 2013-11-19 Leo Liu <sdl.web@gmail.com>
2591
2592 * obsolete/rcompile.el: Mark obsolete.
2593
2594 * progmodes/compile.el (compilation-start)
2595 (compilation-goto-locus, compilation-find-file):
2596 Pass no-display-ok and handle nil value from display-buffer.
2597 (Bug#13594)
2598
2599 * window.el (display-buffer-alist, display-buffer): Document the
2600 new parameter no-display-ok. Return either a window or nil
2601 but never a non-window value.
2602
2603 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2604
2605 * electric.el (electric-indent-mode-map): Remove.
2606 (electric-indent-mode): Change the global-map instead (bug#15915).
2607
2608 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2609 Use add-function.
2610
2611 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * emacs-lisp/nadvice.el (remove-function): Align with
2614 add-function's behavior.
2615
2616 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2617 (gdb--string-regexp): New constant.
2618 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2619 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2620 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2621 submatch 1.
2622 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2623 Adjust use accordingly.
2624 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2625
2626 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2627
2628 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2629 interpolation curlies (Bug#15914).
2630
2631 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2632
2633 * calc/calc.el (calc-context-sensitive-enter): New variable.
2634 (calc-enter): Use `calc-context-sensitive-enter'.
2635
2636 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2637
2638 * progmodes/cfengine.el: Version bump.
2639 (cfengine-cf-promises): New defcustom to locate cf-promises.
2640 (cfengine3-vartypes): Add new "data" type.
2641 (cfengine3--current-word): New function to get current name-like
2642 word or its bounds.
2643 (cfengine3--current-function): New function to look up a CFEngine
2644 function's definition.
2645 (cfengine3-format-function-docstring): New function.
2646 (cfengine3-make-syntax-cache): New function.
2647 (cfengine3-documentation-function): New function: ElDoc glue.
2648 (cfengine3-completion-function): New function: completion glue.
2649 (cfengine3-mode): Set `compile-command',
2650 `eldoc-documentation-function', and add to
2651 `completion-at-point-functions'.
2652
2653 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2656 `tramp-current-connection'.
2657
2658 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2659
2660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2661 nil/self/true/false with "end of symbol".
2662
2663 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2664
2665 * subr.el (version-regexp-alist): Fix a typo.
2666
2667 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
2668
2669 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2670 "en_US.utf8" and "LC_CTYPE" to "".
2671 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2672 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2673
2674 2013-11-15 Leo Liu <sdl.web@gmail.com>
2675
2676 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2677
2678 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2679
2680 * progmodes/gud.el (ctl-x-map):
2681 Remove C-x SPC binding. (Bug#12342)
2682 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2683
2684 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2685
2686 * subr.el (version-regexp-alist):
2687 Recognize hg, svn and darcs versions as snapshot versions.
2688
2689 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2690 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2691 (ruby--encoding-comment-required-p): Extract from
2692 `ruby-mode-set-encoding'.
2693 (ruby-mode-set-encoding): Add the ability to always insert an
2694 utf-8 encoding comment. Fix and simplify coding comment update
2695 logic.
2696
2697 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-gvfs.el (top): Run init code only when
2700 `tramp-gvfs-enabled' is not nil.
2701 (tramp-gvfs-enabled): Check also :system bus.
2702
2703 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 Sync with upstream verilog-mode revision 78e66ba.
2706 * progmodes/verilog-mode.el (verilog-end-of-defun)
2707 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2708 (verilog-get-end-of-defun): Remove unused argument.
2709 (verilog-comment-depth): Remove unused local `e'.
2710 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2711 Don't pass arg to verilog-get-end-of-defun.
2712
2713 2013-11-14 Glenn Morris <rgm@gnu.org>
2714
2715 * obsolete/assoc.el (aget): Prefix dynamic variable.
2716
2717 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2718
2719 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * widget.el, hfy-cmap.el: Remove bogus package version number.
2722
2723 2013-11-13 Glenn Morris <rgm@gnu.org>
2724
2725 * replace.el (replace-eval-replacement):
2726 Try to give more helpful error message. (Bug#15836)
2727
2728 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2729 (archive-7z-update): Avoid custom type mismatches.
2730
2731 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2732
2733 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2736 address can be empty.
2737
2738 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2739 Accept nil SWITCHES.
2740 (tramp-gvfs-handle-write-region): Implement APPEND.
2741
2742 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2745 binary "|" operator and closing block args delimiter.
2746 Remove FIXME comment referring to Ruby 1.8-only syntax.
2747 (ruby-smie--implicit-semi-p): Not after "|" operator.
2748 (ruby-smie--closing-pipe-p): New function.
2749 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2750 (ruby-smie-rules): Indent after "|".
2751
2752 2013-11-12 Glenn Morris <rgm@gnu.org>
2753
2754 * ps-print.el (ps-face-attribute-list):
2755 Handle anonymous faces. (Bug#15827)
2756
2757 2013-11-12 Martin Rudalics <rudalics@gmx.at>
2758
2759 * window.el (display-buffer-other-frame): Fix doc-string.
2760 (Bug#15868)
2761
2762 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2765
2766 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2769 (tramp-sh-handle-file-local-copy): Don't write a message when
2770 saving temporary files.
2771
2772 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2773 both directories are remote.
2774 (tramp-smb-handle-directory-files): Do not return double entries.
2775 Do not expand full file names.
2776 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2777 (tramp-smb-handle-write-region): Implement APPEND.
2778 (tramp-smb-get-stat-capability): Fix a stupid bug.
2779
2780 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2783
2784 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2785
2786 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2787 throwing error over malformed let/let* (bug#15814).
2788
2789 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * iswitchb.el (iswitchb-mode): Mark obsolete.
2792
2793 2013-11-11 Glenn Morris <rgm@gnu.org>
2794
2795 * international/uni-bidi.el, international/uni-category.el:
2796 * international/uni-name.el, international/uni-numeric.el:
2797 Regenerate for Unicode 6.3.0.
2798
2799 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
2800
2801 * net/tramp.el (tramp-methods):
2802 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2803 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2804
2805 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2806
2807 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2808 Force highlighting text after Summary keyword in doc face for rpm.
2809
2810 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2813 available and the word has no wildcards, append one to the grep pattern.
2814 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2815 (ispell-complete-word): Call `ispell-lookup-words' with the value
2816 independent of `ispell-look-p'.
2817
2818 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2821 Not after "||".
2822 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2823 their parent.
2824
2825 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2828 (ruby-font-lock-keywords): Use backquote.
2829
2830 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2833 (ruby-smie--backward-token): Only consider full-string matches.
2834
2835 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2836
2837 * faces.el (describe-face): Add distant-foreground.
2838
2839 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2840
2841 * progmodes/ruby-mode.el: Improve encoding comment handling.
2842 (ruby-encoding-magic-comment-style): New option.
2843 (ruby-custom-encoding-magic-comment-template): New option.
2844 (ruby--insert-coding-comment, ruby--detect-encoding):
2845 New functions extracted from `ruby-mode-set-encoding'.
2846 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2847 to control the style of the auto-inserted encoding comment.
2848
2849 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2850
2851 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2852 Use `smie-backward-sexp' with token argument.
2853
2854 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2857 Remove instrumentation code.
2858
2859 2013-11-08 Glenn Morris <rgm@gnu.org>
2860
2861 * progmodes/autoconf.el (autoconf-mode):
2862 Tweak comment-start-skip. (Bug#15822)
2863
2864 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2867 at bobp (bug#15826).
2868 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2869
2870 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
2871
2872 * man.el (Man-start-calling): New macro, extracted from
2873 Man-getpage-in-background.
2874 (Man-getpage-in-background): Use it.
2875 (Man-update-manpage): New command.
2876 (Man-mode-map): Bind it.
2877
2878 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2879
2880 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2881 of "and", "or", "&&" and "||".
2882 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2883 argument. Prohibit opening curly brace because it could only be a
2884 block opener in that position.
2885 (ruby-smie--forward-token, ruby-smie--backward-token):
2886 Separate "|" from "&" or "*" going after it. That can happen in block
2887 arguments.
2888 (ruby-smie--indent-to-stmt): New function, seeks the end of
2889 previous statement or beginning of buffer.
2890 (ruby-smie-rules): Use it.
2891 (ruby-smie-rules): Check if there's a ":" before a curly block
2892 opener candidate; if there is, it's a hash.
2893
2894 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2897 (cl--block-wrapper): Fix last accidental change.
2898
2899 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2902 Instrument, in order to hunt failure on hydra.
2903
2904 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2905
2906 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2907 malformed bindings form (bug#15814).
2908
2909 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2912 "." compared to " @ ". This incidentally fixes some indentation
2913 examples with "do".
2914 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2915 (ruby-smie-grammar): New tokens: "and" and "or".
2916 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2917 Exclude "and" and "or". Remove "do" in order to work around token
2918 priorities.
2919 (ruby-smie-rules): Add all infix tokens. Handle the case of
2920 beginning-of-buffer.
2921
2922 2013-11-06 Glenn Morris <rgm@gnu.org>
2923
2924 * Makefile.in (setwins_almost, setwins_for_subdirs):
2925 Avoid accidental matches.
2926
2927 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * menu-bar.el (popup-menu): Use key-binding.
2930
2931 2013-11-06 Eli Zaretskii <eliz@gnu.org>
2932
2933 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2934 menus, support also the menus produced by minor modes.
2935 (Bug#15817)
2936
2937 2013-11-06 Leo Liu <sdl.web@gmail.com>
2938
2939 * thingatpt.el (thing-at-point-looking-at): Add optional arg
2940 DISTANCE to bound the search. All uses changed. (Bug#15808)
2941
2942 2013-11-06 Glenn Morris <rgm@gnu.org>
2943
2944 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2945 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2946 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2947
2948 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * electric.el (electric-indent-just-newline): New command.
2951 (electric-indent-mode-map): New keymap.
2952 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2953 Re-add :group which weren't redundant.
2954
2955 * electric.el (electric-indent-local-mode): New minor mode.
2956 (electric-indent-functions-without-reindent): New var.
2957 (electric-indent-post-self-insert-function): Use it.
2958 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2959
2960 2013-11-05 Eli Zaretskii <eliz@gnu.org>
2961
2962 * international/quail.el (quail-help): Be more explicit about the
2963 meaning of the labels shown on the keys. (Bug#15800)
2964
2965 * startup.el (normal-top-level): Load the subdirs.el files before
2966 setting the locale environment. (Bug#15805)
2967
2968 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2971 via arguments so as to get the right ones (bug#15418).
2972
2973 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2974
2975 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
2976
2977 Fix problems found while writing a test suite.
2978
2979 * net/tramp-compat.el (tramp-compat-load): New defun.
2980 * net/tramp.el (tramp-handle-load): Use it.
2981
2982 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2983 "(numberp ok-if-already-exists)" correctly.
2984
2985 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2986
2987 * international/characters.el (glyphless-char-display-control):
2988 Add usage note.
2989
2990 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2991
2992 * progmodes/python.el (python-mode):
2993 * progmodes/scheme.el (scheme-mode):
2994 * progmodes/prolog.el (prolog-mode):
2995 * progmodes/ruby-mode.el (ruby-mode):
2996 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2997 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2998
2999 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3000
3001 * rect.el (rectangle--highlight-for-redisplay):
3002 * emacs-lisp/smie.el (smie--next-indent-change):
3003 Use buffer-chars-modified-tick.
3004
3005 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3006
3007 * electric.el (electric-indent-post-self-insert-function):
3008 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3009
3010 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3011
3012 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3013
3014 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3015
3016 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3017 (bug#15786).
3018
3019 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3022
3023 * progmodes/python.el: Fix up last change.
3024 (python-shell--save-temp-file): New function.
3025 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3026 `string' comes from the current buffer.
3027 (python-shell-send-string-no-output): Remove `msg' arg.
3028 (python--use-fake-loc): New var.
3029 (python-shell-buffer-substring): Obey it. Try to compensate for the
3030 extra coding line added by python-shell--save-temp-file.
3031 (python-shell-send-region): Use python-shell--save-temp-file and
3032 python-shell-send-file directly. Add `nomain' argument.
3033 (python-shell-send-buffer): Use python-shell-send-region.
3034 (python-electric-pair-string-delimiter): New function.
3035 (python-mode): Use it.
3036
3037 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3038
3039 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3040 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3041 environment and decoding all of the default-directory's to here
3042 from command-line.
3043 (command-line): Decode also argv[0].
3044
3045 * loadup.el: Error out if default-directory is a multibyte string
3046 when we are dumping.
3047
3048 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3049
3050 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3051
3052 * emacs-lisp/package.el (package-menu-mode)
3053 (package-menu--print-info, package-menu--archive-predicate):
3054 Add Archive column to package list.
3055
3056 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3057
3058 Fix problems found while writing a test suite.
3059
3060 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3061 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3062 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3063 to nil when running original file name handler. Otherwise,
3064 there are problems with constructs like "$$FOO".
3065
3066 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3067 for `localname'.
3068
3069 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3070
3071 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3072
3073 * subr.el (version<, version<=, version=):
3074 Update docstrings with information for snapshot versions.
3075
3076 * helpers.el: New library for misc helper functions.
3077 (hash-table-keys): New function returning a list of hash keys.
3078 (hash-table-values): New function returning a list of hash values.
3079
3080 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3081
3082 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3083 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3084
3085 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3086
3087 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3088 checking whether point is after a 1-letter word.
3089
3090 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3091
3092 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3093 Don't infloop when expanding region over `multiline' syntax-type that
3094 begins a line (bug#15778).
3095
3096 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3099 Make it into a proper minor mode.
3100 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3101 (rectangle-mark-mode-map): New keymap.
3102 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3103
3104 2013-11-04 Glenn Morris <rgm@gnu.org>
3105
3106 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3107
3108 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3111 (ruby-smie-rules): Use smie-rule-parent instead.
3112
3113 * emacs-lisp/smie.el (smie-rule-parent): Always call
3114 smie-indent-virtual rather than only for hanging tokens.
3115 (smie--next-indent-change): New helper command.
3116
3117 2013-11-03 Glenn Morris <rgm@gnu.org>
3118
3119 * Makefile.in (abs_srcdir): Remove.
3120 (emacs): Unset EMACSLOADPATH.
3121
3122 2013-11-02 Glenn Morris <rgm@gnu.org>
3123
3124 * Makefile.in (EMACS): Use a relative filename.
3125 (abs_top_builddir): Remove.
3126 (custom-deps, finder-data, autoloads): Use --chdir.
3127
3128 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3129
3130 Use relative filenames in TAGS files.
3131 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3132 (lisptagsfiles4, TAGS): Use relative file names.
3133 (TAGS-LISP): Remove.
3134 (maintainer-clean): No more TAGS-LISP file.
3135
3136 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3137 (lisptagsfiles4): Use absolute filenames again.
3138 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3139 Remove all *loaddefs files, not just the first. Remove esh-groups.
3140 (maintainer-clean): Delete TAGS, TAGS-LISP.
3141
3142 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3143
3144 * emacs-lisp/package.el (package-version-join):
3145 Recognize snapshot versions.
3146
3147 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3148
3149 * subr.el (version-regexp-alist): Add support for snapshot versions.
3150
3151 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3152
3153 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3154 New function, replacement for `smie-rule-parent' for when we want to
3155 skip over our direct parent if it's an assignment token..
3156 (ruby-smie-rules): Use it.
3157
3158 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3159
3160 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3161 unconditionally. Remove now unnecessary forward declarations.
3162 Remove XEmacs-specific setup.
3163 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3164 (ruby-font-lock-syntactic-keywords)
3165 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3166 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3167 (ruby-here-doc-end-syntax): Remove.
3168 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3169 defined as function.
3170
3171 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3172
3173 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3174
3175 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3176
3177 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3178 table and abbrev table, `define-derived-mode' does that for us
3179 anyway.
3180
3181 2013-11-01 Glenn Morris <rgm@gnu.org>
3182
3183 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3184 files is atomic for some time, so no parallel compilation issues).
3185
3186 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3187
3188 * faces.el (face-x-resources): Add :distant-foreground.
3189 (region): Use :distant-foreground for gtk and ns.
3190
3191 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3192
3193 Allow multiple bibliographies when BibLaTeX is used rather than
3194 BibTeX.
3195 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3196 (reftex-locate-bibliography-files): Us it.
3197
3198 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3199
3200 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3201 allow comments in pbm files.
3202
3203 * term/w32-win.el (dynamic-library-alist): Support newer versions
3204 of libjpeg starting with v7: look only for the DLL from the
3205 version against which Emacs was built.
3206 Support versions of libpng beyond 1.4.x.
3207 Support libtiff v4.x.
3208
3209 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3210
3211 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3212 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3213 Add property :safe.
3214 (ruby-deep-arglist): Add property :type.
3215
3216 2013-10-31 Glenn Morris <rgm@gnu.org>
3217
3218 * Makefile.in (custom-deps, finder-data): No need to setq the target
3219 variables, we are in the right directory and the defaults work fine.
3220
3221 2013-10-30 Glenn Morris <rgm@gnu.org>
3222
3223 * Makefile.in (autoloads): Do not use abs_lisp.
3224
3225 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3226 `newline' does not respect `standard-output', so use `princ'.
3227
3228 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3229
3230 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3231 * buff-menu.el (Buffer-menu--unmark): New function.
3232 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3233
3234 2013-10-30 Glenn Morris <rgm@gnu.org>
3235
3236 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3237
3238 * emacs-lisp/package.el (lm-homepage): Declare.
3239
3240 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3241 Fix doc typos.
3242
3243 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3244
3245 * Makefile.in (finder-data, autoloads, update-subdirs)
3246 (compile-main, compile-clean, compile-always, bootstrap-clean):
3247 Check return value of cd.
3248 (compile-calc): Remove.
3249
3250 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3251
3252 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3253
3254 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3255 (byte-compile-and-folded): New function.
3256 (=, <, >, <=, >=): Use it.
3257
3258 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3259 (path-separator, null-device, buffer-file-coding-system)
3260 (lpr-headers-switches): Check system-type before modifying them.
3261 (find-buffer-file-type-coding-system): Mark obsolete.
3262 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3263 find-file-not-found-set-buffer-file-coding-system.
3264 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3265 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3266 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3267 (w32-direct-print-region-helper, w32-direct-print-region-function)
3268 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3269 * startup.el (normal-top-level-add-subdirs-to-load-path):
3270 * ps-print.el (ps-print-region-function):
3271 * lpr.el (print-region-function): Use new name.
3272
3273 * subr.el (custom-declare-variable-early): Remove function.
3274 (custom-declare-variable-list): Remove var.
3275 (error, user-error): Remove `while' loop.
3276 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3277 (user-emacs-directory-warning, locate-user-emacs-file):
3278 Move to files.el.
3279 * simple.el (read-quoted-char-radix, read-quoted-char):
3280 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3281 Move from subr.el.
3282 * custom.el (custom-declare-variable-list): Don't process
3283 custom-declare-variable-list.
3284
3285 * progmodes/python.el (python-shell-get-buffer): New function.
3286 (python-shell-get-process): Use it.
3287 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3288 Python which encoding was used. Don't split-string since we only care
3289 about the first line. Return the temp-file, if applicable.
3290 (python-shell-send-region): Tell compile.el how to turn locations in
3291 the temp-file into locations in the source buffer.
3292
3293 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * subr.el (undefined): Add missing behavior from the C code for
3296 unbound keys.
3297
3298 * rect.el: Use lexical-binding. Add new rectangular region support.
3299 (rectangle-mark): New command.
3300 (rectangle--region): New var.
3301 (deactivate-mark-hook): Reset rectangle--region.
3302 (rectangle--extract-region, rectangle--insert-for-yank)
3303 (rectangle--highlight-for-redisplay)
3304 (rectangle--unhighlight-for-redisplay): New functions.
3305 (region-extract-function, redisplay-unhighlight-region-function)
3306 (redisplay-highlight-region-function): Use them to handle
3307 rectangular region.
3308 * simple.el (region-extract-function): New var.
3309 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3310 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3311 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3312 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3313 (redisplay-unhighlight-region-function)
3314 (redisplay-highlight-region-function): New vars.
3315 (redisplay--update-region-highlight): New function.
3316 (pre-redisplay-function): Use it.
3317 (exchange-point-and-mark): Don't deactivate the mark before
3318 reactivate-it anyway.
3319 * comint.el (comint-kill-region): Remove yank-handler argument.
3320 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3321 (delete-char): Remove property, since it's now part of their
3322 default behavior.
3323 (self-insert-iso): Remove property since this command doesn't exist.
3324
3325 * emacs-lisp/package.el (package--download-one-archive)
3326 (describe-package-1): Don't query the user about final newline.
3327
3328 2013-10-29 Daniel Colascione <dancol@dancol.org>
3329
3330 * net/tramp.el (tramp-methods): Document new functionality.
3331 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3332 tramp-hostname-checker if method provides one instead of scanning
3333 argument list for "%h" to decide hostname acceptability.
3334
3335 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3338 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3339 Handle COPY-CONTENTS. (Bug#15737)
3340
3341 2013-10-28 Daiki Ueno <ueno@gnu.org>
3342
3343 * epa-file.el
3344 (epa-file-cache-passphrase-for-symmetric-encryption):
3345 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3346
3347 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3348
3349 * image.el (defimage):
3350 (image-load-path): Doc fixes.
3351
3352 2013-10-27 Alan Mackenzie <acm@muc.de>
3353
3354 Indent statements in macros following "##" correctly.
3355 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3356 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3357
3358 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3359
3360 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3361
3362 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3365 after `=' is probably a new expression.
3366
3367 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3368
3369 * man.el (man-imenu-title): New option.
3370 (Man-mode-map): Add menu. (Bug#15722)
3371 (Man-mode): Add imenu to menu.
3372
3373 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3374
3375 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3376 specific in what the first arg can be: a non-keyword word,
3377 string/regexp/percent literal opener, opening paren, or unary
3378 operator followed directly by word.
3379
3380 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3383 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3384 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3385 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3386 Remove vars, they do not apply any more.
3387 (prolog-mode-abbrev-table): Remove redundant declaration.
3388 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3389 (prolog-use-smie): Remove.
3390 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3391 supported by prolog-electric-if-then-else-flag.
3392 (prolog-mode-variables, prolog-menu): Use setq-local.
3393 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3394 Remove binding to `Backspace' since this key doesn't exist anyway.
3395 Remove bindings for electric self-inserting keys.
3396 (prog-mode): Assume it's defined.
3397 (prolog-post-self-insert): New function.
3398 (prolog-mode): Use it.
3399 (prolog-indent-line, prolog-indent-level)
3400 (prolog-find-indent-of-matching-paren)
3401 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3402 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3403 (prolog-goto-next-paren, prolog-in-string-or-comment)
3404 (prolog-tokenize, prolog-inside-mline-comment)
3405 (prolog-find-start-of-mline-comment): Remove functions.
3406 (prolog-find-unmatched-paren, prolog-clause-end)
3407 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3408 (prolog-electric--if-then-else): Rename from
3409 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3410 (prolog-tokenize-searchkey): Remove const.
3411 (prolog-clause-info): Use forward-sexp.
3412 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3413 (prolog-electric-if-then-else): Remove commands.
3414 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3415 for use in post-self-insert-hook.
3416 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3417 for use in post-self-insert-hook.
3418 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3419 for use in post-self-insert-hook.
3420 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3421 adapt it for use in post-self-insert-hook.
3422
3423 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3424
3425 * emacs-lisp/ert.el (ert-run-tests-interactively):
3426 Use `completing-read'. (Bug#9756)
3427
3428 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3429
3430 * simple.el (line-move): Call line-move-1 instead of
3431 line-move-visual when the current window hscroll is zero, but
3432 temporary-goal-column indicates we will need to hscroll as result
3433 of the movement. (Bug#15712)
3434
3435 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3436
3437 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3438 capitalization. Use :visible instead of :active.
3439 Fix `ruby-indent-exp' reference. Add menu items for the generic
3440 commands that are used with SMIE.
3441 (ruby-do-end-to-brace): Insert space after `{'.
3442
3443 2013-10-25 John Anthony <john@jo.hnanthony.com>
3444
3445 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3446
3447 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3448
3449 2013-10-25 Glenn Morris <rgm@gnu.org>
3450
3451 * vc/vc.el (vc-print-log): Don't use a working revision unless
3452 one was explicitly specified. (Bug#15322)
3453
3454 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * subr.el (add-to-list): Preserve return value in compiler-macro
3457 (bug#15692).
3458
3459 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3460
3461 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3462 result. Ask user to retry using '-all' flag. (Bug#15701)
3463
3464 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * emacs-lisp/smie.el: New smie-config system.
3467 (smie-config): New defcustom.
3468 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3469 (smie-config-guess, smie-config-save): New commands.
3470 (smie-config--mode-local, smie-config--buffer-local)
3471 (smie-config--trace, smie-config--modefuns): New vars.
3472 (smie-config--advice, smie-config--mode-hook)
3473 (smie-config--setter, smie-config-local, smie-config--get-trace)
3474 (smie-config--guess-value, smie-config--guess): New functions.
3475 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3476 text properties. Treat "string fence" syntax like string syntax.
3477
3478 * progmodes/sh-script.el (sh-use-smie): Change default.
3479 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3480 (sh-var-value): Simplify by CSE.
3481 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3482 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3483 is used.
3484 (sh-guess-basic-offset): Use cl-incf.
3485 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3486
3487 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3488
3489 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3490 (bug#15699).
3491
3492 2013-10-24 Glenn Morris <rgm@gnu.org>
3493
3494 * Makefile.in (abs_top_srcdir): Remove.
3495 (update-subdirs): Use relative path to update-subdirs.
3496
3497 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3498
3499 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3500 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3501 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3502 Call unmsys--file-name before expand-file-name, not after it.
3503
3504 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3505
3506 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3507 (ert-test-skipped): New error.
3508 (ert-skip, ert-stats-skipped): New defuns.
3509 (ert--skip-unless): New macro.
3510 (ert-test-skipped): New struct.
3511 (ert--run-test-debugger, ert-test-result-type-p)
3512 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3513 (ert--stats-set-test-and-result, ert-char-for-test-result)
3514 (ert-string-for-test-result, ert-run-tests-batch)
3515 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3516 Handle skipped tests. (Bug#9803)
3517
3518 2013-10-24 Glenn Morris <rgm@gnu.org>
3519
3520 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3521
3522 * Makefile.in (abs_top_srcdir): New, set by configure.
3523 (update-subdirs): Correct build-aux location.
3524
3525 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3526
3527 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3528 value, whether we could auto-deduce `backend', or not.
3529
3530 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3531 with parameters" example. Simplify the "is it block or is it
3532 hash" check, but also make it more thorough.
3533
3534 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3535
3536 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3537
3538 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3541 { if it is hanging.
3542
3543 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3544 :before ";".
3545
3546 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3547
3548 * progmodes/compile.el (compilation-directory-matcher)
3549 (compilation-page-delimiter):
3550 Support GNU Make-4.0 directory quoting. (Bug#15678)
3551
3552 2013-10-23 Leo Liu <sdl.web@gmail.com>
3553
3554 * ido.el (ido-tidy): Handle read-only text.
3555
3556 2013-10-23 Glenn Morris <rgm@gnu.org>
3557
3558 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3559 (emacs, compile, compile-always):
3560 Quote entities that might contain whitespace.
3561 (custom-deps, finder-data, autoloads): Use abs_lisp.
3562 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3563 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3564 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3565
3566 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3567
3568 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3569 Use `following-char'.
3570
3571 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3574 * progmodes/ruby-mode.el (ruby-smie-rules):
3575 Remove corresponding workaround. Fix indentation rule of ";" so it
3576 also applies when ";" is the parent.
3577
3578 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3579
3580 * frame.el (display-screens, display-pixel-height)
3581 (display-pixel-width, display-mm-width, display-backing-store)
3582 (display-save-under, display-planes, display-color-cells)
3583 (display-visual-class, display-monitor-attributes-list):
3584 Mention the optional ‘display’ argument in doc strings.
3585
3586 2013-10-22 Michael Gauland <mikelygee@amuri.net>
3587
3588 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3589 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3590
3591 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3592
3593 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3594 TODO. Add "." after " @ ".
3595 (ruby-smie--at-dot-call): New function. Checks if point at method
3596 call with explicit target.
3597 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3598 to the method name tokens when it precedes them.
3599 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3600 (ruby-smie-rules): Add rule for indentation before and after "."
3601 token.
3602
3603 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * textmodes/remember.el (remember-diary-extract-entries):
3606 Avoid add-to-list.
3607
3608 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3609 an instruction.
3610
3611 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-smie-grammar):
3614 Add (almost) all infix operators.
3615 (ruby-smie--implicit-semi-p): Add new operator chars.
3616
3617 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3618 `smie-down-list'.
3619 (ruby-smie--args-separator-p): Check that there's no newline
3620 between method call and its arguments.
3621
3622 2013-10-20 Alan Mackenzie <acm@muc.de>
3623
3624 Allow comma separated lists after Java "implements".
3625
3626 * progmodes/cc-engine.el (c-backward-over-enum-header):
3627 Parse commas.
3628 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3629 from a "disallowed" list in enum fontification.
3630
3631 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3632
3633 * startup.el (default-frame-background-mode): Remove unused defvar.
3634
3635 * progmodes/verilog-mode.el (verilog-mode): Don't set
3636 comment-indent-function globally.
3637
3638 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3639
3640 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3641 Move Info menu item creation to ns-win.el.
3642
3643 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3644 in menu bar.
3645
3646 * menu-bar.el: Move GNUstep specific menus...
3647
3648 * term/ns-win.el (ns-initialize-window-system): ... to here.
3649
3650 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * simple.el (newline): Only run post-self-insert-hook when
3653 called interactively.
3654
3655 2013-10-19 Johan Bockgård <bojohan@gnu.org>
3656
3657 * icomplete.el (icomplete-with-completion-tables): Add :version.
3658
3659 2013-10-19 Alan Mackenzie <acm@muc.de>
3660
3661 Fix fontification bugs with constructors and const.
3662
3663 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3664 CASE 2) Remove the check for the absence of a suffix construct
3665 after a function declaration with only types (no identifiers) in
3666 the parentheses. Also, accept a function declaration with just a
3667 type inside the parentheses, if this type can be positively
3668 recognised as such, or if a prefix keyword like "explicit" nails
3669 down the construct as a declaration.
3670
3671 2013-10-19 Eli Zaretskii <eliz@gnu.org>
3672
3673 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3674 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3675 the problem whereby selecting a menu item that leads to a
3676 minibuffer prompt moves the cursor out of the minibuffer window,
3677 making it hard to type at the prompt. Suggested by Stefan Monnier
3678 <monnier@iro.umontreal.ca>.
3679
3680 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3681
3682 * menu-bar.el: Don't make Services menu.
3683
3684 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3685
3686 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3687 (ffap-alist): Use ffap-c++-mode for c++-mode.
3688 (ffap-c++-path): New variable.
3689 (ffap-c++-mode): New function.
3690
3691 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3692
3693 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3694
3695 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3698 introduced on 2013-09-08, which results in an infinite loop
3699 requesting a password.
3700
3701 2013-10-18 Glenn Morris <rgm@gnu.org>
3702
3703 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3704
3705 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3706
3707 Sync with upstream verilog-mode revision 1a6ecec7.
3708 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3709 (verilog-mode-release-date): Remove.
3710 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3711 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3712 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3713 (verilog-auto-tieoff-ignore-regexp)
3714 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3715 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3716 (verilog-signals-with, verilog-dir-cache-preserving)
3717 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3718 Doc fixes.
3719 (verilog-case-fold): New option, to control case folding in
3720 regexp searches, bug597.
3721 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3722 (verilog-string-match-fold, verilog-in-paren-count)
3723 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3724 (verilog-at-close-struct-p): New functions.
3725 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3726 (verilog-forward-sexp, verilog-set-auto-endcomments):
3727 (verilog-leap-to-case-head): Handle "unique0" case.
3728 (verilog-in-constraint-re): New constant.
3729 (verilog-keywords, verilog-type-font-keywords):
3730 Add some SystemVerilog 1800-2012 keywords.
3731 (verilog-label-be): Remove unimplemented argument, bug669.
3732 (verilog-batch-execute-func): When batch expanding clear
3733 create-lockfiles to prevent spurious user locks when a file ends
3734 up not changing.
3735 (verilog-calculate-indent, verilog-calc-1)
3736 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3737 (verilog-do-indent): Fix indentation of nested constraints
3738 and structures.
3739 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3740 (verilog-auto-inst-param): Use verilog-string-match-fold.
3741 (verilog-read-inst-module-matcher):
3742 Fix AUTOINST on gate primitives with #1.
3743 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3744 Reads all user-defined typed variables.
3745 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3746 (verilog-signals-matching-regexp)
3747 (verilog-signals-not-matching-regexp, verilog-auto):
3748 Respect verilog-case-fold.
3749 (verilog-diff-report): Fix line count.
3750 (verilog-auto-assign-modport): Remove unused local `modi'.
3751 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3752 better handle multidimensional arrays.
3753 Fix packed array ports misadding bit index in AUTOINST, bug637.
3754 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3755 to not double-declare existing outputs and inputs, respectively.
3756 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3757 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3758 (verilog-sk-uvm-component): New skeleton.
3759 (verilog-submit-bug-report): Add verilog-case-fold,
3760 remove verilog-mode-release-date.
3761
3762 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3763
3764 * subr.el (sit-for): Call (input-pending-p t) so as to behave
3765 as before.
3766
3767 2013-10-18 Reuben Thomas <rrt@sc3d.org>
3768
3769 * textmodes/remember.el (remember): Set buffer-offer-save in
3770 remember buffers (bug#13566).
3771
3772 2013-10-18 Daniel Colascione <dancol@dancol.org>
3773
3774 When evaluating forms in ielm, direct standard output to ielm
3775 buffer. Add new ielm-return-for-effect command. Remove trailing
3776 whitespace throughout.
3777
3778 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3779 (ielm-return-for-effect): New command.
3780 (ielm-send-input): Accept optional `for-effect' parameter.
3781 (ielm-eval-input): Accept optional `for-effect' parameter.
3782 Bind `standard-output' to stream we create using
3783 `ielm-standard-output-impl'. Suppress printing result when
3784 `for-effect'.
3785 (ielm-standard-output-impl): New function.
3786 (inferior-emacs-lisp-mode): Explain new features in documentation.
3787
3788 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
3789
3790 Code cleanup.
3791
3792 * net/tramp.el (tramp-debug-message): Do not check for connection
3793 buffer.
3794 (tramp-message): Use "vector" connection property.
3795
3796 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3797 (tramp-equal-remote, tramp-eshell-directory-change)
3798 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3799 (tramp-adb-handle-rename-file)
3800 * net/tramp-cmds.el (tramp-list-remote-buffers)
3801 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3802 * net/tramp-compat.el (tramp-compat-process-running-p)
3803 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3804 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3805 (tramp-gvfs-handle-rename-file)
3806 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3807 (tramp-set-file-uid-gid)
3808 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3809 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3810 of `file-remote-p'.
3811
3812 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3813 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3814 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3815 (tramp-gw-open-network-stream): Suppress unrelated traces.
3816
3817 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3818 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3820 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3821 connection property.
3822
3823 * net/tramp-cache.el (top): Suppress traces when reading
3824 persistency file.
3825
3826 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3827 Refactor common code. Improve debug message.
3828 (tramp-maybe-open-connection)
3829 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3830 connection buffer too early.
3831
3832 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3833 from `tramp-smb-actions-with-acl'.
3834 (tramp-smb-actions-set-acl): New defconst.
3835 (tramp-smb-handle-copy-directory)
3836 (tramp-smb-action-get-acl): New defun, renamed from
3837 `tramp-smb-action-with-acl'.
3838 (tramp-smb-action-set-acl): New defun.
3839 (tramp-smb-handle-set-file-acl): Rewrite.
3840
3841 2013-10-17 Glenn Morris <rgm@gnu.org>
3842
3843 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3844
3845 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * skeleton.el (skeleton-newline): Remove.
3848 (skeleton-internal-1): Use (insert "\n") instead.
3849
3850 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3851 let-bindings.
3852
3853 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3854 forward-sexp-function while we redo its job (bug#15613).
3855
3856 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3857
3858 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3859 represented by lists.
3860
3861 2013-10-16 Glenn Morris <rgm@gnu.org>
3862
3863 * tmm.el (tmm--history): New dynamic variable.
3864 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3865
3866 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3869 (tramp-smb-errors): Add error messages.
3870 (tramp-smb-actions-with-acl): New defconst.
3871 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3872 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3873 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3874 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3875 (tramp-smb-get-stat-capability): Fix tests.
3876
3877 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3878
3879 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3880 (bug#15580).
3881
3882 2013-10-16 Glenn Morris <rgm@gnu.org>
3883
3884 * ansi-color.el (ansi-color-drop-regexp):
3885 Add 1J, 1K, 2K. (Bug#15617)
3886
3887 * files.el (hack-local-variables--warned-lexical): New.
3888 (hack-local-variables):
3889 Warn about misplaced lexical-binding. (Bug#15616)
3890
3891 * net/eww.el (eww-render): Always set eww-current-url,
3892 and update header line. (Bug#15622)
3893 (eww-display-html): ... Rather than just doing it here.
3894
3895 2013-10-15 Eli Zaretskii <eliz@gnu.org>
3896
3897 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3898 menu navigations commands.
3899
3900 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3901
3902 * progmodes/subword.el (subword-capitalize): Be careful when
3903 the search for [[:alpha:]] fails (bug#15580).
3904
3905 2013-10-14 Eli Zaretskii <eliz@gnu.org>
3906
3907 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3908 to commands that scroll the menu.
3909
3910 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3911
3912 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3913 Handle methods ending with `?' and `!'.
3914
3915 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
3916
3917 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3918 `japanese-cp932' to `cp932' to fix the problem where saving a
3919 source file written in Shift_JIS twice would end up having
3920 `coding: japanese-cp932' which Ruby could not recognize.
3921 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3922 in `ruby-encoding-map'.
3923 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3924 doesn't need to be explicitly declared in magic comment.
3925 (ruby-encoding-map): Add type declaration for better customize UI.
3926
3927 2013-10-13 Glenn Morris <rgm@gnu.org>
3928
3929 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3930 Occur buffers are read-only. http://bugs.debian.org/720775
3931
3932 * emacs-lisp/authors.el (authors-fixed-entries):
3933 Comment out old alpha stuff.
3934
3935 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3938 to `after-save-hook' instead of `before-save-hook'.
3939 (ruby-mode-set-encoding): Use the value of coding system used to
3940 write the file. Call `basic-save-buffer-1' after modifying the
3941 buffer.
3942
3943 2013-10-13 Alan Mackenzie <acm@muc.de>
3944
3945 Fix indentation/fontification of Java enum with
3946 "implements"/generic.
3947
3948 * progmodes/cc-engine.el (c-backward-over-enum-header):
3949 Extracted from the three other places and enhanced to handle generics.
3950 (c-inside-bracelist-p): Uses new function above.
3951 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3952 function above.
3953 (c-font-lock-enum-tail): Uses new function above.
3954
3955 2013-10-13 Kenichi Handa <handa@gnu.org>
3956
3957 * international/mule-cmds.el (select-safe-coding-system): Remove a
3958 superfluous condition in chekcing whether a coding system is safe
3959 or not.
3960
3961 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3962
3963 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3964
3965 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
3966
3967 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3968
3969 2013-10-13 Glenn Morris <rgm@gnu.org>
3970
3971 * menu-bar.el (menu-bar-update-buffers):
3972 Unify Buffers menu prompt string. (Bug#15576)
3973
3974 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3975
3976 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3977 Add some entries.
3978 (authors-fixed-entries): Use accented form of name.
3979
3980 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3981
3982 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3983 method calls (bug#15594).
3984 (ruby-smie--args-separator-p): New function.
3985 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3986 recognize paren-free method calls.
3987
3988 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3989 internals of universal-argument.
3990
3991 2013-10-11 Eli Zaretskii <eliz@gnu.org>
3992
3993 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3994 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3995 dropped menu on second mouse click on the menu bar.
3996
3997 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4000 (explicit-shell-file-name): Declare.
4001 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4002 (sh-completion-at-point-function): New function.
4003 (sh-mode): Use it.
4004 (sh-smie--keyword-p): Remove unused argument.
4005 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4006 vars.
4007 (sh-set-shell): Always setup SMIE, even if we use the
4008 old indentation code.
4009
4010 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4011
4012 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4013 cases of ? and =.
4014 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4015 predicate would return nil are almost non-existent.
4016 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4017
4018 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4019 cache also after commands that modify the buffer but don't move
4020 point.
4021
4022 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * env.el (substitute-env-in-file-name): New function.
4025 (substitute-env-vars): Extend the meaning of the optional arg.
4026
4027 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4028
4029 * term/w32-win.el (dynamic-library-alist): Define separate lists
4030 of GIF DLLs for versions before and after 5.0.0 of giflib.
4031 (Bug#15531)
4032
4033 2013-10-10 João Távora <joaotavora@gmail.com>
4034
4035 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4036 not locked, use last revision and current source as
4037 defaults. (Bug#15569)
4038
4039 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4040
4041 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4042 menu-bar is hidden.
4043
4044 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4045
4046 * window.el (pop-to-buffer-same-window): Fix doc-string.
4047 (Bug#15492)
4048
4049 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4052
4053 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4054
4055 * calendar/icalendar.el (icalendar-import-file):
4056 Fix interactive spec. (Bug#15482)
4057
4058 2013-10-10 Glenn Morris <rgm@gnu.org>
4059
4060 * desktop.el (desktop-save): Default to saving in .emacs.d,
4061 since PWD is no longer in desktop-path by default. (Bug#15319)
4062
4063 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4064 now that text mode has a menu with the same entry.
4065 (menu-bar-text-mode-auto-fill): Remove now unused func.
4066 * textmodes/text-mode.el (text-mode-map):
4067 Use auto-fill help text from menu-bar.el.
4068
4069 2013-10-10 John Anthony <john@jo.hnanthony.com>
4070
4071 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4072
4073 2013-10-09 Juri Linkov <juri@jurta.org>
4074
4075 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4076 instead of this-command-keys. Add universal-argument-more and
4077 universal-argument-minus to the list of prefix commands. (Bug#15568)
4078
4079 2013-10-09 Glenn Morris <rgm@gnu.org>
4080
4081 * vc/vc-svn.el (vc-svn-create-repo):
4082 Expand paths in file://... url. (Bug#15446)
4083
4084 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4085 Add some entries.
4086 (authors): Remove unused local variables.
4087
4088 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * profiler.el: Create a more coherent calltree from partial backtraces.
4091 (profiler-format): Hide the tail with `invisible' so that C-s can still
4092 find the hidden elements.
4093 (profiler-calltree-depth): Don't recurse so enthusiastically.
4094 (profiler-function-equal): New hash-table-test.
4095 (profiler-calltree-build-unified): New function.
4096 (profiler-calltree-build): Use it.
4097 (profiler-report-make-name-part): Indent the calltree less.
4098 (profiler-report-mode): Add visibility specs for profiler-format.
4099 (profiler-report-expand-entry, profiler-report-toggle-entry):
4100 Expand the whole subtree when provided with a prefix arg.
4101
4102 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4103
4104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4105 iuwu-mod token.
4106 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4107 hanging iuwu-mod token.
4108 (ruby-smie--forward-token): Do not include a dot after a token in
4109 that token.
4110 (ruby-smie--backward-token): Likewise.
4111
4112 2013-10-08 Juri Linkov <juri@jurta.org>
4113
4114 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4115 to isearch-other-control-char.
4116 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4117 and isearch-post-command-hook to post-command-hook.
4118 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4119 and isearch-post-command-hook from post-command-hook.
4120 (isearch-unread-key-sequence)
4121 (isearch-reread-key-sequence-naturally)
4122 (isearch-lookup-scroll-key, isearch-other-control-char)
4123 (isearch-other-meta-char): Remove functions.
4124 (isearch-pre-command-hook, isearch-post-command-hook):
4125 New functions based on isearch-other-meta-char rewritten
4126 relying on the new behavior of overriding-terminal-local-map
4127 that does not replace the local keymaps any more. (Bug#15200)
4128
4129 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4130
4131 Support menus on text-mode terminals.
4132 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4133 functionality.
4134
4135 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4136
4137 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4138 Move here from mouse.el.
4139 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4140 and arrow keys.
4141 (tty-menu-navigation-map): New map for TTY menu navigation.
4142
4143 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4144
4145 * frame.el (display-mouse-p): Report text-mode mouse as available
4146 on w32.
4147 (display-popup-menus-p): Report availability if mouse is
4148 available; don't condition on window-system.
4149
4150 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4151 (tty-menu-selected-face): New faces.
4152
4153 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4156 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4157 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4158 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4159 New constants.
4160 (lisp-mode-variables): New `elisp' argument.
4161 (emacs-lisp-mode): Use it.
4162 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4163 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4164
4165 * indent.el: Use lexical-binding.
4166 (indent-region): Add progress reporter.
4167 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4168 last step.
4169 (indent--next-tab-stop): New function to implement this behavior.
4170 (tab-to-tab-stop, move-to-tab-stop): Use it.
4171
4172 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4173
4174 * indent.el (indent-rigidly--current-indentation): New function.
4175 (indent-rigidly-map): New var.
4176 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4177
4178 2013-10-08 Bastien Guerry <bzg@gnu.org>
4179
4180 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4181
4182 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * progmodes/perl-mode.el: Use lexical-binding.
4185 Remove redundant :group args.
4186 (perl-nochange): Change default to be closer to other major modes's
4187 standard behavior.
4188 (perl-indent-line): Don't consider text on current line as a
4189 valid beginning of function from which to indent.
4190
4191 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4192 with more than one argument (bug#15538).
4193
4194 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4195
4196 * vc/pcvs.el: Use lexical-binding.
4197 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4198 environment of `eval'.
4199 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4200 than a list of expressions. Adjust callers.
4201 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4202
4203 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4204
4205 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4206 case of the dot in a chained method call being on the following line.
4207
4208 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * electric.el (electric-indent-inhibit): New var.
4211 (electric-indent-post-self-insert-function): Use it.
4212 * progmodes/python.el (python-mode): Set it.
4213
4214 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4215 open braces.
4216
4217 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4218
4219 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4220 (css-mode): Use electric-indent-chars.
4221
4222 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4223 (font-lock-beg, font-lock-end): Move before first use.
4224 (nxml-mode): Use syntax-propertize-function.
4225 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4226 (nxml-extend-after-change-region): Remove.
4227 * nxml/xmltok.el: Use lexical-binding.
4228 (xmltok-save): Use `declare'.
4229 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4230 * nxml/nxml-util.el: Use lexical-binding.
4231 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4232 Use `declare'.
4233 * nxml/nxml-ns.el: Use lexical-binding.
4234 (nxml-ns-save): Use `declare'.
4235 (nxml-ns-prefixes-for): Avoid add-to-list.
4236 * nxml/rng-match.el: Use lexical-binding.
4237 (rng--ipattern): Use cl-defstruct.
4238 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4239 (rng-cons-group-after, rng-subst-group-after)
4240 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4241 Use closures instead of `(lambda...).
4242
4243 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4244
4245 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4246 of BEG and END.
4247
4248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4249 Use `tramp-handle-insert-file-contents'.
4250 (tramp-gvfs-handle-insert-file-contents): Remove function.
4251
4252 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4253 Use `save-restriction' in order to keep markers.
4254
4255 * net/trampver.el: Update release number.
4256
4257 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * progmodes/compile.el (compilation-parse-errors):
4260 Use compilation--put-prop.
4261 (compilation--ensure-parse): Check compilation-multiline.
4262
4263 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4264
4265 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4266 lexical-binding.
4267
4268 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4269
4270 * progmodes/ruby-mode.el: Fix recently added tests.
4271 (ruby-smie-grammar): Add - and +.
4272 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4273 (ruby-smie--backward-id): New functions.
4274 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4275 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4276 any more.
4277
4278 2013-10-07 Leo Liu <sdl.web@gmail.com>
4279
4280 * register.el (register-preview-delay)
4281 (register-preview-functions): New variables.
4282 (register-read-with-preview, register-preview)
4283 (register-describe-oneline): New functions.
4284 (point-to-register, window-configuration-to-register)
4285 (frame-configuration-to-register, jump-to-register)
4286 (number-to-register, view-register, insert-register)
4287 (copy-to-register, append-to-register, prepend-to-register)
4288 (copy-rectangle-to-register): Use register-read-with-preview to
4289 read register. (Bug#15525)
4290
4291 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4292
4293 * net/network-stream.el (network-stream-open-starttls): Don't add
4294 --insecure if it's already present, because that gnutls-cli
4295 rejects getting that parameter twice.
4296
4297 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4298
4299 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4300 keyword, too.
4301
4302 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4303
4304 * newcomment.el (comment-use-global-state): Change default value
4305 to t, mark obsolete (Bug#15251).
4306 (comment-beginning): In addition to `comment-to-syntax', check the
4307 value of `comment-use-global-state'.
4308
4309 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4312 (ruby-comment-column): Follow the global default, by default.
4313 (ruby-smie-grammar): Add assignment syntax.
4314 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4315 open-paren, a comma, or a \.
4316 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4317 and line continuations.
4318 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4319 followed by implicit semi-colons. Add rule for string concatenation
4320 and for indentation at BOB.
4321 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4322
4323 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4324 calling next-sexp, since next-token may have skipped chars which
4325 next-sexp doesn't know should be skipped!
4326
4327 2013-10-05 Leo Liu <sdl.web@gmail.com>
4328
4329 * progmodes/octave.el (octave-send-region):
4330 Call compilation-forget-errors.
4331
4332 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4333
4334 * vc/vc-svn.el (vc-svn-find-admin-dir):
4335 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4336 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4337 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4338 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4339
4340 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4343
4344 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * subr.el (read-passwd): Hide chars even when called within a context
4347 where after-change-functions is disabled (bug#15501).
4348 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4349 until we removed ourself from overriding-terminal-local-map.
4350
4351 2013-10-04 Leo Liu <sdl.web@gmail.com>
4352
4353 * progmodes/octave.el (inferior-octave-mode):
4354 Call compilation-forget-errors.
4355
4356 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4357
4358 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4359
4360 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/secrets.el (secrets-create-collection): Add optional
4363 argument ALIAS. Use proper Label keyword. Append ALIAS as
4364 dbus-call-method argument. (Bug#15516)
4365
4366 2013-10-04 Leo Liu <sdl.web@gmail.com>
4367
4368 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4369 (inferior-octave-compilation-font-lock-keywords): New variables.
4370 (compilation-error-regexp-alist)
4371 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4372 (inferior-octave-mode): Use compilation-shell-minor-mode.
4373
4374 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4375
4376 * minibuffer.el (completion--replace): Be careful that `end' might be
4377 a marker.
4378
4379 2013-10-03 Daiki Ueno <ueno@gnu.org>
4380
4381 Add support for package signature checking.
4382 * emacs-lisp/package.el (url-http-file-exists-p)
4383 (epg-make-context, epg-context-set-home-directory)
4384 (epg-verify-string, epg-context-result-for)
4385 (epg-signature-status, epg-signature-to-string)
4386 (epg-check-configuration, epg-configuration)
4387 (epg-import-keys-from-file): Declare.
4388 (package-check-signature): New user option.
4389 (package-unsigned-archives): New user option.
4390 (package-desc): Add `signed' field.
4391 (package-load-descriptor): Set `signed' field if .signed file exists.
4392 (package--archive-file-exists-p): New function.
4393 (package--check-signature): New function.
4394 (package-install-from-archive): Check package signature.
4395 (package--download-one-archive): Check archive signature.
4396 (package-delete): Remove .signed file.
4397 (package-import-keyring): New command.
4398 (package-refresh-contents): Import default keyring.
4399 (package-desc-status): Add "unsigned" status.
4400 (describe-package-1, package-menu--print-info)
4401 (package-menu-mark-delete, package-menu--find-upgrades)
4402 (package-menu--status-predicate): Support "unsigned" status.
4403
4404 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4407 the new compilation scheme using the new byte-codes.
4408
4409 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4410 (byte-pophandler): New byte codes.
4411 (byte-goto-ops): Adjust accordingly.
4412 (byte-compile--use-old-handlers): New var.
4413 (byte-compile-catch): Use new byte codes depending on
4414 byte-compile--use-old-handlers.
4415 (byte-compile-condition-case--old): Rename from
4416 byte-compile-condition-case.
4417 (byte-compile-condition-case--new): New function.
4418 (byte-compile-condition-case): New function that dispatches depending
4419 on byte-compile--use-old-handlers.
4420 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4421 when we can.
4422
4423 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4424 Optimize under `condition-case' and `catch' if
4425 byte-compile--use-old-handlers is nil.
4426 (disassemble-offset): Handle new bytecodes.
4427
4428 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * subr.el (error): Use `declare'.
4431 (decode-char, encode-char): Use advertised-calling-convention instead
4432 of the docstring to discourage use of the `restriction' arg.
4433
4434 2013-10-03 Daiki Ueno <ueno@gnu.org>
4435
4436 * epg.el (epg-verify-file): Add a comment saying that it does not
4437 notify verification error as a return value nor a signal.
4438 (epg-verify-string): Ditto.
4439
4440 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4441
4442 * progmodes/compile.el (compilation-start): Try globbing the arg to
4443 `cd' (bug#15417).
4444
4445 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4446
4447 Sync with Tramp 2.2.8.
4448
4449 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4450 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4451 * net/trampver.el: Update release number.
4452
4453 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4454
4455 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4456 and default-process-coding-system for darwin only.
4457
4458 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4461
4462 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4463
4464 * vc/vc-git.el (vc-git-grep): Disable pager.
4465
4466 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4467
4468 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4469 Use :url instead of :homepage, as per
4470 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4471
4472 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4473 non-nil, use `syntax-ppss' (Bug#15251).
4474
4475 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4476
4477 * progmodes/octave.el (inferior-octave-startup-file):
4478 Prefer ~/.emacs.d/init_octave.m.
4479
4480 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4481
4482 * emacs-lisp/package.el (package-desc-from-define):
4483 Accept additional arguments as plist, convert them to an alist and store
4484 them in the `extras' slot.
4485 (package-generate-description-file): Convert extras alist back to
4486 plist and append to the `define-package' form arguments.
4487 (package--alist-to-plist): New function.
4488 (package--ac-desc): Add `extras' slot.
4489 (package--add-to-archive-contents): Check if the archive-contents
4490 vector is long enough, and if it is, pass its `extras' slot value
4491 to `package-desc-create'.
4492 (package-buffer-info): Call `lm-homepage', pass the returned value
4493 to `package-desc-from-define'.
4494 (describe-package-1): Render the homepage button (Bug#13291).
4495
4496 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4497 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4498
4499 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4500
4501 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4502 and default-process-coding-system to utf-8-unix (Bug#15402).
4503
4504 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4505
4506 * subr.el (looking-back): Do not recommend using looking-back.
4507
4508 2013-09-28 Alan Mackenzie <acm@muc.de>
4509
4510 Fix indentation/fontification of Java enum with "implements".
4511
4512 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4513 regexp which matches "implements", etc., in Java.
4514 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4515 specifier clauses coming after "enum".
4516 * progmodes/cc-fonts.el (c-font-lock-declarations)
4517 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4518 after "enum".
4519
4520 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4521
4522 * faces.el (region): Change ns_selection_color to
4523 ns_selection_fg_color, add ns_selection_bg_color.
4524
4525 2013-09-28 Leo Liu <sdl.web@gmail.com>
4526
4527 * progmodes/octave.el (inferior-octave-completion-table)
4528 (inferior-octave-completion-at-point): Minor tweaks.
4529
4530 * textmodes/ispell.el (ispell-lookup-words): Rename from
4531 lookup-words. (Bug#15460)
4532 (lookup-words): Obsolete.
4533 (ispell-complete-word, ispell-command-loop): All uses changed.
4534
4535 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4536
4537 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4538 (octave-mode-menu): Add octave-send-buffer.
4539 (octave-send-buffer): New function.
4540
4541 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4542
4543 * progmodes/octave.el (octave-mode-map): Add key binding for
4544 octave-lookfor.
4545 (octave-mode-menu): Add octave-lookfor.
4546 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4547 octave-lookfor.
4548 (octave-lookfor): New function.
4549
4550 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/cl-macs.el:
4553 (cl--loop-destr-temps): Remove.
4554 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4555 its convention.
4556 (cl--loop-set-iterator-function): New function.
4557 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4558 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4559 Bind `it' with `let' instead of substituting it with `cl-subst'.
4560 (cl--unused-var-p): New function.
4561 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4562 Eliminate some unused variable warnings (bug#15326).
4563
4564 2013-09-27 Tassilo Horn <tsdh@gnu.org>
4565
4566 * doc-view.el (doc-view-scale-reset): Rename from
4567 `doc-view-reset-zoom-level'.
4568 (doc-view-scale-adjust): New command.
4569 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4570 `doc-view-scale-adjust'.
4571
4572 2013-09-26 Tassilo Horn <tsdh@gnu.org>
4573
4574 * doc-view.el (doc-view-reset-zoom-level): New command.
4575 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4576 zoom commands (bug#15466).
4577
4578 2013-09-26 Kenichi Handa <handa@gnu.org>
4579
4580 * international/quail.el (quail-help): Make it not a command.
4581
4582 2013-09-26 Leo Liu <sdl.web@gmail.com>
4583
4584 * minibuffer.el (completion-all-sorted-completions): Make args
4585 optional as they are.
4586
4587 2013-09-25 Daniel Colascione <dancol@dancol.org>
4588
4589 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4590 specs are and that they're not evaluated.
4591
4592 2013-09-24 Sam Steingold <sds@gnu.org>
4593
4594 * midnight.el (clean-buffer-list-kill-regexps)
4595 (clean-buffer-list-kill-buffer-names): Update for the new Man
4596 buffer naming which includes the object name.
4597
4598 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4601 (eshell-parse-command, eshell-parse-pipeline): Use it since
4602 eshell-separate-commands requires a dynamic scoped var.
4603 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4604
4605 2013-09-23 Leo Liu <sdl.web@gmail.com>
4606
4607 * autoinsert.el (auto-insert-alist): Make the value of
4608 lexical-binding match its file setting.
4609
4610 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
4611
4612 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4613
4614 * autoarg.el (autoarg-kp-digit-argument):
4615 * electric.el (Electric-command-loop):
4616 * kmacro.el (kmacro-step-edit-insert):
4617 Do not set universal-argument-num-events.
4618
4619 2013-09-22 Leo Liu <sdl.web@gmail.com>
4620
4621 * files.el (interpreter-mode-alist): Add octave.
4622
4623 2013-09-21 Alan Mackenzie <acm@muc.de>
4624
4625 C++: fontify identifier in declaration following "public:" correctly.
4626 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4627 to match "public", etc.
4628 (c-decl-prefix-re): Add ":" into the C++ value.
4629 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4630 bit. Add a check for a ":" preceded by "public", etc.
4631
4632 2013-09-21 Eli Zaretskii <eliz@gnu.org>
4633
4634 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4635 recognized by GDB 7.5 and later.
4636
4637 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4638
4639 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4640
4641 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * subr.el (internal--call-interactively): New const.
4644 (called-interactively-p): Use it (bug#3984).
4645
4646 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4647
4648 * vc/pcvs.el (cvs-mode-ignore):
4649 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4650 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4651
4652 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4655 (eshell-ls-orig-insert-directory): Remove.
4656 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4657 (eshell-ls-use-in-dired): Use advice-add/remove.
4658 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4659 Add `orig-fun' arg for use in :around advice.
4660 Make it check (redundantly) eshell-ls-use-in-dired.
4661
4662 2013-09-19 Glenn Morris <rgm@gnu.org>
4663
4664 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4665
4666 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4667
4668 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4669
4670 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4673 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4674 (tramp-get-remote-python): New defuns.
4675 (tramp-get-remote-uid-with-perl)
4676 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4677 contributed by yary <not.com@gmail.com> (tiny change).
4678 (tramp-get-remote-uid-with-python)
4679 (tramp-get-remote-gid-with-python): New defuns. Python code
4680 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4681 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4682
4683 2013-09-19 Glenn Morris <rgm@gnu.org>
4684
4685 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4686
4687 * eshell/em-unix.el (eshell-remove-entries):
4688 Rename argument to avoid name-clash with global `top-level'.
4689
4690 * eshell/esh-proc.el (eshell-kill-process-function):
4691 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4692 (eshell-reset-after-proc): Remove unused arg `proc'.
4693
4694 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4695 (directory-files-and-attributes): Mark unused arg.
4696
4697 * eshell/em-unix.el (eshell-remove-entries):
4698 Remove unused arg `path'. Update callers.
4699
4700 * eshell/em-hist.el (eshell-hist-parse-arguments):
4701 Remove unused arg `silent'. Update callers.
4702
4703 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4704 Fix (f)boundp mix-up.
4705
4706 * eshell/em-smart.el (eshell-smart-scroll-window)
4707 (eshell-disable-after-change):
4708 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4709
4710 2013-09-18 Alan Mackenzie <acm@muc.de>
4711
4712 Fix fontification of type when followed by "const".
4713 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4714 "known" types from fontification.
4715
4716 2013-09-18 Glenn Morris <rgm@gnu.org>
4717
4718 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4719 (chart-face-list): Drop Emacsen without display-color-p.
4720
4721 * net/eww.el (libxml-parse-html-region): Declare.
4722 (eww-display-html): Explicit error if no libxml2 support.
4723
4724 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4725
4726 * image.el (image-type-from-buffer, image-multi-frame-p):
4727 Remove --without-x warning/error.
4728
4729 * mouse.el (mouse-yank-primary):
4730 * term.el (term-mouse-paste):
4731 Reorder to silence --without-x compilation.
4732
4733 * mpc.el (doc-view-mode): Silence --without-x compilation.
4734
4735 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4736 Silence --without-x compilation.
4737
4738 * progmodes/gud.el (gud-find-file, gud-mode):
4739 Silence --without-x compilation.
4740 (tooltip-mode): Declare.
4741
4742 * wdired.el (dired-backup-overwrite): Remove declaration.
4743 (wdired-mode-map): Add doc string.
4744
4745 * custom.el (x-get-resource): Declare.
4746
4747 * eshell/em-glob.el (ange-cache):
4748 * eshell/em-unix.el (ange-cache): Declare.
4749
4750 * faces.el (x-display-list, x-open-connection, x-get-resource):
4751 Declare.
4752
4753 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4754 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4755 Declare.
4756
4757 * frame.el (x-display-grayscale-p, x-display-name): Declare.
4758
4759 * net/gnutls.el (gnutls-log-level): Declare.
4760
4761 * net/shr.el (image-size, image-animate): Declare.
4762
4763 * simple.el (font-info): Declare.
4764
4765 * subr.el (x-popup-dialog): Declare.
4766
4767 * term/common-win.el (x-select-enable-primary)
4768 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4769 Declare.
4770
4771 * term/ns-win.el (x-handle-args): Declare.
4772
4773 * term/x-win.el (x-select-enable-clipboard): Declare.
4774
4775 * term/w32-win.el (create-default-fontset): Declare.
4776
4777 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4778 Declare.
4779
4780 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4781 (fit-frame-to-buffer): Explicit error if --without-x.
4782 (mouse-autoselect-window-select): Silence compiler.
4783
4784 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4785
4786 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4787 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4788 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4789 * eshell/esh-util.el (eshell-sublist):
4790 Remove unused local variables.
4791
4792 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4793
4794 * textmodes/two-column.el: Make 2C-split work for --without-x.
4795 (scroll-bar-columns): Autoload.
4796 (top-level): Require fringe when compiling.
4797
4798 2013-09-18 Leo Liu <sdl.web@gmail.com>
4799
4800 * subr.el (add-hook): Robustify to handle closure as well.
4801
4802 2013-09-17 Glenn Morris <rgm@gnu.org>
4803
4804 * simple.el (messages-buffer-mode-map): Unbind "g".
4805
4806 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4807
4808 * help-mode.el (help-mode-finish): Use derived-mode-p.
4809 Remove obsolete highlighting.
4810
4811 * play/life.el (life-mode): Use define-derived-mode. Derive from
4812 special-mode.
4813 (life): Let-bind inhibit-read-only.
4814 (life-setup): Avoid `setq'. Use `life-mode'.
4815
4816 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4817 which should not be needed any more.
4818 (package-menu-refresh, package-menu-describe-package): Use user-error.
4819
4820 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4821 (eshell-post-rewrite-command-hook): Make obsolete.
4822 (eshell-parse-command): Simplify.
4823 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4824 (eshell--cmd): Declare.
4825 (eshell-parse-pipeline): Remove unused var `final-p'.
4826 Pass a dynvar to eshell-post-rewrite-command-hook.
4827 Implement the new eshell-post-rewrite-command-function.
4828 (eshell-invoke-directly): Remove unused arg `input'.
4829 * eshell/esh-io.el (eshell-io-initialize):
4830 Use eshell-post-rewrite-command-function (bug#15399).
4831 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4832 adjust to new calling convention.
4833 (eshell-create-handles): Rename args to avoid clashing with dynvar
4834 `standard-output'.
4835
4836 2013-09-17 Glenn Morris <rgm@gnu.org>
4837
4838 * simple.el (messages-buffer-mode): New major mode.
4839 (messages-buffer): New function.
4840 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4841 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4842 (ert-run-test): Use `messages-buffer' function.
4843 (ert--force-message-log-buffer-truncation): Ignore read-only.
4844 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4845 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4846
4847 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4850
4851 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4852
4853 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * icomplete.el (icomplete-in-buffer): New var.
4856 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4857 vars and replace them with functions.
4858 (icomplete-minibuffer-setup): Adjust accordingly.
4859 (icomplete--completion-table, icomplete--completion-predicate)
4860 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4861 New functions.
4862 (icomplete-forward-completions, icomplete-backward-completions)
4863 (icomplete-simple-completing-p, icomplete-exhibit)
4864 (icomplete-completions): Use them.
4865 (icomplete--in-region-buffer): New var.
4866 (icomplete--in-region-setup): New function.
4867 (icomplete-mode): Use it.
4868
4869 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4870 (bug#15379).
4871 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4872 return args and options.
4873 (eshell-eval-using-options): Use the new return value of
4874 eshell--do-opts to set the options's vars in their scope.
4875 (eshell--set-option): Rename from eshell-set-option.
4876 Add arg `opt-vals'.
4877 (eshell--process-option): Rename from eshell-process-option.
4878 Add arg `opt-vals'.
4879 (eshell--process-args): Use an `opt-vals' alist to store the options's
4880 values during their processing and return them additionally to the
4881 remaining args.
4882
4883 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4884
4885 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4886 continuation character an operator, as far as indentation is
4887 concerned (Bug#15369).
4888
4889 2013-09-15 Martin Rudalics <rudalics@gmx.at>
4890
4891 * window.el (window--state-put-2): Don't process buffer state
4892 when buffer doesn't exist any more (Bug#15382).
4893
4894 2013-09-15 Glenn Morris <rgm@gnu.org>
4895
4896 * eshell/em-unix.el (eshell/rm):
4897 Make -f ignore missing files. (Bug#15373)
4898
4899 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4900 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4901 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4902
4903 2013-09-14 Glenn Morris <rgm@gnu.org>
4904
4905 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4906
4907 2013-09-13 Glenn Morris <rgm@gnu.org>
4908
4909 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4910 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4911
4912 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4913
4914 * frame.el (x-focus-frame): Mark as declared in frame.c.
4915
4916 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * ls-lisp.el: Use advice-add.
4919 (original-insert-directory): Remove.
4920 (ls-lisp--insert-directory): Rename from insert-directory; add
4921 `orig-fun' argument.
4922 (insert-directory): Advise.
4923
4924 2013-09-13 Eli Zaretskii <eliz@gnu.org>
4925
4926 * term.el (term-emulate-terminal): Decode the command string
4927 before passing it to term-command-hook. (Bug#15337)
4928
4929 2013-09-13 Glenn Morris <rgm@gnu.org>
4930
4931 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4932
4933 * eshell/esh-ext.el (eshell-search-path): Declare.
4934
4935 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4936 Otherwise an error occurs if eshell-dirs module not loaded.
4937
4938 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4939
4940 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
4941
4942 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4943 `tramp-check-proper-host'. Check for a valid method name.
4944
4945 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4946 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4947 * net/tramp-sh.el (tramp-maybe-open-connection):
4948 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4949
4950 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4951 also for hash values.
4952
4953 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4954
4955 * term/ns-win.el (parameters): Don't declare as dynamic.
4956 (before-make-frame-hook): Don't add ineffective function.
4957
4958 * eshell/*.el: Use lexical-binding (bug#15231).
4959
4960 2013-09-12 Kenichi Handa <handa@gnu.org>
4961
4962 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4963
4964 2013-09-12 Glenn Morris <rgm@gnu.org>
4965
4966 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4967 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4968
4969 * subr.el (do-after-load-evaluation): Also give compiler warnings
4970 when obsolete files are used (except by obsolete files).
4971
4972 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4973 in the status output, assume `filename' is the first. (Bug#15322)
4974
4975 * vc/vc.el (vc-deduce-fileset): Doc fix.
4976
4977 * calc/calc-help.el (Info-goto-node):
4978 * progmodes/cperl-mode.el (Info-find-node):
4979 * vc/ediff.el (Info-goto-node): Update declarations.
4980
4981 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4982
4983 * vc/vc-bzr.el (vc-compilation-mode): Declare.
4984 (vc-bzr-pull): Require vc-dispatcher.
4985 * vc/vc-git.el (vc-compilation-mode): Declare.
4986 (vc-git-pull): Require vc-dispatcher.
4987
4988 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4989
4990 * progmodes/octave.el (help-button-action): Declare.
4991
4992 * shell.el (shell-directory-tracker): Output error as a message
4993 rather than just returning it as a string.
4994 (shell-process-pushd): Remove useless use of message.
4995
4996 * dframe.el (dframe-timer-fn):
4997 * files.el (dir-locals-read-from-file):
4998 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4999 (mpc-format):
5000 * reveal.el (reveal-post-command):
5001 * saveplace.el (load-save-place-alist-from-file):
5002 * shell.el (shell-resync-dirs):
5003 * w32-common-fns.el (x-get-selection-value):
5004 * emacs-lisp/copyright.el (copyright-find-copyright):
5005 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5006 * emulation/tpu-edt.el (tpu-copy-keyfile):
5007 * play/bubbles.el (bubbles--mark-neighbourhood):
5008 * progmodes/executable.el
5009 (executable-make-buffer-file-executable-if-script-p):
5010 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5011
5012 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 Cleanup Eshell to rely less on dynamic scoping.
5015 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5016 last-value, and ext-command here. Bind `args' closer to `body'.
5017 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5018 (eshell--args): Declare new dynamic var.
5019 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5020 last-value, and ext-command. Pass `args' to `body'.
5021 (eshell-process-args): Bind eshell--args.
5022 (eshell-set-option): Use eshell--args.
5023 * eshell/eshell.el (eshell): Use derived-mode-p.
5024 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5025 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5026 (eshell-glob-function): Declare.
5027 * eshell/esh-util.el: Require cl-lib.
5028 (eshell-read-hosts-file): Avoid add-to-list.
5029 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5030 `err'.
5031 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5032 Declare.
5033 (eshell/diff): Remove unused var `err'.
5034 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5035 `killflag'.
5036 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5037 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5038 first use.
5039 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5040 Move declaration before first use.
5041 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5042 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5043 rely on cl-return.
5044
5045 2013-09-12 Glenn Morris <rgm@gnu.org>
5046
5047 * term/ns-win.el (global-map): Remove binding for ispell-next,
5048 deleted 1999-05-29. (Bug#15357)
5049
5050 2013-09-11 Glenn Morris <rgm@gnu.org>
5051
5052 * echistory.el (electric-command-history): Remove call to deleted func.
5053
5054 * play/landmark.el (landmark-mode): Fix typos.
5055
5056 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5057 Check cvs-sort-ignore-file is bound.
5058
5059 * savehist.el: No need for cl when compiling on Emacs.
5060
5061 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5064 (bug#15338).
5065 (eshell-self-insert-command, eshell-send-invisible):
5066 Remove unused argument.
5067 (eshell-handle-control-codes): Remove unused var `orig'.
5068 Avoid delete-backward-char.
5069
5070 * files.el (set-auto-mode): Simplify a bit further.
5071
5072 2013-09-11 Glenn Morris <rgm@gnu.org>
5073
5074 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5075 (set-auto-mode): Don't regexp-quote elements.
5076 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5077 * progmodes/cc-mode.el (interpreter-mode-alist):
5078 * progmodes/ruby-mode.el (interpreter-mode-alist):
5079 Revert previous change.
5080
5081 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * play/snake.el (snake-mode):
5084 * play/mpuz.el (mpuz-mode):
5085 * play/landmark.el (lm-mode):
5086 * play/blackbox.el (blackbox-mode):
5087 * play/5x5.el (5x5-mode):
5088 * obsolete/options.el (Edit-options-mode):
5089 * net/quickurl.el (quickurl-list-mode):
5090 * net/newst-treeview.el (newsticker-treeview-mode):
5091 * mail/rmailsum.el (rmail-summary-mode):
5092 * mail/mspools.el (mspools-mode):
5093 * locate.el (locate-mode):
5094 * ibuffer.el (ibuffer-mode):
5095 * emulation/ws-mode.el (wordstar-mode):
5096 * emacs-lisp/debug.el (debugger-mode):
5097 * array.el (array-mode):
5098 * net/eudc.el (eudc-mode): Use define-derived-mode.
5099 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5100 Move initialization into declaration.
5101 (mairix-searches-mode): Use define-derived-mode.
5102 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5103 (eudc-edit-hotlist): Use dolist.
5104 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5105 (Man-mode): Use define-derived-mode.
5106 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5107 (Info-edit-mode): Use define-derived-mode.
5108 (Info-cease-edit): Use Info-mode.
5109 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5110 into declaration.
5111 (eshell-mode): Use define-derived-mode.
5112 * chistory.el (command-history-mode-map): Rename from
5113 command-history-map.
5114 (command-history-mode): Use define-derived-mode.
5115 (Command-history-setup): Remove function.
5116 * calc/calc.el (calc-trail-mode-map): New var.
5117 (calc-trail-mode): Use define-derived-mode.
5118 (calc-trail-buffer): Set calc-main-buffer manually.
5119 * bookmark.el (bookmark-insert-annotation): New function.
5120 (bookmark-edit-annotation): Use it.
5121 (bookmark-edit-annotation-mode): Make it a proper major mode.
5122 (bookmark-send-edited-annotation): Use derived-mode-p.
5123 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5124 closer to its ideal place. Use \' to match EOS.
5125
5126 * profiler.el (profiler-calltree-find): Use function-equal.
5127
5128 2013-09-10 Glenn Morris <rgm@gnu.org>
5129
5130 * files.el (interpreter-mode-alist): Convert to regexps.
5131 (set-auto-mode): Adapt for this. (Bug#15306)
5132 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5133 Comment out unused variable.
5134 * progmodes/cc-mode.el (interpreter-mode-alist):
5135 * progmodes/python.el (interpreter-mode-alist):
5136 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5137 * progmodes/sh-script.el (sh-set-shell):
5138 No longer use interpreter-mode-alist to get list of shells.
5139
5140 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5141
5142 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5143
5144 * simple.el: Use set-temporary-overlay-map for universal-argument.
5145 (universal-argument-map): Don't use default-bindings (bug#15317).
5146 Bind switch-frame explicitly. Replace universal-argument-minus with
5147 a conditional binding.
5148 (universal-argument-num-events, saved-overriding-map): Remove.
5149 (restore-overriding-map): Remove.
5150 (universal-argument--mode): Rename from save&set-overriding-map,
5151 and rewrite.
5152 (universal-argument, universal-argument-more, negative-argument)
5153 (digit-argument): Adjust accordingly.
5154 (universal-argument-minus): Remove.
5155 (universal-argument-other-key): Remove.
5156
5157 * subr.el (with-demoted-errors): Add `format' argument.
5158
5159 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5160
5161 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5162 `tramp-cleanup-connection'.
5163
5164 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5165 parameters KEEP-DEBUG and KEEP-PASSWORD.
5166
5167 * net/tramp.el (tramp-file-name-handler):
5168 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5169 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5170 (tramp-maybe-open-connection):
5171 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5172 Use `tramp-cleanup-connection'.
5173
5174 * net/tramp-sh.el (tramp-maybe-open-connection):
5175 Catch 'uname-changed inside the progress reporter.
5176
5177 2013-09-10 Glenn Morris <rgm@gnu.org>
5178
5179 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5180
5181 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5182 returns "alternate access method" in mode (eg "-rw-r--r--.").
5183
5184 2013-09-08 Glenn Morris <rgm@gnu.org>
5185
5186 * saveplace.el (load-save-place-alist-from-file):
5187 Demote errors. (Bug#15305)
5188
5189 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5190
5191 Improve compatibility with older Emacsen, and XEmacs.
5192
5193 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5194 only if it is bound. It isn't for XEmacs.
5195 (with-tramp-progress-reporter): Do not let-bind `result'.
5196 This yields to scoping errors in XEmacs.
5197 (tramp-handle-make-auto-save-file-name): New function, moved from
5198 tramp-sh.el.
5199
5200 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5201 for `make-auto-save-file-name'.
5202 (tramp-adb--gnu-switches-to-ash):
5203 Use `tramp-compat-replace-regexp-in-string'.
5204
5205 * net/tramp-cache.el (tramp-cache-print): Call
5206 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5207
5208 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5209 bound. It isn't for XEmacs.
5210
5211 * net/tramp-compat.el (tramp-compat-copy-file):
5212 Catch `wrong-number-of-arguments' error.
5213 (tramp-compat-replace-regexp-in-string): New defun.
5214
5215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5216 for `make-auto-save-file-name'.
5217 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5218 `copy-file'.
5219 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5220 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5221 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5222
5223 * net/tramp-gw.el (tramp-gw-open-network-stream):
5224 Use `tramp-compat-replace-regexp-in-string'.
5225
5226 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5227 Call `tramp-handle-make-auto-save-file-name'.
5228 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5229 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5230 (tramp-sh-file-inotifywait-process-filter):
5231 Use `tramp-compat-replace-regexp-in-string'.
5232 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5233
5234 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5235 for `make-auto-save-file-name'.
5236 (tramp-smb-handle-copy-directory):
5237 Call `tramp-compat-replace-regexp-in-string'.
5238 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5239 (tramp-smb-handle-copy-file): Improve error message.
5240 (tramp-smb-handle-rename-file): Rename directly only in case
5241 `newname' does not exist yet. This is a restriction of smbclient.
5242 (tramp-smb-maybe-open-connection): Rerun the function only when
5243 `auth-sources' is non-nil.
5244
5245 2013-09-08 Kenichi Handa <handa@gnu.org>
5246
5247 * international/characters.el: Set category "^" (Combining) for
5248 more characters.
5249
5250 2013-09-07 Alan Mackenzie <acm@muc.de>
5251
5252 Correctly fontify Java class constructors.
5253 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5254 in Java Mode.
5255 (c-recognize-typeless-decls): Set the Java value to t.
5256 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5257 While handling a "(", add a check for, effectively, Java, and handle a
5258 "typeless" declaration there.
5259
5260 2013-09-07 Roland Winkler <winkler@gnu.org>
5261
5262 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5263 field subtitle for entry type book.
5264
5265 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * minibuffer.el: Make minibuffer-complete call completion-in-region
5268 rather than other way around.
5269 (completion--some, completion-pcm--find-all-completions):
5270 Don't delay signals when debugging.
5271 (minibuffer-completion-contents): Beware fields within the
5272 minibuffer contents.
5273 (completion-all-sorted-completions): Use defvar-local.
5274 (completion--do-completion, completion--cache-all-sorted-completions)
5275 (completion-all-sorted-completions, minibuffer-force-complete):
5276 Add args `beg' and `end'.
5277 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5278 (minibuffer-complete): Use completion-in-region.
5279 (completion-complete-and-exit): New fun, extracted from
5280 minibuffer-complete-and-exit.
5281 (minibuffer-complete-and-exit): Use it.
5282 (completion--complete-and-exit): Rename from
5283 minibuffer--complete-and-exit.
5284 (completion-in-region--single-word): New function, extracted from
5285 minibuffer-complete-word.
5286 (minibuffer-complete-word): Use it.
5287 (display-completion-list): Make `common-substring' argument obsolete.
5288 (completion--in-region): Call completion--in-region-1 instead of
5289 minibuffer-complete.
5290 (completion-help-at-point): Pass boundaries to
5291 minibuffer-completion-help as args rather than via an overlay.
5292 (completion-pcm--string->pattern): Use `any-delim'.
5293 (completion-pcm--optimize-pattern): New function.
5294 (completion-pcm--pattern->regex): Handle `any-delim'.
5295 * icomplete.el (icomplete-forward-completions)
5296 (icomplete-backward-completions, icomplete-completions):
5297 Adjust calls to completion-all-sorted-completions and
5298 completion--cache-all-sorted-completions.
5299 (icomplete-with-completion-tables): Default to t.
5300 * emacs-lisp/crm.el (crm--current-element): Rename from
5301 crm--select-current-element. Don't put an overlay but return the
5302 boundaries instead.
5303 (crm--completion-command): Take two new args to bind to the boundaries.
5304 (crm-completion-help): Adjust accordingly.
5305 (crm-complete): Use completion-in-region.
5306 (crm-complete-word): Use completion-in-region--single-word.
5307 (crm-complete-and-exit): Use completion-complete-and-exit.
5308
5309 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5312 than dynamically.
5313
5314 2013-09-06 Juri Linkov <juri@jurta.org>
5315
5316 * info.el (Info-display-images-node): When image file doesn't exist
5317 display text version of the image if it's provided in the Info file.
5318 Otherwise, display the location of missing image from SRC attribute.
5319 Add help-echo text property from ALT attribute. (Bug#15279)
5320
5321 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5324 (edit-abbrevs-mode): Use define-derived-mode.
5325
5326 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5327 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5328 that it's defined.
5329 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5330 Use define-derived-mode.
5331
5332 * epg.el (epg-start-encrypt): Minor CSE simplification.
5333
5334 2013-09-06 William Xu <william.xwl@gmail.com>
5335
5336 * arc-mode.el: Add support for 7za (bug#15264).
5337 (archive-7z-program): New var.
5338 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5339 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5340 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5341
5342 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5343
5344 Remove URL syntax.
5345
5346 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5347 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5348 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5349 (tramp-postfix-host-format, tramp-file-name-regexp)
5350 (tramp-completion-file-name-regexp)
5351 (tramp-completion-dissect-file-name)
5352 (tramp-handle-substitute-in-file-name): Remove 'url case.
5353 (tramp-file-name-regexp-url)
5354 (tramp-completion-file-name-regexp-url): Remove constants.
5355
5356 2013-09-06 Glenn Morris <rgm@gnu.org>
5357
5358 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5359
5360 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5363 keywords" below "here-doc beginnings" (Bug#15270).
5364
5365 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * subr.el (pop): Use `car-safe'.
5368 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5369 to detect unused `pop' return value.
5370
5371 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5372 var `block-regexp'.
5373 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5374 (python-fill-string): Remove unused var `marker'.
5375 (python-skeleton-add-menu-items): Remove unused var `items'.
5376
5377 * international/mule-cmds.el: Require CL.
5378 (find-coding-systems-for-charsets): Avoid add-to-list.
5379 (sanitize-coding-system-list): New function, extracted from
5380 select-safe-coding-system-interactively.
5381 (select-safe-coding-system-interactively): Use it.
5382 (read-input-method-name): Accept symbols for `default'.
5383
5384 * emacs-lisp/advice.el (defadvice): Add indent rule.
5385
5386 2013-09-05 Daniel Hackney <dan@haxney.org>
5387
5388 * dired-x.el:
5389 * net/ange-ftp.el:
5390 * net/browse-url.el:
5391 * net/dbus.el:
5392 * net/eudc.el:
5393 * net/eudcb-ldap.el:
5394 * net/eww.el:
5395 * net/imap.el:
5396 * printing.el:
5397 * vc/ediff-diff.el:
5398 * vc/ediff-init.el:
5399 * vc/ediff-merg.el:
5400 * vc/ediff-mult.el:
5401 * vc/ediff-util.el:
5402 * vc/ediff-wind.el:
5403 * vc/ediff.el:
5404 * vc/emerge.el:
5405 * vc/pcvs.el:
5406 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5407 byte compiler. Remove some unused let-bound variables.
5408
5409 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5412 a "ref-cell", since it gets better optimized (bug#14883).
5413
5414 2013-09-05 Glenn Morris <rgm@gnu.org>
5415
5416 * progmodes/cc-awk.el (c-forward-sws): Declare.
5417
5418 2013-09-04 Glenn Morris <rgm@gnu.org>
5419
5420 * generic-x.el [rul-generic-mode]: Require cc-mode.
5421 (c++-mode-syntax-table): Declare.
5422 (rul-generic-mode-syntax-table): Init in the defvar.
5423
5424 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5427 (vc-do-command, vc-set-async-update):
5428 * vc/vc-mtn.el (vc-mtn-dir-status):
5429 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5430 (vc-hg-pull, vc-hg-merge-branch):
5431 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5432 (vc-git-merge-branch):
5433 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5434 (vc-cvs-dir-status-files):
5435 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5436 (vc-bzr-dir-status-files):
5437 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5438 * vc/vc-annotate.el: Use lexical-binding.
5439 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5440 (vc-sentinel-movepoint): Declare.
5441 (vc-annotate): Don't use `goto-line'.
5442 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5443 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5444 (vc-sentinel-movepoint): Declare.
5445 * vc/vc-svn.el: Use lexical-binding.
5446 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5447 * vc/vc-sccs.el:
5448 * vc/vc-rcs.el: Use lexical-binding.
5449
5450 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5451 `deleted'. Don't drop errors silently.
5452
5453 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5454
5455 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5456
5457 * vc/vc.el (vc-ignore): Rewrite.
5458 (vc-default-ignore): New function.
5459 (vc-default-ignore-completion-table): Use find-ignore-file.
5460
5461 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5462 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5463 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5464 Remove. Most code moved to vc.el.
5465
5466 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5469 * net/tramp-smb.el (tramp-smb-get-file-entries):
5470 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5471 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5472
5473 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5474 Update call to it.
5475 (eww-change-select): Remove unused var `properties'.
5476 (eww-make-unique-file-name): Remove unused var `base'.
5477
5478 * finder.el (finder-compile-keywords): Don't mess with windows.
5479
5480 * calculator.el (calculator-funcall): Fix typo in last change.
5481
5482 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5483
5484 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5485 <pkg>-autoloads.el file stop us.
5486
5487 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5488 warnings, and factor out common code.
5489
5490 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5491
5492 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5493 two-character operators and whether the character preceding them
5494 changes their meaning (Bug#15208).
5495
5496 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5497
5498 Format code sent to Python shell for robustness.
5499 * progmodes/python.el (python-shell-buffer-substring):
5500 New function.
5501 (python-shell-send-region, python-shell-send-buffer): Use it.
5502
5503 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5506 * net/tramp.el (tramp-user-error): ... here.
5507 (tramp-find-method, tramp-check-proper-host)
5508 (tramp-dissect-file-name, tramp-debug-message)
5509 (tramp-handle-shell-command):
5510 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5511 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5512
5513 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5514
5515 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5516
5517 * avoid.el (mouse-avoidance-point-position)
5518 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5519 returns nil.
5520
5521 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5522
5523 * progmodes/python.el (python-shell-completion-get-completions):
5524 Drop use of deleted `comint-last-prompt-overlay'.
5525 (python-nav-if-name-main): New command.
5526
5527 2013-09-01 Glenn Morris <rgm@gnu.org>
5528
5529 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5530 Avoid leading space in $wins. Otherwise the sed command used by
5531 eg compile-main ends up containing "/*.el". (Bug#15170)
5532
5533 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5534
5535 2013-08-30 Glenn Morris <rgm@gnu.org>
5536
5537 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5538 Fix is-this-a-directory logic. (Bug#15220)
5539
5540 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * textmodes/css-mode.el: Use SMIE.
5543 (css-smie-grammar): New var.
5544 (css-smie--forward-token, css-smie--backward-token)
5545 (css-smie-rules): New functions.
5546 (css-mode): Use them.
5547 (css-navigation-syntax-table): Remove var.
5548 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5549 (css-indent-calculate, css-indent-line): Remove functions.
5550
5551 Misc changes to reduce use of `(lambda...); and other cleanups.
5552 * cus-edit.el: Use lexical-binding.
5553 (customize-push-and-save, customize-apropos)
5554 (custom-buffer-create-internal): Use closures.
5555 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5556 * progmodes/ada-xref.el: Use setq.
5557 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5558 * dframe.el: Use lexical-binding.
5559 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5560 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5561 * descr-text.el: Use lexical-binding.
5562 (describe-text-widget, describe-text-sexp, describe-property-list):
5563 Use closures.
5564 * comint.el (comint-history-isearch-push-state): Use a closure.
5565 * calculator.el: Use lexical-binding.
5566 (calculator-number-to-string): Make it work with lexical-binding.
5567 (calculator-funcall): Same and use cl-letf.
5568
5569 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5570 (lisp--company-doc-string, lisp--company-location): New functions.
5571 (lisp-completion-at-point): Use them to improve Company support.
5572
5573 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5574 params of lambda expressions.
5575 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5576 (ruby-smie--opening-pipe-p): New function.
5577 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5578 symbols and matched |...| for formal params.
5579 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5580 from being treated as hanging. Handle "rescue".
5581
5582 2013-08-29 Glenn Morris <rgm@gnu.org>
5583
5584 * progmodes/cc-engine.el (c-pull-open-brace):
5585 Move definition before use.
5586
5587 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5590 are immutable. Don't use `unsafe' any more.
5591 (cl--defsubst-expand): Don't substitute at the same time as keeping
5592 a residual unused let-binding. Don't use `unsafe' any more.
5593
5594 2013-08-29 Glenn Morris <rgm@gnu.org>
5595
5596 * calendar/cal-china.el (calendar-chinese-year-cache):
5597 Recenter on 2015.
5598
5599 * nxml/nxml-util.el (nxml-debug-clear-inside):
5600 Use cl-loop rather than loop.
5601
5602 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5603
5604 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5605
5606 2013-08-28 Glenn Morris <rgm@gnu.org>
5607
5608 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5609
5610 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5611
5612 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5613
5614 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * simple.el (repeat-complex-command--called-interactively-skip):
5617 New function.
5618 (repeat-complex-command): Use it (bug#14136).
5619
5620 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5621 (c-define-abbrev-table): Add `doc' argument.
5622 (c-mode-abbrev-table, c++-mode-abbrev-table)
5623 (objc-mode-abbrev-table, java-mode-abbrev-table)
5624 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5625 (awk-mode-abbrev-table): Use it.
5626 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5627 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5628 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5629 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5630 Move initialization into the declaration; and remove any
5631 autoload cookie.
5632
5633 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5634 and dynamic let binding.
5635
5636 * vc/smerge-mode.el: Remove redundant :group args.
5637
5638 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5639 to load-path.
5640
5641 2013-08-28 Juri Linkov <juri@jurta.org>
5642
5643 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5644 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5645 (isearch-other-meta-char): Handle an undefined shifted printing
5646 character by downshifting it. (Bug#15200)
5647
5648 2013-08-28 Juri Linkov <juri@jurta.org>
5649
5650 * isearch.el (isearch-search): Change regexp error message for
5651 non-regexp searches. (Bug#15166)
5652
5653 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5654
5655 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5656 for portability to hosts where /bin/sh has problems.
5657
5658 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5661
5662 2013-08-27 Juri Linkov <juri@jurta.org>
5663
5664 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5665 in the keyboard macro. (Bug#15126)
5666
5667 2013-08-27 Juri Linkov <juri@jurta.org>
5668
5669 * isearch.el (isearch-quote-char): Comment out converting unibyte
5670 to multibyte, thus syncing with its `quoted-insert' counterpart.
5671 (Bug#15166)
5672
5673 2013-08-27 Martin Rudalics <rudalics@gmx.at>
5674
5675 * window.el (display-buffer-use-some-window): Add missing
5676 argument in call of get-largest-window (Bug#15185).
5677 Reported by Stephen Leake.
5678
5679 2013-08-27 Glenn Morris <rgm@gnu.org>
5680
5681 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5682
5683 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5686 from a matcher-function unless there's no more matches (bug#15161).
5687
5688 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * minibuffer.el: Revert change from 2013-08-20.
5691
5692 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5693 with text property `tramp-default', if appropriate.
5694 (tramp-check-proper-host): New defun.
5695 (tramp-dissect-file-name): Do not check hostname. Revert change
5696 of 2013-03-18.
5697 (tramp-backtrace): Make VEC-OR-PROC optional.
5698
5699 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5700 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5701 * net/tramp-sh.el (tramp-maybe-open-connection):
5702 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5703 Apply `tramp-check-proper-host'.
5704
5705 2013-08-26 Tassilo Horn <tsdh@gnu.org>
5706
5707 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5708 lambda expression in order to have `describe-variable' display it.
5709
5710 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
5711
5712 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5713 BUF can be optional. (Bug#15186)
5714
5715 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5716
5717 * progmodes/flymake.el (flymake-get-real-file-name-function):
5718 Fix broken customization. (Bug#15184)
5719
5720 2013-08-25 Alan Mackenzie <acm@muc.de>
5721
5722 Improve indentation of bracelists defined by macros (without "=").
5723
5724 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5725 expansion begins with "{", regard it as bracelist when it doesn't
5726 contain a ";".
5727
5728 Parse C++ inher-intro when there's a template split over 2 lines.
5729
5730 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5731 rigorously the search for "class" etc. followed by ":".
5732
5733 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5734 random languages a regexp which never matches rather than nil.
5735
5736 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5737
5738 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5739 (c-awk-regexp-one-line-possibly-open-char-list-re)
5740 (c-awk-one-line-possibly-open-regexp-re)
5741 (c-awk-one-line-non-syn-ws*-re): Remove.
5742 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5743 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5744 (c-awk-space*-unclosed-regexp-/-re): New constants.
5745 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5746 aren't regexp delimiters.
5747
5748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5749 handling for a rare situation in AWK Mode involving unterminated
5750 strings/regexps.
5751
5752 2013-08-23 Glenn Morris <rgm@gnu.org>
5753
5754 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5755
5756 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5757
5758 * files.el (create-file-buffer): If the result would begin with
5759 spaces, prepend a "|" instead of removing them. (Bug#15162)
5760
5761 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5764 text-properties (bug#15155).
5765
5766 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5767 exist any more.
5768 (calc-keypad-redraw): Remove unused var `pad'.
5769 (calc-keypad-press): Remove unused var `menu'.
5770
5771 2013-08-23 Martin Rudalics <rudalics@gmx.at>
5772
5773 * window.el (display-buffer-pop-up-frame):
5774 Call pop-up-frame-function with BUFFER current so `make-frame' will
5775 use it as the new frame's buffer (Bug#15133).
5776
5777 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * calendar/timeclock.el: Minor cleanups.
5780 (timeclock-ask-before-exiting, timeclock-use-display-time):
5781 Use `symbol'.
5782 (timeclock-modeline-display): Define as alias before the
5783 actual definition.
5784 (timeclock-mode-line-display): Use define-minor-mode.
5785 (timeclock-day-list-template): Make it a function, add an argument.
5786 (timeclock-day-list-required, timeclock-day-list-length)
5787 (timeclock-day-list-debt, timeclock-day-list-span)
5788 (timeclock-day-list-break): Adjust calls accordingly.
5789
5790 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5793 Use read--expression so that completion works again.
5794
5795 2013-08-21 Sam Steingold <sds@gnu.org>
5796
5797 Add rudimentary inferior shell interaction
5798 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5799 (sh-set-shell): Reset it.
5800 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5801 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5802
5803 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * align.el: Use lexical-binding.
5806 (align-region): Simplify accordingly.
5807
5808 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5811
5812 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5813 `non-essential' up.
5814
5815 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
5816
5817 * net/tramp.el:
5818 * net/tramp-adb.el:
5819 * net/tramp-cmds.el:
5820 * net/tramp-ftp.el:
5821 * net/tramp-gvfs.el:
5822 * net/tramp-gw.el:
5823 * net/tramp-sh.el: Don't wrap external variable declarations by
5824 `eval-when-compile'.
5825
5826 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5827
5828 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5829 now that Emacs supports ImageMagick animations.
5830
5831 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5834 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5835
5836 2013-08-16 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (mouse-autoselect-window-select): Do autoselect when
5839 mouse pointer is on margin.
5840
5841 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5842
5843 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5844
5845 2013-08-16 Glenn Morris <rgm@gnu.org>
5846
5847 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5848 Handle "Remote Directory" response of some clients. (Bug#15058)
5849
5850 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5851 Tweak warning. (Bug#14926)
5852
5853 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5854 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5855
5856 * image-mode.el (image-mode-map): Add menu items to reverse,
5857 increase, decrease, reset animation speed.
5858 (image--set-speed, image-increase-speed, image-decrease-speed)
5859 (image-reverse-speed, image-reset-speed): New functions.
5860 (image-mode-map): Add bindings for speed commands.
5861
5862 * image.el (image-animate-get-speed, image-animate-set-speed):
5863 New functions.
5864 (image-animate-timeout): Respect image :speed property.
5865
5866 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5869 previous line (bug#15101).
5870 (debugger-eval-expression, debugger-record-expression):
5871 Use read--expression (bug#15102).
5872
5873 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
5874
5875 Remove byte compiler warnings, visible when compiling with
5876 `byte-compile-force-lexical-warnings' set to t.
5877
5878 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5879 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5880 (tramp-handle-unhandled-file-name-directory)
5881 (tramp-handle-file-notify-add-watch, tramp-action-login)
5882 (tramp-action-succeed, tramp-action-permission-denied)
5883 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5884 arguments with "_".
5885
5886 * net/tramp-adb.el (tramp-adb-parse-device-names)
5887 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5888 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5889 (tramp-adb-handle-file-truename): Remove unused arguments.
5890
5891 * net/tramp-cache.el (tramp-flush-directory-property)
5892 (tramp-flush-connection-property, tramp-list-connections)
5893 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5894
5895 * net/tramp-compat.el (tramp-compat-make-temp-file):
5896 Rename FILENAME to F.
5897
5898 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5899 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5900 (tramp-zeroconf-parse-workstation-device-names)
5901 (tramp-zeroconf-parse-webdav-device-names)
5902 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5903
5904 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5905 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5906
5907 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5908 arguments.
5909 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5910 (tramp-sh-handle-insert-file-contents-literally)
5911 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5912 with "_".
5913 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5914 Remove unused variables.
5915
5916 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5917 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5918 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5919
5920 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5921 Make them a defconst.
5922 (tramp-uuencode-region): Remove unused variable.
5923
5924 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
5925
5926 * frameset.el (frameset--prop-setter): New function.
5927 (frameset-prop): Add gv-setter declaration.
5928 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5929 parameter was already set in FILTERED. Doc fix.
5930 (frameset--record-minibuffer-relationships): Allow saving a
5931 minibufferless frame without its corresponding minibuffer frame.
5932 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5933 frame, if the frame id matches.
5934 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5935 frames before orphaned ones.
5936 (frameset-restore): Warn about orphaned windows, instead of error out.
5937
5938 2013-08-14 Martin Rudalics <rudalics@gmx.at>
5939
5940 * window.el (window-make-atom): Don't overwrite parameter
5941 already present.
5942 (display-buffer-in-atom-window): Handle special case where we
5943 split an already atomic window.
5944 (window--major-non-side-window, display-buffer-in-side-window)
5945 (window--side-check): Ignore minibuffer window when walking
5946 window tree.
5947 (window-deletable-p): Return 'frame only if no other frame uses
5948 our minibuffer window.
5949 (record-window-buffer): Run buffer-list-update-hook.
5950 (split-window): Make sure window--check-frame won't destroy an
5951 existing atomic window in case the new window gets nested
5952 inside.
5953 (display-buffer-at-bottom): Ignore minibuffer window when
5954 walking window tree. Don't split a side window.
5955 (pop-to-buffer): Don't set-buffer here, the select-window call
5956 should do that.
5957 (mouse-autoselect-window-select): Autoselect only if we are in the
5958 text portion of the window.
5959
5960 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961
5962 * net/shr.el (shr-parse-image-data): New function to grab both the
5963 data itself and the Content-Type.
5964 (shr-put-image): Use it.
5965
5966 * net/eww.el (eww-display-image): Ditto.
5967
5968 * image.el (image-content-type-suffixes): New variable.
5969
5970 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5971
5972 * progmodes/python.el (python-imenu--build-tree)
5973 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5974
5975 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5976
5977 * simple.el (backward-word): Mention the optional argument.
5978
5979 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * frameset.el (frameset--make): Rename constructor from make-frameset.
5982 (frameset-p, frameset-valid-p): Don't autoload.
5983 (frameset-valid-p): Use normal accessors.
5984
5985 2013-08-13 Glenn Morris <rgm@gnu.org>
5986
5987 * progmodes/compile.el (compile-command): Tweak example in doc.
5988 * obsolete/scribe.el (scribe-mode):
5989 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5990
5991 * mail/feedmail.el (feedmail-confirm-outgoing)
5992 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5993
5994 * cus-start.el (truncate-partial-width-windows): Fix type.
5995
5996 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5997
5998 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5999
6000 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * emacs-lisp/timer.el (timer--time-setter): New function.
6003 (timer--time): Use it as gv-setter.
6004
6005 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6006 setter is not a symbol.
6007
6008 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6009
6010 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6011 if sending fails. This makes debugging easier.
6012
6013 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6016 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6017 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6018
6019 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6020
6021 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6022
6023 2013-08-12 Glenn Morris <rgm@gnu.org>
6024
6025 * format.el (format-annotate-function):
6026 Handle read-only text properties in the source. (Bug#14887)
6027
6028 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
6030 * net/eww.el (eww-display-html): Ignore coding system errors.
6031 One web site uses "utf-8lias" as the coding system.
6032
6033 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6036
6037 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6040 (tutorial--detailed-help): Remove unused local variables.
6041 (tutorial--save-tutorial-to): Use ignore-errors.
6042 (help-with-tutorial): Use looking-at-p.
6043
6044 * view.el (view-buffer-other-window, view-buffer-other-frame):
6045 Mark unused arguments.
6046
6047 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6048 (woman-select-symbol-fonts, woman, woman-find-file)
6049 (woman-insert-file-contents, woman-non-underline-faces):
6050 Use string-match-p.
6051 (woman1-unquote): Move declaration.
6052
6053 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6054 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6055 argument. Remove unused local variable.
6056 (xml-parse-elem-type): Use string-match-p.
6057 (xml-substitute-numeric-entities): Use ignore-errors.
6058
6059 * calculator.el (calculator): Mark unused argument.
6060 (calculator-paste, calculator-quit, calculator-integer-p):
6061 Use ignore-errors.
6062 (calculator-string-to-number, calculator-decimal, calculator-exp)
6063 (calculator-op-or-exp): Use string-match-p.
6064
6065 * dired.el (dired-buffer-more-recently-used-p): Declare.
6066 (dired-insert-set-properties, dired-insert-old-subdirs):
6067 Use ignore-errors.
6068
6069 * dired-aux.el (dired-compress): Use ignore-errors.
6070 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6071 (dired-do-async-shell-command, dired-do-shell-command)
6072 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6073 (dired-insert-subdir-validate): Use string-match-p.
6074 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6075 (dired-add-entry): Use string-match-p, looking-at-p.
6076 (dired-insert-subdir-newpos): Remove unused local variable.
6077
6078 * filenotify.el (file-notify-callback): Remove unused local variable.
6079
6080 * filesets.el (filesets-error): Mark unused argument.
6081 (filesets-which-command-p, filesets-filter-dir-names)
6082 (filesets-directory-files, filesets-get-external-viewer)
6083 (filesets-ingroup-get-data): Use string-match-p.
6084
6085 * find-file.el (ff-other-file-name, ff-other-file-name)
6086 (ff-find-the-other-file, ff-cc-hh-converter):
6087 Remove unused local variables.
6088 (ff-get-file-name): Use string-match-p.
6089 (ff-all-dirs-under): Use ignore-errors.
6090
6091 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6092 (follow-select-if-visible): Remove unused local variable.
6093
6094 * forms.el (read-file-filter): Move declaration.
6095 (forms--make-format, forms--make-parser, forms-insert-record):
6096 Quote function with #'.
6097 (forms--update): Use string-match-p. Quote function with #'.
6098
6099 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6100 (help-make-xrefs): Use looking-at-p.
6101 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6102
6103 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6104 (ibuffer-confirm-operation-on): Use string-match-p.
6105
6106 * msb.el (msb-item-handler, msb-dired-item-handler):
6107 Mark unused arguments.
6108
6109 * ses.el (ses-decode-cell-symbol)
6110 (ses-kill-override): Remove unused local variable.
6111 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6112 (ses-load): Use ignore-errors, looking-at-p.
6113 (ses-jump-safe): Use ignore-errors.
6114 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6115
6116 * tabify.el (untabify, tabify): Mark unused arguments.
6117
6118 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6119 Mark unused argument.
6120 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6121 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6122
6123 * emacs-lisp/timer.el (timer--time): Define setter with
6124 gv-define-setter to avoid deprecation warning.
6125
6126 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6127 (*record-cmpl-statistics-p*): Remove (was commented out).
6128 (cmpl-statistics-block): Remove (body was commented out).
6129 All callers changed.
6130 (add-completions-from-buffer, load-completions-from-file):
6131 Remove unused variables.
6132
6133 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6134
6135 * filecache.el (file-cache-delete-file-list):
6136 Print message only when told so.
6137 (file-cache-files-matching): Use #' in mapconcat argument.
6138
6139 * ffap.el (ffap-url-at-point): Fix reference to variable
6140 thing-at-point-default-mail-uri-scheme.
6141
6142 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * subr.el (define-error): New function.
6145 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6146 error-file-not-found and define with define-error.
6147 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6148 and define with define-error.
6149 * userlock.el (file-locked, file-supersession):
6150 * simple.el (mark-inactive):
6151 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6152 * progmodes/ada-mode.el (ada-mode-errors):
6153 * play/life.el (life-extinct):
6154 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6155 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6156 * nxml/rng-util.el (rng-error):
6157 * nxml/rng-uri.el (rng-uri-error):
6158 * nxml/rng-match.el (rng-compile-error):
6159 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6160 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6161 * nxml/nxml-rap.el (nxml-scan-error):
6162 * nxml/nxml-outln.el (nxml-outline-error):
6163 * net/soap-client.el (soap-error):
6164 * net/gnutls.el (gnutls-error):
6165 * net/ange-ftp.el (ftp-error):
6166 * mpc.el (mpc-proc-error):
6167 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6168 (json-number-format, json-string-escape, json-string-format)
6169 (json-key-format, json-object-format):
6170 * jka-compr.el (compression-error):
6171 * international/quail.el (quail-error):
6172 * international/kkc.el (kkc-error):
6173 * emacs-lisp/ert.el (ert-test-failed):
6174 * calc/calc.el (calc-error, inexact-result, math-overflow)
6175 (math-underflow):
6176 * bookmark.el (bookmark-error-no-filename):
6177 * epg.el (epg-error): Define with define-error.
6178
6179 * time.el (display-time-event-handler)
6180 (display-time-next-load-average): Don't call sit-for since it seems
6181 unnecessary (bug#15045).
6182
6183 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6184 Use #' instead of ' to quote functions.
6185 (checkdoc-output-mode): Use setq-local.
6186 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6187 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6188 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6189 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6190 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6191 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6192 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6193 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6194
6195 * ido.el (ido-completion-help): Fix up compiler warning.
6196
6197 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6198
6199 * frameset.el (frameset-p): Add autoload cookie.
6200 (frameset--jump-to-register): New function, based on code moved from
6201 register.el.
6202 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6203
6204 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6205 (frameset-restore, frameset-save, frameset-session-filter-alist):
6206 Remove declarations.
6207 (register-alist): Doc fix.
6208 (frameset-to-register): Move to frameset.el.
6209 (jump-to-register, describe-register-1): Remove frameset-specific code.
6210
6211 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * allout-widgets.el (allout-widgets-pre-command-business)
6214 (allout-widgets-post-command-business)
6215 (allout-widgets-after-change-handler)
6216 (allout-decorate-item-and-context, allout-set-boundary-marker)
6217 (allout-body-modification-handler)
6218 (allout-graphics-modification-handler): Mark ignored arguments.
6219 (allout-widgets-post-command-business)
6220 (allout-widgets-exposure-change-processor)
6221 (allout-widgets-exposure-undo-processor)
6222 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6223 (allout-parse-item-at-point, allout-decorate-item-guides)
6224 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6225 * allout.el (epa-passphrase-callback-function): Declare.
6226 (allout-overlay-insert-in-front-handler)
6227 (allout-overlay-interior-modification-handler)
6228 (allout-isearch-end-handler, allout-chart-siblings)
6229 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6230 (allout-yank-processing, allout-process-exposed)
6231 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6232 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6233 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6234 (lisp-indent-defform): Mark ignored arguments.
6235 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6236 (calculate-lisp-indent): Remove unused variables.
6237 * international/characters.el (indian-2-column, arabic-2-column)
6238 (tibetan): Mark ignored arguments.
6239 (use-cjk-char-width-table): Mark ignored arguments.
6240 Remove unused variables.
6241 * international/fontset.el (build-default-fontset-data)
6242 (x-compose-font-name, create-fontset-from-fontset-spec):
6243 Mark ignored arguments.
6244 (fontset-plain-name): Remove unused variables.
6245 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6246 (keyboard-coding-system): Mark ignored arguments.
6247 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6248 * help.el (resize-temp-buffer-window):
6249 * window.el (display-buffer-in-major-side-window)
6250 (display-buffer-in-side-window, display-buffer-in-previous-window):
6251 Remove unused variables.
6252 * isearch.el (isearch-forward-symbol):
6253 * version.el (emacs-bzr-version-bzr):
6254 * international/mule-cmds.el (current-language-environment):
6255 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6256 (x-handle-display):
6257 * term/pc-win.el (x-list-fonts, x-display-planes)
6258 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6259 (x-server-version, x-display-screens, x-display-mm-height)
6260 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6261 (x-selection-owner-p, x-own-selection-internal)
6262 (x-disown-selection-internal, x-get-selection-internal)
6263 (msdos-initialize-window-system):
6264 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6265 * term/x-win.el (x-handle-no-bitmap-icon):
6266 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6267 (vc-default-find-file-hook, vc-default-extra-menu):
6268 Mark ignored arguments.
6269
6270 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6273 break-condition in the context of the debugged code (bug#12685).
6274
6275 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6276
6277 * comint.el:
6278 Do not use an overlay to highlight the last prompt. (Bug#14744)
6279 (comint-mode): Make comint-last-prompt buffer local.
6280 (comint-last-prompt): New variable.
6281 (comint-last-prompt-overlay): Remove. Superseded by
6282 comint-last-prompt.
6283 (comint-snapshot-last-prompt, comint-output-filter):
6284 Use comint-last-prompt.
6285
6286 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6289 (frameset-save): Check validity of the resulting frameset.
6290
6291 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6292
6293 * ido.el (ido-record-command): Add doc string.
6294
6295 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6296
6297 * frameset.el (frameset): Do not disable creation of the default
6298 frameset-p predicate. Doc fix.
6299 (frameset-valid-p): New function, copied from the old predicate-p.
6300 Add additional checks.
6301 (frameset-restore): Check with frameset-valid-p.
6302 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6303 (frameset-name, frameset-description, frameset-properties)
6304 (frameset-states): Add docstring.
6305 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6306 (frameset-filter-alist): Doc fixes.
6307
6308 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6311
6312 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6315 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6316 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6317 (byte-compile-normal-call): Remove obsolescence check.
6318
6319 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6320
6321 * frameset.el (frameset-restore): Doc fix.
6322
6323 * register.el (frameset-frame-id, frameset-frame-with-id)
6324 (frameset-p, frameset-restore, frameset-save): Declare.
6325 (register-alist): Document framesets.
6326 (frameset-session-filter-alist): Declare.
6327 (frameset-to-register): New function.
6328 (jump-to-register): Implement jumping to framesets. Doc fix.
6329 (describe-register-1): Describe framesets.
6330
6331 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6332
6333 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6336 Use lexical-binding.
6337
6338 * frameset.el (frameset): Use type vector, not list (incompatible
6339 change). Do not declare a new constructor, use the default one.
6340 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6341 `name' and `description', respectively, and add read-only slot
6342 `timestamp'. Doc fixes.
6343 (frameset-copy, frameset-persistent-filter-alist)
6344 (frameset-filter-alist, frameset-switch-to-gui-p)
6345 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6346 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6347 (frameset-filter-iconified, frameset-keep-original-display-p):
6348 Doc fixes.
6349 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6350 Rename from frameset-filter-(save|restore)-param. All callers changed.
6351 Doc fix.
6352 (frameset-p): Adapt to change to vector and be more thorough.
6353 Change arg name to OBJECT. Doc fix.
6354 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6355 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6356 All callers changed.
6357 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6358 All callers changed.
6359 (frameset--record-minibuffer-relationships): Rename from
6360 frameset--process-minibuffer-frames. All callers changed.
6361 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6362 Use new default constructor (again). Doc fix.
6363 (frameset--find-frame-if): Rename from `frameset--find-frame.
6364 All callers changed.
6365 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6366 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6367 Doc fix.
6368 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6369 PARAMETERS and WINDOW-STATE, respectively.
6370 (frameset-restore): Add new keyword argument PREDICATE.
6371 Reset frameset--target-display to nil. Doc fix.
6372
6373 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6376 (bat-mode): Use it.
6377 (bat-mode-syntax-table): Mark \n as end-of-comment.
6378 (bat-font-lock-keywords): Remove comment rule.
6379
6380 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6381 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6382
6383 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6384 (byte-compile-callargs-warn): Use `push'.
6385 (byte-compile-arglist-warn): Ignore higher-order "calls".
6386 (byte-compile-file-form-autoload): Use `pcase'.
6387 (byte-compile-function-form): If quoting a symbol, check that it exists.
6388
6389 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6390
6391 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6392 and add a few popular commands found in batch files.
6393 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6394 (dos-mode): Doc fixes.
6395
6396 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6399 (dos-mode): Use setq-local. Add space after "rem".
6400 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6401 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6402
6403 2013-08-07 Arni Magnusson <arnima@hafro.is>
6404
6405 * progmodes/dos.el: New file.
6406 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6407 dos-mode.
6408
6409 2013-08-06 Glenn Morris <rgm@gnu.org>
6410
6411 * calendar/calendar.el: Add new faces, and day-header-array.
6412 (calendar-weekday-header, calendar-weekend-header)
6413 (calendar-month-header): New faces.
6414 (calendar-day-header-construct): New function.
6415 (calendar-day-header-width): Also :set calendar-day-header-array.
6416 (calendar-american-month-header, calendar-european-month-header)
6417 (calendar-iso-month-header): Use calendar- faces.
6418 (calendar-generate-month):
6419 Use calendar-day-header-array for day headers; apply faces to them.
6420 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6421 (calendar-abbrev-construct): Add optional maxlen argument.
6422 (calendar-day-name-array): Doc fix.
6423 (calendar-day-name-array, calendar-abbrev-length)
6424 (calendar-day-abbrev-array):
6425 Also :set calendar-day-header-array, and maybe redraw.
6426 (calendar-day-header-array): New option. (Bug#15007)
6427 (calendar-font-lock-keywords): Set to nil and make obsolete.
6428 (calendar-day-name): Add option to use header array.
6429
6430 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431
6432 * net/shr.el (shr-render-td): Remove debugging.
6433 (shr-render-td): Make width computation consistent by defaulting
6434 all zero-width columns to 10 characters. This may not be optimal,
6435 but it's at least consistent.
6436 (shr-make-table-1): Redo last change to fix the real problem in
6437 colspan handling.
6438
6439 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6440
6441 * files.el (cache-long-line-scans):
6442 Make obsolete alias to `cache-long-scans'.
6443
6444 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6445
6446 * frameset.el (frameset, frameset-filter-alist)
6447 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6448 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6449 (frameset-compute-pos): Rename from frameset--compute-pos,
6450 and add docstring.
6451 (frameset-move-onscreen): Use frameset-compute-pos.
6452 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6453
6454 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6455 Fix typos in docstrings.
6456
6457 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6458
6459 * frame.el (get-other-frame): Tiny cleanup.
6460
6461 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6462
6463 * vc/vc.el (vc-default-ignore-completion-table):
6464 Silence byte-compiler warning.
6465
6466 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6467 slot , which can indeed be nil.
6468 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6469 Move entry for `left' from persistent to live filter alist.
6470 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6471 Doc fixes.
6472 (frameset-filter-params): When restoring a frame, copy items added to
6473 `filtered', to avoid unwittingly modifying the original parameters.
6474 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6475 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6476
6477 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6478 to use looking-at-p instead of looking-at. (Bug#15028)
6479
6480 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 Revert introduction of isearch-filter-predicates (bug#14714).
6483 Rely on add-function instead.
6484 * isearch.el (isearch-filter-predicates): Rename it back to
6485 isearch-filter-predicate.
6486 (isearch-message-prefix): Use advice-function-mapc and advice
6487 properties to get the isearch-message-prefix.
6488 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6489 instead of run-hook-with-args-until-failure.
6490 (isearch-filter-visible): Not obsolete any more.
6491 * loadup.el: Preload nadvice.
6492 * replace.el (perform-replace): Revert to funcall
6493 instead of run-hook-with-args-until-failure.
6494 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6495 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6496 dired-isearch-filenames-toggle; make it into a proper minor mode.
6497 Use add/remove-function.
6498 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6499 Call the minor-mode rather than add/remove-hook.
6500 (dired-isearch-filter-filenames):
6501 Remove isearch-message-prefix property.
6502 * info.el (Info--search-loop): New function, extracted from Info-search.
6503 Funcall isearch-filter-predicate instead of
6504 run-hook-with-args-until-failure isearch-filter-predicates.
6505 (Info-search): Use it.
6506 (Info-mode): Use isearch-filter-predicate instead of
6507 isearch-filter-predicates.
6508
6509 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6510
6511 Do not call to `selected-window' where it is assumed by default.
6512 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6513 `window-hscroll', `window-width', `window-height', `window-buffer',
6514 `window-frame', `window-start', `window-point', `next-window'
6515 and `window-display-table'.
6516 * abbrev.el (abbrev--default-expand):
6517 * bs.el (bs--show-with-configuration):
6518 * buff-menu.el (Buffer-menu-mouse-select):
6519 * calc/calc.el (calc):
6520 * calendar/calendar.el (calendar-generate-window):
6521 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6522 (diary-make-entry):
6523 * comint.el (send-invisible, comint-dynamic-complete-filename)
6524 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6525 * completion.el (complete):
6526 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6527 * disp-table.el (describe-current-display-table):
6528 * doc-view.el (doc-view-insert-image):
6529 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6530 * ehelp.el (with-electric-help):
6531 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6532 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6533 * emacs-lisp/helper.el (Helper-help-scroller):
6534 * emulation/cua-base.el (cua--post-command-handler-1):
6535 * eshell/esh-mode.el (eshell-output-filter):
6536 * ffap.el (ffap-gnus-wrapper):
6537 * help-macro.el (make-help-screen):
6538 * hilit-chg.el (highlight-compare-buffers):
6539 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6540 * hl-line.el (global-hl-line-highlight):
6541 * icomplete.el (icomplete-simple-completing-p):
6542 * isearch.el (isearch-done):
6543 * jit-lock.el (jit-lock-stealth-fontify):
6544 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6545 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6546 * mpc.el (mpc-tagbrowser, mpc):
6547 * net/rcirc.el (rcirc-any-buffer):
6548 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6549 * play/landmark.el (landmark-max-width, landmark-max-height):
6550 * play/zone.el (zone):
6551 * progmodes/compile.el (compilation-goto-locus):
6552 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6553 * progmodes/etags.el (find-tag-other-window):
6554 * progmodes/fortran.el (fortran-column-ruler):
6555 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6556 * progmodes/verilog-mode.el (verilog-point-text):
6557 * reposition.el (reposition-window):
6558 * rot13.el (toggle-rot13-mode):
6559 * server.el (server-switch-buffer):
6560 * shell.el (shell-dynamic-complete-command)
6561 (shell-dynamic-complete-environment-variable):
6562 * simple.el (insert-buffer, set-selective-display)
6563 (delete-completion-window):
6564 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6565 (speedbar-recenter):
6566 * startup.el (fancy-splash-head):
6567 * textmodes/ispell.el (ispell-command-loop):
6568 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6569 * tutorial.el (help-with-tutorial):
6570 * vc/add-log.el (add-change-log-entry):
6571 * vc/compare-w.el (compare-windows):
6572 * vc/ediff-help.el (ediff-indent-help-message):
6573 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6574 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6575 (ediff-setup-control-frame):
6576 * vc/emerge.el (emerge-position-region):
6577 * vc/pcvs-util.el (cvs-bury-buffer):
6578 * window.el (walk-windows, mouse-autoselect-window-select):
6579 * winner.el (winner-set-conf, winner-undo): Related users changed.
6580
6581 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6582
6583 * frameset.el (frameset--set-id): Doc fix.
6584 (frameset-frame-id, frameset-frame-id-equal-p)
6585 (frameset-locate-frame-id): New functions.
6586 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6587 (frameset-restore): Use them.
6588
6589 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6590
6591 Do not call to `selected-frame' where it is assumed by default.
6592 Affected functions are `raise-frame', `redraw-frame',
6593 `frame-first-window', `frame-terminal' and `delete-frame'.
6594 * calendar/appt.el (appt-disp-window):
6595 * epg.el (epg-wait-for-completion):
6596 * follow.el (follow-delete-other-windows-and-split)
6597 (follow-avoid-tail-recenter):
6598 * international/mule.el (set-terminal-coding-system):
6599 * mail/rmail.el (rmail-mail-return):
6600 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6601 * progmodes/f90.el (f90-add-imenu-menu):
6602 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6603 * server.el (server-switch-buffer):
6604 * simple.el (delete-completion-window):
6605 * talk.el (talk):
6606 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6607 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6608 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6609 * vc/ediff.el (ediff-documentation): Related users changed.
6610 * frame.el (selected-terminal): Remove the leftover.
6611
6612 2013-08-05 Glenn Morris <rgm@gnu.org>
6613
6614 * calendar/calendar.el (calendar-generate-month):
6615 Fix for calendar-column-width != 1 + calendar-day-digit-width.
6616 (calendar-generate-month, calendar-font-lock-keywords):
6617 Fix for calendar-day-header-width > length of any day name.
6618
6619 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
6620
6621 * desktop.el (desktop-clear): Use new name of sort predicate.
6622
6623 * frameset.el (frameset): Add docstring. Move :version property to its
6624 own `version' slot.
6625 (frameset-copy): Rename from copy-frameset.
6626 (frameset-p): Check more thoroughly.
6627 (frameset-prop): Do not check for :version, which is no longer a prop.
6628 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6629 Use new :never value instead of t.
6630 (frameset-filter-alist): Expand and clarify docstring.
6631 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6632 (frameset-filter-minibuffer, frameset-filter-save-param)
6633 (frameset-filter-restore-param, frameset-filter-iconified):
6634 Add pointer to docstring of frameset-filter-alist.
6635 (frameset-filter-params): Rename filter values to be more meaningful:
6636 :never instead of t, and reverse the meanings of :save and :restore.
6637 (frameset--process-minibuffer-frames): Clarify error message.
6638 (frameset-save): Avoid unnecessary and confusing call to framep.
6639 Use new BOA constructor for framesets.
6640 (frameset--reuse-list): Doc fix.
6641 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6642 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6643 (frameset-minibufferless-first-p): Doc fix.
6644 Rename from frameset-sort-frames-for-deletion.
6645 (frameset-restore): Doc fixes. Use new function names.
6646 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6647
6648 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * desktop.el (desktop-restore-forces-onscreen)
6651 (desktop-restore-reuses-frames): Document :keyword constant values.
6652 (desktop-filter-parameters-alist): Remove, now identical to
6653 frameset-filter-alist.
6654 (desktop--filter-tty*): Remove, moved to frameset.el.
6655 (desktop-save-frameset, desktop-restore-frameset):
6656 Do not pass :filters argument.
6657
6658 * frameset.el (frameset-live-filter-alist)
6659 (frameset-persistent-filter-alist): New variables.
6660 (frameset-filter-alist): Use them. Add autoload cookie.
6661 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6662 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6663 `frameset--id' (it's supposed to be internal to frameset.el).
6664 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6665 (frameset--initial-params): New function.
6666 (frameset--get-frame): Use it. Doc fix.
6667 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6668 Accept :all, not 'all.
6669 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6670 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6671 with fbound symbols. Fix frame id matching, and remove matching ids if
6672 the frame being restored is deleted. Obey :delete.
6673
6674 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * subr.el (macrop): New function.
6677 (text-clone--maintaining): New var.
6678 (text-clone--maintain): Rename from text-clone-maintain. Use it
6679 instead of inhibit-modification-hooks.
6680
6681 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6682 a proxy, so as handle autoloads and redefinitions of the target.
6683 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6684
6685 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6686 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6687 (pcase--mutually-exclusive-p): New function.
6688 (pcase--split-consp): Use it.
6689 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6690 mutually exclusive with the current predicate.
6691
6692 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6693 (edebug-macrop): Remove. Use `macrop' instead.
6694 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6695 (ad-macro-p):
6696 * eshell/esh-cmd.el (eshell-macrop):
6697 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6698
6699 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6702 (advice-mapc): New function, using it.
6703 (advice-function-member-p): New function.
6704 (advice--normalize): Store the cdr in advice--saved-rewrite since
6705 that's the part that will be changed.
6706 (advice--symbol-function): New function.
6707 (advice-remove): Handle removal before the function is defined.
6708 Adjust to new advice--saved-rewrite.
6709 (advice-member-p): Use advice-function-member-p and
6710 advice--symbol-function.
6711
6712 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
6713
6714 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6715 (frameset-filter-minibuffer): Doc fix.
6716 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
6717 (frameset--set-id, frameset--process-minibuffer-frames)
6718 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6719 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6720
6721 * desktop.el (desktop-clear): Only delete frames when called
6722 interactively and desktop-restore-frames is non-nil. Doc fix.
6723 (desktop-read): Set desktop-saved-frameset to nil.
6724
6725 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6726
6727 * vc/vc.el (vc-ignore): Rewrite.
6728 (vc-default-ignore-completion-table):
6729 (vc--read-lines):
6730 (vc--add-line, vc--remove-regexp): New functions.
6731
6732 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6733 (vc-svn-ignore-completion-table): New function.
6734
6735 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6736 (vc-hg-ignore-completion-table):
6737 (vc-hg-find-ignore-file): New functions.
6738
6739 * vc/vc-git.el (vc-git-ignore): Rewrite.
6740 (vc-git-ignore-completion-table):
6741 (vc-git-find-ignore-file): New functions.
6742
6743 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6744
6745 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6746 (vc-bzr-ignore-completion-table):
6747 (vc-bzr-find-ignore-file): New functions.
6748
6749 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * frameset.el (frameset-prop): New function and setter.
6752 (frameset-save): Do not modify frame list passed by the caller.
6753
6754 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6757
6758 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6761 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6762
6763 * custom.el (custom-initialize-default, custom-initialize-set)
6764 (custom-initialize-reset, custom-initialize-changed): Affect the
6765 toplevel-default-value (bug#6275, bug#14586).
6766 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6767 for bug#6275.
6768
6769 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6770
6771 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6772 Add cl-def* expressions.
6773
6774 * frameset.el (frameset-filter-params): Fix order of arguments.
6775
6776 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
6777
6778 Move code related to saving frames to frameset.el.
6779 * desktop.el: Require frameset.
6780 (desktop-restore-frames): Doc fix.
6781 (desktop-restore-reuses-frames): Rename from
6782 desktop-restoring-reuses-frames.
6783 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6784 (desktop-clear): Clear frames too.
6785 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6786 (desktop--filter-tty*, desktop-save, desktop-read):
6787 Use frameset functions.
6788 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6789 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6790 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6791 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6792 (desktop--process-minibuffer-frames, desktop-save-frames)
6793 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6794 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6795 (desktop--sort-states, desktop-restoring-frames-p)
6796 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6797 (desktop-restoring-frameset-p, desktop-restore-frameset)
6798 (desktop--check-dont-save, desktop-save-frameset): New functions.
6799 (desktop--app-id): New constant.
6800 (desktop-first-buffer, desktop-buffer-ok-count)
6801 (desktop-buffer-fail-count): Move before first use.
6802 * frameset.el: New file.
6803
6804 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * files.el: Use lexical-binding.
6807 (dir-locals-read-from-file): Remove unused `err' variable.
6808 (hack-dir-local-variables--warned-coding): New var.
6809 (hack-dir-local-variables): Use it to avoid repeated warnings.
6810 (make-backup-file-name--default-function): New function.
6811 (make-backup-file-name-function): Use it as default.
6812 (buffer-stale--default-function): New function.
6813 (buffer-stale-function): Use it as default.
6814 (revert-buffer-insert-file-contents--default-function): New function.
6815 (revert-buffer-insert-file-contents-function): Use it as default.
6816 (insert-directory): Avoid add-to-list.
6817
6818 * autorevert.el (auto-revert-handler): Simplify.
6819 Use buffer-stale--default-function.
6820
6821 2013-08-01 Tassilo Horn <tsdh@gnu.org>
6822
6823 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6824
6825 * whitespace.el (whitespace-ensure-local-variables): New function.
6826 (whitespace-cleanup-region): Call it.
6827 (whitespace-turn-on): Call it.
6828
6829 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
6830
6831 Complete file name handlers.
6832
6833 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6834 (tramp-handle-verify-visited-file-modtime)
6835 (tramp-handle-file-notify-rm-watch): New functions.
6836 (tramp-call-process): Do not bind `default-directory'.
6837
6838 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6839 Order alphabetically.
6840 [access-file, add-name-to-file, dired-call-process]:
6841 [dired-compress-file, file-acl, file-notify-rm-watch]:
6842 [file-ownership-preserved-p, file-selinux-context]:
6843 [make-directory-internal, make-symbolic-link, set-file-acl]:
6844 [set-file-selinux-context, set-visited-file-modtime]:
6845 [verify-visited-file-modtime]: Add handler.
6846 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6847
6848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6849 [file-notify-add-watch, file-notify-rm-watch]:
6850 [set-file-times, set-visited-file-modtime]:
6851 [verify-visited-file-modtime]: Add handler.
6852 (with-tramp-gvfs-error-message)
6853 (tramp-gvfs-handle-set-visited-file-modtime)
6854 (tramp-gvfs-fuse-file-name): Remove.
6855 (tramp-gvfs-handle-file-notify-add-watch)
6856 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6857 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6858
6859 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6860 Order alphabetically.
6861 [file-notify-rm-watch ]: Use default Tramp handler.
6862 [executable-find]: Remove private handler.
6863 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6864 `default-directory'.
6865 (tramp-sh-handle-executable-find)
6866 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6867 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6868 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6869 Do not use `format' in `tramp-message'.
6870
6871 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6872 [file-notify-rm-watch, set-visited-file-modtime]:
6873 [verify-visited-file-modtime]: Add handler.
6874 (tramp-smb-call-winexe): Do not bind `default-directory'.
6875
6876 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6877
6878 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6879
6880 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6881
6882 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6883 use it.
6884 (log-view-diff-changeset): Same.
6885 (log-view-diff-common): Call backend command `previous-revision'
6886 to find out the previous revision, in both cases. Swap the
6887 variables `to' and `fr', so that `fr' usually refers to the
6888 earlier revision (Bug#14989).
6889
6890 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
6891
6892 * ibuf-ext.el (ibuffer-filter-by-filename):
6893 Make it work with dired buffers too.
6894
6895 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
6896
6897 * emacs-lisp/re-builder.el (reb-color-display-p):
6898 * files.el (save-buffers-kill-terminal):
6899 * net/browse-url.el (browse-url):
6900 * server.el (server-save-buffers-kill-terminal):
6901 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6902 Prefer nil to selected-frame for the first arg of frame-parameter.
6903
6904 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6905
6906 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6907
6908 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
6909
6910 * minibuffer.el (completion--twq-all): Try and preserve each
6911 completion's case choice (bug#14907).
6912
6913 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6914
6915 * net/network-stream.el (open-network-stream): Mention the new
6916 :nogreeting parameter.
6917 (network-stream-open-starttls): Use the :nogreeting parameter
6918 (bug#14938).
6919
6920 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6921
6922 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6923 more natural than popping.
6924
6925 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6926 (shr-urlify): Highlight under mouse.
6927
6928 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6929
6930 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6931
6932 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6933
6934 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6935 buffer for output.
6936
6937 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6938 point-min==1. Fix search string. Fix parentheses missing.
6939
6940 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
6941 assume point-min==1. Fix search string. Fix parentheses missing.
6942
6943 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6944
6945 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6946 buffer for output.
6947
6948 2013-07-29 Eli Zaretskii <eliz@gnu.org>
6949
6950 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6951 initial frame is minibuffer-less. (Bug#14841)
6952
6953 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
6954
6955 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6956 option.
6957
6958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6959 (tramp-maybe-open-connection): Use it.
6960
6961 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6962
6963 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6964 minimal set of parameters passed when creating a frame, because
6965 the minibuffer status of a frame cannot be changed later.
6966
6967 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
6968
6969 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6970 replace-regexp-in-string and inadvertent omissions in previous change.
6971 (todo-filter-items): Ensure only file names are comma-separated in
6972 name of filtered items buffer.
6973
6974 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
6975
6976 * desktop.el: Optionally force offscreen frames back onscreen.
6977 (desktop-restoring-reuses-frames): New option.
6978 (desktop--compute-pos, desktop--move-onscreen): New functions.
6979 (desktop--make-frame): Use desktop--move-onscreen.
6980
6981 2013-07-27 Alan Mackenzie <acm@muc.de>
6982
6983 Fontify a Java generic method as a function.
6984 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6985 value to t.
6986
6987 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
6988
6989 * calendar/todo-mode.el: Add command to rename todo files.
6990 (todo-rename-file): New command.
6991 (todo-key-bindings-t): Add key binding for it. Change the
6992 bindings of todo-filter-regexp-items(-multifile) to use `x'
6993 instead of `r', since the latter is better suited to the new
6994 renaming command.
6995
6996 2013-07-27 Alan Mackenzie <acm@muc.de>
6997
6998 Make Java try-with-resources statement parse properly.
6999 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7000 (c-block-stmt-1-2-key): New language constants/variables.
7001 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7002 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7003 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7004 with c-block-stmt-1-2-key.
7005
7006 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * desktop.el (desktop--make-frame): Apply most frame parameters after
7009 creating the frame to force (partially or totally) offscreen frames to
7010 be restored as such.
7011
7012 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7013
7014 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7015 (Bug#14948)
7016
7017 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7020 `base' arg of backtrace-frame.
7021
7022 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7023
7024 * simple.el (list-processes): Doc fix.
7025
7026 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * desktop.el (desktop--select-frame):
7029 Try harder to reuse existing frames.
7030
7031 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7034 (edebug-eval): Use backtrace-eval.
7035 (edebug--display, edebug--recursive-edit): Don't let-bind the
7036 edebug-outer-* vars that keep track of variables we locally let-bind.
7037 (edebug-outside-excursion): Don't restore outside values of locally
7038 let-bound vars.
7039 (edebug--display): Use user-error.
7040 (cl-lexical-debug, cl-debug-env): Remove.
7041
7042 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7045 are restored to be sure that they are visible before deleting any
7046 remaining ones.
7047
7048 2013-07-26 Matthias Meulien <orontee@gmail.com>
7049
7050 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7051 vc-print-root-log. (Bug#14948)
7052
7053 2013-07-26 Richard Stallman <rms@gnu.org>
7054
7055 Add aliases for encrypting mail.
7056 * epa.el (epa-mail-aliases): New option.
7057 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7058 Bind inhibit-read-only so read-only text doesn't ruin everything.
7059 (epa-mail-default-recipients): New subroutine broken out.
7060 Handle epa-mail-aliases.
7061
7062 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 Add support for lexical variables to the debugger's `e' command.
7065 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7066 vars, except for debugger-outer-match-data.
7067 (debugger-frame-number): Move check for "on a function call" from
7068 callers into it. Add `skip-base' argument.
7069 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7070 (debugger-env-macro): Only reset the state stored in non-variables,
7071 i.e. current-buffer and match-data.
7072 (debugger-eval-expression): Rewrite using backtrace-eval.
7073 * subr.el (internal--called-interactively-p--get-frame): Remove.
7074 (called-interactively-p):
7075 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7076 `base' arg of backtrace-frame instead.
7077
7078 2013-07-26 Glenn Morris <rgm@gnu.org>
7079
7080 * align.el (align-regexp): Doc fix. (Bug#14857)
7081 (align-region): Explicit error if subexpression missing/does not match.
7082
7083 * simple.el (global-visual-line-mode):
7084 Do not duplicate the mode lighter. (Bug#14858)
7085
7086 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7087
7088 * window.el (display-buffer): In display-buffer bind
7089 split-window-keep-point to t, bug#14829.
7090
7091 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7092
7093 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7094 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7095 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7096 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7097 Change accordingly.
7098 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7099 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7100
7101 2013-07-25 Glenn Morris <rgm@gnu.org>
7102
7103 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7104
7105 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7108 parameter to modify-frame-parameters if the value has not changed;
7109 this is a workaround for bug#14949.
7110 (desktop--make-frame): On cl-delete-if call, check parameter name,
7111 not full parameter.
7112
7113 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7114
7115 * vc/vc.el (vc-ignore): New function.
7116
7117 * vc/vc-svn.el (vc-svn-ignore): New function.
7118
7119 * vc/vc-hg.el (vc-hg-ignore): New function.
7120
7121 * vc/vc-git.el (vc-git-ignore): New function.
7122
7123 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7124 (vc-dir-ignore): New function.
7125
7126 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7127 (cvs-append-to-ignore): Move here from pcvs.el.
7128
7129 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7130
7131 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7132
7133 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7136 (desktop-restore-frames): Warn when deleting an existing frame failed.
7137
7138 2013-07-24 Glenn Morris <rgm@gnu.org>
7139
7140 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7141
7142 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7143
7144 * filenotify.el (file-notify-supported-p):
7145 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7146 Remove functions.
7147
7148 * autorevert.el (auto-revert-use-notify):
7149 (auto-revert-notify-add-watch):
7150 * net/tramp.el (tramp-file-name-for-operation):
7151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7153 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7155 Remove `file-notify-supported-p' entry.
7156
7157 2013-07-24 Glenn Morris <rgm@gnu.org>
7158
7159 * printing.el: Replace all uses of deleted ps-windows-system,
7160 ps-lp-system, ps-flatten-list with lpr- versions.
7161
7162 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7163
7164 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7165 checked with memq (bug#14935).
7166
7167 * files.el (revert-buffer-function): Use a non-nil default.
7168 (revert-buffer-preserve-modes): Declare var to
7169 provide access to the `preserve-modes' argument.
7170 (revert-buffer): Let-bind it.
7171 (revert-buffer--default): New function, extracted from revert-buffer.
7172
7173 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * lpr.el: Signal print errors more prominently.
7176 (print-region-function): Don't default to nil.
7177 (lpr-print-region): New function, extracted from print-region-1.
7178 Check lpr's return value and signal an error in case of problem.
7179 (print-region-1): Use it.
7180 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7181 versions instead.
7182 (ps-printer-name): Default to nil.
7183 (ps-printer-name-option): Default to lpr-printer-switch.
7184 (ps-print-region-function): Don't default to nil.
7185 (ps-postscript-code-directory): Simplify default.
7186 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7187 (ps-string-list, ps-eval-switch, ps-flatten-list)
7188 (ps-flatten-list-1): Remove.
7189 (ps-multibyte-buffer): Avoid setq.
7190 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7191 (print-region-function, ps-print-region-function): Don't set them here.
7192
7193 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7194
7195 * ido.el (ido-fractionp):
7196 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7197 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7198 (ido-max-directory-size, ido-max-dir-file-cache)
7199 (ido-decorations): Doc fix.
7200
7201 * ansi-color.el: Fix old URL.
7202
7203 2013-07-23 Michael R. Mauger <michael@mauger.com>
7204
7205 * progmodes/sql.el: Version 3.3
7206 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7207 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7208 (sql-interactive-remove-continuation-prompt): Rewrite, use
7209 functions above. Fix continuation prompt and complete output line
7210 handling.
7211 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7212 redirected output buffer.
7213 (sql-mode): Restore deleted code (Bug#13591).
7214
7215 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7218
7219 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7220
7221 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7222
7223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7225 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7226
7227 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * desktop.el (desktop-clear): Simplify; remove useless checks
7230 against invalid buffer names.
7231 (desktop-list*): Use cl-list*.
7232 (desktop-buffer-info, desktop-create-buffer): Simplify.
7233
7234 2013-07-23 Leo Liu <sdl.web@gmail.com>
7235
7236 * bookmark.el (bookmark-make-record): Restore NAME as a default
7237 value. (Bug#14933)
7238
7239 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7242 extracted from autoload--insert-text.
7243 (autoload--insert-text): Remove.
7244 (autoload--print-cookie-text): New function, extracted from
7245 autoload--insert-cookie-text.
7246 (autoload--insert-cookie-text): Remove.
7247 (autoload-generate-file-autoloads): Adjust calls accordingly.
7248
7249 * winner.el (winner-hook-installed-p): Remove.
7250 (winner-mode): Simplify accordingly.
7251
7252 * subr.el (add-to-list): Fix compiler-macro when `append' is
7253 not constant. Don't use `cl-member' for the base case.
7254
7255 * progmodes/subword.el: Fix boundary case (bug#13758).
7256 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7257 own group.
7258 (subword-backward-regexp): Make it a constant.
7259 (subword-forward-internal): Don't treat a trailing capital as the
7260 beginning of a word.
7261
7262 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7263
7264 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7265 global value of tabulated-list-revert-hook (bug#14930).
7266
7267 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7268
7269 * desktop.el: Require 'cl-lib.
7270 (desktop-before-saving-frames-functions): New hook.
7271 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7272 for frames being saved. Rename from desktop--save-minibuffer-frames.
7273 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7274 Do not save frames with non-nil `desktop-dont-save' parameter.
7275 Filter out deleted frames.
7276 (desktop--find-frame): Use cl-find-if.
7277 (desktop--select-frame): Use cl-(first|second|third) to access values
7278 of desktop-mini.
7279 (desktop--make-frame): Use cl-delete-if.
7280 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7281 (desktop-restore-frames): Use cl-(first|second|third) to access values
7282 of desktop-mini. Look for visible frame at the end, not while
7283 restoring frames.
7284
7285 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7286 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7287 Use string-match-p, looking-at-p (bug#14927).
7288
7289 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7290
7291 * desktop.el (desktop-saved-frame-states):
7292 Rename from desktop--saved-states; all users changed.
7293 (desktop-save-frames): Rename from desktop--save-frames.
7294 Do not save state to desktop file.
7295 (desktop-save): Save desktop-saved-frame-states to desktop file
7296 and reset to nil.
7297 (desktop-restoring-frames-p): New function.
7298 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7299 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7300 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7301
7302 * desktop.el: Correctly restore iconified frames.
7303 (desktop--filter-iconified-position): New function.
7304 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7305
7306 2013-07-20 Glenn Morris <rgm@gnu.org>
7307
7308 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7309 Let `message' do the formatting.
7310 (def-gdb-preempt-display-buffer): Add explicit format.
7311
7312 * image-dired.el (image-dired-track-original-file):
7313 Use with-current-buffer.
7314 (image-dired-track-thumbnail): Use with-current-buffer.
7315 Avoid changing point of wrong window.
7316
7317 * image-dired.el (image-dired-track-original-file):
7318 Avoid changing point of wrong window. (Bug#14909)
7319
7320 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7321
7322 * progmodes/gdb-mi.el (gdb-done-or-error):
7323 Guard against "%" in gdb output. (Bug#14127)
7324
7325 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7326
7327 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7328 (Bug#14826)
7329
7330 * international/mule.el (coding-system-iso-2022-flags): Fix last
7331 change.
7332
7333 2013-07-20 Kenichi Handa <handa@gnu.org>
7334
7335 * international/mule.el (coding-system-iso-2022-flags):
7336 Add `8-bit-level-4'. (Bug#8522)
7337
7338 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7339
7340 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7341 (bug#14815).
7342
7343 * net/eww.el (eww-process-text-input): Allow inputting when the
7344 point is at the start of the line, as the properties aren't
7345 front-sticky.
7346
7347 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7348 degenerate widths.
7349
7350 2013-07-19 Richard Stallman <rms@gnu.org>
7351
7352 * epa.el (epa-popup-info-window): Doc fix.
7353
7354 * subr.el (split-string): New arg TRIM.
7355
7356 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7359 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7360
7361 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * filenotify.el (file-notify--library): Rename from
7364 `file-notify-support'. Do not autoload. Adapt all uses.
7365 (file-notify-supported-p): New defun.
7366
7367 * autorevert.el (auto-revert-use-notify):
7368 Use `file-notify-supported-p' instead of `file-notify-support'.
7369 Adapt docstring.
7370 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7371
7372 * net/tramp.el (tramp-file-name-for-operation):
7373 Add `file-notify-supported-p'.
7374
7375 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7376 New defun.
7377 (tramp-sh-file-name-handler-alist): Add it as handler for
7378 `file-notify-supported-p '.
7379
7380 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7382 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7383 Add `ignore' as handler for `file-notify-*' functions.
7384
7385 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7386
7387 * simple.el (line-move-partial, line-move): Don't start vscroll or
7388 scroll-up if the current line is not taller than the window.
7389 (Bug#14881)
7390
7391 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7392
7393 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7394 highlight question marks in the method names as strings.
7395 (ruby-block-beg-keywords): Inline.
7396 (ruby-font-lock-keyword-beg-re): Extract from
7397 `ruby-font-lock-keywords'.
7398
7399 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7400
7401 * frame.el (blink-cursor-blinks): New defcustom.
7402 (blink-cursor-blinks-done): New defvar.
7403 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7404 (blink-cursor-timer-function): Check if number of blinks has been
7405 done on X and NS.
7406 (blink-cursor-suspend, blink-cursor-check): New defuns.
7407
7408 2013-07-15 Glenn Morris <rgm@gnu.org>
7409
7410 * edmacro.el (edmacro-format-keys): Fix previous change.
7411
7412 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7413
7414 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7415 The hack didn't work outside English locales anyway.
7416
7417 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7418
7419 * simple.el (define-alternatives): Rename from alternatives-define,
7420 per RMS' suggestion.
7421
7422 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7423
7424 * desktop.el (desktop-restore-frames): Change default to t.
7425 (desktop-restore-in-current-display): Now offer more options.
7426 (desktop-restoring-reuses-frames): New customization option.
7427 (desktop--saved-states): Doc fix.
7428 (desktop-filter-parameters-alist): New variable, renamed and expanded
7429 from desktop--excluded-frame-parameters.
7430 (desktop--target-display): New variable.
7431 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7432 (desktop--filter-tty*, desktop--filter-*-color)
7433 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7434 (desktop--filter-save-desktop-parm)
7435 (desktop-restore-in-original-display-p): New functions.
7436 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7437 (desktop--save-minibuffer-frames): New function, inspired by a similar
7438 function from Martin Rudalics.
7439 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7440 (desktop--restore-in-this-display-p): Remove.
7441 (desktop--find-frame): Rename from desktop--find-frame-in-display
7442 and add predicate argument.
7443 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7444 (desktop--reuse-list): New variable.
7445 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7446 New functions.
7447 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7448
7449 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7452
7453 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7454
7455 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7456 Highlight conversion methods on Kernel.
7457
7458 2013-07-13 Alan Mackenzie <acm@muc.de>
7459
7460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7461 and comment it out. This out-commenting enables certain C++
7462 declarations to be parsed correctly.
7463
7464 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7465
7466 * international/mule.el (define-coding-system): Doc fix.
7467
7468 * simple.el (default-font-height): Don't call font-info if the
7469 frame's default font didn't change since the frame was created.
7470 (Bug#14838)
7471
7472 2013-07-13 Leo Liu <sdl.web@gmail.com>
7473
7474 * ido.el (ido-read-file-name): Guard against non-symbol value.
7475
7476 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7477
7478 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7479 in nested defuns.
7480
7481 2013-07-13 Leo Liu <sdl.web@gmail.com>
7482
7483 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7484 ido-set-matches call. (Bug#6852)
7485
7486 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7487
7488 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7489 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7490 Ruby 2.0.
7491 (ruby-font-lock-keywords): Distinguish calls to functions with
7492 module-like names from module references. Highlight character
7493 literals.
7494
7495 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7496
7497 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7498 (gdb-send): Handle continued commands. (Bug#14847)
7499
7500 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7501
7502 * desktop.el (desktop--v2s): Remove unused local variable.
7503 (desktop-save-buffer): Make defvar-local; adjust docstring.
7504 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7505 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7506
7507 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7508
7509 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7510
7511 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7512
7513 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7514 (Bug#14842)
7515
7516 2013-07-12 Glenn Morris <rgm@gnu.org>
7517
7518 * doc-view.el: Require cl-lib at runtime too.
7519 (doc-view-remove-if): Remove.
7520 (doc-view-search-next-match, doc-view-search-previous-match):
7521 Use cl-remove-if.
7522
7523 * edmacro.el: Require cl-lib at runtime too.
7524 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7525 (edmacro-mismatch, edmacro-subseq): Remove.
7526
7527 * shadowfile.el: Require cl-lib.
7528 (shadow-remove-if): Remove.
7529 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7530 Use cl-remove-if.
7531
7532 * wid-edit.el: Require cl-lib.
7533 (widget-choose): Use cl-remove-if.
7534 (widget-remove-if): Remove.
7535
7536 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7537 (ebrowse-delete-if-not): Remove.
7538 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7539 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7540 Use cl-delete-if-not.
7541
7542 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7545 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7546
7547 2013-07-12 Leo Liu <sdl.web@gmail.com>
7548
7549 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7550
7551 2013-07-11 Glenn Morris <rgm@gnu.org>
7552
7553 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7554 (edebug-gensym-index, edebug-gensym):
7555 Remove reimplementation of cl-gensym.
7556 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7557
7558 * thumbs.el: Require cl-lib at run-time too.
7559 (thumbs-gensym-counter, thumbs-gensym):
7560 Remove reimplementation of cl-gensym.
7561 (thumbs-temp-file): Use cl-gensym.
7562
7563 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7564 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7565 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7566 (ert--union, ert--gensym-counter, ert--gensym-counter)
7567 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7568 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7569 (ert-make-test-unbound, ert--expand-should-1)
7570 (ert--expand-should, ert--should-error-handle-error)
7571 (should-error, ert--explain-equal-rec)
7572 (ert--plist-difference-explanation, ert-select-tests)
7573 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7574 Use cl-lib functions rather than reimplementations.
7575
7576 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp.el (tramp-methods): Extend docstring.
7579 (tramp-connection-timeout): New defcustom.
7580 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7581 (with-tramp-progress-reporter): Simplify.
7582 (tramp-process-actions): Improve messages.
7583
7584 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7585 * net/tramp-sh.el (tramp-maybe-open-connection):
7586 Use `tramp-connection-timeout'.
7587 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7588 (Bug#14808)
7589
7590 2013-07-11 Leo Liu <sdl.web@gmail.com>
7591
7592 * ido.el (ido-read-file-name): Conform to the requirements of
7593 read-file-name. (Bug#11861)
7594 (ido-read-directory-name): Conform to the requirements of
7595 read-directory-name.
7596
7597 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
7598
7599 * subr.el (delay-warning): New function.
7600
7601 2013-07-10 Eli Zaretskii <eliz@gnu.org>
7602
7603 * simple.el (default-line-height): New function.
7604 (line-move-partial, line-move): Use it instead of computing the
7605 line height inline.
7606 (line-move-partial): Always compute ROWH. If the last line is
7607 partially-visible, but its text is completely visible, allow
7608 cursor to enter such a partially-visible line.
7609
7610 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
7611
7612 Improve error messages. (Bug#14808)
7613
7614 * net/tramp.el (tramp-current-connection): New defvar, moved from
7615 tramp-sh.el.
7616 (tramp-message-show-progress-reporter-message): Remove, not
7617 needed anymore.
7618 (tramp-error-with-buffer): Show message in minibuffer.
7619 Discard input before waiting. Reset connection timestamp.
7620 (with-tramp-progress-reporter): Improve messages.
7621 (tramp-process-actions): Use progress reporter. Delete process in
7622 case of error. Improve messages.
7623
7624 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7625 Call `tramp-error-with-buffer' with vector and buffer.
7626 (tramp-current-connection): Remove.
7627 (tramp-maybe-open-connection): The car of
7628 `tramp-current-connection' are the first 3 slots of the vector.
7629
7630 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7631
7632 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7633 inside continued strings.
7634
7635 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7636
7637 Timestamp fixes for undo (Bug#14824).
7638 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7639
7640 2013-07-10 Leo Liu <sdl.web@gmail.com>
7641
7642 * files.el (require-final-newline): Allow safe local value.
7643 (Bug#14834)
7644
7645 2013-07-09 Leo Liu <sdl.web@gmail.com>
7646
7647 * ido.el (ido-read-directory-name): Handle fallback.
7648 (ido-read-file-name): Update DIR to ido-current-directory.
7649 (Bug#1516)
7650 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
7651
7652 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7653
7654 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7655 "autoload". Remove "warn lower camel case" section, previously
7656 commented out. Highlight negation char. Do not highlight the
7657 target in singleton method definitions.
7658
7659 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7661 * faces.el (tty-setup-hook): Declare the hook.
7662
7663 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7664 and detect when a guard/pred depends on local vars (bug#14773).
7665 (pcase--u1): Adjust caller.
7666
7667 2013-07-08 Eli Zaretskii <eliz@gnu.org>
7668
7669 * simple.el (line-move-partial, line-move): Account for
7670 line-spacing.
7671 (line-move-partial): Avoid setting vscroll when the last
7672 partially-visible line in window is of default height.
7673
7674 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7675
7676 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7677 been used a while.
7678
7679 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * subr.el (read-quoted-char): Remove unused local variable `char'.
7682
7683 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7684
7685 * ediff.el (ediff-version): Version update.
7686 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7687 (ediff-merge-with-ancestor-command, ediff-directories-command)
7688 (ediff-directories3-command, ediff-merge-directories-command)
7689 (ediff-merge-directories-with-ancestor-command): New functions.
7690 All are command-line interfaces to ediff: to facilitate calling
7691 Emacs with the appropriate ediff functions invoked.
7692
7693 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7694 (viper-save-kill-buffer): Check if buffer is modified.
7695
7696 * viper.el (viper-version): Version update.
7697 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7698
7699 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7702 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7703 (viper-intercept-ESC-key): Simplify.
7704 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7705 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7706 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7707 (viper-setup-ESC-to-escape): New functions.
7708 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7709 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
7710
7711 2013-07-07 Eli Zaretskii <eliz@gnu.org>
7712
7713 * simple.el (default-font-height, window-screen-lines):
7714 New functions.
7715 (line-move, line-move-partial): Use them instead of
7716 frame-char-height and window-text-height. This makes scrolling
7717 text smoother when the buffer's default face uses a font that is
7718 different from the frame's default font.
7719
7720 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7721
7722 * files.el (write-file): Do not display confirm dialog for NS,
7723 it does its own dialog, which can't be canceled (Bug#14578).
7724
7725 2013-07-06 Eli Zaretskii <eliz@gnu.org>
7726
7727 * simple.el (line-move-partial): Adjust the row returned by
7728 posn-at-point for the current window-vscroll. (Bug#14567)
7729
7730 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7733 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7734 spaces.
7735
7736 2013-07-06 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (window-state-put-stale-windows): New variable.
7739 (window--state-put-2): Save list of windows without matching buffer.
7740 (window-state-put): Remove "bufferless" windows if possible.
7741
7742 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * simple.el (alternatives-define): Remove leftover :group keyword.
7745 Tweak docstring.
7746
7747 2013-07-06 Leo Liu <sdl.web@gmail.com>
7748
7749 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7750 (ido-enable-virtual-buffers): New variable.
7751 (ido-buffer-internal, ido-toggle-virtual-buffers)
7752 (ido-make-buffer-list): Use it.
7753 (ido-exhibit): Support turning on and off virtual buffers
7754 automatically.
7755
7756 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * simple.el (alternatives-define): New macro.
7759
7760 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * subr.el (read-quoted-char): Use read-key.
7763 (sit-for): Let read-event decode tty input (bug#14782).
7764
7765 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
7766
7767 * calendar/todo-mode.el: Add handling of file deletion, both by
7768 mode command and externally. Fix various related bugs.
7769 Clarify Commentary and improve some documentation strings and code.
7770 (todo-delete-file): New command.
7771 (todo-check-file): New function.
7772 (todo-show): Handle external deletion of the file we're trying to
7773 show (bug#14688). Replace called-interactively-p by an optional
7774 prefix argument to avoid problematic interaction with catch form
7775 when byte compiled (bug#14702).
7776 (todo-quit): Handle external deletion of the archive's todo file.
7777 Make sure the buffer that was visiting the archive file is still
7778 live before trying to bury it.
7779 (todo-category-completions): Handle external deletion of any
7780 category completion files.
7781 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7782 of todo files, in case of external deletion.
7783 (todo-add-file): Replace unnecessary setq by let-binding.
7784 (todo-find-archive): Check whether there are any archives.
7785 Replace unnecessary setq by let-binding.
7786 (todo-archive-done-item): Use find-file-noselect to get the
7787 archive buffer whether or not the archive already exists.
7788 Remove superfluous code. Use file size instead of buffer-file-name to
7789 check if the archive is new; if it is, update list of archives.
7790 (todo-default-todo-file): Allow nil to be a valid value for when
7791 there are no todo files.
7792 (todo-reevaluate-default-file-defcustom): Use corrected definition
7793 of todo-default-todo-file.
7794 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7795 (todo-delete-category, todo-show-categories-table)
7796 (todo-category-number): Clarify comment.
7797 (todo-filter-items): Clarify documentation string.
7798 (todo-show-current-file, todo-display-as-todo-file)
7799 (todo-reset-and-enable-done-separator): Tweak documentation string.
7800 (todo-done-separator): Make separator length window-width, since
7801 bug#2749 is now fixed.
7802
7803 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7806 Support both "gvfs-monitor-dir" and "inotifywait".
7807 (tramp-sh-file-inotifywait-process-filter): Rename from
7808 `tramp-sh-file-notify-process-filter'.
7809 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7810 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7811
7812 2013-07-05 Leo Liu <sdl.web@gmail.com>
7813
7814 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7815
7816 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7817
7818 * frame.el (display-pixel-height, display-pixel-width)
7819 (display-mm-height, display-mm-width): Mention behavior on
7820 multi-monitor setups in docstrings.
7821 (w32-display-monitor-attributes-list): Declare function.
7822 (display-monitor-attributes-list): Use it.
7823
7824 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
7825
7826 * filenotify.el: New package.
7827
7828 * autorevert.el (top): Require filenotify.el.
7829 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7830 instead.
7831 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7832 (auto-revert-notify-handler): Use `file-notify-*' functions.
7833
7834 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7835
7836 * net/tramp.el (tramp-file-name-for-operation):
7837 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7838
7839 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7840 for `file-notify-add-watch' and `file-notify-rm-watch'.
7841 (tramp-process-sentinel): Improve trace.
7842 (tramp-sh-handle-file-notify-add-watch)
7843 (tramp-sh-file-notify-process-filter)
7844 (tramp-sh-handle-file-notify-rm-watch)
7845 (tramp-get-remote-inotifywait): New defuns.
7846
7847 2013-07-03 Juri Linkov <juri@jurta.org>
7848
7849 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7850 call of `occur-read-primary-args' to interactive spec.
7851
7852 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7853 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7854
7855 2013-07-03 Matthias Meulien <orontee@gmail.com>
7856
7857 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7858 `Buffer-menu-multi-occur'. Add it to the menu.
7859 (Buffer-menu-mode): Document it in docstring.
7860 (Buffer-menu-multi-occur): New command. (Bug#14673)
7861
7862 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7863
7864 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7865 keywords and built-ins.
7866
7867 2013-07-03 Glenn Morris <rgm@gnu.org>
7868
7869 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7870
7871 Make info-xref checks case-sensitive by default
7872 * info.el (Info-find-node, Info-find-in-tag-table)
7873 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7874 Add option for exact case matching of nodes.
7875 * info-xref.el (info-xref): New custom group.
7876 (info-xref-case-fold): New option.
7877 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7878
7879 2013-07-03 Leo Liu <sdl.web@gmail.com>
7880
7881 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7882
7883 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7884
7885 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7886 middle of block statement initially, lower the depth. Remove
7887 FIXME comment, not longer valid. Remove middle of block statement
7888 detection, no need to do that anymore since we've been using
7889 `ruby-parse-region' here.
7890
7891 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7892
7893 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7894
7895 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
7896
7897 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7898
7899 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7902 (desktop-restore-in-current-display): New customization option.
7903 (desktop--excluded-frame-parameters): Add `font'.
7904 (desktop--save-frames): Rename from desktop--save-windows.
7905 (desktop--restore-in-this-display-p): New function.
7906 (desktop--make-full-frame): Remove unwanted width/height from
7907 full(width|height) frames.
7908 (desktop--restore-frames): Rename from desktop--restore-windows.
7909 Obey desktop-restore-current-display. Do not delete old frames or
7910 select a new frame unless we were able to restore at least one frame.
7911
7912 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
7913
7914 * files.el (find-file-noselect): Simplify conditional expression.
7915
7916 * textmodes/remember.el (remember-append-to-file):
7917 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7918
7919 Add `remember-notes' function to store random notes across Emacs
7920 restarts.
7921 * textmodes/remember.el (remember-data-file): Add :set callback to affect
7922 notes buffer (if any).
7923 (remember-notes): New command.
7924 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7925 New defcustoms for the `remember-notes' function.
7926 (remember-notes-save-and-bury-buffer): New command.
7927 (remember-notes-mode-map): New variable.
7928 (remember-mode): New minor mode.
7929 (remember-notes--kill-buffer-query): New function.
7930 * startup.el (initial-buffer-choice): Add notes to custom type.
7931
7932 2013-06-30 Eli Zaretskii <eliz@gnu.org>
7933
7934 * bindings.el (right-char, left-char): Don't call sit-for, this is
7935 no longer needed. Use arithmetic comparison only for numerical
7936 arguments.
7937
7938 * international/mule-cmds.el (select-safe-coding-system):
7939 Handle the case of FROM being a string correctly. (Bug#14755)
7940
7941 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
7943 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7944 progression on degenerate tables.
7945 (shr-rescale-image): ImageMagick animated images currently don't work.
7946
7947 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
7948
7949 Some fixes and improvements for desktop frame restoration.
7950 It is still experimental and disabled by default.
7951 * desktop.el (desktop--save-windows): Put the selected frame at
7952 the head of the list.
7953 (desktop--make-full-frame): New function.
7954 (desktop--restore-windows): Try to re-select the frame that was
7955 selected upon saving. Do not abort if some frames fail to restore,
7956 just show an error message and continue. Set up maximized frames
7957 so they have default non-maximized dimensions.
7958
7959 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7960
7961 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7962 Don't start heredoc inside a string or comment.
7963
7964 2013-06-29 Eli Zaretskii <eliz@gnu.org>
7965
7966 * bindings.el (visual-order-cursor-movement): New defcustom.
7967 (right-char, left-char): Provide visual-order cursor motion by
7968 calling move-point-visually. Update the doc strings.
7969
7970 2013-06-28 Kenichi Handa <handa@gnu.org>
7971
7972 * international/mule.el (define-coding-system): New coding system
7973 properties :inhibit-null-byte-detection,
7974 :inhibit-iso-escape-detection, and :prefer-utf-8.
7975 (set-buffer-file-coding-system): If :charset-list property of
7976 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7977 appropriate for setting.
7978
7979 * international/mule-cmds.el (select-safe-coding-system):
7980 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7981 multibyte characters, return utf-8 (or one of its siblings).
7982
7983 * international/mule-conf.el (prefer-utf-8): New coding system.
7984 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7985 files.
7986
7987 2013-06-28 Ivan Kanis <ivan@kanis.fr>
7988
7989 * net/shr.el (shr-render-region): New function.
7990
7991 * net/eww.el: Autoload `eww-browse-url'.
7992
7993 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7994
7995 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7996 Adapt to `package-desc-version' being a list.
7997 Use `package--ac-desc-version' to retrieve version from a package
7998 archive element.
7999
8000 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8001
8002 New experimental feature to save&restore window and frame setup.
8003 * desktop.el (desktop-save-windows): New defcustom.
8004 (desktop--saved-states): New var.
8005 (desktop--excluded-frame-parameters): New defconst.
8006 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8007 (desktop--restore-windows, desktop--save-windows): New functions.
8008 (desktop-save): Call `desktop--save-windows'.
8009 (desktop-read): Call `desktop--restore-windows'.
8010
8011 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012
8013 * net/shr.el (add-face-text-property): Remove compat definition.
8014
8015 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8016
8017 * info.el (Info-try-follow-nearest-node): Move search for footnote
8018 above search for node name to prevent missing a footnote (bug#14717).
8019
8020 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8021
8022 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8023
8024 2013-06-27 Leo Liu <sdl.web@gmail.com>
8025
8026 * net/eww.el (eww-read-bookmarks): Check file size.
8027
8028 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8031 advice--pending if newdef is nil or an autoload (bug#13820).
8032 (advice-mapc): New function.
8033
8034 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8035
8036 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8037 probably.
8038 (eww-mode-map): Add a menu bar.
8039 (eww-add-bookmark): New command.
8040 (eww-bookmark-mode): New mode and commands.
8041 (eww-add-bookmark): Remove newlines from the title.
8042 (eww-bookmark-browse): Don't bug out if it's the only window.
8043
8044 2013-06-26 Glenn Morris <rgm@gnu.org>
8045
8046 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8047 (hfy-size): Handle ttys. (Bug#14668)
8048
8049 * info-xref.el: Update for Texinfo 5 change in *note format.
8050 (info-xref-node-re, info-xref-note-re): New constants.
8051 (info-xref-check-buffer): Use info-xref-note-re.
8052
8053 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8054
8055 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8056
8057 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8058 nil terminate the loop (bug#14718).
8059
8060 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8061
8062 * net/eww.el: Rework history traversal. When going forward/back,
8063 put these actions into the history, too, so that they can be
8064 replayed.
8065 (eww-render): Move the history reset to the correct buffer.
8066
8067 2013-06-25 Juri Linkov <juri@jurta.org>
8068
8069 * files-x.el (modify-dir-local-variable): Change the header comment
8070 in the file with directory local variables. (Bug#14692)
8071
8072 * files-x.el (read-file-local-variable-value): Add `default'.
8073 (Bug#14710)
8074
8075 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8076
8077 * net/eww.el (eww-make-unique-file-name): Create a unique file
8078 name before saving to entering `y' accidentally asynchronously.
8079
8080 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8081
8082 * net/eww.el (eww-download): New command and keystroke.
8083
8084 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
8086 * net/eww.el (eww-copy-page-url): Change name of command.
8087
8088 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8089 be more consistent with Info and dired.
8090
8091 * net/eww.el (eww-mode-map): Ditto.
8092
8093 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8096 packages from archives.
8097 (package-archive-contents): Change format; include obsolete packages.
8098 (package-desc): Use `dir' to mark builtin packages.
8099 (package--from-builtin): Set the `dir' field to `builtin'.
8100 (generated-autoload-file, version-control): Declare.
8101 (package-compute-transaction): Change first arg and return value to be
8102 lists of package-descs. Adjust to new package-archive-contents format.
8103 (package--add-to-archive-contents): Adjust to new
8104 package-archive-contents format.
8105 (package-download-transaction): Arg is now a list of package-descs.
8106 (package-install): If `pkg' is a package name, pass it as
8107 a requirement, so it is subject to the usual (e.g. disabled) checks.
8108 (describe-package): Accept package-desc as well.
8109 (describe-package-1): Describe a specific package-desc. Add links to
8110 other package-descs for the same package name.
8111 (package-menu-describe-package): Pass the actual package-desc.
8112 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8113 works correctly.
8114 (package-desc-status): New function.
8115 (package-menu--refresh): New function, extracted
8116 from package-menu--generate.
8117 (package-menu--generate): Use it.
8118 (package-delete): Update package-alist.
8119 (package-menu-execute): Don't call package-initialize.
8120
8121 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8122 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8123 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8124 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8125 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8126 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8127
8128 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (window--state-get-1): Workaround for bug#14527.
8131 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8132
8133 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134
8135 * net/eww.el (eww-back-url): Implement the history by stashing all
8136 the data into a list.
8137 (eww-forward-url): Allow going forward in the history, too.
8138
8139 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8142 for values and use read--expression for expressions (bug#14710).
8143 (read-file-local-variable): Avoid setq.
8144 (read-file-local-variable-mode): Use minor-mode-list.
8145
8146 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8147
8148 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8149 for DOI URLs.
8150
8151 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8152
8153 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8154 Update imenu-support when dialect changes.
8155
8156 2013-06-25 Leo Liu <sdl.web@gmail.com>
8157
8158 * ido.el (ido-read-internal): Allow forward slash on windows.
8159
8160 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161
8162 * net/eww.el (eww): Start of strings is \\`, not ^.
8163
8164 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8165
8166 * net/shr.el (shr-browse-url): Fix interactive spec.
8167
8168 * net/eww.el (eww): Add a trailing slash to domain names.
8169
8170 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8173
8174 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175
8176 * net/shr.el (shr-browse-url): Use an external browser if given a
8177 prefix.
8178
8179 * net/eww.el (eww-external-browser): Move to shr.
8180
8181 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8182
8183 * net/eww.el (eww): Work more correctly for file: URLs.
8184 (eww-detect-charset): Allow quoted charsets.
8185 (eww-yank-page-url): New command and keystroke.
8186
8187 2013-06-24 Daiki Ueno <ueno@gnu.org>
8188
8189 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8190 file name of gpg executable.
8191 (epg-context-program): New function.
8192 (epg-context-home-directory): New function.
8193 (epg-context-set-program): New function.
8194 (epg-context-set-home-directory): New function.
8195 (epg--start): Use `epg-context-program' instead of
8196 'epg-gpg-program'.
8197 (epg--list-keys-1): Likewise.
8198
8199 2013-06-24 Leo Liu <sdl.web@gmail.com>
8200
8201 * ido.el (ido-read-internal): Fix bug#14620.
8202
8203 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * faces.el (face-documentation): Simplify.
8206 (read-face-attribute, tty-find-type, x-resolve-font-name):
8207 Use `string-match-p'.
8208 (list-faces-display): Use `string-match-p'. Simplify.
8209 (face-spec-recalc): Check face to avoid face alias loops.
8210 (read-color): Use `string-match-p' and non-capturing parenthesis.
8211
8212 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213
8214 * net/shr.el (shr-rescale-image): Use the new
8215 :max-width/:max-height functionality.
8216
8217 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8218
8219 * net/eww.el (eww-search-prefix): New variable.
8220 (eww): Use it.
8221 (eww-external-browser): New variable.
8222 (eww-mode-map): New keystroke.
8223 (eww-browse-with-external-browser): New command.
8224
8225 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8226
8227 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8230 Don't skip aligning the next header field when padding is 0;
8231 otherwise, field width is not respected unless the title is as
8232 wide as the field.
8233
8234 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * emacs-lisp/package.el (package-el-version): Remove.
8237 (package-process-define-package): Fix inf-loop.
8238 (package-install): Allow symbols as arguments again.
8239
8240 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8241
8242 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8243 add some more keyword-like methods.
8244 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8245
8246 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8247
8248 * bs.el (bs-buffer-show-mark): Make defvar-local.
8249 (bs-mode): Use setq-local.
8250
8251 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8252 (emacs-lock--try-unlocking): Make defvar-local.
8253
8254 2013-06-22 Glenn Morris <rgm@gnu.org>
8255
8256 * play/cookie1.el (cookie-apropos): Minor simplification.
8257
8258 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8259
8260 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8261
8262 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8263 `regexp-opt', it breaks the build during dumping.
8264
8265 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8266
8267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8268 Highlight keyword-like methods on Kernel and Module with
8269 font-lock-builtin-face.
8270 (auto-mode-alist): Consolidate different entries into one regexp
8271 and add more *file-s.
8272
8273 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8274
8275 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8276
8277 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8278 (diary-entry): Use it in the action of this button type instead of
8279 diary-goto-entry.
8280
8281 * calendar/todo-mode.el: New version.
8282 (todo-add-category): Append new category to end of file and give
8283 it the highest number, instead of putting it at the beginning and
8284 giving it 0. Incorporate noninteractive functionality.
8285 (todo-forward-category): Adapt to 1-based category numbering.
8286 Allow skipping over archived categories.
8287 (todo-backward-category): Derive from todo-forward-category.
8288 (todo-backward-item, todo-forward-item): Make noninteractive and
8289 delegate interactive part to new commands. Make sensitive to done items.
8290 (todo-categories): Make value an alist of category names and
8291 vectors of item counts.
8292 (todo-category-beg): Make a defconst.
8293 (todo-category-number): Use 1 instead of 0 as initial value.
8294 (todo-category-select): Make sensitive to overlays, optional item
8295 highlighting and done items.
8296 (todo-delete-item): Make sensitive to overlays and marked and done items.
8297 (todo-edit-item): Make sensitive to overlays and editing of
8298 date/time header optional. Add format checks.
8299 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8300 no-op if point is not on an item. Advertise using todo-edit-quit.
8301 (todo-edit-mode): Make sensitive to new format, font-locking, and
8302 multiple todo files.
8303 (todo-insert-item, todo-insert-item-here): Derive from
8304 todo-basic-insert-item and extend functionality.
8305 (todo-item-end, todo-item-start): Make sensitive to done items.
8306 (todo-item-string): Don't return text properties. Restore point.
8307 (todo-jump-to-category): Make sensitive to multiple todo files and
8308 todo archives. Use extended category completion.
8309 (todo-lower-item, todo-raise-item): Rename to *-priority and
8310 derive from todo-set-item-priority.
8311 (todo-mode): Derive from special-mode. Make sensitive to new
8312 format, font-locking and multiple todo files. Make read-only.
8313 (todo-mode-map): Don't suppress digit keys, so they can supply
8314 prefix arguments. Add many new key bindings.
8315 (todo-prefix): Insert as an overlay instead of file text.
8316 Change semantics from diary date expression to purely visual mark.
8317 (todo-print): Rename to todo-print-buffer. Make buffer display
8318 features printable. Remove option to restrict number of items
8319 printed. Add option to print to file.
8320 (todo-print-function): Rename to todo-print-buffer-function.
8321 (todo-quit): Extend to handle exiting new todo modes.
8322 (todo-remove-item): Make sensitive to overlays.
8323 (todo-save): Extend to buffers of filtered items.
8324 (todo-show): Make sensitive to done items, multiple todo files and
8325 new todo modes. Offer to convert legacy todo file before creating
8326 first new todo file.
8327 (todo-show-priorities): Rename to todo-top-priorities.
8328 Change semantics of value 0.
8329 (todo-top-priorities): Rename to todo-filter-top-priorities,
8330 derive from todo-filter-items and extend functionality.
8331 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8332 and extend functionality to other types of filtered items.
8333 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8334 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8335 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8336 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8337 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8338 (todo-edit-mode-hook, todo-entry-prefix-function)
8339 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8340 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8341 (todo-initials, todo-insert-threshold, todo-item-string-start)
8342 (todo-line-string, todo-menu, todo-mode-hook)
8343 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8344 (todo-print-priorities, todo-remove-separator)
8345 (todo-save-top-priorities-too, todo-string-count-lines)
8346 (todo-string-multiline-p, todo-time-string-format)
8347 (todo-tmp-buffer-name): Remove.
8348 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8349 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8350 (todo-edit-category-diary-inclusion)
8351 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8352 (todo-edit-file, todo-edit-item-date-day)
8353 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8354 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8355 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8356 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8357 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8358 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8359 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8360 (todo-filter-top-priorities-multifile, todo-find-archive)
8361 (todo-find-filtered-items-file, todo-go-to-source-item)
8362 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8363 (todo-jump-to-archive-category, todo-lower-category)
8364 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8365 (todo-move-category, todo-move-item, todo-next-button)
8366 (todo-next-item, todo-padded-string, todo-powerset)
8367 (todo-previous-button, todo-previous-item)
8368 (todo-print-buffer-to-file, todo-raise-category)
8369 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8370 (todo-set-category-number, todo-set-item-priority)
8371 (todo-set-top-priorities-in-category)
8372 (todo-set-top-priorities-in-file, todo-show-categories-table)
8373 (todo-sort-categories-alphabetically-or-numerically)
8374 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8375 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8376 (todo-toggle-item-header, todo-toggle-item-highlighting)
8377 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8378 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8379 (todo-unarchive-items, todo-unmark-category): New commands.
8380 (todo-absolute-file-name, todo-add-to-buffer-list)
8381 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8382 (todo-basic-insert-item, todo-category-completions)
8383 (todo-category-number, todo-category-string-matcher-1)
8384 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8385 (todo-check-format, todo-clear-matches)
8386 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8387 (todo-current-category, todo-date-string-matcher)
8388 (todo-define-insertion-command, todo-diary-expired-matcher)
8389 (todo-diary-goto-entry, todo-diary-item-p)
8390 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8391 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8392 (todo-done-item-section-p, todo-done-separator)
8393 (todo-done-string-matcher, todo-files, todo-filter-items)
8394 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8395 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8396 (todo-insert-category-line, todo-insert-item-from-calendar)
8397 (todo-insert-sort-button, todo-insert-with-overlays)
8398 (todo-insertion-command-name, todo-insertion-key-bindings)
8399 (todo-label-to-key, todo-longest-category-name-length)
8400 (todo-make-categories-list, todo-mode-external-set)
8401 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8402 (todo-modes-set-3, todo-multiple-filter-files)
8403 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8404 (todo-read-category, todo-read-date, todo-read-dayname)
8405 (todo-read-file-name, todo-read-time)
8406 (todo-reevaluate-category-completions-files-defcustom)
8407 (todo-reevaluate-default-file-defcustom)
8408 (todo-reevaluate-filelist-defcustoms)
8409 (todo-reevaluate-filter-files-defcustom)
8410 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8411 (todo-reset-done-separator, todo-reset-done-separator-string)
8412 (todo-reset-done-string, todo-reset-global-current-todo-file)
8413 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8414 (todo-reset-prefix, todo-set-categories)
8415 (todo-set-date-from-calendar, todo-set-show-current-file)
8416 (todo-set-top-priorities, todo-short-file-name)
8417 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8418 (todo-total-item-counts, todo-update-buffer-list)
8419 (todo-update-categories-display, todo-update-categories-sexp)
8420 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8421 New functions.
8422 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8423 New major modes.
8424 (todo-categories, todo-display, todo-edit, todo-faces)
8425 (todo-filtered): New defgroups.
8426 (todo-archived-only, todo-button, todo-category-string, todo-date)
8427 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8428 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8429 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8430 (todo-add-item-if-new-category, todo-always-add-time-string)
8431 (todo-categories-align, todo-categories-archived-label)
8432 (todo-categories-category-label, todo-categories-diary-label)
8433 (todo-categories-done-label, todo-categories-number-separator)
8434 (todo-categories-todo-label, todo-categories-totals-label)
8435 (todo-category-completions-files, todo-completion-ignore-case)
8436 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8437 (todo-done-separator-string, todo-done-string)
8438 (todo-files-function, todo-filter-done-items, todo-filter-files)
8439 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8440 (todo-initial-category, todo-initial-file, todo-item-mark)
8441 (todo-legacy-date-time-regexp, todo-mode-line-function)
8442 (todo-nondiary-marker, todo-number-prefix)
8443 (todo-print-buffer-function, todo-show-current-file)
8444 (todo-show-done-only, todo-show-first, todo-show-with-done)
8445 (todo-skip-archived-categories, todo-top-priorities-overrides)
8446 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8447 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8448 New defcustoms.
8449 (todo-category-done, todo-date-pattern, todo-date-string-start)
8450 (todo-diary-items-buffer, todo-done-string-start)
8451 (todo-filtered-items-buffer, todo-item-start)
8452 (todo-month-abbrev-array, todo-month-name-array)
8453 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8454 (todo-top-priorities-buffer): New defconsts.
8455 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8456 (todo-categories-with-marks, todo-category-string-face)
8457 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8458 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8459 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8460 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8461 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8462 (todo-font-lock-keywords, todo-global-current-todo-file)
8463 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8464 (todo-insertion-commands-args)
8465 (todo-insertion-commands-args-genlist)
8466 (todo-insertion-commands-names, todo-insertion-map)
8467 (todo-key-bindings-t, todo-key-bindings-t+a)
8468 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8469 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8470 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8471 (todo-visited): New variables.
8472
8473 2013-06-21 Glenn Morris <rgm@gnu.org>
8474
8475 * play/cookie1.el (cookie-apropos): Add optional display argument.
8476 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8477 (psychoanalyze-pinhead): Use cookie-doctor.
8478
8479 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * emacs-lisp/package.el (tar-get-file-descriptor)
8482 (tar--extract): Declare.
8483
8484 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8485
8486 Extend flymake's warning predicate to be a function (bug#14217).
8487 * progmodes/flymake.el (flymake-warning-predicate): New.
8488 (flymake-parse-line): Use it.
8489 (flymake-warning-re): Make obsolete alias to
8490 `flymake-warning-predicate'.
8491
8492 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8495 (package-obsolete-list): Remove.
8496 (package-activate): Remove min-version argument. Add `force' argument.
8497 Adjust to new package-alist format.
8498 (package-mark-obsolete): Remove.
8499 (package-unpack): Force reload of the package's autoloads.
8500 (package-installed-p): Check builtins if the installed package is not
8501 recent enough.
8502 (package-initialize): Don't reset package-obsolete-list.
8503 Don't specify which package version to activate.
8504 (package-process-define-package, describe-package-1)
8505 (package-menu--generate): Adjust to new package-alist format.
8506
8507 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * allout-widgets.el (allout-widgets-mode-off)
8510 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8511 (allout-widgets-post-command-business)
8512 (allout-widgets-after-copy-or-kill-function)
8513 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8514 (allout-decorate-item-and-context)
8515 (allout-graphics-modification-handler): Fix typos in docstrings.
8516 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8517
8518 * cmuscheme.el (scheme-start-file): Doc fix.
8519 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8520 (scheme-input-filter): Use `string-match-p'.
8521
8522 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8523
8524 * dired-x.el: Use Dired consistently in docstrings.
8525
8526 * dired.el: Use Dired consistently in docstrings.
8527 (dired-readin, dired-mode): Use `setq-local'.
8528 (dired-switches-alist): Make defvar-local.
8529 (dired-buffers-for-dir): Use `zerop'.
8530 (dired-safe-switches-p, dired-switches-escape-p)
8531 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8532 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8533 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8534 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8535 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8536 (dired-toggle-marks, dired-mark-files-containing-regexp)
8537 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8538 (dired-flag-auto-save-files, dired-flag-backup-files):
8539 Use `looking-at-p'.
8540 (dired-mark-files-regexp, dired-build-subdir-alist):
8541 Use `string-match-p', `looking-at-p'.
8542
8543 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8544 (direct-print-region-helper): Use `string-match-p'.
8545
8546 2013-06-21 Leo Liu <sdl.web@gmail.com>
8547
8548 * comint.el (comint-redirect-results-list-from-process):
8549 Fix infinite loop.
8550
8551 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * net/eww.el (eww-update-header-line-format): Quote % characters.
8554
8555 2013-06-21 Glenn Morris <rgm@gnu.org>
8556
8557 * play/cookie1.el (cookie): New custom group.
8558 (cookie-file): New option.
8559 (cookie-check-file): New function.
8560 (cookie): Make it interactive. Make start and end messages optional.
8561 Interactively, display the result. Default to cookie-file.
8562 (cookie-insert): Default to cookie-file.
8563 (cookie-snarf): Make start and end messages optional.
8564 Default to cookie-file. Use with-temp-buffer.
8565 (cookie-read): Rename from read-cookie.
8566 Make start and end messages optional. Default to cookie-file.
8567 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
8568 Do not autoload it.
8569 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8570 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8571
8572 2013-06-21 Leo Liu <sdl.web@gmail.com>
8573
8574 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8575
8576 2013-06-21 Glenn Morris <rgm@gnu.org>
8577
8578 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8579
8580 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8581 Daniel Hackney <dan@haxney.org>
8582
8583 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8584 Consolidate the single-file vs tarball code.
8585 (package-desc-suffix): New function.
8586 (package-desc-full-name): Don't bother inlining it.
8587 (package-load-descriptor): Return the new package-desc.
8588 (package-mark-obsolete): Remove unused arg `package'.
8589 (package-unpack): Make it work for single files as well.
8590 Make it update package-alist.
8591 (package--make-autoloads-and-stuff): Rename from
8592 package--make-autoloads-and-compile. Don't compile any more.
8593 (package--compile): New function.
8594 (package-generate-description-file): New function, extracted from
8595 package-unpack-single.
8596 (package-unpack-single): Remove.
8597 (package--with-work-buffer): Add indentation and debugging info.
8598 (package-download-single): Remove.
8599 (package-install-from-archive): Rename from package-download-tar, make
8600 it take a pkg-desc, and make it work for single files as well.
8601 (package-download-transaction): Simplify.
8602 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8603 external tar program.
8604 (package-install-from-buffer): Remove `pkg-desc' argument.
8605 Use package-tar-file-info for tar-mode buffers.
8606 (package-install-file): Simplify accordingly.
8607 (package-archive-base): Change to take a pkg-desc.
8608 * tar-mode.el (tar--check-descriptor): New function, extracted from
8609 tar-get-descriptor.
8610 (tar-get-descriptor): Use it.
8611 (tar-get-file-descriptor): New function.
8612 (tar--extract): New function, extracted from tar-extract.
8613 (tar--extract): Use it.
8614 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8615 case the summary uses non-ascii. Adjust to new calling convention of
8616 package-tar-file-info.
8617
8618 2013-06-21 Leo Liu <sdl.web@gmail.com>
8619
8620 * comint.el (comint-redirect-results-list-from-process):
8621 Fix random delay. (Bug#14681)
8622
8623 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * profiler.el (profiler-format-number): Use log, not log10.
8626
8627 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8630
8631 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8634 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8635 yet available.
8636 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8637 (AUTOGENEL): ... here.
8638 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8639 (cl--defsubst-expand): Use it.
8640
8641 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8642
8643 * subr.el (log10): Move here from C code, and declare as obsolete.
8644 All uses of (log10 X) replaced with (log X 10).
8645
8646 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8649 Declare with `defvar-local'.
8650 (tabulated-list-use-header-line, tabulated-list-entries)
8651 (tabulated-list-padding, tabulated-list-printer)
8652 (tabulated-list-sort-key): Declare with `defvar-local'.
8653 (tabulated-list-init-header, tabulated-list-print-fake-header):
8654 Use `setq-local'.
8655
8656 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
8657
8658 * arc-mode.el (archive-mode): Add `archive-write-file' to
8659 `write-contents-functions' also for remote files. (Bug#14652)
8660
8661 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
8662
8663 * cus-edit.el (custom-commands): Fix typos.
8664 (custom-display): Fix tooltip text.
8665 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8666 Fix typos in docstrings.
8667 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8668 (custom-unlispify-menu-entry, custom-magic-value-create)
8669 (custom-add-see-also, custom-group-value-create): Use ?\s.
8670 (custom-guess-type, customize-apropos, editable-field)
8671 (custom-face-value-create): Use `string-match-p'.
8672 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8673
8674 * custom.el (custom-load-symbol): Use `string-match-p'.
8675
8676 * ansi-color.el: Convert to lexical binding.
8677 (ansi-colors): Fix URL.
8678 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8679 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8680 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8681
8682 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
8684 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8685
8686 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8687
8688 2013-06-19 Tom Tromey <tromey@redhat.com>
8689
8690 * net/eww.el (eww-top-url): Remove.
8691 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8692 (eww-render): Set new variables. Don't set eww-top-url.
8693 (eww-handle-link): Handle "prev", "home", and "contents".
8694 Downcase the rel text.
8695 (eww-top-url): Choose best top URL.
8696
8697 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8698
8699 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8700 relying in widget.el. Using widget.el leads to too many
8701 user interface inconsistencies.
8702 (eww-self-insert): Implement entering commands in text fields.
8703 (eww-process-text-input): New function to make text input field editing
8704 work.
8705 (eww-submit): Rewrite to use the new-style form methods.
8706 (eww-select-display): Display the correct selected item.
8707 (eww-change-select): Implement changing the select value.
8708 (eww-toggle-checkbox): Implement radio/checkboxes.
8709 (eww-update-field): Fix compilation error.
8710 (eww-tag-textarea): Implement <textarea>.
8711
8712 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8713 we don't shadow mode-specific bindings.
8714
8715 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8716 nothing to push.
8717
8718 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8719
8720 2013-06-19 Glenn Morris <rgm@gnu.org>
8721
8722 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8723
8724 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8727 not needed.
8728
8729 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8730
8731 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * net/browse-url.el (browse-url-browser-function):
8734 `eww-browse-url' has the right calling signature, `eww' does not.
8735
8736 2013-06-19 Glenn Morris <rgm@gnu.org>
8737
8738 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8739 Only eval autoloaded macros.
8740 (byte-compile-autoload): Only give the macro warning for macros.
8741
8742 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8743 (ps-underlined-faces): Declare.
8744
8745 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8746 (speedbar-add-supported-extension): Declare.
8747
8748 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8749 Don't include a date stamp in the header of the generated file;
8750 it leads to needless differences between output files.
8751
8752 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
8753
8754 * net/secrets.el (secrets-struct-secret-content-type):
8755 Replace check of introspection data by a test call of "CreateItem".
8756 Some servers do not offer introspection.
8757
8758 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * electric.el (electric-pair-mode): Improve interaction with
8761 electric-layout-mode.
8762 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8763 (electric-pair-syntax): Use text-mode-syntax-table in comments
8764 and strings.
8765 (electric-pair--insert): New function.
8766 (electric-pair-post-self-insert-function): Use it and
8767 electric--after-char-pos.
8768
8769 2013-06-19 Leo Liu <sdl.web@gmail.com>
8770
8771 * progmodes/octave.el (octave-help): Fix regexp.
8772
8773 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8774
8775 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8776 (shr-table-horizontal-line): Allow nil as a value, and change the
8777 default.
8778 (shr-insert-table-ruler): Respect the nil value.
8779
8780 2013-06-18 Tom Tromey <tromey@barimba>
8781
8782 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8783 New defvars.
8784 (eww-open-file): New defun.
8785 (eww-render): Initialize new variables.
8786 (eww-display-html): Handle "link" and "a".
8787 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8788 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8789 (eww-back-url): Rename from eww-previous-url.
8790 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8791 New defuns.
8792
8793 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8794
8795 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8796 Distinguish ternary operator tokens from slash symbol and slash
8797 char literal.
8798
8799 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8800
8801 Convert symbol prettification into minor mode and global minor mode.
8802
8803 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8804 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8805 (prettify-symbols--keywords): Rename from
8806 `prog-prettify-symbols-alist' and make a local defvar.
8807 (prettify-symbols--compose-symbol): Rename from
8808 `prog--prettify-font-lock-compose-symbol'.
8809 (prettify-symbols--make-keywords): Rename from
8810 `prog-prettify-font-lock-symbols-keywords' and simplify.
8811 (prog-prettify-install): Remove.
8812 (prettify-symbols-mode): New minor mode, based on
8813 `prog-prettify-install'.
8814 (turn-on-prettify-symbols-mode): New function.
8815 (global-prettify-symbols-mode): New globalized minor mode.
8816
8817 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8818 * progmodes/cfengine.el (cfengine3-mode):
8819 * progmodes/perl-mode.el (perl-mode): Don't call
8820 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8821
8822 2013-06-18 Juri Linkov <juri@jurta.org>
8823
8824 * files-x.el (modify-file-local-variable-message): New function.
8825 (modify-file-local-variable)
8826 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8827 and call `modify-file-local-variable-message' when it's non-nil.
8828 (add-file-local-variable, delete-file-local-variable)
8829 (add-file-local-variable-prop-line)
8830 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8831 and use it. (Bug#9820)
8832
8833 2013-06-18 Juri Linkov <juri@jurta.org>
8834
8835 * emulation/vi.el (vi-shell-op):
8836 * emulation/vip.el (vip-execute-com, ex-command):
8837 * emulation/viper-cmd.el (viper-exec-bang):
8838 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8839 the call of `shell-command-on-region'. (Bug#14637)
8840
8841 * simple.el (shell-command-on-region): Doc fix.
8842
8843 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8846 (bug#14633).
8847
8848 2013-06-18 Glenn Morris <rgm@gnu.org>
8849
8850 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8851
8852 * newcomment.el (comment-search-forward, comment-search-backward):
8853 Doc fix. (Bug#14376)
8854
8855 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8858 (buffer-face-mode-invoke): Doc fix.
8859
8860 2013-06-18 Matthias Meulien <orontee@gmail.com>
8861
8862 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8863 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8864
8865 2013-06-18 Glenn Morris <rgm@gnu.org>
8866
8867 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8868 Replace obsolete function generic-make-keywords with its expansion.
8869
8870 * progmodes/python.el (ffap-alist): Declare.
8871
8872 * textmodes/reftex.el (bibtex-mode-map): Declare.
8873
8874 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8877 (package-unpack, package-unpack-single): Return the pkg-dir.
8878 (package-download-transaction): Use it to update package-alist.
8879
8880 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
8882 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8883 possible choice.
8884
8885 2013-06-17 Juri Linkov <juri@jurta.org>
8886
8887 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8888
8889 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8890
8891 * emacs-lisp/package.el (package-load-descriptor):
8892 Remove `with-syntax-table' call, `read' doesn't need it.
8893 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8894
8895 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * startup.el (command-line): Expand package name returned by
8898 `package--description-file' (bug#14639).
8899
8900 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8901
8902 * emacs-lisp/package.el (package-load-descriptor): Do not call
8903 `emacs-lisp-mode', just use its syntax table.
8904
8905 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
8906
8907 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8908 `font-lock-extra-managed-props' if any prettifying keyword is added.
8909 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8910 (prog-mode): Use `setq-local'.
8911
8912 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * international/characters.el (standard-case-table): Set syntax of ?»
8915 and ?« to punctuation.
8916
8917 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8920 Save relevant match data before calling `syntax-ppss' (bug#14595).
8921
8922 2013-06-15 Juri Linkov <juri@jurta.org>
8923
8924 * files-x.el (modify-file-local-variable-prop-line): Add local
8925 variables to the end of the existing comment on the first line.
8926 Use `file-auto-mode-skip' to skip interpreter magic line,
8927 and also skip XML declaration.
8928
8929 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * startup.el (package--builtin-versions): New var.
8932 (package-subdirectory-regexp): Remove.
8933 (package--description-file): Hard code its value instead.
8934
8935 * emacs-lisp/package.el: Don't activate packages older than builtin.
8936 (package-obsolete-list): Rename from package-obsolete-alist, and make
8937 it into a simple list of package-desc.
8938 (package-strip-version): Remove.
8939 (package-built-in-p): Use package--builtin-versions.
8940 (package-mark-obsolete): Simplify.
8941 (package-process-define-package): Mark it obsolete if older than the
8942 builtin version.
8943 (package-handle-response): Use line-end-position.
8944 (package-read-archive-contents, package--download-one-archive):
8945 Simplify.
8946 (package--add-to-archive-contents): Skip if older than the builtin or
8947 installed version.
8948 (package-menu-describe-package): Fix last change.
8949 (package-list-unversioned): New var.
8950 (package-menu--generate): Use it.
8951
8952 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8953 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8954 (autoload-builtin-package-versions): New variable.
8955 (autoload-generate-file-autoloads): Use them.
8956 Remove the list of autoloaded functions/macros from the
8957 (autoload...) comments.
8958
8959 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8960
8961 2013-06-15 Eli Zaretskii <eliz@gnu.org>
8962
8963 * simple.el (line-move-partial): Don't jump to the next screen
8964 line as soon as it becomes visible. Instead, continue enlarging
8965 the vscroll until the portion of a tall screen line that's left on
8966 display is about the height of the frame's default font.
8967 (Bug#14567)
8968
8969 2013-06-15 Glenn Morris <rgm@gnu.org>
8970
8971 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8972 compilation-error-regexp-alist void, or local while let-bound.
8973
8974 * progmodes/make-mode.el (makefile-mode-syntax-table):
8975 Treat "=" as punctuation. (Bug#14614)
8976
8977 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * help-fns.el (describe-variable):
8980 Add extra line for permanent-local variables.
8981
8982 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8983
8984 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8985 Add export, import, library. (Bug#9164)
8986 (library): Set indent function.
8987
8988 2013-06-14 Glenn Morris <rgm@gnu.org>
8989
8990 * term/xterm.el (xterm--query):
8991 Stop after first matching handler. (Bug#14615)
8992
8993 2013-06-14 Ivan Kanis <ivan@kanis.fr>
8994
8995 Add support for dired in saveplace.
8996 * dired.el (dired-initial-position-hook): New variable.
8997 (dired-initial-position): Call hook to place cursor position.
8998 * saveplace.el (save-place-to-alist): Add dired position.
8999 (save-place-dired-hook): New function.
9000
9001 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9004 through a symbol rather than letrec.
9005
9006 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9007 (package-desc): Add `dir' field.
9008 (package-desc-full-name): New function.
9009 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9010 (package-maybe-load-descriptor): Remove.
9011 (package-load-all-descriptors): Just call package-load-descriptor.
9012 (package--disabled-p): New function.
9013 (package-desc-vers, package-desc-doc): Remove aliases.
9014 (package--dir): Remove function.
9015 (package-activate): Check if a package is disabled.
9016 (package-process-define-package): New function, extracted from
9017 define-package.
9018 (define-package): Turn into a place holder.
9019 (package-unpack-single, package-tar-file-info):
9020 Use package--description-file.
9021 (package-compute-transaction): Use package--disabled-p.
9022 (package-download-transaction): Don't call
9023 package-maybe-load-descriptor since they're all loaded anyway.
9024 (package-install): Change argument to be a pkg-desc.
9025 (package-delete): Use a single pkg-desc argument.
9026 (describe-package-1): Use package-desc-dir instead of package--dir.
9027 Use package-desc property instead of package-symbol.
9028 (package-install-button-action): Adjust accordingly.
9029 (package--push): Rewrite.
9030 (package-menu--print-info): Adjust accordingly. Change the ID format
9031 to be a pkg-desc.
9032 (package-menu-describe-package, package-menu-get-status)
9033 (package-menu--find-upgrades, package-menu-mark-upgrades)
9034 (package-menu-execute, package-menu--name-predicate):
9035 Adjust accordingly.
9036 * startup.el (package--description-file): New function.
9037 (command-line): Use it.
9038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9039 Use package-desc-version.
9040
9041 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9042 (byte-compile-preprocess): Use it.
9043 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9044 can't quite recognize.
9045 (byte-compile-add-to-list): Remove.
9046 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9047 (cconv-closure-convert): Add assertion.
9048
9049 * emacs-lisp/map-ynp.el: Use lexical-binding.
9050 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9051 Factor out some repeated code.
9052
9053 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * subr.el (with-eval-after-load): New macro.
9056 (eval-after-load): Allow form to be a function.
9057 take advantage of lexical-binding.
9058 (do-after-load-evaluation): Use dolist and adjust to new format.
9059 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9060
9061 2013-06-13 Juri Linkov <juri@jurta.org>
9062
9063 * replace.el (perform-replace): Display "symbol " and other search
9064 modes from `isearch-message-prefix' in the *Help* buffer.
9065
9066 * isearch.el (isearch-query-replace): Add " symbol" and other
9067 possible search modes from `isearch-message-prefix' to the prompt.
9068 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9069 when reading a regexp to collect.
9070
9071 2013-06-13 Juri Linkov <juri@jurta.org>
9072
9073 * isearch.el (word-search-regexp): Match whitespace if the search
9074 string begins or ends in whitespace. The LAX arg is applied to
9075 both ends of the search string. Use `regexp-quote' and explicit
9076 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9077 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9078 boundaries are replaced with symbol boundaries, and characters
9079 between symbols match non-word non-symbol syntax. (Bug#14602)
9080
9081 2013-06-13 Juri Linkov <juri@jurta.org>
9082
9083 * isearch.el (isearch-del-char): Don't exceed the length of
9084 `isearch-string' by the prefix arg. (Bug#14563)
9085
9086 2013-06-13 Juri Linkov <juri@jurta.org>
9087
9088 * isearch.el (isearch-yank-word, isearch-yank-line)
9089 (isearch-char-by-name, isearch-quote-char)
9090 (isearch-printing-char, isearch-process-search-char):
9091 Add optional count prefix arg. (Bug#14563)
9092
9093 * international/isearch-x.el
9094 (isearch-process-search-multibyte-characters):
9095 Add optional count prefix arg.
9096
9097 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9100 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9101 lexical-binding.
9102
9103 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9104
9105 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9106
9107 2013-06-13 Glenn Morris <rgm@gnu.org>
9108
9109 * startup.el (tty-handle-args):
9110 Don't just discard "--" and anything after. (Bug#14608)
9111
9112 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9113
9114 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9115
9116 Implement changes in Secret Service API. Make it backward compatible.
9117 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9118 (secrets-create-item): Use it. Prefix properties with interface.
9119
9120 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9121
9122 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9123 (term-emulate-terminal): Respect term-suppress-hard-newline.
9124
9125 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9126
9127 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9128 Only remove a `thumb-file' overlay. (Bug#14548)
9129
9130 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9131
9132 * mail/reporter.el (reporter-submit-bug-report):
9133 Handle missing package-name. (Bug#14600)
9134
9135 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9136
9137 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9138 (reftex-citation-prompt, reftex-default-bibliography)
9139 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9140 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9141 (reftex-bib-sort-author, reftex-bib-sort-year)
9142 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9143 (reftex-extract-bib-entries-from-thebibliography)
9144 (reftex-get-bibkey-default, reftex-get-bib-names)
9145 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9146 (reftex-format-bib-entry, reftex-parse-bibitem)
9147 (reftex-format-bibitem, reftex-do-citation)
9148 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9149 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9150 (reftex-insert-bib-matches, reftex-format-citation)
9151 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9152 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9153 existing comments into docstrings.
9154
9155 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9156
9157 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9158
9159 2013-06-12 Andreas Schwab <schwab@suse.de>
9160
9161 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9162 for auto-save files.
9163
9164 2013-06-12 Glenn Morris <rgm@gnu.org>
9165
9166 * ido.el (ido-delete-ignored-files): Remove.
9167 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9168 Go back to calling ido-ignore-item-p directly.
9169
9170 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9171
9172 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9173
9174 * ido.el (ido-delete-ignored-files): New function,
9175 split from ido-make-file-list-1.
9176 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9177 (ido-make-file-list-1): Use ido-delete-ignored-files.
9178
9179 2013-06-12 Leo Liu <sdl.web@gmail.com>
9180
9181 * progmodes/octave.el (inferior-octave-startup)
9182 (inferior-octave-completion-table)
9183 (inferior-octave-track-window-width-change)
9184 (octave-eldoc-function-signatures, octave-help)
9185 (octave-find-definition): Use single quoted strings.
9186 (inferior-octave-startup-args): Change default value.
9187 (inferior-octave-startup): Do not hard code "-i" and
9188 "--no-line-editing".
9189 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9190 (inferior-octave-directory-tracker): Use it.
9191 (octave-goto-function-definition): Robustify.
9192 (octave-help): Support highlighting operators in 'See also'.
9193 (octave-find-definition): Find subfunctions only in Octave mode.
9194
9195 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * help-fns.el (help-fns--compiler-macro): If the handler function is
9198 named, then put a link to it.
9199 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9200 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9201 (cl-typep): Use it.
9202 (cl-eval-when): Simplify debug spec.
9203 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9204 compiler-macro function instead of setting `compiler-macro-file'.
9205
9206 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9207
9208 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9209 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9210
9211 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9212 Daniel Hackney <dan@haxney.org>
9213
9214 First part of Daniel Hackney's patch to package.el.
9215 * emacs-lisp/package.el: Use defstruct.
9216 (package-desc): New, main struct.
9217 (package--bi-desc, package--ac-desc): New structs, used to describe the
9218 format in external files.
9219 (package-desc-vers): Replace with package-desc-version accessor.
9220 (package-desc-doc): Replace with package-desc-summary accessor.
9221 (package-activate-1): Remove `package' arg since the pkg-vec now
9222 includes the name.
9223 (define-package): Use package-desc-from-define.
9224 (package-unpack-single): Change file-name arg to be a symbol.
9225 (package--add-to-archive-contents): Use package-desc-create and new
9226 accessor functions to package--ac-desc.
9227 (package-buffer-info, package-tar-file-info): Return a package-desc.
9228 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9229 arg to be a package-desc.
9230 (package-install-file): Adjust accordingly. Use \' to match EOS.
9231 (package--from-builtin): New function.
9232 (describe-package-1, package-menu--generate): Use it.
9233 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9234 (package-generate-autoloads): Idem and return the name of the file.
9235 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9236 Change pkg-info arg to be a package-desc.
9237 Use package-make-ac-desc.
9238 (package-upload-file): Use \' to match EOS.
9239 * finder.el (finder-compile-keywords): Use package-make-builtin.
9240
9241 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * vc/vc.el (vc-deduce-fileset): Change error message.
9244 (vc-read-backend): New function.
9245 (vc-next-action): Use it.
9246
9247 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9248
9249 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9250 (prolog-font-lock-keywords): Use regexp-opt instead.
9251 Don't manually highlight strings.
9252 (prolog-mode-variables): Simplify comment-start-skip.
9253 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9254
9255 * emacs-lisp/generic.el (generic--normalise-comments)
9256 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9257 (generic-mode-set-comments): Use them.
9258 (generic-bracket-support): Use setq-local.
9259 (generic-make-keywords-list): Declare obsolete.
9260
9261 2013-06-11 Glenn Morris <rgm@gnu.org>
9262
9263 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9264 Prettify after setting font-lock-defaults. (Bug#14574)
9265
9266 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * replace.el (query-replace, occur-read-regexp-defaults-function)
9269 (replace-search):
9270 * subr.el (declare-function, number-sequence, local-set-key)
9271 (substitute-key-definition, locate-user-emacs-file)
9272 (with-silent-modifications, split-string, eval-after-load):
9273 Fix typos, remove unneeded backslashes and reflow some docstrings.
9274
9275 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9278 default for Elisp files.
9279
9280 2013-06-11 Glenn Morris <rgm@gnu.org>
9281
9282 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9283 although define-derived-mode was doing this anyway. (Bug#14583)
9284
9285 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9288 Fix make-variable-buffer-local call to refer to the correct variable.
9289
9290 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9291
9292 * eshell/em-term.el (eshell-visual-commands)
9293 (eshell-visual-subcommands, eshell-visual-options):
9294 Add summary line to docstrings. Add cross-references.
9295
9296 2013-06-10 Glenn Morris <rgm@gnu.org>
9297
9298 * epa.el (epa-read-file-name): New function. (Bug#14510)
9299 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9300
9301 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9302
9303 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9304 output redirection to be ignored with visual commands.
9305
9306 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9307
9308 * eshell/em-term.el (eshell-visual-command-p): New function.
9309 (eshell-term-initialize): Move long lambda to separate function
9310 eshell-visual-command-p.
9311 * eshell/em-dirs.el (eshell-dirs-initialise):
9312 * eshell/em-script.el (eshell-script-initialize):
9313 Add missing #' to lambda.
9314
9315 2013-06-08 Leo Liu <sdl.web@gmail.com>
9316
9317 * progmodes/octave.el (octave-add-log-current-defun): New function.
9318 (octave-mode): Set add-log-current-defun-function.
9319 (octave-goto-function-definition): Do not move point if not found.
9320 (octave-find-definition): Enhance to try subfunctions first.
9321
9322 2013-06-08 Glenn Morris <rgm@gnu.org>
9323
9324 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9325 (byte-compile-backward-char, byte-compile-backward-word):
9326 Improve previous change, to handle non-explicit nil.
9327
9328 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9331 (smie--opener/closer-at-point): New function.
9332 (smie--matching-block-data): Use it. Don't match from right after an
9333 opener or right before a closer. Obey smie-blink-matching-inners.
9334 Don't signal a mismatch for repeated inners like "switch..case..case".
9335
9336 2013-06-07 Leo Liu <sdl.web@gmail.com>
9337
9338 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9339 to t. (Bug#14303)
9340 (octave-function-header-regexp): Fix. (Bug#14570)
9341 (octave-help-mode-finish-hook, octave-help-mode-finish):
9342 Remove. Just use temp-buffer-show-hook.
9343
9344 * newcomment.el (comment-search-backward): Revert last change.
9345 (Bug#14434)
9346
9347 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9348
9349 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9350
9351 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9352 through xargs, to avoid failure due to MS-Windows limitations on
9353 command-line length.
9354
9355 2013-06-06 Glenn Morris <rgm@gnu.org>
9356
9357 * font-lock.el (lisp-font-lock-keywords-2):
9358 Treat user-error like error.
9359
9360 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9361 (byte-compile-backward-char, byte-compile-backward-word):
9362 Handle explicit nil arguments. (Bug#14565)
9363
9364 2013-06-05 Alan Mackenzie <acm@muc.de>
9365
9366 * isearch.el (isearch-allow-prefix): New user option.
9367 (isearch-other-meta-char): Don't exit isearch when a prefix
9368 argument is typed whilst `isearch-allow-prefix' is non-nil.
9369 (Bug#9706)
9370
9371 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * autorevert.el (auto-revert-notify-handler): Use memq.
9374 Hide assertion failure.
9375
9376 * skeleton.el: Use cl-lib.
9377 (skeleton-further-elements): Use defvar-local.
9378 (skeleton-insert): Use cl-progv.
9379
9380 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9381
9382 * progmodes/prog-mode.el (prog-prettify-symbols)
9383 (prog-prettify-install): Update docstrings.
9384
9385 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * simple.el: Move all the prog-mode code to prog-mode.el.
9388 * progmodes/prog-mode.el: New file.
9389 * loadup.el: Add prog-mode.el.
9390
9391 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9392
9393 * simple.el (prog-prettify-symbols): Add version.
9394 (prog-prettify-install): Add convenience function to prettify symbols.
9395
9396 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9397 (perl--augmented-font-lock-keywords-1)
9398 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9399 variables and use it.
9400
9401 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9402 (cfengine3-mode): Remove unneeded variable and use it.
9403
9404 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9405 (lisp--augmented-font-lock-keywords-1)
9406 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9407 Remove unneeded variables and use it.
9408
9409 2013-06-05 João Távora <joaotavora@gmail.com>
9410
9411 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9412 to point when opening the connection. (Bug#14380)
9413
9414 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * subr.el (load-history-regexp, load-history-filename-element)
9417 (eval-after-load, after-load-functions, do-after-load-evaluation)
9418 (eval-next-after-load, display-delayed-warnings)
9419 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9420 definition of save-match-data.
9421 (overriding-local-map): Remove accidental obsolescence declaration.
9422
9423 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9424
9425 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9426
9427 Generalize symbol prettify support to prog-mode and implement it
9428 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9429 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9430 (prog--prettify-font-lock-compose-symbol)
9431 (prog-prettify-font-lock-symbols-keywords): New variables and
9432 functions to support symbol prettification.
9433 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9434 (lisp--augmented-font-lock-keywords-1)
9435 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9436 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9437 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9438 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9439 Implement prettify of -> => :: strings.
9440 * progmodes/perl-mode.el (perl-prettify-symbols)
9441 (perl--font-lock-compose-symbol)
9442 (perl--font-lock-symbols-keywords): Move to prog-mode.
9443 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9444 (perl-font-lock-keywords-1)
9445 (perl-font-lock-keywords-2): Remove explicit prettify support.
9446 (perl--augmented-font-lock-keywords)
9447 (perl--augmented-font-lock-keywords-1)
9448 (perl--augmented-font-lock-keywords-2, perl-mode):
9449 Implement prettify support.
9450
9451 2013-06-05 Leo Liu <sdl.web@gmail.com>
9452
9453 Re-implement smie matching block highlight using
9454 show-paren-data-function. (Bug#14395)
9455 * emacs-lisp/smie.el (smie-matching-block-highlight)
9456 (smie--highlight-matching-block-overlay)
9457 (smie--highlight-matching-block-lastpos)
9458 (smie-highlight-matching-block)
9459 (smie-highlight-matching-block-mode): Remove.
9460 (smie--matching-block-data-cache): New variable.
9461 (smie--matching-block-data): New function.
9462 (smie-setup): Use smie--matching-block-data for
9463 show-paren-data-function.
9464
9465 * progmodes/octave.el (octave-mode-menu): Fix.
9466 (octave-find-definition): Skip garbage lines.
9467
9468 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 Fix compilation error with simultaneous dynamic+lexical scoping.
9471 Add warning when a defvar appears after the first let-binding.
9472 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9473 (byte-compile-close-variables): Initialize it.
9474 (byte-compile--declare-var): New function.
9475 (byte-compile-file-form-defvar)
9476 (byte-compile-file-form-define-abbrev-table)
9477 (byte-compile-file-form-custom-declare-variable): Use it.
9478 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9479 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9480 (byte-compile-bind): Handle dynamic bindings that shadow
9481 lexical bindings.
9482 (byte-compile-unbind): Make arg non-optional.
9483 (byte-compile-let): Simplify.
9484 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9485 (cconv--analyse-function, cconv-analyse-form): Populate it.
9486 Protect byte-compile-bound-variables to limit the scope of defvars.
9487 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9488 Remove unneeded rule for `declare'.
9489
9490 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9491 so as to avoid depending on cl-adjoin at run-time.
9492 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9493
9494 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9495 (macroexp--warn-and-return): Use it.
9496
9497 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9498
9499 * subr.el: Convert to lexical binding.
9500 (overriding-local-map): Make obsolete.
9501 (add-to-list): Doc fix. Add compiler macro.
9502 (read-key): Swap values of local maps.
9503
9504 2013-06-05 Leo Liu <sdl.web@gmail.com>
9505
9506 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9507
9508 2013-06-04 Leo Liu <sdl.web@gmail.com>
9509
9510 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9511 (compilation-auto-jump): Suppress the "Mark set" message to give
9512 way to exit message.
9513
9514 2013-06-04 Alan Mackenzie <acm@muc.de>
9515
9516 Remove faulty optimisation from indentation calculation.
9517 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9518 search limit based on 2000 characters back from indent-point.
9519
9520 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9521
9522 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9523
9524 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9525
9526 * emacs-lisp/lisp.el: Use lexical-binding.
9527 (lisp--local-variables-1, lisp--local-variables): New functions.
9528 (lisp--local-variables-completion-table): New var.
9529 (lisp-completion-at-point): Use it complete let-bound vars.
9530
9531 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9532 eagerly (bug#14422).
9533
9534 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9535
9536 * autorevert.el (auto-revert-notify-enabled)
9537 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9538 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9539 (auto-revert-notify-handler): Handle also gfilenotify.
9540
9541 * subr.el (file-notify-handle-event): New defun. Replacing ...
9542 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9543 Remove.
9544
9545 2013-06-03 Juri Linkov <juri@jurta.org>
9546
9547 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9548 `M-s h .'. (Bug#14427)
9549
9550 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9551 command `hi-lock-face-symbol-at-point'.
9552 (hi-lock-face-symbol-at-point): New command.
9553 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9554 (hi-lock-menu): Add `highlight-symbol-at-point'.
9555 (hi-lock-mode): Doc fix.
9556
9557 * isearch.el (isearch-forward-symbol-at-point): New command.
9558 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9559 (isearch-highlight-regexp): Add a regexp which matches
9560 words/symbols for word/symbol mode.
9561
9562 * subr.el (find-tag-default-bounds): New function with the body
9563 mostly moved from `find-tag-default'.
9564 (find-tag-default): Move most code to `find-tag-default-bounds',
9565 call it and apply `buffer-substring-no-properties' afterwards.
9566
9567 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9568
9569 * eshell/em-term.el (eshell-term-initialize):
9570 Use `cl-intersection' rather than `intersection'.
9571
9572 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9573
9574 * vc/log-view.el: Doc fix.
9575 (log-view-mode-map): Copy keymap from `special-mode-map'.
9576
9577 2013-06-02 Eric Ludlam <zappo@gnu.org>
9578
9579 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9580 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9581 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9582 (eieio-unbound, eieio-default-superclass)
9583 (eieio--define-field-accessors, method-static, method-before)
9584 (method-primary, method-after, method-num-lists)
9585 (method-generic-before, method-generic-primary)
9586 (method-generic-after, method-num-slots)
9587 (eieio-specialized-key-to-generic-key)
9588 (eieio--check-type, class-v, class-p)
9589 (eieio-class-name, define-obsolete-function-alias)
9590 (eieio-class-parents-fast, eieio-class-children-fast)
9591 (same-class-fast-p, class-constructor, generic-p)
9592 (generic-primary-only-p, generic-primary-only-one-p)
9593 (class-option-assoc, class-option, eieio-object-p)
9594 (class-abstract-p, class-method-invocation-order)
9595 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9596 (eieio-class-un-autoload, eieio-defclass)
9597 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9598 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9599 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9600 (eieio-defgeneric-reset-generic-form)
9601 (eieio-defgeneric-form-primary-only)
9602 (eieio-defgeneric-reset-generic-form-primary-only)
9603 (eieio-defgeneric-form-primary-only-one)
9604 (eieio-defgeneric-reset-generic-form-primary-only-one)
9605 (eieio-unbind-method-implementations)
9606 (eieio--defmethod, eieio--typep)
9607 (eieio-perform-slot-validation, eieio-validate-slot-value)
9608 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9609 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9610 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9611 (eieio-slot-name-index, eieio-class-slot-name-index)
9612 (eieio-set-defaults, eieio-initarg-to-attribute)
9613 (eieio-attribute-to-initarg, eieio-c3-candidate)
9614 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9615 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9616 (eieio-class-precedence-list, eieio-generic-call-methodname)
9617 (eieio-generic-call-arglst, eieio-generic-call-key)
9618 (eieio-generic-call-next-method-list)
9619 (eieio-pre-method-execution-functions, eieio-generic-call)
9620 (eieio-generic-call-primary-only, eieiomt-method-list)
9621 (eieiomt-optimizing-obarray, eieiomt-install)
9622 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9623 (eieio-generic-form, eieio-defmethod, make-obsolete)
9624 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9625 (defclass): Remove `eval-and-compile' from macro.
9626 (call-next-method, shared-initialize): Instead of using
9627 `scoped-class' variable, use new eieio--scoped-class, and
9628 eieio--with-scoped-class.
9629 (initialize-instance): Rename local variable 'scoped-class' to
9630 'this-class' to remove ambiguitity from old global.
9631
9632 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9633 eieio.el.
9634 (eieio--scoped-class-stack): New variable.
9635 (eieio--scoped-class): New fcn.
9636 (eieio--with-scoped-class): New scoping macro.
9637 (eieio-defclass): Use pushnew instead of add-to-list.
9638 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9639 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9640 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9641 `scoped-class' variable, use new eieio--scoped-class, and
9642 eieio--with-scoped-class.
9643
9644 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9645
9646 2013-06-02 Tassilo Horn <tsdh@gnu.org>
9647
9648 * eshell/esh-ext.el (eshell-external-command): Pass args to
9649 `eshell-find-interpreter'.
9650 (eshell-find-interpreter): Add new second parameter ARGS.
9651
9652 * eshell/em-script.el (eshell-script-initialize): Add second arg
9653 to the function added as MATCH to `eshell-interpreter-alist'.
9654
9655 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9656 the function added as MATCH to `eshell-interpreter-alist'.
9657
9658 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9659 (eshell-visual-options): New defcustom.
9660 (eshell-escape-control-x): Adapt docstring.
9661 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9662 `eshell-visual-options' in addition to `eshell-visual-commands'.
9663 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9664
9665 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
9666
9667 * progmodes/python.el (python-indent-block-enders): Add break,
9668 continue and raise keywords.
9669
9670 2013-06-01 Glenn Morris <rgm@gnu.org>
9671
9672 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9673
9674 Plain (f)boundp silences compilation warnings since Emacs 22.1.
9675 * progmodes/cc-cmds.el (delete-forward-p):
9676 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9677 * progmodes/cc-engine.el (buffer-syntactic-context):
9678 * progmodes/cc-fonts.el (face-property-instance):
9679 * progmodes/cc-mode.el (set-keymap-parents):
9680 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9681 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9682 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9683 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9684 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9685
9686 * progmodes/cc-vars.el (other): Emacs has this widget since
9687 at least 21.1, so don't (re)define it.
9688
9689 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9690 Replace the obsolete alias pcomplete-arg-quote-list.
9691
9692 2013-06-01 Leo Liu <sdl.web@gmail.com>
9693
9694 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9695 punctuation syntax.
9696 (inferior-octave-minimal-columns)
9697 (inferior-octave-last-column-width): New variables.
9698 (inferior-octave-track-window-width-change): New function.
9699 (inferior-octave-mode): Adjust column width so that Octave output,
9700 for example from 'ls', can fit into the window nicely.
9701
9702 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9703
9704 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9705 Highlight expansions inside regexp literals.
9706
9707 2013-05-31 Glenn Morris <rgm@gnu.org>
9708
9709 * obsolete/sym-comp.el (symbol-complete):
9710 Replace obsolete completion-annotate-function.
9711
9712 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9713
9714 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9715
9716 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9717 New function, checks if point is inside a literal that allows
9718 expression expansion.
9719 (ruby-syntax-propertize-expansion): Use it.
9720 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9721 around the body.
9722
9723 2013-05-30 Juri Linkov <juri@jurta.org>
9724
9725 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9726 to "\M-si".
9727 (isearch-invisible): New variable.
9728 (isearch-forward): Doc fix.
9729 (isearch-mode): Set `isearch-invisible'
9730 to the value of `search-invisible'.
9731 (isearch-toggle-case-fold): Doc fix.
9732 (isearch-toggle-invisible): New command.
9733 (isearch-query-replace): Let-bind `search-invisible'
9734 to the value of `isearch-invisible'.
9735 (isearch-search): Use `isearch-invisible' instead of
9736 `search-invisible'. Let-bind `search-invisible'
9737 to the value of `isearch-invisible'. (Bug#11378)
9738
9739 2013-05-30 Juri Linkov <juri@jurta.org>
9740
9741 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9742 call when `query-flag' is nil and `search-invisible' is non-nil.
9743 (Bug#11746)
9744
9745 2013-05-30 Glenn Morris <rgm@gnu.org>
9746
9747 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9748
9749 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9750 (cc-require): Suppress spurious "noruntime" warnings.
9751 (cc-require-when-compile): Use fboundp, for sake of compiler.
9752
9753 * progmodes/cc-mode.el: Move load of cc-vars before that of
9754 cc-langs (which in turn loads cc-vars), to quieten compiler.
9755
9756 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * paren.el: Simplify the code.
9759 (show-paren-mode): Always start the timer.
9760 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9761 (show-paren--overlay, show-paren--overlay-1): Rename from
9762 show-paren-overlay and show-paren-overlay-1, and initialize to an
9763 overlay rather than to nil.
9764 (show-paren-function): Misc cleanup and simplifications.
9765
9766 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * paren.el (show-paren-data-function): New hook.
9769 (show-paren--default): New function, extracted from show-paren-function.
9770 (show-paren-function): Use show-paren-data-function.
9771
9772 2013-05-30 Glenn Morris <rgm@gnu.org>
9773
9774 * ielm.el (ielm-map, ielm-complete-symbol):
9775 Use completion-at-point rather than obsolete functions.
9776 (inferior-emacs-lisp-mode): Doc fix.
9777 Set completion-at-point-functions, rather than
9778 comint-dynamic-complete-functions.
9779
9780 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9781 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9782 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9783
9784 * image.el (image-animated-p): Tweak definition.
9785
9786 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9787 (rlogin-process-connection-type): Tweak default. Add set-after.
9788 (rlogin-host): Doc fix.
9789 (rlogin): Tweak prompt.
9790 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9791
9792 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9793 * progmodes/tcl.el (inferior-tcl-mode-map):
9794 Use completion-at-point rather than obsolete alias.
9795
9796 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9797
9798 * minibuffer.el (read-file-name-completion-ignore-case):
9799 Move before completion--in-region, for eager macro expansion.
9800
9801 2013-05-29 Juri Linkov <juri@jurta.org>
9802
9803 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9804 for total count of matching lines. Add `global-matches' for total
9805 count of matches. Rename `matches' to `lines' for count of
9806 matching lines. Add `matches' for count of matches.
9807 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9808 to `prev-line' for line number of prev match endpt.
9809 Increment `matches' for every match. Print the number of
9810 matching lines in the header.
9811 (occur-context-lines): Rename `lines' to `curr-line'.
9812 Rename `prev-lines' to `prev-line'. (Bug#14017)
9813
9814 2013-05-29 Juri Linkov <juri@jurta.org>
9815
9816 * replace.el (perform-replace): Add `skip-read-only-count',
9817 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9818 Increment them for corresponding conditions and report the number
9819 of skipped occurrences in the final message. (Bug#11746)
9820 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9821 (replace-string, replace-regexp): Doc fix.
9822
9823 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9824
9825 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9826
9827 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9828 prog-mode-map (bug#14504).
9829
9830 2013-05-29 Leo Liu <sdl.web@gmail.com>
9831
9832 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9833 (octave-help): Small simplification.
9834
9835 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9836 off the highlight first.
9837
9838 2013-05-29 Glenn Morris <rgm@gnu.org>
9839
9840 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9841 Handle idlwave-last-system-routine-info-cons-cell being nil.
9842
9843 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9844 (idlwave-write-paths): Simplify via with-temp-buffer.
9845
9846 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9847 * emulation/cua-rect.el: Also load cua-base at run time.
9848
9849 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9850 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9851 (cperl-imenu-on-info): Require imenu.
9852
9853 2013-05-28 Alan Mackenzie <acm@muc.de>
9854
9855 Handle "capitalised keywords" correctly.
9856 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9857
9858 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
9859
9860 * eshell/em-unix.el: Add -r option to cp.
9861
9862 2013-05-28 Glenn Morris <rgm@gnu.org>
9863
9864 * vc/vc-arch.el (vc-exec-after): Declare.
9865 (vc-switches): Autoload.
9866 * vc/vc-bzr.el: No need to require vc when compiling.
9867 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9868 (vc-resynch-buffer, vc-dir-refresh): Declare.
9869 (vc-setup-buffer, vc-switches): Autoload.
9870 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9871 (vc-resynch-buffer): Declare.
9872 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9873 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9874 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9875 (grep-read-regexp, grep-read-files, grep-expand-template)
9876 (vc-dir-refresh): Declare.
9877 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9878 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9879 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9880 * vc/vc-mtn.el (vc-exec-after): Declare.
9881 (vc-switches): Autoload.
9882 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9883 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9884 (vc-file-tree-walk): Declare.
9885 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9886 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9887 (vc-tag-precondition, vc-rename-master): Autoload.
9888 * vc/vc-svn.el (vc-exec-after): Declare.
9889 (vc-switches, vc-setup-buffer): Autoload.
9890 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9891 Autoload.
9892 (vc-resynch-buffer): Declare.
9893
9894 * obsolete/fast-lock.el (byte-compile-warnings):
9895 Don't warn about obsolete features in this obsolete file.
9896
9897 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9898 Move definition before use.
9899
9900 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9901 (dun-unix-verbs): Remove dun-zippy.
9902 (dun-zippy): Remove function.
9903
9904 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9905
9906 2013-05-27 Juri Linkov <juri@jurta.org>
9907
9908 * replace.el (replace-search): New function with code moved out
9909 from `perform-replace'.
9910 (replace-highlight, replace-dehighlight): Move function definitions
9911 up closer to `replace-search'. (Bug#11746)
9912
9913 2013-05-27 Juri Linkov <juri@jurta.org>
9914
9915 * replace.el (perform-replace): Ignore invisible matches.
9916 In addition to checking `query-replace-skip-read-only', also
9917 filter out matches by calling `run-hook-with-args-until-failure'
9918 on `isearch-filter-predicates', and also check `search-invisible'
9919 for t or call `isearch-range-invisible'.
9920 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9921
9922 2013-05-27 Juri Linkov <juri@jurta.org>
9923
9924 * isearch.el (isearch-filter-predicates): Rename from
9925 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9926 (isearch-message-prefix): Display text from the property
9927 `isearch-message-prefix' of the currently active filters.
9928 (isearch-search): Don't compare `isearch-filter-predicate' with
9929 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9930 on `isearch-filter-predicates'. Also check `search-invisible' for t
9931 or call `isearch-range-invisible'.
9932 (isearch-filter-visible): Make obsolete.
9933 (isearch-lazy-highlight-search):
9934 Call `run-hook-with-args-until-failure' on
9935 `isearch-filter-predicates' and use `isearch-range-invisible'.
9936
9937 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9938 `isearch-filter-predicates' instead of `funcall'ing
9939 `isearch-filter-predicate'.
9940 (Info-mode): Set `Info-isearch-filter' to
9941 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9942
9943 * dired-aux.el (dired-isearch-filter-predicate-orig):
9944 Remove variable.
9945 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9946 (dired-isearch-filenames-end): Add and remove
9947 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9948 instead of changing the value of `isearch-filter-predicate'.
9949 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9950 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9951 Put property `isearch-message-prefix' to "filename " on
9952 `dired-isearch-filter-filenames'.
9953
9954 * wdired.el (wdired-change-to-wdired-mode):
9955 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9956 locally instead of changing `isearch-filter-predicate'.
9957 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9958
9959 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9960
9961 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9962 return the commit hash (Bug#14459). Also set the
9963 `vc-git-detached' property.
9964 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9965 (vc-git-mode-line-string): Use the same help-echo format whether
9966 in detached mode or not, because we know the actual revision now.
9967 When in detached mode, shorten the revision to 7 chars.
9968
9969 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/easy-mmode.el (define-minor-mode):
9972 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9973 mode hook and provide a docstring.
9974
9975 2013-05-27 Alan Mackenzie <acm@muc.de>
9976
9977 Remove spurious syntax-table text properties inserted by C-y.
9978 * progmodes/cc-mode.el (c-after-change): Also clear hard
9979 syntax-table property with value nil.
9980
9981 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
9982
9983 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9984 when reading the events; the buffer layout shall not be changed.
9985
9986 2013-05-27 Leo Liu <sdl.web@gmail.com>
9987
9988 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9989 New variable.
9990 (inferior-octave-directory-tracker): Automatically re-sync
9991 default-directory.
9992 (octave-help): Improve handling of 'See also'.
9993
9994 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9995
9996 * doc-view.el: Minor naming convention tweaks.
9997 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9998
9999 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10000 even if there's no `display' property yet (bug#14435).
10001
10002 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10003
10004 * subr.el (unmsys--file-name): Rename from reveal-filename.
10005
10006 * Makefile.in (custom-deps, finder-data, autoloads)
10007 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10008 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10009 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10010
10011 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10014 error-completion on the first 2 args of condition-case (bug#14446).
10015 Don't burp at EOB.
10016
10017 2013-05-25 Leo Liu <sdl.web@gmail.com>
10018
10019 * comint.el (comint-previous-matching-input): Do not flood the
10020 *Messages* buffer with trivial messages.
10021
10022 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * progmodes/flymake.el (flymake-nop): Don't return a string.
10025 (flymake-set-at): Fix typo.
10026
10027 * simple.el (read--expression): New function, extracted from
10028 eval-expression. Set completion-at-point-functions (bug#14465).
10029 (eval-expression, eval-minibuffer): Use it.
10030
10031 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10032
10033 * progmodes/flymake.el (flymake-save-buffer-in-file)
10034 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10035 (flymake-selected-frame, flymake-log, flymake-ins-after)
10036 (flymake-set-at, flymake-get-buildfile-from-cache)
10037 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10038 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10039 Refine the doc string.
10040 (flymake-get-file-name-mode-and-masks): Reformat.
10041 (flymake-get-real-file-name-function): Fix a minor bug.
10042
10043 2013-05-24 Juri Linkov <juri@jurta.org>
10044
10045 * progmodes/grep.el (grep-mode-font-lock-keywords):
10046 Support =linenumber= format used by git-grep for lines with
10047 function names. (Bug#13549)
10048
10049 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10052 0 after a semi-colon; it works better for smie-auto-fill.
10053 (octave--indent-new-comment-line): New function.
10054 (octave-indent-new-comment-line): Use it (indirectly).
10055 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10056 modify comment-line-break-function.
10057
10058 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10059 (smie-setup): Use add-function to set it.
10060
10061 2013-05-24 Sam Steingold <sds@gnu.org>
10062
10063 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10064 argument (before the `interactive' argument).
10065
10066 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * image-mode.el (image-mode-winprops): Add winprops to
10069 image-mode-winprops-alist before running
10070 image-mode-new-window-functions.
10071 * doc-view.el (doc-view-new-window-function): Don't delay
10072 doc-view-goto-page via timers (bug#14435).
10073
10074 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10075
10076 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10077 (doc-view-desktop-save-buffer): New function.
10078 (doc-view-restore-desktop-buffer): New function.
10079 (desktop-buffer-mode-handlers):
10080 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10081 handler.
10082 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10083 `desktop-save-buffer' function.
10084
10085 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10086
10087 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10088 (tramp-gvfs-file-name-handler): Raise a user error when
10089 `tramp-gvfs-enabled' is nil.
10090 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10091 Do not raise a user error when loading package. (Bug#14447)
10092
10093 * net/xesam.el: Move to obsolete/.
10094
10095 2013-05-24 Glenn Morris <rgm@gnu.org>
10096
10097 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10098
10099 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10100
10101 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10102 (Info-find-node, Man-getpage-in-background): Declare.
10103
10104 * mail/unrmail.el (unrmail):
10105 Replace obsolete detect-coding-with-priority.
10106
10107 * net/socks.el (socks-split-string): Use this rather than split-string.
10108 (socks-nslookup-host): Update for above change.
10109 (dynamic-choice, s5-dynamic-choice-match)
10110 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10111 Comment out unused code.
10112
10113 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10114 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10115 (gud-tooltip-echo-area): Make obsolete.
10116 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10117
10118 * progmodes/js.el (js--optimize-arglist): Declare.
10119
10120 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10121
10122 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10123 (ediff-window-C): Declare.
10124
10125 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10126 Tweak requires to silence compiler.
10127
10128 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10129 (he-search-string, he-tried-table, he-expand-list)
10130 (he-init-string, he-string-member, he-substitute-string)
10131 (he-reset-string): Declare.
10132
10133 * obsolete/options.el (list-options): Use custom-variable-p,
10134 rather than obsolete alias.
10135
10136 2013-05-23 Sam Steingold <sds@gnu.org>
10137
10138 * simple.el (shell-command-on-region): Pass the `replace' argument
10139 down to `call-process-region' to comply with the doc as reported on
10140 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10141
10142 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * emacs-lisp/smie.el (smie-indent-forward-token)
10145 (smie-indent-backward-token): Handle string tokens (bug#14381).
10146
10147 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10148
10149 * ielm.el (ielm-menu): New menu.
10150 (inferior-emacs-lisp-mode): Set comment-start.
10151
10152 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10153
10154 * textmodes/reftex.el (reftex-ref-style-toggle):
10155 Fix deactivate action.
10156
10157 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10158 Add cleveref macros.
10159
10160 * textmodes/reftex-parse.el
10161 (reftex-locate-bibliography-files): Accept options for
10162 bibliography commands.
10163 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10164 Add addbibresource. Basic Biblatex support.
10165
10166 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10167
10168 * net/tramp-gvfs.el (top):
10169 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10170 when loading package. (Bug#14447)
10171
10172 2013-05-23 Glenn Morris <rgm@gnu.org>
10173
10174 * progmodes/js.el: No need to load comint when compiling.
10175 (ring-insert, comint-send-string, comint-send-input)
10176 (comint-last-input-end, ido-chop): Declare.
10177
10178 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10179 * vc/ediff-mult.el: Adjust requires.
10180 (ediff-directories-internal, ediff-directory-revisions-internal)
10181 (ediff-patch-file-internal): Declare.
10182 * vc/ediff-ptch.el: Adjust requires.
10183 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10184 (ediff-find-file): Autoload.
10185 * vc/ediff-util.el: No need to load ediff when compiling.
10186 (ediff-regions-internal): Declare.
10187 * vc/ediff-wind.el: Adjust requires.
10188 (ediff-compute-toolbar-width): Define when compiling.
10189 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10190 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10191 (dired-get-filename, dired-get-marked-files)
10192 (ediff-last-dir-patch, ediff-patch-default-directory)
10193 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10194 (ediff-patch-buffer-internal): Declare.
10195
10196 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10197 (ispell-process, ispell-buffer-local-words, lm-summary)
10198 (lm-section-start, lm-section-end): Declare.
10199 (checkdoc-ispell-init): Simplify.
10200
10201 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10202 (he-string-member, he-reset-string, he-substitute-string): Declare.
10203
10204 * eshell/em-ls.el: Adjust requires.
10205 (eshell-glob-regexp): Declare.
10206 * eshell/em-tramp.el: Adjust requires.
10207 (eshell-parse-command): Autoload.
10208 * eshell/em-xtra.el: Adjust requires.
10209 (eshell-parse-command): Autoload.
10210 * eshell/esh-ext.el: Adjust requires.
10211 (eshell-parse-command, eshell-close-handles): Autoload.
10212 * eshell/esh-io.el: Adjust requires.
10213 (eshell-output-filter): Autoload.
10214 * eshell/esh-util.el: No need to load tramp when compiling.
10215 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10216 Declare.
10217 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10218 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10219 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10220 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10221 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10222 * eshell/esh-opt.el, eshell/esh-proc.el:
10223 * eshell/esh-var.el: Adjust requires.
10224 * eshell/eshell.el: Do not require esh-util twice.
10225 (eshell-add-input-to-history): Declare.
10226 (eshell-command): Check history module is active before using it.
10227
10228 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10229
10230 2013-05-22 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10233
10234 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * autorevert.el (auto-revert-notify-add-watch)
10237 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10238 it indicates changes in file modification time.
10239
10240 2013-05-22 Glenn Morris <rgm@gnu.org>
10241
10242 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10243 Always delete the autoloaded function from the noruntime and
10244 unresolved functions lists.
10245
10246 * allout.el: No need to load epa, epg, overlay when compiling.
10247 (epg-context-set-passphrase-callback, epg-list-keys)
10248 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10249 (epg-key-user-id-list): Declare.
10250
10251 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10252 (viper-set-parsing-style-toggling-macro)
10253 (viper-set-emacs-state-searchstyle-macros):
10254 Use called-interactively-p on Emacs.
10255 (viper-looking-back): Make it an obsolete alias. Update callers.
10256 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10257 Use looking-back rather than viper-looking-back.
10258 (viper-tmp-insert-at-eob, viper-enlarge-region)
10259 (viper-read-string-with-history, viper-register-to-point)
10260 (viper-append-to-register, viper-change-state-to-vi)
10261 (viper-backward-char-carefully, viper-forward-char-carefully)
10262 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10263 (viper-change-state-to-emacs): Declare.
10264 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10265 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10266 * emulation/viper-mous.el: Do not load viper-cmd.
10267 (viper-backward-char-carefully, viper-forward-char-carefully)
10268 (viper-forward-word, viper-adjust-window): Declare.
10269
10270 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10271
10272 * progmodes/idlw-help.el (idlwave-help-fontify):
10273 Use called-interactively-p.
10274
10275 * term/w32console.el (w32-get-console-codepage)
10276 (w32-get-console-output-codepage): Declare.
10277
10278 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10279 Remove unnecessary declarations.
10280 (dframe-message): Doc fix.
10281
10282 * info.el (dframe-select-attached-frame, dframe-current-frame):
10283 Declare.
10284
10285 * speedbar.el (speedbar-message): Make it an obsolete alias.
10286 Update all callers.
10287 (speedbar-with-attached-buffer)
10288 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10289 (speedbar-with-writable): Use backquote.
10290 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10291 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10292 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10293 rather than speedbar- aliases.
10294 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10295 (speedbar-make-specialized-keymap, speedbar-insert-button)
10296 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10297 (speedbar-do-function-pointer): Declare.
10298 (rmail-speedbar-button, rmail-speedbar-find-file)
10299 (rmail-speedbar-move-message):
10300 Use dframe-with-attached-buffer rather than speedbar- alias.
10301 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10302 (dframe-message, speedbar-make-specialized-keymap)
10303 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10304 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10305 (speedbar-insert-button, dframe-select-attached-frame)
10306 (dframe-maybee-jump-to-attached-frame)
10307 (speedbar-change-initial-expansion-list)
10308 (speedbar-previously-used-expansion-list-name): Declare.
10309 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10310 Use dframe-message, dframe-with-attached-buffer rather than
10311 speedbar- aliases.
10312 (gud-sentinel): Silence compiler.
10313 * progmodes/vhdl-mode.el (speedbar-refresh)
10314 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10315 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10316 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10317 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10318 (speedbar-file-lists, speedbar-make-tag-line)
10319 (speedbar-line-directory, speedbar-goto-this-file)
10320 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10321 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10322 (speedbar-make-button, speedbar-reset-scanners)
10323 (speedbar-files-item-info, speedbar-line-text)
10324 (speedbar-find-file-in-frame, speedbar-set-timer)
10325 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10326 (speedbar-with-writable): Do not (re)define it.
10327 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10328 rather than speedbar- alias.
10329
10330 2013-05-21 Leo Liu <sdl.web@gmail.com>
10331
10332 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10333 menu items.
10334 (octave-mode): Tweak fill-nobreak-predicate.
10335 (inferior-octave-startup): Check process to avoid infinite loop.
10336 (inferior-octave): Pop to buffer first to show abornmal process
10337 exit information.
10338
10339 2013-05-21 Glenn Morris <rgm@gnu.org>
10340
10341 * printing.el (pr-menu-bar): Define when compiling.
10342
10343 2013-05-21 Leo Liu <sdl.web@gmail.com>
10344
10345 * progmodes/octave.el (octave-auto-fill): Remove.
10346 (octave-indent-new-comment-line): Improve.
10347 (octave-mode): Use auto fill mode through
10348 comment-line-break-function and fill-nobreak-predicate.
10349 (octave-goto-function-definition): Support DEFUN_DLD.
10350 (octave-beginning-of-defun): Small tweak.
10351 (octave-help): Show parent directory.
10352
10353 2013-05-21 Glenn Morris <rgm@gnu.org>
10354
10355 * files.el (dired-unmark):
10356 * progmodes/gud.el (gdb-input): Update declarations.
10357
10358 * calculator.el (electric, ehelp): No need to load when compiling.
10359 (Electric-command-loop, electric-describe-mode): Declare.
10360
10361 * doc-view.el (doc-view-current-converter-processes): Move before use.
10362
10363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10364 Move MODE-set-explicitly definition before use.
10365
10366 * international/mule-diag.el (mule-diag):
10367 Don't use obsolete window-system-version.
10368
10369 * mail/feedmail.el (smtpmail): No need to load when compiling.
10370 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10371
10372 * mail/mail-utils.el (rfc822): No need to load when compiling.
10373 (rfc822-addresses): Autoload it.
10374 (mail-strip-quoted-names): Trivial simplification.
10375
10376 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10377 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10378
10379 * net/snmp-mode.el (tempo): Don't duplicate requires.
10380
10381 * progmodes/prolog.el (info): No need to load when compiling.
10382 (comint): Require before shell requires it.
10383 (Info-goto-node): Autoload it.
10384 (Info-follow-nearest-node): Declare.
10385 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10386
10387 * textmodes/artist.el (picture-mode-exit): Declare.
10388
10389 * textmodes/reftex-parse.el (reftex-parse-from-file):
10390 Trivial rewrite so the compiler can parse it better.
10391
10392 2013-05-20 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-help-mode-map)
10395 (octave-help-mode-finish-hook): New variables.
10396 (octave-help-mode, octave-help-mode-finish): New functions.
10397 (octave-help): Use octave-help-mode.
10398
10399 2013-05-20 Glenn Morris <rgm@gnu.org>
10400
10401 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10402
10403 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10404
10405 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10406 start at point, so that expansion starting right after opening
10407 slash in a regexp is recognized.
10408 (ruby-syntax-before-regexp-re): New defvar, extracted from
10409 ruby-syntax-propertize-function. Since the value of this regexp
10410 is looked up at runtime now, we should be able to turn
10411 `ruby-syntax-methods-before-regexp' into a defcustom later.
10412 (ruby-syntax-propertize-function): Split regexp matching into two
10413 parts, for opening and closing slashes. That allows us to skip
10414 over string interpolations and support multiline regexps.
10415 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10416 for them, which calls `ruby-syntax-propertize-expansion'.
10417 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10418 call to `ruby-syntax-propertize-function'.
10419 (ruby-syntax-propertize-expansion): Extracted from
10420 `ruby-syntax-propertize-expansions'. Handles one expansion.
10421 (ruby-syntax-propertize-percent-literal): Leave point right after
10422 the percent symbol, so that the expression expansion rule can
10423 propertize the contents.
10424 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10425 heredoc openers.
10426 (ruby-syntax-propertize-expansions): Remove.
10427
10428 2013-05-18 Juri Linkov <juri@jurta.org>
10429
10430 * man.el (Man-default-man-entry): Remove `-' from the end
10431 of the default value. (Bug#14400)
10432
10433 2013-05-18 Glenn Morris <rgm@gnu.org>
10434
10435 * comint.el (comint-password-prompt-regexp):
10436 Allow "password for XXX" where XXX contains colons (eg https://...).
10437
10438 2013-05-18 Leo Liu <sdl.web@gmail.com>
10439
10440 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10441 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10442 (octave-source-directories): Don't check process.
10443 (octave-source-directories, octave-find-definition): Doc fix.
10444
10445 2013-05-18 Glenn Morris <rgm@gnu.org>
10446
10447 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10448 Remove backspace/delete bindings. (Bug#14392)
10449
10450 * cus-dep.el (custom-make-dependencies): Sort the output.
10451 (custom-versions-load-alist): Convert comment to doc.
10452
10453 2013-05-17 Leo Liu <sdl.web@gmail.com>
10454
10455 * newcomment.el (comment-search-backward): Stricter in finding
10456 comment start. (Bug#14303)
10457
10458 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10459 (octave-comment-start-skip): Properly anchored.
10460
10461 2013-05-17 Leo Liu <sdl.web@gmail.com>
10462
10463 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10464 Clean up when turned off. (Bug#14395)
10465 (smie--highlight-matching-block-overlay): No longer buffer-local.
10466 (smie-highlight-matching-block): Adjust.
10467
10468 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10469
10470 Doc string fix for "nanoseconds" (Bug#14406).
10471 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10472 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10473
10474 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10475
10476 * calc/calc-units.el (math-extract-units): Preserve powers
10477 of units.
10478
10479 2013-05-17 Leo Liu <sdl.web@gmail.com>
10480
10481 * subr.el (delete-consecutive-dups): New function.
10482 * ido.el (ido-set-matches-1): Use it.
10483 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10484 * ido.el (ido-remove-consecutive-dups): Remove.
10485
10486 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10489 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10490 regexp-opt's `words'.
10491
10492 2013-05-16 Leo Liu <sdl.web@gmail.com>
10493
10494 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10495 (smie--highlight-matching-block-overlay)
10496 (smie--highlight-matching-block-lastpos)
10497 (smie--highlight-matching-block-timer): New variables.
10498 (smie-highlight-matching-block): New function.
10499 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10500 (smie-setup): Conditionally enable smie-blink-matching-open.
10501
10502 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10503
10504 Sync with upstream verilog-mode r840.
10505 * progmodes/verilog-mode.el (verilog-mode-version)
10506 (verilog-mode-release-date): Update.
10507 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10508 (verilog-sig-tieoff): Fix string error on
10509 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10510 (verilog-read-decls): Fix parameters confusing
10511 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10512
10513 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10514
10515 * subr.el (reveal-filename): New function.
10516
10517 * loadup.el: Compute Emacs executable versions on MS-Windows,
10518 where executables have the .exe extension. Add a hard link
10519 emacs-XX.YY.ZZ.exe on MS-Windows.
10520
10521 * Makefile.in (XARGS_LIMIT): New variable.
10522 (custom-deps, finder-data, autoloads)
10523 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10524 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10525 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10526 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10527
10528 2013-05-16 Leo Liu <sdl.web@gmail.com>
10529
10530 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10531 (octave-mode-menu, octave-mode-map): Remove its uses.
10532
10533 2013-05-16 Reto Zimmermann <reto@gnu.org>
10534
10535 Sync with upstream vhdl mode v3.34.2.
10536 * progmodes/vhdl-mode.el: Use `push' throughout.
10537 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10538 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10539 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10540 (vhdl-actual-generic-name): New option to derive actual generic name.
10541 (vhdl-port-paste-signals): Replace formal by actual generics.
10542 (vhdl-beautify): New name for old group vhdl-align. Update users.
10543 (vhdl-beautify-options): New option.
10544 (vhdl-last-input-event): New compat alias. Use throughout.
10545 (vhdl-goto-line): Replace user level function `goto-line'.
10546 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10547 vhdl-fix-statement-buffer.
10548 (vhdl-create-mode-menu): Add some entries.
10549 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10550 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10551 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10552 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10553 to force statements on one line.
10554 (vhdl-remove-trailing-spaces-region):
10555 New, split from vhdl-remove-trailing-spaces.
10556 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10557 Respect vhdl-beautify-options.
10558 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10559 (vhdl-update-sensitivity-list): Not add with index if exists without.
10560 Not include array index with signal. Ignore keywords in comments.
10561 (vhdl-get-visible-signals): Regexp tweaks.
10562 (vhdl-template-component-inst): Handle empty library.
10563 (vhdl-template-type): Add template for 'enum' type.
10564 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10565 Use vhdl-replace-string.
10566 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10567 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10568 (vhdl-speedbar-initialize): Update for above name change.
10569 (vhdl-compose-wire-components): Fix in handling of constants.
10570 (vhdl-error-regexp-emacs-alist): New variable.
10571 (vhdl-error-regexp-add-emacs): New function;
10572 adds support for new compile.el (Emacs 22+)
10573 (vhdl-generate-makefile-1): Change target order for single lib. units.
10574 Allow use of absolute file names.
10575
10576 2013-05-16 Leo Liu <sdl.web@gmail.com>
10577
10578 * simple.el (prog-indent-sexp): Indent enclosing defun.
10579
10580 2013-05-15 Glenn Morris <rgm@gnu.org>
10581
10582 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10583 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10584 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10585 (whitespace-highlight): Move to whitespace group.
10586
10587 * comint.el (comint-source):
10588 * pcmpl-linux.el (pcmpl-linux):
10589 * shell.el (shell-faces):
10590 * eshell/esh-opt.el (eshell-opt):
10591 * international/ccl.el (ccl): Remove empty custom groups.
10592
10593 * completion.el (dynamic-completion-mode):
10594 * jit-lock.el (jit-lock-debug-mode):
10595 * minibuffer.el (completion-in-region-mode):
10596 * type-break.el (type-break-mode-line-message-mode)
10597 (type-break-query-mode):
10598 * emulation/tpu-edt.el (tpu-edt-mode):
10599 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10600 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10601 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10602
10603 * term/xterm.el (xterm): Change parent group to terminals.
10604
10605 * master.el (master): Remove empty custom group.
10606 (master-mode): Remove unused :group argument.
10607 * textmodes/refill.el (refill): Remove empty custom group.
10608 (refill-mode): Remove unused :group argument.
10609
10610 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10611
10612 * cus-dep.el: Provide a feature.
10613 (custom-make-dependencies): Ignore dotfiles (dir-locals).
10614 Don't mistakenly ignore files whose basenames match a basename
10615 from preloaded-file-list (eg cedet/ede/simple.el).
10616 Add a fallback method for getting :group.
10617
10618 2013-05-15 Juri Linkov <juri@jurta.org>
10619
10620 * isearch.el (isearch-char-by-name): Rename from
10621 `isearch-insert-char-by-name'. Doc fix.
10622 (isearch-forward): Mention `isearch-char-by-name' in
10623 the docstring. (Bug#13348)
10624
10625 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10626 `exit-minibuffer' instead of
10627 `isearch-nonincremental-exit-minibuffer'.
10628 (isearch-edit-string): Remove mention of
10629 `isearch-nonincremental-exit-minibuffer' from docstring.
10630 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10631 (isearch-forward-exit-minibuffer)
10632 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10633
10634 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10635
10636 * loadup.el: Just use unversioned DOC.
10637
10638 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10639 literals as extending to EOB.
10640 (nxml-last-fontify-end): Remove unused variable.
10641 (nxml-after-change1): Use with-silent-modifications.
10642 (nxml-extend-after-change-region): Simplify.
10643 (nxml-extend-after-change-region1): Remove function.
10644 (nxml-after-change1): Don't adjust for dependent regions.
10645 (nxml-fontify-matcher): Simplify.
10646 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10647 (xmltok-add-dependent): Remove function.
10648 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10649 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10650 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10651 unclosed <[[, <?, comment, and other literals as extending to EOB.
10652 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10653 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10654 Remove functions.
10655 (rng-do-some-validation-1): Don't mark dependent regions.
10656 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10657 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10658 (nxml-clear-dependent-regions): Remove functions.
10659 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10660 (nxml-ensure-scan-up-to-date):
10661 Don't clear&mark dependent regions.
10662
10663 2013-05-15 Leo Liu <sdl.web@gmail.com>
10664
10665 * progmodes/octave.el (octave-goto-function-definition):
10666 Improve and fix callers.
10667
10668 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10669
10670 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10671 the setter (bug#14387).
10672
10673 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10674 surrounding group (bug#14402).
10675
10676 2013-05-14 Juri Linkov <juri@jurta.org>
10677
10678 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10679 (Bug#14390)
10680
10681 2013-05-14 Glenn Morris <rgm@gnu.org>
10682
10683 * progmodes/f90.el (f90-imenu-generic-expression):
10684 Fix typo in 2013-05-08 change. (Bug#14402)
10685
10686 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10687
10688 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10689 Remove signals for which replies are never received.
10690
10691 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10692
10693 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10694 (gdb-handler-alist, gdb-handler-number): Remove variables.
10695 (gdb-handler-list): New variable.
10696 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10697 (gdb-pending-handler-p, gdb-handle-reply)
10698 (gdb-remove-all-pending-triggers): New functions.
10699 (gdb-discard-unordered-replies): New defcustom.
10700 (gdb-handler): New defstruct.
10701 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10702 instead of gdb-pending-triggers. Update docstring.
10703 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10704 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10705 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10706 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10707 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10708 (gdb-frame-handler): Pending triggers are now automatically managed.
10709 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10710 Remove argument.
10711 (gdb-input): Automatically handles pending triggers. Update docstring.
10712 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10713 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10714 Update comments.
10715 (gdb-done-or-error): Now use gdb-handle-reply.
10716
10717 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10718
10719 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10720 gdb-debug-log.
10721
10722 2013-05-14 Glenn Morris <rgm@gnu.org>
10723
10724 * subr.el (user-emacs-directory-warning): New option.
10725 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10726
10727 2013-05-14 Leo Liu <sdl.web@gmail.com>
10728
10729 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10730 during redisplay.
10731 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10732 (octave-font-lock-texinfo-comment): Fix invalid search bound
10733 error: wrong side of point.
10734
10735 2013-05-14 Glenn Morris <rgm@gnu.org>
10736
10737 * progmodes/flymake.el (flymake-xml-program): New option.
10738 (flymake-xml-init): Use it.
10739
10740 * term/xterm.el: Provide a feature.
10741
10742 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
10743
10744 2013-05-13 Glenn Morris <rgm@gnu.org>
10745
10746 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10747 Add compat aliases as a hack workaround. (Bug#14384)
10748
10749 2013-05-13 Leo Liu <sdl.web@gmail.com>
10750
10751 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10752 ###, and %!.
10753 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10754 C-M-q.
10755 (octave-comment-start-skip): Include %!.
10756 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10757
10758 2013-05-12 Leo Liu <sdl.web@gmail.com>
10759
10760 * progmodes/octave.el (inferior-octave-startup): Store the value
10761 of __octave_srcdir__ for octave-source-directories.
10762 (inferior-octave-check-process): New function refactored out of
10763 inferior-octave-send-list-and-digest.
10764 (octave-source-directories)
10765 (octave-find-definition-filename-function): New variables.
10766 (octave-source-directories)
10767 (octave-find-definition-default-filename): New functions.
10768 (octave-find-definition): Improve to find functions implemented in C++.
10769
10770 2013-05-12 Glenn Morris <rgm@gnu.org>
10771
10772 * calendar/diary-lib.el (diary-outlook-format-1):
10773 Don't include dayname in the output. (Bug#14349)
10774
10775 2013-05-11 Glenn Morris <rgm@gnu.org>
10776
10777 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10778
10779 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10780 Treat cc-provide like provide.
10781
10782 2013-05-11 Kevin Ryde <user42@zip.com.au>
10783
10784 * cus-dep.el (custom-make-dependencies):
10785 Use generated-autoload-load-name for the sake of files such
10786 such cedet/semantic/bovine/c.el, where the base file name
10787 is not in load-path. (Bug#5277)
10788
10789 2013-05-11 Glenn Morris <rgm@gnu.org>
10790
10791 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10792 Provide features.
10793
10794 2013-05-11 Leo Liu <sdl.web@gmail.com>
10795
10796 * progmodes/octave.el (octave-indent-comment): Improve.
10797 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10798 (octave-eldoc-function-signatures, octave-eldoc-function):
10799 New functions.
10800 (octave-mode, inferior-octave-mode): Add eldoc support.
10801
10802 2013-05-11 Richard Stallman <rms@gnu.org>
10803
10804 * epa.el (epa-decrypt-file): Take output file name as argument
10805 and read it using `interactive'.
10806
10807 2013-05-11 Leo Liu <sdl.web@gmail.com>
10808
10809 * progmodes/octave.el (octave-beginning-of-line)
10810 (octave-end-of-line): Check before using up-list because it jumps
10811 out of more syntactic contructs since moving to smie.
10812 (octave-indent-comment): New function.
10813 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
10814 (octave-begin-keywords, octave-end-keywords)
10815 (octave-reserved-words, octave-smie-bnf-table)
10816 (octave-smie-rules): Add new keywords from Octave 3.6.4.
10817
10818 2013-05-11 Glenn Morris <rgm@gnu.org>
10819
10820 * faces.el (internal-face-x-get-resource):
10821 * frame.el (ns-display-monitor-attributes-list):
10822 * calc/calc-aent.el (math-to-radians-2):
10823 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10824 Fix declarations.
10825
10826 * calc/calc-menu.el: Make it loadable in isolation.
10827
10828 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10829 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10830 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10831 (eudc-bbdb-query-internal): Require 'bbdb.
10832
10833 * lpr.el (lpr-headers-switches):
10834 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10835
10836 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10837
10838 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10839
10840 * term.el (term-set-escape-char): Make it idempotent.
10841
10842 2013-05-10 Leo Liu <sdl.web@gmail.com>
10843
10844 * progmodes/octave.el (inferior-octave-completion-table):
10845 No longer a function and all uses changed. Use cache to speed up
10846 completion due to bug#11906.
10847 (octave-beginning-of-defun): Re-write to be more general.
10848
10849 2013-05-10 Glenn Morris <rgm@gnu.org>
10850
10851 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10852
10853 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * comint.el (comint-redirect-send-command-to-process): Use :around
10856 rather than :override for comint-redirect-filter.
10857 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10858 Call it instead of comint-redirect-original-filter-function (which
10859 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10860
10861 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10862
10863 * frame.el (display-monitor-attributes-list): Add NS case.
10864 (ns-display-monitor-attributes-list): Declare.
10865
10866 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
10867
10868 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10869
10870 2013-05-09 Glenn Morris <rgm@gnu.org>
10871
10872 * international/fontset.el (vertical-centering-font-regexp):
10873 Set standard-value.
10874
10875 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10876
10877 * bookmark.el (bookmark-search-delay):
10878 * cus-start.el (vertical-centering-font-regexp):
10879 * ps-mule.el (ps-mule-font-info-database-default):
10880 * ps-print.el (ps-default-fg, ps-default-bg):
10881 * type-break.el (type-break-good-break-interval):
10882 * whitespace.el (whitespace-indentation-regexp)
10883 (whitespace-space-after-tab-regexp):
10884 * emacs-lisp/testcover.el (testcover-1value-functions)
10885 (testcover-noreturn-functions, testcover-progn-functions)
10886 (testcover-prog1-functions):
10887 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10888 * eshell/em-glob.el (eshell-glob-translate-alist):
10889 * play/tetris.el (tetris-tty-colors):
10890 * progmodes/cpp.el (cpp-face-default-list):
10891 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10892 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10893 (idlwave-help-browser-generic-args):
10894 * progmodes/make-mode.el (makefile-special-targets-list):
10895 * progmodes/python.el (python-shell-virtualenv-path):
10896 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10897 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10898 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10899 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10900 * textmodes/reftex-vars.el (reftex-format-label-function):
10901 * textmodes/remember.el (remember-diary-file): Fix custom types.
10902
10903 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10904 Add :version.
10905
10906 2013-05-09 Leo Liu <sdl.web@gmail.com>
10907
10908 * progmodes/octave.el (inferior-octave-completion-at-point):
10909 Restore file completion. (Bug#14300)
10910 (inferior-octave-startup): Fix incorrect highlighting for the
10911 first prompt.
10912
10913 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * progmodes/ruby-mode.el: First cut at SMIE support.
10916 (ruby-use-smie): New var.
10917 (ruby-smie-grammar): New constant.
10918 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10919 (ruby-smie--forward-token, ruby-smie--backward-token)
10920 (ruby-smie-rules): New functions.
10921 (ruby-mode-variables): Setup SMIE if applicable.
10922
10923 2013-05-08 Eli Zaretskii <eliz@gnu.org>
10924
10925 * simple.el (line-move-visual): Signal beginning/end of buffer
10926 only if vertical-motion moved less than it was requested. Avoids
10927 silly incorrect error messages when there are display strings with
10928 multiple newlines at EOL.
10929
10930 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10933 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10934 (prolog-char-quote-workaround):
10935 * progmodes/cperl-mode.el (cperl-under-as-char):
10936 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10937 Mark as obsolete.
10938 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10939 their declaration.
10940 (vhdl-mode-syntax-table-init): Remove.
10941
10942 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10943 last change.
10944
10945 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10946 syntax for "_".
10947 (ld-script-font-lock-keywords):
10948 Change regexps to use things like \_< and \_>.
10949
10950 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10951 Change all regexps to use things like \_< and \_>.
10952
10953 * progmodes/autoconf.el (autoconf-definition-regexp)
10954 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10955 Handle a _ with symbol syntax.
10956 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10957
10958 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10959 Consolidate declaration.
10960 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10961 the declaration.
10962 (ada-create-syntax-table): Remove.
10963 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10964 already has the right syntax nowadays.
10965 (ada-goto-next-word): Don't change the syntax of "_".
10966
10967 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10968 with-wrapper-hook.
10969
10970 2013-05-08 Sam Steingold <sds@gnu.org>
10971
10972 * thingatpt.el (thing-at-point): Accept optional second argument
10973 NO-PROPERTIES to strip the text properties from the return value.
10974 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10975 to `thing-at-point' instead of stripping the properties ourselves.
10976 Also, when `thing-at-point' fails to find a url, prepend "http://"
10977 to the filename at point on the assumption that the user is
10978 pointing at something like gnu.org/gnu.
10979
10980 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10983 * faces.el (crm-separator):
10984 Silence byte-compiler.
10985
10986 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10987 (tool-bar-map): Remove unneeded defvars.
10988
10989 2013-05-08 Leo Liu <sdl.web@gmail.com>
10990
10991 Re-work a fix for bug#10994 based on Le Wang's patch.
10992 * ido.el (ido-remove-consecutive-dups): New helper.
10993 (ido-completing-read): Use it.
10994 (ido-chop): Revert fix for bug#10994.
10995
10996 2013-05-08 Adam Spiers <emacs@adamspiers.org>
10997
10998 * cus-edit.el (custom-save-variables):
10999 Pretty-print long values. (Bug#14187)
11000
11001 2013-05-08 Glenn Morris <rgm@gnu.org>
11002
11003 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11004 (m4-mode-syntax-table): Init in the defvar.
11005 (m4-mode-abbrev-table): Let define-derived-mode define it.
11006
11007 2013-05-08 Tom Tromey <tromey@redhat.com>
11008
11009 * progmodes/m4-mode.el (m4-mode-syntax-table):
11010 Do not treat "_" as word constituent. (Bug#14167)
11011
11012 2013-05-07 Glenn Morris <rgm@gnu.org>
11013
11014 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11015 Remove explicit eshell-isearch-cancel-map.
11016
11017 * progmodes/f90.el (f90-smart-end-names): New option.
11018 (f90-smart-end): Doc fix.
11019 (f90-end-block-optional-name): New constant.
11020 (f90-block-match): Respect f90-smart-end-names.
11021
11022 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11025 about implicit semi-colons (bug#14218).
11026
11027 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11028
11029 * frame.el (display-monitor-attributes-list)
11030 (frame-monitor-attributes): New functions.
11031
11032 2013-05-06 Leo Liu <sdl.web@gmail.com>
11033
11034 * progmodes/octave.el (octave-syntax-propertize-function): Change
11035 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11036 (octave-font-lock-keywords): Use octave-operator-regexp.
11037 (octave-completion-at-point): Rename from
11038 octave-completion-at-point-function.
11039 (inferior-octave-directory-tracker): Robustify.
11040 (octave-text-functions): Remove and fix its uses. No such things
11041 any more.
11042
11043 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * emacs-lisp/trace.el (trace--display-buffer): New function.
11046 (trace-make-advice): Use it.
11047
11048 2013-05-06 Juri Linkov <juri@jurta.org>
11049
11050 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11051 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11052 Doc fix.
11053 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11054 in the help string. (Bug#12985)
11055
11056 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11057
11058 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11059
11060 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11061
11062 * progmodes/perl-mode.el: Add support for here documents.
11063 (perl-syntax-propertize-function): Match here-doc markers.
11064 (perl-syntax-propertize-special-constructs): Find their end.
11065 (perl-imenu-generic-expression): Use [:alnum:].
11066
11067 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11068 (advice--add-function): Refresh the advice if already present
11069 (bug#14317).
11070
11071 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11072
11073 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11074
11075 2013-05-06 Glenn Morris <rgm@gnu.org>
11076
11077 * w32-fns.el (w32-charset-info-alist): Declare.
11078
11079 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11080 of its defcustom properties.
11081 (eshell-cmpl-initialize): No need to load pcomplete.
11082
11083 * generic-x.el: No need to require comint when compiling.
11084
11085 * net/eudc-export.el: Make it loadable without bbdb.
11086 (top-level): Use require rather than load-library.
11087 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11088 (eudc-batch-export-records-to-bbdb)
11089 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11090 Require bbdb.
11091
11092 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11095 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11096 some tweaks, instead.
11097
11098 2013-05-05 Leo Liu <sdl.web@gmail.com>
11099
11100 * progmodes/octave.el (octave-font-lock-keywords)
11101 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11102 (inferior-octave-send-list-and-digest): Improve error message.
11103 (octave-mode, inferior-octave-mode): Use setq-local.
11104 (octave-help): Set info-lookup-mode.
11105
11106 2013-05-05 Richard Stallman <rms@gnu.org>
11107
11108 * vc/compare-w.el (compare-windows-whitespace):
11109 Treat no-break space as whitespace.
11110
11111 * mail/rmailsum.el (rmail-summary-rmail-update):
11112 Detect empty summary and don't change selected message.
11113 (rmail-summary-goto-msg): Likewise.
11114
11115 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11116 Doc fixes, rename args.
11117
11118 2013-05-05 Alan Mackenzie <acm@muc.de>
11119
11120 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11121
11122 2013-05-05 Juri Linkov <juri@jurta.org>
11123
11124 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11125 to not add the length of the summary segment to the return value.
11126 (Bug#14125)
11127
11128 2013-05-05 Leo Liu <sdl.web@gmail.com>
11129
11130 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11131 (inferior-octave-output-filter): Remove.
11132 (octave-send-region, inferior-octave-startup): Fix callers.
11133 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11134 (octave-binary-file-extensions): New user variable.
11135 (octave-find-definition): Confirm if opening binary files.
11136 (octave-help-file): Use octave-find-definition to get the binary
11137 confirmation.
11138 (octave-help): Adjust for octave-help-file change.
11139
11140 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11143 Merge the two entries that handle function definitions.
11144 (pascal--syntax-propertize): New const.
11145 (pascal-mode): Use it. Use setq-local.
11146
11147 2013-05-04 Glenn Morris <rgm@gnu.org>
11148
11149 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11150 (diary-from-outlook): Respect diary-from-outlook-function.
11151
11152 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11155 Move the declaration from C.
11156 (read-minibuffer, eval-minibuffer): Move from C.
11157 (completion-setup-function): Avoid minibuffer-completion-contents.
11158
11159 2013-05-03 Leo Liu <sdl.web@gmail.com>
11160
11161 * progmodes/octave.el (octave-font-lock-keywords): Do not
11162 dehighlight 'end' in comments or strings.
11163 (octave-completing-read, octave-goto-function-definition):
11164 New helpers.
11165 (octave-help-buffer): New user variable.
11166 (octave-help-file, octave-help-function): New button types.
11167 (octave-help): New command and bind it to C-h ;.
11168 (octave-find-definition): New command and bind it to M-.
11169 (user-error): Alias to error if not defined.
11170
11171 2013-05-02 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11174 for \. (bug#14332)
11175 (octave-font-lock-keywords): Include [ and {.
11176
11177 2013-05-02 Leo Liu <sdl.web@gmail.com>
11178
11179 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11180 (inferior-octave): Remove calling comint-mode and return the buffer.
11181 (inferior-octave-startup): Cosmetic changes.
11182
11183 2013-05-02 Leo Liu <sdl.web@gmail.com>
11184
11185 * progmodes/octave.el (octave-syntax-propertize-function):
11186 Include the case when ' is at line beginning. (Bug#14336)
11187
11188 2013-05-02 Glenn Morris <rgm@gnu.org>
11189
11190 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11191 * desktop.el (vc-dir-mode): Just autoload it here.
11192
11193 2013-05-02 Alan Mackenzie <acm@muc.de>
11194
11195 Eliminate variable c-standard-font-lock-fontify-region-function.
11196 * progmodes/cc-mode.el
11197 (c-standard-font-lock-fontify-region-function): Remove.
11198 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11199
11200 2013-05-01 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/octave.el: Compatible with older emacs-24 releases.
11203 (inferior-octave-has-built-in-variables): Remove. Built-in
11204 variables were removed from Octave in 2007.
11205 (inferior-octave-startup): Fix uses.
11206 (comint-line-beginning-position): Remove compatibility code for
11207 emacs 21.
11208
11209 2013-05-01 Juri Linkov <juri@jurta.org>
11210
11211 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11212
11213 2013-05-01 Juri Linkov <juri@jurta.org>
11214
11215 * comint.el (comint-previous-matching-input): Don't print message
11216 "History item: %d" when `isearch-mode' is active.
11217 (comint-history-isearch-message): Print message "History item: %d"
11218 when `comint-input-ring-index' is not empty and this function is
11219 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11220
11221 2013-05-01 Leo Liu <sdl.web@gmail.com>
11222
11223 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11224 definitions. Use completion-at-point to insert keywords.
11225 (octave-abbrev-start): Remove.
11226 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11227
11228 2013-04-30 Leo Liu <sdl.web@gmail.com>
11229
11230 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11231 change.
11232
11233 2013-04-30 Alan Mackenzie <acm@muc.de>
11234
11235 Handle arbitrarily long C++ member initialisation lists.
11236 * progmodes/cc-engine.el (c-back-over-member-initializers):
11237 new function.
11238 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11239 (most) member init lists.
11240
11241 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11242
11243 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11244 variable.
11245
11246 2013-04-30 Leo Liu <sdl.web@gmail.com>
11247
11248 * progmodes/octave.el (octave-variables): Remove. No builtin
11249 variables any more. All converted to functions.
11250 (octave-font-lock-keywords, octave-completion-at-point-function):
11251 Fix uses.
11252 (octave-font-lock-texinfo-comment): New user variable.
11253 (octave-texinfo-font-lock-keywords): New variable for texinfo
11254 comment block.
11255 (octave-function-comment-block): New face.
11256 (octave-font-lock-texinfo-comment): New function.
11257 (octave-mode): Font lock texinfo comment block.
11258
11259 2013-04-29 Leo Liu <sdl.web@gmail.com>
11260
11261 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11262 indexing expression.
11263 (octave-continuation-string): Do not use \.
11264 (inferior-octave-complete-impossible): Remove.
11265 (inferior-octave-completion-table)
11266 (inferior-octave-completion-at-point): Remove its uses.
11267 (inferior-octave-startup): completion_matches was introduced to
11268 Octave in 1996 so safe to assume it.
11269 (octave-function-file-comment): Improve to follow how Octave does it.
11270 (octave-update-function-file-comment): Tweak.
11271
11272 2013-04-29 Leo Liu <sdl.web@gmail.com>
11273
11274 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11275 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11276 (octave-function-file-comment): Fix typo.
11277 (octave-sync-function-file-names): Use read-char-choice.
11278
11279 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11280
11281 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11282 to t for the less important warnings.
11283
11284 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11285
11286 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11287
11288 2013-04-27 Glenn Morris <rgm@gnu.org>
11289
11290 * vc/log-view.el (log-view-current-entry):
11291 Treat "---" separator lines as part of the following rev. (Bug#14169)
11292
11293 2013-04-27 Juri Linkov <juri@jurta.org>
11294
11295 * subr.el (read-number): Doc fix about using it by interactive
11296 code letter `n'. (Bug#14254)
11297
11298 2013-04-27 Juri Linkov <juri@jurta.org>
11299
11300 * desktop.el (desktop-auto-save-timeout): New option.
11301 (desktop-file-checksum): New variable.
11302 (desktop-save): Add optional arg `auto-save' and don't auto-save
11303 if nothing changed.
11304 (desktop-auto-save-timer): New variable.
11305 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11306 (after-init-hook): Call `desktop-auto-save-set-timer'.
11307 Suggested by Reuben Thomas <rrt@sc3d.org> in
11308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11309
11310 2013-04-27 Leo Liu <sdl.web@gmail.com>
11311
11312 * progmodes/octave.el (octave-function-file-p)
11313 (octave-skip-comment-forward, octave-function-file-comment)
11314 (octave-update-function-file-comment): New functions.
11315 (octave-mode-map): Bind C-c ; to
11316 octave-update-function-file-comment.
11317 (octave-mode-menu): Add octave-update-function-file-comment.
11318 (octave-mode, inferior-octave-mode): Fix doc-string.
11319 (octave-insert-defun): Conform to Octave's coding convention.
11320 (Bug#14285)
11321
11322 * files.el (basic-save-buffer): Don't let errors in
11323 before-save-hook prevent saving buffer.
11324
11325 2013-04-20 Roland Winkler <winkler@gnu.org>
11326
11327 * faces.el (read-face-name): Use completing-read if arg multiple
11328 is nil.
11329
11330 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11331
11332 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11333 displayed, move point to after the totals line.
11334 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11335 for the details.
11336
11337 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11340 Add current dir to the load-path.
11341 (package-generate-autoloads): Don't rely on
11342 autoload-ensure-default-file.
11343
11344 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11345
11346 * textmodes/remember.el (remember-store-in-files): Document that
11347 the file name format is passed to `format-time-string'.
11348
11349 2013-04-26 Leo Liu <sdl.web@gmail.com>
11350
11351 * progmodes/octave.el (octave-sync-function-file-names): New function.
11352 (octave-mode): Use it in before-save-hook.
11353
11354 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11357 (bug#14274).
11358
11359 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11360 \n and comment, even if it's not an implicit ; (bug#14218).
11361
11362 2013-04-26 Glenn Morris <rgm@gnu.org>
11363
11364 * subr.el (read-number): Once more use `read' rather than
11365 `string-to-number', to trap non-numeric input. (Bug#14254)
11366
11367 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11368
11369 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11370 Use `syntax-multiline' text property consistently instead of
11371 `font-lock-multiline'. (Bug#14237)
11372
11373 2013-04-26 Glenn Morris <rgm@gnu.org>
11374
11375 * emacs-lisp/shadow.el (list-load-path-shadows):
11376 No longer necessary to check for duplicate simple.el, since
11377 2012-07-07 change to init_lread to not include installation lisp
11378 directories in load-path when running uninstalled. (Bug#14270)
11379
11380 2013-04-26 Leo Liu <sdl.web@gmail.com>
11381
11382 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11383 (octave-mode, inferior-octave-mode): Use setq-local.
11384 (octave-not-in-string-or-comment-p): Rename to
11385 octave-in-string-or-comment-p.
11386 (octave-in-comment-p, octave-in-string-p)
11387 (octave-in-string-or-comment-p): Replace defsubst with defun.
11388
11389 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11390
11391 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11392
11393 2013-04-25 Bastien Guerry <bzg@gnu.org>
11394
11395 * textmodes/remember.el (remember-data-directory)
11396 (remember-directory-file-name-format): Fix custom types.
11397
11398 2013-04-25 Leo Liu <sdl.web@gmail.com>
11399
11400 * progmodes/octave.el (octave-completion-at-point-function):
11401 Make use of inferior octave process.
11402 (octave-initialize-completions): Remove.
11403 (inferior-octave-completion-table): New function.
11404 (inferior-octave-completion-at-point): Use it.
11405 (octave-completion-alist): Remove.
11406
11407 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11408
11409 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11410 (opascal-mode-syntax-table): New var.
11411 (opascal-literal-kind, opascal-is-literal-end)
11412 (opascal-literal-token-at): Rewrite.
11413 (opascal--literal-start-re, opascal-font-lock-keywords)
11414 (opascal--syntax-propertize): New constants.
11415 (opascal-font-lock-defaults): Adjust.
11416 (opascal-mode): Use them. Set comment-<foo> variables as well.
11417 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11418 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11419 (delphi-other-face, opascal-other-face): Remove face variables.
11420 (opascal-save-state): Remove macro.
11421 (opascal-fontifying-progress-step): Remove constant.
11422 (opascal--ignore-changes): Remove var.
11423 (opascal-set-token-property, opascal-parse-next-literal)
11424 (opascal-is-stable-literal, opascal-complete-literal)
11425 (opascal-is-literal-start, opascal-face-of)
11426 (opascal-parse-region, opascal-parse-region-until-stable)
11427 (opascal-fontify-region, opascal-after-change)
11428 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11429 (opascal-debug-parse-region, opascal-debug-parse-window)
11430 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11431 (opascal-debug-fontify-buffer): Remove.
11432 (opascal-debug-mode-map): Adjust accordingly.
11433
11434 2013-04-25 Leo Liu <sdl.web@gmail.com>
11435
11436 Merge octave-mod.el and octave-inf.el into octave.el with some
11437 cleanups.
11438 * progmodes/octave.el: New file renamed from octave-mod.el.
11439 * progmodes/octave-inf.el: Merged into octave.el.
11440 * progmodes/octave-mod.el: Renamed to octave.el.
11441
11442 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11443
11444 * textmodes/reftex-vars.el
11445 (reftex-label-ignored-macros-and-environments): New defcustom.
11446
11447 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11448
11449 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11452 (smie-indent-keyword): Improve the check to ensure that the next
11453 comment is really on the same line.
11454 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11455
11456 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11457 semi-colons if the line is not otherwise empty (bug#14218).
11458
11459 2013-04-25 Glenn Morris <rgm@gnu.org>
11460
11461 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11462
11463 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * progmodes/opascal.el (opascal-set-token-property): Rename from
11466 opascal-set-text-properties and only set `token' (bug#14134).
11467 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11468 (opascal-literal-text-properties): Remove.
11469 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11470 Adjust callers.
11471
11472 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11473
11474 * textmodes/remember.el (remember-handler-functions): Add an
11475 option for a new handler `remember-store-in-files'.
11476 (remember-data-directory, remember-directory-file-name-format):
11477 New options.
11478 (remember-store-in-files): New function to store remember notes
11479 as separate files within a directory.
11480
11481 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11482
11483 * progmodes/compile.el (compilation-next-error-function):
11484 Pass "formats" to compilation-find-file (bug#11777).
11485
11486 2013-04-24 Glenn Morris <rgm@gnu.org>
11487
11488 * vc/vc-bzr.el (vc-bzr-print-log):
11489 * vc/vc-hg.el (vc-hg-print-log):
11490 * vc/vc-svn.el (vc-svn-print-log):
11491 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11492
11493 * vc/vc-bzr.el (vc-bzr-print-log):
11494 * vc/vc-cvs.el (vc-cvs-print-log):
11495 * vc/vc-git.el (vc-git-print-log):
11496 * vc/vc-hg.el (vc-hg-print-log):
11497 * vc/vc-mtn.el (vc-mtn-print-log):
11498 * vc/vc-rcs.el (vc-rcs-print-log):
11499 * vc/vc-sccs.el (vc-sccs-print-log):
11500 * vc/vc-svn.el (vc-svn-print-log):
11501 * vc/vc.el (vc-print-log-internal): Doc fixes.
11502
11503 2013-04-23 Glenn Morris <rgm@gnu.org>
11504
11505 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11506 Remove venerable code attempting to avoid substitute-command-keys.
11507
11508 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11509
11510 * textmodes/reftex-vars.el (reftex-label-regexps):
11511 Call `reftex-compile-variables' after changes to this variable.
11512
11513 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11516 Use lexical-binding.
11517 (jit-lock-force-redisplay): Use markers, check buffer's continued
11518 existence and beware narrowed buffers.
11519 (jit-lock-fontify-now): Adjust call accordingly.
11520
11521 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11524 to avoid misleading the user.
11525
11526 2013-04-22 Leo Liu <sdl.web@gmail.com>
11527
11528 * info-look.el: Prefer latex2e.info. (Bug#14240)
11529
11530 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11531
11532 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11533
11534 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11535 * net/tramp.el (tramp-call-process): ... here.
11536 (tramp-set-completion-function, tramp-parse-putty):
11537 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11538 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11539 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11540 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11541 (tramp-call-local-coding-command): Use `tramp-call-process'
11542 instead of `tramp-compat-call-process'.
11543
11544 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11545 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11546 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11547 (tramp-find-inline-compress): Improve traces.
11548 (tramp-maybe-send-script): Check for Perl binary.
11549 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11550
11551 2013-04-22 Daiki Ueno <ueno@gnu.org>
11552
11553 * epg.el (epg-context-pinentry-mode): New function.
11554 (epg-context-set-pinentry-mode): New function.
11555 (epg--start): Pass --pinentry-mode option to gpg command.
11556
11557 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11558
11559 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11560 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11561 `completion-at-point'. (Bug#13774)
11562
11563 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11564 default key binding for `describe-distribution' has been moved to
11565 `C-h C-o'. (Bug#13970)
11566
11567 2013-04-21 Glenn Morris <rgm@gnu.org>
11568
11569 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11570 Add doc strings.
11571 (vc-print-log): Clarify interactive prompt.
11572
11573 2013-04-20 Glenn Morris <rgm@gnu.org>
11574
11575 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11576 No longer include timestamp etc information.
11577
11578 2013-04-20 Roland Winkler <winkler@gnu.org>
11579
11580 * faces.el (read-face-name): Bug fix, return just one face if arg
11581 multiple is nil. (Bug#14209)
11582
11583 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11586 (remove-function): Autoload.
11587
11588 * comint.el (comint-redirect-original-filter-function): Remove.
11589 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11590 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11591 (vc-cvs-annotate-command):
11592 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11593 * progmodes/prolog.el (prolog-consult-compile):
11594 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11595 Use add/remove-function instead.
11596 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11597 (gud-tooltip-process-output, gud-tooltip-tips):
11598 Use add/remove-function instead.
11599 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11600 (scheme-interaction-mode, exit-scheme-interaction-mode):
11601 Use add/remove-function instead.
11602
11603 * vc/vc-dispatcher.el: Use lexical-binding.
11604 (vc--process-sentinel): Rename from vc-process-sentinel.
11605 Change last arg to be the code to run. Don't use vc-previous-sentinel
11606 and vc-sentinel-commands any more.
11607 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11608 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11609
11610 2013-04-19 Masatake YAMATO <yamato@redhat.com>
11611
11612 * progmodes/sh-script.el (sh-imenu-generic-expression):
11613 Handle function names with a single character. (Bug#14111)
11614
11615 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
11616
11617 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11618 for subroutines defined in an eval (bug#14182).
11619
11620 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11621
11622 * bookmark.el (bookmark-completing-read): Improve handling of empty
11623 string (bug#14176).
11624
11625 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11628
11629 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11630
11631 New faster Imenu implementation (bug#14058).
11632 * progmodes/python.el:
11633 (python-imenu-prev-index-position):
11634 (python-imenu-format-item-label-function)
11635 (python-imenu-format-parent-item-label-function)
11636 (python-imenu-format-parent-item-jump-label-function):
11637 New vars.
11638 (python-imenu-format-item-label)
11639 (python-imenu-format-parent-item-label)
11640 (python-imenu-format-parent-item-jump-label)
11641 (python-imenu--put-parent, python-imenu--build-tree)
11642 (python-imenu-create-index, python-imenu-create-flat-index)
11643 (python-util-popn): New functions.
11644 (python-mode): Set imenu-create-index-function to
11645 python-imenu-create-index.
11646
11647 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * winner.el (winner-active-region): Use region-active-p, activate-mark
11650 and deactivate-mark (bug#14225).
11651
11652 * simple.el (deactivate-mark): Don't inline it.
11653
11654 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11657
11658 2013-04-18 Tassilo Horn <tsdh@gnu.org>
11659
11660 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11661 file extensions from the archive-mode entry in order to prefer
11662 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11663
11664 2013-04-18 Leo Liu <sdl.web@gmail.com>
11665
11666 * bindings.el (help-event-list): Add ?\?.
11667
11668 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * subr.el (with-wrapper-hook): Declare obsolete.
11671 * simple.el (filter-buffer-substring-function): New hook.
11672 (filter-buffer-substring): Use it.
11673 (filter-buffer-substring-functions): Mark obsolete.
11674 * minibuffer.el (completion-in-region-function): New hook.
11675 (completion-in-region): Use it.
11676 (completion-in-region-functions): Mark obsolete.
11677 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11678 * abbrev.el (abbrev-expand-function): New hook.
11679 (expand-abbrev): Use it.
11680 (abbrev-expand-functions): Mark obsolete.
11681 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11682 and :filter-return.
11683
11684 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11685
11686 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11687 and do not care about match data.
11688
11689 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11692 completion tables when completing error conditions and
11693 `declare' arguments.
11694 (lisp-complete-symbol, field-complete): Mark as obsolete.
11695 (check-parens): Unmatched parens are user errors.
11696 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11697
11698 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
11699
11700 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11701 command changed buffer (ie. `flyspell-pre-buffer' is not current
11702 buffer), which prevents making decisions based on invalid value of
11703 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11704 cause an error when `flyspell-pre-point' was nil after switching
11705 buffers.
11706 (flyspell-post-command-hook): No longer needs to change buffers when
11707 checking pre-word. While at it remove unnecessary progn.
11708
11709 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11710
11711 * textmodes/ispell.el (ispell-add-per-file-word-list):
11712 Fix `flyspell-correct-word-before-point' error when accepting
11713 words and `coment-padding' is an integer by using
11714 `comment-normalize-vars' (Bug #14214).
11715
11716 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11717
11718 New defun movement commands.
11719 * progmodes/python.el (python-nav--syntactically)
11720 (python-nav--forward-defun, python-nav-backward-defun)
11721 (python-nav-forward-defun): New functions.
11722
11723 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11724
11725 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11726 (python-syntax-context): Use named compiler-macro for backwards
11727 compatibility with Emacs 24.x.
11728
11729 2013-04-17 Leo Liu <sdl.web@gmail.com>
11730
11731 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11732 octave-hide-process-buffer.
11733
11734 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11737 (bug#14216).
11738
11739 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11740
11741 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11742 Fix adjustment of offset when receiving incomplete responses from GDB
11743 (bug#14129).
11744
11745 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11748 python-mode-abbrev-table.
11749 (python-skeleton-define): Adjust accordingly.
11750 (python-mode-abbrev-table): New table that inherits from it so that
11751 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11752
11753 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11754 (abbrev-symbol): Use it.
11755 (abbrev--before-point): Use it since we already handle inheritance.
11756
11757 2013-04-16 Leo Liu <sdl.web@gmail.com>
11758
11759 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11760 binding to info-lookup-symbol.
11761
11762 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
11763
11764 * minibuffer.el (completion--twq-all):
11765 * term/ns-win.el (ns-initialize-window-system):
11766 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11767
11768 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11769
11770 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11771 global bindings.
11772
11773 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11774
11775 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11776
11777 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11778 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11779 to nil.
11780 (ruby-end-of-defun): Remove the unused arg, change the docstring
11781 to reflect that this function is only used as the value of
11782 `end-of-defun-function'.
11783 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11784 to reflect an earlier change that beginning/end-of-defun functions
11785 jump between methods in a class definition, as well as top-level
11786 functions.
11787
11788 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * minibuffer.el (minibuffer-complete): Don't just scroll
11791 a *Completions* that's been iconified.
11792 (minibuffer-force-complete): Make sure repetitions do cycle when going
11793 through completion-in-region -> minibuffer-complete.
11794
11795 2013-04-15 Alan Mackenzie <acm@muc.de>
11796
11797 Correct the placement of c-cpp-delimiters when there're #s not at
11798 col 0.
11799
11800 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11801 place a submatch around the #.
11802 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11803 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
11804 on the #, not BOL.
11805
11806 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11809 (advice--member-p): New arg `name'.
11810 (advice--add-function, advice-member-p): Use it (bug#14202).
11811
11812 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11813
11814 Reformulate java imenu-generic-expression.
11815 The old expression contained ill formed regexps.
11816
11817 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11818 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11819 (cc-imenu-java-method-arg-regexp): New defconsts.
11820 (cc-imenu-java-build-type-args-regex): New defun.
11821 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11822 handling of spaces in the regexp.
11823
11824 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11825
11826 * textmodes/ispell.el (ispell-command-loop): Remove
11827 flyspell highlight of a word when ispell accepts it (bug #14178).
11828
11829 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
11830
11831 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11832 uses code from the previous `ange-ftp-run-real-handler'.
11833 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11834 only in case that function exist. This is needed for proper
11835 unloading of Tramp.
11836
11837 2013-04-15 Tassilo Horn <tsdh@gnu.org>
11838
11839 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11840
11841 * textmodes/reftex.el (reftex-compile-variables): Use it.
11842
11843 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * files.el (normal-mode): Only use default major-mode if no other mode
11846 was specified.
11847
11848 * emacs-lisp/trace.el (trace-values): New function.
11849
11850 * files.el: Allow : in local variables (bug#14089).
11851 (hack-local-variable-regexp): New var.
11852 (hack-local-variables-prop-line, hack-local-variables): Use it.
11853
11854 2013-04-13 Roland Winkler <winkler@gnu.org>
11855
11856 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11857 data before it gets modified by bibtex-beginning-of-entry.
11858
11859 2013-04-13 Roland Winkler <winkler@gnu.org>
11860
11861 * textmodes/bibtex.el (bibtex-url): Doc fix.
11862
11863 2013-04-13 Roland Winkler <winkler@gnu.org>
11864
11865 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11866 does not visit a BibTeX file, exclude it from the list of buffers
11867 returned by bibtex-initialize.
11868
11869 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
11870
11871 * window.el (split-window): Remove interactive form, since as a
11872 command this function is a special case of split-window-below.
11873 Correct doc string.
11874
11875 2013-04-12 Roland Winkler <winkler@gnu.org>
11876
11877 * faces.el (read-face-name): Do not override value of arg default.
11878 Allow single faces and strings as default values. Remove those
11879 elements from return value that are not faces.
11880 (describe-face): Simplify.
11881 (face-at-point): New optional args thing and multiple so that this
11882 function can provide the same functionality previously provided by
11883 read-face-name.
11884 (make-face-bold, make-face-unbold, make-face-italic)
11885 (make-face-unitalic, make-face-bold-italic, invert-face)
11886 (modify-face, read-face-and-attribute): Use face-at-point.
11887
11888 * cus-edit.el (customize-face, customize-face-other-window)
11889 * cus-theme.el (custom-theme-add-face)
11890 * face-remap.el (buffer-face-set)
11891 * facemenu.el (facemenu-set-face): Use face-at-point.
11892
11893 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
11894
11895 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11896
11897 2013-04-10 Tassilo Horn <tsdh@gnu.org>
11898
11899 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11900 off leading { and trailing } from field values.
11901
11902 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * emacs-lisp/timer.el (timer--check): New function.
11905 (timer--time, timer-set-function, timer-event-handler): Use it.
11906 (timer-set-idle-time): Simplify.
11907 (timer--activate): CSE.
11908 (timer-event-handler): Give more info in error message.
11909 (internal-timer-start-idle): New function, moved from C.
11910
11911 * mpc.el (mpc-proc): Add `restart' argument.
11912 (mpc-proc-cmd): Use it.
11913 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11914 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11915 less often.
11916
11917 2013-04-10 Masatake YAMATO <yamato@redhat.com>
11918
11919 * progmodes/sh-script.el: Implement `sh-mode' own
11920 `add-log-current-defun-function' (bug#14112).
11921 (sh-current-defun-name): New function.
11922 (sh-mode): Use the function.
11923
11924 2013-04-09 Bastien Guerry <bzg@gnu.org>
11925
11926 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11927
11928 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11929
11930 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11931
11932 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11933 timer (bug#14156).
11934
11935 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11936
11937 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11938 declaration.
11939
11940 2013-04-07 Leo Liu <sdl.web@gmail.com>
11941
11942 * pcmpl-x.el: New file.
11943
11944 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11945
11946 Do not set x-display-name until X connection is established.
11947 This is needed to prevent from weird situation described at
11948 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11949 * frame.el (make-frame): Set x-display-name after call to
11950 window system initialization function, not before.
11951 * term/x-win.el (x-initialize-window-system): Add optional
11952 display argument and use it.
11953 * term/w32-win.el (w32-initialize-window-system):
11954 * term/ns-win.el (ns-initialize-window-system):
11955 * term/pc-win.el (msdos-initialize-window-system):
11956 Add compatible optional display argument.
11957
11958 2013-04-06 Eli Zaretskii <eliz@gnu.org>
11959
11960 * files.el (normal-backup-enable-predicate): On MS-Windows and
11961 MS-DOS compare truenames of temporary-file-directory and of the
11962 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11963 don't fail comparison by compare-strings. Also, compare file
11964 names case-insensitively on MS-Windows and MS-DOS.
11965
11966 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11969 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11970
11971 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11972
11973 * whitespace.el (whitespace-color-on, whitespace-color-off):
11974 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11975
11976 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
11977
11978 * ispell.el (ispell-set-spellchecker-params):
11979 Really set `ispell-args' for all equivs.
11980
11981 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * ido.el (ido-completions): Use extra elements of ido-decorations
11984 (bug#14143).
11985 (ido-decorations): Update docstring.
11986
11987 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
11988
11989 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11990 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11991 nil during initialization, in order not to miss changes since the
11992 file was opened. (Bug#14140)
11993
11994 2013-04-05 Leo Liu <sdl.web@gmail.com>
11995
11996 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11997
11998 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11999
12000 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12001
12002 2013-04-04 Glenn Morris <rgm@gnu.org>
12003
12004 * electric.el (electric-pair-inhibit-predicate): Add :version.
12005
12006 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12009 when a package is required several times (bug#14082).
12010
12011 2013-04-04 Roland Winkler <winkler@gnu.org>
12012
12013 * faces.el (read-face-name): Behave as promised by the docstring.
12014 Assume that arg default is a list of faces.
12015 (describe-face): Call read-face-name with list of default faces.
12016
12017 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12018
12019 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12020 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12021 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12022 the header.
12023 (bookmark-exit-hook-internal): Save even if list is empty.
12024
12025 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12026
12027 * emacs-lisp/package.el (package-pinned-packages): New var.
12028 (package--add-to-archive-contents): Obey it (bug#14118).
12029
12030 2013-04-03 Alan Mackenzie <acm@muc.de>
12031
12032 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12033 Also adapt to the new values of element 7 of a parse state.
12034
12035 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12036 parameter `not-in-delimiter'. Handle being inside comment opener.
12037 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12038 character in case we're typing a '*' after a '/'.
12039 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12040 instead by passing the parameter to c-state-pp-to-literal.
12041
12042 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12043 for elt. 7 of a parse state.
12044
12045 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12046
12047 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12048 * international/latin1-disp.el, international/mule-util.el:
12049 * language/cyril-util.el, language/european.el, language/ind-util.el:
12050 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12051 * language/tibetan.el, language/viet-util.el:
12052 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12053
12054 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12057 (electric-pair-post-self-insert-function): Use it.
12058 (electric-pair-default-inhibit): New function, extracted from
12059 electric-pair-post-self-insert-function.
12060
12061 2013-03-31 Roland Winkler <winkler@gnu.org>
12062
12063 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12064
12065 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12068
12069 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12070
12071 Un-indent after "pass" and "return" statements (Bug#13888)
12072 * progmodes/python.el (python-indent-block-enders): New var.
12073 (python-indent-calculate-indentation): Use it.
12074
12075 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12076
12077 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12078 defun. Defining it as defalias could introduce too eager
12079 byte-compiler optimization. (Bug#14030)
12080
12081 2013-03-30 Chong Yidong <cyd@gnu.org>
12082
12083 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12084
12085 2013-03-30 Leo Liu <sdl.web@gmail.com>
12086
12087 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12088 (kmacro-execute-from-register): Pass the keyboard macro to
12089 kmacro-call-macro or repeating won't work correctly.
12090
12091 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12092
12093 * progmodes/subword.el: Back to using `forward-symbol'.
12094
12095 * subr.el (forward-whitespace, forward-symbol)
12096 (forward-same-syntax): Move from thingatpt.el.
12097
12098 2013-03-29 Leo Liu <sdl.web@gmail.com>
12099
12100 * kmacro.el (kmacro-to-register): New command.
12101 (kmacro-execute-from-register): New function.
12102 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12103
12104 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * mpc.el: Use defvar-local and setq-local.
12107 (mpc--proc-connect): Connection failures are not bugs.
12108 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12109 (mpc-volume-map): Bind to the up-events.
12110
12111 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12112
12113 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12114 instead of `forward-symbol'.
12115
12116 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12119 (edebug--recursive-edit): Use it.
12120 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12121 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12122
12123 2013-03-28 Leo Liu <sdl.web@gmail.com>
12124
12125 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12126
12127 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12128
12129 * facemenu.el (list-colors-callback): New defvar.
12130 (list-colors-redisplay): New function.
12131 (list-colors-display): Install list-colors-redisplay as the
12132 revert-buffer-function. (Bug#14063)
12133
12134 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12135
12136 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12137 and suffixes don't overlap (bug#14061).
12138
12139 * case-table.el: Use lexical-binding.
12140 (case-table-get-table): New function.
12141 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12142
12143 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12144
12145 * progmodes/subword.el: Add `superword-mode' to do word motion
12146 over symbol_words (parallels and leverages `subword-mode' which
12147 does word motion inside MixedCaseWords).
12148
12149 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12150
12151 * eshell/em-unix.el: Move su and sudo to...
12152 * eshell/em-tramp.el: ...Eshell tramp module.
12153
12154 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12157 Change return value to be a sexp. Delay `get-buffer' to after
12158 restoring the desktop (bug#13951).
12159
12160 2013-03-26 Leo Liu <sdl.web@gmail.com>
12161
12162 * register.el: Move semantic tag handling back to
12163 cedet/semantic/senator.el. (Bug#14052)
12164
12165 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12168 into the prompt either (bug#13963).
12169
12170 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12173 part of "(error-foo)".
12174
12175 2013-03-24 Juri Linkov <juri@jurta.org>
12176
12177 * replace.el (list-matching-lines-prefix-face): New defcustom.
12178 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12179 `occur-engine' if `face-differs-from-default-p' returns t.
12180 (occur-engine): Add `,' inside backquote construct to evaluate
12181 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12182 Pass `prefix-face' to the functions `occur-context-lines' and
12183 `occur-engine-add-prefix'.
12184 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12185 `prefix-face' and propertize the prefix with `prefix-face'.
12186 (Bug#14017)
12187
12188 2013-03-24 Leo Liu <sdl.web@gmail.com>
12189
12190 * nxml/rng-valid.el (rng-validate-while-idle)
12191 (rng-validate-quick-while-idle): Guard against deleted buffer.
12192 (Bug#13999)
12193
12194 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12195 is the last entry in kill-buffer-hook.
12196
12197 * files.el (kill-buffer-hook): Doc fix.
12198
12199 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12200
12201 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12202 Make it safe-local.
12203
12204 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12205
12206 2013-03-23 Leo Liu <sdl.web@gmail.com>
12207
12208 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12209 Remove.
12210
12211 * nxml/rng-valid.el (rng-validate-mode)
12212 (rng-after-change-function, rng-do-some-validation):
12213 * nxml/rng-maint.el (rng-validate-buffer):
12214 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12215 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12216 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12217 (nxml-extend-after-change-region): Use with-silent-modifications.
12218
12219 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12220 timer-idle-list.
12221
12222 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12223 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12224 timer-idle-list. (Bug#13999)
12225
12226 2013-03-23 Juri Linkov <juri@jurta.org>
12227
12228 * info.el (info-index-match): New face.
12229 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12230 main pattern and add text properties with the new face to matches
12231 in index entries relative to the beginning of the index entry.
12232 (Bug#14015)
12233
12234 2013-03-21 Eric Ludlam <zappo@gnu.org>
12235
12236 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12237 Inhibit read only while inserting objects.
12238
12239 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12240
12241 * progmodes/cfengine.el: Update docs to mention
12242 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12243 symbol motion. Remove "_" from the word syntax.
12244
12245 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12246
12247 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12248 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12249
12250 2013-03-20 Juri Linkov <juri@jurta.org>
12251
12252 * info.el (Info-next-reference-or-link)
12253 (Info-prev-reference-or-link): New functions.
12254 (Info-next-reference, Info-prev-reference): Use them.
12255 (Info-try-follow-nearest-node): Handle footnote navigation.
12256 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12257
12258 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12261 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12262
12263 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12264
12265 Suppress unnecessary non-ASCII chatter during build process.
12266 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12267 (batch-skkdic-convert): Suppress most of the chatter.
12268 It's not needed so much now that machines are faster,
12269 and its non-ASCII component was confusing; see Dmitry Gutov in
12270 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12271
12272 2013-03-20 Leo Liu <sdl.web@gmail.com>
12273
12274 * ido.el (ido-chop): Fix bug#10994.
12275
12276 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12277
12278 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12279 Remove vars.
12280 (whitespace-color-on, whitespace-color-off):
12281 Use `font-lock-fontify-buffer' (Bug#13817).
12282
12283 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12286 remapping in mode-line.
12287 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12288
12289 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12290
12291 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12292 value for `whitespace-line' face (Bug#13875).
12293 (whitespace-font-lock-keywords): Change description.
12294 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12295 the constructed keywords instead.
12296 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12297
12298 2013-03-19 Leo Liu <sdl.web@gmail.com>
12299
12300 * progmodes/compile.el (compilation-display-error): New command.
12301 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12302 C-o. (Bug#13992)
12303
12304 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12305
12306 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12307
12308 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12309
12310 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12311
12312 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12315
12316 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12317 * net/tramp-gvfs.el (top):
12318 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12319 (tramp-handle-shell-command): Use it.
12320 (tramp-dissect-file-name): Raise an error when hostname is a
12321 method name, and neither method nor user is specified.
12322
12323 * net/trampver.el: Update release number.
12324
12325 2013-03-18 Leo Liu <sdl.web@gmail.com>
12326
12327 Make sure eldoc can be turned off properly.
12328 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12329 eldoc-mode.
12330 (eldoc-display-message-p): Revert last change.
12331 (eldoc-display-message-no-interference-p)
12332 (eldoc-print-current-symbol-info): Tweak.
12333
12334 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12335
12336 * doc-view.el (doc-view-new-window-function): Check the new window
12337 overlay's display property instead the char property of the
12338 buffer's first char. Use `with-selected-window' instead of
12339 `save-window-excursion' with `select-window'.
12340 (doc-view-document->bitmap): Check the current doc-view overlay's
12341 display property instead the char property of the buffer's first char.
12342
12343 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12344
12345 Automate the build of ja-dic.el (Bug#13984).
12346 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12347 from the input, rather than assume that it's been done for us by the
12348 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12349 the current date into a ja-dic.el comment, as that complicates
12350 regression testing.
12351
12352 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * whitespace.el: Fix double evaluation.
12355 (whitespace-space, whitespace-hspace, whitespace-tab)
12356 (whitespace-newline, whitespace-trailing, whitespace-line)
12357 (whitespace-space-before-tab, whitespace-indentation)
12358 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12359 obsolete defvars.
12360 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12361 (whitespace-color-on): Use a single font-lock-add-keywords call.
12362 Fix double-evaluation of face variables.
12363
12364 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12365
12366 * net/tramp-adb.el (tramp-adb-parse-device-names):
12367 Use `start-process' instead of `call-process'. Otherwise, the
12368 function might be blocked under MS Windows. (Bug#13299)
12369
12370 2013-03-17 Leo Liu <sdl.web@gmail.com>
12371
12372 Extend eldoc to display info in the mode-line. (Bug#13978)
12373 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12374 (eldoc-mode-line-string): New variable.
12375 (eldoc-minibuffer-message): New function.
12376 (eldoc-message-function): New variable.
12377 (eldoc-message): Use it.
12378 (eldoc-display-message-p)
12379 (eldoc-display-message-no-interference-p):
12380 Support eldoc-post-insert-mode.
12381
12382 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12383 (eval-expression): Run it.
12384
12385 2013-03-17 Roland Winkler <winkler@gnu.org>
12386
12387 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12388 strings in the list of return values.
12389
12390 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12391
12392 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12393 radix before checking for HMS forms.
12394
12395 2013-03-16 Leo Liu <sdl.web@gmail.com>
12396
12397 * progmodes/scheme.el: Add indentation and font-locking for λ.
12398 (Bug#13975)
12399
12400 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12401
12402 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12403 token before point (bug#13942).
12404
12405 2013-03-16 Leo Liu <sdl.web@gmail.com>
12406
12407 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12408
12409 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12410
12411 * startup.el (command-line-normalize-file-name): Fix handling of
12412 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12413 <xfq.free@gmail.com> in
12414 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12415
12416 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12417
12418 Sync with Tramp 2.2.7.
12419
12420 * net/trampver.el: Update release number.
12421
12422 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12423
12424 * doc-view.el: Fix bug#13887.
12425 (doc-view-insert-image): Don't modify overlay associated to
12426 non-live windows, and implement horizontal centering of image in
12427 case it's smaller than the window.
12428 (doc-view-new-window-function): Force redisplay of new windows on
12429 doc-view buffers.
12430
12431 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12432
12433 * saveplace.el (save-place-alist-to-file): Don't sort
12434 `save-place-alist', just pretty-print it (bug#13882).
12435
12436 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12437
12438 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12439 Check whether `default-file-name-coding-system' is bound.
12440 It isn't in XEmacs.
12441
12442 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12445 backquotes for `obsolete' (bug#13929).
12446
12447 * international/mule.el (find-auto-coding): Include file name in
12448 obsolescence warning (bug#13922).
12449
12450 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12451
12452 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12453 for CFEngine 3-specific indentation.
12454 (cfengine3-indent-line): Use it. Fix up category regex.
12455 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12456
12457 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * type-break.el (type-break-file-name):
12460 * textmodes/remember.el (remember-data-file):
12461 * strokes.el (strokes-file):
12462 * shadowfile.el (shadow-initialize):
12463 * saveplace.el (save-place-file):
12464 * ps-bdf.el (bdf-cache-file):
12465 * progmodes/idlwave.el (idlwave-config-directory):
12466 * net/quickurl.el (quickurl-url-file):
12467 * international/kkc.el (kkc-init-file-name):
12468 * ido.el (ido-save-directory-list-file):
12469 * emulation/viper.el (viper-custom-file-name):
12470 * emulation/vip.el (vip-startup-file):
12471 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12472 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12473
12474 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12475
12476 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12477 * language/thai-word.el: Switch to UTF-8.
12478
12479 See ChangeLog.16 for earlier changes.
12480
12481 ;; Local Variables:
12482 ;; coding: utf-8
12483 ;; End:
12484
12485 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12486
12487 This file is part of GNU Emacs.
12488
12489 GNU Emacs is free software: you can redistribute it and/or modify
12490 it under the terms of the GNU General Public License as published by
12491 the Free Software Foundation, either version 3 of the License, or
12492 (at your option) any later version.
12493
12494 GNU Emacs is distributed in the hope that it will be useful,
12495 but WITHOUT ANY WARRANTY; without even the implied warranty of
12496 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12497 GNU General Public License for more details.
12498
12499 You should have received a copy of the GNU General Public License
12500 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.