* automated/comint-testsuite.el
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e7d807ca
TH
12014-01-21 Tassilo Horn <tsdh@gnu.org>
2
4ff0a0e5
TH
3 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4 specify it's an interactive function.
5
e7d807ca
TH
6 * textmodes/reftex-cite.el (reftex-all-used-citation-keys): Fix
7 regex used for scanning for citation keys which failed for
8 citations with optional arguments.
9
87503791
LL
102014-01-21 Leo Liu <sdl.web@gmail.com>
11
12 * simple.el (read--expression): Don't enable eldoc-mode.
13
6cc750ee
SM
142014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * simple.el (move-beginning-of-line): Make sure we don't move forward
17 (bug#16497).
18
71f16bda
JL
192014-01-20 Juri Linkov <juri@jurta.org>
20
21 * saveplace.el (toggle-save-place, save-place-to-alist)
22 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
23 'dired-mode) before checking for dired-directory. (Bug#16477)
24
3c5a4839
JL
252014-01-20 Juri Linkov <juri@jurta.org>
26
27 * indent.el (indent-line-to): Use backward-to-indentation
28 instead of back-to-indentation. (Bug#16461)
29
f952002e
PE
302014-01-20 Paul Eggert <eggert@cs.ucla.edu>
31
32 Revert some of the CANNOT_DUMP fix (Bug#16494).
33 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
34 but fixing this can wait until after the next release.
35 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
36
93675500
MA
372014-01-19 Michael Albinus <michael.albinus@gmx.de>
38
39 * eshell/esh-mode.el (eshell-password-prompt-regexp):
40 Use `password-word-equivalents'.
41 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
42 to t. (Bug#5664, Bug#13124)
43
e3af763f
AM
442014-01-19 Alan Mackenzie <acm@muc.de>
45
46 Bind open-paren-in-column-0-is-defun-start to nil at some entry
47 points.
48 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
49 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
50 * progmodes/cc-mode.el (c-before-change, c-after-change)
51 (c-font-lock-fontify-region): Bind it here.
52
4ff6d92d
MR
532014-01-19 Martin Rudalics <rudalics@gmx.at>
54
55 * term.el (term-window-width): Call window-text-width instead of
56 window-width (Bug#16470).
57
9a685cf6
PE
582014-01-18 Paul Eggert <eggert@cs.ucla.edu>
59
60 * simple.el (password-word-equivalents): Remove duplicates.
61 Sort, to make this easier next time.
62 Downcase. Omit ": " after "jelszó".
63
5aa78c2d
JD
642014-01-18 Jan Djärv <jan.h.d@swipnet.se>
65
66 * term/common-win.el (saved-region-selection): Defvar it.
67 (x-select-text): Set saved-region-selection (Bug#16382).
68
cabb250c
GM
692014-01-18 Glenn Morris <rgm@gnu.org>
70
71 * emacs-lisp/authors.el (authors-aliases)
72 (authors-renamed-files-alist): Add some entries.
73
a1340440
MA
742014-01-17 Michael Albinus <michael.albinus@gmx.de>
75
93675500
MA
76 * net/tramp.el (tramp-password-prompt-regexp):
77 Use `password-word-equivalents' if available.
a1340440
MA
78 (tramp-action-password, tramp-process-one-action)
79 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
80
681ce5d2
CY
812014-01-17 Chong Yidong <cyd@gnu.org>
82
83 * simple.el (password-word-equivalents): New defcustom.
84 * comint.el (comint-password-prompt-regexp): Use it. Bump version
85 to 24.4.
86 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
87 to t. (Bug#13124)
88
fb3d479c
DG
892014-01-17 Dmitry Gutov <dgutov@yandex.ru>
90
91 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
92 (ruby-align-to-stmt-keywords): Change the default value. Use
93 `ruby-alignable-keywords' to generate the possible customization
94 choices.
95 (ruby-smie-rules): Instead of using a hardcoded list of alignable
96 keywords, check against the value of `ruby-alignable-keywords'
97 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
98
0d613483
GM
992014-01-17 Glenn Morris <rgm@gnu.org>
100
fc23fe2d
GM
101 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
102
0d613483
GM
103 Make M-x authors return zero *Authors Errors* from current logs.
104 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
105 (authors-ignored-files): Add some entries, remove others.
106 (authors-ambiguous-files, authors-valid-file-names):
107 Add some entries.
108 (authors-renamed-files-alist): Add, remove, and adjust entries.
109 (authors-renamed-files-regexps): Add some entries.
110 Remove some very broad ones. Make some entries `lax'.
111 (authors-lax-changelogs): New constant.
112 (authors-disambiguate-file-name): Treat top-level specially.
113 (authors-lax-changelog-p): New function.
114 (authors-canonical-file-name): Check file as written against
115 authors-valid-file-names. Do not special-case etc/.
116 Handle `lax' logs and authors-renamed-files-regexps elements.
117
2dbf4ffd
DG
1182014-01-16 Dmitry Gutov <dgutov@yandex.ru>
119
120 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
121 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
122 callers.
2dbf4ffd 123
87b2a7f2
SM
1242014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
127 Assume we're already in the proper buffer.
128 Inspired by Anders Lindgren <andlind@gmail.com>.
129 (follow-post-command-hook): Call it from the right buffer.
130 (follow-comint-scroll-to-bottom): Adjust call.
131 (follow-all-followers): Use get-buffer-window-list.
132
93acfb0e
DC
1332014-01-15 Daniel Colascione <dancol@dancol.org>
134
135 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
136 `buffer-file-name' in interactive-form so that we don't leave
137 pathless file names in `file-name-history'.
138
ccc6b208
JL
1392014-01-15 Juri Linkov <juri@jurta.org>
140
141 * indent.el (indent-rigidly): Set deactivate-mark to nil
142 in transient indentation mode. (Bug#16438)
143
5c92e00d
DG
1442014-01-15 Dmitry Gutov <dgutov@yandex.ru>
145
146 * emacs-lisp/package.el (package-desc-keywords): New function
147 (Bug#16222).
148 (describe-package-1, package-all-keywords)
149 (package--has-keyword-p): Use it.
150
dac69660
NR
1512014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
152
153 * simple.el (define-alternatives): When creating the
154 COMMAND-alternatives variable, assign COMMAND as its definition
155 name so that `describe-variable' can relocate it.
156
8b63edf8
ML
1572014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
158
159 * font-lock.el (font-lock-keywords): Fix typo in docstring
160 (bug#16307).
161
c6a0b8eb
AM
1622014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
163
164 * ispell.el (ispell-region): Reset `in-comment' for new line
165 instead of wrongly reset `add-coment' (bug#13577).
166
02bf443d
DU
1672014-01-14 Daiki Ueno <ueno@gnu.org>
168
169 * epa-file.el (epa-file-write-region): Encode the region according
170 to `buffer-file-format'. Problem reported at:
171 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
172
fd7fde15
SM
1732014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
176 so it applies in the right buffer (bug#16410).
177
c176054f
DC
1782014-01-13 Daniel Colascione <dancol@dancol.org>
179
180 * textmodes/rst.el (rst-define-key): Provide deprecated
181 keybindings through named functions instead of anonymous ones so
182 that "??" doesn't appear in describe-mode output.
183
e3f33e5d
BG
1842014-01-13 Bastien Guerry <bzg@gnu.org>
185
186 * simple.el (define-alternatives): Call the selected command
187 interactively. When setting `COMMAND--implementation' for the
188 first time, tell the user how to chose another implementation.
189 Enhance the docstring.
190
c055d654
SM
1912014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
194 (log-edit--match-first-line): New function.
195 (log-edit-font-lock-keywords): Use it.
196 (log-edit-mode): Make jit-lock-defer-multiline work.
197
d791cc3b
BG
1982014-01-13 Bastien Guerry <bzg@gnu.org>
199
200 * rect.el (rectangle-mark-mode): When the region is not active,
201 display a message saying that the mark as been set and that
202 rectangle mode is in use.
203 (rectangle--highlight-for-redisplay): Only put an overlay with a
204 visible vertical bar when (display-graphic-p) is non-nil.
205 This partially fixes Bug#16403.
206
3c0c4562
JL
2072014-01-13 Juri Linkov <juri@jurta.org>
208
209 * info.el (Info-find-file): Go to DIR before displaying the error
210 about a nonexistent file if no previous Info file is visited.
211 Use `user-error' instead of `error' for "Info file %s does not exist".
212 (Info-find-node-2): In case of a nonexistent node in unwind forms
213 go to the Top node if there is no previous node to revert to.
214 (Bug#16405)
215
25a700d0
MR
2162014-01-13 Martin Rudalics <rudalics@gmx.at>
217
218 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
219 * window.el (fit-frame-to-buffer): Fix doc-string.
220 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
221 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
222 when avoiding that frame goes partially off-screen.
223 (fit-window-to-buffer): Respect window-min-height/-width
224 (Bug#14096).
225
6ae948d8
SM
2262014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
229 after an empty line.
230
6137cb82
SM
2312014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * net/shr.el (shr-render-region): Autoload.
234
e6344e17
XF
2352014-01-12 Xue Fuqiao <xfq.free@gmail.com>
236
237 * net/eww.el (eww-download-directory): Rename from
238 `eww-download-path' (Bug#16419).
239
3b922c70
LL
2402014-01-12 Leo Liu <sdl.web@gmail.com>
241
242 * dired-x.el (dired-mode-map): Fix last change.
243
244 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
245
4fa51741
PE
2462014-01-12 Paul Eggert <eggert@cs.ucla.edu>
247
248 Spelling fixes.
249 * emacs-lisp/generic.el (generic--normalize-comments):
250 Rename from generic--normalise-comments. All uses changed.
251 * play/bubbles.el (bubbles--neighborhood-score):
252 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
253 (bubbles--neighborhood-available)
254 (bubbles--update-neighborhood-score):
255 Rename from names with 'neighbourhood'. All uses changed.
256
9b335362
LL
2572014-01-12 Leo Liu <sdl.web@gmail.com>
258
259 Re-implement the feature of showing eldoc info after editing.
260 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
261 (eldoc-edit-message-commands): New function.
262 (eldoc-print-after-edit): New variable.
263 (eldoc-pre-command-refresh-echo-area): Emit message only by
264 eldoc-message-commands.
265 (eldoc-mode): Restrict eldoc-message-commands to editing commands
266 if eldoc-print-after-edit is set. (Bug#16346)
267
6137cb82 268 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 269
9685190b
ER
2702014-01-11 Eric S. Raymond <esr@thyrsus.com>
271
841a6d0c 272 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 273 function works correctly in either a Bazaar or Git repo.
0abf4134 274
6137cb82
SM
275 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
276 Goes with removal of the joke manpages from /etc.
9685190b 277
3923e7bd
KH
2782014-01-10 K. Handa <handa@gnu.org>
279
6137cb82
SM
280 * mail/rmail.el (rmail-get-coding-system):
281 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 282
d2f16e93
GM
2832014-01-10 Glenn Morris <rgm@gnu.org>
284
285 * emacs-lisp/authors.el (authors-fixed-entries):
286 Update for files that no longer exist.
287
7e03bb32
ER
2882014-01-10 Eric S. Raymond <esr@thyrsus.com>
289
290 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 291 24.3 (Tested).
7e03bb32 292
dd806710
BB
2932014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
294
295 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
296 and Podfile.
297
ed6ec139
EZ
2982014-01-10 Eli Zaretskii <eliz@gnu.org>
299
300 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
301
cc33cac9
CY
3022014-01-10 Chong Yidong <cyd@gnu.org>
303
6137cb82 304 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 305
d9d836b5
AL
3062014-01-10 Anders Lindgren <andlind@gmail.com>
307
308 * follow.el (follow-cache-command-list): Include right-char and
309 left-char.
310
06827ec8
PE
3112014-01-10 Paul Eggert <eggert@cs.ucla.edu>
312
313 Spelling fixes.
314 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
315 * woman.el (woman-mark-horizontal-position):
316 Rename from woman-mark-horizonal-position. Use changed.
317
458dbf5e
GM
3182014-01-10 Glenn Morris <rgm@gnu.org>
319
dad6fae7
GM
320 * info.el (info-initialize): If running uninstalled, ensure our
321 own info files are always found first, even if INFOPATH is set.
322
458dbf5e
GM
323 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
324
05e0afce
DE
3252014-01-09 David Engster <deng@randomsample.de>
326
327 * emacs-lisp/eieio-custom.el:
328 * emacs-lisp/eieio-opt.el: Set generated autoload file to
329 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
330 * emacs-lisp/eieio.el: Regenerate autoloads.
331
f29778b3
ER
3322014-01-09 Eric S. Raymond <esr@thyrsus.com>
333
334 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 335 following renames. (Bug#8756)
f29778b3 336
684d44ef
SM
3372014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
340 (bug#16382).
341 (activate-mark): Add `no-tmm' argument.
342 (set-mark, push-mark-command): Use it instead of running
343 activate-mark-hook by hand.
344
9475054f
ER
3452014-01-08 Eric S. Raymond <esr@thyrsus.com>
346
347 In preparation for the move to git, sanitize out some
348 Bazaar-specific names.
349
350 * version.el (emacs-bzr-version): Name changed to
689c9ca5 351 emacs-repository-version. Obsolete-variable alias made.
9475054f 352 * loadup.el: Follow through on this name change.
a12bf61e 353 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
354 assumption about the version control system in use.
355
0f918d96 3562014-01-08 David Engster <deng@randomsample.de>
abb82152 357
684d44ef
SM
358 * help-fns.el (help-fns-describe-function-functions):
359 New variable to call functions for augmenting help buffers.
abb82152
DE
360 (describe-function-1): Remove explicit calls to
361 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
362 `help-fns--obsolete'. Put them in above new variable instead, and
363 call them through `run-hook-with-args'.
364 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
365 `eieio-describe-class'. Not meant for interactive use anymore,
366 but to augment existing help buffers. Remove optional second
684d44ef
SM
367 argument. Create proper button for file location.
368 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
369 possible.
370 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
371 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
372 (describe-method, describe-generic, eieio-describe-method):
373 Remove aliases.
0f918d96
DE
374 (eieio-help-constructor, eieio-help-generic): Rename from
375 `eieio-describe-constructor' and `eieio-describe-generic', resp.
376 Rewrite to use `insert' in the current buffer and use proper help
377 buttons.
378 (eieio-help-find-method-definition)
379 (eieio-help-find-class-definition): Also accept symbols as
380 arguments.
381 (eieio-help-mode-augmentation-maybee): Remove.
382 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
383 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
384 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 385
136b74c5
PE
3862014-01-08 Paul Eggert <eggert@cs.ucla.edu>
387
388 Spelling fixes.
389 * language/china-util.el (hz-ascii-designation):
390 Rename from hz-ascii-designnation.
391 (hz-ascii-designation): Rename from hz-ascii-designnation.
392 All uses changed.
393
ec6c7de2
SM
3942014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
397 package-alist.
398
d6262c7c
BG
3992014-01-08 Bastien Guerry <bzg@gnu.org>
400
4b9e6087
GM
401 * emacs-lisp/package.el (package-delete):
402 Correctly delete the package from package-alist.
d6262c7c 403
0a3eec32
DU
4042014-01-08 Daiki Ueno <ueno@gnu.org>
405
406 * emacs-lisp/package.el (url-recreate-url): Declare.
407 (url-http-target-url): Declare.
4b9e6087 408 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
409 (package--check-signature): Don't re-signal errors from
410 package--with-work-buffer. Suggested by Stefan Monnier.
411
68f0bb97
BG
4122014-01-07 Bastien Guerry <bzg@gnu.org>
413
414 * minibuffer.el (completion--try-word-completion): When both a
415 hyphen and a space are possible candidates for the character
416 following a word, display both candidates. (Bug#15980)
417
7e1899d7
MR
4182014-01-07 Martin Rudalics <rudalics@gmx.at>
419
420 * window.el (balance-windows-2): While rounding don't give a
421 window more than the remainder. Bug#16351, Bug#16383.
422
0030ec15
GM
4232014-01-07 Glenn Morris <rgm@gnu.org>
424
425 * menu-bar.el (menu-bar-help-extra-packages): Remove.
426 (menu-bar-help-menu): Use view-external-packages instead.
427
2b6b4f20
BG
4282014-01-07 Bastien Guerry <bzg@gnu.org>
429
430 * emacs-lisp/package.el (package-delete): Also delete the package
431 name from `package-alist', not its description only.
432
e9be0a13
GM
4332014-01-07 Glenn Morris <rgm@gnu.org>
434
435 * help.el (view-external-packages):
436 * menu-bar.el (menu-bar-help-extra-packages):
437 Visit efaq.info rather than etc/MORE.STUFF.
438
e4f74da9
JL
4392014-01-07 Juri Linkov <juri@jurta.org>
440
441 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
442 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
443
444 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
445 that shadows RET. (Bug#16342)
446
de7ce2d1
CY
4472014-01-07 Chong Yidong <cyd@gnu.org>
448
449 * isearch.el (isearch-yank-char, isearch-yank-word)
450 (isearch-yank-line): Doc fix.
451
6bdd9204
SM
4522014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
455 * emacs-lisp/elint.el (elint-find-builtins):
456 * emacs-lisp/eldoc.el (eldoc-symbol-function):
457 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
458 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
459 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
460 * apropos.el (apropos-safe-documentation):
461 * subr.el (symbol-file): Remove redundant fboundp.
462 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
463
daccca97
BG
4642014-01-06 Bastien Guerry <bzg@gnu.org>
465
466 * hl-line.el (global-hl-line-overlay): Make a local variable.
467 (global-hl-line-overlays): New variable to store all overlays.
468 (global-hl-line-mode): Don't delete overlays from the current
469 buffer when `global-hl-line-sticky-flag' is non-nil.
470 (global-hl-line-highlight): Add new overlays to
471 `global-hl-line-overlays'.
472 (global-hl-line-unhighlight-all): New function to delete all
473 overlays when turning off `global-hl-line-mode'.
474 This fixes Bug#16183.
475
ec00f20f
SM
4762014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
477
478 * subr.el (set-transient-map): Fix nested case and docstring.
479
a0031f97
TH
4802014-01-06 Tassilo Horn <tsdh@gnu.org>
481
482 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
483 `Texinfo' entry.
484
bf6a77f3
DC
4852014-01-06 Daniel Colascione <dancol@dancol.org>
486
487 Fix defun navigation in vc log view.
488
489 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
490 like `beginning-of-defun'.
491 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
492 log-view-end-of-defun to log-view-end-of-defun-1. Replace
493 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 494 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 495 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 496
d5081c1e
PE
4972014-01-06 Paul Eggert <eggert@cs.ucla.edu>
498
499 Spelling fixes.
500 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
501 * emacs-lisp/debug.el (cancel-debug-on-entry):
502 * epg.el (epg-error-to-string):
503 * files.el (recover-file):
504 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
505 * mail/emacsbug.el (report-emacs-bug-hook):
506 * mail/sendmail.el (mail-recover):
507 * ses.el (ses-yank-resize):
508 * term/ns-win.el (ns-print-buffer):
509 Spelling fixes in diagnostics, mostly for "canceled" with one L.
510 * epg.el (epg-key-capability-alist): Rename from misspelled version.
511 All uses changed.
512 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
513
53f6b148
LL
5142014-01-06 Leo Liu <sdl.web@gmail.com>
515
516 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 517 to avoid shadowing global key. (Bug#16354)
53f6b148 518
b82ace2f
DC
5192014-01-06 Daniel Colascione <dancol@dancol.org>
520
521 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
522 rst-mode.
523
3669b636
MR
5242014-01-05 Martin Rudalics <rudalics@gmx.at>
525
526 * window.el (balance-windows): Add mising t to fix Bug#16351.
527
1a29adc2
LMI
5282014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
529
530 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
531 (bug#16285).
3d95a0f4
LMI
532 (shr-insert): If we have a word that's longer than `shr-width',
533 break after it anyway. Otherwise we'll do no breaking once we get
534 such a long word.
1a29adc2 535
f4018140
KN
5362014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
537
189340f5
KN
538 * net/eww.el (eww): Support single/double quote for search.
539 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
540 (eww-history-quit): Delete and use quit-window.
541 (eww-history-kill): Delete, because it doesn't work well and
542 not necessary.
543 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 544
4e619754
PE
5452014-01-05 Paul Eggert <eggert@cs.ucla.edu>
546
73dbf960
PE
547 Fix misspelling of 'chinese' in rx (Bug#16237).
548 * emacs-lisp/rx.el (rx-categories): Correct spelling of
549 chinese-two-byte.
550
4e619754
PE
551 Change subword regexps back to vars (Bug#16296).
552 * progmodes/subword.el (subword-forward-regexp)
553 (subword-backward-regexp): Change these back to variables.
554
e18b70fc
SM
5552014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
556
557 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
558 syntax-begin-function (bug#16247).
559
0d53f628
CY
5602014-01-03 Chong Yidong <cyd@gnu.org>
561
562 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
563 (advice--docstring): Delete variable.
564 (advice--make-1): Leave the docstring empty.
565 (advice-add): Use function-documentation for advised docstring.
566
567 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
568 Ignore function-documentation property when getting documentation.
569 (ad-activate-advised-definition): Use function-documentation
570 generate the docstring.
571 (ad-make-advised-definition): Don't call
572 ad-make-advised-definition-docstring.
573 (ad-make-advised-definition-docstring, ad-advised-definition-p):
574 Delete functions.
575
576 * progmodes/sql.el (sql-help): Use function-documentation instead
577 of dynamic-docstring-function property. No need to autoload now.
578 (sql--help-docstring): New variable.
579 (sql--make-help-docstring): Use it.
580
6f547583
SM
5812014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
582
6ef9aed8
SM
583 * ielm.el (ielm-tab): Retarget.
584 (ielm-map): Use ielm-tab for tab.
585 (ielm-complete-filename): Use comint-filename-completion.
586 (ielm-complete-symbol): Remove.
587 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
588 remove ielm-tab from completion-at-point-functions (bug#16224).
589
6f547583
SM
590 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
591 Beware signals raised by predicates (bug#16201).
592
a574edbe
RS
5932014-01-02 Richard Stallman <rms@gnu.org>
594
e831604d
RS
595 * dired-aux.el (dired-do-print): Handle printer-name.
596
6f547583
SM
597 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
598 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
599 (rmail-epa-decrypt): Turn off mime processing.
600
601 * mail/rmail.el (rmail-make-in-reply-to-field):
602 Add parens in message-id.
603
604 * mail/rmail.el (rmail-get-coding-function): Variable.
605 (rmail-get-coding-system): Use it.
606
04311a16
KH
6072013-12-31 Eli Zaretskii <eliz@gnu.org>
608
609 * international/mule-conf.el: Unify the charset indian-is13194.
610 (indian-is13194): Specify unify-map.
611
c8d89778
LL
6122013-12-31 Leo Liu <sdl.web@gmail.com>
613
614 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
615
e63ace37
DC
6162013-12-30 Daniel Colascione <dancol@dancol.org>
617
9e0bf19a
DC
618 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
619 of printing a useless when we resume from sleep.
620
e63ace37
DC
621 * progmodes/sh-script.el
622 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
623 in indentation code. (Bug#16233)
624
e9d6c46a
JT
6252013-12-28 João Távora <joaotavora@gmail.com>
626
6f547583
SM
627 * elec-pair.el (electric-pair-post-self-insert-function):
628 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 629
bf7bea5d
EZ
6302013-12-28 Eli Zaretskii <eliz@gnu.org>
631
632 * frame.el (window-system-for-display): Don't allow to create a
633 GUI frame from a -nw session on MS-Windows. (Bug#14739)
634
8449dd1f
GM
6352013-12-28 Glenn Morris <rgm@gnu.org>
636
9c5a5c77
GM
637 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
638 Update callers.
639
640 * apropos.el (apropos-match-face):
641 * calculator.el (calculator-displayer):
642 * dabbrev.el (dabbrev-search-these-buffers-only):
643 * face-remap.el (buffer-face-mode-face):
644 * simple.el (yank-handled-properties):
645 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
646 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
647 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
648 (hashcash-double-spend-database):
649 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
650 (ruby-deep-indent-paren-style):
651 * textmodes/flyspell.el (flyspell-auto-correct-binding):
652 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
653 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
654 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
655 Specify custom types.
656
bb098075
GM
657 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
658 * bookmark.el (bookmark-bmenu-use-header-line):
659 * doc-view.el (doc-view-scale-internally):
660 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
661 * register.el (register-preview-delay):
662 * net/shr.el (shr-bullet):
663 * progmodes/cfengine.el (cfengine-cf-promises)
664 (cfengine-parameters-indent):
665 * progmodes/octave.el (inferior-octave-error-regexp-alist):
666 * textmodes/reftex-vars.el (reftex-label-regexps):
667 * vc/log-edit.el (log-edit-setup-add-author): Add version.
668
9c61f806
GM
669 * net/tls.el (tls-certtool-program): Fix default value.
670
671 * desktop.el (desktop-restore-in-current-display):
672 * newcomment.el (comment-empty-lines):
673 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
674 (idlwave-pad-keyword):
675 * progmodes/tcl.el (tcl-tab-always-indent):
676 * textmodes/reftex-vars.el (reftex-index-default-tag):
677 * elec-pair.el (electric-pair-skip-whitespace):
678 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
679
8449dd1f
GM
680 * emacs-lisp/authors.el (authors-ignored-files)
681 (authors-valid-file-names, authors-renamed-files-alist): Additions.
682
fdadeb49
JC
6832013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
684
72140a0f
GM
685 * shell.el (shell-dynamic-complete-command): Doc fix.
686 (shell--command-completion-data): Shell completion now matches
687 executable filenames from the current buffer's directory, on
da5ecfa9 688 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 689
e572a7d8
LI
6902013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
691
692 * net/shr.el (shr-insert): Don't infloop if the width is zero.
693
7514d3f8
SM
6942013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
695
a4151f3b
SM
696 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
697 (bug#16251).
698
7514d3f8
SM
699 * electric.el: Move all electric-pair-* to elec-pair.el.
700 * elec-pair.el: New file, split from electric.el.
701
ac5758d1
LI
7022013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
703
704 * net/shr.el (shr-find-fill-point): Don't try to fill if the
705 indentation level is larger than the width, because that will
706 infloop.
707 (shr-insert): Fill repeatedly long texts, so that Japanese is
708 formatted correctly (bug#16263).
24a6b65e
LI
709 (shr-find-fill-point): Off by one error in comparison with the
710 indentation.
ac5758d1 711
7514d3f8 7122013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
713
714 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 715 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
716 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
717 if that keeps or improves their balance in buffers.
718 (electric-pair-delete-adjacent-pairs): Delete the pair when
719 backspacing over adjacent matched delimiters.
720 (electric-pair-open-extra-newline): Open extra newline when
721 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
722 (electric--sort-post-self-insertion-hook):
723 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
724 minor-modes are activated.
725 * simple.el (newline-and-indent): Call newline with interactive
726 set to t.
727 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
728 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
729 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
730 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
731 electric-pair-open-newline-between-pairs to nil.
732
fbcc63a3
FEG
7332013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
734
735 * progmodes/python.el: Use lexical-binding.
736 (python-nav-beginning-of-defun): Stop searching ASAP.
737
ed78d16c
XF
7382013-12-25 Xue Fuqiao <xfq.free@gmail.com>
739
740 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
741 Fix interactive spec. Doc fix. (Bug#15754)
742
38b2c142
KY
7432013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
744
745 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 746 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
747 Fix edebug spec (bug#16184).
748
3c856c14
LI
7492013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
750
83fa295c 751 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
752 (shr-insert): Don't infloop if we can't find a good place to break
753 the line (bug#16256).
3c856c14 754
01379221
FEG
7552013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
756
757 * progmodes/python.el:
758 (python-nav--lisp-forward-sexp): New function.
759 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
760 python-nav-lisp-forward-sexp-safe.
761 (python-nav--forward-sexp): New argument SAFE allows switching
762 forward sexp movement behavior for parens.
763 (python-nav-forward-sexp): Throw errors on unterminated parens
764 (Bug#16191).
765 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
766 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
767 (python-shell-buffer-substring):
768 Use `python-nav-forward-sexp-safe'.
01379221 769
99e4926f
LI
7702013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
771
772 * net/shr.el (shr-find-fill-point): Don't break lines before a
773 quotation mark.
c6c20584
LI
774 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
775 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 776 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 777
fec0e828
KN
7782013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
779
780 * net/eww.el (eww-form-textarea): Use a different face for
781 textareas than text input since they have different keymaps
782 (bug#16142).
783
89c868ad
FEG
7842013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
785
7514d3f8
SM
786 * progmodes/python.el (python-nav-beginning-of-statement):
787 Speed up (Bug#15295).
89c868ad 788
eeef121a
LI
7892013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
790
791 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
792 the window configuration.
793
121ea65f
EZ
7942013-12-24 Eli Zaretskii <eliz@gnu.org>
795
796 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
797 we run on MS-Windows or MS-DOS.
798
18cee9ec
MR
7992013-12-24 Martin Rudalics <rudalics@gmx.at>
800
801 * window.el (balance-windows-area): Call window-size instead of
802 window-height and window-width. Bug#16241.
803
58f2b9a5
LI
8042013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
805
806 * net/eww.el (eww-bookmark-quit): Remove.
807 (eww-bookmark-browse): Restore the window configuration when you
808 choose a bookmark (bug#16144).
809
d64b6308
DC
8102013-12-24 Daniel Colascione <dancol@dancol.org>
811
812 * icomplete.el: Remove redundant :group arguments to `defcustom'
813 throughout.
814 (icomplete-show-matches-on-no-input): New customizable variable.
815 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
816 we have something to show.
7514d3f8 817 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 818
0da54898
DC
8192013-12-23 Daniel Colascione <dancol@dancol.org>
820
821 * icomplete.el: Move `provide' to end of file.
822
b90aa4f4
TZ
8232013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
824
825 * net/gnutls.el (gnutls-verify-error): Add version tag.
826
8cd22a08
CY
8272013-12-23 Chong Yidong <cyd@gnu.org>
828
829 * subr.el (set-transient-map): Rename from
830 set-temporary-overlay-map. Doc fix.
831
832 * face-remap.el (text-scale-adjust):
833 * indent.el (indent-rigidly):
834 * kmacro.el (kmacro-call-macro):
835 * minibuffer.el (minibuffer-force-complete):
836 * repeat.el (repeat):
837 * simple.el (universal-argument--mode):
838 * calendar/todo-mode.el (todo-insert-item--next-param):
839 * progmodes/f90.el (f90-abbrev-start): Callers changed.
840
7510b021
CY
841 * indent.el (indent-rigidly): Use substitute-command-keys.
842
72140a0f 8432013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
844
845 * net/eww.el (eww-tag-select): Add text-property to jump to next
846 select field.
e9dc713d 847 (eww): Add non-supported ftp error.
56890ecd 848
1f87a56c
DG
8492013-12-22 Dmitry Gutov <dgutov@yandex.ru>
850
851 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
852 comments. Handle electric indent after typing `?' and `!'.
853
dca38cf9
CY
8542013-12-22 Chong Yidong <cyd@gnu.org>
855
856 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
857 applicable to a frame, fall back on the defface spec.
858 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 859
f2351498
DG
8602013-12-22 Dmitry Gutov <dgutov@yandex.ru>
861
862 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
863 after `{'. We need it after block openers, and it doesn't seem
864 to hurt after hash openers.
865
6cddebc1
DG
8662013-12-22 Dmitry Gutov <dgutov@yandex.ru>
867
868 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
869 extracted from `ruby-smie-rules'.
870 (ruby--electric-indent-chars): New variable.
871 (ruby--electric-indent-p): New function.
872 (ruby-mode): Use `electric-indent-functions' instead of
873 `electric-indent-chars'.
874
65a1da00
DG
8752013-12-22 Dmitry Gutov <dgutov@yandex.ru>
876
877 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
878 docstring.
879 (ruby-smie-rules): Indent plus one level after `=>'.
880
b51ad4cf
RS
8812013-12-21 Richard Stallman <rms@gnu.org>
882
883 * simple.el (newline): Doc fix.
884
72140a0f 8852013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 886
e9dc713d 887 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
888 (eww-history-browse, eww-history-quit, eww-history-kill)
889 (eww-history-mode-map, eww-history-mode): New command and
890 functions to list browser histories.
e9dc713d
JB
891 (eww-form-text): Support text form with disabled
892 and readonly attributes.
893 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 894
5e1901c1
RS
8952013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
896
897 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
898 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
899 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
900 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
901 Use `user-error'.
902 (eww-bookmark-mode-map): Add menu.
903 (eww-render, eww-mode): Use `setq-local'.
904 (eww-tool-bar-map): New variable.
905 (eww-mode): Set `tool-bar-map'.
906 (eww-view-source): Check for `html-mode' with `fboundp'.
907
073d5cfd
LMI
9082013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
909
910 * net/shr.el (shr--extract-best-source): Don't bug out on audio
911 elements with text inside. Also remove debugging.
912
41cf3d11
JD
9132013-12-21 Jan Djärv <jan.h.d@swipnet.se>
914
915 * cus-start.el (all): Add ns-use-srgb-colorspace.
916
aac2b673
CY
9172013-12-21 Chong Yidong <cyd@gnu.org>
918
919 * custom.el (custom-theme-recalc-face): Do nothing if the face is
920 undefined. Thus, theme settings for undefined faces do not take
921 effect until the faces are defined with defface, the same as with
922 theme variables.
923
924 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
925 (face-spec-reset-face): Don't assign extra properties in temacs.
926 (face-spec-recalc): Apply X resources too.
927
bacb0e77
CY
9282013-12-21 Chong Yidong <cyd@gnu.org>
929
930 * faces.el (face-spec-set):
931 * cus-face.el (custom-theme-set-faces, custom-set-faces):
932 * custom.el (defface): Doc fixes (Bug#16203).
933
77221051
CY
934 * indent.el (indent-rigidly-map): Add docstring, and move commands
935 into named functions.
936 (indent-rigidly-left, indent-rigidly-right)
937 (indent-rigidly-left-to-tab-stop)
938 (indent-rigidly-right-to-tab-stop): New functions. Decide on
939 indentation direction based on bidi direction, and accumulate
940 sequential commands in a single undo boundary.
941 (indent-rigidly--pop-undo): New utility function.
942
e0eb0550
JB
9432013-12-20 Juanma Barranquero <lekktu@gmail.com>
944
945 * faces.el (read-face-name): Require crm.el when using crm-separator.
946
3282bd2e
DC
9472013-12-20 Daniel Colascione <dancol@dancol.org>
948
949 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
950 so that we don't reflow comments into the shebang line.
951
1d42e5b6
JL
9522013-12-20 Juri Linkov <juri@jurta.org>
953
954 * saveplace.el (save-place-to-alist): Add `dired-filename' as
955 a position when `dired-directory' is non-nil. Check integer
956 positions with `integerp'.
957 (toggle-save-place, save-places-to-alist): Add check for
958 `dired-directory'.
959 (save-place-find-file-hook): Check integer positions with
960 `integerp'.
961 (save-place-dired-hook): Use `dired-goto-file' when
962 `dired-filename' is found in the assoc list. Check integer
963 positions with `integerp'.
964 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
965
966 * dired.el (dired-initial-position-hook): Rename back from
967 `dired-initial-point-hook'.
968 (dired-initial-position): Rename `dired-initial-point-hook' to
969 `dired-initial-position-hook'.
970 (dired-file-name-at-point): Doc fix. (Bug#15329)
971
24da7273
JL
9722013-12-20 Juri Linkov <juri@jurta.org>
973
974 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
975 (read-regexp-suggestions): New function.
976 (read-regexp): Use `read-regexp-defaults-function' to get default values.
977 Use `read-regexp-suggestions'. Add non-empty default to history
978 for empty input.
979 (occur-read-regexp-defaults-function): Remove function.
980 (occur-read-primary-args): Use `regexp-history-last' instead of
981 `occur-read-regexp-defaults-function'.
982
983 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
984 (hi-lock-line-face-buffer, hi-lock-face-buffer)
985 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
986 `hi-lock-read-regexp-defaults-function'. Doc fix.
987 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
988 with `find-tag-default-as-symbol-regexp'. Doc fix.
989 (hi-lock-read-regexp-defaults): Remove function.
990 (hi-lock-regexp-okay): Add check for null.
991
992 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
993 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
994
995 * subr.el (find-tag-default-as-symbol-regexp): New function.
996 (find-tag-default-as-regexp): Move symbol regexp formatting to
997 `find-tag-default-as-symbol-regexp'.
998
137f57c8
S
9992013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1000
1001 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1002 (Bug#14179)
1003
f3a66082
SB
10042013-12-20 Stephen Berman <stephen.berman@gmx.net>
1005
1006 * calendar/todo-mode.el: New implementation of item insertion
1007 commands and key bindings.
1008 (todo-key-prompt): New face.
1009 (todo-insert-item): New command.
1010 (todo-insert-item--parameters): New defconst, replacing defvar
1011 todo-insertion-commands-args-genlist.
1012 (todo-insert-item--param-key-alist): New defconst, replacing
1013 defvar todo-insertion-commands-arg-key-list.
1014 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1015 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1016 (todo-insert-item--next-param): New functions.
1017 (todo-insert-item--args, todo-insert-item--argleft)
1018 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1019 New variables.
1020 (todo-key-bindings-t): Change binding of "i" from
1021 todo-insertion-map to todo-insert-item.
1022 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1023 (todo-insertion-command-name, todo-insertion-commands-names)
1024 (todo-define-insertion-command, todo-insertion-commands)
1025 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1026
2f99433b
SB
10272013-12-20 Stephen Berman <stephen.berman@gmx.net>
1028
1029 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1030 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1031 eval-when-compile.
1032 (todo-move-category): Allow choosing a non-existing todo file to
1033 move the category to, and create that file.
1034 (todo-default-priority): New user option.
1035 (todo-set-item-priority): Use it.
1036 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1037 (desktop-restore-file-buffer): Declare.
1038 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1039 (todo-modes-set-2): Locally set desktop-save-buffer to
1040 todo-desktop-save-buffer.
1041 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1042 (auto-mode-alist): Add autoload cookie.
1043
131e4695
BB
10442013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1045
1046 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1047 helpers.el was a poor choice of name.
3cbfb935
BB
1048 (string-remove-prefix): New function.
1049 (string-remove-suffix): New function.
131e4695 1050
c44de18d
MR
10512013-12-20 Martin Rudalics <rudalics@gmx.at>
1052
1053 Fix assignment for new window total sizes.
1054 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1055 (window--pixel-to-total-1, window--pixel-to-total):
1056 Fix calculation of new total sizes.
c44de18d 1057
ca65efcc
VS
10582013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1059
1060 * comint.el (comint-output-filter): Fix rear-nonsticky property
1061 placement (Bug#16010).
1062
a9574eb7
CY
10632013-12-20 Chong Yidong <cyd@gnu.org>
1064
1065 * faces.el (read-color): Minor fix for completion function.
1066
b520f210
DG
10672013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1068
e0eb0550
JB
1069 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1070 New option. (Bug#16182)
b520f210
DG
1071 (ruby-smie--indent-to-stmt-p): Use it.
1072 (ruby-smie-rules): Revert the logic in the handling of `when'.
1073 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1074 (ruby-deep-arglist, ruby-deep-indent-paren)
1075 (ruby-deep-indent-paren-style): Update docstrings to note that the
1076 vars don't have any effect with SMIE.
1077
26b75b45
JB
10782013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1079
1080 * calc/calc.el (calc-enter, calc-pop): Use the variable
1081 `calc-context-sensitive-enter'.
1082
cf91cee7
LMI
10832013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1084
1085 * net/shr.el (shr-insert): Protect against infloops in degenerate
1086 tables.
1087
51d971b4
RS
10882013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1089
1090 * progmodes/octave.el (octave): Add link to manual and octave
1091 homepage.
1092 (octave-mode-menu): Link to octave-mode manual.
1093
8c2e462a
LL
10942013-12-20 Leo Liu <sdl.web@gmail.com>
1095
1096 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1097 insertion using skeleton-end-newline. (Bug#16138)
1098
501158bc
JL
10992013-12-20 Juri Linkov <juri@jurta.org>
1100
1101 * replace.el (occur-engine): Use `add-face-text-property'
1102 to add the face property to matches and titles. (Bug#14645)
1103
1104 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1105 the palette of other hi-lock colors.
1106 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1107
50ab1da6
JL
11082013-12-19 Juri Linkov <juri@jurta.org>
1109
1110 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1111 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1112 (minibuffer-history-symbol): Move variable declaration closer to
1113 its usage.
1114
1115 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1116 (Bug#14785)
1117
3d6e95e7
JL
11182013-12-19 Juri Linkov <juri@jurta.org>
1119
1120 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1121 New function.
1122 (log-edit-hook): Add it to :options. (Bug#16170)
1123
b41594fd
JL
11242013-12-19 Juri Linkov <juri@jurta.org>
1125
1126 * simple.el (eval-expression-print-format): Don't check for
1127 command names and the last command. Always display additional
1128 formats of the integer result in the echo area, and insert them
1129 to the current buffer only with a zero prefix arg.
1130 Display character when char-displayable-p is non-nil.
1131 (eval-expression): With a zero prefix arg, set `print-length' and
1132 `print-level' to nil, and insert the integer values from
1133 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1134
1135 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1136 `eval-last-sexp-arg-internal'. Doc fix.
1137 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1138 `eval-last-sexp-print-value'. Doc fix.
1139 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1140 Set `print-length' and `print-level' to nil when arg is zero.
1141 (eval-last-sexp): Doc fix.
1142 (eval-defun-2): Print the integer values from
1143 `eval-expression-print-format' at the end.
1144
1145 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1146 values from `eval-expression-print-format' at the end.
1147
1148 * ielm.el (ielm-eval-input): Print the integer
1149 values from `eval-expression-print-format' at the end.
1150
8f2be364
TZ
11512013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1152
1153 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1154 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1155
2230a6e3
SM
11562013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1159 (hl-line-highlight, global-hl-line-highlight): Use it.
1160 (hl-line-overlay): Use defvar-local.
1161
1269a680
JD
11622013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1163
1164 * term/ns-win.el: Require dnd.
1165 (global-map): Remove drag items.
1166 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1167 (ns-set-background-at-mouse):
1168 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1169 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1170 New functions.
1269a680 1171
049638ad
GM
11722013-12-19 Glenn Morris <rgm@gnu.org>
1173
1174 * emacs-lisp/ert.el (ert-select-tests):
1175 Fix string/symbol mixup. (Bug#16121)
1176
ce41edb4
DG
11772013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1178
1179 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1180 keywords to their parent.
1181
7e1549c9
DG
11822013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1183
1184 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1185 first arg to be a string (fixed dead code), or an operator symbol.
1186 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1187 operator symbols.
1188 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1189 did nothing. Don't respond to `(:after ".")', it will be called
1190 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1191 change anything. Only return indentation for binary operators
1192 when they are hanging. De-dent opening paren when its parent is
1193 `.', otherwise it looks bad when the dot is not at bol or eol
1194 (bug#16182).
1195
3ee4cd64
JL
11962013-12-19 Juri Linkov <juri@jurta.org>
1197
1198 * replace.el (query-replace-read-args): Split a non-negative arg
1199 and a negative arg into separate elements.
1200 (query-replace, query-replace-regexp, replace-string)
1201 (replace-regexp): Add arg `backward'. Doc fix.
1202 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1203 move point to the beginning of the match.
1204 (replace-search, replace-highlight): Use new arg `backward'
1205 to set the value of `isearch-forward'.
1206 (perform-replace): Add arg `backward' and use it to perform
1207 replacement backward. (Bug#14979)
1208
1209 * isearch.el (isearch-query-replace): Use a negative prefix arg
1210 to call `perform-replace' with a non-nil arg `backward'.
1211
0cda6b7b
JL
12122013-12-18 Juri Linkov <juri@jurta.org>
1213
1214 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1215 to the default list. Move `log-edit-show-files' to the end.
1216 Add more available functions to options.
1217 (log-edit): Move default specific settings to
1218 `log-edit-insert-message-template'. Don't move point.
1219 (log-edit-insert-message-template): New function.
1220 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1221 (Bug#16170)
1222
b216f0a6
JL
12232013-12-18 Juri Linkov <juri@jurta.org>
1224
1225 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1226 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1227
1d1c55dc
LL
12282013-12-18 Leo Liu <sdl.web@gmail.com>
1229
e9dc713d
JB
1230 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1231 (Bug#16186)
1d1c55dc 1232
64e4c76e
EZ
12332013-12-18 Eli Zaretskii <eliz@gnu.org>
1234
1235 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1236 formats for displaying file sizes when the -s switch is given.
1237 Instead, compute a separate format for displaying the size in
1238 blocks, which is displayed in addition to the "regular" size.
1239 When -h is given in addition to -s, produce size in blocks in
1240 human-readable form as well. (Bug#16179)
1241
b2984e39
TH
12422013-12-18 Tassilo Horn <tsdh@gnu.org>
1243
2230a6e3
SM
1244 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1245 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1246
50ff2e06
CY
12472013-12-18 Chong Yidong <cyd@gnu.org>
1248
0081bc84
CY
1249 * cus-edit.el (custom-magic-alist): Fix "themed" description
1250 (Bug#14348).
1251
a7ee9424
CY
1252 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1253 is non-nil, do not create a new entry in the symbol's theme-value
1254 or theme-face property; update theme-settings only (Bug#14664).
18874304 1255 (custom-available-themes): Doc fix.
a7ee9424 1256
8f942537
CY
1257 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1258 (Bug#15674).
1259
50ff2e06
CY
1260 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1261
83c60f60
KI
12622013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1263
1264 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1265 (Bug#13914).
1266
e0eb0550 12672013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1268
1269 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1270
1f41ee56
GM
12712013-12-18 Glenn Morris <rgm@gnu.org>
1272
1273 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1274 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1275
e82134b1
LW
12762013-12-18 Le Wang <l26wang@gmail.com>
1277
2230a6e3
SM
1278 * comint.el (comint-previous-matching-input-from-input):
1279 Retain point (Bug#13404).
e82134b1 1280
33f5d4c1
CY
12812013-12-18 Chong Yidong <cyd@gnu.org>
1282
1283 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1284
ccc9f6dc
GM
12852013-12-18 Glenn Morris <rgm@gnu.org>
1286
1287 * mail/emacsbug.el (report-emacs-bug):
1288 Only mention enable-multibyte-characters if non-standard.
1289
33dd8e95
JL
12902013-12-17 Juri Linkov <juri@jurta.org>
1291
1292 * arc-mode.el (archive-extract-by-file): Check if directory exists
1293 before deletion to not show irrelevant errors if it doesn't exist.
1294
7a409b30
JL
12952013-12-17 Juri Linkov <juri@jurta.org>
1296
1297 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1298 (Bug#14751)
1299
1300 * net/eww.el (browse-web): Add alias to `eww'.
1301 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1302 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1303
1304 * net/browse-url.el (browse-url-browser-function): Move `eww'
1305 closer to similar functions.
1306
1307 * startup.el (fancy-startup-screen, fancy-about-screen):
1308 Set browse-url-browser-function to eww-browse-url locally.
1309 (Bug#14751)
1310
2d6b6005
SM
13112013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1312
1313 * window.el (window--pixel-to-total): Remove unused `mini' var.
1314 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1315 (split-window): Remove unused `new' var.
1316 (window--display-buffer): Remove unused `frame' and `delta' vars.
1317 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1318 and display-width'.
1319
cf2b7efc
MR
13202013-12-17 Martin Rudalics <rudalics@gmx.at>
1321
1322 * dired.el (dired-mark-pop-up):
1323 * register.el (register-preview): Don't bind
1324 split-height-threshold here since it's now done in
1325 display-buffer-below-selected.
1326
ed3af8a7 13272013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1328
1329 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1330 xterm-rgb-convert-to-16bit.
1331 (rxvt-register-default-colors): Standardize with
1332 xterm-register-default-colors (Bug#14078).
1333
76da3455
DK
13342013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1335
1336 * simple.el (kill-region): Pass mark first, then point, so that
1337 kill-append works right (Bug#12819).
1338 (copy-region-as-kill, kill-ring-save): Likewise.
1339
2b84d763
LL
13402013-12-17 Leo Liu <sdl.web@gmail.com>
1341
1342 * net/rcirc.el (rcirc-add-face):
1343 * eshell/em-prompt.el (eshell-emit-prompt):
1344 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1345 (Bug#16167)
1346
e2f6a0bc
CY
13472013-12-17 Chong Yidong <cyd@gnu.org>
1348
1349 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1350 Suggested by Xue Fuqiao.
1351
35b249a6
DG
13522013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1353
1354 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1355
e9145444
SM
13562013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * net/shr.el (shr-insert-document): Remove unused var
1359 `shr-preliminary-table-render'.
1360 (shr-rescale-image): Remove unused arg `force'.
1361 (shr-put-image): Update calls accordingly.
1362 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1363
5556c0ce
DG
13642013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1365
1366 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1367 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1368 :close-all, to see which indentation method to use (Bug#16116).
1369 (smie-rules-function): Document the method :close-all.
1370
11bade0a
LMI
13712013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1372
1c4b1e61
LMI
1373 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1374
11bade0a
LMI
1375 * net/eww.el (eww-display-html): If we can't find the anchor we're
1376 looking for, then go to point-min.
1377
8fb8c4f3
PE
13782013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1379
1380 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1381 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1382 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1383 Expand dir too, in case it's relative.
1384
6c8e0ae6
JL
13852013-12-16 Juri Linkov <juri@jurta.org>
1386
1387 * desktop.el (desktop-auto-save-timeout): Change default to
1388 `auto-save-timeout'. Doc fix.
1389 (desktop-save): Skip the timestamp in desktop-saved-frameset
1390 when checking for auto-save changes.
1391 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1392 `desktop-auto-save' is called repeatedly by the idle timer.
1393 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1394 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1395 (Bug#15331)
1396
2178e858
JL
13972013-12-16 Juri Linkov <juri@jurta.org>
1398
1399 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1400 (Bug#16035)
1401 (isearch-pre-command-hook): Check `this-command' for symbolp.
1402
39cb42c6
SM
14032013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1406
5b9b750a
TZ
14072013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1408
1409 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1410 (cfengine3--current-function): Bring in the current-function
1411 functionality from `cfengine3--current-word'.
1412 (cfengine3-completion-function): Bring in the
1413 bounds-of-current-word functionality from
1414 `cfengine3--current-word'.
1415
d144ef06
MR
14162013-12-16 Martin Rudalics <rudalics@gmx.at>
1417
39cb42c6
SM
1418 * window.el (display-buffer-below-selected):
1419 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1420
a8bbe298
LL
14212013-12-16 Leo Liu <sdl.web@gmail.com>
1422
1423 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1424 Remove NOMSG arg and all uses changed.
1425
2013a2f9
SM
14262013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1429 (cua--deactivate-rectangle): Don't deactivate the mark.
1430 (cua-set-rectangle-mark): Don't set mark-active since
1431 cua--activate-rectangle already does it for us.
1432 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1433 non-rectangular region.
1434
1435 * emulation/cua-base.el (cua-repeat-replace-region):
1436 Use with-current-buffer.
1437
1438 * net/gnutls.el: Use cl-lib.
1439 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1440
5ae811dd
TZ
14412013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1442
1443 * emacs-lisp/package.el (package-built-in-p): Support both
1444 built-in and the package.el converted package descriptions.
1445 (package-show-package-list): Allow keywords.
1446 (package-keyword-button-action): Use it instead of
1447 `finder-list-matches'.
1448 (package-menu-filter-interactive): Interactive filtering (by
1449 keyword) function.
1450 (package-menu--generate): Support keywords and change keymappings
1451 and headers when they are given.
1452 (package--has-keyword-p): Helper function.
1453 (package-menu--refresh): Use it.
1454 (package--mapc): Helper function.
1455 (package-all-keywords): Use it.
1456 (package-menu-mode-map): Set up menu items and keybindings to
1457 provide a filtering UI.
1458
31b4827e
TZ
14592013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1460
1461 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1462 the behavior when a certificate fails validation. Defaults to
1463 old behavior: never abort, just warn.
1464 (gnutls-negotiate): Use it.
1465
f93cc74f
MR
14662013-12-14 Martin Rudalics <rudalics@gmx.at>
1467
1468 * window.el (display-buffer-below-selected): Never split window
1469 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1470
f77d7d17
TW
14712013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1472
1473 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1474 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1475
7514d3f8
SM
14762013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1477
aa2bddd7 1478 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1479 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1480
276bc333
DG
14812013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1482
1483 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1484 open-paren tokens when preceded by a open-paren, too.
1485 (ruby-smie-rules): Handle virtual indentation after open-paren
1486 tokens specially. If there is code between it and eol, return the
1487 column where is starts (Bug#16118).
1488
d43957f3
TZ
14892013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1490
a5c1ac0c 1491 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1492 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1493 (cfengine3--current-word): Fix parameters.
1494 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1495 (cfengine3-completion-function, cfengine3--current-function):
1496 Use `assq' for symbols.
d43957f3
TZ
1497 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1498
06a4f110
GM
14992013-12-13 Glenn Morris <rgm@gnu.org>
1500
1501 * loadup.el (load-path): Warn if site-load or site-init changes it.
1502 No more need to reset it when bootstrapping.
1503
978a5fda
TZ
15042013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1505
1506 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1507 locations for cf-promises.
1508 (cfengine-mode-syntax-functions-regex): New caching variable.
1509 (cfengine3-fallback-syntax): Fallback syntax for cases where
1510 cf-promises doesn't run.
1511 (cfengine3--current-word): Reimplement using
1512 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1513 (cfengine3-completion-function, cfengine3--current-function):
1514 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1515 (cfengine3-clear-syntax-cache): New function.
1516 (cfengine3-make-syntax-cache): Simplify and create
1517 `cfengine-mode-syntax-functions-regex' on demand.
1518 (cfengine3-format-function-docstring): Don't call
1519 `cfengine3-make-syntax-cache' explicitly.
1520
71e6691e
MR
15212013-12-13 Martin Rudalics <rudalics@gmx.at>
1522
1523 Fix windmove-find-other-window broken after pixelwise resizing
1524 (Bug#16017).
1525 * windmove.el (windmove-other-window-loc): Revert change from
1526 2013-12-04.
1527 (windmove-find-other-window): Call window-in-direction.
1528 * window.el (window-in-direction): New arguments SIGN, WRAP and
1529 MINI to emulate original windmove-find-other-window behavior.
1530
84c73ba0
DG
15312013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * simple.el (blink-matching--overlay): New variable.
1534 (blink-matching-open): Instead of moving point, highlight the
1535 matching paren with an overlay
1536 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1537
1538 * faces.el (paren-showing-faces, show-paren-match)
1539 (show-paren-mismatch): Move from paren.el.
1540
b9e20952
LL
15412013-12-13 Leo Liu <sdl.web@gmail.com>
1542
1543 * indent.el (indent-region): Disable progress reporter in
1544 minibuffer. (Bug#16108)
1545
1546 * bindings.el (visual-order-cursor-movement): Fix version.
1547
ce030451
FEG
15482013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1549
1550 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1551 Also match after beginning of line.
1552 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1553 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1554
4a9c6865
JL
15552013-12-13 Juri Linkov <juri@jurta.org>
1556
1557 * simple.el <Keypad support>: Remove key bindings duplicated
1558 with bindings.el. (Bug#14397)
1559
2bc170c3
JL
15602013-12-13 Juri Linkov <juri@jurta.org>
1561
1562 * comint.el (comint-mode-map): Replace `delete-char' with
1563 `delete-forward-char'. (Bug#16109)
1564
bc9222c9
FEG
15652013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1566
aa2bddd7 1567 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1568 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1569
cb3a1380
SM
15702013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1571
1572 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1573 (advice--make): Pay attention to `depth'.
1574 (advice--make-1): Don't autoload commands eagerly.
1575 * emacs-lisp/elp.el (elp-instrument-function):
1576 * emacs-lisp/trace.el (trace-function-internal):
1577 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1578
1579 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1580
01633a17
EZ
15812013-12-12 Eli Zaretskii <eliz@gnu.org>
1582
1583 * term/w32-win.el (w32-handle-dropped-file):
1584 * startup.el (normal-top-level):
1585 * net/browse-url.el (browse-url-file-url):
1586 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1587 decode file names using 'utf-8' rather than
1588 file-name-coding-system.
1589
09faee72
FEG
15902013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1591
1592 * progmodes/python.el (python-indent-context)
1593 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1594 behavior for comment blocks. (Bug#15916)
09faee72 1595
f4f84024 15962013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1597
cb3a1380
SM
1598 * progmodes/python.el (python-indent-calculate-indentation):
1599 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1600 operators when they are just string constituents. (Bug#15812)
1601
d5ccb7be
JL
16022013-12-12 Juri Linkov <juri@jurta.org>
1603
1604 * uniquify.el (uniquify-buffer-name-style): Change default to
1605 `post-forward-angle-brackets'.
1606
1607 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1608 `uniquify'. Change default to `post-forward-angle-brackets'.
1609
7b3f5679
GM
16102013-12-11 Glenn Morris <rgm@gnu.org>
1611
1612 * emacs-lisp/package.el (finder-list-matches):
1613 Autoload rather than falsely declaring.
1614
f4fe8fdd
TZ
16152013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1616
1617 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1618 (eww-mode-map): Use them.
1619
3c29190f
MR
16202013-12-11 Martin Rudalics <rudalics@gmx.at>
1621
1622 * window.el (display-buffer-in-side-window): Fix doc-string
1623 (Bug#16115).
1624
0cd616a2
JB
16252013-12-11 Juanma Barranquero <lekktu@gmail.com>
1626
1627 * vc/vc-git.el: Silence byte-compiler warnings.
1628 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1629 (log-edit-set-header): Declare.
1630
3ef8e0d1
EZ
16312013-12-11 Eli Zaretskii <eliz@gnu.org>
1632
1633 * Makefile.in (custom-deps, finder-data): Run output file names
1634 through unmsys--file-name. (Bug#16099)
1635
afdadaf7
SM
16362013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1637
7ae3ae39 1638 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1639 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1640
5b4f37ab
SM
1641 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1642 instead of deleting the selection "by hand" (bug#16098).
1643 Rely on insert-for-yank to yank rectangles.
1644 (cua-highlight-region-shift-only): Mark obsolete.
1645 (cua-mode): Don't enable/disable transient-mark-mode,
1646 shift-select-mode (cua-mode works both with and without them), and
1647 pc-selection-mode (obsolete).
1648 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1649 (cua--deactivate-rectangle): Deactivate it.
1650
4b72c12b
SM
1651 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1652 (delete-selection-helper): Make sure yank starts at the top of the
1653 deleted region.
1654 (minibuffer-keyboard-quit): Use region-active-p.
1655
e82af72d
SM
1656 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1657
afdadaf7
SM
1658 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1659 to `delete' (bug#16109).
1660
ed4bc201
RS
16612013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1662
1663 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1664 info manual and show keybindings and set `:group' keyword.
1665
bb8097b9
JL
16662013-12-11 Juri Linkov <juri@jurta.org>
1667
1668 * delsel.el (delete-active-region): Let-bind `this-command'
1669 to prevent `kill-region' from changing its original value.
1670 (delete-selection-helper): Handle `overwrite-mode' for the type
1671 `kill' exactly the same way as for the type `t'.
1672 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1673 Support more commands. (Bug#13312)
1674
c1916ff5
JL
16752013-12-11 Juri Linkov <juri@jurta.org>
1676
1677 * bindings.el: Map kp keys to non-kp keys systematically
1678 with basic modifiers control, meta and shift. (Bug#14397)
1679
7514d3f8 16802013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1681
1682 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1683 "Close browser" menu items. Fix wrong function of "List
1684 bookmarks".
1685
4cc51eaf
JL
16862013-12-11 Juri Linkov <juri@jurta.org>
1687
1688 * misearch.el (multi-isearch-buffers): Set the value of
1689 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1690 arg of isearch-forward to t.
1691 (multi-isearch-buffers-regexp): Set the value of
1692 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1693 arg of isearch-forward-regexp to t.
1694 (multi-isearch-files): Set the value of
1695 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1696 arg of isearch-forward to t.
1697 (multi-isearch-files-regexp): Set the value of
1698 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1699 arg of isearch-forward-regexp to t. (Bug#16035)
1700
1701 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1702 arg of isearch-forward to t.
1703 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1704 arg of isearch-forward-regexp to t.
1705 (dired-isearch-filter-filenames): Remove unnecessary check for
1706 `dired-isearch-filenames'.
1707
1708 * comint.el (comint-history-isearch-backward):
1709 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1710 (comint-history-isearch-backward-regexp):
1711 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1712
ceac12b7
EZ
17132013-12-10 Eli Zaretskii <eliz@gnu.org>
1714
1715 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1716 unmsys--file-name. (Bug#16099)
1717
5a565782
TZ
17182013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1719
cb3a1380
SM
1720 * emacs-lisp/package.el (package-keyword-button-action):
1721 Remove finder.el require dependency.
5a565782 1722
a81fc7ba
TZ
17232013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1724
1725 * emacs-lisp/package.el: Require finder.el.
1726 (describe-package-1): Add keyword buttons.
1727 (package-make-button): New convenience function.
1728 (package-keyword-button-action): Keyword button action using
e0eb0550 1729 `finder-list-matches'.
a81fc7ba 1730
6aaca951
EZ
17312013-12-09 Eli Zaretskii <eliz@gnu.org>
1732
1733 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1734 last commit.
1735
a1099a91
MA
17362013-12-09 Michael Albinus <michael.albinus@gmx.de>
1737
1738 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1739 symlinked files.
1740
8212d9c0
DG
17412013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1742
1743 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1744 after the end of a percent literal.
1745
8f48d131
CD
17462013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1747
cb3a1380
SM
1748 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1749 Handle caret-delimited strings (Bug#16079).
8f48d131 1750
ff8c9764
DG
17512013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1752
cb3a1380
SM
1753 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1754 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1755 `ruby-parse-partial' (Bug#16078).
1756
d64643b4
LL
17572013-12-09 Leo Liu <sdl.web@gmail.com>
1758
1759 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1760
47e59c66
DG
17612013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1762
1763 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1764 (js-switch-indent-offset): New option.
1765 (js--proper-indentation): Use it. And handle the case when
1766 "default" is actually a key in an object literal.
1767 (js--same-line): New function.
1768 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1769 (js--indent-in-array-comp, js--array-comp-indentation):
1770 New functions.
47e59c66
DG
1771 (js--proper-indentation): Use them, to handle array comprehension
1772 continuations.
1773
974ebc9c
LL
17742013-12-08 Leo Liu <sdl.web@gmail.com>
1775
1776 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1777 (flymake-make-overlay): Remove arg MOUSE-FACE.
1778 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1779
27262e39
SM
17802013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1783 New function.
1784 (redisplay-highlight-region-function): Use it.
1785
1786 * emulation/cua-base.el (cua--explicit-region-start)
1787 (cua--last-region-shifted): Remove.
1788 (cua--deactivate): Use deactivate-mark.
1789 (cua--pre-command-handler-1): Don't handle shift-selection.
1790 (cua--post-command-handler-1): Don't change transient-mark-mode.
1791 (cua--select-keymaps): Use region-active-p rather than
1792 cua--explicit-region-start or cua--last-region-shifted.
1793 (cua-mode): Enable shift-select-mode.
1794
6407822c
LL
17952013-12-08 Leo Liu <sdl.web@gmail.com>
1796
27262e39
SM
1797 * progmodes/flymake.el (flymake-popup-current-error-menu):
1798 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1799 (flymake-posn-at-point-as-event, flymake-popup-menu)
1800 (flymake-make-emacs-menu): Remove. (Bug#16077)
1801
00a2b823
SM
18022013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1803
02033d49
SM
1804 * rect.el (rectangle-mark-mode): Activate mark even if
1805 transient-mark-mode is off (bug#16066).
1806 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1807 is > mark and at bolp.
1808
6f8dfccf
SM
1809 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1810 (region-extract-function): Use it.
1811 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1812 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1813 Delete functions.
1814 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1815 kill-ring-save, kill-region, delete-char, delete-forward-char.
1816 Ignore self-insert-iso.
1817
1818 * emulation/cua-gmrk.el (cua--init-global-mark):
1819 Ignore `self-insert-iso'.
1820
1821 * emulation/cua-base.el (cua--prefix-copy-handler)
1822 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1823 checking cua--rectangle.
1824 (cua-delete-region): Use region-extract-function.
1825 (cua-replace-region): Delete function.
1826 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1827 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1828 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1829 (cua--init-keymaps): Don't remap delete-selection commands.
1830 (cua-mode): Use delete-selection-mode instead of rolling our own
1831 (bug#16085).
1832
1833 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1834 Obey region-extract-function.
1835
00a2b823
SM
1836 Make registers and delete-selection-mode work on rectangles.
1837 * register.el (describe-register-1): Don't modify the register's value.
1838 (copy-to-register): Obey region-extract-function.
1839 * delsel.el (delete-active-region): Obey region-extract-function.
1840
a92fa5f1
LL
18412013-12-08 Leo Liu <sdl.web@gmail.com>
1842
1843 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1844 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1845 (flymake-compilation-prevents-syntax-check)
1846 (flymake-start-syntax-check-on-newline)
1847 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1848 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1849 (flymake-xml-program, flymake-master-file-dirs)
1850 (flymake-master-file-count-limit)
1851 (flymake-allowed-file-name-masks): Relocate.
1852 (flymake-makehash, flymake-float-time)
1853 (flymake-replace-regexp-in-string, flymake-split-string)
1854 (flymake-get-temp-dir): Remove.
1855 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1856 (flymake-current-row, flymake-selected-frame)
1857 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1858 related functions. (Bug#16077)
1859
73c8ceea
BB
18602013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1861
1862 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1863
faec28d9
TH
18642013-12-07 Tassilo Horn <tsdh@gnu.org>
1865
1866 * help-fns.el (describe-function-1): Use new advice-* functions
1867 rather than old ad-* functions. Fix function type description and
1868 source links for advised functions and subrs.
1869
e330b646
LMI
18702013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1871
00a2b823 1872 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1873
4803595d
MA
18742013-12-06 Michael Albinus <michael.albinus@gmx.de>
1875
1876 * progmodes/compile.el (compilation-start):
1877 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1878
1879 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1880 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1881
fa834a93
DG
18822013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1883
00a2b823
SM
1884 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1885 Touch up the last change.
fa834a93 1886
b2856a6f
LL
18872013-12-06 Leo Liu <sdl.web@gmail.com>
1888
1889 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1890 (inferior-octave-startup): Always use "octave> " for prompt.
1891 (octave-goto-function-definition)
1892 (octave-sync-function-file-names)
1893 (octave-find-definition-default-filename): Remove redundant backquotes.
1894
af67e79a
DG
18952013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1896
1897 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1898 syntax for `?'.
1899 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1900 where appropriate already.
1901 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1902 end of method names (Bug#15874).
1903
bf093209
JL
19042013-12-06 Juri Linkov <juri@jurta.org>
1905
1906 * isearch.el (isearch--saved-overriding-local-map):
1907 New internal variable.
1908 (isearch-mode): Set it to the initial value of
1909 `overriding-terminal-local-map'.
1910 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1911 with `isearch--saved-overriding-local-map'. (Bug#16035)
1912
16588fad
DG
19132013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1914
00a2b823
SM
1915 * progmodes/octave.el (inferior-octave-completion-table):
1916 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1917 (Bug#11906). Update all references.
1918
1919 * minibuffer.el (completion-table-with-cache): New function.
1920
bf4906d7
CD
19212013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1922
1923 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1924
ff69c18f
TZ
19252013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1926
1927 * net/eww.el (eww-current-source): New variable to store page
1928 source.
1929 (eww-display-html, eww-mode, eww-save-history)
1930 (eww-restore-history): Use it.
1931 (eww-view-source): New command to view page source.
1932 Opportunistically uses `html-mode' to highlight the buffer.
1933 (eww-mode-map): Install it.
1934
b85eff45
MA
19352013-12-05 Michael Albinus <michael.albinus@gmx.de>
1936
1937 * net/dbus.el (dbus-unregister-service)
1938 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1939 Fix docstring.
1940 (dbus-unregister-service): Skip :serial entries in
1941 `dbus-registered-objects-table'.
1942 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1943
39eb0899
TZ
19442013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
1945
1946 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1947 around keywords with extra `split-string' argument.
1948
456760a5
MR
19492013-12-04 Martin Rudalics <rudalics@gmx.at>
1950
1951 * windmove.el (windmove-other-window-loc): Handle navigation
1952 between windows (excluding the minibuffer window - Bug#16017).
1953
81961e4c
MA
19542013-12-04 Michael Albinus <michael.albinus@gmx.de>
1955
1956 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1957 in D-Bus type syntax.
1958 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1959 preserve unibyte strings. (Bug#16048)
1960
8497f938
SM
19612013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1962
1963 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1964 Call force-mode-line-update is the proper buffer (bug#16042).
1965
dda61916
DG
19662013-12-04 Dmitry Gutov <dgutov@yandex.ru>
1967
1968 * vc/log-edit.el (log-edit-add-new-comment): Rename to
1969 `log-edit-remember-comment', make argument optional. Adjust all
1970 callers.
1971 (log-edit-mode): Add `log-edit-remember-comment' to
1972 `kill-buffer-hook' locally.
1973 (log-edit-kill-buffer): Don't remember comment explicitly since
1974 the buffer is killed anyway.
1975
c085e5b9
JL
19762013-12-04 Juri Linkov <juri@jurta.org>
1977
1978 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1979 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1980
e0eb0550 19812013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
1982
1983 * notifications.el (notifications-close-notification): Call the
81961e4c 1984 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 1985
39fa32d6
KY
19862013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1987
1988 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1989
9139632a
JL
19902013-12-03 Juri Linkov <juri@jurta.org>
1991
1992 * progmodes/compile.el (compilation-start): Rename window alist
1993 entry `no-display-ok' to `allow-no-window'.
1994
1995 * simple.el (shell-command): Add window alist entry
1996 `allow-no-window' to `display-buffer'.
1997 (async-shell-command): Doc fix.
1998
1999 * window.el (display-buffer-no-window): New action function.
2000 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2001
0f457a37
DG
20022013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2003
2004 * vc/log-edit.el (log-edit-set-header): Extract from
2005 `log-edit-toggle-header'.
2006 (log-edit-extract-headers): Separate the summary, when extracted
2007 from header, from the rest of the message with an empty line.
2008
2009 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2010 line, if present, to the Summary header.
2011
0962f376
SM
20122013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2013
2014 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2015 in current-buffer (bug#16029).
2016
f345395c
HE
20172013-12-02 Helmut Eller <eller.helmut@gmail.com>
2018
2019 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2020 (debugger-mode-map): Bind it.
2021 (debugger--backtrace-base): New function.
2022 (debugger-eval-expression): Use it.
2023 (debugger-frame-number): Skip local vars when present.
2024 (debugger--locals-visible-p, debugger--insert-locals)
2025 (debugger--show-locals, debugger--hide-locals): New functions.
2026
a8a15d9d
MA
20272013-12-02 Michael Albinus <michael.albinus@gmx.de>
2028
2029 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2030 "LC_ALL".
2031 (tramp-get-remote-locale): New defun.
2032 (tramp-open-connection-setup-interactive-shell): Use it.
2033
0518b057
LL
20342013-12-02 Leo Liu <sdl.web@gmail.com>
2035
2036 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2037
2038 * progmodes/sh-script.el (sh-shell-process):
2039 * progmodes/octave.el (inferior-octave-process-live-p):
2040 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2041 (gdb-inferior-io-sentinel):
2042 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2043
3adc9c6d
DG
20442013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2045
2046 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2047 `save-selected-window' to `log-edit-hide-buf'. This makes
2048 `log-edit-show-files' idempotent.
2049 (log-edit-show-files): Mark the new window as dedicated.
2050
47e8b74e
DG
20512013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * vc/log-edit.el (log-edit-mode-map): Add binding for
2054 `log-edit-kill-biffer'.
2055 (log-edit-hide-buf): Add a FIXME comment.
2056 (log-edit-add-new-comment): New function, extracted from
2057 `log-edit-done'.
2058 (log-edit-done, log-edit-add-to-changelog): Use it.
2059 (log-edit-kill-buffer): New command.
2060
1f6e1bb0
LMI
20612013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2062
2063 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2064 instead of killing the buffer.
2065
fb651d15
SM
20662013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2067
2068 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2069
8feacce0
RS
20702013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2071
fb651d15 2072 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2073 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2074 (eww-form-checkbox, eww-toggle-checkbox):
2075 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2076
e0eb0550 2077 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2078 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2079 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2080 no :src tag was specified.
2081
fb651d15 2082 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2083 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2084 Use \\` to match beginning of string instead of ^.
2085 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2086 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2087
177948a5
RS
2088 * net/shr.el (shr-tag-video): Display content for video if no
2089 poster is available.
eb2dd24d 2090 (shr-tag-audio): Add support for <audio> tag.
177948a5 2091
e0eb0550 2092 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2093 (eww-process-text-input): Treat input types in
2094 `eww-text-input-types' as text.
2095
8feacce0
RS
2096 * net/shr.el (shr-tag-table): Fix comment typo.
2097
513562a1
LMI
20982013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2099
2100 * net/eww.el (eww-follow-link): New command to avoid reloading
2101 pages when we follow #target links (bug#15243).
de8a5633 2102 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2103
9dd99753
KN
21042013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2105
2106 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2107 forms.
2108
3e9876de
LMI
21092013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2110
2111 * net/eww.el (eww-restore-history): Update the window title after
2112 moving in the history.
ab6dea82 2113 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2114
52789f7f
DG
21152013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2116
2117 * vc/log-edit.el (log-edit-mode-map): Add binding for
2118 `log-edit-beginning-of-line'.
2119 (log-edit-setup-add-author): New user option.
2120 (log-edit-beginning-of-line): New command.
2121 (log-edit): Move major mode call above the contents setup so that
2122 the local variable values are already applied.
2123 (log-edit): Only insert "Author: " when
2124 `log-edit-setup-add-author' is non-nil.
2125 (log-edit): When SETUP is non-nil, position point after ": "
2126 instead of point-min.
2127
2e6710c3
GM
21282013-12-01 Glenn Morris <rgm@gnu.org>
2129
2130 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2131
fadec31f
EZ
21322013-11-30 Eli Zaretskii <eliz@gnu.org>
2133
2134 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2135 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2136 visible. (Bug#16014)
2137
10634b40 21382013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2139
2140 Support resizing frames and windows pixelwise.
2141 * cus-start.el (frame-resize-pixelwise)
2142 (window-resize-pixelwise): New entries.
2143 * emacs-lisp/debug.el (debug): Use window-total-height instead
2144 of window-total-size.
2145 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2146 * help.el (describe-bindings-internal): Call help-buffer
2147 (temp-buffer-max-width): New option.
2148 (resize-temp-buffer-window, help-window-setup)
2149 (with-help-window): Rewrite.
2150 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2151 dragging dividers.
2152 * window.el (frame-char-size, window-min-pixel-height)
2153 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2154 (window-min-pixel-width, window-safe-min-pixel-size)
2155 (window-combination-p, window-safe-min-size)
2156 (window-resizable-p, window--size-to-pixel)
2157 (window--pixel-to-size, window--resize-apply-p): New functions.
2158 (window-safe-min-height): Fix doc-string.
2159 (window-size, window-min-size, window--min-size-1)
2160 (window-sizable, window-sizable-p, window--min-delta-1)
2161 (window-min-delta, window--max-delta-1, window-max-delta)
2162 (window--resizable, window--resizable-p, window-resizable)
2163 (window-full-height-p, window-full-width-p, window-at-side-p)
2164 (window--in-direction-2, window-in-direction)
2165 (window--resize-reset-1, window--resize-mini-window)
2166 (window-resize, window-resize-no-error)
2167 (window--resize-child-windows-normal)
2168 (window--resize-child-windows, window--resize-siblings)
2169 (window--resize-this-window, window--resize-root-window)
2170 (window--resize-root-window-vertically)
2171 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2172 (maximize-window, minimize-window, delete-window)
2173 (quit-restore-window, window-split-min-size, split-window)
2174 (balance-windows-2, balance-windows)
2175 (balance-windows-area-adjust, balance-windows-area)
2176 (window--state-get-1, window-state-get, window--state-put-1)
2177 (window--state-put-2, window-state-put)
fb651d15
SM
2178 (display-buffer-record-window, window--display-buffer):
2179 Make functions handle pixelwise sizing of windows.
880e6158 2180 (display-buffer--action-function-custom-type)
fb651d15
SM
2181 (display-buffer-fallback-action):
2182 Add display-buffer-in-previous-window.
880e6158
MR
2183 (display-buffer-use-some-window): Resize window to height it had
2184 before.
2185 (fit-window-to-buffer-horizontally): New option.
2186 (fit-frame-to-buffer): Describe new values.
2187 (fit-frame-to-buffer-bottom-margin): Replace with
2188 fit-frame-to-buffer-margins.
2189 (window--sanitize-margin): New function.
2190 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2191 using window-text-pixel-size.
2192
f9b697dd
GM
21932013-11-30 Glenn Morris <rgm@gnu.org>
2194
3e2fb4db
GM
2195 * emacs-lisp/bytecomp.el (byte-compile-form):
2196 Make the `interactive-only' warning like the `obsolete' one.
2197 * comint.el (comint-run):
2198 * files.el (insert-file-literally, insert-file):
2199 * replace.el (replace-string, replace-regexp):
2200 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2201 (goto-line, insert-buffer, next-line, previous-line):
2202 Tweak `interactive-only' spec.
2203
f9b697dd
GM
2204 Stop keeping (most) generated cedet grammar files in the repository.
2205 * Makefile.in (semantic): New.
2206 (compile-main): Depend on semantic.
2207
da048127
SM
22082013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2209
7784b779
SM
2210 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2211 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2212
4e36a6a6
SM
2213 * uniquify.el (uniquify-buffer-name-style): Change default.
2214
2215 * loadup.el: Preload "uniquify".
2216
e0ba1308
SM
2217 * time.el (display-time-update): Update all mode lines (bug#15999).
2218
da048127
SM
2219 * electric.el (electric-indent-mode): Enable by default.
2220 * loadup.el: Preload "electric".
2221
015b3b3e
BB
22222013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2223
2224 * emacs-lisp/helpers.el (string-empty-p): New function.
2225 (string-blank-p): New function.
2226
7efb806d
AP
22272013-11-29 Andreas Politz <politza@hochschule-trier.de>
2228
2229 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2230 (Bug#14029).
2231
c8f0efc2
AP
22322013-11-29 Andreas Politz <politza@fh-trier.de>
2233 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2234 allow non-lambda lists as functions.
2235 (imenu--in-alist): Don't recurse into non-subalists.
2236 (imenu): Don't pass function itself as an argument (Bug#14029).
2237
bd15d9d1
SM
22382013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2239
2240 * progmodes/python.el (python-mode-map): Remove binding for ":".
2241 (python-indent-electric-colon): Remove command.
2242 (python-indent-post-self-insert-function): Integrate the previous code
2243 of python-indent-electric-colon. Make it conditional on
2244 electric-indent-mode.
2245 (python-mode): Add ?: to electric-indent-chars.
2246 Move python-indent-post-self-insert-function to the end of
2247 post-self-insert-hook.
2248
1b10adb6
SM
22492013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2250
655ab9a3
SM
2251 * doc-view.el (doc-view-goto-page): Update mode-line.
2252
1b10adb6
SM
2253 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2254
7e3bf78c
GM
22552013-11-27 Glenn Morris <rgm@gnu.org>
2256
2257 * international/charprop.el, international/uni-bidi.el:
2258 * international/uni-category.el, international/uni-combining.el:
2259 * international/uni-comment.el, international/uni-decimal.el:
2260 * international/uni-decomposition.el, international/uni-digit.el:
2261 * international/uni-lowercase.el, international/uni-mirrored.el:
2262 * international/uni-name.el, international/uni-numeric.el:
2263 * international/uni-old-name.el, international/uni-titlecase.el:
2264 * international/uni-uppercase.el:
2265 Remove generated files from VCS repository.
2266
fb6a5d68
EZ
22672013-11-27 Eli Zaretskii <eliz@gnu.org>
2268
2269 * filenotify.el (file-notify-add-watch): Don't special-case
2270 w32notify when computing the directory to watch.
2271
cb6c95a3
GM
22722013-11-27 Glenn Morris <rgm@gnu.org>
2273
20372d0c
GM
2274 Make bootstrap without generated uni-*.el files possible again.
2275 * loadup.el: Update command-line-args checking for unidata-gen.
2276 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2277 * composite.el, international/characters.el:
2278 Handle unicode tables being undefined.
2279
52d6635f 2280 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2281 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2282 (compile-main): Depend on leim rule.
2283 (leim): New rule.
2284 * loadup.el: Move leim-list.el to leim/ subdirectory.
2285 * startup.el (normal-top-level): No more leim directory.
2286 * international/ja-dic-cnv.el (skkdic-convert):
2287 Disable version-control and autoloads in output files.
2288 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2289 Disable version-control and autoloads in output files.
2290 * leim/quail: Move here from ../leim.
2291 * leim/quail/hangul.el (hangul-input-method-activate):
2292 Add autoload cookie.
2293 (generated-autoload-load-name): Set file-local value.
2294 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2295 (generated-autoload-load-name): Set file-local value.
2296
7514d3f8 22972013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2298
e0eb0550 2299 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2300 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2301 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2302
0e2c793f
EZ
23032013-11-26 Eli Zaretskii <eliz@gnu.org>
2304
2305 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2306 reading output from Diff on MS-Windows and MS-DOS.
2307
447bdcb8
BB
23082013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2309
2310 * emacs-lisp/helpers.el (string-reverse): New function.
2311
5fbf6856
MA
23122013-11-26 Michael Albinus <michael.albinus@gmx.de>
2313
2314 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2315 names on MS Windows, like "/[::1]:".
2316
2317 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2318 SWITCHES.
2319
624780f0
GM
23202013-11-26 Glenn Morris <rgm@gnu.org>
2321
0bf3f0fa
GM
2322 * progmodes/python.el (python-indent-guess-indent-offset):
2323 Avoid corner-case error. (Bug#15975)
2324
624780f0
GM
2325 Preload leim-list.el. (Bug#4789)
2326 * loadup.el: Load leim-list.el when found.
2327 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2328
4301875e 23292013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2330
2331 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2332
4301875e
BB
2333 * emacs-lisp/helpers.el (string-join): New function.
2334
1633a815 23352013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2336
2337 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2338 Mark as obsolete and replace it with a symbol property.
2339 (byte-compile-form): Use new 'interactive-only property.
2340 * comint.el, files.el, replace.el, simple.el:
2341 Apply new 'interactive-only properly.
2342
00139435
MR
23432013-11-25 Martin Rudalics <rudalics@gmx.at>
2344
2345 * window.el (display-buffer-at-bottom): Make sure that
2346 split-window-sensibly creates the new window on bottom
2347 (Bug#15961).
2348
5f5b128d
DK
23492013-11-23 David Kastrup <dak@gnu.org>
2350
2351 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2352 on the conflict markers when available.
2353 (smerge--get-marker): New function.
2354 (smerge-end-re, smerge-base-re): Add subgroup.
2355
623891e5
SM
23562013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * frame.el (handle-focus-in, handle-focus-out): Add missing
2359 interactive spec.
2360
05ca27d8
MA
23612013-11-25 Michael Albinus <michael.albinus@gmx.de>
2362
2363 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2364 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2365
511fa0d3
SM
23662013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2367
e82ad66c
SM
2368 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2369 (gomoku--last-pos): New var.
2370 (gomoku--intangible-chars): New const.
2371 (gomoku--intangible): New function.
2372 (gomoku-mode): Use it. Derive from special-mode.
2373 (gomoku-move-up): Adjust line count.
2374 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2375 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2376 Simplify accordingly.
2377
511fa0d3
SM
2378 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2379 Remove blink-cursor code.
2380 (blink-cursor-timer-function, blink-cursor-suspend):
2381 Don't special-case GUIs.
2382 (blink-cursor-mode): Use focus-in/out-hook.
2383
6f20dd03
DG
23842013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2385
2386 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2387 work when annotation is invisible (Bug#13886).
2388
431dec31 23892013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2390
2391 * json.el (json-alist-p): Only return non-nil if the alist has
2392 simple keys (Bug#13518).
2393
431dec31 23942013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2395
2396 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2397 when control-statement is the first statement in a buffer (Bug#15956).
2398
ee4f0261
DG
23992013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2400
2401 * imenu.el (imenu-generic-skip-comments-and-strings):
2402 New option (Bug#15560).
2403 (imenu--generic-function): Use it.
2404
c484f866
JS
24052013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2406
e9dc713d
JB
2407 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2408 (Bug#13898)
c484f866 2409
41ce6f70
BB
24102013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2411
b55aea38
BB
2412 * emacs-lisp/helpers.el: Add some string helpers.
2413 (string-trim-left): Removes leading whitespace.
2414 (string-trim-right): Removes trailing whitespace.
2415 (string-trim): Removes leading and trailing whitespace.
2416
41ce6f70
BB
2417 * subr.el (string-suffix-p): New function.
2418
3cfb6af3
GM
24192013-11-23 Glenn Morris <rgm@gnu.org>
2420
2421 * progmodes/python.el (python-shell-send-file):
2422 Add option to delete file when done. (Bug#15647)
2423 (python-shell-send-string, python-shell-send-region): Use it.
2424
c27924b7
IS
24252013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2426
e1b01c7f
IS
2427 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2428 to set buffer-read-only to t, never to nil. (Bug#15938)
2429
c27924b7
IS
2430 * textmodes/tex-mode.el (latex-noindent-environments):
2431 Add safe-local-variable property. (Bug#15936)
2432
17e0445b
GM
24332013-11-23 Glenn Morris <rgm@gnu.org>
2434
92f78ea3
GM
2435 * textmodes/enriched.el (enriched-mode): Doc fix.
2436 * emacs-lisp/authors.el (authors-renamed-files-alist):
2437 Add enriched.doc -> enriched.txt.
2438
17e0445b
GM
2439 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2440
965bb23a
LL
24412013-11-22 Leo Liu <sdl.web@gmail.com>
2442
2443 * progmodes/octave.el (inferior-octave-startup): Spit out error
2444 message.
2445
d19ffd64
BB
24462013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2447
2448 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2449 Improve docstring.
15ba2182
BB
2450 Add :version.
2451 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2452
7a7567d2
LL
24532013-11-22 Leo Liu <sdl.web@gmail.com>
2454
2455 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2456 (Bug#15076)
8c09f64b
LL
2457 (octave-help-mode): Adapt to change to help-mode-finish to use
2458 derived-mode-p on 2013-09-17.
2459 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2460 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2461
724bc265
LL
24622013-11-22 Leo Liu <sdl.web@gmail.com>
2463
2464 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2465 (inferior-octave-startup, inferior-octave-check-process)
2466 (inferior-octave-track-window-width-change)
2467 (octave-completion-at-point, octave-eldoc-function): Use it.
2468 (octave-kill-process): Provide confirmation. (Bug#10564)
2469
38637cca
LL
24702013-11-21 Leo Liu <sdl.web@gmail.com>
2471
511fa0d3
SM
2472 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2473 Fix obsolete variable comment-use-global-state.
38637cca 2474
06e752b4
RS
24752013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2476
511fa0d3
SM
2477 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2478 Add `octave-source-file'.
06e752b4
RS
2479 (octave-source-file): New function. (Bug#15935)
2480
7514d3f8 24812013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2482
2483 * net/eww.el (eww-local-regex): New variable.
2484 (eww): Use it to detect localhost and similar.
2485
b6ffa04a
LL
24862013-11-21 Leo Liu <sdl.web@gmail.com>
2487
2488 Add completion for command `ag'.
2021a200
LL
2489 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2490 (pcomplete/ag): New function.
e9dc713d 2491 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2492
d1a6bccc
SM
24932013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2496 (bug#14646).
2497 (make-obsolete): Remove interactive spec.
2498
2df10228
GM
24992013-11-21 Glenn Morris <rgm@gnu.org>
2500
2501 * startup.el (command-line-1): Use path-separator with -L.
2502
86fd16b6
TZ
25032013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2504
2505 * emacs-lisp/package.el (describe-package-1): Add package archive
2506 to shown fields.
2507
0449d6cd 25082013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2509
2510 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2511 Change default to "# encoding: %s" to differentiate it from the
2512 default Ruby encoding comment template.
2513
dc7e8c17 25142013-11-20 era eriksson <era+emacsbugs@iki.fi>
2515
2516 * ses.el (ses-mode): Doc fix. (Bug#14748)
2517
f0cfa5fe
LL
25182013-11-20 Leo Liu <sdl.web@gmail.com>
2519
2520 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2521
826dc7b6
DN
25222013-11-19 Dan Nicolaescu <dann@gnu.org>
2523
2524 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2525 when rebase or bisect are in progress.
2526
a6e3a5d5
XF
25272013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2528
2529 * filenotify.el (file-notify-add-watch): Doc fix.
2530
f130cb76
LL
25312013-11-19 Leo Liu <sdl.web@gmail.com>
2532
e0855d7d
LL
2533 * obsolete/rcompile.el: Mark obsolete.
2534
f130cb76 2535 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2536 (compilation-goto-locus, compilation-find-file):
2537 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2538 (Bug#13594)
2539
2540 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2541 new parameter no-display-ok. Return either a window or nil
2542 but never a non-window value.
f130cb76 2543
1f35d401
SM
25442013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2545
25158c76
SM
2546 * electric.el (electric-indent-mode-map): Remove.
2547 (electric-indent-mode): Change the global-map instead (bug#15915).
2548
2549 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2550 Use add-function.
1f35d401 2551
9bc67baa
SM
25522013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2553
986545b5
SM
2554 * emacs-lisp/nadvice.el (remove-function): Align with
2555 add-function's behavior.
2556
9bc67baa
SM
2557 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2558 (gdb--string-regexp): New constant.
2559 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2560 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2561 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2562 submatch 1.
2563 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2564 Adjust use accordingly.
2565 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2566
56cd894e
AS
25672013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2568
2569 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2570 interpolation curlies (Bug#15914).
2571
014690de
JB
25722013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2573
2574 * calc/calc.el (calc-context-sensitive-enter): New variable.
2575 (calc-enter): Use `calc-context-sensitive-enter'.
2576
7e26a6c3
TZ
25772013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2578
2579 * progmodes/cfengine.el: Version bump.
2580 (cfengine-cf-promises): New defcustom to locate cf-promises.
2581 (cfengine3-vartypes): Add new "data" type.
2582 (cfengine3--current-word): New function to get current name-like
2583 word or its bounds.
2584 (cfengine3--current-function): New function to look up a CFEngine
2585 function's definition.
2586 (cfengine3-format-function-docstring): New function.
2587 (cfengine3-make-syntax-cache): New function.
2588 (cfengine3-documentation-function): New function: ElDoc glue.
2589 (cfengine3-completion-function): New function: completion glue.
2590 (cfengine3-mode): Set `compile-command',
2591 `eldoc-documentation-function', and add to
2592 `completion-at-point-functions'.
2593
355204dd
MA
25942013-11-16 Michael Albinus <michael.albinus@gmx.de>
2595
2596 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2597 `tramp-current-connection'.
2598
43cebc23
DG
25992013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2602 nil/self/true/false with "end of symbol".
2603
a3fed6ff
BB
26042013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2605
2606 * subr.el (version-regexp-alist): Fix a typo.
2607
e675b3e4
MA
26082013-11-15 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2611 "en_US.utf8" and "LC_CTYPE" to "".
2612 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2613 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2614
a1f03e89
LL
26152013-11-15 Leo Liu <sdl.web@gmail.com>
2616
2617 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2618
5d9d9451
SM
26192013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2620
58362662
CS
2621 * progmodes/gud.el (ctl-x-map):
2622 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2623 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2624
6c1bf086
BB
26252013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2626
0d5363c4
BB
2627 * subr.el (version-regexp-alist):
2628 Recognize hg, svn and darcs versions as snapshot versions.
2629
4e9fc48c
BB
2630 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2631 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2632 (ruby--encoding-comment-required-p): Extract from
2633 `ruby-mode-set-encoding'.
2634 (ruby-mode-set-encoding): Add the ability to always insert an
2635 utf-8 encoding comment. Fix and simplify coding comment update
2636 logic.
6c1bf086 2637
2f7e72f8
MA
26382013-11-14 Michael Albinus <michael.albinus@gmx.de>
2639
2640 * net/tramp-gvfs.el (top): Run init code only when
2641 `tramp-gvfs-enabled' is not nil.
2642 (tramp-gvfs-enabled): Check also :system bus.
2643
0f137a73
SM
26442013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 Sync with upstream verilog-mode revision 78e66ba.
2647 * progmodes/verilog-mode.el (verilog-end-of-defun)
2648 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2649 (verilog-get-end-of-defun): Remove unused argument.
2650 (verilog-comment-depth): Remove unused local `e'.
2651 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2652 Don't pass arg to verilog-get-end-of-defun.
2653
1c276bdd
GM
26542013-11-14 Glenn Morris <rgm@gnu.org>
2655
2656 * obsolete/assoc.el (aget): Prefix dynamic variable.
2657
2658 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2659
ff6ec81d
SM
26602013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2661
2662 * widget.el, hfy-cmap.el: Remove bogus package version number.
2663
75f777b6
GM
26642013-11-13 Glenn Morris <rgm@gnu.org>
2665
1d43dba1
GM
2666 * replace.el (replace-eval-replacement):
2667 Try to give more helpful error message. (Bug#15836)
2668
ff4b7bd5
GM
2669 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2670 (archive-7z-update): Avoid custom type mismatches.
2671
75f777b6
GM
2672 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2673
11151a06
MA
26742013-11-13 Michael Albinus <michael.albinus@gmx.de>
2675
e675b3e4 2676 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2677 address can be empty.
2678
2679 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2680 Accept nil SWITCHES.
2681 (tramp-gvfs-handle-write-region): Implement APPEND.
2682
7b08f97e
DG
26832013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2684
2685 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2686 binary "|" operator and closing block args delimiter.
2687 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2688 (ruby-smie--implicit-semi-p): Not after "|" operator.
2689 (ruby-smie--closing-pipe-p): New function.
2690 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2691 (ruby-smie-rules): Indent after "|".
2692
f201cf3a
GM
26932013-11-12 Glenn Morris <rgm@gnu.org>
2694
2695 * ps-print.el (ps-face-attribute-list):
2696 Handle anonymous faces. (Bug#15827)
2697
e6f759f9
MR
26982013-11-12 Martin Rudalics <rudalics@gmx.at>
2699
2700 * window.el (display-buffer-other-frame): Fix doc-string.
2701 (Bug#15868)
2702
ecda65d4
SM
27032013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2706
7ce8fcc3
MA
27072013-11-11 Michael Albinus <michael.albinus@gmx.de>
2708
2709 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2710 (tramp-sh-handle-file-local-copy): Don't write a message when
2711 saving temporary files.
2712
2713 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2714 both directories are remote.
2715 (tramp-smb-handle-directory-files): Do not return double entries.
2716 Do not expand full file names.
2717 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2718 (tramp-smb-handle-write-region): Implement APPEND.
2719 (tramp-smb-get-stat-capability): Fix a stupid bug.
2720
7818df11
SM
27212013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2724
608c2085
NT
27252013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2726
2727 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2728 throwing error over malformed let/let* (bug#15814).
2729
122a7e46
SM
27302013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2731
2732 * iswitchb.el (iswitchb-mode): Mark obsolete.
2733
766284d9
GM
27342013-11-11 Glenn Morris <rgm@gnu.org>
2735
2736 * international/uni-bidi.el, international/uni-category.el:
2737 * international/uni-name.el, international/uni-numeric.el:
2738 Regenerate for Unicode 6.3.0.
2739
7072a4e9
MA
27402013-11-10 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * net/tramp.el (tramp-methods):
2743 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2744 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2745
c9df215b
AS
27462013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2747
608c2085
NT
2748 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2749 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2750
fa47d796
DG
27512013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2752
2753 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2754 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2755 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2756 (ispell-complete-word): Call `ispell-lookup-words' with the value
2757 independent of `ispell-look-p'.
2758
1629a329
DG
27592013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2760
2761 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2762 Not after "||".
2763 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2764 their parent.
2765
ad16897c
SM
27662013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2767
2768 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2769 (ruby-font-lock-keywords): Use backquote.
2770
ffa2df72
DG
27712013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2772
2773 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2774 (ruby-smie--backward-token): Only consider full-string matches.
2775
5b97b4c0
JD
27762013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2777
2778 * faces.el (describe-face): Add distant-foreground.
2779
71731c03
BB
27802013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2781
4e9fc48c
BB
2782 * progmodes/ruby-mode.el: Improve encoding comment handling.
2783 (ruby-encoding-magic-comment-style): New option.
2784 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2785 (ruby--insert-coding-comment, ruby--detect-encoding):
2786 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2787 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2788 to control the style of the auto-inserted encoding comment.
71731c03 2789
da3b328d
DG
27902013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2791
ad16897c
SM
2792 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2793 Use `smie-backward-sexp' with token argument.
da3b328d 2794
1606c2d3
MA
27952013-11-08 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2798 Remove instrumentation code.
2799
b0f4c320
GM
28002013-11-08 Glenn Morris <rgm@gnu.org>
2801
2802 * progmodes/autoconf.el (autoconf-mode):
2803 Tweak comment-start-skip. (Bug#15822)
2804
43668fb1
SM
28052013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2806
2807 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2808 at bobp (bug#15826).
2809 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2810
daddb3fd
DH
28112013-11-08 Darren Hoo <darren.hoo@gmail.com>
2812
2813 * man.el (Man-start-calling): New macro, extracted from
2814 Man-getpage-in-background.
2815 (Man-getpage-in-background): Use it.
2816 (Man-update-manpage): New command.
2817 (Man-mode-map): Bind it.
2818
1f923923
DG
28192013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2820
2821 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2822 of "and", "or", "&&" and "||".
2823 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2824 argument. Prohibit opening curly brace because it could only be a
2825 block opener in that position.
daddb3fd
DH
2826 (ruby-smie--forward-token, ruby-smie--backward-token):
2827 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2828 arguments.
2829 (ruby-smie--indent-to-stmt): New function, seeks the end of
2830 previous statement or beginning of buffer.
2831 (ruby-smie-rules): Use it.
2832 (ruby-smie-rules): Check if there's a ":" before a curly block
2833 opener candidate; if there is, it's a hash.
2834
3220d527
SM
28352013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2838 (cl--block-wrapper): Fix last accidental change.
2839
1eb1f9e0
MA
28402013-11-07 Michael Albinus <michael.albinus@gmx.de>
2841
2842 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2843 Instrument, in order to hunt failure on hydra.
2844
e6e4db3c
NT
28452013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2846
2847 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2848 malformed bindings form (bug#15814).
2849
b420ccfc
DG
28502013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2851
2852 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2853 "." compared to " @ ". This incidentally fixes some indentation
2854 examples with "do".
e6e4db3c 2855 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2856 (ruby-smie-grammar): New tokens: "and" and "or".
2857 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2858 Exclude "and" and "or". Remove "do" in order to work around token
2859 priorities.
2860 (ruby-smie-rules): Add all infix tokens. Handle the case of
2861 beginning-of-buffer.
b420ccfc 2862
6b4ac03e
GM
28632013-11-06 Glenn Morris <rgm@gnu.org>
2864
2865 * Makefile.in (setwins_almost, setwins_for_subdirs):
2866 Avoid accidental matches.
2867
5ca114d1
SM
28682013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * menu-bar.el (popup-menu): Use key-binding.
2871
f72552bd
EZ
28722013-11-06 Eli Zaretskii <eliz@gnu.org>
2873
2874 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2875 menus, support also the menus produced by minor modes.
2876 (Bug#15817)
2877
5d5c701e
LL
28782013-11-06 Leo Liu <sdl.web@gmail.com>
2879
2880 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2881 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2882
0a8b75e2
GM
28832013-11-06 Glenn Morris <rgm@gnu.org>
2884
2885 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2886 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2887 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2888
a35287ea
SM
28892013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2890
feca4e2d
SM
2891 * electric.el (electric-indent-just-newline): New command.
2892 (electric-indent-mode-map): New keymap.
2893 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2894 Re-add :group which weren't redundant.
2895
a35287ea
SM
2896 * electric.el (electric-indent-local-mode): New minor mode.
2897 (electric-indent-functions-without-reindent): New var.
2898 (electric-indent-post-self-insert-function): Use it.
2899 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2900
375761b2
EZ
29012013-11-05 Eli Zaretskii <eliz@gnu.org>
2902
9a6ad735
EZ
2903 * international/quail.el (quail-help): Be more explicit about the
2904 meaning of the labels shown on the keys. (Bug#15800)
2905
375761b2
EZ
2906 * startup.el (normal-top-level): Load the subdirs.el files before
2907 setting the locale environment. (Bug#15805)
2908
520a6e4a
SM
29092013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2910
0acfafef
SM
2911 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2912 via arguments so as to get the right ones (bug#15418).
2913
520a6e4a
SM
2914 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2915
15826261
MA
29162013-11-05 Michael Albinus <michael.albinus@gmx.de>
2917
2918 Fix problems found while writing a test suite.
2919
2920 * net/tramp-compat.el (tramp-compat-load): New defun.
2921 * net/tramp.el (tramp-handle-load): Use it.
2922
2923 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2924 "(numberp ok-if-already-exists)" correctly.
2925
d35f31a4
XF
29262013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2927
2928 * international/characters.el (glyphless-char-display-control):
2929 Add usage note.
2930
ae93bc74
BB
29312013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2932
520a6e4a
SM
2933 * progmodes/python.el (python-mode):
2934 * progmodes/scheme.el (scheme-mode):
2935 * progmodes/prolog.el (prolog-mode):
2936 * progmodes/ruby-mode.el (ruby-mode):
2937 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2938 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2939
0ade65b5
SM
29402013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2941
a0d5f7a4
SM
2942 * rect.el (rectangle--highlight-for-redisplay):
2943 * emacs-lisp/smie.el (smie--next-indent-change):
2944 Use buffer-chars-modified-tick.
2945
c93f3f5c
SM
2946 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2947
0ade65b5
SM
2948 * electric.el (electric-indent-post-self-insert-function):
2949 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2950
ef9dd188
HE
29512013-11-04 Helmut Eller <eller.helmut@gmail.com>
2952
2953 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2954
306e7308
NT
29552013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2956
2957 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2958 (bug#15786).
2959
e5afbcac
SM
29602013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2961
1d01ad41
SM
2962 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
2963
e5afbcac
SM
2964 * progmodes/python.el: Fix up last change.
2965 (python-shell--save-temp-file): New function.
2966 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
2967 `string' comes from the current buffer.
2968 (python-shell-send-string-no-output): Remove `msg' arg.
2969 (python--use-fake-loc): New var.
2970 (python-shell-buffer-substring): Obey it. Try to compensate for the
2971 extra coding line added by python-shell--save-temp-file.
2972 (python-shell-send-region): Use python-shell--save-temp-file and
2973 python-shell-send-file directly. Add `nomain' argument.
2974 (python-shell-send-buffer): Use python-shell-send-region.
2975 (python-electric-pair-string-delimiter): New function.
2976 (python-mode): Use it.
2977
d0065ff1
EZ
29782013-11-04 Eli Zaretskii <eliz@gnu.org>
2979
2980 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2981 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2982 environment and decoding all of the default-directory's to here
2983 from command-line.
2984 (command-line): Decode also argv[0].
2985
2986 * loadup.el: Error out if default-directory is a multibyte string
2987 when we are dumping.
2988
2989 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2990
7397c587
TZ
29912013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2992
2993 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
2994 (package-menu--print-info, package-menu--archive-predicate):
2995 Add Archive column to package list.
7397c587 2996
b27cc9fc
MA
29972013-11-04 Michael Albinus <michael.albinus@gmx.de>
2998
2999 Fix problems found while writing a test suite.
3000
3001 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3002 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3003 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3004 to nil when running original file name handler. Otherwise,
3005 there are problems with constructs like "$$FOO".
3006
3007 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3008 for `localname'.
3009
d8c4f18a
BB
30102013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3011
7b530552
BB
3012 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3013
3014 * subr.el (version<, version<=, version=):
3015 Update docstrings with information for snapshot versions.
3016
d8c4f18a
BB
3017 * helpers.el: New library for misc helper functions.
3018 (hash-table-keys): New function returning a list of hash keys.
3019 (hash-table-values): New function returning a list of hash values.
3020
dca01b09
DG
30212013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3024 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3025
0a749fa0
MN
30262013-11-04 Michal Nazarewicz <mina86@mina86.com>
3027
3028 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3029 checking whether point is after a 1-letter word.
3030
30312013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3032
3033 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3034 Don't infloop when expanding region over `multiline' syntax-type that
3035 begins a line (bug#15778).
3036
4aca7145
SM
30372013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3040 Make it into a proper minor mode.
3041 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3042 (rectangle-mark-mode-map): New keymap.
3043 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3044
a0833f62
GM
30452013-11-04 Glenn Morris <rgm@gnu.org>
3046
3047 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3048
e61845c1
SM
30492013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3050
3051 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3052 (ruby-smie-rules): Use smie-rule-parent instead.
3053
3054 * emacs-lisp/smie.el (smie-rule-parent): Always call
3055 smie-indent-virtual rather than only for hanging tokens.
3056 (smie--next-indent-change): New helper command.
3057
62942f89
GM
30582013-11-03 Glenn Morris <rgm@gnu.org>
3059
3060 * Makefile.in (abs_srcdir): Remove.
3061 (emacs): Unset EMACSLOADPATH.
3062
b0b9e592
GM
30632013-11-02 Glenn Morris <rgm@gnu.org>
3064
18ba6a33 3065 * Makefile.in (EMACS): Use a relative filename.
8061810d 3066 (abs_top_builddir): Remove.
18ba6a33
GM
3067 (custom-deps, finder-data, autoloads): Use --chdir.
3068
6a8b929e
GM
3069 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3070
c617f3d0
GM
3071 Use relative filenames in TAGS files.
3072 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3073 (lisptagsfiles4, TAGS): Use relative file names.
3074 (TAGS-LISP): Remove.
3075 (maintainer-clean): No more TAGS-LISP file.
3076
b0b9e592
GM
3077 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3078 (lisptagsfiles4): Use absolute filenames again.
3079 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3080 Remove all *loaddefs files, not just the first. Remove esh-groups.
3081 (maintainer-clean): Delete TAGS, TAGS-LISP.
3082
d1c0ea6a
BB
30832013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3084
e61845c1
SM
3085 * emacs-lisp/package.el (package-version-join):
3086 Recognize snapshot versions.
d1c0ea6a 3087
684d71c6
BB
30882013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3089
3090 * subr.el (version-regexp-alist): Add support for snapshot versions.
3091
3d42b968
DG
30922013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3093
e61845c1
SM
3094 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3095 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3096 skip over our direct parent if it's an assignment token..
3097 (ruby-smie-rules): Use it.
3098
7ffd3721
DG
30992013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3100
8449dd1f 3101 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3102 unconditionally. Remove now unnecessary forward declarations.
3103 Remove XEmacs-specific setup.
3104 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3105 (ruby-font-lock-syntactic-keywords)
3106 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3107 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3108 (ruby-here-doc-end-syntax): Remove.
3109 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3110 defined as function.
3111
a3996a2e
BB
31122013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3113
3114 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3115
6f9260e8
BB
31162013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3117
3118 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3119 table and abbrev table, `define-derived-mode' does that for us
3120 anyway.
3121
6014de84
GM
31222013-11-01 Glenn Morris <rgm@gnu.org>
3123
3124 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3125 files is atomic for some time, so no parallel compilation issues).
3126
3c334c14
JD
31272013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3128
3129 * faces.el (face-x-resources): Add :distant-foreground.
3130 (region): Use :distant-foreground for gtk and ns.
3131
9bc236c8
TH
31322013-11-01 Tassilo Horn <tsdh@gnu.org>
3133
5246583b 3134 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3135 BibTeX.
3136 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3137 (reftex-locate-bibliography-files): Us it.
3138
d14c81ee
CB
31392013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3140
0e7690de
CB
3141 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3142 allow comments in pbm files.
3143
d14c81ee
CB
3144 * term/w32-win.el (dynamic-library-alist): Support newer versions
3145 of libjpeg starting with v7: look only for the DLL from the
3146 version against which Emacs was built.
ac1bf374 3147 Support versions of libpng beyond 1.4.x.
019c8218 3148 Support libtiff v4.x.
d14c81ee 3149
983d0df5
BB
31502013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3151
3152 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3153 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3154 Add property :safe.
3155 (ruby-deep-arglist): Add property :type.
3156
47f58d85
GM
31572013-10-31 Glenn Morris <rgm@gnu.org>
3158
3159 * Makefile.in (custom-deps, finder-data): No need to setq the target
3160 variables, we are in the right directory and the defaults work fine.
3161
4f85b479
GM
31622013-10-30 Glenn Morris <rgm@gnu.org>
3163
ca7dd4cd
GM
3164 * Makefile.in (autoloads): Do not use abs_lisp.
3165
4f85b479
GM
3166 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3167 `newline' does not respect `standard-output', so use `princ'.
3168
cf59e41c
AA
31692013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3170
3171 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3172 * buff-menu.el (Buffer-menu--unmark): New function.
3173 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3174
74cf04fb
GM
31752013-10-30 Glenn Morris <rgm@gnu.org>
3176
b040b60e
GM
3177 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3178
f53d3815
GM
3179 * emacs-lisp/package.el (lm-homepage): Declare.
3180
5413d873
GM
3181 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3182 Fix doc typos.
3183
cecedb36
GM
3184 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3185
74cf04fb
GM
3186 * Makefile.in (finder-data, autoloads, update-subdirs)
3187 (compile-main, compile-clean, compile-always, bootstrap-clean):
3188 Check return value of cd.
3189 (compile-calc): Remove.
3190
195ee2f0
SM
31912013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3192
ae4002ce
SM
3193 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3194
3195 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3196 (byte-compile-and-folded): New function.
3197 (=, <, >, <=, >=): Use it.
3198
3199 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3200 (path-separator, null-device, buffer-file-coding-system)
3201 (lpr-headers-switches): Check system-type before modifying them.
3202 (find-buffer-file-type-coding-system): Mark obsolete.
3203 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3204 find-file-not-found-set-buffer-file-coding-system.
3205 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3206 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3207 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3208 (w32-direct-print-region-helper, w32-direct-print-region-function)
3209 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3210 * startup.el (normal-top-level-add-subdirs-to-load-path):
3211 * ps-print.el (ps-print-region-function):
3212 * lpr.el (print-region-function): Use new name.
3213
53b39e89
SM
3214 * subr.el (custom-declare-variable-early): Remove function.
3215 (custom-declare-variable-list): Remove var.
3216 (error, user-error): Remove `while' loop.
3217 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3218 (user-emacs-directory-warning, locate-user-emacs-file):
3219 Move to files.el.
3220 * simple.el (read-quoted-char-radix, read-quoted-char):
3221 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3222 Move from subr.el.
3223 * custom.el (custom-declare-variable-list): Don't process
3224 custom-declare-variable-list.
3225
195ee2f0
SM
3226 * progmodes/python.el (python-shell-get-buffer): New function.
3227 (python-shell-get-process): Use it.
3228 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3229 Python which encoding was used. Don't split-string since we only care
3230 about the first line. Return the temp-file, if applicable.
3231 (python-shell-send-region): Tell compile.el how to turn locations in
3232 the temp-file into locations in the source buffer.
3233
7e3561ee
SM
32342013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3235
4c9797cb
SM
3236 * subr.el (undefined): Add missing behavior from the C code for
3237 unbound keys.
3238
3472b6c6
SM
3239 * rect.el: Use lexical-binding. Add new rectangular region support.
3240 (rectangle-mark): New command.
3241 (rectangle--region): New var.
3242 (deactivate-mark-hook): Reset rectangle--region.
3243 (rectangle--extract-region, rectangle--insert-for-yank)
3244 (rectangle--highlight-for-redisplay)
3245 (rectangle--unhighlight-for-redisplay): New functions.
3246 (region-extract-function, redisplay-unhighlight-region-function)
3247 (redisplay-highlight-region-function): Use them to handle
3248 rectangular region.
3249 * simple.el (region-extract-function): New var.
3250 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3251 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3252 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3253 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3254 (redisplay-unhighlight-region-function)
3255 (redisplay-highlight-region-function): New vars.
3256 (redisplay--update-region-highlight): New function.
3257 (pre-redisplay-function): Use it.
3258 (exchange-point-and-mark): Don't deactivate the mark before
3259 reactivate-it anyway.
3260 * comint.el (comint-kill-region): Remove yank-handler argument.
3261 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3262 (delete-char): Remove property, since it's now part of their
3263 default behavior.
3264 (self-insert-iso): Remove property since this command doesn't exist.
3265
7e3561ee
SM
3266 * emacs-lisp/package.el (package--download-one-archive)
3267 (describe-package-1): Don't query the user about final newline.
3268
b9bef71f
DC
32692013-10-29 Daniel Colascione <dancol@dancol.org>
3270
3271 * net/tramp.el (tramp-methods): Document new functionality.
3272 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3273 tramp-hostname-checker if method provides one instead of scanning
3274 argument list for "%h" to decide hostname acceptability.
3275
4efc33f0
MA
32762013-10-28 Michael Albinus <michael.albinus@gmx.de>
3277
3278 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3279 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3280 Handle COPY-CONTENTS. (Bug#15737)
3281
ed42a877
DU
32822013-10-28 Daiki Ueno <ueno@gnu.org>
3283
3284 * epa-file.el
7e3561ee
SM
3285 (epa-file-cache-passphrase-for-symmetric-encryption):
3286 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3287
18c9f8a2
XF
32882013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3289
7a4bc7be
XF
3290 * image.el (defimage):
3291 (image-load-path): Doc fixes.
18c9f8a2 3292
b1e8e010
AM
32932013-10-27 Alan Mackenzie <acm@muc.de>
3294
3295 Indent statements in macros following "##" correctly.
7e3561ee
SM
3296 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3297 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3298
73d40d1e 32992013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3300
3301 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3302
c8c605ac
DG
33032013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3304
3305 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3306 after `=' is probably a new expression.
3307
ca7e59d4
RS
33082013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3309
3310 * man.el (man-imenu-title): New option.
3311 (Man-mode-map): Add menu. (Bug#15722)
3312 (Man-mode): Add imenu to menu.
3313
bae91342
DG
33142013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3315
3316 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3317 specific in what the first arg can be: a non-keyword word,
3318 string/regexp/percent literal opener, opening paren, or unary
3319 operator followed directly by word.
3320
eb89dc14
SM
33212013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3322
3323 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3324 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3325 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3326 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3327 Remove vars, they do not apply any more.
3328 (prolog-mode-abbrev-table): Remove redundant declaration.
3329 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3330 (prolog-use-smie): Remove.
3331 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3332 supported by prolog-electric-if-then-else-flag.
3333 (prolog-mode-variables, prolog-menu): Use setq-local.
3334 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3335 Remove binding to `Backspace' since this key doesn't exist anyway.
3336 Remove bindings for electric self-inserting keys.
3337 (prog-mode): Assume it's defined.
3338 (prolog-post-self-insert): New function.
3339 (prolog-mode): Use it.
3340 (prolog-indent-line, prolog-indent-level)
3341 (prolog-find-indent-of-matching-paren)
3342 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3343 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3344 (prolog-goto-next-paren, prolog-in-string-or-comment)
3345 (prolog-tokenize, prolog-inside-mline-comment)
3346 (prolog-find-start-of-mline-comment): Remove functions.
3347 (prolog-find-unmatched-paren, prolog-clause-end)
3348 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3349 (prolog-electric--if-then-else): Rename from
3350 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3351 (prolog-tokenize-searchkey): Remove const.
3352 (prolog-clause-info): Use forward-sexp.
3353 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3354 (prolog-electric-if-then-else): Remove commands.
3355 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3356 for use in post-self-insert-hook.
3357 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3358 for use in post-self-insert-hook.
3359 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3360 for use in post-self-insert-hook.
3361 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3362 adapt it for use in post-self-insert-hook.
3363
3dab0a83
MA
33642013-10-25 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * emacs-lisp/ert.el (ert-run-tests-interactively):
3367 Use `completing-read'. (Bug#9756)
3368
fbfd0e1d
EZ
33692013-10-25 Eli Zaretskii <eliz@gnu.org>
3370
3371 * simple.el (line-move): Call line-move-1 instead of
3372 line-move-visual when the current window hscroll is zero, but
3373 temporary-goal-column indicates we will need to hscroll as result
3374 of the movement. (Bug#15712)
3375
963ce636
DG
33762013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3377
3378 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3379 capitalization. Use :visible instead of :active.
3380 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3381 commands that are used with SMIE.
3382 (ruby-do-end-to-brace): Insert space after `{'.
3383
a0be396a
JA
33842013-10-25 John Anthony <john@jo.hnanthony.com>
3385
f73754c9
JA
3386 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3387
3388 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3389
f5bf77df
GM
33902013-10-25 Glenn Morris <rgm@gnu.org>
3391
3392 * vc/vc.el (vc-print-log): Don't use a working revision unless
3393 one was explicitly specified. (Bug#15322)
3394
37241f62
SM
33952013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * subr.el (add-to-list): Preserve return value in compiler-macro
3398 (bug#15692).
3399
6408a65d
RS
34002013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3401
3402 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3403 result. Ask user to retry using '-all' flag. (Bug#15701)
3404
71e3276b
SM
34052013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * emacs-lisp/smie.el: New smie-config system.
3408 (smie-config): New defcustom.
3409 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3410 (smie-config-guess, smie-config-save): New commands.
3411 (smie-config--mode-local, smie-config--buffer-local)
3412 (smie-config--trace, smie-config--modefuns): New vars.
3413 (smie-config--advice, smie-config--mode-hook)
3414 (smie-config--setter, smie-config-local, smie-config--get-trace)
3415 (smie-config--guess-value, smie-config--guess): New functions.
3416 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3417 text properties. Treat "string fence" syntax like string syntax.
3418
3419 * progmodes/sh-script.el (sh-use-smie): Change default.
3420 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3421 (sh-var-value): Simplify by CSE.
3422 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3423 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3424 is used.
3425 (sh-guess-basic-offset): Use cl-incf.
3426 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3427
60db713e
HE
34282013-10-24 Helmut Eller <eller.helmut@gmail.com>
3429
3430 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3431 (bug#15699).
3432
8b251df6
GM
34332013-10-24 Glenn Morris <rgm@gnu.org>
3434
3435 * Makefile.in (abs_top_srcdir): Remove.
3436 (update-subdirs): Use relative path to update-subdirs.
3437
6be0e22b
EZ
34382013-10-24 Eli Zaretskii <eliz@gnu.org>
3439
3440 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3441 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3442 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3443 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3444
50b5b857
MA
34452013-10-24 Michael Albinus <michael.albinus@gmx.de>
3446
3447 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3448 (ert-test-skipped): New error.
3449 (ert-skip, ert-stats-skipped): New defuns.
3450 (ert--skip-unless): New macro.
3451 (ert-test-skipped): New struct.
3452 (ert--run-test-debugger, ert-test-result-type-p)
3453 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3454 (ert--stats-set-test-and-result, ert-char-for-test-result)
3455 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3456 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3457 Handle skipped tests. (Bug#9803)
50b5b857 3458
6f317c2f
GM
34592013-10-24 Glenn Morris <rgm@gnu.org>
3460
e43817c1
GM
3461 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3462
6f317c2f
GM
3463 * Makefile.in (abs_top_srcdir): New, set by configure.
3464 (update-subdirs): Correct build-aux location.
3465
369bbf71
DG
34662013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3467
8297b2cf
DG
3468 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3469 value, whether we could auto-deduce `backend', or not.
3470
369bbf71
DG
3471 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3472 with parameters" example. Simplify the "is it block or is it
3473 hash" check, but also make it more thorough.
3474
d5f1282f
MF
34752013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3476
3477 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3478
bc4aaa31
SM
34792013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3480
03d44565
SM
3481 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3482 { if it is hanging.
3483
bc4aaa31
SM
3484 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3485 :before ";".
3486
f493ff19
JB
34872013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3488
3489 * progmodes/compile.el (compilation-directory-matcher)
3490 (compilation-page-delimiter):
3491 Support GNU Make-4.0 directory quoting. (Bug#15678)
3492
c744a3b9
LL
34932013-10-23 Leo Liu <sdl.web@gmail.com>
3494
3495 * ido.el (ido-tidy): Handle read-only text.
3496
b8e3b0a9
GM
34972013-10-23 Glenn Morris <rgm@gnu.org>
3498
3499 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3500 (emacs, compile, compile-always):
3501 Quote entities that might contain whitespace.
3502 (custom-deps, finder-data, autoloads): Use abs_lisp.
3503 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3504 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3505 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3506
ee4282cd
DG
35072013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3508
bc4aaa31
SM
3509 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3510 Use `following-char'.
7790a270 3511
ee4282cd 35122013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3513
3514 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3515 * progmodes/ruby-mode.el (ruby-smie-rules):
3516 Remove corresponding workaround. Fix indentation rule of ";" so it
3517 also applies when ";" is the parent.
3518
d40a46d7
XF
35192013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3520
3521 * frame.el (display-screens, display-pixel-height)
3522 (display-pixel-width, display-mm-width, display-backing-store)
3523 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3524 (display-visual-class, display-monitor-attributes-list):
3525 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3526
a0f143c9
MG
35272013-10-22 Michael Gauland <mikelygee@amuri.net>
3528
3529 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3530 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3531
18cacc39
DG
35322013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3533
3534 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3535 TODO. Add "." after " @ ".
3536 (ruby-smie--at-dot-call): New function. Checks if point at method
3537 call with explicit target.
3538 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3539 to the method name tokens when it precedes them.
3540 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3541 (ruby-smie-rules): Add rule for indentation before and after "."
3542 token.
3543
df74c4be
SM
35442013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3545
c6dab55f
SM
3546 * textmodes/remember.el (remember-diary-extract-entries):
3547 Avoid add-to-list.
3548
df74c4be
SM
3549 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3550 an instruction.
3551
8c1ae481
DG
35522013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3553
e9dc713d
JB
3554 * progmodes/ruby-mode.el (ruby-smie-grammar):
3555 Add (almost) all infix operators.
cfef16c0
DG
3556 (ruby-smie--implicit-semi-p): Add new operator chars.
3557
8c1ae481
DG
3558 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3559 `smie-down-list'.
3560 (ruby-smie--args-separator-p): Check that there's no newline
3561 between method call and its arguments.
3562
87756ca9
AM
35632013-10-20 Alan Mackenzie <acm@muc.de>
3564
3565 Allow comma separated lists after Java "implements".
3566
df74c4be
SM
3567 * progmodes/cc-engine.el (c-backward-over-enum-header):
3568 Parse commas.
87756ca9
AM
3569 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3570 from a "disallowed" list in enum fontification.
3571
c25f8957
JB
35722013-10-20 Johan Bockgård <bojohan@gnu.org>
3573
df74c4be 3574 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3575
c25f8957
JB
3576 * progmodes/verilog-mode.el (verilog-mode): Don't set
3577 comment-indent-function globally.
3578
aca5fcdc
JD
35792013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3580
5f161884
JD
3581 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3582 Move Info menu item creation to ns-win.el.
3583
3584 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3585 in menu bar.
3586
a6c4680a 3587 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3588
3589 * term/ns-win.el (ns-initialize-window-system): ... to here.
3590
914b7f98
SM
35912013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * simple.el (newline): Only run post-self-insert-hook when
3594 called interactively.
3595
846ffe77
JB
35962013-10-19 Johan Bockgård <bojohan@gnu.org>
3597
3598 * icomplete.el (icomplete-with-completion-tables): Add :version.
3599
033f22dd
AM
36002013-10-19 Alan Mackenzie <acm@muc.de>
3601
3602 Fix fontification bugs with constructors and const.
3603
3604 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3605 CASE 2) Remove the check for the absence of a suffix construct
3606 after a function declaration with only types (no identifiers) in
3607 the parentheses. Also, accept a function declaration with just a
3608 type inside the parentheses, if this type can be positively
3609 recognised as such, or if a prefix keyword like "explicit" nails
3610 down the construct as a declaration.
3611
58ce0cfc
EZ
36122013-10-19 Eli Zaretskii <eliz@gnu.org>
3613
3614 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3615 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3616 the problem whereby selecting a menu item that leads to a
3617 minibuffer prompt moves the cursor out of the minibuffer window,
3618 making it hard to type at the prompt. Suggested by Stefan Monnier
3619 <monnier@iro.umontreal.ca>.
3620
50e28e7d
JD
36212013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3622
3623 * menu-bar.el: Don't make Services menu.
3624
7deed4bf
RS
36252013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3626
3627 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3628 (ffap-alist): Use ffap-c++-mode for c++-mode.
3629 (ffap-c++-path): New variable.
3630 (ffap-c++-mode): New function.
3631
7bcb455b
JVJ
36322013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3633
3634 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3635
f0ff1cd5
MA
36362013-10-18 Michael Albinus <michael.albinus@gmx.de>
3637
3638 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3639 introduced on 2013-09-08, which results in an infinite loop
3640 requesting a password.
3641
d64da4b7
GM
36422013-10-18 Glenn Morris <rgm@gnu.org>
3643
3644 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3645
ea89ff08
WS
36462013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3647
3648 Sync with upstream verilog-mode revision 1a6ecec7.
3649 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3650 (verilog-mode-release-date): Remove.
3651 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3652 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3653 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3654 (verilog-auto-tieoff-ignore-regexp)
3655 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3656 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3657 (verilog-signals-with, verilog-dir-cache-preserving)
3658 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3659 Doc fixes.
3660 (verilog-case-fold): New option, to control case folding in
3661 regexp searches, bug597.
3662 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3663 (verilog-string-match-fold, verilog-in-paren-count)
3664 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3665 (verilog-at-close-struct-p): New functions.
3666 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3667 (verilog-forward-sexp, verilog-set-auto-endcomments):
3668 (verilog-leap-to-case-head): Handle "unique0" case.
3669 (verilog-in-constraint-re): New constant.
3670 (verilog-keywords, verilog-type-font-keywords):
3671 Add some SystemVerilog 1800-2012 keywords.
3672 (verilog-label-be): Remove unimplemented argument, bug669.
3673 (verilog-batch-execute-func): When batch expanding clear
3674 create-lockfiles to prevent spurious user locks when a file ends
3675 up not changing.
3676 (verilog-calculate-indent, verilog-calc-1)
3677 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3678 (verilog-do-indent): Fix indentation of nested constraints
3679 and structures.
3680 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3681 (verilog-auto-inst-param): Use verilog-string-match-fold.
3682 (verilog-read-inst-module-matcher):
3683 Fix AUTOINST on gate primitives with #1.
3684 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3685 Reads all user-defined typed variables.
3686 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3687 (verilog-signals-matching-regexp)
3688 (verilog-signals-not-matching-regexp, verilog-auto):
3689 Respect verilog-case-fold.
3690 (verilog-diff-report): Fix line count.
3691 (verilog-auto-assign-modport): Remove unused local `modi'.
3692 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3693 better handle multidimensional arrays.
3694 Fix packed array ports misadding bit index in AUTOINST, bug637.
3695 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3696 to not double-declare existing outputs and inputs, respectively.
3697 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3698 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3699 (verilog-sk-uvm-component): New skeleton.
3700 (verilog-submit-bug-report): Add verilog-case-fold,
3701 remove verilog-mode-release-date.
3702
ef566920
BR
37032013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3704
a12bf61e 3705 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3706 as before.
3707
29df8a0b
RT
37082013-10-18 Reuben Thomas <rrt@sc3d.org>
3709
e0eb0550 3710 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3711 remember buffers (bug#13566).
3712
04a19a79
DC
37132013-10-18 Daniel Colascione <dancol@dancol.org>
3714
3715 When evaluating forms in ielm, direct standard output to ielm
3716 buffer. Add new ielm-return-for-effect command. Remove trailing
3717 whitespace throughout.
3718
3719 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3720 (ielm-return-for-effect): New command.
3721 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3722 (ielm-eval-input): Accept optional `for-effect' parameter.
3723 Bind `standard-output' to stream we create using
04a19a79
DC
3724 `ielm-standard-output-impl'. Suppress printing result when
3725 `for-effect'.
3726 (ielm-standard-output-impl): New function.
3727 (inferior-emacs-lisp-mode): Explain new features in documentation.
3728
4c1f03ef
MA
37292013-10-17 Michael Albinus <michael.albinus@gmx.de>
3730
3731 Code cleanup.
3732
3733 * net/tramp.el (tramp-debug-message): Do not check for connection
3734 buffer.
3735 (tramp-message): Use "vector" connection property.
3736
3737 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3738 (tramp-equal-remote, tramp-eshell-directory-change)
3739 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3740 (tramp-adb-handle-rename-file)
3741 * net/tramp-cmds.el (tramp-list-remote-buffers)
3742 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3743 * net/tramp-compat.el (tramp-compat-process-running-p)
3744 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3745 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3746 (tramp-gvfs-handle-rename-file)
3747 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3748 (tramp-set-file-uid-gid)
3749 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3750 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3751 of `file-remote-p'.
3752
3753 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3754 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3755 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3756 (tramp-gw-open-network-stream): Suppress unrelated traces.
3757
3758 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3759 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3760 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3761 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3762 connection property.
3763
3764 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3765 persistency file.
4c1f03ef
MA
3766
3767 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3768 Refactor common code. Improve debug message.
3769 (tramp-maybe-open-connection)
3770 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3771 connection buffer too early.
3772
3773 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3774 from `tramp-smb-actions-with-acl'.
3775 (tramp-smb-actions-set-acl): New defconst.
3776 (tramp-smb-handle-copy-directory)
3777 (tramp-smb-action-get-acl): New defun, renamed from
3778 `tramp-smb-action-with-acl'.
3779 (tramp-smb-action-set-acl): New defun.
3780 (tramp-smb-handle-set-file-acl): Rewrite.
3781
642eb8b6
GM
37822013-10-17 Glenn Morris <rgm@gnu.org>
3783
3784 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3785
85527ff3
SM
37862013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3787
921c1d62
SM
3788 * skeleton.el (skeleton-newline): Remove.
3789 (skeleton-internal-1): Use (insert "\n") instead.
3790
e333fb10
SM
3791 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3792 let-bindings.
3793
85527ff3
SM
3794 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3795 forward-sexp-function while we redo its job (bug#15613).
3796
c8722a97
JB
37972013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3798
3799 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3800 represented by lists.
3801
7a550bbb
GM
38022013-10-16 Glenn Morris <rgm@gnu.org>
3803
3804 * tmm.el (tmm--history): New dynamic variable.
3805 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3806
f19da8ad
MA
38072013-10-16 Michael Albinus <michael.albinus@gmx.de>
3808
3809 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3810 (tramp-smb-errors): Add error messages.
3811 (tramp-smb-actions-with-acl): New defconst.
3812 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3813 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3814 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3815 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3816 (tramp-smb-get-stat-capability): Fix tests.
3817
a24b9961
DK
38182013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3819
3820 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3821 (bug#15580).
3822
62ad85e6
GM
38232013-10-16 Glenn Morris <rgm@gnu.org>
3824
0283d6b0
GM
3825 * ansi-color.el (ansi-color-drop-regexp):
3826 Add 1J, 1K, 2K. (Bug#15617)
3827
012e2f9f
GM
3828 * files.el (hack-local-variables--warned-lexical): New.
3829 (hack-local-variables):
3830 Warn about misplaced lexical-binding. (Bug#15616)
3831
62ad85e6
GM
3832 * net/eww.el (eww-render): Always set eww-current-url,
3833 and update header line. (Bug#15622)
3834 (eww-display-html): ... Rather than just doing it here.
3835
6456c0ea
EZ
38362013-10-15 Eli Zaretskii <eliz@gnu.org>
3837
3838 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3839 menu navigations commands.
3840
c2de5588
DK
38412013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3842
3843 * progmodes/subword.el (subword-capitalize): Be careful when
3844 the search for [[:alpha:]] fails (bug#15580).
3845
ccd4a783
EZ
38462013-10-14 Eli Zaretskii <eliz@gnu.org>
3847
3848 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3849 to commands that scroll the menu.
3850
1eda1d8d
DG
38512013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3852
c2de5588
DK
3853 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3854 Handle methods ending with `?' and `!'.
1eda1d8d 3855
e70181b8
AM
38562013-10-14 Akinori MUSHA <knu@iDaemons.org>
3857
3858 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3859 `japanese-cp932' to `cp932' to fix the problem where saving a
3860 source file written in Shift_JIS twice would end up having
3861 `coding: japanese-cp932' which Ruby could not recognize.
3862 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3863 in `ruby-encoding-map'.
3864 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3865 doesn't need to be explicitly declared in magic comment.
3866 (ruby-encoding-map): Add type declaration for better customize UI.
3867
9148ee92
GM
38682013-10-13 Glenn Morris <rgm@gnu.org>
3869
a5d38e34
GM
3870 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3871 Occur buffers are read-only. http://bugs.debian.org/720775
3872
9148ee92
GM
3873 * emacs-lisp/authors.el (authors-fixed-entries):
3874 Comment out old alpha stuff.
3875
a9ba094b
DG
38762013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3877
3878 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3879 to `after-save-hook' instead of `before-save-hook'.
3880 (ruby-mode-set-encoding): Use the value of coding system used to
3881 write the file. Call `basic-save-buffer-1' after modifying the
3882 buffer.
3883
7a068717
AM
38842013-10-13 Alan Mackenzie <acm@muc.de>
3885
3886 Fix indentation/fontification of Java enum with
3887 "implements"/generic.
3888
c2de5588
DK
3889 * progmodes/cc-engine.el (c-backward-over-enum-header):
3890 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3891 (c-inside-bracelist-p): Uses new function above.
3892 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3893 function above.
3894 (c-font-lock-enum-tail): Uses new function above.
3895
85b64f02
KH
38962013-10-13 Kenichi Handa <handa@gnu.org>
3897
3898 * international/mule-cmds.el (select-safe-coding-system): Remove a
3899 superfluous condition in chekcing whether a coding system is safe
3900 or not.
3901
fc7f501b
OK
39022013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3903
3904 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3905
fdcb2049
AP
39062013-10-13 Andreas Politz <politza@hochschule-trier.de>
3907
3908 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3909
8c106d17
GM
39102013-10-13 Glenn Morris <rgm@gnu.org>
3911
feab892d
GM
3912 * menu-bar.el (menu-bar-update-buffers):
3913 Unify Buffers menu prompt string. (Bug#15576)
3914
b22d0686
GM
3915 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3916
8c106d17
GM
3917 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3918 Add some entries.
3919 (authors-fixed-entries): Use accented form of name.
3920
1b12c797
SM
39212013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3922
650fa7bf 3923 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3924 method calls (bug#15594).
650fa7bf
SM
3925 (ruby-smie--args-separator-p): New function.
3926 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3927 recognize paren-free method calls.
3928
1b12c797
SM
3929 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3930 internals of universal-argument.
3931
029619c8
EZ
39322013-10-11 Eli Zaretskii <eliz@gnu.org>
3933
3934 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3935 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3936 dropped menu on second mouse click on the menu bar.
029619c8 3937
dd070019
SM
39382013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3939
3940 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3941 (explicit-shell-file-name): Declare.
3942 (sh--vars-before-point, sh--cmd-completion-table): New functions.
3943 (sh-completion-at-point-function): New function.
3944 (sh-mode): Use it.
3945 (sh-smie--keyword-p): Remove unused argument.
3946 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3947 vars.
3948 (sh-set-shell): Always setup SMIE, even if we use the
3949 old indentation code.
3950
0922b826
DG
39512013-10-11 Dmitry Gutov <dgutov@yandex.ru>
3952
b68e2926
DG
3953 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3954 cases of ? and =.
3955 (ruby-smie-rules): Simplify the "do" rule. The cases when the
3956 predicate would return nil are almost non-existent.
3957 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3958
0922b826
DG
3959 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3960 cache also after commands that modify the buffer but don't move
3961 point.
3962
ee041f2d
SM
39632013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3964
3965 * env.el (substitute-env-in-file-name): New function.
3966 (substitute-env-vars): Extend the meaning of the optional arg.
3967
a5dab159
EZ
39682013-10-10 Eli Zaretskii <eliz@gnu.org>
3969
3970 * term/w32-win.el (dynamic-library-alist): Define separate lists
3971 of GIF DLLs for versions before and after 5.0.0 of giflib.
3972 (Bug#15531)
3973
0449d6cd 39742013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
3975
3976 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3977 not locked, use last revision and current source as
3978 defaults. (Bug#15569)
3979
2f6e161e
MY
39802013-10-10 Masatake YAMATO <yamato@redhat.com>
3981
3982 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3983 menu-bar is hidden.
3984
6c8413fc
MR
39852013-10-10 Martin Rudalics <rudalics@gmx.at>
3986
3987 * window.el (pop-to-buffer-same-window): Fix doc-string.
3988 (Bug#15492)
3989
20832de0
SM
39902013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3993
c6e8ae77
AC
39942013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3995
3996 * calendar/icalendar.el (icalendar-import-file):
3997 Fix interactive spec. (Bug#15482)
3998
9db13baf
GM
39992013-10-10 Glenn Morris <rgm@gnu.org>
4000
9271e90e
GM
4001 * desktop.el (desktop-save): Default to saving in .emacs.d,
4002 since PWD is no longer in desktop-path by default. (Bug#15319)
4003
9db13baf
GM
4004 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4005 now that text mode has a menu with the same entry.
4006 (menu-bar-text-mode-auto-fill): Remove now unused func.
4007 * textmodes/text-mode.el (text-mode-map):
4008 Use auto-fill help text from menu-bar.el.
4009
a0be396a 40102013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4011
4012 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4013
2edcd3c7
JL
40142013-10-09 Juri Linkov <juri@jurta.org>
4015
4016 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4017 instead of this-command-keys. Add universal-argument-more and
4018 universal-argument-minus to the list of prefix commands. (Bug#15568)
4019
574411d0
GM
40202013-10-09 Glenn Morris <rgm@gnu.org>
4021
14afa541
GM
4022 * vc/vc-svn.el (vc-svn-create-repo):
4023 Expand paths in file://... url. (Bug#15446)
4024
574411d0
GM
4025 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4026 Add some entries.
4027 (authors): Remove unused local variables.
4028
79804536
SM
40292013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * profiler.el: Create a more coherent calltree from partial backtraces.
4032 (profiler-format): Hide the tail with `invisible' so that C-s can still
4033 find the hidden elements.
4034 (profiler-calltree-depth): Don't recurse so enthusiastically.
4035 (profiler-function-equal): New hash-table-test.
4036 (profiler-calltree-build-unified): New function.
4037 (profiler-calltree-build): Use it.
4038 (profiler-report-make-name-part): Indent the calltree less.
4039 (profiler-report-mode): Add visibility specs for profiler-format.
4040 (profiler-report-expand-entry, profiler-report-toggle-entry):
4041 Expand the whole subtree when provided with a prefix arg.
4042
238150c8
DG
40432013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4044
4045 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4046 iuwu-mod token.
4047 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4048 hanging iuwu-mod token.
4049 (ruby-smie--forward-token): Do not include a dot after a token in
4050 that token.
4051 (ruby-smie--backward-token): Likewise.
4052
b0949cc4
JL
40532013-10-08 Juri Linkov <juri@jurta.org>
4054
4055 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4056 to isearch-other-control-char.
4057 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4058 and isearch-post-command-hook to post-command-hook.
4059 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4060 and isearch-post-command-hook from post-command-hook.
4061 (isearch-unread-key-sequence)
4062 (isearch-reread-key-sequence-naturally)
4063 (isearch-lookup-scroll-key, isearch-other-control-char)
4064 (isearch-other-meta-char): Remove functions.
4065 (isearch-pre-command-hook, isearch-post-command-hook):
4066 New functions based on isearch-other-meta-char rewritten
4067 relying on the new behavior of overriding-terminal-local-map
4068 that does not replace the local keymaps any more. (Bug#15200)
4069
4ed77415
EZ
40702013-10-08 Eli Zaretskii <eliz@gnu.org>
4071
4072 Support menus on text-mode terminals.
4073 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4074 functionality.
4075
4076 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4077
c2de5588
DK
4078 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4079 Move here from mouse.el.
4ed77415
EZ
4080 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4081 and arrow keys.
4082 (tty-menu-navigation-map): New map for TTY menu navigation.
4083
4084 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4085
4086 * frame.el (display-mouse-p): Report text-mode mouse as available
4087 on w32.
4088 (display-popup-menus-p): Report availability if mouse is
4089 available; don't condition on window-system.
4090
4091 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4092 (tty-menu-selected-face): New faces.
4093
b7d5bd82
TL
40942013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4095
06286513
SM
4096 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4097 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4098 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4099 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4100 New constants.
4101 (lisp-mode-variables): New `elisp' argument.
4102 (emacs-lisp-mode): Use it.
4103 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4104 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4105
b7d5bd82
TL
4106 * indent.el: Use lexical-binding.
4107 (indent-region): Add progress reporter.
4108 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4109 last step.
4110 (indent--next-tab-stop): New function to implement this behavior.
4111 (tab-to-tab-stop, move-to-tab-stop): Use it.
4112
41132013-10-08 Teemu Likonen <tlikonen@iki.fi>
4114
4115 * indent.el (indent-rigidly--current-indentation): New function.
4116 (indent-rigidly-map): New var.
4117 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4118
5ea75d23
BG
41192013-10-08 Bastien Guerry <bzg@gnu.org>
4120
4121 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4122
cc5da1ec
SM
41232013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4124
8ffa1a0b
SM
4125 * progmodes/perl-mode.el: Use lexical-binding.
4126 Remove redundant :group args.
4127 (perl-nochange): Change default to be closer to other major modes's
4128 standard behavior.
4129 (perl-indent-line): Don't consider text on current line as a
4130 valid beginning of function from which to indent.
4131
f2223371
SM
4132 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4133 with more than one argument (bug#15538).
4134
44256060
SM
4135 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4136
cc5da1ec
SM
4137 * vc/pcvs.el: Use lexical-binding.
4138 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4139 environment of `eval'.
4140 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4141 than a list of expressions. Adjust callers.
4142 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4143
0ea1599d
DG
41442013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4145
4146 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4147 case of the dot in a chained method call being on the following line.
0ea1599d 4148
da3e5ebb
SM
41492013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4150
2abb4e65
SM
4151 * electric.el (electric-indent-inhibit): New var.
4152 (electric-indent-post-self-insert-function): Use it.
4153 * progmodes/python.el (python-mode): Set it.
4154
d2e0e795
SM
4155 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4156 open braces.
4157
4158 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4159
bdc6b4c8
SM
4160 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4161 (css-mode): Use electric-indent-chars.
4162
da3e5ebb
SM
4163 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4164 (font-lock-beg, font-lock-end): Move before first use.
4165 (nxml-mode): Use syntax-propertize-function.
4166 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4167 (nxml-extend-after-change-region): Remove.
4168 * nxml/xmltok.el: Use lexical-binding.
4169 (xmltok-save): Use `declare'.
4170 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4171 * nxml/nxml-util.el: Use lexical-binding.
4172 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4173 Use `declare'.
4174 * nxml/nxml-ns.el: Use lexical-binding.
4175 (nxml-ns-save): Use `declare'.
4176 (nxml-ns-prefixes-for): Avoid add-to-list.
4177 * nxml/rng-match.el: Use lexical-binding.
4178 (rng--ipattern): Use cl-defstruct.
4179 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4180 (rng-cons-group-after, rng-subst-group-after)
4181 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4182 Use closures instead of `(lambda...).
4183
f8f91d5d
MA
41842013-10-07 Michael Albinus <michael.albinus@gmx.de>
4185
4186 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4187 of BEG and END.
4188
da3e5ebb
SM
4189 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4190 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4191 (tramp-gvfs-handle-insert-file-contents): Remove function.
4192
da3e5ebb
SM
4193 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4194 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4195
4196 * net/trampver.el: Update release number.
4197
7ccae3b1
SM
41982013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4199
55ca2c0d
SM
4200 * progmodes/compile.el (compilation-parse-errors):
4201 Use compilation--put-prop.
4202 (compilation--ensure-parse): Check compilation-multiline.
4203
731fc3ae
SM
4204 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4205
da3e5ebb
SM
4206 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4207 lexical-binding.
a5833280 4208
2e7ba2c2
SM
4209 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4210
7ccae3b1
SM
4211 * progmodes/ruby-mode.el: Fix recently added tests.
4212 (ruby-smie-grammar): Add - and +.
4213 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4214 (ruby-smie--backward-id): New functions.
4215 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4216 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4217 any more.
4218
85698d63
LL
42192013-10-07 Leo Liu <sdl.web@gmail.com>
4220
4221 * register.el (register-preview-delay)
4222 (register-preview-functions): New variables.
4223 (register-read-with-preview, register-preview)
4224 (register-describe-oneline): New functions.
4225 (point-to-register, window-configuration-to-register)
4226 (frame-configuration-to-register, jump-to-register)
4227 (number-to-register, view-register, insert-register)
4228 (copy-to-register, append-to-register, prepend-to-register)
4229 (copy-rectangle-to-register): Use register-read-with-preview to
4230 read register. (Bug#15525)
4231
3986af6c
DS
42322013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4233
4234 * net/network-stream.el (network-stream-open-starttls): Don't add
4235 --insecure if it's already present, because that gnutls-cli
4236 rejects getting that parameter twice.
4237
5cd9cda9
DG
42382013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4239
4240 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4241 keyword, too.
4242
da9ea6d9
DG
42432013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4244
4245 * newcomment.el (comment-use-global-state): Change default value
4246 to t, mark obsolete (Bug#15251).
4247 (comment-beginning): In addition to `comment-to-syntax', check the
4248 value of `comment-use-global-state'.
4249
34d1a133
SM
42502013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4251
4252 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4253 (ruby-comment-column): Follow the global default, by default.
4254 (ruby-smie-grammar): Add assignment syntax.
4255 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4256 open-paren, a comma, or a \.
4257 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4258 and line continuations.
4259 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4260 followed by implicit semi-colons. Add rule for string concatenation
4261 and for indentation at BOB.
4262 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4263
4264 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4265 calling next-sexp, since next-token may have skipped chars which
4266 next-sexp doesn't know should be skipped!
4267
6f6ab820
LL
42682013-10-05 Leo Liu <sdl.web@gmail.com>
4269
34d1a133
SM
4270 * progmodes/octave.el (octave-send-region):
4271 Call compilation-forget-errors.
6f6ab820 4272
34ca0f4c
XF
42732013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4274
4275 * vc/vc-svn.el (vc-svn-find-admin-dir):
4276 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4277 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4278 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4279 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4280
a27c1b72
SM
42812013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4284
258ab3bc
SM
42852013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * subr.el (read-passwd): Hide chars even when called within a context
4288 where after-change-functions is disabled (bug#15501).
4289 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4290 until we removed ourself from overriding-terminal-local-map.
4291
939fb29c
LL
42922013-10-04 Leo Liu <sdl.web@gmail.com>
4293
258ab3bc
SM
4294 * progmodes/octave.el (inferior-octave-mode):
4295 Call compilation-forget-errors.
939fb29c 4296
63bd7f35
XF
42972013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4298
4299 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4300
9e6229fa
MA
43012013-10-04 Michael Albinus <michael.albinus@gmx.de>
4302
4303 * net/secrets.el (secrets-create-collection): Add optional
4304 argument ALIAS. Use proper Label keyword. Append ALIAS as
4305 dbus-call-method argument. (Bug#15516)
4306
1dab32a3
LL
43072013-10-04 Leo Liu <sdl.web@gmail.com>
4308
4309 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4310 (inferior-octave-compilation-font-lock-keywords): New variables.
4311 (compilation-error-regexp-alist)
4312 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4313 (inferior-octave-mode): Use compilation-shell-minor-mode.
4314
6cad7ba3
JS
43152013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4316
4317 * minibuffer.el (completion--replace): Be careful that `end' might be
4318 a marker.
4319
acbadd00
DU
43202013-10-03 Daiki Ueno <ueno@gnu.org>
4321
4322 Add support for package signature checking.
4323 * emacs-lisp/package.el (url-http-file-exists-p)
4324 (epg-make-context, epg-context-set-home-directory)
4325 (epg-verify-string, epg-context-result-for)
4326 (epg-signature-status, epg-signature-to-string)
4327 (epg-check-configuration, epg-configuration)
4328 (epg-import-keys-from-file): Declare.
4329 (package-check-signature): New user option.
4330 (package-unsigned-archives): New user option.
4331 (package-desc): Add `signed' field.
4332 (package-load-descriptor): Set `signed' field if .signed file exists.
4333 (package--archive-file-exists-p): New function.
4334 (package--check-signature): New function.
4335 (package-install-from-archive): Check package signature.
4336 (package--download-one-archive): Check archive signature.
4337 (package-delete): Remove .signed file.
4338 (package-import-keyring): New command.
4339 (package-refresh-contents): Import default keyring.
4340 (package-desc-status): Add "unsigned" status.
4341 (describe-package-1, package-menu--print-info)
4342 (package-menu-mark-delete, package-menu--find-upgrades)
4343 (package-menu--status-predicate): Support "unsigned" status.
4344
adf2aa61
SM
43452013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4346
4347 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4348 the new compilation scheme using the new byte-codes.
4349
4350 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4351 (byte-pophandler): New byte codes.
4352 (byte-goto-ops): Adjust accordingly.
4353 (byte-compile--use-old-handlers): New var.
4354 (byte-compile-catch): Use new byte codes depending on
4355 byte-compile--use-old-handlers.
4356 (byte-compile-condition-case--old): Rename from
4357 byte-compile-condition-case.
4358 (byte-compile-condition-case--new): New function.
4359 (byte-compile-condition-case): New function that dispatches depending
4360 on byte-compile--use-old-handlers.
4361 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4362 when we can.
4363
4364 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4365 Optimize under `condition-case' and `catch' if
4366 byte-compile--use-old-handlers is nil.
4367 (disassemble-offset): Handle new bytecodes.
4368
328a8179
SM
43692013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * subr.el (error): Use `declare'.
4372 (decode-char, encode-char): Use advertised-calling-convention instead
4373 of the docstring to discourage use of the `restriction' arg.
4374
15a1e936
DU
43752013-10-03 Daiki Ueno <ueno@gnu.org>
4376
4377 * epg.el (epg-verify-file): Add a comment saying that it does not
4378 notify verification error as a return value nor a signal.
4379 (epg-verify-string): Ditto.
4380
376f862a
KR
43812013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4382
4383 * progmodes/compile.el (compilation-start): Try globbing the arg to
4384 `cd' (bug#15417).
4385
a2f93a5f
MA
43862013-10-02 Michael Albinus <michael.albinus@gmx.de>
4387
4388 Sync with Tramp 2.2.8.
4389
4390 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4391 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4392 * net/trampver.el: Update release number.
4393
0daa0804
JD
43942013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4395
4396 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4397 and default-process-coding-system for darwin only.
4398
abd1ae34
SM
43992013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4402
be4e325d
MH
44032013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4404
4405 * vc/vc-git.el (vc-git-grep): Disable pager.
4406
e9155c4a
DG
44072013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4408
494e898b
DG
4409 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4410 Use :url instead of :homepage, as per
4411 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4412
e9155c4a
DG
4413 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4414 non-nil, use `syntax-ppss' (Bug#15251).
4415
481a8e0f
RS
44162013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4417
be4e325d
MH
4418 * progmodes/octave.el (inferior-octave-startup-file):
4419 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4420
056453c6
DG
44212013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4422
be4e325d
MH
4423 * emacs-lisp/package.el (package-desc-from-define):
4424 Accept additional arguments as plist, convert them to an alist and store
4425 them in the `extras' slot.
056453c6
DG
4426 (package-generate-description-file): Convert extras alist back to
4427 plist and append to the `define-package' form arguments.
4428 (package--alist-to-plist): New function.
4429 (package--ac-desc): Add `extras' slot.
4430 (package--add-to-archive-contents): Check if the archive-contents
4431 vector is long enough, and if it is, pass its `extras' slot value
4432 to `package-desc-create'.
4433 (package-buffer-info): Call `lm-homepage', pass the returned value
4434 to `package-desc-from-define'.
4435 (describe-package-1): Render the homepage button (Bug#13291).
4436
be4e325d
MH
4437 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4438 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4439
832966e5
JD
44402013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4441
4442 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4443 and default-process-coding-system to utf-8-unix (Bug#15402).
4444
6cfe977d
XF
44452013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4446
4447 * subr.el (looking-back): Do not recommend using looking-back.
4448
38de11bd
AM
44492013-09-28 Alan Mackenzie <acm@muc.de>
4450
4451 Fix indentation/fontification of Java enum with "implements".
4452
4453 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4454 regexp which matches "implements", etc., in Java.
4455 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4456 specifier clauses coming after "enum".
4457 * progmodes/cc-fonts.el (c-font-lock-declarations)
4458 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4459 after "enum".
4460
1610938f
JD
44612013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4462
4463 * faces.el (region): Change ns_selection_color to
4464 ns_selection_fg_color, add ns_selection_bg_color.
4465
e090f499
LL
44662013-09-28 Leo Liu <sdl.web@gmail.com>
4467
4d2e94d1
LL
4468 * progmodes/octave.el (inferior-octave-completion-table)
4469 (inferior-octave-completion-at-point): Minor tweaks.
4470
e090f499
LL
4471 * textmodes/ispell.el (ispell-lookup-words): Rename from
4472 lookup-words. (Bug#15460)
4473 (lookup-words): Obsolete.
4474 (ispell-complete-word, ispell-command-loop): All uses changed.
4475
7e138a62
RS
44762013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4477
a12bf61e 4478 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4479 (octave-mode-menu): Add octave-send-buffer.
4480 (octave-send-buffer): New function.
4481
5af5ed08
RS
44822013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4483
a12bf61e 4484 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4485 octave-lookfor.
4486 (octave-mode-menu): Add octave-lookfor.
4487 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4488 octave-lookfor.
4489 (octave-lookfor): New function.
4490
3b7b2692
SM
44912013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * emacs-lisp/cl-macs.el:
4494 (cl--loop-destr-temps): Remove.
4495 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4496 its convention.
4497 (cl--loop-set-iterator-function): New function.
4498 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4499 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4500 Bind `it' with `let' instead of substituting it with `cl-subst'.
4501 (cl--unused-var-p): New function.
4502 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4503 Eliminate some unused variable warnings (bug#15326).
4504
529fb53f
TH
45052013-09-27 Tassilo Horn <tsdh@gnu.org>
4506
4507 * doc-view.el (doc-view-scale-reset): Rename from
4508 `doc-view-reset-zoom-level'.
4509 (doc-view-scale-adjust): New command.
4510 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4511 `doc-view-scale-adjust'.
4512
0550c95a
TH
45132013-09-26 Tassilo Horn <tsdh@gnu.org>
4514
4515 * doc-view.el (doc-view-reset-zoom-level): New command.
4516 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4517 zoom commands (bug#15466).
4518
6950f152
KH
45192013-09-26 Kenichi Handa <handa@gnu.org>
4520
4521 * international/quail.el (quail-help): Make it not a command.
4522
39587580
LL
45232013-09-26 Leo Liu <sdl.web@gmail.com>
4524
4525 * minibuffer.el (completion-all-sorted-completions): Make args
4526 optional as they are.
4527
00578659
DC
45282013-09-25 Daniel Colascione <dancol@dancol.org>
4529
4530 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4531 specs are and that they're not evaluated.
4532
0c173878
SS
45332013-09-24 Sam Steingold <sds@gnu.org>
4534
4535 * midnight.el (clean-buffer-list-kill-regexps)
4536 (clean-buffer-list-kill-buffer-names): Update for the new Man
4537 buffer naming which includes the object name.
4538
84998447
SM
45392013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4542 (eshell-parse-command, eshell-parse-pipeline): Use it since
4543 eshell-separate-commands requires a dynamic scoped var.
4544 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4545
33215353
LL
45462013-09-23 Leo Liu <sdl.web@gmail.com>
4547
4548 * autoinsert.el (auto-insert-alist): Make the value of
4549 lexical-binding match its file setting.
4550
57b16162
JB
45512013-09-23 Juanma Barranquero <lekktu@gmail.com>
4552
c8af4e67
JB
4553 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4554
57b16162
JB
4555 * autoarg.el (autoarg-kp-digit-argument):
4556 * electric.el (Electric-command-loop):
4557 * kmacro.el (kmacro-step-edit-insert):
4558 Do not set universal-argument-num-events.
4559
7186ba60
LL
45602013-09-22 Leo Liu <sdl.web@gmail.com>
4561
4562 * files.el (interpreter-mode-alist): Add octave.
4563
ece15004
AM
45642013-09-21 Alan Mackenzie <acm@muc.de>
4565
4566 C++: fontify identifier in declaration following "public:" correctly.
4567 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4568 to match "public", etc.
4569 (c-decl-prefix-re): Add ":" into the C++ value.
4570 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4571 bit. Add a check for a ":" preceded by "public", etc.
4572
75d83e22
EZ
45732013-09-21 Eli Zaretskii <eliz@gnu.org>
4574
4575 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4576 recognized by GDB 7.5 and later.
4577
d052d3bd
XF
45782013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4579
4580 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4581
31dca772
R
45822013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * subr.el (internal--call-interactively): New const.
4585 (called-interactively-p): Use it (bug#3984).
4586
98ccf24e
XF
45872013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4588
4589 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4590 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4591 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4592
c39cc7d1
SM
45932013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4596 (eshell-ls-orig-insert-directory): Remove.
4597 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4598 (eshell-ls-use-in-dired): Use advice-add/remove.
4599 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4600 Add `orig-fun' arg for use in :around advice.
4601 Make it check (redundantly) eshell-ls-use-in-dired.
4602
9a0289a2
GM
46032013-09-19 Glenn Morris <rgm@gnu.org>
4604
a2c501b8
GM
4605 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4606
c440407a
GM
4607 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4608
9a0289a2
GM
4609 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4610
85e05915
MA
46112013-09-19 Michael Albinus <michael.albinus@gmx.de>
4612
4613 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4614 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4615 (tramp-get-remote-python): New defuns.
4616 (tramp-get-remote-uid-with-perl)
4617 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4618 contributed by yary <not.com@gmail.com> (tiny change).
4619 (tramp-get-remote-uid-with-python)
4620 (tramp-get-remote-gid-with-python): New defuns. Python code
4621 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4622 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4623
ce503312
GM
46242013-09-19 Glenn Morris <rgm@gnu.org>
4625
f7544773
GM
4626 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4627
72fd2877
GM
4628 * eshell/em-unix.el (eshell-remove-entries):
4629 Rename argument to avoid name-clash with global `top-level'.
4630
336b5a56
GM
4631 * eshell/esh-proc.el (eshell-kill-process-function):
4632 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4633 (eshell-reset-after-proc): Remove unused arg `proc'.
4634
57a3a53d
GM
4635 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4636 (directory-files-and-attributes): Mark unused arg.
4637
3261d4af
GM
4638 * eshell/em-unix.el (eshell-remove-entries):
4639 Remove unused arg `path'. Update callers.
4640
8e51b5d0
GM
4641 * eshell/em-hist.el (eshell-hist-parse-arguments):
4642 Remove unused arg `silent'. Update callers.
4643
ce503312
GM
4644 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4645 Fix (f)boundp mix-up.
4646
4647 * eshell/em-smart.el (eshell-smart-scroll-window)
4648 (eshell-disable-after-change):
336b5a56 4649 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4650
ee3ce8a7
AM
46512013-09-18 Alan Mackenzie <acm@muc.de>
4652
4653 Fix fontification of type when followed by "const".
4654 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4655 "known" types from fontification.
4656
ec9177ba
GM
46572013-09-18 Glenn Morris <rgm@gnu.org>
4658
7bb3e768
GM
4659 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4660 (chart-face-list): Drop Emacsen without display-color-p.
4661
5148da15
GM
4662 * net/eww.el (libxml-parse-html-region): Declare.
4663 (eww-display-html): Explicit error if no libxml2 support.
4664
2f68e157
GM
4665 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4666
9019d095
GM
4667 * image.el (image-type-from-buffer, image-multi-frame-p):
4668 Remove --without-x warning/error.
67645389 4669
5f30349b 4670 * mouse.el (mouse-yank-primary):
45069b2e 4671 * term.el (term-mouse-paste):
5f30349b
GM
4672 Reorder to silence --without-x compilation.
4673
cd8edbbe
GM
4674 * mpc.el (doc-view-mode): Silence --without-x compilation.
4675
8a78544e
GM
4676 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4677 Silence --without-x compilation.
4678
12679bfd
GM
4679 * progmodes/gud.el (gud-find-file, gud-mode):
4680 Silence --without-x compilation.
4681 (tooltip-mode): Declare.
30810a05 4682
f0047cb9
GM
4683 * wdired.el (dired-backup-overwrite): Remove declaration.
4684 (wdired-mode-map): Add doc string.
4685
e740f9d2
GM
4686 * custom.el (x-get-resource): Declare.
4687
92d77c89
GM
4688 * eshell/em-glob.el (ange-cache):
4689 * eshell/em-unix.el (ange-cache): Declare.
4690
76e69577
GM
4691 * faces.el (x-display-list, x-open-connection, x-get-resource):
4692 Declare.
7e58af4b
GM
4693
4694 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4695 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4696 Declare.
76e69577 4697
4bd4c0af 4698 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4699
ffb82dbd
GM
4700 * net/gnutls.el (gnutls-log-level): Declare.
4701
986ed135
GM
4702 * net/shr.el (image-size, image-animate): Declare.
4703
e740f9d2
GM
4704 * simple.el (font-info): Declare.
4705
d2f3e9f8
GM
4706 * subr.el (x-popup-dialog): Declare.
4707
047a1a4c
GM
4708 * term/common-win.el (x-select-enable-primary)
4709 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4710 Declare.
4711
f4a1d572
GM
4712 * term/ns-win.el (x-handle-args): Declare.
4713
e843de77
GM
4714 * term/x-win.el (x-select-enable-clipboard): Declare.
4715
5fa89513
GM
4716 * term/w32-win.el (create-default-fontset): Declare.
4717
38702b5b
GM
4718 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4719 Declare.
4720
e740f9d2
GM
4721 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4722 (fit-frame-to-buffer): Explicit error if --without-x.
4723 (mouse-autoselect-window-select): Silence compiler.
4724
49a053fc
GM
4725 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4726
4727 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4728 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4729 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4730 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4731 Remove unused local variables.
4732
4733 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4734
ec9177ba
GM
4735 * textmodes/two-column.el: Make 2C-split work for --without-x.
4736 (scroll-bar-columns): Autoload.
4737 (top-level): Require fringe when compiling.
4738
9f25cb77
LL
47392013-09-18 Leo Liu <sdl.web@gmail.com>
4740
4741 * subr.el (add-hook): Robustify to handle closure as well.
4742
2b42da98
GM
47432013-09-17 Glenn Morris <rgm@gnu.org>
4744
4745 * simple.el (messages-buffer-mode-map): Unbind "g".
4746
e8b66a6a
SM
47472013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4748
9c0ad4f7
SM
4749 * help-mode.el (help-mode-finish): Use derived-mode-p.
4750 Remove obsolete highlighting.
4751
7a806dfb
SM
4752 * play/life.el (life-mode): Use define-derived-mode. Derive from
4753 special-mode.
4754 (life): Let-bind inhibit-read-only.
4755 (life-setup): Avoid `setq'. Use `life-mode'.
4756
96dbf5a8
SM
4757 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4758 which should not be needed any more.
4759 (package-menu-refresh, package-menu-describe-package): Use user-error.
4760
e8b66a6a
SM
4761 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4762 (eshell-post-rewrite-command-hook): Make obsolete.
4763 (eshell-parse-command): Simplify.
4764 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4765 (eshell--cmd): Declare.
4766 (eshell-parse-pipeline): Remove unused var `final-p'.
4767 Pass a dynvar to eshell-post-rewrite-command-hook.
4768 Implement the new eshell-post-rewrite-command-function.
4769 (eshell-invoke-directly): Remove unused arg `input'.
4770 * eshell/esh-io.el (eshell-io-initialize):
4771 Use eshell-post-rewrite-command-function (bug#15399).
4772 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4773 adjust to new calling convention.
4774 (eshell-create-handles): Rename args to avoid clashing with dynvar
4775 `standard-output'.
4776
90582f05
GM
47772013-09-17 Glenn Morris <rgm@gnu.org>
4778
4779 * simple.el (messages-buffer-mode): New major mode.
4780 (messages-buffer): New function.
4781 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4782 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4783 (ert-run-test): Use `messages-buffer' function.
90582f05 4784 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4785 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4786 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4787
39eb0cb5 47882013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4789
4790 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4791
1d42e5b6 4792 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4793
70568a90
SM
47942013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4795
504a0381
SM
4796 * icomplete.el (icomplete-in-buffer): New var.
4797 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4798 vars and replace them with functions.
4799 (icomplete-minibuffer-setup): Adjust accordingly.
4800 (icomplete--completion-table, icomplete--completion-predicate)
4801 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4802 New functions.
4803 (icomplete-forward-completions, icomplete-backward-completions)
4804 (icomplete-simple-completing-p, icomplete-exhibit)
4805 (icomplete-completions): Use them.
4806 (icomplete--in-region-buffer): New var.
4807 (icomplete--in-region-setup): New function.
4808 (icomplete-mode): Use it.
4809
70568a90
SM
4810 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4811 (bug#15379).
4812 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4813 return args and options.
4814 (eshell-eval-using-options): Use the new return value of
4815 eshell--do-opts to set the options's vars in their scope.
4816 (eshell--set-option): Rename from eshell-set-option.
4817 Add arg `opt-vals'.
4818 (eshell--process-option): Rename from eshell-process-option.
4819 Add arg `opt-vals'.
4820 (eshell--process-args): Use an `opt-vals' alist to store the options's
4821 values during their processing and return them additionally to the
4822 remaining args.
4823
578c21bc
DG
48242013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4825
4826 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4827 continuation character an operator, as far as indentation is
4828 concerned (Bug#15369).
4829
c089653d
MR
48302013-09-15 Martin Rudalics <rudalics@gmx.at>
4831
4832 * window.el (window--state-put-2): Don't process buffer state
4833 when buffer doesn't exist any more (Bug#15382).
4834
1e53bb4b
GM
48352013-09-15 Glenn Morris <rgm@gnu.org>
4836
30753242
GM
4837 * eshell/em-unix.el (eshell/rm):
4838 Make -f ignore missing files. (Bug#15373)
4839
1e53bb4b
GM
4840 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4841 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4842 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4843
0d8863b3
GM
48442013-09-14 Glenn Morris <rgm@gnu.org>
4845
4846 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4847
d3fc6549
GM
48482013-09-13 Glenn Morris <rgm@gnu.org>
4849
4850 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4851 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4852
fcd42c11
DA
48532013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4854
4855 * frame.el (x-focus-frame): Mark as declared in frame.c.
4856
7830899f
SM
48572013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * ls-lisp.el: Use advice-add.
4860 (original-insert-directory): Remove.
4861 (ls-lisp--insert-directory): Rename from insert-directory; add
4862 `orig-fun' argument.
4863 (insert-directory): Advise.
4864
84387cd2
EZ
48652013-09-13 Eli Zaretskii <eliz@gnu.org>
4866
4867 * term.el (term-emulate-terminal): Decode the command string
4868 before passing it to term-command-hook. (Bug#15337)
4869
35ffc6ba
GM
48702013-09-13 Glenn Morris <rgm@gnu.org>
4871
5c3f9bcc
GM
4872 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4873
2ada368a
GM
4874 * eshell/esh-ext.el (eshell-search-path): Declare.
4875
fcef2e13
GM
4876 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4877 Otherwise an error occurs if eshell-dirs module not loaded.
4878
35ffc6ba
GM
4879 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4880
35c3d36e
MA
48812013-09-13 Michael Albinus <michael.albinus@gmx.de>
4882
4883 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4884 `tramp-check-proper-host'. Check for a valid method name.
4885
4886 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4887 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4888 * net/tramp-sh.el (tramp-maybe-open-connection):
4889 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4890
4891 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4892 also for hash values.
4893
ae5e4c48
SM
48942013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4895
379add74
SM
4896 * term/ns-win.el (parameters): Don't declare as dynamic.
4897 (before-make-frame-hook): Don't add ineffective function.
4898
ae5e4c48
SM
4899 * eshell/*.el: Use lexical-binding (bug#15231).
4900
b5623270
KH
49012013-09-12 Kenichi Handa <handa@gnu.org>
4902
ae5e4c48 4903 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4904
30213927
GM
49052013-09-12 Glenn Morris <rgm@gnu.org>
4906
be94d713 4907 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4908 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4909
44915370
GM
4910 * subr.el (do-after-load-evaluation): Also give compiler warnings
4911 when obsolete files are used (except by obsolete files).
4912
a6ae021f
GM
4913 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4914 in the status output, assume `filename' is the first. (Bug#15322)
4915
40e64f0c
GM
4916 * vc/vc.el (vc-deduce-fileset): Doc fix.
4917
16d9f896
GM
4918 * calc/calc-help.el (Info-goto-node):
4919 * progmodes/cperl-mode.el (Info-find-node):
4920 * vc/ediff.el (Info-goto-node): Update declarations.
4921
dea01c6e
GM
4922 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4923
759880bf 4924 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4925 (vc-bzr-pull): Require vc-dispatcher.
4926 * vc/vc-git.el (vc-compilation-mode): Declare.
4927 (vc-git-pull): Require vc-dispatcher.
4928
08d66420
GM
4929 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4930
30b626e9
GM
4931 * progmodes/octave.el (help-button-action): Declare.
4932
8c05cb10
GM
4933 * shell.el (shell-directory-tracker): Output error as a message
4934 rather than just returning it as a string.
4935 (shell-process-pushd): Remove useless use of message.
4936
30213927
GM
4937 * dframe.el (dframe-timer-fn):
4938 * files.el (dir-locals-read-from-file):
4939 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4940 (mpc-format):
4941 * reveal.el (reveal-post-command):
4942 * saveplace.el (load-save-place-alist-from-file):
4943 * shell.el (shell-resync-dirs):
4944 * w32-common-fns.el (x-get-selection-value):
4945 * emacs-lisp/copyright.el (copyright-find-copyright):
4946 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4947 * emulation/tpu-edt.el (tpu-copy-keyfile):
4948 * play/bubbles.el (bubbles--mark-neighbourhood):
4949 * progmodes/executable.el
4950 (executable-make-buffer-file-executable-if-script-p):
4951 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4952
d3b049e6
SM
49532013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4954
170266d0
SM
4955 Cleanup Eshell to rely less on dynamic scoping.
4956 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4957 last-value, and ext-command here. Bind `args' closer to `body'.
4958 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4959 (eshell--args): Declare new dynamic var.
4960 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
4961 last-value, and ext-command. Pass `args' to `body'.
4962 (eshell-process-args): Bind eshell--args.
4963 (eshell-set-option): Use eshell--args.
4964 * eshell/eshell.el (eshell): Use derived-mode-p.
4965 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4966 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4967 (eshell-glob-function): Declare.
4968 * eshell/esh-util.el: Require cl-lib.
4969 (eshell-read-hosts-file): Avoid add-to-list.
4970 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4971 `err'.
4972 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4973 Declare.
4974 (eshell/diff): Remove unused var `err'.
4975 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4976 `killflag'.
4977 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4978 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4979 first use.
4980 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4981 Move declaration before first use.
4982 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
4983 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4984 rely on cl-return.
4985
56834f3b
GM
49862013-09-12 Glenn Morris <rgm@gnu.org>
4987
4988 * term/ns-win.el (global-map): Remove binding for ispell-next,
4989 deleted 1999-05-29. (Bug#15357)
4990
5c91a2b8
GM
49912013-09-11 Glenn Morris <rgm@gnu.org>
4992
da712f22
GM
4993 * echistory.el (electric-command-history): Remove call to deleted func.
4994
512e4cdc
GM
4995 * play/landmark.el (landmark-mode): Fix typos.
4996
d3506ca5
GM
4997 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4998 Check cvs-sort-ignore-file is bound.
4999
5c91a2b8
GM
5000 * savehist.el: No need for cl when compiling on Emacs.
5001
feeff482
SM
50022013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5003
656bd483
SM
5004 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5005 (bug#15338).
d3b049e6
SM
5006 (eshell-self-insert-command, eshell-send-invisible):
5007 Remove unused argument.
656bd483
SM
5008 (eshell-handle-control-codes): Remove unused var `orig'.
5009 Avoid delete-backward-char.
5010
feeff482
SM
5011 * files.el (set-auto-mode): Simplify a bit further.
5012
2a08047a
GM
50132013-09-11 Glenn Morris <rgm@gnu.org>
5014
5015 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5016 (set-auto-mode): Don't regexp-quote elements.
5017 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5018 * progmodes/cc-mode.el (interpreter-mode-alist):
5019 * progmodes/ruby-mode.el (interpreter-mode-alist):
5020 Revert previous change.
5021
34675540
SM
50222013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5023
1b3b87df
SM
5024 * play/snake.el (snake-mode):
5025 * play/mpuz.el (mpuz-mode):
5026 * play/landmark.el (lm-mode):
5027 * play/blackbox.el (blackbox-mode):
5028 * play/5x5.el (5x5-mode):
5029 * obsolete/options.el (Edit-options-mode):
5030 * net/quickurl.el (quickurl-list-mode):
5031 * net/newst-treeview.el (newsticker-treeview-mode):
5032 * mail/rmailsum.el (rmail-summary-mode):
5033 * mail/mspools.el (mspools-mode):
5034 * locate.el (locate-mode):
5035 * ibuffer.el (ibuffer-mode):
5036 * emulation/ws-mode.el (wordstar-mode):
5037 * emacs-lisp/debug.el (debugger-mode):
5038 * array.el (array-mode):
5039 * net/eudc.el (eudc-mode): Use define-derived-mode.
5040 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5041 Move initialization into declaration.
5042 (mairix-searches-mode): Use define-derived-mode.
5043 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5044 (eudc-edit-hotlist): Use dolist.
5045 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5046 (Man-mode): Use define-derived-mode.
5047 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5048 (Info-edit-mode): Use define-derived-mode.
5049 (Info-cease-edit): Use Info-mode.
5050 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5051 into declaration.
5052 (eshell-mode): Use define-derived-mode.
5053 * chistory.el (command-history-mode-map): Rename from
5054 command-history-map.
5055 (command-history-mode): Use define-derived-mode.
da712f22 5056 (Command-history-setup): Remove function.
1b3b87df
SM
5057 * calc/calc.el (calc-trail-mode-map): New var.
5058 (calc-trail-mode): Use define-derived-mode.
5059 (calc-trail-buffer): Set calc-main-buffer manually.
5060 * bookmark.el (bookmark-insert-annotation): New function.
5061 (bookmark-edit-annotation): Use it.
5062 (bookmark-edit-annotation-mode): Make it a proper major mode.
5063 (bookmark-send-edited-annotation): Use derived-mode-p.
5064 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5065 closer to its ideal place. Use \' to match EOS.
5066
34675540
SM
5067 * profiler.el (profiler-calltree-find): Use function-equal.
5068
6a5c15d9
GM
50692013-09-10 Glenn Morris <rgm@gnu.org>
5070
1af4c220
GM
5071 * files.el (interpreter-mode-alist): Convert to regexps.
5072 (set-auto-mode): Adapt for this. (Bug#15306)
5073 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5074 Comment out unused variable.
5075 * progmodes/cc-mode.el (interpreter-mode-alist):
5076 * progmodes/python.el (interpreter-mode-alist):
5077 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5078 * progmodes/sh-script.el (sh-set-shell):
5079 No longer use interpreter-mode-alist to get list of shells.
5080
6a5c15d9
GM
5081 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5082
8c27f5ff
SM
50832013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5084
02ef6c1a 5085 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5086 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5087 Bind switch-frame explicitly. Replace universal-argument-minus with
5088 a conditional binding.
5089 (universal-argument-num-events, saved-overriding-map): Remove.
5090 (restore-overriding-map): Remove.
5091 (universal-argument--mode): Rename from save&set-overriding-map,
5092 and rewrite.
5093 (universal-argument, universal-argument-more, negative-argument)
5094 (digit-argument): Adjust accordingly.
5095 (universal-argument-minus): Remove.
5096 (universal-argument-other-key): Remove.
5097
8c27f5ff
SM
5098 * subr.el (with-demoted-errors): Add `format' argument.
5099
6480194c
MA
51002013-09-10 Michael Albinus <michael.albinus@gmx.de>
5101
5102 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5103 `tramp-cleanup-connection'.
5104
5105 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5106 parameters KEEP-DEBUG and KEEP-PASSWORD.
5107
5108 * net/tramp.el (tramp-file-name-handler):
5109 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5110 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5111 (tramp-maybe-open-connection):
8c27f5ff
SM
5112 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5113 Use `tramp-cleanup-connection'.
6480194c 5114
8c27f5ff
SM
5115 * net/tramp-sh.el (tramp-maybe-open-connection):
5116 Catch 'uname-changed inside the progress reporter.
6480194c 5117
e5e916d8
GM
51182013-09-10 Glenn Morris <rgm@gnu.org>
5119
9a2c9b47
GM
5120 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5121
e5e916d8
GM
5122 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5123 returns "alternate access method" in mode (eg "-rw-r--r--.").
5124
144e38fe
GM
51252013-09-08 Glenn Morris <rgm@gnu.org>
5126
5127 * saveplace.el (load-save-place-alist-from-file):
5128 Demote errors. (Bug#15305)
5129
af9ff9e8
MA
51302013-09-08 Michael Albinus <michael.albinus@gmx.de>
5131
5132 Improve compatibility with older Emacsen, and XEmacs.
5133
5134 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5135 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5136 (with-tramp-progress-reporter): Do not let-bind `result'.
5137 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5138 (tramp-handle-make-auto-save-file-name): New function, moved from
5139 tramp-sh.el.
5140
5141 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5142 for `make-auto-save-file-name'.
8c27f5ff
SM
5143 (tramp-adb--gnu-switches-to-ash):
5144 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5145
5146 * net/tramp-cache.el (tramp-cache-print): Call
5147 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5148
5149 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5150 bound. It isn't for XEmacs.
5151
8c27f5ff
SM
5152 * net/tramp-compat.el (tramp-compat-copy-file):
5153 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5154 (tramp-compat-replace-regexp-in-string): New defun.
5155
5156 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5157 for `make-auto-save-file-name'.
5158 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5159 `copy-file'.
5160 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5161 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5162 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5163
8c27f5ff
SM
5164 * net/tramp-gw.el (tramp-gw-open-network-stream):
5165 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5166
8c27f5ff
SM
5167 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5168 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5169 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5170 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5171 (tramp-sh-file-inotifywait-process-filter):
5172 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5173 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5174
5175 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5176 for `make-auto-save-file-name'.
8c27f5ff
SM
5177 (tramp-smb-handle-copy-directory):
5178 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5179 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5180 (tramp-smb-handle-copy-file): Improve error message.
5181 (tramp-smb-handle-rename-file): Rename directly only in case
5182 `newname' does not exist yet. This is a restriction of smbclient.
5183 (tramp-smb-maybe-open-connection): Rerun the function only when
5184 `auth-sources' is non-nil.
5185
0ca754d0
KH
51862013-09-08 Kenichi Handa <handa@gnu.org>
5187
e0eb0550 5188 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5189 more characters.
5190
e8dd0787
AM
51912013-09-07 Alan Mackenzie <acm@muc.de>
5192
5193 Correctly fontify Java class constructors.
5194 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5195 in Java Mode.
5196 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5197 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5198 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5199 "typeless" declaration there.
5200
f2f248e7
RW
52012013-09-07 Roland Winkler <winkler@gnu.org>
5202
5203 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5204 field subtitle for entry type book.
5205
67982e2b
SM
52062013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 * minibuffer.el: Make minibuffer-complete call completion-in-region
5209 rather than other way around.
5210 (completion--some, completion-pcm--find-all-completions):
5211 Don't delay signals when debugging.
5212 (minibuffer-completion-contents): Beware fields within the
5213 minibuffer contents.
5214 (completion-all-sorted-completions): Use defvar-local.
5215 (completion--do-completion, completion--cache-all-sorted-completions)
5216 (completion-all-sorted-completions, minibuffer-force-complete):
5217 Add args `beg' and `end'.
5218 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5219 (minibuffer-complete): Use completion-in-region.
5220 (completion-complete-and-exit): New fun, extracted from
5221 minibuffer-complete-and-exit.
5222 (minibuffer-complete-and-exit): Use it.
5223 (completion--complete-and-exit): Rename from
5224 minibuffer--complete-and-exit.
5225 (completion-in-region--single-word): New function, extracted from
5226 minibuffer-complete-word.
5227 (minibuffer-complete-word): Use it.
5228 (display-completion-list): Make `common-substring' argument obsolete.
5229 (completion--in-region): Call completion--in-region-1 instead of
5230 minibuffer-complete.
5231 (completion-help-at-point): Pass boundaries to
5232 minibuffer-completion-help as args rather than via an overlay.
5233 (completion-pcm--string->pattern): Use `any-delim'.
5234 (completion-pcm--optimize-pattern): New function.
5235 (completion-pcm--pattern->regex): Handle `any-delim'.
5236 * icomplete.el (icomplete-forward-completions)
5237 (icomplete-backward-completions, icomplete-completions):
5238 Adjust calls to completion-all-sorted-completions and
5239 completion--cache-all-sorted-completions.
5240 (icomplete-with-completion-tables): Default to t.
5241 * emacs-lisp/crm.el (crm--current-element): Rename from
5242 crm--select-current-element. Don't put an overlay but return the
5243 boundaries instead.
5244 (crm--completion-command): Take two new args to bind to the boundaries.
5245 (crm-completion-help): Adjust accordingly.
5246 (crm-complete): Use completion-in-region.
5247 (crm-complete-word): Use completion-in-region--single-word.
5248 (crm-complete-and-exit): Use completion-complete-and-exit.
5249
e17d94a5
SM
52502013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5253 than dynamically.
5254
96727100
JL
52552013-09-06 Juri Linkov <juri@jurta.org>
5256
5257 * info.el (Info-display-images-node): When image file doesn't exist
5258 display text version of the image if it's provided in the Info file.
5259 Otherwise, display the location of missing image from SRC attribute.
5260 Add help-echo text property from ALT attribute. (Bug#15279)
5261
86cf7329
SM
52622013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5265 (edit-abbrevs-mode): Use define-derived-mode.
5266
5267 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5268 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5269 that it's defined.
5270 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5271 Use define-derived-mode.
5272
5273 * epg.el (epg-start-encrypt): Minor CSE simplification.
5274
816244a2
WX
52752013-09-06 William Xu <william.xwl@gmail.com>
5276
5277 * arc-mode.el: Add support for 7za (bug#15264).
5278 (archive-7z-program): New var.
5279 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5280 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5281 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5282
1486fa31
MA
52832013-09-06 Michael Albinus <michael.albinus@gmx.de>
5284
5285 Remove URL syntax.
5286
5287 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5288 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5289 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5290 (tramp-postfix-host-format, tramp-file-name-regexp)
5291 (tramp-completion-file-name-regexp)
5292 (tramp-completion-dissect-file-name)
5293 (tramp-handle-substitute-in-file-name): Remove 'url case.
5294 (tramp-file-name-regexp-url)
5295 (tramp-completion-file-name-regexp-url): Remove constants.
5296
39785324
GM
52972013-09-06 Glenn Morris <rgm@gnu.org>
5298
5299 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5300
1f896cb7
DG
53012013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5302
5303 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5304 keywords" below "here-doc beginnings" (Bug#15270).
5305
c0458e0b
SM
53062013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * subr.el (pop): Use `car-safe'.
5309 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5310 to detect unused `pop' return value.
5311
5312 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5313 var `block-regexp'.
5314 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5315 (python-fill-string): Remove unused var `marker'.
5316 (python-skeleton-add-menu-items): Remove unused var `items'.
5317
5318 * international/mule-cmds.el: Require CL.
5319 (find-coding-systems-for-charsets): Avoid add-to-list.
5320 (sanitize-coding-system-list): New function, extracted from
5321 select-safe-coding-system-interactively.
5322 (select-safe-coding-system-interactively): Use it.
5323 (read-input-method-name): Accept symbols for `default'.
5324
5325 * emacs-lisp/advice.el (defadvice): Add indent rule.
5326
6c42fc3e
DH
53272013-09-05 Daniel Hackney <dan@haxney.org>
5328
5329 * dired-x.el:
5330 * net/ange-ftp.el:
5331 * net/browse-url.el:
5332 * net/dbus.el:
5333 * net/eudc.el:
5334 * net/eudcb-ldap.el:
5335 * net/eww.el:
5336 * net/imap.el:
5337 * printing.el:
5338 * vc/ediff-diff.el:
5339 * vc/ediff-init.el:
5340 * vc/ediff-merg.el:
5341 * vc/ediff-mult.el:
5342 * vc/ediff-util.el:
5343 * vc/ediff-wind.el:
5344 * vc/ediff.el:
5345 * vc/emerge.el:
5346 * vc/pcvs.el:
5347 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5348 byte compiler. Remove some unused let-bound variables.
5349
4c528aab
SM
53502013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5351
5352 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5353 a "ref-cell", since it gets better optimized (bug#14883).
5354
bd15c390
GM
53552013-09-05 Glenn Morris <rgm@gnu.org>
5356
5357 * progmodes/cc-awk.el (c-forward-sws): Declare.
5358
1c3ac2e5
GM
53592013-09-04 Glenn Morris <rgm@gnu.org>
5360
5361 * generic-x.el [rul-generic-mode]: Require cc-mode.
5362 (c++-mode-syntax-table): Declare.
5363 (rul-generic-mode-syntax-table): Init in the defvar.
5364
52b1cc79
SM
53652013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5366
c828af56
SM
5367 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5368 (vc-do-command, vc-set-async-update):
5369 * vc/vc-mtn.el (vc-mtn-dir-status):
5370 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5371 (vc-hg-pull, vc-hg-merge-branch):
5372 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5373 (vc-git-merge-branch):
5374 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5375 (vc-cvs-dir-status-files):
5376 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5377 (vc-bzr-dir-status-files):
5378 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5379 * vc/vc-annotate.el: Use lexical-binding.
5380 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5381 (vc-sentinel-movepoint): Declare.
5382 (vc-annotate): Don't use `goto-line'.
5383 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5384 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5385 (vc-sentinel-movepoint): Declare.
5386 * vc/vc-svn.el: Use lexical-binding.
5387 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5388 * vc/vc-sccs.el:
5389 * vc/vc-rcs.el: Use lexical-binding.
5390
abae272c
SM
5391 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5392 `deleted'. Don't drop errors silently.
5393
52b1cc79
SM
5394 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5395
63191d9f
XF
53962013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5397
5398 * vc/vc.el (vc-ignore): Rewrite.
5399 (vc-default-ignore): New function.
5400 (vc-default-ignore-completion-table): Use find-ignore-file.
5401
5402 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5403 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5404 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5405 Remove. Most code moved to vc.el.
5406
9d3f707c
SM
54072013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5408
abae272c 5409 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5410 * net/tramp-smb.el (tramp-smb-get-file-entries):
5411 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5412 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5413
fde38d49
SM
5414 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5415 Update call to it.
5416 (eww-change-select): Remove unused var `properties'.
5417 (eww-make-unique-file-name): Remove unused var `base'.
5418
5419 * finder.el (finder-compile-keywords): Don't mess with windows.
5420
84032db7
SM
5421 * calculator.el (calculator-funcall): Fix typo in last change.
5422
724f5e41
SM
5423 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5424
14b511d4
SM
5425 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5426 <pkg>-autoloads.el file stop us.
5427
9d3f707c 5428 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5429 warnings, and factor out common code.
9d3f707c 5430
88527bc0
DG
54312013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5432
5433 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5434 two-character operators and whether the character preceding them
5435 changes their meaning (Bug#15208).
5436
96edb677
FEG
54372013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5438
5439 Format code sent to Python shell for robustness.
9d3f707c
SM
5440 * progmodes/python.el (python-shell-buffer-substring):
5441 New function.
96edb677
FEG
5442 (python-shell-send-region, python-shell-send-buffer): Use it.
5443
95beaef3
MA
54442013-09-02 Michael Albinus <michael.albinus@gmx.de>
5445
5446 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5447 * net/tramp.el (tramp-user-error): ... here.
5448 (tramp-find-method, tramp-check-proper-host)
5449 (tramp-dissect-file-name, tramp-debug-message)
5450 (tramp-handle-shell-command):
5451 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5452 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5453
5454 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5455
f167c27b
MR
54562013-09-02 Martin Rudalics <rudalics@gmx.at>
5457
5458 * avoid.el (mouse-avoidance-point-position)
5459 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5460 returns nil.
5461
cd16c5f1
FEG
54622013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5463
5464 * progmodes/python.el (python-shell-completion-get-completions):
5465 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5466 (python-nav-if-name-main): New command.
cd16c5f1 5467
e73c3a0d
GM
54682013-09-01 Glenn Morris <rgm@gnu.org>
5469
f8ccce03
GM
5470 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5471 Avoid leading space in $wins. Otherwise the sed command used by
5472 eg compile-main ends up containing "/*.el". (Bug#15170)
5473
e73c3a0d
GM
5474 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5475
415f808e
GM
54762013-08-30 Glenn Morris <rgm@gnu.org>
5477
5478 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5479 Fix is-this-a-directory logic. (Bug#15220)
5480
f069bba8
SM
54812013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5482
112798c1
SM
5483 * textmodes/css-mode.el: Use SMIE.
5484 (css-smie-grammar): New var.
5485 (css-smie--forward-token, css-smie--backward-token)
5486 (css-smie-rules): New functions.
5487 (css-mode): Use them.
5488 (css-navigation-syntax-table): Remove var.
5489 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5490 (css-indent-calculate, css-indent-line): Remove functions.
5491
5492 Misc changes to reduce use of `(lambda...); and other cleanups.
5493 * cus-edit.el: Use lexical-binding.
5494 (customize-push-and-save, customize-apropos)
5495 (custom-buffer-create-internal): Use closures.
5496 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5497 * progmodes/ada-xref.el: Use setq.
5498 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5499 * dframe.el: Use lexical-binding.
5500 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5501 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5502 * descr-text.el: Use lexical-binding.
5503 (describe-text-widget, describe-text-sexp, describe-property-list):
5504 Use closures.
5505 * comint.el (comint-history-isearch-push-state): Use a closure.
5506 * calculator.el: Use lexical-binding.
5507 (calculator-number-to-string): Make it work with lexical-binding.
5508 (calculator-funcall): Same and use cl-letf.
5509
2da4c3ab
SM
5510 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5511 (lisp--company-doc-string, lisp--company-location): New functions.
5512 (lisp-completion-at-point): Use them to improve Company support.
5513
f069bba8
SM
5514 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5515 params of lambda expressions.
5516 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5517 (ruby-smie--opening-pipe-p): New function.
5518 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5519 symbols and matched |...| for formal params.
5520 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5521 from being treated as hanging. Handle "rescue".
5522
6758b6a8
GM
55232013-08-29 Glenn Morris <rgm@gnu.org>
5524
5525 * progmodes/cc-engine.el (c-pull-open-brace):
5526 Move definition before use.
5527
e8dfd197
SM
55282013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5529
5530 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5531 are immutable. Don't use `unsafe' any more.
5532 (cl--defsubst-expand): Don't substitute at the same time as keeping
5533 a residual unused let-binding. Don't use `unsafe' any more.
5534
cc585c96
GM
55352013-08-29 Glenn Morris <rgm@gnu.org>
5536
ba579ea6
GM
5537 * calendar/cal-china.el (calendar-chinese-year-cache):
5538 Recenter on 2015.
5539
8201a87e
GM
5540 * nxml/nxml-util.el (nxml-debug-clear-inside):
5541 Use cl-loop rather than loop.
5542
6ee877c7
GM
5543 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5544
cc585c96
GM
5545 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5546
27be8d39
GM
55472013-08-28 Glenn Morris <rgm@gnu.org>
5548
397440a1
GM
5549 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5550
2bb762d4
GM
5551 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5552
27be8d39
GM
5553 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5554
2d69b99e
SM
55552013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5556
f663baa7
SM
5557 * simple.el (repeat-complex-command--called-interactively-skip):
5558 New function.
5559 (repeat-complex-command): Use it (bug#14136).
5560
dd4f8b74
SM
5561 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5562 (c-define-abbrev-table): Add `doc' argument.
5563 (c-mode-abbrev-table, c++-mode-abbrev-table)
5564 (objc-mode-abbrev-table, java-mode-abbrev-table)
5565 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5566 (awk-mode-abbrev-table): Use it.
5567 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5568 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5569 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5570 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5571 Move initialization into the declaration; and remove any
5572 autoload cookie.
5573
b58969f7
SM
5574 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5575 and dynamic let binding.
5576
4021d6a6
SM
5577 * vc/smerge-mode.el: Remove redundant :group args.
5578
2d69b99e
SM
5579 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5580 to load-path.
5581
274919fd
JL
55822013-08-28 Juri Linkov <juri@jurta.org>
5583
5584 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5585 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5586 (isearch-other-meta-char): Handle an undefined shifted printing
5587 character by downshifting it. (Bug#15200)
5588
121f8c95
JL
55892013-08-28 Juri Linkov <juri@jurta.org>
5590
5591 * isearch.el (isearch-search): Change regexp error message for
5592 non-regexp searches. (Bug#15166)
5593
50b13cde
PE
55942013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5595
5596 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5597 for portability to hosts where /bin/sh has problems.
5598
95888bca
SM
55992013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5602
bbe558f1
JL
56032013-08-27 Juri Linkov <juri@jurta.org>
5604
5605 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5606 in the keyboard macro. (Bug#15126)
5607
26f98a7d
JL
56082013-08-27 Juri Linkov <juri@jurta.org>
5609
5610 * isearch.el (isearch-quote-char): Comment out converting unibyte
5611 to multibyte, thus syncing with its `quoted-insert' counterpart.
5612 (Bug#15166)
5613
7c97d35e
MR
56142013-08-27 Martin Rudalics <rudalics@gmx.at>
5615
5616 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5617 argument in call of get-largest-window (Bug#15185).
5618 Reported by Stephen Leake.
7c97d35e 5619
a0b5606e 56202013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5621
5622 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5623
9e89d835
SM
56242013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5627 from a matcher-function unless there's no more matches (bug#15161).
5628
78fc2530
MA
56292013-08-26 Michael Albinus <michael.albinus@gmx.de>
5630
5631 * minibuffer.el: Revert change from 2013-08-20.
5632
5633 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5634 with text property `tramp-default', if appropriate.
5635 (tramp-check-proper-host): New defun.
5636 (tramp-dissect-file-name): Do not check hostname. Revert change
5637 of 2013-03-18.
5638 (tramp-backtrace): Make VEC-OR-PROC optional.
5639
5640 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5641 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5642 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5643 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5644 Apply `tramp-check-proper-host'.
78fc2530 5645
edca97cd
TH
56462013-08-26 Tassilo Horn <tsdh@gnu.org>
5647
5648 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5649 lambda expression in order to have `describe-variable' display it.
5650
df54bcbd
MA
56512013-08-26 Michael Albinus <michael.albinus@gmx.de>
5652
5653 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5654 BUF can be optional. (Bug#15186)
5655
eed99101
XF
56562013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5657
5658 * progmodes/flymake.el (flymake-get-real-file-name-function):
5659 Fix broken customization. (Bug#15184)
5660
b5eb9035
AM
56612013-08-25 Alan Mackenzie <acm@muc.de>
5662
8a51e842
AM
5663 Improve indentation of bracelists defined by macros (without "=").
5664
5665 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5666 expansion begins with "{", regard it as bracelist when it doesn't
5667 contain a ";".
5668
869455d4
AM
5669 Parse C++ inher-intro when there's a template split over 2 lines.
5670
5671 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5672 rigorously the search for "class" etc. followed by ":".
5673
5674 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5675 random languages a regexp which never matches rather than nil.
5676
b5eb9035
AM
5677 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5678
5679 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5680 (c-awk-regexp-one-line-possibly-open-char-list-re)
5681 (c-awk-one-line-possibly-open-regexp-re)
5682 (c-awk-one-line-non-syn-ws*-re): Remove.
5683 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5684 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5685 (c-awk-space*-unclosed-regexp-/-re): New constants.
5686 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5687 aren't regexp delimiters.
5688
5689 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5690 handling for a rare situation in AWK Mode involving unterminated
5691 strings/regexps.
5692
61611d54
GM
56932013-08-23 Glenn Morris <rgm@gnu.org>
5694
2d85dc34
GM
5695 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5696
cb8d2612
GM
5697 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5698
bb35f42f
GM
5699 * files.el (create-file-buffer): If the result would begin with
5700 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5701
b9808e77
SM
57022013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5703
e3a66363
SM
5704 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5705 text-properties (bug#15155).
5706
b9808e77
SM
5707 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5708 exist any more.
5709 (calc-keypad-redraw): Remove unused var `pad'.
5710 (calc-keypad-press): Remove unused var `menu'.
5711
7fd5f65e
MR
57122013-08-23 Martin Rudalics <rudalics@gmx.at>
5713
b9808e77
SM
5714 * window.el (display-buffer-pop-up-frame):
5715 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5716 use it as the new frame's buffer (Bug#15133).
5717
8352b530
SM
57182013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5719
5720 * calendar/timeclock.el: Minor cleanups.
5721 (timeclock-ask-before-exiting, timeclock-use-display-time):
5722 Use `symbol'.
5723 (timeclock-modeline-display): Define as alias before the
5724 actual definition.
5725 (timeclock-mode-line-display): Use define-minor-mode.
5726 (timeclock-day-list-template): Make it a function, add an argument.
5727 (timeclock-day-list-required, timeclock-day-list-length)
5728 (timeclock-day-list-debt, timeclock-day-list-span)
5729 (timeclock-day-list-break): Adjust calls accordingly.
5730
9f7b1925
SM
57312013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5734 Use read--expression so that completion works again.
5735
6e50e983
SS
57362013-08-21 Sam Steingold <sds@gnu.org>
5737
5738 Add rudimentary inferior shell interaction
5739 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5740 (sh-set-shell): Reset it.
9f7b1925
SM
5741 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5742 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5743
dbb0d350
SM
57442013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * align.el: Use lexical-binding.
5747 (align-region): Simplify accordingly.
5748
c88586a9
MA
57492013-08-20 Michael Albinus <michael.albinus@gmx.de>
5750
5751 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5752
5753 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5754 `non-essential' up.
5755
f95527c8
MA
57562013-08-17 Michael Albinus <michael.albinus@gmx.de>
5757
5758 * net/tramp.el:
5759 * net/tramp-adb.el:
5760 * net/tramp-cmds.el:
5761 * net/tramp-ftp.el:
5762 * net/tramp-gvfs.el:
5763 * net/tramp-gw.el:
5764 * net/tramp-sh.el: Don't wrap external variable declarations by
5765 `eval-when-compile'.
5766
4b5fe4ee
LMI
57672013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5768
5769 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5770 now that Emacs supports ImageMagick animations.
5771
13c366c9
MA
57722013-08-16 Michael Albinus <michael.albinus@gmx.de>
5773
5774 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5775 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5776
3dfc5cd6
MR
57772013-08-16 Martin Rudalics <rudalics@gmx.at>
5778
5779 * window.el (mouse-autoselect-window-select): Do autoselect when
5780 mouse pointer is on margin.
5781
4bbb4381
WP
57822013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5783
5784 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5785
3a2ddc2d
GM
57862013-08-16 Glenn Morris <rgm@gnu.org>
5787
e8bedf5a
GM
5788 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5789 Handle "Remote Directory" response of some clients. (Bug#15058)
5790
58c4682f
GM
5791 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5792 Tweak warning. (Bug#14926)
5793
57953f49
GM
5794 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5795 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5796
3a2ddc2d
GM
5797 * image-mode.el (image-mode-map): Add menu items to reverse,
5798 increase, decrease, reset animation speed.
5799 (image--set-speed, image-increase-speed, image-decrease-speed)
5800 (image-reverse-speed, image-reset-speed): New functions.
5801 (image-mode-map): Add bindings for speed commands.
5802
5803 * image.el (image-animate-get-speed, image-animate-set-speed):
5804 New functions.
5805 (image-animate-timeout): Respect image :speed property.
5806
10fa0ed3
SM
58072013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5810 previous line (bug#15101).
5811 (debugger-eval-expression, debugger-record-expression):
5812 Use read--expression (bug#15102).
5813
5d89d9d2
MA
58142013-08-15 Michael Albinus <michael.albinus@gmx.de>
5815
5816 Remove byte compiler warnings, visible when compiling with
5817 `byte-compile-force-lexical-warnings' set to t.
5818
5819 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5820 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5821 (tramp-handle-unhandled-file-name-directory)
5822 (tramp-handle-file-notify-add-watch, tramp-action-login)
5823 (tramp-action-succeed, tramp-action-permission-denied)
5824 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5825 arguments with "_".
5826
5827 * net/tramp-adb.el (tramp-adb-parse-device-names)
5828 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5829 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5830 (tramp-adb-handle-file-truename): Remove unused arguments.
5831
5832 * net/tramp-cache.el (tramp-flush-directory-property)
5833 (tramp-flush-connection-property, tramp-list-connections)
5834 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5835
10fa0ed3
SM
5836 * net/tramp-compat.el (tramp-compat-make-temp-file):
5837 Rename FILENAME to F.
5d89d9d2
MA
5838
5839 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5840 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5841 (tramp-zeroconf-parse-workstation-device-names)
5842 (tramp-zeroconf-parse-webdav-device-names)
5843 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5844
5845 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5846 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5847
5848 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5849 arguments.
5850 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5851 (tramp-sh-handle-insert-file-contents-literally)
5852 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5853 with "_".
5854 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5855 Remove unused variables.
5856
5857 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5858 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5859 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5860
5861 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5862 Make them a defconst.
5863 (tramp-uuencode-region): Remove unused variable.
5864
62f33bae
JB
58652013-08-14 Juanma Barranquero <lekktu@gmail.com>
5866
5867 * frameset.el (frameset--prop-setter): New function.
5868 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5869 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5870 parameter was already set in FILTERED. Doc fix.
5871 (frameset--record-minibuffer-relationships): Allow saving a
5872 minibufferless frame without its corresponding minibuffer frame.
5873 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5874 frame, if the frame id matches.
5875 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5876 frames before orphaned ones.
5877 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5878
c660a885
MR
58792013-08-14 Martin Rudalics <rudalics@gmx.at>
5880
5881 * window.el (window-make-atom): Don't overwrite parameter
5882 already present.
5883 (display-buffer-in-atom-window): Handle special case where we
5884 split an already atomic window.
5885 (window--major-non-side-window, display-buffer-in-side-window)
5886 (window--side-check): Ignore minibuffer window when walking
5887 window tree.
5888 (window-deletable-p): Return 'frame only if no other frame uses
5889 our minibuffer window.
5890 (record-window-buffer): Run buffer-list-update-hook.
5891 (split-window): Make sure window--check-frame won't destroy an
5892 existing atomic window in case the new window gets nested
5893 inside.
5894 (display-buffer-at-bottom): Ignore minibuffer window when
5895 walking window tree. Don't split a side window.
5896 (pop-to-buffer): Don't set-buffer here, the select-window call
5897 should do that.
5898 (mouse-autoselect-window-select): Autoselect only if we are in the
5899 text portion of the window.
5900
8259030d
LMI
59012013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5902
21c58ae2
LMI
5903 * net/shr.el (shr-parse-image-data): New function to grab both the
5904 data itself and the Content-Type.
5905 (shr-put-image): Use it.
5906
5907 * net/eww.el (eww-display-image): Ditto.
5908
8259030d
LMI
5909 * image.el (image-content-type-suffixes): New variable.
5910
ad756449
FEG
59112013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5912
5913 * progmodes/python.el (python-imenu--build-tree)
5914 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5915
f73f4ce6
XF
59162013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5917
5918 * simple.el (backward-word): Mention the optional argument.
5919
1f585e65
SM
59202013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * frameset.el (frameset--make): Rename constructor from make-frameset.
5923 (frameset-p, frameset-valid-p): Don't autoload.
5924 (frameset-valid-p): Use normal accessors.
5925
af1c6c84
GM
59262013-08-13 Glenn Morris <rgm@gnu.org>
5927
55e47f95
GM
5928 * progmodes/compile.el (compile-command): Tweak example in doc.
5929 * obsolete/scribe.el (scribe-mode):
5930 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5931
f0024d8c
GM
5932 * mail/feedmail.el (feedmail-confirm-outgoing)
5933 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5934
5935 * cus-start.el (truncate-partial-width-windows): Fix type.
5936
5937 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5938
af1c6c84
GM
5939 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5940
5514cc4c
SM
59412013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * emacs-lisp/timer.el (timer--time-setter): New function.
5944 (timer--time): Use it as gv-setter.
5945
5946 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5947 setter is not a symbol.
5948
7997a2f1
GJ
59492013-08-12 Grégoire Jadi <daimrod@gmail.com>
5950
5951 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5952 if sending fails. This makes debugging easier.
5953
01f1a9ab
JB
59542013-08-12 Juanma Barranquero <lekktu@gmail.com>
5955
5956 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5957 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5958 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5959
594a4307
EZ
59602013-08-12 Eli Zaretskii <eliz@gnu.org>
5961
5962 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5963
7a22490f 59642013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
5965
5966 * format.el (format-annotate-function):
5967 Handle read-only text properties in the source. (Bug#14887)
5968
3e41a054
LMI
59692013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5970
5514cc4c
SM
5971 * net/eww.el (eww-display-html): Ignore coding system errors.
5972 One web site uses "utf-8lias" as the coding system.
3e41a054 5973
7ec326db
JB
59742013-08-11 Juanma Barranquero <lekktu@gmail.com>
5975
5976 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5977
5660113b
JB
59782013-08-10 Juanma Barranquero <lekktu@gmail.com>
5979
9a4ebc74
JB
5980 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5981 (tutorial--detailed-help): Remove unused local variables.
5982 (tutorial--save-tutorial-to): Use ignore-errors.
5983 (help-with-tutorial): Use looking-at-p.
5984
5985 * view.el (view-buffer-other-window, view-buffer-other-frame):
5986 Mark unused arguments.
5987
5988 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5989 (woman-select-symbol-fonts, woman, woman-find-file)
5990 (woman-insert-file-contents, woman-non-underline-faces):
5991 Use string-match-p.
5992 (woman1-unquote): Move declaration.
5993
5994 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5995 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5996 argument. Remove unused local variable.
5997 (xml-parse-elem-type): Use string-match-p.
5998 (xml-substitute-numeric-entities): Use ignore-errors.
5999
45fdb482
JB
6000 * calculator.el (calculator): Mark unused argument.
6001 (calculator-paste, calculator-quit, calculator-integer-p):
6002 Use ignore-errors.
6003 (calculator-string-to-number, calculator-decimal, calculator-exp)
6004 (calculator-op-or-exp): Use string-match-p.
6005
6006 * dired.el (dired-buffer-more-recently-used-p): Declare.
6007 (dired-insert-set-properties, dired-insert-old-subdirs):
6008 Use ignore-errors.
6009
6010 * dired-aux.el (dired-compress): Use ignore-errors.
6011 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6012 (dired-do-async-shell-command, dired-do-shell-command)
6013 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6014 (dired-insert-subdir-validate): Use string-match-p.
6015 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6016 (dired-add-entry): Use string-match-p, looking-at-p.
6017 (dired-insert-subdir-newpos): Remove unused local variable.
6018
6019 * filenotify.el (file-notify-callback): Remove unused local variable.
6020
6021 * filesets.el (filesets-error): Mark unused argument.
6022 (filesets-which-command-p, filesets-filter-dir-names)
6023 (filesets-directory-files, filesets-get-external-viewer)
6024 (filesets-ingroup-get-data): Use string-match-p.
6025
6026 * find-file.el (ff-other-file-name, ff-other-file-name)
6027 (ff-find-the-other-file, ff-cc-hh-converter):
6028 Remove unused local variables.
6029 (ff-get-file-name): Use string-match-p.
6030 (ff-all-dirs-under): Use ignore-errors.
6031
6032 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6033 (follow-select-if-visible): Remove unused local variable.
6034
6035 * forms.el (read-file-filter): Move declaration.
6036 (forms--make-format, forms--make-parser, forms-insert-record):
6037 Quote function with #'.
6038 (forms--update): Use string-match-p. Quote function with #'.
6039
6040 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6041 (help-make-xrefs): Use looking-at-p.
6042 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6043
6044 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6045 (ibuffer-confirm-operation-on): Use string-match-p.
6046
6047 * msb.el (msb-item-handler, msb-dired-item-handler):
6048 Mark unused arguments.
6049
6050 * ses.el (ses-decode-cell-symbol)
6051 (ses-kill-override): Remove unused local variable.
6052 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6053 (ses-load): Use ignore-errors, looking-at-p.
6054 (ses-jump-safe): Use ignore-errors.
6055 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6056
6057 * tabify.el (untabify, tabify): Mark unused arguments.
6058
6059 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6060 Mark unused argument.
6061 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6062 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6063
c880af52
JB
6064 * emacs-lisp/timer.el (timer--time): Define setter with
6065 gv-define-setter to avoid deprecation warning.
6066
5660113b 6067 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6068 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6069 (cmpl-statistics-block): Remove (body was commented out).
6070 All callers changed.
6071 (add-completions-from-buffer, load-completions-from-file):
6072 Remove unused variables.
6073
156aab80
JB
60742013-08-09 Juanma Barranquero <lekktu@gmail.com>
6075
5c5dee78
JB
6076 * filecache.el (file-cache-delete-file-list):
6077 Print message only when told so.
6078 (file-cache-files-matching): Use #' in mapconcat argument.
6079
156aab80
JB
6080 * ffap.el (ffap-url-at-point): Fix reference to variable
6081 thing-at-point-default-mail-uri-scheme.
6082
ad9dcd70
SM
60832013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6084
54bd972f
SM
6085 * subr.el (define-error): New function.
6086 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6087 error-file-not-found and define with define-error.
6088 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6089 and define with define-error.
6090 * userlock.el (file-locked, file-supersession):
6091 * simple.el (mark-inactive):
6092 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6093 * progmodes/ada-mode.el (ada-mode-errors):
6094 * play/life.el (life-extinct):
6095 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6096 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6097 * nxml/rng-util.el (rng-error):
6098 * nxml/rng-uri.el (rng-uri-error):
6099 * nxml/rng-match.el (rng-compile-error):
6100 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6101 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6102 * nxml/nxml-rap.el (nxml-scan-error):
6103 * nxml/nxml-outln.el (nxml-outline-error):
6104 * net/soap-client.el (soap-error):
6105 * net/gnutls.el (gnutls-error):
6106 * net/ange-ftp.el (ftp-error):
6107 * mpc.el (mpc-proc-error):
6108 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6109 (json-number-format, json-string-escape, json-string-format)
6110 (json-key-format, json-object-format):
6111 * jka-compr.el (compression-error):
6112 * international/quail.el (quail-error):
6113 * international/kkc.el (kkc-error):
6114 * emacs-lisp/ert.el (ert-test-failed):
6115 * calc/calc.el (calc-error, inexact-result, math-overflow)
6116 (math-underflow):
6117 * bookmark.el (bookmark-error-no-filename):
6118 * epg.el (epg-error): Define with define-error.
6119
0ea9e53a
SM
6120 * time.el (display-time-event-handler)
6121 (display-time-next-load-average): Don't call sit-for since it seems
6122 unnecessary (bug#15045).
6123
b0429158
SM
6124 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6125 Use #' instead of ' to quote functions.
6126 (checkdoc-output-mode): Use setq-local.
6127 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6128 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6129 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6130 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6131 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6132 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6133 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6134 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6135
ad9dcd70
SM
6136 * ido.el (ido-completion-help): Fix up compiler warning.
6137
77187e6f
JB
61382013-08-09 Juanma Barranquero <lekktu@gmail.com>
6139
6140 * frameset.el (frameset-p): Add autoload cookie.
6141 (frameset--jump-to-register): New function, based on code moved from
6142 register.el.
6143 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6144
6145 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6146 (frameset-restore, frameset-save, frameset-session-filter-alist):
6147 Remove declarations.
6148 (register-alist): Doc fix.
6149 (frameset-to-register): Move to frameset.el.
6150 (jump-to-register, describe-register-1): Remove frameset-specific code.
6151
9d3aa82c
JB
61522013-08-08 Juanma Barranquero <lekktu@gmail.com>
6153
6154 * allout-widgets.el (allout-widgets-pre-command-business)
6155 (allout-widgets-post-command-business)
6156 (allout-widgets-after-change-handler)
6157 (allout-decorate-item-and-context, allout-set-boundary-marker)
6158 (allout-body-modification-handler)
6159 (allout-graphics-modification-handler): Mark ignored arguments.
6160 (allout-widgets-post-command-business)
6161 (allout-widgets-exposure-change-processor)
6162 (allout-widgets-exposure-undo-processor)
6163 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6164 (allout-parse-item-at-point, allout-decorate-item-guides)
6165 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6166 * allout.el (epa-passphrase-callback-function): Declare.
6167 (allout-overlay-insert-in-front-handler)
6168 (allout-overlay-interior-modification-handler)
6169 (allout-isearch-end-handler, allout-chart-siblings)
6170 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6171 (allout-yank-processing, allout-process-exposed)
6172 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6173 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6174 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6175 (lisp-indent-defform): Mark ignored arguments.
6176 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6177 (calculate-lisp-indent): Remove unused variables.
6178 * international/characters.el (indian-2-column, arabic-2-column)
6179 (tibetan): Mark ignored arguments.
6180 (use-cjk-char-width-table): Mark ignored arguments.
6181 Remove unused variables.
6182 * international/fontset.el (build-default-fontset-data)
6183 (x-compose-font-name, create-fontset-from-fontset-spec):
6184 Mark ignored arguments.
6185 (fontset-plain-name): Remove unused variables.
6186 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6187 (keyboard-coding-system): Mark ignored arguments.
6188 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6189 * help.el (resize-temp-buffer-window):
6190 * window.el (display-buffer-in-major-side-window)
6191 (display-buffer-in-side-window, display-buffer-in-previous-window):
6192 Remove unused variables.
6193 * isearch.el (isearch-forward-symbol):
6194 * version.el (emacs-bzr-version-bzr):
6195 * international/mule-cmds.el (current-language-environment):
6196 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6197 (x-handle-display):
6198 * term/pc-win.el (x-list-fonts, x-display-planes)
6199 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6200 (x-server-version, x-display-screens, x-display-mm-height)
6201 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6202 (x-selection-owner-p, x-own-selection-internal)
6203 (x-disown-selection-internal, x-get-selection-internal)
6204 (msdos-initialize-window-system):
6205 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6206 * term/x-win.el (x-handle-no-bitmap-icon):
6207 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6208 (vc-default-find-file-hook, vc-default-extra-menu):
6209 Mark ignored arguments.
6210
0ca3f70e
SM
62112013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6214 break-condition in the context of the debugged code (bug#12685).
6215
74c5d24c
CS
62162013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6217
6218 * comint.el:
6219 Do not use an overlay to highlight the last prompt. (Bug#14744)
6220 (comint-mode): Make comint-last-prompt buffer local.
6221 (comint-last-prompt): New variable.
6222 (comint-last-prompt-overlay): Remove. Superseded by
6223 comint-last-prompt.
0ca3f70e
SM
6224 (comint-snapshot-last-prompt, comint-output-filter):
6225 Use comint-last-prompt.
74c5d24c 6226
c03c02ee
JB
62272013-08-08 Juanma Barranquero <lekktu@gmail.com>
6228
a3738d20 6229 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6230 (frameset-save): Check validity of the resulting frameset.
6231
04263d23
XF
62322013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6233
6234 * ido.el (ido-record-command): Add doc string.
6235
76c5e5ab
JB
62362013-08-08 Juanma Barranquero <lekktu@gmail.com>
6237
6238 * frameset.el (frameset): Do not disable creation of the default
6239 frameset-p predicate. Doc fix.
6240 (frameset-valid-p): New function, copied from the old predicate-p.
6241 Add additional checks.
6242 (frameset-restore): Check with frameset-valid-p.
6243 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6244 (frameset-name, frameset-description, frameset-properties)
6245 (frameset-states): Add docstring.
f9dbf1cb
JB
6246 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6247 (frameset-filter-alist): Doc fixes.
76c5e5ab 6248
bd0c3c0b
JB
62492013-08-08 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6252
c735544c
SM
62532013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6256 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6257 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6258 (byte-compile-normal-call): Remove obsolescence check.
6259
2805a651
JB
62602013-08-08 Juanma Barranquero <lekktu@gmail.com>
6261
3677ffeb
JB
6262 * frameset.el (frameset-restore): Doc fix.
6263
2805a651
JB
6264 * register.el (frameset-frame-id, frameset-frame-with-id)
6265 (frameset-p, frameset-restore, frameset-save): Declare.
6266 (register-alist): Document framesets.
6267 (frameset-session-filter-alist): Declare.
6268 (frameset-to-register): New function.
6269 (jump-to-register): Implement jumping to framesets. Doc fix.
6270 (describe-register-1): Describe framesets.
6271
6272 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6273
a912c016
JB
62742013-08-07 Juanma Barranquero <lekktu@gmail.com>
6275
6276 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6277 Use lexical-binding.
6278
6279 * frameset.el (frameset): Use type vector, not list (incompatible
6280 change). Do not declare a new constructor, use the default one.
6281 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6282 `name' and `description', respectively, and add read-only slot
6283 `timestamp'. Doc fixes.
6284 (frameset-copy, frameset-persistent-filter-alist)
6285 (frameset-filter-alist, frameset-switch-to-gui-p)
6286 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6287 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6288 (frameset-filter-iconified, frameset-keep-original-display-p):
6289 Doc fixes.
6290 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6291 Rename from frameset-filter-(save|restore)-param. All callers changed.
6292 Doc fix.
6293 (frameset-p): Adapt to change to vector and be more thorough.
6294 Change arg name to OBJECT. Doc fix.
6295 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6296 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6297 All callers changed.
6298 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6299 All callers changed.
6300 (frameset--record-minibuffer-relationships): Rename from
6301 frameset--process-minibuffer-frames. All callers changed.
6302 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6303 Use new default constructor (again). Doc fix.
6304 (frameset--find-frame-if): Rename from `frameset--find-frame.
6305 All callers changed.
6306 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6307 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6308 Doc fix.
6309 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6310 PARAMETERS and WINDOW-STATE, respectively.
6311 (frameset-restore): Add new keyword argument PREDICATE.
6312 Reset frameset--target-display to nil. Doc fix.
6313
bb41480a
SM
63142013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6315
f001e98e
SM
6316 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6317 (bat-mode): Use it.
6318 (bat-mode-syntax-table): Mark \n as end-of-comment.
6319 (bat-font-lock-keywords): Remove comment rule.
6320
7679edb1
SM
6321 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6322 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6323
bb41480a
SM
6324 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6325 (byte-compile-callargs-warn): Use `push'.
6326 (byte-compile-arglist-warn): Ignore higher-order "calls".
6327 (byte-compile-file-form-autoload): Use `pcase'.
6328 (byte-compile-function-form): If quoting a symbol, check that it exists.
6329
cdc1ebb9
EZ
63302013-08-07 Eli Zaretskii <eliz@gnu.org>
6331
6332 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6333 and add a few popular commands found in batch files.
6334 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6335 (dos-mode): Doc fixes.
6336
312b1740
SM
63372013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6340 (dos-mode): Use setq-local. Add space after "rem".
6341 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6342 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6343
400a3178
AM
63442013-08-07 Arni Magnusson <arnima@hafro.is>
6345
6346 * progmodes/dos.el: New file.
6347 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6348 dos-mode.
6349
3b5c03d3
GM
63502013-08-06 Glenn Morris <rgm@gnu.org>
6351
6352 * calendar/calendar.el: Add new faces, and day-header-array.
6353 (calendar-weekday-header, calendar-weekend-header)
6354 (calendar-month-header): New faces.
6355 (calendar-day-header-construct): New function.
6356 (calendar-day-header-width): Also :set calendar-day-header-array.
6357 (calendar-american-month-header, calendar-european-month-header)
6358 (calendar-iso-month-header): Use calendar- faces.
6359 (calendar-generate-month):
6360 Use calendar-day-header-array for day headers; apply faces to them.
6361 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6362 (calendar-abbrev-construct): Add optional maxlen argument.
6363 (calendar-day-name-array): Doc fix.
6364 (calendar-day-name-array, calendar-abbrev-length)
6365 (calendar-day-abbrev-array):
6366 Also :set calendar-day-header-array, and maybe redraw.
6367 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6368 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6369 (calendar-day-name): Add option to use header array.
6370
ec6a2d7a
LMI
63712013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6372
6373 * net/shr.el (shr-render-td): Remove debugging.
6374 (shr-render-td): Make width computation consistent by defaulting
6375 all zero-width columns to 10 characters. This may not be optimal,
6376 but it's at least consistent.
2122cb6d
LMI
6377 (shr-make-table-1): Redo last change to fix the real problem in
6378 colspan handling.
ec6a2d7a 6379
ed4fd9c5
DA
63802013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6381
0ca3f70e
SM
6382 * files.el (cache-long-line-scans):
6383 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6384
64e22afe
JB
63852013-08-06 Juanma Barranquero <lekktu@gmail.com>
6386
024b38fc
JB
6387 * frameset.el (frameset, frameset-filter-alist)
6388 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6389 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6390 (frameset-compute-pos): Rename from frameset--compute-pos,
6391 and add docstring.
6392 (frameset-move-onscreen): Use frameset-compute-pos.
6393 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6394
64e22afe
JB
6395 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6396 Fix typos in docstrings.
6397
c8c2aca8
DA
63982013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6399
6400 * frame.el (get-other-frame): Tiny cleanup.
6401
1d237bba
JB
64022013-08-06 Juanma Barranquero <lekktu@gmail.com>
6403
8951efef
JB
6404 * vc/vc.el (vc-default-ignore-completion-table):
6405 Silence byte-compiler warning.
6406
307764cc
JB
6407 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6408 slot , which can indeed be nil.
6409 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6410 Move entry for `left' from persistent to live filter alist.
6411 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6412 Doc fixes.
6413 (frameset-filter-params): When restoring a frame, copy items added to
6414 `filtered', to avoid unwittingly modifying the original parameters.
6415 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6416 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6417
1d237bba
JB
6418 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6419 to use looking-at-p instead of looking-at. (Bug#15028)
6420
dc6c0eda
SM
64212013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6422
6423 Revert introduction of isearch-filter-predicates (bug#14714).
6424 Rely on add-function instead.
6425 * isearch.el (isearch-filter-predicates): Rename it back to
6426 isearch-filter-predicate.
6427 (isearch-message-prefix): Use advice-function-mapc and advice
6428 properties to get the isearch-message-prefix.
6429 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6430 instead of run-hook-with-args-until-failure.
6431 (isearch-filter-visible): Not obsolete any more.
6432 * loadup.el: Preload nadvice.
6433 * replace.el (perform-replace): Revert to funcall
6434 instead of run-hook-with-args-until-failure.
6435 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6436 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6437 dired-isearch-filenames-toggle; make it into a proper minor mode.
6438 Use add/remove-function.
6439 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6440 Call the minor-mode rather than add/remove-hook.
6441 (dired-isearch-filter-filenames):
6442 Remove isearch-message-prefix property.
6443 * info.el (Info--search-loop): New function, extracted from Info-search.
6444 Funcall isearch-filter-predicate instead of
6445 run-hook-with-args-until-failure isearch-filter-predicates.
6446 (Info-search): Use it.
6447 (Info-mode): Use isearch-filter-predicate instead of
6448 isearch-filter-predicates.
6449
290d5b58
DA
64502013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6451
6452 Do not call to `selected-window' where it is assumed by default.
6453 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6454 `window-hscroll', `window-width', `window-height', `window-buffer',
6455 `window-frame', `window-start', `window-point', `next-window'
6456 and `window-display-table'.
6457 * abbrev.el (abbrev--default-expand):
6458 * bs.el (bs--show-with-configuration):
6459 * buff-menu.el (Buffer-menu-mouse-select):
6460 * calc/calc.el (calc):
6461 * calendar/calendar.el (calendar-generate-window):
6462 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6463 (diary-make-entry):
6464 * comint.el (send-invisible, comint-dynamic-complete-filename)
6465 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6466 * completion.el (complete):
6467 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6468 * disp-table.el (describe-current-display-table):
6469 * doc-view.el (doc-view-insert-image):
6470 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6471 * ehelp.el (with-electric-help):
6472 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6473 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6474 * emacs-lisp/helper.el (Helper-help-scroller):
6475 * emulation/cua-base.el (cua--post-command-handler-1):
6476 * eshell/esh-mode.el (eshell-output-filter):
6477 * ffap.el (ffap-gnus-wrapper):
6478 * help-macro.el (make-help-screen):
6479 * hilit-chg.el (highlight-compare-buffers):
6480 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6481 * hl-line.el (global-hl-line-highlight):
6482 * icomplete.el (icomplete-simple-completing-p):
6483 * isearch.el (isearch-done):
6484 * jit-lock.el (jit-lock-stealth-fontify):
6485 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6486 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6487 * mpc.el (mpc-tagbrowser, mpc):
6488 * net/rcirc.el (rcirc-any-buffer):
6489 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6490 * play/landmark.el (landmark-max-width, landmark-max-height):
6491 * play/zone.el (zone):
6492 * progmodes/compile.el (compilation-goto-locus):
6493 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6494 * progmodes/etags.el (find-tag-other-window):
6495 * progmodes/fortran.el (fortran-column-ruler):
6496 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6497 * progmodes/verilog-mode.el (verilog-point-text):
6498 * reposition.el (reposition-window):
6499 * rot13.el (toggle-rot13-mode):
6500 * server.el (server-switch-buffer):
6501 * shell.el (shell-dynamic-complete-command)
6502 (shell-dynamic-complete-environment-variable):
6503 * simple.el (insert-buffer, set-selective-display)
6504 (delete-completion-window):
6505 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6506 (speedbar-recenter):
6507 * startup.el (fancy-splash-head):
6508 * textmodes/ispell.el (ispell-command-loop):
6509 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6510 * tutorial.el (help-with-tutorial):
6511 * vc/add-log.el (add-change-log-entry):
6512 * vc/compare-w.el (compare-windows):
6513 * vc/ediff-help.el (ediff-indent-help-message):
6514 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6515 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6516 (ediff-setup-control-frame):
6517 * vc/emerge.el (emerge-position-region):
6518 * vc/pcvs-util.el (cvs-bury-buffer):
6519 * window.el (walk-windows, mouse-autoselect-window-select):
6520 * winner.el (winner-set-conf, winner-undo): Related users changed.
6521
38276e01
JB
65222013-08-05 Juanma Barranquero <lekktu@gmail.com>
6523
6524 * frameset.el (frameset--set-id): Doc fix.
6525 (frameset-frame-id, frameset-frame-id-equal-p)
6526 (frameset-locate-frame-id): New functions.
6527 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6528 (frameset-restore): Use them.
6529
12b4c0ea
DA
65302013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6531
6532 Do not call to `selected-frame' where it is assumed by default.
6533 Affected functions are `raise-frame', `redraw-frame',
6534 `frame-first-window', `frame-terminal' and `delete-frame'.
6535 * calendar/appt.el (appt-disp-window):
6536 * epg.el (epg-wait-for-completion):
6537 * follow.el (follow-delete-other-windows-and-split)
6538 (follow-avoid-tail-recenter):
6539 * international/mule.el (set-terminal-coding-system):
6540 * mail/rmail.el (rmail-mail-return):
6541 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6542 * progmodes/f90.el (f90-add-imenu-menu):
6543 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6544 * server.el (server-switch-buffer):
6545 * simple.el (delete-completion-window):
6546 * talk.el (talk):
6547 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6548 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6549 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6550 * vc/ediff.el (ediff-documentation): Related users changed.
6551 * frame.el (selected-terminal): Remove the leftover.
6552
17f25e76
GM
65532013-08-05 Glenn Morris <rgm@gnu.org>
6554
6555 * calendar/calendar.el (calendar-generate-month):
6556 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6557 (calendar-generate-month, calendar-font-lock-keywords):
6558 Fix for calendar-day-header-width > length of any day name.
17f25e76 6559
063233c3
JB
65602013-08-05 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * desktop.el (desktop-clear): Use new name of sort predicate.
6563
6564 * frameset.el (frameset): Add docstring. Move :version property to its
6565 own `version' slot.
6566 (frameset-copy): Rename from copy-frameset.
6567 (frameset-p): Check more thoroughly.
6568 (frameset-prop): Do not check for :version, which is no longer a prop.
6569 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6570 Use new :never value instead of t.
6571 (frameset-filter-alist): Expand and clarify docstring.
6572 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6573 (frameset-filter-minibuffer, frameset-filter-save-param)
6574 (frameset-filter-restore-param, frameset-filter-iconified):
6575 Add pointer to docstring of frameset-filter-alist.
6576 (frameset-filter-params): Rename filter values to be more meaningful:
6577 :never instead of t, and reverse the meanings of :save and :restore.
6578 (frameset--process-minibuffer-frames): Clarify error message.
6579 (frameset-save): Avoid unnecessary and confusing call to framep.
6580 Use new BOA constructor for framesets.
6581 (frameset--reuse-list): Doc fix.
6582 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6583 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6584 (frameset-minibufferless-first-p): Doc fix.
6585 Rename from frameset-sort-frames-for-deletion.
6586 (frameset-restore): Doc fixes. Use new function names.
6587 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6588
d5671a82
JB
65892013-08-04 Juanma Barranquero <lekktu@gmail.com>
6590
6591 * desktop.el (desktop-restore-forces-onscreen)
6592 (desktop-restore-reuses-frames): Document :keyword constant values.
6593 (desktop-filter-parameters-alist): Remove, now identical to
6594 frameset-filter-alist.
6595 (desktop--filter-tty*): Remove, moved to frameset.el.
6596 (desktop-save-frameset, desktop-restore-frameset):
6597 Do not pass :filters argument.
6598
6599 * frameset.el (frameset-live-filter-alist)
6600 (frameset-persistent-filter-alist): New variables.
6601 (frameset-filter-alist): Use them. Add autoload cookie.
6602 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6603 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6604 `frameset--id' (it's supposed to be internal to frameset.el).
6605 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6606 (frameset--initial-params): New function.
6607 (frameset--get-frame): Use it. Doc fix.
6608 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6609 Accept :all, not 'all.
6610 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6611 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6612 with fbound symbols. Fix frame id matching, and remove matching ids if
6613 the frame being restored is deleted. Obey :delete.
6614
671d5c16
SM
66152013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6616
6617 * subr.el (macrop): New function.
6618 (text-clone--maintaining): New var.
6619 (text-clone--maintain): Rename from text-clone-maintain. Use it
6620 instead of inhibit-modification-hooks.
6621
6622 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6623 a proxy, so as handle autoloads and redefinitions of the target.
6624 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6625
6626 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6627 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6628 (pcase--mutually-exclusive-p): New function.
6629 (pcase--split-consp): Use it.
6630 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6631 mutually exclusive with the current predicate.
6632
6633 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6634 (edebug-macrop): Remove. Use `macrop' instead.
6635 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6636 (ad-macro-p):
6637 * eshell/esh-cmd.el (eshell-macrop):
6638 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6639
1d44e9dc
SM
66402013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6643 (advice-mapc): New function, using it.
6644 (advice-function-member-p): New function.
6645 (advice--normalize): Store the cdr in advice--saved-rewrite since
6646 that's the part that will be changed.
6647 (advice--symbol-function): New function.
6648 (advice-remove): Handle removal before the function is defined.
6649 Adjust to new advice--saved-rewrite.
6650 (advice-member-p): Use advice-function-member-p and
6651 advice--symbol-function.
6652
5414a283
JB
66532013-08-04 Juanma Barranquero <lekktu@gmail.com>
6654
51d30f2c
JB
6655 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6656 (frameset-filter-minibuffer): Doc fix.
6657 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6658 (frameset--set-id, frameset--process-minibuffer-frames)
6659 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6660 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6661
5414a283
JB
6662 * desktop.el (desktop-clear): Only delete frames when called
6663 interactively and desktop-restore-frames is non-nil. Doc fix.
6664 (desktop-read): Set desktop-saved-frameset to nil.
6665
ab419665
XF
66662013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6667
6668 * vc/vc.el (vc-ignore): Rewrite.
6669 (vc-default-ignore-completion-table):
6670 (vc--read-lines):
6671 (vc--add-line, vc--remove-regexp): New functions.
6672
6673 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6674 (vc-svn-ignore-completion-table): New function.
6675
6676 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6677 (vc-hg-ignore-completion-table):
6678 (vc-hg-find-ignore-file): New functions.
6679
6680 * vc/vc-git.el (vc-git-ignore): Rewrite.
6681 (vc-git-ignore-completion-table):
6682 (vc-git-find-ignore-file): New functions.
6683
6684 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6685
6686 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6687 (vc-bzr-ignore-completion-table):
6688 (vc-bzr-find-ignore-file): New functions.
6689
2613dea2
JB
66902013-08-03 Juanma Barranquero <lekktu@gmail.com>
6691
6692 * frameset.el (frameset-prop): New function and setter.
6693 (frameset-save): Do not modify frame list passed by the caller.
6694
9c959872
SM
66952013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6696
6697 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6698
a104f656
SM
66992013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6700
70122acf
SM
6701 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6702 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6703
a104f656
SM
6704 * custom.el (custom-initialize-default, custom-initialize-set)
6705 (custom-initialize-reset, custom-initialize-changed): Affect the
6706 toplevel-default-value (bug#6275, bug#14586).
6707 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6708 for bug#6275.
6709
f078d570
JB
67102013-08-02 Juanma Barranquero <lekktu@gmail.com>
6711
185e3b5a
JB
6712 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6713 Add cl-def* expressions.
6714
f078d570
JB
6715 * frameset.el (frameset-filter-params): Fix order of arguments.
6716
9421876d
JB
67172013-08-02 Juanma Barranquero <lekktu@gmail.com>
6718
6719 Move code related to saving frames to frameset.el.
6720 * desktop.el: Require frameset.
6721 (desktop-restore-frames): Doc fix.
6722 (desktop-restore-reuses-frames): Rename from
6723 desktop-restoring-reuses-frames.
6724 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6725 (desktop-clear): Clear frames too.
6726 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6727 (desktop--filter-tty*, desktop-save, desktop-read):
6728 Use frameset functions.
6729 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6730 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6731 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6732 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6733 (desktop--process-minibuffer-frames, desktop-save-frames)
6734 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6735 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6736 (desktop--sort-states, desktop-restoring-frames-p)
6737 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6738 (desktop-restoring-frameset-p, desktop-restore-frameset)
6739 (desktop--check-dont-save, desktop-save-frameset): New functions.
6740 (desktop--app-id): New constant.
6741 (desktop-first-buffer, desktop-buffer-ok-count)
6742 (desktop-buffer-fail-count): Move before first use.
6743 * frameset.el: New file.
6744
76dc5996
SM
67452013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * files.el: Use lexical-binding.
6748 (dir-locals-read-from-file): Remove unused `err' variable.
6749 (hack-dir-local-variables--warned-coding): New var.
6750 (hack-dir-local-variables): Use it to avoid repeated warnings.
6751 (make-backup-file-name--default-function): New function.
6752 (make-backup-file-name-function): Use it as default.
6753 (buffer-stale--default-function): New function.
6754 (buffer-stale-function): Use it as default.
6755 (revert-buffer-insert-file-contents--default-function): New function.
6756 (revert-buffer-insert-file-contents-function): Use it as default.
6757 (insert-directory): Avoid add-to-list.
6758
6759 * autorevert.el (auto-revert-handler): Simplify.
6760 Use buffer-stale--default-function.
6761
06d36e2b
TH
67622013-08-01 Tassilo Horn <tsdh@gnu.org>
6763
5f648ab4
TH
6764 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6765
06d36e2b
TH
6766 * whitespace.el (whitespace-ensure-local-variables): New function.
6767 (whitespace-cleanup-region): Call it.
6768 (whitespace-turn-on): Call it.
6769
a43dc424
MA
67702013-08-01 Michael Albinus <michael.albinus@gmx.de>
6771
6772 Complete file name handlers.
6773
6774 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6775 (tramp-handle-verify-visited-file-modtime)
6776 (tramp-handle-file-notify-rm-watch): New functions.
6777 (tramp-call-process): Do not bind `default-directory'.
6778
44e18199
JB
6779 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6780 Order alphabetically.
a43dc424
MA
6781 [access-file, add-name-to-file, dired-call-process]:
6782 [dired-compress-file, file-acl, file-notify-rm-watch]:
6783 [file-ownership-preserved-p, file-selinux-context]:
6784 [make-directory-internal, make-symbolic-link, set-file-acl]:
6785 [set-file-selinux-context, set-visited-file-modtime]:
6786 [verify-visited-file-modtime]: Add handler.
6787 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6788
6789 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6790 [file-notify-add-watch, file-notify-rm-watch]:
6791 [set-file-times, set-visited-file-modtime]:
6792 [verify-visited-file-modtime]: Add handler.
6793 (with-tramp-gvfs-error-message)
6794 (tramp-gvfs-handle-set-visited-file-modtime)
6795 (tramp-gvfs-fuse-file-name): Remove.
6796 (tramp-gvfs-handle-file-notify-add-watch)
6797 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6798 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6799
44e18199
JB
6800 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6801 Order alphabetically.
a43dc424
MA
6802 [file-notify-rm-watch ]: Use default Tramp handler.
6803 [executable-find]: Remove private handler.
6804 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6805 `default-directory'.
6806 (tramp-sh-handle-executable-find)
6807 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6808 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6809 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6810 Do not use `format' in `tramp-message'.
6811
6812 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6813 [file-notify-rm-watch, set-visited-file-modtime]:
6814 [verify-visited-file-modtime]: Add handler.
6815 (tramp-smb-call-winexe): Do not bind `default-directory'.
6816
7188b515
XF
68172013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6818
6819 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6820
2412ee1a
DG
68212013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6822
6823 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6824 use it.
6825 (log-view-diff-changeset): Same.
6826 (log-view-diff-common): Call backend command `previous-revision'
6827 to find out the previous revision, in both cases. Swap the
6828 variables `to' and `fr', so that `fr' usually refers to the
6829 earlier revision (Bug#14989).
6830
5002a754
KRC
68312013-07-31 Kan-Ru Chen <kanru@kanru.info>
6832
6833 * ibuf-ext.el (ibuffer-filter-by-filename):
6834 Make it work with dired buffers too.
6835
44e18199 68362013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6837
6838 * emacs-lisp/re-builder.el (reb-color-display-p):
6839 * files.el (save-buffers-kill-terminal):
6840 * net/browse-url.el (browse-url):
6841 * server.el (server-save-buffers-kill-terminal):
6842 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6843 Prefer nil to selected-frame for the first arg of frame-parameter.
6844
aeca3fbb
XF
68452013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6846
6847 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6848
158bc55c
SB
68492013-07-30 Stephen Berman <stephen.berman@gmx.net>
6850
6851 * minibuffer.el (completion--twq-all): Try and preserve each
6852 completion's case choice (bug#14907).
6853
d50fceab
LMI
68542013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6855
ac38e731
LMI
6856 * net/network-stream.el (open-network-stream): Mention the new
6857 :nogreeting parameter.
6858 (network-stream-open-starttls): Use the :nogreeting parameter
6859 (bug#14938).
6860
1211de50
LMI
6861 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6862
997798bf
LMI
6863 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6864 more natural than popping.
6865
d50fceab 6866 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6867 (shr-urlify): Highlight under mouse.
d50fceab 6868
5c09de04
XF
68692013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6870
207d1d04
XF
6871 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6872
6873 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6874
5c09de04
XF
6875 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6876 buffer for output.
6877
3cd51eaa
XF
6878 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6879 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6880
44e18199 6881 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6882 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6883
6884 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6885
6886 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6887 buffer for output.
6888
35a89bdd
EZ
68892013-07-29 Eli Zaretskii <eliz@gnu.org>
6890
6891 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6892 initial frame is minibuffer-less. (Bug#14841)
6893
78822e94
MA
68942013-07-29 Michael Albinus <michael.albinus@gmx.de>
6895
6896 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6897 option.
6898
6899 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6900 (tramp-maybe-open-connection): Use it.
6901
9503c190
JB
69022013-07-28 Juanma Barranquero <lekktu@gmail.com>
6903
6904 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6905 minimal set of parameters passed when creating a frame, because
6906 the minibuffer status of a frame cannot be changed later.
6907
d5a845b4
SB
69082013-07-28 Stephen Berman <stephen.berman@gmx.net>
6909
6910 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6911 replace-regexp-in-string and inadvertent omissions in previous change.
6912 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6913 name of filtered items buffer.
d5a845b4 6914
ddeffb17
JB
69152013-07-28 Juanma Barranquero <lekktu@gmail.com>
6916
6917 * desktop.el: Optionally force offscreen frames back onscreen.
6918 (desktop-restoring-reuses-frames): New option.
6919 (desktop--compute-pos, desktop--move-onscreen): New functions.
6920 (desktop--make-frame): Use desktop--move-onscreen.
6921
f5950f7a
AM
69222013-07-27 Alan Mackenzie <acm@muc.de>
6923
6924 Fontify a Java generic method as a function.
6925 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6926 value to t.
6927
ae43b66a
SB
69282013-07-27 Stephen Berman <stephen.berman@gmx.net>
6929
6930 * calendar/todo-mode.el: Add command to rename todo files.
6931 (todo-rename-file): New command.
6932 (todo-key-bindings-t): Add key binding for it. Change the
6933 bindings of todo-filter-regexp-items(-multifile) to use `x'
6934 instead of `r', since the latter is better suited to the new
6935 renaming command.
6936
5ab78d3d
AM
69372013-07-27 Alan Mackenzie <acm@muc.de>
6938
6939 Make Java try-with-resources statement parse properly.
6940 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6941 (c-block-stmt-1-2-key): New language constants/variables.
6942 * progmodes/cc-engine.el (c-beginning-of-statement-1)
6943 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6944 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 6945 with c-block-stmt-1-2-key.
5ab78d3d 6946
d85c4d50
JB
69472013-07-27 Juanma Barranquero <lekktu@gmail.com>
6948
6949 * desktop.el (desktop--make-frame): Apply most frame parameters after
6950 creating the frame to force (partially or totally) offscreen frames to
6951 be restored as such.
6952
e4c467f9
XF
69532013-07-26 Xue Fuqiao <xfq.free@gmail.com>
6954
6955 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 6956 (Bug#14948)
e4c467f9 6957
7ced0d04
SM
69582013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6961 `base' arg of backtrace-frame.
6962
fec92060
EZ
69632013-07-26 Eli Zaretskii <eliz@gnu.org>
6964
6965 * simple.el (list-processes): Doc fix.
6966
d58d31fb
JB
69672013-07-26 Juanma Barranquero <lekktu@gmail.com>
6968
6969 * desktop.el (desktop--select-frame):
d85c4d50 6970 Try harder to reuse existing frames.
d58d31fb 6971
53ff3e77
SM
69722013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6973
6974 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6975 (edebug-eval): Use backtrace-eval.
6976 (edebug--display, edebug--recursive-edit): Don't let-bind the
6977 edebug-outer-* vars that keep track of variables we locally let-bind.
6978 (edebug-outside-excursion): Don't restore outside values of locally
6979 let-bound vars.
6980 (edebug--display): Use user-error.
6981 (cl-lexical-debug, cl-debug-env): Remove.
6982
045f7a53
JB
69832013-07-26 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6986 are restored to be sure that they are visible before deleting any
6987 remaining ones.
6988
59070b32
MM
69892013-07-26 Matthias Meulien <orontee@gmail.com>
6990
742a3501
XF
6991 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6992 vc-print-root-log. (Bug#14948)
59070b32 6993
b1fb3596
RS
69942013-07-26 Richard Stallman <rms@gnu.org>
6995
6996 Add aliases for encrypting mail.
6997 * epa.el (epa-mail-aliases): New option.
6998 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6999 Bind inhibit-read-only so read-only text doesn't ruin everything.
7000 (epa-mail-default-recipients): New subroutine broken out.
7001 Handle epa-mail-aliases.
7002
56ea7291
SM
70032013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7004
7005 Add support for lexical variables to the debugger's `e' command.
7006 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7007 vars, except for debugger-outer-match-data.
7008 (debugger-frame-number): Move check for "on a function call" from
7009 callers into it. Add `skip-base' argument.
7010 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7011 (debugger-env-macro): Only reset the state stored in non-variables,
7012 i.e. current-buffer and match-data.
7013 (debugger-eval-expression): Rewrite using backtrace-eval.
7014 * subr.el (internal--called-interactively-p--get-frame): Remove.
7015 (called-interactively-p):
7016 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7017 `base' arg of backtrace-frame instead.
7018
15ac32d5
GM
70192013-07-26 Glenn Morris <rgm@gnu.org>
7020
8358a09d
GM
7021 * align.el (align-regexp): Doc fix. (Bug#14857)
7022 (align-region): Explicit error if subexpression missing/does not match.
7023
15ac32d5
GM
7024 * simple.el (global-visual-line-mode):
7025 Do not duplicate the mode lighter. (Bug#14858)
7026
f47ad11b
MR
70272013-07-25 Martin Rudalics <rudalics@gmx.at>
7028
7029 * window.el (display-buffer): In display-buffer bind
7030 split-window-keep-point to t, bug#14829.
7031
02530987
JB
70322013-07-25 Juanma Barranquero <lekktu@gmail.com>
7033
7034 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7035 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7036 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7037 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7038 Change accordingly.
f63ebeb5
JB
7039 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7040 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7041
6ccb9cab 70422013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7043
6ccb9cab 7044 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7045
cb3a56d2
JB
70462013-07-25 Juanma Barranquero <lekktu@gmail.com>
7047
7048 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7049 parameter to modify-frame-parameters if the value has not changed;
7050 this is a workaround for bug#14949.
7051 (desktop--make-frame): On cl-delete-if call, check parameter name,
7052 not full parameter.
7053
7aa7fff0
XF
70542013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7055
7056 * vc/vc.el (vc-ignore): New function.
7057
7058 * vc/vc-svn.el (vc-svn-ignore): New function.
7059
7060 * vc/vc-hg.el (vc-hg-ignore): New function.
7061
7062 * vc/vc-git.el (vc-git-ignore): New function.
7063
7064 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7065 (vc-dir-ignore): New function.
7066
7067 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7068 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7069
7070 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7071
7072 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7073
889acc5c
JB
70742013-07-24 Juanma Barranquero <lekktu@gmail.com>
7075
7076 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7077 (desktop-restore-frames): Warn when deleting an existing frame failed.
7078
86c40970
GM
70792013-07-24 Glenn Morris <rgm@gnu.org>
7080
7081 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7082
d5d3c58a
MA
70832013-07-24 Michael Albinus <michael.albinus@gmx.de>
7084
7085 * filenotify.el (file-notify-supported-p):
7086 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7087 Remove functions.
7088
7089 * autorevert.el (auto-revert-use-notify):
7090 (auto-revert-notify-add-watch):
7091 * net/tramp.el (tramp-file-name-for-operation):
7092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7094 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7095 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7096 Remove `file-notify-supported-p' entry.
7097
d100084b
GM
70982013-07-24 Glenn Morris <rgm@gnu.org>
7099
7100 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7101 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7102
ac93e56b
SM
71032013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7104
249eea30
SM
7105 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7106 checked with memq (bug#14935).
7107
ac93e56b
SM
7108 * files.el (revert-buffer-function): Use a non-nil default.
7109 (revert-buffer-preserve-modes): Declare var to
7110 provide access to the `preserve-modes' argument.
7111 (revert-buffer): Let-bind it.
7112 (revert-buffer--default): New function, extracted from revert-buffer.
7113
2cdeb903
SM
71142013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7115
7116 * lpr.el: Signal print errors more prominently.
7117 (print-region-function): Don't default to nil.
7118 (lpr-print-region): New function, extracted from print-region-1.
7119 Check lpr's return value and signal an error in case of problem.
7120 (print-region-1): Use it.
7121 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7122 versions instead.
7123 (ps-printer-name): Default to nil.
7124 (ps-printer-name-option): Default to lpr-printer-switch.
7125 (ps-print-region-function): Don't default to nil.
7126 (ps-postscript-code-directory): Simplify default.
7127 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7128 (ps-string-list, ps-eval-switch, ps-flatten-list)
7129 (ps-flatten-list-1): Remove.
7130 (ps-multibyte-buffer): Avoid setq.
7131 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7132 (print-region-function, ps-print-region-function): Don't set them here.
7133
73600831
XF
71342013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7135
0e55c076
XF
7136 * ido.el (ido-fractionp):
7137 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7138 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7139 (ido-max-directory-size, ido-max-dir-file-cache)
7140 (ido-decorations): Doc fix.
7141
73600831
XF
7142 * ansi-color.el: Fix old URL.
7143
3d012865
MM
71442013-07-23 Michael R. Mauger <michael@mauger.com>
7145
e903c210 7146 * progmodes/sql.el: Version 3.3
3d012865
MM
7147 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7148 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7149 (sql-interactive-remove-continuation-prompt): Rewrite, use
7150 functions above. Fix continuation prompt and complete output line
7151 handling.
7152 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7153 redirected output buffer.
7154 (sql-mode): Restore deleted code (Bug#13591).
7155
da77a2e2
JB
71562013-07-23 Juanma Barranquero <lekktu@gmail.com>
7157
7158 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7159
80ff0c71
MA
71602013-07-23 Michael Albinus <michael.albinus@gmx.de>
7161
7162 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7163
7164 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7165 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7166 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7167
b61d71e4
JB
71682013-07-23 Juanma Barranquero <lekktu@gmail.com>
7169
7170 * desktop.el (desktop-clear): Simplify; remove useless checks
7171 against invalid buffer names.
7172 (desktop-list*): Use cl-list*.
7173 (desktop-buffer-info, desktop-create-buffer): Simplify.
7174
c3512092
LL
71752013-07-23 Leo Liu <sdl.web@gmail.com>
7176
7177 * bookmark.el (bookmark-make-record): Restore NAME as a default
7178 value. (Bug#14933)
7179
0ac26976
SM
71802013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7181
7d22ce18
SM
7182 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7183 extracted from autoload--insert-text.
7184 (autoload--insert-text): Remove.
7185 (autoload--print-cookie-text): New function, extracted from
7186 autoload--insert-cookie-text.
7187 (autoload--insert-cookie-text): Remove.
7188 (autoload-generate-file-autoloads): Adjust calls accordingly.
7189
9b2607e8
SM
7190 * winner.el (winner-hook-installed-p): Remove.
7191 (winner-mode): Simplify accordingly.
7192
c43a8618
SM
7193 * subr.el (add-to-list): Fix compiler-macro when `append' is
7194 not constant. Don't use `cl-member' for the base case.
7195
0ac26976
SM
7196 * progmodes/subword.el: Fix boundary case (bug#13758).
7197 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7198 own group.
7199 (subword-backward-regexp): Make it a constant.
7200 (subword-forward-internal): Don't treat a trailing capital as the
7201 beginning of a word.
7202
6874724a
AR
72032013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7204
7205 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7206 global value of tabulated-list-revert-hook (bug#14930).
7207
70f1b5e8
JB
72082013-07-22 Juanma Barranquero <lekktu@gmail.com>
7209
a1c80d9d
JB
7210 * desktop.el: Require 'cl-lib.
7211 (desktop-before-saving-frames-functions): New hook.
7212 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7213 for frames being saved. Rename from desktop--save-minibuffer-frames.
7214 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7215 Do not save frames with non-nil `desktop-dont-save' parameter.
7216 Filter out deleted frames.
a1c80d9d
JB
7217 (desktop--find-frame): Use cl-find-if.
7218 (desktop--select-frame): Use cl-(first|second|third) to access values
7219 of desktop-mini.
7220 (desktop--make-frame): Use cl-delete-if.
7221 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7222 (desktop-restore-frames): Use cl-(first|second|third) to access values
7223 of desktop-mini. Look for visible frame at the end, not while
7224 restoring frames.
7225
70f1b5e8
JB
7226 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7227 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7228 Use string-match-p, looking-at-p (bug#14927).
7229
728dc3cc
JB
72302013-07-21 Juanma Barranquero <lekktu@gmail.com>
7231
56bc453c
JB
7232 * desktop.el (desktop-saved-frame-states):
7233 Rename from desktop--saved-states; all users changed.
7234 (desktop-save-frames): Rename from desktop--save-frames.
7235 Do not save state to desktop file.
7236 (desktop-save): Save desktop-saved-frame-states to desktop file
7237 and reset to nil.
7238 (desktop-restoring-frames-p): New function.
7239 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7240 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7241 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7242
728dc3cc
JB
7243 * desktop.el: Correctly restore iconified frames.
7244 (desktop--filter-iconified-position): New function.
7245 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7246
862f1c9c
GM
72472013-07-20 Glenn Morris <rgm@gnu.org>
7248
c4074c9f
GM
7249 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7250 Let `message' do the formatting.
7251 (def-gdb-preempt-display-buffer): Add explicit format.
7252
d828e5f9
GM
7253 * image-dired.el (image-dired-track-original-file):
7254 Use with-current-buffer.
7255 (image-dired-track-thumbnail): Use with-current-buffer.
7256 Avoid changing point of wrong window.
7257
862f1c9c
GM
7258 * image-dired.el (image-dired-track-original-file):
7259 Avoid changing point of wrong window. (Bug#14909)
7260
f0398ec1 72612013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7262
7263 * progmodes/gdb-mi.el (gdb-done-or-error):
7264 Guard against "%" in gdb output. (Bug#14127)
7265
1451928f
AS
72662013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7267
763a086d
JB
7268 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7269 (Bug#14826)
f7a03897 7270
1451928f
AS
7271 * international/mule.el (coding-system-iso-2022-flags): Fix last
7272 change.
7273
99107004
KH
72742013-07-20 Kenichi Handa <handa@gnu.org>
7275
763a086d
JB
7276 * international/mule.el (coding-system-iso-2022-flags):
7277 Add `8-bit-level-4'. (Bug#8522)
99107004 7278
48494e06
LMI
72792013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7280
8ba8eec5
LMI
7281 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7282 (bug#14815).
7283
dfbc66e3
LMI
7284 * net/eww.el (eww-process-text-input): Allow inputting when the
7285 point is at the start of the line, as the properties aren't
7286 front-sticky.
7287
48494e06
LMI
7288 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7289 degenerate widths.
7290
77c92cb9
RS
72912013-07-19 Richard Stallman <rms@gnu.org>
7292
aec7da77
RS
7293 * epa.el (epa-popup-info-window): Doc fix.
7294
77c92cb9
RS
7295 * subr.el (split-string): New arg TRIM.
7296
945c5bb1
JB
72972013-07-18 Juanma Barranquero <lekktu@gmail.com>
7298
7299 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7300 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7301
e06ec67f
MA
73022013-07-18 Michael Albinus <michael.albinus@gmx.de>
7303
c7064f05 7304 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7305 `file-notify-support'. Do not autoload. Adapt all uses.
7306 (file-notify-supported-p): New defun.
7307
c7064f05
JB
7308 * autorevert.el (auto-revert-use-notify):
7309 Use `file-notify-supported-p' instead of `file-notify-support'.
7310 Adapt docstring.
e06ec67f
MA
7311 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7312
7313 * net/tramp.el (tramp-file-name-for-operation):
7314 Add `file-notify-supported-p'.
7315
7316 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7317 New defun.
7318 (tramp-sh-file-name-handler-alist): Add it as handler for
7319 `file-notify-supported-p '.
7320
7321 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7322 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7323 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7324 Add `ignore' as handler for `file-notify-*' functions.
7325
5dc8a629
EZ
73262013-07-17 Eli Zaretskii <eliz@gnu.org>
7327
7328 * simple.el (line-move-partial, line-move): Don't start vscroll or
7329 scroll-up if the current line is not taller than the window.
7330 (Bug#14881)
7331
77aea2fb
DG
73322013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7333
7334 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7335 highlight question marks in the method names as strings.
ac72c08d
DG
7336 (ruby-block-beg-keywords): Inline.
7337 (ruby-font-lock-keyword-beg-re): Extract from
7338 `ruby-font-lock-keywords'.
77aea2fb 7339
18c26d81
JD
73402013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7341
7342 * frame.el (blink-cursor-blinks): New defcustom.
7343 (blink-cursor-blinks-done): New defvar.
7344 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7345 (blink-cursor-timer-function): Check if number of blinks has been
7346 done on X and NS.
7347 (blink-cursor-suspend, blink-cursor-check): New defuns.
7348
da48522e
GM
73492013-07-15 Glenn Morris <rgm@gnu.org>
7350
7351 * edmacro.el (edmacro-format-keys): Fix previous change.
7352
0463c1ef
PE
73532013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7354
7355 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7356 The hack didn't work outside English locales anyway.
7357
b43f6451
JB
73582013-07-15 Juanma Barranquero <lekktu@gmail.com>
7359
7360 * simple.el (define-alternatives): Rename from alternatives-define,
7361 per RMS' suggestion.
7362
b958c0ad
JB
73632013-07-14 Juanma Barranquero <lekktu@gmail.com>
7364
7365 * desktop.el (desktop-restore-frames): Change default to t.
7366 (desktop-restore-in-current-display): Now offer more options.
7367 (desktop-restoring-reuses-frames): New customization option.
7368 (desktop--saved-states): Doc fix.
7369 (desktop-filter-parameters-alist): New variable, renamed and expanded
7370 from desktop--excluded-frame-parameters.
7371 (desktop--target-display): New variable.
7372 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7373 (desktop--filter-tty*, desktop--filter-*-color)
7374 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7375 (desktop--filter-save-desktop-parm)
7376 (desktop-restore-in-original-display-p): New functions.
7377 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7378 (desktop--save-minibuffer-frames): New function, inspired by a similar
7379 function from Martin Rudalics.
7380 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7381 (desktop--restore-in-this-display-p): Remove.
7382 (desktop--find-frame): Rename from desktop--find-frame-in-display
7383 and add predicate argument.
7384 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7385 (desktop--reuse-list): New variable.
7386 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7387 New functions.
7388 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7389
f6dd8b36
MA
73902013-07-14 Michael Albinus <michael.albinus@gmx.de>
7391
7392 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7393
2ce3c565
DG
73942013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7395
763a086d
JB
7396 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7397 Highlight conversion methods on Kernel.
2ce3c565 7398
2cdb7698
AM
73992013-07-13 Alan Mackenzie <acm@muc.de>
7400
7401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7402 and comment it out. This out-commenting enables certain C++
7403 declarations to be parsed correctly.
7404
1a67b811
EZ
74052013-07-13 Eli Zaretskii <eliz@gnu.org>
7406
1b796d6b
EZ
7407 * international/mule.el (define-coding-system): Doc fix.
7408
1a67b811
EZ
7409 * simple.el (default-font-height): Don't call font-info if the
7410 frame's default font didn't change since the frame was created.
7411 (Bug#14838)
7412
58fbe886
LL
74132013-07-13 Leo Liu <sdl.web@gmail.com>
7414
7415 * ido.el (ido-read-file-name): Guard against non-symbol value.
7416
1f0480d4
FEG
74172013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7418
7419 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7420 in nested defuns.
7421
97ead0e5
LL
74222013-07-13 Leo Liu <sdl.web@gmail.com>
7423
7424 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7425 ido-set-matches call. (Bug#6852)
7426
0880a952
DG
74272013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7428
7429 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7430 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7431 Ruby 2.0.
7432 (ruby-font-lock-keywords): Distinguish calls to functions with
7433 module-like names from module references. Highlight character
7434 literals.
7435
a7d8babb
SDJ
74362013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7437
7438 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7439 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7440
acfcc8c5
JB
74412013-07-12 Juanma Barranquero <lekktu@gmail.com>
7442
7443 * desktop.el (desktop--v2s): Remove unused local variable.
7444 (desktop-save-buffer): Make defvar-local; adjust docstring.
7445 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7446 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7447
051f2775
AS
74482013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7449
7450 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7451
f24e7572
GM
74522013-07-12 Eli Zaretskii <eliz@gnu.org>
7453
7454 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7455 (Bug#14842)
7456
539a920c
GM
74572013-07-12 Glenn Morris <rgm@gnu.org>
7458
7459 * doc-view.el: Require cl-lib at runtime too.
7460 (doc-view-remove-if): Remove.
7461 (doc-view-search-next-match, doc-view-search-previous-match):
7462 Use cl-remove-if.
7463
7464 * edmacro.el: Require cl-lib at runtime too.
7465 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7466 (edmacro-mismatch, edmacro-subseq): Remove.
7467
7468 * shadowfile.el: Require cl-lib.
7469 (shadow-remove-if): Remove.
7470 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7471 Use cl-remove-if.
7472
7473 * wid-edit.el: Require cl-lib.
7474 (widget-choose): Use cl-remove-if.
7475 (widget-remove-if): Remove.
7476
7477 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7478 (ebrowse-delete-if-not): Remove.
7479 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7480 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7481 Use cl-delete-if-not.
7482
1048af7c
JB
74832013-07-12 Juanma Barranquero <lekktu@gmail.com>
7484
7485 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7486 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7487
6c0674ee
LL
74882013-07-12 Leo Liu <sdl.web@gmail.com>
7489
7490 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7491
a19b3c2d
GM
74922013-07-11 Glenn Morris <rgm@gnu.org>
7493
4582a01c
GM
7494 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7495 (edebug-gensym-index, edebug-gensym):
7496 Remove reimplementation of cl-gensym.
7497 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7498
7499 * thumbs.el: Require cl-lib at run-time too.
7500 (thumbs-gensym-counter, thumbs-gensym):
7501 Remove reimplementation of cl-gensym.
7502 (thumbs-temp-file): Use cl-gensym.
7503
a19b3c2d
GM
7504 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7505 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7506 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7507 (ert--union, ert--gensym-counter, ert--gensym-counter)
7508 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7509 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7510 (ert-make-test-unbound, ert--expand-should-1)
7511 (ert--expand-should, ert--should-error-handle-error)
7512 (should-error, ert--explain-equal-rec)
7513 (ert--plist-difference-explanation, ert-select-tests)
7514 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7515 Use cl-lib functions rather than reimplementations.
7516
88f6a933
MA
75172013-07-11 Michael Albinus <michael.albinus@gmx.de>
7518
7519 * net/tramp.el (tramp-methods): Extend docstring.
7520 (tramp-connection-timeout): New defcustom.
7521 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7522 (with-tramp-progress-reporter): Simplify.
7523 (tramp-process-actions): Improve messages.
7524
7525 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7526 * net/tramp-sh.el (tramp-maybe-open-connection):
7527 Use `tramp-connection-timeout'.
7528 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7529 (Bug#14808)
7530
a43d577e
LL
75312013-07-11 Leo Liu <sdl.web@gmail.com>
7532
7533 * ido.el (ido-read-file-name): Conform to the requirements of
7534 read-file-name. (Bug#11861)
7535 (ido-read-directory-name): Conform to the requirements of
7536 read-directory-name.
7537
d77974bf
JB
75382013-07-11 Juanma Barranquero <lekktu@gmail.com>
7539
7540 * subr.el (delay-warning): New function.
7541
35cb8a3e
EZ
75422013-07-10 Eli Zaretskii <eliz@gnu.org>
7543
7544 * simple.el (default-line-height): New function.
7545 (line-move-partial, line-move): Use it instead of computing the
7546 line height inline.
7547 (line-move-partial): Always compute ROWH. If the last line is
7548 partially-visible, but its text is completely visible, allow
7549 cursor to enter such a partially-visible line.
7550
525c5c77
MA
75512013-07-10 Michael Albinus <michael.albinus@gmx.de>
7552
7553 Improve error messages. (Bug#14808)
7554
7555 * net/tramp.el (tramp-current-connection): New defvar, moved from
7556 tramp-sh.el.
0ac26976 7557 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7558 needed anymore.
0ac26976
SM
7559 (tramp-error-with-buffer): Show message in minibuffer.
7560 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7561 (with-tramp-progress-reporter): Improve messages.
7562 (tramp-process-actions): Use progress reporter. Delete process in
7563 case of error. Improve messages.
7564
763a086d
JB
7565 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7566 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7567 (tramp-current-connection): Remove.
525c5c77
MA
7568 (tramp-maybe-open-connection): The car of
7569 `tramp-current-connection' are the first 3 slots of the vector.
7570
c7a4d368
TZ
75712013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7572
7573 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7574 inside continued strings.
7575
954b166e
PE
75762013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7577
7578 Timestamp fixes for undo (Bug#14824).
7579 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7580
56973319
LL
75812013-07-10 Leo Liu <sdl.web@gmail.com>
7582
7583 * files.el (require-final-newline): Allow safe local value.
7584 (Bug#14834)
7585
5550a72c
LL
75862013-07-09 Leo Liu <sdl.web@gmail.com>
7587
7588 * ido.el (ido-read-directory-name): Handle fallback.
7589 (ido-read-file-name): Update DIR to ido-current-directory.
7590 (Bug#1516)
c28b9050 7591 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7592
70c46b28
DG
75932013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7594
7595 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7596 "autoload". Remove "warn lower camel case" section, previously
7597 commented out. Highlight negation char. Do not highlight the
7598 target in singleton method definitions.
7599
0b64b838
SM
76002013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7601
7fd72e2c
SM
7602 * faces.el (tty-setup-hook): Declare the hook.
7603
0b64b838
SM
7604 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7605 and detect when a guard/pred depends on local vars (bug#14773).
7606 (pcase--u1): Adjust caller.
7607
ab49d60b
EZ
76082013-07-08 Eli Zaretskii <eliz@gnu.org>
7609
7610 * simple.el (line-move-partial, line-move): Account for
7611 line-spacing.
701d79aa
EZ
7612 (line-move-partial): Avoid setting vscroll when the last
7613 partially-visible line in window is of default height.
ab49d60b 7614
2d756ae0
LMI
76152013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7616
7617 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7618 been used a while.
7619
ed095bd7
JB
76202013-07-07 Juanma Barranquero <lekktu@gmail.com>
7621
7622 * subr.el (read-quoted-char): Remove unused local variable `char'.
7623
f1e6674b
MK
76242013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7625
584ee3fc
GM
7626 * ediff.el (ediff-version): Version update.
7627 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7628 (ediff-merge-with-ancestor-command, ediff-directories-command)
7629 (ediff-directories3-command, ediff-merge-directories-command)
7630 (ediff-merge-directories-with-ancestor-command): New functions.
7631 All are command-line interfaces to ediff: to facilitate calling
7632 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7633
7634 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7635 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7636
584ee3fc
GM
7637 * viper.el (viper-version): Version update.
7638 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7639
584ee3fc
GM
76402013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7643 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7644 (viper-intercept-ESC-key): Simplify.
7645 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7646 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7647 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7648 (viper-setup-ESC-to-escape): New functions.
7649 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7650 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7651
9aff9b38
EZ
76522013-07-07 Eli Zaretskii <eliz@gnu.org>
7653
5165d44a
JB
7654 * simple.el (default-font-height, window-screen-lines):
7655 New functions.
9aff9b38
EZ
7656 (line-move, line-move-partial): Use them instead of
7657 frame-char-height and window-text-height. This makes scrolling
7658 text smoother when the buffer's default face uses a font that is
7659 different from the frame's default font.
7660
1afb1d07
JD
76612013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7662
7663 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7664 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7665
23de972a
EZ
76662013-07-06 Eli Zaretskii <eliz@gnu.org>
7667
7668 * simple.el (line-move-partial): Adjust the row returned by
7669 posn-at-point for the current window-vscroll. (Bug#14567)
7670
54a42486
MA
76712013-07-06 Michael Albinus <michael.albinus@gmx.de>
7672
7673 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7674 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7675 spaces.
7676
34ada5f4
MR
76772013-07-06 Martin Rudalics <rudalics@gmx.at>
7678
7679 * window.el (window-state-put-stale-windows): New variable.
7680 (window--state-put-2): Save list of windows without matching buffer.
7681 (window-state-put): Remove "bufferless" windows if possible.
7682
11e03d89
JB
76832013-07-06 Juanma Barranquero <lekktu@gmail.com>
7684
7685 * simple.el (alternatives-define): Remove leftover :group keyword.
7686 Tweak docstring.
7687
3504a4be
LL
76882013-07-06 Leo Liu <sdl.web@gmail.com>
7689
7690 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7691 (ido-enable-virtual-buffers): New variable.
7692 (ido-buffer-internal, ido-toggle-virtual-buffers)
7693 (ido-make-buffer-list): Use it.
7694 (ido-exhibit): Support turning on and off virtual buffers
7695 automatically.
7696
61e56e2c
JB
76972013-07-06 Juanma Barranquero <lekktu@gmail.com>
7698
7699 * simple.el (alternatives-define): New macro.
7700
321e1a9c
SM
77012013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7702
7703 * subr.el (read-quoted-char): Use read-key.
7704 (sit-for): Let read-event decode tty input (bug#14782).
7705
d610f6dd
SB
77062013-07-05 Stephen Berman <stephen.berman@gmx.net>
7707
7708 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7709 mode command and externally. Fix various related bugs.
7710 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7711 (todo-delete-file): New command.
7712 (todo-check-file): New function.
7713 (todo-show): Handle external deletion of the file we're trying to
7714 show (bug#14688). Replace called-interactively-p by an optional
7715 prefix argument to avoid problematic interaction with catch form
7716 when byte compiled (bug#14702).
7717 (todo-quit): Handle external deletion of the archive's todo file.
7718 Make sure the buffer that was visiting the archive file is still
7719 live before trying to bury it.
7720 (todo-category-completions): Handle external deletion of any
7721 category completion files.
7722 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7723 of todo files, in case of external deletion.
7724 (todo-add-file): Replace unnecessary setq by let-binding.
7725 (todo-find-archive): Check whether there are any archives.
7726 Replace unnecessary setq by let-binding.
7727 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7728 archive buffer whether or not the archive already exists.
7729 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7730 check if the archive is new; if it is, update list of archives.
7731 (todo-default-todo-file): Allow nil to be a valid value for when
7732 there are no todo files.
7733 (todo-reevaluate-default-file-defcustom): Use corrected definition
7734 of todo-default-todo-file.
7735 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7736 (todo-delete-category, todo-show-categories-table)
7737 (todo-category-number): Clarify comment.
7738 (todo-filter-items): Clarify documentation string.
7739 (todo-show-current-file, todo-display-as-todo-file)
7740 (todo-reset-and-enable-done-separator): Tweak documentation string.
7741 (todo-done-separator): Make separator length window-width, since
7742 bug#2749 is now fixed.
7743
ddbdfd6f
MA
77442013-07-05 Michael Albinus <michael.albinus@gmx.de>
7745
321e1a9c
SM
7746 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7747 Support both "gvfs-monitor-dir" and "inotifywait".
7748 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7749 `tramp-sh-file-notify-process-filter'.
7750 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7751 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7752
96eb829a
LL
77532013-07-05 Leo Liu <sdl.web@gmail.com>
7754
7755 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7756
cf13177e
YM
77572013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7758
7759 * frame.el (display-pixel-height, display-pixel-width)
7760 (display-mm-height, display-mm-width): Mention behavior on
7761 multi-monitor setups in docstrings.
7762 (w32-display-monitor-attributes-list): Declare function.
7763 (display-monitor-attributes-list): Use it.
7764
864c58ca
MA
77652013-07-04 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * filenotify.el: New package.
7768
7769 * autorevert.el (top): Require filenotify.el.
7770 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7771 instead.
7772 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7773 (auto-revert-notify-handler): Use `file-notify-*' functions.
7774
7775 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7776
321e1a9c
SM
7777 * net/tramp.el (tramp-file-name-for-operation):
7778 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7779
7780 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7781 for `file-notify-add-watch' and `file-notify-rm-watch'.
7782 (tramp-process-sentinel): Improve trace.
7783 (tramp-sh-handle-file-notify-add-watch)
7784 (tramp-sh-file-notify-process-filter)
7785 (tramp-sh-handle-file-notify-rm-watch)
7786 (tramp-get-remote-inotifywait): New defuns.
7787
96673afe
JL
77882013-07-03 Juri Linkov <juri@jurta.org>
7789
7790 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7791 call of `occur-read-primary-args' to interactive spec.
7792
7793 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7794 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7795
924494f4
MM
77962013-07-03 Matthias Meulien <orontee@gmail.com>
7797
7798 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7799 `Buffer-menu-multi-occur'. Add it to the menu.
7800 (Buffer-menu-mode): Document it in docstring.
7801 (Buffer-menu-multi-occur): New command. (Bug#14673)
7802
56f75efc
DG
78032013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7806 keywords and built-ins.
7807
9b057d61
GM
78082013-07-03 Glenn Morris <rgm@gnu.org>
7809
208dee4d
GM
7810 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7811
9b057d61
GM
7812 Make info-xref checks case-sensitive by default
7813 * info.el (Info-find-node, Info-find-in-tag-table)
7814 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7815 Add option for exact case matching of nodes.
7816 * info-xref.el (info-xref): New custom group.
7817 (info-xref-case-fold): New option.
7818 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7819
e01aa29c
LL
78202013-07-03 Leo Liu <sdl.web@gmail.com>
7821
7822 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7823
3086ca2e
DG
78242013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7825
7826 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7827 middle of block statement initially, lower the depth. Remove
7828 FIXME comment, not longer valid. Remove middle of block statement
7829 detection, no need to do that anymore since we've been using
7830 `ruby-parse-region' here.
7831
a3b49114
JD
78322013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7833
7834 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7835
08e5c823 78362013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7837
7838 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7839
2addf922
JB
78402013-07-01 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7843 (desktop-restore-in-current-display): New customization option.
7844 (desktop--excluded-frame-parameters): Add `font'.
7845 (desktop--save-frames): Rename from desktop--save-windows.
7846 (desktop--restore-in-this-display-p): New function.
7847 (desktop--make-full-frame): Remove unwanted width/height from
7848 full(width|height) frames.
7849 (desktop--restore-frames): Rename from desktop--restore-windows.
7850 Obey desktop-restore-current-display. Do not delete old frames or
7851 select a new frame unless we were able to restore at least one frame.
7852
ef099a94
MN
78532013-06-30 Michal Nazarewicz <mina86@mina86.com>
7854
7855 * files.el (find-file-noselect): Simplify conditional expression.
7856
a12bf61e 7857 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7858 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7859
7860 Add `remember-notes' function to store random notes across Emacs
7861 restarts.
a12bf61e 7862 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7863 notes buffer (if any).
7864 (remember-notes): New command.
7865 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7866 New defcustoms for the `remember-notes' function.
7867 (remember-notes-save-and-bury-buffer): New command.
7868 (remember-notes-mode-map): New variable.
7869 (remember-mode): New minor mode.
7870 (remember-notes--kill-buffer-query): New function.
7871 * startup.el (initial-buffer-choice): Add notes to custom type.
7872
0865d506
EZ
78732013-06-30 Eli Zaretskii <eliz@gnu.org>
7874
0ba54312
EZ
7875 * bindings.el (right-char, left-char): Don't call sit-for, this is
7876 no longer needed. Use arithmetic comparison only for numerical
7877 arguments.
7878
ef099a94
MN
7879 * international/mule-cmds.el (select-safe-coding-system):
7880 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7881
2fae38e5
LMI
78822013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7883
7884 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7885 progression on degenerate tables.
ef099a94 7886 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7887
a47cbd64
JB
78882013-06-30 Juanma Barranquero <lekktu@gmail.com>
7889
7890 Some fixes and improvements for desktop frame restoration.
7891 It is still experimental and disabled by default.
7892 * desktop.el (desktop--save-windows): Put the selected frame at
7893 the head of the list.
7894 (desktop--make-full-frame): New function.
7895 (desktop--restore-windows): Try to re-select the frame that was
7896 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7897 just show an error message and continue. Set up maximized frames
7898 so they have default non-maximized dimensions.
a47cbd64 7899
6dbafa30
DG
79002013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7901
ef099a94
MN
7902 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7903 Don't start heredoc inside a string or comment.
6dbafa30 7904
4c672a0f
EZ
79052013-06-29 Eli Zaretskii <eliz@gnu.org>
7906
7907 * bindings.el (visual-order-cursor-movement): New defcustom.
7908 (right-char, left-char): Provide visual-order cursor motion by
7909 calling move-point-visually. Update the doc strings.
7910
50960f36
KH
79112013-06-28 Kenichi Handa <handa@gnu.org>
7912
7913 * international/mule.el (define-coding-system): New coding system
7914 properties :inhibit-null-byte-detection,
7915 :inhibit-iso-escape-detection, and :prefer-utf-8.
7916 (set-buffer-file-coding-system): If :charset-list property of
7917 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7918 appropriate for setting.
7919
c1ea3abf
JB
7920 * international/mule-cmds.el (select-safe-coding-system):
7921 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7922 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7923
7924 * international/mule-conf.el (prefer-utf-8): New coding system.
7925 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7926 files.
7927
75dbaf9d
IK
79282013-06-28 Ivan Kanis <ivan@kanis.fr>
7929
eadb6068
IK
7930 * net/shr.el (shr-render-region): New function.
7931
75dbaf9d
IK
7932 * net/eww.el: Autoload `eww-browse-url'.
7933
9ea5cf9f
DG
79342013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7935
c1ea3abf
JB
7936 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7937 Adapt to `package-desc-version' being a list.
7938 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7939 archive element.
7940
39c0e36f
JB
79412013-06-27 Juanma Barranquero <lekktu@gmail.com>
7942
7943 New experimental feature to save&restore window and frame setup.
7944 * desktop.el (desktop-save-windows): New defcustom.
7945 (desktop--saved-states): New var.
7946 (desktop--excluded-frame-parameters): New defconst.
7947 (desktop--filter-frame-parms, desktop--find-frame-in-display)
7948 (desktop--restore-windows, desktop--save-windows): New functions.
7949 (desktop-save): Call `desktop--save-windows'.
7950 (desktop-read): Call `desktop--restore-windows'.
7951
7f13406b
LMI
79522013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7953
ef099a94 7954 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 7955
1e072639
SB
79562013-06-27 Stephen Berman <stephen.berman@gmx.net>
7957
7958 * info.el (Info-try-follow-nearest-node): Move search for footnote
7959 above search for node name to prevent missing a footnote (bug#14717).
7960
f3e2cbde
SB
79612013-06-27 Stephen Berman <stephen.berman@gmx.net>
7962
7963 * obsolete/otodo-mode.el: Add obsolescence info to file header.
7964
99906aa0
LL
79652013-06-27 Leo Liu <sdl.web@gmail.com>
7966
7967 * net/eww.el (eww-read-bookmarks): Check file size.
7968
539f75f4
SM
79692013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7972 advice--pending if newdef is nil or an autoload (bug#13820).
7973 (advice-mapc): New function.
7974
843571cb
LMI
79752013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7976
7977 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7978 probably.
23a75d7f 7979 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
7980 (eww-add-bookmark): New command.
7981 (eww-bookmark-mode): New mode and commands.
a285ce99 7982 (eww-add-bookmark): Remove newlines from the title.
47fd571b 7983 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 7984
f2136e1e
GM
79852013-06-26 Glenn Morris <rgm@gnu.org>
7986
eab35f39
GM
7987 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7988 (hfy-size): Handle ttys. (Bug#14668)
7989
f2136e1e
GM
7990 * info-xref.el: Update for Texinfo 5 change in *note format.
7991 (info-xref-node-re, info-xref-note-re): New constants.
7992 (info-xref-check-buffer): Use info-xref-note-re.
7993
a49ff80c
SM
79942013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7995
a343d218
SM
7996 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7997
a49ff80c
SM
7998 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7999 nil terminate the loop (bug#14718).
8000
8308f184
LMI
80012013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8002
8003 * net/eww.el: Rework history traversal. When going forward/back,
8004 put these actions into the history, too, so that they can be
8005 replayed.
26bf2b82 8006 (eww-render): Move the history reset to the correct buffer.
8308f184 8007
ec64c273
JL
80082013-06-25 Juri Linkov <juri@jurta.org>
8009
8010 * files-x.el (modify-dir-local-variable): Change the header comment
8011 in the file with directory local variables. (Bug#14692)
8012
e080a9d7
JL
8013 * files-x.el (read-file-local-variable-value): Add `default'.
8014 (Bug#14710)
8015
bfbc93a1
IK
80162013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8017
8018 * net/eww.el (eww-make-unique-file-name): Create a unique file
8019 name before saving to entering `y' accidentally asynchronously.
8020
80212013-06-25 Ivan Kanis <ivan@kanis.fr>
8022
8023 * net/eww.el (eww-download): New command and keystroke.
8024
16f74f10
LMI
80252013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8026
a49ff80c 8027 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8028
8029 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8030 be more consistent with Info and dired.
8031
8032 * net/eww.el (eww-mode-map): Ditto.
8033
12059709
SM
80342013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8035
8036 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8037 packages from archives.
8038 (package-archive-contents): Change format; include obsolete packages.
8039 (package-desc): Use `dir' to mark builtin packages.
8040 (package--from-builtin): Set the `dir' field to `builtin'.
8041 (generated-autoload-file, version-control): Declare.
8042 (package-compute-transaction): Change first arg and return value to be
8043 lists of package-descs. Adjust to new package-archive-contents format.
8044 (package--add-to-archive-contents): Adjust to new
8045 package-archive-contents format.
8046 (package-download-transaction): Arg is now a list of package-descs.
8047 (package-install): If `pkg' is a package name, pass it as
8048 a requirement, so it is subject to the usual (e.g. disabled) checks.
8049 (describe-package): Accept package-desc as well.
8050 (describe-package-1): Describe a specific package-desc. Add links to
8051 other package-descs for the same package name.
8052 (package-menu-describe-package): Pass the actual package-desc.
8053 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8054 works correctly.
8055 (package-desc-status): New function.
8056 (package-menu--refresh): New function, extracted
8057 from package-menu--generate.
8058 (package-menu--generate): Use it.
8059 (package-delete): Update package-alist.
8060 (package-menu-execute): Don't call package-initialize.
8061
8062 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8063 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8064 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8065 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8066 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8067 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8068
8bbdea0f
MR
80692013-06-25 Martin Rudalics <rudalics@gmx.at>
8070
8071 * window.el (window--state-get-1): Workaround for bug#14527.
8072 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8073
e82b0991
LMI
80742013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8075
8076 * net/eww.el (eww-back-url): Implement the history by stashing all
8077 the data into a list.
d3f0f918 8078 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8079
c763842b
SM
80802013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8083 for values and use read--expression for expressions (bug#14710).
8084 (read-file-local-variable): Avoid setq.
8085 (read-file-local-variable-mode): Use minor-mode-list.
8086
bceff189
RW
80872013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8088
864c58ca 8089 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8090 for DOI URLs.
8091
45f431c6
RW
80922013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8093
864c58ca 8094 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8095 Update imenu-support when dialect changes.
8096
f42d8237
LL
80972013-06-25 Leo Liu <sdl.web@gmail.com>
8098
8099 * ido.el (ido-read-internal): Allow forward slash on windows.
8100
be549ce6
LMI
81012013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8102
8103 * net/eww.el (eww): Start of strings is \\`, not ^.
8104
71d4c19d
IK
81052013-06-24 Ivan Kanis <ivan@kanis.fr>
8106
5196f88a
IK
8107 * net/shr.el (shr-browse-url): Fix interactive spec.
8108
71d4c19d
IK
8109 * net/eww.el (eww): Add a trailing slash to domain names.
8110
ae36ca55
JB
81112013-06-24 Juanma Barranquero <lekktu@gmail.com>
8112
8113 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8114
0ebd92a3
LMI
81152013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8116
bdaa086b
LMI
8117 * net/shr.el (shr-browse-url): Use an external browser if given a
8118 prefix.
8119
c763842b 8120 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8121
b89fc156
IK
81222013-06-24 Ivan Kanis <ivan@kanis.fr>
8123
8124 * net/eww.el (eww): Work more correctly for file: URLs.
8125 (eww-detect-charset): Allow quoted charsets.
8126 (eww-yank-page-url): New command and keystroke.
8127
18eb4bca
DU
81282013-06-24 Daiki Ueno <ueno@gnu.org>
8129
8130 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8131 file name of gpg executable.
8132 (epg-context-program): New function.
8133 (epg-context-home-directory): New function.
8134 (epg-context-set-program): New function.
8135 (epg-context-set-home-directory): New function.
8136 (epg--start): Use `epg-context-program' instead of
8137 'epg-gpg-program'.
8138 (epg--list-keys-1): Likewise.
8139
6c6268c8
LL
81402013-06-24 Leo Liu <sdl.web@gmail.com>
8141
8142 * ido.el (ido-read-internal): Fix bug#14620.
8143
5e400cb3
JB
81442013-06-23 Juanma Barranquero <lekktu@gmail.com>
8145
8146 * faces.el (face-documentation): Simplify.
8147 (read-face-attribute, tty-find-type, x-resolve-font-name):
8148 Use `string-match-p'.
8149 (list-faces-display): Use `string-match-p'. Simplify.
8150 (face-spec-recalc): Check face to avoid face alias loops.
8151 (read-color): Use `string-match-p' and non-capturing parenthesis.
8152
f3f9606c
LMI
81532013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8154
8155 * net/shr.el (shr-rescale-image): Use the new
8156 :max-width/:max-height functionality.
8157
a3ca09b9
IK
81582013-06-23 Ivan Kanis <ivan@kanis.fr>
8159
8160 * net/eww.el (eww-search-prefix): New variable.
8161 (eww): Use it.
f865b474
IK
8162 (eww-external-browser): New variable.
8163 (eww-mode-map): New keystroke.
8164 (eww-browse-with-external-browser): New command.
a3ca09b9 8165
e854cfc7
IK
8166 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8167
18bb9e21
JB
81682013-06-23 Juanma Barranquero <lekktu@gmail.com>
8169
8170 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8171 Don't skip aligning the next header field when padding is 0;
8172 otherwise, field width is not respected unless the title is as
8173 wide as the field.
8174
5b165ade
SM
81752013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8176
8177 * emacs-lisp/package.el (package-el-version): Remove.
8178 (package-process-define-package): Fix inf-loop.
8179 (package-install): Allow symbols as arguments again.
8180
12adebe9
DG
81812013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8182
8183 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8184 add some more keyword-like methods.
8185 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8186
388573ee
JB
81872013-06-22 Juanma Barranquero <lekktu@gmail.com>
8188
8189 * bs.el (bs-buffer-show-mark): Make defvar-local.
8190 (bs-mode): Use setq-local.
8191
8192 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8193 (emacs-lock--try-unlocking): Make defvar-local.
8194
4582a01c 81952013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8196
2663dd23
GM
8197 * play/cookie1.el (cookie-apropos): Minor simplification.
8198
3d94f3ad
GM
8199 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8200
f72e2fdb
DG
82012013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8202
8203 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8204 `regexp-opt', it breaks the build during dumping.
8205
73eab938
DG
82062013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8207
c763842b
SM
8208 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8209 Highlight keyword-like methods on Kernel and Module with
73eab938 8210 font-lock-builtin-face.
5cf8176d
DG
8211 (auto-mode-alist): Consolidate different entries into one regexp
8212 and add more *file-s.
73eab938 8213
d26255f6
SB
82142013-06-21 Stephen Berman <stephen.berman@gmx.net>
8215
8216 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8217
8218 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8219 (diary-entry): Use it in the action of this button type instead of
8220 diary-goto-entry.
8221
8222 * calendar/todo-mode.el: New version.
8223 (todo-add-category): Append new category to end of file and give
8224 it the highest number, instead of putting it at the beginning and
8225 giving it 0. Incorporate noninteractive functionality.
8226 (todo-forward-category): Adapt to 1-based category numbering.
8227 Allow skipping over archived categories.
8228 (todo-backward-category): Derive from todo-forward-category.
8229 (todo-backward-item, todo-forward-item): Make noninteractive and
8230 delegate interactive part to new commands. Make sensitive to done items.
8231 (todo-categories): Make value an alist of category names and
8232 vectors of item counts.
8233 (todo-category-beg): Make a defconst.
8234 (todo-category-number): Use 1 instead of 0 as initial value.
8235 (todo-category-select): Make sensitive to overlays, optional item
8236 highlighting and done items.
8237 (todo-delete-item): Make sensitive to overlays and marked and done items.
8238 (todo-edit-item): Make sensitive to overlays and editing of
8239 date/time header optional. Add format checks.
8240 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8241 no-op if point is not on an item. Advertise using todo-edit-quit.
8242 (todo-edit-mode): Make sensitive to new format, font-locking, and
8243 multiple todo files.
8244 (todo-insert-item, todo-insert-item-here): Derive from
8245 todo-basic-insert-item and extend functionality.
8246 (todo-item-end, todo-item-start): Make sensitive to done items.
8247 (todo-item-string): Don't return text properties. Restore point.
8248 (todo-jump-to-category): Make sensitive to multiple todo files and
8249 todo archives. Use extended category completion.
8250 (todo-lower-item, todo-raise-item): Rename to *-priority and
8251 derive from todo-set-item-priority.
8252 (todo-mode): Derive from special-mode. Make sensitive to new
8253 format, font-locking and multiple todo files. Make read-only.
8254 (todo-mode-map): Don't suppress digit keys, so they can supply
8255 prefix arguments. Add many new key bindings.
8256 (todo-prefix): Insert as an overlay instead of file text.
8257 Change semantics from diary date expression to purely visual mark.
8258 (todo-print): Rename to todo-print-buffer. Make buffer display
8259 features printable. Remove option to restrict number of items
8260 printed. Add option to print to file.
8261 (todo-print-function): Rename to todo-print-buffer-function.
8262 (todo-quit): Extend to handle exiting new todo modes.
8263 (todo-remove-item): Make sensitive to overlays.
8264 (todo-save): Extend to buffers of filtered items.
8265 (todo-show): Make sensitive to done items, multiple todo files and
8266 new todo modes. Offer to convert legacy todo file before creating
8267 first new todo file.
8268 (todo-show-priorities): Rename to todo-top-priorities.
8269 Change semantics of value 0.
8270 (todo-top-priorities): Rename to todo-filter-top-priorities,
8271 derive from todo-filter-items and extend functionality.
8272 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8273 and extend functionality to other types of filtered items.
8274 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8275 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8276 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8277 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8278 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8279 (todo-edit-mode-hook, todo-entry-prefix-function)
8280 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8281 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8282 (todo-initials, todo-insert-threshold, todo-item-string-start)
8283 (todo-line-string, todo-menu, todo-mode-hook)
8284 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8285 (todo-print-priorities, todo-remove-separator)
8286 (todo-save-top-priorities-too, todo-string-count-lines)
8287 (todo-string-multiline-p, todo-time-string-format)
8288 (todo-tmp-buffer-name): Remove.
8289 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8290 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8291 (todo-edit-category-diary-inclusion)
8292 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8293 (todo-edit-file, todo-edit-item-date-day)
8294 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8295 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8296 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8297 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8298 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8299 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8300 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8301 (todo-filter-top-priorities-multifile, todo-find-archive)
8302 (todo-find-filtered-items-file, todo-go-to-source-item)
8303 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8304 (todo-jump-to-archive-category, todo-lower-category)
8305 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8306 (todo-move-category, todo-move-item, todo-next-button)
8307 (todo-next-item, todo-padded-string, todo-powerset)
8308 (todo-previous-button, todo-previous-item)
8309 (todo-print-buffer-to-file, todo-raise-category)
8310 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8311 (todo-set-category-number, todo-set-item-priority)
8312 (todo-set-top-priorities-in-category)
8313 (todo-set-top-priorities-in-file, todo-show-categories-table)
8314 (todo-sort-categories-alphabetically-or-numerically)
8315 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8316 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8317 (todo-toggle-item-header, todo-toggle-item-highlighting)
8318 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8319 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8320 (todo-unarchive-items, todo-unmark-category): New commands.
8321 (todo-absolute-file-name, todo-add-to-buffer-list)
8322 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8323 (todo-basic-insert-item, todo-category-completions)
8324 (todo-category-number, todo-category-string-matcher-1)
8325 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8326 (todo-check-format, todo-clear-matches)
8327 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8328 (todo-current-category, todo-date-string-matcher)
8329 (todo-define-insertion-command, todo-diary-expired-matcher)
8330 (todo-diary-goto-entry, todo-diary-item-p)
8331 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8332 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8333 (todo-done-item-section-p, todo-done-separator)
8334 (todo-done-string-matcher, todo-files, todo-filter-items)
8335 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8336 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8337 (todo-insert-category-line, todo-insert-item-from-calendar)
8338 (todo-insert-sort-button, todo-insert-with-overlays)
8339 (todo-insertion-command-name, todo-insertion-key-bindings)
8340 (todo-label-to-key, todo-longest-category-name-length)
8341 (todo-make-categories-list, todo-mode-external-set)
8342 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8343 (todo-modes-set-3, todo-multiple-filter-files)
8344 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8345 (todo-read-category, todo-read-date, todo-read-dayname)
8346 (todo-read-file-name, todo-read-time)
8347 (todo-reevaluate-category-completions-files-defcustom)
8348 (todo-reevaluate-default-file-defcustom)
8349 (todo-reevaluate-filelist-defcustoms)
8350 (todo-reevaluate-filter-files-defcustom)
8351 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8352 (todo-reset-done-separator, todo-reset-done-separator-string)
8353 (todo-reset-done-string, todo-reset-global-current-todo-file)
8354 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8355 (todo-reset-prefix, todo-set-categories)
8356 (todo-set-date-from-calendar, todo-set-show-current-file)
8357 (todo-set-top-priorities, todo-short-file-name)
8358 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8359 (todo-total-item-counts, todo-update-buffer-list)
8360 (todo-update-categories-display, todo-update-categories-sexp)
8361 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8362 New functions.
8363 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8364 New major modes.
8365 (todo-categories, todo-display, todo-edit, todo-faces)
8366 (todo-filtered): New defgroups.
8367 (todo-archived-only, todo-button, todo-category-string, todo-date)
8368 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8369 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8370 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8371 (todo-add-item-if-new-category, todo-always-add-time-string)
8372 (todo-categories-align, todo-categories-archived-label)
8373 (todo-categories-category-label, todo-categories-diary-label)
8374 (todo-categories-done-label, todo-categories-number-separator)
8375 (todo-categories-todo-label, todo-categories-totals-label)
8376 (todo-category-completions-files, todo-completion-ignore-case)
8377 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8378 (todo-done-separator-string, todo-done-string)
8379 (todo-files-function, todo-filter-done-items, todo-filter-files)
8380 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8381 (todo-initial-category, todo-initial-file, todo-item-mark)
8382 (todo-legacy-date-time-regexp, todo-mode-line-function)
8383 (todo-nondiary-marker, todo-number-prefix)
8384 (todo-print-buffer-function, todo-show-current-file)
8385 (todo-show-done-only, todo-show-first, todo-show-with-done)
8386 (todo-skip-archived-categories, todo-top-priorities-overrides)
8387 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8388 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8389 New defcustoms.
8390 (todo-category-done, todo-date-pattern, todo-date-string-start)
8391 (todo-diary-items-buffer, todo-done-string-start)
8392 (todo-filtered-items-buffer, todo-item-start)
8393 (todo-month-abbrev-array, todo-month-name-array)
8394 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8395 (todo-top-priorities-buffer): New defconsts.
8396 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8397 (todo-categories-with-marks, todo-category-string-face)
8398 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8399 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8400 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8401 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8402 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8403 (todo-font-lock-keywords, todo-global-current-todo-file)
8404 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8405 (todo-insertion-commands-args)
8406 (todo-insertion-commands-args-genlist)
8407 (todo-insertion-commands-names, todo-insertion-map)
8408 (todo-key-bindings-t, todo-key-bindings-t+a)
8409 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8410 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8411 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8412 (todo-visited): New variables.
8413
cad5d1cb
GM
84142013-06-21 Glenn Morris <rgm@gnu.org>
8415
8416 * play/cookie1.el (cookie-apropos): Add optional display argument.
8417 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8418 (psychoanalyze-pinhead): Use cookie-doctor.
8419
9e277302
JB
84202013-06-21 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * emacs-lisp/package.el (tar-get-file-descriptor)
8423 (tar--extract): Declare.
8424
c5b0993e
EW
84252013-06-21 Eduard Wiebe <usenet@pusto.de>
8426
8427 Extend flymake's warning predicate to be a function (bug#14217).
8428 * progmodes/flymake.el (flymake-warning-predicate): New.
8429 (flymake-parse-line): Use it.
8430 (flymake-warning-re): Make obsolete alias to
8431 `flymake-warning-predicate'.
8432
a7d2d465
SM
84332013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8436 (package-obsolete-list): Remove.
8437 (package-activate): Remove min-version argument. Add `force' argument.
8438 Adjust to new package-alist format.
8439 (package-mark-obsolete): Remove.
8440 (package-unpack): Force reload of the package's autoloads.
8441 (package-installed-p): Check builtins if the installed package is not
8442 recent enough.
8443 (package-initialize): Don't reset package-obsolete-list.
8444 Don't specify which package version to activate.
8445 (package-process-define-package, describe-package-1)
8446 (package-menu--generate): Adjust to new package-alist format.
8447
cedf5c9d
JB
84482013-06-21 Juanma Barranquero <lekktu@gmail.com>
8449
8450 * allout-widgets.el (allout-widgets-mode-off)
8451 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8452 (allout-widgets-post-command-business)
8453 (allout-widgets-after-copy-or-kill-function)
8454 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8455 (allout-decorate-item-and-context)
8456 (allout-graphics-modification-handler): Fix typos in docstrings.
8457 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8458
8459 * cmuscheme.el (scheme-start-file): Doc fix.
8460 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8461 (scheme-input-filter): Use `string-match-p'.
8462
8463 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8464
8465 * dired-x.el: Use Dired consistently in docstrings.
8466
8467 * dired.el: Use Dired consistently in docstrings.
8468 (dired-readin, dired-mode): Use `setq-local'.
8469 (dired-switches-alist): Make defvar-local.
8470 (dired-buffers-for-dir): Use `zerop'.
8471 (dired-safe-switches-p, dired-switches-escape-p)
8472 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8473 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8474 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8475 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8476 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8477 (dired-toggle-marks, dired-mark-files-containing-regexp)
8478 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8479 (dired-flag-auto-save-files, dired-flag-backup-files):
8480 Use `looking-at-p'.
8481 (dired-mark-files-regexp, dired-build-subdir-alist):
8482 Use `string-match-p', `looking-at-p'.
8483
8484 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8485 (direct-print-region-helper): Use `string-match-p'.
8486
aed838b5
LL
84872013-06-21 Leo Liu <sdl.web@gmail.com>
8488
cedf5c9d
JB
8489 * comint.el (comint-redirect-results-list-from-process):
8490 Fix infinite loop.
aed838b5 8491
d80a808f
LMI
84922013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8493
8494 * net/eww.el (eww-update-header-line-format): Quote % characters.
8495
e7a526e3
GM
84962013-06-21 Glenn Morris <rgm@gnu.org>
8497
8498 * play/cookie1.el (cookie): New custom group.
8499 (cookie-file): New option.
8500 (cookie-check-file): New function.
8501 (cookie): Make it interactive. Make start and end messages optional.
8502 Interactively, display the result. Default to cookie-file.
8503 (cookie-insert): Default to cookie-file.
8504 (cookie-snarf): Make start and end messages optional.
8505 Default to cookie-file. Use with-temp-buffer.
8506 (cookie-read): Rename from read-cookie.
8507 Make start and end messages optional. Default to cookie-file.
8508 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8509 Do not autoload it.
e7a526e3
GM
8510 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8511 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8512
62efb35e
LL
85132013-06-21 Leo Liu <sdl.web@gmail.com>
8514
8515 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8516
21e3f963
GM
85172013-06-21 Glenn Morris <rgm@gnu.org>
8518
8519 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8520
fd846ab4
SM
85212013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8522 Daniel Hackney <dan@haxney.org>
8523
8524 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8525 Consolidate the single-file vs tarball code.
8526 (package-desc-suffix): New function.
8527 (package-desc-full-name): Don't bother inlining it.
8528 (package-load-descriptor): Return the new package-desc.
8529 (package-mark-obsolete): Remove unused arg `package'.
8530 (package-unpack): Make it work for single files as well.
8531 Make it update package-alist.
8532 (package--make-autoloads-and-stuff): Rename from
8533 package--make-autoloads-and-compile. Don't compile any more.
8534 (package--compile): New function.
8535 (package-generate-description-file): New function, extracted from
8536 package-unpack-single.
8537 (package-unpack-single): Remove.
8538 (package--with-work-buffer): Add indentation and debugging info.
8539 (package-download-single): Remove.
8540 (package-install-from-archive): Rename from package-download-tar, make
8541 it take a pkg-desc, and make it work for single files as well.
8542 (package-download-transaction): Simplify.
8543 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8544 external tar program.
8545 (package-install-from-buffer): Remove `pkg-desc' argument.
8546 Use package-tar-file-info for tar-mode buffers.
8547 (package-install-file): Simplify accordingly.
8548 (package-archive-base): Change to take a pkg-desc.
8549 * tar-mode.el (tar--check-descriptor): New function, extracted from
8550 tar-get-descriptor.
8551 (tar-get-descriptor): Use it.
8552 (tar-get-file-descriptor): New function.
8553 (tar--extract): New function, extracted from tar-extract.
8554 (tar--extract): Use it.
8555 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8556 case the summary uses non-ascii. Adjust to new calling convention of
8557 package-tar-file-info.
8558
b7deae5e
LL
85592013-06-21 Leo Liu <sdl.web@gmail.com>
8560
fd846ab4
SM
8561 * comint.el (comint-redirect-results-list-from-process):
8562 Fix random delay. (Bug#14681)
b7deae5e 8563
7a65a0b2
JB
85642013-06-21 Juanma Barranquero <lekktu@gmail.com>
8565
8566 * profiler.el (profiler-format-number): Use log, not log10.
8567
1493c2af
JB
85682013-06-20 Juanma Barranquero <lekktu@gmail.com>
8569
8570 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8571
aff6371e
SM
85722013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8573
8574 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8575 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8576 yet available.
8577 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8578 (AUTOGENEL): ... here.
8579 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8580 (cl--defsubst-expand): Use it.
8581
89561f72
PE
85822013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8583
8584 * subr.el (log10): Move here from C code, and declare as obsolete.
8585 All uses of (log10 X) replaced with (log X 10).
8586
47199123
JB
85872013-06-20 Juanma Barranquero <lekktu@gmail.com>
8588
8589 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8590 Declare with `defvar-local'.
8591 (tabulated-list-use-header-line, tabulated-list-entries)
8592 (tabulated-list-padding, tabulated-list-printer)
8593 (tabulated-list-sort-key): Declare with `defvar-local'.
8594 (tabulated-list-init-header, tabulated-list-print-fake-header):
8595 Use `setq-local'.
8596
4a172eab
MA
85972013-06-20 Michael Albinus <michael.albinus@gmx.de>
8598
47199123
JB
8599 * arc-mode.el (archive-mode): Add `archive-write-file' to
8600 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8601
5fc0acc0
JB
86022013-06-20 Juanma Barranquero <lekktu@gmail.com>
8603
d5b27848
JB
8604 * cus-edit.el (custom-commands): Fix typos.
8605 (custom-display): Fix tooltip text.
8606 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8607 Fix typos in docstrings.
8608 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8609 (custom-unlispify-menu-entry, custom-magic-value-create)
8610 (custom-add-see-also, custom-group-value-create): Use ?\s.
8611 (custom-guess-type, customize-apropos, editable-field)
8612 (custom-face-value-create): Use `string-match-p'.
8613 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8614
8615 * custom.el (custom-load-symbol): Use `string-match-p'.
8616
a5c581d8
JB
8617 * ansi-color.el: Convert to lexical binding.
8618 (ansi-colors): Fix URL.
8619 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8620 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8621 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8622
970ad972
G
86232013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8624
8625 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8626
8627 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8628
86292013-06-19 Tom Tromey <tromey@redhat.com>
8630
8631 * net/eww.el (eww-top-url): Remove.
8632 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8633 (eww-render): Set new variables. Don't set eww-top-url.
8634 (eww-handle-link): Handle "prev", "home", and "contents".
8635 Downcase the rel text.
8636 (eww-top-url): Choose best top URL.
8637
86382013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8639
8640 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8641 relying in widget.el. Using widget.el leads to too many
8642 user interface inconsistencies.
8643 (eww-self-insert): Implement entering commands in text fields.
8644 (eww-process-text-input): New function to make text input field editing
8645 work.
8646 (eww-submit): Rewrite to use the new-style form methods.
8647 (eww-select-display): Display the correct selected item.
8648 (eww-change-select): Implement changing the select value.
8649 (eww-toggle-checkbox): Implement radio/checkboxes.
8650 (eww-update-field): Fix compilation error.
8651 (eww-tag-textarea): Implement <textarea>.
8652
8653 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8654 we don't shadow mode-specific bindings.
8655
8656 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8657 nothing to push.
8658
8659 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8660
4582a01c 86612013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8662
8663 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8664
15b263dc
MA
86652013-06-19 Michael Albinus <michael.albinus@gmx.de>
8666
8667 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8668 not needed.
8669
8670 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8671
8f5297f7
LMI
86722013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8673
8674 * net/browse-url.el (browse-url-browser-function):
8675 `eww-browse-url' has the right calling signature, `eww' does not.
8676
011c4552
GM
86772013-06-19 Glenn Morris <rgm@gnu.org>
8678
2285bd27
GM
8679 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8680 Only eval autoloaded macros.
8681 (byte-compile-autoload): Only give the macro warning for macros.
8682
1d653303
GM
8683 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8684 (ps-underlined-faces): Declare.
8685
bdd779ec
GM
8686 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8687 (speedbar-add-supported-extension): Declare.
8688
011c4552
GM
8689 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8690 Don't include a date stamp in the header of the generated file;
8691 it leads to needless differences between output files.
8692
e59dfb0e
MA
86932013-06-19 Michael Albinus <michael.albinus@gmx.de>
8694
c763842b
SM
8695 * net/secrets.el (secrets-struct-secret-content-type):
8696 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8697 Some servers do not offer introspection.
e59dfb0e 8698
102626e2
SM
86992013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8700
8701 * electric.el (electric-pair-mode): Improve interaction with
8702 electric-layout-mode.
8703 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8704 (electric-pair-syntax): Use text-mode-syntax-table in comments
8705 and strings.
8706 (electric-pair--insert): New function.
8707 (electric-pair-post-self-insert-function): Use it and
8708 electric--after-char-pos.
8709
ad528125
LL
87102013-06-19 Leo Liu <sdl.web@gmail.com>
8711
8712 * progmodes/octave.el (octave-help): Fix regexp.
8713
924d6997
G
87142013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8717 (shr-table-horizontal-line): Allow nil as a value, and change the
8718 default.
8719 (shr-insert-table-ruler): Respect the nil value.
8720
87212013-06-18 Tom Tromey <tromey@barimba>
8722
8723 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8724 New defvars.
8725 (eww-open-file): New defun.
8726 (eww-render): Initialize new variables.
8727 (eww-display-html): Handle "link" and "a".
8728 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8729 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8730 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8731 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8732 New defuns.
924d6997 8733
d1bbba4f
DG
87342013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8735
8736 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8737 Distinguish ternary operator tokens from slash symbol and slash
8738 char literal.
8739
14dd22d2
JB
87402013-06-18 Juanma Barranquero <lekktu@gmail.com>
8741
8742 Convert symbol prettification into minor mode and global minor mode.
8743
8744 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8745 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8746 (prettify-symbols--keywords): Rename from
8747 `prog-prettify-symbols-alist' and make a local defvar.
8748 (prettify-symbols--compose-symbol): Rename from
8749 `prog--prettify-font-lock-compose-symbol'.
8750 (prettify-symbols--make-keywords): Rename from
8751 `prog-prettify-font-lock-symbols-keywords' and simplify.
8752 (prog-prettify-install): Remove.
8753 (prettify-symbols-mode): New minor mode, based on
8754 `prog-prettify-install'.
8755 (turn-on-prettify-symbols-mode): New function.
8756 (global-prettify-symbols-mode): New globalized minor mode.
8757
8758 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8759 * progmodes/cfengine.el (cfengine3-mode):
8760 * progmodes/perl-mode.el (perl-mode): Don't call
8761 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8762
292c880c
JL
87632013-06-18 Juri Linkov <juri@jurta.org>
8764
8765 * files-x.el (modify-file-local-variable-message): New function.
8766 (modify-file-local-variable)
8767 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8768 and call `modify-file-local-variable-message' when it's non-nil.
8769 (add-file-local-variable, delete-file-local-variable)
8770 (add-file-local-variable-prop-line)
8771 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8772 and use it. (Bug#9820)
8773
0950aa27
JL
87742013-06-18 Juri Linkov <juri@jurta.org>
8775
8776 * emulation/vi.el (vi-shell-op):
8777 * emulation/vip.el (vip-execute-com, ex-command):
8778 * emulation/viper-cmd.el (viper-exec-bang):
8779 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8780 the call of `shell-command-on-region'. (Bug#14637)
8781
8782 * simple.el (shell-command-on-region): Doc fix.
8783
8fbcca16
SM
87842013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8785
8786 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8787 (bug#14633).
8788
dd7426ea
GM
87892013-06-18 Glenn Morris <rgm@gnu.org>
8790
4ba54f7d
GM
8791 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8792
dd7426ea
GM
8793 * newcomment.el (comment-search-forward, comment-search-backward):
8794 Doc fix. (Bug#14376)
8795
58aa805b
JB
87962013-06-18 Juanma Barranquero <lekktu@gmail.com>
8797
8798 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8799 (buffer-face-mode-invoke): Doc fix.
8800
9a08a617
MM
88012013-06-18 Matthias Meulien <orontee@gmail.com>
8802
8803 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8804 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8805
f2f426ca
GM
88062013-06-18 Glenn Morris <rgm@gnu.org>
8807
9445f99b
GM
8808 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8809 Replace obsolete function generic-make-keywords with its expansion.
8810
e0df2d14
GM
8811 * progmodes/python.el (ffap-alist): Declare.
8812
f2f426ca
GM
8813 * textmodes/reftex.el (bibtex-mode-map): Declare.
8814
f7f9a720
SM
88152013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8818 (package-unpack, package-unpack-single): Return the pkg-dir.
8819 (package-download-transaction): Use it to update package-alist.
8820
57ff04e0
LMI
88212013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8822
8823 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8824 possible choice.
8825
c048c022
JL
88262013-06-17 Juri Linkov <juri@jurta.org>
8827
8828 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8829
b5bcaee5
DG
88302013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8831
a020afb9
JB
8832 * emacs-lisp/package.el (package-load-descriptor):
8833 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8834 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8835
551e07e5
JB
88362013-06-17 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * startup.el (command-line): Expand package name returned by
8839 `package--description-file' (bug#14639).
8840
d363bffb
DG
88412013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8842
8843 * emacs-lisp/package.el (package-load-descriptor): Do not call
8844 `emacs-lisp-mode', just use its syntax table.
8845
f612933b
JB
88462013-06-17 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8849 `font-lock-extra-managed-props' if any prettifying keyword is added.
8850 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8851 (prog-mode): Use `setq-local'.
8852
db3b7db5
SM
88532013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8854
8855 * international/characters.el (standard-case-table): Set syntax of ?»
8856 and ?« to punctuation.
8857
f3d674df
JB
88582013-06-16 Juanma Barranquero <lekktu@gmail.com>
8859
8860 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8861 Save relevant match data before calling `syntax-ppss' (bug#14595).
8862
31489a32
JL
88632013-06-15 Juri Linkov <juri@jurta.org>
8864
8865 * files-x.el (modify-file-local-variable-prop-line): Add local
8866 variables to the end of the existing comment on the first line.
8867 Use `file-auto-mode-skip' to skip interpreter magic line,
8868 and also skip XML declaration.
8869
66bd25ab
SM
88702013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8871
8872 * startup.el (package--builtin-versions): New var.
8873 (package-subdirectory-regexp): Remove.
8874 (package--description-file): Hard code its value instead.
8875
8876 * emacs-lisp/package.el: Don't activate packages older than builtin.
8877 (package-obsolete-list): Rename from package-obsolete-alist, and make
8878 it into a simple list of package-desc.
8879 (package-strip-version): Remove.
8880 (package-built-in-p): Use package--builtin-versions.
8881 (package-mark-obsolete): Simplify.
8882 (package-process-define-package): Mark it obsolete if older than the
8883 builtin version.
8884 (package-handle-response): Use line-end-position.
8885 (package-read-archive-contents, package--download-one-archive):
8886 Simplify.
8887 (package--add-to-archive-contents): Skip if older than the builtin or
8888 installed version.
8889 (package-menu-describe-package): Fix last change.
8890 (package-list-unversioned): New var.
8891 (package-menu--generate): Use it.
8892
8893 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8894 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8895 (autoload-builtin-package-versions): New variable.
8896 (autoload-generate-file-autoloads): Use them.
8897 Remove the list of autoloaded functions/macros from the
8898 (autoload...) comments.
8899
8900 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8901
9583ec36
EZ
89022013-06-15 Eli Zaretskii <eliz@gnu.org>
8903
8904 * simple.el (line-move-partial): Don't jump to the next screen
8905 line as soon as it becomes visible. Instead, continue enlarging
8906 the vscroll until the portion of a tall screen line that's left on
8907 display is about the height of the frame's default font.
8908 (Bug#14567)
8909
f0100d8a
GM
89102013-06-15 Glenn Morris <rgm@gnu.org>
8911
b86a85ca
GM
8912 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8913 compilation-error-regexp-alist void, or local while let-bound.
8914
f0100d8a
GM
8915 * progmodes/make-mode.el (makefile-mode-syntax-table):
8916 Treat "=" as punctuation. (Bug#14614)
8917
05e7ce90
JB
89182013-06-15 Juanma Barranquero <lekktu@gmail.com>
8919
8920 * help-fns.el (describe-variable):
8921 Add extra line for permanent-local variables.
8922
12e5e86e
SH
89232013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8924
8925 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8926 Add export, import, library. (Bug#9164)
8927 (library): Set indent function.
8928
230dcbaf
GM
89292013-06-14 Glenn Morris <rgm@gnu.org>
8930
8931 * term/xterm.el (xterm--query):
8932 Stop after first matching handler. (Bug#14615)
8933
e36b2d20 89342013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8935
8936 Add support for dired in saveplace.
8937 * dired.el (dired-initial-position-hook): New variable.
8938 (dired-initial-position): Call hook to place cursor position.
8939 * saveplace.el (save-place-to-alist): Add dired position.
8940 (save-place-dired-hook): New function.
8941
0b31660d
SM
89422013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
8943
bf1e6ae8
SM
8944 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8945 through a symbol rather than letrec.
8946
1b8dff23
SM
8947 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
8948 (package-desc): Add `dir' field.
8949 (package-desc-full-name): New function.
8950 (package-load-descriptor): Combine the two arguments. Don't use `load'.
8951 (package-maybe-load-descriptor): Remove.
8952 (package-load-all-descriptors): Just call package-load-descriptor.
8953 (package--disabled-p): New function.
8954 (package-desc-vers, package-desc-doc): Remove aliases.
8955 (package--dir): Remove function.
8956 (package-activate): Check if a package is disabled.
8957 (package-process-define-package): New function, extracted from
8958 define-package.
8959 (define-package): Turn into a place holder.
8960 (package-unpack-single, package-tar-file-info):
8961 Use package--description-file.
8962 (package-compute-transaction): Use package--disabled-p.
8963 (package-download-transaction): Don't call
8964 package-maybe-load-descriptor since they're all loaded anyway.
8965 (package-install): Change argument to be a pkg-desc.
8966 (package-delete): Use a single pkg-desc argument.
8967 (describe-package-1): Use package-desc-dir instead of package--dir.
8968 Use package-desc property instead of package-symbol.
8969 (package-install-button-action): Adjust accordingly.
8970 (package--push): Rewrite.
8971 (package-menu--print-info): Adjust accordingly. Change the ID format
8972 to be a pkg-desc.
8973 (package-menu-describe-package, package-menu-get-status)
8974 (package-menu--find-upgrades, package-menu-mark-upgrades)
8975 (package-menu-execute, package-menu--name-predicate):
8976 Adjust accordingly.
8977 * startup.el (package--description-file): New function.
8978 (command-line): Use it.
8979 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8980 Use package-desc-version.
8981
0b31660d
SM
8982 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8983 (byte-compile-preprocess): Use it.
8984 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8985 can't quite recognize.
8986 (byte-compile-add-to-list): Remove.
8987 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8988 (cconv-closure-convert): Add assertion.
8989
8990 * emacs-lisp/map-ynp.el: Use lexical-binding.
8991 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8992 Factor out some repeated code.
8993
de0503df
SM
89942013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8995
8996 * subr.el (with-eval-after-load): New macro.
8997 (eval-after-load): Allow form to be a function.
8998 take advantage of lexical-binding.
8999 (do-after-load-evaluation): Use dolist and adjust to new format.
9000 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9001
bc5c8c5a
JL
90022013-06-13 Juri Linkov <juri@jurta.org>
9003
9004 * replace.el (perform-replace): Display "symbol " and other search
9005 modes from `isearch-message-prefix' in the *Help* buffer.
9006
9007 * isearch.el (isearch-query-replace): Add " symbol" and other
9008 possible search modes from `isearch-message-prefix' to the prompt.
9009 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9010 when reading a regexp to collect.
9011
a22289f7
JL
90122013-06-13 Juri Linkov <juri@jurta.org>
9013
9014 * isearch.el (word-search-regexp): Match whitespace if the search
9015 string begins or ends in whitespace. The LAX arg is applied to
9016 both ends of the search string. Use `regexp-quote' and explicit
9017 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9018 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9019 boundaries are replaced with symbol boundaries, and characters
9020 between symbols match non-word non-symbol syntax. (Bug#14602)
9021
cb89acab
JL
90222013-06-13 Juri Linkov <juri@jurta.org>
9023
9024 * isearch.el (isearch-del-char): Don't exceed the length of
9025 `isearch-string' by the prefix arg. (Bug#14563)
9026
6e8cfc81
JL
90272013-06-13 Juri Linkov <juri@jurta.org>
9028
9029 * isearch.el (isearch-yank-word, isearch-yank-line)
9030 (isearch-char-by-name, isearch-quote-char)
9031 (isearch-printing-char, isearch-process-search-char):
9032 Add optional count prefix arg. (Bug#14563)
9033
9034 * international/isearch-x.el
9035 (isearch-process-search-multibyte-characters):
9036 Add optional count prefix arg.
9037
c23d55f4
VS
90382013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9041 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9042 lexical-binding.
9043
90442013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9045
9046 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9047
ba947bc4
GM
90482013-06-13 Glenn Morris <rgm@gnu.org>
9049
8baeb37a
GM
9050 * startup.el (tty-handle-args):
9051 Don't just discard "--" and anything after. (Bug#14608)
9052
ba947bc4
GM
9053 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9054
9abefce4
MA
90552013-06-13 Michael Albinus <michael.albinus@gmx.de>
9056
9057 Implement changes in Secret Service API. Make it backward compatible.
9058 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9059 (secrets-create-item): Use it. Prefix properties with interface.
9060
5755011f
MH
90612013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9062
9063 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9064 (term-emulate-terminal): Respect term-suppress-hard-newline.
9065
1261d2da
S
90662013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9067
9068 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9069 Only remove a `thumb-file' overlay. (Bug#14548)
9070
868490bb
GJ
90712013-06-12 Grégoire Jadi <daimrod@gmail.com>
9072
9073 * mail/reporter.el (reporter-submit-bug-report):
9074 Handle missing package-name. (Bug#14600)
9075
79d7167f
TH
90762013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9077
9078 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9079 (reftex-citation-prompt, reftex-default-bibliography)
9080 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9081 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9082 (reftex-bib-sort-author, reftex-bib-sort-year)
9083 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9084 (reftex-extract-bib-entries-from-thebibliography)
9085 (reftex-get-bibkey-default, reftex-get-bib-names)
9086 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9087 (reftex-format-bib-entry, reftex-parse-bibitem)
9088 (reftex-format-bibitem, reftex-do-citation)
9089 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9090 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9091 (reftex-insert-bib-matches, reftex-format-citation)
9092 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9093 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9094 existing comments into docstrings.
9095
5f9dbd7a
XF
90962013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9097
9098 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9099
94df41ab
AS
91002013-06-12 Andreas Schwab <schwab@suse.de>
9101
9102 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9103 for auto-save files.
9104
a7f3fecc
GM
91052013-06-12 Glenn Morris <rgm@gnu.org>
9106
001809f6
GM
9107 * ido.el (ido-delete-ignored-files): Remove.
9108 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9109 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9110
834b5ded
EL
91112013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9112
08c73ed2
EL
9113 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9114
834b5ded
EL
9115 * ido.el (ido-delete-ignored-files): New function,
9116 split from ido-make-file-list-1.
9117 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9118 (ido-make-file-list-1): Use ido-delete-ignored-files.
9119
daabf15a
LL
91202013-06-12 Leo Liu <sdl.web@gmail.com>
9121
9122 * progmodes/octave.el (inferior-octave-startup)
9123 (inferior-octave-completion-table)
9124 (inferior-octave-track-window-width-change)
9125 (octave-eldoc-function-signatures, octave-help)
9126 (octave-find-definition): Use single quoted strings.
9127 (inferior-octave-startup-args): Change default value.
9128 (inferior-octave-startup): Do not hard code "-i" and
9129 "--no-line-editing".
9130 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9131 (inferior-octave-directory-tracker): Use it.
9132 (octave-goto-function-definition): Robustify.
9133 (octave-help): Support highlighting operators in 'See also'.
9134 (octave-find-definition): Find subfunctions only in Octave mode.
9135
cf4e5178
SM
91362013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * help-fns.el (help-fns--compiler-macro): If the handler function is
9139 named, then put a link to it.
9140 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9141 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9142 (cl-typep): Use it.
9143 (cl-eval-when): Simplify debug spec.
9144 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9145 compiler-macro function instead of setting `compiler-macro-file'.
9146
99c81280 91472013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9148
9149 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9150 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9151
f56be016
SM
91522013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9153 Daniel Hackney <dan@haxney.org>
9154
9155 First part of Daniel Hackney's patch to package.el.
9156 * emacs-lisp/package.el: Use defstruct.
9157 (package-desc): New, main struct.
9158 (package--bi-desc, package--ac-desc): New structs, used to describe the
9159 format in external files.
9160 (package-desc-vers): Replace with package-desc-version accessor.
9161 (package-desc-doc): Replace with package-desc-summary accessor.
9162 (package-activate-1): Remove `package' arg since the pkg-vec now
9163 includes the name.
9164 (define-package): Use package-desc-from-define.
9165 (package-unpack-single): Change file-name arg to be a symbol.
9166 (package--add-to-archive-contents): Use package-desc-create and new
9167 accessor functions to package--ac-desc.
9168 (package-buffer-info, package-tar-file-info): Return a package-desc.
9169 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9170 arg to be a package-desc.
9171 (package-install-file): Adjust accordingly. Use \' to match EOS.
9172 (package--from-builtin): New function.
9173 (describe-package-1, package-menu--generate): Use it.
9174 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9175 (package-generate-autoloads): Idem and return the name of the file.
9176 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9177 Change pkg-info arg to be a package-desc.
9178 Use package-make-ac-desc.
9179 (package-upload-file): Use \' to match EOS.
9180 * finder.el (finder-compile-keywords): Use package-make-builtin.
9181
31119d63
SM
91822013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9183
931a2762
SM
9184 * vc/vc.el (vc-deduce-fileset): Change error message.
9185 (vc-read-backend): New function.
9186 (vc-next-action): Use it.
9187
5a3eb0c6
SM
9188 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9189
e3eb1bb7
SM
9190 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9191 (prolog-font-lock-keywords): Use regexp-opt instead.
9192 Don't manually highlight strings.
9193 (prolog-mode-variables): Simplify comment-start-skip.
9194 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9195
31119d63
SM
9196 * emacs-lisp/generic.el (generic--normalise-comments)
9197 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9198 (generic-mode-set-comments): Use them.
9199 (generic-bracket-support): Use setq-local.
9200 (generic-make-keywords-list): Declare obsolete.
9201
7de135d0
GM
92022013-06-11 Glenn Morris <rgm@gnu.org>
9203
9204 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9205 Prettify after setting font-lock-defaults. (Bug#14574)
9206
fa6bc6fd
JB
92072013-06-11 Juanma Barranquero <lekktu@gmail.com>
9208
9209 * replace.el (query-replace, occur-read-regexp-defaults-function)
9210 (replace-search):
9211 * subr.el (declare-function, number-sequence, local-set-key)
9212 (substitute-key-definition, locate-user-emacs-file)
9213 (with-silent-modifications, split-string, eval-after-load):
9214 Fix typos, remove unneeded backslashes and reflow some docstrings.
9215
cf1f9b9a
SM
92162013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9219 default for Elisp files.
9220
56602a4b
GM
92212013-06-11 Glenn Morris <rgm@gnu.org>
9222
9223 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9224 although define-derived-mode was doing this anyway. (Bug#14583)
9225
30ae0b2c
JB
92262013-06-10 Juanma Barranquero <lekktu@gmail.com>
9227
9228 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9229 Fix make-variable-buffer-local call to refer to the correct variable.
9230
fa472906
AG
92312013-06-10 Aidan Gauland <aidalgol@amuri.net>
9232
9233 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9234 (eshell-visual-subcommands, eshell-visual-options):
9235 Add summary line to docstrings. Add cross-references.
fa472906 9236
ff4871b9
GM
92372013-06-10 Glenn Morris <rgm@gnu.org>
9238
9239 * epa.el (epa-read-file-name): New function. (Bug#14510)
9240 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9241
04fcf1b0
AG
92422013-06-09 Aidan Gauland <aidalgol@amuri.net>
9243
9244 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9245 output redirection to be ignored with visual commands.
9246
88b00caa
AG
92472013-06-09 Aidan Gauland <aidalgol@amuri.net>
9248
9249 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9250 (eshell-term-initialize): Move long lambda to separate function
9251 eshell-visual-command-p.
e7b41c4c
JB
9252 * eshell/em-dirs.el (eshell-dirs-initialise):
9253 * eshell/em-script.el (eshell-script-initialize):
9254 Add missing #' to lambda.
88b00caa 9255
fda74125
LL
92562013-06-08 Leo Liu <sdl.web@gmail.com>
9257
9258 * progmodes/octave.el (octave-add-log-current-defun): New function.
9259 (octave-mode): Set add-log-current-defun-function.
9260 (octave-goto-function-definition): Do not move point if not found.
9261 (octave-find-definition): Enhance to try subfunctions first.
9262
467f3b33
GM
92632013-06-08 Glenn Morris <rgm@gnu.org>
9264
9265 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9266 (byte-compile-backward-char, byte-compile-backward-word):
9267 Improve previous change, to handle non-explicit nil.
9268
544badc3
SM
92692013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9270
9271 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9272 (smie--opener/closer-at-point): New function.
9273 (smie--matching-block-data): Use it. Don't match from right after an
9274 opener or right before a closer. Obey smie-blink-matching-inners.
9275 Don't signal a mismatch for repeated inners like "switch..case..case".
9276
a175bf33
LL
92772013-06-07 Leo Liu <sdl.web@gmail.com>
9278
9279 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9280 to t. (Bug#14303)
ce8209d4
LL
9281 (octave-function-header-regexp): Fix. (Bug#14570)
9282 (octave-help-mode-finish-hook, octave-help-mode-finish):
9283 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9284
9285 * newcomment.el (comment-search-backward): Revert last change.
9286 (Bug#14434)
9287
9288 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9289
a822acff
EZ
92902013-06-07 Eli Zaretskii <eliz@gnu.org>
9291
9292 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9293 through xargs, to avoid failure due to MS-Windows limitations on
9294 command-line length.
9295
961166f5
GM
92962013-06-06 Glenn Morris <rgm@gnu.org>
9297
d0341459
GM
9298 * font-lock.el (lisp-font-lock-keywords-2):
9299 Treat user-error like error.
9300
961166f5
GM
9301 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9302 (byte-compile-backward-char, byte-compile-backward-word):
9303 Handle explicit nil arguments. (Bug#14565)
9304
80fa505f
AM
93052013-06-05 Alan Mackenzie <acm@muc.de>
9306
9307 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9308 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9309 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9310 (Bug#9706)
80fa505f 9311
fccdc796
SM
93122013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9313
9314 * autorevert.el (auto-revert-notify-handler): Use memq.
9315 Hide assertion failure.
9316
9317 * skeleton.el: Use cl-lib.
9318 (skeleton-further-elements): Use defvar-local.
9319 (skeleton-insert): Use cl-progv.
9320
9bfff84b
TZ
93212013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9322
9323 * progmodes/prog-mode.el (prog-prettify-symbols)
9324 (prog-prettify-install): Update docstrings.
9325
55577e7c
SM
93262013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9327
9328 * simple.el: Move all the prog-mode code to prog-mode.el.
9329 * progmodes/prog-mode.el: New file.
9330 * loadup.el: Add prog-mode.el.
9331
8fc57765
TZ
93322013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9333
9334 * simple.el (prog-prettify-symbols): Add version.
9335 (prog-prettify-install): Add convenience function to prettify symbols.
9336
9337 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9338 (perl--augmented-font-lock-keywords-1)
9339 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9340 variables and use it.
9341
9342 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9343 (cfengine3-mode): Remove unneeded variable and use it.
9344
9345 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9346 (lisp--augmented-font-lock-keywords-1)
9347 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9348 Remove unneeded variables and use it.
9349
650645d5 93502013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9351
9352 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9353 to point when opening the connection. (Bug#14380)
28f5da6d 9354
781b4af6
SM
93552013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9356
9357 * subr.el (load-history-regexp, load-history-filename-element)
9358 (eval-after-load, after-load-functions, do-after-load-evaluation)
9359 (eval-next-after-load, display-delayed-warnings)
9360 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9361 definition of save-match-data.
9362 (overriding-local-map): Remove accidental obsolescence declaration.
9363
9364 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9365
3ca0d0b4
TZ
93662013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9367
9368 Generalize symbol prettify support to prog-mode and implement it
9369 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9370 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9371 (prog--prettify-font-lock-compose-symbol)
9372 (prog-prettify-font-lock-symbols-keywords): New variables and
9373 functions to support symbol prettification.
9374 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9375 (lisp--augmented-font-lock-keywords-1)
9376 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9377 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9378 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9379 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9380 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9381 * progmodes/perl-mode.el (perl-prettify-symbols)
9382 (perl--font-lock-compose-symbol)
9383 (perl--font-lock-symbols-keywords): Move to prog-mode.
9384 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9385 (perl-font-lock-keywords-1)
9386 (perl-font-lock-keywords-2): Remove explicit prettify support.
9387 (perl--augmented-font-lock-keywords)
9388 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9389 (perl--augmented-font-lock-keywords-2, perl-mode):
9390 Implement prettify support.
3ca0d0b4 9391
976cb066
LL
93922013-06-05 Leo Liu <sdl.web@gmail.com>
9393
9394 Re-implement smie matching block highlight using
9395 show-paren-data-function. (Bug#14395)
9396 * emacs-lisp/smie.el (smie-matching-block-highlight)
9397 (smie--highlight-matching-block-overlay)
9398 (smie--highlight-matching-block-lastpos)
9399 (smie-highlight-matching-block)
9400 (smie-highlight-matching-block-mode): Remove.
9401 (smie--matching-block-data-cache): New variable.
9402 (smie--matching-block-data): New function.
9403 (smie-setup): Use smie--matching-block-data for
9404 show-paren-data-function.
9405
9406 * progmodes/octave.el (octave-mode-menu): Fix.
9407 (octave-find-definition): Skip garbage lines.
9408
208d0342
SM
94092013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9410
9411 Fix compilation error with simultaneous dynamic+lexical scoping.
9412 Add warning when a defvar appears after the first let-binding.
9413 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9414 (byte-compile-close-variables): Initialize it.
9415 (byte-compile--declare-var): New function.
9416 (byte-compile-file-form-defvar)
9417 (byte-compile-file-form-define-abbrev-table)
9418 (byte-compile-file-form-custom-declare-variable): Use it.
9419 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9420 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9421 (byte-compile-bind): Handle dynamic bindings that shadow
9422 lexical bindings.
9423 (byte-compile-unbind): Make arg non-optional.
9424 (byte-compile-let): Simplify.
9425 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9426 (cconv--analyse-function, cconv-analyse-form): Populate it.
9427 Protect byte-compile-bound-variables to limit the scope of defvars.
9428 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9429 Remove unneeded rule for `declare'.
9430
9431 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9432 so as to avoid depending on cl-adjoin at run-time.
9433 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9434
9435 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9436 (macroexp--warn-and-return): Use it.
9437
1ac2891e
GM
94382013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9439
a12bf61e 9440 * subr.el: Convert to lexical binding.
1ac2891e
GM
9441 (overriding-local-map): Make obsolete.
9442 (add-to-list): Doc fix. Add compiler macro.
9443 (read-key): Swap values of local maps.
9444
2587b005
LL
94452013-06-05 Leo Liu <sdl.web@gmail.com>
9446
9447 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9448
f1da3c88
LL
94492013-06-04 Leo Liu <sdl.web@gmail.com>
9450
9451 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9452 (compilation-auto-jump): Suppress the "Mark set" message to give
9453 way to exit message.
9454
3caa391f
AM
94552013-06-04 Alan Mackenzie <acm@muc.de>
9456
9457 Remove faulty optimisation from indentation calculation.
9458 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9459 search limit based on 2000 characters back from indent-point.
9460
068922a2
TH
94612013-06-03 Tassilo Horn <tsdh@gnu.org>
9462
9463 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9464
1f8fdd53
SM
94652013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9466
bbcc4d97
SM
9467 * emacs-lisp/lisp.el: Use lexical-binding.
9468 (lisp--local-variables-1, lisp--local-variables): New functions.
9469 (lisp--local-variables-completion-table): New var.
208d0342 9470 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9471
1f8fdd53
SM
9472 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9473 eagerly (bug#14422).
9474
c9628c79
MA
94752013-06-03 Michael Albinus <michael.albinus@gmx.de>
9476
9477 * autorevert.el (auto-revert-notify-enabled)
9478 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9479 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9480 (auto-revert-notify-handler): Handle also gfilenotify.
9481
e7b41c4c 9482 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9483 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9484 Remove.
c9628c79 9485
e5e4a942
JL
94862013-06-03 Juri Linkov <juri@jurta.org>
9487
9488 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9489 `M-s h .'. (Bug#14427)
9490
9491 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9492 command `hi-lock-face-symbol-at-point'.
9493 (hi-lock-face-symbol-at-point): New command.
9494 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9495 (hi-lock-menu): Add `highlight-symbol-at-point'.
9496 (hi-lock-mode): Doc fix.
9497
9498 * isearch.el (isearch-forward-symbol-at-point): New command.
9499 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9500 (isearch-highlight-regexp): Add a regexp which matches
9501 words/symbols for word/symbol mode.
9502
9503 * subr.el (find-tag-default-bounds): New function with the body
9504 mostly moved from `find-tag-default'.
9505 (find-tag-default): Move most code to `find-tag-default-bounds',
9506 call it and apply `buffer-substring-no-properties' afterwards.
9507
26b3353a
TH
95082013-06-03 Tassilo Horn <tsdh@gnu.org>
9509
781b4af6
SM
9510 * eshell/em-term.el (eshell-term-initialize):
9511 Use `cl-intersection' rather than `intersection'.
26b3353a 9512
51b60f53
XF
95132013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9514
fe054b63 9515 * vc/log-view.el: Doc fix.
d3ffe17c 9516 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9517
a0eb10b3 95182013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9519
9520 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9521 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9522 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9523 (eieio-unbound, eieio-default-superclass)
9524 (eieio--define-field-accessors, method-static, method-before)
9525 (method-primary, method-after, method-num-lists)
9526 (method-generic-before, method-generic-primary)
9527 (method-generic-after, method-num-slots)
9528 (eieio-specialized-key-to-generic-key)
9529 (eieio--check-type, class-v, class-p)
9530 (eieio-class-name, define-obsolete-function-alias)
9531 (eieio-class-parents-fast, eieio-class-children-fast)
9532 (same-class-fast-p, class-constructor, generic-p)
9533 (generic-primary-only-p, generic-primary-only-one-p)
9534 (class-option-assoc, class-option, eieio-object-p)
9535 (class-abstract-p, class-method-invocation-order)
9536 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9537 (eieio-class-un-autoload, eieio-defclass)
9538 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9539 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9540 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9541 (eieio-defgeneric-reset-generic-form)
9542 (eieio-defgeneric-form-primary-only)
9543 (eieio-defgeneric-reset-generic-form-primary-only)
9544 (eieio-defgeneric-form-primary-only-one)
9545 (eieio-defgeneric-reset-generic-form-primary-only-one)
9546 (eieio-unbind-method-implementations)
9547 (eieio--defmethod, eieio--typep)
9548 (eieio-perform-slot-validation, eieio-validate-slot-value)
9549 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9550 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9551 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9552 (eieio-slot-name-index, eieio-class-slot-name-index)
9553 (eieio-set-defaults, eieio-initarg-to-attribute)
9554 (eieio-attribute-to-initarg, eieio-c3-candidate)
9555 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9556 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9557 (eieio-class-precedence-list, eieio-generic-call-methodname)
9558 (eieio-generic-call-arglst, eieio-generic-call-key)
9559 (eieio-generic-call-next-method-list)
9560 (eieio-pre-method-execution-functions, eieio-generic-call)
9561 (eieio-generic-call-primary-only, eieiomt-method-list)
9562 (eieiomt-optimizing-obarray, eieiomt-install)
9563 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9564 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9565 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9566 (defclass): Remove `eval-and-compile' from macro.
9567 (call-next-method, shared-initialize): Instead of using
9568 `scoped-class' variable, use new eieio--scoped-class, and
9569 eieio--with-scoped-class.
9570 (initialize-instance): Rename local variable 'scoped-class' to
9571 'this-class' to remove ambiguitity from old global.
9572
9573 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9574 eieio.el.
4f405069
JB
9575 (eieio--scoped-class-stack): New variable.
9576 (eieio--scoped-class): New fcn.
890f7890
DE
9577 (eieio--with-scoped-class): New scoping macro.
9578 (eieio-defclass): Use pushnew instead of add-to-list.
9579 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9580 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9581 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9582 `scoped-class' variable, use new eieio--scoped-class, and
9583 eieio--with-scoped-class.
9584
9585 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9586
d105b0e2
TH
95872013-06-02 Tassilo Horn <tsdh@gnu.org>
9588
9589 * eshell/esh-ext.el (eshell-external-command): Pass args to
9590 `eshell-find-interpreter'.
9591 (eshell-find-interpreter): Add new second parameter ARGS.
9592
9593 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9594 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9595
9596 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9597 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9598
9599 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9600 (eshell-visual-options): New defcustom.
9601 (eshell-escape-control-x): Adapt docstring.
9602 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9603 `eshell-visual-options' in addition to `eshell-visual-commands'.
9604 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9605
f46305c8 96062013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9607
9608 * progmodes/python.el (python-indent-block-enders): Add break,
9609 continue and raise keywords.
9610
d870df21
GM
96112013-06-01 Glenn Morris <rgm@gnu.org>
9612
9133b82e
GM
9613 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9614
02c992ec 9615 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9616 * progmodes/cc-cmds.el (delete-forward-p):
9617 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9618 * progmodes/cc-engine.el (buffer-syntactic-context):
9619 * progmodes/cc-fonts.el (face-property-instance):
9620 * progmodes/cc-mode.el (set-keymap-parents):
9621 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9622 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9623 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9624 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9625 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9626
31e7b090
GM
9627 * progmodes/cc-vars.el (other): Emacs has this widget since
9628 at least 21.1, so don't (re)define it.
9629
d870df21
GM
9630 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9631 Replace the obsolete alias pcomplete-arg-quote-list.
9632
c75c93c7
LL
96332013-06-01 Leo Liu <sdl.web@gmail.com>
9634
9635 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9636 punctuation syntax.
9637 (inferior-octave-minimal-columns)
9638 (inferior-octave-last-column-width): New variables.
9639 (inferior-octave-track-window-width-change): New function.
9640 (inferior-octave-mode): Adjust column width so that Octave output,
9641 for example from 'ls', can fit into the window nicely.
9642
973d1e12
DG
96432013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9644
9645 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9646 Highlight expansions inside regexp literals.
9647
0888c286
GM
96482013-05-31 Glenn Morris <rgm@gnu.org>
9649
e26aac1f
GM
9650 * obsolete/sym-comp.el (symbol-complete):
9651 Replace obsolete completion-annotate-function.
9652
0888c286
GM
9653 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9654
19bb8e62
DG
96552013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9656
781b4af6
SM
9657 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9658 New function, checks if point is inside a literal that allows
19bb8e62
DG
9659 expression expansion.
9660 (ruby-syntax-propertize-expansion): Use it.
9661 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9662 around the body.
9663
01dea85f
JL
96642013-05-30 Juri Linkov <juri@jurta.org>
9665
9666 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9667 to "\M-si".
9668 (isearch-invisible): New variable.
9669 (isearch-forward): Doc fix.
9670 (isearch-mode): Set `isearch-invisible'
9671 to the value of `search-invisible'.
9672 (isearch-toggle-case-fold): Doc fix.
9673 (isearch-toggle-invisible): New command.
9674 (isearch-query-replace): Let-bind `search-invisible'
9675 to the value of `isearch-invisible'.
9676 (isearch-search): Use `isearch-invisible' instead of
9677 `search-invisible'. Let-bind `search-invisible'
9678 to the value of `isearch-invisible'. (Bug#11378)
9679
ab1bdce5
JL
96802013-05-30 Juri Linkov <juri@jurta.org>
9681
9682 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9683 call when `query-flag' is nil and `search-invisible' is non-nil.
9684 (Bug#11746)
9685
d6d236e2
GM
96862013-05-30 Glenn Morris <rgm@gnu.org>
9687
8accd027
GM
9688 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9689
2a8bed1c
GM
9690 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9691 (cc-require): Suppress spurious "noruntime" warnings.
9692 (cc-require-when-compile): Use fboundp, for sake of compiler.
9693
d6d236e2
GM
9694 * progmodes/cc-mode.el: Move load of cc-vars before that of
9695 cc-langs (which in turn loads cc-vars), to quieten compiler.
9696
9190b35b
SM
96972013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * paren.el: Simplify the code.
9700 (show-paren-mode): Always start the timer.
9701 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9702 (show-paren--overlay, show-paren--overlay-1): Rename from
9703 show-paren-overlay and show-paren-overlay-1, and initialize to an
9704 overlay rather than to nil.
9705 (show-paren-function): Misc cleanup and simplifications.
9706
4f8d1cf6
SM
97072013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * paren.el (show-paren-data-function): New hook.
9710 (show-paren--default): New function, extracted from show-paren-function.
9711 (show-paren-function): Use show-paren-data-function.
9712
02d844b5
GM
97132013-05-30 Glenn Morris <rgm@gnu.org>
9714
d209d4a9
GM
9715 * ielm.el (ielm-map, ielm-complete-symbol):
9716 Use completion-at-point rather than obsolete functions.
9717 (inferior-emacs-lisp-mode): Doc fix.
9718 Set completion-at-point-functions, rather than
9719 comint-dynamic-complete-functions.
9720
2082faa6
GM
9721 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9722 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9723 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9724
dd8620de
GM
9725 * image.el (image-animated-p): Tweak definition.
9726
ceca95b1
GM
9727 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9728 (rlogin-process-connection-type): Tweak default. Add set-after.
9729 (rlogin-host): Doc fix.
9730 (rlogin): Tweak prompt.
9731 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9732
ee9f1acc
GM
9733 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9734 * progmodes/tcl.el (inferior-tcl-mode-map):
9735 Use completion-at-point rather than obsolete alias.
9736
45ce222e
GM
9737 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9738
02d844b5
GM
9739 * minibuffer.el (read-file-name-completion-ignore-case):
9740 Move before completion--in-region, for eager macro expansion.
9741
ac44d6c1
JL
97422013-05-29 Juri Linkov <juri@jurta.org>
9743
9744 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9745 for total count of matching lines. Add `global-matches' for total
9746 count of matches. Rename `matches' to `lines' for count of
9747 matching lines. Add `matches' for count of matches.
9748 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9749 to `prev-line' for line number of prev match endpt.
9750 Increment `matches' for every match. Print the number of
9751 matching lines in the header.
9752 (occur-context-lines): Rename `lines' to `curr-line'.
9753 Rename `prev-lines' to `prev-line'. (Bug#14017)
9754
3c9c9d38
JL
97552013-05-29 Juri Linkov <juri@jurta.org>
9756
9757 * replace.el (perform-replace): Add `skip-read-only-count',
9758 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9759 Increment them for corresponding conditions and report the number
9760 of skipped occurrences in the final message. (Bug#11746)
9761 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9762 (replace-string, replace-regexp): Doc fix.
9763
33e249a2
SM
97642013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9765
8e399682
SM
9766 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9767
33e249a2 9768 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9769 prog-mode-map (bug#14504).
33e249a2 9770
f236dd84
LL
97712013-05-29 Leo Liu <sdl.web@gmail.com>
9772
9773 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9774 (octave-help): Small simplification.
9775
9776 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9777 off the highlight first.
9778
3694d13f
GM
97792013-05-29 Glenn Morris <rgm@gnu.org>
9780
03983bdc
GM
9781 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9782 Handle idlwave-last-system-routine-info-cons-cell being nil.
9783
bc74a74a
GM
9784 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9785 (idlwave-write-paths): Simplify via with-temp-buffer.
9786
8b394200
GM
9787 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9788 * emulation/cua-rect.el: Also load cua-base at run time.
9789
3694d13f
GM
9790 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9791 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9792 (cperl-imenu-on-info): Require imenu.
9793
336d7284
AM
97942013-05-28 Alan Mackenzie <acm@muc.de>
9795
9796 Handle "capitalised keywords" correctly.
33e249a2 9797 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9798
cb29c582
AG
97992013-05-28 Aidan Gauland <aidalgol@amuri.net>
9800
781b4af6 9801 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9802
690e44b2
GM
98032013-05-28 Glenn Morris <rgm@gnu.org>
9804
e658d75c
GM
9805 * vc/vc-arch.el (vc-exec-after): Declare.
9806 (vc-switches): Autoload.
9807 * vc/vc-bzr.el: No need to require vc when compiling.
9808 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9809 (vc-resynch-buffer, vc-dir-refresh): Declare.
9810 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9811 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9812 (vc-resynch-buffer): Declare.
9813 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9814 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9815 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9816 (grep-read-regexp, grep-read-files, grep-expand-template)
9817 (vc-dir-refresh): Declare.
9818 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9819 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9820 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9821 * vc/vc-mtn.el (vc-exec-after): Declare.
9822 (vc-switches): Autoload.
9823 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9824 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9825 (vc-file-tree-walk): Declare.
712b9732
GM
9826 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9827 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9828 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9829 * vc/vc-svn.el (vc-exec-after): Declare.
9830 (vc-switches, vc-setup-buffer): Autoload.
9831 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9832 Autoload.
9833 (vc-resynch-buffer): Declare.
9834
98e87fb3
GM
9835 * obsolete/fast-lock.el (byte-compile-warnings):
9836 Don't warn about obsolete features in this obsolete file.
9837
f5379553
GM
9838 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9839 Move definition before use.
9840
7a20ef83
GM
9841 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9842 (dun-unix-verbs): Remove dun-zippy.
9843 (dun-zippy): Remove function.
9844
690e44b2
GM
9845 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9846
3a52ccf7
JL
98472013-05-27 Juri Linkov <juri@jurta.org>
9848
9849 * replace.el (replace-search): New function with code moved out
9850 from `perform-replace'.
9851 (replace-highlight, replace-dehighlight): Move function definitions
9852 up closer to `replace-search'. (Bug#11746)
9853
d289938a
JL
98542013-05-27 Juri Linkov <juri@jurta.org>
9855
9856 * replace.el (perform-replace): Ignore invisible matches.
9857 In addition to checking `query-replace-skip-read-only', also
9858 filter out matches by calling `run-hook-with-args-until-failure'
9859 on `isearch-filter-predicates', and also check `search-invisible'
9860 for t or call `isearch-range-invisible'.
9861 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9862
66fc57e3
JL
98632013-05-27 Juri Linkov <juri@jurta.org>
9864
9865 * isearch.el (isearch-filter-predicates): Rename from
9866 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9867 (isearch-message-prefix): Display text from the property
9868 `isearch-message-prefix' of the currently active filters.
9869 (isearch-search): Don't compare `isearch-filter-predicate' with
9870 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9871 on `isearch-filter-predicates'. Also check `search-invisible' for t
9872 or call `isearch-range-invisible'.
9873 (isearch-filter-visible): Make obsolete.
9874 (isearch-lazy-highlight-search):
9875 Call `run-hook-with-args-until-failure' on
9876 `isearch-filter-predicates' and use `isearch-range-invisible'.
9877
9878 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9879 `isearch-filter-predicates' instead of `funcall'ing
9880 `isearch-filter-predicate'.
9881 (Info-mode): Set `Info-isearch-filter' to
9882 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9883
9884 * dired-aux.el (dired-isearch-filter-predicate-orig):
9885 Remove variable.
9886 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9887 (dired-isearch-filenames-end): Add and remove
9888 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9889 instead of changing the value of `isearch-filter-predicate'.
9890 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9891 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9892 Put property `isearch-message-prefix' to "filename " on
9893 `dired-isearch-filter-filenames'.
9894
9895 * wdired.el (wdired-change-to-wdired-mode):
9896 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9897 locally instead of changing `isearch-filter-predicate'.
9898 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9899
f1a60a0f
DG
99002013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9901
9902 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9903 return the commit hash (Bug#14459). Also set the
9904 `vc-git-detached' property.
9905 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9906 (vc-git-mode-line-string): Use the same help-echo format whether
9907 in detached mode or not, because we know the actual revision now.
9908 When in detached mode, shorten the revision to 7 chars.
9909
7f17cc40
SM
99102013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * emacs-lisp/easy-mmode.el (define-minor-mode):
9913 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9914 mode hook and provide a docstring.
9915
25c8401c
AM
99162013-05-27 Alan Mackenzie <acm@muc.de>
9917
9918 Remove spurious syntax-table text properties inserted by C-y.
9919 * progmodes/cc-mode.el (c-after-change): Also clear hard
9920 syntax-table property with value nil.
9921
dde84790
MA
99222013-05-27 Michael Albinus <michael.albinus@gmx.de>
9923
9924 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9925 when reading the events; the buffer layout shall not be changed.
9926
837fd9af
LL
99272013-05-27 Leo Liu <sdl.web@gmail.com>
9928
9929 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9930 New variable.
9931 (inferior-octave-directory-tracker): Automatically re-sync
9932 default-directory.
9933 (octave-help): Improve handling of 'See also'.
9934
4fd996b3
SM
99352013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9936
416f1802
SM
9937 * doc-view.el: Minor naming convention tweaks.
9938 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9939
4fd996b3
SM
9940 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9941 even if there's no `display' property yet (bug#14435).
9942
a052ef3b
EZ
99432013-05-25 Eli Zaretskii <eliz@gnu.org>
9944
4fd996b3 9945 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
9946
9947 * Makefile.in (custom-deps, finder-data, autoloads)
9948 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9949 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9950 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9951
c9023370
SM
99522013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9953
9954 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9955 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 9956 Don't burp at EOB.
c9023370 9957
24d699fa
LL
99582013-05-25 Leo Liu <sdl.web@gmail.com>
9959
9960 * comint.el (comint-previous-matching-input): Do not flood the
9961 *Messages* buffer with trivial messages.
9962
17e5c0cc
SM
99632013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
9964
9965 * progmodes/flymake.el (flymake-nop): Don't return a string.
9966 (flymake-set-at): Fix typo.
9967
9968 * simple.el (read--expression): New function, extracted from
9969 eval-expression. Set completion-at-point-functions (bug#14465).
9970 (eval-expression, eval-minibuffer): Use it.
9971
5d028165
XF
99722013-05-25 Xue Fuqiao <xfq.free@gmail.com>
9973
9974 * progmodes/flymake.el (flymake-save-buffer-in-file)
9975 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9976 (flymake-selected-frame, flymake-log, flymake-ins-after)
9977 (flymake-set-at, flymake-get-buildfile-from-cache)
9978 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9979 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9980 Refine the doc string.
9981 (flymake-get-file-name-mode-and-masks): Reformat.
9982 (flymake-get-real-file-name-function): Fix a minor bug.
9983
7a1d7ba7
JL
99842013-05-24 Juri Linkov <juri@jurta.org>
9985
9986 * progmodes/grep.el (grep-mode-font-lock-keywords):
9987 Support =linenumber= format used by git-grep for lines with
9988 function names. (Bug#13549)
9989
650cff3d
SM
99902013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9993 0 after a semi-colon; it works better for smie-auto-fill.
9994 (octave--indent-new-comment-line): New function.
9995 (octave-indent-new-comment-line): Use it (indirectly).
9996 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9997 modify comment-line-break-function.
9998
9999 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10000 (smie-setup): Use add-function to set it.
10001
9631677d
SS
100022013-05-24 Sam Steingold <sds@gnu.org>
10003
10004 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10005 argument (before the `interactive' argument).
10006
50105835
SM
100072013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10008
10009 * image-mode.el (image-mode-winprops): Add winprops to
10010 image-mode-winprops-alist before running
10011 image-mode-new-window-functions.
10012 * doc-view.el (doc-view-new-window-function): Don't delay
10013 doc-view-goto-page via timers (bug#14435).
10014
57b9823e
TH
100152013-05-24 Tassilo Horn <tsdh@gnu.org>
10016
10017 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10018 (doc-view-desktop-save-buffer): New function.
10019 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10020 (desktop-buffer-mode-handlers):
10021 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10022 handler.
10023 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10024 `desktop-save-buffer' function.
10025
91aafa16
MA
100262013-05-24 Michael Albinus <michael.albinus@gmx.de>
10027
10028 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10029 (tramp-gvfs-file-name-handler): Raise a user error when
10030 `tramp-gvfs-enabled' is nil.
10031 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10032 Do not raise a user error when loading package. (Bug#14447)
10033
ec076379
MA
10034 * net/xesam.el: Move to obsolete/.
10035
db785726
GM
100362013-05-24 Glenn Morris <rgm@gnu.org>
10037
af5c7606
GM
10038 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10039
e5d1916a
GM
10040 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10041
ded62b08
GM
10042 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10043 (Info-find-node, Man-getpage-in-background): Declare.
10044
9e614a3f
GM
10045 * mail/unrmail.el (unrmail):
10046 Replace obsolete detect-coding-with-priority.
10047
892f8ca3
GM
10048 * net/socks.el (socks-split-string): Use this rather than split-string.
10049 (socks-nslookup-host): Update for above change.
10050 (dynamic-choice, s5-dynamic-choice-match)
10051 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10052 Comment out unused code.
10053
3c291973
GM
10054 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10055 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10056 (gud-tooltip-echo-area): Make obsolete.
10057 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10058
43cc956b
GM
10059 * progmodes/js.el (js--optimize-arglist): Declare.
10060
dab49a3b
GM
10061 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10062
36b9d085
GM
10063 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10064 (ediff-window-C): Declare.
10065
e354ae76
GM
10066 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10067 Tweak requires to silence compiler.
10068
b8e57bf4
GM
10069 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10070 (he-search-string, he-tried-table, he-expand-list)
10071 (he-init-string, he-string-member, he-substitute-string)
10072 (he-reset-string): Declare.
10073
db785726
GM
10074 * obsolete/options.el (list-options): Use custom-variable-p,
10075 rather than obsolete alias.
10076
b3531901
SS
100772013-05-23 Sam Steingold <sds@gnu.org>
10078
10079 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10080 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10081 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10082
bdda4c66
SM
100832013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * emacs-lisp/smie.el (smie-indent-forward-token)
10086 (smie-indent-backward-token): Handle string tokens (bug#14381).
10087
c43d45f9
TH
100882013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10089
fe1eb856
RS
10090 * ielm.el (ielm-menu): New menu.
10091 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10092
fe1eb856
RS
100932013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10094
a12bf61e 10095 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10096 Fix deactivate action.
10097
a12bf61e 10098 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10099 Add cleveref macros.
074dd971 10100
a12bf61e 10101 * textmodes/reftex-parse.el
c43d45f9
TH
10102 (reftex-locate-bibliography-files): Accept options for
10103 bibliography commands.
a12bf61e 10104 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10105 Add addbibresource. Basic Biblatex support.
10106
7764286e
MA
101072013-05-23 Michael Albinus <michael.albinus@gmx.de>
10108
10109 * net/tramp-gvfs.el (top):
10110 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10111 when loading package. (Bug#14447)
10112
d361bc10
GM
101132013-05-23 Glenn Morris <rgm@gnu.org>
10114
8fa23984
GM
10115 * progmodes/js.el: No need to load comint when compiling.
10116 (ring-insert, comint-send-string, comint-send-input)
10117 (comint-last-input-end, ido-chop): Declare.
10118
a5c7df1a
GM
10119 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10120 * vc/ediff-mult.el: Adjust requires.
10121 (ediff-directories-internal, ediff-directory-revisions-internal)
10122 (ediff-patch-file-internal): Declare.
10123 * vc/ediff-ptch.el: Adjust requires.
10124 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10125 (ediff-find-file): Autoload.
10126 * vc/ediff-util.el: No need to load ediff when compiling.
10127 (ediff-regions-internal): Declare.
10128 * vc/ediff-wind.el: Adjust requires.
10129 (ediff-compute-toolbar-width): Define when compiling.
10130 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10131 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10132 (dired-get-filename, dired-get-marked-files)
10133 (ediff-last-dir-patch, ediff-patch-default-directory)
10134 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10135 (ediff-patch-buffer-internal): Declare.
10136
e2aec513
GM
10137 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10138 (ispell-process, ispell-buffer-local-words, lm-summary)
10139 (lm-section-start, lm-section-end): Declare.
10140 (checkdoc-ispell-init): Simplify.
10141
e68bbd7c
GM
10142 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10143 (he-string-member, he-reset-string, he-substitute-string): Declare.
10144
7efe0991
GM
10145 * eshell/em-ls.el: Adjust requires.
10146 (eshell-glob-regexp): Declare.
f87b1284
GM
10147 * eshell/em-tramp.el: Adjust requires.
10148 (eshell-parse-command): Autoload.
10149 * eshell/em-xtra.el: Adjust requires.
10150 (eshell-parse-command): Autoload.
10151 * eshell/esh-ext.el: Adjust requires.
10152 (eshell-parse-command, eshell-close-handles): Autoload.
10153 * eshell/esh-io.el: Adjust requires.
10154 (eshell-output-filter): Autoload.
10155 * eshell/esh-util.el: No need to load tramp when compiling.
10156 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10157 Declare.
10158 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10159 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10160 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10161 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10162 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10163 * eshell/esh-opt.el, eshell/esh-proc.el:
10164 * eshell/esh-var.el: Adjust requires.
10165 * eshell/eshell.el: Do not require esh-util twice.
10166 (eshell-add-input-to-history): Declare.
10167 (eshell-command): Check history module is active before using it.
10168
d361bc10
GM
10169 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10170
85d090a9
LL
101712013-05-22 Leo Liu <sdl.web@gmail.com>
10172
10173 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10174
5d0acd9d
MA
101752013-05-22 Michael Albinus <michael.albinus@gmx.de>
10176
10177 * autorevert.el (auto-revert-notify-add-watch)
10178 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10179 it indicates changes in file modification time.
10180
0cdffd7d
GM
101812013-05-22 Glenn Morris <rgm@gnu.org>
10182
ca5995ec
GM
10183 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10184 Always delete the autoloaded function from the noruntime and
10185 unresolved functions lists.
10186
6450907e
GM
10187 * allout.el: No need to load epa, epg, overlay when compiling.
10188 (epg-context-set-passphrase-callback, epg-list-keys)
10189 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10190 (epg-key-user-id-list): Declare.
10191
9c6906f6
GM
10192 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10193 (viper-set-parsing-style-toggling-macro)
10194 (viper-set-emacs-state-searchstyle-macros):
10195 Use called-interactively-p on Emacs.
10196 (viper-looking-back): Make it an obsolete alias. Update callers.
10197 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10198 Use looking-back rather than viper-looking-back.
10199 (viper-tmp-insert-at-eob, viper-enlarge-region)
10200 (viper-read-string-with-history, viper-register-to-point)
10201 (viper-append-to-register, viper-change-state-to-vi)
10202 (viper-backward-char-carefully, viper-forward-char-carefully)
10203 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10204 (viper-change-state-to-emacs): Declare.
10205 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10206 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10207 * emulation/viper-mous.el: Do not load viper-cmd.
10208 (viper-backward-char-carefully, viper-forward-char-carefully)
10209 (viper-forward-word, viper-adjust-window): Declare.
10210
5f70c169
GM
10211 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10212
b1b7f300
GM
10213 * progmodes/idlw-help.el (idlwave-help-fontify):
10214 Use called-interactively-p.
10215
f6ebbb46
GM
10216 * term/w32console.el (w32-get-console-codepage)
10217 (w32-get-console-output-codepage): Declare.
10218
0cdffd7d
GM
10219 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10220 Remove unnecessary declarations.
10221 (dframe-message): Doc fix.
10222
10223 * info.el (dframe-select-attached-frame, dframe-current-frame):
10224 Declare.
10225
10226 * speedbar.el (speedbar-message): Make it an obsolete alias.
10227 Update all callers.
10228 (speedbar-with-attached-buffer)
10229 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10230 (speedbar-with-writable): Use backquote.
10231 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10232 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10233 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10234 rather than speedbar- aliases.
10235 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10236 (speedbar-make-specialized-keymap, speedbar-insert-button)
10237 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10238 (speedbar-do-function-pointer): Declare.
10239 (rmail-speedbar-button, rmail-speedbar-find-file)
10240 (rmail-speedbar-move-message):
10241 Use dframe-with-attached-buffer rather than speedbar- alias.
10242 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10243 (dframe-message, speedbar-make-specialized-keymap)
10244 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10245 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10246 (speedbar-insert-button, dframe-select-attached-frame)
10247 (dframe-maybee-jump-to-attached-frame)
10248 (speedbar-change-initial-expansion-list)
10249 (speedbar-previously-used-expansion-list-name): Declare.
10250 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10251 Use dframe-message, dframe-with-attached-buffer rather than
10252 speedbar- aliases.
10253 (gud-sentinel): Silence compiler.
10254 * progmodes/vhdl-mode.el (speedbar-refresh)
10255 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10256 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10257 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10258 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10259 (speedbar-file-lists, speedbar-make-tag-line)
10260 (speedbar-line-directory, speedbar-goto-this-file)
10261 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10262 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10263 (speedbar-make-button, speedbar-reset-scanners)
10264 (speedbar-files-item-info, speedbar-line-text)
10265 (speedbar-find-file-in-frame, speedbar-set-timer)
10266 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10267 (speedbar-with-writable): Do not (re)define it.
10268 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10269 rather than speedbar- alias.
10270
ee44b62a
LL
102712013-05-21 Leo Liu <sdl.web@gmail.com>
10272
10273 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10274 menu items.
10275 (octave-mode): Tweak fill-nobreak-predicate.
10276 (inferior-octave-startup): Check process to avoid infinite loop.
10277 (inferior-octave): Pop to buffer first to show abornmal process
10278 exit information.
10279
640f050f
GM
102802013-05-21 Glenn Morris <rgm@gnu.org>
10281
79458038
GM
10282 * printing.el (pr-menu-bar): Define when compiling.
10283
9cc3e83f
LL
102842013-05-21 Leo Liu <sdl.web@gmail.com>
10285
10286 * progmodes/octave.el (octave-auto-fill): Remove.
10287 (octave-indent-new-comment-line): Improve.
10288 (octave-mode): Use auto fill mode through
4f405069 10289 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10290 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10291 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10292 (octave-help): Show parent directory.
10293
f440830d
GM
102942013-05-21 Glenn Morris <rgm@gnu.org>
10295
10296 * files.el (dired-unmark):
10297 * progmodes/gud.el (gdb-input): Update declarations.
10298
10299 * calculator.el (electric, ehelp): No need to load when compiling.
10300 (Electric-command-loop, electric-describe-mode): Declare.
10301
10302 * doc-view.el (doc-view-current-converter-processes): Move before use.
10303
10304 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10305 Move MODE-set-explicitly definition before use.
10306
10307 * international/mule-diag.el (mule-diag):
10308 Don't use obsolete window-system-version.
10309
10310 * mail/feedmail.el (smtpmail): No need to load when compiling.
10311 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10312
10313 * mail/mail-utils.el (rfc822): No need to load when compiling.
10314 (rfc822-addresses): Autoload it.
10315 (mail-strip-quoted-names): Trivial simplification.
10316
10317 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10318 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10319
10320 * net/snmp-mode.el (tempo): Don't duplicate requires.
10321
10322 * progmodes/prolog.el (info): No need to load when compiling.
10323 (comint): Require before shell requires it.
10324 (Info-goto-node): Autoload it.
10325 (Info-follow-nearest-node): Declare.
10326 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10327
10328 * textmodes/artist.el (picture-mode-exit): Declare.
10329
10330 * textmodes/reftex-parse.el (reftex-parse-from-file):
10331 Trivial rewrite so the compiler can parse it better.
10332
b4da2cbb
LL
103332013-05-20 Leo Liu <sdl.web@gmail.com>
10334
10335 * progmodes/octave.el (octave-help-mode-map)
10336 (octave-help-mode-finish-hook): New variables.
10337 (octave-help-mode, octave-help-mode-finish): New functions.
10338 (octave-help): Use octave-help-mode.
10339
33c0f65b
GM
103402013-05-20 Glenn Morris <rgm@gnu.org>
10341
10342 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10343
1a0a0a8a
DG
103442013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10345
10346 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10347 start at point, so that expansion starting right after opening
10348 slash in a regexp is recognized.
10349 (ruby-syntax-before-regexp-re): New defvar, extracted from
10350 ruby-syntax-propertize-function. Since the value of this regexp
10351 is looked up at runtime now, we should be able to turn
10352 `ruby-syntax-methods-before-regexp' into a defcustom later.
10353 (ruby-syntax-propertize-function): Split regexp matching into two
10354 parts, for opening and closing slashes. That allows us to skip
10355 over string interpolations and support multiline regexps.
10356 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10357 for them, which calls `ruby-syntax-propertize-expansion'.
10358 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10359 call to `ruby-syntax-propertize-function'.
10360 (ruby-syntax-propertize-expansion): Extracted from
10361 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10362 (ruby-syntax-propertize-percent-literal): Leave point right after
10363 the percent symbol, so that the expression expansion rule can
10364 propertize the contents.
462388b6
DG
10365 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10366 heredoc openers.
10367 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10368
c1a6c0a4
JL
103692013-05-18 Juri Linkov <juri@jurta.org>
10370
10371 * man.el (Man-default-man-entry): Remove `-' from the end
10372 of the default value. (Bug#14400)
10373
8051fccd
GM
103742013-05-18 Glenn Morris <rgm@gnu.org>
10375
10376 * comint.el (comint-password-prompt-regexp):
10377 Allow "password for XXX" where XXX contains colons (eg https://...).
10378
5e80b74f
LL
103792013-05-18 Leo Liu <sdl.web@gmail.com>
10380
10381 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10382 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10383 (octave-source-directories): Don't check process.
10384 (octave-source-directories, octave-find-definition): Doc fix.
10385
521a54c5
GM
103862013-05-18 Glenn Morris <rgm@gnu.org>
10387
86a94b05
GM
10388 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10389 Remove backspace/delete bindings. (Bug#14392)
10390
521a54c5
GM
10391 * cus-dep.el (custom-make-dependencies): Sort the output.
10392 (custom-versions-load-alist): Convert comment to doc.
10393
42caeb89
LL
103942013-05-17 Leo Liu <sdl.web@gmail.com>
10395
10396 * newcomment.el (comment-search-backward): Stricter in finding
10397 comment start. (Bug#14303)
10398
10399 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10400 (octave-comment-start-skip): Properly anchored.
10401
e219dd97
LL
104022013-05-17 Leo Liu <sdl.web@gmail.com>
10403
fe1eb856
RS
10404 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10405 Clean up when turned off. (Bug#14395)
e219dd97
LL
10406 (smie--highlight-matching-block-overlay): No longer buffer-local.
10407 (smie-highlight-matching-block): Adjust.
10408
dc5dcb4b
PE
104092013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10410
10411 Doc string fix for "nanoseconds" (Bug#14406).
10412 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10413 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10414
1db165f0
JB
104152013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10416
10417 * calc/calc-units.el (math-extract-units): Preserve powers
10418 of units.
10419
c7a8fcac
LL
104202013-05-17 Leo Liu <sdl.web@gmail.com>
10421
10422 * subr.el (delete-consecutive-dups): New function.
10423 * ido.el (ido-set-matches-1): Use it.
10424 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10425 * ido.el (ido-remove-consecutive-dups): Remove.
10426
f678b18a
SM
104272013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10428
10429 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10430 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10431 regexp-opt's `words'.
10432
ebfe68e8
LL
104332013-05-16 Leo Liu <sdl.web@gmail.com>
10434
10435 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10436 (smie--highlight-matching-block-overlay)
10437 (smie--highlight-matching-block-lastpos)
10438 (smie--highlight-matching-block-timer): New variables.
10439 (smie-highlight-matching-block): New function.
10440 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10441 (smie-setup): Conditionally enable smie-blink-matching-open.
10442
bc8bc17d
WS
104432013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10444
10445 Sync with upstream verilog-mode r840.
10446 * progmodes/verilog-mode.el (verilog-mode-version)
10447 (verilog-mode-release-date): Update.
10448 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10449 (verilog-sig-tieoff): Fix string error on
10450 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10451 (verilog-read-decls): Fix parameters confusing
10452 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10453
df065a0b
EZ
104542013-05-16 Eli Zaretskii <eliz@gnu.org>
10455
10456 * subr.el (reveal-filename): New function.
10457
10458 * loadup.el: Compute Emacs executable versions on MS-Windows,
10459 where executables have the .exe extension. Add a hard link
10460 emacs-XX.YY.ZZ.exe on MS-Windows.
10461
10462 * Makefile.in (XARGS_LIMIT): New variable.
10463 (custom-deps, finder-data, autoloads)
10464 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10465 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10466 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10467 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10468
2d4bf34b
LL
104692013-05-16 Leo Liu <sdl.web@gmail.com>
10470
10471 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10472 (octave-mode-menu, octave-mode-map): Remove its uses.
10473
6b9c2d85
RZ
104742013-05-16 Reto Zimmermann <reto@gnu.org>
10475
10476 Sync with upstream vhdl mode v3.34.2.
10477 * progmodes/vhdl-mode.el: Use `push' throughout.
10478 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10479 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10480 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10481 (vhdl-actual-generic-name): New option to derive actual generic name.
10482 (vhdl-port-paste-signals): Replace formal by actual generics.
10483 (vhdl-beautify): New name for old group vhdl-align. Update users.
10484 (vhdl-beautify-options): New option.
10485 (vhdl-last-input-event): New compat alias. Use throughout.
10486 (vhdl-goto-line): Replace user level function `goto-line'.
10487 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10488 vhdl-fix-statement-buffer.
10489 (vhdl-create-mode-menu): Add some entries.
10490 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10491 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10492 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10493 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10494 to force statements on one line.
10495 (vhdl-remove-trailing-spaces-region):
10496 New, split from vhdl-remove-trailing-spaces.
10497 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10498 Respect vhdl-beautify-options.
10499 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10500 (vhdl-update-sensitivity-list): Not add with index if exists without.
10501 Not include array index with signal. Ignore keywords in comments.
10502 (vhdl-get-visible-signals): Regexp tweaks.
10503 (vhdl-template-component-inst): Handle empty library.
10504 (vhdl-template-type): Add template for 'enum' type.
10505 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10506 Use vhdl-replace-string.
10507 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10508 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10509 (vhdl-speedbar-initialize): Update for above name change.
10510 (vhdl-compose-wire-components): Fix in handling of constants.
10511 (vhdl-error-regexp-emacs-alist): New variable.
10512 (vhdl-error-regexp-add-emacs): New function;
10513 adds support for new compile.el (Emacs 22+)
10514 (vhdl-generate-makefile-1): Change target order for single lib. units.
10515 Allow use of absolute file names.
10516
9df4ec5e
LL
105172013-05-16 Leo Liu <sdl.web@gmail.com>
10518
10519 * simple.el (prog-indent-sexp): Indent enclosing defun.
10520
f5ba00a6
GM
105212013-05-15 Glenn Morris <rgm@gnu.org>
10522
ed8be7ff
GM
10523 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10524 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10525 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10526 (whitespace-highlight): Move to whitespace group.
10527
10528 * comint.el (comint-source):
10529 * pcmpl-linux.el (pcmpl-linux):
10530 * shell.el (shell-faces):
10531 * eshell/esh-opt.el (eshell-opt):
10532 * international/ccl.el (ccl): Remove empty custom groups.
10533
10534 * completion.el (dynamic-completion-mode):
10535 * jit-lock.el (jit-lock-debug-mode):
10536 * minibuffer.el (completion-in-region-mode):
10537 * type-break.el (type-break-mode-line-message-mode)
10538 (type-break-query-mode):
10539 * emulation/tpu-edt.el (tpu-edt-mode):
10540 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10541 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10542 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10543
10544 * term/xterm.el (xterm): Change parent group to terminals.
10545
10546 * master.el (master): Remove empty custom group.
10547 (master-mode): Remove unused :group argument.
10548 * textmodes/refill.el (refill): Remove empty custom group.
10549 (refill-mode): Remove unused :group argument.
10550
10551 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10552
82a7c41b
GM
10553 * cus-dep.el: Provide a feature.
10554 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10555 Don't mistakenly ignore files whose basenames match a basename
10556 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10557 Add a fallback method for getting :group.
f5ba00a6 10558
6d65486d
JL
105592013-05-15 Juri Linkov <juri@jurta.org>
10560
da547b32
JL
10561 * isearch.el (isearch-char-by-name): Rename from
10562 `isearch-insert-char-by-name'. Doc fix.
10563 (isearch-forward): Mention `isearch-char-by-name' in
10564 the docstring. (Bug#13348)
10565
6d65486d
JL
10566 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10567 `exit-minibuffer' instead of
10568 `isearch-nonincremental-exit-minibuffer'.
10569 (isearch-edit-string): Remove mention of
10570 `isearch-nonincremental-exit-minibuffer' from docstring.
10571 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10572 (isearch-forward-exit-minibuffer)
10573 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10574
c9990474
SM
105752013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10576
6e911150
SM
10577 * loadup.el: Just use unversioned DOC.
10578
c9990474
SM
10579 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10580 literals as extending to EOB.
10581 (nxml-last-fontify-end): Remove unused variable.
10582 (nxml-after-change1): Use with-silent-modifications.
10583 (nxml-extend-after-change-region): Simplify.
10584 (nxml-extend-after-change-region1): Remove function.
10585 (nxml-after-change1): Don't adjust for dependent regions.
10586 (nxml-fontify-matcher): Simplify.
10587 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10588 (xmltok-add-dependent): Remove function.
10589 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10590 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10591 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10592 unclosed <[[, <?, comment, and other literals as extending to EOB.
10593 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10594 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10595 Remove functions.
10596 (rng-do-some-validation-1): Don't mark dependent regions.
10597 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10598 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10599 (nxml-clear-dependent-regions): Remove functions.
10600 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10601 (nxml-ensure-scan-up-to-date):
10602 Don't clear&mark dependent regions.
10603
e3772e98
LL
106042013-05-15 Leo Liu <sdl.web@gmail.com>
10605
c9990474
SM
10606 * progmodes/octave.el (octave-goto-function-definition):
10607 Improve and fix callers.
e3772e98 10608
5ac2eb34
SM
106092013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10610
c46c57b0
SM
10611 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10612 the setter (bug#14387).
10613
5ac2eb34
SM
10614 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10615 surrounding group (bug#14402).
10616
180ed218
JL
106172013-05-14 Juri Linkov <juri@jurta.org>
10618
10619 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10620 (Bug#14390)
10621
0ac0fecb
GM
106222013-05-14 Glenn Morris <rgm@gnu.org>
10623
10624 * progmodes/f90.el (f90-imenu-generic-expression):
10625 Fix typo in 2013-05-08 change. (Bug#14402)
10626
2e78e6a7
JPG
106272013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10628
5ac2eb34
SM
10629 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10630 Remove signals for which replies are never received.
2e78e6a7 10631
53267cca
JPG
106322013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10633
10634 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10635 (gdb-handler-alist, gdb-handler-number): Remove variables.
10636 (gdb-handler-list): New variable.
10637 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10638 (gdb-pending-handler-p, gdb-handle-reply)
10639 (gdb-remove-all-pending-triggers): New functions.
10640 (gdb-discard-unordered-replies): New defcustom.
10641 (gdb-handler): New defstruct.
10642 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10643 instead of gdb-pending-triggers. Update docstring.
10644 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10645 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10646 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10647 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10648 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10649 (gdb-frame-handler): Pending triggers are now automatically managed.
10650 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10651 Remove argument.
10652 (gdb-input): Automatically handles pending triggers. Update docstring.
10653 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10654 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10655 Update comments.
10656 (gdb-done-or-error): Now use gdb-handle-reply.
10657
d04ce803
JPG
106582013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10659
10660 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10661 gdb-debug-log.
10662
0114073a
GM
106632013-05-14 Glenn Morris <rgm@gnu.org>
10664
10665 * subr.el (user-emacs-directory-warning): New option.
10666 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10667
4d25fd7e
LL
106682013-05-14 Leo Liu <sdl.web@gmail.com>
10669
10670 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10671 during redisplay.
10672 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10673 (octave-font-lock-texinfo-comment): Fix invalid search bound
10674 error: wrong side of point.
4d25fd7e 10675
27c8b6eb
GM
106762013-05-14 Glenn Morris <rgm@gnu.org>
10677
61aaeb01
GM
10678 * progmodes/flymake.el (flymake-xml-program): New option.
10679 (flymake-xml-init): Use it.
10680
5bf90bc5
GM
10681 * term/xterm.el: Provide a feature.
10682
10683 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10684
f4c7dfd2
GM
106852013-05-13 Glenn Morris <rgm@gnu.org>
10686
10687 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10688 Add compat aliases as a hack workaround. (Bug#14384)
10689
2aeb3a1d
LL
106902013-05-13 Leo Liu <sdl.web@gmail.com>
10691
b0e069c2
LL
10692 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10693 ###, and %!.
f5a9432f
LL
10694 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10695 C-M-q.
b0e069c2
LL
10696 (octave-comment-start-skip): Include %!.
10697 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10698
30ea8374
LL
106992013-05-12 Leo Liu <sdl.web@gmail.com>
10700
10701 * progmodes/octave.el (inferior-octave-startup): Store the value
10702 of __octave_srcdir__ for octave-source-directories.
10703 (inferior-octave-check-process): New function refactored out of
10704 inferior-octave-send-list-and-digest.
10705 (octave-source-directories)
10706 (octave-find-definition-filename-function): New variables.
10707 (octave-source-directories)
10708 (octave-find-definition-default-filename): New functions.
10709 (octave-find-definition): Improve to find functions implemented in C++.
10710
472a3834
GM
107112013-05-12 Glenn Morris <rgm@gnu.org>
10712
10713 * calendar/diary-lib.el (diary-outlook-format-1):
10714 Don't include dayname in the output. (Bug#14349)
10715
3191b52f
GM
107162013-05-11 Glenn Morris <rgm@gnu.org>
10717
0060ac73
GM
10718 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10719
3191b52f
GM
10720 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10721 Treat cc-provide like provide.
10722
e065ba74
KR
107232013-05-11 Kevin Ryde <user42@zip.com.au>
10724
10725 * cus-dep.el (custom-make-dependencies):
10726 Use generated-autoload-load-name for the sake of files such
10727 such cedet/semantic/bovine/c.el, where the base file name
10728 is not in load-path. (Bug#5277)
10729
36f84c37
GM
107302013-05-11 Glenn Morris <rgm@gnu.org>
10731
10732 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10733 Provide features.
10734
c8730c3a
LL
107352013-05-11 Leo Liu <sdl.web@gmail.com>
10736
10737 * progmodes/octave.el (octave-indent-comment): Improve.
10738 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10739 (octave-eldoc-function-signatures, octave-eldoc-function):
10740 New functions.
c8730c3a
LL
10741 (octave-mode, inferior-octave-mode): Add eldoc support.
10742
212e29f2
RS
107432013-05-11 Richard Stallman <rms@gnu.org>
10744
10745 * epa.el (epa-decrypt-file): Take output file name as argument
10746 and read it using `interactive'.
10747
083fe0d7
LL
107482013-05-11 Leo Liu <sdl.web@gmail.com>
10749
10750 * progmodes/octave.el (octave-beginning-of-line)
10751 (octave-end-of-line): Check before using up-list because it jumps
10752 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10753 (octave-indent-comment): New function.
10754 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10755 (octave-begin-keywords, octave-end-keywords)
10756 (octave-reserved-words, octave-smie-bnf-table)
10757 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10758
8582e4c4
GM
107592013-05-11 Glenn Morris <rgm@gnu.org>
10760
f20def1f
GM
10761 * faces.el (internal-face-x-get-resource):
10762 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10763 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10764 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10765 Fix declarations.
f20def1f 10766
445f95e2
GM
10767 * calc/calc-menu.el: Make it loadable in isolation.
10768
10769 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10770 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10771 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10772 (eudc-bbdb-query-internal): Require 'bbdb.
10773
99fb2756
GM
10774 * lpr.el (lpr-headers-switches):
10775 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10776
10777 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10778
0da7ad96
GM
10779 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10780
8582e4c4
GM
10781 * term.el (term-set-escape-char): Make it idempotent.
10782
f71c50d0
LL
107832013-05-10 Leo Liu <sdl.web@gmail.com>
10784
5ac2eb34
SM
10785 * progmodes/octave.el (inferior-octave-completion-table):
10786 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10787 completion due to bug#11906.
10788 (octave-beginning-of-defun): Re-write to be more general.
10789
d5837773
GM
107902013-05-10 Glenn Morris <rgm@gnu.org>
10791
10792 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10793
027c0f75
SM
107942013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10795
10796 * comint.el (comint-redirect-send-command-to-process): Use :around
10797 rather than :override for comint-redirect-filter.
10798 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10799 Call it instead of comint-redirect-original-filter-function (which
10800 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10801
4465bfb4
JD
108022013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10803
10804 * frame.el (display-monitor-attributes-list): Add NS case.
10805 (ns-display-monitor-attributes-list): Declare.
10806
2d809ffa 108072013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10808
10809 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10810
e54eeb9b
GM
108112013-05-09 Glenn Morris <rgm@gnu.org>
10812
56cd351d
GM
10813 * international/fontset.el (vertical-centering-font-regexp):
10814 Set standard-value.
10815
d84b6108
GM
10816 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10817
a931698a
GM
10818 * bookmark.el (bookmark-search-delay):
10819 * cus-start.el (vertical-centering-font-regexp):
10820 * ps-mule.el (ps-mule-font-info-database-default):
10821 * ps-print.el (ps-default-fg, ps-default-bg):
10822 * type-break.el (type-break-good-break-interval):
10823 * whitespace.el (whitespace-indentation-regexp)
10824 (whitespace-space-after-tab-regexp):
10825 * emacs-lisp/testcover.el (testcover-1value-functions)
10826 (testcover-noreturn-functions, testcover-progn-functions)
10827 (testcover-prog1-functions):
10828 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10829 * eshell/em-glob.el (eshell-glob-translate-alist):
10830 * play/tetris.el (tetris-tty-colors):
10831 * progmodes/cpp.el (cpp-face-default-list):
10832 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10833 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10834 (idlwave-help-browser-generic-args):
10835 * progmodes/make-mode.el (makefile-special-targets-list):
10836 * progmodes/python.el (python-shell-virtualenv-path):
10837 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10838 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10839 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10840 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10841 * textmodes/reftex-vars.el (reftex-format-label-function):
10842 * textmodes/remember.el (remember-diary-file): Fix custom types.
10843
e54eeb9b
GM
10844 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10845 Add :version.
10846
455851dd
LL
108472013-05-09 Leo Liu <sdl.web@gmail.com>
10848
10849 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10850 Restore file completion. (Bug#14300)
455851dd
LL
10851 (inferior-octave-startup): Fix incorrect highlighting for the
10852 first prompt.
10853
a9e4425b
SM
108542013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * progmodes/ruby-mode.el: First cut at SMIE support.
10857 (ruby-use-smie): New var.
10858 (ruby-smie-grammar): New constant.
10859 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10860 (ruby-smie--forward-token, ruby-smie--backward-token)
10861 (ruby-smie-rules): New functions.
10862 (ruby-mode-variables): Setup SMIE if applicable.
10863
060ca408
EZ
108642013-05-08 Eli Zaretskii <eliz@gnu.org>
10865
10866 * simple.el (line-move-visual): Signal beginning/end of buffer
10867 only if vertical-motion moved less than it was requested. Avoids
10868 silly incorrect error messages when there are display strings with
10869 multiple newlines at EOL.
10870
1d5963cc
SM
108712013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10874 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10875 (prolog-char-quote-workaround):
10876 * progmodes/cperl-mode.el (cperl-under-as-char):
10877 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10878 Mark as obsolete.
10879 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10880 their declaration.
10881 (vhdl-mode-syntax-table-init): Remove.
10882
c9990474
SM
10883 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10884 last change.
1d5963cc
SM
10885
10886 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10887 syntax for "_".
10888 (ld-script-font-lock-keywords):
10889 Change regexps to use things like \_< and \_>.
10890
10891 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10892 Change all regexps to use things like \_< and \_>.
10893
10894 * progmodes/autoconf.el (autoconf-definition-regexp)
10895 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10896 Handle a _ with symbol syntax.
10897 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10898
c9990474
SM
10899 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10900 Consolidate declaration.
1d5963cc
SM
10901 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10902 the declaration.
10903 (ada-create-syntax-table): Remove.
10904 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10905 already has the right syntax nowadays.
10906 (ada-goto-next-word): Don't change the syntax of "_".
10907
10908 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10909 with-wrapper-hook.
10910
72d3cfca
SS
109112013-05-08 Sam Steingold <sds@gnu.org>
10912
10913 * thingatpt.el (thing-at-point): Accept optional second argument
10914 NO-PROPERTIES to strip the text properties from the return value.
10915 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10916 to `thing-at-point' instead of stripping the properties ourselves.
10917 Also, when `thing-at-point' fails to find a url, prepend "http://"
10918 to the filename at point on the assumption that the user is
10919 pointing at something like gnu.org/gnu.
10920
5cb15713
JB
109212013-05-08 Juanma Barranquero <lekktu@gmail.com>
10922
10923 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10924 * faces.el (crm-separator):
10925 Silence byte-compiler.
10926
10927 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10928 (tool-bar-map): Remove unneeded defvars.
10929
ea78b95b
LL
109302013-05-08 Leo Liu <sdl.web@gmail.com>
10931
10932 Re-work a fix for bug#10994 based on Le Wang's patch.
10933 * ido.el (ido-remove-consecutive-dups): New helper.
10934 (ido-completing-read): Use it.
10935 (ido-chop): Revert fix for bug#10994.
10936
dc7466df
AS
109372013-05-08 Adam Spiers <emacs@adamspiers.org>
10938
10939 * cus-edit.el (custom-save-variables):
10940 Pretty-print long values. (Bug#14187)
10941
9ecf672a
GM
109422013-05-08 Glenn Morris <rgm@gnu.org>
10943
10944 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10945 (m4-mode-syntax-table): Init in the defvar.
10946 (m4-mode-abbrev-table): Let define-derived-mode define it.
10947
3f555be8
TT
109482013-05-08 Tom Tromey <tromey@redhat.com>
10949
10950 * progmodes/m4-mode.el (m4-mode-syntax-table):
10951 Do not treat "_" as word constituent. (Bug#14167)
10952
7cc8ae06
GM
109532013-05-07 Glenn Morris <rgm@gnu.org>
10954
4f58bc06
GM
10955 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10956 Remove explicit eshell-isearch-cancel-map.
10957
7cc8ae06
GM
10958 * progmodes/f90.el (f90-smart-end-names): New option.
10959 (f90-smart-end): Doc fix.
10960 (f90-end-block-optional-name): New constant.
10961 (f90-block-match): Respect f90-smart-end-names.
10962
ceb57e59
SM
109632013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
10964
10965 * progmodes/octave.el (octave-smie-forward-token): Be more careful
10966 about implicit semi-colons (bug#14218).
10967
4e3f9230
YM
109682013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10969
10970 * frame.el (display-monitor-attributes-list)
10971 (frame-monitor-attributes): New functions.
10972
203a5572
LL
109732013-05-06 Leo Liu <sdl.web@gmail.com>
10974
10975 * progmodes/octave.el (octave-syntax-propertize-function): Change
10976 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10977 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 10978 (octave-completion-at-point): Rename from
203a5572
LL
10979 octave-completion-at-point-function.
10980 (inferior-octave-directory-tracker): Robustify.
10981 (octave-text-functions): Remove and fix its uses. No such things
10982 any more.
10983
ee6cff99
SM
109842013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10985
10986 * emacs-lisp/trace.el (trace--display-buffer): New function.
10987 (trace-make-advice): Use it.
10988
32985194
JL
109892013-05-06 Juri Linkov <juri@jurta.org>
10990
10991 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10992 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10993 Doc fix.
10994 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10995 in the help string. (Bug#12985)
10996
a1c700de
KD
109972013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10998
10999 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11000
c67c0839
SM
110012013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11002
323885fd
SM
11003 * progmodes/perl-mode.el: Add support for here documents.
11004 (perl-syntax-propertize-function): Match here-doc markers.
11005 (perl-syntax-propertize-special-constructs): Find their end.
11006 (perl-imenu-generic-expression): Use [:alnum:].
11007
c67c0839
SM
11008 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11009 (advice--add-function): Refresh the advice if already present
11010 (bug#14317).
11011
d491e7a8
IA
110122013-05-06 Ivan Andrus <darthandrus@gmail.com>
11013
11014 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11015
ddf9925e
GM
110162013-05-06 Glenn Morris <rgm@gnu.org>
11017
7cc3af27
GM
11018 * w32-fns.el (w32-charset-info-alist): Declare.
11019
16e343d6
GM
11020 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11021 of its defcustom properties.
11022 (eshell-cmpl-initialize): No need to load pcomplete.
11023
7d889a47
GM
11024 * generic-x.el: No need to require comint when compiling.
11025
ddf9925e
GM
11026 * net/eudc-export.el: Make it loadable without bbdb.
11027 (top-level): Use require rather than load-library.
11028 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11029 (eudc-batch-export-records-to-bbdb)
11030 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11031 Require bbdb.
11032
1e2c18df
SM
110332013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11034
11035 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11036 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11037 some tweaks, instead.
11038
02502a5f
LL
110392013-05-05 Leo Liu <sdl.web@gmail.com>
11040
11041 * progmodes/octave.el (octave-font-lock-keywords)
11042 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11043 (inferior-octave-send-list-and-digest): Improve error message.
11044 (octave-mode, inferior-octave-mode): Use setq-local.
11045 (octave-help): Set info-lookup-mode.
11046
0dc04f42
RS
110472013-05-05 Richard Stallman <rms@gnu.org>
11048
6c54491c
RS
11049 * vc/compare-w.el (compare-windows-whitespace):
11050 Treat no-break space as whitespace.
11051
0dc04f42
RS
11052 * mail/rmailsum.el (rmail-summary-rmail-update):
11053 Detect empty summary and don't change selected message.
11054 (rmail-summary-goto-msg): Likewise.
11055
df8f35df
RS
11056 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11057 Doc fixes, rename args.
11058
5356e1a3
AM
110592013-05-05 Alan Mackenzie <acm@muc.de>
11060
11061 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11062
d44014cb
JL
110632013-05-05 Juri Linkov <juri@jurta.org>
11064
11065 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11066 to not add the length of the summary segment to the return value.
11067 (Bug#14125)
11068
c129b51f
LL
110692013-05-05 Leo Liu <sdl.web@gmail.com>
11070
11071 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11072 (inferior-octave-output-filter): Remove.
11073 (octave-send-region, inferior-octave-startup): Fix callers.
11074 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11075 (octave-binary-file-extensions): New user variable.
11076 (octave-find-definition): Confirm if opening binary files.
11077 (octave-help-file): Use octave-find-definition to get the binary
11078 confirmation.
11079 (octave-help): Adjust for octave-help-file change.
11080
aa7dab97
SM
110812013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11084 Merge the two entries that handle function definitions.
11085 (pascal--syntax-propertize): New const.
11086 (pascal-mode): Use it. Use setq-local.
11087
fd3a9a6b
GM
110882013-05-04 Glenn Morris <rgm@gnu.org>
11089
11090 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11091 (diary-from-outlook): Respect diary-from-outlook-function.
11092
30c7e542
SM
110932013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11096 Move the declaration from C.
11097 (read-minibuffer, eval-minibuffer): Move from C.
11098 (completion-setup-function): Avoid minibuffer-completion-contents.
11099
b54f978b
LL
111002013-05-03 Leo Liu <sdl.web@gmail.com>
11101
11102 * progmodes/octave.el (octave-font-lock-keywords): Do not
11103 dehighlight 'end' in comments or strings.
30c7e542
SM
11104 (octave-completing-read, octave-goto-function-definition):
11105 New helpers.
d4d0f9b3
LL
11106 (octave-help-buffer): New user variable.
11107 (octave-help-file, octave-help-function): New button types.
11108 (octave-help): New command and bind it to C-h ;.
11109 (octave-find-definition): New command and bind it to M-.
d74a1581 11110 (user-error): Alias to error if not defined.
b54f978b 11111
27135018
LL
111122013-05-02 Leo Liu <sdl.web@gmail.com>
11113
11114 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11115 for \. (bug#14332)
11116 (octave-font-lock-keywords): Include [ and {.
11117
0d634d3a
LL
111182013-05-02 Leo Liu <sdl.web@gmail.com>
11119
11120 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11121 (inferior-octave): Remove calling comint-mode and return the buffer.
11122 (inferior-octave-startup): Cosmetic changes.
11123
b4c8295e
LL
111242013-05-02 Leo Liu <sdl.web@gmail.com>
11125
30c7e542
SM
11126 * progmodes/octave.el (octave-syntax-propertize-function):
11127 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11128
f12ad6ec
GM
111292013-05-02 Glenn Morris <rgm@gnu.org>
11130
11131 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11132 * desktop.el (vc-dir-mode): Just autoload it here.
11133
30cac1e0
AM
111342013-05-02 Alan Mackenzie <acm@muc.de>
11135
11136 Eliminate variable c-standard-font-lock-fontify-region-function.
11137 * progmodes/cc-mode.el
11138 (c-standard-font-lock-fontify-region-function): Remove.
11139 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11140
d8ef28b1
LL
111412013-05-01 Leo Liu <sdl.web@gmail.com>
11142
2640d52e 11143 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11144 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11145 variables were removed from Octave in 2007.
d8ef28b1
LL
11146 (inferior-octave-startup): Fix uses.
11147 (comint-line-beginning-position): Remove compatibility code for
11148 emacs 21.
11149
ac63ec89
JL
111502013-05-01 Juri Linkov <juri@jurta.org>
11151
11152 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11153
9e9be37c
JL
111542013-05-01 Juri Linkov <juri@jurta.org>
11155
11156 * comint.el (comint-previous-matching-input): Don't print message
11157 "History item: %d" when `isearch-mode' is active.
11158 (comint-history-isearch-message): Print message "History item: %d"
11159 when `comint-input-ring-index' is not empty and this function is
11160 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11161
9b92c13b
LL
111622013-05-01 Leo Liu <sdl.web@gmail.com>
11163
11164 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11165 definitions. Use completion-at-point to insert keywords.
11166 (octave-abbrev-start): Remove.
11167 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11168
b12d33d7
LL
111692013-04-30 Leo Liu <sdl.web@gmail.com>
11170
11171 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11172 change.
11173
3d1c39fa
AM
111742013-04-30 Alan Mackenzie <acm@muc.de>
11175
11176 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11177 * progmodes/cc-engine.el (c-back-over-member-initializers):
11178 new function.
3d1c39fa
AM
11179 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11180 (most) member init lists.
11181
5147fc17
RS
111822013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11183
11184 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11185 variable.
11186
5b78d7fc
LL
111872013-04-30 Leo Liu <sdl.web@gmail.com>
11188
11189 * progmodes/octave.el (octave-variables): Remove. No builtin
11190 variables any more. All converted to functions.
11191 (octave-font-lock-keywords, octave-completion-at-point-function):
11192 Fix uses.
11193 (octave-font-lock-texinfo-comment): New user variable.
11194 (octave-texinfo-font-lock-keywords): New variable for texinfo
11195 comment block.
11196 (octave-function-comment-block): New face.
11197 (octave-font-lock-texinfo-comment): New function.
11198 (octave-mode): Font lock texinfo comment block.
11199
38d8527b
LL
112002013-04-29 Leo Liu <sdl.web@gmail.com>
11201
11202 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11203 indexing expression.
11204 (octave-continuation-string): Do not use \.
11205 (inferior-octave-complete-impossible): Remove.
11206 (inferior-octave-completion-table)
11207 (inferior-octave-completion-at-point): Remove its uses.
11208 (inferior-octave-startup): completion_matches was introduced to
11209 Octave in 1996 so safe to assume it.
11210 (octave-function-file-comment): Improve to follow how Octave does it.
11211 (octave-update-function-file-comment): Tweak.
11212
2ec12cb0
LL
112132013-04-29 Leo Liu <sdl.web@gmail.com>
11214
11215 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11216 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11217 (octave-function-file-comment): Fix typo.
11218 (octave-sync-function-file-names): Use read-char-choice.
11219
6eaed048
JB
112202013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11221
11222 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11223 to t for the less important warnings.
11224
3ffa2d4f
DH
112252013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11226
11227 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11228
685c9501
GM
112292013-04-27 Glenn Morris <rgm@gnu.org>
11230
11231 * vc/log-view.el (log-view-current-entry):
11232 Treat "---" separator lines as part of the following rev. (Bug#14169)
11233
0208ede7
JL
112342013-04-27 Juri Linkov <juri@jurta.org>
11235
11236 * subr.el (read-number): Doc fix about using it by interactive
11237 code letter `n'. (Bug#14254)
11238
5db9dace
JL
112392013-04-27 Juri Linkov <juri@jurta.org>
11240
11241 * desktop.el (desktop-auto-save-timeout): New option.
11242 (desktop-file-checksum): New variable.
11243 (desktop-save): Add optional arg `auto-save' and don't auto-save
11244 if nothing changed.
11245 (desktop-auto-save-timer): New variable.
11246 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11247 (after-init-hook): Call `desktop-auto-save-set-timer'.
11248 Suggested by Reuben Thomas <rrt@sc3d.org> in
11249 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11250
b7260dd4
LL
112512013-04-27 Leo Liu <sdl.web@gmail.com>
11252
11253 * progmodes/octave.el (octave-function-file-p)
11254 (octave-skip-comment-forward, octave-function-file-comment)
11255 (octave-update-function-file-comment): New functions.
11256 (octave-mode-map): Bind C-c ; to
11257 octave-update-function-file-comment.
11258 (octave-mode-menu): Add octave-update-function-file-comment.
11259 (octave-mode, inferior-octave-mode): Fix doc-string.
11260 (octave-insert-defun): Conform to Octave's coding convention.
11261 (Bug#14285)
11262
11263 * files.el (basic-save-buffer): Don't let errors in
11264 before-save-hook prevent saving buffer.
11265
c46da669
RW
112662013-04-20 Roland Winkler <winkler@gnu.org>
11267
11268 * faces.el (read-face-name): Use completing-read if arg multiple
11269 is nil.
11270
a81ee1eb
IL
112712013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11272
11273 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11274 displayed, move point to after the totals line.
11275 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11276 for the details.
11277
4fac34ce
SM
112782013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11279
11280 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11281 Add current dir to the load-path.
11282 (package-generate-autoloads): Don't rely on
11283 autoload-ensure-default-file.
11284
f6bfc063
RT
112852013-04-26 Reuben Thomas <rrt@sc3d.org>
11286
d40ab5cf
BG
11287 * textmodes/remember.el (remember-store-in-files): Document that
11288 the file name format is passed to `format-time-string'.
f6bfc063 11289
e55d3b04
LL
112902013-04-26 Leo Liu <sdl.web@gmail.com>
11291
11292 * progmodes/octave.el (octave-sync-function-file-names): New function.
11293 (octave-mode): Use it in before-save-hook.
11294
e53052d3
SM
112952013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11296
140ef50c
SM
11297 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11298 (bug#14274).
11299
e53052d3
SM
11300 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11301 \n and comment, even if it's not an implicit ; (bug#14218).
11302
af80458d 113032013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11304
11305 * subr.el (read-number): Once more use `read' rather than
11306 `string-to-number', to trap non-numeric input. (Bug#14254)
11307
af80458d 113082013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11309
11310 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11311 Use `syntax-multiline' text property consistently instead of
8a621d53 11312 `font-lock-multiline'. (Bug#14237)
70203c2e 11313
e6ea1f6c
GM
113142013-04-26 Glenn Morris <rgm@gnu.org>
11315
11316 * emacs-lisp/shadow.el (list-load-path-shadows):
11317 No longer necessary to check for duplicate simple.el, since
11318 2012-07-07 change to init_lread to not include installation lisp
11319 directories in load-path when running uninstalled. (Bug#14270)
11320
070ccca4
LL
113212013-04-26 Leo Liu <sdl.web@gmail.com>
11322
11323 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11324 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11325 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11326 octave-in-string-or-comment-p.
11327 (octave-in-comment-p, octave-in-string-p)
11328 (octave-in-string-or-comment-p): Replace defsubst with defun.
11329
9d1c5fb6
PE
113302013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11331
11332 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11333
c034abda
BG
113342013-04-25 Bastien Guerry <bzg@gnu.org>
11335
11336 * textmodes/remember.el (remember-data-directory)
11337 (remember-directory-file-name-format): Fix custom types.
11338
584ea277
LL
113392013-04-25 Leo Liu <sdl.web@gmail.com>
11340
e53052d3
SM
11341 * progmodes/octave.el (octave-completion-at-point-function):
11342 Make use of inferior octave process.
584ea277
LL
11343 (octave-initialize-completions): Remove.
11344 (inferior-octave-completion-table): New function.
11345 (inferior-octave-completion-at-point): Use it.
11346 (octave-completion-alist): Remove.
11347
1693b06a
SM
113482013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11349
11350 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11351 (opascal-mode-syntax-table): New var.
11352 (opascal-literal-kind, opascal-is-literal-end)
11353 (opascal-literal-token-at): Rewrite.
11354 (opascal--literal-start-re, opascal-font-lock-keywords)
11355 (opascal--syntax-propertize): New constants.
11356 (opascal-font-lock-defaults): Adjust.
11357 (opascal-mode): Use them. Set comment-<foo> variables as well.
11358 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11359 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11360 (delphi-other-face, opascal-other-face): Remove face variables.
11361 (opascal-save-state): Remove macro.
11362 (opascal-fontifying-progress-step): Remove constant.
11363 (opascal--ignore-changes): Remove var.
11364 (opascal-set-token-property, opascal-parse-next-literal)
11365 (opascal-is-stable-literal, opascal-complete-literal)
11366 (opascal-is-literal-start, opascal-face-of)
11367 (opascal-parse-region, opascal-parse-region-until-stable)
11368 (opascal-fontify-region, opascal-after-change)
11369 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11370 (opascal-debug-parse-region, opascal-debug-parse-window)
11371 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11372 (opascal-debug-fontify-buffer): Remove.
11373 (opascal-debug-mode-map): Adjust accordingly.
11374
be64c05d
LL
113752013-04-25 Leo Liu <sdl.web@gmail.com>
11376
11377 Merge octave-mod.el and octave-inf.el into octave.el with some
11378 cleanups.
11379 * progmodes/octave.el: New file renamed from octave-mod.el.
11380 * progmodes/octave-inf.el: Merged into octave.el.
11381 * progmodes/octave-mod.el: Renamed to octave.el.
11382
d79d37bd
TH
113832013-04-25 Tassilo Horn <tsdh@gnu.org>
11384
11385 * textmodes/reftex-vars.el
11386 (reftex-label-ignored-macros-and-environments): New defcustom.
11387
11388 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11389
ced3fc5d
SM
113902013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11391
11392 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11393 (smie-indent-keyword): Improve the check to ensure that the next
11394 comment is really on the same line.
11395 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11396
11397 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11398 semi-colons if the line is not otherwise empty (bug#14218).
11399
1c141dad
GM
114002013-04-25 Glenn Morris <rgm@gnu.org>
11401
11402 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11403
5058062a
SM
114042013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * progmodes/opascal.el (opascal-set-token-property): Rename from
11407 opascal-set-text-properties and only set `token' (bug#14134).
11408 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11409 (opascal-literal-text-properties): Remove.
11410 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11411 Adjust callers.
11412
5db9dace 114132013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11414
11415 * textmodes/remember.el (remember-handler-functions): Add an
11416 option for a new handler `remember-store-in-files'.
11417 (remember-data-directory, remember-directory-file-name-format):
11418 New options.
11419 (remember-store-in-files): New function to store remember notes
11420 as separate files within a directory.
11421
4391916c
MH
114222013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11423
11424 * progmodes/compile.el (compilation-next-error-function):
11425 Pass "formats" to compilation-find-file (bug#11777).
11426
bb7cdf58
GM
114272013-04-24 Glenn Morris <rgm@gnu.org>
11428
3b8fe752 11429 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11430 * vc/vc-hg.el (vc-hg-print-log):
11431 * vc/vc-svn.el (vc-svn-print-log):
11432 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11433
bb7cdf58
GM
11434 * vc/vc-bzr.el (vc-bzr-print-log):
11435 * vc/vc-cvs.el (vc-cvs-print-log):
11436 * vc/vc-git.el (vc-git-print-log):
11437 * vc/vc-hg.el (vc-hg-print-log):
11438 * vc/vc-mtn.el (vc-mtn-print-log):
11439 * vc/vc-rcs.el (vc-rcs-print-log):
11440 * vc/vc-sccs.el (vc-sccs-print-log):
11441 * vc/vc-svn.el (vc-svn-print-log):
11442 * vc/vc.el (vc-print-log-internal): Doc fixes.
11443
b46a056e
GM
114442013-04-23 Glenn Morris <rgm@gnu.org>
11445
11446 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11447 Remove venerable code attempting to avoid substitute-command-keys.
11448
0aecf718
TH
114492013-04-23 Tassilo Horn <tsdh@gnu.org>
11450
4391916c
MH
11451 * textmodes/reftex-vars.el (reftex-label-regexps):
11452 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11453
117f94cf
SM
114542013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11455
4391916c 11456 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11457 Use lexical-binding.
11458 (jit-lock-force-redisplay): Use markers, check buffer's continued
11459 existence and beware narrowed buffers.
11460 (jit-lock-fontify-now): Adjust call accordingly.
11461
1d829c64
SM
114622013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11465 to avoid misleading the user.
11466
72d548a9
LL
114672013-04-22 Leo Liu <sdl.web@gmail.com>
11468
11469 * info-look.el: Prefer latex2e.info. (Bug#14240)
11470
d0853629
MA
114712013-04-22 Michael Albinus <michael.albinus@gmx.de>
11472
11473 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11474
11475 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11476 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11477 (tramp-set-completion-function, tramp-parse-putty):
11478 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11479 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11480 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11481 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11482 (tramp-call-local-coding-command): Use `tramp-call-process'
11483 instead of `tramp-compat-call-process'.
11484
11485 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11486 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11487 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11488 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11489 (tramp-maybe-send-script): Check for Perl binary.
11490 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11491
38cc0210
DU
114922013-04-22 Daiki Ueno <ueno@gnu.org>
11493
11494 * epg.el (epg-context-pinentry-mode): New function.
11495 (epg-context-set-pinentry-mode): New function.
11496 (epg--start): Pass --pinentry-mode option to gpg command.
11497
cc641ee1
XF
114982013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11499
02d844b5 11500 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11501 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11502 `completion-at-point'. (Bug#13774)
5d4e5c31 11503
cc641ee1
XF
11504 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11505 default key binding for `describe-distribution' has been moved to
11506 `C-h C-o'. (Bug#13970)
11507
1b42ee43
GM
115082013-04-21 Glenn Morris <rgm@gnu.org>
11509
11510 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11511 Add doc strings.
11512 (vc-print-log): Clarify interactive prompt.
11513
a6d63d97
GM
115142013-04-20 Glenn Morris <rgm@gnu.org>
11515
11516 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11517 No longer include timestamp etc information.
11518
d7f5c16f
RW
115192013-04-20 Roland Winkler <winkler@gnu.org>
11520
11521 * faces.el (read-face-name): Bug fix, return just one face if arg
11522 multiple is nil. (Bug#14209)
11523
bcd7a0a4
SM
115242013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11527 (remove-function): Autoload.
11528
11529 * comint.el (comint-redirect-original-filter-function): Remove.
11530 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11531 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11532 (vc-cvs-annotate-command):
bcd7a0a4
SM
11533 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11534 * progmodes/prolog.el (prolog-consult-compile):
11535 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11536 Use add/remove-function instead.
11537 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11538 (gud-tooltip-process-output, gud-tooltip-tips):
11539 Use add/remove-function instead.
11540 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11541 (scheme-interaction-mode, exit-scheme-interaction-mode):
11542 Use add/remove-function instead.
11543
11544 * vc/vc-dispatcher.el: Use lexical-binding.
11545 (vc--process-sentinel): Rename from vc-process-sentinel.
11546 Change last arg to be the code to run. Don't use vc-previous-sentinel
11547 and vc-sentinel-commands any more.
11548 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11549 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11550
e36b2d20 115512013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11552
bcd7a0a4 11553 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11554 Handle function names with a single character. (Bug#14111)
4d3268ba 11555
781b4af6 115562013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11557
11558 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11559 for subroutines defined in an eval (bug#14182).
11560
7d688336
TV
115612013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11562
11563 * bookmark.el (bookmark-completing-read): Improve handling of empty
11564 string (bug#14176).
11565
31dcede0
SM
115662013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11569
adc31213
FEG
115702013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11571
11572 New faster Imenu implementation (bug#14058).
11573 * progmodes/python.el:
11574 (python-imenu-prev-index-position):
11575 (python-imenu-format-item-label-function)
11576 (python-imenu-format-parent-item-label-function)
11577 (python-imenu-format-parent-item-jump-label-function):
11578 New vars.
11579 (python-imenu-format-item-label)
11580 (python-imenu-format-parent-item-label)
11581 (python-imenu-format-parent-item-jump-label)
11582 (python-imenu--put-parent, python-imenu--build-tree)
11583 (python-imenu-create-index, python-imenu-create-flat-index)
11584 (python-util-popn): New functions.
11585 (python-mode): Set imenu-create-index-function to
11586 python-imenu-create-index.
11587
cdca8255
SM
115882013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * winner.el (winner-active-region): Use region-active-p, activate-mark
11591 and deactivate-mark (bug#14225).
11592
11593 * simple.el (deactivate-mark): Don't inline it.
11594
beb42340
MA
115952013-04-18 Michael Albinus <michael.albinus@gmx.de>
11596
11597 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11598
fc7f4d7e
TH
115992013-04-18 Tassilo Horn <tsdh@gnu.org>
11600
11601 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11602 file extensions from the archive-mode entry in order to prefer
11603 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11604
29f47822
LL
116052013-04-18 Leo Liu <sdl.web@gmail.com>
11606
11607 * bindings.el (help-event-list): Add ?\?.
11608
d36ed1c8
SM
116092013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * subr.el (with-wrapper-hook): Declare obsolete.
11612 * simple.el (filter-buffer-substring-function): New hook.
11613 (filter-buffer-substring): Use it.
11614 (filter-buffer-substring-functions): Mark obsolete.
11615 * minibuffer.el (completion-in-region-function): New hook.
11616 (completion-in-region): Use it.
11617 (completion-in-region-functions): Mark obsolete.
11618 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11619 * abbrev.el (abbrev-expand-function): New hook.
11620 (expand-abbrev): Use it.
11621 (abbrev-expand-functions): Mark obsolete.
11622 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11623 and :filter-return.
11624
04754d36
FEG
116252013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11626
11627 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11628 and do not care about match data.
11629
dd8791e9
SM
116302013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11633 completion tables when completing error conditions and
11634 `declare' arguments.
11635 (lisp-complete-symbol, field-complete): Mark as obsolete.
11636 (check-parens): Unmatched parens are user errors.
11637 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11638
ffe54a13
AM
116392013-04-17 Michal Nazarewicz <mina86@mina86.com>
11640
dd8791e9
SM
11641 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11642 command changed buffer (ie. `flyspell-pre-buffer' is not current
11643 buffer), which prevents making decisions based on invalid value of
11644 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11645 cause an error when `flyspell-pre-point' was nil after switching
11646 buffers.
11647 (flyspell-post-command-hook): No longer needs to change buffers when
11648 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11649
ec7e39f2
AM
116502013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11651
11652 * textmodes/ispell.el (ispell-add-per-file-word-list):
11653 Fix `flyspell-correct-word-before-point' error when accepting
11654 words and `coment-padding' is an integer by using
11655 `comment-normalize-vars' (Bug #14214).
11656
083850a6
FEG
116572013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11658
11659 New defun movement commands.
11660 * progmodes/python.el (python-nav--syntactically)
11661 (python-nav--forward-defun, python-nav-backward-defun)
11662 (python-nav-forward-defun): New functions.
11663
619ed6e1
FEG
116642013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11665
11666 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11667 (python-syntax-context): Use named compiler-macro for backwards
11668 compatibility with Emacs 24.x.
11669
7a1beb6c
LL
116702013-04-17 Leo Liu <sdl.web@gmail.com>
11671
11672 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11673 octave-hide-process-buffer.
11674
2d3fa3e5
SM
116752013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11676
11677 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11678 (bug#14216).
11679
7ce5be54
JPG
116802013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11681
11682 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11683 Fix adjustment of offset when receiving incomplete responses from GDB
11684 (bug#14129).
11685
351edece
SM
116862013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11687
11688 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11689 python-mode-abbrev-table.
11690 (python-skeleton-define): Adjust accordingly.
11691 (python-mode-abbrev-table): New table that inherits from it so that
11692 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11693
11694 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11695 (abbrev-symbol): Use it.
11696 (abbrev--before-point): Use it since we already handle inheritance.
11697
613f9481
LL
116982013-04-16 Leo Liu <sdl.web@gmail.com>
11699
11700 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11701 binding to info-lookup-symbol.
11702
51646b62
JB
117032013-04-16 Juanma Barranquero <lekktu@gmail.com>
11704
11705 * minibuffer.el (completion--twq-all):
11706 * term/ns-win.el (ns-initialize-window-system):
11707 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11708
efb3f01d
SM
117092013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11710
36c0a301
SM
11711 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11712 global bindings.
11713
efb3f01d
SM
11714 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11715
fb549d64
DG
117162013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11717
11718 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11719 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11720 to nil.
11721 (ruby-end-of-defun): Remove the unused arg, change the docstring
11722 to reflect that this function is only used as the value of
11723 `end-of-defun-function'.
11724 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11725 to reflect an earlier change that beginning/end-of-defun functions
11726 jump between methods in a class definition, as well as top-level
11727 functions.
11728
21e8fe2f
SM
117292013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * minibuffer.el (minibuffer-complete): Don't just scroll
11732 a *Completions* that's been iconified.
11733 (minibuffer-force-complete): Make sure repetitions do cycle when going
11734 through completion-in-region -> minibuffer-complete.
11735
20e527d0
AM
117362013-04-15 Alan Mackenzie <acm@muc.de>
11737
11738 Correct the placement of c-cpp-delimiters when there're #s not at
11739 col 0.
11740
11741 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11742 place a submatch around the #.
21e8fe2f
SM
11743 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11744 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11745 on the #, not BOL.
11746
dabefae5
SM
117472013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11750 (advice--member-p): New arg `name'.
11751 (advice--add-function, advice-member-p): Use it (bug#14202).
11752
85c9ab64
AM
117532013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11754
11755 Reformulate java imenu-generic-expression.
11756 The old expression contained ill formed regexps.
11757
11758 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11759 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11760 (cc-imenu-java-method-arg-regexp): New defconsts.
11761 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11762 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11763 handling of spaces in the regexp.
11764
0f821d99
AM
117652013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11766
11767 * textmodes/ispell.el (ispell-command-loop): Remove
11768 flyspell highlight of a word when ispell accepts it (bug #14178).
11769
eb922adf
MA
117702013-04-15 Michael Albinus <michael.albinus@gmx.de>
11771
11772 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11773 uses code from the previous `ange-ftp-run-real-handler'.
11774 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11775 only in case that function exist. This is needed for proper
11776 unloading of Tramp.
11777
4d9a0979
TH
117782013-04-15 Tassilo Horn <tsdh@gnu.org>
11779
11780 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11781
11782 * textmodes/reftex.el (reftex-compile-variables): Use it.
11783
a829b0dc
SM
117842013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11785
91e8293c
SM
11786 * files.el (normal-mode): Only use default major-mode if no other mode
11787 was specified.
11788
830aed4d
SM
11789 * emacs-lisp/trace.el (trace-values): New function.
11790
a829b0dc
SM
11791 * files.el: Allow : in local variables (bug#14089).
11792 (hack-local-variable-regexp): New var.
11793 (hack-local-variables-prop-line, hack-local-variables): Use it.
11794
7ae9f0fb
RW
117952013-04-13 Roland Winkler <winkler@gnu.org>
11796
11797 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11798 data before it gets modified by bibtex-beginning-of-entry.
11799
6646e848
RW
118002013-04-13 Roland Winkler <winkler@gnu.org>
11801
11802 * textmodes/bibtex.el (bibtex-url): Doc fix.
11803
118042013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11805
11806 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11807 does not visit a BibTeX file, exclude it from the list of buffers
11808 returned by bibtex-initialize.
11809
0aa3616e
SB
118102013-04-13 Stephen Berman <stephen.berman@gmx.net>
11811
11812 * window.el (split-window): Remove interactive form, since as a
11813 command this function is a special case of split-window-below.
11814 Correct doc string.
11815
011cddd6
RW
118162013-04-12 Roland Winkler <winkler@gnu.org>
11817
11818 * faces.el (read-face-name): Do not override value of arg default.
11819 Allow single faces and strings as default values. Remove those
11820 elements from return value that are not faces.
11821 (describe-face): Simplify.
11822 (face-at-point): New optional args thing and multiple so that this
11823 function can provide the same functionality previously provided by
11824 read-face-name.
11825 (make-face-bold, make-face-unbold, make-face-italic)
11826 (make-face-unitalic, make-face-bold-italic, invert-face)
11827 (modify-face, read-face-and-attribute): Use face-at-point.
11828
11829 * cus-edit.el (customize-face, customize-face-other-window)
11830 * cus-theme.el (custom-theme-add-face)
11831 * face-remap.el (buffer-face-set)
11832 * facemenu.el (facemenu-set-face): Use face-at-point.
11833
f24e0036
MA
118342013-04-12 Michael Albinus <michael.albinus@gmx.de>
11835
11836 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11837
da3cda2d
TH
118382013-04-10 Tassilo Horn <tsdh@gnu.org>
11839
11840 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11841 off leading { and trailing } from field values.
11842
15e54145
SM
118432013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11844
78ce603d
SM
11845 * emacs-lisp/timer.el (timer--check): New function.
11846 (timer--time, timer-set-function, timer-event-handler): Use it.
11847 (timer-set-idle-time): Simplify.
11848 (timer--activate): CSE.
11849 (timer-event-handler): Give more info in error message.
11850 (internal-timer-start-idle): New function, moved from C.
11851
15e54145
SM
11852 * mpc.el (mpc-proc): Add `restart' argument.
11853 (mpc-proc-cmd): Use it.
11854 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11855 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11856 less often.
11857
7144c627
MY
118582013-04-10 Masatake YAMATO <yamato@redhat.com>
11859
11860 * progmodes/sh-script.el: Implement `sh-mode' own
11861 `add-log-current-defun-function' (bug#14112).
11862 (sh-current-defun-name): New function.
11863 (sh-mode): Use the function.
11864
b39792eb
BG
118652013-04-09 Bastien Guerry <bzg@gnu.org>
11866
11867 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11868
8acdeb71
SM
118692013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11870
6fcdab68
SM
11871 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11872
8acdeb71
SM
11873 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11874 timer (bug#14156).
11875
e3e7b504
NF
118762013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11877
11878 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11879 declaration.
11880
201bb296
LL
118812013-04-07 Leo Liu <sdl.web@gmail.com>
11882
11883 * pcmpl-x.el: New file.
11884
ebb19708
DA
118852013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11886
11887 Do not set x-display-name until X connection is established.
11888 This is needed to prevent from weird situation described at
11889 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11890 * frame.el (make-frame): Set x-display-name after call to
11891 window system initialization function, not before.
11892 * term/x-win.el (x-initialize-window-system): Add optional
11893 display argument and use it.
11894 * term/w32-win.el (w32-initialize-window-system):
11895 * term/ns-win.el (ns-initialize-window-system):
11896 * term/pc-win.el (msdos-initialize-window-system):
11897 Add compatible optional display argument.
11898
33bb237a
EZ
118992013-04-06 Eli Zaretskii <eliz@gnu.org>
11900
11901 * files.el (normal-backup-enable-predicate): On MS-Windows and
11902 MS-DOS compare truenames of temporary-file-directory and of the
11903 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11904 don't fail comparison by compare-strings. Also, compare file
11905 names case-insensitively on MS-Windows and MS-DOS.
11906
134abf1f
SM
119072013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11910 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11911
d695cb94
DG
119122013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11913
e3e7b504
NF
11914 * whitespace.el (whitespace-color-on, whitespace-color-off):
11915 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11916
f4ad7ea1 119172013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11918
11919 * ispell.el (ispell-set-spellchecker-params):
11920 Really set `ispell-args' for all equivs.
11921
632556e4
SM
119222013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11923
11924 * ido.el (ido-completions): Use extra elements of ido-decorations
11925 (bug#14143).
11926 (ido-decorations): Update docstring.
11927
2a417372
MA
119282013-04-05 Michael Albinus <michael.albinus@gmx.de>
11929
11930 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11931 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11932 nil during initialization, in order not to miss changes since the
11933 file was opened. (Bug#14140)
11934
fc164b0c
LL
119352013-04-05 Leo Liu <sdl.web@gmail.com>
11936
11937 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11938
0ccecc08
JB
119392013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11940
11941 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11942
51af1aa2
GM
119432013-04-04 Glenn Morris <rgm@gnu.org>
11944
11945 * electric.el (electric-pair-inhibit-predicate): Add :version.
11946
b208ebc6
SM
119472013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11948
11949 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11950 when a package is required several times (bug#14082).
11951
f3d3eaf0
RW
119522013-04-04 Roland Winkler <winkler@gnu.org>
11953
11954 * faces.el (read-face-name): Behave as promised by the docstring.
11955 Assume that arg default is a list of faces.
11956 (describe-face): Call read-face-name with list of default faces.
11957
2575da50
TV
119582013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11959
11960 * bookmark.el: Fix deletion of bookmarks (bug#13972).
11961 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11962 (bookmark-bmenu-execute-deletions): Only skip first line if it's
11963 the header.
11964 (bookmark-exit-hook-internal): Save even if list is empty.
11965
397703b4
YH
119662013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
11967
11968 * emacs-lisp/package.el (package-pinned-packages): New var.
11969 (package--add-to-archive-contents): Obey it (bug#14118).
11970
691e26ae
AM
119712013-04-03 Alan Mackenzie <acm@muc.de>
11972
8a621d53
JB
11973 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11974 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
11975
11976 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11977 parameter `not-in-delimiter'. Handle being inside comment opener.
11978 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11979 character in case we're typing a '*' after a '/'.
11980 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11981 instead by passing the parameter to c-state-pp-to-literal.
11982
11983 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11984 for elt. 7 of a parse state.
11985
4b725a70
PE
119862013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11987
11988 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11989 * international/latin1-disp.el, international/mule-util.el:
11990 * language/cyril-util.el, language/european.el, language/ind-util.el:
11991 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11992 * language/tibetan.el, language/viet-util.el:
11993 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11994
15c579f0
SM
119952013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11998 (electric-pair-post-self-insert-function): Use it.
11999 (electric-pair-default-inhibit): New function, extracted from
12000 electric-pair-post-self-insert-function.
12001
a77e2924
RW
120022013-03-31 Roland Winkler <winkler@gnu.org>
12003
12004 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12005
2bd8a4a8
SM
120062013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12009
8d3655be 120102013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12011
12012 Un-indent after "pass" and "return" statements (Bug#13888)
12013 * progmodes/python.el (python-indent-block-enders): New var.
12014 (python-indent-calculate-indentation): Use it.
12015
8d3655be 120162013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12017
12018 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12019 defun. Defining it as defalias could introduce too eager
12020 byte-compiler optimization. (Bug#14030)
12021
8d3655be 120222013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12023
12024 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12025
0b1619da
LL
120262013-03-30 Leo Liu <sdl.web@gmail.com>
12027
12028 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12029 (kmacro-execute-from-register): Pass the keyboard macro to
12030 kmacro-call-macro or repeating won't work correctly.
12031
0b938190
TZ
120322013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12033
12034 * progmodes/subword.el: Back to using `forward-symbol'.
12035
12036 * subr.el (forward-whitespace, forward-symbol)
12037 (forward-same-syntax): Move from thingatpt.el.
12038
35710234
LL
120392013-03-29 Leo Liu <sdl.web@gmail.com>
12040
12041 * kmacro.el (kmacro-to-register): New command.
12042 (kmacro-execute-from-register): New function.
12043 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12044
efc0bb73
SM
120452013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 * mpc.el: Use defvar-local and setq-local.
12048 (mpc--proc-connect): Connection failures are not bugs.
12049 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12050 (mpc-volume-map): Bind to the up-events.
12051
75a2f981
TZ
120522013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12053
12054 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12055 instead of `forward-symbol'.
12056
17c781d1
SM
120572013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12060 (edebug--recursive-edit): Use it.
12061 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12062 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12063
f67bfbcf
LL
120642013-03-28 Leo Liu <sdl.web@gmail.com>
12065
12066 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12067
b59f639d
EZ
120682013-03-27 Eli Zaretskii <eliz@gnu.org>
12069
12070 * facemenu.el (list-colors-callback): New defvar.
12071 (list-colors-redisplay): New function.
12072 (list-colors-display): Install list-colors-redisplay as the
12073 revert-buffer-function. (Bug#14063)
12074
f557c1b1
SM
120752013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12076
b1da2957
SM
12077 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12078 and suffixes don't overlap (bug#14061).
12079
f557c1b1
SM
12080 * case-table.el: Use lexical-binding.
12081 (case-table-get-table): New function.
12082 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12083
002668e1
TZ
120842013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12085
12086 * progmodes/subword.el: Add `superword-mode' to do word motion
12087 over symbol_words (parallels and leverages `subword-mode' which
12088 does word motion inside MixedCaseWords).
12089
73572c72
AG
120902013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12091
78b8f320 12092 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12093 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12094
69b2c07e
SM
120952013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12096
12097 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12098 Change return value to be a sexp. Delay `get-buffer' to after
12099 restoring the desktop (bug#13951).
12100
08bb5ee2
LL
121012013-03-26 Leo Liu <sdl.web@gmail.com>
12102
12103 * register.el: Move semantic tag handling back to
12104 cedet/semantic/senator.el. (Bug#14052)
12105
8d4c974e
SM
121062013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12107
12108 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12109 into the prompt either (bug#13963).
12110
b234d92c
SM
121112013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12114 part of "(error-foo)".
12115
ddfa3cb4
JL
121162013-03-24 Juri Linkov <juri@jurta.org>
12117
12118 * replace.el (list-matching-lines-prefix-face): New defcustom.
12119 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12120 `occur-engine' if `face-differs-from-default-p' returns t.
12121 (occur-engine): Add `,' inside backquote construct to evaluate
12122 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12123 Pass `prefix-face' to the functions `occur-context-lines' and
12124 `occur-engine-add-prefix'.
12125 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12126 `prefix-face' and propertize the prefix with `prefix-face'.
12127 (Bug#14017)
12128
7b0e2f85
LL
121292013-03-24 Leo Liu <sdl.web@gmail.com>
12130
12131 * nxml/rng-valid.el (rng-validate-while-idle)
12132 (rng-validate-quick-while-idle): Guard against deleted buffer.
12133 (Bug#13999)
12134
12135 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12136 is the last entry in kill-buffer-hook.
12137
12138 * files.el (kill-buffer-hook): Doc fix.
12139
b3082f49
DG
121402013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12141
b234d92c
SM
12142 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12143 Make it safe-local.
bde73d27 12144
b3082f49
DG
12145 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12146
a320a2db
LL
121472013-03-23 Leo Liu <sdl.web@gmail.com>
12148
7e74b0fb
LL
12149 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12150 Remove.
12151
12152 * nxml/rng-valid.el (rng-validate-mode)
12153 (rng-after-change-function, rng-do-some-validation):
12154 * nxml/rng-maint.el (rng-validate-buffer):
12155 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12156 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12157 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12158 (nxml-extend-after-change-region): Use with-silent-modifications.
12159
a320a2db
LL
12160 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12161 timer-idle-list.
12162
12163 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12164 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12165 timer-idle-list. (Bug#13999)
12166
e38e6780
JL
121672013-03-23 Juri Linkov <juri@jurta.org>
12168
12169 * info.el (info-index-match): New face.
12170 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12171 main pattern and add text properties with the new face to matches
12172 in index entries relative to the beginning of the index entry.
12173 (Bug#14015)
12174
e8cc7880
DE
121752013-03-21 Eric Ludlam <zappo@gnu.org>
12176
39c87140 12177 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12178 Inhibit read only while inserting objects.
12179
9bb0d822
TZ
121802013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12181
12182 * progmodes/cfengine.el: Update docs to mention
12183 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12184 symbol motion. Remove "_" from the word syntax.
12185
aa703640
TZ
121862013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12187
12188 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12189 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12190
afff09d0
JL
121912013-03-20 Juri Linkov <juri@jurta.org>
12192
12193 * info.el (Info-next-reference-or-link)
12194 (Info-prev-reference-or-link): New functions.
12195 (Info-next-reference, Info-prev-reference): Use them.
12196 (Info-try-follow-nearest-node): Handle footnote navigation.
12197 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12198
9a1ff164
SM
121992013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12202 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12203
2667d15d
PE
122042013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12205
12206 Suppress unnecessary non-ASCII chatter during build process.
12207 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12208 (batch-skkdic-convert): Suppress most of the chatter.
12209 It's not needed so much now that machines are faster,
12210 and its non-ASCII component was confusing; see Dmitry Gutov in
12211 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12212
438b0579
LL
122132013-03-20 Leo Liu <sdl.web@gmail.com>
12214
12215 * ido.el (ido-chop): Fix bug#10994.
12216
c128ab07
DG
122172013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12218
12219 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12220 Remove vars.
9a1ff164
SM
12221 (whitespace-color-on, whitespace-color-off):
12222 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12223
0e6008c5
SM
122242013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12227 remapping in mode-line.
12228 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12229
627b52b0
DG
122302013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12231
12232 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12233 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12234 (whitespace-font-lock-keywords): Change description.
12235 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12236 the constructed keywords instead.
12237 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12238
50c3a20b
LL
122392013-03-19 Leo Liu <sdl.web@gmail.com>
12240
12241 * progmodes/compile.el (compilation-display-error): New command.
12242 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12243 C-o. (Bug#13992)
12244
2aa2157b
PE
122452013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12246
12247 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12248
e477dbfa
JD
122492013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12250
12251 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12252
64ab82d1
MA
122532013-03-18 Michael Albinus <michael.albinus@gmx.de>
12254
12255 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12256
12257 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12258 * net/tramp-gvfs.el (top):
12259 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12260 (tramp-handle-shell-command): Use it.
12261 (tramp-dissect-file-name): Raise an error when hostname is a
12262 method name, and neither method nor user is specified.
12263
12264 * net/trampver.el: Update release number.
12265
33cef733
LL
122662013-03-18 Leo Liu <sdl.web@gmail.com>
12267
12268 Make sure eldoc can be turned off properly.
12269 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12270 eldoc-mode.
12271 (eldoc-display-message-p): Revert last change.
12272 (eldoc-display-message-no-interference-p)
12273 (eldoc-print-current-symbol-info): Tweak.
12274
2167b7b2
TH
122752013-03-18 Tassilo Horn <tsdh@gnu.org>
12276
12277 * doc-view.el (doc-view-new-window-function): Check the new window
12278 overlay's display property instead the char property of the
12279 buffer's first char. Use `with-selected-window' instead of
12280 `save-window-excursion' with `select-window'.
12281 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12282 display property instead the char property of the buffer's first char.
2167b7b2 12283
982efbcd
PE
122842013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12285
12286 Automate the build of ja-dic.el (Bug#13984).
12287 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12288 from the input, rather than assume that it's been done for us by the
12289 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12290 the current date into a ja-dic.el comment, as that complicates
12291 regression testing.
12292
2fcc7665
SM
122932013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * whitespace.el: Fix double evaluation.
12296 (whitespace-space, whitespace-hspace, whitespace-tab)
12297 (whitespace-newline, whitespace-trailing, whitespace-line)
12298 (whitespace-space-before-tab, whitespace-indentation)
12299 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12300 obsolete defvars.
12301 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12302 (whitespace-color-on): Use a single font-lock-add-keywords call.
12303 Fix double-evaluation of face variables.
12304
67c0a6e6
MA
123052013-03-17 Michael Albinus <michael.albinus@gmx.de>
12306
2fcc7665
SM
12307 * net/tramp-adb.el (tramp-adb-parse-device-names):
12308 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12309 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12310
69489f1d
LL
123112013-03-17 Leo Liu <sdl.web@gmail.com>
12312
12313 Extend eldoc to display info in the mode-line. (Bug#13978)
12314 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12315 (eldoc-mode-line-string): New variable.
12316 (eldoc-minibuffer-message): New function.
12317 (eldoc-message-function): New variable.
12318 (eldoc-message): Use it.
12319 (eldoc-display-message-p)
2fcc7665
SM
12320 (eldoc-display-message-no-interference-p):
12321 Support eldoc-post-insert-mode.
69489f1d
LL
12322
12323 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12324 (eval-expression): Run it.
12325
9c44569e
RW
123262013-03-17 Roland Winkler <winkler@gnu.org>
12327
12328 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12329 strings in the list of return values.
12330
327f1f6f
JB
123312013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12332
12333 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12334 radix before checking for HMS forms.
12335
67ed8fcd
LL
123362013-03-16 Leo Liu <sdl.web@gmail.com>
12337
12338 * progmodes/scheme.el: Add indentation and font-locking for λ.
12339 (Bug#13975)
12340
78be8b64 123412013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12342
12343 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12344 token before point (bug#13942).
12345
78be8b64 123462013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12347
95b43468 12348 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12349
98e775e6
EZ
123502013-03-16 Eli Zaretskii <eliz@gnu.org>
12351
12352 * startup.el (command-line-normalize-file-name): Fix handling of
12353 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12354 <xfq.free@gmail.com> in
12355 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12356
2edd6029
MA
123572013-03-15 Michael Albinus <michael.albinus@gmx.de>
12358
12359 Sync with Tramp 2.2.7.
12360
12361 * net/trampver.el: Update release number.
12362
d35f5864
TH
123632013-03-14 Tassilo Horn <tsdh@gnu.org>
12364
e903c210 12365 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12366 (doc-view-insert-image): Don't modify overlay associated to
12367 non-live windows, and implement horizontal centering of image in
12368 case it's smaller than the window.
12369 (doc-view-new-window-function): Force redisplay of new windows on
12370 doc-view buffers.
d35f5864 12371
1c4a85ed
KF
123722013-03-13 Karl Fogel <kfogel@red-bean.com>
12373
12374 * saveplace.el (save-place-alist-to-file): Don't sort
12375 `save-place-alist', just pretty-print it (bug#13882).
12376
85b66a21
MA
123772013-03-13 Michael Albinus <michael.albinus@gmx.de>
12378
a020afb9
JB
12379 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12380 Check whether `default-file-name-coding-system' is bound.
12381 It isn't in XEmacs.
85b66a21 12382
175600da
SM
123832013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12384
e7f7cb1a
SM
12385 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12386 backquotes for `obsolete' (bug#13929).
12387
175600da
SM
12388 * international/mule.el (find-auto-coding): Include file name in
12389 obsolescence warning (bug#13922).
12390
ca68a22e
TZ
123912013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12392
12393 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12394 for CFEngine 3-specific indentation.
12395 (cfengine3-indent-line): Use it. Fix up category regex.
12396 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12397
940e5099
SM
123982013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12399
12400 * type-break.el (type-break-file-name):
12401 * textmodes/remember.el (remember-data-file):
12402 * strokes.el (strokes-file):
12403 * shadowfile.el (shadow-initialize):
12404 * saveplace.el (save-place-file):
12405 * ps-bdf.el (bdf-cache-file):
12406 * progmodes/idlwave.el (idlwave-config-directory):
12407 * net/quickurl.el (quickurl-url-file):
12408 * international/kkc.el (kkc-init-file-name):
12409 * ido.el (ido-save-directory-list-file):
12410 * emulation/viper.el (viper-custom-file-name):
12411 * emulation/vip.el (vip-startup-file):
12412 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12413 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12414
cc725808
PE
124152013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12416
12417 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12418 * language/thai-word.el: Switch to UTF-8.
12419
a020afb9 12420See ChangeLog.16 for earlier changes.
e3d51b27
MR
12421
12422;; Local Variables:
12423;; coding: utf-8
e3d51b27
MR
12424;; End:
12425
ba318903 12426 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12427
12428 This file is part of GNU Emacs.
12429
12430 GNU Emacs is free software: you can redistribute it and/or modify
12431 it under the terms of the GNU General Public License as published by
12432 the Free Software Foundation, either version 3 of the License, or
12433 (at your option) any later version.
12434
12435 GNU Emacs is distributed in the hope that it will be useful,
12436 but WITHOUT ANY WARRANTY; without even the implied warranty of
12437 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12438 GNU General Public License for more details.
12439
12440 You should have received a copy of the GNU General Public License
12441 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.