Fixes for emacs-repository-get-version
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2a5bce4f
GM
12014-01-22 Glenn Morris <rgm@gnu.org>
2
3 * version.el (emacs-repository-get-version):
4 Check either .bzr or .git, but not both.
5 Make the git case actually use the DIR argument, and return nil
6 rather than the empty string.
7
6cb4da45
MR
82014-01-22 Martin Rudalics <rudalics@gmx.at>
9
10 Fixes in window size functions around Bug#16430 and Bug#16470.
11 * window.el (window-total-size, window-size): New argument
12 ROUND.
13 (window--min-delta-1, window-min-delta, window--max-delta-1): Be
14 more conservative when calculating the numbers of lines or
15 columns a window can shrink (Bug#16430).
16 (fit-window-to-buffer): Simplify code.
17 * term.el (term-window-width): Call window-body-width again.
18
cc0f2ece
GM
192014-01-22 Glenn Morris <rgm@gnu.org>
20
7b997b14
GM
21 * image.el (image-format-suffixes): Doc fix.
22
44e76f9d
GM
23 * international/quail.el (quail-define-package): Doc fix.
24
73c1c6d7
GM
25 * emacs-lisp/authors.el (authors-valid-file-names):
26 (authors-renamed-files-alist): Additions.
7bfc1caa 27
85a5f61f
GM
28 * vc/vc-git.el (vc-git-print-log): Remove --follow;
29 reverts 2014-01-09 change. (Bug#16422)
30
cc0f2ece
GM
31 * calc/calc-embed.el (thing-at-point-looking-at):
32 * emacs-lisp/map-ynp.el (x-popup-dialog):
33 * obsolete/lmenu.el (x-popup-dialog):
34 * emacs-lisp/package.el (url-recreate-url):
35 * mail/mailclient.el (clipboard-kill-ring-save):
36 * subr.el (x-popup-dialog): Update declaration.
37 * mail/rmail.el (rmail-mime-message-p):
38 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
39
00d2a6bb
DC
402014-01-21 Daniel Colascione <dancol@dancol.org>
41
42 * progmodes/sh-script.el (sh--inside-noncommand-expression):
43 Correctly detect when we're inside an arithmetic expansion form
44 containing nested parenthesis.
45 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
46 to detect cases where we shouldn't expand "<<" to a heredoc
47 skeleton.
48
dd9d2e9d
SM
492014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
52 (eldoc--message-command-p): New function.
53 (eldoc-display-message-p): Use it.
54 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
55 message is not automatically erased for us.
56 (eldoc-print-current-symbol-info): Erase previous message, if any.
57
e7d807ca
TH
582014-01-21 Tassilo Horn <tsdh@gnu.org>
59
4ff0a0e5
TH
60 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
61 specify it's an interactive function.
62
dd9d2e9d
SM
63 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
64 Fix regex used for scanning for citation keys which failed for
e7d807ca
TH
65 citations with optional arguments.
66
87503791
LL
672014-01-21 Leo Liu <sdl.web@gmail.com>
68
69 * simple.el (read--expression): Don't enable eldoc-mode.
70
6cc750ee
SM
712014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * simple.el (move-beginning-of-line): Make sure we don't move forward
74 (bug#16497).
75
71f16bda
JL
762014-01-20 Juri Linkov <juri@jurta.org>
77
78 * saveplace.el (toggle-save-place, save-place-to-alist)
79 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
80 'dired-mode) before checking for dired-directory. (Bug#16477)
81
3c5a4839
JL
822014-01-20 Juri Linkov <juri@jurta.org>
83
84 * indent.el (indent-line-to): Use backward-to-indentation
85 instead of back-to-indentation. (Bug#16461)
86
f952002e
PE
872014-01-20 Paul Eggert <eggert@cs.ucla.edu>
88
89 Revert some of the CANNOT_DUMP fix (Bug#16494).
90 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
91 but fixing this can wait until after the next release.
92 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
93
93675500
MA
942014-01-19 Michael Albinus <michael.albinus@gmx.de>
95
96 * eshell/esh-mode.el (eshell-password-prompt-regexp):
97 Use `password-word-equivalents'.
98 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
99 to t. (Bug#5664, Bug#13124)
100
e3af763f
AM
1012014-01-19 Alan Mackenzie <acm@muc.de>
102
103 Bind open-paren-in-column-0-is-defun-start to nil at some entry
104 points.
105 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
106 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
107 * progmodes/cc-mode.el (c-before-change, c-after-change)
108 (c-font-lock-fontify-region): Bind it here.
109
4ff6d92d
MR
1102014-01-19 Martin Rudalics <rudalics@gmx.at>
111
112 * term.el (term-window-width): Call window-text-width instead of
113 window-width (Bug#16470).
114
9a685cf6
PE
1152014-01-18 Paul Eggert <eggert@cs.ucla.edu>
116
117 * simple.el (password-word-equivalents): Remove duplicates.
118 Sort, to make this easier next time.
119 Downcase. Omit ": " after "jelszó".
120
5aa78c2d
JD
1212014-01-18 Jan Djärv <jan.h.d@swipnet.se>
122
123 * term/common-win.el (saved-region-selection): Defvar it.
124 (x-select-text): Set saved-region-selection (Bug#16382).
125
cabb250c
GM
1262014-01-18 Glenn Morris <rgm@gnu.org>
127
128 * emacs-lisp/authors.el (authors-aliases)
129 (authors-renamed-files-alist): Add some entries.
130
a1340440
MA
1312014-01-17 Michael Albinus <michael.albinus@gmx.de>
132
93675500
MA
133 * net/tramp.el (tramp-password-prompt-regexp):
134 Use `password-word-equivalents' if available.
a1340440
MA
135 (tramp-action-password, tramp-process-one-action)
136 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
137
681ce5d2
CY
1382014-01-17 Chong Yidong <cyd@gnu.org>
139
140 * simple.el (password-word-equivalents): New defcustom.
141 * comint.el (comint-password-prompt-regexp): Use it. Bump version
142 to 24.4.
143 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
144 to t. (Bug#13124)
145
fb3d479c
DG
1462014-01-17 Dmitry Gutov <dgutov@yandex.ru>
147
148 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
dd9d2e9d
SM
149 (ruby-align-to-stmt-keywords): Change the default value.
150 Use `ruby-alignable-keywords' to generate the possible customization
fb3d479c
DG
151 choices.
152 (ruby-smie-rules): Instead of using a hardcoded list of alignable
153 keywords, check against the value of `ruby-alignable-keywords'
154 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
155
0d613483
GM
1562014-01-17 Glenn Morris <rgm@gnu.org>
157
fc23fe2d
GM
158 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
159
0d613483
GM
160 Make M-x authors return zero *Authors Errors* from current logs.
161 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
162 (authors-ignored-files): Add some entries, remove others.
163 (authors-ambiguous-files, authors-valid-file-names):
164 Add some entries.
165 (authors-renamed-files-alist): Add, remove, and adjust entries.
166 (authors-renamed-files-regexps): Add some entries.
167 Remove some very broad ones. Make some entries `lax'.
168 (authors-lax-changelogs): New constant.
169 (authors-disambiguate-file-name): Treat top-level specially.
170 (authors-lax-changelog-p): New function.
171 (authors-canonical-file-name): Check file as written against
172 authors-valid-file-names. Do not special-case etc/.
173 Handle `lax' logs and authors-renamed-files-regexps elements.
174
2dbf4ffd
DG
1752014-01-16 Dmitry Gutov <dgutov@yandex.ru>
176
177 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
39903fd1
DG
178 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
179 callers.
2dbf4ffd 180
87b2a7f2
SM
1812014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
184 Assume we're already in the proper buffer.
185 Inspired by Anders Lindgren <andlind@gmail.com>.
186 (follow-post-command-hook): Call it from the right buffer.
187 (follow-comint-scroll-to-bottom): Adjust call.
188 (follow-all-followers): Use get-buffer-window-list.
189
93acfb0e
DC
1902014-01-15 Daniel Colascione <dancol@dancol.org>
191
192 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
193 `buffer-file-name' in interactive-form so that we don't leave
194 pathless file names in `file-name-history'.
195
ccc6b208
JL
1962014-01-15 Juri Linkov <juri@jurta.org>
197
198 * indent.el (indent-rigidly): Set deactivate-mark to nil
199 in transient indentation mode. (Bug#16438)
200
5c92e00d
DG
2012014-01-15 Dmitry Gutov <dgutov@yandex.ru>
202
203 * emacs-lisp/package.el (package-desc-keywords): New function
204 (Bug#16222).
205 (describe-package-1, package-all-keywords)
206 (package--has-keyword-p): Use it.
207
dac69660
NR
2082014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
209
210 * simple.el (define-alternatives): When creating the
211 COMMAND-alternatives variable, assign COMMAND as its definition
212 name so that `describe-variable' can relocate it.
213
8b63edf8
ML
2142014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
215
216 * font-lock.el (font-lock-keywords): Fix typo in docstring
217 (bug#16307).
218
c6a0b8eb
AM
2192014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
220
221 * ispell.el (ispell-region): Reset `in-comment' for new line
222 instead of wrongly reset `add-coment' (bug#13577).
223
02bf443d
DU
2242014-01-14 Daiki Ueno <ueno@gnu.org>
225
226 * epa-file.el (epa-file-write-region): Encode the region according
227 to `buffer-file-format'. Problem reported at:
228 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
229
fd7fde15
SM
2302014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
233 so it applies in the right buffer (bug#16410).
234
c176054f
DC
2352014-01-13 Daniel Colascione <dancol@dancol.org>
236
237 * textmodes/rst.el (rst-define-key): Provide deprecated
238 keybindings through named functions instead of anonymous ones so
239 that "??" doesn't appear in describe-mode output.
240
e3f33e5d
BG
2412014-01-13 Bastien Guerry <bzg@gnu.org>
242
243 * simple.el (define-alternatives): Call the selected command
244 interactively. When setting `COMMAND--implementation' for the
245 first time, tell the user how to chose another implementation.
246 Enhance the docstring.
247
c055d654
SM
2482014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
249
250 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
251 (log-edit--match-first-line): New function.
252 (log-edit-font-lock-keywords): Use it.
253 (log-edit-mode): Make jit-lock-defer-multiline work.
254
d791cc3b
BG
2552014-01-13 Bastien Guerry <bzg@gnu.org>
256
257 * rect.el (rectangle-mark-mode): When the region is not active,
258 display a message saying that the mark as been set and that
259 rectangle mode is in use.
260 (rectangle--highlight-for-redisplay): Only put an overlay with a
261 visible vertical bar when (display-graphic-p) is non-nil.
262 This partially fixes Bug#16403.
263
3c0c4562
JL
2642014-01-13 Juri Linkov <juri@jurta.org>
265
266 * info.el (Info-find-file): Go to DIR before displaying the error
267 about a nonexistent file if no previous Info file is visited.
268 Use `user-error' instead of `error' for "Info file %s does not exist".
269 (Info-find-node-2): In case of a nonexistent node in unwind forms
270 go to the Top node if there is no previous node to revert to.
271 (Bug#16405)
272
25a700d0
MR
2732014-01-13 Martin Rudalics <rudalics@gmx.at>
274
275 fit-frame/window-to-buffer code fixes including one for Bug#14096.
c055d654
SM
276 * window.el (fit-frame-to-buffer): Fix doc-string.
277 Respect window-min-height/-width. Fit pixelwise when
25a700d0
MR
278 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
279 when avoiding that frame goes partially off-screen.
280 (fit-window-to-buffer): Respect window-min-height/-width
281 (Bug#14096).
282
6ae948d8
SM
2832014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
286 after an empty line.
287
6137cb82
SM
2882014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * net/shr.el (shr-render-region): Autoload.
291
e6344e17
XF
2922014-01-12 Xue Fuqiao <xfq.free@gmail.com>
293
294 * net/eww.el (eww-download-directory): Rename from
295 `eww-download-path' (Bug#16419).
296
3b922c70
LL
2972014-01-12 Leo Liu <sdl.web@gmail.com>
298
299 * dired-x.el (dired-mode-map): Fix last change.
300
301 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
302
4fa51741
PE
3032014-01-12 Paul Eggert <eggert@cs.ucla.edu>
304
305 Spelling fixes.
306 * emacs-lisp/generic.el (generic--normalize-comments):
307 Rename from generic--normalise-comments. All uses changed.
308 * play/bubbles.el (bubbles--neighborhood-score):
309 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
310 (bubbles--neighborhood-available)
311 (bubbles--update-neighborhood-score):
312 Rename from names with 'neighbourhood'. All uses changed.
313
9b335362
LL
3142014-01-12 Leo Liu <sdl.web@gmail.com>
315
316 Re-implement the feature of showing eldoc info after editing.
317 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
318 (eldoc-edit-message-commands): New function.
319 (eldoc-print-after-edit): New variable.
320 (eldoc-pre-command-refresh-echo-area): Emit message only by
321 eldoc-message-commands.
322 (eldoc-mode): Restrict eldoc-message-commands to editing commands
323 if eldoc-print-after-edit is set. (Bug#16346)
79b61bcc 324 * simple.el (read--expression): Enable eldoc-mode.
6137cb82 325 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
9b335362 326
9685190b
ER
3272014-01-11 Eric S. Raymond <esr@thyrsus.com>
328
841a6d0c 329 * version.el (emacs-repository-get-version): Enhance so the
6137cb82 330 function works correctly in either a Bazaar or Git repo.
0abf4134 331
6137cb82
SM
332 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
333 Goes with removal of the joke manpages from /etc.
9685190b 334
3923e7bd
KH
3352014-01-10 K. Handa <handa@gnu.org>
336
6137cb82
SM
337 * mail/rmail.el (rmail-get-coding-system):
338 Check rmail-get-coding-function before "funcall"ing it.
3923e7bd 339
d2f16e93
GM
3402014-01-10 Glenn Morris <rgm@gnu.org>
341
342 * emacs-lisp/authors.el (authors-fixed-entries):
343 Update for files that no longer exist.
344
7e03bb32
ER
3452014-01-10 Eric S. Raymond <esr@thyrsus.com>
346
347 * version.el (emacs-bzr-get-version): Restore compatibilty with
d2f16e93 348 24.3 (Tested).
7e03bb32 349
dd806710
BB
3502014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
351
352 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
353 and Podfile.
354
ed6ec139
EZ
3552014-01-10 Eli Zaretskii <eliz@gnu.org>
356
357 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
358
cc33cac9
CY
3592014-01-10 Chong Yidong <cyd@gnu.org>
360
6137cb82 361 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
cc33cac9 362
d9d836b5
AL
3632014-01-10 Anders Lindgren <andlind@gmail.com>
364
365 * follow.el (follow-cache-command-list): Include right-char and
366 left-char.
367
06827ec8
PE
3682014-01-10 Paul Eggert <eggert@cs.ucla.edu>
369
370 Spelling fixes.
371 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
372 * woman.el (woman-mark-horizontal-position):
373 Rename from woman-mark-horizonal-position. Use changed.
374
458dbf5e
GM
3752014-01-10 Glenn Morris <rgm@gnu.org>
376
dad6fae7
GM
377 * info.el (info-initialize): If running uninstalled, ensure our
378 own info files are always found first, even if INFOPATH is set.
379
458dbf5e
GM
380 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
381
05e0afce
DE
3822014-01-09 David Engster <deng@randomsample.de>
383
384 * emacs-lisp/eieio-custom.el:
385 * emacs-lisp/eieio-opt.el: Set generated autoload file to
386 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
387 * emacs-lisp/eieio.el: Regenerate autoloads.
388
f29778b3
ER
3892014-01-09 Eric S. Raymond <esr@thyrsus.com>
390
391 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
fb14cb48 392 following renames. (Bug#8756)
f29778b3 393
684d44ef
SM
3942014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
397 (bug#16382).
398 (activate-mark): Add `no-tmm' argument.
399 (set-mark, push-mark-command): Use it instead of running
400 activate-mark-hook by hand.
401
9475054f
ER
4022014-01-08 Eric S. Raymond <esr@thyrsus.com>
403
404 In preparation for the move to git, sanitize out some
405 Bazaar-specific names.
406
38942b9c
GM
407 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
408
9475054f 409 * version.el (emacs-bzr-version): Name changed to
689c9ca5 410 emacs-repository-version. Obsolete-variable alias made.
9475054f 411 * loadup.el: Follow through on this name change.
a12bf61e 412 * mail/emacsbug.el (report-emacs-bug): Factor out any
9475054f
ER
413 assumption about the version control system in use.
414
0f918d96 4152014-01-08 David Engster <deng@randomsample.de>
abb82152 416
684d44ef
SM
417 * help-fns.el (help-fns-describe-function-functions):
418 New variable to call functions for augmenting help buffers.
abb82152
DE
419 (describe-function-1): Remove explicit calls to
420 `help-fns--compiler-macro', `help-fns--parent-mode' and
0f918d96
DE
421 `help-fns--obsolete'. Put them in above new variable instead, and
422 call them through `run-hook-with-args'.
423 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
424 `eieio-describe-class'. Not meant for interactive use anymore,
425 but to augment existing help buffers. Remove optional second
684d44ef
SM
426 argument. Create proper button for file location.
427 Rewrite function to use `insert' instead of `princ' and `prin1' where
0f918d96
DE
428 possible.
429 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
430 (eieio-method-def, eieio-class-def): Move further up.
684d44ef
SM
431 (describe-method, describe-generic, eieio-describe-method):
432 Remove aliases.
0f918d96
DE
433 (eieio-help-constructor, eieio-help-generic): Rename from
434 `eieio-describe-constructor' and `eieio-describe-generic', resp.
435 Rewrite to use `insert' in the current buffer and use proper help
436 buttons.
437 (eieio-help-find-method-definition)
438 (eieio-help-find-class-definition): Also accept symbols as
439 arguments.
440 (eieio-help-mode-augmentation-maybee): Remove.
441 (eieio-describe-class-sb): Use `describe-function'.
684d44ef
SM
442 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
443 Add `eieio-help-generic' and `eieio-help-constructor'.
abb82152 444
136b74c5
PE
4452014-01-08 Paul Eggert <eggert@cs.ucla.edu>
446
447 Spelling fixes.
448 * language/china-util.el (hz-ascii-designation):
449 Rename from hz-ascii-designnation.
450 (hz-ascii-designation): Rename from hz-ascii-designnation.
451 All uses changed.
452
ec6c7de2
SM
4532014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
456 package-alist.
457
d6262c7c
BG
4582014-01-08 Bastien Guerry <bzg@gnu.org>
459
4b9e6087
GM
460 * emacs-lisp/package.el (package-delete):
461 Correctly delete the package from package-alist.
d6262c7c 462
0a3eec32
DU
4632014-01-08 Daiki Ueno <ueno@gnu.org>
464
465 * emacs-lisp/package.el (url-recreate-url): Declare.
466 (url-http-target-url): Declare.
4b9e6087 467 (package-handle-response): Include requested URL in the error message.
0a3eec32
DU
468 (package--check-signature): Don't re-signal errors from
469 package--with-work-buffer. Suggested by Stefan Monnier.
470
68f0bb97
BG
4712014-01-07 Bastien Guerry <bzg@gnu.org>
472
473 * minibuffer.el (completion--try-word-completion): When both a
474 hyphen and a space are possible candidates for the character
475 following a word, display both candidates. (Bug#15980)
476
7e1899d7
MR
4772014-01-07 Martin Rudalics <rudalics@gmx.at>
478
479 * window.el (balance-windows-2): While rounding don't give a
480 window more than the remainder. Bug#16351, Bug#16383.
481
0030ec15
GM
4822014-01-07 Glenn Morris <rgm@gnu.org>
483
484 * menu-bar.el (menu-bar-help-extra-packages): Remove.
485 (menu-bar-help-menu): Use view-external-packages instead.
486
2b6b4f20
BG
4872014-01-07 Bastien Guerry <bzg@gnu.org>
488
489 * emacs-lisp/package.el (package-delete): Also delete the package
490 name from `package-alist', not its description only.
491
e9be0a13
GM
4922014-01-07 Glenn Morris <rgm@gnu.org>
493
494 * help.el (view-external-packages):
495 * menu-bar.el (menu-bar-help-extra-packages):
496 Visit efaq.info rather than etc/MORE.STUFF.
497
e4f74da9
JL
4982014-01-07 Juri Linkov <juri@jurta.org>
499
500 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
501 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
502
503 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
504 that shadows RET. (Bug#16342)
505
de7ce2d1
CY
5062014-01-07 Chong Yidong <cyd@gnu.org>
507
508 * isearch.el (isearch-yank-char, isearch-yank-word)
509 (isearch-yank-line): Doc fix.
510
6bdd9204
SM
5112014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
514 * emacs-lisp/elint.el (elint-find-builtins):
515 * emacs-lisp/eldoc.el (eldoc-symbol-function):
516 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
517 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
518 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
519 * apropos.el (apropos-safe-documentation):
520 * subr.el (symbol-file): Remove redundant fboundp.
521 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
522
daccca97
BG
5232014-01-06 Bastien Guerry <bzg@gnu.org>
524
525 * hl-line.el (global-hl-line-overlay): Make a local variable.
526 (global-hl-line-overlays): New variable to store all overlays.
527 (global-hl-line-mode): Don't delete overlays from the current
528 buffer when `global-hl-line-sticky-flag' is non-nil.
529 (global-hl-line-highlight): Add new overlays to
530 `global-hl-line-overlays'.
531 (global-hl-line-unhighlight-all): New function to delete all
532 overlays when turning off `global-hl-line-mode'.
533 This fixes Bug#16183.
534
ec00f20f
SM
5352014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * subr.el (set-transient-map): Fix nested case and docstring.
538
a0031f97
TH
5392014-01-06 Tassilo Horn <tsdh@gnu.org>
540
541 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
542 `Texinfo' entry.
543
bf6a77f3
DC
5442014-01-06 Daniel Colascione <dancol@dancol.org>
545
546 Fix defun navigation in vc log view.
547
548 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
549 like `beginning-of-defun'.
550 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
ec00f20f
SM
551 log-view-end-of-defun to log-view-end-of-defun-1. Replace
552 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
bf6a77f3 553 (log-view-extract-comment): Call `log-view-current-entry' directly
ec00f20f 554 instead of relying on broken `log-view-beginning-of-defun' behavior.
bf6a77f3 555
d5081c1e
PE
5562014-01-06 Paul Eggert <eggert@cs.ucla.edu>
557
558 Spelling fixes.
559 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
560 * emacs-lisp/debug.el (cancel-debug-on-entry):
561 * epg.el (epg-error-to-string):
562 * files.el (recover-file):
563 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
564 * mail/emacsbug.el (report-emacs-bug-hook):
565 * mail/sendmail.el (mail-recover):
566 * ses.el (ses-yank-resize):
567 * term/ns-win.el (ns-print-buffer):
568 Spelling fixes in diagnostics, mostly for "canceled" with one L.
569 * epg.el (epg-key-capability-alist): Rename from misspelled version.
570 All uses changed.
571 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
572
53f6b148
LL
5732014-01-06 Leo Liu <sdl.web@gmail.com>
574
575 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3b922c70 576 to avoid shadowing global key. (Bug#16354)
53f6b148 577
b82ace2f
DC
5782014-01-06 Daniel Colascione <dancol@dancol.org>
579
580 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
581 rst-mode.
582
3669b636
MR
5832014-01-05 Martin Rudalics <rudalics@gmx.at>
584
585 * window.el (balance-windows): Add mising t to fix Bug#16351.
586
1a29adc2
LMI
5872014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
588
589 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
590 (bug#16285).
3d95a0f4
LMI
591 (shr-insert): If we have a word that's longer than `shr-width',
592 break after it anyway. Otherwise we'll do no breaking once we get
593 such a long word.
1a29adc2 594
f4018140
KN
5952014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
596
189340f5
KN
597 * net/eww.el (eww): Support single/double quote for search.
598 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
599 (eww-history-quit): Delete and use quit-window.
600 (eww-history-kill): Delete, because it doesn't work well and
601 not necessary.
602 (eww-history-mode-map): Delete some keys and add easy-menu.
f4018140 603
4e619754
PE
6042014-01-05 Paul Eggert <eggert@cs.ucla.edu>
605
73dbf960
PE
606 Fix misspelling of 'chinese' in rx (Bug#16237).
607 * emacs-lisp/rx.el (rx-categories): Correct spelling of
608 chinese-two-byte.
609
4e619754
PE
610 Change subword regexps back to vars (Bug#16296).
611 * progmodes/subword.el (subword-forward-regexp)
612 (subword-backward-regexp): Change these back to variables.
613
e18b70fc
SM
6142014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
617 syntax-begin-function (bug#16247).
618
0d53f628
CY
6192014-01-03 Chong Yidong <cyd@gnu.org>
620
621 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
622 (advice--docstring): Delete variable.
623 (advice--make-1): Leave the docstring empty.
624 (advice-add): Use function-documentation for advised docstring.
625
626 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
627 Ignore function-documentation property when getting documentation.
628 (ad-activate-advised-definition): Use function-documentation
629 generate the docstring.
630 (ad-make-advised-definition): Don't call
631 ad-make-advised-definition-docstring.
632 (ad-make-advised-definition-docstring, ad-advised-definition-p):
633 Delete functions.
634
635 * progmodes/sql.el (sql-help): Use function-documentation instead
636 of dynamic-docstring-function property. No need to autoload now.
637 (sql--help-docstring): New variable.
638 (sql--make-help-docstring): Use it.
639
6f547583
SM
6402014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
641
6ef9aed8
SM
642 * ielm.el (ielm-tab): Retarget.
643 (ielm-map): Use ielm-tab for tab.
644 (ielm-complete-filename): Use comint-filename-completion.
645 (ielm-complete-symbol): Remove.
646 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
647 remove ielm-tab from completion-at-point-functions (bug#16224).
648
6f547583
SM
649 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
650 Beware signals raised by predicates (bug#16201).
651
a574edbe
RS
6522014-01-02 Richard Stallman <rms@gnu.org>
653
e831604d
RS
654 * dired-aux.el (dired-do-print): Handle printer-name.
655
6f547583
SM
656 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
657 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
a574edbe
RS
658 (rmail-epa-decrypt): Turn off mime processing.
659
660 * mail/rmail.el (rmail-make-in-reply-to-field):
661 Add parens in message-id.
662
663 * mail/rmail.el (rmail-get-coding-function): Variable.
664 (rmail-get-coding-system): Use it.
665
04311a16
KH
6662013-12-31 Eli Zaretskii <eliz@gnu.org>
667
668 * international/mule-conf.el: Unify the charset indian-is13194.
669 (indian-is13194): Specify unify-map.
670
c8d89778
LL
6712013-12-31 Leo Liu <sdl.web@gmail.com>
672
673 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
674
e63ace37
DC
6752013-12-30 Daniel Colascione <dancol@dancol.org>
676
9e0bf19a
DC
677 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
678 of printing a useless when we resume from sleep.
679
e63ace37
DC
680 * progmodes/sh-script.el
681 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
682 in indentation code. (Bug#16233)
683
e9d6c46a
JT
6842013-12-28 João Távora <joaotavora@gmail.com>
685
6f547583
SM
686 * elec-pair.el (electric-pair-post-self-insert-function):
687 Don't open extra newlines at beginning of buffer. (Bug#16272)
e9d6c46a 688
bf7bea5d
EZ
6892013-12-28 Eli Zaretskii <eliz@gnu.org>
690
691 * frame.el (window-system-for-display): Don't allow to create a
692 GUI frame from a -nw session on MS-Windows. (Bug#14739)
693
8449dd1f
GM
6942013-12-28 Glenn Morris <rgm@gnu.org>
695
9c5a5c77
GM
696 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
697 Update callers.
698
699 * apropos.el (apropos-match-face):
700 * calculator.el (calculator-displayer):
701 * dabbrev.el (dabbrev-search-these-buffers-only):
702 * face-remap.el (buffer-face-mode-face):
703 * simple.el (yank-handled-properties):
704 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
705 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
706 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
707 (hashcash-double-spend-database):
708 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
709 (ruby-deep-indent-paren-style):
710 * textmodes/flyspell.el (flyspell-auto-correct-binding):
711 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
712 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
713 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
714 Specify custom types.
715
bb098075
GM
716 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
717 * bookmark.el (bookmark-bmenu-use-header-line):
718 * doc-view.el (doc-view-scale-internally):
719 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
720 * register.el (register-preview-delay):
721 * net/shr.el (shr-bullet):
722 * progmodes/cfengine.el (cfengine-cf-promises)
723 (cfengine-parameters-indent):
724 * progmodes/octave.el (inferior-octave-error-regexp-alist):
725 * textmodes/reftex-vars.el (reftex-label-regexps):
726 * vc/log-edit.el (log-edit-setup-add-author): Add version.
727
9c61f806
GM
728 * net/tls.el (tls-certtool-program): Fix default value.
729
730 * desktop.el (desktop-restore-in-current-display):
731 * newcomment.el (comment-empty-lines):
732 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
733 (idlwave-pad-keyword):
734 * progmodes/tcl.el (tcl-tab-always-indent):
735 * textmodes/reftex-vars.el (reftex-index-default-tag):
736 * elec-pair.el (electric-pair-skip-whitespace):
737 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
738
8449dd1f
GM
739 * emacs-lisp/authors.el (authors-ignored-files)
740 (authors-valid-file-names, authors-renamed-files-alist): Additions.
741
fdadeb49
JC
7422013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
743
72140a0f
GM
744 * shell.el (shell-dynamic-complete-command): Doc fix.
745 (shell--command-completion-data): Shell completion now matches
746 executable filenames from the current buffer's directory, on
da5ecfa9 747 systems in which this behavior is the default (windows-nt, ms-dos).
fdadeb49 748
e572a7d8
LI
7492013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
750
751 * net/shr.el (shr-insert): Don't infloop if the width is zero.
752
7514d3f8
SM
7532013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
754
a4151f3b
SM
755 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
756 (bug#16251).
757
7514d3f8
SM
758 * electric.el: Move all electric-pair-* to elec-pair.el.
759 * elec-pair.el: New file, split from electric.el.
760
ac5758d1
LI
7612013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
762
763 * net/shr.el (shr-find-fill-point): Don't try to fill if the
764 indentation level is larger than the width, because that will
765 infloop.
766 (shr-insert): Fill repeatedly long texts, so that Japanese is
767 formatted correctly (bug#16263).
24a6b65e
LI
768 (shr-find-fill-point): Off by one error in comparison with the
769 indentation.
ac5758d1 770
7514d3f8 7712013-12-26 João Távora <joaotavora@gmail.com>
3b8d5131
JT
772
773 * electric.el (electric-pair-mode): More flexible engine for skip-
7514d3f8 774 and inhibit predicates, new options for pairing-related functionality.
3b8d5131
JT
775 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
776 if that keeps or improves their balance in buffers.
777 (electric-pair-delete-adjacent-pairs): Delete the pair when
778 backspacing over adjacent matched delimiters.
779 (electric-pair-open-extra-newline): Open extra newline when
780 inserting newlines between adjacent matched delimiters.
7514d3f8
SM
781 (electric--sort-post-self-insertion-hook):
782 Sort post-self-insert-hook according to priority values when
3b8d5131
JT
783 minor-modes are activated.
784 * simple.el (newline-and-indent): Call newline with interactive
785 set to t.
786 (blink-paren-post-self-insert-function): Set priority to 100.
7514d3f8
SM
787 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
788 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
789 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3b8d5131
JT
790 electric-pair-open-newline-between-pairs to nil.
791
fbcc63a3
FEG
7922013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
793
794 * progmodes/python.el: Use lexical-binding.
795 (python-nav-beginning-of-defun): Stop searching ASAP.
796
ed78d16c
XF
7972013-12-25 Xue Fuqiao <xfq.free@gmail.com>
798
799 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
800 Fix interactive spec. Doc fix. (Bug#15754)
801
38b2c142
KY
8022013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
803
804 * emacs-lisp/byte-run.el (eval-when-compile):
55db967f 805 * progmodes/cc-defs.el (cc-eval-when-compile):
38b2c142
KY
806 Fix edebug spec (bug#16184).
807
3c856c14
LI
8082013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
809
83fa295c 810 * net/shr.el (shr-visit-file): Remove debugging function.
f7f071dc
LI
811 (shr-insert): Don't infloop if we can't find a good place to break
812 the line (bug#16256).
3c856c14 813
01379221
FEG
8142013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
815
816 * progmodes/python.el:
817 (python-nav--lisp-forward-sexp): New function.
818 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
819 python-nav-lisp-forward-sexp-safe.
820 (python-nav--forward-sexp): New argument SAFE allows switching
821 forward sexp movement behavior for parens.
822 (python-nav-forward-sexp): Throw errors on unterminated parens
823 (Bug#16191).
824 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
825 (python-nav-backward-sexp-safe): New functions.
7514d3f8
SM
826 (python-shell-buffer-substring):
827 Use `python-nav-forward-sexp-safe'.
01379221 828
99e4926f
LI
8292013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
830
831 * net/shr.el (shr-find-fill-point): Don't break lines before a
832 quotation mark.
c6c20584
LI
833 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
834 (shr-find-fill-point): Remove the special checks for the quotation
7514d3f8 835 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
99e4926f 836
fec0e828
KN
8372013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
838
839 * net/eww.el (eww-form-textarea): Use a different face for
840 textareas than text input since they have different keymaps
841 (bug#16142).
842
89c868ad
FEG
8432013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
844
7514d3f8
SM
845 * progmodes/python.el (python-nav-beginning-of-statement):
846 Speed up (Bug#15295).
89c868ad 847
eeef121a
LI
8482013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
849
850 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
851 the window configuration.
852
121ea65f
EZ
8532013-12-24 Eli Zaretskii <eliz@gnu.org>
854
855 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
856 we run on MS-Windows or MS-DOS.
857
18cee9ec
MR
8582013-12-24 Martin Rudalics <rudalics@gmx.at>
859
860 * window.el (balance-windows-area): Call window-size instead of
861 window-height and window-width. Bug#16241.
862
58f2b9a5
LI
8632013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
864
865 * net/eww.el (eww-bookmark-quit): Remove.
866 (eww-bookmark-browse): Restore the window configuration when you
867 choose a bookmark (bug#16144).
868
d64b6308
DC
8692013-12-24 Daniel Colascione <dancol@dancol.org>
870
871 * icomplete.el: Remove redundant :group arguments to `defcustom'
872 throughout.
873 (icomplete-show-matches-on-no-input): New customizable variable.
874 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
875 we have something to show.
7514d3f8 876 (icomplete-exhibit): Compute completions even if we have no user input.
d64b6308 877
0da54898
DC
8782013-12-23 Daniel Colascione <dancol@dancol.org>
879
880 * icomplete.el: Move `provide' to end of file.
881
b90aa4f4
TZ
8822013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
883
884 * net/gnutls.el (gnutls-verify-error): Add version tag.
885
8cd22a08
CY
8862013-12-23 Chong Yidong <cyd@gnu.org>
887
888 * subr.el (set-transient-map): Rename from
889 set-temporary-overlay-map. Doc fix.
890
891 * face-remap.el (text-scale-adjust):
892 * indent.el (indent-rigidly):
893 * kmacro.el (kmacro-call-macro):
894 * minibuffer.el (minibuffer-force-complete):
895 * repeat.el (repeat):
896 * simple.el (universal-argument--mode):
897 * calendar/todo-mode.el (todo-insert-item--next-param):
898 * progmodes/f90.el (f90-abbrev-start): Callers changed.
899
7510b021
CY
900 * indent.el (indent-rigidly): Use substitute-command-keys.
901
72140a0f 9022013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
56890ecd
KN
903
904 * net/eww.el (eww-tag-select): Add text-property to jump to next
905 select field.
e9dc713d 906 (eww): Add non-supported ftp error.
56890ecd 907
1f87a56c
DG
9082013-12-22 Dmitry Gutov <dgutov@yandex.ru>
909
910 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
911 comments. Handle electric indent after typing `?' and `!'.
912
dca38cf9
CY
9132013-12-22 Chong Yidong <cyd@gnu.org>
914
915 * faces.el (face-spec-recalc): If the theme specs are not
7514d3f8
SM
916 applicable to a frame, fall back on the defface spec.
917 This prevents themes from obliterating faces on low-color terminals.
dca38cf9 918
f2351498
DG
9192013-12-22 Dmitry Gutov <dgutov@yandex.ru>
920
921 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
922 after `{'. We need it after block openers, and it doesn't seem
923 to hurt after hash openers.
924
6cddebc1
DG
9252013-12-22 Dmitry Gutov <dgutov@yandex.ru>
926
927 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
928 extracted from `ruby-smie-rules'.
929 (ruby--electric-indent-chars): New variable.
930 (ruby--electric-indent-p): New function.
931 (ruby-mode): Use `electric-indent-functions' instead of
932 `electric-indent-chars'.
933
65a1da00
DG
9342013-12-22 Dmitry Gutov <dgutov@yandex.ru>
935
936 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
937 docstring.
938 (ruby-smie-rules): Indent plus one level after `=>'.
939
b51ad4cf
RS
9402013-12-21 Richard Stallman <rms@gnu.org>
941
942 * simple.el (newline): Doc fix.
943
72140a0f 9442013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
d49fbfd6 945
e9dc713d 946 * net/eww.el (eww-list-histories, eww-list-histories)
d49fbfd6
TZ
947 (eww-history-browse, eww-history-quit, eww-history-kill)
948 (eww-history-mode-map, eww-history-mode): New command and
949 functions to list browser histories.
e9dc713d
JB
950 (eww-form-text): Support text form with disabled
951 and readonly attributes.
952 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
d49fbfd6 953
5e1901c1
RS
9542013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
955
956 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
957 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
958 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
959 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
960 Use `user-error'.
961 (eww-bookmark-mode-map): Add menu.
962 (eww-render, eww-mode): Use `setq-local'.
963 (eww-tool-bar-map): New variable.
964 (eww-mode): Set `tool-bar-map'.
965 (eww-view-source): Check for `html-mode' with `fboundp'.
966
073d5cfd
LMI
9672013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
968
969 * net/shr.el (shr--extract-best-source): Don't bug out on audio
970 elements with text inside. Also remove debugging.
971
41cf3d11
JD
9722013-12-21 Jan Djärv <jan.h.d@swipnet.se>
973
974 * cus-start.el (all): Add ns-use-srgb-colorspace.
975
aac2b673
CY
9762013-12-21 Chong Yidong <cyd@gnu.org>
977
978 * custom.el (custom-theme-recalc-face): Do nothing if the face is
979 undefined. Thus, theme settings for undefined faces do not take
980 effect until the faces are defined with defface, the same as with
981 theme variables.
982
983 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
984 (face-spec-reset-face): Don't assign extra properties in temacs.
985 (face-spec-recalc): Apply X resources too.
986
bacb0e77
CY
9872013-12-21 Chong Yidong <cyd@gnu.org>
988
989 * faces.el (face-spec-set):
990 * cus-face.el (custom-theme-set-faces, custom-set-faces):
991 * custom.el (defface): Doc fixes (Bug#16203).
992
77221051
CY
993 * indent.el (indent-rigidly-map): Add docstring, and move commands
994 into named functions.
995 (indent-rigidly-left, indent-rigidly-right)
996 (indent-rigidly-left-to-tab-stop)
997 (indent-rigidly-right-to-tab-stop): New functions. Decide on
998 indentation direction based on bidi direction, and accumulate
999 sequential commands in a single undo boundary.
1000 (indent-rigidly--pop-undo): New utility function.
1001
e0eb0550
JB
10022013-12-20 Juanma Barranquero <lekktu@gmail.com>
1003
1004 * faces.el (read-face-name): Require crm.el when using crm-separator.
1005
3282bd2e
DC
10062013-12-20 Daniel Colascione <dancol@dancol.org>
1007
1008 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1009 so that we don't reflow comments into the shebang line.
1010
1d42e5b6
JL
10112013-12-20 Juri Linkov <juri@jurta.org>
1012
1013 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1014 a position when `dired-directory' is non-nil. Check integer
1015 positions with `integerp'.
1016 (toggle-save-place, save-places-to-alist): Add check for
1017 `dired-directory'.
1018 (save-place-find-file-hook): Check integer positions with
1019 `integerp'.
1020 (save-place-dired-hook): Use `dired-goto-file' when
1021 `dired-filename' is found in the assoc list. Check integer
1022 positions with `integerp'.
1023 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1024
1025 * dired.el (dired-initial-position-hook): Rename back from
1026 `dired-initial-point-hook'.
1027 (dired-initial-position): Rename `dired-initial-point-hook' to
1028 `dired-initial-position-hook'.
1029 (dired-file-name-at-point): Doc fix. (Bug#15329)
1030
24da7273
JL
10312013-12-20 Juri Linkov <juri@jurta.org>
1032
1033 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1034 (read-regexp-suggestions): New function.
1035 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1036 Use `read-regexp-suggestions'. Add non-empty default to history
1037 for empty input.
1038 (occur-read-regexp-defaults-function): Remove function.
1039 (occur-read-primary-args): Use `regexp-history-last' instead of
1040 `occur-read-regexp-defaults-function'.
1041
1042 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1043 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1044 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1045 `hi-lock-read-regexp-defaults-function'. Doc fix.
1046 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1047 with `find-tag-default-as-symbol-regexp'. Doc fix.
1048 (hi-lock-read-regexp-defaults): Remove function.
1049 (hi-lock-regexp-okay): Add check for null.
1050
1051 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1052 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1053
1054 * subr.el (find-tag-default-as-symbol-regexp): New function.
1055 (find-tag-default-as-regexp): Move symbol regexp formatting to
1056 `find-tag-default-as-symbol-regexp'.
1057
137f57c8
S
10582013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1059
1060 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1061 (Bug#14179)
1062
f3a66082
SB
10632013-12-20 Stephen Berman <stephen.berman@gmx.net>
1064
1065 * calendar/todo-mode.el: New implementation of item insertion
1066 commands and key bindings.
1067 (todo-key-prompt): New face.
1068 (todo-insert-item): New command.
1069 (todo-insert-item--parameters): New defconst, replacing defvar
1070 todo-insertion-commands-args-genlist.
1071 (todo-insert-item--param-key-alist): New defconst, replacing
1072 defvar todo-insertion-commands-arg-key-list.
1073 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1074 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1075 (todo-insert-item--next-param): New functions.
1076 (todo-insert-item--args, todo-insert-item--argleft)
1077 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1078 New variables.
1079 (todo-key-bindings-t): Change binding of "i" from
1080 todo-insertion-map to todo-insert-item.
1081 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1082 (todo-insertion-command-name, todo-insertion-commands-names)
1083 (todo-define-insertion-command, todo-insertion-commands)
1084 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1085
2f99433b
SB
10862013-12-20 Stephen Berman <stephen.berman@gmx.net>
1087
1088 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1089 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1090 eval-when-compile.
1091 (todo-move-category): Allow choosing a non-existing todo file to
1092 move the category to, and create that file.
1093 (todo-default-priority): New user option.
1094 (todo-set-item-priority): Use it.
1095 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1096 (desktop-restore-file-buffer): Declare.
1097 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1098 (todo-modes-set-2): Locally set desktop-save-buffer to
1099 todo-desktop-save-buffer.
1100 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1101 (auto-mode-alist): Add autoload cookie.
1102
131e4695
BB
11032013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1104
1105 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1106 helpers.el was a poor choice of name.
3cbfb935
BB
1107 (string-remove-prefix): New function.
1108 (string-remove-suffix): New function.
131e4695 1109
c44de18d
MR
11102013-12-20 Martin Rudalics <rudalics@gmx.at>
1111
1112 Fix assignment for new window total sizes.
1113 * window.el (window--pixel-to-size): Remove function.
e0eb0550
JB
1114 (window--pixel-to-total-1, window--pixel-to-total):
1115 Fix calculation of new total sizes.
c44de18d 1116
ca65efcc
VS
11172013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1118
1119 * comint.el (comint-output-filter): Fix rear-nonsticky property
1120 placement (Bug#16010).
1121
a9574eb7
CY
11222013-12-20 Chong Yidong <cyd@gnu.org>
1123
1124 * faces.el (read-color): Minor fix for completion function.
1125
b520f210
DG
11262013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1127
e0eb0550
JB
1128 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1129 New option. (Bug#16182)
b520f210
DG
1130 (ruby-smie--indent-to-stmt-p): Use it.
1131 (ruby-smie-rules): Revert the logic in the handling of `when'.
1132 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1133 (ruby-deep-arglist, ruby-deep-indent-paren)
1134 (ruby-deep-indent-paren-style): Update docstrings to note that the
1135 vars don't have any effect with SMIE.
1136
26b75b45
JB
11372013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1138
1139 * calc/calc.el (calc-enter, calc-pop): Use the variable
1140 `calc-context-sensitive-enter'.
1141
cf91cee7
LMI
11422013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1143
1144 * net/shr.el (shr-insert): Protect against infloops in degenerate
1145 tables.
1146
51d971b4
RS
11472013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1148
1149 * progmodes/octave.el (octave): Add link to manual and octave
1150 homepage.
1151 (octave-mode-menu): Link to octave-mode manual.
1152
8c2e462a
LL
11532013-12-20 Leo Liu <sdl.web@gmail.com>
1154
1155 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1156 insertion using skeleton-end-newline. (Bug#16138)
1157
501158bc
JL
11582013-12-20 Juri Linkov <juri@jurta.org>
1159
1160 * replace.el (occur-engine): Use `add-face-text-property'
1161 to add the face property to matches and titles. (Bug#14645)
1162
1163 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1164 the palette of other hi-lock colors.
1165 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1166
50ab1da6
JL
11672013-12-19 Juri Linkov <juri@jurta.org>
1168
1169 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1170 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1171 (minibuffer-history-symbol): Move variable declaration closer to
1172 its usage.
1173
1174 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1175 (Bug#14785)
1176
3d6e95e7
JL
11772013-12-19 Juri Linkov <juri@jurta.org>
1178
1179 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1180 New function.
1181 (log-edit-hook): Add it to :options. (Bug#16170)
1182
b41594fd
JL
11832013-12-19 Juri Linkov <juri@jurta.org>
1184
1185 * simple.el (eval-expression-print-format): Don't check for
1186 command names and the last command. Always display additional
1187 formats of the integer result in the echo area, and insert them
1188 to the current buffer only with a zero prefix arg.
1189 Display character when char-displayable-p is non-nil.
1190 (eval-expression): With a zero prefix arg, set `print-length' and
1191 `print-level' to nil, and insert the integer values from
1192 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1193
1194 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1195 `eval-last-sexp-arg-internal'. Doc fix.
1196 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1197 `eval-last-sexp-print-value'. Doc fix.
1198 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1199 Set `print-length' and `print-level' to nil when arg is zero.
1200 (eval-last-sexp): Doc fix.
1201 (eval-defun-2): Print the integer values from
1202 `eval-expression-print-format' at the end.
1203
1204 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1205 values from `eval-expression-print-format' at the end.
1206
1207 * ielm.el (ielm-eval-input): Print the integer
1208 values from `eval-expression-print-format' at the end.
1209
8f2be364
TZ
12102013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1211
1212 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1213 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1214
2230a6e3
SM
12152013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1216
1217 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1218 (hl-line-highlight, global-hl-line-highlight): Use it.
1219 (hl-line-overlay): Use defvar-local.
1220
1269a680
JD
12212013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1222
1223 * term/ns-win.el: Require dnd.
1224 (global-map): Remove drag items.
1225 (ns-insert-text, ns-set-foreground-at-mouse)
2230a6e3
SM
1226 (ns-set-background-at-mouse):
1227 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1228 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1229 New functions.
1269a680 1230
049638ad
GM
12312013-12-19 Glenn Morris <rgm@gnu.org>
1232
1233 * emacs-lisp/ert.el (ert-select-tests):
1234 Fix string/symbol mixup. (Bug#16121)
1235
ce41edb4
DG
12362013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1239 keywords to their parent.
1240
7e1549c9
DG
12412013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1242
1243 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1244 first arg to be a string (fixed dead code), or an operator symbol.
1245 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1246 operator symbols.
1247 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1248 did nothing. Don't respond to `(:after ".")', it will be called
1249 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1250 change anything. Only return indentation for binary operators
1251 when they are hanging. De-dent opening paren when its parent is
1252 `.', otherwise it looks bad when the dot is not at bol or eol
1253 (bug#16182).
1254
3ee4cd64
JL
12552013-12-19 Juri Linkov <juri@jurta.org>
1256
1257 * replace.el (query-replace-read-args): Split a non-negative arg
1258 and a negative arg into separate elements.
1259 (query-replace, query-replace-regexp, replace-string)
1260 (replace-regexp): Add arg `backward'. Doc fix.
1261 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1262 move point to the beginning of the match.
1263 (replace-search, replace-highlight): Use new arg `backward'
1264 to set the value of `isearch-forward'.
1265 (perform-replace): Add arg `backward' and use it to perform
1266 replacement backward. (Bug#14979)
1267
1268 * isearch.el (isearch-query-replace): Use a negative prefix arg
1269 to call `perform-replace' with a non-nil arg `backward'.
1270
0cda6b7b
JL
12712013-12-18 Juri Linkov <juri@jurta.org>
1272
1273 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1274 to the default list. Move `log-edit-show-files' to the end.
1275 Add more available functions to options.
1276 (log-edit): Move default specific settings to
1277 `log-edit-insert-message-template'. Don't move point.
1278 (log-edit-insert-message-template): New function.
1279 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1280 (Bug#16170)
1281
b216f0a6
JL
12822013-12-18 Juri Linkov <juri@jurta.org>
1283
1284 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1285 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1286
1d1c55dc
LL
12872013-12-18 Leo Liu <sdl.web@gmail.com>
1288
e9dc713d
JB
1289 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1290 (Bug#16186)
1d1c55dc 1291
64e4c76e
EZ
12922013-12-18 Eli Zaretskii <eliz@gnu.org>
1293
1294 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1295 formats for displaying file sizes when the -s switch is given.
1296 Instead, compute a separate format for displaying the size in
1297 blocks, which is displayed in addition to the "regular" size.
1298 When -h is given in addition to -s, produce size in blocks in
1299 human-readable form as well. (Bug#16179)
1300
b2984e39
TH
13012013-12-18 Tassilo Horn <tsdh@gnu.org>
1302
2230a6e3
SM
1303 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1304 Reference tables with ~\ref{...} instead of only \ref{...}.
b2984e39 1305
50ff2e06
CY
13062013-12-18 Chong Yidong <cyd@gnu.org>
1307
0081bc84
CY
1308 * cus-edit.el (custom-magic-alist): Fix "themed" description
1309 (Bug#14348).
1310
a7ee9424
CY
1311 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1312 is non-nil, do not create a new entry in the symbol's theme-value
1313 or theme-face property; update theme-settings only (Bug#14664).
18874304 1314 (custom-available-themes): Doc fix.
a7ee9424 1315
8f942537
CY
1316 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1317 (Bug#15674).
1318
50ff2e06
CY
1319 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1320
83c60f60
KI
13212013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1322
1323 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1324 (Bug#13914).
1325
e0eb0550 13262013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
ba874b64
SF
1327
1328 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1329
1f41ee56
GM
13302013-12-18 Glenn Morris <rgm@gnu.org>
1331
1332 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
123d0143 1333 * cus-start.el (load-prefer-newer): New option.
1f41ee56 1334
e82134b1
LW
13352013-12-18 Le Wang <l26wang@gmail.com>
1336
2230a6e3
SM
1337 * comint.el (comint-previous-matching-input-from-input):
1338 Retain point (Bug#13404).
e82134b1 1339
33f5d4c1
CY
13402013-12-18 Chong Yidong <cyd@gnu.org>
1341
1342 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1343
ccc9f6dc
GM
13442013-12-18 Glenn Morris <rgm@gnu.org>
1345
1346 * mail/emacsbug.el (report-emacs-bug):
1347 Only mention enable-multibyte-characters if non-standard.
1348
33dd8e95
JL
13492013-12-17 Juri Linkov <juri@jurta.org>
1350
1351 * arc-mode.el (archive-extract-by-file): Check if directory exists
1352 before deletion to not show irrelevant errors if it doesn't exist.
1353
7a409b30
JL
13542013-12-17 Juri Linkov <juri@jurta.org>
1355
1356 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1357 (Bug#14751)
1358
1359 * net/eww.el (browse-web): Add alias to `eww'.
1360 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1361 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1362
1363 * net/browse-url.el (browse-url-browser-function): Move `eww'
1364 closer to similar functions.
1365
1366 * startup.el (fancy-startup-screen, fancy-about-screen):
1367 Set browse-url-browser-function to eww-browse-url locally.
1368 (Bug#14751)
1369
2d6b6005
SM
13702013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1371
1372 * window.el (window--pixel-to-total): Remove unused `mini' var.
1373 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1374 (split-window): Remove unused `new' var.
1375 (window--display-buffer): Remove unused `frame' and `delta' vars.
1376 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1377 and display-width'.
1378
cf2b7efc
MR
13792013-12-17 Martin Rudalics <rudalics@gmx.at>
1380
1381 * dired.el (dired-mark-pop-up):
1382 * register.el (register-preview): Don't bind
1383 split-height-threshold here since it's now done in
1384 display-buffer-below-selected.
1385
ed3af8a7 13862013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1387
1388 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1389 xterm-rgb-convert-to-16bit.
1390 (rxvt-register-default-colors): Standardize with
1391 xterm-register-default-colors (Bug#14078).
1392
76da3455
DK
13932013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1394
1395 * simple.el (kill-region): Pass mark first, then point, so that
1396 kill-append works right (Bug#12819).
1397 (copy-region-as-kill, kill-ring-save): Likewise.
1398
2b84d763
LL
13992013-12-17 Leo Liu <sdl.web@gmail.com>
1400
1401 * net/rcirc.el (rcirc-add-face):
1402 * eshell/em-prompt.el (eshell-emit-prompt):
1403 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1404 (Bug#16167)
1405
e2f6a0bc
CY
14062013-12-17 Chong Yidong <cyd@gnu.org>
1407
1408 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1409 Suggested by Xue Fuqiao.
1410
35b249a6
DG
14112013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1412
1413 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1414
e9145444
SM
14152013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * net/shr.el (shr-insert-document): Remove unused var
1418 `shr-preliminary-table-render'.
1419 (shr-rescale-image): Remove unused arg `force'.
1420 (shr-put-image): Update calls accordingly.
1421 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1422
5556c0ce
DG
14232013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1424
1425 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1426 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1427 :close-all, to see which indentation method to use (Bug#16116).
1428 (smie-rules-function): Document the method :close-all.
1429
11bade0a
LMI
14302013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1431
1c4b1e61
LMI
1432 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1433
11bade0a
LMI
1434 * net/eww.el (eww-display-html): If we can't find the anchor we're
1435 looking for, then go to point-min.
1436
8fb8c4f3
PE
14372013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1438
1439 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1440 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1441 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1442 Expand dir too, in case it's relative.
1443
6c8e0ae6
JL
14442013-12-16 Juri Linkov <juri@jurta.org>
1445
1446 * desktop.el (desktop-auto-save-timeout): Change default to
1447 `auto-save-timeout'. Doc fix.
1448 (desktop-save): Skip the timestamp in desktop-saved-frameset
1449 when checking for auto-save changes.
1450 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1451 `desktop-auto-save' is called repeatedly by the idle timer.
1452 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1453 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1454 (Bug#15331)
1455
2178e858
JL
14562013-12-16 Juri Linkov <juri@jurta.org>
1457
1458 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1459 (Bug#16035)
1460 (isearch-pre-command-hook): Check `this-command' for symbolp.
1461
39cb42c6
SM
14622013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1463
1464 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1465
5b9b750a
TZ
14662013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1467
1468 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1469 (cfengine3--current-function): Bring in the current-function
1470 functionality from `cfengine3--current-word'.
1471 (cfengine3-completion-function): Bring in the
1472 bounds-of-current-word functionality from
1473 `cfengine3--current-word'.
1474
d144ef06
MR
14752013-12-16 Martin Rudalics <rudalics@gmx.at>
1476
39cb42c6
SM
1477 * window.el (display-buffer-below-selected):
1478 Bind split-height-threshold to 0 as suggested by Juri Linkov.
d144ef06 1479
a8bbe298
LL
14802013-12-16 Leo Liu <sdl.web@gmail.com>
1481
1482 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1483 Remove NOMSG arg and all uses changed.
1484
2013a2f9
SM
14852013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1488 (cua--deactivate-rectangle): Don't deactivate the mark.
1489 (cua-set-rectangle-mark): Don't set mark-active since
1490 cua--activate-rectangle already does it for us.
1491 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1492 non-rectangular region.
1493
1494 * emulation/cua-base.el (cua-repeat-replace-region):
1495 Use with-current-buffer.
1496
1497 * net/gnutls.el: Use cl-lib.
1498 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1499
5ae811dd
TZ
15002013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1501
1502 * emacs-lisp/package.el (package-built-in-p): Support both
1503 built-in and the package.el converted package descriptions.
1504 (package-show-package-list): Allow keywords.
1505 (package-keyword-button-action): Use it instead of
1506 `finder-list-matches'.
1507 (package-menu-filter-interactive): Interactive filtering (by
1508 keyword) function.
1509 (package-menu--generate): Support keywords and change keymappings
1510 and headers when they are given.
1511 (package--has-keyword-p): Helper function.
1512 (package-menu--refresh): Use it.
1513 (package--mapc): Helper function.
1514 (package-all-keywords): Use it.
1515 (package-menu-mode-map): Set up menu items and keybindings to
1516 provide a filtering UI.
1517
31b4827e
TZ
15182013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1519
1520 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1521 the behavior when a certificate fails validation. Defaults to
1522 old behavior: never abort, just warn.
1523 (gnutls-negotiate): Use it.
1524
f93cc74f
MR
15252013-12-14 Martin Rudalics <rudalics@gmx.at>
1526
1527 * window.el (display-buffer-below-selected): Never split window
1528 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1529
f77d7d17
TW
15302013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1531
1532 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1533 (package-buffer-info): Use it (bug#15108).
aa2bddd7 1534
7514d3f8
SM
15352013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1536
aa2bddd7 1537 * icomplete.el (icomplete-completions): Make sure the prefix is already
7514d3f8 1538 displayed elsewhere before hiding it (bug#16219).
aa2bddd7 1539
276bc333
DG
15402013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1541
1542 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1543 open-paren tokens when preceded by a open-paren, too.
1544 (ruby-smie-rules): Handle virtual indentation after open-paren
1545 tokens specially. If there is code between it and eol, return the
1546 column where is starts (Bug#16118).
1547
d43957f3
TZ
15482013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1549
a5c1ac0c 1550 * progmodes/cfengine.el: Fix `add-hook' doc.
aa2bddd7 1551 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
d43957f3
TZ
1552 (cfengine3--current-word): Fix parameters.
1553 (cfengine3-make-syntax-cache): Simplify further.
aa2bddd7
SM
1554 (cfengine3-completion-function, cfengine3--current-function):
1555 Use `assq' for symbols.
d43957f3
TZ
1556 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1557
06a4f110
GM
15582013-12-13 Glenn Morris <rgm@gnu.org>
1559
1560 * loadup.el (load-path): Warn if site-load or site-init changes it.
1561 No more need to reset it when bootstrapping.
1562
978a5fda
TZ
15632013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1564
1565 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1566 locations for cf-promises.
1567 (cfengine-mode-syntax-functions-regex): New caching variable.
1568 (cfengine3-fallback-syntax): Fallback syntax for cases where
1569 cf-promises doesn't run.
1570 (cfengine3--current-word): Reimplement using
1571 `cfengine-mode-syntax-functions-regex'.
aa2bddd7
SM
1572 (cfengine3-completion-function, cfengine3--current-function):
1573 Use `cfengine3-make-syntax-cache' directly.
978a5fda
TZ
1574 (cfengine3-clear-syntax-cache): New function.
1575 (cfengine3-make-syntax-cache): Simplify and create
1576 `cfengine-mode-syntax-functions-regex' on demand.
1577 (cfengine3-format-function-docstring): Don't call
1578 `cfengine3-make-syntax-cache' explicitly.
1579
71e6691e
MR
15802013-12-13 Martin Rudalics <rudalics@gmx.at>
1581
1582 Fix windmove-find-other-window broken after pixelwise resizing
1583 (Bug#16017).
1584 * windmove.el (windmove-other-window-loc): Revert change from
1585 2013-12-04.
1586 (windmove-find-other-window): Call window-in-direction.
1587 * window.el (window-in-direction): New arguments SIGN, WRAP and
1588 MINI to emulate original windmove-find-other-window behavior.
1589
84c73ba0
DG
15902013-12-13 Dmitry Gutov <dgutov@yandex.ru>
1591
1592 * simple.el (blink-matching--overlay): New variable.
1593 (blink-matching-open): Instead of moving point, highlight the
1594 matching paren with an overlay
1595 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1596
1597 * faces.el (paren-showing-faces, show-paren-match)
1598 (show-paren-mismatch): Move from paren.el.
1599
b9e20952
LL
16002013-12-13 Leo Liu <sdl.web@gmail.com>
1601
1602 * indent.el (indent-region): Disable progress reporter in
1603 minibuffer. (Bug#16108)
1604
1605 * bindings.el (visual-order-cursor-movement): Fix version.
1606
ce030451
FEG
16072013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
1608
1609 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1610 Also match after beginning of line.
1611 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
e9dc713d 1612 files. Thanks to Russell Sim. (Bug#15378)
ce030451 1613
4a9c6865
JL
16142013-12-13 Juri Linkov <juri@jurta.org>
1615
1616 * simple.el <Keypad support>: Remove key bindings duplicated
1617 with bindings.el. (Bug#14397)
1618
2bc170c3
JL
16192013-12-13 Juri Linkov <juri@jurta.org>
1620
1621 * comint.el (comint-mode-map): Replace `delete-char' with
1622 `delete-forward-char'. (Bug#16109)
1623
bc9222c9
FEG
16242013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1625
aa2bddd7 1626 * progmodes/python.el (python-indent-calculate-indentation):
e9dc713d 1627 Fix de-denters cornercase. (Bug#15731)
bc9222c9 1628
cb3a1380
SM
16292013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
1630
1631 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1632 (advice--make): Pay attention to `depth'.
1633 (advice--make-1): Don't autoload commands eagerly.
1634 * emacs-lisp/elp.el (elp-instrument-function):
1635 * emacs-lisp/trace.el (trace-function-internal):
1636 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1637
1638 * iswitchb.el (iswitchb-mode): Don't belittle ido.
1639
01633a17
EZ
16402013-12-12 Eli Zaretskii <eliz@gnu.org>
1641
1642 * term/w32-win.el (w32-handle-dropped-file):
1643 * startup.el (normal-top-level):
1644 * net/browse-url.el (browse-url-file-url):
1645 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1646 decode file names using 'utf-8' rather than
1647 file-name-coding-system.
1648
09faee72
FEG
16492013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
1650
1651 * progmodes/python.el (python-indent-context)
1652 (python-indent-calculate-indentation): Fix auto-identation
e9dc713d 1653 behavior for comment blocks. (Bug#15916)
09faee72 1654
f4f84024 16552013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
f54de22e 1656
cb3a1380
SM
1657 * progmodes/python.el (python-indent-calculate-indentation):
1658 When determining indentation, don't treat "return", "pass", etc., as
f54de22e
NT
1659 operators when they are just string constituents. (Bug#15812)
1660
d5ccb7be
JL
16612013-12-12 Juri Linkov <juri@jurta.org>
1662
1663 * uniquify.el (uniquify-buffer-name-style): Change default to
1664 `post-forward-angle-brackets'.
1665
1666 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1667 `uniquify'. Change default to `post-forward-angle-brackets'.
1668
7b3f5679
GM
16692013-12-11 Glenn Morris <rgm@gnu.org>
1670
1671 * emacs-lisp/package.el (finder-list-matches):
1672 Autoload rather than falsely declaring.
1673
f4fe8fdd
TZ
16742013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
1675
1676 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1677 (eww-mode-map): Use them.
1678
3c29190f
MR
16792013-12-11 Martin Rudalics <rudalics@gmx.at>
1680
1681 * window.el (display-buffer-in-side-window): Fix doc-string
1682 (Bug#16115).
1683
0cd616a2
JB
16842013-12-11 Juanma Barranquero <lekktu@gmail.com>
1685
1686 * vc/vc-git.el: Silence byte-compiler warnings.
1687 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1688 (log-edit-set-header): Declare.
1689
3ef8e0d1
EZ
16902013-12-11 Eli Zaretskii <eliz@gnu.org>
1691
1692 * Makefile.in (custom-deps, finder-data): Run output file names
1693 through unmsys--file-name. (Bug#16099)
1694
afdadaf7
SM
16952013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
1696
7ae3ae39 1697 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
cb3a1380 1698 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
7ae3ae39 1699
5b4f37ab
SM
1700 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1701 instead of deleting the selection "by hand" (bug#16098).
1702 Rely on insert-for-yank to yank rectangles.
1703 (cua-highlight-region-shift-only): Mark obsolete.
1704 (cua-mode): Don't enable/disable transient-mark-mode,
1705 shift-select-mode (cua-mode works both with and without them), and
1706 pc-selection-mode (obsolete).
1707 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1708 (cua--deactivate-rectangle): Deactivate it.
1709
4b72c12b
SM
1710 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1711 (delete-selection-helper): Make sure yank starts at the top of the
1712 deleted region.
1713 (minibuffer-keyboard-quit): Use region-active-p.
1714
e82af72d
SM
1715 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1716
afdadaf7
SM
1717 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1718 to `delete' (bug#16109).
1719
ed4bc201
RS
17202013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1721
1722 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1723 info manual and show keybindings and set `:group' keyword.
1724
bb8097b9
JL
17252013-12-11 Juri Linkov <juri@jurta.org>
1726
1727 * delsel.el (delete-active-region): Let-bind `this-command'
1728 to prevent `kill-region' from changing its original value.
1729 (delete-selection-helper): Handle `overwrite-mode' for the type
1730 `kill' exactly the same way as for the type `t'.
1731 (insert-char, quoted-insert, reindent-then-newline-and-indent):
1732 Support more commands. (Bug#13312)
1733
c1916ff5
JL
17342013-12-11 Juri Linkov <juri@jurta.org>
1735
1736 * bindings.el: Map kp keys to non-kp keys systematically
1737 with basic modifiers control, meta and shift. (Bug#14397)
1738
7514d3f8 17392013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
b68cf43c
KN
1740
1741 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1742 "Close browser" menu items. Fix wrong function of "List
1743 bookmarks".
1744
4cc51eaf
JL
17452013-12-11 Juri Linkov <juri@jurta.org>
1746
1747 * misearch.el (multi-isearch-buffers): Set the value of
1748 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1749 arg of isearch-forward to t.
1750 (multi-isearch-buffers-regexp): Set the value of
1751 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
1752 arg of isearch-forward-regexp to t.
1753 (multi-isearch-files): Set the value of
1754 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
1755 arg of isearch-forward to t.
1756 (multi-isearch-files-regexp): Set the value of
1757 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
1758 arg of isearch-forward-regexp to t. (Bug#16035)
1759
1760 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1761 arg of isearch-forward to t.
1762 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1763 arg of isearch-forward-regexp to t.
1764 (dired-isearch-filter-filenames): Remove unnecessary check for
1765 `dired-isearch-filenames'.
1766
1767 * comint.el (comint-history-isearch-backward):
1768 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1769 (comint-history-isearch-backward-regexp):
1770 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1771
ceac12b7
EZ
17722013-12-10 Eli Zaretskii <eliz@gnu.org>
1773
1774 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1775 unmsys--file-name. (Bug#16099)
1776
5a565782
TZ
17772013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
1778
cb3a1380
SM
1779 * emacs-lisp/package.el (package-keyword-button-action):
1780 Remove finder.el require dependency.
5a565782 1781
a81fc7ba
TZ
17822013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
1783
1784 * emacs-lisp/package.el: Require finder.el.
1785 (describe-package-1): Add keyword buttons.
1786 (package-make-button): New convenience function.
1787 (package-keyword-button-action): Keyword button action using
e0eb0550 1788 `finder-list-matches'.
a81fc7ba 1789
6aaca951
EZ
17902013-12-09 Eli Zaretskii <eliz@gnu.org>
1791
1792 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1793 last commit.
1794
a1099a91
MA
17952013-12-09 Michael Albinus <michael.albinus@gmx.de>
1796
1797 * autorevert.el (auto-revert-notify-add-watch): Do not handle
1798 symlinked files.
1799
8212d9c0
DG
18002013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1801
1802 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1803 after the end of a percent literal.
1804
8f48d131
CD
18052013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
1806
cb3a1380
SM
1807 * progmodes/ruby-mode.el (ruby-forward-string): Document.
1808 Handle caret-delimited strings (Bug#16079).
8f48d131 1809
ff8c9764
DG
18102013-12-09 Dmitry Gutov <dgutov@yandex.ru>
1811
cb3a1380
SM
1812 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1813 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
ff8c9764
DG
1814 `ruby-parse-partial' (Bug#16078).
1815
d64643b4
LL
18162013-12-09 Leo Liu <sdl.web@gmail.com>
1817
1818 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
1819
47e59c66
DG
18202013-12-08 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1823 (js-switch-indent-offset): New option.
1824 (js--proper-indentation): Use it. And handle the case when
1825 "default" is actually a key in an object literal.
1826 (js--same-line): New function.
1827 (js--multi-line-declaration-indentation): Use it.
cb3a1380
SM
1828 (js--indent-in-array-comp, js--array-comp-indentation):
1829 New functions.
47e59c66
DG
1830 (js--proper-indentation): Use them, to handle array comprehension
1831 continuations.
1832
974ebc9c
LL
18332013-12-08 Leo Liu <sdl.web@gmail.com>
1834
1835 * progmodes/flymake.el (flymake-highlight-line): Re-write.
1836 (flymake-make-overlay): Remove arg MOUSE-FACE.
1837 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1838
27262e39
SM
18392013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1840
1841 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1842 New function.
1843 (redisplay-highlight-region-function): Use it.
1844
1845 * emulation/cua-base.el (cua--explicit-region-start)
1846 (cua--last-region-shifted): Remove.
1847 (cua--deactivate): Use deactivate-mark.
1848 (cua--pre-command-handler-1): Don't handle shift-selection.
1849 (cua--post-command-handler-1): Don't change transient-mark-mode.
1850 (cua--select-keymaps): Use region-active-p rather than
1851 cua--explicit-region-start or cua--last-region-shifted.
1852 (cua-mode): Enable shift-select-mode.
1853
6407822c
LL
18542013-12-08 Leo Liu <sdl.web@gmail.com>
1855
27262e39
SM
1856 * progmodes/flymake.el (flymake-popup-current-error-menu):
1857 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6407822c
LL
1858 (flymake-posn-at-point-as-event, flymake-popup-menu)
1859 (flymake-make-emacs-menu): Remove. (Bug#16077)
1860
00a2b823
SM
18612013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
1862
02033d49
SM
1863 * rect.el (rectangle-mark-mode): Activate mark even if
1864 transient-mark-mode is off (bug#16066).
1865 (rectangle--highlight-for-redisplay): Fix boundary condition when point
1866 is > mark and at bolp.
1867
6f8dfccf
SM
1868 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1869 (region-extract-function): Use it.
1870 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1871 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1872 Delete functions.
1873 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1874 kill-ring-save, kill-region, delete-char, delete-forward-char.
1875 Ignore self-insert-iso.
1876
1877 * emulation/cua-gmrk.el (cua--init-global-mark):
1878 Ignore `self-insert-iso'.
1879
1880 * emulation/cua-base.el (cua--prefix-copy-handler)
1881 (cua--prefix-cut-handler): Rely on region-extract-function rather than
1882 checking cua--rectangle.
1883 (cua-delete-region): Use region-extract-function.
1884 (cua-replace-region): Delete function.
1885 (cua-copy-region, cua-cut-region): Obey region-extract-function.
1886 (cua--pre-command-handler-1): Don't do the delete-selection thing.
1887 (cua--self-insert-char-p): Ignore `self-insert-iso'.
1888 (cua--init-keymaps): Don't remap delete-selection commands.
1889 (cua-mode): Use delete-selection-mode instead of rolling our own
1890 (bug#16085).
1891
1892 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1893 Obey region-extract-function.
1894
00a2b823
SM
1895 Make registers and delete-selection-mode work on rectangles.
1896 * register.el (describe-register-1): Don't modify the register's value.
1897 (copy-to-register): Obey region-extract-function.
1898 * delsel.el (delete-active-region): Obey region-extract-function.
1899
a92fa5f1
LL
19002013-12-08 Leo Liu <sdl.web@gmail.com>
1901
1902 * progmodes/flymake.el (flymake, flymake-error-bitmap)
1903 (flymake-warning-bitmap, flymake-fringe-indicator-position)
1904 (flymake-compilation-prevents-syntax-check)
1905 (flymake-start-syntax-check-on-newline)
1906 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1907 (flymake-start-syntax-check-on-find-file, flymake-log-level)
1908 (flymake-xml-program, flymake-master-file-dirs)
1909 (flymake-master-file-count-limit)
1910 (flymake-allowed-file-name-masks): Relocate.
1911 (flymake-makehash, flymake-float-time)
1912 (flymake-replace-regexp-in-string, flymake-split-string)
1913 (flymake-get-temp-dir): Remove.
1914 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1915 (flymake-current-row, flymake-selected-frame)
1916 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1917 related functions. (Bug#16077)
1918
73c8ceea
BB
19192013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
1920
1921 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1922
faec28d9
TH
19232013-12-07 Tassilo Horn <tsdh@gnu.org>
1924
1925 * help-fns.el (describe-function-1): Use new advice-* functions
1926 rather than old ad-* functions. Fix function type description and
1927 source links for advised functions and subrs.
1928
e330b646
LMI
19292013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1930
00a2b823 1931 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
e330b646 1932
4803595d
MA
19332013-12-06 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * progmodes/compile.el (compilation-start):
1936 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1937
1938 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1939 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
1940
fa834a93
DG
19412013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1942
00a2b823
SM
1943 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1944 Touch up the last change.
fa834a93 1945
b2856a6f
LL
19462013-12-06 Leo Liu <sdl.web@gmail.com>
1947
1948 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1949 (inferior-octave-startup): Always use "octave> " for prompt.
1950 (octave-goto-function-definition)
1951 (octave-sync-function-file-names)
1952 (octave-find-definition-default-filename): Remove redundant backquotes.
1953
af67e79a
DG
19542013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1955
1956 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1957 syntax for `?'.
1958 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1959 where appropriate already.
1960 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1961 end of method names (Bug#15874).
1962
bf093209
JL
19632013-12-06 Juri Linkov <juri@jurta.org>
1964
1965 * isearch.el (isearch--saved-overriding-local-map):
1966 New internal variable.
1967 (isearch-mode): Set it to the initial value of
1968 `overriding-terminal-local-map'.
1969 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1970 with `isearch--saved-overriding-local-map'. (Bug#16035)
1971
16588fad
DG
19722013-12-06 Dmitry Gutov <dgutov@yandex.ru>
1973
00a2b823
SM
1974 * progmodes/octave.el (inferior-octave-completion-table):
1975 Turn back into function, use `completion-table-with-cache'
16588fad
DG
1976 (Bug#11906). Update all references.
1977
1978 * minibuffer.el (completion-table-with-cache): New function.
1979
bf4906d7
CD
19802013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
1981
1982 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1983
ff69c18f
TZ
19842013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
1985
1986 * net/eww.el (eww-current-source): New variable to store page
1987 source.
1988 (eww-display-html, eww-mode, eww-save-history)
1989 (eww-restore-history): Use it.
1990 (eww-view-source): New command to view page source.
1991 Opportunistically uses `html-mode' to highlight the buffer.
1992 (eww-mode-map): Install it.
1993
b85eff45
MA
19942013-12-05 Michael Albinus <michael.albinus@gmx.de>
1995
1996 * net/dbus.el (dbus-unregister-service)
1997 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1998 Fix docstring.
1999 (dbus-unregister-service): Skip :serial entries in
2000 `dbus-registered-objects-table'.
2001 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2002
39eb0899
TZ
20032013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2004
2005 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2006 around keywords with extra `split-string' argument.
2007
456760a5
MR
20082013-12-04 Martin Rudalics <rudalics@gmx.at>
2009
2010 * windmove.el (windmove-other-window-loc): Handle navigation
2011 between windows (excluding the minibuffer window - Bug#16017).
2012
81961e4c
MA
20132013-12-04 Michael Albinus <michael.albinus@gmx.de>
2014
2015 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2016 in D-Bus type syntax.
2017 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2018 preserve unibyte strings. (Bug#16048)
2019
8497f938
SM
20202013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2023 Call force-mode-line-update is the proper buffer (bug#16042).
2024
dda61916
DG
20252013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2026
2027 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2028 `log-edit-remember-comment', make argument optional. Adjust all
2029 callers.
2030 (log-edit-mode): Add `log-edit-remember-comment' to
2031 `kill-buffer-hook' locally.
2032 (log-edit-kill-buffer): Don't remember comment explicitly since
2033 the buffer is killed anyway.
2034
c085e5b9
JL
20352013-12-04 Juri Linkov <juri@jurta.org>
2036
2037 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2038 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2039
e0eb0550 20402013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
d6f2380e
TR
2041
2042 * notifications.el (notifications-close-notification): Call the
81961e4c 2043 D-Bus method with ID being a `:uint32'. (Bug#16030)
d6f2380e 2044
39fa32d6
KY
20452013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2046
2047 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2048
9139632a
JL
20492013-12-03 Juri Linkov <juri@jurta.org>
2050
2051 * progmodes/compile.el (compilation-start): Rename window alist
2052 entry `no-display-ok' to `allow-no-window'.
2053
2054 * simple.el (shell-command): Add window alist entry
2055 `allow-no-window' to `display-buffer'.
2056 (async-shell-command): Doc fix.
2057
2058 * window.el (display-buffer-no-window): New action function.
2059 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2060
0f457a37
DG
20612013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2062
2063 * vc/log-edit.el (log-edit-set-header): Extract from
2064 `log-edit-toggle-header'.
2065 (log-edit-extract-headers): Separate the summary, when extracted
2066 from header, from the rest of the message with an empty line.
2067
2068 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2069 line, if present, to the Summary header.
2070
0962f376
SM
20712013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2074 in current-buffer (bug#16029).
2075
f345395c
HE
20762013-12-02 Helmut Eller <eller.helmut@gmail.com>
2077
2078 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2079 (debugger-mode-map): Bind it.
2080 (debugger--backtrace-base): New function.
2081 (debugger-eval-expression): Use it.
2082 (debugger-frame-number): Skip local vars when present.
2083 (debugger--locals-visible-p, debugger--insert-locals)
2084 (debugger--show-locals, debugger--hide-locals): New functions.
2085
a8a15d9d
MA
20862013-12-02 Michael Albinus <michael.albinus@gmx.de>
2087
2088 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2089 "LC_ALL".
2090 (tramp-get-remote-locale): New defun.
2091 (tramp-open-connection-setup-interactive-shell): Use it.
2092
0518b057
LL
20932013-12-02 Leo Liu <sdl.web@gmail.com>
2094
2095 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2096
2097 * progmodes/sh-script.el (sh-shell-process):
2098 * progmodes/octave.el (inferior-octave-process-live-p):
2099 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2100 (gdb-inferior-io-sentinel):
2101 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2102
3adc9c6d
DG
21032013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2104
2105 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2106 `save-selected-window' to `log-edit-hide-buf'. This makes
2107 `log-edit-show-files' idempotent.
2108 (log-edit-show-files): Mark the new window as dedicated.
2109
47e8b74e
DG
21102013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2111
2112 * vc/log-edit.el (log-edit-mode-map): Add binding for
2113 `log-edit-kill-biffer'.
2114 (log-edit-hide-buf): Add a FIXME comment.
2115 (log-edit-add-new-comment): New function, extracted from
2116 `log-edit-done'.
2117 (log-edit-done, log-edit-add-to-changelog): Use it.
2118 (log-edit-kill-buffer): New command.
2119
1f6e1bb0
LMI
21202013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121
2122 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2123 instead of killing the buffer.
2124
fb651d15
SM
21252013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2128
8feacce0
RS
21292013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2130
fb651d15 2131 * net/eww.el (eww-form-checkbox-selected-symbol)
4570dd16 2132 (eww-form-checkbox-symbol): New customizable variable.
fb651d15
SM
2133 (eww-form-checkbox, eww-toggle-checkbox):
2134 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2135
e0eb0550 2136 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
fb651d15 2137 (shr--get-media-pref, shr--extract-best-source): New function.
e0eb0550 2138 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
ad9a773c
RS
2139 no :src tag was specified.
2140
fb651d15 2141 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
b2afb3ea
RS
2142 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2143 Use \\` to match beginning of string instead of ^.
2144 (eww-browse-with-external-browser): Provide optional URL parameter.
450c7b35 2145 (eww-render): Set `eww-current-title' back to "".
b2afb3ea 2146
177948a5
RS
2147 * net/shr.el (shr-tag-video): Display content for video if no
2148 poster is available.
eb2dd24d 2149 (shr-tag-audio): Add support for <audio> tag.
177948a5 2150
e0eb0550 2151 * net/eww.el (eww-text-input-types): New const.
177948a5
RS
2152 (eww-process-text-input): Treat input types in
2153 `eww-text-input-types' as text.
2154
8feacce0
RS
2155 * net/shr.el (shr-tag-table): Fix comment typo.
2156
513562a1
LMI
21572013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2158
2159 * net/eww.el (eww-follow-link): New command to avoid reloading
2160 pages when we follow #target links (bug#15243).
de8a5633 2161 (eww-quit): Special mode buffers shouldn't query before exiting.
513562a1 2162
9dd99753
KN
21632013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2164
2165 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2166 forms.
2167
3e9876de
LMI
21682013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2169
2170 * net/eww.el (eww-restore-history): Update the window title after
2171 moving in the history.
ab6dea82 2172 (eww-current-dom): New variable used to save the current DOM.
3e9876de 2173
52789f7f
DG
21742013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2175
2176 * vc/log-edit.el (log-edit-mode-map): Add binding for
2177 `log-edit-beginning-of-line'.
2178 (log-edit-setup-add-author): New user option.
2179 (log-edit-beginning-of-line): New command.
2180 (log-edit): Move major mode call above the contents setup so that
2181 the local variable values are already applied.
2182 (log-edit): Only insert "Author: " when
2183 `log-edit-setup-add-author' is non-nil.
2184 (log-edit): When SETUP is non-nil, position point after ": "
2185 instead of point-min.
2186
2e6710c3
GM
21872013-12-01 Glenn Morris <rgm@gnu.org>
2188
2189 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2190
fadec31f
EZ
21912013-11-30 Eli Zaretskii <eliz@gnu.org>
2192
2193 * startup.el (fancy-splash-frame): On MS-Windows, trigger
0449d6cd 2194 redisplay to make sure the initial frame gets a chance to become
fadec31f
EZ
2195 visible. (Bug#16014)
2196
10634b40 21972013-11-30 Martin Rudalics <rudalics@gmx.at>
880e6158
MR
2198
2199 Support resizing frames and windows pixelwise.
2200 * cus-start.el (frame-resize-pixelwise)
2201 (window-resize-pixelwise): New entries.
2202 * emacs-lisp/debug.el (debug): Use window-total-height instead
2203 of window-total-size.
2204 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2205 * help.el (describe-bindings-internal): Call help-buffer
2206 (temp-buffer-max-width): New option.
2207 (resize-temp-buffer-window, help-window-setup)
2208 (with-help-window): Rewrite.
2209 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2210 dragging dividers.
2211 * window.el (frame-char-size, window-min-pixel-height)
2212 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2213 (window-min-pixel-width, window-safe-min-pixel-size)
2214 (window-combination-p, window-safe-min-size)
2215 (window-resizable-p, window--size-to-pixel)
2216 (window--pixel-to-size, window--resize-apply-p): New functions.
2217 (window-safe-min-height): Fix doc-string.
2218 (window-size, window-min-size, window--min-size-1)
2219 (window-sizable, window-sizable-p, window--min-delta-1)
2220 (window-min-delta, window--max-delta-1, window-max-delta)
2221 (window--resizable, window--resizable-p, window-resizable)
2222 (window-full-height-p, window-full-width-p, window-at-side-p)
2223 (window--in-direction-2, window-in-direction)
2224 (window--resize-reset-1, window--resize-mini-window)
2225 (window-resize, window-resize-no-error)
2226 (window--resize-child-windows-normal)
2227 (window--resize-child-windows, window--resize-siblings)
2228 (window--resize-this-window, window--resize-root-window)
2229 (window--resize-root-window-vertically)
2230 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2231 (maximize-window, minimize-window, delete-window)
2232 (quit-restore-window, window-split-min-size, split-window)
2233 (balance-windows-2, balance-windows)
2234 (balance-windows-area-adjust, balance-windows-area)
2235 (window--state-get-1, window-state-get, window--state-put-1)
2236 (window--state-put-2, window-state-put)
fb651d15
SM
2237 (display-buffer-record-window, window--display-buffer):
2238 Make functions handle pixelwise sizing of windows.
880e6158 2239 (display-buffer--action-function-custom-type)
fb651d15
SM
2240 (display-buffer-fallback-action):
2241 Add display-buffer-in-previous-window.
880e6158
MR
2242 (display-buffer-use-some-window): Resize window to height it had
2243 before.
2244 (fit-window-to-buffer-horizontally): New option.
2245 (fit-frame-to-buffer): Describe new values.
2246 (fit-frame-to-buffer-bottom-margin): Replace with
2247 fit-frame-to-buffer-margins.
2248 (window--sanitize-margin): New function.
2249 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2250 using window-text-pixel-size.
2251
f9b697dd
GM
22522013-11-30 Glenn Morris <rgm@gnu.org>
2253
3e2fb4db
GM
2254 * emacs-lisp/bytecomp.el (byte-compile-form):
2255 Make the `interactive-only' warning like the `obsolete' one.
2256 * comint.el (comint-run):
2257 * files.el (insert-file-literally, insert-file):
2258 * replace.el (replace-string, replace-regexp):
2259 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2260 (goto-line, insert-buffer, next-line, previous-line):
2261 Tweak `interactive-only' spec.
2262
f9b697dd
GM
2263 Stop keeping (most) generated cedet grammar files in the repository.
2264 * Makefile.in (semantic): New.
2265 (compile-main): Depend on semantic.
2266
da048127
SM
22672013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2268
7784b779
SM
2269 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2270 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2271
4e36a6a6
SM
2272 * uniquify.el (uniquify-buffer-name-style): Change default.
2273
2274 * loadup.el: Preload "uniquify".
2275
e0ba1308
SM
2276 * time.el (display-time-update): Update all mode lines (bug#15999).
2277
da048127
SM
2278 * electric.el (electric-indent-mode): Enable by default.
2279 * loadup.el: Preload "electric".
2280
015b3b3e
BB
22812013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2282
2283 * emacs-lisp/helpers.el (string-empty-p): New function.
2284 (string-blank-p): New function.
2285
7efb806d
AP
22862013-11-29 Andreas Politz <politza@hochschule-trier.de>
2287
2288 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2289 (Bug#14029).
2290
c8f0efc2
AP
22912013-11-29 Andreas Politz <politza@fh-trier.de>
2292 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2293 allow non-lambda lists as functions.
2294 (imenu--in-alist): Don't recurse into non-subalists.
2295 (imenu): Don't pass function itself as an argument (Bug#14029).
2296
bd15d9d1
SM
22972013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2298
2299 * progmodes/python.el (python-mode-map): Remove binding for ":".
2300 (python-indent-electric-colon): Remove command.
2301 (python-indent-post-self-insert-function): Integrate the previous code
2302 of python-indent-electric-colon. Make it conditional on
2303 electric-indent-mode.
2304 (python-mode): Add ?: to electric-indent-chars.
2305 Move python-indent-post-self-insert-function to the end of
2306 post-self-insert-hook.
2307
1b10adb6
SM
23082013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2309
655ab9a3
SM
2310 * doc-view.el (doc-view-goto-page): Update mode-line.
2311
1b10adb6
SM
2312 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2313
7e3bf78c
GM
23142013-11-27 Glenn Morris <rgm@gnu.org>
2315
2316 * international/charprop.el, international/uni-bidi.el:
2317 * international/uni-category.el, international/uni-combining.el:
2318 * international/uni-comment.el, international/uni-decimal.el:
2319 * international/uni-decomposition.el, international/uni-digit.el:
2320 * international/uni-lowercase.el, international/uni-mirrored.el:
2321 * international/uni-name.el, international/uni-numeric.el:
2322 * international/uni-old-name.el, international/uni-titlecase.el:
2323 * international/uni-uppercase.el:
2324 Remove generated files from VCS repository.
2325
fb6a5d68
EZ
23262013-11-27 Eli Zaretskii <eliz@gnu.org>
2327
2328 * filenotify.el (file-notify-add-watch): Don't special-case
2329 w32notify when computing the directory to watch.
2330
cb6c95a3
GM
23312013-11-27 Glenn Morris <rgm@gnu.org>
2332
20372d0c
GM
2333 Make bootstrap without generated uni-*.el files possible again.
2334 * loadup.el: Update command-line-args checking for unidata-gen.
2335 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2336 * composite.el, international/characters.el:
2337 Handle unicode tables being undefined.
2338
52d6635f 2339 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
cb6c95a3
GM
2340 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2341 (compile-main): Depend on leim rule.
2342 (leim): New rule.
2343 * loadup.el: Move leim-list.el to leim/ subdirectory.
2344 * startup.el (normal-top-level): No more leim directory.
2345 * international/ja-dic-cnv.el (skkdic-convert):
2346 Disable version-control and autoloads in output files.
2347 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2348 Disable version-control and autoloads in output files.
2349 * leim/quail: Move here from ../leim.
2350 * leim/quail/hangul.el (hangul-input-method-activate):
2351 Add autoload cookie.
2352 (generated-autoload-load-name): Set file-local value.
2353 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2354 (generated-autoload-load-name): Set file-local value.
2355
7514d3f8 23562013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
e47112ee 2357
e0eb0550 2358 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7514d3f8 2359 (eww-add-bookmark): Ask confirmation when add to bookmarks.
e0eb0550 2360 (eww-quit): Ask confirmation before quitting eww.
e47112ee 2361
0e2c793f
EZ
23622013-11-26 Eli Zaretskii <eliz@gnu.org>
2363
2364 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2365 reading output from Diff on MS-Windows and MS-DOS.
2366
447bdcb8
BB
23672013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2368
2369 * emacs-lisp/helpers.el (string-reverse): New function.
2370
5fbf6856
MA
23712013-11-26 Michael Albinus <michael.albinus@gmx.de>
2372
2373 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2374 names on MS Windows, like "/[::1]:".
2375
2376 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2377 SWITCHES.
2378
624780f0
GM
23792013-11-26 Glenn Morris <rgm@gnu.org>
2380
0bf3f0fa
GM
2381 * progmodes/python.el (python-indent-guess-indent-offset):
2382 Avoid corner-case error. (Bug#15975)
2383
624780f0
GM
2384 Preload leim-list.el. (Bug#4789)
2385 * loadup.el: Load leim-list.el when found.
2386 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2387
4301875e 23882013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
d694737a
BB
2389
2390 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2391
4301875e
BB
2392 * emacs-lisp/helpers.el (string-join): New function.
2393
1633a815 23942013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2bb3a748
BB
2395
2396 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2397 Mark as obsolete and replace it with a symbol property.
2398 (byte-compile-form): Use new 'interactive-only property.
2399 * comint.el, files.el, replace.el, simple.el:
2400 Apply new 'interactive-only properly.
2401
00139435
MR
24022013-11-25 Martin Rudalics <rudalics@gmx.at>
2403
2404 * window.el (display-buffer-at-bottom): Make sure that
2405 split-window-sensibly creates the new window on bottom
2406 (Bug#15961).
2407
5f5b128d
DK
24082013-11-23 David Kastrup <dak@gnu.org>
2409
2410 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2411 on the conflict markers when available.
2412 (smerge--get-marker): New function.
2413 (smerge-end-re, smerge-base-re): Add subgroup.
2414
623891e5
SM
24152013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * frame.el (handle-focus-in, handle-focus-out): Add missing
2418 interactive spec.
2419
05ca27d8
MA
24202013-11-25 Michael Albinus <michael.albinus@gmx.de>
2421
2422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2423 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2424
511fa0d3
SM
24252013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2426
e82ad66c
SM
2427 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2428 (gomoku--last-pos): New var.
2429 (gomoku--intangible-chars): New const.
2430 (gomoku--intangible): New function.
2431 (gomoku-mode): Use it. Derive from special-mode.
2432 (gomoku-move-up): Adjust line count.
2433 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2434 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2435 Simplify accordingly.
2436
511fa0d3
SM
2437 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2438 Remove blink-cursor code.
2439 (blink-cursor-timer-function, blink-cursor-suspend):
2440 Don't special-case GUIs.
2441 (blink-cursor-mode): Use focus-in/out-hook.
2442
6f20dd03
DG
24432013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2444
2445 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2446 work when annotation is invisible (Bug#13886).
2447
431dec31 24482013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7c1bf12e
SS
2449
2450 * json.el (json-alist-p): Only return non-nil if the alist has
2451 simple keys (Bug#13518).
2452
431dec31 24532013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
64e41529
MR
2454
2455 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2456 when control-statement is the first statement in a buffer (Bug#15956).
2457
ee4f0261
DG
24582013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2459
2460 * imenu.el (imenu-generic-skip-comments-and-strings):
2461 New option (Bug#15560).
2462 (imenu--generic-function): Use it.
2463
c484f866
JS
24642013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2465
e9dc713d
JB
2466 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2467 (Bug#13898)
c484f866 2468
41ce6f70
BB
24692013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2470
b55aea38
BB
2471 * emacs-lisp/helpers.el: Add some string helpers.
2472 (string-trim-left): Removes leading whitespace.
2473 (string-trim-right): Removes trailing whitespace.
2474 (string-trim): Removes leading and trailing whitespace.
2475
41ce6f70
BB
2476 * subr.el (string-suffix-p): New function.
2477
3cfb6af3
GM
24782013-11-23 Glenn Morris <rgm@gnu.org>
2479
2480 * progmodes/python.el (python-shell-send-file):
2481 Add option to delete file when done. (Bug#15647)
2482 (python-shell-send-string, python-shell-send-region): Use it.
2483
c27924b7
IS
24842013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2485
e1b01c7f
IS
2486 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2487 to set buffer-read-only to t, never to nil. (Bug#15938)
2488
c27924b7
IS
2489 * textmodes/tex-mode.el (latex-noindent-environments):
2490 Add safe-local-variable property. (Bug#15936)
2491
17e0445b
GM
24922013-11-23 Glenn Morris <rgm@gnu.org>
2493
92f78ea3
GM
2494 * textmodes/enriched.el (enriched-mode): Doc fix.
2495 * emacs-lisp/authors.el (authors-renamed-files-alist):
2496 Add enriched.doc -> enriched.txt.
2497
17e0445b
GM
2498 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2499
965bb23a
LL
25002013-11-22 Leo Liu <sdl.web@gmail.com>
2501
2502 * progmodes/octave.el (inferior-octave-startup): Spit out error
2503 message.
2504
d19ffd64
BB
25052013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2506
2507 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2508 Improve docstring.
15ba2182
BB
2509 Add :version.
2510 (ruby-encoding-magic-comment-style): Add :version.
d19ffd64 2511
7a7567d2
LL
25122013-11-22 Leo Liu <sdl.web@gmail.com>
2513
2514 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2515 (Bug#15076)
8c09f64b
LL
2516 (octave-help-mode): Adapt to change to help-mode-finish to use
2517 derived-mode-p on 2013-09-17.
2518 (inferior-octave-prompt): Also match octave-gui.
2cc18f93 2519 (octave-kill-process): Don't ask twice. (Bug#10564)
7a7567d2 2520
724bc265
LL
25212013-11-22 Leo Liu <sdl.web@gmail.com>
2522
2523 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2524 (inferior-octave-startup, inferior-octave-check-process)
2525 (inferior-octave-track-window-width-change)
2526 (octave-completion-at-point, octave-eldoc-function): Use it.
2527 (octave-kill-process): Provide confirmation. (Bug#10564)
2528
38637cca
LL
25292013-11-21 Leo Liu <sdl.web@gmail.com>
2530
511fa0d3
SM
2531 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2532 Fix obsolete variable comment-use-global-state.
38637cca 2533
06e752b4
RS
25342013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2535
511fa0d3
SM
2536 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2537 Add `octave-source-file'.
06e752b4
RS
2538 (octave-source-file): New function. (Bug#15935)
2539
7514d3f8 25402013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
604ede6c
TZ
2541
2542 * net/eww.el (eww-local-regex): New variable.
2543 (eww): Use it to detect localhost and similar.
2544
b6ffa04a
LL
25452013-11-21 Leo Liu <sdl.web@gmail.com>
2546
2547 Add completion for command `ag'.
2021a200
LL
2548 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2549 (pcomplete/ag): New function.
e9dc713d 2550 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
b6ffa04a 2551
d1a6bccc
SM
25522013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2555 (bug#14646).
2556 (make-obsolete): Remove interactive spec.
2557
2df10228
GM
25582013-11-21 Glenn Morris <rgm@gnu.org>
2559
2560 * startup.el (command-line-1): Use path-separator with -L.
2561
86fd16b6
TZ
25622013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
2563
2564 * emacs-lisp/package.el (describe-package-1): Add package archive
2565 to shown fields.
2566
0449d6cd 25672013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7a12a42b
BB
2568
2569 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2570 Change default to "# encoding: %s" to differentiate it from the
2571 default Ruby encoding comment template.
2572
dc7e8c17 25732013-11-20 era eriksson <era+emacsbugs@iki.fi>
2574
2575 * ses.el (ses-mode): Doc fix. (Bug#14748)
2576
f0cfa5fe
LL
25772013-11-20 Leo Liu <sdl.web@gmail.com>
2578
2579 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
2580
826dc7b6
DN
25812013-11-19 Dan Nicolaescu <dann@gnu.org>
2582
2583 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2584 when rebase or bisect are in progress.
2585
a6e3a5d5
XF
25862013-11-19 Xue Fuqiao <xfq.free@gmail.com>
2587
2588 * filenotify.el (file-notify-add-watch): Doc fix.
2589
f130cb76
LL
25902013-11-19 Leo Liu <sdl.web@gmail.com>
2591
e0855d7d
LL
2592 * obsolete/rcompile.el: Mark obsolete.
2593
f130cb76 2594 * progmodes/compile.el (compilation-start)
d1a6bccc
SM
2595 (compilation-goto-locus, compilation-find-file):
2596 Pass no-display-ok and handle nil value from display-buffer.
f130cb76
LL
2597 (Bug#13594)
2598
2599 * window.el (display-buffer-alist, display-buffer): Document the
9139632a
JL
2600 new parameter no-display-ok. Return either a window or nil
2601 but never a non-window value.
f130cb76 2602
1f35d401
SM
26032013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
2604
25158c76
SM
2605 * electric.el (electric-indent-mode-map): Remove.
2606 (electric-indent-mode): Change the global-map instead (bug#15915).
2607
2608 * textmodes/text-mode.el (paragraph-indent-minor-mode):
2609 Use add-function.
1f35d401 2610
9bc67baa
SM
26112013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
2612
986545b5
SM
2613 * emacs-lisp/nadvice.el (remove-function): Align with
2614 add-function's behavior.
2615
9bc67baa
SM
2616 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2617 (gdb--string-regexp): New constant.
2618 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2619 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2620 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2621 submatch 1.
2622 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2623 Adjust use accordingly.
2624 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2625
56cd894e
AS
26262013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
2627
2628 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2629 interpolation curlies (Bug#15914).
2630
014690de
JB
26312013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
2632
2633 * calc/calc.el (calc-context-sensitive-enter): New variable.
2634 (calc-enter): Use `calc-context-sensitive-enter'.
2635
7e26a6c3
TZ
26362013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
2637
2638 * progmodes/cfengine.el: Version bump.
2639 (cfengine-cf-promises): New defcustom to locate cf-promises.
2640 (cfengine3-vartypes): Add new "data" type.
2641 (cfengine3--current-word): New function to get current name-like
2642 word or its bounds.
2643 (cfengine3--current-function): New function to look up a CFEngine
2644 function's definition.
2645 (cfengine3-format-function-docstring): New function.
2646 (cfengine3-make-syntax-cache): New function.
2647 (cfengine3-documentation-function): New function: ElDoc glue.
2648 (cfengine3-completion-function): New function: completion glue.
2649 (cfengine3-mode): Set `compile-command',
2650 `eldoc-documentation-function', and add to
2651 `completion-at-point-functions'.
2652
355204dd
MA
26532013-11-16 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2656 `tramp-current-connection'.
2657
43cebc23
DG
26582013-11-15 Dmitry Gutov <dgutov@yandex.ru>
2659
2660 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2661 nil/self/true/false with "end of symbol".
2662
a3fed6ff
BB
26632013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
2664
2665 * subr.el (version-regexp-alist): Fix a typo.
2666
e675b3e4
MA
26672013-11-15 Michael Albinus <michael.albinus@gmx.de>
2668
2669 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2670 "en_US.utf8" and "LC_CTYPE" to "".
2671 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2672 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2673
a1f03e89
LL
26742013-11-15 Leo Liu <sdl.web@gmail.com>
2675
2676 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
2677
5d9d9451
SM
26782013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2679
58362662
CS
2680 * progmodes/gud.el (ctl-x-map):
2681 Remove C-x SPC binding. (Bug#12342)
5d9d9451
SM
2682 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2683
6c1bf086
BB
26842013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
2685
0d5363c4
BB
2686 * subr.el (version-regexp-alist):
2687 Recognize hg, svn and darcs versions as snapshot versions.
2688
4e9fc48c
BB
2689 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2690 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2691 (ruby--encoding-comment-required-p): Extract from
2692 `ruby-mode-set-encoding'.
2693 (ruby-mode-set-encoding): Add the ability to always insert an
2694 utf-8 encoding comment. Fix and simplify coding comment update
2695 logic.
6c1bf086 2696
2f7e72f8
MA
26972013-11-14 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * net/tramp-gvfs.el (top): Run init code only when
2700 `tramp-gvfs-enabled' is not nil.
2701 (tramp-gvfs-enabled): Check also :system bus.
2702
0f137a73
SM
27032013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 Sync with upstream verilog-mode revision 78e66ba.
2706 * progmodes/verilog-mode.el (verilog-end-of-defun)
2707 (verilog-type-completion, verilog-get-list): Remove unused funcs.
2708 (verilog-get-end-of-defun): Remove unused argument.
2709 (verilog-comment-depth): Remove unused local `e'.
2710 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2711 Don't pass arg to verilog-get-end-of-defun.
2712
1c276bdd
GM
27132013-11-14 Glenn Morris <rgm@gnu.org>
2714
2715 * obsolete/assoc.el (aget): Prefix dynamic variable.
2716
2717 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2718
ff6ec81d
SM
27192013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * widget.el, hfy-cmap.el: Remove bogus package version number.
2722
75f777b6
GM
27232013-11-13 Glenn Morris <rgm@gnu.org>
2724
1d43dba1
GM
2725 * replace.el (replace-eval-replacement):
2726 Try to give more helpful error message. (Bug#15836)
2727
ff4b7bd5
GM
2728 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2729 (archive-7z-update): Avoid custom type mismatches.
2730
75f777b6
GM
2731 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2732
11151a06
MA
27332013-11-13 Michael Albinus <michael.albinus@gmx.de>
2734
e675b3e4 2735 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
11151a06
MA
2736 address can be empty.
2737
2738 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2739 Accept nil SWITCHES.
2740 (tramp-gvfs-handle-write-region): Implement APPEND.
2741
7b08f97e
DG
27422013-11-12 Dmitry Gutov <dgutov@yandex.ru>
2743
2744 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
ff6ec81d
SM
2745 binary "|" operator and closing block args delimiter.
2746 Remove FIXME comment referring to Ruby 1.8-only syntax.
7b08f97e
DG
2747 (ruby-smie--implicit-semi-p): Not after "|" operator.
2748 (ruby-smie--closing-pipe-p): New function.
2749 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2750 (ruby-smie-rules): Indent after "|".
2751
f201cf3a
GM
27522013-11-12 Glenn Morris <rgm@gnu.org>
2753
2754 * ps-print.el (ps-face-attribute-list):
2755 Handle anonymous faces. (Bug#15827)
2756
e6f759f9
MR
27572013-11-12 Martin Rudalics <rudalics@gmx.at>
2758
2759 * window.el (display-buffer-other-frame): Fix doc-string.
2760 (Bug#15868)
2761
ecda65d4
SM
27622013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2763
2764 * subr.el (force-mode-line-update): Delete, move to buffer.c.
2765
7ce8fcc3
MA
27662013-11-11 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2769 (tramp-sh-handle-file-local-copy): Don't write a message when
2770 saving temporary files.
2771
2772 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2773 both directories are remote.
2774 (tramp-smb-handle-directory-files): Do not return double entries.
2775 Do not expand full file names.
2776 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2777 (tramp-smb-handle-write-region): Implement APPEND.
2778 (tramp-smb-get-stat-capability): Fix a stupid bug.
2779
7818df11
SM
27802013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2781
2782 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2783
608c2085
NT
27842013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2785
2786 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2787 throwing error over malformed let/let* (bug#15814).
2788
122a7e46
SM
27892013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
2790
2791 * iswitchb.el (iswitchb-mode): Mark obsolete.
2792
766284d9
GM
27932013-11-11 Glenn Morris <rgm@gnu.org>
2794
2795 * international/uni-bidi.el, international/uni-category.el:
2796 * international/uni-name.el, international/uni-numeric.el:
2797 Regenerate for Unicode 6.3.0.
2798
7072a4e9
MA
27992013-11-10 Michael Albinus <michael.albinus@gmx.de>
2800
2801 * net/tramp.el (tramp-methods):
2802 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2803 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2804
c9df215b
AS
28052013-11-09 Andreas Schwab <schwab@linux-m68k.org>
2806
608c2085
NT
2807 * progmodes/sh-script.el (sh-font-lock-keywords-var):
2808 Force highlighting text after Summary keyword in doc face for rpm.
c9df215b 2809
fa47d796
DG
28102013-11-09 Dmitry Gutov <dgutov@yandex.ru>
2811
2812 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
608c2085 2813 available and the word has no wildcards, append one to the grep pattern.
fa47d796
DG
2814 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2815 (ispell-complete-word): Call `ispell-lookup-words' with the value
2816 independent of `ispell-look-p'.
2817
1629a329
DG
28182013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2819
2820 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2821 Not after "||".
2822 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2823 their parent.
2824
ad16897c
SM
28252013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2826
2827 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
2828 (ruby-font-lock-keywords): Use backquote.
2829
ffa2df72
DG
28302013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2831
2832 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2833 (ruby-smie--backward-token): Only consider full-string matches.
2834
5b97b4c0
JD
28352013-11-08 Jan Djärv <jan.h.d@swipnet.se>
2836
2837 * faces.el (describe-face): Add distant-foreground.
2838
71731c03
BB
28392013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
2840
4e9fc48c
BB
2841 * progmodes/ruby-mode.el: Improve encoding comment handling.
2842 (ruby-encoding-magic-comment-style): New option.
2843 (ruby-custom-encoding-magic-comment-template): New option.
655ab9a3
SM
2844 (ruby--insert-coding-comment, ruby--detect-encoding):
2845 New functions extracted from `ruby-mode-set-encoding'.
4e9fc48c
BB
2846 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2847 to control the style of the auto-inserted encoding comment.
71731c03 2848
da3b328d
DG
28492013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2850
ad16897c
SM
2851 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2852 Use `smie-backward-sexp' with token argument.
da3b328d 2853
1606c2d3
MA
28542013-11-08 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2857 Remove instrumentation code.
2858
b0f4c320
GM
28592013-11-08 Glenn Morris <rgm@gnu.org>
2860
2861 * progmodes/autoconf.el (autoconf-mode):
2862 Tweak comment-start-skip. (Bug#15822)
2863
43668fb1
SM
28642013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
2865
2866 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2867 at bobp (bug#15826).
2868 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2869
daddb3fd
DH
28702013-11-08 Darren Hoo <darren.hoo@gmail.com>
2871
2872 * man.el (Man-start-calling): New macro, extracted from
2873 Man-getpage-in-background.
2874 (Man-getpage-in-background): Use it.
2875 (Man-update-manpage): New command.
2876 (Man-mode-map): Bind it.
2877
1f923923
DG
28782013-11-08 Dmitry Gutov <dgutov@yandex.ru>
2879
2880 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2881 of "and", "or", "&&" and "||".
2882 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2883 argument. Prohibit opening curly brace because it could only be a
2884 block opener in that position.
daddb3fd
DH
2885 (ruby-smie--forward-token, ruby-smie--backward-token):
2886 Separate "|" from "&" or "*" going after it. That can happen in block
1f923923
DG
2887 arguments.
2888 (ruby-smie--indent-to-stmt): New function, seeks the end of
2889 previous statement or beginning of buffer.
2890 (ruby-smie-rules): Use it.
2891 (ruby-smie-rules): Check if there's a ":" before a curly block
2892 opener candidate; if there is, it's a hash.
2893
3220d527
SM
28942013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2897 (cl--block-wrapper): Fix last accidental change.
2898
1eb1f9e0
MA
28992013-11-07 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2902 Instrument, in order to hunt failure on hydra.
2903
e6e4db3c
NT
29042013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2905
2906 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2907 malformed bindings form (bug#15814).
2908
b420ccfc
DG
29092013-11-07 Dmitry Gutov <dgutov@yandex.ru>
2910
2911 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1d1c86da
DG
2912 "." compared to " @ ". This incidentally fixes some indentation
2913 examples with "do".
e6e4db3c 2914 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1d1c86da
DG
2915 (ruby-smie-grammar): New tokens: "and" and "or".
2916 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2917 Exclude "and" and "or". Remove "do" in order to work around token
2918 priorities.
2919 (ruby-smie-rules): Add all infix tokens. Handle the case of
2920 beginning-of-buffer.
b420ccfc 2921
6b4ac03e
GM
29222013-11-06 Glenn Morris <rgm@gnu.org>
2923
2924 * Makefile.in (setwins_almost, setwins_for_subdirs):
2925 Avoid accidental matches.
2926
5ca114d1
SM
29272013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * menu-bar.el (popup-menu): Use key-binding.
2930
f72552bd
EZ
29312013-11-06 Eli Zaretskii <eliz@gnu.org>
2932
2933 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2934 menus, support also the menus produced by minor modes.
2935 (Bug#15817)
2936
5d5c701e
LL
29372013-11-06 Leo Liu <sdl.web@gmail.com>
2938
2939 * thingatpt.el (thing-at-point-looking-at): Add optional arg
e9dc713d 2940 DISTANCE to bound the search. All uses changed. (Bug#15808)
5d5c701e 2941
0a8b75e2
GM
29422013-11-06 Glenn Morris <rgm@gnu.org>
2943
2944 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
65de43ad
GM
2945 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2946 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
0a8b75e2 2947
a35287ea
SM
29482013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
2949
feca4e2d
SM
2950 * electric.el (electric-indent-just-newline): New command.
2951 (electric-indent-mode-map): New keymap.
2952 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2953 Re-add :group which weren't redundant.
2954
a35287ea
SM
2955 * electric.el (electric-indent-local-mode): New minor mode.
2956 (electric-indent-functions-without-reindent): New var.
2957 (electric-indent-post-self-insert-function): Use it.
2958 * emacs-lisp/gv.el (buffer-local-value): Add setter.
2959
375761b2
EZ
29602013-11-05 Eli Zaretskii <eliz@gnu.org>
2961
9a6ad735
EZ
2962 * international/quail.el (quail-help): Be more explicit about the
2963 meaning of the labels shown on the keys. (Bug#15800)
2964
375761b2
EZ
2965 * startup.el (normal-top-level): Load the subdirs.el files before
2966 setting the locale environment. (Bug#15805)
2967
520a6e4a
SM
29682013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2969
0acfafef
SM
2970 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2971 via arguments so as to get the right ones (bug#15418).
2972
520a6e4a
SM
2973 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2974
15826261
MA
29752013-11-05 Michael Albinus <michael.albinus@gmx.de>
2976
2977 Fix problems found while writing a test suite.
2978
2979 * net/tramp-compat.el (tramp-compat-load): New defun.
2980 * net/tramp.el (tramp-handle-load): Use it.
2981
2982 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2983 "(numberp ok-if-already-exists)" correctly.
2984
d35f31a4
XF
29852013-11-05 Xue Fuqiao <xfq.free@gmail.com>
2986
2987 * international/characters.el (glyphless-char-display-control):
2988 Add usage note.
2989
ae93bc74
BB
29902013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
2991
520a6e4a
SM
2992 * progmodes/python.el (python-mode):
2993 * progmodes/scheme.el (scheme-mode):
2994 * progmodes/prolog.el (prolog-mode):
2995 * progmodes/ruby-mode.el (ruby-mode):
2996 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2997 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
ae93bc74 2998
0ade65b5
SM
29992013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3000
a0d5f7a4
SM
3001 * rect.el (rectangle--highlight-for-redisplay):
3002 * emacs-lisp/smie.el (smie--next-indent-change):
3003 Use buffer-chars-modified-tick.
3004
c93f3f5c
SM
3005 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3006
0ade65b5
SM
3007 * electric.el (electric-indent-post-self-insert-function):
3008 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3009
ef9dd188
HE
30102013-11-04 Helmut Eller <eller.helmut@gmail.com>
3011
3012 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3013
306e7308
NT
30142013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3015
3016 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3017 (bug#15786).
3018
e5afbcac
SM
30192013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3020
1d01ad41
SM
3021 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3022
e5afbcac
SM
3023 * progmodes/python.el: Fix up last change.
3024 (python-shell--save-temp-file): New function.
3025 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3026 `string' comes from the current buffer.
3027 (python-shell-send-string-no-output): Remove `msg' arg.
3028 (python--use-fake-loc): New var.
3029 (python-shell-buffer-substring): Obey it. Try to compensate for the
3030 extra coding line added by python-shell--save-temp-file.
3031 (python-shell-send-region): Use python-shell--save-temp-file and
3032 python-shell-send-file directly. Add `nomain' argument.
3033 (python-shell-send-buffer): Use python-shell-send-region.
3034 (python-electric-pair-string-delimiter): New function.
3035 (python-mode): Use it.
3036
d0065ff1
EZ
30372013-11-04 Eli Zaretskii <eliz@gnu.org>
3038
3039 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3040 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3041 environment and decoding all of the default-directory's to here
3042 from command-line.
3043 (command-line): Decode also argv[0].
3044
3045 * loadup.el: Error out if default-directory is a multibyte string
3046 when we are dumping.
3047
3048 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3049
7397c587
TZ
30502013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3051
3052 * emacs-lisp/package.el (package-menu-mode)
e5afbcac
SM
3053 (package-menu--print-info, package-menu--archive-predicate):
3054 Add Archive column to package list.
7397c587 3055
b27cc9fc
MA
30562013-11-04 Michael Albinus <michael.albinus@gmx.de>
3057
3058 Fix problems found while writing a test suite.
3059
3060 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3061 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3062 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3063 to nil when running original file name handler. Otherwise,
3064 there are problems with constructs like "$$FOO".
3065
3066 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3067 for `localname'.
3068
d8c4f18a
BB
30692013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3070
7b530552
BB
3071 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3072
3073 * subr.el (version<, version<=, version=):
3074 Update docstrings with information for snapshot versions.
3075
d8c4f18a
BB
3076 * helpers.el: New library for misc helper functions.
3077 (hash-table-keys): New function returning a list of hash keys.
3078 (hash-table-values): New function returning a list of hash values.
3079
dca01b09
DG
30802013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3081
3082 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3083 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3084
0a749fa0
MN
30852013-11-04 Michal Nazarewicz <mina86@mina86.com>
3086
3087 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3088 checking whether point is after a 1-letter word.
3089
30902013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
ec79b92b
NT
3091
3092 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3093 Don't infloop when expanding region over `multiline' syntax-type that
3094 begins a line (bug#15778).
3095
4aca7145
SM
30962013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3099 Make it into a proper minor mode.
3100 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3101 (rectangle-mark-mode-map): New keymap.
3102 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3103
a0833f62
GM
31042013-11-04 Glenn Morris <rgm@gnu.org>
3105
3106 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3107
e61845c1
SM
31082013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3111 (ruby-smie-rules): Use smie-rule-parent instead.
3112
3113 * emacs-lisp/smie.el (smie-rule-parent): Always call
3114 smie-indent-virtual rather than only for hanging tokens.
3115 (smie--next-indent-change): New helper command.
3116
62942f89
GM
31172013-11-03 Glenn Morris <rgm@gnu.org>
3118
3119 * Makefile.in (abs_srcdir): Remove.
3120 (emacs): Unset EMACSLOADPATH.
3121
b0b9e592
GM
31222013-11-02 Glenn Morris <rgm@gnu.org>
3123
18ba6a33 3124 * Makefile.in (EMACS): Use a relative filename.
8061810d 3125 (abs_top_builddir): Remove.
18ba6a33
GM
3126 (custom-deps, finder-data, autoloads): Use --chdir.
3127
6a8b929e
GM
3128 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3129
c617f3d0
GM
3130 Use relative filenames in TAGS files.
3131 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3132 (lisptagsfiles4, TAGS): Use relative file names.
3133 (TAGS-LISP): Remove.
3134 (maintainer-clean): No more TAGS-LISP file.
3135
b0b9e592
GM
3136 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3137 (lisptagsfiles4): Use absolute filenames again.
3138 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3139 Remove all *loaddefs files, not just the first. Remove esh-groups.
3140 (maintainer-clean): Delete TAGS, TAGS-LISP.
3141
d1c0ea6a
BB
31422013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3143
e61845c1
SM
3144 * emacs-lisp/package.el (package-version-join):
3145 Recognize snapshot versions.
d1c0ea6a 3146
684d71c6
BB
31472013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3148
3149 * subr.el (version-regexp-alist): Add support for snapshot versions.
3150
3d42b968
DG
31512013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3152
e61845c1
SM
3153 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3154 New function, replacement for `smie-rule-parent' for when we want to
3d42b968
DG
3155 skip over our direct parent if it's an assignment token..
3156 (ruby-smie-rules): Use it.
3157
7ffd3721
DG
31582013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3159
8449dd1f 3160 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7ffd3721
DG
3161 unconditionally. Remove now unnecessary forward declarations.
3162 Remove XEmacs-specific setup.
3163 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3164 (ruby-font-lock-syntactic-keywords)
3165 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3166 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3167 (ruby-here-doc-end-syntax): Remove.
3168 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3169 defined as function.
3170
a3996a2e
BB
31712013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3172
3173 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3174
6f9260e8
BB
31752013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3176
3177 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3178 table and abbrev table, `define-derived-mode' does that for us
3179 anyway.
3180
6014de84
GM
31812013-11-01 Glenn Morris <rgm@gnu.org>
3182
3183 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3184 files is atomic for some time, so no parallel compilation issues).
3185
3c334c14
JD
31862013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3187
3188 * faces.el (face-x-resources): Add :distant-foreground.
3189 (region): Use :distant-foreground for gtk and ns.
3190
9bc236c8
TH
31912013-11-01 Tassilo Horn <tsdh@gnu.org>
3192
5246583b 3193 Allow multiple bibliographies when BibLaTeX is used rather than
9bc236c8
TH
3194 BibTeX.
3195 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3196 (reftex-locate-bibliography-files): Us it.
3197
d14c81ee
CB
31982013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3199
0e7690de
CB
3200 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3201 allow comments in pbm files.
3202
d14c81ee
CB
3203 * term/w32-win.el (dynamic-library-alist): Support newer versions
3204 of libjpeg starting with v7: look only for the DLL from the
3205 version against which Emacs was built.
ac1bf374 3206 Support versions of libpng beyond 1.4.x.
019c8218 3207 Support libtiff v4.x.
d14c81ee 3208
983d0df5
BB
32092013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3210
3211 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3212 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3213 Add property :safe.
3214 (ruby-deep-arglist): Add property :type.
3215
47f58d85
GM
32162013-10-31 Glenn Morris <rgm@gnu.org>
3217
3218 * Makefile.in (custom-deps, finder-data): No need to setq the target
3219 variables, we are in the right directory and the defaults work fine.
3220
4f85b479
GM
32212013-10-30 Glenn Morris <rgm@gnu.org>
3222
ca7dd4cd
GM
3223 * Makefile.in (autoloads): Do not use abs_lisp.
3224
4f85b479
GM
3225 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3226 `newline' does not respect `standard-output', so use `princ'.
3227
cf59e41c
AA
32282013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3229
3230 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3231 * buff-menu.el (Buffer-menu--unmark): New function.
3232 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3233
74cf04fb
GM
32342013-10-30 Glenn Morris <rgm@gnu.org>
3235
b040b60e
GM
3236 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3237
f53d3815
GM
3238 * emacs-lisp/package.el (lm-homepage): Declare.
3239
5413d873
GM
3240 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3241 Fix doc typos.
3242
cecedb36
GM
3243 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3244
74cf04fb
GM
3245 * Makefile.in (finder-data, autoloads, update-subdirs)
3246 (compile-main, compile-clean, compile-always, bootstrap-clean):
3247 Check return value of cd.
3248 (compile-calc): Remove.
3249
195ee2f0
SM
32502013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3251
ae4002ce
SM
3252 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3253
3254 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3255 (byte-compile-and-folded): New function.
3256 (=, <, >, <=, >=): Use it.
3257
3258 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3259 (path-separator, null-device, buffer-file-coding-system)
3260 (lpr-headers-switches): Check system-type before modifying them.
3261 (find-buffer-file-type-coding-system): Mark obsolete.
3262 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3263 find-file-not-found-set-buffer-file-coding-system.
3264 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3265 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3266 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3267 (w32-direct-print-region-helper, w32-direct-print-region-function)
3268 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3269 * startup.el (normal-top-level-add-subdirs-to-load-path):
3270 * ps-print.el (ps-print-region-function):
3271 * lpr.el (print-region-function): Use new name.
3272
53b39e89
SM
3273 * subr.el (custom-declare-variable-early): Remove function.
3274 (custom-declare-variable-list): Remove var.
3275 (error, user-error): Remove `while' loop.
3276 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3277 (user-emacs-directory-warning, locate-user-emacs-file):
3278 Move to files.el.
3279 * simple.el (read-quoted-char-radix, read-quoted-char):
3280 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3281 Move from subr.el.
3282 * custom.el (custom-declare-variable-list): Don't process
3283 custom-declare-variable-list.
3284
195ee2f0
SM
3285 * progmodes/python.el (python-shell-get-buffer): New function.
3286 (python-shell-get-process): Use it.
3287 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3288 Python which encoding was used. Don't split-string since we only care
3289 about the first line. Return the temp-file, if applicable.
3290 (python-shell-send-region): Tell compile.el how to turn locations in
3291 the temp-file into locations in the source buffer.
3292
7e3561ee
SM
32932013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3294
4c9797cb
SM
3295 * subr.el (undefined): Add missing behavior from the C code for
3296 unbound keys.
3297
3472b6c6
SM
3298 * rect.el: Use lexical-binding. Add new rectangular region support.
3299 (rectangle-mark): New command.
3300 (rectangle--region): New var.
3301 (deactivate-mark-hook): Reset rectangle--region.
3302 (rectangle--extract-region, rectangle--insert-for-yank)
3303 (rectangle--highlight-for-redisplay)
3304 (rectangle--unhighlight-for-redisplay): New functions.
3305 (region-extract-function, redisplay-unhighlight-region-function)
3306 (redisplay-highlight-region-function): Use them to handle
3307 rectangular region.
3308 * simple.el (region-extract-function): New var.
3309 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3310 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3311 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3312 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3313 (redisplay-unhighlight-region-function)
3314 (redisplay-highlight-region-function): New vars.
3315 (redisplay--update-region-highlight): New function.
3316 (pre-redisplay-function): Use it.
3317 (exchange-point-and-mark): Don't deactivate the mark before
3318 reactivate-it anyway.
3319 * comint.el (comint-kill-region): Remove yank-handler argument.
3320 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3321 (delete-char): Remove property, since it's now part of their
3322 default behavior.
3323 (self-insert-iso): Remove property since this command doesn't exist.
3324
7e3561ee
SM
3325 * emacs-lisp/package.el (package--download-one-archive)
3326 (describe-package-1): Don't query the user about final newline.
3327
b9bef71f
DC
33282013-10-29 Daniel Colascione <dancol@dancol.org>
3329
3330 * net/tramp.el (tramp-methods): Document new functionality.
3331 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3332 tramp-hostname-checker if method provides one instead of scanning
3333 argument list for "%h" to decide hostname acceptability.
3334
4efc33f0
MA
33352013-10-28 Michael Albinus <michael.albinus@gmx.de>
3336
3337 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3338 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3339 Handle COPY-CONTENTS. (Bug#15737)
3340
ed42a877
DU
33412013-10-28 Daiki Ueno <ueno@gnu.org>
3342
3343 * epa-file.el
7e3561ee
SM
3344 (epa-file-cache-passphrase-for-symmetric-encryption):
3345 Document that this option has no effect with GnuPG 2.0 (bug#15552).
ed42a877 3346
18c9f8a2
XF
33472013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3348
7a4bc7be
XF
3349 * image.el (defimage):
3350 (image-load-path): Doc fixes.
18c9f8a2 3351
b1e8e010
AM
33522013-10-27 Alan Mackenzie <acm@muc.de>
3353
3354 Indent statements in macros following "##" correctly.
7e3561ee
SM
3355 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3356 Modify the "#" arm of a cond form to handle "#" and "##" operators.
b1e8e010 3357
73d40d1e 33582013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
fdab3d0b
NT
3359
3360 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3361
c8c605ac
DG
33622013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3363
3364 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3365 after `=' is probably a new expression.
3366
ca7e59d4
RS
33672013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3368
3369 * man.el (man-imenu-title): New option.
3370 (Man-mode-map): Add menu. (Bug#15722)
3371 (Man-mode): Add imenu to menu.
3372
bae91342
DG
33732013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3374
3375 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3376 specific in what the first arg can be: a non-keyword word,
3377 string/regexp/percent literal opener, opening paren, or unary
3378 operator followed directly by word.
3379
eb89dc14
SM
33802013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3381
3382 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3383 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3384 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3385 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3386 Remove vars, they do not apply any more.
3387 (prolog-mode-abbrev-table): Remove redundant declaration.
3388 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3389 (prolog-use-smie): Remove.
3390 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3391 supported by prolog-electric-if-then-else-flag.
3392 (prolog-mode-variables, prolog-menu): Use setq-local.
3393 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3394 Remove binding to `Backspace' since this key doesn't exist anyway.
3395 Remove bindings for electric self-inserting keys.
3396 (prog-mode): Assume it's defined.
3397 (prolog-post-self-insert): New function.
3398 (prolog-mode): Use it.
3399 (prolog-indent-line, prolog-indent-level)
3400 (prolog-find-indent-of-matching-paren)
3401 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3402 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3403 (prolog-goto-next-paren, prolog-in-string-or-comment)
3404 (prolog-tokenize, prolog-inside-mline-comment)
3405 (prolog-find-start-of-mline-comment): Remove functions.
3406 (prolog-find-unmatched-paren, prolog-clause-end)
3407 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3408 (prolog-electric--if-then-else): Rename from
3409 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3410 (prolog-tokenize-searchkey): Remove const.
3411 (prolog-clause-info): Use forward-sexp.
3412 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3413 (prolog-electric-if-then-else): Remove commands.
3414 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3415 for use in post-self-insert-hook.
3416 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3417 for use in post-self-insert-hook.
3418 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3419 for use in post-self-insert-hook.
3420 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3421 adapt it for use in post-self-insert-hook.
3422
3dab0a83
MA
34232013-10-25 Michael Albinus <michael.albinus@gmx.de>
3424
3425 * emacs-lisp/ert.el (ert-run-tests-interactively):
3426 Use `completing-read'. (Bug#9756)
3427
fbfd0e1d
EZ
34282013-10-25 Eli Zaretskii <eliz@gnu.org>
3429
3430 * simple.el (line-move): Call line-move-1 instead of
3431 line-move-visual when the current window hscroll is zero, but
3432 temporary-goal-column indicates we will need to hscroll as result
3433 of the movement. (Bug#15712)
3434
963ce636
DG
34352013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3436
3437 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
eb89dc14
SM
3438 capitalization. Use :visible instead of :active.
3439 Fix `ruby-indent-exp' reference. Add menu items for the generic
963ce636
DG
3440 commands that are used with SMIE.
3441 (ruby-do-end-to-brace): Insert space after `{'.
3442
a0be396a
JA
34432013-10-25 John Anthony <john@jo.hnanthony.com>
3444
f73754c9
JA
3445 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3446
3447 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
a0be396a 3448
f5bf77df
GM
34492013-10-25 Glenn Morris <rgm@gnu.org>
3450
3451 * vc/vc.el (vc-print-log): Don't use a working revision unless
3452 one was explicitly specified. (Bug#15322)
3453
37241f62
SM
34542013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3455
3456 * subr.el (add-to-list): Preserve return value in compiler-macro
3457 (bug#15692).
3458
6408a65d
RS
34592013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3460
3461 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3462 result. Ask user to retry using '-all' flag. (Bug#15701)
3463
71e3276b
SM
34642013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * emacs-lisp/smie.el: New smie-config system.
3467 (smie-config): New defcustom.
3468 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3469 (smie-config-guess, smie-config-save): New commands.
3470 (smie-config--mode-local, smie-config--buffer-local)
3471 (smie-config--trace, smie-config--modefuns): New vars.
3472 (smie-config--advice, smie-config--mode-hook)
3473 (smie-config--setter, smie-config-local, smie-config--get-trace)
3474 (smie-config--guess-value, smie-config--guess): New functions.
3475 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3476 text properties. Treat "string fence" syntax like string syntax.
3477
3478 * progmodes/sh-script.el (sh-use-smie): Change default.
3479 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3480 (sh-var-value): Simplify by CSE.
3481 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3482 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3483 is used.
3484 (sh-guess-basic-offset): Use cl-incf.
3485 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3486
60db713e
HE
34872013-10-24 Helmut Eller <eller.helmut@gmail.com>
3488
3489 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3490 (bug#15699).
3491
8b251df6
GM
34922013-10-24 Glenn Morris <rgm@gnu.org>
3493
3494 * Makefile.in (abs_top_srcdir): Remove.
3495 (update-subdirs): Use relative path to update-subdirs.
3496
6be0e22b
EZ
34972013-10-24 Eli Zaretskii <eliz@gnu.org>
3498
3499 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3500 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
60db713e
HE
3501 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3502 Call unmsys--file-name before expand-file-name, not after it.
6be0e22b 3503
50b5b857
MA
35042013-10-24 Michael Albinus <michael.albinus@gmx.de>
3505
3506 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3507 (ert-test-skipped): New error.
3508 (ert-skip, ert-stats-skipped): New defuns.
3509 (ert--skip-unless): New macro.
3510 (ert-test-skipped): New struct.
3511 (ert--run-test-debugger, ert-test-result-type-p)
3512 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3513 (ert--stats-set-test-and-result, ert-char-for-test-result)
3514 (ert-string-for-test-result, ert-run-tests-batch)
60db713e 3515 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3dab0a83 3516 Handle skipped tests. (Bug#9803)
50b5b857 3517
6f317c2f
GM
35182013-10-24 Glenn Morris <rgm@gnu.org>
3519
e43817c1
GM
3520 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3521
6f317c2f
GM
3522 * Makefile.in (abs_top_srcdir): New, set by configure.
3523 (update-subdirs): Correct build-aux location.
3524
369bbf71
DG
35252013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3526
8297b2cf
DG
3527 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3528 value, whether we could auto-deduce `backend', or not.
3529
369bbf71
DG
3530 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3531 with parameters" example. Simplify the "is it block or is it
3532 hash" check, but also make it more thorough.
3533
d5f1282f
MF
35342013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3535
3536 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3537
bc4aaa31
SM
35382013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3539
03d44565
SM
3540 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3541 { if it is hanging.
3542
bc4aaa31
SM
3543 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3544 :before ";".
3545
f493ff19
JB
35462013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3547
3548 * progmodes/compile.el (compilation-directory-matcher)
3549 (compilation-page-delimiter):
3550 Support GNU Make-4.0 directory quoting. (Bug#15678)
3551
c744a3b9
LL
35522013-10-23 Leo Liu <sdl.web@gmail.com>
3553
3554 * ido.el (ido-tidy): Handle read-only text.
3555
b8e3b0a9
GM
35562013-10-23 Glenn Morris <rgm@gnu.org>
3557
3558 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3559 (emacs, compile, compile-always):
3560 Quote entities that might contain whitespace.
3561 (custom-deps, finder-data, autoloads): Use abs_lisp.
3562 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3563 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3564 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3565
ee4282cd
DG
35662013-10-23 Dmitry Gutov <dgutov@yandex.ru>
3567
bc4aaa31
SM
3568 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3569 Use `following-char'.
7790a270 3570
ee4282cd 35712013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7790a270
SM
3572
3573 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3574 * progmodes/ruby-mode.el (ruby-smie-rules):
3575 Remove corresponding workaround. Fix indentation rule of ";" so it
3576 also applies when ";" is the parent.
3577
d40a46d7
XF
35782013-10-22 Xue Fuqiao <xfq.free@gmail.com>
3579
3580 * frame.el (display-screens, display-pixel-height)
3581 (display-pixel-width, display-mm-width, display-backing-store)
3582 (display-save-under, display-planes, display-color-cells)
7790a270
SM
3583 (display-visual-class, display-monitor-attributes-list):
3584 Mention the optional ‘display’ argument in doc strings.
d40a46d7 3585
a0f143c9
MG
35862013-10-22 Michael Gauland <mikelygee@amuri.net>
3587
3588 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3589 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
3590
18cacc39
DG
35912013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3592
3593 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3594 TODO. Add "." after " @ ".
3595 (ruby-smie--at-dot-call): New function. Checks if point at method
3596 call with explicit target.
3597 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3598 to the method name tokens when it precedes them.
3599 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3600 (ruby-smie-rules): Add rule for indentation before and after "."
3601 token.
3602
df74c4be
SM
36032013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3604
c6dab55f
SM
3605 * textmodes/remember.el (remember-diary-extract-entries):
3606 Avoid add-to-list.
3607
df74c4be
SM
3608 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3609 an instruction.
3610
8c1ae481
DG
36112013-10-21 Dmitry Gutov <dgutov@yandex.ru>
3612
e9dc713d
JB
3613 * progmodes/ruby-mode.el (ruby-smie-grammar):
3614 Add (almost) all infix operators.
cfef16c0
DG
3615 (ruby-smie--implicit-semi-p): Add new operator chars.
3616
8c1ae481
DG
3617 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3618 `smie-down-list'.
3619 (ruby-smie--args-separator-p): Check that there's no newline
3620 between method call and its arguments.
3621
87756ca9
AM
36222013-10-20 Alan Mackenzie <acm@muc.de>
3623
3624 Allow comma separated lists after Java "implements".
3625
df74c4be
SM
3626 * progmodes/cc-engine.el (c-backward-over-enum-header):
3627 Parse commas.
87756ca9
AM
3628 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3629 from a "disallowed" list in enum fontification.
3630
c25f8957
JB
36312013-10-20 Johan Bockgård <bojohan@gnu.org>
3632
df74c4be 3633 * startup.el (default-frame-background-mode): Remove unused defvar.
4a5da22b 3634
c25f8957
JB
3635 * progmodes/verilog-mode.el (verilog-mode): Don't set
3636 comment-indent-function globally.
3637
aca5fcdc
JD
36382013-10-20 Jan Djärv <jan.h.d@swipnet.se>
3639
5f161884
JD
3640 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3641 Move Info menu item creation to ns-win.el.
3642
3643 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3644 in menu bar.
3645
a6c4680a 3646 * menu-bar.el: Move GNUstep specific menus...
aca5fcdc
JD
3647
3648 * term/ns-win.el (ns-initialize-window-system): ... to here.
3649
914b7f98
SM
36502013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3651
3652 * simple.el (newline): Only run post-self-insert-hook when
3653 called interactively.
3654
846ffe77
JB
36552013-10-19 Johan Bockgård <bojohan@gnu.org>
3656
3657 * icomplete.el (icomplete-with-completion-tables): Add :version.
3658
033f22dd
AM
36592013-10-19 Alan Mackenzie <acm@muc.de>
3660
3661 Fix fontification bugs with constructors and const.
3662
3663 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3664 CASE 2) Remove the check for the absence of a suffix construct
3665 after a function declaration with only types (no identifiers) in
3666 the parentheses. Also, accept a function declaration with just a
3667 type inside the parentheses, if this type can be positively
3668 recognised as such, or if a prefix keyword like "explicit" nails
3669 down the construct as a declaration.
3670
58ce0cfc
EZ
36712013-10-19 Eli Zaretskii <eliz@gnu.org>
3672
3673 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3674 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
3675 the problem whereby selecting a menu item that leads to a
3676 minibuffer prompt moves the cursor out of the minibuffer window,
3677 making it hard to type at the prompt. Suggested by Stefan Monnier
3678 <monnier@iro.umontreal.ca>.
3679
50e28e7d
JD
36802013-10-19 Jan Djärv <jan.h.d@swipnet.se>
3681
3682 * menu-bar.el: Don't make Services menu.
3683
7deed4bf
RS
36842013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3685
3686 * ffap.el: Handle "/usr/include/c++/<version>" directories.
3687 (ffap-alist): Use ffap-c++-mode for c++-mode.
3688 (ffap-c++-path): New variable.
3689 (ffap-c++-mode): New function.
3690
7bcb455b
JVJ
36912013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
3692
3693 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
3694
f0ff1cd5
MA
36952013-10-18 Michael Albinus <michael.albinus@gmx.de>
3696
3697 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3698 introduced on 2013-09-08, which results in an infinite loop
3699 requesting a password.
3700
d64da4b7
GM
37012013-10-18 Glenn Morris <rgm@gnu.org>
3702
3703 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3704
ea89ff08
WS
37052013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
3706
3707 Sync with upstream verilog-mode revision 1a6ecec7.
3708 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3709 (verilog-mode-release-date): Remove.
3710 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3711 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3712 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3713 (verilog-auto-tieoff-ignore-regexp)
3714 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3715 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3716 (verilog-signals-with, verilog-dir-cache-preserving)
3717 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3718 Doc fixes.
3719 (verilog-case-fold): New option, to control case folding in
3720 regexp searches, bug597.
3721 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3722 (verilog-string-match-fold, verilog-in-paren-count)
3723 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3724 (verilog-at-close-struct-p): New functions.
3725 (verilog-beg-block-re-ordered, verilog-extended-case-re)
3726 (verilog-forward-sexp, verilog-set-auto-endcomments):
3727 (verilog-leap-to-case-head): Handle "unique0" case.
3728 (verilog-in-constraint-re): New constant.
3729 (verilog-keywords, verilog-type-font-keywords):
3730 Add some SystemVerilog 1800-2012 keywords.
3731 (verilog-label-be): Remove unimplemented argument, bug669.
3732 (verilog-batch-execute-func): When batch expanding clear
3733 create-lockfiles to prevent spurious user locks when a file ends
3734 up not changing.
3735 (verilog-calculate-indent, verilog-calc-1)
3736 (verilog-at-close-constraint-p, verilog-at-constraint-p)
3737 (verilog-do-indent): Fix indentation of nested constraints
3738 and structures.
3739 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3740 (verilog-auto-inst-param): Use verilog-string-match-fold.
3741 (verilog-read-inst-module-matcher):
3742 Fix AUTOINST on gate primitives with #1.
3743 (verilog-read-decls): Fix double-declaring user-defined typed signals.
3744 Reads all user-defined typed variables.
3745 (verilog-read-defines): Fix reading definitions inside comments, bug647.
3746 (verilog-signals-matching-regexp)
3747 (verilog-signals-not-matching-regexp, verilog-auto):
3748 Respect verilog-case-fold.
3749 (verilog-diff-report): Fix line count.
3750 (verilog-auto-assign-modport): Remove unused local `modi'.
3751 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3752 better handle multidimensional arrays.
3753 Fix packed array ports misadding bit index in AUTOINST, bug637.
3754 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3755 to not double-declare existing outputs and inputs, respectively.
3756 (verilog-template-map): Bind U to verilog-sk-uvm-component.
3757 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3758 (verilog-sk-uvm-component): New skeleton.
3759 (verilog-submit-bug-report): Add verilog-case-fold,
3760 remove verilog-mode-release-date.
3761
ef566920
BR
37622013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
3763
a12bf61e 3764 * subr.el (sit-for): Call (input-pending-p t) so as to behave
ef566920
BR
3765 as before.
3766
29df8a0b
RT
37672013-10-18 Reuben Thomas <rrt@sc3d.org>
3768
e0eb0550 3769 * textmodes/remember.el (remember): Set buffer-offer-save in
29df8a0b
RT
3770 remember buffers (bug#13566).
3771
04a19a79
DC
37722013-10-18 Daniel Colascione <dancol@dancol.org>
3773
3774 When evaluating forms in ielm, direct standard output to ielm
3775 buffer. Add new ielm-return-for-effect command. Remove trailing
3776 whitespace throughout.
3777
3778 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3779 (ielm-return-for-effect): New command.
3780 (ielm-send-input): Accept optional `for-effect' parameter.
df74c4be
SM
3781 (ielm-eval-input): Accept optional `for-effect' parameter.
3782 Bind `standard-output' to stream we create using
04a19a79
DC
3783 `ielm-standard-output-impl'. Suppress printing result when
3784 `for-effect'.
3785 (ielm-standard-output-impl): New function.
3786 (inferior-emacs-lisp-mode): Explain new features in documentation.
3787
4c1f03ef
MA
37882013-10-17 Michael Albinus <michael.albinus@gmx.de>
3789
3790 Code cleanup.
3791
3792 * net/tramp.el (tramp-debug-message): Do not check for connection
3793 buffer.
3794 (tramp-message): Use "vector" connection property.
3795
3796 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3797 (tramp-equal-remote, tramp-eshell-directory-change)
3798 * net/tramp-adb.el (tramp-adb-handle-copy-file)
3799 (tramp-adb-handle-rename-file)
3800 * net/tramp-cmds.el (tramp-list-remote-buffers)
3801 (tramp-cleanup-connection, tramp-cleanup-this-connection)
3802 * net/tramp-compat.el (tramp-compat-process-running-p)
3803 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3804 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3805 (tramp-gvfs-handle-rename-file)
3806 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3807 (tramp-set-file-uid-gid)
3808 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3809 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3810 of `file-remote-p'.
3811
3812 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3813 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3814 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3815 (tramp-gw-open-network-stream): Suppress unrelated traces.
3816
3817 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3818 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3820 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3821 connection property.
3822
3823 * net/tramp-cache.el (top): Suppress traces when reading
f0ff1cd5 3824 persistency file.
4c1f03ef
MA
3825
3826 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3827 Refactor common code. Improve debug message.
3828 (tramp-maybe-open-connection)
3829 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3830 connection buffer too early.
3831
3832 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3833 from `tramp-smb-actions-with-acl'.
3834 (tramp-smb-actions-set-acl): New defconst.
3835 (tramp-smb-handle-copy-directory)
3836 (tramp-smb-action-get-acl): New defun, renamed from
3837 `tramp-smb-action-with-acl'.
3838 (tramp-smb-action-set-acl): New defun.
3839 (tramp-smb-handle-set-file-acl): Rewrite.
3840
642eb8b6
GM
38412013-10-17 Glenn Morris <rgm@gnu.org>
3842
3843 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
3844
85527ff3
SM
38452013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3846
921c1d62
SM
3847 * skeleton.el (skeleton-newline): Remove.
3848 (skeleton-internal-1): Use (insert "\n") instead.
3849
e333fb10
SM
3850 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3851 let-bindings.
3852
85527ff3
SM
3853 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3854 forward-sexp-function while we redo its job (bug#15613).
3855
c8722a97
JB
38562013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
3857
3858 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3859 represented by lists.
3860
7a550bbb
GM
38612013-10-16 Glenn Morris <rgm@gnu.org>
3862
3863 * tmm.el (tmm--history): New dynamic variable.
3864 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
3865
f19da8ad
MA
38662013-10-16 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3869 (tramp-smb-errors): Add error messages.
3870 (tramp-smb-actions-with-acl): New defconst.
3871 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3872 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3873 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3874 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3875 (tramp-smb-get-stat-capability): Fix tests.
3876
a24b9961
DK
38772013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
3878
3879 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3880 (bug#15580).
3881
62ad85e6
GM
38822013-10-16 Glenn Morris <rgm@gnu.org>
3883
0283d6b0
GM
3884 * ansi-color.el (ansi-color-drop-regexp):
3885 Add 1J, 1K, 2K. (Bug#15617)
3886
012e2f9f
GM
3887 * files.el (hack-local-variables--warned-lexical): New.
3888 (hack-local-variables):
3889 Warn about misplaced lexical-binding. (Bug#15616)
3890
62ad85e6
GM
3891 * net/eww.el (eww-render): Always set eww-current-url,
3892 and update header line. (Bug#15622)
3893 (eww-display-html): ... Rather than just doing it here.
3894
6456c0ea
EZ
38952013-10-15 Eli Zaretskii <eliz@gnu.org>
3896
3897 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3898 menu navigations commands.
3899
c2de5588
DK
39002013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
3901
3902 * progmodes/subword.el (subword-capitalize): Be careful when
3903 the search for [[:alpha:]] fails (bug#15580).
3904
ccd4a783
EZ
39052013-10-14 Eli Zaretskii <eliz@gnu.org>
3906
3907 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3908 to commands that scroll the menu.
3909
1eda1d8d
DG
39102013-10-14 Dmitry Gutov <dgutov@yandex.ru>
3911
c2de5588
DK
3912 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3913 Handle methods ending with `?' and `!'.
1eda1d8d 3914
e70181b8
AM
39152013-10-14 Akinori MUSHA <knu@iDaemons.org>
3916
3917 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3918 `japanese-cp932' to `cp932' to fix the problem where saving a
3919 source file written in Shift_JIS twice would end up having
3920 `coding: japanese-cp932' which Ruby could not recognize.
3921 (ruby-mode-set-encoding): Add support for encodings mapped to nil
3922 in `ruby-encoding-map'.
3923 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3924 doesn't need to be explicitly declared in magic comment.
3925 (ruby-encoding-map): Add type declaration for better customize UI.
3926
9148ee92
GM
39272013-10-13 Glenn Morris <rgm@gnu.org>
3928
a5d38e34
GM
3929 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3930 Occur buffers are read-only. http://bugs.debian.org/720775
3931
9148ee92
GM
3932 * emacs-lisp/authors.el (authors-fixed-entries):
3933 Comment out old alpha stuff.
3934
a9ba094b
DG
39352013-10-13 Dmitry Gutov <dgutov@yandex.ru>
3936
3937 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3938 to `after-save-hook' instead of `before-save-hook'.
3939 (ruby-mode-set-encoding): Use the value of coding system used to
3940 write the file. Call `basic-save-buffer-1' after modifying the
3941 buffer.
3942
7a068717
AM
39432013-10-13 Alan Mackenzie <acm@muc.de>
3944
3945 Fix indentation/fontification of Java enum with
3946 "implements"/generic.
3947
c2de5588
DK
3948 * progmodes/cc-engine.el (c-backward-over-enum-header):
3949 Extracted from the three other places and enhanced to handle generics.
7a068717
AM
3950 (c-inside-bracelist-p): Uses new function above.
3951 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3952 function above.
3953 (c-font-lock-enum-tail): Uses new function above.
3954
85b64f02
KH
39552013-10-13 Kenichi Handa <handa@gnu.org>
3956
3957 * international/mule-cmds.el (select-safe-coding-system): Remove a
3958 superfluous condition in chekcing whether a coding system is safe
3959 or not.
3960
fc7f501b
OK
39612013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
3962
3963 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
3964
fdcb2049
AP
39652013-10-13 Andreas Politz <politza@hochschule-trier.de>
3966
3967 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
3968
8c106d17
GM
39692013-10-13 Glenn Morris <rgm@gnu.org>
3970
feab892d
GM
3971 * menu-bar.el (menu-bar-update-buffers):
3972 Unify Buffers menu prompt string. (Bug#15576)
3973
b22d0686
GM
3974 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
3975
8c106d17
GM
3976 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3977 Add some entries.
3978 (authors-fixed-entries): Use accented form of name.
3979
1b12c797
SM
39802013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
3981
650fa7bf 3982 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
e70181b8 3983 method calls (bug#15594).
650fa7bf
SM
3984 (ruby-smie--args-separator-p): New function.
3985 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3986 recognize paren-free method calls.
3987
1b12c797
SM
3988 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3989 internals of universal-argument.
3990
029619c8
EZ
39912013-10-11 Eli Zaretskii <eliz@gnu.org>
3992
3993 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
f747170f
EZ
3994 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3995 dropped menu on second mouse click on the menu bar.
029619c8 3996
dd070019
SM
39972013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
3998
3999 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4000 (explicit-shell-file-name): Declare.
4001 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4002 (sh-completion-at-point-function): New function.
4003 (sh-mode): Use it.
4004 (sh-smie--keyword-p): Remove unused argument.
4005 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4006 vars.
4007 (sh-set-shell): Always setup SMIE, even if we use the
4008 old indentation code.
4009
0922b826
DG
40102013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4011
b68e2926
DG
4012 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4013 cases of ? and =.
4014 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4015 predicate would return nil are almost non-existent.
4016 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4017
0922b826
DG
4018 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4019 cache also after commands that modify the buffer but don't move
4020 point.
4021
ee041f2d
SM
40222013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4023
4024 * env.el (substitute-env-in-file-name): New function.
4025 (substitute-env-vars): Extend the meaning of the optional arg.
4026
a5dab159
EZ
40272013-10-10 Eli Zaretskii <eliz@gnu.org>
4028
4029 * term/w32-win.el (dynamic-library-alist): Define separate lists
4030 of GIF DLLs for versions before and after 5.0.0 of giflib.
4031 (Bug#15531)
4032
0449d6cd 40332013-10-10 João Távora <joaotavora@gmail.com>
db138698
JT
4034
4035 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4036 not locked, use last revision and current source as
4037 defaults. (Bug#15569)
4038
2f6e161e
MY
40392013-10-10 Masatake YAMATO <yamato@redhat.com>
4040
4041 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4042 menu-bar is hidden.
4043
6c8413fc
MR
40442013-10-10 Martin Rudalics <rudalics@gmx.at>
4045
4046 * window.el (pop-to-buffer-same-window): Fix doc-string.
4047 (Bug#15492)
4048
20832de0
SM
40492013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4050
4051 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4052
c6e8ae77
AC
40532013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4054
4055 * calendar/icalendar.el (icalendar-import-file):
4056 Fix interactive spec. (Bug#15482)
4057
9db13baf
GM
40582013-10-10 Glenn Morris <rgm@gnu.org>
4059
9271e90e
GM
4060 * desktop.el (desktop-save): Default to saving in .emacs.d,
4061 since PWD is no longer in desktop-path by default. (Bug#15319)
4062
9db13baf
GM
4063 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4064 now that text mode has a menu with the same entry.
4065 (menu-bar-text-mode-auto-fill): Remove now unused func.
4066 * textmodes/text-mode.el (text-mode-map):
4067 Use auto-fill help text from menu-bar.el.
4068
a0be396a 40692013-10-10 John Anthony <john@jo.hnanthony.com>
a066720c
JA
4070
4071 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4072
2edcd3c7
JL
40732013-10-09 Juri Linkov <juri@jurta.org>
4074
4075 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4076 instead of this-command-keys. Add universal-argument-more and
4077 universal-argument-minus to the list of prefix commands. (Bug#15568)
4078
574411d0
GM
40792013-10-09 Glenn Morris <rgm@gnu.org>
4080
14afa541
GM
4081 * vc/vc-svn.el (vc-svn-create-repo):
4082 Expand paths in file://... url. (Bug#15446)
4083
574411d0
GM
4084 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4085 Add some entries.
4086 (authors): Remove unused local variables.
4087
79804536
SM
40882013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4089
4090 * profiler.el: Create a more coherent calltree from partial backtraces.
4091 (profiler-format): Hide the tail with `invisible' so that C-s can still
4092 find the hidden elements.
4093 (profiler-calltree-depth): Don't recurse so enthusiastically.
4094 (profiler-function-equal): New hash-table-test.
4095 (profiler-calltree-build-unified): New function.
4096 (profiler-calltree-build): Use it.
4097 (profiler-report-make-name-part): Indent the calltree less.
4098 (profiler-report-mode): Add visibility specs for profiler-format.
4099 (profiler-report-expand-entry, profiler-report-toggle-entry):
4100 Expand the whole subtree when provided with a prefix arg.
4101
238150c8
DG
41022013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4103
4104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4105 iuwu-mod token.
4106 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4107 hanging iuwu-mod token.
4108 (ruby-smie--forward-token): Do not include a dot after a token in
4109 that token.
4110 (ruby-smie--backward-token): Likewise.
4111
b0949cc4
JL
41122013-10-08 Juri Linkov <juri@jurta.org>
4113
4114 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4115 to isearch-other-control-char.
4116 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4117 and isearch-post-command-hook to post-command-hook.
4118 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4119 and isearch-post-command-hook from post-command-hook.
4120 (isearch-unread-key-sequence)
4121 (isearch-reread-key-sequence-naturally)
4122 (isearch-lookup-scroll-key, isearch-other-control-char)
4123 (isearch-other-meta-char): Remove functions.
4124 (isearch-pre-command-hook, isearch-post-command-hook):
4125 New functions based on isearch-other-meta-char rewritten
4126 relying on the new behavior of overriding-terminal-local-map
4127 that does not replace the local keymaps any more. (Bug#15200)
4128
4ed77415
EZ
41292013-10-08 Eli Zaretskii <eliz@gnu.org>
4130
4131 Support menus on text-mode terminals.
4132 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4133 functionality.
4134
4135 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4136
c2de5588
DK
4137 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4138 Move here from mouse.el.
4ed77415
EZ
4139 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4140 and arrow keys.
4141 (tty-menu-navigation-map): New map for TTY menu navigation.
4142
4143 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4144
4145 * frame.el (display-mouse-p): Report text-mode mouse as available
4146 on w32.
4147 (display-popup-menus-p): Report availability if mouse is
4148 available; don't condition on window-system.
4149
4150 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4151 (tty-menu-selected-face): New faces.
4152
b7d5bd82
TL
41532013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4154
06286513
SM
4155 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4156 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4157 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4158 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4159 New constants.
4160 (lisp-mode-variables): New `elisp' argument.
4161 (emacs-lisp-mode): Use it.
4162 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4163 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4164
b7d5bd82
TL
4165 * indent.el: Use lexical-binding.
4166 (indent-region): Add progress reporter.
4167 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4168 last step.
4169 (indent--next-tab-stop): New function to implement this behavior.
4170 (tab-to-tab-stop, move-to-tab-stop): Use it.
4171
41722013-10-08 Teemu Likonen <tlikonen@iki.fi>
4173
4174 * indent.el (indent-rigidly--current-indentation): New function.
4175 (indent-rigidly-map): New var.
4176 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4177
5ea75d23
BG
41782013-10-08 Bastien Guerry <bzg@gnu.org>
4179
4180 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4181
cc5da1ec
SM
41822013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4183
8ffa1a0b
SM
4184 * progmodes/perl-mode.el: Use lexical-binding.
4185 Remove redundant :group args.
4186 (perl-nochange): Change default to be closer to other major modes's
4187 standard behavior.
4188 (perl-indent-line): Don't consider text on current line as a
4189 valid beginning of function from which to indent.
4190
f2223371
SM
4191 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4192 with more than one argument (bug#15538).
4193
44256060
SM
4194 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4195
cc5da1ec
SM
4196 * vc/pcvs.el: Use lexical-binding.
4197 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4198 environment of `eval'.
4199 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4200 than a list of expressions. Adjust callers.
4201 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4202
0ea1599d
DG
42032013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4204
4205 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
cc5da1ec 4206 case of the dot in a chained method call being on the following line.
0ea1599d 4207
da3e5ebb
SM
42082013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4209
2abb4e65
SM
4210 * electric.el (electric-indent-inhibit): New var.
4211 (electric-indent-post-self-insert-function): Use it.
4212 * progmodes/python.el (python-mode): Set it.
4213
d2e0e795
SM
4214 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4215 open braces.
4216
4217 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4218
bdc6b4c8
SM
4219 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4220 (css-mode): Use electric-indent-chars.
4221
da3e5ebb
SM
4222 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4223 (font-lock-beg, font-lock-end): Move before first use.
4224 (nxml-mode): Use syntax-propertize-function.
4225 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4226 (nxml-extend-after-change-region): Remove.
4227 * nxml/xmltok.el: Use lexical-binding.
4228 (xmltok-save): Use `declare'.
4229 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4230 * nxml/nxml-util.el: Use lexical-binding.
4231 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4232 Use `declare'.
4233 * nxml/nxml-ns.el: Use lexical-binding.
4234 (nxml-ns-save): Use `declare'.
4235 (nxml-ns-prefixes-for): Avoid add-to-list.
4236 * nxml/rng-match.el: Use lexical-binding.
4237 (rng--ipattern): Use cl-defstruct.
4238 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4239 (rng-cons-group-after, rng-subst-group-after)
4240 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4241 Use closures instead of `(lambda...).
4242
f8f91d5d
MA
42432013-10-07 Michael Albinus <michael.albinus@gmx.de>
4244
4245 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4246 of BEG and END.
4247
da3e5ebb
SM
4248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4249 Use `tramp-handle-insert-file-contents'.
f8f91d5d
MA
4250 (tramp-gvfs-handle-insert-file-contents): Remove function.
4251
da3e5ebb
SM
4252 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4253 Use `save-restriction' in order to keep markers.
f8f91d5d
MA
4254
4255 * net/trampver.el: Update release number.
4256
7ccae3b1
SM
42572013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4258
55ca2c0d
SM
4259 * progmodes/compile.el (compilation-parse-errors):
4260 Use compilation--put-prop.
4261 (compilation--ensure-parse): Check compilation-multiline.
4262
731fc3ae
SM
4263 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4264
da3e5ebb
SM
4265 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4266 lexical-binding.
a5833280 4267
2e7ba2c2
SM
4268 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4269
7ccae3b1
SM
4270 * progmodes/ruby-mode.el: Fix recently added tests.
4271 (ruby-smie-grammar): Add - and +.
4272 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4273 (ruby-smie--backward-id): New functions.
4274 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4275 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4276 any more.
4277
85698d63
LL
42782013-10-07 Leo Liu <sdl.web@gmail.com>
4279
4280 * register.el (register-preview-delay)
4281 (register-preview-functions): New variables.
4282 (register-read-with-preview, register-preview)
4283 (register-describe-oneline): New functions.
4284 (point-to-register, window-configuration-to-register)
4285 (frame-configuration-to-register, jump-to-register)
4286 (number-to-register, view-register, insert-register)
4287 (copy-to-register, append-to-register, prepend-to-register)
4288 (copy-rectangle-to-register): Use register-read-with-preview to
4289 read register. (Bug#15525)
4290
3986af6c
DS
42912013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4292
4293 * net/network-stream.el (network-stream-open-starttls): Don't add
4294 --insecure if it's already present, because that gnutls-cli
4295 rejects getting that parameter twice.
4296
5cd9cda9
DG
42972013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4298
4299 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4300 keyword, too.
4301
da9ea6d9
DG
43022013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4303
4304 * newcomment.el (comment-use-global-state): Change default value
4305 to t, mark obsolete (Bug#15251).
4306 (comment-beginning): In addition to `comment-to-syntax', check the
4307 value of `comment-use-global-state'.
4308
34d1a133
SM
43092013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4310
4311 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4312 (ruby-comment-column): Follow the global default, by default.
4313 (ruby-smie-grammar): Add assignment syntax.
4314 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4315 open-paren, a comma, or a \.
4316 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4317 and line continuations.
4318 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4319 followed by implicit semi-colons. Add rule for string concatenation
4320 and for indentation at BOB.
4321 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4322
4323 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4324 calling next-sexp, since next-token may have skipped chars which
4325 next-sexp doesn't know should be skipped!
4326
6f6ab820
LL
43272013-10-05 Leo Liu <sdl.web@gmail.com>
4328
34d1a133
SM
4329 * progmodes/octave.el (octave-send-region):
4330 Call compilation-forget-errors.
6f6ab820 4331
34ca0f4c
XF
43322013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4333
4334 * vc/vc-svn.el (vc-svn-find-admin-dir):
4335 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4336 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4337 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4338 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4339
a27c1b72
SM
43402013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4341
4342 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4343
258ab3bc
SM
43442013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * subr.el (read-passwd): Hide chars even when called within a context
4347 where after-change-functions is disabled (bug#15501).
4348 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4349 until we removed ourself from overriding-terminal-local-map.
4350
939fb29c
LL
43512013-10-04 Leo Liu <sdl.web@gmail.com>
4352
258ab3bc
SM
4353 * progmodes/octave.el (inferior-octave-mode):
4354 Call compilation-forget-errors.
939fb29c 4355
63bd7f35
XF
43562013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4357
4358 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4359
9e6229fa
MA
43602013-10-04 Michael Albinus <michael.albinus@gmx.de>
4361
4362 * net/secrets.el (secrets-create-collection): Add optional
4363 argument ALIAS. Use proper Label keyword. Append ALIAS as
4364 dbus-call-method argument. (Bug#15516)
4365
1dab32a3
LL
43662013-10-04 Leo Liu <sdl.web@gmail.com>
4367
4368 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4369 (inferior-octave-compilation-font-lock-keywords): New variables.
4370 (compilation-error-regexp-alist)
4371 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4372 (inferior-octave-mode): Use compilation-shell-minor-mode.
4373
6cad7ba3
JS
43742013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4375
4376 * minibuffer.el (completion--replace): Be careful that `end' might be
4377 a marker.
4378
acbadd00
DU
43792013-10-03 Daiki Ueno <ueno@gnu.org>
4380
4381 Add support for package signature checking.
4382 * emacs-lisp/package.el (url-http-file-exists-p)
4383 (epg-make-context, epg-context-set-home-directory)
4384 (epg-verify-string, epg-context-result-for)
4385 (epg-signature-status, epg-signature-to-string)
4386 (epg-check-configuration, epg-configuration)
4387 (epg-import-keys-from-file): Declare.
4388 (package-check-signature): New user option.
4389 (package-unsigned-archives): New user option.
4390 (package-desc): Add `signed' field.
4391 (package-load-descriptor): Set `signed' field if .signed file exists.
4392 (package--archive-file-exists-p): New function.
4393 (package--check-signature): New function.
4394 (package-install-from-archive): Check package signature.
4395 (package--download-one-archive): Check archive signature.
4396 (package-delete): Remove .signed file.
4397 (package-import-keyring): New command.
4398 (package-refresh-contents): Import default keyring.
4399 (package-desc-status): Add "unsigned" status.
4400 (describe-package-1, package-menu--print-info)
4401 (package-menu-mark-delete, package-menu--find-upgrades)
4402 (package-menu--status-predicate): Support "unsigned" status.
4403
adf2aa61
SM
44042013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4405
4406 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4407 the new compilation scheme using the new byte-codes.
4408
4409 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4410 (byte-pophandler): New byte codes.
4411 (byte-goto-ops): Adjust accordingly.
4412 (byte-compile--use-old-handlers): New var.
4413 (byte-compile-catch): Use new byte codes depending on
4414 byte-compile--use-old-handlers.
4415 (byte-compile-condition-case--old): Rename from
4416 byte-compile-condition-case.
4417 (byte-compile-condition-case--new): New function.
4418 (byte-compile-condition-case): New function that dispatches depending
4419 on byte-compile--use-old-handlers.
4420 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4421 when we can.
4422
4423 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4424 Optimize under `condition-case' and `catch' if
4425 byte-compile--use-old-handlers is nil.
4426 (disassemble-offset): Handle new bytecodes.
4427
328a8179
SM
44282013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * subr.el (error): Use `declare'.
4431 (decode-char, encode-char): Use advertised-calling-convention instead
4432 of the docstring to discourage use of the `restriction' arg.
4433
15a1e936
DU
44342013-10-03 Daiki Ueno <ueno@gnu.org>
4435
4436 * epg.el (epg-verify-file): Add a comment saying that it does not
4437 notify verification error as a return value nor a signal.
4438 (epg-verify-string): Ditto.
4439
376f862a
KR
44402013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4441
4442 * progmodes/compile.el (compilation-start): Try globbing the arg to
4443 `cd' (bug#15417).
4444
a2f93a5f
MA
44452013-10-02 Michael Albinus <michael.albinus@gmx.de>
4446
4447 Sync with Tramp 2.2.8.
4448
4449 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4450 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4451 * net/trampver.el: Update release number.
4452
0daa0804
JD
44532013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4454
4455 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4456 and default-process-coding-system for darwin only.
4457
abd1ae34
SM
44582013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4461
be4e325d
MH
44622013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4463
4464 * vc/vc-git.el (vc-git-grep): Disable pager.
4465
e9155c4a
DG
44662013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4467
494e898b
DG
4468 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4469 Use :url instead of :homepage, as per
4470 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4471
e9155c4a
DG
4472 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4473 non-nil, use `syntax-ppss' (Bug#15251).
4474
481a8e0f
RS
44752013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4476
be4e325d
MH
4477 * progmodes/octave.el (inferior-octave-startup-file):
4478 Prefer ~/.emacs.d/init_octave.m.
481a8e0f 4479
056453c6
DG
44802013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4481
be4e325d
MH
4482 * emacs-lisp/package.el (package-desc-from-define):
4483 Accept additional arguments as plist, convert them to an alist and store
4484 them in the `extras' slot.
056453c6
DG
4485 (package-generate-description-file): Convert extras alist back to
4486 plist and append to the `define-package' form arguments.
4487 (package--alist-to-plist): New function.
4488 (package--ac-desc): Add `extras' slot.
4489 (package--add-to-archive-contents): Check if the archive-contents
4490 vector is long enough, and if it is, pass its `extras' slot value
4491 to `package-desc-create'.
4492 (package-buffer-info): Call `lm-homepage', pass the returned value
4493 to `package-desc-from-define'.
4494 (describe-package-1): Render the homepage button (Bug#13291).
4495
be4e325d
MH
4496 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4497 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
056453c6 4498
832966e5
JD
44992013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4500
4501 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4502 and default-process-coding-system to utf-8-unix (Bug#15402).
4503
6cfe977d
XF
45042013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4505
4506 * subr.el (looking-back): Do not recommend using looking-back.
4507
38de11bd
AM
45082013-09-28 Alan Mackenzie <acm@muc.de>
4509
4510 Fix indentation/fontification of Java enum with "implements".
4511
4512 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4513 regexp which matches "implements", etc., in Java.
4514 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4515 specifier clauses coming after "enum".
4516 * progmodes/cc-fonts.el (c-font-lock-declarations)
4517 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4518 after "enum".
4519
1610938f
JD
45202013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4521
4522 * faces.el (region): Change ns_selection_color to
4523 ns_selection_fg_color, add ns_selection_bg_color.
4524
e090f499
LL
45252013-09-28 Leo Liu <sdl.web@gmail.com>
4526
4d2e94d1
LL
4527 * progmodes/octave.el (inferior-octave-completion-table)
4528 (inferior-octave-completion-at-point): Minor tweaks.
4529
e090f499
LL
4530 * textmodes/ispell.el (ispell-lookup-words): Rename from
4531 lookup-words. (Bug#15460)
4532 (lookup-words): Obsolete.
4533 (ispell-complete-word, ispell-command-loop): All uses changed.
4534
7e138a62
RS
45352013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4536
a12bf61e 4537 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7e138a62
RS
4538 (octave-mode-menu): Add octave-send-buffer.
4539 (octave-send-buffer): New function.
4540
5af5ed08
RS
45412013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4542
a12bf61e 4543 * progmodes/octave.el (octave-mode-map): Add key binding for
5af5ed08
RS
4544 octave-lookfor.
4545 (octave-mode-menu): Add octave-lookfor.
4546 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4547 octave-lookfor.
4548 (octave-lookfor): New function.
4549
3b7b2692
SM
45502013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * emacs-lisp/cl-macs.el:
4553 (cl--loop-destr-temps): Remove.
4554 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4555 its convention.
4556 (cl--loop-set-iterator-function): New function.
4557 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4558 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4559 Bind `it' with `let' instead of substituting it with `cl-subst'.
4560 (cl--unused-var-p): New function.
4561 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4562 Eliminate some unused variable warnings (bug#15326).
4563
529fb53f
TH
45642013-09-27 Tassilo Horn <tsdh@gnu.org>
4565
4566 * doc-view.el (doc-view-scale-reset): Rename from
4567 `doc-view-reset-zoom-level'.
4568 (doc-view-scale-adjust): New command.
4569 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4570 `doc-view-scale-adjust'.
4571
0550c95a
TH
45722013-09-26 Tassilo Horn <tsdh@gnu.org>
4573
4574 * doc-view.el (doc-view-reset-zoom-level): New command.
4575 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4576 zoom commands (bug#15466).
4577
6950f152
KH
45782013-09-26 Kenichi Handa <handa@gnu.org>
4579
4580 * international/quail.el (quail-help): Make it not a command.
4581
39587580
LL
45822013-09-26 Leo Liu <sdl.web@gmail.com>
4583
4584 * minibuffer.el (completion-all-sorted-completions): Make args
4585 optional as they are.
4586
00578659
DC
45872013-09-25 Daniel Colascione <dancol@dancol.org>
4588
4589 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4590 specs are and that they're not evaluated.
4591
0c173878
SS
45922013-09-24 Sam Steingold <sds@gnu.org>
4593
4594 * midnight.el (clean-buffer-list-kill-regexps)
4595 (clean-buffer-list-kill-buffer-names): Update for the new Man
4596 buffer naming which includes the object name.
4597
84998447
SM
45982013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
4599
4600 * eshell/esh-cmd.el (eshell--sep-terms): New var.
4601 (eshell-parse-command, eshell-parse-pipeline): Use it since
4602 eshell-separate-commands requires a dynamic scoped var.
4603 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4604
33215353
LL
46052013-09-23 Leo Liu <sdl.web@gmail.com>
4606
4607 * autoinsert.el (auto-insert-alist): Make the value of
4608 lexical-binding match its file setting.
4609
57b16162
JB
46102013-09-23 Juanma Barranquero <lekktu@gmail.com>
4611
c8af4e67
JB
4612 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4613
57b16162
JB
4614 * autoarg.el (autoarg-kp-digit-argument):
4615 * electric.el (Electric-command-loop):
4616 * kmacro.el (kmacro-step-edit-insert):
4617 Do not set universal-argument-num-events.
4618
7186ba60
LL
46192013-09-22 Leo Liu <sdl.web@gmail.com>
4620
4621 * files.el (interpreter-mode-alist): Add octave.
4622
ece15004
AM
46232013-09-21 Alan Mackenzie <acm@muc.de>
4624
4625 C++: fontify identifier in declaration following "public:" correctly.
4626 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4627 to match "public", etc.
4628 (c-decl-prefix-re): Add ":" into the C++ value.
4629 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4630 bit. Add a check for a ":" preceded by "public", etc.
4631
75d83e22
EZ
46322013-09-21 Eli Zaretskii <eliz@gnu.org>
4633
4634 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4635 recognized by GDB 7.5 and later.
4636
d052d3bd
XF
46372013-09-21 Xue Fuqiao <xfq.free@gmail.com>
4638
4639 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4640
31dca772
R
46412013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * subr.el (internal--call-interactively): New const.
4644 (called-interactively-p): Use it (bug#3984).
4645
98ccf24e
XF
46462013-09-20 Xue Fuqiao <xfq.free@gmail.com>
4647
4648 * vc/pcvs.el (cvs-mode-ignore):
be4e325d
MH
4649 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4650 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
98ccf24e 4651
c39cc7d1
SM
46522013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
4655 (eshell-ls-orig-insert-directory): Remove.
4656 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
4657 (eshell-ls-use-in-dired): Use advice-add/remove.
4658 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4659 Add `orig-fun' arg for use in :around advice.
4660 Make it check (redundantly) eshell-ls-use-in-dired.
4661
9a0289a2
GM
46622013-09-19 Glenn Morris <rgm@gnu.org>
4663
a2c501b8
GM
4664 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4665
c440407a
GM
4666 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4667
9a0289a2
GM
4668 * emacs-lisp/eieio.el (class-parent): Undo previous change.
4669
85e05915
MA
46702013-09-19 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4673 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4674 (tramp-get-remote-python): New defuns.
4675 (tramp-get-remote-uid-with-perl)
4676 (tramp-get-remote-gid-with-perl): New defuns. Perl code
4677 contributed by yary <not.com@gmail.com> (tiny change).
4678 (tramp-get-remote-uid-with-python)
4679 (tramp-get-remote-gid-with-python): New defuns. Python code
4680 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4681 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4682
ce503312
GM
46832013-09-19 Glenn Morris <rgm@gnu.org>
4684
f7544773
GM
4685 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4686
72fd2877
GM
4687 * eshell/em-unix.el (eshell-remove-entries):
4688 Rename argument to avoid name-clash with global `top-level'.
4689
336b5a56
GM
4690 * eshell/esh-proc.el (eshell-kill-process-function):
4691 Remove eshell-reset-after-proc from eshell-kill-hook if present.
4692 (eshell-reset-after-proc): Remove unused arg `proc'.
4693
57a3a53d
GM
4694 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4695 (directory-files-and-attributes): Mark unused arg.
4696
3261d4af
GM
4697 * eshell/em-unix.el (eshell-remove-entries):
4698 Remove unused arg `path'. Update callers.
4699
8e51b5d0
GM
4700 * eshell/em-hist.el (eshell-hist-parse-arguments):
4701 Remove unused arg `silent'. Update callers.
4702
ce503312
GM
4703 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4704 Fix (f)boundp mix-up.
4705
4706 * eshell/em-smart.el (eshell-smart-scroll-window)
4707 (eshell-disable-after-change):
336b5a56 4708 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
ce503312 4709
ee3ce8a7
AM
47102013-09-18 Alan Mackenzie <acm@muc.de>
4711
4712 Fix fontification of type when followed by "const".
4713 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4714 "known" types from fontification.
4715
ec9177ba
GM
47162013-09-18 Glenn Morris <rgm@gnu.org>
4717
7bb3e768
GM
4718 * emacs-lisp/chart.el (x-display-color-cells): Declare.
4719 (chart-face-list): Drop Emacsen without display-color-p.
4720
5148da15
GM
4721 * net/eww.el (libxml-parse-html-region): Declare.
4722 (eww-display-html): Explicit error if no libxml2 support.
4723
2f68e157
GM
4724 * doc-view.el (doc-view-mode): Silence --without-x compilation.
4725
9019d095
GM
4726 * image.el (image-type-from-buffer, image-multi-frame-p):
4727 Remove --without-x warning/error.
67645389 4728
5f30349b 4729 * mouse.el (mouse-yank-primary):
45069b2e 4730 * term.el (term-mouse-paste):
5f30349b
GM
4731 Reorder to silence --without-x compilation.
4732
cd8edbbe
GM
4733 * mpc.el (doc-view-mode): Silence --without-x compilation.
4734
8a78544e
GM
4735 * mail/rmailmm.el (rmail-mime-set-bulk-data):
4736 Silence --without-x compilation.
4737
12679bfd
GM
4738 * progmodes/gud.el (gud-find-file, gud-mode):
4739 Silence --without-x compilation.
4740 (tooltip-mode): Declare.
30810a05 4741
f0047cb9
GM
4742 * wdired.el (dired-backup-overwrite): Remove declaration.
4743 (wdired-mode-map): Add doc string.
4744
e740f9d2
GM
4745 * custom.el (x-get-resource): Declare.
4746
92d77c89
GM
4747 * eshell/em-glob.el (ange-cache):
4748 * eshell/em-unix.el (ange-cache): Declare.
4749
76e69577
GM
4750 * faces.el (x-display-list, x-open-connection, x-get-resource):
4751 Declare.
7e58af4b
GM
4752
4753 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4754 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4755 Declare.
76e69577 4756
4bd4c0af 4757 * frame.el (x-display-grayscale-p, x-display-name): Declare.
e740f9d2 4758
ffb82dbd
GM
4759 * net/gnutls.el (gnutls-log-level): Declare.
4760
986ed135
GM
4761 * net/shr.el (image-size, image-animate): Declare.
4762
e740f9d2
GM
4763 * simple.el (font-info): Declare.
4764
d2f3e9f8
GM
4765 * subr.el (x-popup-dialog): Declare.
4766
047a1a4c
GM
4767 * term/common-win.el (x-select-enable-primary)
4768 (x-last-selected-text-primary, x-last-selected-text-clipboard):
4769 Declare.
4770
f4a1d572
GM
4771 * term/ns-win.el (x-handle-args): Declare.
4772
e843de77
GM
4773 * term/x-win.el (x-select-enable-clipboard): Declare.
4774
5fa89513
GM
4775 * term/w32-win.el (create-default-fontset): Declare.
4776
38702b5b
GM
4777 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4778 Declare.
4779
e740f9d2
GM
4780 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4781 (fit-frame-to-buffer): Explicit error if --without-x.
4782 (mouse-autoselect-window-select): Silence compiler.
4783
49a053fc
GM
4784 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4785
4786 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4787 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4788 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
91c837fe 4789 * eshell/esh-util.el (eshell-sublist):
49a053fc
GM
4790 Remove unused local variables.
4791
4792 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4793
ec9177ba
GM
4794 * textmodes/two-column.el: Make 2C-split work for --without-x.
4795 (scroll-bar-columns): Autoload.
4796 (top-level): Require fringe when compiling.
4797
9f25cb77
LL
47982013-09-18 Leo Liu <sdl.web@gmail.com>
4799
4800 * subr.el (add-hook): Robustify to handle closure as well.
4801
2b42da98
GM
48022013-09-17 Glenn Morris <rgm@gnu.org>
4803
4804 * simple.el (messages-buffer-mode-map): Unbind "g".
4805
e8b66a6a
SM
48062013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
4807
9c0ad4f7
SM
4808 * help-mode.el (help-mode-finish): Use derived-mode-p.
4809 Remove obsolete highlighting.
4810
7a806dfb
SM
4811 * play/life.el (life-mode): Use define-derived-mode. Derive from
4812 special-mode.
4813 (life): Let-bind inhibit-read-only.
4814 (life-setup): Avoid `setq'. Use `life-mode'.
4815
96dbf5a8
SM
4816 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4817 which should not be needed any more.
4818 (package-menu-refresh, package-menu-describe-package): Use user-error.
4819
e8b66a6a
SM
4820 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4821 (eshell-post-rewrite-command-hook): Make obsolete.
4822 (eshell-parse-command): Simplify.
4823 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4824 (eshell--cmd): Declare.
4825 (eshell-parse-pipeline): Remove unused var `final-p'.
4826 Pass a dynvar to eshell-post-rewrite-command-hook.
4827 Implement the new eshell-post-rewrite-command-function.
4828 (eshell-invoke-directly): Remove unused arg `input'.
4829 * eshell/esh-io.el (eshell-io-initialize):
4830 Use eshell-post-rewrite-command-function (bug#15399).
4831 (eshell--apply-redirections): Rename from eshell-apply-redirections;
4832 adjust to new calling convention.
4833 (eshell-create-handles): Rename args to avoid clashing with dynvar
4834 `standard-output'.
4835
90582f05
GM
48362013-09-17 Glenn Morris <rgm@gnu.org>
4837
4838 * simple.el (messages-buffer-mode): New major mode.
4839 (messages-buffer): New function.
4840 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4841 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
f804aa63 4842 (ert-run-test): Use `messages-buffer' function.
90582f05 4843 (ert--force-message-log-buffer-truncation): Ignore read-only.
f804aa63
GM
4844 * help.el (view-echo-area-messages): Use `messages-buffer' function.
4845 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
90582f05 4846
39eb0cb5 48472013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1809eef8
SM
4848
4849 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4850
1d42e5b6 4851 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
1f1e06e2 4852
70568a90
SM
48532013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
4854
504a0381
SM
4855 * icomplete.el (icomplete-in-buffer): New var.
4856 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4857 vars and replace them with functions.
4858 (icomplete-minibuffer-setup): Adjust accordingly.
4859 (icomplete--completion-table, icomplete--completion-predicate)
4860 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4861 New functions.
4862 (icomplete-forward-completions, icomplete-backward-completions)
4863 (icomplete-simple-completing-p, icomplete-exhibit)
4864 (icomplete-completions): Use them.
4865 (icomplete--in-region-buffer): New var.
4866 (icomplete--in-region-setup): New function.
4867 (icomplete-mode): Use it.
4868
70568a90
SM
4869 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4870 (bug#15379).
4871 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4872 return args and options.
4873 (eshell-eval-using-options): Use the new return value of
4874 eshell--do-opts to set the options's vars in their scope.
4875 (eshell--set-option): Rename from eshell-set-option.
4876 Add arg `opt-vals'.
4877 (eshell--process-option): Rename from eshell-process-option.
4878 Add arg `opt-vals'.
4879 (eshell--process-args): Use an `opt-vals' alist to store the options's
4880 values during their processing and return them additionally to the
4881 remaining args.
4882
578c21bc
DG
48832013-09-15 Dmitry Gutov <dgutov@yandex.ru>
4884
4885 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4886 continuation character an operator, as far as indentation is
4887 concerned (Bug#15369).
4888
c089653d
MR
48892013-09-15 Martin Rudalics <rudalics@gmx.at>
4890
4891 * window.el (window--state-put-2): Don't process buffer state
4892 when buffer doesn't exist any more (Bug#15382).
4893
1e53bb4b
GM
48942013-09-15 Glenn Morris <rgm@gnu.org>
4895
30753242
GM
4896 * eshell/em-unix.el (eshell/rm):
4897 Make -f ignore missing files. (Bug#15373)
4898
1e53bb4b
GM
4899 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
4900 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4901 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4902
0d8863b3
GM
49032013-09-14 Glenn Morris <rgm@gnu.org>
4904
4905 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4906
d3fc6549
GM
49072013-09-13 Glenn Morris <rgm@gnu.org>
4908
4909 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4910 (dired-guess-default): Make `file' available in the env. (Bug#15363)
4911
fcd42c11
DA
49122013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
4913
4914 * frame.el (x-focus-frame): Mark as declared in frame.c.
4915
7830899f
SM
49162013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4917
4918 * ls-lisp.el: Use advice-add.
4919 (original-insert-directory): Remove.
4920 (ls-lisp--insert-directory): Rename from insert-directory; add
4921 `orig-fun' argument.
4922 (insert-directory): Advise.
4923
84387cd2
EZ
49242013-09-13 Eli Zaretskii <eliz@gnu.org>
4925
4926 * term.el (term-emulate-terminal): Decode the command string
4927 before passing it to term-command-hook. (Bug#15337)
4928
35ffc6ba
GM
49292013-09-13 Glenn Morris <rgm@gnu.org>
4930
5c3f9bcc
GM
4931 * eshell/esh-util.el (ange-cache): Move declaration earlier.
4932
2ada368a
GM
4933 * eshell/esh-ext.el (eshell-search-path): Declare.
4934
fcef2e13
GM
4935 * eshell/em-prompt.el (eshell/pwd): Autoload it.
4936 Otherwise an error occurs if eshell-dirs module not loaded.
4937
35ffc6ba
GM
4938 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4939
35c3d36e
MA
49402013-09-13 Michael Albinus <michael.albinus@gmx.de>
4941
4942 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4943 `tramp-check-proper-host'. Check for a valid method name.
4944
4945 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4946 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4947 * net/tramp-sh.el (tramp-maybe-open-connection):
4948 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4949
4950 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4951 also for hash values.
4952
ae5e4c48
SM
49532013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4954
379add74
SM
4955 * term/ns-win.el (parameters): Don't declare as dynamic.
4956 (before-make-frame-hook): Don't add ineffective function.
4957
ae5e4c48
SM
4958 * eshell/*.el: Use lexical-binding (bug#15231).
4959
b5623270
KH
49602013-09-12 Kenichi Handa <handa@gnu.org>
4961
ae5e4c48 4962 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
b5623270 4963
30213927
GM
49642013-09-12 Glenn Morris <rgm@gnu.org>
4965
be94d713 4966 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
aa30fa6f 4967 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
be94d713 4968
44915370
GM
4969 * subr.el (do-after-load-evaluation): Also give compiler warnings
4970 when obsolete files are used (except by obsolete files).
4971
a6ae021f
GM
4972 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4973 in the status output, assume `filename' is the first. (Bug#15322)
4974
40e64f0c
GM
4975 * vc/vc.el (vc-deduce-fileset): Doc fix.
4976
16d9f896
GM
4977 * calc/calc-help.el (Info-goto-node):
4978 * progmodes/cperl-mode.el (Info-find-node):
4979 * vc/ediff.el (Info-goto-node): Update declarations.
4980
dea01c6e
GM
4981 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4982
759880bf 4983 * vc/vc-bzr.el (vc-compilation-mode): Declare.
96b3f75a
GM
4984 (vc-bzr-pull): Require vc-dispatcher.
4985 * vc/vc-git.el (vc-compilation-mode): Declare.
4986 (vc-git-pull): Require vc-dispatcher.
4987
08d66420
GM
4988 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4989
30b626e9
GM
4990 * progmodes/octave.el (help-button-action): Declare.
4991
8c05cb10
GM
4992 * shell.el (shell-directory-tracker): Output error as a message
4993 rather than just returning it as a string.
4994 (shell-process-pushd): Remove useless use of message.
4995
30213927
GM
4996 * dframe.el (dframe-timer-fn):
4997 * files.el (dir-locals-read-from-file):
4998 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4999 (mpc-format):
5000 * reveal.el (reveal-post-command):
5001 * saveplace.el (load-save-place-alist-from-file):
5002 * shell.el (shell-resync-dirs):
5003 * w32-common-fns.el (x-get-selection-value):
5004 * emacs-lisp/copyright.el (copyright-find-copyright):
5005 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5006 * emulation/tpu-edt.el (tpu-copy-keyfile):
5007 * play/bubbles.el (bubbles--mark-neighbourhood):
5008 * progmodes/executable.el
5009 (executable-make-buffer-file-executable-if-script-p):
5010 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5011
d3b049e6
SM
50122013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5013
170266d0
SM
5014 Cleanup Eshell to rely less on dynamic scoping.
5015 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5016 last-value, and ext-command here. Bind `args' closer to `body'.
5017 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5018 (eshell--args): Declare new dynamic var.
5019 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5020 last-value, and ext-command. Pass `args' to `body'.
5021 (eshell-process-args): Bind eshell--args.
5022 (eshell-set-option): Use eshell--args.
5023 * eshell/eshell.el (eshell): Use derived-mode-p.
5024 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5025 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5026 (eshell-glob-function): Declare.
5027 * eshell/esh-util.el: Require cl-lib.
5028 (eshell-read-hosts-file): Avoid add-to-list.
5029 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5030 `err'.
5031 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5032 Declare.
5033 (eshell/diff): Remove unused var `err'.
5034 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5035 `killflag'.
5036 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5037 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5038 first use.
5039 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5040 Move declaration before first use.
5041 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
d3b049e6
SM
5042 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5043 rely on cl-return.
5044
56834f3b
GM
50452013-09-12 Glenn Morris <rgm@gnu.org>
5046
5047 * term/ns-win.el (global-map): Remove binding for ispell-next,
5048 deleted 1999-05-29. (Bug#15357)
5049
5c91a2b8
GM
50502013-09-11 Glenn Morris <rgm@gnu.org>
5051
da712f22
GM
5052 * echistory.el (electric-command-history): Remove call to deleted func.
5053
512e4cdc
GM
5054 * play/landmark.el (landmark-mode): Fix typos.
5055
d3506ca5
GM
5056 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5057 Check cvs-sort-ignore-file is bound.
5058
5c91a2b8
GM
5059 * savehist.el: No need for cl when compiling on Emacs.
5060
feeff482
SM
50612013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5062
656bd483
SM
5063 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5064 (bug#15338).
d3b049e6
SM
5065 (eshell-self-insert-command, eshell-send-invisible):
5066 Remove unused argument.
656bd483
SM
5067 (eshell-handle-control-codes): Remove unused var `orig'.
5068 Avoid delete-backward-char.
5069
feeff482
SM
5070 * files.el (set-auto-mode): Simplify a bit further.
5071
2a08047a
GM
50722013-09-11 Glenn Morris <rgm@gnu.org>
5073
5074 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5075 (set-auto-mode): Don't regexp-quote elements.
5076 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5077 * progmodes/cc-mode.el (interpreter-mode-alist):
5078 * progmodes/ruby-mode.el (interpreter-mode-alist):
5079 Revert previous change.
5080
34675540
SM
50812013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5082
1b3b87df
SM
5083 * play/snake.el (snake-mode):
5084 * play/mpuz.el (mpuz-mode):
5085 * play/landmark.el (lm-mode):
5086 * play/blackbox.el (blackbox-mode):
5087 * play/5x5.el (5x5-mode):
5088 * obsolete/options.el (Edit-options-mode):
5089 * net/quickurl.el (quickurl-list-mode):
5090 * net/newst-treeview.el (newsticker-treeview-mode):
5091 * mail/rmailsum.el (rmail-summary-mode):
5092 * mail/mspools.el (mspools-mode):
5093 * locate.el (locate-mode):
5094 * ibuffer.el (ibuffer-mode):
5095 * emulation/ws-mode.el (wordstar-mode):
5096 * emacs-lisp/debug.el (debugger-mode):
5097 * array.el (array-mode):
5098 * net/eudc.el (eudc-mode): Use define-derived-mode.
5099 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5100 Move initialization into declaration.
5101 (mairix-searches-mode): Use define-derived-mode.
5102 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5103 (eudc-edit-hotlist): Use dolist.
5104 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5105 (Man-mode): Use define-derived-mode.
5106 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5107 (Info-edit-mode): Use define-derived-mode.
5108 (Info-cease-edit): Use Info-mode.
5109 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5110 into declaration.
5111 (eshell-mode): Use define-derived-mode.
5112 * chistory.el (command-history-mode-map): Rename from
5113 command-history-map.
5114 (command-history-mode): Use define-derived-mode.
da712f22 5115 (Command-history-setup): Remove function.
1b3b87df
SM
5116 * calc/calc.el (calc-trail-mode-map): New var.
5117 (calc-trail-mode): Use define-derived-mode.
5118 (calc-trail-buffer): Set calc-main-buffer manually.
5119 * bookmark.el (bookmark-insert-annotation): New function.
5120 (bookmark-edit-annotation): Use it.
5121 (bookmark-edit-annotation-mode): Make it a proper major mode.
5122 (bookmark-send-edited-annotation): Use derived-mode-p.
5123 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5124 closer to its ideal place. Use \' to match EOS.
5125
34675540
SM
5126 * profiler.el (profiler-calltree-find): Use function-equal.
5127
6a5c15d9
GM
51282013-09-10 Glenn Morris <rgm@gnu.org>
5129
1af4c220
GM
5130 * files.el (interpreter-mode-alist): Convert to regexps.
5131 (set-auto-mode): Adapt for this. (Bug#15306)
5132 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5133 Comment out unused variable.
5134 * progmodes/cc-mode.el (interpreter-mode-alist):
5135 * progmodes/python.el (interpreter-mode-alist):
5136 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5137 * progmodes/sh-script.el (sh-set-shell):
5138 No longer use interpreter-mode-alist to get list of shells.
5139
6a5c15d9
GM
5140 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5141
8c27f5ff
SM
51422013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5143
02ef6c1a 5144 * simple.el: Use set-temporary-overlay-map for universal-argument.
656bd483 5145 (universal-argument-map): Don't use default-bindings (bug#15317).
02ef6c1a
SM
5146 Bind switch-frame explicitly. Replace universal-argument-minus with
5147 a conditional binding.
5148 (universal-argument-num-events, saved-overriding-map): Remove.
5149 (restore-overriding-map): Remove.
5150 (universal-argument--mode): Rename from save&set-overriding-map,
5151 and rewrite.
5152 (universal-argument, universal-argument-more, negative-argument)
5153 (digit-argument): Adjust accordingly.
5154 (universal-argument-minus): Remove.
5155 (universal-argument-other-key): Remove.
5156
8c27f5ff
SM
5157 * subr.el (with-demoted-errors): Add `format' argument.
5158
6480194c
MA
51592013-09-10 Michael Albinus <michael.albinus@gmx.de>
5160
5161 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5162 `tramp-cleanup-connection'.
5163
5164 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5165 parameters KEEP-DEBUG and KEEP-PASSWORD.
5166
5167 * net/tramp.el (tramp-file-name-handler):
5168 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5169 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5170 (tramp-maybe-open-connection):
8c27f5ff
SM
5171 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5172 Use `tramp-cleanup-connection'.
6480194c 5173
8c27f5ff
SM
5174 * net/tramp-sh.el (tramp-maybe-open-connection):
5175 Catch 'uname-changed inside the progress reporter.
6480194c 5176
e5e916d8
GM
51772013-09-10 Glenn Morris <rgm@gnu.org>
5178
9a2c9b47
GM
5179 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5180
e5e916d8
GM
5181 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5182 returns "alternate access method" in mode (eg "-rw-r--r--.").
5183
144e38fe
GM
51842013-09-08 Glenn Morris <rgm@gnu.org>
5185
5186 * saveplace.el (load-save-place-alist-from-file):
5187 Demote errors. (Bug#15305)
5188
af9ff9e8
MA
51892013-09-08 Michael Albinus <michael.albinus@gmx.de>
5190
5191 Improve compatibility with older Emacsen, and XEmacs.
5192
5193 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5194 only if it is bound. It isn't for XEmacs.
8c27f5ff
SM
5195 (with-tramp-progress-reporter): Do not let-bind `result'.
5196 This yields to scoping errors in XEmacs.
af9ff9e8
MA
5197 (tramp-handle-make-auto-save-file-name): New function, moved from
5198 tramp-sh.el.
5199
5200 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5201 for `make-auto-save-file-name'.
8c27f5ff
SM
5202 (tramp-adb--gnu-switches-to-ash):
5203 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5204
5205 * net/tramp-cache.el (tramp-cache-print): Call
5206 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5207
5208 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5209 bound. It isn't for XEmacs.
5210
8c27f5ff
SM
5211 * net/tramp-compat.el (tramp-compat-copy-file):
5212 Catch `wrong-number-of-arguments' error.
af9ff9e8
MA
5213 (tramp-compat-replace-regexp-in-string): New defun.
5214
5215 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5216 for `make-auto-save-file-name'.
5217 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5218 `copy-file'.
5219 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5220 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5221 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5222
8c27f5ff
SM
5223 * net/tramp-gw.el (tramp-gw-open-network-stream):
5224 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8 5225
8c27f5ff
SM
5226 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5227 Call `tramp-handle-make-auto-save-file-name'.
af9ff9e8
MA
5228 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5229 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8c27f5ff
SM
5230 (tramp-sh-file-inotifywait-process-filter):
5231 Use `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5232 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5233
5234 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5235 for `make-auto-save-file-name'.
8c27f5ff
SM
5236 (tramp-smb-handle-copy-directory):
5237 Call `tramp-compat-replace-regexp-in-string'.
af9ff9e8
MA
5238 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5239 (tramp-smb-handle-copy-file): Improve error message.
5240 (tramp-smb-handle-rename-file): Rename directly only in case
5241 `newname' does not exist yet. This is a restriction of smbclient.
5242 (tramp-smb-maybe-open-connection): Rerun the function only when
5243 `auth-sources' is non-nil.
5244
0ca754d0
KH
52452013-09-08 Kenichi Handa <handa@gnu.org>
5246
e0eb0550 5247 * international/characters.el: Set category "^" (Combining) for
0ca754d0
KH
5248 more characters.
5249
e8dd0787
AM
52502013-09-07 Alan Mackenzie <acm@muc.de>
5251
5252 Correctly fontify Java class constructors.
5253 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5254 in Java Mode.
5255 (c-recognize-typeless-decls): Set the Java value to t.
8c27f5ff
SM
5256 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5257 While handling a "(", add a check for, effectively, Java, and handle a
e8dd0787
AM
5258 "typeless" declaration there.
5259
f2f248e7
RW
52602013-09-07 Roland Winkler <winkler@gnu.org>
5261
5262 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5263 field subtitle for entry type book.
5264
67982e2b
SM
52652013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * minibuffer.el: Make minibuffer-complete call completion-in-region
5268 rather than other way around.
5269 (completion--some, completion-pcm--find-all-completions):
5270 Don't delay signals when debugging.
5271 (minibuffer-completion-contents): Beware fields within the
5272 minibuffer contents.
5273 (completion-all-sorted-completions): Use defvar-local.
5274 (completion--do-completion, completion--cache-all-sorted-completions)
5275 (completion-all-sorted-completions, minibuffer-force-complete):
5276 Add args `beg' and `end'.
5277 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5278 (minibuffer-complete): Use completion-in-region.
5279 (completion-complete-and-exit): New fun, extracted from
5280 minibuffer-complete-and-exit.
5281 (minibuffer-complete-and-exit): Use it.
5282 (completion--complete-and-exit): Rename from
5283 minibuffer--complete-and-exit.
5284 (completion-in-region--single-word): New function, extracted from
5285 minibuffer-complete-word.
5286 (minibuffer-complete-word): Use it.
5287 (display-completion-list): Make `common-substring' argument obsolete.
5288 (completion--in-region): Call completion--in-region-1 instead of
5289 minibuffer-complete.
5290 (completion-help-at-point): Pass boundaries to
5291 minibuffer-completion-help as args rather than via an overlay.
5292 (completion-pcm--string->pattern): Use `any-delim'.
5293 (completion-pcm--optimize-pattern): New function.
5294 (completion-pcm--pattern->regex): Handle `any-delim'.
5295 * icomplete.el (icomplete-forward-completions)
5296 (icomplete-backward-completions, icomplete-completions):
5297 Adjust calls to completion-all-sorted-completions and
5298 completion--cache-all-sorted-completions.
5299 (icomplete-with-completion-tables): Default to t.
5300 * emacs-lisp/crm.el (crm--current-element): Rename from
5301 crm--select-current-element. Don't put an overlay but return the
5302 boundaries instead.
5303 (crm--completion-command): Take two new args to bind to the boundaries.
5304 (crm-completion-help): Adjust accordingly.
5305 (crm-complete): Use completion-in-region.
5306 (crm-complete-word): Use completion-in-region--single-word.
5307 (crm-complete-and-exit): Use completion-complete-and-exit.
5308
e17d94a5
SM
53092013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5312 than dynamically.
5313
96727100
JL
53142013-09-06 Juri Linkov <juri@jurta.org>
5315
5316 * info.el (Info-display-images-node): When image file doesn't exist
5317 display text version of the image if it's provided in the Info file.
5318 Otherwise, display the location of missing image from SRC attribute.
5319 Add help-echo text property from ALT attribute. (Bug#15279)
5320
86cf7329
SM
53212013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5322
5323 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5324 (edit-abbrevs-mode): Use define-derived-mode.
5325
5326 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5327 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5328 that it's defined.
5329 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5330 Use define-derived-mode.
5331
5332 * epg.el (epg-start-encrypt): Minor CSE simplification.
5333
816244a2
WX
53342013-09-06 William Xu <william.xwl@gmail.com>
5335
5336 * arc-mode.el: Add support for 7za (bug#15264).
5337 (archive-7z-program): New var.
5338 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5339 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5340 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5341
1486fa31
MA
53422013-09-06 Michael Albinus <michael.albinus@gmx.de>
5343
5344 Remove URL syntax.
5345
5346 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5347 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5348 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5349 (tramp-postfix-host-format, tramp-file-name-regexp)
5350 (tramp-completion-file-name-regexp)
5351 (tramp-completion-dissect-file-name)
5352 (tramp-handle-substitute-in-file-name): Remove 'url case.
5353 (tramp-file-name-regexp-url)
5354 (tramp-completion-file-name-regexp-url): Remove constants.
5355
39785324
GM
53562013-09-06 Glenn Morris <rgm@gnu.org>
5357
5358 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5359
1f896cb7
DG
53602013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5363 keywords" below "here-doc beginnings" (Bug#15270).
5364
c0458e0b
SM
53652013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * subr.el (pop): Use `car-safe'.
5368 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5369 to detect unused `pop' return value.
5370
5371 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5372 var `block-regexp'.
5373 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5374 (python-fill-string): Remove unused var `marker'.
5375 (python-skeleton-add-menu-items): Remove unused var `items'.
5376
5377 * international/mule-cmds.el: Require CL.
5378 (find-coding-systems-for-charsets): Avoid add-to-list.
5379 (sanitize-coding-system-list): New function, extracted from
5380 select-safe-coding-system-interactively.
5381 (select-safe-coding-system-interactively): Use it.
5382 (read-input-method-name): Accept symbols for `default'.
5383
5384 * emacs-lisp/advice.el (defadvice): Add indent rule.
5385
6c42fc3e
DH
53862013-09-05 Daniel Hackney <dan@haxney.org>
5387
5388 * dired-x.el:
5389 * net/ange-ftp.el:
5390 * net/browse-url.el:
5391 * net/dbus.el:
5392 * net/eudc.el:
5393 * net/eudcb-ldap.el:
5394 * net/eww.el:
5395 * net/imap.el:
5396 * printing.el:
5397 * vc/ediff-diff.el:
5398 * vc/ediff-init.el:
5399 * vc/ediff-merg.el:
5400 * vc/ediff-mult.el:
5401 * vc/ediff-util.el:
5402 * vc/ediff-wind.el:
5403 * vc/ediff.el:
5404 * vc/emerge.el:
5405 * vc/pcvs.el:
5406 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5407 byte compiler. Remove some unused let-bound variables.
5408
4c528aab
SM
54092013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5412 a "ref-cell", since it gets better optimized (bug#14883).
5413
bd15c390
GM
54142013-09-05 Glenn Morris <rgm@gnu.org>
5415
5416 * progmodes/cc-awk.el (c-forward-sws): Declare.
5417
1c3ac2e5
GM
54182013-09-04 Glenn Morris <rgm@gnu.org>
5419
5420 * generic-x.el [rul-generic-mode]: Require cc-mode.
5421 (c++-mode-syntax-table): Declare.
5422 (rul-generic-mode-syntax-table): Init in the defvar.
5423
52b1cc79
SM
54242013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5425
c828af56
SM
5426 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5427 (vc-do-command, vc-set-async-update):
5428 * vc/vc-mtn.el (vc-mtn-dir-status):
5429 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5430 (vc-hg-pull, vc-hg-merge-branch):
5431 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5432 (vc-git-merge-branch):
5433 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5434 (vc-cvs-dir-status-files):
5435 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5436 (vc-bzr-dir-status-files):
5437 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5438 * vc/vc-annotate.el: Use lexical-binding.
5439 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5440 (vc-sentinel-movepoint): Declare.
5441 (vc-annotate): Don't use `goto-line'.
5442 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5443 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5444 (vc-sentinel-movepoint): Declare.
5445 * vc/vc-svn.el: Use lexical-binding.
5446 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5447 * vc/vc-sccs.el:
5448 * vc/vc-rcs.el: Use lexical-binding.
5449
abae272c
SM
5450 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5451 `deleted'. Don't drop errors silently.
5452
52b1cc79
SM
5453 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5454
63191d9f
XF
54552013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5456
5457 * vc/vc.el (vc-ignore): Rewrite.
5458 (vc-default-ignore): New function.
5459 (vc-default-ignore-completion-table): Use find-ignore-file.
5460
5461 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5462 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5463 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5464 Remove. Most code moved to vc.el.
5465
9d3f707c
SM
54662013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5467
abae272c 5468 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
38726039
SM
5469 * net/tramp-smb.el (tramp-smb-get-file-entries):
5470 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5471 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5472
fde38d49
SM
5473 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5474 Update call to it.
5475 (eww-change-select): Remove unused var `properties'.
5476 (eww-make-unique-file-name): Remove unused var `base'.
5477
5478 * finder.el (finder-compile-keywords): Don't mess with windows.
5479
84032db7
SM
5480 * calculator.el (calculator-funcall): Fix typo in last change.
5481
724f5e41
SM
5482 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5483
14b511d4
SM
5484 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5485 <pkg>-autoloads.el file stop us.
5486
9d3f707c 5487 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
14b511d4 5488 warnings, and factor out common code.
9d3f707c 5489
88527bc0
DG
54902013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5491
5492 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5493 two-character operators and whether the character preceding them
5494 changes their meaning (Bug#15208).
5495
96edb677
FEG
54962013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5497
5498 Format code sent to Python shell for robustness.
9d3f707c
SM
5499 * progmodes/python.el (python-shell-buffer-substring):
5500 New function.
96edb677
FEG
5501 (python-shell-send-region, python-shell-send-buffer): Use it.
5502
95beaef3
MA
55032013-09-02 Michael Albinus <michael.albinus@gmx.de>
5504
5505 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5506 * net/tramp.el (tramp-user-error): ... here.
5507 (tramp-find-method, tramp-check-proper-host)
5508 (tramp-dissect-file-name, tramp-debug-message)
5509 (tramp-handle-shell-command):
5510 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5511 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5512
5513 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5514
f167c27b
MR
55152013-09-02 Martin Rudalics <rudalics@gmx.at>
5516
5517 * avoid.el (mouse-avoidance-point-position)
5518 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5519 returns nil.
5520
cd16c5f1
FEG
55212013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5522
5523 * progmodes/python.el (python-shell-completion-get-completions):
5524 Drop use of deleted `comint-last-prompt-overlay'.
e5c144d6 5525 (python-nav-if-name-main): New command.
cd16c5f1 5526
e73c3a0d
GM
55272013-09-01 Glenn Morris <rgm@gnu.org>
5528
f8ccce03
GM
5529 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5530 Avoid leading space in $wins. Otherwise the sed command used by
5531 eg compile-main ends up containing "/*.el". (Bug#15170)
5532
e73c3a0d
GM
5533 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5534
415f808e
GM
55352013-08-30 Glenn Morris <rgm@gnu.org>
5536
5537 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5538 Fix is-this-a-directory logic. (Bug#15220)
5539
f069bba8
SM
55402013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5541
112798c1
SM
5542 * textmodes/css-mode.el: Use SMIE.
5543 (css-smie-grammar): New var.
5544 (css-smie--forward-token, css-smie--backward-token)
5545 (css-smie-rules): New functions.
5546 (css-mode): Use them.
5547 (css-navigation-syntax-table): Remove var.
5548 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5549 (css-indent-calculate, css-indent-line): Remove functions.
5550
5551 Misc changes to reduce use of `(lambda...); and other cleanups.
5552 * cus-edit.el: Use lexical-binding.
5553 (customize-push-and-save, customize-apropos)
5554 (custom-buffer-create-internal): Use closures.
5555 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5556 * progmodes/ada-xref.el: Use setq.
5557 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5558 * dframe.el: Use lexical-binding.
5559 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5560 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5561 * descr-text.el: Use lexical-binding.
5562 (describe-text-widget, describe-text-sexp, describe-property-list):
5563 Use closures.
5564 * comint.el (comint-history-isearch-push-state): Use a closure.
5565 * calculator.el: Use lexical-binding.
5566 (calculator-number-to-string): Make it work with lexical-binding.
5567 (calculator-funcall): Same and use cl-letf.
5568
2da4c3ab
SM
5569 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5570 (lisp--company-doc-string, lisp--company-location): New functions.
5571 (lisp-completion-at-point): Use them to improve Company support.
5572
f069bba8
SM
5573 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5574 params of lambda expressions.
5575 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5576 (ruby-smie--opening-pipe-p): New function.
5577 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5578 symbols and matched |...| for formal params.
5579 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5580 from being treated as hanging. Handle "rescue".
5581
6758b6a8
GM
55822013-08-29 Glenn Morris <rgm@gnu.org>
5583
5584 * progmodes/cc-engine.el (c-pull-open-brace):
5585 Move definition before use.
5586
e8dfd197
SM
55872013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5590 are immutable. Don't use `unsafe' any more.
5591 (cl--defsubst-expand): Don't substitute at the same time as keeping
5592 a residual unused let-binding. Don't use `unsafe' any more.
5593
cc585c96
GM
55942013-08-29 Glenn Morris <rgm@gnu.org>
5595
ba579ea6
GM
5596 * calendar/cal-china.el (calendar-chinese-year-cache):
5597 Recenter on 2015.
5598
8201a87e
GM
5599 * nxml/nxml-util.el (nxml-debug-clear-inside):
5600 Use cl-loop rather than loop.
5601
6ee877c7
GM
5602 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5603
cc585c96
GM
5604 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5605
27be8d39
GM
56062013-08-28 Glenn Morris <rgm@gnu.org>
5607
397440a1
GM
5608 * progmodes/antlr-mode.el: No need to require cc-mode twice.
5609
2bb762d4
GM
5610 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5611
27be8d39
GM
5612 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5613
2d69b99e
SM
56142013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5615
f663baa7
SM
5616 * simple.el (repeat-complex-command--called-interactively-skip):
5617 New function.
5618 (repeat-complex-command): Use it (bug#14136).
5619
dd4f8b74
SM
5620 * progmodes/cc-mode.el: Minor cleanup of var declarations.
5621 (c-define-abbrev-table): Add `doc' argument.
5622 (c-mode-abbrev-table, c++-mode-abbrev-table)
5623 (objc-mode-abbrev-table, java-mode-abbrev-table)
5624 (idl-mode-abbrev-table, pike-mode-abbrev-table)
5625 (awk-mode-abbrev-table): Use it.
5626 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5627 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5628 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5629 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5630 Move initialization into the declaration; and remove any
5631 autoload cookie.
5632
b58969f7
SM
5633 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5634 and dynamic let binding.
5635
4021d6a6
SM
5636 * vc/smerge-mode.el: Remove redundant :group args.
5637
2d69b99e
SM
5638 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5639 to load-path.
5640
274919fd
JL
56412013-08-28 Juri Linkov <juri@jurta.org>
5642
5643 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5644 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5645 (isearch-other-meta-char): Handle an undefined shifted printing
5646 character by downshifting it. (Bug#15200)
5647
121f8c95
JL
56482013-08-28 Juri Linkov <juri@jurta.org>
5649
5650 * isearch.el (isearch-search): Change regexp error message for
5651 non-regexp searches. (Bug#15166)
5652
50b13cde
PE
56532013-08-28 Paul Eggert <eggert@cs.ucla.edu>
5654
5655 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5656 for portability to hosts where /bin/sh has problems.
5657
95888bca
SM
56582013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5661
bbe558f1
JL
56622013-08-27 Juri Linkov <juri@jurta.org>
5663
5664 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5665 in the keyboard macro. (Bug#15126)
5666
26f98a7d
JL
56672013-08-27 Juri Linkov <juri@jurta.org>
5668
5669 * isearch.el (isearch-quote-char): Comment out converting unibyte
5670 to multibyte, thus syncing with its `quoted-insert' counterpart.
5671 (Bug#15166)
5672
7c97d35e
MR
56732013-08-27 Martin Rudalics <rudalics@gmx.at>
5674
5675 * window.el (display-buffer-use-some-window): Add missing
95888bca
SM
5676 argument in call of get-largest-window (Bug#15185).
5677 Reported by Stephen Leake.
7c97d35e 5678
a0b5606e 56792013-08-27 Glenn Morris <rgm@gnu.org>
d96ad422
GM
5680
5681 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5682
9e89d835
SM
56832013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
5684
5685 * progmodes/python.el (python-font-lock-keywords): Don't return nil
5686 from a matcher-function unless there's no more matches (bug#15161).
5687
78fc2530
MA
56882013-08-26 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * minibuffer.el: Revert change from 2013-08-20.
5691
5692 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5693 with text property `tramp-default', if appropriate.
5694 (tramp-check-proper-host): New defun.
5695 (tramp-dissect-file-name): Do not check hostname. Revert change
5696 of 2013-03-18.
5697 (tramp-backtrace): Make VEC-OR-PROC optional.
5698
5699 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5700 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5701 * net/tramp-sh.el (tramp-maybe-open-connection):
95888bca
SM
5702 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5703 Apply `tramp-check-proper-host'.
78fc2530 5704
edca97cd
TH
57052013-08-26 Tassilo Horn <tsdh@gnu.org>
5706
5707 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5708 lambda expression in order to have `describe-variable' display it.
5709
df54bcbd
MA
57102013-08-26 Michael Albinus <michael.albinus@gmx.de>
5711
5712 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5713 BUF can be optional. (Bug#15186)
5714
eed99101
XF
57152013-08-25 Xue Fuqiao <xfq.free@gmail.com>
5716
5717 * progmodes/flymake.el (flymake-get-real-file-name-function):
5718 Fix broken customization. (Bug#15184)
5719
b5eb9035
AM
57202013-08-25 Alan Mackenzie <acm@muc.de>
5721
8a51e842
AM
5722 Improve indentation of bracelists defined by macros (without "=").
5723
5724 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5725 expansion begins with "{", regard it as bracelist when it doesn't
5726 contain a ";".
5727
869455d4
AM
5728 Parse C++ inher-intro when there's a template split over 2 lines.
5729
5730 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5731 rigorously the search for "class" etc. followed by ":".
5732
5733 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5734 random languages a regexp which never matches rather than nil.
5735
b5eb9035
AM
5736 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5737
5738 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5739 (c-awk-regexp-one-line-possibly-open-char-list-re)
5740 (c-awk-one-line-possibly-open-regexp-re)
5741 (c-awk-one-line-non-syn-ws*-re): Remove.
5742 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5743 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5744 (c-awk-space*-unclosed-regexp-/-re): New constants.
5745 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5746 aren't regexp delimiters.
5747
5748 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5749 handling for a rare situation in AWK Mode involving unterminated
5750 strings/regexps.
5751
61611d54
GM
57522013-08-23 Glenn Morris <rgm@gnu.org>
5753
2d85dc34
GM
5754 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5755
cb8d2612
GM
5756 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5757
bb35f42f
GM
5758 * files.el (create-file-buffer): If the result would begin with
5759 spaces, prepend a "|" instead of removing them. (Bug#15162)
61611d54 5760
b9808e77
SM
57612013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
5762
e3a66363
SM
5763 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5764 text-properties (bug#15155).
5765
b9808e77
SM
5766 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5767 exist any more.
5768 (calc-keypad-redraw): Remove unused var `pad'.
5769 (calc-keypad-press): Remove unused var `menu'.
5770
7fd5f65e
MR
57712013-08-23 Martin Rudalics <rudalics@gmx.at>
5772
b9808e77
SM
5773 * window.el (display-buffer-pop-up-frame):
5774 Call pop-up-frame-function with BUFFER current so `make-frame' will
7fd5f65e
MR
5775 use it as the new frame's buffer (Bug#15133).
5776
8352b530
SM
57772013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
5778
5779 * calendar/timeclock.el: Minor cleanups.
5780 (timeclock-ask-before-exiting, timeclock-use-display-time):
5781 Use `symbol'.
5782 (timeclock-modeline-display): Define as alias before the
5783 actual definition.
5784 (timeclock-mode-line-display): Use define-minor-mode.
5785 (timeclock-day-list-template): Make it a function, add an argument.
5786 (timeclock-day-list-required, timeclock-day-list-length)
5787 (timeclock-day-list-debt, timeclock-day-list-span)
5788 (timeclock-day-list-break): Adjust calls accordingly.
5789
9f7b1925
SM
57902013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5793 Use read--expression so that completion works again.
5794
6e50e983
SS
57952013-08-21 Sam Steingold <sds@gnu.org>
5796
5797 Add rudimentary inferior shell interaction
5798 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5799 (sh-set-shell): Reset it.
9f7b1925
SM
5800 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5801 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6e50e983 5802
dbb0d350
SM
58032013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * align.el: Use lexical-binding.
5806 (align-region): Simplify accordingly.
5807
c88586a9
MA
58082013-08-20 Michael Albinus <michael.albinus@gmx.de>
5809
5810 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5811
5812 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5813 `non-essential' up.
5814
f95527c8
MA
58152013-08-17 Michael Albinus <michael.albinus@gmx.de>
5816
5817 * net/tramp.el:
5818 * net/tramp-adb.el:
5819 * net/tramp-cmds.el:
5820 * net/tramp-ftp.el:
5821 * net/tramp-gvfs.el:
5822 * net/tramp-gw.el:
5823 * net/tramp-sh.el: Don't wrap external variable declarations by
5824 `eval-when-compile'.
5825
4b5fe4ee
LMI
58262013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5827
5828 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5829 now that Emacs supports ImageMagick animations.
5830
13c366c9
MA
58312013-08-16 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5834 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5835
3dfc5cd6
MR
58362013-08-16 Martin Rudalics <rudalics@gmx.at>
5837
5838 * window.el (mouse-autoselect-window-select): Do autoselect when
5839 mouse pointer is on margin.
5840
4bbb4381
WP
58412013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
5842
5843 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
5844
3a2ddc2d
GM
58452013-08-16 Glenn Morris <rgm@gnu.org>
5846
e8bedf5a
GM
5847 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5848 Handle "Remote Directory" response of some clients. (Bug#15058)
5849
58c4682f
GM
5850 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5851 Tweak warning. (Bug#14926)
5852
57953f49
GM
5853 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5854 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
5855
3a2ddc2d
GM
5856 * image-mode.el (image-mode-map): Add menu items to reverse,
5857 increase, decrease, reset animation speed.
5858 (image--set-speed, image-increase-speed, image-decrease-speed)
5859 (image-reverse-speed, image-reset-speed): New functions.
5860 (image-mode-map): Add bindings for speed commands.
5861
5862 * image.el (image-animate-get-speed, image-animate-set-speed):
5863 New functions.
5864 (image-animate-timeout): Respect image :speed property.
5865
10fa0ed3
SM
58662013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5869 previous line (bug#15101).
5870 (debugger-eval-expression, debugger-record-expression):
5871 Use read--expression (bug#15102).
5872
5d89d9d2
MA
58732013-08-15 Michael Albinus <michael.albinus@gmx.de>
5874
5875 Remove byte compiler warnings, visible when compiling with
5876 `byte-compile-force-lexical-warnings' set to t.
5877
5878 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5879 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5880 (tramp-handle-unhandled-file-name-directory)
5881 (tramp-handle-file-notify-add-watch, tramp-action-login)
5882 (tramp-action-succeed, tramp-action-permission-denied)
5883 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5884 arguments with "_".
5885
5886 * net/tramp-adb.el (tramp-adb-parse-device-names)
5887 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5888 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5889 (tramp-adb-handle-file-truename): Remove unused arguments.
5890
5891 * net/tramp-cache.el (tramp-flush-directory-property)
5892 (tramp-flush-connection-property, tramp-list-connections)
5893 (tramp-parse-connection-properties): Prefix unused arguments with "_".
5894
10fa0ed3
SM
5895 * net/tramp-compat.el (tramp-compat-make-temp-file):
5896 Rename FILENAME to F.
5d89d9d2
MA
5897
5898 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5899 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5900 (tramp-zeroconf-parse-workstation-device-names)
5901 (tramp-zeroconf-parse-webdav-device-names)
5902 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5903
5904 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5905 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5906
5907 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5908 arguments.
5909 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5910 (tramp-sh-handle-insert-file-contents-literally)
5911 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5912 with "_".
5913 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5914 Remove unused variables.
5915
5916 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5917 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5918 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5919
5920 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5921 Make them a defconst.
5922 (tramp-uuencode-region): Remove unused variable.
5923
62f33bae
JB
59242013-08-14 Juanma Barranquero <lekktu@gmail.com>
5925
5926 * frameset.el (frameset--prop-setter): New function.
5927 (frameset-prop): Add gv-setter declaration.
14d1e463
JB
5928 (frameset-filter-minibuffer): Deal with the case that the minibuffer
5929 parameter was already set in FILTERED. Doc fix.
5930 (frameset--record-minibuffer-relationships): Allow saving a
5931 minibufferless frame without its corresponding minibuffer frame.
5932 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5933 frame, if the frame id matches.
5934 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5935 frames before orphaned ones.
5936 (frameset-restore): Warn about orphaned windows, instead of error out.
62f33bae 5937
c660a885
MR
59382013-08-14 Martin Rudalics <rudalics@gmx.at>
5939
5940 * window.el (window-make-atom): Don't overwrite parameter
5941 already present.
5942 (display-buffer-in-atom-window): Handle special case where we
5943 split an already atomic window.
5944 (window--major-non-side-window, display-buffer-in-side-window)
5945 (window--side-check): Ignore minibuffer window when walking
5946 window tree.
5947 (window-deletable-p): Return 'frame only if no other frame uses
5948 our minibuffer window.
5949 (record-window-buffer): Run buffer-list-update-hook.
5950 (split-window): Make sure window--check-frame won't destroy an
5951 existing atomic window in case the new window gets nested
5952 inside.
5953 (display-buffer-at-bottom): Ignore minibuffer window when
5954 walking window tree. Don't split a side window.
5955 (pop-to-buffer): Don't set-buffer here, the select-window call
5956 should do that.
5957 (mouse-autoselect-window-select): Autoselect only if we are in the
5958 text portion of the window.
5959
8259030d
LMI
59602013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
5961
21c58ae2
LMI
5962 * net/shr.el (shr-parse-image-data): New function to grab both the
5963 data itself and the Content-Type.
5964 (shr-put-image): Use it.
5965
5966 * net/eww.el (eww-display-image): Ditto.
5967
8259030d
LMI
5968 * image.el (image-content-type-suffixes): New variable.
5969
ad756449
FEG
59702013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5971
5972 * progmodes/python.el (python-imenu--build-tree)
5973 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5974
f73f4ce6
XF
59752013-08-13 Xue Fuqiao <xfq.free@gmail.com>
5976
5977 * simple.el (backward-word): Mention the optional argument.
5978
1f585e65
SM
59792013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * frameset.el (frameset--make): Rename constructor from make-frameset.
5982 (frameset-p, frameset-valid-p): Don't autoload.
5983 (frameset-valid-p): Use normal accessors.
5984
af1c6c84
GM
59852013-08-13 Glenn Morris <rgm@gnu.org>
5986
55e47f95
GM
5987 * progmodes/compile.el (compile-command): Tweak example in doc.
5988 * obsolete/scribe.el (scribe-mode):
5989 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
5990
f0024d8c
GM
5991 * mail/feedmail.el (feedmail-confirm-outgoing)
5992 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5993
5994 * cus-start.el (truncate-partial-width-windows): Fix type.
5995
5996 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5997
af1c6c84
GM
5998 * net/shr.el (shr-table-horizontal-line): Fix custom type.
5999
5514cc4c
SM
60002013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * emacs-lisp/timer.el (timer--time-setter): New function.
6003 (timer--time): Use it as gv-setter.
6004
6005 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6006 setter is not a symbol.
6007
7997a2f1
GJ
60082013-08-12 Grégoire Jadi <daimrod@gmail.com>
6009
6010 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6011 if sending fails. This makes debugging easier.
6012
01f1a9ab
JB
60132013-08-12 Juanma Barranquero <lekktu@gmail.com>
6014
6015 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6016 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6017 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6018
594a4307
EZ
60192013-08-12 Eli Zaretskii <eliz@gnu.org>
6020
6021 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6022
7a22490f 60232013-08-12 Glenn Morris <rgm@gnu.org>
f26afdb0
GM
6024
6025 * format.el (format-annotate-function):
6026 Handle read-only text properties in the source. (Bug#14887)
6027
3e41a054
LMI
60282013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6029
5514cc4c
SM
6030 * net/eww.el (eww-display-html): Ignore coding system errors.
6031 One web site uses "utf-8lias" as the coding system.
3e41a054 6032
7ec326db
JB
60332013-08-11 Juanma Barranquero <lekktu@gmail.com>
6034
6035 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6036
5660113b
JB
60372013-08-10 Juanma Barranquero <lekktu@gmail.com>
6038
9a4ebc74
JB
6039 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6040 (tutorial--detailed-help): Remove unused local variables.
6041 (tutorial--save-tutorial-to): Use ignore-errors.
6042 (help-with-tutorial): Use looking-at-p.
6043
6044 * view.el (view-buffer-other-window, view-buffer-other-frame):
6045 Mark unused arguments.
6046
6047 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6048 (woman-select-symbol-fonts, woman, woman-find-file)
6049 (woman-insert-file-contents, woman-non-underline-faces):
6050 Use string-match-p.
6051 (woman1-unquote): Move declaration.
6052
6053 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6054 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6055 argument. Remove unused local variable.
6056 (xml-parse-elem-type): Use string-match-p.
6057 (xml-substitute-numeric-entities): Use ignore-errors.
6058
45fdb482
JB
6059 * calculator.el (calculator): Mark unused argument.
6060 (calculator-paste, calculator-quit, calculator-integer-p):
6061 Use ignore-errors.
6062 (calculator-string-to-number, calculator-decimal, calculator-exp)
6063 (calculator-op-or-exp): Use string-match-p.
6064
6065 * dired.el (dired-buffer-more-recently-used-p): Declare.
6066 (dired-insert-set-properties, dired-insert-old-subdirs):
6067 Use ignore-errors.
6068
6069 * dired-aux.el (dired-compress): Use ignore-errors.
6070 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6071 (dired-do-async-shell-command, dired-do-shell-command)
6072 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6073 (dired-insert-subdir-validate): Use string-match-p.
6074 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6075 (dired-add-entry): Use string-match-p, looking-at-p.
6076 (dired-insert-subdir-newpos): Remove unused local variable.
6077
6078 * filenotify.el (file-notify-callback): Remove unused local variable.
6079
6080 * filesets.el (filesets-error): Mark unused argument.
6081 (filesets-which-command-p, filesets-filter-dir-names)
6082 (filesets-directory-files, filesets-get-external-viewer)
6083 (filesets-ingroup-get-data): Use string-match-p.
6084
6085 * find-file.el (ff-other-file-name, ff-other-file-name)
6086 (ff-find-the-other-file, ff-cc-hh-converter):
6087 Remove unused local variables.
6088 (ff-get-file-name): Use string-match-p.
6089 (ff-all-dirs-under): Use ignore-errors.
6090
6091 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6092 (follow-select-if-visible): Remove unused local variable.
6093
6094 * forms.el (read-file-filter): Move declaration.
6095 (forms--make-format, forms--make-parser, forms-insert-record):
6096 Quote function with #'.
6097 (forms--update): Use string-match-p. Quote function with #'.
6098
6099 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6100 (help-make-xrefs): Use looking-at-p.
6101 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6102
6103 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6104 (ibuffer-confirm-operation-on): Use string-match-p.
6105
6106 * msb.el (msb-item-handler, msb-dired-item-handler):
6107 Mark unused arguments.
6108
6109 * ses.el (ses-decode-cell-symbol)
6110 (ses-kill-override): Remove unused local variable.
6111 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6112 (ses-load): Use ignore-errors, looking-at-p.
6113 (ses-jump-safe): Use ignore-errors.
6114 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6115
6116 * tabify.el (untabify, tabify): Mark unused arguments.
6117
6118 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6119 Mark unused argument.
6120 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6121 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6122
c880af52
JB
6123 * emacs-lisp/timer.el (timer--time): Define setter with
6124 gv-define-setter to avoid deprecation warning.
6125
5660113b 6126 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
c880af52 6127 (*record-cmpl-statistics-p*): Remove (was commented out).
5660113b
JB
6128 (cmpl-statistics-block): Remove (body was commented out).
6129 All callers changed.
6130 (add-completions-from-buffer, load-completions-from-file):
6131 Remove unused variables.
6132
156aab80
JB
61332013-08-09 Juanma Barranquero <lekktu@gmail.com>
6134
5c5dee78
JB
6135 * filecache.el (file-cache-delete-file-list):
6136 Print message only when told so.
6137 (file-cache-files-matching): Use #' in mapconcat argument.
6138
156aab80
JB
6139 * ffap.el (ffap-url-at-point): Fix reference to variable
6140 thing-at-point-default-mail-uri-scheme.
6141
ad9dcd70
SM
61422013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6143
54bd972f
SM
6144 * subr.el (define-error): New function.
6145 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6146 error-file-not-found and define with define-error.
6147 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6148 and define with define-error.
6149 * userlock.el (file-locked, file-supersession):
6150 * simple.el (mark-inactive):
6151 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6152 * progmodes/ada-mode.el (ada-mode-errors):
6153 * play/life.el (life-extinct):
6154 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6155 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6156 * nxml/rng-util.el (rng-error):
6157 * nxml/rng-uri.el (rng-uri-error):
6158 * nxml/rng-match.el (rng-compile-error):
6159 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6160 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6161 * nxml/nxml-rap.el (nxml-scan-error):
6162 * nxml/nxml-outln.el (nxml-outline-error):
6163 * net/soap-client.el (soap-error):
6164 * net/gnutls.el (gnutls-error):
6165 * net/ange-ftp.el (ftp-error):
6166 * mpc.el (mpc-proc-error):
6167 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6168 (json-number-format, json-string-escape, json-string-format)
6169 (json-key-format, json-object-format):
6170 * jka-compr.el (compression-error):
6171 * international/quail.el (quail-error):
6172 * international/kkc.el (kkc-error):
6173 * emacs-lisp/ert.el (ert-test-failed):
6174 * calc/calc.el (calc-error, inexact-result, math-overflow)
6175 (math-underflow):
6176 * bookmark.el (bookmark-error-no-filename):
6177 * epg.el (epg-error): Define with define-error.
6178
0ea9e53a
SM
6179 * time.el (display-time-event-handler)
6180 (display-time-next-load-average): Don't call sit-for since it seems
6181 unnecessary (bug#15045).
6182
b0429158
SM
6183 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6184 Use #' instead of ' to quote functions.
6185 (checkdoc-output-mode): Use setq-local.
6186 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6187 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6188 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6189 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6190 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6191 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6192 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6193 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6194
ad9dcd70
SM
6195 * ido.el (ido-completion-help): Fix up compiler warning.
6196
77187e6f
JB
61972013-08-09 Juanma Barranquero <lekktu@gmail.com>
6198
6199 * frameset.el (frameset-p): Add autoload cookie.
6200 (frameset--jump-to-register): New function, based on code moved from
6201 register.el.
6202 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6203
6204 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6205 (frameset-restore, frameset-save, frameset-session-filter-alist):
6206 Remove declarations.
6207 (register-alist): Doc fix.
6208 (frameset-to-register): Move to frameset.el.
6209 (jump-to-register, describe-register-1): Remove frameset-specific code.
6210
9d3aa82c
JB
62112013-08-08 Juanma Barranquero <lekktu@gmail.com>
6212
6213 * allout-widgets.el (allout-widgets-pre-command-business)
6214 (allout-widgets-post-command-business)
6215 (allout-widgets-after-change-handler)
6216 (allout-decorate-item-and-context, allout-set-boundary-marker)
6217 (allout-body-modification-handler)
6218 (allout-graphics-modification-handler): Mark ignored arguments.
6219 (allout-widgets-post-command-business)
6220 (allout-widgets-exposure-change-processor)
6221 (allout-widgets-exposure-undo-processor)
6222 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6223 (allout-parse-item-at-point, allout-decorate-item-guides)
6224 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6225 * allout.el (epa-passphrase-callback-function): Declare.
6226 (allout-overlay-insert-in-front-handler)
6227 (allout-overlay-interior-modification-handler)
6228 (allout-isearch-end-handler, allout-chart-siblings)
6229 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6230 (allout-yank-processing, allout-process-exposed)
6231 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5514cc4c 6232 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9d3aa82c
JB
6233 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6234 (lisp-indent-defform): Mark ignored arguments.
6235 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6236 (calculate-lisp-indent): Remove unused variables.
6237 * international/characters.el (indian-2-column, arabic-2-column)
6238 (tibetan): Mark ignored arguments.
6239 (use-cjk-char-width-table): Mark ignored arguments.
6240 Remove unused variables.
6241 * international/fontset.el (build-default-fontset-data)
6242 (x-compose-font-name, create-fontset-from-fontset-spec):
6243 Mark ignored arguments.
6244 (fontset-plain-name): Remove unused variables.
6245 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6246 (keyboard-coding-system): Mark ignored arguments.
6247 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6248 * help.el (resize-temp-buffer-window):
6249 * window.el (display-buffer-in-major-side-window)
6250 (display-buffer-in-side-window, display-buffer-in-previous-window):
6251 Remove unused variables.
6252 * isearch.el (isearch-forward-symbol):
6253 * version.el (emacs-bzr-version-bzr):
6254 * international/mule-cmds.el (current-language-environment):
6255 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6256 (x-handle-display):
6257 * term/pc-win.el (x-list-fonts, x-display-planes)
6258 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6259 (x-server-version, x-display-screens, x-display-mm-height)
6260 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6261 (x-selection-owner-p, x-own-selection-internal)
6262 (x-disown-selection-internal, x-get-selection-internal)
6263 (msdos-initialize-window-system):
6264 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6265 * term/x-win.el (x-handle-no-bitmap-icon):
6266 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6267 (vc-default-find-file-hook, vc-default-extra-menu):
6268 Mark ignored arguments.
6269
0ca3f70e
SM
62702013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6271
6272 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6273 break-condition in the context of the debugged code (bug#12685).
6274
74c5d24c
CS
62752013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6276
6277 * comint.el:
6278 Do not use an overlay to highlight the last prompt. (Bug#14744)
6279 (comint-mode): Make comint-last-prompt buffer local.
6280 (comint-last-prompt): New variable.
6281 (comint-last-prompt-overlay): Remove. Superseded by
6282 comint-last-prompt.
0ca3f70e
SM
6283 (comint-snapshot-last-prompt, comint-output-filter):
6284 Use comint-last-prompt.
74c5d24c 6285
c03c02ee
JB
62862013-08-08 Juanma Barranquero <lekktu@gmail.com>
6287
a3738d20 6288 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
c03c02ee
JB
6289 (frameset-save): Check validity of the resulting frameset.
6290
04263d23
XF
62912013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6292
6293 * ido.el (ido-record-command): Add doc string.
6294
76c5e5ab
JB
62952013-08-08 Juanma Barranquero <lekktu@gmail.com>
6296
6297 * frameset.el (frameset): Do not disable creation of the default
6298 frameset-p predicate. Doc fix.
6299 (frameset-valid-p): New function, copied from the old predicate-p.
6300 Add additional checks.
6301 (frameset-restore): Check with frameset-valid-p.
6302 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6303 (frameset-name, frameset-description, frameset-properties)
6304 (frameset-states): Add docstring.
f9dbf1cb
JB
6305 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6306 (frameset-filter-alist): Doc fixes.
76c5e5ab 6307
bd0c3c0b
JB
63082013-08-08 Juanma Barranquero <lekktu@gmail.com>
6309
6310 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6311
c735544c
SM
63122013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6315 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6316 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6317 (byte-compile-normal-call): Remove obsolescence check.
6318
2805a651
JB
63192013-08-08 Juanma Barranquero <lekktu@gmail.com>
6320
3677ffeb
JB
6321 * frameset.el (frameset-restore): Doc fix.
6322
2805a651
JB
6323 * register.el (frameset-frame-id, frameset-frame-with-id)
6324 (frameset-p, frameset-restore, frameset-save): Declare.
6325 (register-alist): Document framesets.
6326 (frameset-session-filter-alist): Declare.
6327 (frameset-to-register): New function.
6328 (jump-to-register): Implement jumping to framesets. Doc fix.
6329 (describe-register-1): Describe framesets.
6330
6331 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6332
a912c016
JB
63332013-08-07 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6336 Use lexical-binding.
6337
6338 * frameset.el (frameset): Use type vector, not list (incompatible
6339 change). Do not declare a new constructor, use the default one.
6340 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6341 `name' and `description', respectively, and add read-only slot
6342 `timestamp'. Doc fixes.
6343 (frameset-copy, frameset-persistent-filter-alist)
6344 (frameset-filter-alist, frameset-switch-to-gui-p)
6345 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6346 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6347 (frameset-filter-iconified, frameset-keep-original-display-p):
6348 Doc fixes.
6349 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6350 Rename from frameset-filter-(save|restore)-param. All callers changed.
6351 Doc fix.
6352 (frameset-p): Adapt to change to vector and be more thorough.
6353 Change arg name to OBJECT. Doc fix.
6354 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6355 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6356 All callers changed.
6357 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6358 All callers changed.
6359 (frameset--record-minibuffer-relationships): Rename from
6360 frameset--process-minibuffer-frames. All callers changed.
6361 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6362 Use new default constructor (again). Doc fix.
6363 (frameset--find-frame-if): Rename from `frameset--find-frame.
6364 All callers changed.
6365 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6366 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6367 Doc fix.
6368 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6369 PARAMETERS and WINDOW-STATE, respectively.
6370 (frameset-restore): Add new keyword argument PREDICATE.
6371 Reset frameset--target-display to nil. Doc fix.
6372
bb41480a
SM
63732013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6374
f001e98e
SM
6375 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6376 (bat-mode): Use it.
6377 (bat-mode-syntax-table): Mark \n as end-of-comment.
6378 (bat-font-lock-keywords): Remove comment rule.
6379
7679edb1
SM
6380 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6381 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6382
bb41480a
SM
6383 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6384 (byte-compile-callargs-warn): Use `push'.
6385 (byte-compile-arglist-warn): Ignore higher-order "calls".
6386 (byte-compile-file-form-autoload): Use `pcase'.
6387 (byte-compile-function-form): If quoting a symbol, check that it exists.
6388
cdc1ebb9
EZ
63892013-08-07 Eli Zaretskii <eliz@gnu.org>
6390
6391 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6392 and add a few popular commands found in batch files.
6393 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6394 (dos-mode): Doc fixes.
6395
312b1740
SM
63962013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6399 (dos-mode): Use setq-local. Add space after "rem".
6400 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6401 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6402
400a3178
AM
64032013-08-07 Arni Magnusson <arnima@hafro.is>
6404
6405 * progmodes/dos.el: New file.
6406 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6407 dos-mode.
6408
3b5c03d3
GM
64092013-08-06 Glenn Morris <rgm@gnu.org>
6410
6411 * calendar/calendar.el: Add new faces, and day-header-array.
6412 (calendar-weekday-header, calendar-weekend-header)
6413 (calendar-month-header): New faces.
6414 (calendar-day-header-construct): New function.
6415 (calendar-day-header-width): Also :set calendar-day-header-array.
6416 (calendar-american-month-header, calendar-european-month-header)
6417 (calendar-iso-month-header): Use calendar- faces.
6418 (calendar-generate-month):
6419 Use calendar-day-header-array for day headers; apply faces to them.
6420 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6421 (calendar-abbrev-construct): Add optional maxlen argument.
6422 (calendar-day-name-array): Doc fix.
6423 (calendar-day-name-array, calendar-abbrev-length)
6424 (calendar-day-abbrev-array):
6425 Also :set calendar-day-header-array, and maybe redraw.
6426 (calendar-day-header-array): New option. (Bug#15007)
8a806f04 6427 (calendar-font-lock-keywords): Set to nil and make obsolete.
3b5c03d3
GM
6428 (calendar-day-name): Add option to use header array.
6429
ec6a2d7a
LMI
64302013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6431
6432 * net/shr.el (shr-render-td): Remove debugging.
6433 (shr-render-td): Make width computation consistent by defaulting
6434 all zero-width columns to 10 characters. This may not be optimal,
6435 but it's at least consistent.
2122cb6d
LMI
6436 (shr-make-table-1): Redo last change to fix the real problem in
6437 colspan handling.
ec6a2d7a 6438
ed4fd9c5
DA
64392013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6440
0ca3f70e
SM
6441 * files.el (cache-long-line-scans):
6442 Make obsolete alias to `cache-long-scans'.
ed4fd9c5 6443
64e22afe
JB
64442013-08-06 Juanma Barranquero <lekktu@gmail.com>
6445
024b38fc
JB
6446 * frameset.el (frameset, frameset-filter-alist)
6447 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6448 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6449 (frameset-compute-pos): Rename from frameset--compute-pos,
6450 and add docstring.
6451 (frameset-move-onscreen): Use frameset-compute-pos.
6452 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6453
64e22afe
JB
6454 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6455 Fix typos in docstrings.
6456
c8c2aca8
DA
64572013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6458
6459 * frame.el (get-other-frame): Tiny cleanup.
6460
1d237bba
JB
64612013-08-06 Juanma Barranquero <lekktu@gmail.com>
6462
8951efef
JB
6463 * vc/vc.el (vc-default-ignore-completion-table):
6464 Silence byte-compiler warning.
6465
307764cc
JB
6466 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6467 slot , which can indeed be nil.
6468 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6469 Move entry for `left' from persistent to live filter alist.
6470 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6471 Doc fixes.
6472 (frameset-filter-params): When restoring a frame, copy items added to
6473 `filtered', to avoid unwittingly modifying the original parameters.
6474 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6475 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6476
1d237bba
JB
6477 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6478 to use looking-at-p instead of looking-at. (Bug#15028)
6479
dc6c0eda
SM
64802013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6481
6482 Revert introduction of isearch-filter-predicates (bug#14714).
6483 Rely on add-function instead.
6484 * isearch.el (isearch-filter-predicates): Rename it back to
6485 isearch-filter-predicate.
6486 (isearch-message-prefix): Use advice-function-mapc and advice
6487 properties to get the isearch-message-prefix.
6488 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6489 instead of run-hook-with-args-until-failure.
6490 (isearch-filter-visible): Not obsolete any more.
6491 * loadup.el: Preload nadvice.
6492 * replace.el (perform-replace): Revert to funcall
6493 instead of run-hook-with-args-until-failure.
6494 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6495 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6496 dired-isearch-filenames-toggle; make it into a proper minor mode.
6497 Use add/remove-function.
6498 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6499 Call the minor-mode rather than add/remove-hook.
6500 (dired-isearch-filter-filenames):
6501 Remove isearch-message-prefix property.
6502 * info.el (Info--search-loop): New function, extracted from Info-search.
6503 Funcall isearch-filter-predicate instead of
6504 run-hook-with-args-until-failure isearch-filter-predicates.
6505 (Info-search): Use it.
6506 (Info-mode): Use isearch-filter-predicate instead of
6507 isearch-filter-predicates.
6508
290d5b58
DA
65092013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6510
6511 Do not call to `selected-window' where it is assumed by default.
6512 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6513 `window-hscroll', `window-width', `window-height', `window-buffer',
6514 `window-frame', `window-start', `window-point', `next-window'
6515 and `window-display-table'.
6516 * abbrev.el (abbrev--default-expand):
6517 * bs.el (bs--show-with-configuration):
6518 * buff-menu.el (Buffer-menu-mouse-select):
6519 * calc/calc.el (calc):
6520 * calendar/calendar.el (calendar-generate-window):
6521 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6522 (diary-make-entry):
6523 * comint.el (send-invisible, comint-dynamic-complete-filename)
6524 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6525 * completion.el (complete):
6526 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6527 * disp-table.el (describe-current-display-table):
6528 * doc-view.el (doc-view-insert-image):
6529 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6530 * ehelp.el (with-electric-help):
6531 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6532 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6533 * emacs-lisp/helper.el (Helper-help-scroller):
6534 * emulation/cua-base.el (cua--post-command-handler-1):
6535 * eshell/esh-mode.el (eshell-output-filter):
6536 * ffap.el (ffap-gnus-wrapper):
6537 * help-macro.el (make-help-screen):
6538 * hilit-chg.el (highlight-compare-buffers):
6539 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6540 * hl-line.el (global-hl-line-highlight):
6541 * icomplete.el (icomplete-simple-completing-p):
6542 * isearch.el (isearch-done):
6543 * jit-lock.el (jit-lock-stealth-fontify):
6544 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
a12bf61e 6545 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
290d5b58
DA
6546 * mpc.el (mpc-tagbrowser, mpc):
6547 * net/rcirc.el (rcirc-any-buffer):
6548 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6549 * play/landmark.el (landmark-max-width, landmark-max-height):
6550 * play/zone.el (zone):
6551 * progmodes/compile.el (compilation-goto-locus):
6552 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6553 * progmodes/etags.el (find-tag-other-window):
6554 * progmodes/fortran.el (fortran-column-ruler):
6555 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6556 * progmodes/verilog-mode.el (verilog-point-text):
6557 * reposition.el (reposition-window):
6558 * rot13.el (toggle-rot13-mode):
6559 * server.el (server-switch-buffer):
6560 * shell.el (shell-dynamic-complete-command)
6561 (shell-dynamic-complete-environment-variable):
6562 * simple.el (insert-buffer, set-selective-display)
6563 (delete-completion-window):
6564 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6565 (speedbar-recenter):
6566 * startup.el (fancy-splash-head):
6567 * textmodes/ispell.el (ispell-command-loop):
6568 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6569 * tutorial.el (help-with-tutorial):
6570 * vc/add-log.el (add-change-log-entry):
6571 * vc/compare-w.el (compare-windows):
6572 * vc/ediff-help.el (ediff-indent-help-message):
6573 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6574 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6575 (ediff-setup-control-frame):
6576 * vc/emerge.el (emerge-position-region):
6577 * vc/pcvs-util.el (cvs-bury-buffer):
6578 * window.el (walk-windows, mouse-autoselect-window-select):
6579 * winner.el (winner-set-conf, winner-undo): Related users changed.
6580
38276e01
JB
65812013-08-05 Juanma Barranquero <lekktu@gmail.com>
6582
6583 * frameset.el (frameset--set-id): Doc fix.
6584 (frameset-frame-id, frameset-frame-id-equal-p)
6585 (frameset-locate-frame-id): New functions.
6586 (frameset--process-minibuffer-frames, frameset--reuse-frame)
6587 (frameset-restore): Use them.
6588
12b4c0ea
DA
65892013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6590
6591 Do not call to `selected-frame' where it is assumed by default.
6592 Affected functions are `raise-frame', `redraw-frame',
6593 `frame-first-window', `frame-terminal' and `delete-frame'.
6594 * calendar/appt.el (appt-disp-window):
6595 * epg.el (epg-wait-for-completion):
6596 * follow.el (follow-delete-other-windows-and-split)
6597 (follow-avoid-tail-recenter):
6598 * international/mule.el (set-terminal-coding-system):
6599 * mail/rmail.el (rmail-mail-return):
6600 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6601 * progmodes/f90.el (f90-add-imenu-menu):
6602 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6603 * server.el (server-switch-buffer):
6604 * simple.el (delete-completion-window):
6605 * talk.el (talk):
6606 * term/xterm.el (terminal-init-xterm-modify-other-keys)
6607 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6608 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6609 * vc/ediff.el (ediff-documentation): Related users changed.
6610 * frame.el (selected-terminal): Remove the leftover.
6611
17f25e76
GM
66122013-08-05 Glenn Morris <rgm@gnu.org>
6613
6614 * calendar/calendar.el (calendar-generate-month):
6615 Fix for calendar-column-width != 1 + calendar-day-digit-width.
09e6d547
GM
6616 (calendar-generate-month, calendar-font-lock-keywords):
6617 Fix for calendar-day-header-width > length of any day name.
17f25e76 6618
063233c3
JB
66192013-08-05 Juanma Barranquero <lekktu@gmail.com>
6620
6621 * desktop.el (desktop-clear): Use new name of sort predicate.
6622
6623 * frameset.el (frameset): Add docstring. Move :version property to its
6624 own `version' slot.
6625 (frameset-copy): Rename from copy-frameset.
6626 (frameset-p): Check more thoroughly.
6627 (frameset-prop): Do not check for :version, which is no longer a prop.
6628 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6629 Use new :never value instead of t.
6630 (frameset-filter-alist): Expand and clarify docstring.
6631 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6632 (frameset-filter-minibuffer, frameset-filter-save-param)
6633 (frameset-filter-restore-param, frameset-filter-iconified):
6634 Add pointer to docstring of frameset-filter-alist.
6635 (frameset-filter-params): Rename filter values to be more meaningful:
6636 :never instead of t, and reverse the meanings of :save and :restore.
6637 (frameset--process-minibuffer-frames): Clarify error message.
6638 (frameset-save): Avoid unnecessary and confusing call to framep.
6639 Use new BOA constructor for framesets.
6640 (frameset--reuse-list): Doc fix.
6641 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
6642 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6643 (frameset-minibufferless-first-p): Doc fix.
6644 Rename from frameset-sort-frames-for-deletion.
6645 (frameset-restore): Doc fixes. Use new function names.
6646 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6647
d5671a82
JB
66482013-08-04 Juanma Barranquero <lekktu@gmail.com>
6649
6650 * desktop.el (desktop-restore-forces-onscreen)
6651 (desktop-restore-reuses-frames): Document :keyword constant values.
6652 (desktop-filter-parameters-alist): Remove, now identical to
6653 frameset-filter-alist.
6654 (desktop--filter-tty*): Remove, moved to frameset.el.
6655 (desktop-save-frameset, desktop-restore-frameset):
6656 Do not pass :filters argument.
6657
6658 * frameset.el (frameset-live-filter-alist)
6659 (frameset-persistent-filter-alist): New variables.
6660 (frameset-filter-alist): Use them. Add autoload cookie.
6661 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6662 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6663 `frameset--id' (it's supposed to be internal to frameset.el).
6664 (frameset--process-minibuffer-frames): Ditto. Doc fix.
6665 (frameset--initial-params): New function.
6666 (frameset--get-frame): Use it. Doc fix.
6667 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6668 Accept :all, not 'all.
6669 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6670 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
6671 with fbound symbols. Fix frame id matching, and remove matching ids if
6672 the frame being restored is deleted. Obey :delete.
6673
671d5c16
SM
66742013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * subr.el (macrop): New function.
6677 (text-clone--maintaining): New var.
6678 (text-clone--maintain): Rename from text-clone-maintain. Use it
6679 instead of inhibit-modification-hooks.
6680
6681 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6682 a proxy, so as handle autoloads and redefinitions of the target.
6683 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6684
6685 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6686 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
6687 (pcase--mutually-exclusive-p): New function.
6688 (pcase--split-consp): Use it.
6689 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
6690 mutually exclusive with the current predicate.
6691
6692 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6693 (edebug-macrop): Remove. Use `macrop' instead.
6694 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
6695 (ad-macro-p):
6696 * eshell/esh-cmd.el (eshell-macrop):
6697 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
6698
1d44e9dc
SM
66992013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6702 (advice-mapc): New function, using it.
6703 (advice-function-member-p): New function.
6704 (advice--normalize): Store the cdr in advice--saved-rewrite since
6705 that's the part that will be changed.
6706 (advice--symbol-function): New function.
6707 (advice-remove): Handle removal before the function is defined.
6708 Adjust to new advice--saved-rewrite.
6709 (advice-member-p): Use advice-function-member-p and
6710 advice--symbol-function.
6711
5414a283
JB
67122013-08-04 Juanma Barranquero <lekktu@gmail.com>
6713
51d30f2c
JB
6714 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6715 (frameset-filter-minibuffer): Doc fix.
6716 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
a04d36a0
JB
6717 (frameset--set-id, frameset--process-minibuffer-frames)
6718 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6719 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
51d30f2c 6720
5414a283
JB
6721 * desktop.el (desktop-clear): Only delete frames when called
6722 interactively and desktop-restore-frames is non-nil. Doc fix.
6723 (desktop-read): Set desktop-saved-frameset to nil.
6724
ab419665
XF
67252013-08-04 Xue Fuqiao <xfq.free@gmail.com>
6726
6727 * vc/vc.el (vc-ignore): Rewrite.
6728 (vc-default-ignore-completion-table):
6729 (vc--read-lines):
6730 (vc--add-line, vc--remove-regexp): New functions.
6731
6732 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6733 (vc-svn-ignore-completion-table): New function.
6734
6735 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6736 (vc-hg-ignore-completion-table):
6737 (vc-hg-find-ignore-file): New functions.
6738
6739 * vc/vc-git.el (vc-git-ignore): Rewrite.
6740 (vc-git-ignore-completion-table):
6741 (vc-git-find-ignore-file): New functions.
6742
6743 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6744
6745 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6746 (vc-bzr-ignore-completion-table):
6747 (vc-bzr-find-ignore-file): New functions.
6748
2613dea2
JB
67492013-08-03 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * frameset.el (frameset-prop): New function and setter.
6752 (frameset-save): Do not modify frame list passed by the caller.
6753
9c959872
SM
67542013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
6755
6756 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6757
a104f656
SM
67582013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
6759
70122acf
SM
6760 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6761 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6762
a104f656
SM
6763 * custom.el (custom-initialize-default, custom-initialize-set)
6764 (custom-initialize-reset, custom-initialize-changed): Affect the
6765 toplevel-default-value (bug#6275, bug#14586).
6766 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6767 for bug#6275.
6768
f078d570
JB
67692013-08-02 Juanma Barranquero <lekktu@gmail.com>
6770
185e3b5a
JB
6771 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6772 Add cl-def* expressions.
6773
f078d570
JB
6774 * frameset.el (frameset-filter-params): Fix order of arguments.
6775
9421876d
JB
67762013-08-02 Juanma Barranquero <lekktu@gmail.com>
6777
6778 Move code related to saving frames to frameset.el.
6779 * desktop.el: Require frameset.
6780 (desktop-restore-frames): Doc fix.
6781 (desktop-restore-reuses-frames): Rename from
6782 desktop-restoring-reuses-frames.
6783 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6784 (desktop-clear): Clear frames too.
6785 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6786 (desktop--filter-tty*, desktop-save, desktop-read):
6787 Use frameset functions.
6788 (desktop-before-saving-frames-functions, desktop--filter-*-color)
6789 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6790 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6791 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6792 (desktop--process-minibuffer-frames, desktop-save-frames)
6793 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6794 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6795 (desktop--sort-states, desktop-restoring-frames-p)
6796 (desktop-restore-frames): Remove. Most code moved to frameset.el.
6797 (desktop-restoring-frameset-p, desktop-restore-frameset)
6798 (desktop--check-dont-save, desktop-save-frameset): New functions.
6799 (desktop--app-id): New constant.
6800 (desktop-first-buffer, desktop-buffer-ok-count)
6801 (desktop-buffer-fail-count): Move before first use.
6802 * frameset.el: New file.
6803
76dc5996
SM
68042013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
6805
6806 * files.el: Use lexical-binding.
6807 (dir-locals-read-from-file): Remove unused `err' variable.
6808 (hack-dir-local-variables--warned-coding): New var.
6809 (hack-dir-local-variables): Use it to avoid repeated warnings.
6810 (make-backup-file-name--default-function): New function.
6811 (make-backup-file-name-function): Use it as default.
6812 (buffer-stale--default-function): New function.
6813 (buffer-stale-function): Use it as default.
6814 (revert-buffer-insert-file-contents--default-function): New function.
6815 (revert-buffer-insert-file-contents-function): Use it as default.
6816 (insert-directory): Avoid add-to-list.
6817
6818 * autorevert.el (auto-revert-handler): Simplify.
6819 Use buffer-stale--default-function.
6820
06d36e2b
TH
68212013-08-01 Tassilo Horn <tsdh@gnu.org>
6822
5f648ab4
TH
6823 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6824
06d36e2b
TH
6825 * whitespace.el (whitespace-ensure-local-variables): New function.
6826 (whitespace-cleanup-region): Call it.
6827 (whitespace-turn-on): Call it.
6828
a43dc424
MA
68292013-08-01 Michael Albinus <michael.albinus@gmx.de>
6830
6831 Complete file name handlers.
6832
6833 * net/tramp.el (tramp-handle-set-visited-file-modtime)
6834 (tramp-handle-verify-visited-file-modtime)
6835 (tramp-handle-file-notify-rm-watch): New functions.
6836 (tramp-call-process): Do not bind `default-directory'.
6837
44e18199
JB
6838 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6839 Order alphabetically.
a43dc424
MA
6840 [access-file, add-name-to-file, dired-call-process]:
6841 [dired-compress-file, file-acl, file-notify-rm-watch]:
6842 [file-ownership-preserved-p, file-selinux-context]:
6843 [make-directory-internal, make-symbolic-link, set-file-acl]:
6844 [set-file-selinux-context, set-visited-file-modtime]:
6845 [verify-visited-file-modtime]: Add handler.
6846 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6847
6848 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6849 [file-notify-add-watch, file-notify-rm-watch]:
6850 [set-file-times, set-visited-file-modtime]:
6851 [verify-visited-file-modtime]: Add handler.
6852 (with-tramp-gvfs-error-message)
6853 (tramp-gvfs-handle-set-visited-file-modtime)
6854 (tramp-gvfs-fuse-file-name): Remove.
6855 (tramp-gvfs-handle-file-notify-add-watch)
6856 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6857 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6858
44e18199
JB
6859 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6860 Order alphabetically.
a43dc424
MA
6861 [file-notify-rm-watch ]: Use default Tramp handler.
6862 [executable-find]: Remove private handler.
6863 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6864 `default-directory'.
6865 (tramp-sh-handle-executable-find)
6866 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6867 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6868 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6869 Do not use `format' in `tramp-message'.
6870
6871 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6872 [file-notify-rm-watch, set-visited-file-modtime]:
6873 [verify-visited-file-modtime]: Add handler.
6874 (tramp-smb-call-winexe): Do not bind `default-directory'.
6875
7188b515
XF
68762013-08-01 Xue Fuqiao <xfq.free@gmail.com>
6877
6878 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6879
2412ee1a
DG
68802013-07-31 Dmitry Gutov <dgutov@yandex.ru>
6881
6882 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6883 use it.
6884 (log-view-diff-changeset): Same.
6885 (log-view-diff-common): Call backend command `previous-revision'
6886 to find out the previous revision, in both cases. Swap the
6887 variables `to' and `fr', so that `fr' usually refers to the
6888 earlier revision (Bug#14989).
6889
5002a754
KRC
68902013-07-31 Kan-Ru Chen <kanru@kanru.info>
6891
6892 * ibuf-ext.el (ibuffer-filter-by-filename):
6893 Make it work with dired buffers too.
6894
44e18199 68952013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3b734d1c
DA
6896
6897 * emacs-lisp/re-builder.el (reb-color-display-p):
6898 * files.el (save-buffers-kill-terminal):
6899 * net/browse-url.el (browse-url):
6900 * server.el (server-save-buffers-kill-terminal):
6901 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6902 Prefer nil to selected-frame for the first arg of frame-parameter.
6903
aeca3fbb
XF
69042013-07-31 Xue Fuqiao <xfq.free@gmail.com>
6905
6906 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6907
158bc55c
SB
69082013-07-30 Stephen Berman <stephen.berman@gmx.net>
6909
6910 * minibuffer.el (completion--twq-all): Try and preserve each
6911 completion's case choice (bug#14907).
6912
d50fceab
LMI
69132013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6914
ac38e731
LMI
6915 * net/network-stream.el (open-network-stream): Mention the new
6916 :nogreeting parameter.
6917 (network-stream-open-starttls): Use the :nogreeting parameter
6918 (bug#14938).
6919
1211de50
LMI
6920 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6921
997798bf
LMI
6922 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6923 more natural than popping.
6924
d50fceab 6925 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5a2a7735 6926 (shr-urlify): Highlight under mouse.
d50fceab 6927
5c09de04
XF
69282013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6929
207d1d04
XF
6930 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6931
6932 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6933
5c09de04
XF
6934 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
6935 buffer for output.
6936
3cd51eaa
XF
6937 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
6938 point-min==1. Fix search string. Fix parentheses missing.
5c09de04 6939
44e18199 6940 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3cd51eaa 6941 assume point-min==1. Fix search string. Fix parentheses missing.
5c09de04
XF
6942
6943 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6944
6945 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
6946 buffer for output.
6947
35a89bdd
EZ
69482013-07-29 Eli Zaretskii <eliz@gnu.org>
6949
6950 * frame.el (frame-notice-user-settings): Avoid inflooping when the
6951 initial frame is minibuffer-less. (Bug#14841)
6952
78822e94
MA
69532013-07-29 Michael Albinus <michael.albinus@gmx.de>
6954
6955 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6956 option.
6957
6958 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6959 (tramp-maybe-open-connection): Use it.
6960
9503c190
JB
69612013-07-28 Juanma Barranquero <lekktu@gmail.com>
6962
6963 * desktop.el (desktop--make-frame): Include `minibuffer' in the
6964 minimal set of parameters passed when creating a frame, because
6965 the minibuffer status of a frame cannot be changed later.
6966
d5a845b4
SB
69672013-07-28 Stephen Berman <stephen.berman@gmx.net>
6968
6969 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6970 replace-regexp-in-string and inadvertent omissions in previous change.
6971 (todo-filter-items): Ensure only file names are comma-separated in
42ee6f55 6972 name of filtered items buffer.
d5a845b4 6973
ddeffb17
JB
69742013-07-28 Juanma Barranquero <lekktu@gmail.com>
6975
6976 * desktop.el: Optionally force offscreen frames back onscreen.
6977 (desktop-restoring-reuses-frames): New option.
6978 (desktop--compute-pos, desktop--move-onscreen): New functions.
6979 (desktop--make-frame): Use desktop--move-onscreen.
6980
f5950f7a
AM
69812013-07-27 Alan Mackenzie <acm@muc.de>
6982
6983 Fontify a Java generic method as a function.
6984 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6985 value to t.
6986
ae43b66a
SB
69872013-07-27 Stephen Berman <stephen.berman@gmx.net>
6988
6989 * calendar/todo-mode.el: Add command to rename todo files.
6990 (todo-rename-file): New command.
6991 (todo-key-bindings-t): Add key binding for it. Change the
6992 bindings of todo-filter-regexp-items(-multifile) to use `x'
6993 instead of `r', since the latter is better suited to the new
6994 renaming command.
6995
5ab78d3d
AM
69962013-07-27 Alan Mackenzie <acm@muc.de>
6997
6998 Make Java try-with-resources statement parse properly.
6999 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7000 (c-block-stmt-1-2-key): New language constants/variables.
7001 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7002 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7003 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
44e18199 7004 with c-block-stmt-1-2-key.
5ab78d3d 7005
d85c4d50
JB
70062013-07-27 Juanma Barranquero <lekktu@gmail.com>
7007
7008 * desktop.el (desktop--make-frame): Apply most frame parameters after
7009 creating the frame to force (partially or totally) offscreen frames to
7010 be restored as such.
7011
e4c467f9
XF
70122013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7013
7014 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
742a3501 7015 (Bug#14948)
e4c467f9 7016
7ced0d04
SM
70172013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7020 `base' arg of backtrace-frame.
7021
fec92060
EZ
70222013-07-26 Eli Zaretskii <eliz@gnu.org>
7023
7024 * simple.el (list-processes): Doc fix.
7025
d58d31fb
JB
70262013-07-26 Juanma Barranquero <lekktu@gmail.com>
7027
7028 * desktop.el (desktop--select-frame):
d85c4d50 7029 Try harder to reuse existing frames.
d58d31fb 7030
53ff3e77
SM
70312013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7032
7033 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7034 (edebug-eval): Use backtrace-eval.
7035 (edebug--display, edebug--recursive-edit): Don't let-bind the
7036 edebug-outer-* vars that keep track of variables we locally let-bind.
7037 (edebug-outside-excursion): Don't restore outside values of locally
7038 let-bound vars.
7039 (edebug--display): Use user-error.
7040 (cl-lexical-debug, cl-debug-env): Remove.
7041
045f7a53
JB
70422013-07-26 Juanma Barranquero <lekktu@gmail.com>
7043
7044 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7045 are restored to be sure that they are visible before deleting any
7046 remaining ones.
7047
59070b32
MM
70482013-07-26 Matthias Meulien <orontee@gmail.com>
7049
742a3501
XF
7050 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7051 vc-print-root-log. (Bug#14948)
59070b32 7052
b1fb3596
RS
70532013-07-26 Richard Stallman <rms@gnu.org>
7054
7055 Add aliases for encrypting mail.
7056 * epa.el (epa-mail-aliases): New option.
7057 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7058 Bind inhibit-read-only so read-only text doesn't ruin everything.
7059 (epa-mail-default-recipients): New subroutine broken out.
7060 Handle epa-mail-aliases.
7061
56ea7291
SM
70622013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7063
7064 Add support for lexical variables to the debugger's `e' command.
7065 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7066 vars, except for debugger-outer-match-data.
7067 (debugger-frame-number): Move check for "on a function call" from
7068 callers into it. Add `skip-base' argument.
7069 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7070 (debugger-env-macro): Only reset the state stored in non-variables,
7071 i.e. current-buffer and match-data.
7072 (debugger-eval-expression): Rewrite using backtrace-eval.
7073 * subr.el (internal--called-interactively-p--get-frame): Remove.
7074 (called-interactively-p):
7075 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7076 `base' arg of backtrace-frame instead.
7077
15ac32d5
GM
70782013-07-26 Glenn Morris <rgm@gnu.org>
7079
8358a09d
GM
7080 * align.el (align-regexp): Doc fix. (Bug#14857)
7081 (align-region): Explicit error if subexpression missing/does not match.
7082
15ac32d5
GM
7083 * simple.el (global-visual-line-mode):
7084 Do not duplicate the mode lighter. (Bug#14858)
7085
f47ad11b
MR
70862013-07-25 Martin Rudalics <rudalics@gmx.at>
7087
7088 * window.el (display-buffer): In display-buffer bind
7089 split-window-keep-point to t, bug#14829.
7090
02530987
JB
70912013-07-25 Juanma Barranquero <lekktu@gmail.com>
7092
7093 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7094 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7095 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7096 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7097 Change accordingly.
f63ebeb5
JB
7098 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7099 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
02530987 7100
6ccb9cab 71012013-07-25 Glenn Morris <rgm@gnu.org>
29bbcfa7 7102
6ccb9cab 7103 * dired-x.el (dired-mark-extension): Convert comment to doc string.
ce887515 7104
cb3a56d2
JB
71052013-07-25 Juanma Barranquero <lekktu@gmail.com>
7106
7107 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7108 parameter to modify-frame-parameters if the value has not changed;
7109 this is a workaround for bug#14949.
7110 (desktop--make-frame): On cl-delete-if call, check parameter name,
7111 not full parameter.
7112
7aa7fff0
XF
71132013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7114
7115 * vc/vc.el (vc-ignore): New function.
7116
7117 * vc/vc-svn.el (vc-svn-ignore): New function.
7118
7119 * vc/vc-hg.el (vc-hg-ignore): New function.
7120
7121 * vc/vc-git.el (vc-git-ignore): New function.
7122
7123 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7124 (vc-dir-ignore): New function.
7125
7126 * vc/vc-cvs.el (vc-cvs-ignore): New function.
1e6c6007 7127 (cvs-append-to-ignore): Move here from pcvs.el.
7aa7fff0
XF
7128
7129 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7130
7131 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7132
889acc5c
JB
71332013-07-24 Juanma Barranquero <lekktu@gmail.com>
7134
7135 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7136 (desktop-restore-frames): Warn when deleting an existing frame failed.
7137
86c40970
GM
71382013-07-24 Glenn Morris <rgm@gnu.org>
7139
7140 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7141
d5d3c58a
MA
71422013-07-24 Michael Albinus <michael.albinus@gmx.de>
7143
7144 * filenotify.el (file-notify-supported-p):
7145 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7146 Remove functions.
7147
7148 * autorevert.el (auto-revert-use-notify):
7149 (auto-revert-notify-add-watch):
7150 * net/tramp.el (tramp-file-name-for-operation):
7151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7153 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7154 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7155 Remove `file-notify-supported-p' entry.
7156
d100084b
GM
71572013-07-24 Glenn Morris <rgm@gnu.org>
7158
7159 * printing.el: Replace all uses of deleted ps-windows-system,
ff65ca0d 7160 ps-lp-system, ps-flatten-list with lpr- versions.
d100084b 7161
ac93e56b
SM
71622013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7163
249eea30
SM
7164 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7165 checked with memq (bug#14935).
7166
ac93e56b
SM
7167 * files.el (revert-buffer-function): Use a non-nil default.
7168 (revert-buffer-preserve-modes): Declare var to
7169 provide access to the `preserve-modes' argument.
7170 (revert-buffer): Let-bind it.
7171 (revert-buffer--default): New function, extracted from revert-buffer.
7172
2cdeb903
SM
71732013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * lpr.el: Signal print errors more prominently.
7176 (print-region-function): Don't default to nil.
7177 (lpr-print-region): New function, extracted from print-region-1.
7178 Check lpr's return value and signal an error in case of problem.
7179 (print-region-1): Use it.
7180 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7181 versions instead.
7182 (ps-printer-name): Default to nil.
7183 (ps-printer-name-option): Default to lpr-printer-switch.
7184 (ps-print-region-function): Don't default to nil.
7185 (ps-postscript-code-directory): Simplify default.
7186 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7187 (ps-string-list, ps-eval-switch, ps-flatten-list)
7188 (ps-flatten-list-1): Remove.
7189 (ps-multibyte-buffer): Avoid setq.
7190 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7191 (print-region-function, ps-print-region-function): Don't set them here.
7192
73600831
XF
71932013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7194
0e55c076
XF
7195 * ido.el (ido-fractionp):
7196 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7197 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7198 (ido-max-directory-size, ido-max-dir-file-cache)
7199 (ido-decorations): Doc fix.
7200
73600831
XF
7201 * ansi-color.el: Fix old URL.
7202
3d012865
MM
72032013-07-23 Michael R. Mauger <michael@mauger.com>
7204
e903c210 7205 * progmodes/sql.el: Version 3.3
3d012865
MM
7206 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7207 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7208 (sql-interactive-remove-continuation-prompt): Rewrite, use
7209 functions above. Fix continuation prompt and complete output line
7210 handling.
7211 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7212 redirected output buffer.
7213 (sql-mode): Restore deleted code (Bug#13591).
7214
da77a2e2
JB
72152013-07-23 Juanma Barranquero <lekktu@gmail.com>
7216
7217 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7218
80ff0c71
MA
72192013-07-23 Michael Albinus <michael.albinus@gmx.de>
7220
7221 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7222
7223 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7224 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7225 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7226
b61d71e4
JB
72272013-07-23 Juanma Barranquero <lekktu@gmail.com>
7228
7229 * desktop.el (desktop-clear): Simplify; remove useless checks
7230 against invalid buffer names.
7231 (desktop-list*): Use cl-list*.
7232 (desktop-buffer-info, desktop-create-buffer): Simplify.
7233
c3512092
LL
72342013-07-23 Leo Liu <sdl.web@gmail.com>
7235
7236 * bookmark.el (bookmark-make-record): Restore NAME as a default
7237 value. (Bug#14933)
7238
0ac26976
SM
72392013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7d22ce18
SM
7241 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7242 extracted from autoload--insert-text.
7243 (autoload--insert-text): Remove.
7244 (autoload--print-cookie-text): New function, extracted from
7245 autoload--insert-cookie-text.
7246 (autoload--insert-cookie-text): Remove.
7247 (autoload-generate-file-autoloads): Adjust calls accordingly.
7248
9b2607e8
SM
7249 * winner.el (winner-hook-installed-p): Remove.
7250 (winner-mode): Simplify accordingly.
7251
c43a8618
SM
7252 * subr.el (add-to-list): Fix compiler-macro when `append' is
7253 not constant. Don't use `cl-member' for the base case.
7254
0ac26976
SM
7255 * progmodes/subword.el: Fix boundary case (bug#13758).
7256 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7257 own group.
7258 (subword-backward-regexp): Make it a constant.
7259 (subword-forward-internal): Don't treat a trailing capital as the
7260 beginning of a word.
7261
6874724a
AR
72622013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7263
7264 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7265 global value of tabulated-list-revert-hook (bug#14930).
7266
70f1b5e8
JB
72672013-07-22 Juanma Barranquero <lekktu@gmail.com>
7268
a1c80d9d
JB
7269 * desktop.el: Require 'cl-lib.
7270 (desktop-before-saving-frames-functions): New hook.
7271 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7272 for frames being saved. Rename from desktop--save-minibuffer-frames.
7273 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
0ac26976
SM
7274 Do not save frames with non-nil `desktop-dont-save' parameter.
7275 Filter out deleted frames.
a1c80d9d
JB
7276 (desktop--find-frame): Use cl-find-if.
7277 (desktop--select-frame): Use cl-(first|second|third) to access values
7278 of desktop-mini.
7279 (desktop--make-frame): Use cl-delete-if.
7280 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7281 (desktop-restore-frames): Use cl-(first|second|third) to access values
7282 of desktop-mini. Look for visible frame at the end, not while
7283 restoring frames.
7284
70f1b5e8
JB
7285 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7286 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7287 Use string-match-p, looking-at-p (bug#14927).
7288
728dc3cc
JB
72892013-07-21 Juanma Barranquero <lekktu@gmail.com>
7290
56bc453c
JB
7291 * desktop.el (desktop-saved-frame-states):
7292 Rename from desktop--saved-states; all users changed.
7293 (desktop-save-frames): Rename from desktop--save-frames.
7294 Do not save state to desktop file.
7295 (desktop-save): Save desktop-saved-frame-states to desktop file
7296 and reset to nil.
7297 (desktop-restoring-frames-p): New function.
7298 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7299 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7300 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7301
728dc3cc
JB
7302 * desktop.el: Correctly restore iconified frames.
7303 (desktop--filter-iconified-position): New function.
7304 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7305
862f1c9c
GM
73062013-07-20 Glenn Morris <rgm@gnu.org>
7307
c4074c9f
GM
7308 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7309 Let `message' do the formatting.
7310 (def-gdb-preempt-display-buffer): Add explicit format.
7311
d828e5f9
GM
7312 * image-dired.el (image-dired-track-original-file):
7313 Use with-current-buffer.
7314 (image-dired-track-thumbnail): Use with-current-buffer.
7315 Avoid changing point of wrong window.
7316
862f1c9c
GM
7317 * image-dired.el (image-dired-track-original-file):
7318 Avoid changing point of wrong window. (Bug#14909)
7319
f0398ec1 73202013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
188c1ae6
RC
7321
7322 * progmodes/gdb-mi.el (gdb-done-or-error):
7323 Guard against "%" in gdb output. (Bug#14127)
7324
1451928f
AS
73252013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7326
763a086d
JB
7327 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7328 (Bug#14826)
f7a03897 7329
1451928f
AS
7330 * international/mule.el (coding-system-iso-2022-flags): Fix last
7331 change.
7332
99107004
KH
73332013-07-20 Kenichi Handa <handa@gnu.org>
7334
763a086d
JB
7335 * international/mule.el (coding-system-iso-2022-flags):
7336 Add `8-bit-level-4'. (Bug#8522)
99107004 7337
48494e06
LMI
73382013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7339
8ba8eec5
LMI
7340 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7341 (bug#14815).
7342
dfbc66e3
LMI
7343 * net/eww.el (eww-process-text-input): Allow inputting when the
7344 point is at the start of the line, as the properties aren't
7345 front-sticky.
7346
48494e06
LMI
7347 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7348 degenerate widths.
7349
77c92cb9
RS
73502013-07-19 Richard Stallman <rms@gnu.org>
7351
aec7da77
RS
7352 * epa.el (epa-popup-info-window): Doc fix.
7353
77c92cb9
RS
7354 * subr.el (split-string): New arg TRIM.
7355
945c5bb1
JB
73562013-07-18 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7359 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7360
e06ec67f
MA
73612013-07-18 Michael Albinus <michael.albinus@gmx.de>
7362
c7064f05 7363 * filenotify.el (file-notify--library): Rename from
e06ec67f
MA
7364 `file-notify-support'. Do not autoload. Adapt all uses.
7365 (file-notify-supported-p): New defun.
7366
c7064f05
JB
7367 * autorevert.el (auto-revert-use-notify):
7368 Use `file-notify-supported-p' instead of `file-notify-support'.
7369 Adapt docstring.
e06ec67f
MA
7370 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7371
7372 * net/tramp.el (tramp-file-name-for-operation):
7373 Add `file-notify-supported-p'.
7374
7375 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7376 New defun.
7377 (tramp-sh-file-name-handler-alist): Add it as handler for
7378 `file-notify-supported-p '.
7379
7380 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7382 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7383 Add `ignore' as handler for `file-notify-*' functions.
7384
5dc8a629
EZ
73852013-07-17 Eli Zaretskii <eliz@gnu.org>
7386
7387 * simple.el (line-move-partial, line-move): Don't start vscroll or
7388 scroll-up if the current line is not taller than the window.
7389 (Bug#14881)
7390
77aea2fb
DG
73912013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7392
7393 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7394 highlight question marks in the method names as strings.
ac72c08d
DG
7395 (ruby-block-beg-keywords): Inline.
7396 (ruby-font-lock-keyword-beg-re): Extract from
7397 `ruby-font-lock-keywords'.
77aea2fb 7398
18c26d81
JD
73992013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7400
7401 * frame.el (blink-cursor-blinks): New defcustom.
7402 (blink-cursor-blinks-done): New defvar.
7403 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7404 (blink-cursor-timer-function): Check if number of blinks has been
7405 done on X and NS.
7406 (blink-cursor-suspend, blink-cursor-check): New defuns.
7407
da48522e
GM
74082013-07-15 Glenn Morris <rgm@gnu.org>
7409
7410 * edmacro.el (edmacro-format-keys): Fix previous change.
7411
0463c1ef
PE
74122013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7413
7414 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7415 The hack didn't work outside English locales anyway.
7416
b43f6451
JB
74172013-07-15 Juanma Barranquero <lekktu@gmail.com>
7418
7419 * simple.el (define-alternatives): Rename from alternatives-define,
7420 per RMS' suggestion.
7421
b958c0ad
JB
74222013-07-14 Juanma Barranquero <lekktu@gmail.com>
7423
7424 * desktop.el (desktop-restore-frames): Change default to t.
7425 (desktop-restore-in-current-display): Now offer more options.
7426 (desktop-restoring-reuses-frames): New customization option.
7427 (desktop--saved-states): Doc fix.
7428 (desktop-filter-parameters-alist): New variable, renamed and expanded
7429 from desktop--excluded-frame-parameters.
7430 (desktop--target-display): New variable.
7431 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7432 (desktop--filter-tty*, desktop--filter-*-color)
7433 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7434 (desktop--filter-save-desktop-parm)
7435 (desktop-restore-in-original-display-p): New functions.
7436 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7437 (desktop--save-minibuffer-frames): New function, inspired by a similar
7438 function from Martin Rudalics.
7439 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7440 (desktop--restore-in-this-display-p): Remove.
7441 (desktop--find-frame): Rename from desktop--find-frame-in-display
7442 and add predicate argument.
7443 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7444 (desktop--reuse-list): New variable.
7445 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7446 New functions.
7447 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7448
f6dd8b36
MA
74492013-07-14 Michael Albinus <michael.albinus@gmx.de>
7450
7451 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7452
2ce3c565
DG
74532013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7454
763a086d
JB
7455 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7456 Highlight conversion methods on Kernel.
2ce3c565 7457
2cdb7698
AM
74582013-07-13 Alan Mackenzie <acm@muc.de>
7459
7460 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7461 and comment it out. This out-commenting enables certain C++
7462 declarations to be parsed correctly.
7463
1a67b811
EZ
74642013-07-13 Eli Zaretskii <eliz@gnu.org>
7465
1b796d6b
EZ
7466 * international/mule.el (define-coding-system): Doc fix.
7467
1a67b811
EZ
7468 * simple.el (default-font-height): Don't call font-info if the
7469 frame's default font didn't change since the frame was created.
7470 (Bug#14838)
7471
58fbe886
LL
74722013-07-13 Leo Liu <sdl.web@gmail.com>
7473
7474 * ido.el (ido-read-file-name): Guard against non-symbol value.
7475
1f0480d4
FEG
74762013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7477
7478 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7479 in nested defuns.
7480
97ead0e5
LL
74812013-07-13 Leo Liu <sdl.web@gmail.com>
7482
7483 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7484 ido-set-matches call. (Bug#6852)
7485
0880a952
DG
74862013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7487
7488 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7489 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7490 Ruby 2.0.
7491 (ruby-font-lock-keywords): Distinguish calls to functions with
7492 module-like names from module references. Highlight character
7493 literals.
7494
a7d8babb
SDJ
74952013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7496
7497 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6741ad6c 7498 (gdb-send): Handle continued commands. (Bug#14847)
a7d8babb 7499
acfcc8c5
JB
75002013-07-12 Juanma Barranquero <lekktu@gmail.com>
7501
7502 * desktop.el (desktop--v2s): Remove unused local variable.
7503 (desktop-save-buffer): Make defvar-local; adjust docstring.
7504 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7505 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7506
051f2775
AS
75072013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7508
7509 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7510
f24e7572
GM
75112013-07-12 Eli Zaretskii <eliz@gnu.org>
7512
7513 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7514 (Bug#14842)
7515
539a920c
GM
75162013-07-12 Glenn Morris <rgm@gnu.org>
7517
7518 * doc-view.el: Require cl-lib at runtime too.
7519 (doc-view-remove-if): Remove.
7520 (doc-view-search-next-match, doc-view-search-previous-match):
7521 Use cl-remove-if.
7522
7523 * edmacro.el: Require cl-lib at runtime too.
7524 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7525 (edmacro-mismatch, edmacro-subseq): Remove.
7526
7527 * shadowfile.el: Require cl-lib.
7528 (shadow-remove-if): Remove.
7529 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7530 Use cl-remove-if.
7531
7532 * wid-edit.el: Require cl-lib.
7533 (widget-choose): Use cl-remove-if.
7534 (widget-remove-if): Remove.
7535
7536 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7537 (ebrowse-delete-if-not): Remove.
7538 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7539 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7540 Use cl-delete-if-not.
7541
1048af7c
JB
75422013-07-12 Juanma Barranquero <lekktu@gmail.com>
7543
7544 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7545 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7546
6c0674ee
LL
75472013-07-12 Leo Liu <sdl.web@gmail.com>
7548
7549 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7550
a19b3c2d
GM
75512013-07-11 Glenn Morris <rgm@gnu.org>
7552
4582a01c
GM
7553 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7554 (edebug-gensym-index, edebug-gensym):
7555 Remove reimplementation of cl-gensym.
7556 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7557
7558 * thumbs.el: Require cl-lib at run-time too.
7559 (thumbs-gensym-counter, thumbs-gensym):
7560 Remove reimplementation of cl-gensym.
7561 (thumbs-temp-file): Use cl-gensym.
7562
a19b3c2d
GM
7563 * emacs-lisp/ert.el: Require cl-lib at runtime too.
7564 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7565 (ert--intersection, ert--set-difference, ert--set-difference-eq)
7566 (ert--union, ert--gensym-counter, ert--gensym-counter)
7567 (ert--coerce-to-vector, ert--remove*, ert--string-position)
7568 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7569 (ert-make-test-unbound, ert--expand-should-1)
7570 (ert--expand-should, ert--should-error-handle-error)
7571 (should-error, ert--explain-equal-rec)
7572 (ert--plist-difference-explanation, ert-select-tests)
7573 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7574 Use cl-lib functions rather than reimplementations.
7575
88f6a933
MA
75762013-07-11 Michael Albinus <michael.albinus@gmx.de>
7577
7578 * net/tramp.el (tramp-methods): Extend docstring.
7579 (tramp-connection-timeout): New defcustom.
7580 (tramp-error-with-buffer): Reset timestamp only when appropriate.
7581 (with-tramp-progress-reporter): Simplify.
7582 (tramp-process-actions): Improve messages.
7583
7584 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7585 * net/tramp-sh.el (tramp-maybe-open-connection):
7586 Use `tramp-connection-timeout'.
7587 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7588 (Bug#14808)
7589
a43d577e
LL
75902013-07-11 Leo Liu <sdl.web@gmail.com>
7591
7592 * ido.el (ido-read-file-name): Conform to the requirements of
7593 read-file-name. (Bug#11861)
7594 (ido-read-directory-name): Conform to the requirements of
7595 read-directory-name.
7596
d77974bf
JB
75972013-07-11 Juanma Barranquero <lekktu@gmail.com>
7598
7599 * subr.el (delay-warning): New function.
7600
35cb8a3e
EZ
76012013-07-10 Eli Zaretskii <eliz@gnu.org>
7602
7603 * simple.el (default-line-height): New function.
7604 (line-move-partial, line-move): Use it instead of computing the
7605 line height inline.
7606 (line-move-partial): Always compute ROWH. If the last line is
7607 partially-visible, but its text is completely visible, allow
7608 cursor to enter such a partially-visible line.
7609
525c5c77
MA
76102013-07-10 Michael Albinus <michael.albinus@gmx.de>
7611
7612 Improve error messages. (Bug#14808)
7613
7614 * net/tramp.el (tramp-current-connection): New defvar, moved from
7615 tramp-sh.el.
0ac26976 7616 (tramp-message-show-progress-reporter-message): Remove, not
525c5c77 7617 needed anymore.
0ac26976
SM
7618 (tramp-error-with-buffer): Show message in minibuffer.
7619 Discard input before waiting. Reset connection timestamp.
525c5c77
MA
7620 (with-tramp-progress-reporter): Improve messages.
7621 (tramp-process-actions): Use progress reporter. Delete process in
7622 case of error. Improve messages.
7623
763a086d
JB
7624 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7625 Call `tramp-error-with-buffer' with vector and buffer.
0ac26976 7626 (tramp-current-connection): Remove.
525c5c77
MA
7627 (tramp-maybe-open-connection): The car of
7628 `tramp-current-connection' are the first 3 slots of the vector.
7629
c7a4d368
TZ
76302013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
7631
7632 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7633 inside continued strings.
7634
954b166e
PE
76352013-07-10 Paul Eggert <eggert@cs.ucla.edu>
7636
7637 Timestamp fixes for undo (Bug#14824).
7638 * files.el (clear-visited-file-modtime): Move here from fileio.c.
7639
56973319
LL
76402013-07-10 Leo Liu <sdl.web@gmail.com>
7641
7642 * files.el (require-final-newline): Allow safe local value.
7643 (Bug#14834)
7644
5550a72c
LL
76452013-07-09 Leo Liu <sdl.web@gmail.com>
7646
7647 * ido.el (ido-read-directory-name): Handle fallback.
7648 (ido-read-file-name): Update DIR to ido-current-directory.
7649 (Bug#1516)
c28b9050 7650 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5550a72c 7651
70c46b28
DG
76522013-07-09 Dmitry Gutov <dgutov@yandex.ru>
7653
7654 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7655 "autoload". Remove "warn lower camel case" section, previously
7656 commented out. Highlight negation char. Do not highlight the
7657 target in singleton method definitions.
7658
0b64b838
SM
76592013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
7660
7fd72e2c
SM
7661 * faces.el (tty-setup-hook): Declare the hook.
7662
0b64b838
SM
7663 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7664 and detect when a guard/pred depends on local vars (bug#14773).
7665 (pcase--u1): Adjust caller.
7666
ab49d60b
EZ
76672013-07-08 Eli Zaretskii <eliz@gnu.org>
7668
7669 * simple.el (line-move-partial, line-move): Account for
7670 line-spacing.
701d79aa
EZ
7671 (line-move-partial): Avoid setting vscroll when the last
7672 partially-visible line in window is of default height.
ab49d60b 7673
2d756ae0
LMI
76742013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
7675
7676 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7677 been used a while.
7678
ed095bd7
JB
76792013-07-07 Juanma Barranquero <lekktu@gmail.com>
7680
7681 * subr.el (read-quoted-char): Remove unused local variable `char'.
7682
f1e6674b
MK
76832013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
7684
584ee3fc
GM
7685 * ediff.el (ediff-version): Version update.
7686 (ediff-files-command, ediff3-files-command, ediff-merge-command)
7687 (ediff-merge-with-ancestor-command, ediff-directories-command)
7688 (ediff-directories3-command, ediff-merge-directories-command)
7689 (ediff-merge-directories-with-ancestor-command): New functions.
7690 All are command-line interfaces to ediff: to facilitate calling
7691 Emacs with the appropriate ediff functions invoked.
5165d44a
JB
7692
7693 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7694 (viper-save-kill-buffer): Check if buffer is modified.
5165d44a 7695
584ee3fc
GM
7696 * viper.el (viper-version): Version update.
7697 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5165d44a 7698
584ee3fc
GM
76992013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
7700
7701 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7702 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7703 (viper-intercept-ESC-key): Simplify.
7704 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7705 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7706 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7707 (viper-setup-ESC-to-escape): New functions.
7708 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7709 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
ed095bd7 7710
9aff9b38
EZ
77112013-07-07 Eli Zaretskii <eliz@gnu.org>
7712
5165d44a
JB
7713 * simple.el (default-font-height, window-screen-lines):
7714 New functions.
9aff9b38
EZ
7715 (line-move, line-move-partial): Use them instead of
7716 frame-char-height and window-text-height. This makes scrolling
7717 text smoother when the buffer's default face uses a font that is
7718 different from the frame's default font.
7719
1afb1d07
JD
77202013-07-06 Jan Djärv <jan.h.d@swipnet.se>
7721
7722 * files.el (write-file): Do not display confirm dialog for NS,
d5081c1e 7723 it does its own dialog, which can't be canceled (Bug#14578).
1afb1d07 7724
23de972a
EZ
77252013-07-06 Eli Zaretskii <eliz@gnu.org>
7726
7727 * simple.el (line-move-partial): Adjust the row returned by
7728 posn-at-point for the current window-vscroll. (Bug#14567)
7729
54a42486
MA
77302013-07-06 Michael Albinus <michael.albinus@gmx.de>
7731
7732 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7733 (tramp-sh-file-inotifywait-process-filter): Handle file names with
7734 spaces.
7735
34ada5f4
MR
77362013-07-06 Martin Rudalics <rudalics@gmx.at>
7737
7738 * window.el (window-state-put-stale-windows): New variable.
7739 (window--state-put-2): Save list of windows without matching buffer.
7740 (window-state-put): Remove "bufferless" windows if possible.
7741
11e03d89
JB
77422013-07-06 Juanma Barranquero <lekktu@gmail.com>
7743
7744 * simple.el (alternatives-define): Remove leftover :group keyword.
7745 Tweak docstring.
7746
3504a4be
LL
77472013-07-06 Leo Liu <sdl.web@gmail.com>
7748
7749 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7750 (ido-enable-virtual-buffers): New variable.
7751 (ido-buffer-internal, ido-toggle-virtual-buffers)
7752 (ido-make-buffer-list): Use it.
7753 (ido-exhibit): Support turning on and off virtual buffers
7754 automatically.
7755
61e56e2c
JB
77562013-07-06 Juanma Barranquero <lekktu@gmail.com>
7757
7758 * simple.el (alternatives-define): New macro.
7759
321e1a9c
SM
77602013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * subr.el (read-quoted-char): Use read-key.
7763 (sit-for): Let read-event decode tty input (bug#14782).
7764
d610f6dd
SB
77652013-07-05 Stephen Berman <stephen.berman@gmx.net>
7766
7767 * calendar/todo-mode.el: Add handling of file deletion, both by
321e1a9c
SM
7768 mode command and externally. Fix various related bugs.
7769 Clarify Commentary and improve some documentation strings and code.
d610f6dd
SB
7770 (todo-delete-file): New command.
7771 (todo-check-file): New function.
7772 (todo-show): Handle external deletion of the file we're trying to
7773 show (bug#14688). Replace called-interactively-p by an optional
7774 prefix argument to avoid problematic interaction with catch form
7775 when byte compiled (bug#14702).
7776 (todo-quit): Handle external deletion of the archive's todo file.
7777 Make sure the buffer that was visiting the archive file is still
7778 live before trying to bury it.
7779 (todo-category-completions): Handle external deletion of any
7780 category completion files.
7781 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7782 of todo files, in case of external deletion.
7783 (todo-add-file): Replace unnecessary setq by let-binding.
7784 (todo-find-archive): Check whether there are any archives.
7785 Replace unnecessary setq by let-binding.
7786 (todo-archive-done-item): Use find-file-noselect to get the
321e1a9c
SM
7787 archive buffer whether or not the archive already exists.
7788 Remove superfluous code. Use file size instead of buffer-file-name to
d610f6dd
SB
7789 check if the archive is new; if it is, update list of archives.
7790 (todo-default-todo-file): Allow nil to be a valid value for when
7791 there are no todo files.
7792 (todo-reevaluate-default-file-defcustom): Use corrected definition
7793 of todo-default-todo-file.
7794 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7795 (todo-delete-category, todo-show-categories-table)
7796 (todo-category-number): Clarify comment.
7797 (todo-filter-items): Clarify documentation string.
7798 (todo-show-current-file, todo-display-as-todo-file)
7799 (todo-reset-and-enable-done-separator): Tweak documentation string.
7800 (todo-done-separator): Make separator length window-width, since
7801 bug#2749 is now fixed.
7802
ddbdfd6f
MA
78032013-07-05 Michael Albinus <michael.albinus@gmx.de>
7804
321e1a9c
SM
7805 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7806 Support both "gvfs-monitor-dir" and "inotifywait".
7807 (tramp-sh-file-inotifywait-process-filter): Rename from
ddbdfd6f
MA
7808 `tramp-sh-file-notify-process-filter'.
7809 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7810 (tramp-get-remote-gvfs-monitor-dir): New defuns.
7811
96eb829a
LL
78122013-07-05 Leo Liu <sdl.web@gmail.com>
7813
7814 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7815
cf13177e
YM
78162013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7817
7818 * frame.el (display-pixel-height, display-pixel-width)
7819 (display-mm-height, display-mm-width): Mention behavior on
7820 multi-monitor setups in docstrings.
7821 (w32-display-monitor-attributes-list): Declare function.
7822 (display-monitor-attributes-list): Use it.
7823
864c58ca
MA
78242013-07-04 Michael Albinus <michael.albinus@gmx.de>
7825
7826 * filenotify.el: New package.
7827
7828 * autorevert.el (top): Require filenotify.el.
7829 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
7830 instead.
7831 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7832 (auto-revert-notify-handler): Use `file-notify-*' functions.
7833
7834 * subr.el (file-notify-handle-event): Move function to filenotify.el.
7835
321e1a9c
SM
7836 * net/tramp.el (tramp-file-name-for-operation):
7837 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
864c58ca
MA
7838
7839 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7840 for `file-notify-add-watch' and `file-notify-rm-watch'.
7841 (tramp-process-sentinel): Improve trace.
7842 (tramp-sh-handle-file-notify-add-watch)
7843 (tramp-sh-file-notify-process-filter)
7844 (tramp-sh-handle-file-notify-rm-watch)
7845 (tramp-get-remote-inotifywait): New defuns.
7846
96673afe
JL
78472013-07-03 Juri Linkov <juri@jurta.org>
7848
7849 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7850 call of `occur-read-primary-args' to interactive spec.
7851
7852 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7853 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
7854
924494f4
MM
78552013-07-03 Matthias Meulien <orontee@gmail.com>
7856
7857 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7858 `Buffer-menu-multi-occur'. Add it to the menu.
7859 (Buffer-menu-mode): Document it in docstring.
7860 (Buffer-menu-multi-occur): New command. (Bug#14673)
7861
56f75efc
DG
78622013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7863
7864 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7865 keywords and built-ins.
7866
9b057d61
GM
78672013-07-03 Glenn Morris <rgm@gnu.org>
7868
208dee4d
GM
7869 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
7870
9b057d61
GM
7871 Make info-xref checks case-sensitive by default
7872 * info.el (Info-find-node, Info-find-in-tag-table)
7873 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7874 Add option for exact case matching of nodes.
7875 * info-xref.el (info-xref): New custom group.
7876 (info-xref-case-fold): New option.
7877 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7878
e01aa29c
LL
78792013-07-03 Leo Liu <sdl.web@gmail.com>
7880
7881 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7882
3086ca2e
DG
78832013-07-03 Dmitry Gutov <dgutov@yandex.ru>
7884
7885 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7886 middle of block statement initially, lower the depth. Remove
7887 FIXME comment, not longer valid. Remove middle of block statement
7888 detection, no need to do that anymore since we've been using
7889 `ruby-parse-region' here.
7890
a3b49114
JD
78912013-07-02 Jan Djärv <jan.h.d@swipnet.se>
7892
7893 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7894
08e5c823 78952013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
c737dcb1
KY
7896
7897 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7898
2addf922
JB
78992013-07-01 Juanma Barranquero <lekktu@gmail.com>
7900
7901 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7902 (desktop-restore-in-current-display): New customization option.
7903 (desktop--excluded-frame-parameters): Add `font'.
7904 (desktop--save-frames): Rename from desktop--save-windows.
7905 (desktop--restore-in-this-display-p): New function.
7906 (desktop--make-full-frame): Remove unwanted width/height from
7907 full(width|height) frames.
7908 (desktop--restore-frames): Rename from desktop--restore-windows.
7909 Obey desktop-restore-current-display. Do not delete old frames or
7910 select a new frame unless we were able to restore at least one frame.
7911
ef099a94
MN
79122013-06-30 Michal Nazarewicz <mina86@mina86.com>
7913
7914 * files.el (find-file-noselect): Simplify conditional expression.
7915
a12bf61e 7916 * textmodes/remember.el (remember-append-to-file):
ef099a94
MN
7917 Don't mix `find-buffer-visiting' and `get-file-buffer'.
7918
7919 Add `remember-notes' function to store random notes across Emacs
7920 restarts.
a12bf61e 7921 * textmodes/remember.el (remember-data-file): Add :set callback to affect
ef099a94
MN
7922 notes buffer (if any).
7923 (remember-notes): New command.
7924 (remember-notes-buffer-name, bury-remember-notes-on-kill):
7925 New defcustoms for the `remember-notes' function.
7926 (remember-notes-save-and-bury-buffer): New command.
7927 (remember-notes-mode-map): New variable.
7928 (remember-mode): New minor mode.
7929 (remember-notes--kill-buffer-query): New function.
7930 * startup.el (initial-buffer-choice): Add notes to custom type.
7931
0865d506
EZ
79322013-06-30 Eli Zaretskii <eliz@gnu.org>
7933
0ba54312
EZ
7934 * bindings.el (right-char, left-char): Don't call sit-for, this is
7935 no longer needed. Use arithmetic comparison only for numerical
7936 arguments.
7937
ef099a94
MN
7938 * international/mule-cmds.el (select-safe-coding-system):
7939 Handle the case of FROM being a string correctly. (Bug#14755)
0865d506 7940
2fae38e5
LMI
79412013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7942
7943 * net/shr.el (shr-make-table-1): Add a sanity check that allows
7944 progression on degenerate tables.
ef099a94 7945 (shr-rescale-image): ImageMagick animated images currently don't work.
2fae38e5 7946
a47cbd64
JB
79472013-06-30 Juanma Barranquero <lekktu@gmail.com>
7948
7949 Some fixes and improvements for desktop frame restoration.
7950 It is still experimental and disabled by default.
7951 * desktop.el (desktop--save-windows): Put the selected frame at
7952 the head of the list.
7953 (desktop--make-full-frame): New function.
7954 (desktop--restore-windows): Try to re-select the frame that was
7955 selected upon saving. Do not abort if some frames fail to restore,
7a3518fa
JB
7956 just show an error message and continue. Set up maximized frames
7957 so they have default non-maximized dimensions.
a47cbd64 7958
6dbafa30
DG
79592013-06-30 Dmitry Gutov <dgutov@yandex.ru>
7960
ef099a94
MN
7961 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7962 Don't start heredoc inside a string or comment.
6dbafa30 7963
4c672a0f
EZ
79642013-06-29 Eli Zaretskii <eliz@gnu.org>
7965
7966 * bindings.el (visual-order-cursor-movement): New defcustom.
7967 (right-char, left-char): Provide visual-order cursor motion by
7968 calling move-point-visually. Update the doc strings.
7969
50960f36
KH
79702013-06-28 Kenichi Handa <handa@gnu.org>
7971
7972 * international/mule.el (define-coding-system): New coding system
7973 properties :inhibit-null-byte-detection,
7974 :inhibit-iso-escape-detection, and :prefer-utf-8.
7975 (set-buffer-file-coding-system): If :charset-list property of
7976 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7977 appropriate for setting.
7978
c1ea3abf
JB
7979 * international/mule-cmds.el (select-safe-coding-system):
7980 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7981 multibyte characters, return utf-8 (or one of its siblings).
50960f36
KH
7982
7983 * international/mule-conf.el (prefer-utf-8): New coding system.
7984 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7985 files.
7986
75dbaf9d
IK
79872013-06-28 Ivan Kanis <ivan@kanis.fr>
7988
eadb6068
IK
7989 * net/shr.el (shr-render-region): New function.
7990
75dbaf9d
IK
7991 * net/eww.el: Autoload `eww-browse-url'.
7992
9ea5cf9f
DG
79932013-06-27 Dmitry Gutov <dgutov@yandex.ru>
7994
c1ea3abf
JB
7995 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7996 Adapt to `package-desc-version' being a list.
7997 Use `package--ac-desc-version' to retrieve version from a package
9ea5cf9f
DG
7998 archive element.
7999
39c0e36f
JB
80002013-06-27 Juanma Barranquero <lekktu@gmail.com>
8001
8002 New experimental feature to save&restore window and frame setup.
8003 * desktop.el (desktop-save-windows): New defcustom.
8004 (desktop--saved-states): New var.
8005 (desktop--excluded-frame-parameters): New defconst.
8006 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8007 (desktop--restore-windows, desktop--save-windows): New functions.
8008 (desktop-save): Call `desktop--save-windows'.
8009 (desktop-read): Call `desktop--restore-windows'.
8010
7f13406b
LMI
80112013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8012
ef099a94 8013 * net/shr.el (add-face-text-property): Remove compat definition.
7f13406b 8014
1e072639
SB
80152013-06-27 Stephen Berman <stephen.berman@gmx.net>
8016
8017 * info.el (Info-try-follow-nearest-node): Move search for footnote
8018 above search for node name to prevent missing a footnote (bug#14717).
8019
f3e2cbde
SB
80202013-06-27 Stephen Berman <stephen.berman@gmx.net>
8021
8022 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8023
99906aa0
LL
80242013-06-27 Leo Liu <sdl.web@gmail.com>
8025
8026 * net/eww.el (eww-read-bookmarks): Check file size.
8027
539f75f4
SM
80282013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8029
8030 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8031 advice--pending if newdef is nil or an autoload (bug#13820).
8032 (advice-mapc): New function.
8033
843571cb
LMI
80342013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8035
8036 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8037 probably.
23a75d7f 8038 (eww-mode-map): Add a menu bar.
2b4f0506
LMI
8039 (eww-add-bookmark): New command.
8040 (eww-bookmark-mode): New mode and commands.
a285ce99 8041 (eww-add-bookmark): Remove newlines from the title.
47fd571b 8042 (eww-bookmark-browse): Don't bug out if it's the only window.
843571cb 8043
f2136e1e
GM
80442013-06-26 Glenn Morris <rgm@gnu.org>
8045
eab35f39
GM
8046 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8047 (hfy-size): Handle ttys. (Bug#14668)
8048
f2136e1e
GM
8049 * info-xref.el: Update for Texinfo 5 change in *note format.
8050 (info-xref-node-re, info-xref-note-re): New constants.
8051 (info-xref-check-buffer): Use info-xref-note-re.
8052
a49ff80c
SM
80532013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8054
a343d218
SM
8055 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8056
a49ff80c
SM
8057 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8058 nil terminate the loop (bug#14718).
8059
8308f184
LMI
80602013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8061
8062 * net/eww.el: Rework history traversal. When going forward/back,
8063 put these actions into the history, too, so that they can be
8064 replayed.
26bf2b82 8065 (eww-render): Move the history reset to the correct buffer.
8308f184 8066
ec64c273
JL
80672013-06-25 Juri Linkov <juri@jurta.org>
8068
8069 * files-x.el (modify-dir-local-variable): Change the header comment
8070 in the file with directory local variables. (Bug#14692)
8071
e080a9d7
JL
8072 * files-x.el (read-file-local-variable-value): Add `default'.
8073 (Bug#14710)
8074
bfbc93a1
IK
80752013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8076
8077 * net/eww.el (eww-make-unique-file-name): Create a unique file
8078 name before saving to entering `y' accidentally asynchronously.
8079
80802013-06-25 Ivan Kanis <ivan@kanis.fr>
8081
8082 * net/eww.el (eww-download): New command and keystroke.
8083
16f74f10
LMI
80842013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8085
a49ff80c 8086 * net/eww.el (eww-copy-page-url): Change name of command.
16f74f10
LMI
8087
8088 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8089 be more consistent with Info and dired.
8090
8091 * net/eww.el (eww-mode-map): Ditto.
8092
12059709
SM
80932013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8096 packages from archives.
8097 (package-archive-contents): Change format; include obsolete packages.
8098 (package-desc): Use `dir' to mark builtin packages.
8099 (package--from-builtin): Set the `dir' field to `builtin'.
8100 (generated-autoload-file, version-control): Declare.
8101 (package-compute-transaction): Change first arg and return value to be
8102 lists of package-descs. Adjust to new package-archive-contents format.
8103 (package--add-to-archive-contents): Adjust to new
8104 package-archive-contents format.
8105 (package-download-transaction): Arg is now a list of package-descs.
8106 (package-install): If `pkg' is a package name, pass it as
8107 a requirement, so it is subject to the usual (e.g. disabled) checks.
8108 (describe-package): Accept package-desc as well.
8109 (describe-package-1): Describe a specific package-desc. Add links to
8110 other package-descs for the same package name.
8111 (package-menu-describe-package): Pass the actual package-desc.
8112 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8113 works correctly.
8114 (package-desc-status): New function.
8115 (package-menu--refresh): New function, extracted
8116 from package-menu--generate.
8117 (package-menu--generate): Use it.
8118 (package-delete): Update package-alist.
8119 (package-menu-execute): Don't call package-initialize.
8120
8121 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8122 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8123 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8124 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8125 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8126 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8127
8bbdea0f
MR
81282013-06-25 Martin Rudalics <rudalics@gmx.at>
8129
8130 * window.el (window--state-get-1): Workaround for bug#14527.
8131 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8132
e82b0991
LMI
81332013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8134
8135 * net/eww.el (eww-back-url): Implement the history by stashing all
8136 the data into a list.
d3f0f918 8137 (eww-forward-url): Allow going forward in the history, too.
e82b0991 8138
c763842b
SM
81392013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8142 for values and use read--expression for expressions (bug#14710).
8143 (read-file-local-variable): Avoid setq.
8144 (read-file-local-variable-mode): Use minor-mode-list.
8145
bceff189
RW
81462013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8147
864c58ca 8148 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
bceff189
RW
8149 for DOI URLs.
8150
45f431c6
RW
81512013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8152
864c58ca 8153 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
45f431c6
RW
8154 Update imenu-support when dialect changes.
8155
f42d8237
LL
81562013-06-25 Leo Liu <sdl.web@gmail.com>
8157
8158 * ido.el (ido-read-internal): Allow forward slash on windows.
8159
be549ce6
LMI
81602013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8161
8162 * net/eww.el (eww): Start of strings is \\`, not ^.
8163
71d4c19d
IK
81642013-06-24 Ivan Kanis <ivan@kanis.fr>
8165
5196f88a
IK
8166 * net/shr.el (shr-browse-url): Fix interactive spec.
8167
71d4c19d
IK
8168 * net/eww.el (eww): Add a trailing slash to domain names.
8169
ae36ca55
JB
81702013-06-24 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8173
0ebd92a3
LMI
81742013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8175
bdaa086b
LMI
8176 * net/shr.el (shr-browse-url): Use an external browser if given a
8177 prefix.
8178
c763842b 8179 * net/eww.el (eww-external-browser): Move to shr.
0ebd92a3 8180
b89fc156
IK
81812013-06-24 Ivan Kanis <ivan@kanis.fr>
8182
8183 * net/eww.el (eww): Work more correctly for file: URLs.
8184 (eww-detect-charset): Allow quoted charsets.
8185 (eww-yank-page-url): New command and keystroke.
8186
18eb4bca
DU
81872013-06-24 Daiki Ueno <ueno@gnu.org>
8188
8189 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8190 file name of gpg executable.
8191 (epg-context-program): New function.
8192 (epg-context-home-directory): New function.
8193 (epg-context-set-program): New function.
8194 (epg-context-set-home-directory): New function.
8195 (epg--start): Use `epg-context-program' instead of
8196 'epg-gpg-program'.
8197 (epg--list-keys-1): Likewise.
8198
6c6268c8
LL
81992013-06-24 Leo Liu <sdl.web@gmail.com>
8200
8201 * ido.el (ido-read-internal): Fix bug#14620.
8202
5e400cb3
JB
82032013-06-23 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * faces.el (face-documentation): Simplify.
8206 (read-face-attribute, tty-find-type, x-resolve-font-name):
8207 Use `string-match-p'.
8208 (list-faces-display): Use `string-match-p'. Simplify.
8209 (face-spec-recalc): Check face to avoid face alias loops.
8210 (read-color): Use `string-match-p' and non-capturing parenthesis.
8211
f3f9606c
LMI
82122013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8213
8214 * net/shr.el (shr-rescale-image): Use the new
8215 :max-width/:max-height functionality.
8216
a3ca09b9
IK
82172013-06-23 Ivan Kanis <ivan@kanis.fr>
8218
8219 * net/eww.el (eww-search-prefix): New variable.
8220 (eww): Use it.
f865b474
IK
8221 (eww-external-browser): New variable.
8222 (eww-mode-map): New keystroke.
8223 (eww-browse-with-external-browser): New command.
a3ca09b9 8224
e854cfc7
IK
8225 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8226
18bb9e21
JB
82272013-06-23 Juanma Barranquero <lekktu@gmail.com>
8228
8229 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8230 Don't skip aligning the next header field when padding is 0;
8231 otherwise, field width is not respected unless the title is as
8232 wide as the field.
8233
5b165ade
SM
82342013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8235
8236 * emacs-lisp/package.el (package-el-version): Remove.
8237 (package-process-define-package): Fix inf-loop.
8238 (package-install): Allow symbols as arguments again.
8239
12adebe9
DG
82402013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8241
8242 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8243 add some more keyword-like methods.
8244 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8245
388573ee
JB
82462013-06-22 Juanma Barranquero <lekktu@gmail.com>
8247
8248 * bs.el (bs-buffer-show-mark): Make defvar-local.
8249 (bs-mode): Use setq-local.
8250
8251 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8252 (emacs-lock--try-unlocking): Make defvar-local.
8253
4582a01c 82542013-06-22 Glenn Morris <rgm@gnu.org>
3d94f3ad 8255
2663dd23
GM
8256 * play/cookie1.el (cookie-apropos): Minor simplification.
8257
3d94f3ad
GM
8258 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8259
f72e2fdb
DG
82602013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8261
8262 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8263 `regexp-opt', it breaks the build during dumping.
8264
73eab938
DG
82652013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8266
c763842b
SM
8267 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8268 Highlight keyword-like methods on Kernel and Module with
73eab938 8269 font-lock-builtin-face.
5cf8176d
DG
8270 (auto-mode-alist): Consolidate different entries into one regexp
8271 and add more *file-s.
73eab938 8272
d26255f6
SB
82732013-06-21 Stephen Berman <stephen.berman@gmx.net>
8274
8275 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8276
8277 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8278 (diary-entry): Use it in the action of this button type instead of
8279 diary-goto-entry.
8280
8281 * calendar/todo-mode.el: New version.
8282 (todo-add-category): Append new category to end of file and give
8283 it the highest number, instead of putting it at the beginning and
8284 giving it 0. Incorporate noninteractive functionality.
8285 (todo-forward-category): Adapt to 1-based category numbering.
8286 Allow skipping over archived categories.
8287 (todo-backward-category): Derive from todo-forward-category.
8288 (todo-backward-item, todo-forward-item): Make noninteractive and
8289 delegate interactive part to new commands. Make sensitive to done items.
8290 (todo-categories): Make value an alist of category names and
8291 vectors of item counts.
8292 (todo-category-beg): Make a defconst.
8293 (todo-category-number): Use 1 instead of 0 as initial value.
8294 (todo-category-select): Make sensitive to overlays, optional item
8295 highlighting and done items.
8296 (todo-delete-item): Make sensitive to overlays and marked and done items.
8297 (todo-edit-item): Make sensitive to overlays and editing of
8298 date/time header optional. Add format checks.
8299 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8300 no-op if point is not on an item. Advertise using todo-edit-quit.
8301 (todo-edit-mode): Make sensitive to new format, font-locking, and
8302 multiple todo files.
8303 (todo-insert-item, todo-insert-item-here): Derive from
8304 todo-basic-insert-item and extend functionality.
8305 (todo-item-end, todo-item-start): Make sensitive to done items.
8306 (todo-item-string): Don't return text properties. Restore point.
8307 (todo-jump-to-category): Make sensitive to multiple todo files and
8308 todo archives. Use extended category completion.
8309 (todo-lower-item, todo-raise-item): Rename to *-priority and
8310 derive from todo-set-item-priority.
8311 (todo-mode): Derive from special-mode. Make sensitive to new
8312 format, font-locking and multiple todo files. Make read-only.
8313 (todo-mode-map): Don't suppress digit keys, so they can supply
8314 prefix arguments. Add many new key bindings.
8315 (todo-prefix): Insert as an overlay instead of file text.
8316 Change semantics from diary date expression to purely visual mark.
8317 (todo-print): Rename to todo-print-buffer. Make buffer display
8318 features printable. Remove option to restrict number of items
8319 printed. Add option to print to file.
8320 (todo-print-function): Rename to todo-print-buffer-function.
8321 (todo-quit): Extend to handle exiting new todo modes.
8322 (todo-remove-item): Make sensitive to overlays.
8323 (todo-save): Extend to buffers of filtered items.
8324 (todo-show): Make sensitive to done items, multiple todo files and
8325 new todo modes. Offer to convert legacy todo file before creating
8326 first new todo file.
8327 (todo-show-priorities): Rename to todo-top-priorities.
8328 Change semantics of value 0.
8329 (todo-top-priorities): Rename to todo-filter-top-priorities,
8330 derive from todo-filter-items and extend functionality.
8331 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8332 and extend functionality to other types of filtered items.
8333 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8334 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8335 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8336 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8337 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8338 (todo-edit-mode-hook, todo-entry-prefix-function)
8339 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8340 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8341 (todo-initials, todo-insert-threshold, todo-item-string-start)
8342 (todo-line-string, todo-menu, todo-mode-hook)
8343 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8344 (todo-print-priorities, todo-remove-separator)
8345 (todo-save-top-priorities-too, todo-string-count-lines)
8346 (todo-string-multiline-p, todo-time-string-format)
8347 (todo-tmp-buffer-name): Remove.
8348 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8349 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8350 (todo-edit-category-diary-inclusion)
8351 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8352 (todo-edit-file, todo-edit-item-date-day)
8353 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8354 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8355 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8356 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8357 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8358 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8359 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8360 (todo-filter-top-priorities-multifile, todo-find-archive)
8361 (todo-find-filtered-items-file, todo-go-to-source-item)
8362 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8363 (todo-jump-to-archive-category, todo-lower-category)
8364 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8365 (todo-move-category, todo-move-item, todo-next-button)
8366 (todo-next-item, todo-padded-string, todo-powerset)
8367 (todo-previous-button, todo-previous-item)
8368 (todo-print-buffer-to-file, todo-raise-category)
8369 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8370 (todo-set-category-number, todo-set-item-priority)
8371 (todo-set-top-priorities-in-category)
8372 (todo-set-top-priorities-in-file, todo-show-categories-table)
8373 (todo-sort-categories-alphabetically-or-numerically)
8374 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8375 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8376 (todo-toggle-item-header, todo-toggle-item-highlighting)
8377 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8378 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8379 (todo-unarchive-items, todo-unmark-category): New commands.
8380 (todo-absolute-file-name, todo-add-to-buffer-list)
8381 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8382 (todo-basic-insert-item, todo-category-completions)
8383 (todo-category-number, todo-category-string-matcher-1)
8384 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8385 (todo-check-format, todo-clear-matches)
8386 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8387 (todo-current-category, todo-date-string-matcher)
8388 (todo-define-insertion-command, todo-diary-expired-matcher)
8389 (todo-diary-goto-entry, todo-diary-item-p)
8390 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8391 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8392 (todo-done-item-section-p, todo-done-separator)
8393 (todo-done-string-matcher, todo-files, todo-filter-items)
8394 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8395 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8396 (todo-insert-category-line, todo-insert-item-from-calendar)
8397 (todo-insert-sort-button, todo-insert-with-overlays)
8398 (todo-insertion-command-name, todo-insertion-key-bindings)
8399 (todo-label-to-key, todo-longest-category-name-length)
8400 (todo-make-categories-list, todo-mode-external-set)
8401 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8402 (todo-modes-set-3, todo-multiple-filter-files)
8403 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8404 (todo-read-category, todo-read-date, todo-read-dayname)
8405 (todo-read-file-name, todo-read-time)
8406 (todo-reevaluate-category-completions-files-defcustom)
8407 (todo-reevaluate-default-file-defcustom)
8408 (todo-reevaluate-filelist-defcustoms)
8409 (todo-reevaluate-filter-files-defcustom)
8410 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8411 (todo-reset-done-separator, todo-reset-done-separator-string)
8412 (todo-reset-done-string, todo-reset-global-current-todo-file)
8413 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8414 (todo-reset-prefix, todo-set-categories)
8415 (todo-set-date-from-calendar, todo-set-show-current-file)
8416 (todo-set-top-priorities, todo-short-file-name)
8417 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8418 (todo-total-item-counts, todo-update-buffer-list)
8419 (todo-update-categories-display, todo-update-categories-sexp)
8420 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8421 New functions.
8422 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8423 New major modes.
8424 (todo-categories, todo-display, todo-edit, todo-faces)
8425 (todo-filtered): New defgroups.
8426 (todo-archived-only, todo-button, todo-category-string, todo-date)
8427 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8428 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8429 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8430 (todo-add-item-if-new-category, todo-always-add-time-string)
8431 (todo-categories-align, todo-categories-archived-label)
8432 (todo-categories-category-label, todo-categories-diary-label)
8433 (todo-categories-done-label, todo-categories-number-separator)
8434 (todo-categories-todo-label, todo-categories-totals-label)
8435 (todo-category-completions-files, todo-completion-ignore-case)
8436 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8437 (todo-done-separator-string, todo-done-string)
8438 (todo-files-function, todo-filter-done-items, todo-filter-files)
8439 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8440 (todo-initial-category, todo-initial-file, todo-item-mark)
8441 (todo-legacy-date-time-regexp, todo-mode-line-function)
8442 (todo-nondiary-marker, todo-number-prefix)
8443 (todo-print-buffer-function, todo-show-current-file)
8444 (todo-show-done-only, todo-show-first, todo-show-with-done)
8445 (todo-skip-archived-categories, todo-top-priorities-overrides)
8446 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8447 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8448 New defcustoms.
8449 (todo-category-done, todo-date-pattern, todo-date-string-start)
8450 (todo-diary-items-buffer, todo-done-string-start)
8451 (todo-filtered-items-buffer, todo-item-start)
8452 (todo-month-abbrev-array, todo-month-name-array)
8453 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8454 (todo-top-priorities-buffer): New defconsts.
8455 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8456 (todo-categories-with-marks, todo-category-string-face)
8457 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8458 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8459 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8460 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8461 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8462 (todo-font-lock-keywords, todo-global-current-todo-file)
8463 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8464 (todo-insertion-commands-args)
8465 (todo-insertion-commands-args-genlist)
8466 (todo-insertion-commands-names, todo-insertion-map)
8467 (todo-key-bindings-t, todo-key-bindings-t+a)
8468 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8469 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8470 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8471 (todo-visited): New variables.
8472
cad5d1cb
GM
84732013-06-21 Glenn Morris <rgm@gnu.org>
8474
8475 * play/cookie1.el (cookie-apropos): Add optional display argument.
8476 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8477 (psychoanalyze-pinhead): Use cookie-doctor.
8478
9e277302
JB
84792013-06-21 Juanma Barranquero <lekktu@gmail.com>
8480
8481 * emacs-lisp/package.el (tar-get-file-descriptor)
8482 (tar--extract): Declare.
8483
c5b0993e
EW
84842013-06-21 Eduard Wiebe <usenet@pusto.de>
8485
8486 Extend flymake's warning predicate to be a function (bug#14217).
8487 * progmodes/flymake.el (flymake-warning-predicate): New.
8488 (flymake-parse-line): Use it.
8489 (flymake-warning-re): Make obsolete alias to
8490 `flymake-warning-predicate'.
8491
a7d2d465
SM
84922013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8495 (package-obsolete-list): Remove.
8496 (package-activate): Remove min-version argument. Add `force' argument.
8497 Adjust to new package-alist format.
8498 (package-mark-obsolete): Remove.
8499 (package-unpack): Force reload of the package's autoloads.
8500 (package-installed-p): Check builtins if the installed package is not
8501 recent enough.
8502 (package-initialize): Don't reset package-obsolete-list.
8503 Don't specify which package version to activate.
8504 (package-process-define-package, describe-package-1)
8505 (package-menu--generate): Adjust to new package-alist format.
8506
cedf5c9d
JB
85072013-06-21 Juanma Barranquero <lekktu@gmail.com>
8508
8509 * allout-widgets.el (allout-widgets-mode-off)
8510 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8511 (allout-widgets-post-command-business)
8512 (allout-widgets-after-copy-or-kill-function)
8513 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8514 (allout-decorate-item-and-context)
8515 (allout-graphics-modification-handler): Fix typos in docstrings.
8516 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8517
8518 * cmuscheme.el (scheme-start-file): Doc fix.
8519 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8520 (scheme-input-filter): Use `string-match-p'.
8521
8522 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8523
8524 * dired-x.el: Use Dired consistently in docstrings.
8525
8526 * dired.el: Use Dired consistently in docstrings.
8527 (dired-readin, dired-mode): Use `setq-local'.
8528 (dired-switches-alist): Make defvar-local.
8529 (dired-buffers-for-dir): Use `zerop'.
8530 (dired-safe-switches-p, dired-switches-escape-p)
8531 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8532 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8533 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8534 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8535 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8536 (dired-toggle-marks, dired-mark-files-containing-regexp)
8537 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8538 (dired-flag-auto-save-files, dired-flag-backup-files):
8539 Use `looking-at-p'.
8540 (dired-mark-files-regexp, dired-build-subdir-alist):
8541 Use `string-match-p', `looking-at-p'.
8542
8543 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8544 (direct-print-region-helper): Use `string-match-p'.
8545
aed838b5
LL
85462013-06-21 Leo Liu <sdl.web@gmail.com>
8547
cedf5c9d
JB
8548 * comint.el (comint-redirect-results-list-from-process):
8549 Fix infinite loop.
aed838b5 8550
d80a808f
LMI
85512013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8552
8553 * net/eww.el (eww-update-header-line-format): Quote % characters.
8554
e7a526e3
GM
85552013-06-21 Glenn Morris <rgm@gnu.org>
8556
8557 * play/cookie1.el (cookie): New custom group.
8558 (cookie-file): New option.
8559 (cookie-check-file): New function.
8560 (cookie): Make it interactive. Make start and end messages optional.
8561 Interactively, display the result. Default to cookie-file.
8562 (cookie-insert): Default to cookie-file.
8563 (cookie-snarf): Make start and end messages optional.
8564 Default to cookie-file. Use with-temp-buffer.
8565 (cookie-read): Rename from read-cookie.
8566 Make start and end messages optional. Default to cookie-file.
8567 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7f8e3b22 8568 Do not autoload it.
e7a526e3
GM
8569 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8570 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8571
62efb35e
LL
85722013-06-21 Leo Liu <sdl.web@gmail.com>
8573
8574 * progmodes/octave.el (octave-mode): Backward compatibility fix.
8575
21e3f963
GM
85762013-06-21 Glenn Morris <rgm@gnu.org>
8577
8578 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8579
fd846ab4
SM
85802013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8581 Daniel Hackney <dan@haxney.org>
8582
8583 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8584 Consolidate the single-file vs tarball code.
8585 (package-desc-suffix): New function.
8586 (package-desc-full-name): Don't bother inlining it.
8587 (package-load-descriptor): Return the new package-desc.
8588 (package-mark-obsolete): Remove unused arg `package'.
8589 (package-unpack): Make it work for single files as well.
8590 Make it update package-alist.
8591 (package--make-autoloads-and-stuff): Rename from
8592 package--make-autoloads-and-compile. Don't compile any more.
8593 (package--compile): New function.
8594 (package-generate-description-file): New function, extracted from
8595 package-unpack-single.
8596 (package-unpack-single): Remove.
8597 (package--with-work-buffer): Add indentation and debugging info.
8598 (package-download-single): Remove.
8599 (package-install-from-archive): Rename from package-download-tar, make
8600 it take a pkg-desc, and make it work for single files as well.
8601 (package-download-transaction): Simplify.
8602 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
8603 external tar program.
8604 (package-install-from-buffer): Remove `pkg-desc' argument.
8605 Use package-tar-file-info for tar-mode buffers.
8606 (package-install-file): Simplify accordingly.
8607 (package-archive-base): Change to take a pkg-desc.
8608 * tar-mode.el (tar--check-descriptor): New function, extracted from
8609 tar-get-descriptor.
8610 (tar-get-descriptor): Use it.
8611 (tar-get-file-descriptor): New function.
8612 (tar--extract): New function, extracted from tar-extract.
8613 (tar--extract): Use it.
8614 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8615 case the summary uses non-ascii. Adjust to new calling convention of
8616 package-tar-file-info.
8617
b7deae5e
LL
86182013-06-21 Leo Liu <sdl.web@gmail.com>
8619
fd846ab4
SM
8620 * comint.el (comint-redirect-results-list-from-process):
8621 Fix random delay. (Bug#14681)
b7deae5e 8622
7a65a0b2
JB
86232013-06-21 Juanma Barranquero <lekktu@gmail.com>
8624
8625 * profiler.el (profiler-format-number): Use log, not log10.
8626
1493c2af
JB
86272013-06-20 Juanma Barranquero <lekktu@gmail.com>
8628
8629 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8630
aff6371e
SM
86312013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8634 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8635 yet available.
8636 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8637 (AUTOGENEL): ... here.
8638 * emacs-lisp/cl-macs.el (cl--sublis): New function.
8639 (cl--defsubst-expand): Use it.
8640
89561f72
PE
86412013-06-20 Paul Eggert <eggert@cs.ucla.edu>
8642
8643 * subr.el (log10): Move here from C code, and declare as obsolete.
8644 All uses of (log10 X) replaced with (log X 10).
8645
47199123
JB
86462013-06-20 Juanma Barranquero <lekktu@gmail.com>
8647
8648 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8649 Declare with `defvar-local'.
8650 (tabulated-list-use-header-line, tabulated-list-entries)
8651 (tabulated-list-padding, tabulated-list-printer)
8652 (tabulated-list-sort-key): Declare with `defvar-local'.
8653 (tabulated-list-init-header, tabulated-list-print-fake-header):
8654 Use `setq-local'.
8655
4a172eab
MA
86562013-06-20 Michael Albinus <michael.albinus@gmx.de>
8657
47199123
JB
8658 * arc-mode.el (archive-mode): Add `archive-write-file' to
8659 `write-contents-functions' also for remote files. (Bug#14652)
4a172eab 8660
5fc0acc0
JB
86612013-06-20 Juanma Barranquero <lekktu@gmail.com>
8662
d5b27848
JB
8663 * cus-edit.el (custom-commands): Fix typos.
8664 (custom-display): Fix tooltip text.
8665 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8666 Fix typos in docstrings.
8667 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8668 (custom-unlispify-menu-entry, custom-magic-value-create)
8669 (custom-add-see-also, custom-group-value-create): Use ?\s.
8670 (custom-guess-type, customize-apropos, editable-field)
8671 (custom-face-value-create): Use `string-match-p'.
8672 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8673
8674 * custom.el (custom-load-symbol): Use `string-match-p'.
8675
a5c581d8
JB
8676 * ansi-color.el: Convert to lexical binding.
8677 (ansi-colors): Fix URL.
8678 (ansi-color-context, ansi-color-context-region): Use defvar-local.
8679 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8680 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8681
970ad972
G
86822013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683
8684 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8685
8686 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8687
86882013-06-19 Tom Tromey <tromey@redhat.com>
8689
8690 * net/eww.el (eww-top-url): Remove.
8691 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8692 (eww-render): Set new variables. Don't set eww-top-url.
8693 (eww-handle-link): Handle "prev", "home", and "contents".
8694 Downcase the rel text.
8695 (eww-top-url): Choose best top URL.
8696
86972013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8698
8699 * net/eww.el: Rewrite to implement form elements "by hand" instead of
8700 relying in widget.el. Using widget.el leads to too many
8701 user interface inconsistencies.
8702 (eww-self-insert): Implement entering commands in text fields.
8703 (eww-process-text-input): New function to make text input field editing
8704 work.
8705 (eww-submit): Rewrite to use the new-style form methods.
8706 (eww-select-display): Display the correct selected item.
8707 (eww-change-select): Implement changing the select value.
8708 (eww-toggle-checkbox): Implement radio/checkboxes.
8709 (eww-update-field): Fix compilation error.
8710 (eww-tag-textarea): Implement <textarea>.
8711
8712 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8713 we don't shadow mode-specific bindings.
8714
8715 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8716 nothing to push.
8717
8718 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8719
4582a01c 87202013-06-19 Glenn Morris <rgm@gnu.org>
3db52056
GM
8721
8722 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8723
15b263dc
MA
87242013-06-19 Michael Albinus <michael.albinus@gmx.de>
8725
8726 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8727 not needed.
8728
8729 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8730
8f5297f7
LMI
87312013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732
8733 * net/browse-url.el (browse-url-browser-function):
8734 `eww-browse-url' has the right calling signature, `eww' does not.
8735
011c4552
GM
87362013-06-19 Glenn Morris <rgm@gnu.org>
8737
2285bd27
GM
8738 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8739 Only eval autoloaded macros.
8740 (byte-compile-autoload): Only give the macro warning for macros.
8741
1d653303
GM
8742 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8743 (ps-underlined-faces): Declare.
8744
bdd779ec
GM
8745 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8746 (speedbar-add-supported-extension): Declare.
8747
011c4552
GM
8748 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8749 Don't include a date stamp in the header of the generated file;
8750 it leads to needless differences between output files.
8751
e59dfb0e
MA
87522013-06-19 Michael Albinus <michael.albinus@gmx.de>
8753
c763842b
SM
8754 * net/secrets.el (secrets-struct-secret-content-type):
8755 Replace check of introspection data by a test call of "CreateItem".
fd846ab4 8756 Some servers do not offer introspection.
e59dfb0e 8757
102626e2
SM
87582013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * electric.el (electric-pair-mode): Improve interaction with
8761 electric-layout-mode.
8762 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8763 (electric-pair-syntax): Use text-mode-syntax-table in comments
8764 and strings.
8765 (electric-pair--insert): New function.
8766 (electric-pair-post-self-insert-function): Use it and
8767 electric--after-char-pos.
8768
ad528125
LL
87692013-06-19 Leo Liu <sdl.web@gmail.com>
8770
8771 * progmodes/octave.el (octave-help): Fix regexp.
8772
924d6997
G
87732013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8774
8775 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8776 (shr-table-horizontal-line): Allow nil as a value, and change the
8777 default.
8778 (shr-insert-table-ruler): Respect the nil value.
8779
87802013-06-18 Tom Tromey <tromey@barimba>
8781
8782 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8783 New defvars.
8784 (eww-open-file): New defun.
8785 (eww-render): Initialize new variables.
8786 (eww-display-html): Handle "link" and "a".
8787 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8788 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
8789 (eww-back-url): Rename from eww-previous-url.
102626e2
SM
8790 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8791 New defuns.
924d6997 8792
d1bbba4f
DG
87932013-06-18 Dmitry Gutov <dgutov@yandex.ru>
8794
8795 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8796 Distinguish ternary operator tokens from slash symbol and slash
8797 char literal.
8798
14dd22d2
JB
87992013-06-18 Juanma Barranquero <lekktu@gmail.com>
8800
8801 Convert symbol prettification into minor mode and global minor mode.
8802
8803 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8804 `prog-prettify-symbols', and make a local defvar instead of defcustom.
8805 (prettify-symbols--keywords): Rename from
8806 `prog-prettify-symbols-alist' and make a local defvar.
8807 (prettify-symbols--compose-symbol): Rename from
8808 `prog--prettify-font-lock-compose-symbol'.
8809 (prettify-symbols--make-keywords): Rename from
8810 `prog-prettify-font-lock-symbols-keywords' and simplify.
8811 (prog-prettify-install): Remove.
8812 (prettify-symbols-mode): New minor mode, based on
8813 `prog-prettify-install'.
8814 (turn-on-prettify-symbols-mode): New function.
8815 (global-prettify-symbols-mode): New globalized minor mode.
8816
8817 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8818 * progmodes/cfengine.el (cfengine3-mode):
8819 * progmodes/perl-mode.el (perl-mode): Don't call
8820 `prog-prettify-install'; set `prettify-symbols-alist' instead.
8821
292c880c
JL
88222013-06-18 Juri Linkov <juri@jurta.org>
8823
8824 * files-x.el (modify-file-local-variable-message): New function.
8825 (modify-file-local-variable)
8826 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8827 and call `modify-file-local-variable-message' when it's non-nil.
8828 (add-file-local-variable, delete-file-local-variable)
8829 (add-file-local-variable-prop-line)
8830 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8831 and use it. (Bug#9820)
8832
0950aa27
JL
88332013-06-18 Juri Linkov <juri@jurta.org>
8834
8835 * emulation/vi.el (vi-shell-op):
8836 * emulation/vip.el (vip-execute-com, ex-command):
8837 * emulation/viper-cmd.el (viper-exec-bang):
8838 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8839 the call of `shell-command-on-region'. (Bug#14637)
8840
8841 * simple.el (shell-command-on-region): Doc fix.
8842
8fbcca16
SM
88432013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8846 (bug#14633).
8847
dd7426ea
GM
88482013-06-18 Glenn Morris <rgm@gnu.org>
8849
4ba54f7d
GM
8850 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8851
dd7426ea
GM
8852 * newcomment.el (comment-search-forward, comment-search-backward):
8853 Doc fix. (Bug#14376)
8854
58aa805b
JB
88552013-06-18 Juanma Barranquero <lekktu@gmail.com>
8856
8857 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8858 (buffer-face-mode-invoke): Doc fix.
8859
9a08a617
MM
88602013-06-18 Matthias Meulien <orontee@gmail.com>
8861
8862 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
924494f4 8863 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9a08a617 8864
f2f426ca
GM
88652013-06-18 Glenn Morris <rgm@gnu.org>
8866
9445f99b
GM
8867 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8868 Replace obsolete function generic-make-keywords with its expansion.
8869
e0df2d14
GM
8870 * progmodes/python.el (ffap-alist): Declare.
8871
f2f426ca
GM
8872 * textmodes/reftex.el (bibtex-mode-map): Declare.
8873
f7f9a720
SM
88742013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
8875
8876 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8877 (package-unpack, package-unpack-single): Return the pkg-dir.
8878 (package-download-transaction): Use it to update package-alist.
8879
57ff04e0
LMI
88802013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
8882 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8883 possible choice.
8884
c048c022
JL
88852013-06-17 Juri Linkov <juri@jurta.org>
8886
8887 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8888
b5bcaee5
DG
88892013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8890
a020afb9
JB
8891 * emacs-lisp/package.el (package-load-descriptor):
8892 Remove `with-syntax-table' call, `read' doesn't need it.
b5bcaee5
DG
8893 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8894
551e07e5
JB
88952013-06-17 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * startup.el (command-line): Expand package name returned by
8898 `package--description-file' (bug#14639).
8899
d363bffb
DG
89002013-06-17 Dmitry Gutov <dgutov@yandex.ru>
8901
8902 * emacs-lisp/package.el (package-load-descriptor): Do not call
8903 `emacs-lisp-mode', just use its syntax table.
8904
f612933b
JB
89052013-06-17 Juanma Barranquero <lekktu@gmail.com>
8906
8907 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8908 `font-lock-extra-managed-props' if any prettifying keyword is added.
8909 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8910 (prog-mode): Use `setq-local'.
8911
db3b7db5
SM
89122013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
8913
8914 * international/characters.el (standard-case-table): Set syntax of ?»
8915 and ?« to punctuation.
8916
f3d674df
JB
89172013-06-16 Juanma Barranquero <lekktu@gmail.com>
8918
8919 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8920 Save relevant match data before calling `syntax-ppss' (bug#14595).
8921
31489a32
JL
89222013-06-15 Juri Linkov <juri@jurta.org>
8923
8924 * files-x.el (modify-file-local-variable-prop-line): Add local
8925 variables to the end of the existing comment on the first line.
8926 Use `file-auto-mode-skip' to skip interpreter magic line,
8927 and also skip XML declaration.
8928
66bd25ab
SM
89292013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
8930
8931 * startup.el (package--builtin-versions): New var.
8932 (package-subdirectory-regexp): Remove.
8933 (package--description-file): Hard code its value instead.
8934
8935 * emacs-lisp/package.el: Don't activate packages older than builtin.
8936 (package-obsolete-list): Rename from package-obsolete-alist, and make
8937 it into a simple list of package-desc.
8938 (package-strip-version): Remove.
8939 (package-built-in-p): Use package--builtin-versions.
8940 (package-mark-obsolete): Simplify.
8941 (package-process-define-package): Mark it obsolete if older than the
8942 builtin version.
8943 (package-handle-response): Use line-end-position.
8944 (package-read-archive-contents, package--download-one-archive):
8945 Simplify.
8946 (package--add-to-archive-contents): Skip if older than the builtin or
8947 installed version.
8948 (package-menu-describe-package): Fix last change.
8949 (package-list-unversioned): New var.
8950 (package-menu--generate): Use it.
8951
8952 * emacs-lisp/autoload.el: Manage package--builtin-versions.
8953 (autoload--insert-text, autoload--insert-cookie-text): New functions.
8954 (autoload-builtin-package-versions): New variable.
8955 (autoload-generate-file-autoloads): Use them.
8956 Remove the list of autoloaded functions/macros from the
8957 (autoload...) comments.
8958
8959 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8960
9583ec36
EZ
89612013-06-15 Eli Zaretskii <eliz@gnu.org>
8962
8963 * simple.el (line-move-partial): Don't jump to the next screen
8964 line as soon as it becomes visible. Instead, continue enlarging
8965 the vscroll until the portion of a tall screen line that's left on
8966 display is about the height of the frame's default font.
8967 (Bug#14567)
8968
f0100d8a
GM
89692013-06-15 Glenn Morris <rgm@gnu.org>
8970
b86a85ca
GM
8971 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8972 compilation-error-regexp-alist void, or local while let-bound.
8973
f0100d8a
GM
8974 * progmodes/make-mode.el (makefile-mode-syntax-table):
8975 Treat "=" as punctuation. (Bug#14614)
8976
05e7ce90
JB
89772013-06-15 Juanma Barranquero <lekktu@gmail.com>
8978
8979 * help-fns.el (describe-variable):
8980 Add extra line for permanent-local variables.
8981
12e5e86e
SH
89822013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
8983
8984 * progmodes/scheme.el (scheme-font-lock-keywords-2):
8985 Add export, import, library. (Bug#9164)
8986 (library): Set indent function.
8987
230dcbaf
GM
89882013-06-14 Glenn Morris <rgm@gnu.org>
8989
8990 * term/xterm.el (xterm--query):
8991 Stop after first matching handler. (Bug#14615)
8992
e36b2d20 89932013-06-14 Ivan Kanis <ivan@kanis.fr>
d4466a91
IK
8994
8995 Add support for dired in saveplace.
8996 * dired.el (dired-initial-position-hook): New variable.
8997 (dired-initial-position): Call hook to place cursor position.
8998 * saveplace.el (save-place-to-alist): Add dired position.
8999 (save-place-dired-hook): New function.
9000
0b31660d
SM
90012013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9002
bf1e6ae8
SM
9003 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9004 through a symbol rather than letrec.
9005
1b8dff23
SM
9006 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9007 (package-desc): Add `dir' field.
9008 (package-desc-full-name): New function.
9009 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9010 (package-maybe-load-descriptor): Remove.
9011 (package-load-all-descriptors): Just call package-load-descriptor.
9012 (package--disabled-p): New function.
9013 (package-desc-vers, package-desc-doc): Remove aliases.
9014 (package--dir): Remove function.
9015 (package-activate): Check if a package is disabled.
9016 (package-process-define-package): New function, extracted from
9017 define-package.
9018 (define-package): Turn into a place holder.
9019 (package-unpack-single, package-tar-file-info):
9020 Use package--description-file.
9021 (package-compute-transaction): Use package--disabled-p.
9022 (package-download-transaction): Don't call
9023 package-maybe-load-descriptor since they're all loaded anyway.
9024 (package-install): Change argument to be a pkg-desc.
9025 (package-delete): Use a single pkg-desc argument.
9026 (describe-package-1): Use package-desc-dir instead of package--dir.
9027 Use package-desc property instead of package-symbol.
9028 (package-install-button-action): Adjust accordingly.
9029 (package--push): Rewrite.
9030 (package-menu--print-info): Adjust accordingly. Change the ID format
9031 to be a pkg-desc.
9032 (package-menu-describe-package, package-menu-get-status)
9033 (package-menu--find-upgrades, package-menu-mark-upgrades)
9034 (package-menu-execute, package-menu--name-predicate):
9035 Adjust accordingly.
9036 * startup.el (package--description-file): New function.
9037 (command-line): Use it.
9038 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9039 Use package-desc-version.
9040
0b31660d
SM
9041 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9042 (byte-compile-preprocess): Use it.
9043 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9044 can't quite recognize.
9045 (byte-compile-add-to-list): Remove.
9046 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9047 (cconv-closure-convert): Add assertion.
9048
9049 * emacs-lisp/map-ynp.el: Use lexical-binding.
9050 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9051 Factor out some repeated code.
9052
de0503df
SM
90532013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * subr.el (with-eval-after-load): New macro.
9056 (eval-after-load): Allow form to be a function.
9057 take advantage of lexical-binding.
9058 (do-after-load-evaluation): Use dolist and adjust to new format.
9059 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9060
bc5c8c5a
JL
90612013-06-13 Juri Linkov <juri@jurta.org>
9062
9063 * replace.el (perform-replace): Display "symbol " and other search
9064 modes from `isearch-message-prefix' in the *Help* buffer.
9065
9066 * isearch.el (isearch-query-replace): Add " symbol" and other
9067 possible search modes from `isearch-message-prefix' to the prompt.
9068 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9069 when reading a regexp to collect.
9070
a22289f7
JL
90712013-06-13 Juri Linkov <juri@jurta.org>
9072
9073 * isearch.el (word-search-regexp): Match whitespace if the search
9074 string begins or ends in whitespace. The LAX arg is applied to
9075 both ends of the search string. Use `regexp-quote' and explicit
9076 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9077 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9078 boundaries are replaced with symbol boundaries, and characters
9079 between symbols match non-word non-symbol syntax. (Bug#14602)
9080
cb89acab
JL
90812013-06-13 Juri Linkov <juri@jurta.org>
9082
9083 * isearch.el (isearch-del-char): Don't exceed the length of
9084 `isearch-string' by the prefix arg. (Bug#14563)
9085
6e8cfc81
JL
90862013-06-13 Juri Linkov <juri@jurta.org>
9087
9088 * isearch.el (isearch-yank-word, isearch-yank-line)
9089 (isearch-char-by-name, isearch-quote-char)
9090 (isearch-printing-char, isearch-process-search-char):
9091 Add optional count prefix arg. (Bug#14563)
9092
9093 * international/isearch-x.el
9094 (isearch-process-search-multibyte-characters):
9095 Add optional count prefix arg.
9096
c23d55f4
VS
90972013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9098
9099 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9100 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9101 lexical-binding.
9102
91032013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9104
9105 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9106
ba947bc4
GM
91072013-06-13 Glenn Morris <rgm@gnu.org>
9108
8baeb37a
GM
9109 * startup.el (tty-handle-args):
9110 Don't just discard "--" and anything after. (Bug#14608)
9111
ba947bc4
GM
9112 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9113
9abefce4
MA
91142013-06-13 Michael Albinus <michael.albinus@gmx.de>
9115
9116 Implement changes in Secret Service API. Make it backward compatible.
9117 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9118 (secrets-create-item): Use it. Prefix properties with interface.
9119
5755011f
MH
91202013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9121
9122 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9123 (term-emulate-terminal): Respect term-suppress-hard-newline.
9124
1261d2da
S
91252013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9126
9127 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9128 Only remove a `thumb-file' overlay. (Bug#14548)
9129
868490bb
GJ
91302013-06-12 Grégoire Jadi <daimrod@gmail.com>
9131
9132 * mail/reporter.el (reporter-submit-bug-report):
9133 Handle missing package-name. (Bug#14600)
9134
79d7167f
TH
91352013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9136
9137 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9138 (reftex-citation-prompt, reftex-default-bibliography)
9139 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9140 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9141 (reftex-bib-sort-author, reftex-bib-sort-year)
9142 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9143 (reftex-extract-bib-entries-from-thebibliography)
9144 (reftex-get-bibkey-default, reftex-get-bib-names)
9145 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9146 (reftex-format-bib-entry, reftex-parse-bibitem)
9147 (reftex-format-bibitem, reftex-do-citation)
9148 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9149 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9150 (reftex-insert-bib-matches, reftex-format-citation)
9151 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9152 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9153 existing comments into docstrings.
9154
5f9dbd7a
XF
91552013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9156
9157 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9158
94df41ab
AS
91592013-06-12 Andreas Schwab <schwab@suse.de>
9160
9161 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9162 for auto-save files.
9163
a7f3fecc
GM
91642013-06-12 Glenn Morris <rgm@gnu.org>
9165
001809f6
GM
9166 * ido.el (ido-delete-ignored-files): Remove.
9167 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9168 Go back to calling ido-ignore-item-p directly.
a7f3fecc 9169
834b5ded
EL
91702013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9171
08c73ed2
EL
9172 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9173
834b5ded
EL
9174 * ido.el (ido-delete-ignored-files): New function,
9175 split from ido-make-file-list-1.
9176 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9177 (ido-make-file-list-1): Use ido-delete-ignored-files.
9178
daabf15a
LL
91792013-06-12 Leo Liu <sdl.web@gmail.com>
9180
9181 * progmodes/octave.el (inferior-octave-startup)
9182 (inferior-octave-completion-table)
9183 (inferior-octave-track-window-width-change)
9184 (octave-eldoc-function-signatures, octave-help)
9185 (octave-find-definition): Use single quoted strings.
9186 (inferior-octave-startup-args): Change default value.
9187 (inferior-octave-startup): Do not hard code "-i" and
9188 "--no-line-editing".
9189 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9190 (inferior-octave-directory-tracker): Use it.
9191 (octave-goto-function-definition): Robustify.
9192 (octave-help): Support highlighting operators in 'See also'.
9193 (octave-find-definition): Find subfunctions only in Octave mode.
9194
cf4e5178
SM
91952013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * help-fns.el (help-fns--compiler-macro): If the handler function is
9198 named, then put a link to it.
9199 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9200 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9201 (cl-typep): Use it.
9202 (cl-eval-when): Simplify debug spec.
9203 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9204 compiler-macro function instead of setting `compiler-macro-file'.
9205
99c81280 92062013-06-12 Xue Fuqiao <xfq.free@gmail.com>
cd0527a4
XF
9207
9208 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9209 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9210
f56be016
SM
92112013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9212 Daniel Hackney <dan@haxney.org>
9213
9214 First part of Daniel Hackney's patch to package.el.
9215 * emacs-lisp/package.el: Use defstruct.
9216 (package-desc): New, main struct.
9217 (package--bi-desc, package--ac-desc): New structs, used to describe the
9218 format in external files.
9219 (package-desc-vers): Replace with package-desc-version accessor.
9220 (package-desc-doc): Replace with package-desc-summary accessor.
9221 (package-activate-1): Remove `package' arg since the pkg-vec now
9222 includes the name.
9223 (define-package): Use package-desc-from-define.
9224 (package-unpack-single): Change file-name arg to be a symbol.
9225 (package--add-to-archive-contents): Use package-desc-create and new
9226 accessor functions to package--ac-desc.
9227 (package-buffer-info, package-tar-file-info): Return a package-desc.
9228 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9229 arg to be a package-desc.
9230 (package-install-file): Adjust accordingly. Use \' to match EOS.
9231 (package--from-builtin): New function.
9232 (describe-package-1, package-menu--generate): Use it.
9233 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9234 (package-generate-autoloads): Idem and return the name of the file.
9235 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9236 Change pkg-info arg to be a package-desc.
9237 Use package-make-ac-desc.
9238 (package-upload-file): Use \' to match EOS.
9239 * finder.el (finder-compile-keywords): Use package-make-builtin.
9240
31119d63
SM
92412013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9242
931a2762
SM
9243 * vc/vc.el (vc-deduce-fileset): Change error message.
9244 (vc-read-backend): New function.
9245 (vc-next-action): Use it.
9246
5a3eb0c6
SM
9247 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9248
e3eb1bb7
SM
9249 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9250 (prolog-font-lock-keywords): Use regexp-opt instead.
9251 Don't manually highlight strings.
9252 (prolog-mode-variables): Simplify comment-start-skip.
9253 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9254
31119d63
SM
9255 * emacs-lisp/generic.el (generic--normalise-comments)
9256 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9257 (generic-mode-set-comments): Use them.
9258 (generic-bracket-support): Use setq-local.
9259 (generic-make-keywords-list): Declare obsolete.
9260
7de135d0
GM
92612013-06-11 Glenn Morris <rgm@gnu.org>
9262
9263 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9264 Prettify after setting font-lock-defaults. (Bug#14574)
9265
fa6bc6fd
JB
92662013-06-11 Juanma Barranquero <lekktu@gmail.com>
9267
9268 * replace.el (query-replace, occur-read-regexp-defaults-function)
9269 (replace-search):
9270 * subr.el (declare-function, number-sequence, local-set-key)
9271 (substitute-key-definition, locate-user-emacs-file)
9272 (with-silent-modifications, split-string, eval-after-load):
9273 Fix typos, remove unneeded backslashes and reflow some docstrings.
9274
cf1f9b9a
SM
92752013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9276
9277 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9278 default for Elisp files.
9279
56602a4b
GM
92802013-06-11 Glenn Morris <rgm@gnu.org>
9281
9282 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9283 although define-derived-mode was doing this anyway. (Bug#14583)
9284
30ae0b2c
JB
92852013-06-10 Juanma Barranquero <lekktu@gmail.com>
9286
9287 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9288 Fix make-variable-buffer-local call to refer to the correct variable.
9289
fa472906
AG
92902013-06-10 Aidan Gauland <aidalgol@amuri.net>
9291
9292 * eshell/em-term.el (eshell-visual-commands)
e7b41c4c
JB
9293 (eshell-visual-subcommands, eshell-visual-options):
9294 Add summary line to docstrings. Add cross-references.
fa472906 9295
ff4871b9
GM
92962013-06-10 Glenn Morris <rgm@gnu.org>
9297
9298 * epa.el (epa-read-file-name): New function. (Bug#14510)
9299 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9300
04fcf1b0
AG
93012013-06-09 Aidan Gauland <aidalgol@amuri.net>
9302
9303 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9304 output redirection to be ignored with visual commands.
9305
88b00caa
AG
93062013-06-09 Aidan Gauland <aidalgol@amuri.net>
9307
9308 * eshell/em-term.el (eshell-visual-command-p): New function.
f71b3317
AG
9309 (eshell-term-initialize): Move long lambda to separate function
9310 eshell-visual-command-p.
e7b41c4c
JB
9311 * eshell/em-dirs.el (eshell-dirs-initialise):
9312 * eshell/em-script.el (eshell-script-initialize):
9313 Add missing #' to lambda.
88b00caa 9314
fda74125
LL
93152013-06-08 Leo Liu <sdl.web@gmail.com>
9316
9317 * progmodes/octave.el (octave-add-log-current-defun): New function.
9318 (octave-mode): Set add-log-current-defun-function.
9319 (octave-goto-function-definition): Do not move point if not found.
9320 (octave-find-definition): Enhance to try subfunctions first.
9321
467f3b33
GM
93222013-06-08 Glenn Morris <rgm@gnu.org>
9323
9324 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9325 (byte-compile-backward-char, byte-compile-backward-word):
9326 Improve previous change, to handle non-explicit nil.
9327
544badc3
SM
93282013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9331 (smie--opener/closer-at-point): New function.
9332 (smie--matching-block-data): Use it. Don't match from right after an
9333 opener or right before a closer. Obey smie-blink-matching-inners.
9334 Don't signal a mismatch for repeated inners like "switch..case..case".
9335
a175bf33
LL
93362013-06-07 Leo Liu <sdl.web@gmail.com>
9337
9338 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9339 to t. (Bug#14303)
ce8209d4
LL
9340 (octave-function-header-regexp): Fix. (Bug#14570)
9341 (octave-help-mode-finish-hook, octave-help-mode-finish):
9342 Remove. Just use temp-buffer-show-hook.
a175bf33
LL
9343
9344 * newcomment.el (comment-search-backward): Revert last change.
9345 (Bug#14434)
9346
9347 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9348
a822acff
EZ
93492013-06-07 Eli Zaretskii <eliz@gnu.org>
9350
9351 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9352 through xargs, to avoid failure due to MS-Windows limitations on
9353 command-line length.
9354
961166f5
GM
93552013-06-06 Glenn Morris <rgm@gnu.org>
9356
d0341459
GM
9357 * font-lock.el (lisp-font-lock-keywords-2):
9358 Treat user-error like error.
9359
961166f5
GM
9360 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9361 (byte-compile-backward-char, byte-compile-backward-word):
9362 Handle explicit nil arguments. (Bug#14565)
9363
80fa505f
AM
93642013-06-05 Alan Mackenzie <acm@muc.de>
9365
9366 * isearch.el (isearch-allow-prefix): New user option.
d2bf7a98 9367 (isearch-other-meta-char): Don't exit isearch when a prefix
80fa505f 9368 argument is typed whilst `isearch-allow-prefix' is non-nil.
d2bf7a98 9369 (Bug#9706)
80fa505f 9370
fccdc796
SM
93712013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9372
9373 * autorevert.el (auto-revert-notify-handler): Use memq.
9374 Hide assertion failure.
9375
9376 * skeleton.el: Use cl-lib.
9377 (skeleton-further-elements): Use defvar-local.
9378 (skeleton-insert): Use cl-progv.
9379
9bfff84b
TZ
93802013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9381
9382 * progmodes/prog-mode.el (prog-prettify-symbols)
9383 (prog-prettify-install): Update docstrings.
9384
55577e7c
SM
93852013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * simple.el: Move all the prog-mode code to prog-mode.el.
9388 * progmodes/prog-mode.el: New file.
9389 * loadup.el: Add prog-mode.el.
9390
8fc57765
TZ
93912013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9392
9393 * simple.el (prog-prettify-symbols): Add version.
9394 (prog-prettify-install): Add convenience function to prettify symbols.
9395
9396 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9397 (perl--augmented-font-lock-keywords-1)
9398 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9399 variables and use it.
9400
9401 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9402 (cfengine3-mode): Remove unneeded variable and use it.
9403
9404 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9405 (lisp--augmented-font-lock-keywords-1)
9406 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9407 Remove unneeded variables and use it.
9408
650645d5 94092013-06-05 João Távora <joaotavora@gmail.com>
28f5da6d
TZ
9410
9411 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
650645d5 9412 to point when opening the connection. (Bug#14380)
28f5da6d 9413
781b4af6
SM
94142013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9415
9416 * subr.el (load-history-regexp, load-history-filename-element)
9417 (eval-after-load, after-load-functions, do-after-load-evaluation)
9418 (eval-next-after-load, display-delayed-warnings)
9419 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9420 definition of save-match-data.
9421 (overriding-local-map): Remove accidental obsolescence declaration.
9422
9423 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9424
3ca0d0b4
TZ
94252013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9426
9427 Generalize symbol prettify support to prog-mode and implement it
9428 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9429 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9430 (prog--prettify-font-lock-compose-symbol)
9431 (prog-prettify-font-lock-symbols-keywords): New variables and
9432 functions to support symbol prettification.
9433 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9434 (lisp--augmented-font-lock-keywords-1)
9435 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9436 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9437 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
781b4af6
SM
9438 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9439 Implement prettify of -> => :: strings.
3ca0d0b4
TZ
9440 * progmodes/perl-mode.el (perl-prettify-symbols)
9441 (perl--font-lock-compose-symbol)
9442 (perl--font-lock-symbols-keywords): Move to prog-mode.
9443 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9444 (perl-font-lock-keywords-1)
9445 (perl-font-lock-keywords-2): Remove explicit prettify support.
9446 (perl--augmented-font-lock-keywords)
9447 (perl--augmented-font-lock-keywords-1)
781b4af6
SM
9448 (perl--augmented-font-lock-keywords-2, perl-mode):
9449 Implement prettify support.
3ca0d0b4 9450
976cb066
LL
94512013-06-05 Leo Liu <sdl.web@gmail.com>
9452
9453 Re-implement smie matching block highlight using
9454 show-paren-data-function. (Bug#14395)
9455 * emacs-lisp/smie.el (smie-matching-block-highlight)
9456 (smie--highlight-matching-block-overlay)
9457 (smie--highlight-matching-block-lastpos)
9458 (smie-highlight-matching-block)
9459 (smie-highlight-matching-block-mode): Remove.
9460 (smie--matching-block-data-cache): New variable.
9461 (smie--matching-block-data): New function.
9462 (smie-setup): Use smie--matching-block-data for
9463 show-paren-data-function.
9464
9465 * progmodes/octave.el (octave-mode-menu): Fix.
9466 (octave-find-definition): Skip garbage lines.
9467
208d0342
SM
94682013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9469
9470 Fix compilation error with simultaneous dynamic+lexical scoping.
9471 Add warning when a defvar appears after the first let-binding.
9472 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9473 (byte-compile-close-variables): Initialize it.
9474 (byte-compile--declare-var): New function.
9475 (byte-compile-file-form-defvar)
9476 (byte-compile-file-form-define-abbrev-table)
9477 (byte-compile-file-form-custom-declare-variable): Use it.
9478 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9479 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9480 (byte-compile-bind): Handle dynamic bindings that shadow
9481 lexical bindings.
9482 (byte-compile-unbind): Make arg non-optional.
9483 (byte-compile-let): Simplify.
9484 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9485 (cconv--analyse-function, cconv-analyse-form): Populate it.
9486 Protect byte-compile-bound-variables to limit the scope of defvars.
9487 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9488 Remove unneeded rule for `declare'.
9489
9490 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9491 so as to avoid depending on cl-adjoin at run-time.
9492 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9493
9494 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9495 (macroexp--warn-and-return): Use it.
9496
1ac2891e
GM
94972013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9498
a12bf61e 9499 * subr.el: Convert to lexical binding.
1ac2891e
GM
9500 (overriding-local-map): Make obsolete.
9501 (add-to-list): Doc fix. Add compiler macro.
9502 (read-key): Swap values of local maps.
9503
2587b005
LL
95042013-06-05 Leo Liu <sdl.web@gmail.com>
9505
9506 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9507
f1da3c88
LL
95082013-06-04 Leo Liu <sdl.web@gmail.com>
9509
9510 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9511 (compilation-auto-jump): Suppress the "Mark set" message to give
9512 way to exit message.
9513
3caa391f
AM
95142013-06-04 Alan Mackenzie <acm@muc.de>
9515
9516 Remove faulty optimisation from indentation calculation.
9517 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9518 search limit based on 2000 characters back from indent-point.
9519
068922a2
TH
95202013-06-03 Tassilo Horn <tsdh@gnu.org>
9521
9522 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9523
1f8fdd53
SM
95242013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9525
bbcc4d97
SM
9526 * emacs-lisp/lisp.el: Use lexical-binding.
9527 (lisp--local-variables-1, lisp--local-variables): New functions.
9528 (lisp--local-variables-completion-table): New var.
208d0342 9529 (lisp-completion-at-point): Use it complete let-bound vars.
bbcc4d97 9530
1f8fdd53
SM
9531 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9532 eagerly (bug#14422).
9533
c9628c79
MA
95342013-06-03 Michael Albinus <michael.albinus@gmx.de>
9535
9536 * autorevert.el (auto-revert-notify-enabled)
9537 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9538 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9539 (auto-revert-notify-handler): Handle also gfilenotify.
9540
e7b41c4c 9541 * subr.el (file-notify-handle-event): New defun. Replacing ...
c9628c79 9542 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
781b4af6 9543 Remove.
c9628c79 9544
e5e4a942
JL
95452013-06-03 Juri Linkov <juri@jurta.org>
9546
9547 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9548 `M-s h .'. (Bug#14427)
9549
9550 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9551 command `hi-lock-face-symbol-at-point'.
9552 (hi-lock-face-symbol-at-point): New command.
9553 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9554 (hi-lock-menu): Add `highlight-symbol-at-point'.
9555 (hi-lock-mode): Doc fix.
9556
9557 * isearch.el (isearch-forward-symbol-at-point): New command.
9558 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9559 (isearch-highlight-regexp): Add a regexp which matches
9560 words/symbols for word/symbol mode.
9561
9562 * subr.el (find-tag-default-bounds): New function with the body
9563 mostly moved from `find-tag-default'.
9564 (find-tag-default): Move most code to `find-tag-default-bounds',
9565 call it and apply `buffer-substring-no-properties' afterwards.
9566
26b3353a
TH
95672013-06-03 Tassilo Horn <tsdh@gnu.org>
9568
781b4af6
SM
9569 * eshell/em-term.el (eshell-term-initialize):
9570 Use `cl-intersection' rather than `intersection'.
26b3353a 9571
51b60f53
XF
95722013-06-02 Xue Fuqiao <xfq.free@gmail.com>
9573
fe054b63 9574 * vc/log-view.el: Doc fix.
d3ffe17c 9575 (log-view-mode-map): Copy keymap from `special-mode-map'.
51b60f53 9576
a0eb10b3 95772013-06-02 Eric Ludlam <zappo@gnu.org>
890f7890
DE
9578
9579 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9580 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9581 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9582 (eieio-unbound, eieio-default-superclass)
9583 (eieio--define-field-accessors, method-static, method-before)
9584 (method-primary, method-after, method-num-lists)
9585 (method-generic-before, method-generic-primary)
9586 (method-generic-after, method-num-slots)
9587 (eieio-specialized-key-to-generic-key)
9588 (eieio--check-type, class-v, class-p)
9589 (eieio-class-name, define-obsolete-function-alias)
9590 (eieio-class-parents-fast, eieio-class-children-fast)
9591 (same-class-fast-p, class-constructor, generic-p)
9592 (generic-primary-only-p, generic-primary-only-one-p)
9593 (class-option-assoc, class-option, eieio-object-p)
9594 (class-abstract-p, class-method-invocation-order)
9595 (eieio-defclass-autoload-map, eieio-defclass-autoload)
9596 (eieio-class-un-autoload, eieio-defclass)
9597 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9598 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9599 (eieio--defgeneric-init-form, eieio-defgeneric-form)
9600 (eieio-defgeneric-reset-generic-form)
9601 (eieio-defgeneric-form-primary-only)
9602 (eieio-defgeneric-reset-generic-form-primary-only)
9603 (eieio-defgeneric-form-primary-only-one)
9604 (eieio-defgeneric-reset-generic-form-primary-only-one)
9605 (eieio-unbind-method-implementations)
9606 (eieio--defmethod, eieio--typep)
9607 (eieio-perform-slot-validation, eieio-validate-slot-value)
9608 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9609 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9610 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9611 (eieio-slot-name-index, eieio-class-slot-name-index)
9612 (eieio-set-defaults, eieio-initarg-to-attribute)
9613 (eieio-attribute-to-initarg, eieio-c3-candidate)
9614 (eieio-c3-merge-lists, eieio-class-precedence-c3)
9615 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9616 (eieio-class-precedence-list, eieio-generic-call-methodname)
9617 (eieio-generic-call-arglst, eieio-generic-call-key)
9618 (eieio-generic-call-next-method-list)
9619 (eieio-pre-method-execution-functions, eieio-generic-call)
9620 (eieio-generic-call-primary-only, eieiomt-method-list)
9621 (eieiomt-optimizing-obarray, eieiomt-install)
9622 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9623 (eieio-generic-form, eieio-defmethod, make-obsolete)
4f405069 9624 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
890f7890
DE
9625 (defclass): Remove `eval-and-compile' from macro.
9626 (call-next-method, shared-initialize): Instead of using
9627 `scoped-class' variable, use new eieio--scoped-class, and
9628 eieio--with-scoped-class.
9629 (initialize-instance): Rename local variable 'scoped-class' to
9630 'this-class' to remove ambiguitity from old global.
9631
9632 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
9633 eieio.el.
4f405069
JB
9634 (eieio--scoped-class-stack): New variable.
9635 (eieio--scoped-class): New fcn.
890f7890
DE
9636 (eieio--with-scoped-class): New scoping macro.
9637 (eieio-defclass): Use pushnew instead of add-to-list.
9638 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9639 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9640 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9641 `scoped-class' variable, use new eieio--scoped-class, and
9642 eieio--with-scoped-class.
9643
9644 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9645
d105b0e2
TH
96462013-06-02 Tassilo Horn <tsdh@gnu.org>
9647
9648 * eshell/esh-ext.el (eshell-external-command): Pass args to
9649 `eshell-find-interpreter'.
9650 (eshell-find-interpreter): Add new second parameter ARGS.
9651
9652 * eshell/em-script.el (eshell-script-initialize): Add second arg
e7b41c4c 9653 to the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9654
9655 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
e7b41c4c 9656 the function added as MATCH to `eshell-interpreter-alist'.
d105b0e2
TH
9657
9658 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9659 (eshell-visual-options): New defcustom.
9660 (eshell-escape-control-x): Adapt docstring.
9661 (eshell-term-initialize): Test `eshell-visual-subcommands' and
9662 `eshell-visual-options' in addition to `eshell-visual-commands'.
9663 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9664
f46305c8 96652013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
f782d531
FEG
9666
9667 * progmodes/python.el (python-indent-block-enders): Add break,
9668 continue and raise keywords.
9669
d870df21
GM
96702013-06-01 Glenn Morris <rgm@gnu.org>
9671
9133b82e
GM
9672 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9673
02c992ec 9674 Plain (f)boundp silences compilation warnings since Emacs 22.1.
683853b9
GM
9675 * progmodes/cc-cmds.el (delete-forward-p):
9676 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9677 * progmodes/cc-engine.el (buffer-syntactic-context):
9678 * progmodes/cc-fonts.el (face-property-instance):
9679 * progmodes/cc-mode.el (set-keymap-parents):
9680 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9681 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9682 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
02c992ec
GM
9683 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9684 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
683853b9 9685
31e7b090
GM
9686 * progmodes/cc-vars.el (other): Emacs has this widget since
9687 at least 21.1, so don't (re)define it.
9688
d870df21
GM
9689 * eshell/em-cmpl.el (eshell-cmpl-initialize):
9690 Replace the obsolete alias pcomplete-arg-quote-list.
9691
c75c93c7
LL
96922013-06-01 Leo Liu <sdl.web@gmail.com>
9693
9694 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9695 punctuation syntax.
9696 (inferior-octave-minimal-columns)
9697 (inferior-octave-last-column-width): New variables.
9698 (inferior-octave-track-window-width-change): New function.
9699 (inferior-octave-mode): Adjust column width so that Octave output,
9700 for example from 'ls', can fit into the window nicely.
9701
973d1e12
DG
97022013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9703
9704 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9705 Highlight expansions inside regexp literals.
9706
0888c286
GM
97072013-05-31 Glenn Morris <rgm@gnu.org>
9708
e26aac1f
GM
9709 * obsolete/sym-comp.el (symbol-complete):
9710 Replace obsolete completion-annotate-function.
9711
0888c286
GM
9712 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9713
19bb8e62
DG
97142013-05-31 Dmitry Gutov <dgutov@yandex.ru>
9715
781b4af6
SM
9716 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9717 New function, checks if point is inside a literal that allows
19bb8e62
DG
9718 expression expansion.
9719 (ruby-syntax-propertize-expansion): Use it.
9720 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9721 around the body.
9722
01dea85f
JL
97232013-05-30 Juri Linkov <juri@jurta.org>
9724
9725 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9726 to "\M-si".
9727 (isearch-invisible): New variable.
9728 (isearch-forward): Doc fix.
9729 (isearch-mode): Set `isearch-invisible'
9730 to the value of `search-invisible'.
9731 (isearch-toggle-case-fold): Doc fix.
9732 (isearch-toggle-invisible): New command.
9733 (isearch-query-replace): Let-bind `search-invisible'
9734 to the value of `isearch-invisible'.
9735 (isearch-search): Use `isearch-invisible' instead of
9736 `search-invisible'. Let-bind `search-invisible'
9737 to the value of `isearch-invisible'. (Bug#11378)
9738
ab1bdce5
JL
97392013-05-30 Juri Linkov <juri@jurta.org>
9740
9741 * replace.el (perform-replace): Avoid `isearch-range-invisible'
9742 call when `query-flag' is nil and `search-invisible' is non-nil.
9743 (Bug#11746)
9744
d6d236e2
GM
97452013-05-30 Glenn Morris <rgm@gnu.org>
9746
8accd027
GM
9747 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9748
2a8bed1c
GM
9749 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9750 (cc-require): Suppress spurious "noruntime" warnings.
9751 (cc-require-when-compile): Use fboundp, for sake of compiler.
9752
d6d236e2
GM
9753 * progmodes/cc-mode.el: Move load of cc-vars before that of
9754 cc-langs (which in turn loads cc-vars), to quieten compiler.
9755
9190b35b
SM
97562013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * paren.el: Simplify the code.
9759 (show-paren-mode): Always start the timer.
9760 (show-paren--idle-timer): Rename from show-paren-idle-timer.
9761 (show-paren--overlay, show-paren--overlay-1): Rename from
9762 show-paren-overlay and show-paren-overlay-1, and initialize to an
9763 overlay rather than to nil.
9764 (show-paren-function): Misc cleanup and simplifications.
9765
4f8d1cf6
SM
97662013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
9767
9768 * paren.el (show-paren-data-function): New hook.
9769 (show-paren--default): New function, extracted from show-paren-function.
9770 (show-paren-function): Use show-paren-data-function.
9771
02d844b5
GM
97722013-05-30 Glenn Morris <rgm@gnu.org>
9773
d209d4a9
GM
9774 * ielm.el (ielm-map, ielm-complete-symbol):
9775 Use completion-at-point rather than obsolete functions.
9776 (inferior-emacs-lisp-mode): Doc fix.
9777 Set completion-at-point-functions, rather than
9778 comint-dynamic-complete-functions.
9779
2082faa6
GM
9780 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9781 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9782 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9783
dd8620de
GM
9784 * image.el (image-animated-p): Tweak definition.
9785
ceca95b1
GM
9786 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9787 (rlogin-process-connection-type): Tweak default. Add set-after.
9788 (rlogin-host): Doc fix.
9789 (rlogin): Tweak prompt.
9790 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9791
ee9f1acc
GM
9792 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9793 * progmodes/tcl.el (inferior-tcl-mode-map):
9794 Use completion-at-point rather than obsolete alias.
9795
45ce222e
GM
9796 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9797
02d844b5
GM
9798 * minibuffer.el (read-file-name-completion-ignore-case):
9799 Move before completion--in-region, for eager macro expansion.
9800
ac44d6c1
JL
98012013-05-29 Juri Linkov <juri@jurta.org>
9802
9803 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9804 for total count of matching lines. Add `global-matches' for total
9805 count of matches. Rename `matches' to `lines' for count of
9806 matching lines. Add `matches' for count of matches.
9807 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
9808 to `prev-line' for line number of prev match endpt.
9809 Increment `matches' for every match. Print the number of
9810 matching lines in the header.
9811 (occur-context-lines): Rename `lines' to `curr-line'.
9812 Rename `prev-lines' to `prev-line'. (Bug#14017)
9813
3c9c9d38
JL
98142013-05-29 Juri Linkov <juri@jurta.org>
9815
9816 * replace.el (perform-replace): Add `skip-read-only-count',
9817 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9818 Increment them for corresponding conditions and report the number
9819 of skipped occurrences in the final message. (Bug#11746)
9820 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9821 (replace-string, replace-regexp): Doc fix.
9822
33e249a2
SM
98232013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
9824
8e399682
SM
9825 * emacs-lisp/trace.el (trace--read-args): Provide a default.
9826
33e249a2 9827 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
781b4af6 9828 prog-mode-map (bug#14504).
33e249a2 9829
f236dd84
LL
98302013-05-29 Leo Liu <sdl.web@gmail.com>
9831
9832 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9833 (octave-help): Small simplification.
9834
9835 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9836 off the highlight first.
9837
3694d13f
GM
98382013-05-29 Glenn Morris <rgm@gnu.org>
9839
03983bdc
GM
9840 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9841 Handle idlwave-last-system-routine-info-cons-cell being nil.
9842
bc74a74a
GM
9843 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9844 (idlwave-write-paths): Simplify via with-temp-buffer.
9845
8b394200
GM
9846 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9847 * emulation/cua-rect.el: Also load cua-base at run time.
9848
3694d13f
GM
9849 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9850 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9851 (cperl-imenu-on-info): Require imenu.
9852
336d7284
AM
98532013-05-28 Alan Mackenzie <acm@muc.de>
9854
9855 Handle "capitalised keywords" correctly.
33e249a2 9856 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
336d7284 9857
cb29c582
AG
98582013-05-28 Aidan Gauland <aidalgol@amuri.net>
9859
781b4af6 9860 * eshell/em-unix.el: Add -r option to cp.
cb29c582 9861
690e44b2
GM
98622013-05-28 Glenn Morris <rgm@gnu.org>
9863
e658d75c
GM
9864 * vc/vc-arch.el (vc-exec-after): Declare.
9865 (vc-switches): Autoload.
9866 * vc/vc-bzr.el: No need to require vc when compiling.
9867 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9868 (vc-resynch-buffer, vc-dir-refresh): Declare.
9869 (vc-setup-buffer, vc-switches): Autoload.
712b9732
GM
9870 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9871 (vc-resynch-buffer): Declare.
9872 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
e658d75c 9873 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
712b9732
GM
9874 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9875 (grep-read-regexp, grep-read-files, grep-expand-template)
9876 (vc-dir-refresh): Declare.
9877 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9878 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9879 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
e658d75c
GM
9880 * vc/vc-mtn.el (vc-exec-after): Declare.
9881 (vc-switches): Autoload.
9882 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9883 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9884 (vc-file-tree-walk): Declare.
712b9732
GM
9885 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9886 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9887 (vc-tag-precondition, vc-rename-master): Autoload.
e658d75c
GM
9888 * vc/vc-svn.el (vc-exec-after): Declare.
9889 (vc-switches, vc-setup-buffer): Autoload.
9890 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9891 Autoload.
9892 (vc-resynch-buffer): Declare.
9893
98e87fb3
GM
9894 * obsolete/fast-lock.el (byte-compile-warnings):
9895 Don't warn about obsolete features in this obsolete file.
9896
f5379553
GM
9897 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9898 Move definition before use.
9899
7a20ef83
GM
9900 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9901 (dun-unix-verbs): Remove dun-zippy.
9902 (dun-zippy): Remove function.
9903
690e44b2
GM
9904 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9905
3a52ccf7
JL
99062013-05-27 Juri Linkov <juri@jurta.org>
9907
9908 * replace.el (replace-search): New function with code moved out
9909 from `perform-replace'.
9910 (replace-highlight, replace-dehighlight): Move function definitions
9911 up closer to `replace-search'. (Bug#11746)
9912
d289938a
JL
99132013-05-27 Juri Linkov <juri@jurta.org>
9914
9915 * replace.el (perform-replace): Ignore invisible matches.
9916 In addition to checking `query-replace-skip-read-only', also
9917 filter out matches by calling `run-hook-with-args-until-failure'
9918 on `isearch-filter-predicates', and also check `search-invisible'
9919 for t or call `isearch-range-invisible'.
9920 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
9921
66fc57e3
JL
99222013-05-27 Juri Linkov <juri@jurta.org>
9923
9924 * isearch.el (isearch-filter-predicates): Rename from
9925 `isearch-filter-predicate'. Doc fix. (Bug#11378)
9926 (isearch-message-prefix): Display text from the property
9927 `isearch-message-prefix' of the currently active filters.
9928 (isearch-search): Don't compare `isearch-filter-predicate' with
9929 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
9930 on `isearch-filter-predicates'. Also check `search-invisible' for t
9931 or call `isearch-range-invisible'.
9932 (isearch-filter-visible): Make obsolete.
9933 (isearch-lazy-highlight-search):
9934 Call `run-hook-with-args-until-failure' on
9935 `isearch-filter-predicates' and use `isearch-range-invisible'.
9936
9937 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9938 `isearch-filter-predicates' instead of `funcall'ing
9939 `isearch-filter-predicate'.
9940 (Info-mode): Set `Info-isearch-filter' to
9941 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9942
9943 * dired-aux.el (dired-isearch-filter-predicate-orig):
9944 Remove variable.
9945 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9946 (dired-isearch-filenames-end): Add and remove
9947 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9948 instead of changing the value of `isearch-filter-predicate'.
9949 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9950 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9951 Put property `isearch-message-prefix' to "filename " on
9952 `dired-isearch-filter-filenames'.
9953
9954 * wdired.el (wdired-change-to-wdired-mode):
9955 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9956 locally instead of changing `isearch-filter-predicate'.
9957 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9958
f1a60a0f
DG
99592013-05-27 Dmitry Gutov <dgutov@yandex.ru>
9960
9961 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9962 return the commit hash (Bug#14459). Also set the
9963 `vc-git-detached' property.
9964 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9965 (vc-git-mode-line-string): Use the same help-echo format whether
9966 in detached mode or not, because we know the actual revision now.
9967 When in detached mode, shorten the revision to 7 chars.
9968
7f17cc40
SM
99692013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9970
9971 * emacs-lisp/easy-mmode.el (define-minor-mode):
9972 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9973 mode hook and provide a docstring.
9974
25c8401c
AM
99752013-05-27 Alan Mackenzie <acm@muc.de>
9976
9977 Remove spurious syntax-table text properties inserted by C-y.
9978 * progmodes/cc-mode.el (c-after-change): Also clear hard
9979 syntax-table property with value nil.
9980
dde84790
MA
99812013-05-27 Michael Albinus <michael.albinus@gmx.de>
9982
9983 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9984 when reading the events; the buffer layout shall not be changed.
9985
837fd9af
LL
99862013-05-27 Leo Liu <sdl.web@gmail.com>
9987
9988 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9989 New variable.
9990 (inferior-octave-directory-tracker): Automatically re-sync
9991 default-directory.
9992 (octave-help): Improve handling of 'See also'.
9993
4fd996b3
SM
99942013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
9995
416f1802
SM
9996 * doc-view.el: Minor naming convention tweaks.
9997 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9998
4fd996b3
SM
9999 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10000 even if there's no `display' property yet (bug#14435).
10001
a052ef3b
EZ
100022013-05-25 Eli Zaretskii <eliz@gnu.org>
10003
4fd996b3 10004 * subr.el (unmsys--file-name): Rename from reveal-filename.
a052ef3b
EZ
10005
10006 * Makefile.in (custom-deps, finder-data, autoloads)
10007 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10008 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10009 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10010
c9023370
SM
100112013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10012
10013 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10014 error-completion on the first 2 args of condition-case (bug#14446).
df76dacb 10015 Don't burp at EOB.
c9023370 10016
24d699fa
LL
100172013-05-25 Leo Liu <sdl.web@gmail.com>
10018
10019 * comint.el (comint-previous-matching-input): Do not flood the
10020 *Messages* buffer with trivial messages.
10021
17e5c0cc
SM
100222013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * progmodes/flymake.el (flymake-nop): Don't return a string.
10025 (flymake-set-at): Fix typo.
10026
10027 * simple.el (read--expression): New function, extracted from
10028 eval-expression. Set completion-at-point-functions (bug#14465).
10029 (eval-expression, eval-minibuffer): Use it.
10030
5d028165
XF
100312013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10032
10033 * progmodes/flymake.el (flymake-save-buffer-in-file)
10034 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10035 (flymake-selected-frame, flymake-log, flymake-ins-after)
10036 (flymake-set-at, flymake-get-buildfile-from-cache)
10037 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10038 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10039 Refine the doc string.
10040 (flymake-get-file-name-mode-and-masks): Reformat.
10041 (flymake-get-real-file-name-function): Fix a minor bug.
10042
7a1d7ba7
JL
100432013-05-24 Juri Linkov <juri@jurta.org>
10044
10045 * progmodes/grep.el (grep-mode-font-lock-keywords):
10046 Support =linenumber= format used by git-grep for lines with
10047 function names. (Bug#13549)
10048
650cff3d
SM
100492013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10052 0 after a semi-colon; it works better for smie-auto-fill.
10053 (octave--indent-new-comment-line): New function.
10054 (octave-indent-new-comment-line): Use it (indirectly).
10055 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10056 modify comment-line-break-function.
10057
10058 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10059 (smie-setup): Use add-function to set it.
10060
9631677d
SS
100612013-05-24 Sam Steingold <sds@gnu.org>
10062
10063 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10064 argument (before the `interactive' argument).
10065
50105835
SM
100662013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * image-mode.el (image-mode-winprops): Add winprops to
10069 image-mode-winprops-alist before running
10070 image-mode-new-window-functions.
10071 * doc-view.el (doc-view-new-window-function): Don't delay
10072 doc-view-goto-page via timers (bug#14435).
10073
57b9823e
TH
100742013-05-24 Tassilo Horn <tsdh@gnu.org>
10075
10076 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10077 (doc-view-desktop-save-buffer): New function.
10078 (doc-view-restore-desktop-buffer): New function.
50105835
SM
10079 (desktop-buffer-mode-handlers):
10080 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
57b9823e
TH
10081 handler.
10082 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10083 `desktop-save-buffer' function.
10084
91aafa16
MA
100852013-05-24 Michael Albinus <michael.albinus@gmx.de>
10086
10087 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10088 (tramp-gvfs-file-name-handler): Raise a user error when
10089 `tramp-gvfs-enabled' is nil.
10090 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10091 Do not raise a user error when loading package. (Bug#14447)
10092
ec076379
MA
10093 * net/xesam.el: Move to obsolete/.
10094
db785726
GM
100952013-05-24 Glenn Morris <rgm@gnu.org>
10096
af5c7606
GM
10097 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10098
e5d1916a
GM
10099 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10100
ded62b08
GM
10101 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10102 (Info-find-node, Man-getpage-in-background): Declare.
10103
9e614a3f
GM
10104 * mail/unrmail.el (unrmail):
10105 Replace obsolete detect-coding-with-priority.
10106
892f8ca3
GM
10107 * net/socks.el (socks-split-string): Use this rather than split-string.
10108 (socks-nslookup-host): Update for above change.
10109 (dynamic-choice, s5-dynamic-choice-match)
10110 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10111 Comment out unused code.
10112
3c291973
GM
10113 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10114 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10115 (gud-tooltip-echo-area): Make obsolete.
10116 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10117
43cc956b
GM
10118 * progmodes/js.el (js--optimize-arglist): Declare.
10119
dab49a3b
GM
10120 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10121
36b9d085
GM
10122 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10123 (ediff-window-C): Declare.
10124
e354ae76
GM
10125 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10126 Tweak requires to silence compiler.
10127
b8e57bf4
GM
10128 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10129 (he-search-string, he-tried-table, he-expand-list)
10130 (he-init-string, he-string-member, he-substitute-string)
10131 (he-reset-string): Declare.
10132
db785726
GM
10133 * obsolete/options.el (list-options): Use custom-variable-p,
10134 rather than obsolete alias.
10135
b3531901
SS
101362013-05-23 Sam Steingold <sds@gnu.org>
10137
10138 * simple.el (shell-command-on-region): Pass the `replace' argument
db785726 10139 down to `call-process-region' to comply with the doc as reported on
b3531901
SS
10140 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10141
bdda4c66
SM
101422013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10143
10144 * emacs-lisp/smie.el (smie-indent-forward-token)
10145 (smie-indent-backward-token): Handle string tokens (bug#14381).
10146
c43d45f9
TH
101472013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10148
fe1eb856
RS
10149 * ielm.el (ielm-menu): New menu.
10150 (inferior-emacs-lisp-mode): Set comment-start.
96172128 10151
fe1eb856
RS
101522013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10153
a12bf61e 10154 * textmodes/reftex.el (reftex-ref-style-toggle):
fe1eb856
RS
10155 Fix deactivate action.
10156
a12bf61e 10157 * textmodes/reftex-vars.el (reftex-ref-style-alist):
fe1eb856 10158 Add cleveref macros.
074dd971 10159
a12bf61e 10160 * textmodes/reftex-parse.el
c43d45f9
TH
10161 (reftex-locate-bibliography-files): Accept options for
10162 bibliography commands.
a12bf61e 10163 * textmodes/reftex-vars.el (reftex-bibliography-commands):
c43d45f9
TH
10164 Add addbibresource. Basic Biblatex support.
10165
7764286e
MA
101662013-05-23 Michael Albinus <michael.albinus@gmx.de>
10167
10168 * net/tramp-gvfs.el (top):
10169 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10170 when loading package. (Bug#14447)
10171
d361bc10
GM
101722013-05-23 Glenn Morris <rgm@gnu.org>
10173
8fa23984
GM
10174 * progmodes/js.el: No need to load comint when compiling.
10175 (ring-insert, comint-send-string, comint-send-input)
10176 (comint-last-input-end, ido-chop): Declare.
10177
a5c7df1a
GM
10178 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10179 * vc/ediff-mult.el: Adjust requires.
10180 (ediff-directories-internal, ediff-directory-revisions-internal)
10181 (ediff-patch-file-internal): Declare.
10182 * vc/ediff-ptch.el: Adjust requires.
10183 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10184 (ediff-find-file): Autoload.
10185 * vc/ediff-util.el: No need to load ediff when compiling.
10186 (ediff-regions-internal): Declare.
10187 * vc/ediff-wind.el: Adjust requires.
10188 (ediff-compute-toolbar-width): Define when compiling.
10189 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10190 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10191 (dired-get-filename, dired-get-marked-files)
10192 (ediff-last-dir-patch, ediff-patch-default-directory)
10193 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10194 (ediff-patch-buffer-internal): Declare.
10195
e2aec513
GM
10196 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10197 (ispell-process, ispell-buffer-local-words, lm-summary)
10198 (lm-section-start, lm-section-end): Declare.
10199 (checkdoc-ispell-init): Simplify.
10200
e68bbd7c
GM
10201 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10202 (he-string-member, he-reset-string, he-substitute-string): Declare.
10203
7efe0991
GM
10204 * eshell/em-ls.el: Adjust requires.
10205 (eshell-glob-regexp): Declare.
f87b1284
GM
10206 * eshell/em-tramp.el: Adjust requires.
10207 (eshell-parse-command): Autoload.
10208 * eshell/em-xtra.el: Adjust requires.
10209 (eshell-parse-command): Autoload.
10210 * eshell/esh-ext.el: Adjust requires.
10211 (eshell-parse-command, eshell-close-handles): Autoload.
10212 * eshell/esh-io.el: Adjust requires.
10213 (eshell-output-filter): Autoload.
10214 * eshell/esh-util.el: No need to load tramp when compiling.
10215 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10216 Declare.
10217 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10218 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10219 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10220 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10221 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10222 * eshell/esh-opt.el, eshell/esh-proc.el:
10223 * eshell/esh-var.el: Adjust requires.
10224 * eshell/eshell.el: Do not require esh-util twice.
10225 (eshell-add-input-to-history): Declare.
10226 (eshell-command): Check history module is active before using it.
10227
d361bc10
GM
10228 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10229
85d090a9
LL
102302013-05-22 Leo Liu <sdl.web@gmail.com>
10231
10232 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10233
5d0acd9d
MA
102342013-05-22 Michael Albinus <michael.albinus@gmx.de>
10235
10236 * autorevert.el (auto-revert-notify-add-watch)
10237 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10238 it indicates changes in file modification time.
10239
0cdffd7d
GM
102402013-05-22 Glenn Morris <rgm@gnu.org>
10241
ca5995ec
GM
10242 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10243 Always delete the autoloaded function from the noruntime and
10244 unresolved functions lists.
10245
6450907e
GM
10246 * allout.el: No need to load epa, epg, overlay when compiling.
10247 (epg-context-set-passphrase-callback, epg-list-keys)
10248 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10249 (epg-key-user-id-list): Declare.
10250
9c6906f6
GM
10251 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10252 (viper-set-parsing-style-toggling-macro)
10253 (viper-set-emacs-state-searchstyle-macros):
10254 Use called-interactively-p on Emacs.
10255 (viper-looking-back): Make it an obsolete alias. Update callers.
10256 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10257 Use looking-back rather than viper-looking-back.
10258 (viper-tmp-insert-at-eob, viper-enlarge-region)
10259 (viper-read-string-with-history, viper-register-to-point)
10260 (viper-append-to-register, viper-change-state-to-vi)
10261 (viper-backward-char-carefully, viper-forward-char-carefully)
10262 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10263 (viper-change-state-to-emacs): Declare.
10264 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10265 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10266 * emulation/viper-mous.el: Do not load viper-cmd.
10267 (viper-backward-char-carefully, viper-forward-char-carefully)
10268 (viper-forward-word, viper-adjust-window): Declare.
10269
5f70c169
GM
10270 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10271
b1b7f300
GM
10272 * progmodes/idlw-help.el (idlwave-help-fontify):
10273 Use called-interactively-p.
10274
f6ebbb46
GM
10275 * term/w32console.el (w32-get-console-codepage)
10276 (w32-get-console-output-codepage): Declare.
10277
0cdffd7d
GM
10278 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10279 Remove unnecessary declarations.
10280 (dframe-message): Doc fix.
10281
10282 * info.el (dframe-select-attached-frame, dframe-current-frame):
10283 Declare.
10284
10285 * speedbar.el (speedbar-message): Make it an obsolete alias.
10286 Update all callers.
10287 (speedbar-with-attached-buffer)
10288 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10289 (speedbar-with-writable): Use backquote.
10290 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10291 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10292 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10293 rather than speedbar- aliases.
10294 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10295 (speedbar-make-specialized-keymap, speedbar-insert-button)
10296 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10297 (speedbar-do-function-pointer): Declare.
10298 (rmail-speedbar-button, rmail-speedbar-find-file)
10299 (rmail-speedbar-move-message):
10300 Use dframe-with-attached-buffer rather than speedbar- alias.
10301 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10302 (dframe-message, speedbar-make-specialized-keymap)
10303 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10304 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10305 (speedbar-insert-button, dframe-select-attached-frame)
10306 (dframe-maybee-jump-to-attached-frame)
10307 (speedbar-change-initial-expansion-list)
10308 (speedbar-previously-used-expansion-list-name): Declare.
10309 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10310 Use dframe-message, dframe-with-attached-buffer rather than
10311 speedbar- aliases.
10312 (gud-sentinel): Silence compiler.
10313 * progmodes/vhdl-mode.el (speedbar-refresh)
10314 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10315 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10316 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10317 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10318 (speedbar-file-lists, speedbar-make-tag-line)
10319 (speedbar-line-directory, speedbar-goto-this-file)
10320 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10321 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10322 (speedbar-make-button, speedbar-reset-scanners)
10323 (speedbar-files-item-info, speedbar-line-text)
10324 (speedbar-find-file-in-frame, speedbar-set-timer)
10325 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10326 (speedbar-with-writable): Do not (re)define it.
10327 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10328 rather than speedbar- alias.
10329
ee44b62a
LL
103302013-05-21 Leo Liu <sdl.web@gmail.com>
10331
10332 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10333 menu items.
10334 (octave-mode): Tweak fill-nobreak-predicate.
10335 (inferior-octave-startup): Check process to avoid infinite loop.
10336 (inferior-octave): Pop to buffer first to show abornmal process
10337 exit information.
10338
640f050f
GM
103392013-05-21 Glenn Morris <rgm@gnu.org>
10340
79458038
GM
10341 * printing.el (pr-menu-bar): Define when compiling.
10342
9cc3e83f
LL
103432013-05-21 Leo Liu <sdl.web@gmail.com>
10344
10345 * progmodes/octave.el (octave-auto-fill): Remove.
10346 (octave-indent-new-comment-line): Improve.
10347 (octave-mode): Use auto fill mode through
4f405069 10348 comment-line-break-function and fill-nobreak-predicate.
9cc3e83f 10349 (octave-goto-function-definition): Support DEFUN_DLD.
4f405069 10350 (octave-beginning-of-defun): Small tweak.
9cc3e83f
LL
10351 (octave-help): Show parent directory.
10352
f440830d
GM
103532013-05-21 Glenn Morris <rgm@gnu.org>
10354
10355 * files.el (dired-unmark):
10356 * progmodes/gud.el (gdb-input): Update declarations.
10357
10358 * calculator.el (electric, ehelp): No need to load when compiling.
10359 (Electric-command-loop, electric-describe-mode): Declare.
10360
10361 * doc-view.el (doc-view-current-converter-processes): Move before use.
10362
10363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10364 Move MODE-set-explicitly definition before use.
10365
10366 * international/mule-diag.el (mule-diag):
10367 Don't use obsolete window-system-version.
10368
10369 * mail/feedmail.el (smtpmail): No need to load when compiling.
10370 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10371
10372 * mail/mail-utils.el (rfc822): No need to load when compiling.
10373 (rfc822-addresses): Autoload it.
10374 (mail-strip-quoted-names): Trivial simplification.
10375
10376 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10377 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10378
10379 * net/snmp-mode.el (tempo): Don't duplicate requires.
10380
10381 * progmodes/prolog.el (info): No need to load when compiling.
10382 (comint): Require before shell requires it.
10383 (Info-goto-node): Autoload it.
10384 (Info-follow-nearest-node): Declare.
10385 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10386
10387 * textmodes/artist.el (picture-mode-exit): Declare.
10388
10389 * textmodes/reftex-parse.el (reftex-parse-from-file):
10390 Trivial rewrite so the compiler can parse it better.
10391
b4da2cbb
LL
103922013-05-20 Leo Liu <sdl.web@gmail.com>
10393
10394 * progmodes/octave.el (octave-help-mode-map)
10395 (octave-help-mode-finish-hook): New variables.
10396 (octave-help-mode, octave-help-mode-finish): New functions.
10397 (octave-help): Use octave-help-mode.
10398
33c0f65b
GM
103992013-05-20 Glenn Morris <rgm@gnu.org>
10400
10401 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10402
1a0a0a8a
DG
104032013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10404
10405 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10406 start at point, so that expansion starting right after opening
10407 slash in a regexp is recognized.
10408 (ruby-syntax-before-regexp-re): New defvar, extracted from
10409 ruby-syntax-propertize-function. Since the value of this regexp
10410 is looked up at runtime now, we should be able to turn
10411 `ruby-syntax-methods-before-regexp' into a defcustom later.
10412 (ruby-syntax-propertize-function): Split regexp matching into two
10413 parts, for opening and closing slashes. That allows us to skip
10414 over string interpolations and support multiline regexps.
10415 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10416 for them, which calls `ruby-syntax-propertize-expansion'.
10417 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10418 call to `ruby-syntax-propertize-function'.
10419 (ruby-syntax-propertize-expansion): Extracted from
10420 `ruby-syntax-propertize-expansions'. Handles one expansion.
1a0a0a8a
DG
10421 (ruby-syntax-propertize-percent-literal): Leave point right after
10422 the percent symbol, so that the expression expansion rule can
10423 propertize the contents.
462388b6
DG
10424 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10425 heredoc openers.
10426 (ruby-syntax-propertize-expansions): Remove.
1a0a0a8a 10427
c1a6c0a4
JL
104282013-05-18 Juri Linkov <juri@jurta.org>
10429
10430 * man.el (Man-default-man-entry): Remove `-' from the end
10431 of the default value. (Bug#14400)
10432
8051fccd
GM
104332013-05-18 Glenn Morris <rgm@gnu.org>
10434
10435 * comint.el (comint-password-prompt-regexp):
10436 Allow "password for XXX" where XXX contains colons (eg https://...).
10437
5e80b74f
LL
104382013-05-18 Leo Liu <sdl.web@gmail.com>
10439
10440 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
f6f87d33 10441 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
5e80b74f
LL
10442 (octave-source-directories): Don't check process.
10443 (octave-source-directories, octave-find-definition): Doc fix.
10444
521a54c5
GM
104452013-05-18 Glenn Morris <rgm@gnu.org>
10446
86a94b05
GM
10447 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10448 Remove backspace/delete bindings. (Bug#14392)
10449
521a54c5
GM
10450 * cus-dep.el (custom-make-dependencies): Sort the output.
10451 (custom-versions-load-alist): Convert comment to doc.
10452
42caeb89
LL
104532013-05-17 Leo Liu <sdl.web@gmail.com>
10454
10455 * newcomment.el (comment-search-backward): Stricter in finding
10456 comment start. (Bug#14303)
10457
10458 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10459 (octave-comment-start-skip): Properly anchored.
10460
e219dd97
LL
104612013-05-17 Leo Liu <sdl.web@gmail.com>
10462
fe1eb856
RS
10463 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10464 Clean up when turned off. (Bug#14395)
e219dd97
LL
10465 (smie--highlight-matching-block-overlay): No longer buffer-local.
10466 (smie-highlight-matching-block): Adjust.
10467
dc5dcb4b
PE
104682013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10469
10470 Doc string fix for "nanoseconds" (Bug#14406).
10471 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10472 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10473
1db165f0
JB
104742013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10475
10476 * calc/calc-units.el (math-extract-units): Preserve powers
10477 of units.
10478
c7a8fcac
LL
104792013-05-17 Leo Liu <sdl.web@gmail.com>
10480
10481 * subr.el (delete-consecutive-dups): New function.
10482 * ido.el (ido-set-matches-1): Use it.
10483 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10484 * ido.el (ido-remove-consecutive-dups): Remove.
10485
f678b18a
SM
104862013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10487
10488 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10489 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10490 regexp-opt's `words'.
10491
ebfe68e8
LL
104922013-05-16 Leo Liu <sdl.web@gmail.com>
10493
10494 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10495 (smie--highlight-matching-block-overlay)
10496 (smie--highlight-matching-block-lastpos)
10497 (smie--highlight-matching-block-timer): New variables.
10498 (smie-highlight-matching-block): New function.
10499 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10500 (smie-setup): Conditionally enable smie-blink-matching-open.
10501
bc8bc17d
WS
105022013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10503
10504 Sync with upstream verilog-mode r840.
10505 * progmodes/verilog-mode.el (verilog-mode-version)
10506 (verilog-mode-release-date): Update.
10507 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10508 (verilog-sig-tieoff): Fix string error on
10509 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10510 (verilog-read-decls): Fix parameters confusing
10511 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10512
df065a0b
EZ
105132013-05-16 Eli Zaretskii <eliz@gnu.org>
10514
10515 * subr.el (reveal-filename): New function.
10516
10517 * loadup.el: Compute Emacs executable versions on MS-Windows,
10518 where executables have the .exe extension. Add a hard link
10519 emacs-XX.YY.ZZ.exe on MS-Windows.
10520
10521 * Makefile.in (XARGS_LIMIT): New variable.
10522 (custom-deps, finder-data, autoloads)
10523 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10524 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10525 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10526 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10527
2d4bf34b
LL
105282013-05-16 Leo Liu <sdl.web@gmail.com>
10529
10530 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10531 (octave-mode-menu, octave-mode-map): Remove its uses.
10532
6b9c2d85
RZ
105332013-05-16 Reto Zimmermann <reto@gnu.org>
10534
10535 Sync with upstream vhdl mode v3.34.2.
10536 * progmodes/vhdl-mode.el: Use `push' throughout.
10537 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10538 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10539 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10540 (vhdl-actual-generic-name): New option to derive actual generic name.
10541 (vhdl-port-paste-signals): Replace formal by actual generics.
10542 (vhdl-beautify): New name for old group vhdl-align. Update users.
10543 (vhdl-beautify-options): New option.
10544 (vhdl-last-input-event): New compat alias. Use throughout.
10545 (vhdl-goto-line): Replace user level function `goto-line'.
10546 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10547 vhdl-fix-statement-buffer.
10548 (vhdl-create-mode-menu): Add some entries.
10549 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10550 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10551 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10552 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10553 to force statements on one line.
10554 (vhdl-remove-trailing-spaces-region):
10555 New, split from vhdl-remove-trailing-spaces.
10556 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10557 Respect vhdl-beautify-options.
10558 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10559 (vhdl-update-sensitivity-list): Not add with index if exists without.
10560 Not include array index with signal. Ignore keywords in comments.
10561 (vhdl-get-visible-signals): Regexp tweaks.
10562 (vhdl-template-component-inst): Handle empty library.
10563 (vhdl-template-type): Add template for 'enum' type.
10564 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10565 Use vhdl-replace-string.
10566 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10567 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10568 (vhdl-speedbar-initialize): Update for above name change.
10569 (vhdl-compose-wire-components): Fix in handling of constants.
10570 (vhdl-error-regexp-emacs-alist): New variable.
10571 (vhdl-error-regexp-add-emacs): New function;
10572 adds support for new compile.el (Emacs 22+)
10573 (vhdl-generate-makefile-1): Change target order for single lib. units.
10574 Allow use of absolute file names.
10575
9df4ec5e
LL
105762013-05-16 Leo Liu <sdl.web@gmail.com>
10577
10578 * simple.el (prog-indent-sexp): Indent enclosing defun.
10579
f5ba00a6
GM
105802013-05-15 Glenn Morris <rgm@gnu.org>
10581
ed8be7ff
GM
10582 * cus-start.el (show-trailing-whitespace): Move to editing basics.
10583 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10584 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10585 (whitespace-highlight): Move to whitespace group.
10586
10587 * comint.el (comint-source):
10588 * pcmpl-linux.el (pcmpl-linux):
10589 * shell.el (shell-faces):
10590 * eshell/esh-opt.el (eshell-opt):
10591 * international/ccl.el (ccl): Remove empty custom groups.
10592
10593 * completion.el (dynamic-completion-mode):
10594 * jit-lock.el (jit-lock-debug-mode):
10595 * minibuffer.el (completion-in-region-mode):
10596 * type-break.el (type-break-mode-line-message-mode)
10597 (type-break-query-mode):
10598 * emulation/tpu-edt.el (tpu-edt-mode):
10599 * progmodes/subword.el (global-subword-mode, global-superword-mode):
10600 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10601 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10602
10603 * term/xterm.el (xterm): Change parent group to terminals.
10604
10605 * master.el (master): Remove empty custom group.
10606 (master-mode): Remove unused :group argument.
10607 * textmodes/refill.el (refill): Remove empty custom group.
10608 (refill-mode): Remove unused :group argument.
10609
10610 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10611
82a7c41b
GM
10612 * cus-dep.el: Provide a feature.
10613 (custom-make-dependencies): Ignore dotfiles (dir-locals).
f5ba00a6
GM
10614 Don't mistakenly ignore files whose basenames match a basename
10615 from preloaded-file-list (eg cedet/ede/simple.el).
82a7c41b 10616 Add a fallback method for getting :group.
f5ba00a6 10617
6d65486d
JL
106182013-05-15 Juri Linkov <juri@jurta.org>
10619
da547b32
JL
10620 * isearch.el (isearch-char-by-name): Rename from
10621 `isearch-insert-char-by-name'. Doc fix.
10622 (isearch-forward): Mention `isearch-char-by-name' in
10623 the docstring. (Bug#13348)
10624
6d65486d
JL
10625 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10626 `exit-minibuffer' instead of
10627 `isearch-nonincremental-exit-minibuffer'.
10628 (isearch-edit-string): Remove mention of
10629 `isearch-nonincremental-exit-minibuffer' from docstring.
10630 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10631 (isearch-forward-exit-minibuffer)
10632 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
10633
c9990474
SM
106342013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10635
6e911150
SM
10636 * loadup.el: Just use unversioned DOC.
10637
c9990474
SM
10638 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10639 literals as extending to EOB.
10640 (nxml-last-fontify-end): Remove unused variable.
10641 (nxml-after-change1): Use with-silent-modifications.
10642 (nxml-extend-after-change-region): Simplify.
10643 (nxml-extend-after-change-region1): Remove function.
10644 (nxml-after-change1): Don't adjust for dependent regions.
10645 (nxml-fontify-matcher): Simplify.
10646 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10647 (xmltok-add-dependent): Remove function.
10648 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10649 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10650 (xmltok-scan-prolog-after-processing-instruction-open): Treat
10651 unclosed <[[, <?, comment, and other literals as extending to EOB.
10652 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10653 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10654 Remove functions.
10655 (rng-do-some-validation-1): Don't mark dependent regions.
10656 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10657 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10658 (nxml-clear-dependent-regions): Remove functions.
10659 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10660 (nxml-ensure-scan-up-to-date):
10661 Don't clear&mark dependent regions.
10662
e3772e98
LL
106632013-05-15 Leo Liu <sdl.web@gmail.com>
10664
c9990474
SM
10665 * progmodes/octave.el (octave-goto-function-definition):
10666 Improve and fix callers.
e3772e98 10667
5ac2eb34
SM
106682013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10669
c46c57b0
SM
10670 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10671 the setter (bug#14387).
10672
5ac2eb34
SM
10673 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10674 surrounding group (bug#14402).
10675
180ed218
JL
106762013-05-14 Juri Linkov <juri@jurta.org>
10677
10678 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10679 (Bug#14390)
10680
0ac0fecb
GM
106812013-05-14 Glenn Morris <rgm@gnu.org>
10682
10683 * progmodes/f90.el (f90-imenu-generic-expression):
10684 Fix typo in 2013-05-08 change. (Bug#14402)
10685
2e78e6a7
JPG
106862013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10687
5ac2eb34
SM
10688 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10689 Remove signals for which replies are never received.
2e78e6a7 10690
53267cca
JPG
106912013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10692
10693 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10694 (gdb-handler-alist, gdb-handler-number): Remove variables.
10695 (gdb-handler-list): New variable.
10696 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10697 (gdb-pending-handler-p, gdb-handle-reply)
10698 (gdb-remove-all-pending-triggers): New functions.
10699 (gdb-discard-unordered-replies): New defcustom.
10700 (gdb-handler): New defstruct.
10701 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
10702 instead of gdb-pending-triggers. Update docstring.
10703 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
10704 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10705 (gdb-var-update-handler, def-gdb-auto-update-trigger)
10706 (def-gdb-auto-update-handler, gdb-get-changed-registers)
10707 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10708 (gdb-frame-handler): Pending triggers are now automatically managed.
10709 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10710 Remove argument.
10711 (gdb-input): Automatically handles pending triggers. Update docstring.
10712 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10713 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10714 Update comments.
10715 (gdb-done-or-error): Now use gdb-handle-reply.
10716
d04ce803
JPG
107172013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
10718
10719 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10720 gdb-debug-log.
10721
0114073a
GM
107222013-05-14 Glenn Morris <rgm@gnu.org>
10723
10724 * subr.el (user-emacs-directory-warning): New option.
10725 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
10726
4d25fd7e
LL
107272013-05-14 Leo Liu <sdl.web@gmail.com>
10728
10729 * progmodes/octave.el (octave-font-lock-keywords): Fix error
10730 during redisplay.
10731 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
6073d8f4
LL
10732 (octave-font-lock-texinfo-comment): Fix invalid search bound
10733 error: wrong side of point.
4d25fd7e 10734
27c8b6eb
GM
107352013-05-14 Glenn Morris <rgm@gnu.org>
10736
61aaeb01
GM
10737 * progmodes/flymake.el (flymake-xml-program): New option.
10738 (flymake-xml-init): Use it.
10739
5bf90bc5
GM
10740 * term/xterm.el: Provide a feature.
10741
10742 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
27c8b6eb 10743
f4c7dfd2
GM
107442013-05-13 Glenn Morris <rgm@gnu.org>
10745
10746 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10747 Add compat aliases as a hack workaround. (Bug#14384)
10748
2aeb3a1d
LL
107492013-05-13 Leo Liu <sdl.web@gmail.com>
10750
b0e069c2
LL
10751 * progmodes/octave.el (octave-indent-comment): Fix indentation for
10752 ###, and %!.
f5a9432f
LL
10753 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10754 C-M-q.
b0e069c2
LL
10755 (octave-comment-start-skip): Include %!.
10756 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
2aeb3a1d 10757
30ea8374
LL
107582013-05-12 Leo Liu <sdl.web@gmail.com>
10759
10760 * progmodes/octave.el (inferior-octave-startup): Store the value
10761 of __octave_srcdir__ for octave-source-directories.
10762 (inferior-octave-check-process): New function refactored out of
10763 inferior-octave-send-list-and-digest.
10764 (octave-source-directories)
10765 (octave-find-definition-filename-function): New variables.
10766 (octave-source-directories)
10767 (octave-find-definition-default-filename): New functions.
10768 (octave-find-definition): Improve to find functions implemented in C++.
10769
472a3834
GM
107702013-05-12 Glenn Morris <rgm@gnu.org>
10771
10772 * calendar/diary-lib.el (diary-outlook-format-1):
10773 Don't include dayname in the output. (Bug#14349)
10774
3191b52f
GM
107752013-05-11 Glenn Morris <rgm@gnu.org>
10776
0060ac73
GM
10777 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10778
3191b52f
GM
10779 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10780 Treat cc-provide like provide.
10781
e065ba74
KR
107822013-05-11 Kevin Ryde <user42@zip.com.au>
10783
10784 * cus-dep.el (custom-make-dependencies):
10785 Use generated-autoload-load-name for the sake of files such
10786 such cedet/semantic/bovine/c.el, where the base file name
10787 is not in load-path. (Bug#5277)
10788
36f84c37
GM
107892013-05-11 Glenn Morris <rgm@gnu.org>
10790
10791 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10792 Provide features.
10793
c8730c3a
LL
107942013-05-11 Leo Liu <sdl.web@gmail.com>
10795
10796 * progmodes/octave.el (octave-indent-comment): Improve.
10797 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
5ac2eb34
SM
10798 (octave-eldoc-function-signatures, octave-eldoc-function):
10799 New functions.
c8730c3a
LL
10800 (octave-mode, inferior-octave-mode): Add eldoc support.
10801
212e29f2
RS
108022013-05-11 Richard Stallman <rms@gnu.org>
10803
10804 * epa.el (epa-decrypt-file): Take output file name as argument
10805 and read it using `interactive'.
10806
083fe0d7
LL
108072013-05-11 Leo Liu <sdl.web@gmail.com>
10808
10809 * progmodes/octave.el (octave-beginning-of-line)
10810 (octave-end-of-line): Check before using up-list because it jumps
10811 out of more syntactic contructs since moving to smie.
9dbdb67e
LL
10812 (octave-indent-comment): New function.
10813 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
6980b0ca
LL
10814 (octave-begin-keywords, octave-end-keywords)
10815 (octave-reserved-words, octave-smie-bnf-table)
10816 (octave-smie-rules): Add new keywords from Octave 3.6.4.
083fe0d7 10817
8582e4c4
GM
108182013-05-11 Glenn Morris <rgm@gnu.org>
10819
f20def1f
GM
10820 * faces.el (internal-face-x-get-resource):
10821 * frame.el (ns-display-monitor-attributes-list):
d78abe37 10822 * calc/calc-aent.el (math-to-radians-2):
f20def1f 10823 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
d78abe37 10824 Fix declarations.
f20def1f 10825
445f95e2
GM
10826 * calc/calc-menu.el: Make it loadable in isolation.
10827
10828 * net/eudcb-bbdb.el: Make it loadable without bbdb.
10829 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10830 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10831 (eudc-bbdb-query-internal): Require 'bbdb.
10832
99fb2756
GM
10833 * lpr.el (lpr-headers-switches):
10834 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10835
10836 * progmodes/sql.el (sql-login-params): Fix and improve :type.
10837
0da7ad96
GM
10838 * emulation/edt-mapper.el: In batch mode, error rather than hang.
10839
8582e4c4
GM
10840 * term.el (term-set-escape-char): Make it idempotent.
10841
f71c50d0
LL
108422013-05-10 Leo Liu <sdl.web@gmail.com>
10843
5ac2eb34
SM
10844 * progmodes/octave.el (inferior-octave-completion-table):
10845 No longer a function and all uses changed. Use cache to speed up
f71c50d0
LL
10846 completion due to bug#11906.
10847 (octave-beginning-of-defun): Re-write to be more general.
10848
d5837773
GM
108492013-05-10 Glenn Morris <rgm@gnu.org>
10850
10851 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10852
027c0f75
SM
108532013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * comint.el (comint-redirect-send-command-to-process): Use :around
10856 rather than :override for comint-redirect-filter.
10857 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10858 Call it instead of comint-redirect-original-filter-function (which
10859 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
10860
4465bfb4
JD
108612013-05-09 Jan Djärv <jan.h.d@swipnet.se>
10862
10863 * frame.el (display-monitor-attributes-list): Add NS case.
10864 (ns-display-monitor-attributes-list): Declare.
10865
2d809ffa 108662013-05-09 Ulrich Mueller <ulm@gentoo.org>
b01682fb
UM
10867
10868 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
10869
e54eeb9b
GM
108702013-05-09 Glenn Morris <rgm@gnu.org>
10871
56cd351d
GM
10872 * international/fontset.el (vertical-centering-font-regexp):
10873 Set standard-value.
10874
d84b6108
GM
10875 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10876
a931698a
GM
10877 * bookmark.el (bookmark-search-delay):
10878 * cus-start.el (vertical-centering-font-regexp):
10879 * ps-mule.el (ps-mule-font-info-database-default):
10880 * ps-print.el (ps-default-fg, ps-default-bg):
10881 * type-break.el (type-break-good-break-interval):
10882 * whitespace.el (whitespace-indentation-regexp)
10883 (whitespace-space-after-tab-regexp):
10884 * emacs-lisp/testcover.el (testcover-1value-functions)
10885 (testcover-noreturn-functions, testcover-progn-functions)
10886 (testcover-prog1-functions):
10887 * emulation/viper-init.el (viper-emacs-state-cursor-color):
10888 * eshell/em-glob.el (eshell-glob-translate-alist):
10889 * play/tetris.el (tetris-tty-colors):
10890 * progmodes/cpp.el (cpp-face-default-list):
10891 * progmodes/flymake.el (flymake-allowed-file-name-masks):
10892 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10893 (idlwave-help-browser-generic-args):
10894 * progmodes/make-mode.el (makefile-special-targets-list):
10895 * progmodes/python.el (python-shell-virtualenv-path):
10896 * progmodes/verilog-mode.el (verilog-active-low-regexp)
10897 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10898 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10899 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10900 * textmodes/reftex-vars.el (reftex-format-label-function):
10901 * textmodes/remember.el (remember-diary-file): Fix custom types.
10902
e54eeb9b
GM
10903 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10904 Add :version.
10905
455851dd
LL
109062013-05-09 Leo Liu <sdl.web@gmail.com>
10907
10908 * progmodes/octave.el (inferior-octave-completion-at-point):
083fe0d7 10909 Restore file completion. (Bug#14300)
455851dd
LL
10910 (inferior-octave-startup): Fix incorrect highlighting for the
10911 first prompt.
10912
a9e4425b
SM
109132013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * progmodes/ruby-mode.el: First cut at SMIE support.
10916 (ruby-use-smie): New var.
10917 (ruby-smie-grammar): New constant.
10918 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10919 (ruby-smie--forward-token, ruby-smie--backward-token)
10920 (ruby-smie-rules): New functions.
10921 (ruby-mode-variables): Setup SMIE if applicable.
10922
060ca408
EZ
109232013-05-08 Eli Zaretskii <eliz@gnu.org>
10924
10925 * simple.el (line-move-visual): Signal beginning/end of buffer
10926 only if vertical-motion moved less than it was requested. Avoids
10927 silly incorrect error messages when there are display strings with
10928 multiple newlines at EOL.
10929
1d5963cc
SM
109302013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
10931
10932 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10933 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10934 (prolog-char-quote-workaround):
10935 * progmodes/cperl-mode.el (cperl-under-as-char):
10936 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
c7064f05
JB
10937 Mark as obsolete.
10938 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
1d5963cc
SM
10939 their declaration.
10940 (vhdl-mode-syntax-table-init): Remove.
10941
c9990474
SM
10942 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10943 last change.
1d5963cc
SM
10944
10945 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10946 syntax for "_".
10947 (ld-script-font-lock-keywords):
10948 Change regexps to use things like \_< and \_>.
10949
10950 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10951 Change all regexps to use things like \_< and \_>.
10952
10953 * progmodes/autoconf.el (autoconf-definition-regexp)
10954 (autoconf-font-lock-keywords, autoconf-current-defun-function):
10955 Handle a _ with symbol syntax.
10956 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10957
c9990474
SM
10958 * progmodes/ada-mode.el (ada-mode-abbrev-table):
10959 Consolidate declaration.
1d5963cc
SM
10960 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10961 the declaration.
10962 (ada-create-syntax-table): Remove.
10963 (ada-capitalize-word): Don't mess with the syntax of "_" since it
10964 already has the right syntax nowadays.
10965 (ada-goto-next-word): Don't change the syntax of "_".
10966
10967 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10968 with-wrapper-hook.
10969
72d3cfca
SS
109702013-05-08 Sam Steingold <sds@gnu.org>
10971
10972 * thingatpt.el (thing-at-point): Accept optional second argument
10973 NO-PROPERTIES to strip the text properties from the return value.
10974 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10975 to `thing-at-point' instead of stripping the properties ourselves.
10976 Also, when `thing-at-point' fails to find a url, prepend "http://"
10977 to the filename at point on the assumption that the user is
10978 pointing at something like gnu.org/gnu.
10979
5cb15713
JB
109802013-05-08 Juanma Barranquero <lekktu@gmail.com>
10981
10982 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10983 * faces.el (crm-separator):
10984 Silence byte-compiler.
10985
10986 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10987 (tool-bar-map): Remove unneeded defvars.
10988
ea78b95b
LL
109892013-05-08 Leo Liu <sdl.web@gmail.com>
10990
10991 Re-work a fix for bug#10994 based on Le Wang's patch.
10992 * ido.el (ido-remove-consecutive-dups): New helper.
10993 (ido-completing-read): Use it.
10994 (ido-chop): Revert fix for bug#10994.
10995
dc7466df
AS
109962013-05-08 Adam Spiers <emacs@adamspiers.org>
10997
10998 * cus-edit.el (custom-save-variables):
10999 Pretty-print long values. (Bug#14187)
11000
9ecf672a
GM
110012013-05-08 Glenn Morris <rgm@gnu.org>
11002
11003 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11004 (m4-mode-syntax-table): Init in the defvar.
11005 (m4-mode-abbrev-table): Let define-derived-mode define it.
11006
3f555be8
TT
110072013-05-08 Tom Tromey <tromey@redhat.com>
11008
11009 * progmodes/m4-mode.el (m4-mode-syntax-table):
11010 Do not treat "_" as word constituent. (Bug#14167)
11011
7cc8ae06
GM
110122013-05-07 Glenn Morris <rgm@gnu.org>
11013
4f58bc06
GM
11014 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11015 Remove explicit eshell-isearch-cancel-map.
11016
7cc8ae06
GM
11017 * progmodes/f90.el (f90-smart-end-names): New option.
11018 (f90-smart-end): Doc fix.
11019 (f90-end-block-optional-name): New constant.
11020 (f90-block-match): Respect f90-smart-end-names.
11021
ceb57e59
SM
110222013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11023
11024 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11025 about implicit semi-colons (bug#14218).
11026
4e3f9230
YM
110272013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11028
11029 * frame.el (display-monitor-attributes-list)
11030 (frame-monitor-attributes): New functions.
11031
203a5572
LL
110322013-05-06 Leo Liu <sdl.web@gmail.com>
11033
11034 * progmodes/octave.el (octave-syntax-propertize-function): Change
11035 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11036 (octave-font-lock-keywords): Use octave-operator-regexp.
5ac2eb34 11037 (octave-completion-at-point): Rename from
203a5572
LL
11038 octave-completion-at-point-function.
11039 (inferior-octave-directory-tracker): Robustify.
11040 (octave-text-functions): Remove and fix its uses. No such things
11041 any more.
11042
ee6cff99
SM
110432013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * emacs-lisp/trace.el (trace--display-buffer): New function.
11046 (trace-make-advice): Use it.
11047
32985194
JL
110482013-05-06 Juri Linkov <juri@jurta.org>
11049
11050 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11051 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11052 Doc fix.
11053 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11054 in the help string. (Bug#12985)
11055
a1c700de
KD
110562013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11057
11058 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11059
c67c0839
SM
110602013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11061
323885fd
SM
11062 * progmodes/perl-mode.el: Add support for here documents.
11063 (perl-syntax-propertize-function): Match here-doc markers.
11064 (perl-syntax-propertize-special-constructs): Find their end.
11065 (perl-imenu-generic-expression): Use [:alnum:].
11066
c67c0839
SM
11067 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11068 (advice--add-function): Refresh the advice if already present
11069 (bug#14317).
11070
d491e7a8
IA
110712013-05-06 Ivan Andrus <darthandrus@gmail.com>
11072
11073 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11074
ddf9925e
GM
110752013-05-06 Glenn Morris <rgm@gnu.org>
11076
7cc3af27
GM
11077 * w32-fns.el (w32-charset-info-alist): Declare.
11078
16e343d6
GM
11079 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11080 of its defcustom properties.
11081 (eshell-cmpl-initialize): No need to load pcomplete.
11082
7d889a47
GM
11083 * generic-x.el: No need to require comint when compiling.
11084
ddf9925e
GM
11085 * net/eudc-export.el: Make it loadable without bbdb.
11086 (top-level): Use require rather than load-library.
11087 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11088 (eudc-batch-export-records-to-bbdb)
11089 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11090 Require bbdb.
11091
1e2c18df
SM
110922013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11093
11094 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11095 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11096 some tweaks, instead.
11097
02502a5f
LL
110982013-05-05 Leo Liu <sdl.web@gmail.com>
11099
11100 * progmodes/octave.el (octave-font-lock-keywords)
11101 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11102 (inferior-octave-send-list-and-digest): Improve error message.
11103 (octave-mode, inferior-octave-mode): Use setq-local.
11104 (octave-help): Set info-lookup-mode.
11105
0dc04f42
RS
111062013-05-05 Richard Stallman <rms@gnu.org>
11107
6c54491c
RS
11108 * vc/compare-w.el (compare-windows-whitespace):
11109 Treat no-break space as whitespace.
11110
0dc04f42
RS
11111 * mail/rmailsum.el (rmail-summary-rmail-update):
11112 Detect empty summary and don't change selected message.
11113 (rmail-summary-goto-msg): Likewise.
11114
df8f35df
RS
11115 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11116 Doc fixes, rename args.
11117
5356e1a3
AM
111182013-05-05 Alan Mackenzie <acm@muc.de>
11119
11120 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11121
d44014cb
JL
111222013-05-05 Juri Linkov <juri@jurta.org>
11123
11124 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11125 to not add the length of the summary segment to the return value.
11126 (Bug#14125)
11127
c129b51f
LL
111282013-05-05 Leo Liu <sdl.web@gmail.com>
11129
11130 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11131 (inferior-octave-output-filter): Remove.
11132 (octave-send-region, inferior-octave-startup): Fix callers.
11133 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11134 (octave-binary-file-extensions): New user variable.
11135 (octave-find-definition): Confirm if opening binary files.
11136 (octave-help-file): Use octave-find-definition to get the binary
11137 confirmation.
11138 (octave-help): Adjust for octave-help-file change.
11139
aa7dab97
SM
111402013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11143 Merge the two entries that handle function definitions.
11144 (pascal--syntax-propertize): New const.
11145 (pascal-mode): Use it. Use setq-local.
11146
fd3a9a6b
GM
111472013-05-04 Glenn Morris <rgm@gnu.org>
11148
11149 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11150 (diary-from-outlook): Respect diary-from-outlook-function.
11151
30c7e542
SM
111522013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11155 Move the declaration from C.
11156 (read-minibuffer, eval-minibuffer): Move from C.
11157 (completion-setup-function): Avoid minibuffer-completion-contents.
11158
b54f978b
LL
111592013-05-03 Leo Liu <sdl.web@gmail.com>
11160
11161 * progmodes/octave.el (octave-font-lock-keywords): Do not
11162 dehighlight 'end' in comments or strings.
30c7e542
SM
11163 (octave-completing-read, octave-goto-function-definition):
11164 New helpers.
d4d0f9b3
LL
11165 (octave-help-buffer): New user variable.
11166 (octave-help-file, octave-help-function): New button types.
11167 (octave-help): New command and bind it to C-h ;.
11168 (octave-find-definition): New command and bind it to M-.
d74a1581 11169 (user-error): Alias to error if not defined.
b54f978b 11170
27135018
LL
111712013-05-02 Leo Liu <sdl.web@gmail.com>
11172
11173 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11174 for \. (bug#14332)
11175 (octave-font-lock-keywords): Include [ and {.
11176
0d634d3a
LL
111772013-05-02 Leo Liu <sdl.web@gmail.com>
11178
11179 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11180 (inferior-octave): Remove calling comint-mode and return the buffer.
11181 (inferior-octave-startup): Cosmetic changes.
11182
b4c8295e
LL
111832013-05-02 Leo Liu <sdl.web@gmail.com>
11184
30c7e542
SM
11185 * progmodes/octave.el (octave-syntax-propertize-function):
11186 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 11187
f12ad6ec
GM
111882013-05-02 Glenn Morris <rgm@gnu.org>
11189
11190 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11191 * desktop.el (vc-dir-mode): Just autoload it here.
11192
30cac1e0
AM
111932013-05-02 Alan Mackenzie <acm@muc.de>
11194
11195 Eliminate variable c-standard-font-lock-fontify-region-function.
11196 * progmodes/cc-mode.el
11197 (c-standard-font-lock-fontify-region-function): Remove.
11198 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11199
d8ef28b1
LL
112002013-05-01 Leo Liu <sdl.web@gmail.com>
11201
2640d52e 11202 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 11203 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 11204 variables were removed from Octave in 2007.
d8ef28b1
LL
11205 (inferior-octave-startup): Fix uses.
11206 (comint-line-beginning-position): Remove compatibility code for
11207 emacs 21.
11208
ac63ec89
JL
112092013-05-01 Juri Linkov <juri@jurta.org>
11210
11211 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11212
9e9be37c
JL
112132013-05-01 Juri Linkov <juri@jurta.org>
11214
11215 * comint.el (comint-previous-matching-input): Don't print message
11216 "History item: %d" when `isearch-mode' is active.
11217 (comint-history-isearch-message): Print message "History item: %d"
11218 when `comint-input-ring-index' is not empty and this function is
11219 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11220
9b92c13b
LL
112212013-05-01 Leo Liu <sdl.web@gmail.com>
11222
11223 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11224 definitions. Use completion-at-point to insert keywords.
11225 (octave-abbrev-start): Remove.
11226 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11227
b12d33d7
LL
112282013-04-30 Leo Liu <sdl.web@gmail.com>
11229
11230 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11231 change.
11232
3d1c39fa
AM
112332013-04-30 Alan Mackenzie <acm@muc.de>
11234
11235 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
11236 * progmodes/cc-engine.el (c-back-over-member-initializers):
11237 new function.
3d1c39fa
AM
11238 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11239 (most) member init lists.
11240
5147fc17
RS
112412013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11242
11243 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11244 variable.
11245
5b78d7fc
LL
112462013-04-30 Leo Liu <sdl.web@gmail.com>
11247
11248 * progmodes/octave.el (octave-variables): Remove. No builtin
11249 variables any more. All converted to functions.
11250 (octave-font-lock-keywords, octave-completion-at-point-function):
11251 Fix uses.
11252 (octave-font-lock-texinfo-comment): New user variable.
11253 (octave-texinfo-font-lock-keywords): New variable for texinfo
11254 comment block.
11255 (octave-function-comment-block): New face.
11256 (octave-font-lock-texinfo-comment): New function.
11257 (octave-mode): Font lock texinfo comment block.
11258
38d8527b
LL
112592013-04-29 Leo Liu <sdl.web@gmail.com>
11260
11261 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11262 indexing expression.
11263 (octave-continuation-string): Do not use \.
11264 (inferior-octave-complete-impossible): Remove.
11265 (inferior-octave-completion-table)
11266 (inferior-octave-completion-at-point): Remove its uses.
11267 (inferior-octave-startup): completion_matches was introduced to
11268 Octave in 1996 so safe to assume it.
11269 (octave-function-file-comment): Improve to follow how Octave does it.
11270 (octave-update-function-file-comment): Tweak.
11271
2ec12cb0
LL
112722013-04-29 Leo Liu <sdl.web@gmail.com>
11273
11274 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11275 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11276 (octave-function-file-comment): Fix typo.
11277 (octave-sync-function-file-names): Use read-char-choice.
11278
6eaed048
JB
112792013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11280
11281 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11282 to t for the less important warnings.
11283
3ffa2d4f
DH
112842013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11285
11286 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11287
685c9501
GM
112882013-04-27 Glenn Morris <rgm@gnu.org>
11289
11290 * vc/log-view.el (log-view-current-entry):
11291 Treat "---" separator lines as part of the following rev. (Bug#14169)
11292
0208ede7
JL
112932013-04-27 Juri Linkov <juri@jurta.org>
11294
11295 * subr.el (read-number): Doc fix about using it by interactive
11296 code letter `n'. (Bug#14254)
11297
5db9dace
JL
112982013-04-27 Juri Linkov <juri@jurta.org>
11299
11300 * desktop.el (desktop-auto-save-timeout): New option.
11301 (desktop-file-checksum): New variable.
11302 (desktop-save): Add optional arg `auto-save' and don't auto-save
11303 if nothing changed.
11304 (desktop-auto-save-timer): New variable.
11305 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11306 (after-init-hook): Call `desktop-auto-save-set-timer'.
11307 Suggested by Reuben Thomas <rrt@sc3d.org> in
11308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11309
b7260dd4
LL
113102013-04-27 Leo Liu <sdl.web@gmail.com>
11311
11312 * progmodes/octave.el (octave-function-file-p)
11313 (octave-skip-comment-forward, octave-function-file-comment)
11314 (octave-update-function-file-comment): New functions.
11315 (octave-mode-map): Bind C-c ; to
11316 octave-update-function-file-comment.
11317 (octave-mode-menu): Add octave-update-function-file-comment.
11318 (octave-mode, inferior-octave-mode): Fix doc-string.
11319 (octave-insert-defun): Conform to Octave's coding convention.
11320 (Bug#14285)
11321
11322 * files.el (basic-save-buffer): Don't let errors in
11323 before-save-hook prevent saving buffer.
11324
c46da669
RW
113252013-04-20 Roland Winkler <winkler@gnu.org>
11326
11327 * faces.el (read-face-name): Use completing-read if arg multiple
11328 is nil.
11329
a81ee1eb
IL
113302013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11331
11332 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
11333 displayed, move point to after the totals line.
11334 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
11335 for the details.
11336
4fac34ce
SM
113372013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11340 Add current dir to the load-path.
11341 (package-generate-autoloads): Don't rely on
11342 autoload-ensure-default-file.
11343
f6bfc063
RT
113442013-04-26 Reuben Thomas <rrt@sc3d.org>
11345
d40ab5cf
BG
11346 * textmodes/remember.el (remember-store-in-files): Document that
11347 the file name format is passed to `format-time-string'.
f6bfc063 11348
e55d3b04
LL
113492013-04-26 Leo Liu <sdl.web@gmail.com>
11350
11351 * progmodes/octave.el (octave-sync-function-file-names): New function.
11352 (octave-mode): Use it in before-save-hook.
11353
e53052d3
SM
113542013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11355
140ef50c
SM
11356 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11357 (bug#14274).
11358
e53052d3
SM
11359 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11360 \n and comment, even if it's not an implicit ; (bug#14218).
11361
af80458d 113622013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
11363
11364 * subr.el (read-number): Once more use `read' rather than
11365 `string-to-number', to trap non-numeric input. (Bug#14254)
11366
af80458d 113672013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
11368
11369 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11370 Use `syntax-multiline' text property consistently instead of
8a621d53 11371 `font-lock-multiline'. (Bug#14237)
70203c2e 11372
e6ea1f6c
GM
113732013-04-26 Glenn Morris <rgm@gnu.org>
11374
11375 * emacs-lisp/shadow.el (list-load-path-shadows):
11376 No longer necessary to check for duplicate simple.el, since
11377 2012-07-07 change to init_lread to not include installation lisp
11378 directories in load-path when running uninstalled. (Bug#14270)
11379
070ccca4
LL
113802013-04-26 Leo Liu <sdl.web@gmail.com>
11381
11382 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11383 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 11384 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
11385 octave-in-string-or-comment-p.
11386 (octave-in-comment-p, octave-in-string-p)
11387 (octave-in-string-or-comment-p): Replace defsubst with defun.
11388
9d1c5fb6
PE
113892013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11390
11391 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11392
c034abda
BG
113932013-04-25 Bastien Guerry <bzg@gnu.org>
11394
11395 * textmodes/remember.el (remember-data-directory)
11396 (remember-directory-file-name-format): Fix custom types.
11397
584ea277
LL
113982013-04-25 Leo Liu <sdl.web@gmail.com>
11399
e53052d3
SM
11400 * progmodes/octave.el (octave-completion-at-point-function):
11401 Make use of inferior octave process.
584ea277
LL
11402 (octave-initialize-completions): Remove.
11403 (inferior-octave-completion-table): New function.
11404 (inferior-octave-completion-at-point): Use it.
11405 (octave-completion-alist): Remove.
11406
1693b06a
SM
114072013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11408
11409 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11410 (opascal-mode-syntax-table): New var.
11411 (opascal-literal-kind, opascal-is-literal-end)
11412 (opascal-literal-token-at): Rewrite.
11413 (opascal--literal-start-re, opascal-font-lock-keywords)
11414 (opascal--syntax-propertize): New constants.
11415 (opascal-font-lock-defaults): Adjust.
11416 (opascal-mode): Use them. Set comment-<foo> variables as well.
11417 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11418 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11419 (delphi-other-face, opascal-other-face): Remove face variables.
11420 (opascal-save-state): Remove macro.
11421 (opascal-fontifying-progress-step): Remove constant.
11422 (opascal--ignore-changes): Remove var.
11423 (opascal-set-token-property, opascal-parse-next-literal)
11424 (opascal-is-stable-literal, opascal-complete-literal)
11425 (opascal-is-literal-start, opascal-face-of)
11426 (opascal-parse-region, opascal-parse-region-until-stable)
11427 (opascal-fontify-region, opascal-after-change)
11428 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11429 (opascal-debug-parse-region, opascal-debug-parse-window)
11430 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11431 (opascal-debug-fontify-buffer): Remove.
11432 (opascal-debug-mode-map): Adjust accordingly.
11433
be64c05d
LL
114342013-04-25 Leo Liu <sdl.web@gmail.com>
11435
11436 Merge octave-mod.el and octave-inf.el into octave.el with some
11437 cleanups.
11438 * progmodes/octave.el: New file renamed from octave-mod.el.
11439 * progmodes/octave-inf.el: Merged into octave.el.
11440 * progmodes/octave-mod.el: Renamed to octave.el.
11441
d79d37bd
TH
114422013-04-25 Tassilo Horn <tsdh@gnu.org>
11443
11444 * textmodes/reftex-vars.el
11445 (reftex-label-ignored-macros-and-environments): New defcustom.
11446
11447 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11448
ced3fc5d
SM
114492013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11452 (smie-indent-keyword): Improve the check to ensure that the next
11453 comment is really on the same line.
11454 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11455
11456 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11457 semi-colons if the line is not otherwise empty (bug#14218).
11458
1c141dad
GM
114592013-04-25 Glenn Morris <rgm@gnu.org>
11460
11461 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11462
5058062a
SM
114632013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * progmodes/opascal.el (opascal-set-token-property): Rename from
11466 opascal-set-text-properties and only set `token' (bug#14134).
11467 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11468 (opascal-literal-text-properties): Remove.
11469 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11470 Adjust callers.
11471
5db9dace 114722013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
11473
11474 * textmodes/remember.el (remember-handler-functions): Add an
11475 option for a new handler `remember-store-in-files'.
11476 (remember-data-directory, remember-directory-file-name-format):
11477 New options.
11478 (remember-store-in-files): New function to store remember notes
11479 as separate files within a directory.
11480
4391916c
MH
114812013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11482
11483 * progmodes/compile.el (compilation-next-error-function):
11484 Pass "formats" to compilation-find-file (bug#11777).
11485
bb7cdf58
GM
114862013-04-24 Glenn Morris <rgm@gnu.org>
11487
3b8fe752 11488 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
11489 * vc/vc-hg.el (vc-hg-print-log):
11490 * vc/vc-svn.el (vc-svn-print-log):
11491 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11492
bb7cdf58
GM
11493 * vc/vc-bzr.el (vc-bzr-print-log):
11494 * vc/vc-cvs.el (vc-cvs-print-log):
11495 * vc/vc-git.el (vc-git-print-log):
11496 * vc/vc-hg.el (vc-hg-print-log):
11497 * vc/vc-mtn.el (vc-mtn-print-log):
11498 * vc/vc-rcs.el (vc-rcs-print-log):
11499 * vc/vc-sccs.el (vc-sccs-print-log):
11500 * vc/vc-svn.el (vc-svn-print-log):
11501 * vc/vc.el (vc-print-log-internal): Doc fixes.
11502
b46a056e
GM
115032013-04-23 Glenn Morris <rgm@gnu.org>
11504
11505 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11506 Remove venerable code attempting to avoid substitute-command-keys.
11507
0aecf718
TH
115082013-04-23 Tassilo Horn <tsdh@gnu.org>
11509
4391916c
MH
11510 * textmodes/reftex-vars.el (reftex-label-regexps):
11511 Call `reftex-compile-variables' after changes to this variable.
0aecf718 11512
117f94cf
SM
115132013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11514
4391916c 11515 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
11516 Use lexical-binding.
11517 (jit-lock-force-redisplay): Use markers, check buffer's continued
11518 existence and beware narrowed buffers.
11519 (jit-lock-fontify-now): Adjust call accordingly.
11520
1d829c64
SM
115212013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11522
11523 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11524 to avoid misleading the user.
11525
72d548a9
LL
115262013-04-22 Leo Liu <sdl.web@gmail.com>
11527
11528 * info-look.el: Prefer latex2e.info. (Bug#14240)
11529
d0853629
MA
115302013-04-22 Michael Albinus <michael.albinus@gmx.de>
11531
11532 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11533
11534 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
4f405069 11535 * net/tramp.el (tramp-call-process): ... here.
d0853629
MA
11536 (tramp-set-completion-function, tramp-parse-putty):
11537 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11538 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11539 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11540 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11541 (tramp-call-local-coding-command): Use `tramp-call-process'
11542 instead of `tramp-compat-call-process'.
11543
11544 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11545 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11546 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7764286e 11547 (tramp-find-inline-compress): Improve traces.
d0853629
MA
11548 (tramp-maybe-send-script): Check for Perl binary.
11549 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11550
38cc0210
DU
115512013-04-22 Daiki Ueno <ueno@gnu.org>
11552
11553 * epg.el (epg-context-pinentry-mode): New function.
11554 (epg-context-set-pinentry-mode): New function.
11555 (epg--start): Pass --pinentry-mode option to gpg command.
11556
cc641ee1
XF
115572013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11558
02d844b5 11559 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
5d4e5c31 11560 `comint-dynamic-complete' is obsolete since 24.1, replaced by
e7b41c4c 11561 `completion-at-point'. (Bug#13774)
5d4e5c31 11562
cc641ee1
XF
11563 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11564 default key binding for `describe-distribution' has been moved to
11565 `C-h C-o'. (Bug#13970)
11566
1b42ee43
GM
115672013-04-21 Glenn Morris <rgm@gnu.org>
11568
11569 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11570 Add doc strings.
11571 (vc-print-log): Clarify interactive prompt.
11572
a6d63d97
GM
115732013-04-20 Glenn Morris <rgm@gnu.org>
11574
11575 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11576 No longer include timestamp etc information.
11577
d7f5c16f
RW
115782013-04-20 Roland Winkler <winkler@gnu.org>
11579
11580 * faces.el (read-face-name): Bug fix, return just one face if arg
11581 multiple is nil. (Bug#14209)
11582
bcd7a0a4
SM
115832013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11586 (remove-function): Autoload.
11587
11588 * comint.el (comint-redirect-original-filter-function): Remove.
11589 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
e7b41c4c
JB
11590 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11591 (vc-cvs-annotate-command):
bcd7a0a4
SM
11592 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11593 * progmodes/prolog.el (prolog-consult-compile):
11594 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11595 Use add/remove-function instead.
11596 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11597 (gud-tooltip-process-output, gud-tooltip-tips):
11598 Use add/remove-function instead.
11599 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11600 (scheme-interaction-mode, exit-scheme-interaction-mode):
11601 Use add/remove-function instead.
11602
11603 * vc/vc-dispatcher.el: Use lexical-binding.
11604 (vc--process-sentinel): Rename from vc-process-sentinel.
11605 Change last arg to be the code to run. Don't use vc-previous-sentinel
11606 and vc-sentinel-commands any more.
11607 (vc-exec-after): Allow code to be a function. Use add/remove-function.
11608 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11609
e36b2d20 116102013-04-19 Masatake YAMATO <yamato@redhat.com>
4d3268ba 11611
bcd7a0a4 11612 * progmodes/sh-script.el (sh-imenu-generic-expression):
781b4af6 11613 Handle function names with a single character. (Bug#14111)
4d3268ba 11614
781b4af6 116152013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
863beb27
DK
11616
11617 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11618 for subroutines defined in an eval (bug#14182).
11619
7d688336
TV
116202013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11621
11622 * bookmark.el (bookmark-completing-read): Improve handling of empty
11623 string (bug#14176).
11624
31dcede0
SM
116252013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11628
adc31213
FEG
116292013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
11630
11631 New faster Imenu implementation (bug#14058).
11632 * progmodes/python.el:
11633 (python-imenu-prev-index-position):
11634 (python-imenu-format-item-label-function)
11635 (python-imenu-format-parent-item-label-function)
11636 (python-imenu-format-parent-item-jump-label-function):
11637 New vars.
11638 (python-imenu-format-item-label)
11639 (python-imenu-format-parent-item-label)
11640 (python-imenu-format-parent-item-jump-label)
11641 (python-imenu--put-parent, python-imenu--build-tree)
11642 (python-imenu-create-index, python-imenu-create-flat-index)
11643 (python-util-popn): New functions.
11644 (python-mode): Set imenu-create-index-function to
11645 python-imenu-create-index.
11646
cdca8255
SM
116472013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11648
11649 * winner.el (winner-active-region): Use region-active-p, activate-mark
11650 and deactivate-mark (bug#14225).
11651
11652 * simple.el (deactivate-mark): Don't inline it.
11653
beb42340
MA
116542013-04-18 Michael Albinus <michael.albinus@gmx.de>
11655
11656 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11657
fc7f4d7e
TH
116582013-04-18 Tassilo Horn <tsdh@gnu.org>
11659
11660 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11661 file extensions from the archive-mode entry in order to prefer
11662 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11663
29f47822
LL
116642013-04-18 Leo Liu <sdl.web@gmail.com>
11665
11666 * bindings.el (help-event-list): Add ?\?.
11667
d36ed1c8
SM
116682013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 * subr.el (with-wrapper-hook): Declare obsolete.
11671 * simple.el (filter-buffer-substring-function): New hook.
11672 (filter-buffer-substring): Use it.
11673 (filter-buffer-substring-functions): Mark obsolete.
11674 * minibuffer.el (completion-in-region-function): New hook.
11675 (completion-in-region): Use it.
11676 (completion-in-region-functions): Mark obsolete.
11677 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11678 * abbrev.el (abbrev-expand-function): New hook.
11679 (expand-abbrev): Use it.
11680 (abbrev-expand-functions): Mark obsolete.
11681 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11682 and :filter-return.
11683
04754d36
FEG
116842013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11685
11686 * progmodes/python.el (python-nav--syntactically): Fix cornercases
11687 and do not care about match data.
11688
dd8791e9
SM
116892013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11692 completion tables when completing error conditions and
11693 `declare' arguments.
11694 (lisp-complete-symbol, field-complete): Mark as obsolete.
11695 (check-parens): Unmatched parens are user errors.
11696 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11697
ffe54a13
AM
116982013-04-17 Michal Nazarewicz <mina86@mina86.com>
11699
dd8791e9
SM
11700 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11701 command changed buffer (ie. `flyspell-pre-buffer' is not current
11702 buffer), which prevents making decisions based on invalid value of
11703 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
11704 cause an error when `flyspell-pre-point' was nil after switching
11705 buffers.
11706 (flyspell-post-command-hook): No longer needs to change buffers when
11707 checking pre-word. While at it remove unnecessary progn.
ffe54a13 11708
ec7e39f2
AM
117092013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
11710
11711 * textmodes/ispell.el (ispell-add-per-file-word-list):
11712 Fix `flyspell-correct-word-before-point' error when accepting
11713 words and `coment-padding' is an integer by using
11714 `comment-normalize-vars' (Bug #14214).
11715
083850a6
FEG
117162013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11717
11718 New defun movement commands.
11719 * progmodes/python.el (python-nav--syntactically)
11720 (python-nav--forward-defun, python-nav-backward-defun)
11721 (python-nav-forward-defun): New functions.
11722
619ed6e1
FEG
117232013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
11724
11725 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11726 (python-syntax-context): Use named compiler-macro for backwards
11727 compatibility with Emacs 24.x.
11728
7a1beb6c
LL
117292013-04-17 Leo Liu <sdl.web@gmail.com>
11730
11731 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11732 octave-hide-process-buffer.
11733
2d3fa3e5
SM
117342013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
11735
11736 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11737 (bug#14216).
11738
7ce5be54
JPG
117392013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
11740
11741 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11742 Fix adjustment of offset when receiving incomplete responses from GDB
11743 (bug#14129).
11744
351edece
SM
117452013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11746
11747 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11748 python-mode-abbrev-table.
11749 (python-skeleton-define): Adjust accordingly.
11750 (python-mode-abbrev-table): New table that inherits from it so that
11751 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11752
11753 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11754 (abbrev-symbol): Use it.
11755 (abbrev--before-point): Use it since we already handle inheritance.
11756
613f9481
LL
117572013-04-16 Leo Liu <sdl.web@gmail.com>
11758
11759 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11760 binding to info-lookup-symbol.
11761
51646b62
JB
117622013-04-16 Juanma Barranquero <lekktu@gmail.com>
11763
11764 * minibuffer.el (completion--twq-all):
11765 * term/ns-win.el (ns-initialize-window-system):
11766 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11767
efb3f01d
SM
117682013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
11769
36c0a301
SM
11770 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11771 global bindings.
11772
efb3f01d
SM
11773 * doc-view.el (doc-view-start-process): Handle url-handler directories.
11774
fb549d64
DG
117752013-04-15 Dmitry Gutov <dgutov@yandex.ru>
11776
11777 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11778 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11779 to nil.
11780 (ruby-end-of-defun): Remove the unused arg, change the docstring
11781 to reflect that this function is only used as the value of
11782 `end-of-defun-function'.
11783 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11784 to reflect an earlier change that beginning/end-of-defun functions
11785 jump between methods in a class definition, as well as top-level
11786 functions.
11787
21e8fe2f
SM
117882013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * minibuffer.el (minibuffer-complete): Don't just scroll
11791 a *Completions* that's been iconified.
11792 (minibuffer-force-complete): Make sure repetitions do cycle when going
11793 through completion-in-region -> minibuffer-complete.
11794
20e527d0
AM
117952013-04-15 Alan Mackenzie <acm@muc.de>
11796
11797 Correct the placement of c-cpp-delimiters when there're #s not at
11798 col 0.
11799
11800 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11801 place a submatch around the #.
21e8fe2f
SM
11802 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11803 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
11804 on the #, not BOL.
11805
dabefae5
SM
118062013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 * emacs-lisp/nadvice.el: Properly test names when adding advice.
11809 (advice--member-p): New arg `name'.
11810 (advice--add-function, advice-member-p): Use it (bug#14202).
11811
85c9ab64
AM
118122013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
11813
11814 Reformulate java imenu-generic-expression.
11815 The old expression contained ill formed regexps.
11816
11817 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11818 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11819 (cc-imenu-java-method-arg-regexp): New defconsts.
11820 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 11821 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
11822 handling of spaces in the regexp.
11823
0f821d99
AM
118242013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11825
11826 * textmodes/ispell.el (ispell-command-loop): Remove
11827 flyspell highlight of a word when ispell accepts it (bug #14178).
11828
eb922adf
MA
118292013-04-15 Michael Albinus <michael.albinus@gmx.de>
11830
11831 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11832 uses code from the previous `ange-ftp-run-real-handler'.
11833 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11834 only in case that function exist. This is needed for proper
11835 unloading of Tramp.
11836
4d9a0979
TH
118372013-04-15 Tassilo Horn <tsdh@gnu.org>
11838
11839 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11840
11841 * textmodes/reftex.el (reftex-compile-variables): Use it.
11842
a829b0dc
SM
118432013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
11844
91e8293c
SM
11845 * files.el (normal-mode): Only use default major-mode if no other mode
11846 was specified.
11847
830aed4d
SM
11848 * emacs-lisp/trace.el (trace-values): New function.
11849
a829b0dc
SM
11850 * files.el: Allow : in local variables (bug#14089).
11851 (hack-local-variable-regexp): New var.
11852 (hack-local-variables-prop-line, hack-local-variables): Use it.
11853
7ae9f0fb
RW
118542013-04-13 Roland Winkler <winkler@gnu.org>
11855
11856 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
11857 data before it gets modified by bibtex-beginning-of-entry.
11858
6646e848
RW
118592013-04-13 Roland Winkler <winkler@gnu.org>
11860
11861 * textmodes/bibtex.el (bibtex-url): Doc fix.
11862
118632013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
11864
11865 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11866 does not visit a BibTeX file, exclude it from the list of buffers
11867 returned by bibtex-initialize.
11868
0aa3616e
SB
118692013-04-13 Stephen Berman <stephen.berman@gmx.net>
11870
11871 * window.el (split-window): Remove interactive form, since as a
11872 command this function is a special case of split-window-below.
11873 Correct doc string.
11874
011cddd6
RW
118752013-04-12 Roland Winkler <winkler@gnu.org>
11876
11877 * faces.el (read-face-name): Do not override value of arg default.
11878 Allow single faces and strings as default values. Remove those
11879 elements from return value that are not faces.
11880 (describe-face): Simplify.
11881 (face-at-point): New optional args thing and multiple so that this
11882 function can provide the same functionality previously provided by
11883 read-face-name.
11884 (make-face-bold, make-face-unbold, make-face-italic)
11885 (make-face-unitalic, make-face-bold-italic, invert-face)
11886 (modify-face, read-face-and-attribute): Use face-at-point.
11887
11888 * cus-edit.el (customize-face, customize-face-other-window)
11889 * cus-theme.el (custom-theme-add-face)
11890 * face-remap.el (buffer-face-set)
11891 * facemenu.el (facemenu-set-face): Use face-at-point.
11892
f24e0036
MA
118932013-04-12 Michael Albinus <michael.albinus@gmx.de>
11894
11895 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11896
da3cda2d
TH
118972013-04-10 Tassilo Horn <tsdh@gnu.org>
11898
11899 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11900 off leading { and trailing } from field values.
11901
15e54145
SM
119022013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
11903
78ce603d
SM
11904 * emacs-lisp/timer.el (timer--check): New function.
11905 (timer--time, timer-set-function, timer-event-handler): Use it.
11906 (timer-set-idle-time): Simplify.
11907 (timer--activate): CSE.
11908 (timer-event-handler): Give more info in error message.
11909 (internal-timer-start-idle): New function, moved from C.
11910
15e54145
SM
11911 * mpc.el (mpc-proc): Add `restart' argument.
11912 (mpc-proc-cmd): Use it.
11913 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11914 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11915 less often.
11916
7144c627
MY
119172013-04-10 Masatake YAMATO <yamato@redhat.com>
11918
11919 * progmodes/sh-script.el: Implement `sh-mode' own
11920 `add-log-current-defun-function' (bug#14112).
11921 (sh-current-defun-name): New function.
11922 (sh-mode): Use the function.
11923
b39792eb
BG
119242013-04-09 Bastien Guerry <bzg@gnu.org>
11925
11926 * simple.el (choose-completion-string): Fix docstring (bug#14163).
11927
8acdeb71
SM
119282013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
11929
6fcdab68
SM
11930 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11931
8acdeb71
SM
11932 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11933 timer (bug#14156).
11934
e3e7b504
NF
119352013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
11936
11937 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11938 declaration.
11939
201bb296
LL
119402013-04-07 Leo Liu <sdl.web@gmail.com>
11941
11942 * pcmpl-x.el: New file.
11943
ebb19708
DA
119442013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
11945
11946 Do not set x-display-name until X connection is established.
11947 This is needed to prevent from weird situation described at
11948 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11949 * frame.el (make-frame): Set x-display-name after call to
11950 window system initialization function, not before.
11951 * term/x-win.el (x-initialize-window-system): Add optional
11952 display argument and use it.
11953 * term/w32-win.el (w32-initialize-window-system):
11954 * term/ns-win.el (ns-initialize-window-system):
11955 * term/pc-win.el (msdos-initialize-window-system):
11956 Add compatible optional display argument.
11957
33bb237a
EZ
119582013-04-06 Eli Zaretskii <eliz@gnu.org>
11959
11960 * files.el (normal-backup-enable-predicate): On MS-Windows and
11961 MS-DOS compare truenames of temporary-file-directory and of the
11962 file, so that 8+3 aliases (usually found in $TEMP on Windows)
11963 don't fail comparison by compare-strings. Also, compare file
11964 names case-insensitively on MS-Windows and MS-DOS.
11965
134abf1f
SM
119662013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11967
11968 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11969 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11970
d695cb94
DG
119712013-04-05 Dmitry Gutov <dgutov@yandex.ru>
11972
e3e7b504
NF
11973 * whitespace.el (whitespace-color-on, whitespace-color-off):
11974 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 11975
f4ad7ea1 119762013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
11977
11978 * ispell.el (ispell-set-spellchecker-params):
11979 Really set `ispell-args' for all equivs.
11980
632556e4
SM
119812013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * ido.el (ido-completions): Use extra elements of ido-decorations
11984 (bug#14143).
11985 (ido-decorations): Update docstring.
11986
2a417372
MA
119872013-04-05 Michael Albinus <michael.albinus@gmx.de>
11988
11989 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11990 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11991 nil during initialization, in order not to miss changes since the
11992 file was opened. (Bug#14140)
11993
fc164b0c
LL
119942013-04-05 Leo Liu <sdl.web@gmail.com>
11995
11996 * kmacro.el (kmacro-call-macro): Fix bug#14135.
11997
0ccecc08
JB
119982013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
11999
12000 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12001
51af1aa2
GM
120022013-04-04 Glenn Morris <rgm@gnu.org>
12003
12004 * electric.el (electric-pair-inhibit-predicate): Add :version.
12005
b208ebc6
SM
120062013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12007
12008 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12009 when a package is required several times (bug#14082).
12010
f3d3eaf0
RW
120112013-04-04 Roland Winkler <winkler@gnu.org>
12012
12013 * faces.el (read-face-name): Behave as promised by the docstring.
12014 Assume that arg default is a list of faces.
12015 (describe-face): Call read-face-name with list of default faces.
12016
2575da50
TV
120172013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12018
12019 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12020 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12021 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12022 the header.
12023 (bookmark-exit-hook-internal): Save even if list is empty.
12024
397703b4
YH
120252013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12026
12027 * emacs-lisp/package.el (package-pinned-packages): New var.
12028 (package--add-to-archive-contents): Obey it (bug#14118).
12029
691e26ae
AM
120302013-04-03 Alan Mackenzie <acm@muc.de>
12031
8a621d53
JB
12032 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12033 Also adapt to the new values of element 7 of a parse state.
691e26ae
AM
12034
12035 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12036 parameter `not-in-delimiter'. Handle being inside comment opener.
12037 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12038 character in case we're typing a '*' after a '/'.
12039 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12040 instead by passing the parameter to c-state-pp-to-literal.
12041
12042 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12043 for elt. 7 of a parse state.
12044
4b725a70
PE
120452013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12046
12047 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12048 * international/latin1-disp.el, international/mule-util.el:
12049 * language/cyril-util.el, language/european.el, language/ind-util.el:
12050 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12051 * language/tibetan.el, language/viet-util.el:
12052 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12053
15c579f0
SM
120542013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12057 (electric-pair-post-self-insert-function): Use it.
12058 (electric-pair-default-inhibit): New function, extracted from
12059 electric-pair-post-self-insert-function.
12060
a77e2924
RW
120612013-03-31 Roland Winkler <winkler@gnu.org>
12062
12063 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12064
2bd8a4a8
SM
120652013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12068
8d3655be 120692013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
12070
12071 Un-indent after "pass" and "return" statements (Bug#13888)
12072 * progmodes/python.el (python-indent-block-enders): New var.
12073 (python-indent-calculate-indentation): Use it.
12074
8d3655be 120752013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
12076
12077 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12078 defun. Defining it as defalias could introduce too eager
12079 byte-compiler optimization. (Bug#14030)
12080
8d3655be 120812013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
12082
12083 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12084
0b1619da
LL
120852013-03-30 Leo Liu <sdl.web@gmail.com>
12086
12087 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12088 (kmacro-execute-from-register): Pass the keyboard macro to
12089 kmacro-call-macro or repeating won't work correctly.
12090
0b938190
TZ
120912013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12092
12093 * progmodes/subword.el: Back to using `forward-symbol'.
12094
12095 * subr.el (forward-whitespace, forward-symbol)
12096 (forward-same-syntax): Move from thingatpt.el.
12097
35710234
LL
120982013-03-29 Leo Liu <sdl.web@gmail.com>
12099
12100 * kmacro.el (kmacro-to-register): New command.
12101 (kmacro-execute-from-register): New function.
12102 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12103
efc0bb73
SM
121042013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12105
12106 * mpc.el: Use defvar-local and setq-local.
12107 (mpc--proc-connect): Connection failures are not bugs.
12108 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12109 (mpc-volume-map): Bind to the up-events.
12110
75a2f981
TZ
121112013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12112
12113 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12114 instead of `forward-symbol'.
12115
17c781d1
SM
121162013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12119 (edebug--recursive-edit): Use it.
12120 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12121 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12122
f67bfbcf
LL
121232013-03-28 Leo Liu <sdl.web@gmail.com>
12124
12125 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12126
b59f639d
EZ
121272013-03-27 Eli Zaretskii <eliz@gnu.org>
12128
12129 * facemenu.el (list-colors-callback): New defvar.
12130 (list-colors-redisplay): New function.
12131 (list-colors-display): Install list-colors-redisplay as the
12132 revert-buffer-function. (Bug#14063)
12133
f557c1b1
SM
121342013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12135
b1da2957
SM
12136 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12137 and suffixes don't overlap (bug#14061).
12138
f557c1b1
SM
12139 * case-table.el: Use lexical-binding.
12140 (case-table-get-table): New function.
12141 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12142
002668e1
TZ
121432013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12144
12145 * progmodes/subword.el: Add `superword-mode' to do word motion
12146 over symbol_words (parallels and leverages `subword-mode' which
12147 does word motion inside MixedCaseWords).
12148
73572c72
AG
121492013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12150
78b8f320 12151 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 12152 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 12153
69b2c07e
SM
121542013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12157 Change return value to be a sexp. Delay `get-buffer' to after
12158 restoring the desktop (bug#13951).
12159
08bb5ee2
LL
121602013-03-26 Leo Liu <sdl.web@gmail.com>
12161
12162 * register.el: Move semantic tag handling back to
12163 cedet/semantic/senator.el. (Bug#14052)
12164
8d4c974e
SM
121652013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12168 into the prompt either (bug#13963).
12169
b234d92c
SM
121702013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12173 part of "(error-foo)".
12174
ddfa3cb4
JL
121752013-03-24 Juri Linkov <juri@jurta.org>
12176
12177 * replace.el (list-matching-lines-prefix-face): New defcustom.
12178 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12179 `occur-engine' if `face-differs-from-default-p' returns t.
12180 (occur-engine): Add `,' inside backquote construct to evaluate
12181 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12182 Pass `prefix-face' to the functions `occur-context-lines' and
12183 `occur-engine-add-prefix'.
12184 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12185 `prefix-face' and propertize the prefix with `prefix-face'.
12186 (Bug#14017)
12187
7b0e2f85
LL
121882013-03-24 Leo Liu <sdl.web@gmail.com>
12189
12190 * nxml/rng-valid.el (rng-validate-while-idle)
12191 (rng-validate-quick-while-idle): Guard against deleted buffer.
12192 (Bug#13999)
12193
12194 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12195 is the last entry in kill-buffer-hook.
12196
12197 * files.el (kill-buffer-hook): Doc fix.
12198
b3082f49
DG
121992013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12200
b234d92c
SM
12201 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12202 Make it safe-local.
bde73d27 12203
b3082f49
DG
12204 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12205
a320a2db
LL
122062013-03-23 Leo Liu <sdl.web@gmail.com>
12207
7e74b0fb
LL
12208 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12209 Remove.
12210
12211 * nxml/rng-valid.el (rng-validate-mode)
12212 (rng-after-change-function, rng-do-some-validation):
12213 * nxml/rng-maint.el (rng-validate-buffer):
12214 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12215 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12216 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12217 (nxml-extend-after-change-region): Use with-silent-modifications.
12218
a320a2db
LL
12219 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12220 timer-idle-list.
12221
12222 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12223 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12224 timer-idle-list. (Bug#13999)
12225
e38e6780
JL
122262013-03-23 Juri Linkov <juri@jurta.org>
12227
12228 * info.el (info-index-match): New face.
12229 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12230 main pattern and add text properties with the new face to matches
12231 in index entries relative to the beginning of the index entry.
12232 (Bug#14015)
12233
e8cc7880
DE
122342013-03-21 Eric Ludlam <zappo@gnu.org>
12235
39c87140 12236 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
e8cc7880
DE
12237 Inhibit read only while inserting objects.
12238
9bb0d822
TZ
122392013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12240
12241 * progmodes/cfengine.el: Update docs to mention
12242 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12243 symbol motion. Remove "_" from the word syntax.
12244
aa703640
TZ
122452013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12246
12247 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12248 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12249
afff09d0
JL
122502013-03-20 Juri Linkov <juri@jurta.org>
12251
12252 * info.el (Info-next-reference-or-link)
12253 (Info-prev-reference-or-link): New functions.
12254 (Info-next-reference, Info-prev-reference): Use them.
12255 (Info-try-follow-nearest-node): Handle footnote navigation.
12256 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12257
9a1ff164
SM
122582013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12259
12260 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12261 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12262
2667d15d
PE
122632013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12264
12265 Suppress unnecessary non-ASCII chatter during build process.
12266 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12267 (batch-skkdic-convert): Suppress most of the chatter.
12268 It's not needed so much now that machines are faster,
12269 and its non-ASCII component was confusing; see Dmitry Gutov in
12270 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12271
438b0579
LL
122722013-03-20 Leo Liu <sdl.web@gmail.com>
12273
12274 * ido.el (ido-chop): Fix bug#10994.
12275
c128ab07
DG
122762013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12277
12278 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12279 Remove vars.
9a1ff164
SM
12280 (whitespace-color-on, whitespace-color-off):
12281 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 12282
0e6008c5
SM
122832013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12284
12285 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12286 remapping in mode-line.
12287 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12288
627b52b0
DG
122892013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12290
12291 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12292 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
12293 (whitespace-font-lock-keywords): Change description.
12294 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12295 the constructed keywords instead.
12296 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 12297
50c3a20b
LL
122982013-03-19 Leo Liu <sdl.web@gmail.com>
12299
12300 * progmodes/compile.el (compilation-display-error): New command.
12301 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12302 C-o. (Bug#13992)
12303
2aa2157b
PE
123042013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12305
12306 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12307
e477dbfa
JD
123082013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12309
12310 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12311
64ab82d1
MA
123122013-03-18 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12315
12316 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12317 * net/tramp-gvfs.el (top):
12318 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12319 (tramp-handle-shell-command): Use it.
12320 (tramp-dissect-file-name): Raise an error when hostname is a
12321 method name, and neither method nor user is specified.
12322
12323 * net/trampver.el: Update release number.
12324
33cef733
LL
123252013-03-18 Leo Liu <sdl.web@gmail.com>
12326
12327 Make sure eldoc can be turned off properly.
12328 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12329 eldoc-mode.
12330 (eldoc-display-message-p): Revert last change.
12331 (eldoc-display-message-no-interference-p)
12332 (eldoc-print-current-symbol-info): Tweak.
12333
2167b7b2
TH
123342013-03-18 Tassilo Horn <tsdh@gnu.org>
12335
12336 * doc-view.el (doc-view-new-window-function): Check the new window
12337 overlay's display property instead the char property of the
12338 buffer's first char. Use `with-selected-window' instead of
12339 `save-window-excursion' with `select-window'.
12340 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 12341 display property instead the char property of the buffer's first char.
2167b7b2 12342
982efbcd
PE
123432013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12344
12345 Automate the build of ja-dic.el (Bug#13984).
12346 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12347 from the input, rather than assume that it's been done for us by the
12348 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12349 the current date into a ja-dic.el comment, as that complicates
12350 regression testing.
12351
2fcc7665
SM
123522013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 * whitespace.el: Fix double evaluation.
12355 (whitespace-space, whitespace-hspace, whitespace-tab)
12356 (whitespace-newline, whitespace-trailing, whitespace-line)
12357 (whitespace-space-before-tab, whitespace-indentation)
12358 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12359 obsolete defvars.
12360 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12361 (whitespace-color-on): Use a single font-lock-add-keywords call.
12362 Fix double-evaluation of face variables.
12363
67c0a6e6
MA
123642013-03-17 Michael Albinus <michael.albinus@gmx.de>
12365
2fcc7665
SM
12366 * net/tramp-adb.el (tramp-adb-parse-device-names):
12367 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 12368 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 12369
69489f1d
LL
123702013-03-17 Leo Liu <sdl.web@gmail.com>
12371
12372 Extend eldoc to display info in the mode-line. (Bug#13978)
12373 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12374 (eldoc-mode-line-string): New variable.
12375 (eldoc-minibuffer-message): New function.
12376 (eldoc-message-function): New variable.
12377 (eldoc-message): Use it.
12378 (eldoc-display-message-p)
2fcc7665
SM
12379 (eldoc-display-message-no-interference-p):
12380 Support eldoc-post-insert-mode.
69489f1d
LL
12381
12382 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12383 (eval-expression): Run it.
12384
9c44569e
RW
123852013-03-17 Roland Winkler <winkler@gnu.org>
12386
12387 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12388 strings in the list of return values.
12389
327f1f6f
JB
123902013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12391
12392 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12393 radix before checking for HMS forms.
12394
67ed8fcd
LL
123952013-03-16 Leo Liu <sdl.web@gmail.com>
12396
12397 * progmodes/scheme.el: Add indentation and font-locking for λ.
12398 (Bug#13975)
12399
78be8b64 124002013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
12401
12402 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12403 token before point (bug#13942).
12404
78be8b64 124052013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 12406
95b43468 12407 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 12408
98e775e6
EZ
124092013-03-16 Eli Zaretskii <eliz@gnu.org>
12410
12411 * startup.el (command-line-normalize-file-name): Fix handling of
12412 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12413 <xfq.free@gmail.com> in
12414 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12415
2edd6029
MA
124162013-03-15 Michael Albinus <michael.albinus@gmx.de>
12417
12418 Sync with Tramp 2.2.7.
12419
12420 * net/trampver.el: Update release number.
12421
d35f5864
TH
124222013-03-14 Tassilo Horn <tsdh@gnu.org>
12423
e903c210 12424 * doc-view.el: Fix bug#13887.
f35ffe5e
TH
12425 (doc-view-insert-image): Don't modify overlay associated to
12426 non-live windows, and implement horizontal centering of image in
12427 case it's smaller than the window.
12428 (doc-view-new-window-function): Force redisplay of new windows on
12429 doc-view buffers.
d35f5864 12430
1c4a85ed
KF
124312013-03-13 Karl Fogel <kfogel@red-bean.com>
12432
12433 * saveplace.el (save-place-alist-to-file): Don't sort
12434 `save-place-alist', just pretty-print it (bug#13882).
12435
85b66a21
MA
124362013-03-13 Michael Albinus <michael.albinus@gmx.de>
12437
a020afb9
JB
12438 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12439 Check whether `default-file-name-coding-system' is bound.
12440 It isn't in XEmacs.
85b66a21 12441
175600da
SM
124422013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12443
e7f7cb1a
SM
12444 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12445 backquotes for `obsolete' (bug#13929).
12446
175600da
SM
12447 * international/mule.el (find-auto-coding): Include file name in
12448 obsolescence warning (bug#13922).
12449
ca68a22e
TZ
124502013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12451
12452 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12453 for CFEngine 3-specific indentation.
12454 (cfengine3-indent-line): Use it. Fix up category regex.
12455 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12456
940e5099
SM
124572013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12458
12459 * type-break.el (type-break-file-name):
12460 * textmodes/remember.el (remember-data-file):
12461 * strokes.el (strokes-file):
12462 * shadowfile.el (shadow-initialize):
12463 * saveplace.el (save-place-file):
12464 * ps-bdf.el (bdf-cache-file):
12465 * progmodes/idlwave.el (idlwave-config-directory):
12466 * net/quickurl.el (quickurl-url-file):
12467 * international/kkc.el (kkc-init-file-name):
12468 * ido.el (ido-save-directory-list-file):
12469 * emulation/viper.el (viper-custom-file-name):
12470 * emulation/vip.el (vip-startup-file):
12471 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12472 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12473
cc725808
PE
124742013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12475
12476 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12477 * language/thai-word.el: Switch to UTF-8.
12478
a020afb9 12479See ChangeLog.16 for earlier changes.
e3d51b27
MR
12480
12481;; Local Variables:
12482;; coding: utf-8
e3d51b27
MR
12483;; End:
12484
ba318903 12485 Copyright (C) 2011-2014 Free Software Foundation, Inc.
e3d51b27
MR
12486
12487 This file is part of GNU Emacs.
12488
12489 GNU Emacs is free software: you can redistribute it and/or modify
12490 it under the terms of the GNU General Public License as published by
12491 the Free Software Foundation, either version 3 of the License, or
12492 (at your option) any later version.
12493
12494 GNU Emacs is distributed in the hope that it will be useful,
12495 but WITHOUT ANY WARRANTY; without even the implied warranty of
12496 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12497 GNU General Public License for more details.
12498
12499 You should have received a copy of the GNU General Public License
12500 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.